/* Occasion themes for the buyer pages: landing, gift builder and order status.
   One wordmark and one checkout; each occasion brings its own palette and a small accent. */
body[class*="theme-"]{--radius:6px;background:var(--bg);color:var(--ink);min-height:100vh}
body.theme-christmas{--bg:#082219;--card:#102f24;--card-2:#12382a;--ink:#fff8ec;--muted:#e5d8bb;--line:#9b8055;
  --gold:#eec77b;--cta:#a82736;--cta-ink:#fff8ec;--chip:#153b2d;--ok:#c5e6c9;--accent:#eec77b;--accent-ink:#fff8ec}
body.theme-birthday{--bg:#2a0f2e;--card:#3a1740;--card-2:#45204c;--ink:#fff6ee;--muted:#f1d6e4;--line:#a7708a;
  --gold:#ffc65c;--cta:#ff8a6a;--cta-ink:#2a0f2e;--chip:#4a2250;--ok:#bdf0e8;--accent:#ffc65c;--accent-ink:#2a0f2e}
body.theme-new-years{--bg:#0b1430;--card:#142045;--card-2:#1a2852;--ink:#f7f3e6;--muted:#d6d2c2;--line:#8c7a45;
  --gold:#e8c36a;--cta:#e8c36a;--cta-ink:#0b1430;--chip:#1d2b58;--ok:#cfe9d2;--accent:#e8c36a;--accent-ink:#0b1430}
body.theme-hanukkah{--bg:#0f2a5c;--card:#163671;--card-2:#1b3f80;--ink:#f5f8ff;--muted:#cfdaf3;--line:#8aa3d6;
  --gold:#f2c14e;--cta:#f2c14e;--cta-ink:#0f2a5c;--chip:#1d4288;--ok:#d3f0dc;--accent:#f2c14e;--accent-ink:#0f2a5c}
body.theme-kwanzaa{--bg:#141210;--card:#1f2a1c;--card-2:#26331f;--ink:#fbf3e4;--muted:#e2d6bd;--line:#7d6a3a;
  --gold:#e3b341;--cta:#b3261e;--cta-ink:#fff8ee;--chip:#2c3a24;--ok:#cfe9c8;--accent:#e3b341;--accent-ink:#fff8ee}
body.theme-pets{--bg:#123a4a;--card:#194a5c;--card-2:#1e5468;--ink:#fffaf0;--muted:#d4e6ea;--line:#6fa3b3;
  --gold:#ffd166;--cta:#ff8a6a;--cta-ink:#12303d;--chip:#1f5a6f;--ok:#c9f0d2;--accent:#ffd166;--accent-ink:#12303d}

[class*="theme-"] a{color:var(--gold)}
[class*="theme-"] .testbar{background:var(--gold);color:#111}
[class*="theme-"] header.site{border-bottom:1px solid var(--line);background:var(--card);padding-inline:max(16px,calc((100vw - 1080px)/2 + 16px))}
[class*="theme-"] footer.site{border-top:1px solid var(--line);background:var(--card);color:var(--muted)}
[class*="theme-"] .brand{color:var(--ink)}
[class*="theme-"] .brand span span,[class*="theme-"] .brand .mark{color:var(--gold)}
[class*="theme-"] .eyebrow,[class*="theme-"] .hint,[class*="theme-"] .label,[class*="theme-"] .optional{color:var(--muted)}
[class*="theme-"] .lead{color:var(--ink)}
[class*="theme-"] .card{background:var(--card);border-color:var(--line);box-shadow:none;padding:clamp(15px,4vw,25px)}
[class*="theme-"] .button{background:var(--cta);color:var(--cta-ink);border:1px solid var(--gold);border-radius:6px}
[class*="theme-"] .button[disabled],[class*="theme-"] .button[aria-disabled=true]{background:#4a4f4c;border-color:#7a7f7b;color:#e3e7e2}
[class*="theme-"] button.link,[class*="theme-"] details.gift summary{color:var(--gold)}
[class*="theme-"] :is(input,textarea,select){background:#fffdf8;color:#1b1b1b;border-color:var(--line)}
[class*="theme-"] input:is([type=radio],[type=checkbox]){accent-color:var(--cta)}
[class*="theme-"] :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--gold);outline-offset:3px}
[class*="theme-"] .progress ol{gap:6px}
[class*="theme-"] .progress li{background:var(--chip);color:var(--muted);border:1px solid var(--line);border-radius:5px}
[class*="theme-"] .progress li.current{background:var(--cta);color:var(--cta-ink);border-color:var(--gold)}
[class*="theme-"] .progress li.done{color:var(--ok)}
[class*="theme-"] .grid li{background:var(--card-2);border-color:var(--line)}
[class*="theme-"] .grid li.err{background:#57251f}
[class*="theme-"] .grid .meta button{background:var(--chip);color:var(--ink);border-color:var(--line)}
[class*="theme-"] .field-error{color:#ffd2cc}
[class*="theme-"] .error,[class*="theme-"] .error a{color:#651913}
[class*="theme-"] .error a:focus-visible{outline-color:#651913}
[class*="theme-"] .notice{color:#1f4a28}
[class*="theme-"] .summary,[class*="theme-"] .grid li{overflow-wrap:anywhere}
[class*="theme-"] .msg{border-color:var(--line)}[class*="theme-"] .msg.owner{border-color:var(--gold)}
[class*="theme-"] .quotes figure{background:var(--card);border-color:var(--gold)}
[class*="theme-"] details.styles{margin:.6em 0}
[class*="theme-"] details.styles summary{cursor:pointer;color:var(--gold);font-weight:700}

/* Gift-builder banner */
.gift-banner{position:relative;margin:18px 0 0;padding:13px 16px 15px 20px;border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--card-2);isolation:isolate;overflow:hidden}
.gift-banner::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:150px;height:90px;top:-4px;right:-4px;background:var(--decor) no-repeat right top/contain}
.gift-banner p{position:relative;margin:0;max-width:calc(100% - 100px)}
.gift-banner .eyebrow{color:var(--gold);font-size:.65rem;letter-spacing:.14em}
.gift-banner .gift-name{font-size:1.4rem;line-height:1.25;font-weight:700;text-wrap:balance}
.theme-christmas{--decor:url("/static/christmas/holly-corners.webp")}
.theme-christmas .gift-banner::after{width:158px;height:99px;background:url("/static/christmas/holly-corners.webp") no-repeat 0 0/300px auto;transform:scaleX(-1)}
.theme-birthday{--decor:url("/static/themes/birthday-accent.webp")}
.theme-new-years{--decor:url("/static/themes/new-years-accent.webp")}
.theme-hanukkah{--decor:url("/static/themes/hanukkah-accent.webp")}
.theme-kwanzaa{--decor:url("/static/themes/kwanzaa-accent.webp")}
.theme-pets{--decor:url("/static/themes/pets-accent.webp")}

/* Landing: an album sleeve around a real frame from the sample reel */
main.landing{max-width:1080px}
.cover{display:grid;gap:clamp(14px,3vw,36px);align-items:center;padding:clamp(14px,3vw,36px) 0 8px}
@media(min-width:860px){.cover{grid-template-columns:1.05fr 1fr;grid-template-areas:"copy sleeve" "buy sleeve";align-items:end}
  .cover .copy:first-child{grid-area:copy}.cover .sleeve{grid-area:sleeve;align-self:center}.cover .buy-wrap{grid-area:buy;align-self:start}}
.cover .copy{min-width:0}
.cover .eyebrow{color:var(--gold);font-size:.72rem;letter-spacing:.14em;margin-bottom:.4em}
.cover h1{font-size:clamp(1.75rem,6.4vw,3rem);line-height:1.12;margin:.1em 0 .35em;text-wrap:balance}
.cover .lead{font-size:clamp(1rem,3.6vw,1.2rem);margin:0 0 .9em;text-wrap:pretty}
.buy{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:.2em 0 .4em}
.buy .button{margin:0}
.buy .price{margin:0;font-size:1.15rem}
.buy .price strong{font-size:1.35rem;color:var(--gold)}
.small{font-size:.85rem;color:var(--muted);margin:.4em 0}
.sleeve{position:relative;margin:0;padding:clamp(10px,2.4vw,18px);background:var(--card);border:1px solid var(--line);box-shadow:0 14px 40px rgba(0,0,0,.35)}
.sleeve::before{content:"";position:absolute;pointer-events:none;inset:-10px -10px auto auto;width:min(46%,230px);aspect-ratio:2/1.2;background:var(--decor) no-repeat right top/contain;z-index:2}
.theme-christmas .sleeve::before{inset:-14px auto auto -14px;width:158px;height:99px;aspect-ratio:auto;background:url("/static/christmas/holly-corners.webp") no-repeat 0 0/300px auto}
/* Lift the dreidels above the family photo without changing the frame size. */
.theme-hanukkah .sleeve::before{inset:auto clamp(-14px,-1.4vw,-8px) calc(100% - 16px) auto;width:min(54%,255px);aspect-ratio:2.25}
@media(max-width:859px){.theme-hanukkah .cover .sleeve{margin-top:clamp(42px,10vw,72px)}}
.sleeve .frame{position:relative;aspect-ratio:4/3;background:#000;overflow:hidden}
.sleeve img,.sleeve video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%;border-radius:0;aspect-ratio:auto}
.sleeve .frame.is-playing,.sleeve .frame.sample-poster{aspect-ratio:16/9}
.sleeve .frame video{object-fit:contain;object-position:center}
.sleeve .frame.sample-poster img{object-fit:contain;object-position:center}
.sleeve:has(.frame.is-playing)::before{display:none}
.sleeve .play{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:.5em;background:var(--cta);color:var(--cta-ink);border:1px solid var(--gold);border-radius:999px;padding:.55em 1.05em .55em .8em;font:700 1rem system-ui,sans-serif;min-height:48px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.sleeve .play svg{width:1.2em;height:1.2em;fill:currentColor}
.sleeve figcaption{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:.6em .2em 0;font:600 .8rem system-ui,sans-serif;color:var(--muted)}
.sleeve figcaption .track{color:var(--ink);letter-spacing:.06em;text-transform:uppercase}
.storyline{margin:clamp(18px,4vw,40px) 0}
.storyline ol{list-style:none;padding:0;margin:0;display:grid;gap:10px;counter-reset:s}
@media(min-width:760px){.storyline ol{grid-template-columns:repeat(4,1fr)}}
.storyline li{counter-increment:s;background:var(--card);border:1px solid var(--line);border-top:3px solid var(--gold);padding:12px 14px;font-size:.98rem}
.storyline li::before{content:counter(s);display:block;font:700 .75rem system-ui,sans-serif;color:var(--gold);letter-spacing:.1em;margin-bottom:.2em}
.landing .steps,.landing .faq,.landing .quotes,.landing .occasions{max-width:760px}
.occasions ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.occasions a{display:inline-block;padding:.45em .9em;border:1px solid var(--line);border-radius:999px;text-decoration:none;color:var(--ink);background:var(--card)}
@media(max-width:520px){.gift-banner::after{width:105px;height:70px}.gift-banner p{max-width:calc(100% - 68px)}.progress ol{font-size:.72rem;gap:5px}.progress li{padding:.4em .5em}}

/* Share box on the Ready page */
.share{margin-top:1em}
.share .ways{padding-left:1.2em}
.share .ways li{margin:.4em 0}
