/* Happy Couple Designers: site styles. Mobile first. */

:root {
  --ivory: #fbf5ea;
  --paper: #fffaf1;
  --sand: #f3e8d2;
  --wine: #6d0f22;
  --wine-deep: #3a0811;
  --gold: #b8892b;
  --gold-text: #86601a;
  --gold-soft: #dcb863;
  --gold-pale: #f3e2b8;
  --ink: #2c1810;
  --muted: #6a5245;
  --line: rgba(184, 137, 43, .32);
  --wa: #0e7a43;
  --wa-press: #0a6236;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 18px 40px -22px rgba(58, 8, 17, .38);
  --gutter: 20px;
  --bar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
body.has-bar { --bar-h: 74px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, .display { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; line-height: 1.04; color: var(--wine-deep); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9.4vw, 4.5rem); }
h2 { font-size: clamp(2rem, 7vw, 3.25rem); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--wine-deep); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--wine); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; margin-top: 16px; }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), border-color .25s;
}
.btn:active { transform: scale(.98); }
.btn .ico { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 14px 26px -16px rgba(14, 122, 67, .75), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-wa:hover { background: var(--wa-press); transform: translateY(-2px); }
.btn-wa:active { transform: scale(.98); }
.btn-wine { background: var(--wine); color: #fdf3df; box-shadow: 0 14px 26px -16px rgba(58, 8, 17, .75), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-wine:hover { background: var(--wine-deep); transform: translateY(-2px); }
.btn-wine .ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pick-step { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }
.pick-step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: var(--gold-pale); font-size: .75rem; letter-spacing: 0; }
.pick-step[hidden], .seg[hidden] { display: none; }
.seg.seg-design button[aria-selected="true"] { background: var(--paper); color: var(--wine-deep); box-shadow: 0 6px 14px -10px rgba(58, 8, 17, .5), inset 0 0 0 1.5px var(--gold); }
.btn-line { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-line:hover { background: var(--wine); color: var(--paper); }
.btn-block { width: 100%; }
.textlink { color: var(--wine); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.textlink:hover { text-decoration-color: var(--wine); }
.cta-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
.cta-note { font-size: .9rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 245, 234, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--wine-deep); letter-spacing: -.01em; }
.brand span { font-size: .6rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-text); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--wine); }
.nav .hide-sm { display: none; }
.nav .btn { min-height: 42px; padding: 8px 16px; font-size: .92rem; white-space: nowrap; }
.nav .switch { color: var(--wine); font-weight: 600; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 44px 0 52px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(220, 184, 99, .34), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(109, 15, 34, .08), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; top: 0; right: 0; width: min(70vw, 620px); height: 100%; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 2c6 8 6 12 0 20-6-8-6-12 0-20zm0 20c6 8 6 12 0 20-6-8-6-12 0-20zM2 22c8-6 12-6 20 0-8 6-12 6-20 0zm20 0c8-6 12-6 20 0-8 6-12 6-20 0z' fill='none' stroke='%23b8892b' stroke-opacity='.34'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(250deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(250deg, #000 0%, transparent 62%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero-sub { font-size: 1.15rem; color: var(--muted); margin-top: 18px; max-width: 34ch; }
.hero-sub b { color: var(--ink); font-weight: 500; }
.paths-label { font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-text); margin: 30px 0 12px; }
.paths { display: grid; gap: 12px; }
.path {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 20px 20px 20px 22px; border-radius: 20px; text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s;
}
.path:active { transform: scale(.985); }
.path strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.path span { grid-column: 1; font-size: .98rem; line-height: 1.4; }
.path .arrow { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease); }
.path .arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.path:hover .arrow { transform: translateX(5px); }
.path-couple { background: var(--wine); color: #fdf3df; box-shadow: var(--shadow), inset 0 0 0 1px rgba(220, 184, 99, .5), inset 0 0 0 5px var(--wine), inset 0 0 0 6px rgba(220, 184, 99, .28); }
.path-couple span { color: #ecd9b7; }
.path-couple .arrow { background: var(--gold-soft); color: var(--wine-deep); }
.path-couple:hover { transform: translateY(-3px); }
.path-printer { background: var(--paper); color: var(--wine-deep); border: 1.5px solid var(--line); }
.path-printer span { color: var(--muted); }
.path-printer .arrow { border: 1.5px solid var(--wine); color: var(--wine); }
.path-printer:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .93rem; font-weight: 500; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-policy { margin-top: 12px; font-size: .86rem; color: var(--muted); max-width: 46ch; }
.tick { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-art { display: none; }

/* ---------- Sections ---------- */
.sec { padding: 64px 0; position: relative; }
.sec-paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.orn { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 0 0 22px; }
.orn::before, .orn::after { content: ''; height: 1px; width: 56px; background: currentColor; opacity: .6; }
.orn i { width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Story: before / after / bridge ---------- */
.story-grid { display: grid; gap: 16px; }
.story-card { border-radius: 22px; padding: 26px 22px; }
.story-card .tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 12px; }
.story-card p { font-size: 1.06rem; }
.story-card p + p { margin-top: 12px; }
.before { background: #efe7da; color: #5d5148; border: 1px dashed #c9bba6; }
.before .tag { color: #85776a; }
.before .asks { margin-top: 14px; display: grid; gap: 8px; }
.before .asks li { width: fit-content; max-width: 100%; background: #fff; border-radius: 4px 16px 16px 16px; padding: 8px 14px; font-size: .95rem; color: #55493f; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.after { background: linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 100%); color: #fbeed3; box-shadow: var(--shadow), inset 0 0 0 1px rgba(220, 184, 99, .5); position: relative; overflow: hidden; }
.after::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 184, 99, .3), transparent 68%); pointer-events: none; }
.after .tag { color: var(--gold-soft); }
.after p { position: relative; }
.after .quote { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--gold-pale); margin-top: 16px; }
.bridge { margin-top: 30px; max-width: 640px; }
.bridge p { font-family: var(--serif); font-size: 1.55rem; line-height: 1.25; color: var(--wine-deep); font-weight: 500; }
.bridge p b { font-weight: 600; color: var(--wine); }

/* ---------- Samples ---------- */
.samples-grid { display: grid; gap: 28px; }
.picker { display: grid; gap: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--sand); border: 1px solid var(--line); }
.seg button {
  border: 0; background: transparent; border-radius: 12px; min-height: 48px; padding: 8px 6px; cursor: pointer;
  font-weight: 600; font-size: .95rem; line-height: 1.15; color: var(--muted);
  transition: background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
}
.seg button small { display: block; font-weight: 400; font-size: .74rem; margin-top: 2px; opacity: .85; }
.seg button:active { transform: scale(.97); }
.seg button[aria-selected="true"] { background: var(--wine); color: #fdf3df; box-shadow: 0 8px 16px -10px rgba(58, 8, 17, .7); }
.seg-tier button[aria-selected="true"] { background: var(--paper); color: var(--wine-deep); box-shadow: 0 6px 14px -10px rgba(58, 8, 17, .5), inset 0 0 0 1.5px var(--gold); }
.phone-soon { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 28px; color: var(--gold-pale); background: radial-gradient(circle at 50% 35%, var(--phone-hi, #5a0c1c), var(--phone-mid, var(--wine-deep))); }
.phone-soon[hidden] { display: none; }
.phone-soon b { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.phone-soon span { font-size: .95rem; line-height: 1.45; color: var(--gold-soft); }
.fine-note { margin-top: 28px; font-size: .86rem; color: var(--muted); text-align: center; max-width: 620px; margin-inline: auto; }
.badge.badge-soft { background: var(--sand); color: var(--wine-deep); border: 1px solid var(--line); }
.soon-note { color: var(--muted); }

.phone-col { display: grid; justify-items: center; gap: 14px; }
.phone {
  position: relative; width: min(318px, 84vw); aspect-ratio: 9 / 17.6; border-radius: 42px; padding: 9px;
  background: linear-gradient(150deg, var(--phone-hi, #5a0c1c), var(--phone-mid, var(--wine-deep)) 55%, var(--phone-lo, #24050b));
  box-shadow: 0 34px 60px -30px rgba(58, 8, 17, .65), inset 0 0 0 1.5px rgba(220, 184, 99, .65), inset 0 0 0 4px rgba(0, 0, 0, .25);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--phone-mid, var(--wine-deep)); isolation: isolate; transition: background-color .4s; }
.phone-screen iframe { position: absolute; top: 0; left: 0; max-width: none; width: 100%; height: 100%; border: 0; background: var(--paper); transform-origin: 0 0; opacity: 0; transition: opacity .6s var(--ease); }
.phone-screen.ready iframe { opacity: 1; }
.phone-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; color: var(--gold-pale); overflow: hidden; }
.phone-wait::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(243, 226, 184, .13) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 1.8s linear infinite; }
.phone-wait b { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.phone-wait span { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.phone-screen.ready .phone-wait { display: none; }
@keyframes sheen { to { transform: translateX(100%); } }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); position: relative; }
.live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

.tier-chip { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-text); border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; }
.pick-info h3 { font-size: 2.5rem; margin-top: 12px; }
.pick-info .for { font-size: 1.1rem; color: var(--muted); margin-top: 6px; }
.feat { display: grid; gap: 11px; margin-top: 20px; }
.feat li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; }
.feat .tick { margin-top: 4px; }
.pick-info .cta-row { margin-top: 26px; }
.swap { transition: opacity .25s, transform .4s var(--ease); }
.swap.out { opacity: 0; transform: translateY(8px); }

/* ---------- Tiers ---------- */
.tiers { border-top: 1px solid var(--line); }
.tier { display: grid; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.tier-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.tier-name h3 { font-size: 2.1rem; }
.tier-name .kind { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--wine); }
.tier .for { color: var(--muted); margin-top: 4px; }
.tier-price, .pick-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tier-price { margin-top: 14px; }
.tier-price b, .pick-price b { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--wine); line-height: 1; font-variant-numeric: lining-nums; }
.tier-price span { color: var(--muted); font-size: .95rem; }
.pick-price { margin: 16px 0 4px; padding: 12px 14px; border-radius: 12px; background: #faf3e6; border: 1px solid #ecdcc0; }
.pick-price span { color: var(--muted); font-size: .9rem; flex: 1 1 220px; }
.tier .feat { margin-top: 0; }
.tier-act { display: grid; gap: 12px; justify-items: start; }
.tier-act .btn { width: 100%; }
.tier.rec { background: linear-gradient(180deg, rgba(243, 226, 184, .5), rgba(243, 226, 184, .16)); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); box-shadow: inset 3px 0 0 var(--gold); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--wine); color: var(--gold-pale); border-radius: 999px; padding: 5px 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 30px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; position: relative; }
.step::before { counter-increment: step; content: counter(step); grid-row: 1 / span 2; font-family: var(--serif); font-size: 4.4rem; font-weight: 500; line-height: .8; color: var(--gold); font-style: italic; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 24px; top: 64px; bottom: -22px; width: 1px; background: var(--line); }
.step h3 { font-size: 1.55rem; }
.step p { grid-column: 2; color: var(--muted); }
.step p b { color: var(--ink); font-weight: 600; }

/* ---------- Promise band ---------- */
.band { background: linear-gradient(165deg, var(--wine) 0%, var(--wine-deep) 78%); color: #f7e9cf; position: relative; overflow: hidden; }
.band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 2c6 8 6 12 0 20-6-8-6-12 0-20zm0 20c6 8 6 12 0 20-6-8-6-12 0-20zM2 22c8-6 12-6 20 0-8 6-12 6-20 0zm20 0c8-6 12-6 20 0-8 6-12 6-20 0z' fill='none' stroke='%23dcb863' stroke-opacity='.2'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 58%); mask-image: linear-gradient(200deg, #000, transparent 58%);
}
.band .wrap { position: relative; }
.band h2 { color: #fdf3df; }
.band h2 em { color: var(--gold-soft); }
.band .eyebrow { color: var(--gold-soft); }
.band .lead { color: #e6d3b3; }
.band .orn { color: var(--gold-soft); }
.promises { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid rgba(220, 184, 99, .35); }
.promises li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid rgba(220, 184, 99, .35); }
.promises .tick { width: 24px; height: 24px; stroke: var(--gold-soft); margin-top: 3px; grid-row: 1 / span 2; }
.promises b { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: #fdf3df; }
.promises span { grid-column: 2; color: #dcc8a8; font-size: .98rem; }
.band .cta-note { color: #dcc8a8; }
.band .textlink { color: var(--gold-pale); }

/* ---------- Timing ---------- */
.timing-grid { display: grid; gap: 28px; }
.datebox { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input { width: 100%; min-height: 54px; border: 1.5px solid #cdb98f; border-radius: 12px; background: #fff; padding: 10px 14px; font-size: 1.05rem; }
.field input:focus-visible { outline-offset: 0; border-color: var(--gold); }
.field .help { font-size: .88rem; color: var(--muted); }
.field .err { font-size: .9rem; font-weight: 500; color: #a11a2c; }
.date-out { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.date-out .k { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.date-out .v { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.15; color: var(--wine-deep); margin-top: 4px; }
.date-out p { color: var(--muted); margin-top: 8px; font-size: .98rem; }
.datebox .btn { margin-top: 18px; }
.aside-note { border-left: 2px solid var(--gold); padding-left: 16px; margin-top: 24px; color: var(--muted); max-width: 52ch; }

/* ---------- Testimonials ---------- */
.words { display: grid; gap: 16px; }
.word { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.word blockquote { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--wine-deep); font-style: italic; }
.word figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.word figcaption b { color: var(--ink); font-weight: 600; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 14px; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--wine-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gold); background: linear-gradient(var(--gold-text), var(--gold-text)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold-text), var(--gold-text)) center / 1.5px 12px no-repeat; transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 42px 20px 0; color: var(--muted); max-width: 64ch; }
.faq .ans p + p { margin-top: 10px; }

/* ---------- Close ---------- */
.close { text-align: left; }
.close h2 { font-size: clamp(2.3rem, 8.4vw, 4rem); }
.close .cross { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(220, 184, 99, .35); color: #dcc8a8; }

/* ---------- Footer ---------- */
.site-foot { background: #24050b; color: #cdb99b; padding: 36px 0 calc(40px + var(--bar-h)); font-size: .93rem; }
.site-foot .wrap { display: grid; gap: 20px; }
.site-foot .brand b { color: #fdf3df; }
.site-foot .brand span { color: var(--gold-soft); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot a { text-decoration: none; }
.site-foot nav a:hover { color: #fff; }
.site-foot .fine { color: #a08c72; font-size: .85rem; }

/* ---------- Sticky WhatsApp bar (mobile) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 245, 234, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -14px 30px -22px rgba(58, 8, 17, .5); transform: translateY(110%); transition: transform .55s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 50px; }
.sticky-cta .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Partners page ---------- */
.heard { display: grid; gap: 16px; }
.heard .story-card p { font-size: 1.06rem; }
.say { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.15; color: var(--wine-deep); }
.after .say { color: var(--gold-pale); }
.margin { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px; box-shadow: var(--shadow); }
.margin .k { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.margin-bar { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: 14px; border-radius: 14px; overflow: hidden; min-height: 96px; }
.margin-bar div { padding: 14px; display: grid; align-content: center; gap: 2px; }
.margin-bar b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.margin-bar span { font-size: .84rem; line-height: 1.3; }
.margin-bar .ours { background: var(--sand); color: var(--muted); }
.margin-bar .ours b { color: var(--ink); }
.margin-bar .yours { background: var(--wine); color: #ecd9b7; transform-origin: left; }
.margin-bar .yours b { color: var(--gold-pale); }
.js .margin.reveal .yours { transform: scaleX(.2); transition: transform 1.2s var(--ease) .3s; }
.js .margin.reveal.in .yours { transform: none; }
.margin .brace { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.margin .brace::before, .margin .brace::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.gains { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 30px; }
.gain { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.gain p { color: var(--muted); }
.counter-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.counter-list a { display: grid; gap: 2px; padding: 16px 14px; border-radius: 16px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.counter-list a:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.counter-list a:active { transform: scale(.98); }
.counter-list b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--wine-deep); line-height: 1.1; }
.counter-list span { font-size: .82rem; color: var(--muted); }
.counter-list a.navy b { color: #1f3d63; }

/* ---------- Viewer page ---------- */
body.view { padding: 0; height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: var(--wine-deep); overflow: hidden; }
.view-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 8px 14px; background: var(--ivory); border-bottom: 1px solid var(--line); min-height: 52px; }
.view-top a { text-decoration: none; font-weight: 600; color: var(--wine); font-size: .95rem; padding: 8px 0; white-space: nowrap; }
.view-top .what { text-align: right; font-size: .9rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view-top .what b { font-family: var(--serif); font-size: 1.2rem; color: var(--wine-deep); font-weight: 600; }
.view-frame { position: relative; min-height: 0; }
.view-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--paper); }
.view-bar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--ivory); border-top: 1px solid var(--line); display: grid; justify-items: center; }
.view-bar .btn { width: 100%; max-width: 460px; min-height: 50px; }

/* ---------- Larger screens ---------- */
@media (min-width: 620px) {
  :root { --gutter: 32px; }
  .cta-row { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
  .paths { grid-template-columns: 1.15fr 1fr; }
  .path { grid-template-columns: 1fr; align-content: start; padding: 24px; }
  .path .arrow { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .story-grid, .heard { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .after { margin-top: 34px; }
  .story-card { padding: 32px 30px; }
  .words { grid-template-columns: 1fr 1fr; }
  .words .word:nth-child(even) { margin-top: 28px; }
  .counter-list { grid-template-columns: repeat(3, 1fr); }
  .tier-act .btn { width: auto; }
  .datebox { padding: 30px; }
}

@media (min-width: 900px) {
  body { font-size: 1.09rem; --bar-h: 0px; }
  body.has-bar { --bar-h: 0px; }
  .sticky-cta { display: none; }
  .nav .hide-sm { display: inline; }
  .nav a.btn.hide-sm { display: inline-flex; }
  .site-head .wrap { min-height: 68px; }
  .sec { padding: 104px 0; }
  .sec-head { margin-bottom: 52px; }
  .hero { padding: 72px 0 88px; }
  .hero .wrap { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 56px; }
  .hero-sub { font-size: 1.25rem; max-width: 40ch; }
  .hero-art { display: grid; justify-items: center; gap: 16px; }
  .hero-art .phone { width: 300px; transform: rotate(2.5deg); animation: drift 7s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: rotate(2.5deg) translateY(0); } to { transform: rotate(1.4deg) translateY(-12px); } }
  .samples-grid { grid-template-columns: 340px 1fr; gap: 20px 72px; align-items: start; }
  .picker { grid-column: 2; grid-row: 1; max-width: 520px; align-self: end; }
  .phone-col { grid-column: 1; grid-row: 1 / span 2; }
  .pick-info { grid-column: 2; grid-row: 2; max-width: 520px; }
  .pick-info h3 { font-size: 3.2rem; }
  .tier { grid-template-columns: 1fr 1.1fr auto; gap: 40px; align-items: center; padding: 36px 0; }
  .tier.rec { margin-inline: -28px; padding-inline: 28px; border-radius: 0 18px 18px 0; }
  .tier-act { min-width: 250px; justify-items: stretch; text-align: center; }
  .tier-act .btn { width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: start; }
  .step { grid-template-columns: 1fr; gap: 10px; align-content: start; }
  .step::before { grid-row: auto; font-size: 5.4rem; line-height: 1; }
  .step p { grid-column: 1; }
  .step:not(:last-child)::after { left: 84px; right: -22px; top: 46px; bottom: auto; width: auto; height: 1px; }
  .step:nth-child(2) { margin-top: 48px; }
  .step:nth-child(3) { margin-top: 96px; }
  .band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
  .promises { margin-top: 0; }
  .timing-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .faq-grid .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
  .earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .gains { margin-top: 0; }
  .counter-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
  .counter-list { margin-top: 0; }
  .site-foot .wrap { grid-template-columns: 1fr auto; align-items: end; }
  .site-foot .fine { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .margin.reveal .yours { transform: none; }
}

/* ---------- Invitation details page (details.html) ---------- */
.dt-wrap { width: 100%; max-width: 760px; margin-inline: auto; padding: 32px var(--gutter) calc(40px + var(--bar-h)); }
.dt-missing h1, .dt-head h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin-top: 12px; }
.dt-missing .counter-list { margin-top: 24px; }
.dt-head .lead { margin-top: 12px; }
.dt-saved { margin-top: 10px; font-size: .88rem; font-weight: 500; color: var(--wa); min-height: 1.4em; }
.dt-tip { margin: 22px 0 8px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px dashed var(--gold); display: grid; gap: 4px; }
.dt-tip b { font-family: var(--serif); font-size: 1.3rem; color: var(--wine-deep); }
.dt-tip p { color: var(--muted); font-size: .98rem; }
.dt-tip .textlink { justify-self: start; margin-top: 4px; }

.dt-sec { border: 0; margin: 26px 0 0; padding: 30px 0 8px; border-top: 1px solid var(--line); min-width: 0; display: grid; gap: 18px; }
.dt-sec legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.85rem; line-height: 1.1; color: var(--wine-deep); }
.dt-sec legend + * { clear: both; }
.dt-sec .num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: var(--gold-pale); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.dt-note { color: var(--muted); font-size: .98rem; margin-top: -6px; }
.dt-grid { display: grid; gap: 18px; }
.dt-page .field.dt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dt-pair > div { display: grid; gap: 8px; align-content: start; }
.dt-page .field label i { font-style: normal; font-weight: 500; font-size: .78rem; color: var(--gold-text); margin-left: 4px; }
.dt-page .lbl { font-weight: 600; font-size: .95rem; }
.dt-page .field select, .dt-page .field textarea { width: 100%; min-height: 54px; border: 1.5px solid #cdb98f; border-radius: 12px; background-color: #fff; padding: 12px 14px; font-size: 1.05rem; line-height: 1.45; }
.dt-page .field textarea { resize: vertical; min-height: 84px; }
.dt-page .field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2386601a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.dt-page .field input:focus-visible, .dt-page .field select:focus-visible, .dt-page .field textarea:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 0; border-color: var(--gold); }
.dt-page .field .err { display: none; }
.dt-page .invalid .err { display: block; }
.dt-page .invalid input, .dt-page .invalid select { border-color: #a11a2c; background-color: #fff7f7; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts-col { display: grid; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt > span { display: block; min-height: 46px; padding: 11px 16px; border-radius: 12px; border: 1.5px solid #d9c79f; background: #fff; font-weight: 500; font-size: .98rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt b { display: block; font-weight: 600; }
.opt small { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.opt input:checked + span { border-color: var(--wine); background: #fbf0ef; box-shadow: inset 0 0 0 1px var(--wine); }
.opt input:focus-visible + span { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.sw { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 12px; border: 1.5px solid #e2d3b0; background: #fff; cursor: pointer; text-align: center; font-size: .8rem; line-height: 1.2; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.sw i.any { background: conic-gradient(#7b1426, #d4a437, #2e7d32, #00796b, #6a1b9a, #c2185b, #7b1426); }
.sw:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); background: #fbf0ef; }
.sw:has(input:focus-visible) { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

.dt-check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.dt-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--wine); flex: none; }
.dt-callout { padding: 16px 18px; border-radius: 14px; background: #f1f7f2; border-left: 3px solid var(--wa); display: grid; gap: 4px; }
.dt-callout p { color: var(--muted); font-size: .97rem; }
.dt-sub { padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 16px; }
.dt-sub h3 { font-size: 1.4rem; }
[data-show-if] { display: grid; gap: 18px; }
[data-show-if].field { gap: 8px; }

.dt-fn { padding: 18px 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 16px; margin-bottom: 14px; }
.dt-fn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dt-fn-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--wine-deep); }
.dt-remove { border: 0; background: none; color: #a11a2c; font-weight: 600; font-size: .9rem; padding: 8px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.dt-add { width: 100%; border-style: dashed; }

.dt-send { margin-top: 30px; padding: 30px 22px; border-radius: 22px; background: linear-gradient(165deg, var(--wine), var(--wine-deep)); color: #f7e9cf; box-shadow: var(--shadow); }
.dt-send h2 { color: #fdf3df; font-size: clamp(1.9rem, 7vw, 2.6rem); }
.dt-send h2 em { color: var(--gold-soft); }
.dt-send .lead { color: #e6d3b3; }
.dt-send .cta-row { margin-top: 22px; }
.dt-linkbtn { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--gold-pale); font-size: 1rem; align-self: center; }
.dt-errsum { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fff1f1; color: #8a1424; font-weight: 500; }
.dt-long { margin-top: 14px; font-size: .9rem; color: #dcc8a8; }
.dt-done { margin-top: 20px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(220, 184, 99, .4); display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.dt-done .tick { width: 26px; height: 26px; stroke: var(--gold-soft); }
.dt-done b { font-family: var(--serif); font-size: 1.4rem; color: #fdf3df; }
.dt-done p { color: #e6d3b3; margin-top: 2px; }
.dt-reset { display: block; margin-top: 22px; background: none; border: 0; padding: 6px 0; color: #c9b08c; font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

@media (min-width: 620px) {
  .dt-grid { grid-template-columns: 1fr 1fr; }
  .dt-sec { padding-top: 38px; }
  .dt-fn { padding: 22px; }
  .dt-send { padding: 40px; }
}
@media (min-width: 900px) {
  .dt-page .sticky-cta { display: none; }
}
