/* =========================================================================
   Camera Smart Creator · funnel system (system B)
   Sonya's own world: lavender paper, plum ink, an editorial serif headline
   with an italic second voice, like her Skool cover. Light, warm, calm.
   ========================================================================= */
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-normal.woff2") format("woff2"); font-weight: 500 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-italic.woff2") format("woff2"); font-weight: 500 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f1fb;
  --bg-2: #fbf6f8;
  --surface: #ffffff;
  --surface-2: #faf8fd;
  --ink: #2a0f22;
  --muted: #6b5566;
  --dim: #8a7686;
  --hair: rgba(89, 18, 60, 0.12);
  --hair-soft: rgba(89, 18, 60, 0.07);
  --accent: #59123c;
  --accent-2: #74204f;
  --accent-ink: #ffffff;
  --orchid: #efd3ea;
  --rose: #9b5458;
  --accent-soft: rgba(89, 18, 60, 0.08);
  --accent-glow: rgba(89, 18, 60, 0.28);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; background: var(--bg);
}
/* one continuous page canvas, sections stay transparent: no seams (design rule 11) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(239, 211, 234, 0.85), transparent 70%),
    radial-gradient(40% 35% at 100% 40%, rgba(155, 84, 88, 0.08), transparent 70%),
    radial-gradient(45% 40% at 0% 85%, rgba(89, 18, 60, 0.06), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 104px 0; position: relative; }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; color: var(--accent); letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--accent-2); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; margin: 22px auto 0; max-width: 60ch; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.swoosh { display: block; width: min(420px, 70%); height: 14px; margin: 18px auto 0; color: var(--orchid); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 16px; padding: 17px 34px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 34px -14px var(--accent-glow); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent); transition: transform 0.7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-2); box-shadow: 0 20px 40px -16px var(--accent-glow); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-lg { font-size: 17px; padding: 19px 42px; }
.btn .ar { transition: transform 0.3s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 96px 0 88px; }
.hero h1 { max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.hero .lead { max-width: 54ch; }
.hero-cta { margin-top: 40px; }
.quote-line { margin: 34px auto 0; max-width: 46ch; font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--accent-2); }
.quote-line span { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ---------- countdown (variant B, ring tiles: refined/premium) ---------- */
.cd-wrap { margin: 44px auto 0; }
.cd-when { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.countdown { display: flex; justify-content: center; gap: 14px; }
.cd-unit { position: relative; width: 96px; height: 96px; display: grid; place-items: center; align-content: center; }
.cd-unit svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cd-unit circle { fill: none; stroke-width: 3; }
.cd-unit .trk { stroke: var(--hair); }
.cd-unit .arc { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 0.6s var(--ease); }
.cd-num { position: relative; font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lab { position: relative; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

/* ---------- pillars (variant A, connected step cards) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.pillars::before { content: ""; position: absolute; left: 16%; right: 16%; top: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--orchid), var(--rose), var(--orchid), transparent); }
.pillar { position: relative; text-align: center; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 34px 28px 32px; box-shadow: 0 1px 0 #fff inset, 0 24px 50px -36px rgba(42, 15, 34, 0.35); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.pillar:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(42, 15, 34, 0.45); }
.pillar .pi { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--surface); }
.pillar .pi svg { width: 20px; height: 20px; }
.pillar .pk { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.pillar h3 { font-size: 23px; margin-bottom: 12px; }
.pillar p { margin: 0 auto; font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 30ch; }

/* ---------- host (variant A, split card) ---------- */
.host { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; background: var(--surface); border: 1px solid var(--hair); border-radius: 28px; padding: 34px; box-shadow: 0 30px 70px -50px rgba(42, 15, 34, 0.45); }
.host-photo { aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; background: var(--bg); }
.host-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.host-body h3 { font-size: 32px; }
.host-role { color: var(--rose); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 10px 0 18px; }
.host-body p { margin: 0 0 14px; color: var(--muted); }
.host-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.hstat { background: var(--surface-2); border: 1px solid var(--hair-soft); border-radius: 14px; padding: 16px 10px; text-align: center; }
.hstat .v { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.hstat .v.sm { font-size: 15px; line-height: 1.5; padding-top: 4px; }
.hstat .k { font-size: 12px; color: var(--dim); margin-top: 6px; line-height: 1.35; }

/* ---------- free gift (variant A, split) ---------- */
.gift { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; max-width: 940px; margin: 0 auto; }
.gift h2 { font-size: clamp(28px, 3.4vw, 38px); }
.gift p { color: var(--muted); margin: 16px 0 0; }
.gift-tag { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 13.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 9px 16px; }
.gift-tag svg { width: 16px; height: 16px; }
.gift-cover { max-width: 290px; margin: 0 auto; border-radius: 14px; overflow: hidden; transform: rotate(-4deg); transition: transform 0.4s ease; box-shadow: 0 34px 60px -30px rgba(42, 15, 34, 0.5); }
.gift-cover:hover { transform: rotate(0); }

/* ---------- testimonials (real quotes, equal 3×2) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qcard { background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.qcard p { margin: 0; font-family: var(--display); font-size: 18.5px; line-height: 1.45; color: var(--ink); }
.qcard .who { margin-top: 22px; font-size: 13.5px; font-weight: 600; color: var(--rose); }

/* ---------- video frames ---------- */
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 940px; margin: 0 auto; }
.vcard { text-align: center; }
.vframe { aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; position: relative; background: linear-gradient(160deg, #efe8f6, #e6dcef); border: 1px solid var(--hair); display: grid; place-items: center; }
.vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: relative; width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--accent); display: grid; place-items: center; box-shadow: 0 14px 34px rgba(42, 15, 34, 0.3); transition: transform 0.3s var(--ease); }
.vframe:hover .vplay { transform: scale(1.06); }
.vplay svg { width: 26px; height: 26px; margin-left: 4px; }
.vslot { position: relative; font-size: 13px; letter-spacing: 0.06em; color: var(--dim); margin-top: 14px; }
.vname { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--accent); margin: 20px 0 4px; }
.vdesc { font-size: 14.5px; color: var(--muted); margin: 0 auto; max-width: 34ch; }
.vbig { max-width: 900px; margin: 0 auto; }

/* ---------- footer (branding-only banner, 1.5x the lockup, centred) ---------- */
.foot { display: flex; align-items: center; justify-content: center; height: 54px; border-top: 1px solid var(--hair); background: rgba(255, 255, 255, 0.55); }
.lockup { display: inline-flex; align-items: center; gap: 10px; height: 36px; }
.lockup .mono { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 22px; color: var(--accent); letter-spacing: -0.02em; }
.lockup .word { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--accent); letter-spacing: 0.01em; }
.lockup .bar { width: 1px; height: 20px; background: var(--hair); }

/* ---------- opt-in modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(42, 15, 34, 0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { position: relative; width: 100%; max-width: 440px; background: var(--surface); border-radius: 24px; padding: 44px 38px 34px; box-shadow: 0 40px 100px -30px rgba(42, 15, 34, 0.55); transform: translateY(10px) scale(0.965); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.25s ease; }
.modal-overlay.open .modal { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair); background: var(--surface-2); color: var(--accent); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.modal-x:hover { transform: rotate(90deg); background: var(--orchid); }
.modal h3 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.modal-sub { text-align: center; color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.modal-field { margin-bottom: 16px; }
.modal-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.modal-field input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--hair); border-radius: 12px; padding: 15px 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.modal-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-field input.err { border-color: #b4233c; }
.modal-err { color: #b4233c; font-size: 13px; text-align: center; min-height: 18px; margin: 2px 0 6px; }
.modal .btn { width: 100%; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; }

/* ---------- doc pages (emails, ad scripts) ---------- */
.doc-hero { text-align: center; padding: 88px 0 56px; }
.doc-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.doc-list { display: grid; gap: 26px; max-width: 780px; margin: 0 auto; padding-bottom: 110px; }
.email { background: var(--surface); border: 1px solid var(--hair); border-radius: 22px; padding: 34px 38px; box-shadow: 0 24px 60px -48px rgba(42, 15, 34, 0.5); }
.email__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.email__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.email__count, .email__when { font-size: 12.5px; color: var(--dim); }
.email__sl { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.email__subject { font-family: var(--display); font-size: 25px; line-height: 1.25; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--hair-soft); }
.email__body p { margin: 0 0 14px; color: #3b2534; }
.email__sign { margin: 18px 0 0; font-family: var(--display); font-style: italic; font-size: 19px; color: var(--accent); }
.email__ps { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.tok { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.86em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.cue { margin: 14px 0; padding: 14px 18px; border-left: 3px solid var(--orchid); background: var(--surface-2); border-radius: 0 12px 12px 0; font-size: 14.5px; color: var(--muted); }
.cue b { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); margin-bottom: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .pillars, .quotes { grid-template-columns: 1fr; }
  .pillars::before { display: none; }
  .host, .gift { grid-template-columns: 1fr; gap: 30px; }
  .gift { text-align: center; }
  .vgrid { grid-template-columns: 1fr; }
  .qcard { min-height: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 64px 0 64px; }
  .cd-unit { width: 72px; height: 72px; }
  .cd-num { font-size: 24px; }
  .countdown { gap: 8px; }
  .host { padding: 18px; }
  .host-stats { grid-template-columns: 1fr; }
  .email { padding: 26px 22px; }
  .modal { padding: 40px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 420px) { .tok, code { white-space: normal; } }
