/* ============ Operzy minimal editorial theme ============ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8f7;
  --ink: #101312;
  --ink-soft: #2a302d;
  --muted: #6b7570;
  --faint: #9aa49f;
  --line: rgba(16, 19, 18, 0.1);
  --line-strong: rgba(16, 19, 18, 0.22);
  --accent: #12a06b;      /* deep mint, readable on white */
  --mint: #3ecf8e;        /* bright mint, tiny details on dark */
  --dark: #0c0f0e;
  --dark-2: #141816;
  --dark-line: rgba(255, 255, 255, 0.1);
  --sans: 'Inter', system-ui, sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--mint); color: #06120c; }

img { max-width: 100%; display: block; }

.shell { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.shell-narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
p { text-wrap: pretty; }

/* ---- Kicker ---- */
.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 9px;
}
.kicker.light { color: rgba(255, 255, 255, 0.45); }

/* ---- Buttons: small, quiet pills ---- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 19px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}
.btn .arrow { transition: transform 0.22s ease; font-size: 13px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); color: var(--dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.hero .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }

.text-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---- Nav: white, tiny ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
}
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 12.5px; font-weight: 450;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 8px 16px; font-size: 12px; }

/* ---- Hero: dark, full first screen ---- */
.hero {
  background: var(--dark);
  background-image: radial-gradient(ellipse 55% 65% at 82% 110%, rgba(62, 207, 142, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% -10%, rgba(31, 68, 54, 0.35), transparent 70%);
  color: #fff;
  padding: 60px 0;
  min-height: calc(100vh - 60px); /* fill the first screen below the 60px nav */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero .shell { width: 100%; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 72px; align-items: center;
  position: relative;
}
.hero-tags { display: flex; align-items: center; gap: 16px; }
.hero .kicker { color: rgba(255, 255, 255, 0.45); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.22); }
.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  margin: 26px 0 22px;
  color: #fff;
}
.hero .lede { font-size: 15px; color: rgba(255, 255, 255, 0.6); max-width: 46ch; line-height: 1.7; }
.lede { font-size: 15px; color: var(--muted); line-height: 1.7; }
.hero-ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ---- Live feed card (sits on dark hero) ---- */
.hero-feed { perspective: 1200px; }
.feed-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 60%);
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
/* gradient hairline border */
.feed-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05) 40%, rgba(62, 207, 142, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* slow breathing glow behind the card */
.feed-card::after {
  content: ''; position: absolute; inset: 10% -10% -15% -10%; z-index: -1;
  background: radial-gradient(ellipse 60% 60% at 50% 60%, rgba(62, 207, 142, 0.22), transparent 70%);
  filter: blur(20px);
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 0%, 100% { opacity: 0.6; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }

.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.feed-head-left { display: flex; align-items: center; gap: 10px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px 4px 7px; border-radius: 999px;
  background: rgba(62, 207, 142, 0.12); border: 1px solid rgba(62, 207, 142, 0.25);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint);
}
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(62, 207, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}
.feed-title { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.5); }
.feed-clock { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.35); font-variant-numeric: tabular-nums; }

.feed-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feed-list li {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 12.5px; line-height: 1.4;
  animation: slideIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: background 0.4s, border-color 0.4s;
}
.feed-list li:first-child { background: rgba(62, 207, 142, 0.06); border-color: rgba(62, 207, 142, 0.22); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: none; } }
.feed-list .ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(62, 207, 142, 0.28), rgba(62, 207, 142, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--mint);
}
.feed-list .ico svg { width: 13px; height: 13px; }
.feed-list .t { color: rgba(255, 255, 255, 0.88); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feed-list .tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.38); }
.feed-list .time { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.35); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* typing indicator row */
.feed-list li.typing { grid-template-columns: 30px 1fr; color: rgba(255, 255, 255, 0.6); }
.feed-list li.typing .ico { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6); box-shadow: none; }
.dots { display: inline-flex; gap: 4px; align-items: center; margin-left: 7px; vertical-align: middle; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); animation: bounce 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-3px); opacity: 1; } }

.feed-foot { display: flex; gap: 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.feed-foot div { display: flex; flex-direction: column; gap: 2px; }
.feed-foot strong { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.feed-foot strong.bump { color: var(--mint); }
.feed-foot span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35); }
.feed-note { margin-top: 12px; font-size: 10.5px; color: rgba(255, 255, 255, 0.3); }
@media (prefers-reduced-motion: reduce) {
  .feed-card, .feed-card::after, .feed-list li, .dots i, .pulse { animation: none !important; transition: none !important; }
}

/* ---- Logo band: white, quiet ---- */
.logo-band { padding: 52px 0 60px; border-bottom: 1px solid var(--line); }
.logo-band .kicker { justify-content: center; margin-bottom: 34px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll 36s linear infinite; padding: 0 44px; }
.marquee-track img { height: 28px; width: auto; opacity: 0.45; filter: brightness(0); transition: opacity 0.3s;
  padding: 18px 12px; box-sizing: content-box; /* bigger invisible hover target so every logo highlights */ }
.marquee-track img:hover { opacity: 0.8; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Sections ---- */
.section { padding: 120px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 560px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.12; margin: 20px 0 16px; }
.section-head .lede { font-size: 14.5px; }

/* ---- Service cards ---- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card-media {
  aspect-ratio: 4 / 3;
  background: var(--dark);
  background-image: radial-gradient(ellipse 70% 80% at 80% 100%, rgba(62, 207, 142, 0.22), transparent 65%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 22px;
}
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .kicker { font-size: 10px; }
.card-body h3 { font-size: 19px; font-weight: 550; letter-spacing: -0.015em; }
.card-body > p:not(.kicker) { font-size: 13.5px; line-height: 1.65; color: var(--muted); flex: 1; }
.card-body ul { list-style: none; margin-top: 4px; }
.card-body li { font-size: 12.5px; color: var(--ink-soft); padding: 8px 0; border-top: 1px solid var(--line); }
.card-body .text-link { margin-top: 6px; font-size: 10.5px; }

/* mini visuals inside card media */
.viz-bars { display: flex; align-items: flex-end; gap: 6px; width: 100%; height: 58%; }
.viz-bars i { flex: 1; background: linear-gradient(to top, rgba(62, 207, 142, 0.9), rgba(62, 207, 142, 0.3)); border-radius: 2px 2px 0 0; transform-origin: bottom; animation: grow 1.2s ease both; }
.viz-bars i:nth-child(1) { height: 28%; animation-delay: 0s; } .viz-bars i:nth-child(2) { height: 42%; animation-delay: 0.08s; }
.viz-bars i:nth-child(3) { height: 36%; animation-delay: 0.16s; } .viz-bars i:nth-child(4) { height: 58%; animation-delay: 0.24s; }
.viz-bars i:nth-child(5) { height: 52%; animation-delay: 0.32s; } .viz-bars i:nth-child(6) { height: 78%; animation-delay: 0.4s; }
.viz-bars i:nth-child(7) { height: 100%; animation-delay: 0.48s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.viz-chat { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.bub { font-size: 10.5px; line-height: 1.35; padding: 6px 10px; border-radius: 10px; max-width: 86%; }
.bub.in { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); align-self: flex-start; border-bottom-left-radius: 3px; }
.bub.out { background: var(--mint); color: #06120c; align-self: flex-end; border-bottom-right-radius: 3px; }

.viz-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; width: 100%; }
.viz-cal i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.viz-cal i.on { background: var(--mint); }

.viz-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.viz-list span { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: rgba(255, 255, 255, 0.9); }
.viz-list span.dim { color: rgba(255, 255, 255, 0.4); }
.viz-list i { width: 14px; height: 14px; border-radius: 50%; background: var(--mint); flex-shrink: 0; position: relative; }
.viz-list span.dim i { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); }
.viz-list i::after { content: ''; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border: solid #06120c; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.viz-list span.dim i::after { display: none; }

/* ---- Process: interactive editorial row ---- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.editorial-copy h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin: 20px 0 28px; }
.editorial-media {
  aspect-ratio: 1 / 1;
  background: var(--dark);
  background-image: radial-gradient(ellipse 70% 70% at 90% 100%, rgba(62, 207, 142, 0.22), transparent 65%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 10%;
}
.steps-visual { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; height: 100%; }
.steps-visual li {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: border-color 0.35s, background 0.35s, color 0.35s;
}
.steps-visual .num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.35); transition: color 0.35s; }
.steps-visual .name { font-family: var(--display); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.steps-visual .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--mint); }
.steps-visual li.is-active { border-color: rgba(62, 207, 142, 0.55); background: rgba(62, 207, 142, 0.08); color: #fff; }
.steps-visual li.is-active .num { color: var(--mint); }
.steps-visual li.is-active .bar { animation: fill var(--step-ms, 3000ms) linear forwards; }
.steps-visual.is-paused li.is-active .bar { animation: none; width: 100%; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

.steps { list-style: none; }
.steps li {
  position: relative;
  padding: 14px 0 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.65; color: var(--muted);
  cursor: pointer;
  transition: color 0.3s;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px;
  background: var(--mint); opacity: 0; transform: scaleY(0.4);
  transition: opacity 0.3s, transform 0.3s;
}
.steps li.is-active { color: var(--ink-soft); }
.steps li.is-active::before { opacity: 1; transform: scaleY(1); }
.steps strong { color: var(--ink); font-weight: 600; }

/* ---- Measurement: hairline treatment ---- */
.measure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.measure-card { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.measure-card h3 { font-size: 16px; font-weight: 550; margin-bottom: 10px; }
.measure-card p { font-size: 13px; color: var(--muted); line-height: 1.68; }

/* ---- FAQ: dividers only ---- */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--display); font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 16px; color: var(--faint); transition: transform 0.25s, color 0.25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 4px 24px; font-size: 13.5px; color: var(--muted); line-height: 1.7; max-width: 60ch; }

/* ---- CTA band: white, airy ---- */
.cta-band { padding: 140px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band .kicker { justify-content: center; }
.cta-band h2 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.025em; margin: 22px 0 18px; }
.cta-band p { font-size: 14.5px; color: var(--muted); max-width: 44ch; margin: 0 auto 34px; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.55); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-logo { color: #fff; margin-bottom: 18px; }
.footer-grid p { font-size: 12.5px; line-height: 1.7; max-width: 34ch; }
.footer h4 { font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.35); margin-bottom: 16px; }
.footer-grid a:not(.footer-logo) { display: block; color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 12.5px; margin-bottom: 10px; transition: color 0.2s; }
.footer-grid a:not(.footer-logo):hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 22px; padding-bottom: 26px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.3); }

/* ---- Reveal on scroll (premium, restrained) ---- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 1ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* headline word-by-word build */
.h-words .w { display: inline-block; }
.h-words .w > span {
  display: inline-block; opacity: 0; transform: translateY(0.35em);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.h-words.is-in .w > span { opacity: 1; transform: none; }
/* scroll progress hairline under the nav */
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--mint); pointer-events: none; }
.nav.is-scrolled { box-shadow: 0 12px 32px -26px rgba(0, 0, 0, 0.3); }
/* hero feed drifts a touch slower than the page (desktop) */
.hero-feed { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .h-words .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-progress { display: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .editorial { grid-template-columns: 1fr; gap: 48px; }
  .editorial-media { aspect-ratio: 4 / 3; padding: 6%; }
  .measure-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cards, .measure-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 80px 0; }
  .hero-tags { flex-wrap: wrap; gap: 10px; }
  .cta-band { padding: 90px 0; }
}

/* ---- About page ---- */
.nav-links a.is-current { color: var(--ink); }
.page-head {
  background: var(--dark);
  background-image: radial-gradient(ellipse 55% 65% at 85% 120%, rgba(62, 207, 142, 0.14), transparent 70%);
  color: #fff;
  padding: 96px 0 88px;
}
.page-head .kicker { color: rgba(255, 255, 255, 0.45); }
.page-head h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; margin: 22px 0 20px; max-width: 16ch; }
.page-head .lede { color: rgba(255, 255, 255, 0.62); max-width: 58ch; }
.founder { align-items: start; }
.founder-photo img { width: 100%; border-radius: 14px; }
.founder-card { display: flex; flex-direction: column; gap: 3px; margin-top: 18px; }
.founder-card strong { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.015em; }
.founder-card span { font-size: 13px; color: var(--muted); }
.founder-card .text-link { margin-top: 12px; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose p { font-size: 14.5px; line-height: 1.75; color: var(--muted); max-width: 60ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.facts span { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); }
@media (max-width: 960px) { .founder-photo { max-width: 380px; } }

/* ---- Services + legal pages ---- */
.page-head-compact { padding: 72px 0 60px; }
.page-head-compact .lede { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.subnav a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); text-decoration: none;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.subnav a:hover { color: #fff; border-color: rgba(62, 207, 142, 0.6); background: rgba(62, 207, 142, 0.08); }
.svc { scroll-margin-top: 70px; }
.svc-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.svc-side { position: sticky; top: 92px; }
.svc-side h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin: 18px 0 16px; }
.svc-side .lede { font-size: 14.5px; margin-bottom: 26px; }
.svc-main > p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 62ch; }
.svc-main h3 { font-size: 16px; font-weight: 550; margin: 34px 0 12px; }
.checklist { list-style: none; max-width: 62ch; }
.checklist li {
  position: relative; padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.6; color: var(--ink-soft);
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ''; position: absolute; left: 2px; top: 17px;
  width: 9px; height: 5px;
  border: solid var(--accent); border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}
.legal { padding-top: 72px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.legal p + p { margin-top: 14px; }
.legal h2 { font-size: 19px; font-weight: 550; letter-spacing: -0.015em; margin: 38px 0 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.legal a:hover { color: var(--accent); }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Services page: richer visuals ---- */
.page-head { position: relative; overflow: hidden; }
.page-head::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, black, transparent);
}
.page-head .shell { position: relative; z-index: 1; }

/* flow band */
.flow-band { background: var(--dark-2); color: #fff; padding: 72px 0 80px; border-top: 1px solid var(--dark-line); }
.flow-band h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 16px 0 44px; }
.flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flow::before {
  content: ''; position: absolute; left: 8px; right: 8px; top: 7px; height: 1px;
  background: linear-gradient(to right, rgba(62, 207, 142, 0.15), rgba(62, 207, 142, 0.45), rgba(62, 207, 142, 0.15));
}
.flow::after {
  content: ''; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.18), 0 0 18px rgba(62, 207, 142, 0.6);
  animation: travel 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes travel { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 11px); opacity: 0; } }
.flow li { position: relative; padding-top: 30px; }
.flow .node {
  position: absolute; left: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--dark-2); border: 1.5px solid rgba(62, 207, 142, 0.7);
}
.flow strong { display: block; font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -0.015em; margin-bottom: 5px; }
.flow span { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.5); max-width: 22ch; display: block; }

/* service sections */
.svc { position: relative; overflow: hidden; }
.svc-alt { background: var(--bg-soft); }
.svc::before {
  content: attr(data-num);
  position: absolute; right: -0.05em; top: 0.1em;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(160px, 22vw, 300px); line-height: 1;
  color: rgba(16, 19, 18, 0.035);
  pointer-events: none; user-select: none;
}
.svc-grid { position: relative; z-index: 1; }
.svc-media {
  margin-top: 30px;
  background: var(--dark);
  background-image: radial-gradient(ellipse 70% 80% at 85% 100%, rgba(62, 207, 142, 0.2), transparent 65%);
  border-radius: 14px;
  padding: 24px;
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  position: relative; overflow: hidden;
}
.viz-cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
/* animated states driven by script.js */
.svc-media .viz-list span { opacity: 0.35; transition: opacity 0.45s; font-size: 12.5px; }
.svc-media .viz-list span i { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); transition: background 0.45s, border-color 0.45s; }
.svc-media .viz-list span i::after { opacity: 0; transition: opacity 0.3s; }
.svc-media .viz-list span.lit { opacity: 1; }
.svc-media .viz-list span.lit i { background: var(--mint); border-color: var(--mint); }
.svc-media .viz-list span.lit i::after { opacity: 1; }
.svc-media .viz-chat .bub { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; font-size: 12px; }
.svc-media .viz-chat .bub.lit { opacity: 1; transform: none; }
.svc-media .viz-cal { gap: 8px; }
.svc-media .viz-cal i.on { background: rgba(255, 255, 255, 0.08); transition: background 0.4s, box-shadow 0.4s; }
.svc-media .viz-cal i.on.lit { background: var(--mint); box-shadow: 0 0 12px rgba(62, 207, 142, 0.5); }
.svc-media .viz-bars { height: 62%; }
.svc-media .viz-bars i { animation: none; transform: scaleY(0.08); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.svc-media.lit .viz-bars i { transform: scaleY(1); }
.svc-media.lit .viz-bars i:nth-child(2) { transition-delay: 0.08s; }
.svc-media.lit .viz-bars i:nth-child(3) { transition-delay: 0.16s; }
.svc-media.lit .viz-bars i:nth-child(4) { transition-delay: 0.24s; }
.svc-media.lit .viz-bars i:nth-child(5) { transition-delay: 0.32s; }
.svc-media.lit .viz-bars i:nth-child(6) { transition-delay: 0.4s; }
.svc-media.lit .viz-bars i:nth-child(7) { transition-delay: 0.48s; }
.checklist li { transition: color 0.2s, padding-left 0.25s; }
.checklist li:hover { color: var(--ink); padding-left: 30px; }

/* about page: photo frame */
.founder-photo { position: relative; }
.founder-photo img { position: relative; z-index: 1; }
.founder-photo::before {
  content: ''; position: absolute; inset: -10px -10px auto auto; width: 60%; height: 60%;
  border-radius: 16px; background: linear-gradient(135deg, rgba(62, 207, 142, 0.25), transparent 70%);
  z-index: 0;
}
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 26px; }
  .flow::before, .flow::after { display: none; }
  .svc-media { max-width: 420px; }
}

/* founder photo: keep near its native size so it stays sharp */
.founder-photo { max-width: 300px; }
.editorial.founder { grid-template-columns: 300px 1fr; }
@media (max-width: 960px) { .editorial.founder { grid-template-columns: 1fr; } }


/* ---- Booking page ---- */
.book-section { padding: 56px 0 88px; }
.page-head .book-lede {
  font-family: var(--sans); text-transform: none; letter-spacing: 0;
  font-size: 15px; color: rgba(255, 255, 255, 0.62); max-width: 52ch;
}
.book-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.book-fallback { padding: 40px; text-align: center; font-size: 14px; color: var(--muted); }
.book-alt { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--faint); }
.book-alt a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.book-alt a:hover { color: var(--accent); }

/* ---- Measurement: direction indicators ---- */
.measure-card .trend { display: flex; align-items: center; gap: 9px; margin: 14px 0 12px; }
.trend i {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62, 207, 142, 0.14);
  color: var(--accent);
}
.trend i svg { width: 12px; height: 12px; }
.trend span {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ============ Mobile optimisation ============ */
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-inner { gap: 12px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; margin-left: auto;
    background: transparent; border: 1px solid var(--line); border-radius: 999px;
    cursor: pointer; padding: 0 11px;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
  .nav.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  /* links become a dropdown panel under the bar */
  .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 14px;
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.25);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 15px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
  .nav-links a:first-child { border-top: none; }
  .nav-cta { order: 1; }

  /* hero: tighter on phones, feed card follows the copy */
  .hero { min-height: 0; padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); margin: 20px 0 16px; }
  .hero-ctas .btn { padding: 12px 20px; font-size: 14px; }
  .feed-card { padding: 18px; }
  .feed-list li { padding: 10px 12px; font-size: 12px; }
  .feed-list .time { display: none; }         /* saves the cramped right column on phones */
  .feed-foot { gap: 18px; }

  /* services page */
  .svc::before { font-size: 120px; top: 0; right: -0.02em; }
  .svc-side .btn { width: 100%; justify-content: center; }
  .svc-media { max-width: none; }

  /* generic */
  .shell { padding: 0 22px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .cta-band { padding: 88px 0; }
  .footer { padding-top: 56px; }
  .editorial-media { aspect-ratio: 4 / 3; }
  .cards { gap: 14px; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .cta-band .btn, .editorial-copy .btn { width: 100%; justify-content: center; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow li { padding-top: 0; padding-left: 22px; }
  .flow .node { left: 0; top: 6px; }
  .steps-visual .name { font-size: 17px; }
  .faq summary { font-size: 15px; padding: 18px 2px; }
  .measure-grid { gap: 28px; }
  .footer-grid { gap: 28px; }
  .page-head { padding: 64px 0 56px; }
  .page-head h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .subnav a { font-size: 9.5px; padding: 7px 11px; }
}

/* comfortable tap targets and no iOS zoom-on-focus surprises */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-links a, .footer-grid a { min-height: 40px; display: flex; align-items: center; }
  .text-link { padding: 6px 0; }
}

/* Calendly embed: fixed, never collapses (the widget scrolls internally) */
.book-wrap .calendly-inline-widget { min-height: 1000px; height: 1000px !important; }
@media (max-width: 600px) { .book-wrap .calendly-inline-widget { min-height: 1150px; height: 1150px !important; } }
