:root {
  --choc: #3d2314;
  --choc-2: #5b3721;
  --gold: #c8892f;
  --gold-light: #e9bb6a;
  --cream: #f8f1e6;
  --beige: #efe2cd;
  --paper: #fffaf2;
  --text: #2a1a10;
  --muted: #6e5646;
  --line: #e2d2b8;
  --radius: 18px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--choc-2); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Offer on / ended switching: site.js sets the hidden attribute on .offer-only / .after-only */

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--choc); }
.brand img { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .04em; }
.brand-text small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--choc); color: #fff; border: 2px solid var(--choc);
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--choc-2); border-color: var(--choc-2); }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--choc); }
.btn-ghost:hover { background: var(--beige); color: var(--choc); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--gold-light); border-color: var(--gold-light); color: var(--choc); }
.btn-light:hover { background: #f3cb85; border-color: #f3cb85; }

/* Hero */
.hero { padding: 40px 0 56px; background: radial-gradient(120% 80% at 80% 10%, var(--paper) 0%, var(--cream) 55%, var(--beige) 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } .hero { padding: 64px 0 80px; } .hero-photo img { aspect-ratio: 4 / 5; object-position: 50% 50%; } }
.chip { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--choc); color: var(--gold-light); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
h1, h2, h3 { color: var(--choc); }
h1 { font-family: var(--serif); font-size: clamp(2.2rem, 7vw, 3.8rem); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.01em; }
.gold { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; margin: 0 0 24px; }
.lead strong { color: var(--choc); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.countdown { margin: 0 0 26px; }
.countdown-label { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--choc-2); }
.countdown-boxes { display: flex; gap: 8px; }
.countdown-boxes div { min-width: 64px; padding: 10px 8px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.countdown-boxes span { display: block; font: 700 1.6rem/1 var(--serif); color: var(--choc); font-variant-numeric: tabular-nums; }
.countdown-boxes small { font-size: .72rem; color: var(--muted); }

.hero-photo { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(61, 35, 20, .55); }
.seal {
  position: absolute; left: -10px; bottom: 28px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, #f3c77c, var(--gold) 60%, #9a6420);
  color: var(--choc); box-shadow: 0 12px 30px -10px rgba(61, 35, 20, .6); transform: rotate(-10deg);
}
.seal strong { font: 700 1.9rem/1 var(--serif); }
.seal span { font-weight: 700; letter-spacing: .2em; font-size: .8rem; }

/* Sections */
.section { padding: 64px 0; }
.alt { background: var(--paper); }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
h2 { font-family: var(--serif); font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.15; margin: 0 0 14px; }
.section-lead { color: var(--muted); max-width: 60ch; margin: 0 0 28px; }

/* Offers */
.offers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.offer { display: flex; flex-direction: column; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(61, 35, 20, .04); }
.offer .tag { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.offer h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.3; }
.offer > p { margin: 0 0 16px; color: var(--muted); font-size: .97rem; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.price s { color: #9b8574; font-size: 1rem; }
.price b { font: 700 1.9rem/1.1 var(--serif); color: var(--choc); }
.save { margin: 4px 0 16px !important; font-size: .88rem !important; font-weight: 700; color: #2f7a3e !important; }
.offer-ended .price b { margin-bottom: 16px; }

/* Areas */
.areas { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.areas div { padding: 20px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.areas h3 { margin: 0 0 6px; font-size: 1.05rem; }
.areas p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Who */
.two-col { display: grid; gap: 24px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding: 14px 16px 14px 48px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.ticks li strong { color: var(--choc); }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) 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='%233d2314' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Founder */
.founder-row { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .founder-row { grid-template-columns: 180px 1fr; gap: 40px; } }
.founder-row img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold-light); }
.founder-row p { color: var(--muted); max-width: 64ch; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--choc); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Final */
.final { padding: 72px 0; background: var(--choc); color: var(--beige); text-align: center; }
.final h2 { color: #fff; }
.final p { margin: 0 auto 28px; max-width: 56ch; color: #e6d3b8; }

/* Footer */
.foot { padding: 40px 0 110px; background: var(--paper); color: var(--muted); font-size: .95rem; }
.foot-row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .foot-row { grid-template-columns: 140px 1fr; } .foot { padding-bottom: 40px; } }
.foot p { margin: 0 0 10px; }
.foot strong { color: var(--choc); }
.small { font-size: .85rem; }

/* Sticky bar (phones) */
.bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--choc); color: var(--beige);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); font-size: .92rem;
}
.bar b { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.bar .btn { background: var(--gold-light); border-color: var(--gold-light); color: var(--choc); }
@media (min-width: 640px) { .bar { display: none !important; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, summary::after { transition: none; } }

/* ---------- Motion (only for people who haven't asked their phone to reduce motion) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes seal-pop { 0% { opacity: 0; transform: rotate(-30deg) scale(.4); } 70% { opacity: 1; transform: rotate(-6deg) scale(1.08); } 100% { opacity: 1; transform: rotate(-10deg) scale(1); } }
@keyframes seal-float { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-8px); } }
@keyframes bar-up { from { transform: translateY(140%); } to { transform: none; } }
@keyframes tick { 0% { transform: translateY(-6px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 137, 47, 0); } 50% { box-shadow: 0 0 0 6px rgba(200, 137, 47, .22); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .05s; }
  .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero-text > :nth-child(4), .hero-text > :nth-child(5) { animation-delay: .22s; }
  .hero-text > :nth-child(6) { animation-delay: .32s; }
  .hero-text > :nth-child(7) { animation-delay: .42s; }
  .hero-photo img { animation: photo-in .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .seal { animation: seal-pop .7s .8s cubic-bezier(.2, .8, .3, 1.2) both, seal-float 4.5s 1.6s ease-in-out infinite; }
  .bar { animation: bar-up .6s 1.2s cubic-bezier(.2, .7, .2, 1) both; }
  .countdown-boxes span.tick { animation: tick .35s ease-out; }
  .countdown-boxes div:last-child { animation: glow 2s ease-in-out infinite; }

  /* Sections rise in as you scroll (site.js adds .reveal and .in) */
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Cards lift on hover; claim buttons get a soft shine */
  .offer, .areas div { transition: transform .25s ease, box-shadow .25s ease, opacity .7s cubic-bezier(.2, .7, .2, 1); }
  .offer:hover, .areas div:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(61, 35, 20, .45); }
  .btn { position: relative; overflow: hidden; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(.97); }
  .offer .btn::after, .bar .btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    animation: shine 3.2s 2s ease-in-out infinite;
  }
  .bar .btn::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); }
}
