/* ============================================================
   ULTRABASIC LABS — the site · "Pink dawn" system
   White canvas · warm cream cards · candy-pink pill CTAs ·
   uppercase weight-900 display type · flat, hairline-separated.
   This is the live design. The retired one is in _archive/v1/.
   ============================================================ */

/* ------------------------------------------------------------ tokens */
/* drives the rotating brand-foil ring (ask bar, ask panel) */
@property --holo-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --canvas: #ffffff;
  --cream: #fffcf6;
  --ink: #000000;
  --charcoal: #333333;
  --deep: #161616;
  --fog: #8c8c8c;
  --mist: #cccccc;
  --hairline: #e5e5e5;
  --lilac: #c4c9dd;
  --bubblegum: #ff83da;
  --bubblegum-deep: #ff64d1;
  --cotton: #ffc5ee;
  --blush: #f7e1f7;
  --ice: #d2f4ff;
  --lime: #e8ff5b;
  --peach: #ffe3d1;
  --butter: #fdf0c0;
  --mint: #d8f4df;
  --peri: #e3e2fc;

  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-title: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;

  --page: 1280px;
  --gutter: 32px;
  --gap-section: 144px;

  --r-card: 4px;
  --r-panel: 8px;
  --r-pill: 9999px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* ---- BRAND GRADIENT ----------------------------------------------
     The Ultrabasic foil. This is the brand gradient: use it, don't invent
     another one, and don't substitute an even rainbow — the near-black
     anchors are load-bearing, they are what reads as metal rather than as
     a flag. One dark anchor per repeat, ~7% between hue stops.
     The list is written twice so it loops seamlessly however it is used:
     panned across a linear gradient (logo), or wrapped around a conic one
     (ask bar). Compose it as `linear-gradient(100deg, var(--brand-foil))`
     or use --brand-foil-linear below.
     Currently on: the header wordmark hover, the ask bar, the ask panel. */
  --brand-foil:
    #0a0c16 0%,  #1f7fc0 7%,  #4fd6ff 14%, #7f9cf5 21%,
    #a86bff 28%, #ff5cc4 35%, #ffb37a 42%, #6b4a52 47%, #0a0c16 50%,
    #1f7fc0 57%, #4fd6ff 64%, #7f9cf5 71%,
    #a86bff 78%, #ff5cc4 85%, #ffb37a 92%, #6b4a52 97%, #0a0c16 100%;
  --brand-foil-linear: linear-gradient(100deg, var(--brand-foil));
}

/* ------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-feature-settings: 'liga' 1, 'kern' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, dt, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cotton); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.shell { width: 100%; max-width: calc(var(--page) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 20px; } }

/* ------------------------------------------------------------ type */
.display {
  font-family: var(--font-title);
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -.028em;
  font-weight: 600;
}
.display b, .display .b, .h-xl b, .h-lg b, .h-md b { font-weight: inherit; }
.display .ln { display: block; overflow: hidden; padding: .16em 0; margin: -.16em 0; }
.display .ln > span { display: inline-block; }
.mark-pink {
  background: var(--cotton);
  color: var(--ink);
  padding: 0 .16em;
  border-radius: var(--r-card);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.h-xl {
  font-family: var(--font-title);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.018em;
  font-weight: 600;
}
.h-lg {
  font-family: var(--font-title);
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.1;
  letter-spacing: -.014em;
  font-weight: 600;
}
.h-md {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--charcoal);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* mid-level headings + display numerals carry the heading face */
.h-md,
.svcrow-title, .wpanel-title, .prod-title,
.stat-num, .wpanel-stat .num,
.quote blockquote {
  font-family: var(--font-head);
}
.svcrow-title, .wpanel-title,
.stat-num, .wpanel-stat .num { font-weight: 600; }

/* ------------------------------------------------------------ buttons + links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .005em;
  padding: 15px 30px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:active { transform: scale(.985); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bubblegum); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--bubblegum); color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--bubblegum); border-color: var(--bubblegum); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.9); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: var(--bubblegum); border-color: var(--bubblegum); color: var(--ink); }
.btn--sm { padding: 11px 22px; font-size: 12px; }

.alink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--ink);
}
.alink .ar { width: 14px; height: 14px; flex: none; transition: transform .25s var(--ease); }
.alink:hover .ar, a:hover .alink .ar { transform: translateX(4px); }

/* ------------------------------------------------------------ announcement */
.announce { background: var(--ink); color: #fff; position: relative; }
/* the brand foil, closing the announce ribbon. The ramp is written twice,
   so panning exactly one copy loops with no seam. */
.announce::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--brand-foil));
  background-size: 200% 100%;
  background-position: 0% 50%;
  animation: foilRibbon 9s linear infinite;
}
@keyframes foilRibbon { to { background-position: 100% 50%; } }
.announce-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 44px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.announce-in {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}
.announce-nav {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.announce-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255,255,255,.7);
  transition: color .18s ease;
}
.announce-nav a:hover { color: #fff; }
.announce-mark {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bubblegum);
  display: grid;
  place-items: center;
}
.announce-mark svg { width: 12px; height: 12px; color: var(--ink); }
.announce b { font-weight: 700; }
.announce .dot { color: rgba(255,255,255,.45); }
.announce .ar { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.announce-in:hover .ar { transform: translateX(4px); }
@media (max-width: 900px) {
  .announce-row { gap: 16px; }
  .announce-nav { gap: 16px; }
}
@media (max-width: 640px) {
  .announce b { display: none; }
  .announce .dot { display: none; }
  .announce-nav { display: none; }
}

/* ------------------------------------------------------------ nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--canvas);
  transition: box-shadow .25s ease;
}
.topbar.is-stuck { box-shadow: 0 1px 0 var(--hairline); }
.topbar-in {
  display: flex;
  align-items: center;
  height: 84px;
  gap: 48px;
}
.brand {
  flex: none;
  display: block;
  position: relative;
  --holo-x: 50%;
  --holo-y: 50%;
  --holo-bg: 50%;
  --holo-o: 0;
  --holo-rx: 0deg;
  --holo-ry: 0deg;
  transform: perspective(760px) rotateX(var(--holo-rx)) rotateY(var(--holo-ry));
  transition: transform .38s var(--ease);
}
.brand svg { width: 138px; height: auto; color: var(--ink); }

/* holographic sheen — masked to the wordmark, lit by the pointer */
.brand-holo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--holo-o);
  transition: opacity .38s ease;
  -webkit-mask-image: url("../../ULTRABASIC.svg");
          mask-image: url("../../ULTRABASIC.svg");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
/* Oil slick, not a rainbow. Two soft layers — no hard stops anywhere:
   at 138px a 1px stripe aliases into a white slash, so every edge here
   is a feathered stop. The near-black bands are what read as metal;
   an even hue ramp reads as a flag. Spectrum listed twice at 200%
   so one pointer sweep loops seamlessly. */
.brand-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* broad sheen — travels faster than the colour, so light appears
       to move across a surface rather than the surface itself moving */
    linear-gradient(100deg,
      rgba(255,255,255,0) 38%,
      rgba(255,255,255,.14) 46%,
      rgba(255,255,255,.52) 50%,
      rgba(255,255,255,.14) 54%,
      rgba(255,255,255,0) 62%),
    var(--brand-foil-linear);
  background-size: 260% 100%, 200% 100%;
  background-position: calc(var(--holo-bg) * 1.4) 50%, var(--holo-bg) 50%;
  /* Spotlight: only the letterforms under the cursor take the finish, the
     rest of the mark stays black. Two nested masks — the wordmark shape on
     the parent, this pool of light on the child — so no mask compositing.
     Nine stops on a gaussian-ish curve; three stops leave a visible rim. */
  -webkit-mask-image: radial-gradient(circle 72px at var(--holo-x) var(--holo-y),
    rgba(0,0,0,1) 0%,   rgba(0,0,0,.97) 17%, rgba(0,0,0,.89) 30%,
    rgba(0,0,0,.75) 42%, rgba(0,0,0,.56) 54%, rgba(0,0,0,.37) 65%,
    rgba(0,0,0,.20) 76%, rgba(0,0,0,.08) 87%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(circle 72px at var(--holo-x) var(--holo-y),
    rgba(0,0,0,1) 0%,   rgba(0,0,0,.97) 17%, rgba(0,0,0,.89) 30%,
    rgba(0,0,0,.75) 42%, rgba(0,0,0,.56) 54%, rgba(0,0,0,.37) 65%,
    rgba(0,0,0,.20) 76%, rgba(0,0,0,.08) 87%, rgba(0,0,0,0) 100%);
}
/* soft bloom in the middle of the pool */
.brand-holo::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle 44px at var(--holo-x) var(--holo-y),
    rgba(255,255,255,.22) 0%,  rgba(255,255,255,.16) 26%,
    rgba(255,255,255,.09) 46%, rgba(255,255,255,.04) 66%,
    rgba(255,255,255,.01) 84%, rgba(255,255,255,0) 100%);
}
.brand.is-holo { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .brand { transform: none; }
}
.mainnav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.mainnav a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  color: var(--fog);
  transition: color .18s ease;
}
.mainnav a:hover, .mainnav a.is-active { color: var(--ink); }
.mainnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--ink);
  transition: right .28s var(--ease);
}
.mainnav a:hover::after, .mainnav a.is-active::after { right: 0; }
.topbar-cta { display: flex; align-items: center; gap: 24px; }

.navtoggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  position: relative;
}
.navtoggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s ease, top .28s var(--ease);
}
.navtoggle span:nth-child(1) { top: 15px; }
.navtoggle span:nth-child(2) { top: 21px; }
.navtoggle span:nth-child(3) { top: 27px; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobilenav {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  padding: 20px var(--gutter) 32px;
  flex-direction: column;
}
.mobilenav a:not(.btn) {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.015em;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobilenav .btn { align-self: flex-start; margin-top: 24px; }

@media (max-width: 900px) {
  .topbar-in { height: 64px; gap: 20px; }
  .brand svg { width: 116px; }
  .mainnav, .topbar-cta { display: none; }
  .navtoggle { display: block; }
  .mobilenav.is-open { display: flex; }
}

/* ------------------------------------------------------------ hero · type monolith */
.hero { padding: 96px 0 0; }
.hero-eyebrow { color: var(--ink); margin-bottom: 44px; }
.hero-mono .display {
  font-size: clamp(40px, 5.4vw, 77px);
  line-height: .96;
  letter-spacing: -.026em;
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero-aside { padding-bottom: 10px; }
.hero-aside .lead { max-width: 40ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-aside { padding-bottom: 0; }
}

/* ------------------------------------------------------------ client logos · marquee */
.logostrip { margin-top: 64px; }
.logostrip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted, rgba(17,17,17,.5));
  margin-bottom: 22px;
}
.logostrip-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logostrip-track {
  display: flex;
  width: max-content;
  animation: logoscroll 38s linear infinite;
}
.logostrip-set {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 84px);
  padding-right: clamp(48px, 6vw, 84px);
  flex: none;
}
.logostrip-set img {
  height: 26px;
  width: auto;
  flex: none;
  filter: brightness(0);
  opacity: .38;
  transition: opacity .25s var(--ease);
}
.logostrip-viewport:hover .logostrip-track { animation-play-state: paused; }
.logostrip-set img:hover { opacity: .72; }
@keyframes logoscroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logostrip-track { animation: none; }
}
@media (max-width: 640px) {
  .logostrip { margin-top: 44px; }
  .logostrip-set img { height: 22px; }
}
.hero-plate {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  height: clamp(300px, 40vh, 400px);
  background: var(--blush);
  margin-top: clamp(64px, 7.3vw, 105px);
}
.hero-plate .plate-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 6s linear;
}
.hero-plate .plate-img.is-show { opacity: 1; transform: scale(1); }
.hero-pills {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}
.hpill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  color: #fff;
  background: rgba(20, 20, 20, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .22s ease;
}
.hpill > span { position: relative; z-index: 1; }
.hpill.is-active { background: var(--ink); }
.hpill.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .16);
  transform-origin: left;
  transform: scaleX(0);
  animation: pillfill 3.6s linear forwards;
}
[data-heroplate].is-paused .hpill.is-active::after { animation-play-state: paused; }
@keyframes pillfill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hpill.is-active::after { animation: none; } }
button.hpill:hover { background: rgba(20, 20, 20, .58); }
button.hpill.is-active:hover { background: var(--ink); }
.hero-ctrl {
  flex: none;
  margin-left: auto;
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: rgba(20, 20, 20, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .22s ease;
}
.hero-ctrl:hover { background: var(--ink); }
.hero-ctrl svg { width: 12px; height: 12px; }
.hero-ctrl .i-play { display: none; }
.hero-ctrl[aria-pressed="true"] .i-pause { display: none; }
.hero-ctrl[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero-row { margin-top: 36px; padding-top: 28px; }
  .hero-plate { height: 320px; margin-top: 44px; }
}
@media (max-width: 640px) {
  .hero-mono .display { font-size: clamp(38px, 11.8vw, 56px); }
  .hero-plate { height: 280px; }
  .hero-pills { left: 14px; right: 14px; bottom: 14px; }
}

/* join line */
.joinline { padding: 104px 0; text-align: center; }
.joinline p { font-size: 17px; font-weight: 500; }
.joinline a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.joinline a:hover { color: var(--charcoal); }

/* ------------------------------------------------------------ sections */
.section { padding: calc(var(--gap-section) / 2) 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bot { padding-bottom: 0; }
.section--tint {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--gap-section) 0;
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin: 0 0 80px;
}
.sec-head .eyebrow { grid-column: 1 / -1; color: var(--fog); margin-bottom: 18px; }
.sec-head h2 { grid-column: 1; }
.sec-head .lead {
  grid-column: 2;
  margin: 0 0 6px;
  max-width: 44ch;
  justify-self: end;
}
.faq-wrap .sec-head { display: block; }
.faq-wrap .sec-head .lead { margin-top: 18px; }
@media (max-width: 860px) {
  .sec-head { display: block; }
  .sec-head .lead { margin-top: 18px; }
}
@media (max-width: 760px) {
  :root { --gap-section: 96px; }
  .sec-head { margin-bottom: 40px; }
}

/* ------------------------------------------------------------ services index */
.svcindex { border-top: 1px solid var(--mist); }
.svcrow {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1.1fr) minmax(0, 1fr) 64px;
  align-items: center;
  gap: 24px;
  padding: 44px 24px;
  margin: 0 -24px;
  border-radius: var(--r-card);
  transition: background .3s var(--ease);
}
.svcrow::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 1px;
  background: var(--mist);
}
.svcrow-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--fog);
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.svcrow-title {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -.016em;
  font-weight: 600;
  transition: transform .35s var(--ease);
}
.svcrow-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
  max-width: 44ch;
}
.svcrow-go {
  justify-self: end;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--mist);
  display: grid;
  place-items: center;
  background: transparent;
  transition: background .3s ease, border-color .3s ease, transform .35s var(--ease);
}
.svcrow-go svg { width: 16px; height: 16px; color: var(--ink); transition: color .3s ease, transform .35s var(--ease); }
.svcrow:hover { background: var(--wash, var(--blush)); }
.svcrow:hover::after { opacity: 0; }
.svcrow:hover .svcrow-num { color: var(--ink); }
.svcrow:hover .svcrow-title { transform: translateX(10px); }
.svcrow:hover .svcrow-go { background: var(--ink); border-color: var(--ink); transform: rotate(-45deg); }
.svcrow:hover .svcrow-go svg { color: #fff; }
@media (max-width: 860px) {
  .svcrow {
    grid-template-columns: 34px minmax(0, 1fr) 40px;
    gap: 10px 14px;
    padding: 24px 16px;
    margin: 0 -16px;
  }
  .svcrow::after { left: 16px; right: 16px; }
  .svcrow-num { grid-column: 1; grid-row: 1; }
  .svcrow-title { grid-column: 2; grid-row: 1; }
  .svcrow-desc { grid-column: 2; grid-row: 2; max-width: none; }
  .svcrow-go { grid-column: 3; grid-row: 1 / 3; width: 40px; height: 40px; align-self: center; }
  .svcrow:hover .svcrow-title { transform: none; }
}

/* ------------------------------------------------------------ work posters */
.wstack { display: flex; flex-direction: column; gap: 48px; }
.wpanel {
  position: sticky;
  top: 108px;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: min(600px, calc(100vh - 140px));
  border-radius: var(--r-panel);
  overflow: hidden;
}
.wpanel:nth-child(2) { top: 116px; }
.wpanel:nth-child(3) { top: 124px; }
.wpanel:nth-child(4) { top: 132px; }
.wpanel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 5vw, 88px);
}
.wpanel-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 20px;
}
.wpanel-title {
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.06;
  letter-spacing: -.018em;
  font-weight: 600;
  max-width: 16ch;
}
.wpanel-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  margin-top: 18px;
  max-width: 42ch;
}
.wpanel-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 0, 0, .14);
}
.wpanel-stat .num {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.wpanel-stat .cap {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--charcoal);
  max-width: 14ch;
  line-height: 1.35;
}
.wpanel .alink { margin-top: 34px; }
.wpanel-media { position: relative; overflow: hidden; }
.wpanel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.wpanel:hover .wpanel-media img { transform: scale(1.03); }
.wpanel-pill {
  position: absolute;
  top: 20px; left: 20px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}

/* surfaces */
.wpanel--deep { background: var(--deep); }
.wpanel--deep .wpanel-title { color: #fff; }
.wpanel--deep .wpanel-desc { color: var(--mist); }
.wpanel--deep .wpanel-tag { color: rgba(255, 255, 255, .55); }
.wpanel--deep .wpanel-stat { border-top-color: rgba(255, 255, 255, .18); }
.wpanel--deep .wpanel-stat .num { color: #fff; }
.wpanel--deep .wpanel-stat .cap { color: var(--mist); }
.wpanel--deep .alink { color: #fff; }
.wpanel--blush { background: var(--blush); }
.wpanel--cream { background: var(--cream); border: 1px solid var(--lilac); }
.wpanel--ice { background: var(--ice); }
.wpanel--blush .wpanel-tag, .wpanel--ice .wpanel-tag { color: rgba(0, 0, 0, .5); }

.work-more { margin-top: 48px; display: flex; justify-content: center; }

@media (max-width: 860px) {
  .wstack { gap: 20px; }
  .wpanel, .wpanel:nth-child(n) {
    position: static;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .wpanel-media { aspect-ratio: 16 / 10; order: -1; }
  .wpanel-copy { padding: 28px 24px 36px; }
  .wpanel-stat .num { font-size: 48px; }
}

/* ------------------------------------------------------------ quote */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
  max-width: 1160px;
}
.quote-side { display: flex; flex-direction: column; gap: 18px; }
.quote-side .eyebrow { color: var(--fog); }
.quote-glyph {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(72px, 7vw, 112px);
  line-height: .6;
  color: var(--bubblegum);
  user-select: none;
}
.quote blockquote {
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -.014em;
  font-weight: 400;
}
.quote blockquote b { font-weight: 700; }
.quote-who {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote-avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  background: var(--cotton);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.quote-id .name { font-size: 15px; font-weight: 700; }
.quote-id .role { font-size: 13px; color: var(--fog); margin-top: 2px; }
.quote-who .alink { margin-left: auto; }
@media (max-width: 860px) {
  .quote { grid-template-columns: 1fr; gap: 20px; }
  .quote-glyph { font-size: 64px; }
  .quote-who { flex-wrap: wrap; }
  .quote-who .alink { margin-left: 64px; }
}

/* ------------------------------------------------------------ stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
}
.stat {
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  padding: 60px 32px 64px;
}
.stat:nth-child(4n) { border-right: 0; }
.stat-num {
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-cap {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--charcoal);
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat { padding: 32px 20px 36px; }
}

/* ------------------------------------------------------------ products · list + preview */
.pswitch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.plist { border-top: 1px solid var(--mist); }
.pitem { border-bottom: 1px solid var(--mist); }
.pitem-btn {
  width: 100%;
  text-align: left;
  padding: 36px 0;
  display: block;
}
.pitem-name {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.016em;
  line-height: 1;
  font-size: clamp(32px, 3.4vw, 46px);
  color: var(--mist);
  transition: color .25s ease, transform .35s var(--ease);
  display: inline-block;
}
.pitem-btn:hover .pitem-name { color: var(--charcoal); }
.pitem.is-on .pitem-name { color: var(--ink); }
.pitem-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.pitem-sub > div { overflow: hidden; min-height: 0; }
.pitem.is-on .pitem-sub { grid-template-rows: 1fr; }
.pitem-subrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-bottom: 36px;
}
.pitem-tag { font-size: 15px; color: var(--charcoal); }
.pitem-stat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.pitem-cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.pitem-subrow .alink { margin-left: auto; }

.ppreview {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--cream);
}
.player {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s var(--ease);
}
.player.is-show { opacity: 1; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player-pill {
  position: absolute;
  top: 18px; left: 18px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.player--slot {
  border: 1.5px dashed var(--mist);
  border-radius: var(--r-panel);
  display: grid;
  place-items: center;
  background: var(--canvas);
}
.player--slot .pslot-plus {
  width: 60px; height: 60px;
  border-radius: var(--r-pill);
  background: var(--cotton);
  position: relative;
}
.player--slot .pslot-plus::before, .player--slot .pslot-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--ink);
  border-radius: 1px;
}
.player--slot .pslot-plus::before { width: 20px; height: 2px; }
.player--slot .pslot-plus::after { width: 2px; height: 20px; }

@media (max-width: 900px) {
  .pswitch { grid-template-columns: 1fr; gap: 32px; }
  .ppreview { order: -1; aspect-ratio: 16 / 10; }
  .pitem-name { font-size: clamp(32px, 8vw, 44px); }
}

/* ------------------------------------------------------------ faq */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq-item { border-bottom: 1px solid var(--mist); }
.faq-item:first-child { border-top: 1px solid var(--mist); }
.faq-q {
  width: 100%;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.35;
}
.faq-mark {
  flex: none;
  width: 28px; height: 28px;
  border-radius: var(--r-pill);
  background: var(--cotton);
  position: relative;
  transition: background .2s ease;
}
.faq-q:hover .faq-mark { background: var(--bubblegum); }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  border-radius: 1px;
  translate: -50% -50%;
}
.faq-mark::before { width: 12px; height: 2px; }
.faq-mark::after { width: 2px; height: 12px; transition: transform .25s var(--ease); }
.faq-item.is-open .faq-mark::after { transform: scaleY(0); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  padding-bottom: 28px;
  max-width: 60ch;
}

/* ------------------------------------------------------------ closing cta */
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-panel);
  padding: clamp(48px, 5.2vw, 84px) clamp(28px, 5vw, 88px);
  text-align: center;
}
.cta-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.cta-shader.is-live { opacity: 1; }
.cta-panel > *:not(.cta-shader) { position: relative; z-index: 1; }
/* the sentence owns the open dropdown, so it has to sit above its later siblings */
.cta-panel > .madlib { z-index: 5; }
.cta-panel .display { color: #fff; margin: 0 auto; max-width: 14ch; }
.cta-panel .lead { color: var(--mist); max-width: 46ch; margin: 24px auto 0; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.cta-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 48px;
  font-size: 14px;
  color: var(--mist);
}
.cta-meta a { color: #fff; font-weight: 500; }
.cta-meta a:hover { color: var(--cotton); }

/* ------------------------------------------------------------ solutions · dossiers */
/* Six hairline-separated editorial spreads — an open ledger, not cards, so a
   solution cannot be mistaken for a case study (.wpanel), the home index
   (.svcrow) or the retired bento. Each spread owns one wash colour: it tints
   the fit-note chip and the checklist squares — never the whole band. */
/* the first hairline doubles as the hero's closing rule, so it needs the
   breathing room the section's own padding-top no longer provides */
.dossiers { margin-top: clamp(56px, 6vw, 88px); }
.dossier {
  --wash: var(--blush);
  border-top: 1px solid var(--mist);
  padding: clamp(52px, 6vw, 92px) 0;
}
.dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(40px, 6vw, 104px);
  align-items: stretch;
}
.dossier-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  max-width: 15ch;
}
.dossier-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 52ch;
  margin-top: 18px;
}
.dossier-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 30px;
  border-top: 1px solid var(--hairline);
}
.dossier-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: 500;
}
.dossier-list li::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--wash);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}
/* The qualifier is the "is this me?" line, so it gets sentence-level presence
   rather than a container: the house marker highlight (.mark-pink) carrying
   the solution's own wash, set larger than the body copy around it. */
.dossier-fit {
  margin-top: 34px;
  font-family: var(--font-head);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  letter-spacing: -.018em;
  font-weight: 500;
  max-width: 34ch;
  text-wrap: pretty;
}
.dossier-fit b {
  font-weight: 700;
  background: var(--wash);
  border-radius: var(--r-card);
  padding: .08em .28em;
  margin-left: -.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.dossier-copy > .alink { margin-top: 28px; }
/* the photograph always leads and the copy always follows — the markup keeps
   the copy first for reading order, so the image is pulled left with order */
.dossier-media {
  order: -1;
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  min-height: 440px;
}
.dossier-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.dossier:hover .dossier-media img { transform: scale(1.03); }
.dossier-pill {
  position: absolute;
  top: 18px; left: 18px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .dossier-grid { grid-template-columns: 1fr; }
  .dossier-media { min-height: 0; aspect-ratio: 16 / 10; }
  .dossier-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ solutions · guarantees */
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px clamp(28px, 3vw, 48px);
}
.assure-item { border-top: 1px solid var(--mist); padding-top: 24px; }
.assure-mark {
  display: block;
  width: 11px; height: 11px;
  border-radius: 3px;
  background: var(--bubblegum);
  margin-bottom: 20px;
}
.assure-item h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.3;
}
.assure-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
  margin-top: 10px;
}
@media (max-width: 900px) { .assure { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 520px) { .assure { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ solutions · engagement models */
.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.model {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  background: var(--canvas);
  padding: clamp(28px, 2.8vw, 40px);
}
/* The recommended tier is ringed in the Ultrabasic foil over a white fill —
   the same padding-box / border-box composite the ask bar uses, so every foil
   surface on the site still composes from the one --brand-foil token. Slower
   than the ask bar's rotation: this is a much larger ring to travel. */
.model--hot {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--holo-angle), var(--brand-foil)) border-box;
  animation: askHolo 9s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .model--hot { animation: none; }
}
.model-flag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 20px;
}
.model h3 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -.016em;
  line-height: 1.1;
}
.model-sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin-top: 12px;
  max-width: 38ch;
}
.model-facts { margin-top: 28px; }
.model-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
  font-size: 13.5px;
}
.model-facts dt { color: var(--fog); font-weight: 600; flex: none; }
.model-facts dd { font-weight: 600; text-align: right; }
.model-cta { margin-top: auto; padding-top: 32px; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ contact · split scene */
/* Form column on white, contact details on the photograph — the same
   two-column rounded panel the case-study handoff (.case-next) uses. */
.cscene {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  border-radius: var(--r-panel);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  min-height: min(720px, calc(100vh - 240px));
}

/* ---- left · the form column ---- */
.cscene-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4.5vw, 72px);
}
.cscene-form .eyebrow { color: var(--fog); margin-bottom: 14px; }
.cscene-sub { font-size: 15px; line-height: 1.6; color: var(--charcoal); max-width: 44ch; margin-top: 14px; }

.cscene-form form { display: flex; flex-direction: column; gap: 22px; margin-top: clamp(28px, 3vw, 40px); }
.cf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color .2s var(--ease);
}
.cf-field:focus-within .cf-label { color: var(--ink); }
.cf-input {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mist);
  border-radius: 0;
  padding: 6px 0 10px;
  transition: border-color .22s var(--ease);
}
.cf-input::placeholder { color: var(--mist); }
.cf-input:focus { outline: none; border-bottom-color: var(--ink); }
.cf-textarea { resize: none; line-height: 1.55; }
.cscene-send { align-self: flex-start; margin-top: 4px; }
.cscene-note { font-size: 12.5px; color: var(--fog); }
.cscene-note.is-warn { color: var(--ink); font-weight: 500; }

/* ---- right · the photograph, carrying the details ---- */
.cscene-media { position: relative; min-height: 420px; }
.cscene-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cscene-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.62) 100%);
}
.cscene-info {
  position: absolute;
  left: clamp(24px, 3.4vw, 48px);
  right: clamp(24px, 3.4vw, 48px);
  bottom: clamp(22px, 3vw, 40px);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.cscene-info > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.cscene-info > div:first-child { border-top: 0; }
.cscene-info dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.cscene-info dd {
  font-family: var(--font-head);
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
}
.cscene-info dd a { color: #fff; }
.cscene-info dd a:hover { color: var(--cotton); }
.cscene-info dd span {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .cscene { grid-template-columns: 1fr; min-height: 0; }
  .cscene-form { padding: 28px 20px 32px; }
  .cscene-media { min-height: 0; order: 2; }
  .cscene-media img { position: static; height: 360px; }
  .cscene-info { left: 20px; right: 20px; bottom: 18px; }
}

/* ------------------------------------------------------------ footer */
.foot { padding: 128px 0 48px; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.foot-tag { font-size: 15px; line-height: 1.55; color: var(--charcoal); max-width: 34ch; }
.foot-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.012em;
}
.foot-mail svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.foot-mail:hover svg { transform: translate(3px, -3px); }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 6px;
}
.foot-col a, .foot-col span { font-size: 15px; color: var(--charcoal); width: fit-content; }
.foot-col a { transition: color .18s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-col .soon { color: var(--fog); }

.foot-mark { margin: 104px 0 40px; color: var(--ink); }
.foot-mark svg { width: 84%; height: auto; opacity: .11; margin: 0 auto; }

.foot-bot {
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fog);
}
.foot-legal { display: flex; gap: 24px; }
.foot-legal a:hover, .foot-up:hover { color: var(--ink); }
.foot-up { display: inline-flex; align-items: center; gap: 7px; }
.foot-up svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .foot { padding-top: 64px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ hero entrance */
html.js .hero .ln > span,
html.js .pagehero .ln > span {
  transform: translateY(112%);
  transition: transform 1s var(--ease);
}
html.js .hero-e {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html.js .hero-plate {
  opacity: 0;
  transition: opacity .9s var(--ease);
}
html.is-ready .hero .ln > span,
html.is-ready .pagehero .ln > span { transform: none; }
html.is-ready .hero .ln:nth-child(1) > span,
html.is-ready .pagehero .ln:nth-child(1) > span { transition-delay: .1s; }
html.is-ready .hero .ln:nth-child(2) > span,
html.is-ready .pagehero .ln:nth-child(2) > span { transition-delay: .22s; }
html.is-ready .hero .ln:nth-child(3) > span,
html.is-ready .pagehero .ln:nth-child(3) > span { transition-delay: .34s; }
html.is-ready .hero-e { opacity: 1; transform: none; }
html.is-ready .hero-eyebrow.hero-e { transition-delay: .05s; }
html.is-ready .hero-lead.hero-e { transition-delay: .5s; }
html.is-ready .hero-actions.hero-e { transition-delay: .62s; }
html.is-ready .hero-plate { opacity: 1; transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero .ln > span,
  html.js .pagehero .ln > span { transform: none; }
  html.js .hero-e, html.js .hero-plate { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ anchor offset */
[id] { scroll-margin-top: 104px; }

/* ------------------------------------------------------------ footer wordmark wipe */
html.js .foot-mark svg {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease) .15s;
}
html.js .foot-mark.in svg { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  html.js .foot-mark svg { clip-path: none; }
}

/* ------------------------------------------------------------ static/dev mode: kill entrances */
html.no-anim [data-rv],
html.no-anim .hero-e,
html.no-anim .hero-plate { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-anim .hero .ln > span,
html.no-anim .pagehero .ln > span { transform: none !important; transition: none !important; }
html.no-anim .foot-mark svg { clip-path: none !important; }

/* ------------------------------------------------------------ reveals */
[data-rv] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
[data-rv].in { opacity: 1; transform: none; }
html:not(.js) [data-rv] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ case study */
/* Inner-page hero template — shared by every screen below the home page.
   .pagehero is the canonical name; .case-hero is an alias, so the case
   study and any new inner page render from one rule set. */
/* The home hero drops its H1 96px below the header and has no eyebrow, so it
   is the benchmark: a hero with no eyebrow gets the same 96px of clear air.
   The eyebrow's line-height is pinned below for the arithmetic that follows —
   otherwise its height comes from the parent strut and drifts with the body
   font. */
.pagehero, .case-hero { padding: 96px 0 0; }
/* ...and where a hero does carry one, the padding gives back exactly the
   eyebrow's height + gap, so the headline lands on that same line either way */
.pagehero:has(> .shell > .eyebrow),
.case-hero:has(> .shell > .eyebrow) { padding-top: calc(96px - 48px); }
.pagehero .eyebrow, .case-hero .eyebrow {
  color: var(--fog);
  /* block-level rather than the shared inline-flex: as an inline box it would
     sit on the parent's baseline and the strut's descender would add ~2px the
     arithmetic above cannot see */
  display: flex;
  width: fit-content;
  line-height: 24px;
  margin-bottom: 24px;
}
/* 1.12 matches the home hero's *effective* leading, not its declared .96: the
   reveal wrappers there carry padding .16em with a cancelling -.16em margin,
   and between adjacent lines those margins collapse into one while both
   paddings survive — so every line gap silently gains .16em. Inner-page
   headlines use plain <br>, so the leading has to be stated outright. */
.pagehero .display, .case-hero .display {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.12;
  max-width: 22ch;
}
/* A headline built from .ln reveal wrappers gains .16em of leading on its own —
   their cancelling margins collapse between adjacent lines while both paddings
   survive — so it declares .96 to land on the same 1.12em as a plain one. */
.pagehero .display:has(.ln), .case-hero .display:has(.ln) { line-height: .96; }
.pagehero .lead, .case-hero .lead { max-width: 56ch; margin-top: 26px; }

/* Inner-page hero, two-column variant — the same headline-left / copy-right
   baseline-aligned shape as the home hero, so the wide right half carries the
   lead and a way in instead of sitting empty. */
.pagehero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: end;
}
.pagehero-top .display { max-width: none; }
.pagehero-aside { padding-bottom: 10px; }
.pagehero-top .lead { max-width: 40ch; margin-top: 0; }
@media (max-width: 900px) {
  .pagehero-top { grid-template-columns: 1fr; gap: 28px; }
  .pagehero-aside { padding-bottom: 0; }
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  margin-top: 80px;
}
.case-meta > div { padding: 22px 24px 22px 0; border-left: 1px solid var(--hairline); padding-left: 24px; }
.case-meta > div:first-child { border-left: 0; padding-left: 0; }
.case-meta dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 6px;
}
.case-meta dd { margin: 0; font-size: 16px; font-weight: 500; }
.pagehero-plate, .case-plate {
  margin-left: 0;
  margin-right: 0;
  border-radius: var(--r-panel);
  overflow: hidden;
  margin-top: 72px;
  aspect-ratio: 21 / 9;
}
.pagehero-plate img, .case-plate img { width: 100%; height: 100%; object-fit: cover; }
.case-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(32px, 5vw, 88px);
}
.case-block + .case-block { margin-top: 112px; }
.case-block h2 { max-width: 14ch; }
.case-copy p { font-size: 17px; line-height: 1.65; color: var(--charcoal); }
.case-copy p + p { margin-top: 20px; }
.case-steps { border-top: 1px solid var(--mist); margin-top: 8px; }
.case-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.case-step .num { font-size: 13px; font-weight: 700; color: var(--fog); padding-top: 3px; }
.case-step h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.case-step p { font-size: 15px; line-height: 1.55; color: var(--charcoal); margin-top: 6px; }
.case-next {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  background: var(--blush);
  border-radius: var(--r-panel);
  overflow: hidden;
  min-height: 340px;
}
.case-next-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 56px);
}
.case-next .eyebrow { color: rgba(0, 0, 0, .5); margin-bottom: 16px; }
.case-next h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -.018em;
  font-weight: 600;
  line-height: 1.1;
}
.case-next h2 b { font-weight: inherit; }
.case-next-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
}
.case-next-stat .num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.case-next-stat .cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.case-next .alink { margin-top: 28px; }
.case-next-media { position: relative; overflow: hidden; }
.case-next-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.case-next:hover .case-next-media img { transform: scale(1.03); }
.case-next-pill {
  position: absolute;
  top: 16px; left: 16px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 7px 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-meta > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .case-meta > div { padding-left: 20px; }
  .pagehero-plate, .case-plate { aspect-ratio: 16 / 10; }
  .case-block { grid-template-columns: 1fr; gap: 24px; }
  .case-next { grid-template-columns: 1fr; }
  .case-next-media { order: -1; aspect-ratio: 16 / 9; }
}

/* ------------------------------------------------------------ cookie notice */
.cookie {
  position: fixed;
  left: max(var(--gutter), calc((100vw - var(--page)) / 2));
  bottom: 24px;
  z-index: 90;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 20px 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .10);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie.is-in { opacity: 1; transform: none; pointer-events: auto; }
.cookie p { font-size: 14px; line-height: 1.55; color: var(--charcoal); }
.cookie-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.cookie-actions .btn { padding: 10px 20px; font-size: 13px; }
.cookie-no { font-size: 13px; font-weight: 500; color: var(--fog); transition: color .18s ease; }
.cookie-no:hover { color: var(--ink); }
@media (max-width: 640px) {
  .cookie { left: 16px; right: 16px; max-width: none; bottom: 88px; }
}

/* ------------------------------------------------------------ madlib brief (closing CTA) */
.madlib-kicker { font-size: 14px; font-weight: 600; color: var(--mist); }
.madlib {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.55;
  max-width: 22ch;
  margin: 26px auto 0;
  color: #fff;
}
.slotwrap { position: relative; display: inline-block; }
.slot {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .22em;
  padding: 0 .16em;
  border-bottom: 3px solid transparent;
  border-radius: 4px 4px 0 0;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: background .2s ease, color .2s ease;
}
/* the underline is a slice of the brand foil, not a flat colour.
   200% wide = exactly one repeat of the token shows per slot. */
.slot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--brand-foil));
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position .55s var(--ease), opacity .2s ease;
}
/* empty slots get the same ribbon, punched into dashes by a mask */
.slot.is-empty { color: rgba(255, 255, 255, .38); }
.slot.is-empty::after {
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
  mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
}
.slot-car {
  width: .42em;
  height: .42em;
  flex: none;
  opacity: .55;
  transition: transform .22s var(--ease), opacity .2s ease;
}
.slot:hover { background: rgba(255, 255, 255, .10); }
.slot:hover::after { background-position: 100% 50%; }
.slot:hover .slot-car { opacity: 1; }
.slot[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.slot[aria-expanded="true"]::after {
  -webkit-mask-image: none;
  mask-image: none;
}
.slot[aria-expanded="true"] .slot-car { transform: rotate(180deg); opacity: 1; }

.slotmenu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(340px, 78vw);
  display: flex;
  flex-direction: column;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #141414;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .55);
  text-align: left;
  animation: slotmenu-in .18s var(--ease) both;
}
.slotmenu[hidden] { display: none; }
.slotmenu--end { left: auto; right: 0; }
@keyframes slotmenu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.slotmenu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: left;
  color: rgba(255, 255, 255, .72);
  transition: background .16s ease, color .16s ease;
}
.slotmenu button:hover, .slotmenu button:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.slotmenu button[aria-selected="true"] { color: #fff; }
.slotmenu button[aria-selected="true"]::after {
  content: "";
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--bubblegum);
}
@media (prefers-reduced-motion: reduce) {
  .slotmenu { animation: none; }
  .slot-car, .slot::after { transition: none; }
}
@media (max-width: 640px) {
  .slotmenu { max-width: 82vw; }
  .slotmenu button { font-size: 14px; padding: 10px; }
}
.madlib-send { margin-top: 32px; }
.madlib-send[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* ------------------------------------------------------------ ask bar */
.ask-bar {
  position: fixed;
  right: max(var(--gutter), calc((100vw - var(--page)) / 2));
  bottom: 24px;
  z-index: 95;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  /* solid white fill (padding-box) + rotating holographic ring in the border (border-box) */
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--holo-angle), var(--brand-foil)) border-box;
  padding: 15px 23px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .10), 0 2px 8px rgba(0, 0, 0, .05);
  transition: box-shadow .25s ease, transform .3s var(--ease);
  animation: askHolo 4.5s linear infinite;
}
@keyframes askHolo { to { --holo-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .ask-bar { animation: none; }
}
.ask-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14), 0 3px 10px rgba(0, 0, 0, .06);
}
.ask-bar:active { transform: scale(.98); }
.ask-q { flex: 1; text-align: left; transition: opacity .3s ease, transform .3s var(--ease); }
.ask-q.is-swap { opacity: 0; transform: translateY(6px); }
.ask-bar .ar { flex: none; width: 15px; height: 15px; transition: transform .25s var(--ease); }
.ask-bar:hover .ar { transform: translateX(3px); }
.ask-bar .i-close { display: none; width: 14px; height: 14px; flex: none; }
.ask-bar[aria-expanded="true"] .ar { display: none; }
.ask-bar[aria-expanded="true"] .i-close { display: block; }

.ask-panel {
  position: fixed;
  right: max(var(--gutter), calc((100vw - var(--page)) / 2));
  bottom: 88px;
  z-index: 94;
  width: 372px;
  border: 2px solid transparent;
  /* solid white fill (padding-box) + rotating holographic ring in the border (border-box) */
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--holo-angle), var(--brand-foil)) border-box;
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .12);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ask-panel.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: askHolo 4.5s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .ask-panel.is-open { animation: none; }
}
.ask-inner { padding: 24px; }
.ask-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fog);
}
.ask-title { font-size: 18px; font-weight: 700; letter-spacing: -.012em; margin-top: 8px; }
.ask-step { display: none; }
.ask-step.is-on { display: block; }
.ask-opts { margin-top: 14px; }
.ask-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--r-card);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: background .18s ease;
}
.ask-item:hover { background: var(--cream); }
.ask-item .ar { width: 14px; height: 14px; margin-left: auto; color: var(--fog); transition: transform .25s var(--ease), color .2s ease; }
.ask-item:hover .ar { transform: translateX(3px); color: var(--ink); }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ask-chip {
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease, border-color .2s ease;
}
.ask-chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ask-brief {
  margin-top: 16px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 16px 18px;
}
.ask-brief .row { display: flex; gap: 10px; font-size: 14px; padding: 4px 0; }
.ask-brief .k { color: var(--fog); width: 76px; flex: none; }
.ask-brief .v { font-weight: 600; }
.ask-send { width: 100%; margin-top: 14px; }
.ask-send[disabled] { opacity: .55; pointer-events: none; }

/* Step 3 collects a reply address, so the brief becomes a real lead rather
   than a mailto the visitor has to finish writing themselves. */
.ask-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ask-input {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 11px 12px;
  transition: border-color .2s var(--ease);
}
.ask-input::placeholder { color: var(--mist); }
.ask-input:focus { outline: none; border-color: var(--ink); }
/* Honeypot: off-screen rather than display:none, so a bot filling every field
   still trips it. aria-hidden + tabindex keep it away from real people. */
.ask-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ask-note { font-size: 12.5px; color: var(--fog); min-height: 1em; }
.ask-note.is-warn { color: var(--ink); font-weight: 500; }
.ask-done { font-size: 14px; line-height: 1.55; color: var(--charcoal); margin-top: 12px; }
.ask-back {
  display: block;
  margin: 12px auto 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--fog);
  transition: color .18s ease;
}
.ask-back:hover { color: var(--ink); }
.ask-foot {
  padding: 13px;
  text-align: center;
  font-size: 12px;
  color: var(--fog);
  border-top: 1px solid var(--hairline);
}
.ask-foot a { font-weight: 600; color: var(--charcoal); }
.ask-foot a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .ask-panel { left: 16px; right: 16px; width: auto; }
  .ask-bar { left: 16px; right: 16px; bottom: 16px; min-width: 0; font-size: 13px; }
  .cookie { bottom: 84px; }
}
