/* ============================================================
   BLUE COAST BURRITO — Franchise Development
   Design system: COASTAL PREMIUM (ocean · sand · salt-bleached coral)
   ============================================================ */

:root {
  /* Primary — Pantone 631 C, Orange 021 U, 123 C */
  --ocean-deep: #253746;   /* Pantone 7546 C */
  --ocean:      #2E4455;
  --ocean-2:    #1E3040;
  --surf:       #3EB1C8;   /* Pantone 631 C */
  --surf-deep:  #008C95;   /* Pantone 321 C */
  --coral:      #FF6C2F;   /* Pantone Orange 021 U */
  --coral-2:    #DC582A;   /* Pantone 7579 C */
  --sand:       #EFE3CE;
  --sand-2:     #F6EEE0;
  --paper:      #FCFAF6;
  --shell:      #FAF8F4;
  --gold:       #FFC72C;   /* Pantone 123 C */
  --lime:       #D7C826;   /* Pantone 611 C */
  --sky:        #99D6EA;   /* Pantone 2975 C */
  --sage:       #86C8BC;   /* Pantone 564 C */
  --gray:       #54585A;   /* Pantone 425 C */
  --gray-light: #D9D9D6;   /* Pantone Cool Gray 1 C */
  --espresso:   #4F2C1D;   /* Pantone 4625 C */

  --ink:        #253746;   /* Pantone 7546 C */
  --muted:      rgba(252, 250, 246, 0.74);
  --muted-dark: rgba(37, 55, 70, 0.62);
  --hairline:   rgba(252, 250, 246, 0.14);
  --hairline-dark: rgba(37, 55, 70, 0.14);

  --display: 'Futura Condensed', 'Futura', 'Arial Narrow', Impact, sans-serif;
  --body: 'Futura', 'Futura Book', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --pad: clamp(1.25rem, 5vw, 7rem);
  --maxw: 1480px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--ocean-deep); color: var(--paper); overflow-x: hidden; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
::selection { background: var(--coral); color: var(--ocean-deep); }
a { color: var(--surf); text-decoration: none; }
a:hover { color: var(--coral); }

/* ---------- Type primitives ---------- */
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em; text-wrap: balance; }
.display em { font-style: normal; color: var(--coral); }
.stroke { color: transparent; -webkit-text-stroke: 2px var(--paper); paint-order: stroke fill; }
.stroke-ink { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.stroke-coral { color: transparent; -webkit-text-stroke: 2px var(--coral); }
@supports not (-webkit-text-stroke: 1px red) { .stroke, .stroke-ink, .stroke-coral { color: currentColor; } }
.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.3em; font-size: clamp(0.66rem, 0.9vw, 0.76rem); font-weight: 700; color: var(--surf); }
.eyebrow .num { color: var(--coral); margin-right: 0.9em; font-family: var(--mono); letter-spacing: 0.1em; }
.lede { font-size: clamp(1.03rem, 1.4vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 48ch; }
.text-coral { color: var(--coral); }
.text-surf { color: var(--surf); }
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.reveal-line > span { display: block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.7em; font-family: var(--body); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 1.1rem 2rem; border: none; border-radius: 100px; cursor: pointer; text-decoration: none; transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); will-change: transform; }
.btn-primary { background: var(--coral); color: var(--espresso); }
.btn-primary:hover { background: var(--coral-2); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--surf); color: var(--surf); }
.btn-dark { background: var(--ocean-deep); color: var(--paper); }
.btn-dark:hover { background: var(--ocean); color: var(--paper); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--hairline-dark); }
.btn-outline-dark:hover { border-color: var(--surf-deep); color: var(--surf-deep); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.magnetic { display: inline-block; will-change: transform; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem var(--pad); transition: padding 0.4s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 0.8rem var(--pad); background: rgba(37, 55, 70, 0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--hairline); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand-mark { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(150deg, var(--surf), var(--surf-deep) 60%, var(--coral)); position: relative; flex-shrink: 0; box-shadow: 0 0 22px rgba(62, 177, 200, 0.35); }
.brand-mark::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--ocean-deep); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 0.9; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--body); font-size: 0.4em; color: var(--surf); letter-spacing: 0.34em; text-transform: uppercase; font-weight: 700; margin-top: 0.25em; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.3rem); list-style: none; }
.nav-links a { color: var(--paper); white-space: nowrap; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; position: relative; opacity: 0.8; transition: opacity 0.3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--coral); transition: width 0.35s var(--ease); }
.nav-links a:hover { opacity: 1; color: var(--paper); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-cta { padding: 0.68rem 1.3rem !important; font-size: 0.72rem !important; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--hairline); color: var(--paper); font-family: var(--body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6rem 1.1rem; border-radius: 100px; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.nav-toggle:hover { border-color: var(--surf); background: rgba(255,255,255,0.04); }

/* ---------- Section frame ---------- */
.section { position: relative; padding: clamp(4.5rem, 10vh, 10rem) var(--pad); }
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.bg-ocean { background: var(--ocean-deep); color: var(--paper); }
.bg-sand { background: var(--sand); color: var(--ink); }
.bg-paper { background: var(--paper); color: var(--ink); }
.on-light .lede, .on-light .note { color: var(--muted-dark); }
.on-light .eyebrow { color: var(--surf-deep); }
.on-light .eyebrow .num { color: var(--surf-deep); }
.grain::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; pointer-events: none; z-index: 0; }
/* ---------- Brand textures & marks ---------- */
.brand-logo { height: 30px; width: auto; display: block; }
.footer .brand-logo { height: 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tex-doodle::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url('assets/surf-pattern.png'); background-size: 760px auto; background-repeat: repeat; opacity: 0.5; mix-blend-mode: multiply; }

.ph-pattern::before { opacity: 0.45; }
.dropcap::first-letter { font-family: var(--display); font-weight: 700; font-size: 3.4em; line-height: 0.72; float: left; margin: 0.06em 0.14em 0 0; color: var(--coral); }
.glow-surf { background: var(--surf); }
.glow-coral { background: var(--coral); }

/* ---------- Photo containers ---------- */
.ph { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem; padding: clamp(1rem, 2vw, 1.6rem); background: linear-gradient(155deg, var(--ocean) 0%, var(--ocean-deep) 70%); }
.ph::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(62,177,200,0.14) 0 2px, transparent 2px 12px); }
.ph::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 80% at 78% 12%, rgba(62,177,200,0.22), transparent 60%); }

/* Real image containers — panels, grid, stories */
.panel-img { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--sand); }
.panel-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grid-img { position: relative; overflow: hidden; border-radius: 4px; background: var(--sand); }
.grid-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.grid-img:hover img { transform: scale(1.05); }

/* Hero media real image */
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* Story media real image */
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Final CTA real image */
.final-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* Franchise guide book */
.guide-book { margin-top: 2rem; max-width: 260px; }
.guide-book img { width: 100%; height: auto; filter: drop-shadow(0 12px 32px rgba(37,55,70,0.25)); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: clamp(6.5rem, 12vh, 8.5rem) var(--pad) clamp(2rem, 5vh, 4rem); }
.hero-media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(165deg, var(--ocean) 0%, var(--ocean-deep) 58%, #1A2D3A 100%); overflow: hidden; }
.hero-media .ph { position: absolute; inset: 0; padding: 0; }
.hero-video { position: absolute; top: 50%; left: 50%; width: 180%; height: 180%; transform: translate(-50%, -50%); z-index: 1; border: 0; pointer-events: none; }
.hero-media img { transition: opacity 1.2s ease; }
.hero-media.video-ready img { opacity: 0; }
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--ocean-deep) 3%, rgba(37,55,70,0.42) 48%, rgba(37,55,70,0.6) 100%), linear-gradient(100deg, rgba(37,55,70,0.9) 0%, transparent 62%); }
.hero-shoot { position: absolute; right: var(--pad); top: clamp(6rem, 14vh, 9rem); z-index: 4; text-align: right; max-width: 26ch; }
.hero-shoot .ph-label, .hero-shoot .ph-note { display: block; }
.hero-content { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero h1 { font-size: clamp(3.1rem, 11vw, 13rem); line-height: 0.86; margin: 0 0 1rem; letter-spacing: -0.015em; }
@media (max-height: 780px) {
  .hero { padding-top: 5.2rem; padding-bottom: 1.2rem; }
  .hero h1 { font-size: clamp(2.1rem, 5.4vw, 4.6rem); margin-bottom: 0.5rem; }
  .hero-sub .hero-actions { gap: 0.6rem; }
  .hero-eyebrow { margin-bottom: 0.9rem; }
  .hero-sub .lede { font-size: 0.92rem; max-width: 44ch; }
  .hero-actions { margin-top: 0.9rem; }
  .hero-actions .btn { padding: 0.85rem 1.5rem; font-size: 0.8rem; }
  .hero-rail > div { padding: 0.75rem 0.85rem; }
  .hero-rail .v { font-size: 1.35rem; }
  .hero-rail .n { display: none; }
  .hero h1 .l3 { font-size: 0.2em; margin-top: 0.25em; }
  .hero-eyebrow .eyebrow { display: none; }
}
.hero h1 .l2 { color: var(--coral); }
.hero h1 .l3 { display: block; font-size: 0.26em; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1.6px rgba(252,250,246,0.85); margin-top: 0.35em; }
.hero-eyebrow { margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-eyebrow .pill { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.45rem 0.95rem; border: 1px solid var(--hairline); border-radius: 100px; display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-eyebrow .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--surf); box-shadow: 0 0 10px var(--surf); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.hero-sub .lede { max-width: 42ch; }
.hero-actions { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; backdrop-filter: blur(8px); }
.hero-rail > div { background: rgba(37,55,70,0.55); padding: clamp(0.8rem, 1.5vw, 1.35rem); }
.hero-rail .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surf); }
.hero-rail .v { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 2.2rem); line-height: 1; margin-top: 0.45rem; }
.hero-rail .v .suffix { color: var(--coral); }
.hero-rail .n { font-size: 0.74rem; color: var(--muted); margin-top: 0.4rem; }
.scroll-cue { position: absolute; left: var(--pad); bottom: clamp(2.5rem, 6vh, 5rem); z-index: 4; display: none; }
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(252,250,246,0.45); box-shadow: 0 0 8px rgba(255,255,255,0.35); }

/* ============================================================
   MARQUEE — #GoCoastal band
   ============================================================ */
.marquee { background-color: var(--sand); background-image: linear-gradient(rgba(252,250,246,0.4), rgba(252,250,246,0.4)), url('assets/sand-grain.png'); background-size: auto, auto 100%; background-repeat: no-repeat, repeat-x; color: var(--ink); overflow: hidden; padding: 0.9rem 0; white-space: nowrap; position: relative; z-index: 5; }
.marquee-track { display: inline-flex; gap: 2.6rem; will-change: transform; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: 1.5rem; display: inline-flex; align-items: center; gap: 2.6rem; letter-spacing: -0.01em; }
.marquee span::after { content: '~'; font-family: var(--body); color: var(--coral); font-size: 1.1rem; }
.marquee .tag { color: var(--coral); }

/* ============================================================
   INVESTMENT SNAPSHOT
   ============================================================ */
.section-head { max-width: 34ch; margin-bottom: clamp(2.5rem, 5vh, 4.5rem); }
.section-head h2 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); margin: 1.1rem 0 1.3rem; }
.snapshot-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.snapshot-head h2 { font-size: clamp(2.8rem, 6.8vw, 6rem); margin: 1.1rem 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.stat { background: var(--ocean-deep); padding: clamp(1.8rem, 3.4vw, 3rem) clamp(1.4rem, 2.6vw, 2.2rem); position: relative; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 5.4vw, 4.8rem); line-height: 0.95; }
.stat .num .suffix { color: var(--coral); }
.stat .label { margin-top: 0.8rem; color: var(--muted); font-size: 0.93rem; max-width: 26ch; }
.stat .tick { position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--surf); }
.stat .src { display: block; margin-top: 0.9rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(252,250,246,0.66); }
.compare { margin-top: clamp(2rem, 4vh, 3.2rem); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.3; }
.compare th, .compare td { text-align: left; padding: 1rem clamp(0.9rem, 2vw, 1.6rem); border-bottom: 1px solid var(--hairline); }
.compare thead th { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surf); font-weight: 400; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr.us { background: rgba(62,177,200,0.07); }
.compare tbody tr.us td:first-child { color: var(--surf); font-weight: 700; }
.compare td { font-variant-numeric: tabular-nums; color: var(--muted); }
.compare td:first-child, .compare tbody th { color: var(--paper); font-weight: 600; }
.compare tbody tr.us th { color: var(--surf); font-weight: 700; }

/* ============================================================
   DIFFERENTIATION — pinned horizontal, on paper
   ============================================================ */
.diff { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; padding-bottom: 0; }
.diff-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: clamp(4.5rem, 9vh, 7.5rem) var(--pad) 0; max-width: var(--maxw); margin: 0 auto; }
.diff-intro { flex: 1; }
.diff-intro h2 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); max-width: 32ch; margin-top: 1rem; }
.diff-intro h2 em { color: var(--surf-deep); }
.carousel-nav { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; padding-bottom: 0.6rem; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--coral); background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease); }
.carousel-btn:hover { background: var(--coral); color: var(--paper); }
.carousel-btn:disabled { opacity: 0.25; cursor: default; pointer-events: none; }
.carousel-track { display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: clamp(2rem, 4vh, 3rem) 0 clamp(2rem, 4vh, 3rem) max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); }
.carousel-track::-webkit-scrollbar { display: none; }
.panel { flex: 0 0 min(78vw, 420px); scroll-snap-align: start; border-radius: 4px; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--shell); border: 1px solid var(--hairline-dark); }
.panel .ph, .panel-img { flex: 0 1 46%; min-height: 280px; }
.panel-body { padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background-color: #FFF; }
.panel .pnum { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--coral); }
.panel h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 0.92; margin: 0.5rem 0 0.6rem; letter-spacing: -0.015em; }
.panel p { color: var(--muted-dark); max-width: 36ch; font-size: 0.96rem; line-height: 1.6; }
.panel .tag { display: inline-block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--surf-deep); font-weight: 700; }
.panel-arrow { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hairline-dark); color: var(--coral); font-size: 1.1rem; margin-top: auto; flex-shrink: 0; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.panel:hover .panel-arrow { border-color: var(--surf-deep); background: rgba(0,140,149,0.08); transform: translateX(4px); }
.panel:hover { border-color: var(--surf-deep); }

/* ============================================================
   CONSUMER EXPERIENCE — sand
   ============================================================ */
.consumer { background: var(--sand); color: var(--ink); }
.consumer .section-head { max-width: 100vw; }
.consumer .section-head h2 { max-width: 28ch; }
.consumer .section-head .lede { max-width: 58ch; }
.consumer-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 11vw; gap: clamp(0.7rem, 1.4vw, 1.2rem); margin-top: 3rem; }
.consumer-grid .ph { border-radius: 4px; }
.t-a { grid-column: span 5; grid-row: span 3; }
.t-b { grid-column: span 4; grid-row: span 2; }
.t-c { grid-column: span 3; grid-row: span 2; }
.t-d { grid-column: span 4; grid-row: span 2; }
.t-e { grid-column: span 3; grid-row: span 3; }
.t-f { grid-column: span 5; grid-row: span 2; }
.quote-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 2.4rem; }
.review { background: var(--paper); border: 1px solid var(--hairline-dark); border-radius: 8px; padding: 1.4rem 1.5rem; }
.review .stars { color: var(--coral); letter-spacing: 0.15em; font-size: 0.85rem; margin-bottom: 0.6rem; }
.review p { font-size: 0.97rem; color: var(--ink); line-height: 1.6; }
.review .who { margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted-dark); font-weight: 600; }

/* ============================================================
   SUPPORT SYSTEM — interactive canvas network
   ============================================================ */
.engine { background: var(--ocean-deep); overflow: hidden; }
.engine-meta { display: flex; justify-content: space-between; color: var(--surf); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 2.2rem; font-family: var(--mono); }
.engine-meta b { color: var(--coral); margin-right: 1rem; }
.engine-meta-right { color: rgba(252,250,246,0.5); letter-spacing: 0.16em; }
.engine-layout { display: grid; grid-template-columns: 43% 57%; gap: 1.2rem; align-items: start; }
.engine-copy { padding-right: 2.5rem; }
.services { border-top: 1px solid var(--hairline); margin-top: 24px;}
.service { display: flex; width: 100%; gap: 1.2rem; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hairline); color: var(--paper); padding: 1rem 0.75rem 1rem 0; font-family: var(--body); cursor: pointer; transition: background 0.25s var(--ease), padding 0.25s var(--ease); }
.service .num { font-family: var(--mono); font-size: 0.68rem; color: rgba(252,250,246,0.45); width: 1.2rem; letter-spacing: 0.1em; }
.service .name { font-size: 1rem; font-weight: 600; flex: 1; }
.service .arrow { color: rgba(252,250,246,0.35); font-size: 1.3rem; font-weight: 400; }
.service[aria-pressed="true"] { background: linear-gradient(90deg, rgba(255,108,47,0.07), transparent); padding-left: 0.75rem; }
.service[aria-pressed="true"] .num,
.service[aria-pressed="true"] .arrow { color: var(--coral); }
.service:hover { background: rgba(255,255,255,0.03); padding-left: 0.75rem; }
.engine-footnote { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(252,250,246,0.5); line-height: 1.7; }
.engine-footnote strong { font-weight: 500; color: rgba(252,250,246,0.75); }
.mini-orbit { color: var(--coral); font-size: 2.2rem; }
.network { min-width: 0; }
.graph { position: relative; width: 100%; aspect-ratio: 1.12; max-height: 610px; }
.graph canvas { width: 100%; height: 100%; display: block; }
.core-label { position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%); width: 140px; text-align: center; pointer-events: none; text-shadow: 0 2px 12px rgba(85,34,0,0.5); }
.core-label span { font-size: 1.56rem; letter-spacing: -0.06em; font-weight: 700; font-family: var(--display); text-transform: uppercase; }
.core-label small { display: block; margin-top: 0.55rem; letter-spacing: 0.13em; font-size: 0.44rem; font-weight: 700; text-transform: uppercase; font-family: var(--mono); }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.6rem; border: 0; background: none; color: rgba(252,250,246,0.7); font-size: 0.75rem; white-space: nowrap; font-weight: 600; padding: 0.5rem; cursor: pointer; font-family: var(--body); }
.node .symbol { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(62,177,200,0.35); border-radius: 50%; background: rgba(23,53,65,0.8); box-shadow: 0 0 0 6px rgba(20,44,56,0.33); transition: all 0.3s var(--ease); }
.node svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.node[aria-pressed="true"] { color: var(--paper); }
.node[aria-pressed="true"] .symbol { border-color: var(--coral); background: rgba(73,47,39,0.8); color: var(--coral); box-shadow: 0 0 0 6px rgba(255,108,47,0.05), 0 0 25px rgba(255,108,47,0.13); }
.node:hover .symbol { transform: scale(1.12); border-color: var(--surf); }
.coordinate { position: absolute; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; color: rgba(109,145,158,0.7); }
.coordinate.top-left { top: 1.6rem; left: 1.5rem; }
.coordinate.bottom-right { bottom: 1.5rem; right: 0.9rem; }
.graph-footer { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0.6rem 1.4rem; border-bottom: 1px solid var(--hairline); color: rgba(252,250,246,0.45); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); }
.hint > span { color: var(--coral); font-size: 1.1rem; margin-right: 0.44rem; }
.graph-footer button { background: none; border: 0; color: rgba(252,250,246,0.45); font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.5rem; cursor: pointer; font-family: var(--mono); transition: color 0.3s; }
.graph-footer button:hover { color: var(--paper); }
.graph-footer button span { margin-left: 0.44rem; }
.detail { display: flex; gap: 1.2rem; padding: 1.6rem 0.6rem 0; min-height: 180px; }
.detail-eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--coral); font-weight: 600; font-family: var(--mono); text-transform: uppercase; }
.detail h3 { font-size: 1.56rem; font-weight: 500; letter-spacing: -0.03em; margin: 0.7rem 0; font-family: var(--body); text-transform: none; }
.detail p { color: rgba(252,250,246,0.6); font-size: 0.88rem; line-height: 1.8; max-width: 460px; margin: 0; }
.detail-mark { font-size: 2.8rem; color: var(--surf); margin-left: auto; flex-shrink: 0; }

/* ============================================================
   TERRITORY — interactive state grid on sand
   ============================================================ */
.territory-section { background: #f1e6ce; color: #18303c; position: relative; overflow: hidden; padding: 94px var(--pad) 0; }
.territory-watermark { position: absolute; top: -64px; left: 2%; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(140px, 19vw, 320px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(216,136,90,0.22); letter-spacing: -3px; pointer-events: none; }
.territory-inner { max-width: var(--maxw); margin: auto; display: grid; grid-template-columns: 43% 57%; position: relative; gap: 0; padding: 25px 0 65px; }
.territory-copy { padding: 24px 35px 0 0; }
.territory-kicker { color: #287b80; font-size: 0.69rem; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 26px; font-family: var(--mono); }
.territory-kicker > span { color: #ca5927; margin-right: 16px; }
.territory-copy h2 { font-family: var(--display); font-size: clamp(63px, 6.6vw, 101px); font-weight: 700; letter-spacing: -1px; line-height: 0.94; margin: 0; text-transform: uppercase; }
.territory-copy h2 em { font-style: normal; color: #e96828; }
.territory-intro { font-size: 1.06rem; color: #5c6c70; line-height: 1.8; margin: 26px 0 32px; }
.territory-stats { display: flex; gap: 48px; margin-bottom: 32px; }
.territory-stats > div { display: flex; flex-direction: column; gap: 4px; }
.territory-stats strong { font-family: var(--display); font-size: 58px; font-weight: 700; line-height: 1; }
.territory-stats strong > span { font-size: 42px; }
.territory-stats > div > span { font-size: 0.75rem; color: #5c6c70; }
.territory-legend { display: flex; flex-wrap: wrap; gap: 15px; font-size: 0.62rem; color: #58676b; }
.territory-legend > span { display: flex; align-items: center; gap: 6px; }
.territory-legend i { height: 9px; width: 9px; border-radius: 2px; display: inline-block; }
.priority-key { background: #f4bd94; border: 1px solid #de6b34; }
.open-key { background: #c8ded3; border: 1px solid #72a69d; }
.awarded-key { background: #28404b; }
.map-caption { display: flex; justify-content: space-between; gap: 10px; font-size: 0.56rem; font-weight: 600; letter-spacing: 0.1em; color: #73827e; padding: 0 0 21px; font-family: var(--mono); }
.map-caption > span:last-child { color: #a35430; }
.state-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 96px); gap: 9px; padding: 0 20px; position: relative; }
.state-grid::before { content: ''; position: absolute; inset: -10px 0; pointer-events: none; background-image: radial-gradient(#31636c25 1px, transparent 1px); background-size: 17px 17px; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.state-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid rgba(127,175,166,0.53); border-radius: 4px; padding: 10px 11px 9px; background: rgba(201,220,209,0.79); color: #18303c; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s; min-width: 0; text-align: left; cursor: pointer; font-family: var(--body); }
.state-abbr { font-family: var(--display); font-weight: 700; font-size: 29px; line-height: 1; }
.state-open { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.04em; }
.state-tile.priority { background: rgba(245,196,159,0.73); border-color: #e68450; }
.state-tile.priority::after { content: ''; position: absolute; right: 9px; top: 11px; width: 5px; height: 5px; background: #e56b2e; border-radius: 50%; }
.state-tile.awarded { background: #304853; color: #f4eedf; border-color: #304853; }
.state-tile[aria-pressed="true"] { background: #193642; color: #fff7e7; border-color: #193642; box-shadow: 0 9px 17px rgba(24,48,60,0.15); transform: translateY(-5px); }
.state-tile[aria-pressed="true"]::before { content: '↗'; position: absolute; right: 9px; bottom: 9px; color: #ff9a5b; font-size: 18px; }
.state-tile:hover { transform: translateY(-5px); box-shadow: 0 8px 17px rgba(24,48,60,0.11); }
.state-tile:focus-visible { outline: 3px solid #bb4d1c; outline-offset: 3px; }
.territory-detail { border-top: 1px solid rgba(24,48,60,0.16); margin-top: 26px; padding: 20px 0 0; }
.territory-detail-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.56rem; letter-spacing: 0.1em; color: #78837c; font-family: var(--mono); }
.territory-status { border: 1px solid rgba(54,82,81,0.2); border-radius: 30px; padding: 7px 10px; color: #47615e; font-size: 0.5rem; }
.territory-status[data-status="priority"] { color: #a64723; border-color: rgba(200,112,70,0.27); }
.territory-detail-main { display: flex; justify-content: space-between; gap: 25px; padding-top: 15px; }
.territory-detail h3 { font-family: var(--display); font-weight: 700; font-size: 37px; line-height: 1.1; margin: 0 0 9px; text-transform: none; }
.territory-detail p { font-size: 0.88rem; color: #5f706f; line-height: 1.75; margin: 0; max-width: 385px; }
.territory-count { min-width: 95px; text-align: right; display: flex; flex-direction: column; gap: 7px; }
.territory-count strong { font-family: var(--display); font-size: 53px; font-weight: 700; line-height: 1; color: #d9672c; }
.territory-count > span { font-size: 0.5rem; letter-spacing: 0.06em; color: #75827c; font-family: var(--mono); }
.territory-note { font-size: 0.62rem; line-height: 1.6; color: #78827b; margin: 20px 0 0; }
.territory-bottom { display: flex; justify-content: space-between; max-width: var(--maxw); margin: auto; border-top: 1px solid rgba(24,48,60,0.13); padding: 23px var(--pad); color: #677772; font-size: 0.56rem; letter-spacing: 0.12em; font-family: var(--mono); }

/* ============================================================
   FRANCHISEE STORIES
   ============================================================ */
.stories { position: relative; background: var(--ocean-deep); }
.story { display: grid; grid-template-columns: 1fr 1fr; min-height: 68vh; align-items: stretch; }
.story.flip { direction: rtl; }
.story.flip > * { direction: ltr; }
.story-media { position: relative; min-height: 46vh; }
.story-media .ph { position: absolute; inset: 0; }
.story-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.4rem, 6vw, 5rem); }
.story-body .sub { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--surf); margin-bottom: 1.3rem; }
.story-body blockquote { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 0.96; margin-bottom: 1.6rem; letter-spacing: -0.02em; }
.story-body blockquote .hl { color: var(--coral); }
.story-numbers { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.story-numbers div { min-width: 6rem; }
.story-numbers .n { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.story-numbers .l { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.35rem; }
.story-body .attrib { display: flex; align-items: center; gap: 1rem; }
.story-body .attrib .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--surf), var(--surf-deep)); flex-shrink: 0; object-fit: cover; }
.story-body .attrib .name { font-weight: 700; }
.story-body .attrib .role { color: var(--muted); font-size: 0.84rem; }

/* ============================================================
   ECONOMICS
   ============================================================ */
.econ { background: var(--paper); color: var(--ink); }
.econ-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.invest-card { background: var(--ocean-deep); color: var(--paper); border-radius: 14px; padding: clamp(1.8rem, 3.6vw, 3rem); position: relative; overflow: hidden; }
.invest-card .eyebrow { color: var(--surf); }
.invest-range { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; margin: 1rem 0 0.4rem; letter-spacing: -0.02em; }
.invest-range .dash { color: var(--coral); }
.invest-card .note { color: var(--muted); font-size: 0.92rem; max-width: 42ch; }
.invest-bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.1); margin: 1.8rem 0 0.6rem; overflow: hidden; position: relative; }
.invest-bar i { position: absolute; inset: 0; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--surf), var(--coral)); }
.invest-bar-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.breakdown { list-style: none; margin-top: 1.8rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.breakdown li:last-child { border-bottom: none; }
.breakdown li span:first-child { font-weight: 600; }
.breakdown li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 0.88rem; }
.qualify h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 0.92; margin-bottom: 0.9rem; letter-spacing: -0.02em; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.process-steps .ps { padding-top: 1.1rem; border-top: 2px solid var(--coral); }
.process-steps .ps .n { font-family: var(--mono); color: var(--coral); font-size: 0.68rem; letter-spacing: 0.14em; }
.process-steps .ps h4 { margin: 0.5rem 0 0.35rem; font-size: 1.02rem; }
.process-steps .ps p { font-size: 0.86rem; color: var(--muted-dark); }
.disclaimer { margin-top: 3rem; font-size: 0.76rem; color: var(--muted-dark); max-width: 74ch; line-height: 1.6; }

/* ============================================================
   FRANCHISE GUIDE — lead magnet band
   ============================================================ */
.guide { background: var(--sand); color: var(--ink); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.guide h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 0.88; letter-spacing: -0.02em; margin: 1rem 0 1rem; }
.guide h2 em { color: var(--surf-deep); }
.guide-content { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: flex-start; margin-top: 1.4rem; }
.guide-content .guide-book { margin-top: 0; flex-shrink: 0; }
.guide-list { list-style: none; display: grid; gap: 0.5rem; flex: 1; }
.guide-list li { font-size: 0.94rem; color: var(--muted-dark); display: flex; gap: 0.7rem; line-height: 1.55; }
.guide-list li::before { content: '→'; color: var(--coral); }
.guide-form { background: var(--paper); border: 1px solid var(--hairline-dark); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.2rem); }
.guide-form .cap { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surf-deep); }
.guide-form label { display: block; font-size: 0.8rem; font-weight: 700; margin: 1.2rem 0 0.4rem; }
.guide-form input { width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--hairline-dark); color: var(--ink); font-family: var(--body); font-size: 1.1rem; padding: 0.6rem 0; outline: none; transition: border-color 0.3s; }
.guide-form input:focus { border-color: var(--surf-deep); }
.guide-form input::placeholder { color: rgba(37,55,70,0.35); }
.guide-form .fine { font-size: 0.74rem; color: var(--muted-dark); margin-top: 1rem; }
.guide-form .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }
.guide-done { display: none; font-size: 0.95rem; }
.guide-form.done .guide-fields { display: none; }
.guide-form.done .guide-done { display: block; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; min-height: 70svh; display: flex; align-items: flex-end; padding: var(--pad); overflow: hidden; }
.final-media { position: absolute; inset: 0; z-index: 0; }
.final-media .ph { position: absolute; inset: 0; padding: 0; }
.final-media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--ocean-deep) 5%, rgba(37,55,70,0.5) 60%), linear-gradient(100deg, rgba(37,55,70,0.85), transparent 70%); }
.final-content { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.final h2 { font-size: clamp(2.6rem, 7.5vw, 7.5rem); max-width: 22ch; margin: 1.3rem 0 2rem; }
.final h2 .hl { color: var(--coral); }
.final .actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ocean); color: var(--paper); padding: clamp(3.5rem, 7vh, 6rem) var(--pad) 2.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; border-bottom: 1px solid var(--hairline); padding-bottom: 3rem; }
.footer-brand { max-width: 36ch; }
.footer-brand .lede { font-size: 0.98rem; margin-top: 1.1rem; }
.footer-cols { display: flex; gap: clamp(2.5rem, 6vw, 6rem); flex-wrap: wrap; }
.footer-col h5 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--surf); margin-bottom: 1.1rem; font-weight: 400; }
.footer-col a { display: block; color: var(--muted); padding: 0.38rem 0; font-size: 0.93rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-root { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal-root.open { display: flex; }
.modal-scrim { position: absolute; inset: 0; background: rgba(4, 20, 27, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; }
.modal-card { position: relative; width: min(680px, 100%); background: var(--ocean-deep); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,0.55); transform: translateY(30px) scale(0.97); opacity: 0; }
.modal-progress { height: 4px; background: rgba(255,255,255,0.08); }
.modal-progress i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--surf), var(--coral)); transition: width 0.5s var(--ease); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.7rem 0; }
.modal-step-count { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surf); }
.modal-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 0.3rem; transition: color 0.3s; }
.modal-close:hover { color: var(--paper); }
.modal-body { padding: 1.4rem 1.7rem 1.2rem; min-height: 300px; }
.step { display: none; }
.step.active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step .q-label { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 0.94; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.step .q-help { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.5rem; }
.field input { width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--hairline); color: var(--paper); font-family: var(--body); font-size: 1.25rem; padding: 0.7rem 0; outline: none; transition: border-color 0.3s; }
.field input::placeholder { color: rgba(252,250,246,0.3); }
.field input:focus { border-color: var(--surf); }
.choice-grid { display: grid; gap: 0.7rem; grid-template-columns: 1fr 1fr; }
.choice { border: 1.5px solid var(--hairline); border-radius: 10px; padding: 1rem 1.1rem; cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.25s; font-weight: 600; }
.choice:hover { border-color: var(--surf); transform: translateY(-2px); }
.choice.sel { border-color: var(--coral); background: rgba(255,108,47,0.12); }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-top: 0.2rem; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.7rem 1.7rem; gap: 1rem; }
.modal-back { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; transition: color 0.3s; }
.modal-back:hover { color: var(--paper); }
.modal-back[disabled] { opacity: 0; pointer-events: none; }
.modal-next { padding: 0.85rem 1.7rem; }
.modal-success { text-align: center; padding: 2rem 0; }
.modal-success .check { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 1.4rem; background: var(--surf); color: var(--ocean-deep); display: grid; place-items: center; font-size: 1.9rem; }
.modal-success h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 2.2rem; line-height: 0.92; margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.modal-success p { color: var(--muted); max-width: 42ch; margin: 0 auto; }

/* ---------- Page loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--ocean-deep); display: grid; place-items: center; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { height: 38px; width: auto; margin-bottom: 2rem; opacity: 0.9; }
.loader-bar { width: 120px; height: 3px; border-radius: 100px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 0 auto; }
.loader-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--surf), var(--coral)); border-radius: 100px; animation: loaderFill 1.4s var(--ease) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 20px; height: 20px; border: 2px solid var(--surf); border-radius: 50%; pointer-events: none; z-index: 9998; mix-blend-mode: difference; transition: transform 0.15s ease, opacity 0.2s; transform: translate(-50%, -50%); opacity: 0; }
.cursor.visible { opacity: 1; }
.cursor.hover { transform: translate(-50%, -50%) scale(2.5); background: rgba(62,177,200,0.12); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Section transitions ---------- */
/* Soft gradient blends at section boundaries — color matches the PREVIOUS section */

/* ---------- Review card stagger ---------- */
.review:nth-child(2) { transform: translateY(12px); }
.review:nth-child(3) { transform: translateY(-8px); }
.review:nth-child(4) { transform: translateY(6px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: linear-gradient(90deg, var(--surf), var(--coral)); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- Sticky CTA ---------- */
.sticky-cta { position: fixed; bottom: 2rem; right: 2rem; z-index: 190; box-shadow: 0 8px 32px rgba(255,108,47,0.35); }
@media (max-width: 768px) { .sticky-cta { bottom: 1.2rem; right: 1.2rem; padding: 0.9rem 1.4rem !important; font-size: 0.78rem !important; } }

/* ---------- Mobile drawer ---------- */
.mobile-drawer { position: fixed; inset: 0; z-index: 400; background: rgba(4,20,27,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.mobile-drawer.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: flex-end; padding: 1.4rem var(--pad); }
.drawer-close { background: none; border: none; color: var(--paper); font-size: 2rem; cursor: pointer; padding: 0.5rem; line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; gap: 1.8rem; padding: 0 var(--pad) 4rem; }
.drawer-nav a { color: var(--paper); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; transition: color 0.3s; }
.drawer-nav a:hover { color: var(--coral); }
.drawer-nav .btn { margin-top: 1rem; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--coral); color: var(--ocean-deep); padding: 0.8rem 1.6rem; border-radius: 0 0 8px 8px; font-weight: 700; font-size: 0.85rem; z-index: 999; transition: top 0.2s; }
.skip-link:focus { top: 0; color: var(--ocean-deep); }

/* ---------- Content visibility for below-fold ---------- */
/* Removed content-visibility: auto — caused layout collapse and blank sections during scroll */

/* ---------- Footer Apply link ---------- */
.footer-col a[data-open-modal] { color: var(--coral); font-weight: 700; }
.footer-col a[data-open-modal]:hover { color: var(--coral-2); }

/* ---------- Footer social icons ---------- */
.footer-social a { display: flex; align-items: center; gap: 0.6rem; }
.footer-social svg { flex-shrink: 0; opacity: 0.7; transition: opacity 0.3s, transform 0.3s var(--ease); }
.footer-social a:hover svg { opacity: 1; transform: translateY(-2px); }

/* ---------- Reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE — MOBILE-FIRST OVERHAUL
   Awwwards-grade mobile: full-screen menu, oversized type,
   generous negative space, touch-first interactions
   ============================================================ */

/* ---------- Tablet (1180 and below) ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost.nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1100px) {
  .hero-shoot { display: none; }
}
@media (max-width: 1024px) {
  .econ-layout, .snapshot-head, .guide-layout { grid-template-columns: 1fr; }
  .territory-inner { grid-template-columns: 42% 58%; gap: 0; }
  .territory-copy { padding-right: 23px; }
  .territory-copy h2 { font-size: 70px; }
  .territory-intro { font-size: 0.94rem; }
  .state-grid { grid-template-rows: repeat(4, 82px); gap: 7px; padding: 0; }
  .state-tile { padding: 9px 8px; }
  .state-abbr { font-size: 25px; }
  .map-caption { font-size: 0.5rem; }
  .state-open { font-size: 0.5rem; }
  .territory-legend { gap: 10px; }
  .territory-stats { gap: 35px; }
  .engine-layout { grid-template-columns: 42% 58%; gap: 0; }
  .engine-copy { padding-right: 1.5rem; }
  .guide-layout { gap: 2.4rem; }
  .qualify { margin-top: 2.4rem; }
}
@media (max-width: 820px) {
  .hero-content { grid-template-columns: 1fr; }
}

/* ---------- Mobile (768 and below) ---------- */
@media (max-width: 768px) {
  :root { --pad: 1.4rem; }

  /* -- Nav -- */
  .nav { padding: 1rem var(--pad); }
  .nav.scrolled { padding: 0.7rem var(--pad); }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; font-size: 0.72rem; padding: 0.55rem 1rem; }
  .nav-cta { display: none; }
  .nav-actions .btn-primary.nav-cta { display: none; }
  .brand-logo { height: 24px; }

  /* -- Full-screen mobile drawer -- awwwards style -- */
  .mobile-drawer {
    padding: 0;
    background: var(--ocean-deep);
    backdrop-filter: none;
  }
  .drawer-head {
    padding: 1rem var(--pad);
    justify-content: space-between;
    align-items: center;
  }
  .drawer-close {
    font-size: 2.4rem;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    transition: background 0.3s, border-color 0.3s;
  }
  .drawer-close:hover { background: rgba(255,255,255,0.06); border-color: var(--surf); }
  .drawer-nav {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem var(--pad) 3rem;
    gap: 0;
  }
  .drawer-nav a {
    font-size: clamp(2.8rem, 11vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--hairline);
    width: 100%;
    display: block;
    transition: color 0.3s, padding-left 0.3s var(--ease);
  }
  .drawer-nav a:hover { padding-left: 0.8rem; }
  .drawer-nav .btn {
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 1.3rem 2rem;
  }

  /* -- Hero -- */
  .hero { min-height: 100svh; padding: 6rem var(--pad) 2rem; align-items: flex-end; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.5rem); margin-bottom: 0.6rem; }
  .hero h1 .l3 { font-size: 0.22em; -webkit-text-stroke-width: 1px; margin-top: 0.3em; }
  .hero-eyebrow { margin-bottom: 1rem; }
  .hero-eyebrow .pill { font-size: 0.62rem; padding: 0.35rem 0.75rem; }
  .hero-eyebrow .eyebrow { display: none; }
  .hero-sub .lede { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; margin-top: 1.2rem; }
  .hero-actions .btn { justify-content: center; padding: 1rem 1.6rem; font-size: 0.82rem; }
  .hero-rail { grid-template-columns: repeat(3, 1fr); border-radius: 8px; }
  .hero-rail > div { padding: 0.7rem 0.6rem; }
  .hero-rail .v { font-size: 1.2rem; margin-top: 0.3rem; }
  .hero-rail .k { font-size: 0.5rem; letter-spacing: 0.08em; }
  .hero-rail .n { display: none; }

  /* -- Marquee -- */
  .marquee { padding: 0.7rem 0; }
  .marquee span { font-size: 1.1rem; gap: 1.6rem; }
  .marquee-track { gap: 1.6rem; }

  /* -- Section spacing -- */
  .section { padding: clamp(3.5rem, 8vh, 5rem) var(--pad); }
  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); margin: 0.8rem 0 1rem; }

  /* -- Investment snapshot -- */
  .snapshot-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .snapshot-head h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.4rem 1rem; }
  .stat .num { font-size: clamp(2rem, 9vw, 3rem); }
  .stat .label { font-size: 0.84rem; margin-top: 0.5rem; }
  .stat .src { font-size: 0.58rem; }
  .compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare table { min-width: 520px; }

  /* -- Cinema -- */
  .cinema { height: 100vh; }
  .cinema-frame { width: 92vw; border-radius: 10px; }
  .cinema-copy { position: static; margin-bottom: 1rem; flex-direction: column; gap: 0.5rem; }
  .cinema-copy h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .cinema-copy .note { text-align: left; }
  .cinema-stage { padding: 5rem var(--pad) 2rem; align-content: center; }
  .cinema-ui .btn { padding: 0.65rem 1rem; font-size: 0.66rem; }

  /* -- Differentiation panels -- */
  .diff-header { flex-direction: column; align-items: flex-start; padding: 3.5rem var(--pad) 0; }
  .diff-intro h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .carousel-track { gap: 1rem; padding: 1.5rem 0 1.5rem var(--pad); }
  .panel { flex: 0 0 85vw; }
  .panel-img { min-height: 220px; }
  .panel-body { padding: 1.2rem; }
  .panel h3 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .carousel-btn { width: 40px; height: 40px; }
  .panel p { font-size: 0.88rem; }

  /* -- Consumer grid -- */
  .consumer .section-head h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .consumer-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 45vw; gap: 0.5rem; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; grid-row: span 1; }
  .t-a { grid-column: span 2; grid-row: span 1; }
  .quote-strip { grid-template-columns: 1fr; gap: 0.8rem; margin-top: 1.6rem; }
  .review { padding: 1.1rem 1.2rem; }
  .review p { font-size: 0.9rem; }
  .review:nth-child(n) { transform: none; }

  /* -- Surf panel -- */
  .surf-panel { aspect-ratio: 1 / 1.1; background-size: cover; }
  .surf-panel .sp-big { font-size: clamp(3rem, 16vw, 5.5rem); }
  .surf-panel .sp-sub { font-size: 0.6rem; letter-spacing: 0.2em; }

  /* -- Engine / Support System -- */
  .engine-layout { display: flex; flex-direction: column; gap: 0; }
  .engine-copy { padding-right: 0; }
  .engine-copy h2 { font-size: clamp(2rem, 8vw, 2.8rem) !important; }
  .engine-meta-right { display: none; }
  .engine-meta { margin-bottom: 1.5rem; font-size: 0.62rem; }
  .services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
  .service { gap: 0.55rem; padding: 0.8rem 0; }
  .service .name { font-size: 0.82rem; }
  .service .arrow { font-size: 1.1rem; }
  .service[aria-pressed="true"] { padding-left: 0.4rem; }
  .engine-footnote { display: none; }
  .network { margin-top: 0.75rem; }
  .graph { margin-top: 0; aspect-ratio: 1; }
  .node { font-size: 0.62rem; gap: 0.44rem; }
  .node .symbol { width: 37px; height: 37px; }
  .coordinate { font-size: 0.44rem; }
  .coordinate.top-left { top: 0.75rem; left: 0.5rem; }
  .coordinate.bottom-right { bottom: 0.38rem; }
  .core-label { width: 105px; }
  .core-label span { font-size: 1.25rem; }
  .core-label small { font-size: 0.31rem; letter-spacing: 0.08em; }
  .graph-footer { padding-top: 0.6rem; font-size: 0.44rem; letter-spacing: 0.08em; }
  .graph-footer button { font-size: 0.5rem; }
  .detail { padding: 1.4rem 0 0; min-height: 165px; }
  .detail h3 { font-size: 1.44rem; }
  .detail p { font-size: 0.88rem; }
  .detail-mark { font-size: 2.2rem; }

  /* -- Territory -- */
  .territory-section { padding-top: 52px; }
  .territory-watermark { top: -19px; font-size: 135px; }
  .territory-inner { display: block; padding: 6px 0 30px; }
  .territory-copy { padding: 0; }
  .territory-kicker { margin-bottom: 22px; font-size: 0.62rem; }
  .territory-copy h2 { font-size: clamp(63px, 15vw, 90px); }
  .territory-intro { margin: 21px 0; }
  .territory-stats { gap: 42px; margin-bottom: 22px; }
  .territory-stats strong { font-size: 48px; }
  .territory-legend { margin-bottom: 30px; font-size: 0.56rem; }
  .map-caption { font-size: 0.44rem; letter-spacing: 0.06em; }
  .state-grid { grid-template-rows: repeat(4, 77px); gap: 6px; padding: 0; }
  .state-tile { padding: 8px 6px; }
  .state-abbr { font-size: 24px; }
  .state-open { font-size: 0.44rem; letter-spacing: 0; }
  .state-tile.priority::after { right: 6px; top: 8px; width: 4px; height: 4px; }
  .territory-detail { margin-top: 22px; }
  .territory-detail-main { gap: 15px; }
  .territory-detail h3 { font-size: 33px; }
  .territory-count { min-width: 80px; }
  .territory-detail p { font-size: 0.81rem; }
  .territory-bottom { gap: 22px; font-size: 0.44rem; line-height: 1.7; }
  .territory-bottom > span:last-child { text-align: right; }
  .state { padding: 0.5rem; }
  .state .abbr { font-size: 1rem; }
  .state .cnt { font-size: 0.52rem; }
  /* territory stats handled in 768px breakpoint above */

  /* -- Stories -- */
  .stories .section-head { padding: 3rem var(--pad) 0; }
  .stories .section-head h2 { font-size: clamp(2rem, 8vw, 3rem) !important; }
  .story, .story.flip { grid-template-columns: 1fr; direction: ltr; min-height: auto; }
  .story-media { min-height: 55vw; }
  .story-body { padding: 2rem var(--pad); }
  .story-body blockquote { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 1.2rem; }
  .story-numbers { gap: 1.2rem; margin-bottom: 1.4rem; }
  .story-numbers .n { font-size: 1.3rem; }

  /* -- Economics -- */
  .econ-layout { grid-template-columns: 1fr; gap: 2rem; }
  .econ .section-head h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .invest-card { padding: 1.6rem; }
  .invest-range { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .breakdown li { padding: 0.85rem 0; font-size: 0.88rem; }
  .qualify h3 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .qualify .lede { font-size: 0.92rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }
  .disclaimer { font-size: 0.7rem; margin-top: 2rem; }

  /* -- Guide -- */
  .guide-layout { grid-template-columns: 1fr; gap: 2rem; }
  .guide h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .guide-book { max-width: 180px; }
  .guide-form { padding: 1.3rem; }
  .guide-form input { font-size: 1rem; }

  /* -- Final CTA -- */
  .final { min-height: 60svh; padding: 2rem var(--pad); }
  .final h2 { font-size: clamp(2.2rem, 9vw, 3.6rem); margin: 1rem 0 1.5rem; }
  .final .actions { flex-direction: column; align-items: stretch; }
  .final .actions .btn { justify-content: center; }

  /* -- Footer -- */
  .footer { padding: 2.5rem var(--pad) 1.5rem; }
  .footer-top { flex-direction: column; gap: 2rem; padding-bottom: 2rem; }
  .footer-brand .lede { font-size: 0.9rem; }
  .footer-cols { flex-direction: column; gap: 1.8rem; }
  .footer-col a { font-size: 0.88rem; padding: 0.3rem 0; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; font-size: 0.72rem; }

  /* -- Modal -- */
  .modal-card { border-radius: 12px; }
  .modal-body { padding: 1.2rem 1.3rem; min-height: 240px; }
  .step .q-label { font-size: clamp(1.5rem, 6vw, 2rem); }
  .choice-grid { grid-template-columns: 1fr; }
  .choice { padding: 0.85rem 1rem; }
  .modal-foot { padding: 1rem 1.3rem 1.3rem; }

}

/* ---------- Small mobile (480 and below) ---------- */
@media (max-width: 480px) {
  :root { --pad: 1.1rem; }

  /* Even bigger display type on small screens — editorial style */
  .hero h1 { font-size: clamp(3rem, 18vw, 5rem); }
  .hero h1 .l3 { display: none; }
  .hero-rail { grid-template-columns: repeat(3, 1fr); }
  .hero-rail > div { padding: 0.5rem 0.4rem; }
  .hero-rail .v { font-size: 1rem; }
  .hero-rail .k { font-size: 0.44rem; }

  .section-head h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .snapshot-head h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .stat-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: clamp(2.2rem, 12vw, 3.2rem); }

  .consumer-grid { grid-template-columns: 1fr; grid-auto-rows: 56vw; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; }
  .t-a { grid-column: span 1; }

  .story-body { padding: 1.6rem var(--pad); }
  .story-body blockquote { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .story-media { min-height: 65vw; }

  .surf-panel { aspect-ratio: 1 / 1.3; }
  .surf-panel .sp-big { font-size: clamp(2.6rem, 18vw, 4.5rem); }

  .invest-range { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .final h2 { font-size: clamp(1.9rem, 10vw, 3rem); }

  .drawer-nav a { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .drawer-nav .btn { font-size: 0.82rem; padding: 1.1rem 1.6rem; }

  /* state grid handled in 768px breakpoint */
}

/* ---------- Brand asset layers (declared last: shorthand backgrounds above would reset these) ---------- */
.tex-sand { background-color: var(--sand); }
.tex-sand-soft { background-color: var(--sand-2); }
.tex-sand::after, .tex-sand-soft::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url('assets/sand-grain.png'); background-repeat: repeat; background-size: 1100px auto; mix-blend-mode: multiply; }
.tex-sand::after { opacity: 0.3; }
.tex-sand-soft::after { opacity: 0.18; }
.ph-pattern { background-image: url('assets/surf-pattern.png'), linear-gradient(165deg, var(--ocean) 0%, var(--ocean-deep) 58%, #1A2D3A 100%); background-size: 620px auto, cover; background-repeat: repeat, no-repeat; background-blend-mode: soft-light, normal; }

/* ============================================================
   CINEMA — scroll-scrubbed brand film
   ============================================================ */
.cinema { position: relative; background: var(--ocean-deep); height: 160vh; }
.cinema-stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.cinema-copy { position: absolute; top: clamp(4.5rem, 11vh, 8rem); left: var(--pad); right: var(--pad); max-width: var(--maxw); margin: 0 auto; z-index: 4; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; pointer-events: none; }
.cinema-copy h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 0.9; letter-spacing: -0.02em; margin-top: 0.8rem; max-width: 20ch; }
.cinema-copy h2 em { font-style: normal; color: var(--coral); }
.cinema-copy .note { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surf); text-align: right; }
.cinema-frame { position: relative; width: 46vw; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ocean-deep); box-shadow: 0 40px 120px rgba(0,0,0,0.55); z-index: 3; }
.cinema-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.cinema-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--surf); }
.cinema-ui { position: absolute; left: 0; right: 0; bottom: clamp(1.2rem, 3vh, 2.2rem); z-index: 5; display: flex; justify-content: center; gap: 0.7rem; }
.cinema-ui .btn { padding: 0.75rem 1.4rem; font-size: 0.72rem; }
.cinema-ui .btn-ghost { background: rgba(37,55,70,0.55); backdrop-filter: blur(8px); }
@media (max-width: 900px) {
  .cinema { height: 120vh; }
  .cinema-frame { width: 84vw; }
  .cinema-copy { position: static; margin-bottom: 1.5rem; }
  .cinema-stage { padding: 6rem var(--pad) 3rem; align-content: center; }
}

/* ============================================================
   MOVING BACKGROUND TYPE — poster layer
   ============================================================ */
.has-bgtype { overflow: hidden; }
.bg-type { position: absolute; z-index: 0; pointer-events: none; user-select: none; white-space: nowrap; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.8; font-size: clamp(5rem, 17vw, 17rem); letter-spacing: -0.01em; color: transparent; -webkit-text-stroke: 1.5px rgba(252,250,246,0.16); will-change: transform; }
.bg-type.ink { -webkit-text-stroke: 1.5px rgba(37,55,70,0.15); }
.bg-type.coral { -webkit-text-stroke: 1.5px rgba(255,108,47,0.4); }
.bg-type.fill { color: rgba(252,250,246,0.05); -webkit-text-stroke: 0; }
.bg-type.fill-ink { color: rgba(37,55,70,0.05); -webkit-text-stroke: 0; }

/* ============================================================
   SURF PANEL — full-size wave graphic, unsquished
   ============================================================ */
   #consumer {padding-bottom: 35vw;}
.surf-panel { position: relative; width: 100%; aspect-ratio: 1920 / 1080; background-image: url('assets/wave-ribbon.png');background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 100% 100%, 100% 100%; display: grid; place-items: center; overflow: clip; z-index: 4; margin-top: -28vw; margin-bottom: -10vw; }
.surf-panel::before { content: ''; position: absolute; inset: 0 0 55% 0; pointer-events: none; z-index: 0; background: url('assets/sand-grain.png') repeat / 1100px auto; opacity: 0.3; mix-blend-mode: multiply; }
.surf-panel .sp-inner { position: relative; z-index: 3; text-align: center; padding: 0 var(--pad); }
.surf-panel .sp-big { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(3.4rem, 12vw, 12rem); line-height: 0.82; color: var(--paper); letter-spacing: -0.01em; text-shadow: 0 10px 40px rgba(37,55,70,0.25); }
.surf-panel .sp-big .o { color: transparent; -webkit-text-stroke: clamp(2px, 0.35vw, 5px) var(--paper); }
.surf-panel .sp-sub { margin-top: 1rem; font-family: var(--mono); font-size: clamp(0.66rem, 1vw, 0.8rem); letter-spacing: 0.28em; text-transform: uppercase; color: rgba(252,250,246,0.9); }
.surf-panel .sp-strip { position: absolute; left: 0; right: 0; top: 8%; z-index: 2; white-space: nowrap; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 7rem); color: transparent; -webkit-text-stroke: 1.6px rgba(252,250,246,0.5); will-change: transform; }
@media (max-width: 760px) { .surf-panel { aspect-ratio: 1 / 1; background-size: cover, 100% 100%; margin-top: -22vw; margin-bottom: -14vw; } .surf-panel::before { inset: 0 0 55% 0; } }


/* ---------- Decorative surfboard outlines ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* Investment – dark bg, surf & coral tinted boards */
.deco-inv-1 { width: 112px; height: 480px; top: 8%; right: 7%; color: var(--surf); opacity: 0.18; }
.deco-inv-2 { width: 128px; height: 320px; bottom: 6%; left: 5%; color: var(--coral); opacity: 0.14; }

/* Consumer – light bg, ink-tinted shortboard */
.deco-con-1 { width: 96px; height: 380px; top: 14%; right: 4%; color: var(--ink); opacity: 0.1; }

/* Engine / Support – dark bg, two boards */
.deco-eng-1 { width: 112px; height: 480px; top: 4%; left: 4%; color: rgba(62,177,200,0.8); opacity: 0.18; }
.deco-eng-2 { width: 96px; height: 380px; bottom: 8%; right: 6%; color: rgba(255,107,107,0.7); opacity: 0.14; }

/* Stories – dark bg, fish board */
.deco-str-1 { width: 128px; height: 320px; top: 16%; left: 6%; color: var(--paper); opacity: 0.12; }

/* Economics – light bg, ink shortboard */
.deco-eco-1 { width: 96px; height: 380px; top: 10%; left: 4%; color: var(--ink); opacity: 0.1; }

/* Final CTA – dark bg, longboard */
.deco-fin-1 { width: 112px; height: 480px; top: 8%; right: 5%; color: var(--surf); opacity: 0.18; z-index: 4; }

@media (prefers-reduced-motion: reduce) { .deco { display: none; } }
@media (max-width: 760px) { .deco { scale: 0.5; } .deco-inv-2, .deco-eng-2, .deco-str-1 { display: none; } }

@media (max-height: 660px) {
  .hero h1 .reveal-line:last-child { display: none; }
  .hero h1 { font-size: clamp(2rem, 5vw, 4.2rem); }
  .hero-sub .lede { font-size: 0.88rem; max-width: 40ch; }
}
