/* SurfStats – Variant B (bold, photo-led, dynamic) */
:root {
  --navy: #0A2A43;
  --coral: #FF8A5B;
  --teal: #2a9d8f;
  --ink: #0b0d10;
  --muted: #6b7280;
  --soft: #f4f4f6;
  --line: #e7e7ea;
  --r1: #DB5445; --r2: #FF8A5B; --r3: #E3B04A; --r4: #40B39E; --r5: #0D8F9E;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", sans-serif;
  --hand: "Bradley Hand", "Segoe Print", "Ink Free", "Noteworthy", cursive;
  --radius: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -0.035em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.num { font-family: var(--rounded); font-variant-numeric: tabular-nums; }

/* type */
.display { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 700; }
.display.light { color: #fff; }
.muted-h { color: #9aa1ab; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--coral); margin-bottom: 18px; }
.center-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.lead-c { font-size: 1.15rem; color: var(--muted); max-width: 720px; margin: 28px auto 0; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: #0b0d10; color: #fff; }
.pill-light { background: #fff; color: #0b0d10; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s ease, box-shadow .3s ease, color .3s ease; color: #fff; }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.04em; text-decoration: none; margin-right: auto; }
.nav-links { display: flex; gap: 30px; font-size: .97rem; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .9; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--coral); }
.nav-cta { padding: 10px 20px; font-size: .92rem; }
.nav.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav.solid .nav-cta { background: #0b0d10; color: #fff; }
body.light-top .nav { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
body.light-top .nav .nav-cta { background: #0b0d10; color: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: -4% 0 0; background: url("assets/hero.jpg") center 60% / cover no-repeat; transform: scale(var(--zoom, 1.06)); transition: transform .1s linear; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,42,67,.55) 0%, rgba(10,42,67,.15) 45%, rgba(10,42,67,.65) 100%); }
.hero-inner { position: relative; padding-top: 150px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(3.4rem, 10vw, 8.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: .95; margin-bottom: 26px; text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 560px; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 14px 0 18px; }
.hero-pills { list-style: none; padding: 0; margin: 0 0 56px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-pills li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 16px; font-size: .92rem; }
.hero-pills b { color: var(--coral); }

.glass-phone { width: 300px; height: 330px; border-radius: 44px 44px 0 0; border: 1.5px solid rgba(255,255,255,.55); border-bottom: 0; background: rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 34px 24px 0; display: flex; flex-direction: column; align-items: center; margin-top: auto; }
.gp-icon { border-radius: 14px; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.gp-label { font-size: .9rem; opacity: .85; margin: 0; }
.gp-big { font-size: 3.4rem; font-weight: 700; margin: 0; letter-spacing: -0.03em; }
.gp-chip { background: rgba(255,255,255,.9); color: var(--ink); border-radius: 999px; padding: 6px 16px; font-size: .85rem; font-weight: 600; margin: 8px 0 22px; }
.gp-row { display: flex; justify-content: space-between; width: 100%; }
.gp-row div { text-align: center; }
.gp-row b { display: block; font-size: 1.3rem; }
.gp-row i { font-style: normal; font-size: .75rem; opacity: .8; }
.photo-credit { position: absolute; right: 24px; bottom: 18px; margin: 0; font-size: .78rem; font-weight: 300; letter-spacing: .04em; color: rgba(255,255,255,.75); }

/* SECTIONS */
.section { padding: 140px 0; }
.section.white { background: #fff; }
.section.black { background: #0b0d10; color: #fff; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card { background: var(--soft); border-radius: var(--radius); padding: 40px 34px 44px; min-height: 300px; display: flex; flex-direction: column; transition: transform .3s ease; }
.bento-card:hover { transform: translateY(-4px); }
.bento-card h3 { font-size: 2.2rem; font-weight: 700; margin-top: auto; }
.bento-card p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.bento-n { font-size: 1rem; font-weight: 700; color: #9aa1ab; }
.bento-card.accent { background: var(--navy); color: #fff; }
.bento-card.accent p { color: rgba(255,255,255,.75); }
.bento-card.accent .bento-n { color: var(--coral); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bento-card { min-height: 220px; } }

.story-link { display: inline-block; margin-top: 56px; font-family: var(--hand); font-size: 1.9rem; font-weight: 700; color: var(--coral); text-decoration: none; transform: rotate(-2deg); }
.story-link:hover { text-decoration: underline; }

/* photo placeholders */
.ph { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ph::after { content: attr(data-label); position: absolute; left: 24px; bottom: 18px; font-size: .75rem; letter-spacing: .04em; color: rgba(255,255,255,.7); background: rgba(0,0,0,.25); padding: 4px 10px; border-radius: 999px; }
.ph-1 { background-image: radial-gradient(ellipse at 70% 20%, #f6d6a8 0%, transparent 45%), linear-gradient(180deg, #7fb4c9 0%, #3c7d97 45%, #16465f 100%); }
.ph-2 { background-image: radial-gradient(ellipse at 20% 30%, #ffd2b3 0%, transparent 40%), linear-gradient(160deg, #2a6f86 0%, #0f3b54 60%, #0a2a43 100%); }
.ph-3 { background-image: radial-gradient(ellipse at 50% 0%, #dff1f5 0%, transparent 50%), linear-gradient(180deg, #5aa6b8 0%, #2a9d8f 50%, #0f5560 100%); }
.ph-4 { background-image: radial-gradient(ellipse at 80% 80%, #eadfc8 0%, transparent 40%), linear-gradient(200deg, #9cc7d4 0%, #3d8aa3 50%, #123e58 100%); }
.ph-close { background-image: radial-gradient(ellipse at 50% 70%, #ffb27a 0%, transparent 55%), linear-gradient(180deg, #2b3f63 0%, #a35d4d 55%, #e58b5b 100%); }

/* FEATURES / SCENES */
.scenes { position: relative; overflow: hidden; color: #fff; padding: 130px 0; min-height: 100vh; }
.scene-bgs .ph { opacity: 0; transition: opacity 1s ease, transform 8s ease; transform: scale(1.06); }
.scene-bgs .ph.on { opacity: 1; transform: scale(1); }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,32,.78) 0%, rgba(5,20,32,.45) 55%, rgba(5,20,32,.15) 100%); }
.scene-inner { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: center; }
.scene-copy .display { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 36px; }
.eyebrow.light { color: var(--coral); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; padding: 11px 22px; font: 600 .95rem var(--font); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tab span { position: relative; z-index: 1; }
.tab i { position: absolute; inset: 0; background: rgba(255,255,255,.25); transform-origin: left; transform: scaleX(0); }
.tab.on { background: #fff; color: var(--ink); border-color: #fff; }
.tab.on i { background: rgba(255,138,91,.25); animation: fill var(--dur, 7s) linear forwards; }
.tabs.paused .tab.on i { animation: none; transform: scaleX(0); }
@keyframes fill { to { transform: scaleX(1); } }
.panels { min-height: 330px; }
.panel h3 { font-size: 1.9rem; font-weight: 700; }
.panel p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 560px; }
.panel.on { animation: panelIn .6s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ticks { list-style: none; padding: 0; margin: 0; max-width: 560px; }
.ticks li { position: relative; padding-left: 30px; margin: 9px 0; color: rgba(255,255,255,.9); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 920px) {
  .scene-inner { grid-template-columns: 1fr; gap: 50px; }
  .scene-shade { background: rgba(5,20,32,.6); }
  .phone { margin: 0 auto; }
  .panels { min-height: 0; }
}

/* PHONE (glass frame) */
.phone { width: 320px; height: 650px; border-radius: 52px; padding: 11px; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px rgba(0,0,0,.35); position: relative; }
.phone::before { content: ""; position: absolute; top: 23px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.screens { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #f2f2f7; }
.screen { position: absolute; inset: 0; padding: 58px 14px 14px; font-size: 13px; line-height: 1.35; color: var(--ink); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .55s ease, transform .55s ease; }
.screen.on { opacity: 1; transform: none; }
.s-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; padding: 0 4px; }
.s-title { font-weight: 700; font-size: 17px; letter-spacing: 0; }
.s-title.big { font-size: 28px; font-weight: 800; }
.s-save { color: var(--teal); font-weight: 600; }
.seg { display: flex; background: #e3e3e8; border-radius: 9px; padding: 2px; margin-bottom: 12px; }
.seg span { flex: 1; text-align: center; padding: 5px; border-radius: 7px; font-weight: 600; color: #555; }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.card { background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #eee; }
.row:last-child { border: 0; }
.row b { font-weight: 500; color: #8a8a8e; }
.mini-label { text-transform: uppercase; font-size: 10px; letter-spacing: .06em; color: #8a8a8e; margin: 4px 0 6px; font-weight: 600; }
.rate { margin-bottom: 9px; }
.rate span { display: block; margin-bottom: 4px; }
.dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.dots i { font-style: normal; text-align: center; background: #eeeef2; border-radius: 6px; padding: 3px 0; font-family: var(--rounded); font-weight: 600; color: #888; font-size: 12px; }
.dots .sel { color: #fff; }
.v1 { background: var(--r1) !important; } .v2 { background: var(--r2) !important; } .v3 { background: var(--r3) !important; }
.v4 { background: var(--r4) !important; } .v5 { background: var(--r5) !important; }
.chips { display: flex; gap: 6px; margin-bottom: 12px; }
.chips span { padding: 4px 10px; border-radius: 20px; background: #fff; font-weight: 600; font-size: 12px; color: #555; }
.chips .on { background: var(--navy); color: #fff; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.kpis div { background: #fff; border-radius: 14px; padding: 10px 12px; }
.kpis b { display: block; font-size: 24px; font-weight: 700; color: var(--navy); }
.kpis span { font-size: 11px; color: #8a8a8e; }
.card-title { font-weight: 700; margin: 0 0 8px; font-size: 13px; }
.focus, .rec { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.focus b { color: #fff; border-radius: 6px; padding: 1px 8px; font-family: var(--rounded); font-size: 12px; }
.focus .c1 { background: var(--r1); } .focus .c2 { background: var(--r2); }
.rec b { font-weight: 700; color: var(--navy); }
.matrix { display: grid; grid-template-columns: 48px repeat(3, 1fr); gap: 4px; align-items: center; }
.mh { font-size: 10px; text-align: center; color: #8a8a8e; font-weight: 600; }
.ml { font-size: 11px; color: #555; }
.cell { text-align: center; color: #fff; border-radius: 7px; padding: 12px 0; font-family: var(--rounded); font-weight: 700; }
.fine { font-size: 10.5px; color: #8a8a8e; margin: 8px 0 0; }
.bar { display: grid; grid-template-columns: 74px 1fr 34px; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.bar i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--teal) var(--w), #eeeef2 var(--w)); }
.bar b { text-align: right; color: var(--navy); }
.map-screen { padding: 0; }
.map { width: 100%; height: 330px; display: block; }
.map-card { margin: -46px 12px 10px; position: relative; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.map-card > b { display: block; font-size: 15px; }
.map-card > span { color: #8a8a8e; font-size: 12px; }
.map-stats { display: flex; justify-content: space-between; margin-top: 8px; }
.map-stats b { display: block; font-size: 18px; color: var(--navy); }
.map-stats i { font-style: normal; font-size: 10.5px; color: #8a8a8e; }
.cal-card { margin: 0 12px; }
.heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 2.5px; }
.heat i { aspect-ratio: 1; border-radius: 2px; background: #ececf1; }
.heat .h1 { background: #a9dcd3; } .heat .h2 { background: #40B39E; } .heat .h3 { background: #0D8F9E; }

/* DARK CARDS */
.dark-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dark-card { background: #17191d; border-radius: var(--radius); padding: 40px 34px; transition: transform .3s ease, background .3s ease; }
.dark-card:hover { transform: translateY(-4px); background: #1d2025; }
.dark-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.dark-card p { color: rgba(255,255,255,.68); margin: 0; }
.dc-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,138,91,.14); color: var(--coral); margin-bottom: 26px; }
.privacy-note { max-width: 760px; margin: 56px auto 0; text-align: center; color: rgba(255,255,255,.55); font-size: .95rem; }
@media (max-width: 860px) { .dark-cards { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--soft); border-radius: 22px; padding: 22px 28px; margin-bottom: 10px; transition: background .2s ease; }
.faq details[open] { background: #eef0f3; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.2rem; font-weight: 400; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; }

/* CLOSING */
.closing { position: relative; overflow: hidden; color: #fff; padding: 170px 0; text-align: center; }
.closing-shade { position: absolute; inset: 0; background: rgba(5,20,32,.35); }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing-icon { border-radius: 22px; margin-bottom: 30px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.closing p { font-size: 1.25rem; opacity: .9; margin-bottom: 32px; }

/* FOOTER */
.footer { background: #0b0d10; color: rgba(255,255,255,.6); font-size: .9rem; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.04em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--coral); }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .scene-bgs .ph, .screen, .panel.on { transition: none; animation: none; transform: none; }
  .tab.on i { animation: none; }
}

/* ===== STORY PAGE ===== */
.story-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.story-hero .ph { z-index: 0; }
.story-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,20,32,.25) 0%, rgba(5,20,32,.75) 100%); }
.story-hero-inner { position: relative; width: 100%; padding-bottom: 90px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.story-hero h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: .98; }
.story-hero .lead { font-size: 1.2rem; opacity: .9; max-width: 560px; margin: 0; }
.hand-quote { margin: 0 0 20px; transform: rotate(-4deg); text-align: center; }
.hand-quote p { font-family: var(--hand); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.2; color: var(--coral); margin: 0 0 12px; }
.hand-quote cite { font-family: var(--hand); font-style: normal; font-size: 1.3rem; color: rgba(255,255,255,.8); }
.hand-quote cite::before { content: "– "; }
@media (max-width: 860px) { .story-hero-inner { grid-template-columns: 1fr; gap: 30px; } }

.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.chapter + .chapter { margin-top: 140px; }
.chapter-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; }
.chapter-copy p { color: var(--muted); font-size: 1.12rem; }
.chapter-copy em { font-style: normal; font-weight: 600; color: var(--ink); }
.chapter-tag { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--coral); margin-bottom: 16px; }
.chapter-tag .num { font-size: 1rem; letter-spacing: 0; }
.thanks { font-family: var(--hand); font-weight: 700; font-size: 1.6rem !important; line-height: 1.3; color: var(--coral) !important; transform: rotate(-2deg); margin-top: 30px; }
.media-card { background: var(--soft); border-radius: var(--radius); padding: 48px; display: grid; place-items: center; }
.media-card img { width: 100%; height: auto; }
.media-card.paper img { max-width: 400px; border-radius: 4px; transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 60px rgba(10,42,67,.25); transition: transform .5s ease; }
.media-card.paper:hover img { transform: rotate(0deg) scale(1.02); }
.media-caption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 16px; }
.chapter.wide { grid-template-columns: 1fr; gap: 50px; }
.chapter.wide .chapter-copy { max-width: 780px; }
.sheet-frame { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 40px 80px rgba(10,42,67,.18); border: 1px solid var(--line); }
.sheet-frame img { width: 100%; height: auto; }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; gap: 40px; } .media-card { padding: 28px; } }

.idea { text-align: center; max-width: 820px; margin: 0 auto; }
.idea p { color: rgba(255,255,255,.75); font-size: 1.15rem; }
.signature { font-family: var(--hand); font-size: 1.5rem; margin: 30px 0 34px; color: rgba(255,255,255,.85); }
.signature span { display: block; color: var(--coral); font-size: 2rem; font-weight: 700; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px rgba(10,42,67,.22); }
.about-photo img { width: 100%; height: auto; transition: transform 1.2s ease; }
.about-photo:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } }

/* ===== LEGAL ===== */
.legal { padding: 150px 0 110px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 38px 0 8px; letter-spacing: -0.01em; }
.legal p { color: var(--muted); }
.legal a { color: var(--teal); }
.legal-date { margin-top: 50px; font-size: .9rem; }
.display, .chapter-copy h2, .story-hero h1 { text-wrap: balance; }
.idea .signature { font-size: 1.6rem; color: rgba(255,255,255,.85); } .idea .signature span { font-size: 2.2rem; }
.hero-pills li { background: rgba(10,42,67,.5); border-color: rgba(255,255,255,.3); }

/* Hero: let the wave photo breathe (overrides) */
.hero-bg { background-position: center 45%; }
.hero-shade { background: linear-gradient(180deg, rgba(10,42,67,.42) 0%, rgba(10,42,67,.12) 38%, rgba(10,42,67,0) 60%, rgba(10,42,67,.18) 100%); }
.hero-inner { padding-top: 120px; }
.hero-title { font-size: clamp(3.2rem, 8.6vw, 7.2rem); text-shadow: 0 2px 30px rgba(10,42,67,.35); }
.hero-lead { text-shadow: 0 1px 12px rgba(10,42,67,.45); }
.hero-pills { margin-bottom: 0; }
.glass-phone { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 240px; height: 180px; padding: 22px 20px 0; border-radius: 38px 38px 0 0; }
.glass-phone.reveal { transform: translate(-50%, 28px); }
.glass-phone.reveal.in { transform: translateX(-50%); }
.gp-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 8px; }
.gp-big { font-size: 2.5rem; }
.gp-chip { margin: 4px 0 0; padding: 4px 14px; font-size: .78rem; }
.gp-row { display: none; }
@media (max-width: 860px), (max-height: 720px) {
  .glass-phone { position: relative; left: auto; transform: none; margin: 48px auto 0; }
  .glass-phone.reveal, .glass-phone.reveal.in { transform: none; }
  .hero-inner { min-height: 100svh; }
}
@media (min-width: 861px) and (min-height: 721px) {
  .hero-inner { min-height: 100vh; min-height: 100svh; }
  .hero-bg { background-position: center 54%; }
}
/* hero logo instead of glass phone */
.hero-logo { width: 128px; height: 128px; border-radius: 30px; margin-top: 44px; box-shadow: 0 18px 50px rgba(10,42,67,.45); }
@media (max-width: 860px) { .hero-logo { width: 104px; height: 104px; border-radius: 24px; margin-top: 36px; } }
.hero-title { white-space: nowrap; font-size: clamp(2rem, 8.4vw, 7.2rem); }
.hero-title { font-size: clamp(2rem, 9.6vw, 7.2rem); }
.hero-logo { margin-top: 2px; } @media (max-width: 860px) { .hero-logo { margin-top: 4px; } }

/* HERO INTRO: app screenshot first, then the rest */
.hero-stage { display: grid; justify-items: center; width: 100%; }
.intro-phone, .hero-rest { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; }
.intro-phone { height: 520px; transition: opacity .9s ease, transform .9s ease; }
.intro-phone .phone { transform: scale(.78); transform-origin: top center; }
.hero-rest { opacity: 0; transform: translateY(18px); transition: opacity .9s ease .25s, transform .9s ease .25s; pointer-events: none; }
.hero.intro-done .intro-phone { opacity: 0; transform: translateY(-16px) scale(.97); pointer-events: none; }
.hero.intro-done .hero-rest { opacity: 1; transform: none; pointer-events: auto; }
.hero-title { animation: titleIn .9s ease both; }
.intro-phone { animation: phoneIn 1s ease .25s both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .intro-phone { height: 470px; } .intro-phone .phone { transform: scale(.7); } }
@media (max-height: 760px) and (min-width: 861px) { .intro-phone { height: 440px; } .intro-phone .phone { transform: scale(.66); } }
@media (prefers-reduced-motion: reduce) { .hero-title, .intro-phone { animation: none; } }
.intro-phone { animation: none; }
.intro-phone .phone { animation: phoneIn2 1s ease .25s both; }
@keyframes phoneIn2 { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .intro-phone .phone { animation: none; } }
.hero-title, .intro-phone, .intro-phone .phone { animation: none !important; }
.intro-phone .phone { flex: none; }
.story-photo { position: absolute; inset: 0; background: url("assets/story-hero.jpg") center 45% / cover no-repeat; }
.story-hero-shade { background: linear-gradient(180deg, rgba(5,20,32,.2) 0%, rgba(5,20,32,.15) 40%, rgba(5,20,32,.7) 100%); }
.story-hero-shade { background: linear-gradient(180deg, rgba(5,20,32,.15) 0%, rgba(5,20,32,.1) 30%, rgba(5,20,32,.6) 65%, rgba(5,20,32,.85) 100%); }
.story-hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hand-quote p, .hand-quote cite { text-shadow: 0 2px 14px rgba(0,0,0,.65); }
.closing-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-shade { background: linear-gradient(180deg, rgba(5,20,32,.35) 0%, rgba(5,20,32,.45) 100%); }
.closing h2, .closing p { text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.ph:not([data-label])::after { content: none; }
.legal-list { color: var(--muted); padding-left: 20px; margin: 0 0 1em; }
.legal-list li { margin: 6px 0; }
.legal-list b { color: var(--ink); }
