/* =====================================================
   Capital Trade Energy — Landing Page
   Theme: light · brand identity (gold #FDBC1B / purple #351849 / pink #ED3473)
   ===================================================== */

:root {
  /* brand purple scale (logo purple #351849) */
  --purple-950: #1e0c2e;
  --purple-900: #351849;   /* brand purple */
  --purple-800: #46215f;
  --purple-700: #5a2b7a;
  --purple-600: #6f3a96;
  --purple-500: #8650ad;
  --purple-400: #a273c4;
  --purple-300: #cdafe3;
  --purple-100: #efe6f7;
  --purple-50:  #f9f4fc;

  /* brand pink — primary action color */
  --pink:      #ed3473;   /* brand pink */
  --pink-600:  #d11d5d;
  --pink-300:  #f8a3c0;
  --pink-100:  #fcdce8;

  /* brand gold — warm highlight accent */
  --gold:      #fdbc1b;   /* brand gold */
  --gold-600:  #df9f00;
  --gold-300:  #fed366;
  --gold-100:  #fef3d4;

  /* solid brand pink for buttons & card accents (flat, no gradient) */
  --btn:       var(--pink);
  --btn-hover: var(--pink-600);

  /* neutrals */
  --ink:       #1e1233;   /* warm charcoal */
  --ink-soft:  #473d5e;
  --muted:     #79708f;
  --line:      #e9e4f2;
  --bg:        #faf8fe;
  --bg-soft:   #f2ecfb;
  --white:     #ffffff;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(53,24,73,.06), 0 4px 14px rgba(53,24,73,.05);
  --shadow-md: 0 10px 30px rgba(53,24,73,.10);
  --shadow-lg: 0 30px 60px -20px rgba(53,24,73,.30);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--wide { width: min(1480px, 100% - 40px); }

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  padding: .8em 1.5em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn-primary {
  background: var(--btn);
  color: #fff; box-shadow: 0 8px 20px -6px rgba(237,52,115,.5);
}
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(237,52,115,.6); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: var(--white); color: var(--purple-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--purple-300); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }

.eyebrow, .section-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-600);
}
.eyebrow { display: inline-flex; align-items: center; gap: .55em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-100); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent; border: 0;
  padding-top: 0;
  /* Flow height is pinned: the pill morphs *inside* this box so the sticky header
     never resizes the document. .hero / .page-hero already assume exactly 96px
     (margin-top: -96px). Let it shrink and Chrome's scroll anchoring pushes the
     scroll position back across the .scrolled threshold, toggling it every frame. */
  height: 96px;
  transition: padding .5s var(--ease), transform .45s var(--ease);
}
.site-header.scrolled { padding-top: 10px; }
/* hide on scroll down, slide back in on scroll up */
.site-header.header-hidden { transform: translateY(-110%); }

.header-inner {
  /* logo column sized to its content so the wordmark is never squeezed by the nav */
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem;
  height: 96px; padding-inline: 0;
  background: transparent;
  border: 1px solid transparent; border-radius: 0;
  margin-inline: auto; max-width: 1180px;
  box-shadow: none;
  will-change: max-width, height;
  transition: max-width .5s var(--ease), height .5s var(--ease), padding .5s var(--ease),
              background .5s var(--ease), border-color .5s var(--ease),
              border-radius .5s var(--ease), box-shadow .5s var(--ease);
}
/* transitioned so the nav, centred in the 1fr track next to it, glides instead of
   snapping sideways by half this padding the instant .scrolled lands */
.brand { justify-self: start; transition: padding-left .5s var(--ease); }
.site-header.scrolled .header-inner {
  height: 64px;
  max-width: 1180px;
  padding-inline: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(233,228,242,.9);
  box-shadow: 0 4px 12px -4px rgba(53,24,73,.10), 0 16px 40px -16px rgba(53,24,73,.24), inset 0 1px 0 rgba(255,255,255,.7);
}
.site-header.scrolled .header-inner .brand { padding-left: 8px; }
.brand-logo { height: 60px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo { height: 46px; }
.nav { display: flex; gap: clamp(.8rem, 1.5vw, 1.5rem); justify-self: center; }
.nav a { font-size: .9rem; font-weight: 600; color: var(--ink-soft); position: relative; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--pink); border-radius: 2px; transition: width .28s var(--ease); }
.nav a:hover { color: var(--purple-800); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .85rem; justify-self: end; }
.phone-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .92rem; color: var(--purple-800); white-space: nowrap; transition: color .2s; }
.phone-link svg { color: var(--pink); transition: transform .25s var(--ease); }
.phone-link:hover { color: var(--pink-600); }
.phone-link:hover svg { transform: rotate(-8deg) scale(1.08); }
.header-divider { width: 1px; height: 26px; background: linear-gradient(180deg, transparent, rgba(53,24,73,.18), transparent); }
.header-actions .btn-sm { padding: .62em 1.25em; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* full-screen mobile mega menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 5vw, 2.4rem) clamp(1.5rem, 6vw, 3rem) clamp(2rem, 6vw, 3rem);
  color: #fff;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(237,52,115,.25), transparent 55%),
    linear-gradient(160deg, #351849 0%, #1e0c2e 100%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(1.03);
  transition: opacity .4s var(--ease-out), transform .55s var(--ease-out), visibility .4s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.mm-top { display: flex; align-items: center; justify-content: space-between; }
.mm-eyebrow { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.mm-close { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.3); cursor: pointer; transition: transform .3s var(--ease-out), background .3s var(--ease-out), border-color .3s; }
.mm-close:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); transform: rotate(90deg); }

.mm-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: 2rem 0; }
.mm-nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 8vw, 2.8rem); letter-spacing: -.03em; color: #fff; padding: .35rem 0; transition: color .25s var(--ease), transform .35s var(--ease-out); }
.mm-nav a span { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); opacity: .85; }
.mm-nav a:hover { color: var(--gold); transform: translateX(8px); }
/* staggered entrance */
.mm-nav a, .mm-footer { opacity: 0; transform: translateY(26px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.mobile-menu.open .mm-nav a, .mobile-menu.open .mm-footer { opacity: 1; transform: none; }
.mobile-menu.open .mm-nav a:nth-child(1) { transition-delay: .12s; }
.mobile-menu.open .mm-nav a:nth-child(2) { transition-delay: .18s; }
.mobile-menu.open .mm-nav a:nth-child(3) { transition-delay: .24s; }
.mobile-menu.open .mm-nav a:nth-child(4) { transition-delay: .30s; }
.mobile-menu.open .mm-nav a:nth-child(5) { transition-delay: .36s; }
.mobile-menu.open .mm-nav a:nth-child(6) { transition-delay: .42s; }
.mobile-menu.open .mm-nav a:nth-child(7) { transition-delay: .48s; }
.mobile-menu.open .mm-footer { transition-delay: .54s; }

.mm-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.mm-phone { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.05rem; color: rgba(255,255,255,.85); }
.mm-phone svg { color: var(--gold); }
.mobile-menu .btn { margin-top: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; margin-top: -96px; padding: calc(96px + clamp(1.5rem, 3vw, 2.5rem)) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('assets/hero-twilight-purple.jpg');
  background-size: cover; background-position: center 45%;
}
/* brand-purple tint to tie the photo into the brand theme */
.hero-bg::before { content: ''; position: absolute; inset: 0; mix-blend-mode: multiply;
  background: rgba(53,24,73,.30);
}
/* legibility wash: fade the photo into the page on the left (behind copy) and bottom */
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250,248,254,.30) 0%, rgba(250,248,254,0) 24%, rgba(250,248,254,0) 70%, var(--bg) 100%),
    linear-gradient(100deg, rgba(250,248,254,.97) 0%, rgba(250,248,254,.9) 30%, rgba(250,248,254,.5) 56%, rgba(250,248,254,.06) 100%);
}

.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 660px; }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.03em; margin: 1rem 0 1.1rem; }
.title-accent { color: var(--btn); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.2rem; }

.trust-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: .5em; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.ts-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); font-size: .72rem; font-weight: 700; }

/* hero visual card */
.hero-visual { position: relative; }
.energy-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-lg);
}
.ec-top { display: flex; align-items: center; justify-content: space-between; }
.ec-label { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.ec-live { display: inline-flex; align-items: center; gap: .4em; font-size: .76rem; font-weight: 600; color: var(--purple-700); background: var(--purple-50); padding: .3em .7em; border-radius: 999px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
.ec-meter { display: flex; align-items: baseline; gap: .12em; margin: 1.2rem 0 .2rem; flex-wrap: wrap; }
.ec-pct { font-family: var(--font-display); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--purple-700); }
.ec-pct-sym { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--purple-600); }
.ec-meter-label { width: 100%; font-size: .9rem; color: var(--muted); margin-top: .35rem; }
.ec-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; margin: 1.4rem 0; }
.ec-bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--purple-400), var(--purple-600)); border-radius: 6px 6px 4px 4px; transform-origin: bottom; animation: growBar 1s var(--ease) backwards; }
.ec-bars span:nth-child(1){animation-delay:.05s}.ec-bars span:nth-child(2){animation-delay:.12s}.ec-bars span:nth-child(3){animation-delay:.19s}.ec-bars span:nth-child(4){animation-delay:.26s}.ec-bars span:nth-child(5){animation-delay:.33s}.ec-bars span:nth-child(6){animation-delay:.4s}.ec-bars span:nth-child(7){animation-delay:.47s}
@keyframes growBar { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.ec-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ec-foot strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.ec-foot span { font-size: .82rem; color: var(--muted); }

.float-badge { position: absolute; display: inline-flex; align-items: center; gap: .5em; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: 999px; padding: .55em 1em; font-size: .85rem; font-weight: 600; color: var(--ink); animation: floaty 4s ease-in-out infinite; }
.fb-ico { font-size: 1rem; }
.fb-1 { top: 8%; left: -34px; }
.fb-2 { bottom: 12%; right: -28px; animation-delay: 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band { background: linear-gradient(135deg, var(--purple-800), var(--purple-900)); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(237,52,115,.18), transparent 40%), radial-gradient(circle at 90% 80%, rgba(253,188,27,.12), transparent 45%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: clamp(2rem, 4vw, 3rem) 0; text-align: center; }
.stat { position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: -.75rem; top: 50%; transform: translateY(-50%); width: 1px; height: 56px; background: rgba(255,255,255,.14); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold); line-height: 1; }
.stat-label { display: block; margin-top: .55rem; font-size: .9rem; color: rgba(255,255,255,.7); }

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

/* subtle dot-grid accent for light sections (fades at edges, sits behind content) */
.section--dots { position: relative; }
.section--dots > * { position: relative; z-index: 1; }
.section--dots::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(90,43,122,.14) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(125% 85% at 50% 30%, #000 50%, transparent 100%);
  mask-image: radial-gradient(125% 85% at 50% 30%, #000 50%, transparent 100%);
  /* render on its own layer so section height changes (e.g. accordion) don't repaint the masked grid */
  transform: translateZ(0);
}
.section-head { max-width: 640px; margin: 0 auto clamp(2.2rem, 4vw, 3.5rem); text-align: center; }
.section-head.align-left { margin-inline: 0; text-align: left; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; margin: .7rem 0 .8rem; }
.section-lead { color: var(--ink-soft); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }

/* ---------- audience ---------- */
.audience { background: var(--bg-soft); }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 1.8rem); }

.aud-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(2rem, 3.4vw, 3rem);
  min-height: 540px;
  box-shadow: 0 30px 60px -20px rgba(53,24,73,0); /* transparent base so the shadow can transition in */
}
/* higher specificity than .reveal so box-shadow stays in the transition list */
.aud-grid .aud-card {
  transition: opacity .7s var(--ease-out), filter .7s var(--ease-out),
              transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* dark business panel */
.aud-card--dark {
  color: #fff;
  background:
    radial-gradient(130% 95% at 0% 100%, rgba(237,52,115,.22), transparent 52%),
    linear-gradient(155deg, #351849 0%, #1e0c2e 100%);
}
.aud-card--dark .aud-index { color: rgba(255,255,255,.55); }
.aud-card--dark p { color: rgba(255,255,255,.72); }
.aud-card--dark .aud-vertical { color: rgba(255,255,255,.28); }
.aud-card--dark .aud-features li { border-color: rgba(255,255,255,.14); }
.aud-card--dark .aud-plus::before, .aud-card--dark .aud-plus::after { background: rgba(255,255,255,.55); }
.aud-card--dark .aud-features li:hover { color: #fff; }
.aud-card--dark .aud-cta { background: var(--btn); color: #fff; }
.aud-card--dark .aud-cta:hover { background: var(--btn-hover); }

/* bright home panel — brand gold */
.aud-card--bright {
  color: var(--purple-900);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(155deg, var(--gold-300) 0%, var(--gold-600) 130%);
}
.aud-card--bright .aud-index { color: rgba(53,24,73,.55); }
.aud-card--bright p { color: rgba(53,24,73,.78); }
.aud-card--bright .aud-vertical { color: rgba(53,24,73,.3); }
.aud-card--bright .aud-features li { border-color: rgba(53,24,73,.16); }
.aud-card--bright .aud-plus::before, .aud-card--bright .aud-plus::after { background: rgba(53,24,73,.6); }
.aud-card--bright .aud-cta { background: var(--purple-900); color: #fff; }
.aud-card--bright .aud-cta:hover { background: var(--purple-800); }

/* shared inner pieces */
.aud-index { font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 1rem; }
.aud-card h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.5rem); letter-spacing: -.03em; margin-bottom: .9rem; }
.aud-card p { font-size: 1rem; max-width: 32ch; }

.aud-vertical { position: absolute; top: clamp(2rem,3.4vw,3rem); right: clamp(1.2rem,2vw,1.6rem); writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .35em; font-size: .68rem; font-weight: 600; pointer-events: none; }

.aud-features { margin: auto 0 1.8rem; padding-top: 1.2rem; }
.aud-features li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-size: 1rem; border-top: 1px solid; transition: color .25s var(--ease), padding-left .35s var(--ease-out); }
.aud-features li:last-child { border-bottom: 1px solid; border-bottom-color: inherit; }
.aud-features li:hover { padding-left: .5rem; }
.aud-plus { position: relative; flex: none; width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.aud-plus::before, .aud-plus::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.aud-plus::before { width: 14px; height: 1.5px; }
.aud-plus::after { width: 1.5px; height: 14px; }
.aud-features li:hover .aud-plus { transform: rotate(90deg); }

.aud-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 1.05em 1.7em; border-radius: 999px; transition: transform .3s var(--ease), background .3s var(--ease); }
.aud-cta:hover { transform: translateY(-2px); }
.aud-cta svg { transition: transform .3s var(--ease); }
.aud-cta:hover svg { transform: translateX(4px); }

/* ---------- services ---------- */
/* ---- stat band (variant H: numbers-forward, dark panel) ---- */
.statband {
  border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(237,52,115,.18), transparent 50%),
    linear-gradient(155deg, #351849 0%, #1e0c2e 100%);
}
.statband-head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 2rem 3rem; padding-bottom: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid rgba(255,255,255,.13); }
.statband-eyebrow { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.statband-eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; margin-right: .75em; }
.statband-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; margin-top: .9rem; }
.statband-intro { justify-self: end; text-align: right; max-width: 26ch; color: rgba(255,255,255,.66); font-size: .98rem; line-height: 1.5; padding-top: .4rem; }

.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statband-col { display: flex; flex-direction: column; padding: clamp(2rem, 3.2vw, 3rem) clamp(1.4rem, 2vw, 2rem) 0; min-height: 340px; position: relative; }
.statband-col + .statband-col { border-left: 1px solid rgba(255,255,255,.13); }
.statband-col:first-child { padding-left: 0; }
.statband-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--gold); margin-bottom: auto; }
.statband-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; }
.statband-body p { font-size: .96rem; color: rgba(255,255,255,.66); max-width: 24ch; }

/* ---------- bento gallery ---------- */
.bento-section { background: var(--bg-soft); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 215px; gap: 1rem; }
.bento-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bento-item:hover img { transform: scale(1.06); }
.bento-a { grid-column: span 2; grid-row: span 2; }
.bento-b { grid-column: span 2; grid-row: span 1; }
.bento-c { grid-column: span 1; grid-row: span 1; }
.bento-d { grid-column: span 1; grid-row: span 1; }
.bento-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.3rem; color: #fff;
  text-shadow: 0 1px 16px rgba(0,0,0,.45);
  background: linear-gradient(0deg, rgba(30,18,51,.94) 0%, rgba(30,18,51,.66) 32%, rgba(30,18,51,.18) 66%, transparent 100%); }
.bento-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .82; margin-bottom: .35rem; }
.bento-item figcaption h3 { font-size: 1.15rem; font-weight: 600; }
.bento-a figcaption h3 { font-size: 1.5rem; }
.bento-stat { display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1.6rem; text-align: left;
  background: var(--btn); color: #fff; border: none; }
.bento-stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1; }
.bento-stat p { font-size: .92rem; color: rgba(255,255,255,.88); }
.bento-stat strong { color: #fff; }
.bento-leaf { position: absolute; top: 1.1rem; right: 1.2rem; font-size: 1.4rem; opacity: .9; }

/* ---------- how it works: cinematic auto-playing tabs ---------- */
.how { background: var(--bg-soft); }

.cinema { display: flex; flex-direction: column; gap: clamp(.9rem, 1.6vw, 1.4rem); }

/* stage */
.cinema-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: clamp(420px, 56vh, 640px); background: var(--purple-900); }
.cinema-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease-out), visibility 1s; }
.cinema-slide.is-active { opacity: 1; visibility: visible; }
.cinema-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.cinema-slide.is-active img { animation: cinemaZoom 7s var(--ease-out) forwards; }
@keyframes cinemaZoom { from { transform: scale(1.04); } to { transform: scale(1.13); } }
.cinema-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(30,12,46,.85) 0%, rgba(30,12,46,.55) 38%, rgba(30,12,46,.12) 70%, rgba(30,12,46,.35) 100%); }
.cinema-slide-inner { position: absolute; left: 0; bottom: 0; z-index: 1; padding: clamp(2rem, 4vw, 4rem); max-width: 640px; color: #fff; }

/* stage navigation arrows */
.cinema-arrows { position: absolute; z-index: 3; right: clamp(1.4rem, 3vw, 2.6rem); bottom: clamp(1.4rem, 3vw, 2.6rem); display: flex; gap: .75rem; }
.cinema-arrow { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out), color .3s var(--ease-out); }
.cinema-arrow:hover { background: var(--pink); border-color: var(--pink-300); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(237,52,115,.6); }
.cinema-arrow:active { transform: translateY(0) scale(.95); }
.cinema-num { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -.02em; color: var(--gold); opacity: .9; }
.cinema-slide-inner h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.03em; margin: .5rem 0 .8rem; }
.cinema-slide-inner p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 44ch; }
/* entrance motion for active slide text */
.cinema-slide-inner > * { opacity: 0; transform: translateY(22px); }
.cinema-slide.is-active .cinema-slide-inner > * { animation: cinemaUp .7s var(--ease-out) forwards; }
.cinema-slide.is-active .cinema-slide-inner > *:nth-child(1) { animation-delay: .15s; }
.cinema-slide.is-active .cinema-slide-inner > *:nth-child(2) { animation-delay: .25s; }
.cinema-slide.is-active .cinema-slide-inner > *:nth-child(3) { animation-delay: .35s; }
@keyframes cinemaUp { to { opacity: 1; transform: none; } }

/* tabs */
.cinema-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.cinema-tab { display: flex; align-items: center; gap: 1rem; text-align: left; padding: clamp(1.1rem, 1.8vw, 1.5rem) clamp(1.2rem, 2vw, 1.8rem); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.cinema-tab:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cinema-tab.is-active { border-color: var(--pink-300); box-shadow: var(--shadow-md); }
.cinema-tab-num { flex: none; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--pink-600); background: var(--pink-100); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; transition: background .35s var(--ease-out), color .35s var(--ease-out); }
.cinema-tab.is-active .cinema-tab-num { background: var(--btn); color: #fff; }
.cinema-tab-text { flex: 1; min-width: 0; }
.cinema-tab-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--ink); }
.cinema-tab-progress { display: block; height: 3px; margin-top: .6rem; border-radius: 3px; background: var(--pink-100); overflow: hidden; opacity: 0; transition: opacity .35s var(--ease-out); }
.cinema-tab.is-active .cinema-tab-progress { opacity: 1; }
.cinema-tab-bar { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--btn); }

/* ---------- why us ---------- */
.why-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why-copy .section-title { margin-top: .7rem; }
.why-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.why-list li { display: flex; gap: 1rem; }
.why-check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.why-list strong { display: block; margin-bottom: .15rem; }
.why-list div { font-size: .95rem; color: var(--ink-soft); }
.why-quote { position: relative; background: linear-gradient(160deg, var(--purple-800), var(--purple-900)); color: #fff; border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.why-quote::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(253,188,27,.22), transparent 70%); bottom: -80px; right: -60px; }
.quote-mark { font-family: var(--font-display); font-size: 4.5rem; line-height: .6; color: var(--gold); opacity: .85; }
.why-quote blockquote { font-size: 1.25rem; font-weight: 500; line-height: 1.5; margin: .6rem 0 1.8rem; position: relative; }
.why-quote figcaption { display: flex; align-items: center; gap: .9rem; position: relative; }
.q-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--btn); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.q-meta strong { display: block; font-size: .98rem; }
.q-meta { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- faq ---------- */
/* ---- faq: panel with full-width indexed rows ---- */
.faq { background: var(--bg-soft); }
.faq-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem); box-shadow: 0 1px 2px rgba(53,24,73,.04); }
.faq-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.faq-eyebrow { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-600); }
.faq-eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; margin-right: .75em; }
.faq-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.03em; margin-top: .8rem; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: 1rem; padding: 1.5rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-index { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; color: var(--pink-600); }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink); letter-spacing: -.01em; transition: color .25s var(--ease); }
.faq-item:hover .faq-q { color: var(--purple-700); }
.faq-plus { justify-self: end; flex: none; position: relative; width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--pink-600); border-radius: 2px; }
.faq-plus::before { width: 20px; height: 2px; }
.faq-plus::after { width: 2px; height: 20px; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }
/* JS animates height/opacity inline; content stays visible while collapsing */
.faq-body { overflow: hidden; padding: 0 28px 1.6rem 56px; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; max-width: 80ch; will-change: height; contain: layout paint; }

/* ---------- documents: dark brand panel ---------- */
.docs-panel {
  border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(237,52,115,.18), transparent 50%),
    linear-gradient(155deg, #351849 0%, #1e0c2e 100%);
}
.docs-eyebrow { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.docs-eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; margin-right: .75em; }
.docs-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; margin: .8rem 0; }
.docs-head p { color: rgba(255,255,255,.66); font-size: .98rem; max-width: 36ch; }
.doc-row { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); transition: padding-left .3s var(--ease-out); }
.doc-row:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.doc-row:hover { padding-left: .6rem; }
.doc-num { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; color: var(--gold); }
.doc-body { flex: 1; }
.doc-body strong { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.doc-body span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.doc-dl { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.3); transition: background .3s, border-color .3s, transform .3s var(--ease-out); }
.doc-row:hover .doc-dl { background: var(--pink); border-color: var(--pink); transform: translateY(2px); }

/* ---------- CTA / form ---------- */
.cta { background: linear-gradient(170deg, var(--purple-50), var(--bg-soft)); }
.cta-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cta-copy { position: sticky; top: 100px; }
.section-eyebrow.light { color: var(--pink-600); }
.cta-copy .section-title { margin-top: .7rem; }
.cta-points { display: grid; gap: .7rem; margin-top: 1.6rem; }
.cta-points li { display: flex; align-items: center; gap: .7rem; font-weight: 500; color: var(--ink-soft); }
.cta-points span { width: 22px; height: 22px; border-radius: 50%; background: var(--purple-600); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; flex: none; }

.quote-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: var(--shadow-md); position: relative; }
.form-row { display: flex; flex-direction: column; gap: .32rem; margin-bottom: .85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.quote-form label, .field-label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.req { color: var(--pink-600); }
.opt { font-weight: 400; color: var(--muted); font-size: .76rem; }
.quote-form input, .quote-form textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  padding: .62em .9em; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: var(--muted); }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 3px var(--pink-100); }
.quote-form textarea { resize: vertical; min-height: 62px; }
.quote-form input.invalid, .quote-form textarea.invalid { border-color: #e0654d; box-shadow: 0 0 0 3px #fbe3dd; }
.err { color: #c8472c; font-size: .76rem; min-height: 0; display: none; }
.err.show { display: block; }

.toggle-row { gap: .4rem; }
.seg-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; width: 188px; }
.seg-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.seg-toggle label { position: relative; z-index: 1; text-align: center; padding: .42em 0; font-size: .85rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; border-radius: 999px; transition: color .25s; }
.seg-toggle input:checked + label { color: #fff; }
.seg-thumb { position: absolute; z-index: 0; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); background: var(--btn); border-radius: 999px; transition: transform .32s var(--ease); box-shadow: 0 4px 10px -3px rgba(237,52,115,.5); }
.seg-toggle input#cust-home:checked ~ .seg-thumb { transform: translateX(100%); }

.form-submit { margin-top: .5rem; border-radius: 12px; padding: .85em 1.5em; }
.form-fineprint { font-size: .76rem; color: var(--muted); margin-top: .75rem; text-align: center; }
.btn-block { margin-top: .4rem; }

.form-success { position: absolute; inset: 0; background: var(--white); border-radius: var(--radius-lg); display: grid; place-content: center; text-align: center; padding: 2rem; gap: .3rem; animation: fadeUp .5s var(--ease); }
.form-success[hidden] { display: none; }
.success-ico { width: 70px; height: 70px; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; font-size: 2rem; font-weight: 700; margin: 0 auto 1rem; }
.form-success h3 { font-size: 1.5rem; font-family: var(--font-display); font-weight: 600; }
.form-success p { color: var(--ink-soft); max-width: 24em; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--purple-900); color: rgba(255,255,255,.72); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { height: 32px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1rem; }
.footer-brand p { max-width: 26em; font-size: .94rem; }
.social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .25s, transform .25s; }
.social a:hover { background: var(--pink); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a, .footer-contact span { display: block; font-size: .92rem; padding: .35rem 0; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--gold); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   MOTION & SCROLL CRAFT
   ========================================================= */

/* ---- Aurora / mesh gradient (hero) — brand purple / pink / gold ---- */
.hero-aurora { position: absolute; inset: -10% -5% 0 -5%; z-index: 0; pointer-events: none; overflow: hidden; filter: blur(60px) saturate(130%); opacity: .85; }
.aurora-blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; will-change: transform; }
.ab1 { width: 46vw; height: 46vw; top: -12%; left: -6%; background: radial-gradient(circle at 30% 30%, rgba(162,115,196,.5), transparent 68%); animation: drift1 22s ease-in-out infinite; }
.ab2 { width: 40vw; height: 40vw; top: 8%; right: -8%; background: radial-gradient(circle at 60% 40%, rgba(237,52,115,.3), transparent 66%); animation: drift2 26s ease-in-out infinite; }
.ab3 { width: 34vw; height: 34vw; bottom: -16%; left: 28%; background: radial-gradient(circle at 50% 50%, rgba(253,188,27,.38), transparent 70%); animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%, 6%) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(-7%, 9%) scale(.95); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%, -8%) scale(1.1); } }

/* ---- Text reveal (headline word masks) ---- */
.tr-line { display: block; }
.tr-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.tr-word > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease-out); }
.tr-in .tr-word > span { transform: translateY(0); }

/* ---- Pinned "how it works" sequence ---- */

/* ---- Bento hover (lift + caption nudge; no spotlight) ---- */
.bento-item { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out); }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-300); }
.bento-item figcaption { transition: transform .5s var(--ease-out); }
.bento-item:hover figcaption { transform: translateY(-4px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* mid-size desktops: drop the phone number so the logo never gets squeezed */
@media (max-width: 1200px) {
  .phone-link, .header-divider { display: none; }
}
@media (max-width: 980px) {
  .nav, .phone-link, .header-divider { display: none; }
  /* mobile header: logo left, CTA + hamburger right */
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .why-inner, .cta-inner { grid-template-columns: 1fr; }
  .cta-copy { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  /* stat band: stack header, 2x2 grid with cross dividers */
  .statband-head { grid-template-columns: 1fr; }
  .statband-intro { justify-self: start; text-align: left; max-width: 42ch; }
  .statband-grid { grid-template-columns: 1fr 1fr; }
  .statband-col { min-height: 0; padding: clamp(1.6rem,4vw,2.2rem) clamp(1.1rem,3vw,1.6rem); }
  .statband-col:first-child { padding-left: clamp(1.1rem,3vw,1.6rem); }
  .statband-col + .statband-col { border-left: 0; }
  .statband-col { border-top: 1px solid rgba(255,255,255,.13); }
  .statband-col:nth-child(1), .statband-col:nth-child(2) { border-top: 0; }
  .statband-col:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.13); }
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card { min-height: 0; }
  /* cinema tabs: stack into a single column */
  .cinema-tabs { grid-template-columns: 1fr; }
  .cinema-stage { height: clamp(360px, 60vw, 520px); }
  .bento { grid-auto-rows: 200px; }
  .bento-a figcaption h3 { font-size: 1.25rem; }
  .docs-panel { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 600px) {
  .aud-grid { grid-template-columns: 1fr; }
  .faq-item summary { grid-template-columns: 34px 1fr 22px; gap: .7rem; }
  .faq-body { padding-left: 34px; padding-right: 0; }
  .statband-grid { grid-template-columns: 1fr; }
  .statband-col { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.13); padding-left: 0; padding-right: 0; }
  .statband-col:first-child { border-top: 0; padding-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 165px; }
  .bento-a { grid-column: span 2; grid-row: span 2; }
  .bento-b { grid-column: span 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .float-badge { display: none; }
  .hero-cta .btn { flex: 1; }
  .doc-dl { width: 40px; height: 40px; }
  /* keep the pill uncluttered next to the hamburger */
  .header-actions .btn-sm { padding: .55em .9em; font-size: .82rem; }
  .header-actions .btn-sm svg { display: none; }
  .brand-logo { height: 48px; }
  .site-header.scrolled .brand-logo { height: 42px; }
}

/* very narrow phones: tighten the header so logo + CTA + hamburger always fit */
@media (max-width: 420px) {
  .header-inner { gap: .75rem; }
  .header-actions { gap: .6rem; }
  .header-actions .btn-sm { font-size: .78rem; }
  .brand-logo { height: 44px; }
  .site-header.scrolled .brand-logo { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .tr-word > span { transform: none; }
  .cinema-slide-inner > * { opacity: 1; transform: none; }
  .cinema-slide.is-active img { animation: none; }
  .hero-aurora { display: none; }
}

/* =====================================================
   Interior pages (about-us, resources)
   (consolidated from the per-page <style> blocks during the Astro migration)
   ===================================================== */

/* simple interior page header — distinct from the homepage's full-bleed photo hero */
.page-hero { margin-top: -96px; padding: calc(96px + clamp(2.6rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 4.5rem); text-align: center; background: linear-gradient(180deg, var(--purple-100) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero .section-eyebrow { justify-content: center; }
.page-hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.03em; margin: .9rem 0 1rem; }
.page-hero-lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.6; max-width: 58ch; margin: 0 auto; }

/* hero variant with a wide rounded photo that bridges into the next section */
.page-hero.page-hero--media { overflow: visible; padding-bottom: 0; border-bottom: 0; }
.page-hero-media {
  position: relative; z-index: 2; line-height: 0;
  max-width: 1080px;
  height: clamp(240px, 30vw, 410px); /* fixed band height — identical on every page */
  margin: clamp(2.2rem, 5vw, 3.4rem) auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(clamp(40px, 7vw, 96px)); /* dip down so it sits between the two sections */
}
/* fill the fixed band and crop — so any source photo renders at the exact same size */
.page-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* give the following section room so the overhanging photo never collides with its content */
.page-hero--media + .section { padding-top: clamp(6rem, 12vw, 11rem); }
@media (max-width: 640px) {
  .page-hero-media { height: clamp(200px, 52vw, 280px); }
}

/* timeline (about-us) */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item { position: relative; padding: 0 0 2.4rem 2.4rem; border-left: 2px solid var(--line); }
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item::before { content: ''; position: absolute; left: -9px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-100); }
.timeline-year { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--purple-700); }
.timeline-item h3 { font-size: 1.1rem; font-weight: 700; margin: .35rem 0 .4rem; }
.timeline-item p { color: var(--ink-soft); font-size: .96rem; max-width: 56ch; }

/* team (about-us) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem; box-shadow: var(--shadow-sm); text-align: center; transition: transform .25s var(--ease-out, ease), box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1.1rem; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(150deg, var(--purple-700), var(--pink)); }
.team-card h3 { font-size: 1.05rem; font-weight: 700; }
.team-role { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-600); margin: .25rem 0 .7rem; }
.team-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }

/* license / trust card (about-us) */
.license-card { display: flex; gap: 1.5rem; align-items: center; max-width: 880px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.license-ico { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--purple-100); color: var(--purple-700); }
.license-text h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .45rem; }
.license-text p { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }
.license-link { display: inline-flex; align-items: center; gap: .45em; margin-top: .9rem; font-weight: 700; font-size: .92rem; color: var(--pink-600); }
.license-link:hover { color: var(--pink); }

/* centered CTA (about-us, resources) */
.cta--center .cta-inner { display: block; text-align: center; max-width: 680px; margin: 0 auto; }
.cta--center .cta-points { justify-items: center; }
.cta--center .cta-points li { justify-content: center; }
.cta--center .cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }

@media (max-width: 920px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .license-card { flex-direction: column; text-align: center; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Morphing mega-menu (desktop nav)
   One persistent panel that resizes + slides + cross-fades
   between top-level items (à la laravel.com).
   ===================================================== */
.nav-trigger { display: inline-flex; align-items: center; gap: .32em; }
.mm-caret { margin-top: 1px; transition: transform .3s var(--ease); }
.nav-trigger[aria-expanded="true"] .mm-caret { transform: rotate(180deg); }
/* keep the active-trigger underline visible while its panel is open */
.nav-trigger[aria-expanded="true"]::after { width: 100%; }

.mm-panel {
  position: absolute;
  /* tracks the bottom of the pill, not the header box (whose height is now pinned
     at 96px), so the dropdown stays glued under the nav as the pill shrinks */
  top: 96px;
  left: 0;
  margin-top: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 80;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(var(--mm-x, 0)) translateY(10px);
  transition:
    width .36s cubic-bezier(.4, 0, .2, 1),
    height .36s cubic-bezier(.4, 0, .2, 1),
    transform .36s cubic-bezier(.4, 0, .2, 1),
    top .5s var(--ease),
    opacity .22s ease,
    visibility 0s linear .36s;
  will-change: width, height, transform;
}
/* 10px header padding + 64px pill */
.site-header.scrolled .mm-panel { top: 74px; }
.mm-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(var(--mm-x, 0)) translateY(0);
  transition:
    width .36s cubic-bezier(.4, 0, .2, 1),
    height .36s cubic-bezier(.4, 0, .2, 1),
    transform .36s cubic-bezier(.4, 0, .2, 1),
    top .5s var(--ease),
    opacity .2s ease,
    visibility 0s;
}

.mm-stage { position: relative; }
.mm-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: clamp(1.8rem, 2.4vw, 2.5rem) clamp(2rem, 3vw, 3rem);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .26s ease, transform .3s cubic-bezier(.4, 0, .2, 1);
}
.mm-content.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mm-cols { display: flex; gap: clamp(1.9rem, 3vw, 3.2rem); }
.mm-col { display: flex; flex-direction: column; min-width: 250px; }
.mm-col + .mm-col { padding-left: clamp(1.9rem, 3vw, 3.2rem); border-left: 1px solid var(--line); }
/* single-column menus (e.g. Ресурси) still read as a comfortably wide panel */
.mm-cols-1 .mm-col { min-width: 360px; }
.mm-col-head {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink-600); margin-bottom: .85rem;
}
.mm-item { display: flex; gap: .85rem; align-items: flex-start; padding: .6rem .7rem; margin: 0 -.7rem; border-radius: 12px; transition: background .2s ease; }
.mm-item:hover { background: var(--purple-50); }
.mm-item-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--purple-100); color: var(--purple-700); transition: background .2s ease, color .2s ease; }
.mm-item:hover .mm-item-ico { background: var(--pink-100); color: var(--pink-600); }
.mm-item-text { display: flex; flex-direction: column; min-width: 0; }
.mm-item-title { display: flex; align-items: center; gap: .35em; font-weight: 700; font-size: .95rem; color: var(--ink); }
.mm-item-desc { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: .12rem; }
.mm-item--accent .mm-item-title { color: var(--pink-600); }
.mm-item--accent:hover { background: var(--pink-100); }

@media (max-width: 980px) { .mm-panel { display: none; } }

/* =====================================================
   Blog (Sanity-powered)
   ===================================================== */
.blog-cats { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.blog-chip { font-size: .85rem; font-weight: 600; color: var(--purple-800); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .42rem 1rem; transition: border-color .2s, color .2s, transform .2s; }
.blog-chip:hover { border-color: var(--purple-300); color: var(--pink-600); transform: translateY(-2px); }
.blog-empty { text-align: center; color: var(--ink-soft); font-size: 1.05rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.5vw, 2rem); }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; background: var(--purple-50); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(150deg, var(--purple-100), var(--pink-100)); }
.blog-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card-cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-600); }
.blog-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.blog-card-title a:hover { color: var(--purple-700); }
.blog-card-excerpt { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.blog-card-date { margin-top: auto; font-size: .8rem; color: var(--ink-soft); opacity: .75; }

/* article — full container width, like the other pages */
.blog-article-inner { margin: 0 auto; }
.blog-article-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; margin: .6rem 0 .5rem; }
.blog-article-date { display: block; color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.6rem; }
.blog-article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.blog-article-back { margin-top: 2.4rem; }
.blog-article-back a { font-weight: 700; color: var(--pink-600); }

.prose { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.prose :is(h2, h3) { font-family: var(--font-display); color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin: 1.8rem 0 .7rem; }
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin: 0 0 1.1rem; }
.prose a { color: var(--pink-600); text-decoration: underline; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.25rem; display: grid; gap: .4rem; }
.prose img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1rem; font-style: italic; color: var(--ink); margin: 1.5rem 0; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Information Center (Info Hub)
   ===================================================== */
.hub-hero { padding: clamp(1.4rem, 3vw, 2.4rem) 0 0; }
.hub-hero-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem); text-align: center; color: #fff; background: linear-gradient(120deg, var(--purple-900), var(--purple-700) 55%, var(--purple-600)); box-shadow: var(--shadow-lg); }
.hub-hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 16% 18%, rgba(237,52,115,.38), transparent 45%), radial-gradient(circle at 86% 82%, rgba(253,188,27,.26), transparent 46%); }
.hub-hero-kicker { position: relative; display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.hub-hero-title { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.03em; margin: .6rem 0 1.4rem; }
.hub-search { position: relative; display: flex; align-items: center; gap: .6rem; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 999px; padding: .85rem 1.3rem; box-shadow: var(--shadow-md); }
.hub-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; }
.hub-search svg { color: var(--purple-500); flex: none; }

.hub-section { padding-top: clamp(2rem, 4vw, 3rem); }
.hub-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.hub-tab { font-size: .88rem; font-weight: 600; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1.05rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.hub-tab:hover { border-color: var(--purple-300); color: var(--purple-800); }
.hub-tab.is-active { background: linear-gradient(120deg, var(--purple-700), var(--pink)); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(111,58,150,.6); }

.hub-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.6rem, 3vw, 2.4rem); align-items: start; }

.hub-feature { position: relative; display: block; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; background-size: cover; background-position: center; box-shadow: var(--shadow-md); margin-bottom: clamp(1.4rem, 2.5vw, 2rem); isolation: isolate; }
.hub-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30,12,46,.92) 0%, rgba(30,12,46,.5) 45%, rgba(30,12,46,.08) 100%); }
.hub-feature-badge { position: absolute; top: 1.1rem; left: 1.1rem; display: inline-flex; align-items: center; gap: .4em; font-size: .76rem; font-weight: 700; color: var(--purple-900); background: var(--gold); border-radius: 999px; padding: .35rem .8rem; }
.hub-feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 3vw, 2.2rem); color: #fff; }
.hub-feature-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; margin: .5rem 0; max-width: 22ch; }
.hub-feature-excerpt { color: rgba(255,255,255,.85); font-size: .98rem; max-width: 52ch; }

.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.1rem, 2vw, 1.5rem); }
.hub-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s; }
.hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hub-card-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.hub-card:hover .hub-card-img { transform: scale(1.06); }
.hub-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30,12,46,.9) 0%, rgba(30,12,46,.38) 52%, rgba(30,12,46,.05) 100%); }
.hub-card-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; color: #fff; }
.hub-card-cat { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-300); }
.hub-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }

.hub-empty { text-align: center; color: var(--ink-soft); padding: 2rem 0; }

.hub-aside { position: sticky; top: 110px; }
.hub-pick { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.hub-pick-head { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: .9rem; }
.hub-pick-item { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.hub-pick-item:first-of-type { border-top: 0; padding-top: 0; }
.hub-pick-cat { grid-column: 1; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-600); margin-bottom: .15rem; }
.hub-pick-title { grid-column: 1; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.35; }
.hub-pick-arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--purple-400); transition: transform .2s, color .2s; }
.hub-pick-item:hover .hub-pick-title { color: var(--purple-700); }
.hub-pick-item:hover .hub-pick-arrow { color: var(--pink-600); transform: translateX(3px); }

@media (max-width: 1024px) { .hub-layout { grid-template-columns: 1fr; } .hub-aside { position: static; } }
@media (max-width: 620px) { .hub-grid { grid-template-columns: 1fr; } .hub-feature { min-height: 280px; } }
