@font-face {
  font-family: "Funnel Display";
  src: url("fonts/funnel-display.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("fonts/funnel-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #111113;
  --ink-2: #55575e;
  --line: #e2e2dd;
  --field: #f2f2ee;
  --field-hover: #ebebe6;

  --orange: #ff5a1f;
  --orange-hover: #ff7340;
  --orange-text: #c2410c;
  --o-900: #1c1410;
  --o-700: #7c2d0e;
  --o-600: #c2410c;
  --o-500: #ff5a1f;
  --o-300: #ff9c70;
  --o-100: #ffdccb;

  --dark: #121214;
  --dark-2: #1c1c20;
  --dark-3: #26262b;
  --on-dark: #f4f4f2;
  --on-dark-2: #a9aab0;

  --f-display: "Funnel Display", system-ui, sans-serif;
  --f-body: "Funnel Sans", system-ui, sans-serif;

  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 80px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  overflow-x: clip;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: var(--ink-2) var(--bg);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  caret-color: var(--orange);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange); color: var(--ink); }

h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

h2 {
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font: 600 1rem/1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: var(--orange-hover); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: var(--ink); color: #fff; }
.btn--light:hover { background: #2a2a2f; }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.show-sm { display: none; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(17 17 19 / 0.35); }
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: 100%;
  max-width: 1280px; margin: 0 auto;
  padding-inline: var(--gutter);
}
.nav__brand { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.nav__name {
  font: 800 1.75rem/1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.9688rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgb(17 17 19 / 0.05); }
.nav__links a[aria-current="true"] { color: var(--ink); background: rgb(17 17 19 / 0.07); }
.nav__end { display: flex; align-items: center; gap: 12px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(17 17 19 / 0.06); }
.lang a {
  padding: 6px 11px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-2); text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(17 17 19 / 0.12); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 104px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.9rem, 1.4rem + 5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 13ch;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .w > span { display: inline-block; }
.hero__lede { margin-top: 28px; max-width: 52ch; font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { display: grid; place-items: center; }
.mini-stack { width: min(100%, 440px); display: flex; flex-direction: column; align-items: center; }
.mini-stack__layer {
  position: relative;
  width: var(--w);
  display: flex; align-items: center; justify-content: center;
  height: 68px;
  margin-top: -14px;
  padding: 0 12px;
  border-radius: 20px;
  background: var(--c);
  color: var(--t);
  font: 600 0.9688rem/1.1 var(--f-display);
  text-align: center;
  box-shadow: 0 18px 30px -18px rgb(17 17 19 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.mini-stack__layer:first-child { margin-top: 0; }

.l6 { --w: 48%; --c: var(--o-100); --t: var(--ink); z-index: 6; }
.l5 { --w: 58%; --c: var(--o-300); --t: var(--ink); z-index: 5; }
.l4 { --w: 68%; --c: var(--o-500); --t: var(--ink); z-index: 4; }
.l3 { --w: 78%; --c: var(--o-600); --t: #fff; z-index: 3; }
.l2 { --w: 89%; --c: var(--o-700); --t: #fff; z-index: 2; }
.l1 { --w: 100%; --c: var(--o-900); --t: #fff; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .mini-stack__layer { animation: float 6s ease-in-out infinite; }
  .mini-stack__layer.l5 { animation-delay: -0.4s; }
  .mini-stack__layer.l4 { animation-delay: -0.8s; }
  .mini-stack__layer.l3 { animation-delay: -1.2s; }
  .mini-stack__layer.l2 { animation-delay: -1.6s; }
  .mini-stack__layer.l1 { animation-delay: -2s; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
}
.hero__scroll svg { width: 16px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .hero__wheel { animation: wheel 1.8s var(--ease) infinite; }
}
@keyframes wheel { from { transform: translateY(0); opacity: 1; } to { transform: translateY(6px); opacity: 0; } }

/* ---------- Stack section ---------- */

.stack { background: var(--surface); border-block: 1px solid var(--line); }
.stack__pin { min-height: 100svh; display: flex; align-items: center; padding: var(--section) 0; }
.stack__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.stack__intro .lead { margin-top: 24px; }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.layer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.layer__slab {
  justify-self: center;
  width: var(--w);
  display: flex; align-items: center; justify-content: center;
  height: 64px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--c);
  color: var(--t);
  font: 600 0.9375rem/1.1 var(--f-display);
  text-align: center;
  box-shadow: 0 16px 28px -20px rgb(17 17 19 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.layer__text p { font-size: 1rem; line-height: 1.45; }
.layer__text .layer__tools { margin-top: 4px; font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section__head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }

.build__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.panel h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; letter-spacing: -0.03em; }
.panel__lede { margin-top: 14px; font-size: 1.1875rem; color: var(--ink-2); max-width: 44ch; }
.panel--accent { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.panel--accent .panel__lede { color: var(--on-dark-2); }

.checks { list-style: none; margin: 32px 0 0; padding: 0; }
.checks li {
  position: relative;
  padding: 16px 0 16px 38px;
  border-top: 1px solid var(--line);
  max-width: 60ch;
}
.panel--accent .checks li { border-top-color: rgb(255 255 255 / 0.1); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23111113' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ---------- Work ---------- */

.work { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.work__pin {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--section) 0;
  overflow: hidden;
}
.work.is-pinned .work__pin {
  height: 100svh;
  padding: calc(var(--nav-h) + clamp(24px, 5vh, 56px)) 0 clamp(24px, 5vh, 56px);
}
.work .lead { color: var(--on-dark-2); }
.work__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(28px, 4.5vh, 52px);
}
.work__head .lead { max-width: 46ch; }
.work__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.work__viewport::-webkit-scrollbar { display: none; }
.work.is-pinned .work__viewport { overflow: visible; scroll-snap-type: none; }
.work__track {
  display: flex; gap: 20px;
  width: max-content;
  padding-inline: max(var(--gutter), (100% - 1280px) / 2 + var(--gutter));
}
.project {
  scroll-snap-align: start;
  width: clamp(290px, min(30vw, 50vh), 400px);
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 14px 28px;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
}
.project__art {
  margin-bottom: 10px;
  border-radius: 18px;
  background: var(--dark-3);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  overflow: hidden;
}
.project__art svg { width: 86%; height: auto; overflow: visible; }
.project__art .ln { fill: none; stroke: rgb(244 244 242 / 0.55); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.project__art .ln .thin { stroke-width: 1; stroke: rgb(244 244 242 / 0.3); }
.project__art .hl, .project__art .box { stroke: var(--orange); stroke-width: 2.2; }
.project__art .box { fill: none; stroke-dasharray: 5 4; }
.project__art .lcd { font: 600 28px var(--f-display); letter-spacing: 0.04em; text-anchor: middle; fill: var(--orange); }
.project > :not(.project__art) { margin-inline: 12px; }
.project__tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 90 31 / 0.14);
  color: var(--o-300);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
}
.project h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.project p { color: var(--on-dark-2); font-size: 1rem; }
.project .project__meta { margin-top: auto; padding-top: 8px; font-size: 0.875rem; color: var(--on-dark); opacity: 0.75; }
.project--next {
  justify-content: flex-end;
  padding: 36px 24px;
  background: var(--orange);
  color: var(--ink);
}
.project--next h3 { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); line-height: 1; letter-spacing: -0.035em; }
.project--next p { color: rgb(17 17 19 / 0.78); font-size: 1.125rem; }
.project--next .btn { align-self: flex-start; margin-top: 20px; }

.work__progress { margin-top: clamp(24px, 4vh, 40px); }
.work__progress::before { content: ""; display: block; height: 2px; background: rgb(255 255 255 / 0.12); border-radius: 2px; }
.work__bar { display: block; height: 2px; margin-top: -2px; background: var(--orange); border-radius: 2px; transform-origin: left; transform: scaleX(0); }
.work:not(.is-pinned) .work__progress { display: none; }

/* ---------- Process ---------- */

.steps {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.steps__line { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line); border-radius: 2px; }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--orange); border-radius: 2px; transform-origin: left; }
.anim .steps__line span { transform: scaleX(0); }
.step { position: relative; padding-top: 48px; }
.step__dot {
  position: absolute; top: 0; left: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgb(255 90 31 / 0.18);
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.anim .step:not(.is-on) .step__dot { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.step h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--ink-2); }

/* ---------- About ---------- */

.about { padding-top: 0; }
.about__statement {
  font: 500 clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem)/1.18 var(--f-display);
  letter-spacing: -0.025em;
  max-width: 30ch;
}
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(56px, 7vw, 96px) 0 0;
}
.fact { padding-top: 20px; border-top: 1px solid var(--ink); }
.fact dt { font-size: 0.875rem; font-weight: 600; color: var(--orange-text); letter-spacing: 0.02em; }
.fact dd { margin: 8px 0 0; font-size: 1.0625rem; }

/* ---------- Contact ---------- */

.contact {
  background: var(--orange); color: var(--ink);
  padding: var(--section) 0;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
}
.contact__grid { display: grid; justify-items: center; gap: clamp(48px, 6vw, 72px); }
.contact__head { display: grid; justify-items: center; text-align: center; }
.contact h2 { font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem); line-height: 0.95; letter-spacing: -0.045em; }
.contact .lead { margin-top: 24px; margin-inline: auto; color: rgb(17 17 19 / 0.82); }
.contact__alt { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.contact__alt p { color: rgb(17 17 19 / 0.82); text-align: left; }
@media (max-width: 760px) { .contact__alt { flex-direction: column; } .contact__alt p { text-align: center; } }
.contact__alt p a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact .form { width: 100%; max-width: 820px; }
.contact :focus-visible { outline-color: var(--ink); }

.form {
  display: grid; gap: 18px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgb(17 17 19 / 0.45);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: var(--orange-text); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background-color: var(--field);
  color: var(--ink);
  font: 1.0625rem/1.4 var(--f-body);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111113' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { background-color: var(--field-hover); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: var(--surface); }
::placeholder { color: #66686e; opacity: 1; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--orange-text); background-color: #fff4ef; }
.field.is-invalid > label, .field.is-invalid .consent span { color: var(--orange-text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--field);
  font-size: 0.9688rem;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.chips label:hover span { background: var(--field-hover); }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400 !important; }
.consent input {
  appearance: none; flex: none;
  width: 22px; height: 22px; margin: 1px 0 0;
  border-radius: 7px;
  background: var(--field);
  box-shadow: inset 0 0 0 1.5px #c9c9c3;
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.consent input:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: none;
}
.consent span { font-size: 0.9688rem; line-height: 1.45; }
.privacy { margin-left: 34px; font-size: 0.9375rem; color: var(--ink-2); }
.privacy summary {
  display: inline-flex; align-items: center; gap: 6px;
  list-style: none; cursor: pointer; font-weight: 600; color: var(--ink);
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after {
  content: ""; width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111113' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms var(--ease);
}
.privacy[open] summary::after { transform: rotate(180deg); }
.privacy p { margin-top: 6px; max-width: 60ch; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__status { font-size: 0.9688rem; color: var(--ink-2); max-width: 40ch; }
.form__status.is-error { color: var(--orange-text); font-weight: 600; }
.form__status.is-ok { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */

.footer { background: var(--orange); color: var(--ink); }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  padding-block: 28px 36px;
  border-top: 1px solid rgb(17 17 19 / 0.18);
  font-size: 0.9375rem;
}
.footer__name { font: 700 1.125rem/1 var(--f-display); margin-right: auto; }

/* ---------- Thank-you page ---------- */

.thanks { padding: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) 0 var(--section); }
.thanks__head { display: grid; justify-items: center; text-align: center; }
.thanks__check {
  display: grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 32px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgb(255 90 31 / 0.16);
}
.thanks__check svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks h1 { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); line-height: 0.95; letter-spacing: -0.045em; }
.thanks__head .lead { margin: 24px auto 0; }
.thanks__next {
  max-width: 1080px;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.nav--simple .nav__end { margin-left: auto; }
.thanks__label { font: 600 0.9375rem/1 var(--f-body); letter-spacing: 0.02em; color: var(--orange-text); margin-bottom: 40px; text-align: center; }
.thanks__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thanks__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(56px, 7vw, 88px); }

/* ---------- Initial states, only when GSAP is driving ---------- */

.anim [data-reveal], .anim [data-hero-fade] { opacity: 0; transform: translateY(32px); }
.anim .hero h1 .w > span { transform: translateY(105%); }
.anim .hero h1:not(.is-split) { opacity: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__end { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .stack__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav__end > .btn { display: none; }
  .nav__name { font-size: 1.375rem; }
  .nav__inner { gap: 12px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero { min-height: 0; padding-bottom: 72px; }
  .hero__scroll { display: none; }
  .hero__visual { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .layer { grid-template-columns: 1fr; gap: 10px; }
  .layer__slab { justify-self: start; width: 100%; }
  .build__grid { grid-template-columns: 1fr; }
  .project { width: min(82vw, 340px); }
  .steps, .thanks__steps { grid-template-columns: 1fr; gap: 28px; }
  .thanks__ctas .btn { flex: 1 1 100%; }
  .steps__line { top: 0; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; }
  .steps__line span { transform-origin: top; }
  .anim .steps__line span { transform: scaleY(0); }
  .step { padding: 0 0 0 48px; }
  .facts { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
  .footer__name { width: 100%; }
}
