/* HUT WEB DESIGN — INTERACTIVE PORTFOLIO STUDY
   Original concept, dependency-free, responsive and accessible. */

:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --fg: #f3f0e8;
  --muted: #aaa79f;
  --line: rgba(243, 240, 232, 0.2);
  --line-soft: rgba(243, 240, 232, 0.1);
  --acid: #d9ff43;
  --acid-ink: #0b0b0b;
  /* Acid is only legible on dark ground. --acid-strong is the accent for
     surfaces that follow the theme (light in paper mode); --acid-on-inverse
     is the accent for sections painted with --inverse-bg, which flips the
     other way. Both stay in the lime family. */
  --acid-strong: var(--acid);
  --acid-strong-ink: var(--acid-ink);
  --acid-on-inverse: #4a5704;
  --inverse-bg: #f3f0e8;
  --inverse-fg: #11110f;
  --header-h: 82px;
  --gutter: clamp(20px, 3.4vw, 64px);
  --radius: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

html[data-theme="paper"] {
  --bg: #e9e5db;
  --bg-soft: #ded9ce;
  --surface: #f3efe6;
  --surface-2: #d7d2c7;
  --fg: #11110f;
  --muted: #6d6a63;
  --line: rgba(17, 17, 15, 0.22);
  --line-soft: rgba(17, 17, 15, 0.11);
  --inverse-bg: #11110f;
  --inverse-fg: #f3f0e8;
  --acid-strong: #4a5704;
  --acid-strong-ink: #f3f0e8;
  --acid-on-inverse: var(--acid);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.55s var(--ease-out), color 0.55s var(--ease-out);
}

body.is-locked { overflow: hidden; }

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

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

.skip-link {
  position: fixed;
  z-index: 10000;
  left: 16px;
  top: 16px;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--acid-ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100%, 1640px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.54;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 30;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: grain-shift 0.22s steps(2) infinite;
  mix-blend-mode: overlay;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2%, -3%); }
  50% { transform: translate(-3%, 2%); }
  75% { transform: translate(3%, 4%); }
  100% { transform: translate(-2%, -1%); }
}

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

.scroll-progress {
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid-strong);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px var(--gutter) 24px;
  /* the same ground as the header and the page beneath it, so the loader does
     not read as a coloured panel being pulled away — it simply dissolves */
  background: var(--bg);
  color: var(--fg);
  opacity: 1;
  transition: opacity 0.85s var(--ease-out), visibility 0s linear 0.85s;
}
.preloader.is-complete {
  opacity: 0;
  visibility: hidden;
}
.preloader__top,
.preloader__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preloader__center {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
}
.preloader__icons {
  position: relative;
  width: min(11vw, 104px);
  aspect-ratio: 1;
}
.preloader__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  color: currentColor;
  opacity: 0;
  animation: preloader-flip 1.2s linear infinite;
}
.preloader__icon:nth-child(2) { animation-delay: 0.3s; }
.preloader__icon:nth-child(3) { animation-delay: 0.6s; }
.preloader__icon:nth-child(4) { animation-delay: 0.9s; }
@keyframes preloader-flip {
  0% { opacity: 0; }
  12.5% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 640px) {
  .preloader__icons { width: 18vw; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__icon { animation: none; }
  .preloader__icon:first-child { opacity: 1; }
}
.preloader__bottom { align-items: flex-end; }
.preloader__bar {
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}
.preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
}
#preloader-count {
  min-width: 3ch;
  font-size: 40px;
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.06em;
}

/* Cursor */
.cursor {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.2s ease;
  mix-blend-mode: difference;
}
.cursor.is-visible { opacity: 1; }
.cursor__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s ease;
}
.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0b0b0b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out);
}
.cursor.is-view .cursor__dot { width: 64px; height: 64px; background: #d9ff43; }
.cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-active .cursor__dot { transform: translate(-50%, -50%) scale(0.65); }

/* Header */
.site-header {
  position: fixed;
  z-index: 110;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease-out), background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  height: 68px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-color: var(--line-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 0.82;
}
.brand__mark {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.brand__descriptor {
  padding-left: 10px;
  border-left: 1px solid currentColor;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.header-clocks {
  justify-self: center;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-clocks b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle,
.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.theme-toggle {
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.theme-toggle__sun { font-size: 16px; }
.menu-toggle {
  gap: 14px;
  min-width: 95px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-toggle i,
.menu-toggle i::before {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.menu-toggle i { position: relative; }
.menu-toggle i::before { content: ""; position: absolute; top: 5px; left: 0; }
.menu-toggle[aria-expanded="true"] i { transform: rotate(45deg) translateY(2px); }
.menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg) translateX(5px); }

/* Menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}
.menu-overlay.is-open { visibility: visible; pointer-events: auto; }
.menu-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.menu-overlay.is-open .menu-overlay__backdrop { opacity: 1; }
.menu-overlay__inner {
  position: absolute;
  right: 0;
  top: 0;
  width: min(100%, 980px);
  height: 100%;
  padding: calc(var(--header-h) + 38px) var(--gutter) 32px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--acid);
  color: var(--acid-ink);
  transform: translateX(101%);
  transition: transform 0.72s var(--ease-out);
  overflow: auto;
}
.menu-overlay.is-open .menu-overlay__inner { transform: translateX(0); }
.menu-overlay__meta,
.menu-overlay__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-nav {
  display: grid;
  align-content: center;
  margin-block: 32px;
}
.menu-nav a {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: clamp(10px, 1.6vh, 20px) 0;
  border-bottom: 1px solid rgba(11, 11, 11, 0.26);
  overflow: hidden;
}
.menu-nav a:first-child { border-top: 1px solid rgba(11, 11, 11, 0.26); }
.menu-nav sup { font-size: 10px; }
.menu-nav span {
  font-size: clamp(2.3rem, 6.2vw, 6.2rem);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: -0.07em;
  transition: transform 0.45s var(--ease-out);
}
.menu-nav em {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.45rem);
  font-weight: 400;
}
.menu-nav a:hover span { transform: translateX(18px); }
.menu-overlay__footer { align-items: flex-end; }
.menu-overlay__footer a { text-decoration: underline; text-underline-offset: 4px; }

/* Shared typography */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid-strong);
}
.section-label span { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-block: 9px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.text-link i { font-size: 18px; font-style: normal; transition: transform 0.35s var(--ease-out); }
.text-link:hover i { transform: translate(4px, -4px); }

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: calc(var(--header-h) + 42px) var(--gutter) 34px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: var(--header-h) var(--gutter) 26px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.hero__rail {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 48px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__rail--left { left: 11px; transform: translateY(-50%) rotate(180deg); }
.hero__rail--right { right: 11px; transform: translateY(-50%); }
.hero__topline {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 18px 0;
}
.hero__topline p {
  width: min(420px, 44vw);
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.availability-pill__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid-strong);
}
.availability-pill__pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--acid-strong);
  border-radius: inherit;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { opacity: 0.8; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.7); } }

.hero__headline {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  margin-top: 2vh;
}
.hero-line {
  display: flex;
  align-items: baseline;
  overflow: hidden;
  padding-inline: 1.2vw;
}
.hero-line > span:first-child {
  display: block;
  font-size: clamp(4.15rem, 11.4vw, 13.2rem);
  line-height: 0.79;
  font-weight: 900;
  letter-spacing: -0.085em;
  white-space: nowrap;
  /* the lines are parked above their own masked row and fall into place once the
     loader dissolves, one after the other */
  transform: translateY(-118%);
  opacity: 0;
}
body.is-ready .hero-line > span:first-child {
  animation: hero-line-drop 1.35s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
body.is-ready .hero-line--one > span:first-child { animation-delay: 0.1s; }
body.is-ready .hero-line--two > span:first-child { animation-delay: 0.28s; }
body.is-ready .hero-line--three > span:first-child { animation-delay: 0.46s; }
@keyframes hero-line-drop {
  0% { transform: translateY(-118%); opacity: 0; }
  22% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* everything else above the fold dissolves in behind the falling headline —
   no travel, just opacity, so the type is the only thing that moves */
/* animation, not transition: the header already transitions its own background
   and height, and a shorthand here would wipe that */
.site-header,
.hero__rail,
.hero-orbit,
.scroll-cue,
.scroll-progress { opacity: 0; }
body.is-ready .site-header,
body.is-ready .hero__rail,
body.is-ready .hero-orbit,
body.is-ready .scroll-cue,
body.is-ready .scroll-progress {
  animation: dissolve-in 1.2s var(--ease-out) 0.75s forwards;
}
@keyframes dissolve-in { to { opacity: 1; } }
.hero .reveal { transform: none; transition-duration: 1.2s; transition-delay: 0.9s; }
.hero-line--two { justify-content: flex-end; padding-right: 5vw; }
.hero-line--three { justify-content: space-between; align-items: flex-end; }
.hero-line em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.08em;
}
.hero-year {
  align-self: center;
  margin: 0 2vw 1vw 24px;
  color: var(--muted);
  font-size: clamp(0.8rem, 1.1vw, 1.1rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  transform: none !important;
}
.hero__bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(240px, 510px) 1fr;
  align-items: end;
  gap: 40px;
  padding: 0 18px 15px;
}
.hero__statement {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.15vw, 1.14rem);
}
.hero__statement span { color: var(--fg); }
.hero__cta-group {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
}
.hero-orbit {
  position: absolute;
  z-index: 1;
  right: 5vw;
  top: 22%;
  width: clamp(130px, 11vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.hero-orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: orbit-spin 16s linear infinite;
}
.hero-orbit__ring span {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-align: center;
}
.hero-orbit__ring::before,
.hero-orbit__ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid-strong);
  transform: translateX(-50%);
}
.hero-orbit__ring::after { top: auto; bottom: -5px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero-orbit__core {
  position: absolute;
  inset: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: var(--acid-strong);
  color: var(--acid-strong-ink);
  font-size: clamp(0.65rem, 0.8vw, 0.85rem);
  font-weight: 700;
}
.hero-orbit__core i { font-style: normal; }

/* the headline grows to fill the window and used to swallow the orbit, so it is
   parked in the top-right gutter between the availability pill and line one */
@media (min-width: 901px) and (max-height: 860px) {
  .hero-orbit { top: 21%; width: clamp(132px, 11vw, 158px); }
  /* the disc shrinks with the ring, so widen the core or "LOS ANGELES" wraps */
  .hero-orbit__core { inset: 16%; }
}
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px;
  height: 26px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--fg);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* Marquee */
.signal-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.signal-strip__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 17px 0;
  animation: marquee 26s linear infinite;
}
.signal-strip__track span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.signal-strip__track i { color: var(--acid-strong); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Work */
.work { position: relative; z-index: 3; background: var(--bg); }
.section-intro {
  padding-top: clamp(120px, 15vw, 240px);
  padding-bottom: clamp(90px, 10vw, 170px);
  display: grid;
  grid-template-columns: 0.52fr 1.5fr 0.65fr;
  align-items: end;
  gap: 34px;
}
.section-intro h2,
.services__intro h2,
.continuity__header h2,
.about__copy h2,
.process__intro h2,
.stack__header h2,
.faq__intro h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 9.3rem);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: -0.075em;
}
.section-intro h2 em,
.services__intro h2 em,
.continuity__header h2 em,
.about__copy h2 em,
.process__intro h2 em,
.stack__header h2 em,
.faq__intro h2 em {
  font-family: var(--serif);
  font-weight: 400;
}
.section-intro p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 14px;
}
.work-scroll { position: relative; }
.work-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: var(--bg);
}
.work-chrome {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  right: var(--gutter);
  top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#project-counter { color: var(--fg); font-variant-numeric: tabular-nums; }
.work-track {
  height: 100%;
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  padding: 82px 7vw 34px;
  will-change: transform;
}
.project-card {
  position: relative;
  flex: 0 0 min(83vw, 1370px);
  height: min(74vh, 770px);
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.32fr);
  gap: clamp(24px, 3.4vw, 70px);
  padding: clamp(28px, 3.4vw, 64px);
  overflow: hidden;
  background: var(--project-bg);
  color: var(--project-ink);
  border-radius: var(--radius);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
}
.project-card__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.project-card__eyebrow {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid currentColor;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}
.project-card__eyebrow span:last-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}
.project-card h3 {
  margin: auto 0 22px;
  font-size: clamp(4rem, 6.7vw, 8.7rem);
  line-height: 0.77;
  font-weight: 800;
  letter-spacing: -0.085em;
}
.project-card__copy > p {
  max-width: 470px;
  margin: 0 0 24px;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  opacity: 0.8;
}
.project-card__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
}
.round-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 0;
  border-radius: 980px;
  padding: 0.85em 1.6em;
  background: var(--project-ink);
  color: var(--project-bg);
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.round-button span { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
.round-button i {
  font-size: 15px;
  font-style: normal;
  line-height: 1;
  opacity: 0.85;
  transition: transform 0.25s ease;
}
.round-button:hover { filter: brightness(1.18); }
.round-button:hover i { transform: translateX(2px); }
.project-card__visual {
  position: relative;
  min-width: 0;
  height: 100%;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.browser-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}
.browser-frame__bar {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: currentColor;
}
.browser-frame__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
.browser-frame__bar span {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Project screenshot inside the browser frame — four curated 4:3 stills
   auto-crossfading like a slideshow, instead of a single tall capture. */
.browser-frame__viewport {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 34px;
  width: 100%;
  height: calc(100% - 34px);
  overflow: hidden;
}
/* Each slide fills the frame and holds visible, then crossfades into the
   next. All four slides share one @keyframes timeline; animation-delay is
   what staggers them into a loop. With HOLD=2s and FADE=0.8s per slide and
   four slides, the full cycle is 4 * (HOLD + FADE) = 11.2s, and each slide's
   delay is its index * (HOLD + FADE) — 0s / 2.8s / 5.6s / 8.4s — so exactly
   one slide is ever fully visible (or crossfading into the next) at a time.
   --card-delay (set per card below) offsets each card's whole cycle so the
   five cards don't crossfade in lockstep. */
.browser-frame__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hut-slide-fade 11.2s infinite;
  animation-play-state: paused;
}
.browser-frame__slide:nth-child(1) { animation-delay: calc(var(--card-delay, 0s) + 0s); z-index: 2; }
.browser-frame__slide:nth-child(2) { animation-delay: calc(var(--card-delay, 0s) + 2.8s); }
.browser-frame__slide:nth-child(3) { animation-delay: calc(var(--card-delay, 0s) + 5.6s); }
.browser-frame__slide:nth-child(4) { animation-delay: calc(var(--card-delay, 0s) + 8.4s); }
/* Stagger each card's cycle so all five aren't crossfading in unison. These
   offsets are NEGATIVE on purpose: a negative animation-delay starts the
   animation already part-way through its cycle instead of waiting. A positive
   offset would leave a card blank for up to its full delay after scrolling
   into view, because playback is paused until .is-inview is set. */
.project-card:nth-of-type(1) { --card-delay: 0s; }
.project-card:nth-of-type(2) { --card-delay: -2.24s; }
.project-card:nth-of-type(3) { --card-delay: -4.48s; }
.project-card:nth-of-type(4) { --card-delay: -6.72s; }
.project-card:nth-of-type(5) { --card-delay: -8.96s; }
/* 7.142857% = 0.8s fade-in; 25% = fade-in + 2s hold; 32.142857% = + 0.8s
   fade-out. 0% and 100% both sit at opacity 0, so the shared keyframes loop
   without a flash: as one slide's fade-out finishes at delay+3.6s, the next
   slide's fade-in is completing at the same real-time instant. */
@keyframes hut-slide-fade {
  0% { opacity: 0; }
  7.142857% { opacity: 1; }
  25% { opacity: 1; }
  32.142857% { opacity: 0; }
  100% { opacity: 0; }
}
/* IntersectionObserver in app.js toggles this class while a card sits in
   the viewport, running the animation only when it can actually be seen. */
.project-card.is-inview .browser-frame__slide {
  animation-play-state: running;
}
@media (prefers-reduced-motion: reduce) {
  .browser-frame__slide {
    animation: none !important;
    opacity: 0;
  }
  .browser-frame__slide:first-child {
    opacity: 1;
  }
}
.work-endcap {
  flex: 0 0 min(62vw, 980px);
  height: min(74vh, 770px);
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: end;
  padding: clamp(30px, 4vw, 72px);
  border: 1px solid var(--line);
  background: var(--surface);
}
.work-endcap > span { grid-column: 1 / -1; align-self: start; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.work-endcap h3 { margin: 0; font-size: clamp(4rem, 7.5vw, 9rem); line-height: .82; letter-spacing: -.08em; }
.giant-arrow {
  width: 140px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid-strong);
  color: var(--acid-strong-ink);
  font-size: 60px;
}

/* Selected work: vertical sticky showcase. The cards follow the same rounded,
   progressively pinned structure as the Tiger House Films services deck, but
   the moving surfaces are Hut's full-height website captures. */
.work-showcase {
  margin-top: -40px;
  padding: clamp(110px, 12vw, 190px) 0 clamp(110px, 12vw, 190px);
  border-radius: 40px 40px 0 0;
}
.work-showcase__intro {
  position: relative;
  z-index: 0;
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 32px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 34px;
  padding-bottom: 0;
}
/* follow.art-style ghost wordmark: an oversized, low-contrast headline that the
   capture cards scroll up over, so the type is progressively eaten by the work */
.work-showcase__intro h2 {
  grid-column: 1 / -1;
  margin: 0 0 -0.04em -0.055em;
  font-size: clamp(4.5rem, 13.5vw, 15rem);
  line-height: 0.82;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.work-ghost {
  display: block;
  color: var(--fg);
}
.work-showcase__intro p {
  grid-row: 1;
  grid-column: 2 / 4;
  justify-self: end;
  width: min(100%, 460px);
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
}
/* narrower than the page container on purpose: the cards carry full-page website
   captures, and rendering them at ~1100px instead of the full 1640px keeps the
   screenshots crisp instead of upscaled and soft */
.work-stack {
  --work-stack-top: calc(var(--header-h) + 8px);
  --work-stack-lip: clamp(46px, 5.5vh, 64px);
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 32px);
  /* just kiss the ghost wordmark — a few px of overlap keeps it readable */
  margin-top: -10px;
}
.work-card {
  position: sticky;
  top: calc(var(--work-stack-top) + var(--i) * var(--work-stack-lip));
  /* above-the-fold capture at its native 16:10 shape, capped for short screens */
  aspect-ratio: 16 / 10;
  max-height: min(80vh, 780px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  color: #f3f0e8;
  border: 1px solid rgba(243, 240, 232, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
}
.work-card__link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 60px) clamp(24px, 3.5vw, 52px);
}
.work-card__media,
.work-card__scrim {
  position: absolute;
  inset: 0;
}
.work-card__media {
  background-color: var(--surface);
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: cover;
}
/* the capture is the point: keep the middle of the card completely clear and
   confine the darkening to the two bands where the label type actually sits */
.work-card__scrim {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.7) 11%, rgba(5, 5, 5, 0.22) 22%, rgba(5, 5, 5, 0) 32%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.62) 11%, rgba(5, 5, 5, 0.18) 22%, rgba(5, 5, 5, 0) 32%);
}
.work-card__top,
.work-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.work-card__top { align-items: center; }
.work-card__top,
.work-card__foot { text-shadow: 0 2px 28px rgba(5, 5, 5, 0.95), 0 1px 4px rgba(5, 5, 5, 0.75); }
.work-card__top strong {
  max-width: calc(100% - 90px);
  font-size: clamp(2.2rem, 4.25vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.work-card__top i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(46px, 4.25vw, 70px);
  aspect-ratio: 1;
  border: 1px solid rgba(243, 240, 232, 0.78);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.32);
  backdrop-filter: blur(6px);
  font-size: clamp(18px, 1.6vw, 26px);
  font-style: normal;
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease;
}
.work-card__foot { align-items: end; }
.work-card__foot span,
.work-card__foot b {
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.work-card__foot span { opacity: 0.9; }
.work-card__foot b {
  padding: 8px 12px;
  border: 1px solid rgba(243, 240, 232, 0.55);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
  backdrop-filter: blur(6px);
  text-transform: none;
}
.work-card__link:hover .work-card__top i,
.work-card__link:focus-visible .work-card__top i {
  transform: rotate(45deg);
  background: rgba(243, 240, 232, 0.14);
}

@media (max-width: 900px) {
  .work-showcase__intro { grid-template-columns: 1fr; }
  .work-showcase__intro h2,
  .work-showcase__intro p { grid-column: auto; grid-row: auto; }
  .work-showcase__intro p { justify-self: start; max-width: 640px; }
}

@media (max-width: 640px) {
  .work-showcase {
    margin-top: -30px;
    padding: 76px 0 90px;
    border-radius: 30px 30px 0 0;
  }
  .work-showcase__intro { gap: 18px; padding-bottom: 20px; padding-inline: var(--gutter); }
  .work-showcase__intro h2 { font-size: clamp(3.4rem, 19vw, 7rem); }
  .work-stack { --work-stack-top: calc(var(--header-h) + 4px); --work-stack-lip: 34px; padding-inline: calc(var(--gutter) / 2); margin-top: -8px; }
  .work-card { aspect-ratio: auto; min-height: 300px; height: min(52vh, 380px); max-height: none; border-radius: 20px; }
  .work-card__link { padding: 24px 20px; }
  .work-card__top strong { font-size: clamp(1.45rem, 7.5vw, 2.2rem); }
  .work-card__top i { width: 44px; }
  .work-card__foot b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .work-card { position: relative; top: auto; margin-bottom: 16px; }
  .work-card__media { will-change: auto; }
}

/* Continuity */
.continuity {
  position: relative;
  z-index: 3;
  padding: clamp(120px, 14vw, 230px) 0;
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}
.continuity .section-label::before { background: var(--acid-on-inverse); }
.continuity__header {
  display: grid;
  grid-template-columns: .55fr 1.6fr;
  gap: 34px;
  align-items: start;
  margin-bottom: clamp(70px, 9vw, 140px);
}
.continuity__lede {
  width: min(100%, 620px);
  margin: calc(clamp(70px, 9vw, 140px) * -.62) 0 clamp(70px, 8vw, 120px) auto;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.55;
  opacity: .66;
}
.artifact-deck {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
  align-items: end;
  perspective: 1600px;
}
.artifact-doc {
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(17,17,15,.28);
  background: #f3f0e8;
  color: #11110f;
  box-shadow: 0 28px 60px rgba(0,0,0,.18);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.artifact-doc:nth-child(1) { transform: rotate(-2.2deg) translateY(20px); }
.artifact-doc:nth-child(2) { transform: rotate(1deg) translateY(-12px); }
.artifact-doc:nth-child(3) { transform: rotate(-1deg) translateY(8px); }
.artifact-doc:nth-child(4) { transform: rotate(2.2deg) translateY(-18px); }
@media (hover:hover) {
  .artifact-doc:hover { transform: rotate(0) translateY(-28px); box-shadow: 0 42px 90px rgba(0,0,0,.3); }
}
.artifact-doc > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17,17,15,.2);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.artifact-doc > header b { color: #5b45e8; font-weight: 500; }
.artifact-doc__body { padding: clamp(18px, 2vw, 30px); }
.artifact-doc__body small,
.artifact-doc__body footer { font-size: 7px; letter-spacing: .11em; text-transform: uppercase; }
.artifact-doc h3 { margin: 56px 0 0; font-size: clamp(1.7rem, 2.4vw, 2.9rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.doc-accent { display:block; height:6px; margin:20px 0 24px; background:#ff695b; }
.artifact-doc dl { margin:0; }
.artifact-doc dl > div { display:grid; grid-template-columns:72px 1fr; gap:10px; padding:10px 0; border-top:1px solid rgba(17,17,15,.16); }
.artifact-doc dt { font-size:7px; letter-spacing:.08em; text-transform:uppercase; }
.artifact-doc dd { margin:0; font-size:11px; }
.artifact-doc footer { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:36px; }
.artifact-doc--brief footer b { display:grid; place-items:center; width:44px; aspect-ratio:1; border:1px solid #5b45e8; border-radius:50%; color:#5b45e8; }
.spec-swatches { display:flex; align-items:center; gap:7px; }
.spec-swatches i { width:23px; aspect-ratio:1; border-radius:50%; background:#5b45e8; }
.spec-swatches i:nth-child(2){background:#ff695b}.spec-swatches i:nth-child(3){background:#d9ff43}
.spec-swatches span { margin-left:auto; font-size:7px; text-transform:uppercase; }
.spec-type { display:flex; align-items:end; gap:16px; margin:28px 0 22px; }
.spec-type b { font-size:72px; line-height:.7; letter-spacing:-.09em; }
.spec-type span { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:7px; line-height:1.6; }
.spec-frame { position:relative; height:250px; overflow:hidden; border:1px solid rgba(17,17,15,.22); background:linear-gradient(90deg,transparent 49.7%,rgba(17,17,15,.08) 50%,transparent 50.3%); }
.spec-frame > * { position:absolute; display:block; }
.spec-frame > i { left:8%; top:10%; width:84%; height:3px; background:rgba(17,17,15,.25); }
.spec-frame > b { left:8%; top:28%; width:54%; height:36px; background:#11110f; }
.spec-frame > span { left:8%; top:50%; width:35%; height:6px; background:rgba(17,17,15,.4); box-shadow:0 13px rgba(17,17,15,.4); }
.spec-frame > em { left:8%; bottom:12%; width:27%; height:30px; border-radius:999px; background:#ff695b; }
.spec-frame > strong { right:7%; bottom:7%; width:38%; height:48%; border-radius:50% 50% 2px 2px; background:#5b45e8; }
.artifact-doc footer span { white-space:nowrap; }
.api-route { display:grid; grid-template-columns:auto 1fr auto; gap:9px; align-items:center; padding:10px; border:1px solid rgba(17,17,15,.18); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:8px; }
.api-route b { padding:4px 6px; background:#5b45e8; color:white; font-size:7px; }.api-route span{color:#167a49}
.artifact-doc--api pre { margin:16px 0; padding:18px; overflow:hidden; background:#11110f; color:#f3f0e8; font-size:10px; line-height:1.65; }
.api-fields { display:grid; grid-template-columns:1.3fr 1fr .8fr; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:7px; }
.api-fields > * { padding:8px 3px; border-bottom:1px solid rgba(17,17,15,.13); font-style:normal; }
.api-fields > span { opacity:.48; text-transform:uppercase; }.api-fields em{color:#167a49}
.artifact-doc--owner { background:#5b45e8; color:white; }
.artifact-doc--owner > header { border-color:rgba(255,255,255,.35); }.artifact-doc--owner > header b{color:var(--acid)}
.owner-stamp { position:relative; display:grid; place-items:center; width:78px; aspect-ratio:1; margin-left:auto; border:1px solid var(--acid); border-radius:50%; }
.owner-stamp::before,.owner-stamp::after{content:"";position:absolute;width:58px;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--acid) 55%,transparent);border-radius:50%}.owner-stamp::after{width:90px}
.owner-stamp span { font-size:7px; letter-spacing:.12em; text-transform:uppercase; color:var(--acid); }
.artifact-doc--owner h3 { margin-top:36px; font-size:clamp(2rem,3vw,3.6rem); }
.artifact-doc--owner ul { margin:38px 0 0; padding:0; list-style:none; }
.artifact-doc--owner li { display:flex; justify-content:space-between; gap:10px; padding:12px 0; border-top:1px solid rgba(255,255,255,.3); font-size:7px; letter-spacing:.08em; text-transform:uppercase; }
.artifact-doc--owner li b { color:var(--acid); font-weight:500; }
.artifact-flow { display:flex; align-items:center; gap:14px; margin-top:clamp(70px,8vw,120px); font-size:8px; letter-spacing:.12em; text-transform:uppercase; opacity:.55; }
.artifact-flow i { flex:1; height:1px; background:linear-gradient(90deg,#ff695b,#5b45e8); }

/* Services */
.services { position: relative; z-index: 3; padding: clamp(120px, 14vw, 230px) 0; background: var(--bg); }
.services__intro {
  display: grid;
  grid-template-columns: .52fr 1.45fr .62fr;
  align-items: end;
  gap: 34px;
  margin-bottom: clamp(70px, 8vw, 130px);
}
.services__intro p { margin: 0 0 .5rem; color: var(--muted); font-size: 14px; }
.services-list { border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); }
.service-item > button {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 70px minmax(220px, .9fr) 1fr 32px;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.service-item__number { color: var(--muted); font-size: 10px; }
.service-item__title { font-size: clamp(2rem, 3.5vw, 4.4rem); line-height: 1; font-weight: 600; letter-spacing: -.055em; transition: transform .4s var(--ease-out); }
.service-item > button:hover .service-item__title { transform: translateX(14px); }
.service-item__summary { color: var(--muted); font-size: 12px; }
.service-item > button > i { justify-self: end; width: 30px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.service-item__panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .8fr);
  gap: clamp(40px, 8vw, 140px);
  padding: 14px 0 70px 90px;
  overflow: hidden;
  animation: panel-in .55s var(--ease-out);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-14px); } }
.service-item__panel > div:first-child { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.service-item__panel p { margin: 0; max-width: 520px; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.45rem); line-height: 1.36; }
.service-item__panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.service-item__panel li { padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.service-art { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.service-art b { position: absolute; right: 14px; top: 10px; color: var(--muted); font-size: 10px; font-weight: 400; }
.service-art--design span { position: absolute; border: 1px solid var(--fg); }
.service-art--design span:nth-child(1) { width: 46%; height: 62%; left: 8%; top: 12%; }
.service-art--design span:nth-child(2) { width: 42%; height: 54%; right: 8%; bottom: 10%; background: var(--acid-strong); border-color: var(--acid-strong); transform: rotate(8deg); }
.service-art--design span:nth-child(3) { width: 22%; aspect-ratio: 1; left: 39%; top: 36%; border-radius: 50%; background: var(--fg); }
.service-art--motion { display: grid; place-items: center; }
.service-art--motion i { position: absolute; width: 42px; aspect-ratio: 1; border-radius: 50%; background: var(--acid-strong); animation: motion-orb 3s var(--ease-in-out) infinite; }
.service-art--motion i:nth-child(2) { animation-delay: -.75s; opacity: .75; }
.service-art--motion i:nth-child(3) { animation-delay: -1.5s; opacity: .5; }
.service-art--motion i:nth-child(4) { animation-delay: -2.25s; opacity: .25; }
@keyframes motion-orb { 0%,100% { transform: translate(-100px,-70px) scale(.6); } 50% { transform: translate(100px,70px) scale(1.4); } }
.service-art--development { display: grid; place-items: center; align-content: center; gap: 15px; background: #0d0d0d; color: #d9ff43; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.service-art--development code { font-size: 36px; }
.service-art--development span { font-size: 13px; opacity: .7; }
.service-art--seo { padding: 45px; display: grid; align-content: center; gap: 14px; }
.service-art--seo span { display: block; padding: 9px 12px; border: 1px solid var(--line); font-size: 10px; }
.service-art--seo span:nth-child(1) { width: 68%; }
.service-art--seo span:nth-child(2) { width: 86%; }
.service-art--seo span:nth-child(3) { width: 100%; border-color: var(--acid-strong); color: var(--acid-strong); }
.service-art--seo i { position: absolute; left: 45px; right: 45px; bottom: 30px; height: 2px; background: var(--acid-strong); transform-origin: left; animation: seo-grow 2.4s ease-in-out infinite; }
@keyframes seo-grow { 0%,100% { transform: scaleX(.2); } 50% { transform: scaleX(1); } }
.service-art--hosting { display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; padding: 40px; gap: 20px; }
.service-art--hosting i { width: 56px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.service-art--hosting::before { content: ""; position: absolute; left: 20%; right: 20%; top: 50%; height: 1px; background: var(--line); }
.service-art--hosting span { position: absolute; left: 50%; top: 50%; padding: 8px 11px; transform: translate(-50%,-50%); background: var(--acid-strong); color: var(--acid-strong-ink); font-size: 9px; letter-spacing: .1em; }
.service-art--content span { position: absolute; left: 10%; top: 13%; font-family: var(--serif); font-size: 92px; font-style: italic; }
.service-art--content i { position: absolute; border: 1px solid var(--line); background: var(--bg-soft); }
.service-art--content i:nth-of-type(1) { right: 10%; top: 18%; width: 38%; height: 42%; }
.service-art--content i:nth-of-type(2) { right: 19%; bottom: 12%; width: 44%; height: 32%; background: var(--acid-strong); border-color: var(--acid-strong); }

/* About */
.about { position: relative; z-index: 3; padding: clamp(120px, 14vw, 230px) 0; background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: minmax(320px, .86fr) minmax(420px, 1.14fr); gap: clamp(50px, 9vw, 150px); align-items: center; }
.about__portrait { position: relative; }
.portrait-frame { position: relative; width: min(100%, 650px); margin-inline: auto; perspective: 1000px; }
.portrait-frame::before { content: ""; position: absolute; inset: 5% -6% -5% 6%; border: 1px solid var(--line); }
.portrait-frame img { position: relative; z-index: 2; width: 100%; aspect-ratio: .82; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.portrait-frame::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(145deg, transparent 35%, rgba(217,255,67,.3)); mix-blend-mode: color; pointer-events: none; }
.portrait-frame__stamp {
  position: absolute;
  z-index: 5;
  right: -7%;
  bottom: 8%;
  width: 130px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: var(--acid-strong);
  color: var(--acid-strong-ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}
.portrait-frame__stamp i { font-size: 22px; font-style: normal; }
.portrait-frame__location { position: absolute; z-index: 5; left: -16px; top: 16px; padding: 8px 10px; background: var(--fg); color: var(--bg); font-size: 9px; letter-spacing: .12em; transform: rotate(-90deg) translateX(-100%); transform-origin: left top; }
.about__copy h2 { margin: 38px 0 44px; }
.about__lead { max-width: 760px; margin: 0 0 40px; font-size: clamp(1.3rem, 2.25vw, 2.4rem); line-height: 1.22; letter-spacing: -.03em; }
.about__body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 42px; color: var(--muted); font-size: 14px; }
.about__body p { margin: 0; }
.about-stats { margin-top: clamp(80px, 10vw, 160px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-stats > div { min-height: 220px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.about-stats > div:first-child { border-left: 1px solid var(--line); }
.about-stats strong { font-size: clamp(4rem, 7vw, 8rem); line-height: .8; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.about-stats span { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* Process */
.process { position: relative; z-index: 3; padding: clamp(120px, 14vw, 230px) 0; background: var(--bg); }
.process__intro { display: grid; grid-template-columns: .52fr 1.48fr; gap: 34px; margin-bottom: clamp(80px, 10vw, 150px); }
.process-stack { display: grid; gap: 24px; }
.process-card {
  position: sticky;
  top: calc(88px + var(--card-index) * 14px);
  min-height: 560px;
  padding: clamp(28px, 4vw, 68px);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(320px, .82fr);
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  border: 1px solid rgba(0,0,0,.2);
  color: #10100e;
  box-shadow: 0 -12px 50px rgba(0,0,0,.13);
}
.process-card:nth-child(1) { background: #d9ff43; }
.process-card:nth-child(2) { background: #f1eadb; }
.process-card:nth-child(3) { background: #ff8cb4; }
.process-card:nth-child(4) { background: #8ea6ff; }
.process-card__number { align-self: start; display:grid; place-items:center; width:38px; aspect-ratio:1; border:1px solid currentColor; border-radius:50%; font-size: 11px; letter-spacing: .1em; }
.process-card__copy > span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.process-card__copy h3 { margin: 22px 0 18px; font-size: clamp(3rem, 5.2vw, 6.7rem); line-height: .82; letter-spacing: -.075em; }
.process-card__copy p { max-width: 650px; margin: 0; font-size: 15px; opacity: .7; }
.process-card__meta { grid-column:2/4; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; padding-top:20px; border-top:1px solid rgba(0,0,0,.25); }
.process-card__meta span { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.process-card__meta b { font-size: 13px; font-weight: 600; }
.process-card__meta i { justify-self:end; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.7rem); font-style: italic; }
.process-visual { position:relative; width:100%; height:330px; overflow:hidden; border:1px solid rgba(0,0,0,.28); background:#11110f; color:#f3f0e8; }
.process-visual svg { width:100%; height:100%; }
.process-visual--signal svg g { stroke:rgba(243,240,232,.26); stroke-width:1; }.process-visual--signal svg ellipse:nth-child(2){stroke:#5b45e8;stroke-dasharray:4 8;animation:study-dash 18s linear infinite}.process-visual--signal svg ellipse:nth-child(3){stroke:var(--acid);stroke-width:2}.process-visual--signal svg > circle:first-of-type{fill:#ff695b}.process-visual--signal .signal-ping{fill:none;stroke:#ff695b;transform-origin:230px 150px;animation:signal-ping-v2 2.4s ease-out infinite}
.process-visual > span,.process-visual > small { position:absolute; font-size:7px; letter-spacing:.11em; text-transform:uppercase; opacity:.72; }.process-visual--signal > span:nth-of-type(1){left:7%;top:10%}.process-visual--signal > span:nth-of-type(2){right:7%;top:12%}.process-visual--signal > span:nth-of-type(3){right:10%;bottom:8%}
.system-study { position:absolute; inset:8%; display:grid; grid-template-columns:repeat(6,1fr); grid-template-rows:repeat(4,1fr); gap:8px; }
.system-study::before { content:""; position:absolute; inset:-10%; background-image:linear-gradient(rgba(243,240,232,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(243,240,232,.08) 1px,transparent 1px); background-size:32px 32px; }
.system-study i { position:relative; background:#ff695b; border-radius:50%; grid-area:1/1/3/3; }.system-study i:nth-child(2){grid-area:1/3/2/7;border-radius:0;background:#f3f0e8}.system-study i:nth-child(3){grid-area:3/4/5/7;border-radius:0;background:var(--acid)}
.system-study b { position:relative; grid-area:2/3/4/5; align-self:center; font-size:clamp(3.5rem,6vw,6rem); line-height:1; }.system-study span{position:relative;grid-area:4/1/5/3;align-self:end;padding:11px;border:1px solid rgba(243,240,232,.45);border-radius:999px;text-align:center;font-size:7px}.system-study em,.system-study strong{position:relative;height:1px;background:rgba(243,240,232,.5);transform-origin:left;animation:system-line 3s var(--ease-out) infinite}.system-study em{grid-area:3/1/4/3}.system-study strong{grid-area:4/3/5/4;animation-delay:.4s}
.build-wires path { stroke:rgba(243,240,232,.3); stroke-dasharray:3 7; animation:study-dash 22s linear infinite; }.build-points circle{fill:#11110f;stroke:#5b45e8;stroke-width:4}.build-points circle:nth-child(2),.build-points circle:nth-child(4){stroke:var(--acid)}.process-visual--build > span{padding:6px 8px;border:1px solid rgba(243,240,232,.28);background:#11110f}.process-visual--build > span:nth-of-type(1){left:6%;top:10%}.process-visual--build > span:nth-of-type(2){left:47%;top:6%}.process-visual--build > span:nth-of-type(3){right:6%;bottom:8%}
.ownership-study { position:absolute; left:50%; top:50%; width:min(70%,270px); aspect-ratio:1; transform:translate(-50%,-50%); }.ownership-study > i{position:absolute;inset:0;border:1px solid rgba(243,240,232,.25);border-radius:50%}.ownership-study > i:nth-child(2){inset:16%;border-color:#5b45e8;border-style:dashed;animation:study-spin 18s linear infinite reverse}.ownership-study > i:nth-child(3){inset:32%;border-color:var(--acid)}.ownership-study b{position:absolute;inset:32%;display:grid;place-items:center;border-radius:50%;background:var(--acid);color:#11110f;font-size:clamp(1rem,2vw,1.7rem)}.ownership-study span{position:absolute;width:10px;aspect-ratio:1;border-radius:50%;background:#ff695b}.ownership-study span:nth-of-type(1){left:9%;top:13%}.ownership-study span:nth-of-type(2){right:-1%;top:48%;background:#5b45e8}.ownership-study span:nth-of-type(3){left:46%;bottom:-2%;background:#f3f0e8}.process-visual--own > small:nth-of-type(1){left:6%;top:9%}.process-visual--own > small:nth-of-type(2){right:6%;top:48%}.process-visual--own > small:nth-of-type(3){left:43%;bottom:5%}
@keyframes study-dash{to{stroke-dashoffset:-240}}@keyframes signal-ping-v2{0%{opacity:.8;transform:scale(.55)}100%{opacity:0;transform:scale(2.2)}}@keyframes system-line{0%,15%{transform:scaleX(0)}60%,100%{transform:scaleX(1)}}@keyframes study-spin{to{transform:rotate(360deg)}}

/* Stack */
.stack { position: relative; z-index: 3; padding: clamp(120px, 14vw, 230px) 0; background: var(--inverse-bg); color: var(--inverse-fg); overflow: hidden; }
.stack__header { display: grid; grid-template-columns: .52fr 1.48fr; gap: 34px; margin-bottom: clamp(80px, 9vw, 140px); }
.stack .section-label::before { background: var(--acid-on-inverse); }
.stack-marquee { width: 100%; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
.stack-marquee > div { width: max-content; display: flex; align-items: center; gap: 24px; padding: 22px 0; animation: marquee 32s linear infinite reverse; }
.stack-marquee span { font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.stack-marquee i { color: var(--acid-on-inverse); font-size: 18px; font-style: normal; }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 8vw, 120px); border-top: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
.stack-grid > div { min-height: 250px; padding: 24px; border-right: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
.stack-grid > div:first-child { border-left: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
.stack-grid span { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .56; }
.stack-grid p { margin: 70px 0 0; max-width: 260px; font-size: 14px; opacity: .7; }

/* FAQ */
.faq { position: relative; z-index: 3; padding: clamp(120px, 14vw, 230px) 0; background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 160px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro h2 { margin-top: 38px; font-size: clamp(3.5rem, 6vw, 7.2rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > button { width: 100%; min-height: 106px; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 20px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-item > button span { font-size: clamp(1.25rem, 2vw, 2.1rem); letter-spacing: -.03em; }
.faq-item > button i { width: 30px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.faq-item__answer { padding: 0 80px 38px 0; overflow: hidden; animation: panel-in .45s var(--ease-out); }
.faq-item__answer p { margin: 0; max-width: 700px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { position: relative; z-index: 3; min-height: 100svh; display: grid; place-items: center; padding: clamp(120px, 14vw, 220px) 0 80px; background: #0b0b0b; color: #f3f0e8; overflow: hidden; }
.contact__glow { position: absolute; width: 65vw; aspect-ratio: 1; left: 50%; top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(217,255,67,.22), transparent 65%); filter: blur(20px); transform: translate(-50%,-50%); pointer-events: none; }
.contact__inner { position: relative; text-align: center; }
.contact .section-label { justify-content: center; }
.contact .section-label span { color: #8c8a84; }
.contact__inner > p { margin: 38px 0 0; color: #aaa79f; font-size: 14px; }
.contact h2 { margin: 52px 0 0; font-size: clamp(5rem, 15vw, 17rem); line-height: .7; font-weight: 900; letter-spacing: -.095em; }
.contact h2 em { font-family: var(--serif); font-weight: 400; }
.contact-orb {
  position: relative;
  z-index: 3;
  width: clamp(160px, 15vw, 240px);
  aspect-ratio: 1;
  margin: -1vw auto 50px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 50%;
  background: #d9ff43;
  color: #0b0b0b;
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.contact-orb:hover { transform: scale(1.08); box-shadow: 0 0 90px rgba(217,255,67,.3); }
.contact-orb span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-orb i { font-size: 32px; font-style: normal; }
.contact__details { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; color: #aaa79f; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.contact__details a { color: #f3f0e8; border-bottom: 1px solid rgba(243,240,232,.5); }

/* Footer */
.site-footer { padding: 38px var(--gutter) 24px; background: #0b0b0b; color: #f3f0e8; border-top: 1px solid rgba(243,240,232,.16); }
.site-footer__brand { font-size: clamp(4rem, 12vw, 15rem); line-height: .8; font-weight: 900; letter-spacing: -.085em; white-space: nowrap; overflow: hidden; }
.site-footer__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; color: #8f8d87; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__meta a { color: #f3f0e8; }

/* Project modal */
.project-modal { position: fixed; inset: 0; z-index: 500; visibility: hidden; pointer-events: none; }
.project-modal.is-open { visibility: visible; pointer-events: auto; }
.project-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .45s ease; }
.project-modal.is-open .project-modal__backdrop { opacity: 1; }
.project-modal__panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(100%, 1080px);
  height: 100%;
  overflow-y: auto;
  background: var(--surface);
  color: var(--fg);
  transform: translateX(101%);
  transition: transform .72s var(--ease-out);
}
.project-modal.is-open .project-modal__panel { transform: translateX(0); }
.project-modal__close {
  position: absolute;
  z-index: 4;
  right: 22px;
  top: 22px;
  min-width: 100px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.2);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.project-modal__close span { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.project-modal__close i { font-size: 20px; font-style: normal; }
.project-modal__visual { position: relative; height: min(52vh, 520px); min-height: 360px; overflow: hidden; background: var(--modal-bg, #d9ff43); color: var(--modal-ink, #111); }
.project-modal__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.project-modal__content { padding: clamp(36px, 6vw, 80px); }
.project-modal__eyebrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.project-modal__content h2 { margin: 52px 0 32px; font-size: clamp(4rem, 8vw, 8.5rem); line-height: .8; letter-spacing: -.08em; }
.project-modal__lead { max-width: 780px; margin: 0 0 70px; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.24; letter-spacing: -.025em; }
.project-modal__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-modal__grid > div { min-height: 220px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-modal__grid span { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.project-modal__grid p { margin: 54px 0 0; font-size: 14px; }
.project-modal__link { width: 170px; aspect-ratio: 1; margin: 70px 0 0 auto; display: grid; place-items: center; align-content: center; gap: 7px; border-radius: 50%; background: var(--acid-strong); color: var(--acid-strong-ink); }
.project-modal__link span { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-modal__link i { font-size: 26px; font-style: normal; }

/* Responsive */
@media (max-width: 1180px) {
  .hero-line > span:first-child { font-size: clamp(4rem, 11vw, 9.8rem); }
  .project-card { grid-template-columns: minmax(280px, .8fr) minmax(430px, 1.2fr); }
  .service-item__panel { padding-left: 60px; }
  .services__intro, .section-intro { grid-template-columns: .45fr 1.45fr; }
  .services__intro p, .section-intro p { grid-column: 2; max-width: 480px; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .stack-grid > div:nth-child(3) { border-left: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
  .stack-grid > div:nth-child(-n+2) { border-bottom: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .cursor, .hero__rail, .header-clocks, .theme-toggle__label { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; }
  .theme-toggle { width: 42px; padding: 0; }
  .menu-overlay__inner { width: 100%; }
  .menu-nav a { grid-template-columns: 38px 1fr; }
  .menu-nav em { display: none; }

  .hero { min-height: 820px; padding-top: calc(var(--header-h) + 28px); }
  .hero::before { inset: var(--header-h) 14px 20px; }
  .hero__topline { padding-inline: 2px; }
  .hero__topline p { width: 52vw; font-size: 10px; }
  .availability-pill { padding: 8px 10px; font-size: 7px; }
  .hero__headline { margin-top: 5vh; }
  .hero-line { padding-inline: 0; }
  .hero-line > span:first-child { font-size: clamp(3.7rem, 14vw, 7.5rem); line-height: .84; white-space: normal; }
  .hero-line--two { justify-content: flex-start; padding-left: 8vw; }
  .hero-line--three { display: block; }
  .hero-year { display: none !important; }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; padding: 0 2px 38px; }
  .hero__statement { max-width: 520px; }
  .hero__cta-group { justify-self: start; flex-wrap: wrap; }
  .hero-orbit { right: 3vw; top: 52%; width: 150px; opacity: .75; }

  .scroll-cue { left: auto; right: 14px; transform: none; }

  .section-intro,
  .services__intro,
  .continuity__header,
  .process__intro,
  .stack__header { grid-template-columns: 1fr; }
  .section-intro p, .services__intro p { grid-column: auto; max-width: 540px; }
  .section-intro h2,
  .services__intro h2,
  .continuity__header h2,
  .about__copy h2,
  .process__intro h2,
  .stack__header h2 { font-size: clamp(3.6rem, 12vw, 7rem); }

  .work-scroll { height: auto !important; }
  .work-sticky { position: relative; height: auto; min-height: 0; overflow: visible; }
  .work-chrome { display: none; }
  .work-track { width: auto; height: auto; display: grid; gap: 16px; padding: 0 var(--gutter) 80px; transform: none !important; }
  .project-card { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; gap: 38px; padding: clamp(24px, 5vw, 44px); }
  .project-card h3 { margin: 70px 0 20px; font-size: clamp(4.2rem, 15vw, 8rem); }
  .project-card__visual { height: min(62vw, 540px); order: -1; }
  .project-card__copy { min-height: 560px; }
  .work-endcap { width: 100%; height: 600px; min-height: 0; }

  .continuity__lede { margin: -40px 0 70px; }
  .artifact-deck { grid-template-columns:repeat(2,minmax(230px,1fr)); gap:24px 14px; }
  .artifact-doc:nth-child(n) { transform:none; }

  .service-item > button { grid-template-columns: 42px 1fr 32px; min-height: 94px; }
  .service-item__summary { display: none; }
  .service-item__panel { grid-template-columns: 1fr; padding: 10px 0 50px 62px; gap: 36px; }
  .service-item__panel > div:first-child { grid-template-columns: 1fr; }
  .service-art { min-height: 300px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 640px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats > div:nth-child(3) { border-left: 1px solid var(--line); }
  .about-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .process-card { position: relative; top: auto; min-height: 720px; grid-template-columns: 60px 1fr; grid-template-rows:auto auto auto; align-items: start; }
  .process-visual { grid-column:2; height:340px; }
  .process-card__meta { grid-column: 2; grid-template-columns:auto 1fr auto; padding: 24px 0 0; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: relative; top: auto; }
  .faq__intro h2 { font-size: clamp(3.6rem, 12vw, 7rem); }

  .project-modal__panel { width: 100%; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .preloader { padding-top: 20px; }
  .preloader__top span:last-child { display: none; }
  .preloader__word { font-size: 36vw; }
  #preloader-count { font-size: 32px; }

  .site-header { padding-inline: 16px; }
  .menu-toggle { min-width: 80px; }
  .theme-toggle { display: none; }
  .menu-overlay__inner { padding-inline: 18px; }
  .menu-overlay__meta { align-items: flex-start; }
  .menu-overlay__meta span:last-child { text-align: right; }
  .menu-overlay__footer { display: grid; justify-items: start; }
  .menu-nav a { padding: 16px 0; }
  .menu-nav span { font-size: clamp(2.8rem, 14vw, 4.7rem); }

  .hero { min-height: 760px; padding-inline: 18px; }
  .hero__topline { display: grid; }
  .hero__topline p { width: 75%; }
  .availability-pill { justify-self: end; }
  .hero-line > span:first-child { font-size: 14.5vw; letter-spacing: -.075em; }
  .hero-line--two { padding-left: 0; justify-content: flex-end; }
  .hero__bottom { padding-bottom: 28px; }
  .hero__cta-group { gap: 18px; }
  .hero-orbit { top: 57%; width: 118px; }
  .scroll-cue { display: none; }

  .signal-strip__track { padding: 14px 0; }
  .signal-strip__track span { font-size: 9px; }

  .section-intro { padding-top: 110px; padding-bottom: 72px; }
  .section-intro h2,
  .services__intro h2,
  .continuity__header h2,
  .about__copy h2,
  .process__intro h2,
  .stack__header h2 { font-size: 15vw; }
  .section-intro p { font-size: 13px; }

  .work-track { padding-inline: 12px; }
  .project-card { padding: 18px; }
  .project-card__visual { height: 82vw; }
  .project-card__copy { min-height: 540px; }
  .project-card h3 { margin-top: 60px; font-size: 18vw; }
  .round-button { padding: 0.8em 1.4em; }
  .round-button span { font-size: 12px; }
  .browser-frame__bar { height: 27px; }
  .browser-frame__viewport { top: 27px; height: calc(100% - 27px); }
  .work-endcap { height: 520px; padding: 24px; }
  .work-endcap h3 { font-size: 16vw; }
  .giant-arrow { width: 90px; font-size: 38px; }

  .continuity, .services, .about, .process, .stack, .faq { padding: 110px 0; }
  .continuity__lede { margin-top:-30px; }
  .artifact-deck { grid-template-columns:1fr; }
  .artifact-doc { min-height:0; }
  .artifact-flow { display:grid; grid-template-columns:1fr 1fr; }
  .artifact-flow i { display:none; }

  .service-item > button { grid-template-columns: 34px 1fr 30px; gap: 12px; }
  .service-item__title { font-size: 9vw; }
  .service-item__panel { padding-left: 46px; }
  .service-item__panel p { font-size: 1rem; }
  .service-art { min-height: 230px; }

  .portrait-frame__stamp { right: -2%; width: 105px; }
  .about__lead { font-size: 1.28rem; }
  .about__body { grid-template-columns: 1fr; }
  .about-stats { padding-inline: 12px; }
  .about-stats > div { min-height: 175px; padding: 18px 12px; }
  .about-stats strong { font-size: 18vw; }
  .about-stats span { font-size: 7px; }

  .process-card { min-height: 760px; grid-template-columns: 34px 1fr; padding: 22px; gap: 18px 16px; }
  .process-card__copy h3 { font-size: 13vw; }
  .process-card__copy p { font-size: 13px; }
  .process-visual { height:72vw; min-height:270px; }
  .process-card__meta { display:grid; grid-template-columns:1fr auto; gap:8px 12px; }
  .process-card__meta b { grid-column:1/-1; }

  .stack-grid { grid-template-columns: 1fr; }
  .stack-grid > div { min-height: 190px; border-left: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--inverse-fg) 24%, transparent); }
  .stack-grid > div:last-child { border-bottom: 0; }
  .stack-grid p { margin-top: 42px; }

  .faq-item > button { min-height: 92px; }
  .faq-item__answer { padding-right: 20px; }

  .contact { min-height: 780px; padding-inline: 10px; }
  .contact h2 { font-size: 19vw; }
  .contact-orb { width: 150px; margin-top: 16px; }
  .contact__details { display: grid; justify-items: center; }
  .site-footer__brand { font-size: 15vw; }
  .site-footer__meta { display: grid; grid-template-columns: 1fr auto; }
  .site-footer__meta a { grid-column: 1 / -1; }

  .project-modal__visual { min-height: 300px; }
  .project-modal__content { padding: 28px 18px 50px; }
  .project-modal__content h2 { font-size: 17vw; margin-top: 40px; }
  .project-modal__lead { font-size: 1.15rem; margin-bottom: 48px; }
  .project-modal__grid { grid-template-columns: 1fr; }
  .project-modal__grid > div { min-height: 160px; }
  .project-modal__grid p { margin-top: 34px; }
  .project-modal__link { width: 150px; margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-line > span:first-child { transform: none; opacity: 1; }
  .site-header, .hero__rail, .hero-orbit, .scroll-cue, .scroll-progress { opacity: 1; animation: none; }
  .work-scroll { height: auto !important; }
  .work-sticky { position: relative; height: auto; min-height: 0; overflow: visible; }
  .work-track { width: auto; height: auto; display: grid; padding: 40px var(--gutter); transform: none !important; }
  .project-card { width: calc(100vw - var(--gutter) * 2); }
  .work-chrome { display: none; }
}

/* Runtime state safeguards */
[hidden] { display: none !important; }
html { overflow-x: clip; }
html[data-theme="paper"] .site-header.is-on-dark,
html[data-theme="paper"] .site-header.is-on-dark .theme-toggle,
html[data-theme="paper"] .site-header.is-on-dark .menu-toggle {
  color: #f3f0e8;
}
html[data-theme="paper"] .site-header.is-on-dark .theme-toggle,
html[data-theme="paper"] .site-header.is-on-dark .menu-toggle {
  border-color: rgba(243, 240, 232, 0.28);
}
body.menu-open .header-actions button {
  color: #0b0b0b;
  border-color: rgba(11, 11, 11, 0.3);
}

.work-sticky.is-dragging,
.work-sticky.is-dragging * {
  cursor: grabbing !important;
  user-select: none;
}
