/* =========================================================================
   Wings of Eden: homepage
   1. Tokens          6. Band              11. FAQ
   2. Base            7. Statement         12. CTA
   3. Shared pieces   8. Services          13. Footer
   4. Nav + menu      9. Drivers           14. Motion: scroll-driven
   5. Hero           10. Process           15. Motion: fallbacks + reduced
   ========================================================================= */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --void: #070708;
  --carbon: #0f0f11;
  --carbon-2: #17171a;
  --line: rgba(243, 240, 236, 0.09);
  --line-2: rgba(243, 240, 236, 0.18);

  --ink: #f3f0ec;
  --ink-2: rgba(243, 240, 236, 0.66);
  --ink-3: rgba(243, 240, 236, 0.5);

  --ember-hot: #ff9a5c;
  --ember: #e0512f;
  --ember-text: #ff8352;
  --oxide: #6e1a10;

  --paper: #ecebe7;
  --ember-ink: #b8391d;   /* ember dark enough to read on --paper: 4.83:1 */
  --paper-ink: #141312;
  --paper-ink-2: rgba(20, 19, 18, 0.68);

  --font: "Switzer", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 3.4vw, 48px);
  --radius: clamp(22px, 2.2vw, 32px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ember-glow: radial-gradient(closest-side, var(--ember-hot) 0%, #f7854a 18%, #f26a38 30%, var(--ember) 45%, #a83420 58%, var(--oxide) 72%, rgba(70, 16, 9, 0.55) 84%, rgba(40, 9, 5, 0.22) 93%, transparent 100%);
  --drawer-w: min(560px, 100vw);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.045;
  mix-blend-mode: overlay;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--ember-hot); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--ember); color: var(--void); }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--void); font-weight: 500;
}
.skip:focus { top: 12px; }

/* 3. Shared pieces --------------------------------------------------------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 12px var(--ember);
}
.label--dark { color: var(--paper-ink-2); }

.h2 {
  font-size: clamp(44px, 6.4vw, 108px);
  font-weight: 500; letter-spacing: -0.045em; line-height: 0.95;
}
.dim { color: var(--ink-3); }

.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); opacity: 0.32; mix-blend-mode: overlay;
}

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 22, 0.5);
  backdrop-filter: blur(10px);
  font-size: 15px; color: var(--ink);
  transition: background-color 0.3s, border-color 0.3s;
}
.chip:hover { background: rgba(224, 81, 47, 0.16); border-color: rgba(255, 131, 82, 0.5); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px; border-radius: 99px;
  font-size: 17px; font-weight: 500;
  transition: translate 0.6s var(--ease-out), background-color 0.3s, color 0.3s;
}
.btn--light { background: var(--ink); color: var(--void); }
.btn--light:hover { background: #fff; }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse { 50% { opacity: 0.35; } }

/* 4. Nav + menu ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 16px var(--gutter);
  transition: translate 0.6s var(--ease-out);
}
.nav.is-hidden { translate: 0 -120%; }
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav__brand img { height: 22px; width: auto; }
.menu-btn, .nav__cta {
  border: 1px solid var(--line);
  background: rgba(18, 18, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__menu { justify-self: center; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.clock {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.clock__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: pulse 2s ease-in-out infinite; }
.nav__cta {
  padding: 10px 18px; border-radius: 99px; font-size: 14px;
  background: var(--ember); border-color: transparent; color: #140805; font-weight: 500;
  transition: background-color 0.3s;
}
.nav__cta:hover { background: var(--ember-hot); }
.nav__cta-short { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 99px; font-size: 14px; cursor: pointer;
  transition: background-color 0.3s;
}
.menu-btn:hover { background: rgba(40, 40, 44, 0.8); }
.menu-btn__icon {
  width: 10px; height: 10px;
  background: radial-gradient(circle, currentColor 1.5px, transparent 1.8px) 0 0 / 5px 5px;
}
.menu-btn__x { position: relative; width: 10px; height: 10px; }
.menu-btn__x::before, .menu-btn__x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: currentColor; translate: -50% -50%; rotate: 45deg;
}
.menu-btn__x::after { rotate: -45deg; }

.menu {
  position: fixed; inset: 74px 0 auto 0;
  width: min(430px, calc(100vw - var(--gutter) * 2));
  max-height: min(86svh, 800px);
  margin: 0 auto; padding: 0;
  border: 1px solid var(--line-2); border-radius: 26px;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65);
  color: var(--ink);
  overflow: hidden auto; overscroll-behavior: contain;
  opacity: 0; translate: 0 -12px; scale: 0.97;
  transition:
    opacity 0.32s var(--ease-out), translate 0.32s var(--ease-out), scale 0.32s var(--ease-out),
    overlay 0.32s allow-discrete, display 0.32s allow-discrete;
}
.menu[open] { display: block; opacity: 1; translate: 0 0; scale: 1; }
@starting-style { .menu[open] { opacity: 0; translate: 0 -12px; scale: 0.97; } }
.menu::backdrop { background: rgba(5, 5, 6, 0.5); backdrop-filter: blur(3px); }

.menu__head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px 13px 18px; border-bottom: 1px solid var(--line);
}
.menu__brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.menu__brand img { height: 18px; width: auto; }
.menu__head .clock { margin-left: auto; }
.menu__close {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.menu__close:hover { background: var(--ember); border-color: var(--ember); color: #150805; }

.menu__group { border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.menu__group--last { border-bottom: 0; padding-block: 4px; }
.menu__group-title {
  padding: 11px 18px 3px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.menu__links a, .menu__row {
  display: flex; align-items: center; gap: 14px;
  padding: 7px 18px;
  transition: background-color 0.3s, padding-left 0.4s var(--ease-out);
}
.menu__links a:hover { background: rgba(255, 255, 255, 0.05); padding-left: 24px; }
.menu__row--soon { opacity: 0.42; cursor: default; }
.menu__soon {
  margin-left: auto;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: 99px; padding: 4px 8px;
}
.menu__row--soon .menu__thumb { margin-left: 12px; }
.menu__links a[aria-current] .menu__name { color: var(--ember-text); }
.menu__label { display: grid; gap: 3px; }
.menu__name { font-size: clamp(19px, 1.45vw, 23px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.menu__idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.menu__thumb {
  margin-left: auto; flex: none; width: 46px; height: 46px; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line); background: var(--carbon-2);
}
.menu__thumb img { width: 100%; height: 100%; object-fit: cover; }


.menu__foot {
  padding: 13px 18px 15px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
}
.menu__foot-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu__foot a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .menu { inset: 66px var(--gutter) auto var(--gutter); width: auto; margin-inline: 0; }
  .menu__head .clock { display: inline-flex; font-size: 11px; }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--void);
  display: flex; flex-direction: column;
  min-height: 100svh;
  view-timeline: --hero block;
}
.hero__glow {
  --glow-drop: 46svh;
  position: absolute; left: 50%; bottom: calc(-1 * var(--glow-drop)); z-index: -2;
  /* a mask clips to the element's box, so without this fade the core's blur is cut
     off in a straight line across the top edge */
  -webkit-mask-image: linear-gradient(to top, transparent var(--glow-drop), #000 calc(var(--glow-drop) + 26svh), #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to top, transparent var(--glow-drop), #000 calc(var(--glow-drop) + 26svh), #000 calc(100% - 80px), transparent 100%);
  width: max(1100px, 118vw); aspect-ratio: 1.55;
  translate: -50% 0;
  pointer-events: none;
}
.hero__glow-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--ember-glow);
  filter: blur(34px);
}

.hero__wings {
  position: absolute; z-index: 0;
  right: clamp(0px, 0.4vw, 16px); top: 50%;   /* fully inside the frame: it used to hang off the right edge */
  width: min(45vw, 800px);
  --wings-y: -56%;
  translate: 0 var(--wings-y);
  perspective: 1400px;
  pointer-events: none;
}
.hero__wings-tilt {
  transform:
    translate3d(calc(var(--mx, 0) * 22px), calc(var(--my, 0) * 14px), 0)
    rotateY(calc(var(--mx, 0) * 10deg))
    rotateX(calc(var(--my, 0) * -7deg));
  filter: drop-shadow(0 0 60px rgba(224, 81, 47, 0.22)) drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}

.hero__content {
  position: relative; z-index: 2;
  padding: clamp(104px, 17svh, 190px) var(--gutter) 0;
  max-width: min(62rem, 58vw);
}
.hero__title {
  margin-top: 24px;
  font-size: clamp(42px, 6.3vw, 112px);
  font-weight: 500; letter-spacing: -0.048em; line-height: 0.96;
}
.hero__title .line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line--dim {
  /* Fade the whole line, not each glyph. A half-transparent colour makes
     overlapping letters (the r and t of "start") composite twice and show a
     bright notch; one opacity on the line renders them as a single shape. */
  color: var(--ink); opacity: 0.5;
}
.hero__title .word { display: inline-block; }
.hero__groups { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.hero__meta {
  position: relative; z-index: 2;
  margin: auto var(--gutter) calc(9.6vw + 20px);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue__line { order: 2; width: 44px; height: 1px; background: var(--ink); transform-origin: left; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { scale: 0 1; transform-origin: left; } 45% { scale: 1 1; transform-origin: left; } 55% { scale: 1 1; transform-origin: right; } 100% { scale: 0 1; transform-origin: right; } }

.hero__mark {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  pointer-events: none; user-select: none;
}
.hero__mark-text {
  text-align: center; white-space: nowrap;
  font-size: 13.9vw; font-weight: 600; letter-spacing: -0.06em; line-height: 0.8;
  translate: 0 12%;
  background: linear-gradient(180deg, rgba(255, 244, 236, 0.86) 0%, rgba(255, 214, 190, 0.3) 62%, rgba(255, 214, 190, 0.04) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 6. Band ------------------------------------------------------------------ */
.band {
  position: relative; z-index: 3;
  height: clamp(210px, 22vw, 360px);
  margin-top: clamp(-80px, -4vw, -30px);
  overflow: clip;
  display: grid; place-items: center;
}
.band__strip {
  position: absolute; left: -10vw; width: 120vw;
  padding-block: clamp(12px, 1.3vw, 20px);
  overflow: clip;
}
.band__strip--a { background: var(--ember); color: #150805; rotate: -3.4deg; z-index: 2; box-shadow: 0 20px 60px rgba(224, 81, 47, 0.25); }
.band__strip--b { background: var(--carbon-2); color: var(--ink-2); rotate: 2.8deg; border-block: 1px solid var(--line); }
.band__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.band__strip--b .band__track { animation-direction: reverse; animation-duration: 56s; }
.band__item {
  display: flex; align-items: center; gap: 0.45em; padding-right: 0.45em;
  font-size: clamp(30px, 4.4vw, 74px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; white-space: nowrap;
}
.band__strip--b .band__item { font-size: clamp(20px, 2.4vw, 38px); font-family: var(--mono); letter-spacing: 0; text-transform: uppercase; font-weight: 400; }
.band__item i {
  width: 0.42em; height: 0.42em; background: currentColor; flex: none;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
@keyframes marquee { to { translate: -50% 0; } }

/* 7. Statement ------------------------------------------------------------- */
.statement {
  max-width: 1480px; margin-inline: auto;
  padding: clamp(110px, 15vw, 230px) var(--gutter);
}
.statement__text {
  margin-top: 30px;
  font-size: clamp(34px, 5.2vw, 90px);
  font-weight: 500; letter-spacing: -0.042em; line-height: 1.04;
  text-wrap: pretty;
}
.statement__text em { font-style: normal; color: var(--ember-text); }

/* 8. Services -------------------------------------------------------------- */
.services { position: relative; }
.services__head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 60px; align-items: end;
  padding: 0 var(--gutter) clamp(40px, 5vw, 70px);
}
.services__head .label { grid-column: 1 / -1; }
.services__lede { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 21px); max-width: 44ch; }

.hscroll { position: relative; }
.hscroll__sticky { position: relative; overflow: clip; }
.hscroll__glow {
  position: absolute; left: 50%; bottom: 0; z-index: -1; pointer-events: none;
  width: 110vw; height: 70%; translate: -50% 0;
  background: radial-gradient(50% 60% at 50% 100%, rgba(224, 81, 47, 0.55), rgba(110, 26, 16, 0.25) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, transparent, #000 35%);
  mask-image: linear-gradient(to top, transparent, #000 35%);
  opacity: 0.8;
}
.hscroll__bar {
  padding: 0 var(--gutter) 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hscroll__groups { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.hscroll__group { white-space: nowrap; color: var(--ink-3); transition: color 0.4s; padding: 0; cursor: pointer; }
.hscroll__group::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: 1px; transition: background-color 0.4s, box-shadow 0.4s; }
.hscroll[data-active="0"] .hscroll__group:nth-child(1),
.hscroll[data-active="1"] .hscroll__group:nth-child(2),
.hscroll[data-active="2"] .hscroll__group:nth-child(3) { color: var(--ember-hot); }
.hscroll[data-active="0"] .hscroll__group:nth-child(1)::before,
.hscroll[data-active="1"] .hscroll__group:nth-child(2)::before,
.hscroll[data-active="2"] .hscroll__group:nth-child(3)::before { box-shadow: 0 0 12px var(--ember); }
.hscroll__progress { position: relative; display: block; height: 1px; background: var(--line-2); overflow: hidden; }
.hscroll__progress span { position: absolute; inset: 0; background: var(--ember-hot); transform-origin: left; scale: 0 1; }

.hscroll__track {
  display: flex; gap: clamp(14px, 1.4vw, 22px);
  padding: 4px var(--gutter) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll__track > li { scroll-snap-align: start; flex: none; }

.gcard {
  width: clamp(290px, 30vw, 500px);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 10px clamp(8px, 1.5vw, 26px) 10px 0;
}
.gcard__title { font-size: clamp(46px, 5.4vw, 92px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.92; }
.gcard__title span { display: block; color: var(--ember-text); }
.gcard__text { color: var(--ink-2); font-size: clamp(17px, 1.25vw, 20px); max-width: 30ch; }
.gcard__hint { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.gcard__hint .hint-touch { display: none; }
.gcard__hint i { width: 36px; height: 1px; background: currentColor; position: relative; }
.gcard__hint i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; rotate: 45deg; }

.card {
  position: relative; isolation: isolate; overflow: clip;
  width: clamp(290px, 27vw, 440px);
  min-height: clamp(470px, 64svh, 640px);
  display: flex; flex-direction: column;
  padding: clamp(20px, 1.8vw, 28px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--carbon-2), var(--carbon));
  border: 1px solid var(--line);
  transition: border-color 0.4s, translate 0.6s var(--ease-out);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 40%), rgba(224, 81, 47, 0.26), transparent 65%);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover { border-color: rgba(255, 131, 82, 0.35); }
.card:hover::after { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card__top .label { font-size: 11px; }
.card__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2);
}
.card__media { position: relative; flex: 1; display: grid; place-items: center; min-height: 180px; margin-block: 6px; }
.card__media::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 81, 47, 0.3), transparent);
  filter: blur(20px);
}
.card__media img {
  position: relative; width: min(100%, 330px);
  mix-blend-mode: lighten;
  transition: scale 0.9s var(--ease-out), rotate 0.9s var(--ease-out);
}
.card:hover .card__media img { scale: 1.07; rotate: -3deg; }
.card__title { font-size: clamp(34px, 2.8vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.card__text { margin-top: 10px; color: var(--ink-2); }
.card__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.card__list li {
  font-size: 13px; padding: 6px 11px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2);
}

/* 9. Drivers --------------------------------------------------------------- */
.drivers { padding-block: clamp(110px, 13vw, 200px) clamp(90px, 10vw, 160px); overflow-x: clip; }
.drivers__head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px 60px; flex-wrap: wrap;
  padding-inline: var(--gutter);
}
.drivers__head .h2 { margin-top: 20px; }
.drivers__lede { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 21px); max-width: 34ch; }
.marquee {
  margin-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(30px, 3.6vw, 56px);
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee {
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee.is-dragging .driver__photo img { transition: none; }
/* stop the browser's own image drag from stealing the gesture */
.marquee img { -webkit-user-drag: none; user-select: none; }
.marquee__track { display: flex; width: max-content; }

.drivers__controls {
  display: flex; align-items: center; gap: 20px;
  margin: clamp(22px, 2.4vw, 34px) var(--gutter) 0;
}
.drivers__bar {
  position: relative; flex: 1; height: 3px; border-radius: 99px;
  background: var(--line-2); cursor: pointer; touch-action: none;
}
.drivers__bar::before { content: ""; position: absolute; inset: -14px 0; }
.drivers__thumb {
  position: absolute; top: -4px; left: 0; height: 11px; width: 18%;
  border-radius: 99px; background: var(--ember);
  box-shadow: 0 0 16px rgba(224, 81, 47, 0.55);
  transition: background-color 0.3s;
}
.drivers__bar:hover .drivers__thumb, .drivers__bar.is-dragging .drivers__thumb { background: var(--ember-hot); }
.drivers__hint {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
}
.driver { width: clamp(210px, 19vw, 300px); padding-right: clamp(12px, 1.2vw, 18px); }
.driver:nth-child(even) { translate: 0 clamp(18px, 2.4vw, 40px); }
.driver__photo {
  position: relative; overflow: clip; aspect-ratio: 3 / 4;
  border-radius: calc(var(--radius) * 0.8); background: var(--carbon);
}
.driver__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(0.78) contrast(1.08);
  scale: 1.02;
  transition: filter 0.7s var(--ease-out), scale 1s var(--ease-out);
}
.driver__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(224, 81, 47, 0.55), transparent 55%);
  opacity: 0; transition: opacity 0.6s;
}
.driver:hover .driver__photo img { filter: none; scale: 1.08; }
.driver:hover .driver__photo::after { opacity: 1; }
.driver figcaption { margin-top: 14px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }

/* 10. Process (light sheet) ------------------------------------------------ */
.process {
  margin-inline: clamp(8px, 1vw, 16px);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--paper); color: var(--paper-ink);
  padding: clamp(80px, 10vw, 160px) var(--gutter);
}
.process .dim { color: rgba(20, 19, 18, 0.5); }   /* 0.4 gave 2.52:1; large text needs 3.0 */
.process__inner {
  max-width: 1480px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 40px clamp(40px, 7vw, 120px);
}
.process__head { align-self: start; position: sticky; top: 110px; }
.process__head .h2 { margin-top: 20px; }
.process__lede { margin-top: 26px; color: var(--paper-ink-2); font-size: clamp(17px, 1.3vw, 21px); max-width: 38ch; }
.steps { position: relative; padding-left: clamp(46px, 5vw, 76px); view-timeline: --steps block; }
.steps__rail { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: rgba(20, 19, 18, 0.12); border-radius: 2px; }
.steps__fill { position: absolute; inset: 0; background: var(--ember); border-radius: 2px; transform-origin: top; scale: 1 1; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding-block: clamp(26px, 3vw, 44px); border-bottom: 1px solid rgba(20, 19, 18, 0.12); }
.step:last-child { border-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: calc(-1 * clamp(46px, 5vw, 76px) + 5px); top: calc(clamp(26px, 3vw, 44px) + 12px);
  width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ember);
}
.step__n { font-family: var(--mono); font-size: 13px; color: var(--ember-ink); padding-top: 12px; }
.step h3 { font-size: clamp(30px, 3vw, 50px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.step p { margin-top: 12px; color: var(--paper-ink-2); max-width: 44ch; }

/* 11. FAQ ------------------------------------------------------------------ */
.faq {
  max-width: 1480px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 7vw, 120px);
  padding: clamp(110px, 13vw, 200px) var(--gutter);
}
.faq__head .h2 { margin-top: 20px; }
.faq__list details { border-top: 1px solid var(--line-2); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-size: clamp(21px, 1.9vw, 30px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15;
  transition: color 0.3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--ember-hot); }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: rotate 0.5s var(--ease-out), background-color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq__icon::after { rotate: 90deg; }
.faq__list details[open] .faq__icon { rotate: 45deg; background: var(--ember); border-color: var(--ember); color: var(--void); }
.faq__list details p { padding-bottom: 28px; color: var(--ink-2); max-width: 56ch; font-size: clamp(17px, 1.2vw, 19px); }
.faq__list details a { color: var(--ember-text); text-decoration: underline; text-underline-offset: 3px; }

@supports selector(::details-content) {
  .faq__list details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 0.55s var(--ease-out), content-visibility 0.55s allow-discrete;
  }
  .faq__list details[open]::details-content { block-size: auto; block-size: calc-size(auto, size); }
}

/* 12. CTA ------------------------------------------------------------------ */
.cta {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--void);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
  padding: clamp(120px, 15vw, 230px) var(--gutter) clamp(150px, 18vw, 270px);
}
.cta > * { position: relative; z-index: 2; }
.cta__glow {
  --cta-drop: 46svh;
  position: absolute !important; z-index: 0 !important; left: 50%; bottom: calc(-1 * var(--cta-drop));
  -webkit-mask-image: linear-gradient(to top, transparent var(--cta-drop), #000 calc(var(--cta-drop) + 44svh));
  mask-image: linear-gradient(to top, transparent var(--cta-drop), #000 calc(var(--cta-drop) + 44svh));
  width: max(1000px, 120vw); aspect-ratio: 1.5; translate: -50% 0;
  background: var(--ember-glow); filter: blur(40px); pointer-events: none;
}
.cta .grain { z-index: 1 !important; position: absolute !important; }
.cta__title { font-size: clamp(56px, 9.6vw, 170px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.9; max-width: 12ch; }
.cta__title span { display: block; color: rgba(243, 240, 236, 0.55); }
.cta__text { color: var(--ink-2); max-width: 44ch; font-size: clamp(17px, 1.3vw, 21px); }
.cta__email { font-family: var(--mono); font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.cta__email:hover { border-color: var(--ink); }

/* 13. Footer --------------------------------------------------------------- */
.footer { position: relative; isolation: isolate; overflow: clip; padding: clamp(60px, 7vw, 100px) var(--gutter) 0; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__tag { font-size: clamp(24px, 2.3vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; max-width: 18ch; }
.clock--footer { margin-top: 22px; }
.footer__col h3 { margin-bottom: 18px; }
.footer__col li { margin-bottom: 10px; color: var(--ink-2); }
.footer__col a { position: relative; transition: color 0.3s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(50px, 6vw, 90px);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.footer__bottom a:hover { color: var(--ink); }
.footer__mark { position: relative; height: 11.6vw; margin-top: 18px; pointer-events: none; user-select: none; }
.footer__glow {
  position: absolute; left: 50%; bottom: -120%; z-index: -1;
  width: 100vw; aspect-ratio: 2.4; translate: -50% 0;
  background: var(--ember-glow); filter: blur(40px); opacity: 0.8;
}
.footer__mark-text {
  position: absolute; left: 50%; bottom: 0; translate: -50% 6%;
  white-space: nowrap; font-size: 13.9vw; font-weight: 600; letter-spacing: -0.06em; line-height: 0.8;
  background: linear-gradient(180deg, rgba(255, 244, 236, 0.9), rgba(255, 190, 150, 0.35));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
  .services__head, .process__inner, .faq { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__content { order: 1; max-width: none; padding-top: 112px; }
  .hero__wings { order: 2; }
  .hero__meta { order: 3; }
  .hero__wings {
    position: relative; right: auto; top: auto; --wings-y: 0%;
    width: min(92vw, 560px); margin: 30px auto 0;
  }
  .hero__meta { margin: 0 var(--gutter) calc(15vw + 10px); padding-top: 26px; }
  .hero__glow { --glow-drop: 26svh; width: 190vw; }
  .hscroll__glow { display: none; }
  .hscroll__group:nth-child(2) { text-align: center; }
  .hscroll__groups { font-size: 10px; }
  .gcard__hint .hint-desktop { display: none; }
  .gcard__hint .hint-touch { display: inline; }
}
@media (max-width: 820px) {
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}
@media (max-width: 600px) {
  .clock { display: none; }
  .nav__brand span { display: none; }
  .band__strip--a { rotate: -5deg; }
  .band__strip--b { rotate: 4deg; }
  .driver:nth-child(even) { translate: none; }
  .footer__top { grid-template-columns: 1fr; }
  .card { width: 82vw; }
  .gcard { width: 82vw; }
}

/* 14. Motion: intro + scroll-driven ---------------------------------------- */
@media (prefers-reduced-motion: no-preference) {

  /* Ignition: glow swells from a spark, words rise, wings resolve */
  .hero__glow-core { animation: ignite 2.2s var(--ease-out) 0.1s both, breathe 9s ease-in-out 2.4s infinite alternate; }
  @keyframes ignite {
    0% { scale: 0.12 0.04; opacity: 0; }
    25% { opacity: 1; }
    100% { scale: 1 1; opacity: 1; }
  }
  @keyframes breathe { from { scale: 1 1; } to { scale: 1.07 1.1; } }

  .hero__title .word { animation: word-up 1.6s var(--ease-out) both; animation-delay: calc(0.35s + var(--i) * 0.055s); }
  @keyframes word-up { from { translate: 0 80%; opacity: 0; } }
  .hero__eyebrow, .hero__groups, .hero__meta { animation: fade-up 1s var(--ease-out) both; }
  .hero__eyebrow { animation-delay: 0.2s; }
  .hero__groups { animation-delay: 1s; }
  .hero__meta { animation-delay: 1.2s; }
  @keyframes fade-up { from { opacity: 0; translate: 0 24px; } }

  .hero__wings-img { animation: wings-in 1.8s var(--ease-out) 0.5s both, hover 7s ease-in-out 2.4s infinite alternate; }
  /* 0.01, not 0: Chrome skips fully transparent images for LCP, so a start at 0 delayed LCP until the fade finished */
  @keyframes wings-in { from { opacity: 0.01; scale: 0.86; translate: 0 40px; } }
  @keyframes hover { from { translate: 0 0; } to { translate: 0 18px; } }

  .hero__mark-text { animation: mark-up 1.6s var(--ease-out) 0.15s both; }
  @keyframes mark-up { from { translate: 0 80%; opacity: 0; } }

  .card__media img { animation: hover 6s ease-in-out infinite alternate; }

  /* Service page hero object: resolves in, floats, drifts away on scroll */
  .phero__object img { animation: wings-in 1.6s var(--ease-out) 0.35s both, hover 7s ease-in-out 2.2s infinite alternate; }
  .card:nth-child(3n) .card__media img { animation-duration: 7.5s; animation-delay: -2s; }
  .card:nth-child(3n + 1) .card__media img { animation-duration: 5.5s; animation-delay: -4s; }

  .menu[open] .menu__links li { animation: menu-in 0.5s var(--ease-out) both; animation-delay: calc(0.06s + var(--i, 0) * 0.04s); }
  @keyframes menu-in { from { opacity: 0; translate: 0 10px; } }

  [data-magnetic] { transition: translate 0.6s var(--ease-out), background-color 0.3s; }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {

    /* Hero exits: content lifts away, wings rise and grow, wordmark swells */
    .hero__content { animation: hero-content-out linear both; animation-timeline: --hero; animation-range: exit 0% exit 75%; }
    @keyframes hero-content-out { to { translate: 0 -14svh; opacity: 0; } }

    .hero__wings { animation: hero-wings-out linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    @keyframes hero-wings-out { from { translate: 0 var(--wings-y); } to { translate: 0 calc(var(--wings-y) - 40%); scale: 1.22; opacity: 0.15; } }

    .hero__glow { animation: hero-glow-out linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    @keyframes hero-glow-out { from { translate: -50% 0; } to { translate: -50% -20svh; scale: 1.35; } }

    .hero__mark { animation: hero-mark-out linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    @keyframes hero-mark-out { to { translate: 0 -16svh; scale: 1.18; opacity: 0.3; } }

    /* Band: strips drift against each other with scroll, on top of the loop */
    .band__shift { animation: band-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .band__shift--rev { animation-name: band-drift-rev; }
    @keyframes band-drift { from { translate: 6% 0; } to { translate: -6% 0; } }
    @keyframes band-drift-rev { from { translate: -6% 0; } to { translate: 6% 0; } }

    /* Statement: words light up as they cross the viewport */
    .statement__text .w { animation: light-up linear both; animation-timeline: view(); animation-range: cover 16% cover 40%; }
    @keyframes light-up { from { opacity: 0.13; } to { opacity: 1; } }

    /* Generic reveal */
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
    @keyframes reveal { from { opacity: 0; translate: 0 60px; } }

    /* Drivers: whole strip slides in from the right */
    .marquee { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes slide-in { from { translate: 18% 0; opacity: 0; } }

    /* Process: the sheet rises, the rail fills, each step switches on */
    .process { animation: sheet linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes sheet { from { scale: 0.9; translate: 0 8svh; } }
    .steps__fill { animation: rail linear both; animation-timeline: --steps; animation-range: cover 25% cover 70%; }
    @keyframes rail { from { scale: 1 0; } }
    .step { animation: step-on linear both; animation-timeline: view(); animation-range: entry 40% cover 42%; }
    @keyframes step-on { from { opacity: 0.2; translate: 36px 0; } }

    /* CTA: glow swells as you arrive */
    .cta__glow { animation: cta-glow linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes cta-glow { from { translate: -50% 30%; scale: 0.5; opacity: 0; } to { translate: -50% 0; } }
    .cta__title { animation: reveal linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }

    .phero__object img {
      animation: wings-in 1.6s var(--ease-out) 0.35s both, hover 7s ease-in-out 2.2s infinite alternate, phero-object linear both;
      animation-timeline: auto, auto, --phero;
      animation-range: normal, normal, exit 0% exit 100%;
    }
    @keyframes phero-object { to { translate: 0 -10svh; scale: 1.12; opacity: 0.3; } }
    .phero__text { animation: phero-text linear both; animation-timeline: --phero; animation-range: exit 0% exit 80%; }
    @keyframes phero-text { to { translate: 0 -6svh; opacity: 0; } }

    /* Footer wordmark rises out of the glow */
    .footer__mark-text { animation: footer-mark linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes footer-mark { from { translate: -50% 100%; } to { translate: -50% 6%; } }

    /* Services: pinned horizontal scroll on wide screens */
    @media (min-width: 901px) {
      .hscroll { --pinned: 1; height: calc(100svh + var(--hs-distance, 150vw)); view-timeline: --hs block; }
      .hscroll__sticky {
        position: sticky; top: 0; height: 100svh;
        display: flex; flex-direction: column; justify-content: center;
      }
      .hscroll__track {
        width: max-content; overflow: visible; scroll-snap-type: none;
        animation: hs-move linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%;
      }
      @keyframes hs-move { to { translate: calc(-100% + 100vw) 0; } }
      .hscroll__progress span { animation: hs-progress linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
      @keyframes hs-progress { to { scale: 1 1; } }
      .hscroll__glow { animation: hs-glow linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
      @keyframes hs-glow { from { translate: -70% 0; } to { translate: -30% 0; } }
    }
  }
}

/* 15. Motion: fallbacks + reduced motion ----------------------------------- */
/* Browsers without scroll-driven animations get time-based reveals via IntersectionObserver */
@media (prefers-reduced-motion: no-preference) {
  .js.no-sda [data-reveal], .js.no-sda .step, .js.no-sda .marquee {
    opacity: 0; translate: 0 50px;
    transition: opacity 1s var(--ease-out), translate 1s var(--ease-out);
  }
  .js.no-sda .is-in { opacity: 1 !important; translate: 0 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .marquee__track, .band__track { animation: none !important; }
  .hero__wings-tilt, .hero__glow-core { transform: none; }
}

/* =========================================================================
   16. Service pages (websites.html and the five to follow)
   ========================================================================= */
.crumbs {
  position: relative; z-index: 2;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding: 0 var(--gutter);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3);
}
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

.phero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--void);
  view-timeline: --phero block;
  padding: clamp(112px, 16svh, 180px) 0 clamp(70px, 9vw, 130px);
}
.phero__glow {
  --glow-drop: 34svh;
  position: absolute; left: 22%; bottom: calc(-1 * var(--glow-drop)); z-index: -2;
  width: max(900px, 96vw); aspect-ratio: 1.5; translate: -50% 0;
  background: var(--ember-glow); opacity: 0.85;
  translate: -50% 0;
  -webkit-mask-image: linear-gradient(to top, transparent var(--glow-drop), #000 calc(var(--glow-drop) + 26svh));
  mask-image: linear-gradient(to top, transparent var(--glow-drop), #000 calc(var(--glow-drop) + 26svh));
  pointer-events: none;
}
.phero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 30px clamp(30px, 5vw, 80px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px) var(--gutter) 0;
}
.phero__title { font-size: clamp(58px, 9vw, 150px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.9; margin-top: 18px; }
.phero__line { margin-top: 20px; font-size: clamp(22px, 2.4vw, 38px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.phero__sub { margin-top: 18px; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); max-width: 48ch; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); }
.phero__object { justify-self: center; }
/* The tilt lives on the image itself: a transformed parent would cut it off from the glow it blends with */
.phero__object img {
  width: min(100%, 460px);
  mix-blend-mode: lighten;
  transform:
    perspective(1400px)
    translate3d(calc(var(--mx, 0) * 20px), calc(var(--my, 0) * 14px), 0)
    rotateY(calc(var(--mx, 0) * 9deg))
    rotateX(calc(var(--my, 0) * -6deg));
}

.includes { max-width: 1480px; margin-inline: auto; padding: clamp(90px, 11vw, 170px) var(--gutter) clamp(60px, 7vw, 110px); }
.includes__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px clamp(40px, 6vw, 100px); align-items: end; }
.includes__head .label { grid-column: 1 / -1; }
.includes__lede { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 21px); max-width: 44ch; }
.includes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(40px, 5vw, 70px); }
.inc {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(22px, 2vw, 32px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--carbon-2), var(--carbon));
  border: 1px solid var(--line);
  transition: border-color 0.4s, translate 0.5s var(--ease-out);
}
.inc::after, .rel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(224, 81, 47, 0.24), transparent 65%);
  opacity: 0; transition: opacity 0.5s;
}
.inc:hover::after, .rel:hover::after { opacity: 1; }
.inc:hover { border-color: rgba(255, 131, 82, 0.35); translate: 0 -4px; }
.inc h3 { font-size: clamp(24px, 2vw, 32px); font-weight: 500; letter-spacing: -0.03em; }
.inc > p { margin-top: 10px; color: var(--ink-2); max-width: 40ch; }
.inc ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.inc ul li { font-size: 13px; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2); }

.gets { max-width: 1480px; margin-inline: auto; padding: clamp(90px, 11vw, 170px) var(--gutter); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 7vw, 120px); }
.gets__head .h2 { margin-top: 20px; }
.gets__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2px 40px; align-self: center; }
.gets__list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: clamp(16px, 1.2vw, 19px); }
.gets__list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  border: 1px solid var(--ember); background: radial-gradient(circle at 50% 50%, var(--ember) 0 3px, transparent 3.5px);
}

.related { max-width: 1480px; margin-inline: auto; padding: 0 var(--gutter) clamp(90px, 11vw, 170px); }
.related__head .h2 { margin-top: 20px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(40px, 5vw, 70px); }
.rel {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(22px, 2vw, 32px); border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--carbon);
  transition: border-color 0.4s;
}
.rel:hover { border-color: rgba(255, 131, 82, 0.3); }
.rel h3 { margin-top: 16px; font-size: clamp(26px, 2.2vw, 36px); font-weight: 500; letter-spacing: -0.03em; }
.rel p { margin-top: 10px; color: var(--ink-2); }
.rel__soon { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 6px 10px; border-radius: 99px; }

/* Clickable service cards on the home page */
.card__link { transition: color 0.3s; }
/* The whole card is the click target: this overlay is positioned against .card, so the link
   must stay unpositioned or the overlay would shrink to the width of the title text. */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: var(--radius); cursor: pointer; }
.card:hover .card__link { color: var(--ember-hot); }
.card__go {
  position: absolute; right: clamp(20px, 1.8vw, 28px); bottom: clamp(20px, 1.8vw, 28px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink-2);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, translate 0.4s var(--ease-out);
}
.card__go::after { content: ""; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; margin-left: -3px; }
.card:hover .card__go { background: var(--ember); border-color: var(--ember); color: #150805; translate: 3px -3px; }

@media (max-width: 960px) {
  .phero__inner, .includes__head, .gets { grid-template-columns: 1fr; }
  .phero__object { order: -1; justify-self: start; }
  .phero__object img { width: min(60vw, 320px); }
}

/* Kinds of sites */
.kinds { max-width: 1480px; margin-inline: auto; padding: 0 var(--gutter) clamp(90px, 11vw, 160px); }
.kinds__head { max-width: 62ch; }
.kinds__head .h2 { margin-top: 20px; }
.kinds__lede { margin-top: 22px; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 21px); }
.kinds__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(34px, 4vw, 54px); }
.kinds__list li {
  padding: 14px 22px; border-radius: 99px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-size: clamp(16px, 1.3vw, 21px); color: var(--ink);
  transition: border-color 0.3s, background-color 0.3s, translate 0.4s var(--ease-out);
}
.kinds__list li:hover { border-color: rgba(255, 131, 82, 0.5); background: rgba(224, 81, 47, 0.12); translate: 0 -3px; }
.kinds__list li:last-child { color: var(--ink-2); border-style: dashed; }

/* Link out of a related card */
.rel__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 15px; font-weight: 500; color: var(--ember-text);
  border-bottom: 1px solid rgba(255, 131, 82, 0.35); padding-bottom: 3px;
  transition: gap 0.3s var(--ease-out), border-color 0.3s;
}
.rel__link::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; }
.rel__link:hover { gap: 14px; border-color: var(--ember-text); }

/* =========================================================================
   17. Get in touch: the drawer that slides in from the right
   ========================================================================= */
/* The dialog is a see-through shell over the whole screen: the panel slides in on the right,
   and the empty area on the left can hold the Close hint and take the click to dismiss. */
.drawer {
  position: fixed; inset: 0;
  width: 100vw; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: visible;
  color: var(--ink);
  transition: overlay 0.45s allow-discrete, display 0.45s allow-discrete;
}
.drawer[open] { display: block; }
.drawer::backdrop {
  background: rgba(4, 4, 5, 0.64);
  backdrop-filter: blur(20px) saturate(0.85);
  -webkit-backdrop-filter: blur(20px) saturate(0.85);
}

.drawer__panel {
  position: absolute; inset: 0 0 0 auto;
  width: var(--drawer-w); height: 100%;
  border-left: 1px solid var(--line-2);
  border-radius: clamp(20px, 2vw, 28px) 0 0 clamp(20px, 2vw, 28px);
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  box-shadow: -40px 0 90px rgba(0, 0, 0, 0.6);
  overflow: hidden auto; overscroll-behavior: contain;
  translate: 100% 0;
  transition: translate 0.45s var(--ease-out);
}
.drawer[open] .drawer__panel { translate: 0 0; }
@starting-style { .drawer[open] .drawer__panel { translate: 100% 0; } }

/* Follows the pointer across the page area */
.drawer__hint {
  position: fixed; top: 0; left: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 99px;
  background: rgba(26, 26, 30, 0.92); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  font-size: 15px; color: var(--ink); white-space: nowrap;
  pointer-events: none; opacity: 0; scale: 0.86;
  will-change: translate;
  transition: opacity 0.3s var(--ease-out), scale 0.45s var(--ease-out);
}
.drawer__hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); }
.drawer.is-hinting .drawer__hint { opacity: 1; scale: 1; }
.drawer__panel .drawer__glow {
  position: absolute; left: 50%; bottom: -30%; z-index: -1; pointer-events: none;
  width: 140%; aspect-ratio: 1.4; translate: -50% 0;
  background: var(--ember-glow); filter: blur(40px); opacity: 0.4;
  -webkit-mask-image: linear-gradient(to top, transparent 22%, #000 70%);
  mask-image: linear-gradient(to top, transparent 22%, #000 70%);
}
.drawer__head {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(18px, 2.4vw, 28px);
  background: linear-gradient(rgba(13, 13, 15, 0.95), rgba(13, 13, 15, 0.7));
  backdrop-filter: blur(10px);
}
.drawer__form { padding: 8px clamp(18px, 2.4vw, 28px) clamp(26px, 3vw, 38px); display: grid; gap: clamp(20px, 2.2vw, 28px); }
.drawer__title { font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
.drawer__title span { color: var(--ink-3); }

.field { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.field[hidden] { display: none; }   /* author display would otherwise beat the hidden attribute */
.field legend {
  padding: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
}
.field__note { color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input { display: grid; gap: 7px; margin: 0; }
.input label { font-size: 13px; color: var(--ink-2); }
.input abbr { color: var(--ember-text); text-decoration: none; }
.input input, .input textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 15px; width: 100%;
  transition: border-color 0.25s, background-color 0.25s;
}
.input textarea { resize: vertical; min-height: 110px; }
.input input::placeholder, .input textarea::placeholder { color: rgba(243, 240, 236, 0.32); }
.input input:focus, .input textarea:focus { outline: none; border-color: rgba(255, 131, 82, 0.6); background: rgba(255, 255, 255, 0.07); }
.input input:focus-visible, .input textarea:focus-visible { outline: 2px solid var(--ember-hot); outline-offset: 2px; }
.input--invalid input, .input--invalid textarea { border-color: #ff6b4a; }
.input--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbox { position: relative; }
.chipbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chipbox span {
  display: inline-block; padding: 10px 16px; border-radius: 99px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-size: 14px; color: var(--ink-2); cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.chipbox span:hover { border-color: rgba(255, 131, 82, 0.45); color: var(--ink); }
.chipbox input:checked + span { background: var(--ember); border-color: var(--ember); color: #140805; }
.chipbox input:focus-visible + span { outline: 2px solid var(--ember-hot); outline-offset: 2px; }

.drawer__submit { justify-content: center; width: 100%; }
.drawer__status { font-size: 14px; color: var(--ember-text); min-height: 1em; }
.drawer__status:empty { display: none; }
.drawer__small { font-size: 13px; color: var(--ink-3); line-height: 1.5; text-align: center;
  margin-top: -12px; }   /* the form grid spaces every field 28px apart; this line belongs to the button */
.drawer__small a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }

/* Its own dialog, so it can sit over the page instead of being clipped inside the drawer */
.confirm {
  position: fixed; top: 50%; left: calc((100vw - var(--drawer-w)) / 2);
  translate: -50% -50%; margin: 0;
  width: min(430px, calc(100vw - 32px)); max-width: none;
  padding: 30px 26px; border: 1px solid var(--line-2); border-radius: 24px;
  background: rgba(22, 22, 25, 0.96);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  color: var(--ink); text-align: center;
  opacity: 0; scale: 0.96;
  transition: opacity 0.25s var(--ease-out), scale 0.25s var(--ease-out), overlay 0.25s allow-discrete, display 0.25s allow-discrete;
}
.confirm[open] { display: grid; gap: 20px; opacity: 1; scale: 1; }
@starting-style { .confirm[open] { opacity: 0; scale: 0.96; } }
.confirm::backdrop { background: rgba(4, 4, 5, 0.5); backdrop-filter: blur(6px); }
.confirm p { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.confirm__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.confirm__actions .btn { padding: 12px 20px; font-size: 15px; }

@media (max-width: 560px) {
  .drawer__panel { border-radius: 0; border-left: 0; }
  .drawer__hint { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .confirm { left: 50%; }   /* the drawer fills the screen, so centre it there */
}

/* Legal pages */
.legal { max-width: 1000px; margin-inline: auto; padding: clamp(112px, 16svh, 180px) var(--gutter) clamp(80px, 10vw, 140px); }
.legal .crumbs { padding-inline: 0; }
.legal__head { margin-top: clamp(30px, 4vw, 54px); }
.legal__title { margin-top: 18px; font-size: clamp(40px, 5.6vw, 84px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
.legal__meta { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.prose { margin-top: clamp(40px, 5vw, 70px); display: grid; gap: 14px; max-width: 68ch; }
.prose h2 { margin-top: clamp(26px, 3vw, 42px); font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.03em; }
.prose p, .prose li { color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; }
.prose ul { display: grid; gap: 10px; padding-left: 2px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ember-text); border-bottom: 1px solid rgba(255, 131, 82, 0.35); }
.prose a:hover { border-color: var(--ember-text); }
.legal__cta { margin-top: clamp(50px, 6vw, 90px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal__cta p { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.footer__bottom a { margin-left: 14px; }


/* Page scroll is locked while the menu or the drawer is open */
html.is-locked, html.is-locked body { overflow: hidden; }

/* =========================================================================
   18. Living light: drifting hotspots inside the glow
   ========================================================================= */
.hero__drift {
  position: absolute; inset: 0; border-radius: 50%;
  mix-blend-mode: screen; pointer-events: none;
  will-change: transform, opacity;
}
.hero__drift--a {
  background: radial-gradient(closest-side, rgba(255, 200, 140, 1), rgba(240, 110, 60, 0.55) 44%, transparent 70%);
  filter: blur(30px);
  transform: translate(-12%, 6%) scale(0.5);
}
.hero__drift--b {
  background: radial-gradient(closest-side, rgba(255, 120, 55, 0.95), rgba(150, 35, 18, 0.5) 46%, transparent 72%);
  filter: blur(38px);
  transform: translate(14%, 2%) scale(0.42);
}
.hero__drift--c {
  background: radial-gradient(closest-side, rgba(255, 236, 205, 0.9), rgba(255, 140, 80, 0.35) 38%, transparent 66%);
  filter: blur(26px);
  transform: translate(2%, -6%) scale(0.3);
}

@media (prefers-reduced-motion: no-preference) {
  /* Wide travel and short cycles: the hotspots cross the frame instead of shuffling in place */
  .hero__drift--a { animation: drift-a 13s ease-in-out infinite alternate; }
  .hero__drift--b { animation: drift-b 17s ease-in-out infinite alternate; }
  .hero__drift--c { animation: drift-c 9.5s ease-in-out infinite alternate; }
  /* The core carries the brightness, so it moves too. It animates the translate property,
     leaving transform free for the pointer parallax. */
  .hero__glow-core { animation: ignite 2.2s var(--ease-out) 0.1s both, core-move 15s ease-in-out 2.2s infinite alternate; }

  @keyframes drift-a {
    0%   { transform: translate(-34%, 14%) scale(0.42) rotate(-14deg); opacity: 0.6; }
    50%  { transform: translate(18%, -10%) scale(0.85) rotate(10deg); opacity: 1; }
    100% { transform: translate(-10%, 20%) scale(0.5) rotate(-6deg); opacity: 0.8; }
  }
  @keyframes drift-b {
    0%   { transform: translate(38%, 8%) scale(0.36) rotate(12deg); opacity: 0.55; }
    50%  { transform: translate(-26%, 18%) scale(0.74) rotate(-12deg); opacity: 1; }
    100% { transform: translate(30%, -8%) scale(0.4) rotate(6deg); opacity: 0.75; }
  }
  @keyframes drift-c {
    0%   { transform: translate(-16%, -10%) scale(0.22) rotate(0deg); opacity: 0.45; }
    50%  { transform: translate(22%, 12%) scale(0.52) rotate(14deg); opacity: 1; }
    100% { transform: translate(-6%, 4%) scale(0.3) rotate(-8deg); opacity: 0.7; }
  }
  @keyframes core-move {
    0%   { translate: 0% 0%; scale: 1 1; }
    50%  { translate: 10% -4%; scale: 1.12 1.16; }
    100% { translate: -3% 5%; scale: 1.04 0.98; }
  }

  /* Service page glow: scale and rotate only, so the pointer parallax on translate still works */
  .phero__glow { animation: glow-sway 18s ease-in-out infinite alternate; }
  @keyframes glow-sway {
    0%   { scale: 0.92 1.02; rotate: -5deg; }
    50%  { scale: 1.2 0.9; rotate: 4deg; }
    100% { scale: 1.02 1.12; rotate: -2deg; }
  }
}

/* =========================================================================
   19. Living light on phones
   The desktop version blurs and blends four layers that also scale and rotate.
   Scaling a blurred layer forces a fresh rasterisation every frame, which a phone
   GPU cannot keep up with. Here nothing scales or rotates, so the blur is drawn
   once and the compositor only moves the cached texture -- which keeps the soft
   edges without the cost. One layer is dropped and the rest travel further and
   faster, so the light reads as alive on a small screen.
   ========================================================================= */
@media (max-width: 900px) {
  .hero__drift--c { display: none; }
  .hero__drift { will-change: translate, opacity; }

  .hero__drift--a {
    filter: blur(24px);
    transform: scale(0.66);
    background: radial-gradient(closest-side,
      rgba(255, 186, 126, 0.6) 0%, rgba(248, 143, 88, 0.48) 22%, rgba(240, 105, 56, 0.34) 42%,
      rgba(200, 72, 38, 0.19) 58%, rgba(150, 43, 23, 0.085) 72%, rgba(100, 27, 14, 0.028) 86%, transparent 100%);
  }
  .hero__drift--b {
    filter: blur(28px);
    transform: scale(0.58);
    background: radial-gradient(closest-side,
      rgba(255, 112, 50, 0.58) 0%, rgba(230, 85, 39, 0.42) 24%, rgba(190, 58, 28, 0.29) 44%,
      rgba(150, 33, 17, 0.165) 60%, rgba(105, 23, 11, 0.07) 76%, rgba(60, 13, 7, 0.02) 90%, transparent 100%);
  }
  .hero__glow-core {
    filter: blur(22px);
    background: radial-gradient(closest-side,
      var(--ember-hot) 0%, #f7854a 18%, #f26a38 30%, var(--ember) 45%, #a83420 58%,
      var(--oxide) 72%, rgba(70, 16, 9, 0.5) 84%, rgba(40, 9, 5, 0.19) 90%,
      rgba(26, 7, 4, 0.08) 95%, rgba(14, 4, 2, 0.022) 98%, transparent 100%);
  }

  @media (prefers-reduced-motion: no-preference) {
    .hero__drift--a { animation: drift-a-m 9s ease-in-out infinite alternate; }
    .hero__drift--b { animation: drift-b-m 11.5s ease-in-out infinite alternate; }
    .hero__glow-core { animation: ignite 2.2s var(--ease-out) 0.1s both, core-move-m 10s ease-in-out 2.2s infinite alternate; }

    /* These two start at t=0, so their first keyframe need not be the resting
       position. core-move-m waits 2.2s, so its first keyframe has to be 0 0. */
    @keyframes drift-a-m {
      0%   { translate: -40% 16%; opacity: 0.55; }
      50%  { translate: 10% -14%; opacity: 1; }
      100% { translate: 26% 12%;  opacity: 0.8; }
    }
    @keyframes drift-b-m {
      0%   { translate: 36% 10%;  opacity: 0.5; }
      50%  { translate: -14% 20%; opacity: 1; }
      100% { translate: -30% -6%; opacity: 0.78; }
    }
    @keyframes core-move-m {
      0%   { translate: 0% 0%; }
      50%  { translate: 13% -5%; }
      100% { translate: -7% 6%; }
    }
  }
}

/* Honeypot: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   20. Short windows: reclaim whitespace only
   On a wide but short window the hero is taller than the screen and the
   wordmark falls below the fold. Nothing here changes the type, the wordmark
   or any animation -- it only tightens the empty space between the pieces.
   ========================================================================= */
@media (min-width: 901px) and (max-height: 840px) {
  .hero__content { padding-top: clamp(76px, 11svh, 146px); }
  .hero__title { margin-top: 16px; }
  .hero__groups { margin-top: 22px; }
  .hero__meta { padding-top: 18px; margin-bottom: calc(9.6vw + 6px); }
}
