/* =============================================================
   Morgan Media v4 — cinematic dark editorial
   Custom from-scratch CSS. No framework, no preprocessor.
   ============================================================= */

/* ---------- 1. Reset & tokens ---------- */

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

html { -webkit-text-size-adjust: 100%; }

html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

:root {
  /* palette */
  --bg:          #08080A;
  --bg-2:        #0E0E11;
  --surface:     #131318;
  --surface-2:   #1A1A21;
  --ink:         #F5F5F4;
  --ink-dim:     #D9D9D6;
  --mute:        #8A8A92;
  --mute-2:      #5A5A62;
  --line:        rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);

  --brand:       #FF6A00;
  --brand-light: #FF8C33;
  --brand-deep:  #C24500;
  --grad-orange: linear-gradient(150deg, #FF9A40 0%, #FF6A00 45%, #E5380A 100%);
  --grad-orange-soft: linear-gradient(150deg, rgba(255,154,64,.18) 0%, rgba(255,106,0,.10) 45%, rgba(229,56,10,.04) 100%);

  /* type */
  --font-display: "Clash Display", "Inter Tight", system-ui, sans-serif;
  --font-body:    "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* fluid spacing */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: clamp(3rem, 5vw, 5rem);
  --sp-7: clamp(3.25rem, 5.5vw, 5.5rem);
  --sp-8: clamp(8rem, 14vw, 14rem);
  --sp-9: clamp(10rem, 18vw, 18rem);

  /* layout */
  --edge: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1640px;
  --col-gap: clamp(1rem, 1.6vw, 2rem);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .25s;
  --t-med:  .55s;
  --t-slow: .9s;

  /* radius */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #000; }

/* ---------- 2. Typography ---------- */

.display,
.h1, .h2, .h3, .h4,
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.02;
  color: var(--ink);
}

.display {
  font-size: clamp(3.5rem, 11.5vw, 13rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.035em;
}

.h1 {
  font-size: clamp(2.8rem, 7.4vw, 7.2rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.03em;
}

.h2 {
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--brand);
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 56ch;
}

.body-l { font-size: 1.05rem; line-height: 1.65; color: var(--ink-dim); }
.body   { font-size: 1rem; color: var(--ink-dim); }
.small  { font-size: .82rem; color: var(--mute); }
.mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}

.gradient-text {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 3. Layout primitives ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--edge); padding-right: var(--edge); position: relative; }
.section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); position: relative; }
.section--lg { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 50%, transparent);
  margin: 0;
  border: 0;
}

/* ---------- 4. Page chrome: cursor, grain, scroll progress ---------- */

/* Hide OS cursor sitewide on devices with a fine pointer (desktop mouse/trackpad).
   Touch devices keep the system cursor; the custom one is disabled below. */
@media (hover: hover) and (pointer: fine) {
  html.js, html.js body, html.js * { cursor: none !important; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(255,106,0,.7);
  transform: translate3d(-50%, -50%, 0);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,106,0,.7);
  transform: translate3d(-50%, -50%, 0);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.cursor-ring.is-hovering {
  width: 64px; height: 64px;
  border-color: var(--brand);
  background: rgba(255,106,0,.12);
}

/* When the cursor is over an orange element, flip it to white so it stays
   visible against the brand color. JS adds the .is-on-orange class. */
.cursor-dot.is-on-orange {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 0 16px rgba(255,255,255,.7);
}
.cursor-ring.is-on-orange {
  border-color: rgba(255,255,255,.85);
}
.cursor-ring.is-on-orange.is-hovering {
  border-color: #fff;
  background: rgba(255,255,255,.12);
}

/* When the cursor is over an element whose hover state turns light (white
   primary buttons, etc.), flip it dark so it stays visible. */
.cursor-dot.is-on-light {
  background: #08080A;
  box-shadow: 0 0 0 3px rgba(8,8,10,.22), 0 0 14px rgba(8,8,10,.5);
}
.cursor-ring.is-on-light {
  border-color: rgba(8,8,10,.9);
}
.cursor-ring.is-on-light.is-hovering {
  border-color: #08080A;
  background: rgba(8,8,10,.1);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--grad-orange);
  z-index: 200;
  transform-origin: 0 50%;
  transition: width .12s linear;
}

/* Page curtain — orange slide-up wipe on internal navigation.
   On load: curtain starts covering the viewport, slides UP off the top.
   On click: curtain slides UP from below, covers, then JS navigates.
   Together this creates a continuous upward orange wipe across pages. */
.curtain {
  position: fixed;
  inset: 0;
  background: var(--grad-orange);
  z-index: 9000;
  pointer-events: none;
  transform: translateY(-100%);
  will-change: transform;
  animation: curtainOpen .14s cubic-bezier(.76, 0, .24, 1) forwards;
}
@keyframes curtainOpen {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}
.curtain.is-leaving {
  pointer-events: auto;
  animation: curtainClose .1s cubic-bezier(.76, 0, .24, 1) forwards;
}
@keyframes curtainClose {
  0%   { transform: translateY(100%); }
  100% { transform: translateY(0%); }
}
@media (prefers-reduced-motion: reduce) {
  .curtain, .curtain.is-leaving { animation: none !important; transform: translateY(-100%) !important; }
}

/* ---------- 5. Header ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--t-med) var(--ease-out), backdrop-filter var(--t-med) var(--ease-out), padding var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: .8rem 0;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: 1.15rem;
  color: var(--ink);
  position: relative;
  z-index: 2;
}
.brand img { height: 28px; width: auto; }
.brand__icon {
  height: clamp(48px, 5vw, 68px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255,106,0,.32));
}
.header.is-scrolled .brand__icon {
  height: clamp(40px, 4.2vw, 56px);
}
.brand__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--grad-orange);
  box-shadow: 0 0 0 4px rgba(255,106,0,.18), 0 0 22px rgba(255,106,0,.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
}
.nav a {
  font-size: .87rem;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: -.005em;
  position: relative;
  padding: .35rem 0;
  transition: color var(--t-fast) var(--ease-out);
}
.nav a:not(.btn):after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease-out);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav a[aria-current="page"]:not(.btn) { color: var(--ink); }

/* Roomier "Book a Call" button in the header */
.nav .btn--primary { padding: .82rem 1.6rem; font-size: .9rem; }

/* Language switch (EN / ES) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.lang-switch__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--mute);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  padding: .32rem .6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active { color: #000; background: var(--brand); }
.lang-switch--mobile { margin-top: 1.75rem; align-self: flex-start; }

/* ===== Accessibility widget ===== */
.a11y { position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 1200; }
.a11y__fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #000; border: 0; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.a11y__fab:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,106,0,.4); }
.a11y__fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.a11y__fab svg { width: 28px; height: 28px; }
.a11y__panel {
  position: absolute; bottom: 64px; left: 0;
  width: 264px; max-width: 78vw;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 1rem; box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.a11y__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 0; color: var(--ink); }
.a11y__close { background: none; border: 0; color: var(--mute); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.a11y__close:hover { color: var(--ink); }
.a11y__opts { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.a11y__opt {
  width: 100%; text-align: left;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-dim);
  border-radius: 10px; padding: .62rem .75rem; font-size: .9rem; font-family: var(--font-body);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.a11y__opt::after { content: "Off"; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.a11y__opt:hover { color: var(--ink); }
.a11y__opt.is-on { border-color: var(--brand); color: var(--ink); }
.a11y__opt.is-on::after { content: "On"; color: var(--brand); }
.a11y__opt:focus-visible, .a11y__reset:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.a11y__reset {
  width: 100%; background: none; border: 1px solid var(--line); color: var(--mute);
  border-radius: 10px; padding: .55rem; font-size: .82rem; font-family: var(--font-body); cursor: pointer;
}
.a11y__reset:hover { color: var(--ink); border-color: var(--line-strong); }

/* ----- Accessibility modes (classes on <html>) ----- */
html.a11y-large-text { font-size: 118%; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }

html.a11y-contrast {
  --bg: #000; --surface: #0a0a0a; --surface-2: #121212;
  --ink: #ffffff; --ink-dim: #ffffff; --mute: #e8e8e8; --mute-2: #cfcfcf;
  --line: rgba(255,255,255,.45); --line-strong: rgba(255,255,255,.7);
}
html.a11y-contrast body { background: #000; }
html.a11y-contrast a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

html.a11y-readable * { font-family: -apple-system, "Segoe UI", Tahoma, Verdana, Arial, sans-serif !important; }
html.a11y-readable p, html.a11y-readable li, html.a11y-readable .lead { line-height: 1.85 !important; letter-spacing: .01em !important; }

html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
html.a11y-no-motion .reveal,
html.a11y-no-motion .reveal-stagger,
html.a11y-no-motion .line__inner,
html.a11y-no-motion [data-parallax],
html.a11y-no-motion [class*="reveal"] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html.a11y-no-motion .cursor-ring,
html.a11y-no-motion .cursor-dot,
html.a11y-no-motion .grain { display: none !important; }

/* ===== Video lightbox ===== */
.vlb {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin;
  background: rgba(0,0,0,.86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vlb, .vlb * { cursor: auto !important; }
.vlb__close { cursor: pointer !important; }
.vlb__inner { position: relative; width: 100%; max-width: min(1100px, 92vw); }
.vlb__video {
  width: 100%; max-height: 86vh; display: block;
  border-radius: var(--r-md); background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.vlb__close {
  position: absolute; top: -16px; right: -16px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--brand); color: #000;
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
@media (max-width: 600px) { .vlb__close { top: -8px; right: 0; } }
/* The custom cursor is hidden in reduce-motion, so bring the native cursor back
   (the site otherwise forces cursor:none and relies on the JS cursor). */
html.a11y-no-motion,
html.a11y-no-motion body,
html.a11y-no-motion * { cursor: auto !important; }
html.a11y-no-motion a,
html.a11y-no-motion button,
html.a11y-no-motion [role="button"],
html.a11y-no-motion label,
html.a11y-no-motion select,
html.a11y-no-motion summary,
html.a11y-no-motion [data-cursor-hover] { cursor: pointer !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  background: rgba(255,255,255,.02);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), top var(--t-med) var(--ease-out);
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  padding: 6rem var(--edge) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform var(--t-slow) var(--ease-expo);
  visibility: hidden;
}
.mmenu.is-open { transform: translateY(0); visibility: visible; }
.mmenu nav { display: flex; flex-direction: column; gap: 1.2rem; }
.mmenu nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.mmenu__contact { color: var(--mute); font-size: .9rem; line-height: 1.8; }
.mmenu__contact a { color: var(--ink-dim); }

/* ---------- 6. Buttons ---------- */

.btn {
  --bg: transparent;
  --fg: var(--ink);
  --bdr: var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bdr);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.005em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-orange);
  transform: translateY(101%);
  transition: transform var(--t-med) var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #08080A; border-color: transparent; }

.btn--primary {
  --bg: var(--brand);
  --fg: #08080A;
  --bdr: transparent;
  background: var(--grad-orange);
  font-weight: 600;
}
.btn--primary::before {
  background: #fff;
}
.btn--primary:hover { color: #08080A; }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink-dim);
  --bdr: var(--line);
}

.btn--lg { padding: 1.15rem 1.9rem; font-size: .95rem; }

/* ---------- 7. Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(6rem, 9vh, 7.25rem) 0 clamp(2.5rem, 5vh, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  opacity: .22;
  filter: contrast(1.06) saturate(.8);
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(255,106,0,.18), transparent 60%),
    radial-gradient(ellipse 90% 80% at 10% 80%, rgba(229,56,10,.12), transparent 70%),
    linear-gradient(180deg, rgba(8,8,10,.4) 0%, rgba(8,8,10,.6) 40%, rgba(8,8,10,.96) 100%);
  pointer-events: none;
}

.hero__meta {
  position: absolute;
  top: clamp(6.5rem, 12vh, 9rem);
  left: var(--edge);
  right: var(--edge);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__meta-r { text-align: right; }
.hero__meta-r .mono { display: block; }
.hero__meta-r .mono + .mono { margin-top: .25rem; color: var(--ink-dim); }

.hero__main {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--edge);
  width: 100%;
}

/* Hero brand eyebrow tag — make it orange and larger than default */
.hero__brand .eyebrow {
  color: var(--brand);
  font-size: clamp(.85rem, 1.1vw, 1.05rem);
  letter-spacing: .25em;
  font-weight: 600;
}
.hero__brand .eyebrow::before {
  width: 38px;
  height: 2px;
}

/* Hero brand strip: logo + "what we do" capabilities row */
.hero__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(.9rem, 2vw, 1.4rem);
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--line);
}
.hero__brand-logo {
  height: clamp(38px, 4.4vw, 64px);
  width: auto;
  display: block;
}
.hero__caps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(.7rem, 1.5vw, 1.3rem) clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  font-size: .82rem;
  letter-spacing: .02em;
}
.hero__caps li {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink-dim);
  padding: .35rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
}
.hero__caps li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

/* Hero two-column layout: headline column + form column */
.hero__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(.75rem, 2vh, 1.5rem);
  margin-bottom: clamp(2rem, 4vh, 3rem);
}
.hero__col-l { display: flex; flex-direction: column; gap: clamp(.9rem, 2vh, 1.5rem); }
.hero__col-r { position: relative; }

.hero__title {
  font-size: clamp(1.6rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 30ch;
}
.hero__title .line__inner { white-space: nowrap; }
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line__inner {
  display: inline-block;
  will-change: transform;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 48ch;
  margin: 0;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero column logo (above headline). Aspect ratio is locked via the img's
   width/height attrs + height: auto, so it can't stretch no matter the size. */
.hero__logo-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}
.hero__logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 200%;
  background: radial-gradient(ellipse 50% 50% at center, rgba(255,106,0,.40), rgba(255,106,0,0) 70%);
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
}
.hero__logo {
  height: auto;
  width: clamp(240px, 26vw, 440px);
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Hero form tightened so it climbs higher above the fold (hero only; Book page form unchanged) */
.hero .form-card--hero { padding: clamp(1.25rem, 2vw, 1.75rem); }
.hero .form-card__head { margin-bottom: .85rem; }
.hero .form-card__title { font-size: clamp(1.2rem, 1.6vw, 1.5rem); margin-bottom: .4rem; }
.hero .form-row { gap: .7rem; }
.hero .field { gap: .3rem; }
.hero #lf-notes { min-height: 0; height: 2.6rem; }

/* Hero CTA block: logo + pill badge + buttons, stacked left-aligned */
.hero__cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  margin-top: .5rem;
}
.hero__cta-logo {
  height: clamp(48px, 5.6vw, 78px);
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 28px rgba(255,106,0,.18));
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem 1.1rem .55rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255,106,0,.18), 0 0 14px rgba(255,106,0,.7);
  flex-shrink: 0;
  animation: badgePulse 2.4s var(--ease-in-out) infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,106,0,.18), 0 0 14px rgba(255,106,0,.7); }
  50%      { box-shadow: 0 0 0 7px rgba(255,106,0,.06), 0 0 18px rgba(255,106,0,.9); }
}

/* Full-bleed proof strip, breaks out of .hero__main max-width */
.hero__proof {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding: clamp(2.2rem, 4.5vh, 3.5rem) var(--edge) clamp(.5rem, 1vh, 1rem);
  border-top: 1px solid var(--line);
}
.hero__proof-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  text-align: center;
  color: var(--ink);
  margin: 0 0 clamp(2rem, 3.5vw, 3rem);
}
.hero__proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  justify-items: center;
}
.hero__proof-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  min-width: 0;
}
.hero__proof-grid strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.035em;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}
.hero__proof-grid span {
  color: var(--mute);
  font-size: clamp(.85rem, 1vw, .98rem);
  letter-spacing: .02em;
}
.hero__proof-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-inline: auto; }
.hero__proof-note {
  text-align: center;
  color: var(--mute);
  max-width: 52ch;
  margin: .4rem auto 1.9rem;
  font-size: clamp(.88rem, 1vw, .98rem);
  line-height: 1.55;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: var(--mute);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--brand) 0%, transparent 100%);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.001% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 8. Marquee ---------- */

.marquee {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  white-space: nowrap;
  will-change: transform;
  width: max-content;
}
.marquee__item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  letter-spacing: -.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.marquee__item::after {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.marquee__item--alt { color: var(--mute-2); -webkit-text-stroke: 1px var(--ink); -webkit-text-fill-color: transparent; }

/* ---------- 9. Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
/* 5-column variant: services overview on home */
.stats--five { grid-template-columns: repeat(5, 1fr); }
.stats--five .stat:nth-child(4n) { border-right: 1px solid var(--line); }
.stats--five .stat:nth-child(5n) { border-right: 0; }

.stat {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem) clamp(2rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stat:nth-child(4n) { border-right: 0; }

/* Clickable stat tile (services overview) */
a.stat {
  text-decoration: none;
  color: inherit;
  transition: background var(--t-med) var(--ease-out);
  cursor: pointer;
}
a.stat::after {
  content: "";
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  right: clamp(1rem, 2vw, 1.6rem);
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F5F4' stroke-width='2'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / 11px 11px no-repeat;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
}
a.stat:hover { background: rgba(255,106,0,.04); }
a.stat:hover::after {
  opacity: 1;
  transform: translate(0, 0);
  border-color: var(--brand);
  background-color: rgba(255,106,0,.12);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: .8rem;
  display: flex;
  align-items: baseline;
  gap: .1em;
}
.stat__num--accent {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Word-style (Ads, Social, Video, SEO, Web) — slightly tighter than numbers,
   and orange-gradient by default since the home services overview uses these. */
.stat__num--word {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  letter-spacing: -.035em;
  text-transform: lowercase;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Equal-height slot so a smaller word (e.g. "production") shares the
     same baseline as the full-size words instead of floating high. */
  min-height: clamp(2.4rem, 4.6vw, 4rem);
  align-items: flex-end;
}
.stat__label {
  font-size: .88rem;
  color: var(--mute);
  letter-spacing: -.005em;
  line-height: 1.5;
  max-width: 24ch;
}

/* ===== Capabilities accordion (expanding panels) ===== */
.accordion {
  display: flex;
  gap: clamp(.5rem, 1vw, .9rem);
  height: clamp(360px, 46vh, 460px);
  align-items: stretch;
}
.acc-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), #0c0c0f);
  transition: flex-grow .55s cubic-bezier(.4,0,.2,1), border-color .4s var(--ease-out), background .4s var(--ease-out);
}
.acc-panel.is-active {
  flex-grow: 5.5;
  border-color: rgba(255,106,0,.45);
  background: linear-gradient(150deg, rgba(255,106,0,.14), transparent 62%), var(--surface);
}
.acc-panel__num {
  position: absolute; top: 1.1rem; left: 1.25rem; z-index: 2;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; color: var(--brand);
}
.acc-panel__label {
  position: absolute; top: 3rem; left: 1.1rem; right: .5rem;
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; text-transform: lowercase;
  font-size: clamp(.92rem, 1vw, 1.05rem); letter-spacing: -.025em;
  background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  transition: opacity .3s ease;
}
.acc-panel__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.75rem);
  padding-top: clamp(3rem, 4.5vw, 4.25rem);
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease .12s;
}
.acc-panel__title {
  font-family: var(--font-display); font-weight: 600; text-transform: lowercase;
  font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.03em; line-height: .95; margin: 0 0 1.1rem;
  background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.acc-panel__desc { font-size: clamp(1rem, 1.1vw, 1.2rem); line-height: 1.55; color: var(--ink-dim); margin: 0; max-width: 44ch; }
.acc-panel__more { margin-top: auto; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--brand); }
.acc-panel.is-active .acc-panel__content { opacity: 1; pointer-events: auto; }
.acc-panel.is-active .acc-panel__label { opacity: 0; }
/* Entrance: panels slide in from the left, staggered, when the section scrolls into view */
@keyframes accSlideIn { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
.accordion.is-armed .acc-panel { opacity: 0; }
.accordion.is-armed.is-inview .acc-panel { animation: accSlideIn .6s var(--ease-out) both; }
.accordion.is-armed.is-inview .acc-panel:nth-child(2) { animation-delay: .09s; }
.accordion.is-armed.is-inview .acc-panel:nth-child(3) { animation-delay: .18s; }
.accordion.is-armed.is-inview .acc-panel:nth-child(4) { animation-delay: .27s; }
.accordion.is-armed.is-inview .acc-panel:nth-child(5) { animation-delay: .36s; }
html.a11y-no-motion .accordion.is-armed .acc-panel { opacity: 1 !important; animation: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .accordion.is-armed .acc-panel { opacity: 1 !important; animation: none !important; transform: none !important; }
}

@media (max-width: 860px) {
  /* Same expand/collapse template as desktop, stacked vertically:
     collapsed panels are slim strips (number + name), the active one expands. */
  .accordion { flex-direction: column; height: auto; gap: .75rem; }
  .acc-panel { flex: none; }
  .acc-panel__num { top: 1.1rem; left: 1.25rem; }

  /* Collapsed strip: the name shows as a tappable label. */
  .acc-panel__label {
    display: block;
    position: static;
    white-space: normal;
    padding: 2.6rem 1.5rem 1.4rem 1.25rem;
    font-size: 1.6rem;
    opacity: 1;
    transition: opacity .25s ease;
  }
  .acc-panel.is-active .acc-panel__label { display: none; }

  /* Content: collapsed by default, expands when the panel is active. */
  .acc-panel__content {
    position: static;
    width: auto;
    pointer-events: auto;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height .5s var(--ease-out), opacity .35s var(--ease-out), padding .35s var(--ease-out);
  }
  .acc-panel.is-active .acc-panel__content {
    opacity: 1;
    max-height: 480px;
    padding: 2.6rem 1.5rem 1.6rem 1.25rem;
  }
}

/* ---------- 10. Services: editorial list ---------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}
.section-head__copy { max-width: 52ch; }
.section-head .lead { color: var(--mute); font-size: 1.05rem; }
.section-head--top { align-items: start; }
.recent-client__aside { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.25rem, 3vh, 2rem); }
.recent-client__logo { width: clamp(110px, 15vw, 200px); height: auto; opacity: .92; }

/* Stacked variant: headline gets the full row, lead drops below.
   Use with .h2--oneline to keep the headline on a single line. */
.section-head--full {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
.section-head--full .section-head__copy { max-width: none; }
.section-head--full .lead { max-width: 70ch; }
.h2--oneline {
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  white-space: nowrap;
  letter-spacing: -.025em;
}
@media (max-width: 760px) {
  .h2--oneline {
    white-space: normal;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

.srv-list { border-top: 1px solid var(--line); }
.srv {
  display: grid;
  grid-template-columns: clamp(95px, 12vw, 155px) minmax(0, 1fr) 60px;
  grid-template-areas: "num name arrow" "desc desc desc";
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.4rem);
  row-gap: 0;
  padding: clamp(1.5rem, 2.8vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.srv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-orange-soft);
  transform: translateY(100%);
  transition: transform var(--t-slow) var(--ease-expo);
  z-index: -1;
}
.srv:hover::before { transform: translateY(0); }
.srv__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--mute);
}
.srv__name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  letter-spacing: -.025em;
  line-height: 1.02;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: transform var(--t-slow) var(--ease-expo);
}
.srv:hover .srv__name { transform: translateX(8px); }
.srv__desc {
  grid-area: desc;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 70ch;
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out), margin .4s var(--ease-out);
}
.srv.is-active .srv__desc { max-height: 220px; opacity: 1; margin-top: 1rem; }
.srv.is-active::before { transform: translateY(0); }
.srv.is-active .srv__name { transform: translateX(8px); }
.srv.is-active .srv__arrow { background: var(--brand); border-color: var(--brand); color: #000; }
.srv__arrow {
  grid-area: arrow;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  color: var(--ink);
  transition: transform var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
}
.srv__arrow svg { width: 16px; height: 16px; }
.srv:hover .srv__arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #08080A;
  transform: rotate(-45deg);
}

/* Entrance: rows drop in from above, staggered top-to-bottom, when the list scrolls into view. */
@keyframes srvSlideDown { from { opacity: 0; transform: translateY(-34px); } to { opacity: 1; transform: none; } }
.srv-list.is-armed .srv { opacity: 0; }
.srv-list.is-armed.is-inview .srv { animation: srvSlideDown .6s var(--ease-out) both; }
.srv-list.is-armed.is-inview .srv:nth-child(2) { animation-delay: .07s; }
.srv-list.is-armed.is-inview .srv:nth-child(3) { animation-delay: .14s; }
.srv-list.is-armed.is-inview .srv:nth-child(4) { animation-delay: .21s; }
.srv-list.is-armed.is-inview .srv:nth-child(5) { animation-delay: .28s; }
.srv-list.is-armed.is-inview .srv:nth-child(6) { animation-delay: .35s; }
.srv-list.is-armed.is-inview .srv:nth-child(7) { animation-delay: .42s; }
.srv-list.is-armed.is-inview .srv:nth-child(8) { animation-delay: .49s; }
.srv-list.is-armed.is-inview .srv:nth-child(9) { animation-delay: .56s; }
html.a11y-no-motion .srv-list.is-armed .srv { opacity: 1 !important; animation: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .srv-list.is-armed .srv { opacity: 1 !important; animation: none !important; transform: none !important; }
}

/* ---------- 11. Value prop split ---------- */

.value {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}
.value__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface);
}
.value__copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}
.value__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  filter: grayscale(.2) contrast(1.04);
  will-change: transform;
}
.value__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,8,10,.0) 0%, rgba(8,8,10,.0) 50%, rgba(229,56,10,.18) 100%);
  pointer-events: none;
}
.value__media-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .95rem;
  background: rgba(8,8,10,.65);
  backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
}
.value__media-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}
.value__copy h2 { margin: 1.25rem 0 1.5rem; }
.value__copy p { color: var(--ink-dim); margin-bottom: 1.2rem; max-width: 48ch; }
.value__copy p:last-of-type { margin-bottom: 2.2rem; }

/* ---------- 12. Testimonials ---------- */

.tlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}
.tcard--wide { grid-column: 1 / -1; }
.tcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
}
.tcard::before {
  content: "“";
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  color: var(--surface-2);
  pointer-events: none;
}
.tcard__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.tcard__author {
  display: flex;
  flex-direction: column;
  font-size: .88rem;
  color: var(--mute);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.tcard__author strong {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------- 13. Lead form ---------- */

.lead-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(255,106,0,.10), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.lead-grid__copy { position: sticky; top: 8rem; }
.lead-grid__copy h2 { margin: 1.25rem 0 1.5rem; }
.lead-grid__copy p { color: var(--ink-dim); margin-bottom: 1.5rem; max-width: 42ch; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.form-card--hero {
  background: rgba(20,20,24,.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px var(--line);
}
.form-card__head { margin-bottom: 1.5rem; }
.form-card__head .eyebrow { margin-bottom: .9rem; }
.form-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: .55rem;
  color: var(--ink);
}
.form-card__sub { font-size: .9rem; color: var(--mute); }
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-orange);
}
.form-row { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label,
.field__label {
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .95rem 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: .95rem;
  transition: border-color var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out);
}
.field input::placeholder { color: var(--mute-2); }
.field input:focus,
.field select:focus { outline: none; border-color: var(--brand); background: var(--bg); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238A8A92' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; font-family: inherit; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .85rem;
  color: var(--ink-dim);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  background: var(--bg-2);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--brand); border-color: var(--brand); color: #08080A; }
.chip:has(input:checked)::before { content: "✓"; font-weight: 600; }

.form-card button[type=submit] { width: 100%; justify-content: center; margin-top: .5rem; }
.form-card__note { font-size: .78rem; color: var(--mute); margin-top: .8rem; text-align: center; }

/* Inline error message shown above the submit button */
.form-card__error {
  margin: .5rem 0 .25rem;
  padding: .75rem 1rem;
  background: rgba(255,82,82,.08);
  border: 1px solid rgba(255,82,82,.3);
  border-radius: var(--r-sm);
  color: #FF7A7A;
  font-size: .85rem;
  line-height: 1.4;
  text-align: center;
}

/* Submit button busy state */
.form-card button[type=submit].is-busy {
  opacity: .85;
  cursor: progress;
  pointer-events: none;
}
.form-card button[type=submit].is-busy svg { animation: btnBusy 1s linear infinite; }
@keyframes btnBusy {
  0%   { transform: translateX(0); opacity: 1; }
  50%  { transform: translateX(6px); opacity: .5; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Success state — when form-card has .is-success, hide the input rows and
   show the success card in their place. */
.form-card.is-success .form-card__head,
.form-card.is-success .form-row { display: none; }

.form-card__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 1rem clamp(1rem, 2vw, 1.5rem);
  gap: .9rem;
  animation: successIn .6s cubic-bezier(.16, 1, .3, 1) both;
}
.form-card.is-success .form-card__success { display: flex; }
.form-card.is-success { background: var(--surface); }

@keyframes successIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.form-card__success-icon {
  width: clamp(56px, 7vw, 76px);
  height: clamp(56px, 7vw, 76px);
  color: var(--brand-light);
  filter: drop-shadow(0 0 24px rgba(255,106,0,.55));
  margin-bottom: .25rem;
}
.form-card__success-ring {
  stroke-dasharray: 188.5;
  stroke-dashoffset: 188.5;
  animation: successRing .7s cubic-bezier(.16, 1, .3, 1) .05s forwards;
}
.form-card__success-check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: successCheck .45s cubic-bezier(.65, 0, .35, 1) .55s forwards;
}
@keyframes successRing  { to { stroke-dashoffset: 0; } }
@keyframes successCheck { to { stroke-dashoffset: 0; } }

.form-card__success-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.form-card__success-sub {
  color: var(--ink-dim);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 30ch;
  margin: 0;
}

/* ============================================================
   Chat Assistant — floating widget on every page
   ============================================================ */
.chat-agent {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  right:  max(1.5rem, env(safe-area-inset-right));
  z-index: 1000;
  font-family: var(--font-body);
}

/* Floating action button */
.chat-fab {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.15rem .85rem 1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--grad-orange);
  color: #08080A;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: -.005em;
  cursor: pointer;
  box-shadow: 0 18px 50px -10px rgba(255,106,0,.45), 0 8px 20px -6px rgba(0,0,0,.6);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  white-space: nowrap;
}
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -10px rgba(255,106,0,.6), 0 10px 24px -6px rgba(0,0,0,.7); }
.chat-fab__icon {
  width: 22px; height: 22px;
  color: #08080A;
  flex-shrink: 0;
}
.chat-fab__dot {
  position: absolute;
  top: 8px; right: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #08080A;
  border: 1.5px solid #fff;
  display: none;
}
.chat-agent[data-state="closed"] .chat-fab__dot { display: block; }
.chat-agent[data-state="closed"] .chat-fab__dot::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6);
  animation: chatPing 1.8s ease-out infinite;
}
@keyframes chatPing { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(2.2);opacity:0} }

.chat-agent[data-state="open"] .chat-fab { transform: scale(.9); opacity: .8; }

/* Chat panel */
.chat-panel {
  position: absolute;
  bottom: calc(100% + .85rem);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 580px;
  max-height: calc(100vh - 8rem);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.7), 0 16px 40px -10px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: translateY(20px) scale(.94);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med) var(--ease-expo), opacity var(--t-med) var(--ease-out);
  isolation: isolate;
}
.chat-agent[data-state="open"] .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-orange);
  z-index: 2;
}

/* Panel header */
.chat-panel__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.1rem .9rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,106,0,.05) 0%, transparent 100%);
}
.chat-panel__brand { display: flex; align-items: center; gap: .7rem; }
.chat-panel__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.chat-panel__avatar img { width: 26px; height: 26px; }
.chat-panel__brand-text { display: flex; flex-direction: column; gap: .15rem; line-height: 1; }
.chat-panel__brand-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.chat-panel__status {
  font-size: .7rem;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.chat-panel__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7CE883;
  box-shadow: 0 0 8px #7CE883;
}
.chat-panel__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.chat-panel__close:hover { border-color: var(--brand-light); color: var(--ink); }

/* Messages area */
.chat-panel__messages {
  flex: 1 1 0;
  min-height: 0;            /* allows the flex child to shrink so overflow-y can scroll */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  scroll-behavior: smooth;
}
.chat-panel__messages::-webkit-scrollbar { width: 6px; }
.chat-panel__messages::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.chat-panel__messages::-webkit-scrollbar-track { background: transparent; }

.chat-msg {
  max-width: 86%;
  padding: .7rem .95rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.5;
  word-wrap: break-word;
  animation: chatMsgIn .35s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes chatMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.chat-msg--bot {
  align-self: flex-start;
  background: var(--bg-2);
  color: var(--ink-dim);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--grad-orange);
  color: #08080A;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat-msg a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; }
.chat-msg--user a { color: #08080A; }

.chat-msg--typing {
  align-self: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: .85rem 1rem;
  border-radius: 14px 14px 14px 4px;
  display: inline-flex;
  gap: .25rem;
  width: fit-content;
}
.chat-msg--typing span {
  width: 6px; height: 6px;
  background: var(--mute);
  border-radius: 50%;
  animation: chatType 1.2s ease-in-out infinite;
}
.chat-msg--typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatType {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

/* Quick reply chips */
.chat-panel__quick {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0 1rem .7rem;
  max-height: 38vh;
  overflow-y: auto;
}
.chat-panel__quick:empty { display: none; }
.chat-quick {
  padding: .5rem .9rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast) ease;
  font-family: inherit;
}
.chat-quick:hover {
  border-color: var(--brand);
  color: var(--brand-light);
  background: rgba(255,106,0,.06);
}

/* Input form */
.chat-panel__form {
  flex-shrink: 0;
  display: flex;
  gap: .5rem;
  padding: .85rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.chat-panel__input {
  flex: 1;
  padding: .7rem .95rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t-fast) ease;
}
.chat-panel__input:focus { border-color: var(--brand); }
.chat-panel__input::placeholder { color: var(--mute-2); }

.chat-panel__send {
  width: 42px; height: 42px;
  background: var(--grad-orange);
  border: 0; border-radius: 50%;
  color: #08080A;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-fast) ease;
}
.chat-panel__send:hover { transform: scale(1.06); }
.chat-panel__send svg { width: 18px; height: 18px; }

/* Inline lead-capture form inside chat */
.chat-leadform {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: .25rem 0;
  padding: 1rem;
  background: rgba(255,106,0,.05);
  border: 1px solid rgba(255,106,0,.2);
  border-radius: 12px;
}
.chat-leadform input {
  padding: .65rem .85rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: .88rem;
  font-family: inherit;
}
.chat-leadform input:focus { outline: none; border-color: var(--brand); }
.chat-leadform button {
  padding: .7rem 1rem;
  background: var(--grad-orange);
  color: #08080A;
  border: 0; border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  font-family: inherit;
  margin-top: .25rem;
}
.chat-leadform__cancel {
  background: transparent !important;
  color: var(--mute) !important;
  font-weight: 500 !important;
  padding: .4rem 0 !important;
}

/* Hide on touch/coarse pointer if needed — show always for now */
@media (max-width: 480px) {
  .chat-agent { bottom: 1rem; right: 1rem; }
  .chat-fab { padding: .75rem 1rem; font-size: .85rem; }
  .chat-fab__icon { width: 20px; height: 20px; }
  .chat-panel { width: calc(100vw - 2rem); height: calc(100vh - 6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab__dot::after { animation: none; }
}

/* ---------- 14. Booking section ---------- */

.book-band {
  position: relative;
  padding: clamp(5.5rem, 11vw, 10rem) 0;
  text-align: center;
  overflow: hidden;
}
.book-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,106,0,.18), transparent 70%);
}
.book-band > .wrap { position: relative; z-index: 1; }
.book-band__copy { max-width: none; margin: 0 auto 2rem; padding: 0 1rem; }
.book-band__copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.04;
}
.book-band__copy p { color: var(--ink-dim); max-width: 58ch; margin: 0 auto; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.55; }

.calendly-inline-widget {
  min-width: 320px;
  height: 660px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 2rem;
}

/* ---------- Acuity scheduler embed ---------- */
.acuity-embed {
  max-width: 900px;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 800px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.acuity-embed::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-orange);
  z-index: 2;
}
.acuity-embed iframe { display: block; width: 100%; min-height: 800px; background: #fff; }
.acuity-embed .btn { margin: 2rem auto; display: inline-flex; }

/* ---------- Custom booker (legacy, retained) ---------- */
.booker {
  max-width: 640px;
  margin: 2.5rem auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.booker::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-orange);
}
.booker__form { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2rem); }
.booker__step { display: flex; flex-direction: column; gap: .75rem; }
.booker__step-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
}
.booker__date {
  width: 100%;
  padding: .9rem 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  color-scheme: dark;
}
.booker__date:focus { outline: none; border-color: var(--brand); }
.booker__hint { font-size: .78rem; color: var(--mute); margin: 0; }

.booker__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: .55rem;
}
.booker__slots-empty { grid-column: 1 / -1; color: var(--mute-2); font-size: .9rem; margin: 0; padding: .5rem 0; }
.booker__slot {
  padding: .7rem .5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-dim);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease, color var(--t-fast) ease;
}
.booker__slot:hover { border-color: var(--brand-light); color: var(--ink); }
.booker__slot.is-selected {
  background: var(--grad-orange);
  border-color: transparent;
  color: #08080A;
  font-weight: 600;
}

.booker__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.booker__fields input,
.booker__fields textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
}
.booker__fields input:focus,
.booker__fields textarea:focus { outline: none; border-color: var(--brand); }
.booker__fields input::placeholder,
.booker__fields textarea::placeholder { color: var(--mute-2); }
#bk-name, #bk-email { grid-column: span 1; }
#bk-notes { grid-column: 1 / -1; resize: vertical; min-height: 56px; }

.booker__submit { width: 100%; justify-content: center; }
.booker__submit.is-busy { opacity: .85; pointer-events: none; cursor: progress; }
.booker__submit.is-busy svg { animation: btnBusy 1s linear infinite; }

.booker__error {
  margin: 0;
  padding: .75rem 1rem;
  background: rgba(255,82,82,.08);
  border: 1px solid rgba(255,82,82,.3);
  border-radius: var(--r-sm);
  color: #FF7A7A;
  font-size: .85rem;
  text-align: center;
}

.booker__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
  animation: successIn .6s cubic-bezier(.16, 1, .3, 1) both;
}
.booker.is-success .booker__form { display: none; }
.booker.is-success .booker__success { display: flex; }

@media (max-width: 560px) {
  .booker__fields { grid-template-columns: 1fr; }
}

/* ---------- 15. Footer ---------- */

.foot {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 7vw, 6rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.foot__big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 7vw, 7.5rem);
  letter-spacing: -.04em;
  line-height: .92;
  color: var(--ink);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 100%;
  white-space: nowrap;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.foot__big::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse 50% 50% at center, rgba(255,106,0,.40), rgba(255,106,0,0) 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: -1;
}
.foot__big .gradient-text { display: inline-block; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.foot__col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.2rem;
}
.foot__col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.foot__col a { color: var(--ink-dim); font-size: .92rem; transition: color var(--t-fast) var(--ease-out); }
.foot__col a:hover { color: var(--brand-light); }
.foot__tag { color: var(--mute); font-size: .9rem; line-height: 1.7; max-width: 32ch; }
.foot__tag a { color: var(--ink-dim); }
.foot__tag a:hover { color: var(--brand-light); }
.foot__meta {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: .78rem;
  color: var(--mute);
  flex-wrap: wrap;
}

/* ---------- 15b. Subpage hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(8rem, 16vh, 12rem) 0 clamp(3rem, 7vh, 6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(255,106,0,.18), transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(229,56,10,.10), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  letter-spacing: -.035em;
  line-height: .96;
  margin: 1.25rem 0 1.5rem;
  max-width: 18ch;
  color: var(--ink);
}
/* About split hero: narrower copy column. Size the title down, stack the two
   lines (block), and keep each line's text from wrapping internally. */
.page-hero--split .page-hero__title {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  max-width: none;
}
.page-hero--split .page-hero__title .line { display: block; }
.page-hero--split .page-hero__title .line__inner { display: inline-block; white-space: nowrap; }
@media (max-width: 860px) {
  .page-hero--split .page-hero__title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .page-hero--split .page-hero__title .line__inner { white-space: normal; }
}
.page-hero__intro {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 60ch;
  margin: 0;
}
.page-hero__meta {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 3vh, 2.5rem);
}
.page-hero__meta > div { display: flex; flex-direction: column; gap: .3rem; }
.page-hero__meta strong { font-size: .92rem; color: var(--ink); font-weight: 500; }
.page-hero__meta span { font-size: .78rem; color: var(--mute); letter-spacing: .03em; }

/* About hero — founder photo split layout */
.page-hero__split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-hero__split-media {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 35%, rgba(255,106,0,.10), transparent 62%), #0c0c0f;
  display: grid;
  place-items: center;
}
.page-hero__split-ph { width: 40%; max-width: 150px; opacity: .22; }
.page-hero__split-media img.is-photo { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 1; }
@media (max-width: 860px) {
  .page-hero__split { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero__split-media { max-width: 360px; margin: 0 auto; }
}

/* ---------- Service detail blocks (services.html) ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.svc-block:nth-child(even) .svc-block__media { order: 2; }
.svc-block__media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface);
}
.svc-block__media img {
  position: absolute; inset: 0;
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.svc-block__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,8,10,0) 0%, rgba(8,8,10,0) 50%, rgba(229,56,10,.22) 100%);
}
.svc-block__num {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--mute);
  letter-spacing: .14em;
  margin-bottom: 1rem;
}
.svc-block__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.75rem);
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.svc-block__desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.svc-block__bullets {
  list-style: none;
  display: flex; flex-direction: column;
  gap: .85rem;
  margin: 0 0 2.5rem;
  padding: 0;
}
.svc-block__bullets li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-dim);
  font-size: .96rem;
}
.svc-block__bullets li::before {
  content: "";
  position: absolute;
  top: .55em; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(255,106,0,.5);
}

/* ---------- Founder / about block ---------- */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.founder__photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(229,56,10,.2) 100%);
}
.founder__badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: rgba(8,8,10,.65); backdrop-filter: blur(10px);
  padding: .55rem .95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .55rem;
}
.founder__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.founder__copy h2 { margin: 1rem 0 1.5rem; font-size: clamp(1.7rem, 3.6vw, 3rem); }
.founder__copy p { color: var(--ink-dim); margin-bottom: 1.25rem; max-width: 58ch; }
.founder__copy p:last-of-type { margin-bottom: 2rem; }

/* ---------- Values / process grid ---------- */
/* ---------- Manifesto: oversized editorial type, no boxes ---------- */
.manifesto { border-top: 1px solid var(--line); }
.mani {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.25rem, 4vw, 4.5rem);
  align-items: start;
  padding: clamp(2.25rem, 4.5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.mani__label {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: clamp(1rem, 1.6vw, 1.5rem);
}
.mani__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}
.mani__desc {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.65;
  color: var(--mute);
  max-width: 46ch;
  margin: 0;
  padding-top: .35rem;
}

/* ---------- Case grid (work.html) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
}
.case:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.case__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
}
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.case:hover .case__media img { transform: scale(1.05); }
.case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8,8,10,.85) 100%); }
.case__body { padding: clamp(1.5rem, 2.5vw, 2rem); }
.case__tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--brand-light);
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.case__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: .6rem;
}
.case__desc { font-size: .92rem; color: var(--mute); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq details { background: var(--bg-2); padding: 1.4rem 1.6rem; cursor: pointer; }
.faq summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -.015em;
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand);
  line-height: 1;
  transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; color: var(--ink-dim); font-size: .95rem; line-height: 1.6; max-width: 70ch; }

/* ---------- Legal ---------- */
.legal { max-width: 70ch; margin: 0 auto; }
.legal h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.7rem); margin: 2.5rem 0 1rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-dim); font-size: .98rem; line-height: 1.7; margin-bottom: 1rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 1.5rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 16. Reveal / motion utility ---------- */

/* Default: everything visible. Hidden initial state is only applied
   when JS has confirmed it can animate (html.anim-on). A failsafe
   timer in main.js removes html.anim-on after a few seconds so the
   page never gets stuck hidden if a CDN hangs or the ticker stalls. */
.reveal,
.reveal-up,
.reveal-line .line__inner { will-change: transform, opacity; }

html.anim-on .reveal,
html.anim-on .reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
/* Note: .reveal-line .line__inner is NOT hidden by CSS anymore. GSAP applies
   the hidden start state via gsap.set() inline. If GSAP fails to load,
   headlines stay visible instead of being permanently clipped. */

/* ---------- 17. Responsive ---------- */

@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(4n) { border-right: 0; }
  .stat { border-right: 1px solid var(--line); }
  .value { grid-template-columns: 1fr; gap: 3rem; }
  .hero__cols { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__title { font-size: clamp(2.2rem, 6.4vw, 4.2rem); max-width: none; }
  /* Form is stacked below — center the left column content so the headline,
     logo, sub, badge, and buttons fill the empty horizontal space. */
  .hero__col-l {
    align-items: center;
    text-align: center;
  }
  .hero__cta-block { align-items: center; }
  .hero__ctas { justify-content: center; }
  .hero__badge { white-space: normal; text-align: center; }
  .section-head { grid-template-columns: 1fr; }
  .tlist { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .svc-block, .founder { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-block:nth-child(even) .svc-block__media { order: 0; }
  .mani { grid-template-columns: 1fr; gap: 1rem; }
  .mani__title { white-space: normal; }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero__meta { display: none; }
  .hero__brand { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero__caps { justify-content: flex-start; font-size: .76rem; }
  .hero__brand-logo { height: 42px; }
  .hero__cols { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { font-size: clamp(1.4rem, 6vw, 2.4rem); max-width: none; }
  .hero__title .line__inner { white-space: normal; }
  .hero__ctas { justify-content: center; }
  .hero__proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
  .hero__proof-grid--3 { grid-template-columns: 1fr; }
  .hero__proof-grid strong { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__proof-title { font-size: clamp(1.2rem, 5vw, 1.6rem); margin-bottom: 1.5rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .srv {
    grid-template-columns: 1fr 50px;
    grid-template-areas: "num arrow" "name name" "desc desc";
    column-gap: .8rem;
    row-gap: .5rem;
    align-items: center;
    padding: 1.4rem 0;
  }
  .srv__arrow { align-self: start; }
  .srv.is-active .srv__desc { max-height: 320px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__col:first-child { grid-column: 1 / 3; }
  .foot__meta { flex-direction: column; gap: .5rem; }
  .calendly-inline-widget { height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .reveal-up, .reveal-line .line__inner { opacity: 1 !important; transform: none !important; }
  .hero__scroll-line { animation: none; }
}

/* ---------- 18. Motion enhancements ---------- */
@media (prefers-reduced-motion: no-preference) {

  /* Ambient: slow hero "Ken Burns" drift (parallax is on the parent, so the
     img can scale independently without fighting the JS transform). */
  .hero__bg img { animation: kenBurns 28s var(--ease-in-out) infinite alternate; }
  @keyframes kenBurns {
    from { transform: scale(1.03); }
    to   { transform: scale(1.13); }
  }

  /* Living accent gradient — gentle flow across all orange text/marks. */
  .gradient-text { background-size: 220% 220%; animation: gradFlow 9s ease-in-out infinite; }
  @keyframes gradFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }

  /* Media images zoom slightly on hover. */
  .value__media, .svc-block__media, .case__media { overflow: hidden; }
  .value__media img, .svc-block__media img, .case__media img { transition: transform 1.1s var(--ease-out); }
  .value__media:hover img, .svc-block__media:hover img, .case__media:hover img { transform: scale(1.06); }

  /* "Every layer" word tiles lift on hover. */
  a.stat { transition: transform var(--t-med) var(--ease-out), background var(--t-med) var(--ease-out); }
  a.stat:hover { transform: translateY(-6px); }

  /* Big primary CTAs get a soft, slow glow pulse to draw the eye. */
  .btn--lg.btn--primary { animation: ctaGlow 3.4s ease-in-out infinite; }
  @keyframes ctaGlow {
    0%, 100% { box-shadow: 0 6px 18px rgba(255,106,0,.10); }
    50%      { box-shadow: 0 10px 40px rgba(255,106,0,.42); }
  }

  /* Page-hero info tiles: lift, and the label warms to the orange gradient. */
  .page-hero__meta > div { transition: transform var(--t-med) var(--ease-out); }
  .page-hero__meta > div:hover { transform: translateY(-6px); }
  .page-hero__meta strong { transition: color var(--t-fast) var(--ease-out); }
  .page-hero__meta > div:hover strong {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ---------- 19. Call agenda — editorial timeline (book page) ---------- */
.agenda-list {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.agenda-row {
  display: grid;
  grid-template-columns: clamp(120px, 16vw, 210px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(1.75rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}
.agenda-row__time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.agenda-row__time span {
  display: block;
  margin-top: .5rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--mute);
  color: var(--mute);
}
.agenda-row__title { font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: .6rem; }
.agenda-row__desc { color: var(--ink-dim); line-height: 1.6; max-width: 62ch; }
@media (max-width: 640px) {
  .agenda-row { grid-template-columns: 1fr; gap: .85rem; }
}

/* ---------- 20. Work — Proof of Performance showcase ---------- */
.proof-head { text-align: center; }
.proof-head .lead { color: var(--mute); margin: 1.1rem auto 0; max-width: 620px; }
.proof-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 15vw, 12rem);
  line-height: .92;
  letter-spacing: -.04em;
}
/* Use the same static top-to-bottom orange fade as the proof numbers
   ($5.6M, etc.) rather than the animated/zoomed gradient. */
.proof-title.gradient-text {
  background-size: 100% 100%;
  animation: none;
}

.proof-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  width: fit-content;
  max-width: 100%;
  margin: clamp(2rem, 4vw, 3rem) auto clamp(2.5rem, 5vw, 3.5rem);
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.proof-filter {
  border: 0;
  background: transparent;
  color: var(--ink-dim);
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  padding: .5rem 1.1rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.proof-filter:hover { color: var(--ink); }
.proof-filter.is-active { background: var(--grad-orange); color: #08080A; font-weight: 600; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out);
}
.case-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.case-card.is-hidden { display: none; }

.case-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, rgba(255,106,0,.08), transparent 62%), #0c0c0f;
}
/* Stats-only variant (no video) — big headline number instead of a player. */
.case-card__stat-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1rem;
  text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(255,106,0,.14), transparent 66%), #0c0c0f;
  border-bottom: 1px solid var(--line);
}
.case-card__feature-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 8.5vw, 7rem);
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.case-card__feature-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}
.case-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-orange);
  color: #08080A;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(255,106,0,.35);
  transition: transform var(--t-med) var(--ease-out);
}
.case-card:hover .case-card__play { transform: translate(-50%, -50%) scale(1.08); }
.case-card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.case-card__play[aria-disabled="true"] { opacity: .5; cursor: default; box-shadow: none; }
.case-card:hover .case-card__play[aria-disabled="true"] { transform: translate(-50%, -50%); }
.case-card__soon {
  position: absolute;
  left: 50%;
  top: calc(50% + 48px);
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
  background: rgba(0,0,0,.5);
  border: 1px solid var(--line);
  padding: .35rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.case-card__tag {
  position: absolute;
  bottom: .9rem;
  right: 1.1rem;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}
.case-card__brand {
  position: absolute;
  bottom: 1rem;
  left: 1.1rem;
  z-index: 2;
  width: clamp(88px, 26%, 116px);
  height: auto;
}
.case-card__body { padding: clamp(1.25rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: .45rem; }
.case-card__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.case-card__meta { font-size: .82rem; color: var(--brand-light); margin-top: -.15rem; }
.case-card__quote { color: var(--ink-dim); font-size: .95rem; line-height: 1.55; margin: .45rem 0 .25rem; }
.case-card__results-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); margin-top: .45rem; }
.case-card__stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.case-stat {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  font-size: .78rem;
  color: var(--mute);
}
.case-stat strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 760px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Blog index and article pages
   ========================================================= */
.hero--small { min-height: 0; padding-top: clamp(5rem, 11vh, 8rem); padding-bottom: clamp(2rem, 5vh, 3.5rem); }

.bloglist { padding-bottom: clamp(4rem, 9vh, 7rem); display: grid; gap: 2.2rem; }
.bloglist__none { color: var(--mute); }
.bpost { padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.bpost:last-child { border-bottom: 0; }
.bpost__cat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.bpost__title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.bpost__title a { color: var(--ink); }
.bpost__title a:hover { color: var(--brand-light, #FF8C33); }
.bpost__sub { color: var(--mute); margin-top: .6rem; max-width: 62ch; }
.bpost__meta { margin-top: .7rem; color: var(--mute-2, #5A5A62); font-size: .8rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.bpost--lead .bpost__title { font-size: clamp(1.7rem, 4vw, 2.6rem); }

.post__head { padding-top: clamp(5rem, 11vh, 8rem); max-width: 54rem; }
.post__title { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.12; margin: .4rem 0 .9rem; }
.post__meta { color: var(--mute); font-size: .85rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.post__preview { margin-top: 1.2rem; padding: .7rem 1rem; border: 1px dashed rgba(255,106,0,.5);
  border-radius: 10px; color: var(--brand); font-size: .85rem; }

/* The article itself. Generous measure, clear hierarchy, nothing clever. */
.post__body { max-width: 44rem; padding-top: clamp(2rem, 5vh, 3rem); padding-bottom: 1rem;
  font-size: 1.08rem; line-height: 1.75; color: var(--ink-dim, #D9D9D6); }
.post__body > * + * { margin-top: 1.15rem; }
.post__body h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600;
  color: var(--ink); line-height: 1.25; margin-top: 2.6rem; letter-spacing: -.01em; }
.post__body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-top: 1.9rem; }
.post__body ul, .post__body ol { padding-left: 1.3rem; }
.post__body li + li { margin-top: .5rem; }
.post__body a { color: var(--brand-light, #FF8C33); text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--brand); }
.post__body blockquote { border-left: 3px solid var(--brand); padding: .3rem 0 .3rem 1.1rem; color: var(--ink); }
.post__body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.post__body th, .post__body td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.post__body th { color: var(--ink); font-weight: 600; }
.post__body strong { color: var(--ink); }

.post__foot { max-width: 44rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.post__foot p { color: var(--mute); }
.post__more { max-width: 54rem; padding-top: 3rem; padding-bottom: clamp(4rem, 9vh, 7rem); }
.post__more h2 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
.postlist { list-style: none; display: grid; gap: .2rem; }
.postlist a { display: grid; gap: .15rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.postlist a:hover .postlist__title { color: var(--brand-light, #FF8C33); }
.postlist__cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.postlist__title { color: var(--ink); font-weight: 500; }
.postlist__date { color: var(--mute-2, #5A5A62); font-size: .78rem; }

@media (max-width: 700px) {
  .post__body { font-size: 1.02rem; }
}
