/* =========================================================
   MemoriaKeeper — styles
   Dark blue + warm cream. Large, calm type. Normal scrolling.
   ========================================================= */

:root {
  --cream: #F7F2EA;
  --paper: #FCFAF6;
  --sand: #EFE8DC;
  --ink: #1A2233;
  --ink-soft: #566074;
  --ink-faint: #9AA1AE;
  --navy: #1B2B4B;
  --navy-dark: #111C33;
  --navy-deep: #0C1426;
  --blue: #2D4E86;
  --blue-soft: #C9D8F0;
  --gold: #D9A441;
  --line: rgba(26, 34, 51, .12);

  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;   /* headings */
  --wordmark: "Fraunces", Georgia, serif;                     /* only the MemoriaKeeper name in the logo */
  --sans: "Atkinson Hyperlegible", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --topbar: 40px;
  --header: 76px;
  --shadow: 0 30px 60px -30px rgba(17, 28, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + var(--header) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 19px; line-height: 1.6; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--serif); font-weight: 800; font-stretch: 110%; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
h3 { font-weight: 700; font-stretch: 100%; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 6.2vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
em { font-style: normal; }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin: 0 0 16px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-soft); max-width: 44ch; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.cream { background: var(--cream); }
.section.sand { background: var(--sand); }
.section.dark { background: var(--navy); color: var(--cream); }
.section.dark .eyebrow { color: var(--blue-soft); }
.section.dark em { color: var(--blue-soft); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 56px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 28px; border-radius: 999px; border: 0;
  font-size: 18px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 26px -12px rgba(17,28,51,.7); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-big { min-height: 66px; font-size: 20px; padding: 0 36px; }
.rec { width: 11px; height: 11px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.25); animation: rec 1.8s ease-in-out infinite; flex: none; }
@keyframes rec { 50% { box-shadow: 0 0 0 7px rgba(229,72,77,0); } }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Top bar + header (always visible) ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--topbar);
  background: var(--navy-deep); color: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter); font-size: 14px;
}
.topbar-msg { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-msg a { color: var(--blue-soft); text-decoration: none; }
.lang { display: flex; gap: 2px; flex: none; }
.lang button { background: none; border: 0; color: var(--ink-faint); padding: 3px 10px; border-radius: 99px; font-weight: 700; font-size: 13px; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
@media (max-width: 640px) { .topbar-msg .long { display: none; } }

.header {
  position: fixed; top: var(--topbar); left: 0; right: 0; z-index: 55; height: var(--header);
  background: rgba(252, 250, 246, .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--wordmark); font-size: 25px; font-weight: 500; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.navlink { white-space: nowrap; text-decoration: none; padding: 10px 12px; font-size: 16px; font-weight: 600; color: var(--ink); border-radius: 10px; }
.nav a.navlink:hover { background: var(--sand); }
.nav .call-link { white-space: nowrap; text-decoration: none; font-weight: 700; color: var(--navy); padding: 10px 14px; font-size: 16px; }
.nav .btn { min-height: 48px; font-size: 16px; padding: 0 22px; }
@media (max-width: 1320px) { .nav a.navlink { display: none; } }
@media (max-width: 760px) { .nav .btn { display: none; } }
@media (max-width: 600px) {
  :root { --header: 64px; }
  .nav .call-link { display: none; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 21px; }
  .nav .btn { padding: 0 16px; font-size: 15px; }
}
main { padding-top: calc(var(--topbar) + var(--header)); }

/* ---------- Hero (inset card, like Legacybox) ---------- */
.hero { padding: 20px var(--gutter) 0; }
.hero-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-deep);
  height: calc(100vh - var(--topbar) - var(--header) - 40px); height: calc(100svh - var(--topbar) - var(--header) - 40px);
  min-height: 560px; max-height: 860px;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,15,29,.62) 0%, rgba(9,15,29,.42) 45%, rgba(9,15,29,.08) 80%, rgba(9,15,29,0) 100%),
    linear-gradient(0deg, rgba(9,15,29,.35) 0%, rgba(9,15,29,0) 45%),
    rgba(9,15,29,.38);
}
.hero-copy {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 6vw, 88px); max-width: 900px; color: #fff;
}
.hero-kicker { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); margin: 0 0 18px; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.h1-lead { display: block; font-size: .55em; font-weight: 600; font-stretch: 105%; letter-spacing: -.01em; margin-bottom: .12em; color: rgba(255,255,255,.92); }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); color: rgba(255,255,255,.9); margin: 22px 0 32px; max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.75); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓ "; color: var(--blue-soft); font-weight: 800; }
@media (max-width: 700px) {
  .hero { padding: 12px 10px 0; }
  .hero-card { height: auto; min-height: 0; max-height: none; }
  .hero-copy { height: auto; justify-content: flex-start; padding: 44px 22px 36px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-btns .btn { width: 100%; font-size: 18px; padding: 0 20px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(9,15,29,.88) 0%, rgba(9,15,29,.55) 55%, rgba(9,15,29,.2) 100%); }
}

/* The MemoriaKeeper box, sitting in the corner of the hero like a product on a table */
.hero-product {
  position: absolute; z-index: 2; right: clamp(20px, 4vw, 64px); bottom: -2%;
  width: clamp(260px, 29vw, 460px); height: auto; pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
  animation: rise 1.3s cubic-bezier(.16, 1, .3, 1) 2.5s both;
}
@media (max-width: 1100px) { .hero-product { width: clamp(220px, 26vw, 300px); opacity: .95; } }
@media (max-width: 900px) { .hero-product { display: none; } }

/* Cinematic intro (createxodus-style): black veil lifts, a letterboxed strip of footage opens to the full card */
.intro-veil { position: fixed; inset: 0; z-index: 3000; background: #000; pointer-events: none; animation: veil 1.4s ease-in-out both; }
@keyframes veil { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.hero-media { animation: open-strip 1.9s cubic-bezier(.87, 0, .13, 1) .6s both; }
@keyframes open-strip { from { clip-path: inset(38% 0 38% 0); } to { clip-path: inset(0 0 0 0); } }
.hero-media video { animation: settle 3.9s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes settle { from { transform: scale(1.22); } to { transform: scale(1); } }
.hero-copy > * { animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 1.9s; }
.hero-copy > *:nth-child(2) { animation-delay: 2.05s; }
.hero-copy > *:nth-child(3) { animation-delay: 2.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 2.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 2.55s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Story video (grows a little as you scroll) ---------- */
.story { padding: clamp(64px, 9vw, 110px) 0; text-align: center; overflow: hidden; }
.story h2 { max-width: 18ch; margin: 0 auto 14px; }
.story .lead { margin: 0 auto 48px; }
.story-box {
  width: min(72vw, 1100px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--sand); box-shadow: var(--shadow); transform: scale(.7); transform-origin: 50% 30%; will-change: transform;
}
.story-box video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .story-box { width: 88vw; aspect-ratio: 4 / 5; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.step-img { aspect-ratio: 4 / 4.2; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 24px 26px 30px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.step h3 { margin: 14px 0 10px; }
.step p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step-img { aspect-ratio: 16/10; } }

.compare-table { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.compare-table > div { padding: 20px 26px; border-top: 1px solid var(--line); font-size: 18px; }
.compare-table .th { border-top: 0; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.compare-table .them { color: var(--ink-soft); }
.compare-table .them:not(.th)::before { content: "✕  "; color: #D1383D; font-weight: 800; }
.compare-table .th.us { background: var(--navy); color: #fff; }
.compare-table .us { font-weight: 600; background: #F3F6FB; }
.compare-table .us:not(.th)::before { content: "✓  "; color: var(--blue); font-weight: 800; }
@media (max-width: 620px) { .compare-table > div { padding: 14px 16px; font-size: 16px; } }

/* ---------- What you receive ---------- */
.receive { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .receive { grid-template-columns: 1fr; } }
.included { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; }
.included-head { padding: 22px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.included-head b { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.included-head span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.inc-list { list-style: none; margin: 0; padding: 8px 0; }
.inc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 28px; align-items: start; }
.inc-list li + li { border-top: 1px solid var(--line); }
.inc-list .i { width: 44px; height: 44px; border-radius: 12px; background: #EEF2F9; display: grid; place-items: center; color: var(--navy); }
.inc-list .i svg { width: 22px; height: 22px; }
.inc-list b { display: block; font-size: 18px; }
.inc-list span { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }

/* Add-ons below: keepsake drives + enhancement */
.addons { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 48px; align-items: stretch; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; } }
.addon-drive { display: grid; grid-template-columns: 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; }
.addon-drive-img { aspect-ratio: 16 / 9; }
.addon-drive-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.addon-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.addon-body p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.addon-enh { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); padding: 26px 30px; }
.addon-enh h3 { margin: 8px 0 6px; }
.addon-enh p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.tag { justify-self: start; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: #EEF2F9; color: var(--navy); }

/* Phone mockup: private family channel */
.phone {
  width: min(340px, 88%); margin: 0 auto; aspect-ratio: 9 / 19.3; border-radius: 50px; padding: 11px;
  background: linear-gradient(145deg, #2a3242, #0f141d); box-shadow: 0 50px 80px -40px rgba(17,28,51,.6), inset 0 0 0 2px #3a4456;
}
.phone-screen { height: 100%; border-radius: 40px; overflow: hidden; background: #fff; position: relative; font-family: Roboto, Arial, sans-serif; color: #0f0f0f; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.yt-status { height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 0 28px; font-size: 13px; font-weight: 600; }
.yt-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 14px 10px; }
.yt-brand { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 17px; letter-spacing: -.04em; }
.yt-logo { width: 26px; height: 18px; border-radius: 5px; background: #FF0033; display: grid; place-items: center; }
.yt-logo::after { content: ""; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }
.yt-icons { display: flex; gap: 14px; color: #0f0f0f; }
.yt-icons svg { width: 19px; height: 19px; }
.yt-banner { height: 64px; margin: 0 12px; border-radius: 12px; background: linear-gradient(120deg, #1B2B4B, #2D4E86 60%, #6D8CC2); display: flex; align-items: flex-end; padding: 10px 12px; }
.yt-banner span { color: #fff; font-family: var(--serif); font-size: 14px; }
.yt-chan { display: flex; gap: 12px; align-items: center; padding: 12px 14px 4px; }
.yt-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; flex: none; }
.yt-avatar img { width: 30px; }
.yt-chan b { display: block; font-size: 16px; line-height: 1.2; }
.yt-chan small { color: #606060; font-size: 12px; line-height: 1.35; display: block; }
.yt-lock { margin: 6px 14px 8px; font-size: 11.5px; color: #606060; display: flex; gap: 6px; align-items: center; }
.yt-lock svg { width: 13px; height: 13px; }
.yt-tabs { display: flex; gap: 18px; padding: 0 14px; font-size: 13px; font-weight: 600; color: #606060; border-bottom: 1px solid #e5e5e5; }
.yt-tabs span { padding: 8px 0; }
.yt-tabs span.on { color: #0f0f0f; border-bottom: 2px solid #0f0f0f; }
.yt-list { padding: 10px 12px; display: grid; gap: 10px; }
.yt-item { display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: start; }
.yt-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #ddd; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-thumb i { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.8); color: #fff; font-style: normal; font-size: 10px; padding: 1px 4px; border-radius: 3px; font-weight: 600; }
.yt-item b { font-size: 12.5px; line-height: 1.3; display: block; font-weight: 600; }
.yt-item small { font-size: 11px; color: #606060; }

/* ---------- Enhancement: before / after ---------- */
.enh-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .enh-grid { grid-template-columns: 1fr; } }
.enh-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.enh-points li::before { content: "✓  "; color: var(--blue); font-weight: 800; }
.compare {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: #111; user-select: none; touch-action: pan-y; --pos: 50%; box-shadow: var(--shadow);
}
.compare video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after-v { filter: contrast(1.05) saturate(1.08); }
.compare .before-layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); overflow: hidden; }
/* The "original tape" side is drawn by js/vhs.js onto a small canvas; the browser scales it up softly */
.compare canvas.vhs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .scan { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 95% 85% at 50% 50%, transparent 62%, rgba(0,0,0,.4) 100%); }
.compare .osd { position: absolute; left: 5%; top: 7%; color: #fff; font: 700 clamp(13px, 1.7vw, 22px)/1.35 "Courier New", ui-monospace, monospace; letter-spacing: .06em; text-shadow: 0 0 1px #fff, 1.5px 0 rgba(255,80,80,.55), -1.5px 0 rgba(80,160,255,.55), 0 0 6px rgba(0,0,0,.6); pointer-events: none; }
.compare .osd.date { top: auto; bottom: 16%; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.compare .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: #fff center / 26px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2B4B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.compare .lbl { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.6); color: #fff; pointer-events: none; }
.compare .lbl.l { left: 14px; } .compare .lbl.r { right: 14px; background: var(--navy); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-hint { text-align: center; margin-top: 14px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Mission ---------- */
.mission { text-align: center; }
.mission blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; }
.mission p { margin: 28px auto 0; max-width: 36ch; font-size: clamp(19px, 1.8vw, 24px); color: rgba(247,242,234,.8); }
.mission .mark { width: 64px; margin: 0 auto 28px; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; text-align: left; }
.promise { border-top: 1px solid rgba(247,242,234,.25); padding-top: 20px; }
.promise h3 { font-size: 21px; color: var(--cream); margin-bottom: 8px; }
.mission .promise p { margin: 0; font-size: 16px; max-width: none; color: rgba(247,242,234,.7); }
@media (max-width: 960px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 22px; line-height: 1; }
.rating b { font-family: var(--serif); font-weight: 800; font-size: 30px; }
.rating span { color: var(--ink-soft); }
.rating .stars { color: var(--gold); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review .stars { font-size: 18px; }
.review p { margin: 0; font-size: 18px; line-height: 1.55; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.review footer b { color: var(--ink); display: block; font-size: 16px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #EEF2F9; color: var(--navy); display: grid; place-items: center; font-weight: 700; flex: none; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.founder-card { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: 24px; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: linear-gradient(160deg, #2D4E86, #1B2B4B 70%); display: grid; place-items: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.portrait .initials { font-family: var(--serif); font-weight: 700; font-size: 64px; color: rgba(255,255,255,.9); }
.portrait .ph-note { position: absolute; bottom: 12px; left: 10px; right: 10px; text-align: center; font-size: 11px; color: rgba(255,255,255,.75); letter-spacing: .08em; text-transform: uppercase; }
.founder-body h3 { font-size: 28px; }
.founder-body .role { color: var(--blue); font-weight: 700; font-size: 15px; margin: 6px 0 14px; }
.founder-body p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.founders-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
@media (max-width: 1000px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .founder-card { grid-template-columns: 1fr; } .founder-card .portrait { max-width: 260px; } }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final h2 { max-width: 14ch; margin: 0 auto 18px; }
.final .lead { margin: 0 auto 36px; }
.final .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final .phone-big { display: inline-block; margin-top: 26px; font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); color: var(--navy); text-decoration: none; }

/* ---------- Old home-movie feed ---------- */
.feed { padding: 72px 0 36px; overflow: hidden; background: var(--navy-deep); color: var(--cream); }
.feed-title { text-align: center; font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3vw, 40px); margin: 0 0 8px; padding: 0 var(--gutter); }
.feed-sub { text-align: center; color: var(--ink-faint); margin: 0 0 36px; padding: 0 var(--gutter); }
.feed-track { display: flex; gap: 14px; width: max-content; animation: marquee 110s linear infinite; }
.feed:hover .feed-track { animation-play-state: paused; }
.feed-tile { width: 400px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; flex: none; background: #1d2638; }
.feed-tile video { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }
.feed-credit { text-align: center; font-size: 12px; color: var(--ink-faint); margin-top: 20px; }
@media (max-width: 600px) { .feed-tile { width: 280px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(247,242,234,.75); padding: 48px 0 110px; border-top: 1px solid rgba(247,242,234,.1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p { margin: 0 0 6px; font-size: 17px; }
.brand-foot { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.brand-foot img { width: 44px; }
.brand-foot span { font-family: var(--wordmark); font-size: 26px; font-weight: 500; color: var(--cream); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247,242,234,.3); display: grid; place-items: center; color: var(--cream); transition: background .2s; }
.social a:hover { background: rgba(247,242,234,.12); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer .fine { margin-top: 40px; font-size: 14px; color: var(--ink-faint); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55; display: none; gap: 8px;
  padding: 8px; background: rgba(252,250,246,.97); backdrop-filter: blur(10px); border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
}
.mobile-bar .btn { flex: 1; min-height: 54px; padding: 0 12px; font-size: 17px; }
.mobile-bar .btn-outline { flex: 0 0 auto; }
@media (max-width: 760px) { .mobile-bar { display: flex; } body { padding-bottom: 84px; } }

/* ---------- Gentle fade-in as sections arrive ---------- */
.fade { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }

/* =========================================================
   Digitize flow (panel)
   ========================================================= */
.flow { position: fixed; inset: 0; z-index: 100; display: none; }
.flow.open { display: block; }
.flow-backdrop { position: absolute; inset: 0; background: rgba(12,20,38,.6); backdrop-filter: blur(6px); animation: fadein .3s ease; }
.flow-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(620px, 100%); background: var(--paper); overflow-y: auto; animation: slidein .45s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
@keyframes fadein { from { opacity: 0; } }
@keyframes slidein { from { transform: translateX(100%); } }
.flow-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.brand-mini { display: flex; align-items: center; gap: 10px; font-family: var(--wordmark); font-size: 20px; color: var(--navy); }
.brand-mini img { width: 34px; }
.flow-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; }
.flow-progress { display: flex; gap: 6px; padding: 18px 28px 0; }
.flow-progress span { flex: 1; height: 5px; border-radius: 9px; background: var(--sand); transition: background .3s; }
.flow-progress span.on { background: var(--navy); }
.flow-body { padding: 28px 28px 40px; flex: 1; }
.flow-step { display: none; animation: stepin .4s ease; }
.flow-step.on { display: block; }
@keyframes stepin { from { opacity: 0; transform: translateY(12px); } }
.flow-step h2 { font-size: clamp(32px, 4.6vw, 44px); margin-bottom: 12px; }
.flow-step > p.sub { color: var(--ink-soft); margin: 0 0 28px; }
.flow-actions { display: flex; gap: 12px; margin-top: 32px; align-items: center; }
.flow-actions .btn-primary { flex: 1; }
.linkish { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; font-size: 17px; padding: 12px 8px; }

.counter { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 18px 0 10px; }
.counter button { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; font-size: 34px; line-height: 1; color: var(--navy); }
.counter button:hover { background: var(--navy); color: #fff; }
.counter output { font-family: var(--serif); font-weight: 800; font-size: 96px; min-width: 2.2ch; text-align: center; line-height: 1; color: var(--navy); }
.counter-label { text-align: center; color: var(--ink-soft); margin: 0 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 18px; font-weight: 600; font-size: 16px; }
.chips button.on, .chips button:hover { border-color: var(--navy); color: var(--navy); background: #EEF2F9; }
.tapes-visual { display: flex; justify-content: center; gap: 4px; height: 44px; margin: 22px 0 6px; flex-wrap: wrap; overflow: hidden; }
.tapes-visual i { width: 16px; height: 42px; border-radius: 3px; background: linear-gradient(180deg, #2a3446, #121822); position: relative; animation: pop .3s ease; }
.tapes-visual i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 8px; height: 16px; background: #F3EEE4; border-radius: 1px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.hint { font-size: 15px; color: var(--ink-faint); text-align: center; margin-top: 16px; }

.option { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.option:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,43,75,.12); }
.option input { width: 26px; height: 26px; accent-color: var(--navy); margin: 4px 0 0; }
.option b { font-size: 20px; display: block; }
.option .price { color: var(--blue); font-weight: 700; }
.option p { margin: 6px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.option .compare, .option .opt-img { margin-top: 14px; border-radius: 12px; box-shadow: none; }
.option .compare { aspect-ratio: 4 / 3; max-width: 420px; }
.option .opt-img { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; }
.option .compare .handle::after { width: 40px; height: 40px; background-size: 20px; }

.estimate { background: var(--cream); border-radius: var(--radius-lg); padding: 26px; }
.estimate .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(26,34,51,.18); font-size: 18px; }
.estimate .row:last-child { border-bottom: 0; }
.estimate .free { color: #2F7A48; font-weight: 700; }
.estimate .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 6px; border-top: 2px solid var(--navy); }
.estimate .total b { font-family: var(--serif); font-weight: 800; font-size: 52px; line-height: 1; color: var(--navy); }
.estimate .per { font-size: 15px; color: var(--ink-soft); }
.reassure { display: grid; gap: 10px; margin-top: 22px; }
.reassure div { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.reassure div::before { content: "✓"; color: #fff; background: #2F7A48; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: none; margin-top: 2px; }
.gift-note { margin-top: 18px; background: #EEF2F9; border: 1px solid #D3DDEE; border-radius: var(--radius); padding: 16px 18px; font-size: 17px; display: none; }
.gift-note.on { display: block; }

.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; font-size: 17px; }
.field label small, .field legend small { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea { width: 100%; min-height: 58px; border: 1.5px solid rgba(26,34,51,.25); border-radius: 14px; padding: 12px 16px; font: inherit; font-size: 19px; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,43,75,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; border: 1.5px solid rgba(26,34,51,.25); border-radius: 14px; background: #fff; font-weight: 600; font-size: 17px; cursor: pointer; text-align: center; line-height: 1.2; }
.seg span small { font-weight: 400; color: var(--ink-faint); font-size: 13px; }
.seg input:checked + span { border-color: var(--navy); background: #EEF2F9; color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset label { margin: 0; font-weight: 400; }
.chipset input { position: absolute; opacity: 0; }
.chipset span { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; border: 1.5px solid rgba(26,34,51,.25); border-radius: 999px; background: #fff; font-size: 16px; font-weight: 600; cursor: pointer; line-height: 1.25; }
.chipset input:checked + span { border-color: var(--navy); background: #EEF2F9; color: var(--navy); }
.chipset input:checked + span::before { content: "✓"; margin-right: 8px; font-weight: 800; }
.chipset input:focus-visible + span { outline: 3px solid var(--gold); }
.area-warn { display: none; background: #FFF6E6; border: 1px solid #F0D9AE; border-radius: 12px; padding: 12px 14px; font-size: 16px; margin-top: 8px; }
.area-warn.on { display: block; }
.form-err { color: #a3261b; font-size: 16px; margin-top: 10px; display: none; }
.form-err.on { display: block; }
.done { text-align: center; padding-top: 30px; }
.done .check { width: 96px; height: 96px; border-radius: 50%; background: var(--navy); margin: 0 auto 28px; display: grid; place-items: center; animation: pop .5s ease; }
.done .check svg { width: 46px; height: 46px; }
.done p { color: var(--ink-soft); max-width: 36ch; margin: 0 auto 24px; }

/* ---------- About page ---------- */
.about-founders { display: grid; gap: 64px; }
.about-founder { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-founder:nth-child(even) { grid-template-columns: 1fr 320px; }
.about-founder:nth-child(even) .portrait { order: 2; }
.about-founder h2 { margin: 0 0 6px; }
.about-founder .role { color: var(--blue); font-weight: 700; font-size: 16px; margin: 0 0 20px; }
.about-founder .portrait .initials { font-size: 96px; }
@media (max-width: 800px) { .about-founder, .about-founder:nth-child(even) { grid-template-columns: 1fr; } .about-founder:nth-child(even) .portrait { order: 0; } .about-founder .portrait { max-width: 320px; } }
.about-hero { background: var(--cream); padding: clamp(56px, 8vw, 100px) 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-body { font-size: 21px; }
.about-body p { margin: 0 0 22px; }
.about-body h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 48px 0 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.facts div { background: var(--paper); border-radius: var(--radius); padding: 18px 20px; font-size: 16px; color: var(--ink-soft); border: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--ink); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro-veil { display: none; }
  .fade { opacity: 1; transform: none; }
  .story-box { transform: none !important; }
}
