/* ============================================================
   PARA base.css - shared primitives, token-driven.
   Loaded always. Blocks reuse these classes so they stay small
   and consistent across every theme. Never hardcode colors here.
   ============================================================ */

:root { --maxw: 1080px; --pad: clamp(64px, 10vw, 140px); }

.invite { background: var(--bg); color: var(--ink); font-family: var(--font-sans, system-ui); overflow-x: hidden; }
.invite * { box-sizing: border-box; }

/* section shell */
.blk { position: relative; background: var(--bg); color: var(--ink); padding: var(--pad) clamp(18px, 5vw, 40px); }
.blk[data-theme] { background: var(--bg); color: var(--ink); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: 680px; margin: 0 auto; }

/* typography */
.eyebrow { font-family: var(--font-sans); font-size: clamp(11px, 1.4vw, 13px); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.h-disp { font-family: var(--font-disp); font-weight: 500; line-height: 1.02; color: var(--ink); letter-spacing: -.01em; }
.script { font-family: var(--font-script, var(--font-disp)); }
.lead { font-family: var(--font-disp); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
.body-txt { font-family: var(--font-sans); font-size: clamp(15px, 1.7vw, 17px); line-height: 1.7; color: var(--ink); opacity: .92; }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-sans); font-size: 15px; letter-spacing: .04em; padding: 14px 30px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); cursor: pointer; text-decoration: none; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal="scale"] { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* countdown cells */
.cd { display: inline-flex; align-items: flex-start; gap: clamp(8px, 2vw, 20px); }
.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: clamp(48px, 9vw, 80px); }
.cd-n { font-family: var(--font-disp); font-size: clamp(30px, 6vw, 58px); font-weight: 500; line-height: 1; color: var(--ink); }
.cd-l { font-family: var(--font-sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.cd-sep { font-family: var(--font-disp); font-size: clamp(24px, 5vw, 46px); color: var(--accent); opacity: .5; align-self: flex-start; line-height: 1.1; }
.cd-done { font-family: var(--font-disp); font-size: clamp(22px, 4vw, 34px); color: var(--accent); }
.cd-flip { animation: cdflip .5s var(--ease); }
@keyframes cdflip { 0% { transform: translateY(-6px); opacity: .3 } 100% { transform: none; opacity: 1 } }

/* form fields */
.field { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.field > label { font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { font-family: var(--font-sans); font-size: 16px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm, 10px); padding: 13px 15px; transition: border-color .25s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }

/* misc primitives */
.rule { height: 1px; background: var(--line); border: 0; }
.pill { display: inline-block; font-family: var(--font-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
img { max-width: 100%; height: auto; display: block; }
