/* ------------------------------------------------------------------
   Inflo Media — premium one-page site
   Palette: black + brand purple (#4F34C1) + white
   ------------------------------------------------------------------ */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-elev-2: #111014;
  --fg: #ffffff;
  --fg-soft: #cfcfd1;
  --muted: #7a7a7d;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --accent: #4f34c1;
  --accent-soft: #7c63dd;
  --accent-deep: #3a259b;
  --accent-glow: rgba(79, 52, 193, 0.35);
  --max: 1440px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }

em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow,
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  font-weight: 500;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: 1px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.section-title {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0 0 24px;
  font-weight: 500;
}

.section-lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--fg-soft);
  max-width: 64ch;
  margin: 0 0 56px;
  line-height: 1.55;
}

.callout {
  border-left: 2px solid var(--accent);
  margin: 32px 0 0;
  padding: 6px 0 6px 22px;
  color: var(--fg);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 50ch;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 400ms var(--ease), backdrop-filter 400ms var(--ease), border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav > .container { max-width: none; }

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo-img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: opacity 240ms var(--ease);
}
.brand:hover .brand-logo-img { opacity: 1; }
@media (max-width: 540px) { .brand-logo-img { height: 22px; } }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--fg-soft);
  text-decoration: none;
  font-size: 15px;
  transition: color 200ms var(--ease);
}
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 240ms var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--fg);
  box-shadow: 0 0 0 1px rgba(124,99,221,0.2), 0 8px 24px -8px rgba(79,52,193,0.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(124,99,221,0.4), 0 10px 28px -6px rgba(79,52,193,0.65);
}
.btn-ghost { border-color: var(--hairline-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(255,255,255,0.04); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(160px, 22vh, 220px);
  padding-bottom: clamp(80px, 14vh, 140px);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.aurora {
  position: absolute;
  inset: -20% -10% -10% -10%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  animation: auroraIn 1.6s 0.1s var(--ease) forwards;
}
@keyframes auroraIn { to { opacity: 1; } }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
.blob-a {
  width: 60vw; height: 60vw; left: -8vw; top: -12vh;
  background: radial-gradient(circle, rgba(79,52,193,0.72) 0%, rgba(79,52,193,0) 60%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.blob-b {
  width: 48vw; height: 48vw; right: -6vw; top: -6vh;
  background: radial-gradient(circle, rgba(124,99,221,0.55) 0%, rgba(124,99,221,0) 62%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.blob-c {
  width: 70vw; height: 70vw; left: 20vw; top: 10vh;
  background: radial-gradient(circle, rgba(96,64,210,0.45) 0%, rgba(96,64,210,0) 62%);
  animation: drift-c 26s ease-in-out infinite alternate;
}
@keyframes drift-a {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(8vw,6vh,0) scale(1.15); }
  100% { transform: translate3d(-4vw,10vh,0) scale(0.95); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-10vw,8vh,0) scale(1.2); }
  100% { transform: translate3d(4vw,14vh,0) scale(1); }
}
@keyframes drift-c {
  0%   { transform: translate3d(0,0,0) scale(0.9); opacity: 0.85; }
  50%  { transform: translate3d(-6vw,-6vh,0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(10vw,4vh,0) scale(1); opacity: 0.9; }
}

.hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero-bg-veil {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.40) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.04) 42%, rgba(0,0,0,0.38) 100%);
}

.hero > .container { position: relative; z-index: 2; text-align: center; width: 100%; }

.hero-title {
  font-size: clamp(46px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: none;
  margin: 0 auto 30px;
  font-weight: 500;
}
.hero-title em { letter-spacing: -0.02em; }

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.06em;
}
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: lineReveal 900ms var(--ease) forwards;
}
.hero-title .line:nth-child(1) .line-inner { animation-delay: 120ms; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 260ms; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: 400ms; }
.hero-title .line:nth-child(4) .line-inner { animation-delay: 540ms; }
@keyframes lineReveal { to { transform: translateY(0); opacity: 1; } }

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-soft);
  max-width: 56ch;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--hairline-strong) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  animation: lineGrow 1.6s 0.8s var(--ease) forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }

/* ---------- Hero — WP port ---------- */
.hero-wp {
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(80px, 12vh, 120px);
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.hero-wp > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Generated cinematic background — stands in for a video file. Drifting purple blobs + film grain. */
.hero-wp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
/* Optional real-video layer (used only when a file exists at assets/hero-bg.mp4|.mov and the <video> block is uncommented) */
.hero-wp-bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.bg-blob-1 {
  width: 70vw; height: 70vw;
  left: -10vw; top: -15vh;
  background: radial-gradient(circle, rgba(79,52,193,0.75) 0%, rgba(79,52,193,0) 60%);
  animation: bgDrift1 20s ease-in-out infinite alternate;
}
.bg-blob-2 {
  width: 55vw; height: 55vw;
  right: -8vw; top: -10vh;
  background: radial-gradient(circle, rgba(124,99,221,0.55) 0%, rgba(124,99,221,0) 60%);
  animation: bgDrift2 24s ease-in-out infinite alternate;
}
.bg-blob-3 {
  width: 85vw; height: 85vw;
  left: 10vw; bottom: -30vh;
  background: radial-gradient(circle, rgba(96,64,210,0.50) 0%, rgba(96,64,210,0) 60%);
  animation: bgDrift3 28s ease-in-out infinite alternate;
}
.bg-blob-4 {
  width: 45vw; height: 45vw;
  right: 18vw; bottom: -12vh;
  background: radial-gradient(circle, rgba(150,120,235,0.42) 0%, rgba(150,120,235,0) 60%);
  animation: bgDrift4 22s ease-in-out infinite alternate;
}

@keyframes bgDrift1 {
  0%   { transform: translate3d(0,0,0) scale(1);    opacity: 0.9; }
  50%  { transform: translate3d(12vw,8vh,0) scale(1.18); opacity: 1; }
  100% { transform: translate3d(-6vw,14vh,0) scale(0.92); opacity: 0.95; }
}
@keyframes bgDrift2 {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-14vw,10vh,0) scale(1.22); }
  100% { transform: translate3d(6vw,16vh,0) scale(1); }
}
@keyframes bgDrift3 {
  0%   { transform: translate3d(0,0,0) scale(0.95); }
  50%  { transform: translate3d(-10vw,-8vh,0) scale(1.15); }
  100% { transform: translate3d(14vw,4vh,0) scale(1); }
}
@keyframes bgDrift4 {
  0%   { transform: translate3d(0,0,0) scale(1);    opacity: 0.85; }
  50%  { transform: translate3d(8vw,-12vh,0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(-12vw,6vh,0) scale(0.95); opacity: 0.9; }
}

/* Subtle film grain on top of the blobs for cinematic texture */
.bg-grain {
  position: absolute;
  inset: 0;
  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='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-wp-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-wp-icon {
  width: clamp(260px, 34vw, 460px);
  height: auto;
  display: block;
  margin: 0 0 clamp(20px, 4vh, 36px);
  opacity: 0;
  animation: wpRotateInDownLeft 1s cubic-bezier(.215,.61,.355,1) 750ms both;
}

.hero-wp-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--fg);
  margin: 0 0 clamp(28px, 4.5vh, 48px);
  opacity: 0;
  animation: wpFadeIn 1s cubic-bezier(.215,.61,.355,1) 1000ms both;
}

.hero-wp-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-wp-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: #fff;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  opacity: 0;
  animation: wpFadeInUp 1s cubic-bezier(.215,.61,.355,1) both;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.hero-wp-btn:nth-of-type(1) { animation-delay: 1750ms; }
.hero-wp-btn:nth-of-type(2) { animation-delay: 1750ms; }
.hero-wp-btn:nth-of-type(3) { animation-delay: 2000ms; }
.hero-wp-btn:hover { background: var(--accent); color: #fff; }

.hero-wp-btn--mobile { display: none; }
@media (max-width: 768px) {
  .hero-wp-btn--mobile { display: inline-flex; }
}

@keyframes wpRotateInDownLeft {
  0%   { transform: rotate3d(0,0,1,-45deg); transform-origin: left bottom; opacity: 0; }
  100% { transform: none; transform-origin: left bottom; opacity: 1; }
}
@keyframes wpFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes wpFadeInUp {
  0%   { opacity: 0; transform: translate3d(0, 40px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---------- Brands marquee ---------- */

.brands {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
  padding: 16px 0;
  animation: marquee 42s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Brand row — uniform height, monochrome white, mixed image + type */
.brand-logo {
  display: inline-flex;
  align-items: center;
  height: clamp(26px, 3vw, 34px);     /* the single source of truth for height */
  opacity: 0.55;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
.brand-logo:hover { opacity: 1; transform: translateY(-2px); }

/* Image-based logos — force monochrome white, fit to row height */
.brand-img img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  -webkit-user-drag: none;
}

/* Typographic fallbacks for brands without usable SVGs */
.brand-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1;
  color: var(--fg);
}
.brand-ekster      { font-weight: 600; letter-spacing: 0.22em; font-size: clamp(16px, 1.8vw, 22px); }
.brand-myprotein   { font-weight: 800; letter-spacing: 0.06em; }
.brand-reclip      { font-weight: 600; letter-spacing: -0.01em; font-style: italic; }

/* ---------- Generic section vertical rhythm ---------- */

section[id]:not(.hero):not(.brands):not(.contact) {
  padding: clamp(96px, 14vh, 160px) 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

/* ---------- Insights (stats) ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: 56px;
}
@media (max-width: 820px) { .stat-grid { grid-template-columns: 1fr; gap: 40px; } }

.stat {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  position: relative;
}
.stat::after {
  content: "";
  position: absolute;
  top: -1px; left: 0; width: 36%; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  font-feature-settings: "tnum" on, "lnum" on;
  color: var(--fg);
}
.stat-label {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.stat-caption {
  font-size: 15px;
  color: var(--fg-soft);
  margin: 0;
  max-width: 32ch;
  line-height: 1.55;
}
.lede-quote {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(124,99,221,0.06), rgba(124,99,221,0));
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-soft);
  max-width: 80ch;
  line-height: 1.55;
}

/* ---------- Problem (4-step path) ---------- */

.path {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: path;
}
@media (max-width: 900px) { .path { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .path { grid-template-columns: 1fr; } }

.path-step {
  position: relative;
  padding: 28px 24px 28px 0;
  border-top: 1px solid var(--hairline);
  transition: border-color 240ms var(--ease);
}
.path-step::after {
  /* connector arrow between steps */
  content: "";
  position: absolute;
  top: -1px; left: 0; height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 700ms var(--ease) 200ms;
  box-shadow: 0 0 12px var(--accent-glow);
}
.path-step.in::after { width: 56%; }

.path-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent-soft);
  display: inline-block;
  margin-bottom: 12px;
}
.path-step h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin: 0 0 8px;
  font-weight: 500;
}
.path-step p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  max-width: 28ch;
  line-height: 1.5;
}

/* ---------- Long-form is the answer ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: 64px;
}
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 32px);
  background: linear-gradient(180deg, rgba(124,99,221,0.04), rgba(0,0,0,0));
  transition: border-color 240ms var(--ease), transform 240ms var(--ease), background 240ms var(--ease);
}
.pillar:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(124,99,221,0.08), rgba(0,0,0,0));
}
.pillar-mark {
  display: inline-block;
  width: 24px; height: 24px;
  border: 1px solid var(--accent-soft);
  border-radius: 6px;
  position: relative;
  margin-bottom: 18px;
}
.pillar-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}
.pillar h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 500;
}
.pillar p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.55;
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 64px;
}
@media (max-width: 820px) { .answer-grid { grid-template-columns: 1fr; gap: 32px; } }

.answer-card h4 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.answer-card p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.6;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; } }

.benefit-eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 14px;
}
.benefit-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(72px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.benefit-body-large {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  margin: 0 0 12px;
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.benefit p:not(.benefit-eyebrow):not(.benefit-num):not(.benefit-body-large) {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.55;
  max-width: 30ch;
}

/* ---------- Let's be transparent (timeline) ---------- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  /* vertical spine */
  content: "";
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--hairline) 100%);
}
.tl-item {
  position: relative;
  padding: 0 0 36px 44px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 4px; top: 6px;
  width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(79,52,193,0.12);
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease);
}
.tl-item.in .tl-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(79,52,193,0.18), 0 0 14px var(--accent-glow); }
.tl-item.is-final .tl-dot { background: var(--accent); }

.tl-step {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.tl-item h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.tl-item p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ---------- The proof ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }

.proof-text p {
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 56ch;
}

.proof-visual { display: flex; align-items: center; justify-content: center; }
.proof-card {
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(79,52,193,0.22), rgba(0,0,0,0) 70%),
    var(--bg-elev);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}
.proof-card-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 16px;
  font-weight: 500;
}
.proof-card-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.proof-card-years {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.proof-card-years .year {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.proof-card-years .year.is-future { color: var(--accent-soft); font-family: 'Instrument Serif', serif; font-style: italic; }
.proof-card-years .year-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), var(--hairline));
  min-width: 24px;
}
.proof-card-foot {
  margin: 0;
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.55;
}

/* ---------- Process (6 steps) ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  position: relative;
  transition: padding-left 320ms var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms var(--ease);
}
.step:hover { padding-left: 16px; }
.step:hover::before { transform: scaleY(1); }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--muted);
  font-style: italic;
}
.step h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.step p {
  margin: 0;
  color: var(--fg-soft);
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Work (success stories grid) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--bg-elev);
  padding: clamp(20px, 2.4vw, 28px);
  transition: background 240ms var(--ease);
  position: relative;
}
.work-card:hover { background: var(--bg-elev-2); }
.work-card:hover .work-badge { color: var(--fg); border-color: var(--accent-soft); }

.work-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid rgba(124,99,221,0.4);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}
.work-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.work-card p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.55;
}

/* ---------- Fit ---------- */

.fit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
}
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }

.fit-cards { display: flex; flex-direction: column; gap: 16px; }
.fit-card {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--bg-elev);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}
.fit-card:hover { transform: translateY(-2px); border-color: var(--hairline-strong); border-left-color: var(--accent-soft); }
.fit-card h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fit-card p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.55;
}

.fit-want {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255,255,255,0.12), rgba(255,255,255,0) 60%),
    var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  overflow: hidden;
  color: var(--fg);
}
.fit-want::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 90% 100%, rgba(0,0,0,0.28), rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.fit-want-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 24px;
  font-weight: 500;
}
.fit-want ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fit-want li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.45;
  color: rgba(255,255,255,0.95);
}
.fit-want li:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.fit-want li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 14px; height: 1px;
  background: rgba(255,255,255,0.85);
}

/* ---------- Contact ---------- */

.contact {
  padding: clamp(96px, 14vh, 160px) 0 clamp(120px, 18vh, 200px);
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -40%;
  width: 80%; height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(79,52,193,0.18) 0%, rgba(0,0,0,0) 65%);
  pointer-events: none;
  z-index: 0;
}
.contact > .container { position: relative; z-index: 1; }
.contact-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 0 24px;
}
.contact-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--fg-soft);
  max-width: 56ch;
  margin: 0 0 40px;
  line-height: 1.5;
}
.contact-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-line,
  .aurora,
  .blob,
  .hero-title .line-inner,
  .marquee-track,
  .path-step::after { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  .path-step.in::after { width: 56%; }
  html { scroll-behavior: auto; }
}

/* selection */
::selection { background: var(--accent); color: var(--fg); }

/* ============================================================
   SHOWREEL CAROUSEL  (homepage #work section + work.html page)
   ============================================================ */
.reel { position: relative; padding: clamp(48px, 9vh, 110px) 0; }

/* work.html full-page header */
.reel-hero { padding: clamp(120px, 16vh, 200px) 0 clamp(24px, 5vh, 48px); text-align: center; }
.reel-hero h1 {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0.2em 0 0.3em;
}
.reel-hero h1 em { font-style: italic; }
.reel-hero p { color: var(--fg-soft); max-width: 46ch; margin: 0 auto; }

/* homepage in-section header */
.reel-head { margin-bottom: clamp(24px, 4vh, 44px); }
.reel-title {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 6px 0 14px;
}
.reel-sub { color: var(--fg-soft); max-width: 52ch; margin: 0; }

.reel-track {
  list-style: none; margin: 0; padding: 0 max(var(--pad), calc((100vw - 900px) / 2));
  display: flex; gap: clamp(14px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel-track::-webkit-scrollbar { display: none; }

.reel-slide {
  position: relative; flex: 0 0 min(900px, 88vw); scroll-snap-align: center;
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-elev-2); border: 1px solid var(--hairline);
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .5s var(--ease);
  opacity: .45; transform: scale(.94);
}
.reel-slide.is-active { opacity: 1; transform: scale(1); box-shadow: 0 30px 80px -30px var(--accent-glow); border-color: var(--hairline-strong); }
.reel-video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }

.reel-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
  pointer-events: none;
}
.reel-brand { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.reel-creator { color: var(--fg-soft); font-size: .9rem; }

.reel-slide::after {
  content: "🔇 tap for sound"; position: absolute; top: 14px; right: 14px;
  font-size: .72rem; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; opacity: 0; transition: opacity .3s var(--ease);
  backdrop-filter: blur(6px); pointer-events: none;
}
.reel-slide.is-active::after { opacity: .85; }
.reel-slide.is-unmuted::after { content: "🔊 sound on"; }

.reel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.reel-btn {
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--hairline-strong);
  background: var(--bg-elev); color: var(--fg); font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.reel-btn:hover { background: var(--accent-deep); border-color: var(--accent); transform: translateY(-1px); }
.reel-btn:disabled { opacity: .3; cursor: default; transform: none; background: var(--bg-elev); border-color: var(--hairline); }
.reel-dots { display: flex; gap: 9px; }
.reel-dot { width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; background: var(--hairline-strong); cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
.reel-dot.is-active { background: var(--accent-soft); transform: scale(1.35); }

@media (max-width: 640px) {
  .reel-slide { flex-basis: 92vw; }
  .reel-meta { padding: 34px 16px 14px; }
}
