:root {
  --ink: #080908;
  --ink-soft: #0f110f;
  --panel: rgba(17, 19, 17, 0.78);
  --panel-solid: #121412;
  --line: rgba(205, 232, 0, 0.22);
  --line-soft: rgba(255, 255, 255, 0.11);
  --acid: #cde800;
  --acid-bright: #e0ff00;
  --white: #f4f6f1;
  --muted: #a7ada4;
  --muted-dark: #71776f;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 86px;
  --ease: cubic-bezier(0.2, 0.85, 0.25, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 4%, rgba(205, 232, 0, 0.055), transparent 28rem),
    radial-gradient(circle at 10% 48%, rgba(205, 232, 0, 0.035), transparent 32rem),
    var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050605;
}

::-webkit-scrollbar-thumb {
  background: #323731;
  border: 2px solid #050605;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--acid);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--acid-bright);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#networkCanvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}

.noise {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.26) 0 0.35px, transparent 0.55px 3px),
    repeating-radial-gradient(circle at 79% 68%, rgba(255, 255, 255, 0.18) 0 0.25px, transparent 0.45px 4px);
  background-size: 57px 61px, 71px 67px;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--acid-bright);
  box-shadow: 0 0 18px rgba(224, 255, 0, 0.7);
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.5rem, 3vw, 3.4rem);
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(205, 232, 0, 0.1);
  background: rgba(5, 6, 5, 0.92);
  backdrop-filter: blur(14px);
  transition:
    min-height 0.35s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 8, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  z-index: 2;
  order: 1;
  transition: left 0.38s var(--ease), transform 0.38s var(--ease);
}

.site-header.is-scrolled .brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--acid-bright);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border: 1px solid var(--acid);
  border-radius: 13px;
}

.brand-mark::before {
  inset: 1px 5px 5px 1px;
}

.brand-mark::after {
  inset: 5px 1px 1px 5px;
  opacity: 0.66;
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

.brand-copy,
.footer-brand > div {
  display: grid;
  line-height: 1;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.055em;
}

.brand-copy small,
.footer-brand small {
  margin-top: 0.32rem;
  color: var(--acid);
  font-size: 0.47rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  min-width: 0;
  margin-left: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 1.6vw, 1.8rem);
  order: 2;
}

.site-header:not(.is-scrolled):not(.menu-expanded) .main-nav > a:not(:first-of-type):not(.nav-cta)::before {
  position: absolute;
  top: 50%;
  left: calc(clamp(0.8rem, 1.6vw, 1.8rem) / -2 - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(244, 246, 241, 0.7);
  content: "";
  transform: translateY(-50%);
}

.main-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: #bec3bb;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .nav-cta {
  margin-left: clamp(0.4rem, 1vw, 1rem);
  padding: 0.75rem 1rem;
  border: 1px solid var(--acid);
  color: var(--acid-bright);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.main-nav .nav-cta:hover {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 22px rgba(205, 232, 0, 0.22);
}

.site-header:not(.is-scrolled):not(.menu-expanded) .main-nav .nav-cta {
  display: none;
}

.menu-toggle {
  z-index: 3;
  display: block;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  order: 3;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-back {
  display: none;
  min-height: 38px;
  padding: 0.48rem 0.68rem;
  align-items: center;
  align-self: flex-end;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.menu-back-arrows {
  color: var(--acid);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.25s var(--ease), color 0.25s ease;
}

.menu-back-copy {
  display: inline-flex;
}

.menu-back-copy strong {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.menu-back:hover {
  border-color: rgba(205, 232, 0, 0.4);
  background: rgba(255, 255, 255, 0.025);
  color: var(--white);
}

.menu-back:hover .menu-back-arrows {
  color: var(--acid-bright);
  transform: rotate(90deg);
}

.site-header.is-scrolled .main-nav,
.site-header.menu-expanded .main-nav {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  width: min(420px, 88vw);
  height: 100svh;
  margin-left: 0;
  padding: 2rem 2rem;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  border-left: 1px solid var(--line-soft);
  background: rgba(7, 8, 7, 0.97);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  transition: transform 0.42s var(--ease);
}

.site-header.is-scrolled .main-nav.is-open,
.site-header.menu-expanded .main-nav.is-open {
  transform: translateX(0);
}

.site-header.is-scrolled .main-nav .menu-back,
.site-header.menu-expanded .main-nav .menu-back {
  display: flex;
  margin-bottom: 2.4rem;
}

.site-header.is-scrolled .main-nav a,
.site-header.menu-expanded .main-nav a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

.site-header.is-scrolled .main-nav .nav-cta,
.site-header.menu-expanded .main-nav .nav-cta {
  display: block;
  margin-top: 1.25rem;
  margin-left: 0;
  padding: 1rem;
  text-align: center;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.section-shell {
  position: relative;
  width: min(100%, calc(var(--max) + (var(--gutter) * 2)));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

section:not(.hero) {
  padding-top: clamp(7rem, 12vw, 11rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
}

section:not(.hero)::before {
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--acid), rgba(205, 232, 0, 0.15) 22%, transparent 78%);
  opacity: 0.6;
}

.section-index {
  position: absolute;
  top: clamp(2rem, 5vw, 4.5rem);
  right: var(--gutter);
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.section-index::after {
  display: inline-block;
  width: 58px;
  height: 1px;
  margin-left: 0.75rem;
  content: "";
  vertical-align: middle;
  background: var(--acid);
  opacity: 0.6;
}

.eyebrow {
  display: flex;
  margin: 0 0 1.25rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink);
  background: var(--acid);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  font-size: clamp(3rem, 7.1vw, 7.2rem);
}

h2 {
  font-size: clamp(2.75rem, 5.7vw, 5.7rem);
}

h1 em,
h2 em {
  color: var(--acid-bright);
  font-style: normal;
  font-weight: 500;
}

.section-heading {
  max-width: 870px;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading-wide {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
}

.section-heading-wide > p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(3.5rem, 8vh, 7rem));
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  grid-template-areas:
    "content visual"
    "foot visual";
  align-items: center;
  column-gap: clamp(2rem, 5vw, 6rem);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: calc(var(--gutter) * 0.5);
  width: min(45vw, 620px);
  height: min(45vw, 620px);
  border: 1px solid rgba(205, 232, 0, 0.06);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 80px rgba(205, 232, 0, 0.018),
    0 0 0 160px rgba(205, 232, 0, 0.009);
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-area: content;
}

.hero-lead {
  max-width: 680px;
  margin-top: 2rem;
  margin-bottom: 0;
  color: #b8beb5;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  padding: 0.85rem 1.25rem;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.2s ease;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--white);
  transform: translateX(-103%);
  transition: transform 0.45s var(--ease);
}

.button:hover::before {
  transform: translateX(0);
}

.button i {
  font-size: 1.12rem;
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.button:hover i {
  transform: translate(3px, -3px);
}

.button-primary {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 0 rgba(205, 232, 0, 0);
}

.button-primary::before {
  background: var(--white);
}

.button-primary:hover {
  border-color: var(--white);
  box-shadow: 0 0 26px rgba(205, 232, 0, 0.22);
}

.button-ghost {
  border-color: var(--line-soft);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  grid-area: visual;
}

.hero-image-frame {
  position: relative;
  min-height: clamp(420px, 54vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(205, 232, 0, 0.36);
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
}

.hero-carousel {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero-carousel.is-dragging {
  cursor: grabbing;
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 9, 8, 0.05), rgba(8, 9, 8, 0.5)),
    linear-gradient(90deg, rgba(205, 232, 0, 0.08), transparent 35%);
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 1.1s var(--ease), filter 0.5s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-image-frame:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.035);
}

.carousel-slides,
.carousel-slide {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition:
    opacity 0.8s var(--ease),
    visibility 0.8s ease,
    transform 1.1s var(--ease);
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-carousel.is-dragging .carousel-slide.is-active {
  transform: translateX(var(--drag-offset, 0));
  transition: none;
}

.carousel-drag-hint {
  position: absolute;
  z-index: 7;
  bottom: 1.7rem;
  left: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(244, 246, 241, 0.72);
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.carousel-drag-hint span {
  color: var(--acid-bright);
  font-size: 0.9rem;
}

.carousel-slide:nth-child(2) img,
.carousel-slide:nth-child(4) img {
  object-fit: contain;
  background: #4a4b49;
}

.carousel-slide figcaption {
  position: absolute;
  z-index: 3;
  right: 1.1rem;
  bottom: 5.2rem;
  left: 1.1rem;
  color: rgba(244, 246, 241, 0.82);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.carousel-controls {
  position: absolute;
  z-index: 7;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.carousel-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(8, 9, 8, 0.78);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.carousel-arrow:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  min-height: 42px;
  padding: 0 0.8rem;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 9, 8, 0.72);
  backdrop-filter: blur(10px);
}

.carousel-dot {
  width: 13px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
}

.carousel-dot.is-active {
  width: 30px;
  background: var(--acid-bright);
  box-shadow: 0 0 12px rgba(205, 232, 0, 0.5);
}

.carousel-counter {
  position: absolute;
  z-index: 7;
  top: 1.05rem;
  right: 1.05rem;
  padding: 0.42rem 0.58rem;
  background: rgba(8, 9, 8, 0.78);
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
}

.carousel-counter [data-carousel-current] {
  color: var(--acid-bright);
}

.scan-line {
  position: absolute;
  z-index: 3;
  top: -8%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acid-bright), transparent);
  box-shadow: 0 0 22px var(--acid);
  animation: scan 5.8s ease-in-out infinite;
}

@keyframes scan {
  0%,
  12% { transform: translateY(0); opacity: 0; }
  25% { opacity: 0.85; }
  70% { opacity: 0.5; }
  82%,
  100% { transform: translateY(680px); opacity: 0; }
}

.visual-label {
  position: absolute;
  z-index: 4;
  padding: 0.42rem 0.58rem;
  background: rgba(8, 9, 8, 0.84);
  color: var(--acid-bright);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.visual-label-top {
  top: 1.1rem;
  left: 1.1rem;
}

.visual-label-bottom {
  right: 1.1rem;
  bottom: 1.1rem;
}

.corner {
  position: absolute;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-color: var(--acid);
  border-style: solid;
  pointer-events: none;
}

.corner-a {
  top: -1px;
  right: -1px;
  border-width: 1px 1px 0 0;
}

.corner-b {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 1px 1px;
}

.hero-foot {
  display: flex;
  padding-top: 3.5rem;
  grid-area: foot;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.hero-foot > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-foot strong {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 400;
}

.hero-foot span {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted-dark);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.scroll-cue i {
  display: block;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: var(--line-soft);
}

.scroll-cue i::after {
  display: block;
  width: 20px;
  height: 1px;
  content: "";
  background: var(--acid);
  animation: scroll-cue 2s ease-in-out infinite;
}

@keyframes scroll-cue {
  from { transform: translateX(-22px); }
  to { transform: translateX(58px); }
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.about-copy {
  max-width: 450px;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .lead-copy {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  padding-bottom: 0.25rem;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--acid);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-link span {
  color: var(--acid);
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.service-card {
  position: relative;
  min-height: 230px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 12, 11, 0.42);
  transition: background 0.35s ease, transform 0.35s var(--ease);
}

.service-card::after {
  position: absolute;
  right: -18%;
  bottom: -42%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(205, 232, 0, 0.12);
  border-radius: 50%;
  content: "";
  transition: border-color 0.35s ease, transform 0.55s var(--ease);
}

.service-card:hover {
  background: rgba(205, 232, 0, 0.055);
  transform: translateY(-4px);
}

.service-card:hover::after {
  border-color: rgba(205, 232, 0, 0.4);
  transform: scale(1.3);
}

.service-card > span {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
}

.service-card h3 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 400;
}

.service-card p {
  max-width: 270px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-statement {
  display: flex;
  max-width: 1040px;
  margin: clamp(5rem, 10vw, 10rem) auto 0;
  align-items: flex-start;
  gap: 1.5rem;
  color: var(--white);
  font-size: clamp(1.6rem, 3.6vw, 3.55rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.brand-statement > span {
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 0.8;
}

.process {
  overflow: hidden;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.process-track::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 0;
  width: var(--process-progress, 0%);
  height: 1px;
  content: "";
  background: var(--acid-bright);
  box-shadow: 0 0 14px var(--acid);
}

.process-step {
  position: relative;
  min-height: 275px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 9, 8, 0.44);
}

.process-step::before {
  position: absolute;
  top: -5px;
  left: 2.5rem;
  width: 9px;
  height: 9px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  content: "";
  background: var(--ink);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover::before {
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}

.process-step > span {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
}

.process-step h3 {
  margin: 2.2rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.portfolio-toolbar {
  display: flex;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portfolio {
  padding-top: clamp(4.5rem, 7vw, 7rem) !important;
}

.portfolio .section-index {
  top: clamp(1.6rem, 3.4vw, 3rem);
}

.filter-button {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-soft);
  background: rgba(8, 9, 8, 0.6);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.project-card {
  position: relative;
  grid-column: span 6;
  min-height: clamp(360px, 46vw, 590px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel-solid);
  cursor: pointer;
  transition: opacity 0.32s ease, transform 0.45s var(--ease), border-color 0.35s ease;
}

.project-card:nth-child(3n + 1),
.project-card.is-featured {
  grid-column: span 7;
}

.project-card:nth-child(3n + 2) {
  grid-column: span 5;
}

.project-card.is-hidden {
  display: none;
}

.project-card:focus-visible {
  outline-offset: 3px;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 5, 0.9) 100%);
  pointer-events: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.94) contrast(1.05);
  transition: transform 0.75s var(--ease), filter 0.45s ease;
}

.project-card:hover {
  border-color: rgba(205, 232, 0, 0.75);
  transform: translateY(-5px);
}

.project-card:hover img {
  filter: saturate(1.04) brightness(1) contrast(1.03);
  transform: scale(1.045);
}

.project-card-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
}

.project-meta {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--acid-bright);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
}

.project-open {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--acid-bright);
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}

.project-card:hover .project-open {
  background: var(--acid);
  color: var(--ink);
  transform: rotate(45deg);
}

.project-card[data-project-id="pao-e-arte"],
.project-card[data-project-id="bello-alimentos"] {
  grid-column: span 6 !important;
}

.portfolio-cta {
  display: flex;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.portfolio-cta p {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 300;
}

.clients {
  overflow: hidden;
}

.client-marquee {
  width: calc(100vw - (var(--gutter) * 2));
  margin-left: calc((100vw - min(100vw, calc(var(--max) + (var(--gutter) * 2)))) / -2);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 36s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-name {
  display: flex;
  min-width: 240px;
  min-height: 120px;
  padding: 1.5rem 2rem;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line-soft);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.42s ease, background 0.42s ease, text-shadow 0.42s ease, transform 0.42s var(--ease);
}

.client-name.is-center {
  background: rgba(205, 232, 0, 0.045);
  color: var(--acid-bright);
  text-shadow: 0 0 18px rgba(205, 232, 0, 0.4);
  transform: scale(1.035);
}

.client-name:hover {
  background: rgba(205, 232, 0, 0.04);
  color: var(--acid-bright);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.clients-note {
  max-width: 720px;
  margin: 3rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.location-map {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 50%, rgba(205, 232, 0, 0.06), transparent 24rem),
    rgba(8, 9, 8, 0.68);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(205, 232, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 232, 0, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(63deg) scale(1.7) translateY(14%);
  transform-origin: center bottom;
}

.route-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 18%;
  left: 18%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--acid) 0 8px, transparent 8px 15px);
}

.route-line::before,
.route-line::after {
  position: absolute;
  top: -5px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  content: "";
  background: var(--ink);
  box-shadow: 0 0 14px rgba(205, 232, 0, 0.45);
}

.route-line::before { left: -5px; }
.route-line::after { right: -5px; }

.route-line span {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid-bright);
  box-shadow: 0 0 15px var(--acid);
  animation: route 4.5s ease-in-out infinite alternate;
}

@keyframes route {
  to { left: calc(100% - 5px); }
}

.location-card {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  height: 276px;
  min-height: 0;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  align-self: center;
  flex-direction: column;
  border: 1px solid rgba(205, 232, 0, 0.22);
  background: rgba(10, 11, 10, 0.88);
  backdrop-filter: blur(12px);
}

.location-type {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.location-card h3 {
  margin: 0.9rem 0 0.55rem;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 300;
  line-height: 1.15;
}

.location-card h3 em {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  font-style: normal;
}

.location-card p {
  min-height: 0;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.location-card a {
  margin-top: auto;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.location-card a span {
  margin-left: 0.4rem;
  color: var(--acid);
}

.map-center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brazil-map-visual {
  position: relative;
  width: 210px;
  height: 210px;
  margin-bottom: 0.7rem;
  overflow: hidden;
  background: transparent;
  filter: drop-shadow(0 0 14px rgba(205, 232, 0, 0.22));
}

.brazil-map-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  mix-blend-mode: screen;
}

.brazil-map-lines {
  z-index: 1;
  opacity: 0.78;
}

.brazil-map-beam {
  z-index: 2;
  opacity: 1;
  filter: brightness(1.7) drop-shadow(0 0 7px rgba(224, 255, 0, 0.95));
  mix-blend-mode: screen;
  animation: brazil-silhouette-beam 6.5s linear infinite;
}

.brazil-map-canvas {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes brazil-silhouette-beam {
  0% { clip-path: circle(11% at 37% 7%); }
  10% { clip-path: circle(11% at 67% 10%); }
  20% { clip-path: circle(11% at 88% 28%); }
  30% { clip-path: circle(11% at 91% 49%); }
  40% { clip-path: circle(11% at 75% 69%); }
  50% { clip-path: circle(11% at 55% 92%); }
  60% { clip-path: circle(11% at 38% 87%); }
  70% { clip-path: circle(11% at 29% 67%); }
  80% { clip-path: circle(11% at 11% 51%); }
  90% { clip-path: circle(11% at 19% 27%); }
  100% { clip-path: circle(11% at 37% 7%); }
}

.map-center strong {
  font-size: 0.8rem;
  letter-spacing: 0.17em;
}

.map-center small {
  margin-top: 0.4rem;
  color: var(--muted-dark);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.contact {
  padding-bottom: clamp(6rem, 10vw, 9rem) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-copy h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-top: 2rem;
  color: var(--muted);
}

.contact-links {
  margin-top: 3rem;
  border-top: 1px solid var(--line-soft);
}

.contact-links a {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: 95px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.contact-links a:hover {
  padding-left: 0.4rem;
  color: var(--acid-bright);
}

.contact-links span {
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-links strong {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 500;
}

.whatsapp-pulse-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42);
  animation: whatsapp-pulse 2s ease-out infinite;
}

.whatsapp-pulse-icon img {
  width: 172%;
  max-width: none;
  height: 172%;
  object-fit: cover;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.lead-form {
  position: relative;
  padding: clamp(1.4rem, 4vw, 3.2rem);
  border: 1px solid rgba(205, 232, 0, 0.25);
  background: rgba(14, 16, 14, 0.82);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.lead-form::before,
.lead-form::after {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--acid);
  border-style: solid;
  content: "";
  pointer-events: none;
}

.lead-form::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.lead-form::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-left: 2px solid var(--acid);
  background: rgba(205, 232, 0, 0.07);
  color: var(--white);
  font-size: 0.84rem;
}

.form-status.is-visible {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  margin-bottom: 1rem;
  gap: 0.45rem;
}

.field > span {
  color: #c4c9c1;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  outline: none;
  background: rgba(5, 6, 5, 0.55);
  color: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 0.9rem;
}

.field textarea {
  min-height: 122px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(205, 232, 0, 0.08);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #636861;
}

.field select option {
  background: #111;
  color: var(--white);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted-dark);
  font-size: 0.68rem;
  line-height: 1.45;
}

.site-footer {
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line-soft);
}

.site-footer > p {
  margin: 2.5rem 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.footer-company-data {
  display: flex;
  margin: -1rem 0 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--muted-dark);
  font-size: 0.7rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.footer-company-data a {
  flex: 0 0 auto;
  color: var(--white);
  transition: color 0.25s ease;
}

.footer-company-data a:hover {
  color: var(--acid-bright);
}

.footer-bottom {
  display: flex;
  padding-top: 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-dark);
  font-size: 0.7rem;
}

.footer-bottom a {
  color: var(--white);
}

.footer-bottom a span {
  margin-left: 0.35rem;
  color: var(--acid);
}

.project-dialog {
  width: min(1080px, calc(100% - 2rem));
  max-height: min(86vh, 800px);
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  border: 1px solid rgba(205, 232, 0, 0.38);
  background: #0c0e0c;
  color: var(--white);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.72);
}

.project-dialog[open] {
  display: grid;
  animation: dialog-in 0.42s var(--ease) both;
}

.project-dialog::backdrop {
  background: rgba(2, 3, 2, 0.84);
  backdrop-filter: blur(10px);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 6, 5, 0.74);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.dialog-close:hover {
  background: var(--acid);
  color: var(--ink);
}

.dialog-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #080908;
  cursor: grab;
  touch-action: pan-y;
}

.dialog-media::before {
  position: absolute;
  z-index: 0;
  inset: -8%;
  content: "";
  background-image: linear-gradient(rgba(5, 6, 5, 0.38), rgba(5, 6, 5, 0.58)), var(--dialog-image);
  background-position: center;
  background-size: cover;
  filter: blur(20px) saturate(0.85);
  transform: scale(1.08);
}

.dialog-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 6, 5, 0.02) 55%, rgba(5, 6, 5, 0.66));
  pointer-events: none;
}

.dialog-media.is-dragging {
  cursor: grabbing;
}

.dialog-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: inset(1.5% 2%);
  filter: brightness(1.05) contrast(1.06) saturate(1.04);
  transform: scale(1.035);
  user-select: none;
  -webkit-user-drag: none;
}

.dialog-gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 6, 5, 0.62);
  color: var(--white);
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.dialog-gallery-arrow:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.dialog-gallery-arrow.is-hidden {
  display: none;
}

.dialog-gallery-prev { left: 1rem; }
.dialog-gallery-next { right: 1rem; }

.dialog-gallery-footer {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  min-height: 36px;
  padding: 0.45rem 0.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(5, 6, 5, 0.7);
  backdrop-filter: blur(12px);
}

.dialog-gallery-dots {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.dialog-gallery-dot {
  width: 18px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s ease;
}

.dialog-gallery-dot.is-active {
  width: 34px;
  background: var(--acid-bright);
}

.dialog-gallery-counter {
  color: rgba(244, 246, 241, 0.74);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.dialog-copy {
  display: flex;
  padding: clamp(2rem, 5vw, 4rem);
  flex-direction: column;
  justify-content: center;
}

.dialog-copy > span {
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 1.1rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.dialog-copy p {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.dialog-contact-button {
  width: fit-content;
  padding-right: 0;
  padding-left: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.whatsapp-dialog {
  width: min(520px, calc(100% - 2rem));
  padding: clamp(1.8rem, 5vw, 3rem);
  border: 1px solid rgba(205, 232, 0, 0.48);
  background: #0b0d0b;
  color: var(--white);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.72);
}

.whatsapp-dialog[open] {
  animation: dialog-in 0.34s var(--ease) both;
}

.whatsapp-dialog::backdrop {
  background: rgba(2, 3, 2, 0.74);
  backdrop-filter: blur(8px);
}

.whatsapp-dialog-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.whatsapp-dialog-label {
  color: var(--acid-bright);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.whatsapp-dialog h2 {
  margin: 1rem 0 1.1rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.02;
}

.whatsapp-dialog p {
  color: var(--muted);
  font-size: 0.92rem;
}

.whatsapp-dialog-actions {
  display: flex;
  margin-top: 2rem;
  gap: 0.8rem;
}

.whatsapp-dialog-actions .button {
  flex: 1;
  justify-content: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js .reveal.reveal-delay-1 { transition-delay: 0.12s; }
.js .reveal.reveal-delay-2 { transition-delay: 0.24s; }

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  :root { --header-height: 74px; }

  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    width: min(420px, 88vw);
    height: 100svh;
    padding: 7rem 2rem 2rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-left: 1px solid var(--line-soft);
    background: rgba(7, 8, 7, 0.97);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
    transform: translateX(105%);
    transition: transform 0.42s var(--ease);
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav .menu-back {
    display: flex;
    margin-bottom: 2.4rem;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
  }

  .main-nav .nav-cta {
    margin-top: 1.25rem;
    padding: 1rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 6rem;
    grid-template-columns: 1fr;
    grid-template-areas: "content" "visual" "foot";
    row-gap: 3.5rem;
  }

  .hero-content { max-width: 900px; }
  .hero-visual { max-width: 820px; }

  .hero-image-frame {
    transform: none;
  }

  .hero-image-frame {
    min-height: 420px;
  }

  .scroll-cue { display: none; }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy { max-width: 720px; }
}

@media (max-width: 820px) {
  .section-heading-wide,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-wide {
    align-items: start;
    gap: 1.8rem;
  }

  .section-heading-wide > p {
    max-width: 600px;
  }

  .about-copy { max-width: 680px; }

  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card:nth-child(3n + 1),
  .project-card:nth-child(3n + 2),
  .project-card.is-featured {
    grid-column: span 6;
  }

  .location-map {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .route-line {
    top: 18%;
    bottom: 18%;
    left: 50%;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--acid) 0 8px, transparent 8px 15px);
  }

  .route-line::before,
  .route-line::after {
    left: -5px;
  }

  .route-line::before { top: 0; }
  .route-line::after { top: auto; bottom: 0; }

  .route-line span {
    top: 0;
    left: -2px;
    animation-name: route-vertical;
  }

  @keyframes route-vertical {
    to { top: calc(100% - 5px); }
  }

  .location-card,
  .map-center { width: min(100%, 520px); margin: 0 auto; }
  .map-center { padding: 2rem 0; }

  .project-dialog[open] {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .dialog-media { min-height: 330px; }
}

@media (max-width: 620px) {
  :root {
    --gutter: 1.1rem;
  }

  .brand-copy strong { font-size: 0.88rem; }
  .brand-copy small { font-size: 0.42rem; }

  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.6rem); }

  .hero {
    padding-top: calc(var(--header-height) + 3.7rem);
  }

  .hero-actions,
  .portfolio-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .hero-image-frame {
    min-height: 310px;
  }

  .carousel-slide figcaption {
    right: 0.8rem;
    bottom: 6.6rem;
    left: 0.8rem;
    text-align: center;
  }

  .carousel-drag-hint {
    bottom: 4.35rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .carousel-controls {
    right: 0.7rem;
    bottom: 0.7rem;
    left: 0.7rem;
    gap: 0.45rem;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-dots {
    min-height: 38px;
    padding: 0 0.55rem;
    gap: 0.35rem;
  }

  .carousel-dot { width: 12px; }
  .carousel-dot.is-active { width: 24px; }

  .visual-label-bottom { display: none; }

  .hero-foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.4rem;
  }

  .section-index::after { width: 28px; }

  .services-grid,
  .process-track,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step { min-height: 205px; }

  .brand-statement {
    gap: 0.6rem;
  }

  .brand-statement > span { font-size: 2.6rem; }

  .portfolio-grid { gap: 0.8rem; }

  .project-card,
  .project-card:nth-child(3n + 1),
  .project-card:nth-child(3n + 2),
  .project-card.is-featured {
    grid-column: span 12;
    min-height: 390px;
  }

  .portfolio-cta .button { width: 100%; }

  .client-name {
    min-width: 190px;
    min-height: 95px;
    padding: 1rem;
    font-size: 0.85rem;
  }

  .location-map { padding: 1.2rem; }

  .contact-links a {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-company-data {
    align-items: flex-start;
    flex-direction: column;
  }

  .dialog-gallery-arrow {
    width: 36px;
    height: 36px;
  }

  .dialog-gallery-prev { left: 0.55rem; }
  .dialog-gallery-next { right: 0.55rem; }

  .dialog-gallery-footer {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
  }

  .whatsapp-dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-media { min-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  #networkCanvas { display: none; }
  .client-track { transform: none !important; }
}
