:root {
  --bg: #09060d;
  --bg-soft: #110817;
  --surface: #160c1d;
  --border: #2a1631;
  --text: #f5f2f7;
  --muted: #a79eab;
  --accent: #d3263f;
  --accent-hover: #f02f4b;
  --header-height: 5rem;
  --page-x: clamp(1.25rem, 6vw, 7rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-x);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 62%, transparent);
  background: linear-gradient(to bottom, rgba(9, 6, 13, .94), rgba(9, 6, 13, .68));
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .35rem .85rem .35rem .4rem;
  border: 1px solid rgba(245, 242, 247, .82);
  border-radius: .85rem;
  background: #f5f2f7;
  color: #17131a;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .24), 0 0 0 1px rgba(211, 38, 63, .08);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.brand:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(0, 0, 0, .3), 0 0 20px rgba(211, 38, 63, .12); }
.brand img { width: 2.1rem; height: 2.1rem; object-fit: contain; }
.brand-name { font-size: .95rem; font-weight: 750; letter-spacing: -.025em; white-space: nowrap; }
.brand-name strong { color: var(--accent); }

.main-nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: .82rem;
  text-decoration: none;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--text); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.65rem;
  height: 1px;
  background: var(--accent);
}

.menu-button { display: none; }

.snap-container {
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
  scroll-behavior: smooth;
}
.snap-container::-webkit-scrollbar { width: .45rem; }
.snap-container::-webkit-scrollbar-track { background: var(--bg); }
.snap-container::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--accent); }

.panel {
  position: relative;
  height: auto;
  min-height: 100dvh;
  overflow: clip;
}

.panel > * { position: relative; z-index: 2; }

.panel::before {
  content: "";
  position: absolute;
  width: min(38rem, 80vw);
  aspect-ratio: 1;
  right: -25rem;
  top: 10%;
  border-radius: 50%;
  background: rgba(211, 38, 63, .05);
  filter: blur(40px);
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(245, 242, 247, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 247, .035) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to right, transparent, black 35%, black 70%, transparent);
  pointer-events: none;
}

.ambient-scene { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; display: block; border-radius: 50%; filter: blur(2px); opacity: .35; animation: ambient-drift 14s ease-in-out infinite alternate; }
.orb-one { width: 22rem; height: 22rem; right: 7%; top: 12%; background: radial-gradient(circle, rgba(211, 38, 63, .18), transparent 68%); }
.orb-two { width: 16rem; height: 16rem; left: 8%; bottom: 4%; background: radial-gradient(circle, rgba(240, 47, 75, .1), transparent 68%); animation-delay: -5s; animation-duration: 18s; }
.orb-three { width: 10rem; height: 10rem; left: 48%; top: 42%; border: 1px solid rgba(211, 38, 63, .12); animation-delay: -9s; animation-duration: 20s; }
.ambient-noise { position: absolute; inset: 0; opacity: .16; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.035) 0 1px, transparent 1.5px); background-size: 2.5rem 2.5rem; animation: ambient-grid 24s linear infinite; }

@keyframes ambient-drift { from { transform: translate3d(-1rem, -1rem, 0) scale(.95); } to { transform: translate3d(2rem, 1.5rem, 0) scale(1.08); } }
@keyframes ambient-grid { to { background-position: 5rem 2.5rem; } }

.panel-inner {
  width: min(100%, 96rem);
  min-height: 100dvh;
  margin-inline: auto;
  padding: calc(var(--header-height) + 3rem) var(--page-x) 3rem;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: clamp(.75rem, 1vw, .9rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 13ch; font-size: clamp(3.1rem, 7.2vw, 7.5rem); font-weight: 600; }
h2 { font-size: clamp(2.75rem, 6vw, 6.25rem); font-weight: 600; }
h3 { font-size: clamp(2rem, 4vw, 4rem); }
em { color: var(--accent); font-style: normal; }

.hero-content { display: flex; flex-direction: column; justify-content: center; }
.hero-content > * { position: relative; z-index: 3; }
.hero-support { margin: 1.75rem 0 2.25rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }

.secondary-action {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem .25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.secondary-action:hover { border-color: var(--accent); color: var(--accent-hover); }

.hero-summary {
  position: absolute;
  left: var(--page-x);
  bottom: 2.1rem;
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-summary span { display: inline-flex; align-items: center; gap: .6rem; }
.hero-summary span::before { content: ""; width: .3rem; height: .3rem; border-radius: 50%; background: var(--accent); }

.hero-motion {
  position: absolute;
  z-index: 1;
  top: 18%;
  right: clamp(5rem, 9vw, 10rem);
  width: clamp(22rem, 35vw, 37rem);
  aspect-ratio: 1;
  border-radius: 50%;
}
.motion-ring { position: absolute; inset: 10%; border: 1px solid rgba(245, 242, 247, .12); border-radius: 50%; animation: ring-rotate 18s linear infinite; }
.motion-ring::before { content: ""; position: absolute; width: .55rem; height: .55rem; left: 9%; top: 18%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 22px rgba(240, 47, 75, .8); }
.ring-two { inset: 22%; border-style: dashed; animation-direction: reverse; animation-duration: 24s; }
.ring-two::before { left: auto; right: 2%; top: 55%; width: .35rem; height: .35rem; }
.ring-three { inset: 34%; border-color: rgba(211, 38, 63, .28); animation-duration: 12s; }
.ring-three::before { top: auto; bottom: 2%; left: 48%; width: .28rem; height: .28rem; }
.motion-core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 247, .2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 32%, rgba(255, 255, 255, .98), rgba(245, 242, 247, .88) 56%, rgba(220, 211, 224, .8));
  box-shadow:
    0 0 0 .45rem rgba(211, 38, 63, .045),
    0 0 70px rgba(211, 38, 63, .2),
    inset 0 1px rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px);
  animation: core-pulse 4s ease-in-out infinite;
}
.motion-core::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(211, 38, 63, .16);
  border-radius: 50%;
}
.motion-core img {
  position: relative;
  z-index: 2;
  width: 66%;
  height: 66%;
  object-fit: contain;
  filter: drop-shadow(0 .45rem .55rem rgba(9, 6, 13, .2));
  animation: logo-float 5s var(--ease) infinite;
}
.motion-logo-halo {
  position: absolute;
  z-index: 1;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(211, 38, 63, .2);
  filter: blur(1rem);
}
.motion-node { position: absolute; width: .55rem; height: .55rem; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); box-shadow: 0 0 18px rgba(211,38,63,.4); animation: node-pulse 2.5s ease-in-out infinite; }
.node-one { left: 5%; top: 48%; }
.node-two { right: 15%; top: 8%; animation-delay: -.8s; }
.node-three { right: 4%; bottom: 24%; animation-delay: -1.6s; }
.motion-caption { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); color: var(--muted); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }
@keyframes core-pulse { 50% { transform: scale(1.055); border-color: rgba(211,38,63,.4); box-shadow: 0 0 0 .65rem rgba(211, 38, 63, .035), 0 0 100px rgba(211, 38, 63, .25), inset 0 1px rgba(255, 255, 255, .9); } }
@keyframes logo-float { 50% { transform: translateY(-3%) scale(1.035); } }
@keyframes node-pulse { 50% { transform: scale(1.7); opacity: .45; } }

.primary-action {
  width: fit-content;
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: .85rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.primary-action:hover { background: var(--accent-hover); transform: translateY(-2px); }
.primary-action:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }

.scroll-hint {
  position: absolute;
  right: var(--page-x);
  bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.scroll-hint span { width: 3.5rem; height: 1px; background: var(--border); }

.section-progress {
  position: fixed;
  z-index: 15;
  right: clamp(.75rem, 2vw, 2rem);
  top: 50%;
  display: grid;
  gap: .65rem;
  transform: translateY(-50%);
}
.section-progress a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 2.4rem;
  height: 1.25rem;
  color: transparent;
  font-size: .67rem;
  text-decoration: none;
}
.section-progress a::after { content: ""; width: .55rem; height: 1px; background: var(--border); transition: .3s var(--ease); }
.section-progress a.active { color: var(--muted); }
.section-progress a.active::after { width: 1.3rem; background: var(--accent); }
.section-progress span { margin-right: .35rem; }

.projects-layout { display: grid; grid-template-rows: auto 1fr auto; align-items: center; }
.section-heading { align-self: end; }
.section-heading h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.section-intro { max-width: 35rem; margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }

.project-stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 3rem); align-items: center; }
.project-view { min-width: 0; }
.project-card-link {
  display: grid;
  grid-template-columns: minmax(16rem, 1.15fr) 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.project-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: clamp(1rem, 2vw, 1.75rem);
  isolation: isolate;
  background: var(--surface);
  transition: border-color .3s ease, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-visual::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.project-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .4s ease; }
.project-visual-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4,3,8,.8)); }
.project-open { position: absolute; z-index: 3; left: 1.25rem; bottom: 1.1rem; display: inline-flex; gap: .55rem; align-items: center; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; opacity: .86; }
.project-open b, .project-visit b { color: var(--accent); font-size: 1rem; }
.project-card-link:hover .project-visual, .project-card-link:focus-visible .project-visual { border-color: rgba(211,38,63,.55); transform: translateY(-.25rem); box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,.3); }
.project-card-link:hover .project-image, .project-card-link:focus-visible .project-image { transform: scale(1.035); }
.project-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: .5rem; border-radius: 1.75rem; }
.project-view[data-theme="mova"] .project-visual { background: radial-gradient(circle at 50% 48%, #eff3ff 0 28%, #aab8ff 29%, #7258bd 50%, #121c34 76%); }
.project-view[data-theme="mova"] .project-image { inset: 20% 15%; width: 70%; height: 60%; object-fit: contain; filter: drop-shadow(0 .8rem 1.2rem rgba(8,17,39,.22)); }
.project-view[data-theme="mova"] .project-card-link:hover .project-image { transform: scale(1.045); }
.project-view[data-theme="abyss"] .project-image { object-position: center 37%; }
.project-view[data-theme="luccas"] .project-image { object-position: center 28%; filter: saturate(.92) contrast(1.04); }
.project-view[data-theme="luccas"] .project-visual-shade { background: linear-gradient(180deg, rgba(10,16,33,.04), rgba(3,7,18,.86)); }
.project-copy { max-width: 38rem; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 2rem; color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.project-status { display: inline-flex; align-items: center; gap: .5rem; }
.project-status::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); }
.project-copy > p { max-width: 43ch; color: var(--muted); font-size: clamp(.95rem, 1.3vw, 1.12rem); line-height: 1.62; }
.project-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.35rem; }
.project-facts span { padding: .48rem .7rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(245,242,247,.025); color: rgba(245,242,247,.72); font-size: .68rem; letter-spacing: .04em; }
.project-copy .project-category { margin-top: 1.75rem; color: var(--text); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.project-visit { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; color: var(--text); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-arrow { width: 3.25rem; height: 3.25rem; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: border .2s ease, transform .2s ease; }
.project-arrow:hover { border-color: var(--accent); transform: scale(1.05); }
.project-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-bottom: .5rem;
  border-top: 1px solid var(--border);
}
.project-dot {
  min-height: 3.75rem;
  padding: .75rem 1rem;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.project-dot:last-child { border-right: 0; }
.project-dot:hover { color: var(--text); background: rgba(245, 242, 247, .02); }
.project-dot[aria-selected="true"] { color: var(--text); background: var(--surface); box-shadow: inset 0 2px var(--accent); }

.about-layout { display: grid; grid-template-columns: .25fr 1.35fr 1fr; gap: clamp(2rem, 6vw, 8rem); align-items: center; }
.section-number { align-self: start; margin-top: 20vh; color: var(--muted); }
.about-main h2 { max-width: 9ch; }
.about-copy { padding-top: 3rem; border-top: 1px solid var(--border); }
.about-copy p { color: var(--muted); font-size: clamp(.95rem, 1.25vw, 1.1rem); line-height: 1.7; }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: 2rem; }
.about-highlights span { min-height: 4.5rem; display: flex; align-items: flex-end; padding: .85rem; border: 1px solid var(--border); border-radius: .75rem; background: rgba(22, 12, 29, .55); color: var(--text); font-size: .7rem; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }

.about-depth::before { right: auto; left: -20rem; top: 20%; }
.depth-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 8vw, 10rem); align-items: center; }
.depth-heading { position: relative; }
.depth-heading .section-number { position: absolute; top: -4rem; margin: 0; }
.depth-heading h2 { max-width: 10ch; font-size: clamp(2.75rem, 5.6vw, 5.75rem); }
.depth-content { padding: clamp(1.15rem, 2.2vw, 1.8rem); border: 1px solid var(--border); border-radius: 1.5rem; background: linear-gradient(145deg, rgba(22, 12, 29, .86), rgba(9, 6, 13, .6)); box-shadow: 0 2rem 6rem rgba(0, 0, 0, .18); }
.depth-lead { margin: 0 0 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--border); }
.process-list li > span { padding-top: .2rem; color: var(--accent); font-size: .72rem; }
.process-list div { display: grid; gap: .35rem; }
.process-list strong { font-size: 1.15rem; font-weight: 550; }
.process-list small { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.current-focus { display: flex; gap: .8rem; margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; line-height: 1.55; }
.current-focus span { flex: 0 0 auto; color: var(--text); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }

.expertise-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 10rem); align-items: center; }
.expertise .section-heading h2 { max-width: 10ch; }
.expertise-list { margin: 0; padding: 0; list-style: none; }
.expertise-list li { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; min-height: 5.5rem; border-bottom: 1px solid var(--border); }
.expertise-list li:first-child { border-top: 1px solid var(--border); }
.expertise-list span { color: var(--accent); font-size: .72rem; }
.expertise-list strong { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; }
.expertise-list small { max-width: 16rem; color: var(--muted); font-size: .85rem; text-align: right; }

.contact-layout { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.contact-intro h2 { max-width: 9ch; }
.contact-intro > p:not(.eyebrow) { max-width: 35rem; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.contact-actions { width: 100%; max-width: 38rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.contact-action { position: relative; width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: .65rem; padding: .7rem .75rem; border: 1px solid var(--border); border-radius: 1rem; color: var(--text); text-decoration: none; transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.contact-action:hover { transform: translateY(-2px); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18); }
.whatsapp-action { border-color: rgba(37, 211, 102, .28); background: rgba(37, 211, 102, .07); }
.whatsapp-action:hover { border-color: rgba(37, 211, 102, .65); background: rgba(37, 211, 102, .11); }
.email-action { border-color: rgba(211, 38, 63, .28); background: rgba(211, 38, 63, .065); }
.email-action:hover { border-color: rgba(240, 47, 75, .65); background: rgba(211, 38, 63, .11); }
.contact-action-icon { flex: 0 0 auto; width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border-radius: 50%; }
.whatsapp-icon { background: #25d366; color: #08170e; box-shadow: 0 0 1.5rem rgba(37, 211, 102, .16); }
.email-icon { background: var(--accent); color: white; box-shadow: 0 0 1.5rem rgba(211, 38, 63, .18); }
.contact-action-icon svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.contact-action > span:nth-child(2) { min-width: 0; display: grid; gap: .15rem; }
.contact-action small { color: var(--muted); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-action strong { overflow-wrap: anywhere; font-size: clamp(.7rem, .9vw, .82rem); font-weight: 600; }
.contact-action-arrow { margin-left: auto; color: var(--accent); font-size: 1rem; }
.whatsapp-action .contact-action-arrow { color: #25d366; }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--border); border-radius: 1.5rem; background: rgba(22, 12, 29, .72); }
.contact-form[hidden] { display: none; }
.contact-form label { display: grid; gap: .45rem; color: var(--muted); font-size: .78rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .75rem .1rem; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; outline: 0; background: transparent; color: var(--text); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.form-result { min-height: 1.5rem; margin: 0; color: var(--muted); font-size: .85rem; }
.site-footer { position: absolute; left: var(--page-x); right: var(--page-x); bottom: 2rem; display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.site-footer a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.panel.is-visible .reveal { opacity: 1; transform: translateY(0); }
.panel.is-visible .reveal:nth-child(2) { transition-delay: .08s; }
.panel.is-visible .reveal:nth-child(3) { transition-delay: .16s; }
.project-view.is-changing { opacity: 0; transform: translateY(.75rem); transition: opacity .16s ease, transform .16s ease; }

@media (max-width: 900px) {
  :root { --header-height: 4.25rem; }
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    padding: 1.5rem var(--page-x) 2rem;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 6, 13, .98);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1rem; }
  .menu-button { display: grid; gap: .4rem; width: 2.75rem; height: 2.75rem; place-content: center; border: 0; background: transparent; }
  .menu-button span { display: block; width: 1.4rem; height: 1px; background: var(--text); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .section-progress { right: .4rem; }
  .section-progress span { display: none; }
  .project-card-link { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-visual { max-height: 32vh; }
  .project-stage { gap: .5rem; }
  .project-arrow { width: 2.7rem; height: 2.7rem; }
  .project-copy > p { margin: .85rem 0; font-size: .95rem; line-height: 1.5; }
  .project-meta { margin-bottom: 1rem; }
  .project-facts { margin-top: .8rem; }
  .project-dots { grid-template-columns: repeat(3, 1fr); }
  .about-layout { grid-template-columns: 1fr; align-content: center; gap: 2rem; }
  .section-number { display: none; }
  .about-copy { padding-top: 1.5rem; }
  .depth-layout { grid-template-columns: 1fr; align-content: center; gap: 2.5rem; }
  .depth-heading .section-number { display: none; }
  .depth-heading h2 { max-width: 12ch; }
  .expertise-layout { grid-template-columns: 1fr; align-content: center; gap: 2.5rem; }
  .expertise-list li { grid-template-columns: 2rem 1fr; }
  .expertise-list small { display: none; }
  .contact-layout { grid-template-columns: 1fr; align-content: center; }
  .site-footer { left: var(--page-x); right: var(--page-x); }
  .hero-motion { right: -10rem; top: 25%; opacity: .28; }
}

@media (max-width: 560px) {
  body { overflow: hidden; }
  .panel-inner { padding-right: calc(var(--page-x) + .75rem); }
  h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  h2 { font-size: clamp(2.5rem, 11vw, 3.75rem); }
  .scroll-hint { left: var(--page-x); right: auto; }
  .hero-summary { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .section-heading { align-self: center; }
  .projects-layout { grid-template-rows: auto 1fr auto; }
  .project-stage { grid-template-columns: 1fr; align-content: center; }
  .project-arrow { position: absolute; z-index: 2; top: clamp(4rem, 22vw, 6rem); }
  .project-arrow.previous { left: calc(var(--page-x) - .5rem); }
  .project-arrow.next { right: calc(var(--page-x) + .5rem); }
  .project-visual { margin-inline: 1.25rem; }
  .project-copy { text-align: center; }
  .project-meta { justify-content: center; }
  .project-copy > p { margin-inline: auto; }
  .project-facts { justify-content: center; }
  .expertise-list li { min-height: 4.5rem; }
  .about-highlights { grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: 1.25rem; }
  .about-highlights span { min-height: 5rem; align-items: flex-end; padding: .55rem; font-size: .58rem; }
  .depth-layout { gap: 1.25rem; padding-top: calc(var(--header-height) + 1.5rem); }
  .depth-heading h2 { font-size: clamp(2.3rem, 10vw, 3.25rem); }
  .depth-heading .eyebrow { margin-bottom: .75rem; }
  .depth-content { padding: 1rem 1.1rem; border-radius: 1rem; }
  .depth-lead { margin-bottom: 1rem; font-size: .88rem; line-height: 1.5; }
  .process-list li { padding: .7rem 0; }
  .process-list strong { font-size: 1rem; }
  .process-list small { font-size: .75rem; }
  .current-focus { margin-top: .75rem; padding-top: .8rem; font-size: .75rem; }
  .project-dots { display: flex; overflow-x: auto; margin-inline: calc(var(--page-x) * -1); padding-inline: var(--page-x); border-top: 0; scrollbar-width: none; }
  .project-dot { min-width: 10rem; border: 1px solid var(--border) !important; border-radius: .75rem; margin-right: .5rem; }
  .site-footer { bottom: 1rem; }
  .brand { min-height: 2.5rem; padding: .3rem .65rem .3rem .35rem; }
  .brand img { width: 1.85rem; height: 1.85rem; }
  .brand-name { font-size: .82rem; }
  .hero-motion { right: -12rem; top: 28%; width: 28rem; opacity: .2; }
  .contact-layout { align-content: start; gap: 1rem; padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 2.75rem; }
  .contact-intro h2 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .contact-intro > p:not(.eyebrow) { margin: .85rem 0 0; font-size: .86rem; line-height: 1.5; }
  .contact-intro .eyebrow { margin-bottom: .75rem; }
  .contact-actions { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-top: .8rem; }
  .contact-action { min-height: 6.4rem; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: .45rem; padding: .65rem; border-radius: .8rem; }
  .contact-action-icon { width: 2.1rem; height: 2.1rem; }
  .contact-action > span:nth-child(2) { grid-column: 1 / -1; }
  .contact-action small { font-size: .52rem; }
  .contact-action strong { font-size: .68rem; line-height: 1.35; }
  .email-action strong { white-space: nowrap; font-size: .58rem; letter-spacing: -.035em; }
  .contact-action-arrow { position: absolute; top: .8rem; right: .7rem; }
  .contact-form { gap: .4rem; padding: .8rem 1.1rem 1rem; border-radius: 1rem; }
  .contact-form label { gap: .1rem; font-size: .7rem; }
  .contact-form input, .contact-form textarea { padding: .4rem .05rem; }
  .contact-form textarea { min-height: 2.75rem; max-height: 3.5rem; }
  .contact-form .primary-action { min-height: 2.55rem; padding: .55rem 1.1rem; }
  .form-result { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ambient-orb, .ambient-noise, .motion-ring, .motion-core, .motion-node, .visual-line { animation: none !important; }
}
