/* Event Couture by Always Luxe
   Editorial luxury: soft ivory pages, deep plum headings and buttons, muted champagne gold used sparingly
   for small accents. The event photography carries the color; the interface stays quiet and spacious.
   Measured contrast on ivory: plum 13.8:1, body text 12.1:1, muted 5.4:1, gold text 5.3:1. */
:root {
  color-scheme: light;
  --bg: #FAF8F4;            /* ivory page */
  --surface: #FFFFFF;       /* cards and forms */
  --tint: #F4F0EA;          /* quiet fills: badges, notes, selected rows */
  --ink: #4B1235;           /* deep plum: headings, primary buttons */
  --text: #3A2F33;          /* body text */
  --muted: #6F6468;
  --line: #E9E3DA;          /* subtle borders */
  --champagne: #B69A68;     /* muted champagne gold: small accents only */
  --champagne-ink: #FFFFFF;
  --gold-text: #7D6438;     /* gold for small text, readable */
  --champagne-soft: #F4F0EA;
  --blush: #F1E6E6;
  --blush-plum: #9A3145;
  --on-plum: #FFFFFF;
  --good: #2F6F4E;
  --warn: #8A5210;
  --bad: #A23B3B;
  --shadow: 0 1px 2px rgba(40, 20, 30, .04);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); min-height: 100vh;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, .display { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.12; }
h3 { font-size: 1.22rem; line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 18px 10px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 1.32rem; letter-spacing: .01em; }
.brand span { font-size: .68rem; color: var(--champagne); letter-spacing: .08em; margin-top: 3px; }
.topbar nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }

main { max-width: 1120px; margin: 0 auto; padding: 22px 18px 120px; }
.preview-ribbon { background: var(--champagne-soft); color: var(--ink); font-size: .82rem; text-align: center; padding: 7px 14px; }

/* ---------- buttons & fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 500; letter-spacing: .01em; cursor: pointer; text-decoration: none; }
.btn.gold { background: var(--champagne); border-color: var(--champagne); color: var(--champagne-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.link { background: none; border: 0; padding: 0; color: var(--gold-text); min-height: 32px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
textarea.input { min-height: 96px; resize: vertical; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stack { display: grid; gap: 14px; }
.stack-lg { display: grid; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .92rem; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); flex-wrap: wrap; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; min-width: 0; }
.panel.quiet { background: transparent; }
.note { border-left: 3px solid var(--champagne); background: var(--champagne-soft); padding: 12px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .92rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge.est { border-color: transparent; background: var(--champagne-soft); color: var(--ink); }
.badge.ok { color: var(--good); border-color: currentColor; }
.badge.warn { color: var(--warn); border-color: currentColor; }
.badge.bad { color: var(--bad); border-color: currentColor; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- swatches: the signature ---------- */
.swatch { display: flex; height: 64px; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.swatch i { flex: 1; }
.swatch.thin { height: 10px; border-radius: 99px; }
.swatch.tall { height: 120px; }

/* ---------- home ---------- */
.hero { display: grid; gap: 28px; align-items: center; padding: 10px 0 18px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 30px 0 30px; } }
.hero p.lead { font-size: 1.12rem; max-width: 34ch; color: var(--muted); margin-top: 16px; }
.hero .row { margin-top: 26px; }
.fitting { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.fitting .swatch.tall { margin-bottom: 14px; }
.fitting .line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.fitting .total { font-family: var(--display); font-size: 2rem; }
.samples { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sample { text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 0; overflow: hidden; }
.sample .swatch { border-radius: 0; height: 84px; }
.sample .in { padding: 14px 16px 16px; display: grid; gap: 4px; }
.steps-line { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.steps-line li { list-style: none; counter-increment: s; display: grid; gap: 6px; }
.steps-line li::before { content: counter(s); font-family: var(--display); font-size: 2rem; color: var(--champagne); line-height: 1; }
.steps-line { padding: 0; margin: 0; }

/* ---------- wizard ---------- */
.wizard { max-width: 760px; margin: 0 auto; }
.progress { display: flex; gap: 6px; margin-bottom: 22px; }
.progress i { flex: 1; height: 3px; border-radius: 9px; background: var(--line); }
.progress i.on { background: var(--champagne); }
.drop { border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 26px 18px; text-align: center; background: var(--surface); cursor: pointer; display: grid; gap: 8px; place-items: center; }
.drop.over { border-color: var(--champagne); background: var(--champagne-soft); }
.photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.photo { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--line); }
.photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; cursor: crosshair; }
.photo .pal { display: flex; height: 8px; }
.photo .pal i { flex: 1; }
.photo .x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.pin { position: absolute; transform: translate(-50%, -50%); background: var(--champagne); color: var(--champagne-ink); font-size: .72rem; padding: 3px 8px; border-radius: 999px; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.price-card { display: grid; gap: 14px; }
.price-big { font-family: var(--display); font-size: 3rem; line-height: 1; }
.incl { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.incl li { display: flex; gap: 10px; align-items: baseline; }
.incl li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); flex: none; transform: translateY(-2px); }

/* ---------- concepts ---------- */
.concepts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.concept { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); overflow: hidden; display: grid; }
.concept[aria-checked="true"] { border-color: var(--champagne); box-shadow: 0 0 0 2px var(--champagne); }
.concept .swatch { border-radius: 0; height: 96px; }
.concept .in { padding: 16px; display: grid; gap: 10px; }
.concept ul { margin: 0; padding-left: 18px; font-size: .93rem; color: var(--muted); display: grid; gap: 4px; }

/* ---------- plan workspace ---------- */
.plan-head { display: grid; gap: 14px; margin-bottom: 18px; }
.plan-head .swatch { height: 12px; border-radius: 99px; }
.plan-head .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .93rem; }
.workspace { display: grid; gap: 20px; }
@media (min-width: 960px) { .workspace { grid-template-columns: 210px minmax(0, 1fr); align-items: start; } }
.rail { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 62px); z-index: 10; background: var(--bg); padding-top: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail a { white-space: nowrap; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; }
.rail a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (min-width: 960px) { .rail { flex-direction: column; overflow: visible; top: 84px; }
  .rail a { border: 0; background: none; border-radius: var(--r-sm); padding: 9px 12px; }
  .rail a[aria-current="page"] { background: var(--champagne-soft); color: var(--ink); } }

.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tier { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 18px; display: grid; gap: 12px; align-content: start; cursor: pointer; text-align: left; }
.tier[aria-pressed="true"] { border-color: var(--champagne); box-shadow: 0 0 0 2px var(--champagne); }
.tier .amt { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.pc { display: grid; gap: 6px; font-size: .92rem; }
.pc b { font-weight: 500; }
.pc ul { margin: 0; padding-left: 18px; color: var(--muted); }

.lines { display: grid; }
.lines .ln { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.lines .ln:first-child { border-top: 0; }
.lines .amt { text-align: right; font-variant-numeric: tabular-nums; }
.lines .sub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.group-h { font-family: var(--display); font-size: 1.05rem; margin: 18px 0 2px; }
.sum { display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .grand { font-family: var(--display); font-size: 1.6rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }

.meter { height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--champagne); }
.meter.over i { background: var(--bad); }
.list { display: grid; }
.list .it { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.list .it:first-child { border-top: 0; }
.list .it .grow { flex: 1 1 200px; min-width: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--champagne); margin-top: 2px; flex: none; }
.check.done .t { text-decoration: line-through; color: var(--muted); }
.ros { display: grid; gap: 0; }
.ros div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ros div:first-child { border-top: 0; }
.ros b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--champagne); }
.table-wrap { overflow-x: auto; }
table.qty { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.qty th, table.qty td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
table.qty th { color: var(--muted); font-weight: 500; border-top: 0; }
table.qty td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.poll { display: grid; gap: 8px; }
.poll button { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; }
.poll button i { position: absolute; inset: 0 auto 0 0; background: var(--champagne-soft); z-index: 0; }
.poll button span { position: relative; z-index: 1; }
.album { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.album img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); width: 100%; }
.tables { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tbl { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; background: var(--surface); }
.tbl h4 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; }
.tbl ul { margin: 0; padding-left: 16px; font-size: .9rem; color: var(--muted); }

/* ---------- guest page ---------- */
.invite { max-width: 640px; margin: 0 auto; text-align: center; display: grid; gap: 18px; }
.invite .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.invite .card .swatch { border-radius: 0; height: 18px; }
.invite .card .in { padding: 34px 22px; display: grid; gap: 12px; }
.invite h1 { font-size: clamp(2rem, 8vw, 3rem); }

/* ---------- sheet (dialog) ---------- */
.sheet-back { position: fixed; inset: 0; background: rgba(20, 12, 20, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .sheet-back { align-items: center; } }
.sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; }
@media (min-width: 700px) { .sheet { border-radius: var(--r-lg); } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 16px; z-index: 60; font-size: .93rem; max-width: calc(100% - 32px); }
.chat { display: grid; gap: 10px; }
.bubble { padding: 11px 14px; border-radius: 16px; max-width: 85%; }
.bubble.me { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.bubble.ai { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 18px calc(30px + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--muted); font-size: .86rem; display: grid; gap: 8px; }
footer.site nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) { .fade { animation: fade .35s ease both; } @keyframes fade { from { opacity: .001; transform: translateY(6px); } } }

.plan-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.plan-row h2 { font-size: clamp(1.4rem, 5vw, 2.1rem); }
.plan-total { text-align: right; flex: 0 1 auto; max-width: 52%; }
.plan-total .display { font-size: clamp(1.3rem, 5vw, 1.9rem) !important; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.packs { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.packs .tier { padding: 14px; gap: 4px; }
.packs .amt { font-size: 1.7rem; }

.vchip { display: inline-flex; align-items: center; gap: 8px; }
.vchip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.btn svg { flex: none; }
#speak[aria-pressed="true"] { background: var(--champagne-soft); border-color: var(--champagne); }

.scene { position: relative; border-radius: var(--r-md); overflow: hidden; }
.scene img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ai-note { position: absolute; right: 8px; bottom: 8px; font-size: .68rem; color: #fff; background: rgba(42, 26, 43, .55); padding: 3px 8px; border-radius: 999px; }
.tag-pin { position: absolute; transform: translate(-50%, -50%); background: color-mix(in srgb, #FFFFFF 92%, transparent); color: #2A1A2B; border: 1px solid #E6D3B5;
  font-size: .78rem; padding: 5px 10px 5px 8px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 14px rgba(42, 26, 43, .14); display: inline-flex; gap: 5px; align-items: center; }
.tag-pin::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B08D57; }
.tag-pin b { font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .tag-pin { animation: pinIn .5s ease both; } @keyframes pinIn { from { opacity: 0; transform: translate(-50%, -30%); } } }

.shop { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.prod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-columns: 92px 1fr; min-width: 0; }
.prod .pimg { min-height: 120px; }
.prod .pbody { padding: 12px 14px; display: grid; gap: 4px; min-width: 0; }
.prod .acts { margin-top: 6px; }

/* ---------- v0.10: photo-first home, small palette dots ---------- */
[hidden] { display: none !important; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.hero { grid-template-columns: minmax(0, 1fr); padding-top: 4px; gap: 20px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 52px; } }
.hero h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); line-height: 1.06; }
.hero p.lead { margin-top: 12px; font-size: 1.05rem; }
.hero .row { margin-top: 20px; gap: 18px; align-items: center; }
.pass-note { margin-top: 14px; }
.hero-photo { margin: 0; }
.hero-photo figcaption { margin-top: 8px; }
.scene img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 900px) { .scene img { aspect-ratio: 4 / 5; } }
.hot { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.hot .dot { width: 18px; height: 18px; border-radius: 50%; background: #B08D57; border: 3px solid #FFFFFF; box-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hot .lbl { position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #FFFFFF; color: #2A1A2B; border: 1px solid #E6D3B5; border-radius: 999px; padding: 6px 12px; font-size: .82rem; box-shadow: 0 4px 14px rgba(0,0,0,.18); display: none; }
.hot .lbl b { font-weight: 500; }
.hot[aria-expanded="true"] .lbl { display: block; }
.hot[aria-expanded="true"] .dot { background: #2A1A2B; }
.hot.r .lbl { left: auto; right: 4px; transform: none; }
.hot.l .lbl { left: 4px; transform: none; }
@media (prefers-reduced-motion: no-preference) { .hot .dot { animation: pulse 2.4s ease-in-out 3; } @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,255,255,.35), 0 1px 6px rgba(0,0,0,.35); } } }
.demo { margin-top: 18px; display: grid; gap: 10px; }
.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; }
.demo-head h3 { margin: 2px 0; }
.demo-total { display: grid; justify-items: end; }
.demo-total .display { font-size: 1.9rem; line-height: 1.1; }
.demo-lines .line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.thumb { position: relative; aspect-ratio: 3 / 2; background: var(--champagne-soft); overflow: hidden; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb.noimg { aspect-ratio: 6 / 1; }
.thumb.banner { aspect-ratio: 16 / 6; border-radius: var(--r-md); }
.dots { display: inline-flex; gap: 6px; align-items: center; padding: 2px 0; }
.dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.sample .in { gap: 6px; }
.concept.selected { border-color: var(--champagne); box-shadow: 0 0 0 2px var(--champagne); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 18px; }
.price-grid div { display: grid; gap: 2px; }
.price-grid b { font-size: 1.15rem; font-weight: 500; }
@media (max-width: 600px) { .demo-total { justify-items: start; } }
a.sample, a.sample:hover { text-decoration: none; color: inherit; }
a.sample h3 { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
a.sample:hover h3 { text-decoration-color: currentColor; }
.thumb.banner { max-height: 260px; width: 100%; }
.sum > div { flex-wrap: wrap; column-gap: 12px; }

.concept-num { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.concept-band { display: flex; height: 28px; }
.concept-band i { flex: 1; }

/* ---------- v0.12 editorial layer: ivory, plum, quiet gold ---------- */
html, body { background: var(--bg); }
body { color: var(--text); overflow-x: clip; }
h1, h2, h3, .display { color: var(--ink); }
h1 { font-size: clamp(2rem, 5.6vw, 3.1rem); line-height: 1.08; }
h2 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
main { padding: 32px 20px 120px; }
.stack-lg { gap: 32px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* buttons, fields, chips */
.btn { background: var(--ink); border: 1px solid var(--ink); color: var(--on-plum); min-height: 48px; box-shadow: none; font-weight: 500; letter-spacing: .02em; }
.btn.gold, .btn.primary { background: var(--ink); border-color: var(--ink); color: var(--on-plum); box-shadow: none; }
.btn:hover:not(.ghost):not(:disabled) { background: #5E1A44; }
.btn.ghost { background: transparent; color: var(--ink); border-color: #DCD3C7; }
.btn.ghost:hover { background: var(--tint); }
.btn.small { min-height: 40px; }
.link { color: var(--ink); text-decoration-color: var(--champagne); text-decoration-thickness: 1px; }
.link.quiet { color: var(--muted); font-weight: 400; text-decoration-color: #CFC6BA; }
.input, select.input, textarea.input { background: var(--surface); border: 1px solid #E2DBD0; border-radius: var(--r-sm); }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(75, 18, 53, .08); }
.chip { background: var(--surface); border-color: #E2DBD0; min-height: 40px; }
.chip[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-plum); border-color: var(--ink); }
.seg { background: var(--surface); border-color: #E2DBD0; }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }

/* surfaces */
.panel, .tier, .concept, .sample, .sheet { background: var(--surface); border-color: var(--line); box-shadow: none; }
.tier[aria-pressed="true"], .concept.selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.badge { border-color: var(--line); }
.badge.est { background: var(--tint); color: var(--text); border-color: transparent; }
.note { background: var(--tint); border-left: 2px solid var(--champagne); color: var(--text); }
.thumb, .thumb.noimg { background: var(--tint); }
.preview-ribbon { background: var(--tint); color: var(--muted); border-bottom: 1px solid var(--line); font-size: .78rem; }
.toast { background: var(--ink); color: var(--on-plum); border: 0; box-shadow: 0 6px 20px rgba(40, 20, 30, .18); }
.sheet-back { background: rgba(30, 18, 26, .38); }
.sheet { border: 0; }
@media (min-width: 700px) { .sheet { border: 1px solid var(--line); } }
.rail a { background: var(--surface); border-color: var(--line); }
.rail a[aria-current="page"] { background: var(--ink); color: var(--on-plum); border-color: var(--ink); }
@media (min-width: 960px) { .rail a { background: none; } .rail a[aria-current="page"] { background: var(--tint); color: var(--ink); box-shadow: inset 2px 0 0 var(--champagne); } }
.concept-num { color: var(--gold-text); letter-spacing: .14em; font-size: .72rem; }
.icon-btn { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); color: var(--ink); }
.icon-btn:hover { background: var(--tint); }
.pin { background: var(--ink); color: var(--on-plum); }
.photo .x { background: rgba(30, 18, 26, .7); color: #fff; }
.ai-note { background: rgba(30, 18, 26, .55); color: #fff; }

/* header: the EC mark with the full name, readable */
.topbar { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); box-shadow: none; padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; }
.brand { flex-direction: row; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.brand .bt { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { color: var(--ink); font-size: 1.22rem; font-weight: 600; }
.brand .bt span { font-family: var(--display); font-weight: 600; font-size: .8rem; color: var(--ink); margin-top: 3px; letter-spacing: .02em; }
@media (max-width: 340px) { .brand b { font-size: 1.06rem; } .brand img { width: 36px; height: 36px; } }

/* home: editorial hero on clean ivory */
.hero { display: grid; gap: 28px; padding: 8px 0 0; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; padding-top: 24px; } }
.hero-copy { display: grid; gap: 16px; justify-items: start; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 34ch; }
.hero .row { gap: 22px; align-items: center; margin-top: 8px; }
.hero-photo { margin: 0; }
.hero-photo figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.scene { position: relative; border: 0; border-radius: var(--r-md); overflow: hidden; }
.scene img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 900px) { .scene img { aspect-ratio: 4 / 5; } }
/* discreet cost markers: small dot, full 44 px tap area */
.hot { width: 44px; height: 44px; }
.hot .dot { width: 11px; height: 11px; background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28), 0 1px 4px rgba(0, 0, 0, .25); animation: none; }
.hot[aria-expanded="true"] .dot { background: var(--ink); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.hot .lbl { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(30, 18, 26, .12); font-size: .78rem; padding: 5px 11px; }
.demo { margin-top: 40px; padding: 22px; display: grid; gap: 10px; }
.demo-total .display { font-size: 1.7rem; color: var(--ink); }
.section { margin-top: 64px; }
@media (max-width: 600px) { .section { margin-top: 52px; } }
.samples { gap: 20px; }
.sample .in { padding: 16px 18px 18px; gap: 6px; }
.sample .in h3 { font-size: 1.1rem; }
a.sample h3 { text-decoration: none; }
a.sample:hover { border-color: #D9CFC2; }
.dots i { width: 12px; height: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.steps-line li h3 { font-size: 1.08rem; }

/* footer and loader: quiet */
footer.site { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); padding-top: 32px; }
footer.site img { width: 36px; height: 36px; margin: 0 auto 2px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
footer.site a { color: var(--muted); }
footer.site .name { font-family: var(--display); font-weight: 600; color: var(--ink); }
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 14px; background: var(--bg); transition: opacity .35s ease; }
.loader img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.loader span { color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.loader.done { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .loader { transition: none; } }
.plan-head .meta span { white-space: nowrap; }
.hero-logo { width: min(250px, 66vw); height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 6px; }
@media (min-width: 900px) { .hero-logo { width: 280px; } }
/* header: deep plum band */
.topbar { position: relative; background: linear-gradient(135deg, #36091F 0%, #4B1235 50%, #5E1B46 100%); border-bottom: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 12px; gap: 12px; align-items: stretch; }
.topbar nav { flex-direction: row !important; align-items: center; }
.topbar .icon-btn { width: 40px; height: 40px; }
@media (max-width: 420px) { .topbar nav { flex-direction: column !important; gap: 4px !important; } .topbar .icon-btn { width: 38px; height: 38px; } }
.topbar nav { flex-direction: column; justify-content: center; gap: 8px; margin-left: 0; }
@media (min-width: 900px) { .topbar nav { flex-direction: row; align-items: center; } }
.topbar .icon-btn { background: rgba(255, 255, 255, .06); border: 1px solid rgba(214, 190, 140, .55); color: #F6EEE2; }
.topbar .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.preview-ribbon { background: #2E0819; color: #E9DCCB; border-bottom: 0; }
/* footer in plum to balance the gold */
footer.site { background: linear-gradient(135deg, #36091F 0%, #4B1235 60%, #5E1B46 100%); border-top: 0; color: #E9DCCB; }
footer.site a { color: #F6EEE2; text-decoration-color: rgba(214, 190, 140, .7); }
footer.site .name { color: #F6EEE2; }
footer.site img { box-shadow: 0 0 0 1px rgba(214, 190, 140, .6); }
.topbar { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: 10px; }
@media (max-width: 899px) { .topbar nav { gap: 8px; } }


.live-res:empty { display: none; }
.curated { margin: 4px 0 12px; padding: 14px 16px; background: var(--tint); border-radius: var(--r-md); display: grid; gap: 4px; }
.curated .it { border-color: var(--line); }
.venue-filter { display: grid; gap: 12px; }
@media (min-width: 700px) { .venue-filter { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.songs { margin: 0; padding-left: 22px; display: grid; gap: 2px; }
.songs li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.songs li { display: list-item; }
.songs li > * { vertical-align: middle; }
.songs .grow { display: inline; margin-right: 10px; }
.songs .link { margin-right: 12px; }
.songs li .grow { display: block; margin: 0 0 2px; }
.songs li .grow .muted { display: block; }
/* review details */
.confirm { display: grid; gap: 0; padding: 4px 18px; }
.confirm .crow { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.confirm .crow:last-child { border-bottom: 0; }
@media (max-width: 420px) { .confirm .crow { grid-template-columns: 1fr; gap: 2px; } }
/* keep this plan */
.keep-bar { position: sticky; top: 8px; z-index: 15; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px; margin: 0 0 18px; box-shadow: 0 6px 18px rgba(30, 18, 26, .06); }
.lock-card { display: grid; gap: 10px; justify-items: start; padding: 16px 18px; border: 1px dashed #D9CFC2; border-radius: var(--r-md); background: var(--tint); }
.lock-card.big { justify-items: center; text-align: center; padding: 34px 20px; }
.ghost-rows { display: grid; gap: 7px; width: 100%; }
.ghost-rows i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #E9E3DA, #F1ECE4); }
.ghost-rows i:nth-child(2) { width: 82%; } .ghost-rows i:nth-child(3) { width: 64%; }
.keep-bar { position: static; box-shadow: none; }
.sister { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: inherit; min-height: 56px; }
.sister:hover { border-color: #D9CFC2; }
.sister img { width: 53px; height: 44px; border-radius: 9px; flex: none; object-fit: cover; }
.sister > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.sister-go { color: var(--gold-text); font-size: 1.2rem; }
.pl-head { display: grid; gap: 4px; }
.pl-name { font-size: 1.45rem; color: var(--ink); line-height: 1.15; }

/* Plan sections: 4 groups. Phone: section buttons, then the pages of that section. Desktop: grouped side menu. */
.groupbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 4px 0 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.groupbar a { text-decoration: none; text-align: center; font-size: .8rem; line-height: 1.2; padding: 9px 4px; border-radius: 10px; color: var(--ink); display: flex; align-items: center; justify-content: center; min-height: 44px; }
.groupbar a[aria-current] { background: var(--ink); color: var(--on-plum, #fff); }
.rail .rg { display: none; gap: 6px; }
.rail .rg.on { display: flex; }
.rail .rg.on.solo { display: none; }
.rail .rg-h { display: none; }
.rail a[aria-current="page"] { background: var(--tint, #F3ECE3); color: var(--ink); border-color: var(--champagne, #B69A68); }
@media (min-width: 960px) {
  .groupbar { display: none; }
  .rail .rg, .rail .rg.on, .rail .rg.on.solo { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
  .rail .rg-h { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text, #8A7148); padding: 0 12px 4px; }
  .rail a[aria-current="page"] { background: var(--tint); color: var(--ink); box-shadow: inset 2px 0 0 var(--champagne); border-color: transparent; }
}

/* Booking status */
.badge.st-booked { background: var(--good); border-color: var(--good); color: #fff; }
.badge.st-quote { color: var(--gold-text, #8A7148); border-color: var(--champagne); }
.badge.st-short { background: var(--tint); border-color: transparent; color: var(--ink); }
.badge.st-todo { color: var(--muted); }
.bk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bk-stats > div { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm, 10px); background: var(--bg); }
.bk-stats b { font-size: 1.1rem; color: var(--ink); }
.toast.undo { width: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; }
.toast.undo button { background: transparent; color: #E9D7B4; border: 1px solid rgba(233,215,180,.6); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 600; cursor: pointer; min-height: 36px; white-space: nowrap; }
/* Wizard actions: the main button comes first and full width on phones; Back and Save later sit under it. */
.wiz-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.wiz-act .btn.gold { order: 3; margin-left: auto; }
.wiz-act .btn.ghost { order: 1; }
.wiz-act .link { order: 2; }
@media (max-width: 600px) { .wiz-act .btn.gold { order: 0; width: 100%; margin-left: 0; } .wiz-act .link { margin-left: auto; } }
.songs .sec-h { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text, #8A7148); margin: 6px 0 4px; }
.songs.short li:nth-child(n+11) { display: none; }
/* Phone: plan header stacks so the total gets its own line; spending levels wrap into a tidy grid */
@media (max-width: 600px) {
  .plan-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .plan-total { text-align: left; max-width: none; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
  .plan-total .muted + .muted::before { content: ''; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; width: 100%; }
  .seg button { border-radius: 12px; text-align: center; }
}
.invite-host { max-width: 640px; margin: 0 auto 14px; }

/* Launch polish */
.steps-line li { align-content: start; grid-template-rows: auto auto 1fr; }
.grid2 > .field { align-content: end; }
.concept .in { grid-template-rows: auto auto auto auto auto 1fr auto; align-content: start; }
.concept .badge { justify-self: start; white-space: normal; }
@media (min-width: 900px) { .home-samples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 959px) {
  .rail { position: static; overflow: visible; padding-top: 0; }
  .rail .rg.on { flex-wrap: wrap; }
}
.legal h3 { margin-top: 10px; }
.legal p, .legal li { line-height: 1.6; }
.legal-table { display: grid; gap: 0; padding: 4px 18px; }
.legal-table > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-table > div:last-child { border-bottom: 0; }
.legal-table span { color: var(--muted); font-size: .92rem; }
@media (min-width: 760px) { .legal-table > div { grid-template-columns: 1fr 1.2fr; gap: 18px; } }
.loading-concepts { display: flex; align-items: center; gap: 12px; padding: 28px 4px; color: var(--muted); grid-column: 1 / -1; }
.loading-concepts .spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--champagne); animation: ecspin .9s linear infinite; flex: none; }
@keyframes ecspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-concepts .spin { animation: none; } }
/* Spending-level cards never run off a phone screen (they're buttons, which iPhone won't shrink by default) */
.tiers { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.tier { min-width: 0; width: 100%; white-space: normal; overflow-wrap: anywhere; box-sizing: border-box; }
.tier .pc, .tier .pc li { white-space: normal; }
.tier-pick { justify-self: start; font-size: .88rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); }
.tier[aria-pressed="true"] .tier-pick { background: var(--ink); color: var(--on-plum, #fff); }

/* AI-generated inspiration: every AI picture carries a visible label */
.ai-tag { position: absolute; left: 8px; bottom: 8px; font-size: .68rem; line-height: 1.2; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: rgba(20, 14, 18, .62); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; }
.thumb.banner .ai-tag { left: 10px; bottom: 10px; }
.iscroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.iscroll .chip { flex: 0 0 auto; }
@media (min-width: 900px) { .iscroll { flex-wrap: wrap; overflow: visible; } }
.igrid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .igrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .igrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.icard { display: grid; gap: 8px; align-content: start; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
.icard .thumb { border-radius: var(--r-md); aspect-ratio: 4 / 3; }
.icard img { transition: transform .4s ease; }
.icard:hover img, .icard:focus-visible img { transform: scale(1.03); }
.icard .iname { font-family: var(--display, inherit); font-size: .98rem; line-height: 1.25; }
.icard.more { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; text-decoration: none; }
.icard.more:hover { text-decoration: none; border-color: var(--gold, #C9A86A); }
.thumb.ibig { border-radius: var(--r-md); aspect-ratio: 3 / 2; }
.inspo-chosen { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px; align-items: center; }
.inspo-chosen .thumb { border-radius: var(--r-sm); }
@media (max-width: 420px) { .inspo-chosen { grid-template-columns: minmax(0, 1fr); } }
.inspo-nudge { gap: 12px; align-items: center; }
.concept .thumb { aspect-ratio: 16 / 9; }
.new-venue { gap: 10px; }
@media (prefers-reduced-motion: reduce) { .icard img { transition: none; } }
.concept, .concept .in, .concept ul { align-content: start; }
/* The big photo in a pop-up keeps its own height so nothing slides under it */
.thumb.ibig { aspect-ratio: auto; flex-shrink: 0; overflow: hidden; }
.thumb.ibig img { height: auto; aspect-ratio: 3 / 2; }
/* Very long words (from the AI or typed by a host) wrap instead of pushing the page sideways */
main h1, main h2, main h3, main p, main li, main b, main span, main td, .concept, .panel, .it .grow { overflow-wrap: anywhere; }

/* Header, refined: the transparent champagne-gold logo sits directly on the plum band, centered on the whole screen
   (equal side columns), with small champagne-outlined icons on the right */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: calc(env(safe-area-inset-top, 0px) + 2px) 12px 2px; min-height: 0; }
.topbar::before { content: ''; }
.brand.logo-mark { grid-column: 2; display: grid; justify-items: center; gap: 0; line-height: 1; text-decoration: none; padding: 0; }
.brand.logo-mark img { display: block; height: 41px; width: auto; aspect-ratio: 563 / 210; border: 0; border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 1px 1px rgba(20, 4, 12, .35)); }
.brand.logo-mark .by { margin-top: 0; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .14em; line-height: 1;
  background: linear-gradient(180deg, #F3E3BE 0%, #D9BC84 55%, #EAD5A4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.brand.logo-mark:hover { text-decoration: none; }
.topbar nav { grid-column: 3; justify-self: end; position: static !important; transform: none !important; flex-direction: row !important; gap: 6px !important; margin: 0; }
.topbar .icon-btn { width: 28px !important; height: 28px !important; background: transparent; border: .75px solid rgba(214, 190, 140, .75); color: #EAD5A4; }
.topbar .icon-btn:hover { background: rgba(214, 190, 140, .12); }
.topbar .icon-btn svg { width: 15px; height: 15px; stroke-width: 1.4; }
@media (min-width: 700px) { .brand.logo-mark img { height: 44px; } .brand.logo-mark .by { font-size: 11.5px; letter-spacing: .15em; } }
@media (min-width: 1100px) { .brand.logo-mark img { height: 47px; } .brand.logo-mark .by { font-size: 12px; letter-spacing: .16em; } }
@media (max-width: 360px) { .brand.logo-mark img { height: 37px; } .brand.logo-mark .by { font-size: 10px; letter-spacing: .12em; } .topbar { gap: 4px; padding-left: 8px; padding-right: 8px; } }

/* Your plan, step by step */
.steps-card .psteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps-card .psteps li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.steps-card .psteps li:last-child { border-bottom: 0; }
.steps-card .psteps .pk { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .78rem; color: #fff; margin-top: 1px; }
.steps-card .psteps li.done .pk { background: var(--ink); border-color: var(--ink); }
.steps-card .psteps li.next .pk { border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(182, 154, 104, .18); }
.steps-card .psteps .grow { display: grid; gap: 1px; min-width: 0; }
.steps-card .psteps li.done b { color: var(--muted); font-weight: 500; }
/* Your finished plan */
.plan-sheet .ps-head { border-bottom: 1px solid var(--line); padding-bottom: 12px; display: grid; gap: 4px; }
.plan-sheet .ps-head h2 { font-size: 1.6rem; }
.plan-sheet .ps-sec { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.plan-sheet .ps-sec:last-of-type { border-bottom: 0; }
@media print {
  body.printing-plan .topbar, body.printing-plan footer.site, body.printing-plan .preview-ribbon, body.printing-plan .plan-head, body.printing-plan .groupbar,
  body.printing-plan .rail, body.printing-plan .keep-bar, body.printing-plan .plan-actions, body.printing-plan .plan-save, body.printing-plan .ps-edit, body.printing-plan .tab-ec, body.printing-plan .toast { display: none !important; }
  body.printing-plan { background: #fff !important; }
  body.printing-plan main { padding: 0 !important; max-width: none !important; }
  body.printing-plan .plan-sheet { font-size: 11pt; color: #222; }
}
.plan-sheet .qty td, .plan-sheet .qty th { overflow-wrap: normal; word-break: normal; } .plan-sheet .qty td.small, .plan-sheet .qty td.n { white-space: nowrap; }

/* Options: up to three per category, a front-runner, and the side-by-side comparison */
.optbar { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.optbar.wide { margin-top: 0; padding: 12px 14px; background: var(--champagne-soft); border-color: transparent; }
.optbar .grow { min-width: 0; }
.optbar [data-compare] { white-space: nowrap; }
.sheet:has(.cmp) { max-width: 860px; }
.sheet:has(.cmp) { grid-template-columns: minmax(0, 1fr); }
.cmp { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 66px repeat(var(--n), minmax(138px, 1fr)); border-top: 1px solid var(--line); min-width: calc(66px + var(--n) * 138px); }
.cmp-row:first-child { border-top: 0; }
.cmp-l { position: sticky; left: 0; background: var(--surface); padding: 10px 6px 10px 10px; font-size: .78rem; color: var(--muted); z-index: 1; }
.cmp-c { padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; font-size: .9rem; border-left: 1px solid var(--line); overflow-wrap: anywhere; }
.cmp-row:first-child .cmp-c { flex-direction: column; font-size: .95rem; }
.cmp-c.on { background: #FBF8F2; }
.optbar[hidden] { display: none; }
.cmp-c .btn { flex: 0 0 auto; }
.cmp-add { display: grid; gap: 10px; }
.cmp-add summary { cursor: pointer; }

.cmp-acts { display: grid; gap: 8px; width: 100%; justify-items: stretch; }
.cmp-acts .btn { width: 100%; justify-content: center; }
.cmp-acts .link { justify-self: center; }
.cmp-swipe { margin: -6px 0 0; }
@media (min-width: 700px) { .cmp-swipe { display: none; } }

/* Finished plan: save bar and Change / Replace links */
.plan-save { display: grid; gap: 12px; background: var(--champagne-soft); border-color: transparent; }
.plan-save p { margin: 2px 0 0; }
.plan-save .plan-actions { gap: 8px; flex-wrap: wrap; }
.plan-sheet .ps-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-sheet .ps-edit { white-space: nowrap; }
.plan-sheet .ps-head .ps-edit { justify-self: start; }
.plan-sheet .ps-sec .it { flex-wrap: wrap; }
.plan-sheet .ps-sec .it .ps-edit { flex-basis: 100%; text-align: left; }
@media (min-width: 700px) { .plan-save { grid-template-columns: 1fr auto; align-items: center; } .plan-sheet .ps-sec .it .ps-edit { flex-basis: auto; } }
.cmp-links { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; }
.cmp-links .link, .cmp-acts .btn { white-space: nowrap; overflow-wrap: normal; }
.cmp-acts .btn { white-space: normal; font-size: .84rem; padding-left: 10px; padding-right: 10px; line-height: 1.25; }
@media print { .plan-save, .ps-edit { display: none !important; } }
/* Bigger tap areas for small text links on phones (music links, footer) */
.songs a.link, footer.site nav a { display: inline-block; padding: 10px 4px; margin: -10px 0; }
.songs a.link { position: relative; }
.album .ph { position: relative; margin: 0; }
.album .ph-rm { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(30, 18, 26, .62); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
/* How to choose venues and vendors: three short steps */
.howto { list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; }
.howto li { counter-increment: h; background: var(--champagne-soft); border-radius: var(--r-md); padding: 10px 12px 10px 40px; position: relative; font-size: .85rem; line-height: 1.35; color: var(--text); }
.howto li::before { content: counter(h); position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .72rem; display: grid; place-items: center; }
.howto b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .howto { grid-template-columns: 1fr; gap: 6px; } .howto li { padding: 8px 12px 8px 40px; } .howto li::before { top: 8px; } }
.vf-wrap > summary { cursor: pointer; padding: 4px 0; } .vf-wrap[open] > summary { margin-bottom: 8px; }
.lines .ln .live-res { grid-column: 1 / -1; } .lines .ln .live-res:empty { display: none; }
/* Booking package: everything to book, in one place */
.pkg .pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pkg-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pkg-tabs [role=tab] { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--body); cursor: pointer; min-height: 40px; }
.pkg-tabs [role=tab][aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pkg-new { border: 1px dashed var(--champagne); background: transparent; color: var(--gold-text); border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--body); cursor: pointer; min-height: 40px; }
.pkg-rows { display: grid; gap: 0; }
.pk-row { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.pk-row:first-child { border-top: 0; }
.pk-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pk-h .num { margin-left: auto; }
.pk-biz { display: grid; gap: 2px; }
.pk-biz b { font-size: 1rem; color: var(--ink); }
.pk-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-swap:empty { display: none; }
.pkg-foot { justify-content: space-between; align-items: center; gap: 12px; padding-top: 4px; }
@media (min-width: 900px) { .pk-row { grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; } .pk-row .pk-swap, .pk-row > p { grid-column: 1 / -1; } .pk-row > p.small { grid-column: 2 / -1; } }
@media (min-width: 900px) { .pk-h { flex-direction: column; align-items: flex-start; gap: 2px; } .pk-h .num { margin-left: 0; } }
.pkg { margin-bottom: 8px; }
.pkg-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(120deg, var(--ink), #6B2350); color: #fff; border: 0; }
.pkg-cta b { font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: #fff; }
.pkg-cta p.muted { color: rgba(255, 255, 255, .82) !important; margin: 4px 0 0; }
.pkg-cta .btn.gold { background: var(--champagne); border-color: var(--champagne); color: #fff; white-space: nowrap; }
.pkg-cta .btn:not(.gold) { background: #fff; color: var(--ink); border-color: #fff; white-space: nowrap; }
@media (max-width: 560px) { .pkg-cta { flex-direction: column; align-items: stretch; } .pkg-cta .btn { width: 100%; justify-content: center; } }
.pkg .pkg-go { min-height: 52px; font-size: 1rem; }
body:has(.sheet-back) .toast { bottom: auto !important; top: calc(16px + env(safe-area-inset-top, 0px)); }   /* never cover a pop-up's buttons */
/* Plan form: the essentials first, everything else folded */
.wizard details.more { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; background: var(--surface); }
.wizard details.more > summary { cursor: pointer; font-weight: 500; }
.pkg-area { margin: 0; color: var(--muted); } .pkg-area b { color: var(--ink); font-weight: 600; }

/* Guided booking package: Create, Choose, Book, Done */
.pkg-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 4px; padding: 0; }
.pkg-steps li { flex: 1; display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.pkg-steps li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; border: 1px solid var(--line); background: var(--surface); flex: none; }
.pkg-steps li.done { color: var(--ink); border-top-color: var(--champagne); }
.pkg-steps li.done span { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.pkg-steps li.on { color: var(--ink); font-weight: 600; border-top-color: var(--ink); }
.pkg-steps li.on span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pkg-guide { margin: 0; color: var(--text); }
.pkg-next { border: 1px solid var(--champagne); border-radius: var(--r-md); padding: 16px; display: grid; gap: 12px; background: var(--surface); }
.pkg-next h3 { margin: 0; }
.pkg-next .eyebrow { margin: 0; }
.pkg-next .howto { grid-template-columns: 1fr; }
.pkg-all summary { cursor: pointer; font-weight: 500; color: var(--ink); padding: 8px 0; min-height: 40px; display: flex; align-items: center; }
.pkg-all .pkg-rows { margin-top: 8px; }
@media (max-width: 560px) { .pkg-steps li { flex-direction: column; align-items: flex-start; gap: 4px; font-size: .72rem; } }

/* Formal invitation card */
.invite-card .in { padding: 18px; }
.inv-frame { position: relative; border: 1px solid var(--inv-accent, var(--champagne)); outline: 1px solid var(--inv-accent, var(--champagne)); outline-offset: -7px; padding: 40px 22px 34px; display: grid; gap: 6px; justify-items: center; background: linear-gradient(180deg, var(--surface), var(--surface) 70%, color-mix(in srgb, var(--inv-accent, #C9A86A) 6%, var(--surface))); }
.inv-frame p { margin: 0; max-width: 34ch; text-wrap: balance; }
.inv-mono { font-family: var(--display); font-size: 1.05rem; letter-spacing: .12em; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--inv-accent, var(--champagne)); display: grid; place-items: center; color: var(--ink); margin-bottom: 12px; }
.inv-orn { font-size: 1.4rem; color: var(--inv-accent, var(--champagne)); margin-bottom: 8px; }
.inv-pre { font-family: var(--display); font-style: italic; color: var(--muted); font-size: 1.05rem; }
.inv-name { font-family: var(--display); font-size: clamp(2rem, 7.5vw, 2.9rem); line-height: 1.1; color: var(--ink); margin: 10px 0 !important; }
.inv-body { font-size: 1rem; color: var(--text); }
.inv-when { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--ink); }
.inv-when:first-of-type, .inv-name + .inv-when, .inv-body + .inv-when { margin-top: 16px !important; }
.inv-where { font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-top: 10px !important; }
.inv-note { font-style: italic; color: var(--muted); margin-top: 8px !important; }
.inv-dress { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--muted); margin-top: 14px !important; }
.inv-rsvp { font-size: .85rem; color: var(--muted); margin-top: 4px !important; }
.inv-frame > div:last-child:not(.inv-mono):not(.inv-orn) { margin-top: 16px; }
.inv-edit summary { cursor: pointer; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; min-height: 36px; }
.inv-own summary { cursor: pointer; color: var(--gold-text); min-height: 36px; display: flex; align-items: center; }
.keep-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 2px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.guest-promo { display: flex; gap: 14px; align-items: flex-start; text-align: left; border-color: var(--champagne); }
.guest-promo img { border-radius: 10px; flex: none; }
.guest-promo b { font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.guest-promo p { margin: 4px 0 10px; }
.culture-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.culture-card { display: grid; gap: 8px; align-content: start; border-top: 3px solid var(--champagne); }
.culture-card h3 { margin: 0; }
.culture-card p { margin: 0; }
.culture-card .inv-orn { margin: 0; font-size: 1.2rem; }
@media (max-width: 760px) { .culture-cards { grid-template-columns: 1fr; } }

/* Packages side by side */
.pkg-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.pkg-cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 560px; }
.pkg-cmp th, .pkg-cmp td { padding: 12px 10px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); background: var(--surface); }
.pkg-cmp thead th { position: sticky; top: 0; z-index: 2; border-bottom: 2px solid var(--champagne); }
.pkg-cmp th[scope=row], .pkg-cmp .pk-corner { position: sticky; left: 0; z-index: 1; min-width: 132px; max-width: 160px; box-shadow: 1px 0 0 var(--line); }
.pkg-cmp .pk-corner { z-index: 3; }
.pkg-cmp td { min-width: 170px; }
.pkg-cmp td > b, .pkg-cmp td > span { display: block; }
.pkg-cmp .pk-colh { display: table-cell; }
.pk-coln { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.pkg-cmp .pk-colh .btn { margin-right: 6px; }
.pk-addcol { background: color-mix(in srgb, var(--champagne) 8%, var(--surface)) !important; }
.pk-addcol span.small { display: block; margin-top: 6px; }
.pk-rh { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.pk-x { border: 1px solid var(--line); background: var(--surface); color: var(--muted); width: 28px; height: 28px; border-radius: 50%; flex: none; cursor: pointer; font-size: 1rem; line-height: 1; display: grid; place-items: center; }
.pk-x:hover { color: var(--bad); border-color: currentColor; }
.pk-cell-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pkg-cmp .pk-swaprow td { padding: 0; border-bottom: 0; }
.pkg-cmp .pk-swaprow .pk-swap:not(:empty) { padding: 10px; border-bottom: 1px solid var(--line); }
.pkg-cmp .pk-swaprow td { position: sticky; left: 0; }
main .pkg-cmp th, main .pkg-cmp td, main .pkg-cmp b, main .pkg-cmp span { overflow-wrap: break-word; word-break: normal; }
/* Phones: every package side by side under each item's title row */
@media (max-width: 640px) {
  .pkg-cmp { min-width: 0; }
  .pkg-cmp thead tr, .pkg-cmp tbody tr[data-pkrow] { display: grid; grid-template-columns: repeat(var(--pkn), minmax(0, 1fr)); }
  .pkg-cmp .pk-corner { display: none; }
  .pkg-cmp thead th { position: static; padding: 8px 6px; }
  .pkg-cmp .pk-colh .btn { padding: 6px 12px; margin: 0 0 4px; }
  .pkg-cmp .pk-colh .link { display: block; }
  .pk-coln { font-size: .95rem; }
  .pkg-cmp th[scope=row] { grid-column: 1 / -1; position: static; min-width: 0; max-width: none; box-shadow: none; border-bottom: 0; padding: 12px 6px 2px; background: transparent; }
  .pk-rh { justify-content: flex-start; gap: 10px; align-items: center; }
  .pkg-cmp th[scope=row] > .small { display: block; }
  .pkg-cmp td { min-width: 0; padding: 6px 6px 12px; font-size: .84rem; border-left: 1px solid var(--line); }
  .pkg-cmp td:first-of-type { border-left: 0; }
  .pkg-cmp td .small.muted { font-size: .74rem; }
  .pk-cell-acts { gap: 8px; }
  .pkg-cmp .pk-swaprow, .pkg-cmp .pk-swaprow td { display: block; position: static; }
  .pk-addcol span.small { display: none; }
}
.fc-try { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.app-soon { display: flex; gap: 16px; align-items: center; border-color: var(--champagne); background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--champagne) 12%, var(--surface))); }
.app-soon img { border-radius: 14px; flex: none; box-shadow: 0 6px 18px rgba(60, 20, 45, .18); }
.app-soon b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--ink); margin: 2px 0 4px; }
.app-soon p { margin: 0; }
.app-soon .eyebrow { margin: 0; }
.fc-finish { display: flex; gap: 14px; align-items: flex-start; text-align: left; border-color: var(--champagne); background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--blush, #F2C9CF) 18%, var(--surface))); }
.fc-finish img { border-radius: 12px; flex: none; }
.fc-finish b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin: 2px 0 4px; }
.fc-finish p { margin: 0 0 10px; }
.fc-finish .eyebrow { margin: 0; }
.app-soon-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: -6px 0 18px; border: 1px solid var(--champagne); border-radius: 999px; background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--champagne) 14%, var(--surface))); font-size: .9rem; color: var(--text); }
.app-soon-bar img { border-radius: 8px; flex: none; }
.app-soon-bar b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .app-soon-bar { border-radius: 16px; font-size: .84rem; align-items: flex-start; } }
/* Package summary: the chosen package at a glance, savable booked or not */
.pkg-sum { border: 1px solid var(--gold, #C9A86A); border-radius: 14px; padding: 16px; background: var(--card, #fff); display: flex; flex-direction: column; gap: 10px; }
.pkg-sum-h h3 { margin: 2px 0; }
.pkg-sum-rows { display: flex; flex-direction: column; }
.pkg-sum-r { display: grid; grid-template-columns: 34% 1fr 7.5em; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line, rgba(0,0,0,.08)); align-items: baseline; }
.pkg-sum-c { color: var(--muted, #6b5f66); font-size: .9em; }
.pkg-sum-a { white-space: nowrap; font-size: .92em; text-align: right; }
.pkg-sum-t { display: flex; justify-content: space-between; border-top: 2px solid var(--gold, #C9A86A); padding-top: 10px; font-size: 1.05em; }
.pkg-sum-acts { gap: 8px; flex-wrap: wrap; }
.pkg-row .pk-h .pk-x { margin-left: 4px; }
@media (max-width: 560px) { .pkg-sum-r { grid-template-columns: 1fr 7.5em; } .pkg-sum-n { grid-column: 1 / -1; order: 3; margin-top: -4px; } }
.culture-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.culture-row select { flex: 1; min-width: 200px; }
.badge.rec { background: #F6EBD3; color: #6B4A12; border-color: #C9A86A; }
.rec-box { border: 1px solid var(--gold, #C9A86A); border-radius: 12px; padding: 12px; background: linear-gradient(180deg, rgba(201,168,106,.10), transparent); }
.badge.rec { white-space: nowrap; font-size: .7rem; padding: 2px 6px; letter-spacing: 0; }
.pkg-cmp .badge.rec { display: inline-block; margin: 3px 0 2px; }
@media (max-width: 560px) { .pkg-cmp .badge.rec { font-size: .6rem; padding: 1px 5px; } }
