/* YNGSTARKIDZ: black, hairline, stipple */

:root {
  --bg: #000;
  --bg-1: #060606;
  --bg-2: #0c0c0c;
  --bg-3: #141414;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-3: rgba(255, 255, 255, 0.32);
  --fg: #f3f3f3;
  --fg-2: #a6a6a6;
  --fg-3: #8c8c8c;
  --fg-4: #3a3a3a;
  --error: #ff8f8f;

  --font-display: "Unbounded", "Arial Narrow", system-ui, sans-serif;
  --font-text: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --frame: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 152px);
  --nav-h: 64px;
  --radius: 4px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--fg); color: #000; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--fg); color: #000; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip:focus { transform: none; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.icon {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- type ---------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  color: var(--fg-2);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  max-width: 34rem;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */

.btn {
  --h: 46px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--light { background: var(--fg); color: #000; }
.btn--light:hover { background: #fff; }

.btn--ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); }

.btn--sm { --h: 36px; padding: 0 14px; font-size: 0.875rem; }

.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- frame + seams ---------- */

.frame {
  position: relative;
  max-width: var(--frame);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}

.section {
  position: relative;
  padding: var(--section) var(--gutter);
  border-top: 1px solid var(--line);
}

.plus {
  position: absolute; z-index: 2;
  width: 11px; height: 11px;
  pointer-events: none;
  background:
    linear-gradient(var(--line-3), var(--line-3)) center / 1px 100% no-repeat,
    linear-gradient(var(--line-3), var(--line-3)) center / 100% 1px no-repeat;
}
.plus--tl { top: -6px; left: -6px; }
.plus--tr { top: -6px; right: -6px; }
.plus--bl { bottom: -6px; left: -6px; }
.plus--br { bottom: -6px; right: -6px; }

/* ---------- nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  height: 100%;
  max-width: var(--frame);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand { display: inline-flex; align-items: center; width: max-content; }
.brand__logo {
  height: 40px; width: auto;
  transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease-out);
}
.brand:hover .brand__logo { transform: translateY(-1px) scale(1.03); filter: drop-shadow(0 4px 14px rgba(255, 255, 255, 0.18)); }
.brand--footer .brand__logo { height: 76px; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 8px 14px;
  font-size: 0.875rem;
  color: var(--fg-2);
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

.nav__actions { display: flex; align-items: center; gap: 8px; justify-self: end; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  place-items: center;
}
.nav__burger, .nav__burger::before {
  display: block; width: 16px; height: 1.5px; background: var(--fg);
  transition: transform 0.35s var(--ease-out);
}
.nav__burger { position: relative; transform: translateY(-3px); }
.nav__burger::before { content: ""; position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__burger { transform: translateY(0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  background: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.menu__links a:last-child { color: var(--fg-2); }
.menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.menu__mail { color: var(--fg-2); font-size: 0.9375rem; }

.social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: 0.875rem; color: var(--fg);
  transition: border-color 0.2s, background-color 0.2s;
}
.social:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); }
.footer__brand .social { margin-top: 20px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: max(700px, 100svh);
  padding: clamp(124px, 17vh, 180px) var(--gutter) clamp(230px, 34vh, 330px);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  overflow: clip;
}

.hero__field {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 980px;
}
.hero__content::before {
  content: ""; position: absolute; z-index: -1;
  inset: -12% -18%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6) 55%, transparent);
  pointer-events: none;
}

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  color: var(--fg-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.chip:hover { color: var(--fg); border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); }
.chip .icon { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out); }
.chip:hover .icon { transform: translateX(3px); }
.chip__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.chip__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--fg);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

.hero__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 5.6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; overflow: clip; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }

.hero__sub {
  margin-top: 24px;
  max-width: 40rem;
  color: var(--fg-2);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  text-wrap: balance;
}

.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* intro choreography (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-intro] { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  .js .hero__title[data-intro] { opacity: 1; transform: none; filter: none; }
  .js .hero__title .line > span { transform: translateY(105%); }
  .js .is-loaded .hero [data-intro] {
    opacity: 1; transform: none; filter: none;
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
  }
  .js .is-loaded .hero__title .line > span { transform: none; transition: transform 1.3s var(--ease-out); }
  .js .is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.08s; }
  .js .is-loaded .hero__sub { transition-delay: 0.35s !important; }
  .js .is-loaded .hero__ctas { transition-delay: 0.5s !important; }
}

/* ---------- development board ---------- */

.board-wrap {
  position: relative;
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
  perspective: 1600px;
  overflow: clip;
}
.board-wrap::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  pointer-events: none;
}

.board {
  --tilt: 0deg; --scale: 1; --lift: 0px;
  position: relative;
  margin: -1px auto 0;
  max-width: 1040px;
  border: 1px solid var(--line-2);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(to bottom, var(--bg-1), #000 85%);
  box-shadow: 0 40px 120px -40px rgba(255, 255, 255, 0.08), 0 30px 60px rgba(0, 0, 0, 0.8);
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt)) scale(var(--scale)) translateY(var(--lift));
  will-change: transform;
}

.board__bar {
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 16px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}
.board__lights { display: flex; gap: 6px; }
.board__lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--fg-4); }
.board__path { color: var(--fg-3); text-transform: none; letter-spacing: 0.02em; }
.board__tag {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid var(--line-2); border-radius: 3px;
  color: var(--fg-2); font-size: 0.6875rem;
}

.board__body { display: grid; grid-template-columns: 200px 1fr; }
.board__side {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--fg-2);
}
.board__label { color: var(--fg-3); font-size: 0.6875rem; margin: 0 0 10px; }
.board__label + ul { margin-bottom: 24px; }
.board__side li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 3px; }
.board__side li.is-on { background: rgba(255, 255, 255, 0.06); color: var(--fg); }

.crew-i {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 4px;
  border: 1px solid var(--line-2); border-radius: 3px;
  font: 500 0.625rem/1 var(--font-mono);
  color: var(--fg-2);
  background: #000;
}

.board__main { padding: 20px; min-width: 0; }
.board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.board__title { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.02em; }
.board__meta { display: flex; align-items: center; gap: 8px; color: var(--fg-2); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.board__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.board__colhead {
  display: flex; justify-content: space-between;
  padding: 0 2px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-3); font-size: 0.6875rem;
}
.board__colhead span { color: var(--fg-2); }

.tcard {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 10px;
}
.tcard--hi { border-color: var(--line-3); background: var(--bg-3); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tcard__top .mono { font-size: 0.6875rem; color: var(--fg); }
.tcard__disc { font-size: 0.6875rem; color: var(--fg-2); padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; }
.tcard__focus { font-size: 0.8125rem; color: var(--fg-2); line-height: 1.4; }
.tcard__bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tcard__bar i { display: block; height: 100%; width: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--w)); transition: transform 1.6s var(--ease-out); }
.js .board:not(.is-in) .tcard__bar i { transform: scaleX(0); }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crew { display: flex; }
.crew .crew-i + .crew-i { margin-left: -4px; }
.tcard__state { font-size: 0.625rem; color: var(--fg-3); text-align: right; }

.tcard.is-new { animation: card-in 0.9s var(--ease-out) both; animation-play-state: paused; }
.board.is-in .tcard.is-new { animation-play-state: running; animation-delay: 0.6s; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(-8px); border-color: var(--line-3); }
  to { opacity: 1; transform: none; }
}

.board__note {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 12px; border: 1px dashed var(--line-2); border-radius: 6px;
  color: var(--fg-3); font-size: 0.6875rem;
}
.board__ticker { color: var(--fg); font-variant-numeric: tabular-nums; }

/* ---------- statement ---------- */

.statement { padding-block: clamp(96px, 14vw, 180px); }
.statement__text {
  max-width: 1000px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.3vw, 2.85rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.statement__text .w { color: var(--fg-4); transition: color 0.5s var(--ease-out); }
.statement__text .w.is-lit { color: var(--fg); }

/* ---------- method ---------- */

.method { padding-bottom: 0; }
.method__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.method__head .lede { justify-self: end; }

.method__body {
  display: grid; grid-template-columns: 1.1fr 1fr;
  margin-inline: calc(var(--gutter) * -1);
  border-top: 1px solid var(--line);
}
.method__stage { border-right: 1px solid var(--line); }
.method__sticky {
  position: sticky; top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  max-height: 900px;
  display: flex; flex-direction: column;
}
.method__canvas { flex: 1; width: 100%; min-height: 0; }
.method__readout {
  display: flex; align-items: center; gap: 16px;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--fg-2);
}
.method__readout [data-step-label] { min-width: 9ch; }
.method__track { position: relative; flex: 1; height: 1px; background: var(--line-2); }
.method__track i { position: absolute; inset: 0; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.method__steps { counter-reset: s; }
.step {
  min-height: min(92svh, 820px);
  padding: clamp(48px, 8vh, 96px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.6s var(--ease-out);
}
.step:last-child { border-bottom: 0; }
.js .step:not(.is-active) { opacity: 0.32; }
.step__num { color: var(--fg-3); }
.step .h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.035em; }
.step__text { color: var(--fg-2); max-width: 30rem; font-size: 1.0625rem; }
.step__list { margin-top: 8px; border-top: 1px solid var(--line); max-width: 30rem; }
.step__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.step__list li::before {
  content: ""; flex: none; width: 7px; height: 7px;
  background: var(--fg);
  width: 9px; height: 9px;
  clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 79% 91%, 50% 70%, 21% 91%, 31% 57%, 2% 35%, 38% 35%);
}

/* ---------- studio ---------- */

.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.studio__copy { display: flex; flex-direction: column; gap: 20px; }

.tabs { margin-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.tab {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  width: 100%;
  padding: 18px 4px;
  border: 0; border-bottom: 1px solid var(--line);
  background: none; cursor: pointer; text-align: left;
  color: var(--fg-3);
  transition: color 0.3s var(--ease-out);
}
.tab__code { color: inherit; }
.tab__name { font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.025em; }
.tab__code, .tab__name { transition: transform 0.45s var(--ease-out); }
.tab__arrow { opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.tab:hover { color: var(--fg-2); }
.tab[aria-selected="true"] { color: var(--fg); }
.tab[aria-selected="true"] .tab__code, .tab[aria-selected="true"] .tab__name { transform: translateX(10px); }
.tab[aria-selected="true"] .tab__arrow { opacity: 1; transform: none; }

.panels { min-height: 13.5rem; }
.panel { padding-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.panel[hidden] { display: none; }
.panel p { color: var(--fg-2); max-width: 32rem; }
.panel:not([hidden]) { animation: panel-in 0.6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li {
  padding: 6px 10px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: 0.8125rem; color: var(--fg-2);
}

.studio__art {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, var(--bg-2), #000 70%);
}
.studio__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between;
  padding: 14px 16px;
  color: var(--fg-3);
  font-size: 0.6875rem;
}

/* ---------- talent rows ---------- */

.talent__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.talent__head .lede { justify-self: end; }

.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.3fr) auto;
  align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(24px, 3.4vw, 40px) 8px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease-out);
}
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); }
.row__icon svg {
  width: 32px; height: 32px;
  fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  transition: transform 0.55s var(--ease-out);
}
.row:hover .row__title { transform: translateX(8px); }
.row__desc { color: var(--fg-2); font-size: 0.9375rem; max-width: 30rem; }
.row__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.row:hover .row__cta { background: var(--fg); color: #000; border-color: var(--fg); }

/* ---------- paths ---------- */

.paths__title { margin-bottom: clamp(40px, 5vw, 64px); }
.paths__grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--line);
}
.path { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.path--talent { border-right: 1px solid var(--line); background: var(--bg-1); }
.path__lede { color: var(--fg-2); max-width: 30rem; }

.form { margin-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 0.8125rem; color: var(--fg-2); }
.field .opt { color: var(--fg-3); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #000;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #777; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--fg);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { min-height: 0; font-size: 0.8125rem; color: var(--error); }
.field__error:empty { display: none; }

.select { position: relative; }
.select select { padding-right: 40px; cursor: pointer; }
.select select:invalid { color: #777; }
.select option { color: var(--fg); background: #0c0c0c; }
.select .icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--fg-2); }

.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form__status { font-size: 0.875rem; color: var(--fg-2); max-width: 26rem; }
.form__status.is-ok { color: var(--fg); }
.form__status.is-error { color: var(--error); }

.offer { margin-top: 18px; border-top: 1px solid var(--line); }
.offer li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offer__title { font-weight: 500; }
.offer__text { color: var(--fg-2); font-size: 0.9375rem; }

.path__contact { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mail {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line-3);
  padding-bottom: 4px;
  transition: border-color 0.2s;
  overflow-wrap: anywhere;
}
.mail:hover { border-color: var(--fg); }

/* ---------- close ---------- */

.close { text-align: center; padding-top: clamp(40px, 6vw, 72px); }
.close__art { position: relative; height: clamp(240px, 40vw, 500px); margin-inline: calc(var(--gutter) * -1); }
.close__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.close__copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 12px; }
.close__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.close .lede { margin-inline: auto; }
.close .btn { margin-top: 8px; }

/* ---------- footer ---------- */

.footer { position: relative; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) var(--gutter) 28px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--fg-2); max-width: 22rem; font-size: 0.9375rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__label { color: var(--fg-3); font-size: 0.8125rem; margin-bottom: 4px; }
.footer__col a { color: var(--fg-2); font-size: 0.9375rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--fg); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--fg-3); font-size: 0.8125rem;
}

/* ---------- scroll reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(18px); filter: blur(6px);
    transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out), filter 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

  .js .row { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .row.is-in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .board__body { grid-template-columns: 1fr; }
  .board__side { display: none; }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__art { max-width: 560px; width: 100%; margin-inline: auto; order: -1; }
  .studio__copy { order: 0; }
  .row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .row__desc { grid-column: 2 / 4; grid-row: 2; }
  .row__cta { grid-column: 3; grid-row: 1; }
}

@media (max-width: 860px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .brand__logo { height: 36px; }
  .brand--footer .brand__logo { height: 64px; }

  .method__head, .talent__head { grid-template-columns: 1fr; gap: 16px; }
  .method__head .lede, .talent__head .lede { justify-self: start; }

  .method__body { grid-template-columns: 1fr; }
  .method__stage { border-right: 0; position: sticky; top: var(--nav-h); z-index: 1; background: #000; border-bottom: 1px solid var(--line); }
  .method__sticky { position: relative; top: 0; height: 42svh; }
  .method__readout { padding-block: 12px; }
  .step { min-height: 72svh; justify-content: flex-start; padding-top: 40px; }

  .paths__grid { grid-template-columns: 1fr; }
  .path--talent { border-right: 0; border-bottom: 1px solid var(--line); }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .frame { border-inline: 0; }
  .plus { display: none; }
  .hero { padding-top: 116px; min-height: max(640px, 100svh); padding-bottom: clamp(220px, 34svh, 300px); }
  .hero__ctas { width: 100%; flex-direction: column; align-items: stretch; max-width: 340px; }
  .board { border-radius: 0 0 8px 8px; }
  .board__main { padding: 14px; }
  .board__cols { grid-template-columns: 1fr; }
  .board__col:nth-child(1), .board__note { display: none; }
  .board__col .tcard:nth-of-type(2) { display: none; }
  .board__path { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .row { grid-template-columns: 36px minmax(0, 1fr); gap: 14px 16px; padding-inline: 0; }
  .row__icon svg { width: 28px; height: 28px; }
  .row__desc { grid-column: 2; }
  .row__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
