/* =========================================================
   Tech AI Innovations — styles
   Brand colors live in :root below. Change them in one place.
   ========================================================= */

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand colors (Deep Purple is the exact value used on the current techaii.com) */
  --purple: #2D236D;
  --purple-deep: #221A55;
  --orange: #FF8F39;
  --orange-ink: #AD4F08;   /* darker orange for small text on light backgrounds (AA contrast) */
  --charcoal: #25252F;
  --charcoal-deep: #1B1B23;
  --white: #FFFFFF;
  --lavender: #F2F0FA;     /* proposed supporting color */
  --muted: #8175B5; --muted-ink: #685C9F;        /* proposed supporting color */
  --lilac: #BDB2F5;        /* soft emphasis on dark backgrounds (not clickable) */
  /* Highlighter rule: orange is reserved for things you can click (buttons, links) plus the logo, compass and tape. */
  --line-light: rgba(255,255,255,.16);
  --line-dark: rgba(37,37,47,.16);

  --f-display: "Syne", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Albert Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1400px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--charcoal); }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .75rem 1rem;
  background: var(--orange); color: var(--charcoal); font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.accent { color: var(--lilac); }
.chapter--light .accent, .chapter--lavender .accent { color: var(--purple); }
.hero .accent { color: var(--orange); }
.outline-dark  { color: transparent; -webkit-text-stroke: 2px var(--charcoal); }
.outline-light { color: transparent; -webkit-text-stroke: 2px var(--white); }

.eyebrow {
  font-family: var(--f-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--purple);
  margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--lilac); }

/* Headlines scale to fit their box: --fit is the width of the longest word in "em" */
.fit-box { container-type: inline-size; min-width: 0; }
.display {
  font-family: var(--f-display); font-weight: 800;
  font-size: min(var(--max-size, 8.5rem), calc(100cqi / var(--fit, 12.4)));
  letter-spacing: -.045em; line-height: .9;
  text-transform: uppercase;
}
.display--light { color: var(--white); }

.section-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: start; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-num {
  font-family: var(--f-display); font-weight: 800; line-height: .8;
  font-size: clamp(4rem, 13vw, 13rem); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px var(--muted);
}
.section-head--light .section-num { -webkit-text-stroke-color: rgba(255,255,255,.35); }
@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; gap: .5rem; }
  .section-num { font-size: 4.5rem; }
}
.section-sub { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); margin: 1.5rem 0 0; font-weight: 500; }
.small-note { font-size: .9rem; opacity: .75; margin-top: .75rem; max-width: 42rem; }

.chapter { position: relative; padding: clamp(5rem, 12vw, 10rem) 0; }
.chapter--purple   { background: var(--purple); color: var(--white); }
.chapter--charcoal { background: var(--charcoal); color: var(--white); }
.chapter--light    { background: var(--white); color: var(--charcoal); }
.chapter--lavender { background: var(--lavender); color: var(--charcoal); }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .9rem 1.6rem; border-radius: 999px;
  font: 700 1rem/1 var(--f-body); letter-spacing: .02em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease-out);
}
.btn--orange { background: var(--orange); color: var(--charcoal); box-shadow: 0 14px 34px -12px rgba(255,143,57,.7), 0 2px 6px rgba(0,0,0,.12); }
.btn--orange:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

.link-arrow {
  display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; text-decoration: none;
  color: var(--orange-ink); border-bottom: 2px solid currentColor; padding-bottom: .15rem;
}
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

.tag {
  display: inline-block; padding: .3rem .7rem; border-radius: 999px;
  border: 1.5px solid var(--line-dark); color: var(--charcoal);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem var(--gutter);
  transition: background .35s, padding .35s, box-shadow .35s;
}
.nav.is-scrolled { background: rgba(34,26,85,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); padding-block: .5rem; }
.nav__logo img { width: clamp(96px, 9vw, 128px); height: auto; }
.nav__menu ul { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); list-style: none; align-items: center; }
.nav__menu a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: .4rem 0; }
.nav__menu a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav__menu a:not(.nav__cta):hover::after, .nav__menu a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 2px solid var(--orange); border-radius: 999px; padding: .55rem 1.1rem !important; color: var(--orange) !important; transition: background .25s, color .25s; }
.nav__cta:hover { background: var(--orange); color: var(--charcoal) !important; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; color: var(--white);
    font: 600 .95rem var(--f-body); cursor: pointer; padding: .6rem; min-height: 44px; position: relative; z-index: 2;
  }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
  .nav__toggle-bars { position: relative; }
  .nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav__toggle-bars::before { top: -7px; } .nav__toggle-bars::after { top: 7px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .js .nav__menu {
    position: fixed; inset: 0; background: var(--purple); display: flex; align-items: center; padding: 6rem var(--gutter) 3rem;
    clip-path: circle(0% at calc(100% - 3rem) 2.5rem); transition: clip-path .6s var(--ease-out); visibility: hidden;
  }
  .js .nav.is-open .nav__menu { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); visibility: visible; }
  .nav__menu ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .js .nav__menu a { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.5rem); letter-spacing: -.03em; }
  .js .nav__cta { border: 0; padding: .4rem 0 !important; }
  /* No-JS: show links inline below the logo */
  html:not(.js) .nav { flex-wrap: wrap; position: absolute; }
  html:not(.js) .nav__menu ul { flex-direction: row; flex-wrap: wrap; gap: .75rem 1.25rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh; min-height: 100svh; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 80% at 85% 10%, #3a2e86 0%, var(--purple) 45%, var(--purple-deep) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 88px);
  opacity: .35;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__circuit { position: absolute; left: 0; top: 11%; width: min(40vw, 520px); color: var(--orange); opacity: .28; }
.hero__circuit .trace { stroke-dasharray: 600; stroke-dashoffset: 0; }

@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__inner { position: relative; z-index: 2; width: 100%; padding: 7rem var(--gutter) clamp(2rem, 5vw, 4rem); }
.hero__eyebrow { color: var(--lilac); }
.hero__title {
  font-family: var(--f-display); font-weight: 800; color: var(--white);
  font-size: min(15rem, calc((100vw - 2 * var(--gutter)) / 12.5));
  letter-spacing: -.055em; line-height: .86; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) -.04em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--outline { color: transparent; -webkit-text-stroke: clamp(1.5px, .25vw, 3px) var(--white); }
.hero__line--outline .accent { color: var(--orange); -webkit-text-stroke: 0; }
.hero__line .char { display: inline-block; will-change: transform; }
.js .hero__line .char { transform: translateY(110%); opacity: 0; }
.js .is-loaded .hero__line .char { animation: rise .6s var(--ease-out) forwards; animation-delay: calc(var(--i) * 14ms); }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }
.hero__line .char-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; margin-bottom: -.04em; }

.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.hero__lede { max-width: 34rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.45; color: rgba(255,255,255,.9); margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__link { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: .15rem; }
.hero__link:hover { color: var(--orange); border-color: var(--orange); }
.js .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .is-loaded .fade-up { opacity: 1; transform: none; transition-delay: .9s; }
.js .is-loaded .fade-up + .fade-up { transition-delay: 1.05s; }

.compass { position: absolute; z-index: 1; right: var(--gutter); top: clamp(5.5rem, 13vh, 8rem); width: clamp(110px, 14vw, 210px); }
.compass svg { width: 100%; overflow: visible; }
.compass__ring { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.compass__ring--inner { stroke-dasharray: 2 6; stroke: rgba(255,255,255,.4); }
.compass__ticks line { stroke: var(--orange); stroke-width: 3; }
.compass__n { fill: var(--white); font: 800 16px var(--f-display); text-anchor: middle; }
.compass__needle { transform-origin: 100px 100px; transform: rotate(var(--needle, 0deg)); }
.js .compass__needle { --needle: 140deg; }
.needle-n { fill: var(--orange); }
.needle-s { fill: rgba(255,255,255,.85); }
.needle-hub { fill: var(--purple); stroke: var(--white); stroke-width: 2; }

.hero__tile {
  position: absolute; z-index: 2; right: calc(var(--gutter) + clamp(110px, 14vw, 210px) + 1.5rem); top: calc(clamp(5.5rem, 13vh, 8rem) + clamp(110px, 14vw, 210px) - 4.6rem);
  width: 17.5rem; padding: .9rem 1rem 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 10px;
  background: rgba(27,27,35,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--white); overflow: hidden;
}
.hero__tile-label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: .35rem; }
.hero__tile-list { list-style: none; position: relative; height: 1.6em; font-weight: 600; overflow: hidden; }
.hero__tile-list li { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .6s var(--ease-out); white-space: nowrap; }
.hero__tile-list li.is-active { opacity: 1; transform: none; }
.hero__tile-list li.is-out { opacity: 0; transform: translateY(-100%); }
html:not(.js) .hero__tile-list li:first-child { opacity: 1; transform: none; }
.hero__tile-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.hero__tile.is-cycling .hero__tile-bar { animation: bar 2.8s linear infinite; }
@keyframes bar { to { transform: scaleX(1); } }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); text-decoration: none; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue__line { width: 2px; height: 42px; background: linear-gradient(var(--orange), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 860px) {
  .hero__tile { display: none; }
  .compass { top: 5.5rem; opacity: .9; }
  .hero__circuit { width: 80vw; top: 30%; opacity: .3; }
  .scroll-cue { display: none; }
}

/* =========================================================
   POSITIONING / MARQUEE
   ========================================================= */
.positioning { padding: clamp(4rem, 9vw, 8rem) 0 0; overflow: hidden; background: var(--charcoal); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 14vw, 14rem);
  line-height: 1; letter-spacing: -.05em; padding-right: .3em; color: var(--white); white-space: nowrap;
}
.marquee__track .outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.marquee__track .o { color: var(--lilac); }
html:not(.js) .marquee__track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tape { position: relative; z-index: 2; margin: clamp(-2rem, -3vw, -1rem) -5vw 0; transform: rotate(-3deg); background: var(--orange); color: var(--charcoal); overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.tape__track { display: flex; width: max-content; gap: 1.5rem; padding: .9rem 0; animation: marquee 26s linear infinite reverse; }
.tape__track span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1rem, 2vw, 1.6rem); letter-spacing: .02em; white-space: nowrap; }

.statement { padding-top: clamp(5rem, 12vw, 10rem); padding-bottom: clamp(5rem, 12vw, 10rem); background: var(--charcoal); }
.statement__text {
  font-family: var(--f-display); font-weight: 700; color: var(--white);
  font-size: clamp(2rem, 5.4vw, 5.6rem); line-height: 1.04; letter-spacing: -.04em; max-width: 18ch; margin: 0;
}
.statement__text em { font-style: normal; color: var(--lilac); }
.statement__text .word { display: inline-block; transition: opacity .5s, transform .6s var(--ease-out); }
.js .statement__text .word { opacity: .14; }
.js .statement__text .word.is-on { opacity: 1; }

/* =========================================================
   SOLUTIONS
   ========================================================= */
.solutions__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.projects { list-style: none; container-type: inline-size; min-width: 0; }
.project { border-top: 1px solid var(--line-dark); }
.project:last-child { border-bottom: 1px solid var(--line-dark); }
.project__btn {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1.5rem; width: 100%; text-align: left;
  padding: clamp(1.75rem, 4vw, 3.25rem) 0; background: none; border: 0; color: inherit; cursor: pointer; font: inherit;
}
.project__num { grid-row: span 4; font-family: var(--f-display); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.4rem); color: var(--muted-ink); padding-top: .5em; }
.project__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: min(4.6rem, calc((100cqi - 4rem) / var(--fit, 13.4))); line-height: .95; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--charcoal);
  background: linear-gradient(90deg, var(--charcoal) 50%, transparent 50%) right / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position .8s var(--ease-out);
}
.project.is-active .project__title, .project__btn:hover .project__title, .project__btn:focus-visible .project__title { background-position: left; }
.project__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.project__status { font-size: .8rem; font-weight: 600; opacity: .65; margin-top: .2rem; }
.project__more { font-weight: 700; color: var(--orange-ink); margin-top: .3rem; display: inline-flex; gap: .4rem; }
.project__btn:hover .project__more span { transform: translateX(6px); }
.project__more span { transition: transform .3s var(--ease-out); }
.project__cover-inline { display: none; }

.covers { position: sticky; top: 14vh; }
.covers__frame {
  --rx: 0deg; --ry: 0deg; --tx: 0px; --ty: 0px;
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: var(--purple); box-shadow: 0 40px 80px -30px rgba(45,35,109,.55);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate(var(--tx), var(--ty));
  transition: transform .5s var(--ease-out);
}
.cover { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s var(--ease-out); }
.cover.is-active { opacity: 1; transform: none; }
html:not(.js) .covers { display: none; }

/* SVG cover parts */
.c-bg { fill: var(--purple); }
.c-grid path { stroke: rgba(255,255,255,.07); stroke-width: 1; fill: none; }
.c-label { fill: #F7F5EE; }
.c-ink { fill: var(--charcoal); }
.c-ink-soft { fill: rgba(37,37,47,.35); }
.c-barcode rect { fill: var(--charcoal); }
.c-box { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 4; }
.c-scan { fill: var(--orange); opacity: .9; }
.c-panel { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.25); }
.c-stroke-o { stroke: var(--orange); stroke-width: 3; fill: none; }
.c-stroke-w { stroke: rgba(255,255,255,.8); stroke-width: 3; fill: none; }
.c-dash { stroke-dasharray: 5 6; }
.c-type { fill: rgba(255,255,255,.75); }
.c-fill-o { fill: var(--orange); }
.c-fill-w { fill: rgba(255,255,255,.7); }
.c-fill-p { fill: var(--purple); }
.c-bubble-o { fill: var(--orange); }
.c-hl { fill: var(--orange); opacity: .75; }
.c-caption { fill: rgba(255,255,255,.65); font: 700 11px var(--f-body); letter-spacing: .18em; }
.c-caption--sm { font-size: 9px; }
.c-net line { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.node { fill: var(--purple); stroke: var(--orange); stroke-width: 3; }
.node--hub { fill: var(--orange); }
.typing circle { fill: rgba(255,255,255,.6); }
.m { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.2); }
.m--hot { fill: var(--orange); }
.c-road { stroke-dasharray: 260; }

/* Cover animations (paused unless the cover is active) */
.cover * { animation-play-state: paused; }
.cover.is-active * { animation-play-state: running; }
.c-scan { animation: scan 2.6s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(147px); } }
.d2 .c-scan { animation-name: scan2; }
@keyframes scan2 { from { transform: translateY(0); } to { transform: translateY(115px); } }
.c-box--a { animation: blink 2.6s steps(2) infinite; }
.c-box--b { animation: blink 2.6s 1.3s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.c-results { animation: up 3s var(--ease-out) infinite; }
@keyframes up { 0% { opacity: 0; transform: translateY(12px); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.bub { animation: up 4.5s var(--ease-out) infinite both; }
.b2 { animation-delay: .5s; } .b3 { animation-delay: 1s; }
.typing circle { animation: dot 1.2s ease-in-out infinite; }
.typing circle:nth-child(2) { animation-delay: .15s; } .typing circle:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); fill: var(--orange); } }
.node { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.n2 { animation-delay: .4s; } .n3 { animation-delay: .8s; }
@keyframes pulse { 50% { transform: scale(1.3); } }
.doc { animation: float 5s ease-in-out infinite; }
.d2 { animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.c-dash { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.f { animation: up 4s var(--ease-out) infinite both; }
.f2 { animation-delay: .3s; } .f3 { animation-delay: .6s; } .f4 { animation-delay: .9s; }
.m { animation: mpulse 3s ease-in-out infinite; }
.m2, .m6 { animation-delay: .5s; } .m4, .m8 { animation-delay: 1s; } .m3, .m7 { animation-delay: 1.5s; }
.m--hot { animation: none; }
@keyframes mpulse { 50% { fill: rgba(255,255,255,.22); } }
.c-road { animation: road 3.5s var(--ease-out) infinite; }
@keyframes road { from { stroke-dashoffset: 260; } 60%, to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
  .solutions__layout { grid-template-columns: 1fr; }
  .covers { display: none; }
  .js .project__cover-inline { display: block; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; margin-bottom: 2rem; position: relative; background: var(--purple); }
  .project__cover-inline .cover { opacity: 1; transform: none; }
}

/* =========================================================
   CASE STUDY OVERLAYS
   ========================================================= */
/* Without JavaScript the case studies show as a normal section */
.cases { background: var(--white); }
html:not(.js) .case { padding: 4rem var(--gutter); border-top: 1px solid var(--line-dark); max-width: var(--max); margin: 0 auto; }
html:not(.js) .case__close, html:not(.js) .case [data-close] { display: none; }

.js .case {
  position: fixed; inset: 0; z-index: 150; overflow-y: auto; overscroll-behavior: contain;
  background: var(--charcoal); color: var(--white); visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility 0s .6s;
}
.js .case.is-open { visibility: visible; opacity: 1; transition: opacity .35s .35s, visibility 0s; }
.case__inner { max-width: 1100px; margin: 0 auto; padding: clamp(5rem, 9vw, 7rem) var(--gutter) 5rem; position: relative; }
.case__close {
  position: sticky; top: 1rem; float: right; margin-top: -3.5rem; z-index: 2;
  background: var(--white); color: var(--charcoal); border: 0; border-radius: 999px; padding: .7rem 1.2rem; min-height: 44px;
  font: 700 .95rem var(--f-body); cursor: pointer; display: inline-flex; gap: .5rem; align-items: center;
}
.case__close:hover { background: var(--orange); }
.case__num { color: var(--lilac); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.case__inner { container-type: inline-size; }
.case__title { font-family: var(--f-display); font-weight: 800; font-size: min(6rem, calc(100cqi / var(--fit, 13.6))); letter-spacing: -.045em; line-height: .92; margin: .5rem 0 clamp(2rem, 5vw, 4rem); text-transform: uppercase; }
.case__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.case h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin: 2rem 0 .75rem; color: var(--lilac); }
.case h4:first-child { margin-top: 0; }
.case ul { padding-left: 1.2rem; }
.case li { margin-bottom: .4rem; }
.case li::marker { color: var(--lilac); }
.case__aside { border-left: 2px solid var(--muted); padding-left: 1.5rem; align-self: start; }
.case__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .25rem; }
.case__cta { margin-top: 3rem; }
html:not(.js) .case { background: var(--white); color: var(--charcoal); }
html:not(.js) .case__label { color: inherit; opacity: .7; }
@media (max-width: 760px) { .case__grid { grid-template-columns: 1fr; } }

/* Chapter wipe (purple + orange panels) */
.wipe { position: fixed; inset: 0; z-index: 160; pointer-events: none; }
.wipe span { position: absolute; inset: 0; transform: translateY(100%); }
.wipe span:first-child { background: var(--orange); }
.wipe span:last-child { background: var(--purple); }
.wipe.is-running span { animation: wipe .9s var(--ease) forwards; }
.wipe.is-running span:last-child { animation-delay: .08s; }
@keyframes wipe { 0% { transform: translateY(100%); } 45%, 55% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
body.has-modal { overflow: hidden; }

/* =========================================================
   SERVICES
   ========================================================= */
.service-list { border-top: 2px solid var(--charcoal); }
.service { border-bottom: 1px solid var(--line-dark); }
.service summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: clamp(3.2rem, 8vw, 7.5rem) minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: clamp(1.25rem, 2.8vw, 2.2rem) 0; position: relative; transition: padding .4s var(--ease-out);
}
.service summary::-webkit-details-marker { display: none; }
.service summary::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--purple); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); z-index: 0; }
.service summary > * { position: relative; z-index: 1; transition: color .3s, -webkit-text-stroke-color .3s; }
@media (hover: hover) {
  .service summary:hover::before { transform: scaleY(1); }
  .service summary:hover { color: var(--white); padding-left: 1rem; }
  .service summary:hover .service__num { -webkit-text-stroke-color: var(--lilac); }
}
.service__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--charcoal); }
.service__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
.service__icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--orange); position: relative; flex: none; }
.service__icon::before, .service__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--orange); transform: translate(-50%, -50%); transition: transform .35s var(--ease-out); }
.service__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] .service__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.service[open] .service__icon { background: var(--orange); }
.service[open] .service__icon::before, .service[open] .service__icon::after { background: var(--charcoal); }
.service__body { display: grid; grid-template-columns: clamp(3.2rem, 8vw, 7.5rem) 1fr 1fr; gap: 1rem 2rem; padding: 0 0 2.5rem; }
.service__body > * { grid-column: 2; }
.service__body > p { font-size: 1.15rem; margin: 0; }
.service__items { grid-column: 2; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.service__items li { padding: .35rem .8rem; border-radius: 999px; background: var(--white); font-size: .9rem; font-weight: 600; }
.service__meta { grid-column: 3; grid-row: 1 / span 2; display: grid; gap: 1rem; margin: 0; align-content: start; }
.service__meta dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-ink); font-weight: 700; }
.service__meta dd { margin: 0; font-weight: 600; }
.service__body .link-arrow { justify-self: start; }
.js .service[open] .service__body { animation: open .5s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 760px) {
  .service summary { grid-template-columns: 3.2rem 1fr auto; }
  .service__body { grid-template-columns: 1fr; }
  .service__body > *, .service__meta, .service__items { grid-column: 1; grid-row: auto; }
  .service__meta { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   APPROACH (pinned horizontal on desktop)
   ========================================================= */
.approach { padding: 0; background: var(--purple); }
.approach__head { padding-top: clamp(5rem, 10vw, 8rem); }
.approach__head { container-type: inline-size; }
.approach__head .display { --fit: 12.2; --max-size: 7rem; }
.approach__progress { height: 3px; background: rgba(255,255,255,.15); margin-top: 2.5rem; border-radius: 3px; overflow: hidden; }
.approach__progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--lilac); }
.approach__track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 3rem var(--gutter) clamp(5rem, 10vw, 8rem); max-width: var(--max); margin: 0 auto; position: relative; }
.step { position: relative; padding: 2rem 2rem 2rem 0; border-top: 2px solid rgba(255,255,255,.2); }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 0 6px rgba(189,178,245,.2); }
.step__num { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 9vw, 9rem); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--lilac); }
.step__art { width: 160px; height: 100px; margin: 1.5rem 0; }
.sa-stroke { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 3; }
.sa-o { stroke: var(--lilac); }
.sa-fill { fill: var(--lilac); }
.step__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.step p { color: rgba(255,255,255,.85); max-width: 26rem; }

/* Desktop pinned mode, switched on by JS */
@media (min-width: 961px) {
  .approach.is-pinned { height: var(--pin-h, 400vh); }
  .approach.is-pinned .approach__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .approach.is-pinned .approach__head { padding-top: 5rem; }
  .approach.is-pinned .approach__head .display { font-size: min(5rem, 8.5vh, calc(100cqi / 18)); max-width: none; }
  .approach.is-pinned .approach__progress { margin-top: 1.5rem; }
  .approach.is-pinned .step__art { height: min(100px, 9vh); margin: 1rem 0; }
  .approach.is-pinned .step__title { font-size: min(3rem, 5.5vh); }
  .approach.is-pinned .approach__track { display: flex; width: max-content; max-width: none; margin: 0; padding: 3rem var(--gutter) 3rem; will-change: transform; transform: translateX(var(--x, 0px)); }
  .approach.is-pinned .step { width: min(44vw, 560px); flex: none; padding-right: 4rem; }
  .approach.is-pinned .step__num { font-size: min(9rem, 13vh); }
}
@media (max-width: 960px) {
  .approach__track { grid-template-columns: 1fr; }
  .step { border-top: 0; border-left: 2px solid rgba(255,255,255,.2); padding: 0 0 3rem 2rem; }
  .step::before { top: .6rem; left: -7px; }
}

/* =========================================================
   WHY
   ========================================================= */
.why { background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%); }
.why .display { --fit: 12; --max-size: 7rem; }
.why__layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.principles { list-style: none; counter-reset: pr; }
.principles li { counter-increment: pr; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .5rem 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line-light); align-items: baseline; transition: background .3s; }
.principles li::before { content: counter(pr, decimal-leading-zero); color: var(--lilac); font-weight: 700; font-size: .85rem; }
.principles__k { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.principles__v { grid-column: 2; color: rgba(255,255,255,.78); max-width: 36rem; }

@media (max-width: 760px) { .principles li { grid-template-columns: 2.4rem 1fr; } }

.metrics { display: grid; gap: 2rem; position: sticky; top: 8rem; }
.metric { padding: 2rem; border-radius: 14px; background: var(--purple); position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border: 2px solid var(--lilac); border-radius: 50%; opacity: .4; }
.metric__value { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 9vw, 8rem); line-height: .9; letter-spacing: -.05em; color: var(--white); }
.metric__label { display: block; margin-top: .75rem; font-weight: 600; max-width: 16rem; }

.testimonials { margin-top: clamp(5rem, 10vw, 8rem); }
.testimonials__title { font-family: var(--f-body); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lilac); margin-bottom: 2rem; font-weight: 700; }
.testimonials__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote { margin: 0; padding: 2rem 0 0; border-top: 2px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.quote blockquote { margin: 0; position: relative; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-weight: 800; font-size: 4rem; line-height: .6; color: var(--lilac); margin-bottom: .5rem; }
.quote p { font-size: 1.05rem; color: rgba(255,255,255,.9); margin: 0; }
.quote figcaption strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.quote figcaption span { font-size: .9rem; color: rgba(255,255,255,.65); }
@media (max-width: 960px) { .why__layout, .testimonials__list { grid-template-columns: 1fr; } .metrics { position: static; } }

/* =========================================================
   ABOUT & FOUNDER
   ========================================================= */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lead { font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem); line-height: 1.3; font-weight: 600; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; height: auto; border-radius: 14px; filter: saturate(.9); }
.about__photo figcaption { font-size: .8rem; margin-top: .6rem; opacity: .7; }
.founder { margin-top: clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3rem, 6vw, 5rem); border-top: 2px solid var(--line-dark); }
.founder__visual { position: relative; margin: 0 0 clamp(2rem, 6vw, 4rem); container-type: inline-size; max-width: 34rem; }
.founder__visual::before { content: ""; position: absolute; inset: .9rem -.75rem -.9rem .9rem; border: 2px solid var(--muted); border-radius: 14px; }
.founder__visual img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.founder__name { position: absolute; left: -.04em; bottom: -.5em; font-family: var(--f-display); font-weight: 800; font-size: 19.5cqi; line-height: .82; letter-spacing: -.06em; color: var(--white); text-shadow: 0 2px 24px rgba(37,37,47,.25); }
.founder__name span { display: block; }
.founder__name span:last-child { color: var(--purple); text-shadow: none; }
.founder__title { font-family: var(--f-display); font-weight: 800; font-size: 2rem; letter-spacing: -.02em; margin-bottom: 1rem; }
.founder__facts { list-style: none; margin-top: 1.5rem; }
.founder__facts li { padding: .7rem 0 .7rem 1.8rem; border-top: 1px solid var(--line-dark); position: relative; }
.founder__facts li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 10px; height: 10px; border: 2px solid var(--muted); border-radius: 50%; }
@media (max-width: 860px) { .about__grid, .founder { grid-template-columns: 1fr; } }

/* =========================================================
   COLLABORATION
   ========================================================= */
.collab { overflow: hidden; }
.collab::before { content: ""; position: absolute; right: -10vw; top: -10vw; width: 50vw; height: 50vw; border: 2px solid rgba(189,178,245,.25); border-radius: 50%; pointer-events: none; }
.collab .wrap { container-type: inline-size; }
.collab__title { --fit: 11.2; --max-size: 9rem; max-width: 12ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.collab__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; }
.collab__lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.45; }
.collab__roles { list-style: none; }
.collab__roles li { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); padding: .5rem 0; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; letter-spacing: -.02em; }

.collab__note { margin: 2.5rem 0 2rem; color: rgba(255,255,255,.7); font-size: .95rem; }
.jobs { list-style: none; margin-bottom: 2rem; }
.job { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding: 1.25rem 0; border-top: 1px solid var(--line-light); }
.job__title { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.collab .link-arrow { color: var(--orange); }
@media (max-width: 760px) { .collab__grid { grid-template-columns: 1fr; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: radial-gradient(90% 70% at 100% 100%, var(--purple) 0%, var(--charcoal) 60%); }
.contact .wrap { container-type: inline-size; }
.contact .display { --fit: 11.3; }
.contact__email {
  display: inline-block; margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
  font-family: var(--f-display); font-weight: 800; font-size: min(7rem, calc(100cqi / 16.8)); letter-spacing: -.045em; line-height: 1;
  color: var(--white); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0% 6px no-repeat; padding-bottom: .1em; transition: background-size .6s var(--ease-out), color .3s;
}
.contact__email:hover { background-size: 100% 6px; color: var(--orange); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__info p { color: rgba(255,255,255,.85); }
.contact__info dl { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact__info dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); font-weight: 700; }
.contact__info dd { margin: 0; font-size: 1.15rem; font-weight: 600; }
.contact__info a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact__info a:hover { color: var(--orange); border-color: var(--orange); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-light); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--lilac); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--f-body); color: var(--white);
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.28); border-radius: 10px;
  padding: .85rem 1rem; min-height: 3.2rem; transition: border-color .25s, background .25s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { color: var(--charcoal); background: var(--white); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(255,143,57,.3); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #FF8A80; }
.field__error { color: #FFB4AB; font-size: .88rem; margin: 0; min-height: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__hint { margin: 0; font-size: .85rem; color: rgba(255,255,255,.65); }
.form__status { border-radius: 10px; }
.form__status:empty { display: none; }
.form__status { padding: 1rem 1.25rem; background: rgba(255,255,255,.08); border-left: 4px solid var(--orange); }
.form__status.is-error { border-color: #FF8A80; }
.form__status a { color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact__grid, .form { grid-template-columns: 1fr; } }

/* =========================================================
   AI CHECK (free sample)
   ========================================================= */
.check { padding-block: clamp(4rem, 9vw, 7rem); background: var(--white); }
.check__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.check__intro { position: sticky; top: 7rem; }
.check__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 1.25rem; text-wrap: balance; }
.check__intro p:last-child { max-width: 30rem; color: rgba(37,37,47,.8); }
.check__card { margin: 0; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 18px; background: var(--lavender); box-shadow: 0 30px 70px -40px rgba(45,35,109,.55); display: grid; gap: 1.75rem; }
.check__q { border: 0; padding: 0; margin: 0; min-width: 0; }
.check__q legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-dark); background: var(--white); font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: var(--purple); }
.chips input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check__hint { margin: 0; font-size: .9rem; color: rgba(37,37,47,.7); }
.check__result { padding: 1.5rem; border-radius: 14px; background: var(--white); border: 1px solid var(--line-dark); }
.check__result h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; margin: .25rem 0 .75rem; }
.check__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-ink); font-weight: 700; margin: 0; }
.check__result ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.check__result li { margin-bottom: .35rem; }
@media (max-width: 860px) { .check__grid { grid-template-columns: 1fr; } .check__intro { position: static; } }

.motion-toggle { min-height: 28px; } .motion-toggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.motion-toggle:hover { color: var(--orange); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--charcoal-deep); color: var(--white); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 4rem; align-items: start; }
.footer__logo { width: 150px; height: auto; }
.footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer address { font-style: normal; line-height: 1.9; color: rgba(255,255,255,.8); }
.footer__wordmark {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: calc((100vw - 2rem) / 17.8); letter-spacing: -.055em; line-height: .8; margin: clamp(3rem, 7vw, 6rem) 0 0; text-align: center;
  color: var(--white);
}
.footer__wordmark .accent { color: var(--orange); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; font-size: .9rem; color: rgba(255,255,255,.65); border-top: 1px solid var(--line-light); margin-top: 2rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }

/* =========================================================
   Scroll reveal helpers
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Reduced motion: show everything, stop movement
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .hero__line .char, .js .fade-up, .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .statement__text .word { opacity: 1; }
  .js .hero__circuit .trace { stroke-dashoffset: 0; }
  .js .compass__needle { --needle: 0deg; }
  .tape__track, html:not(.js) .marquee__track { animation: none; }
  .cover * { animation: none !important; }
  .wipe { display: none; }
}

/* Same as above, for visitors who switch motion off with the footer toggle */
html.motion-off { scroll-behavior: auto; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
html.motion-off .hero__line .char, html.motion-off .reveal { opacity: 1 !important; transform: none !important; }
html.motion-off .statement__text .word { opacity: 1; }
html.motion-off .compass__needle { --needle: 0deg; }
html.motion-off .tape__track { animation: none; }
html.motion-off .cover * { animation: none !important; }
html.motion-off .wipe { display: none; }
