/* Three looks, one flow. Fonts are the brand's own (matched from their Canva posts). */
:root { --body: 'Glacial Indifference', 'Questrial', system-ui, sans-serif; --gothic: 'League Gothic', 'Oswald', sans-serif; --serif: 'Libre Baskerville', Georgia, serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: #2a2926; color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Demo bar */
.demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #0d0d0c; color: #f3f1ec; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 14px; padding-top: max(8px, env(safe-area-inset-top)); font-size: 12px; letter-spacing: .4px; }
.demo-bar .warn { display: flex; align-items: baseline; gap: 8px; min-width: 240px; flex: 1 1 260px; line-height: 1.35; }
.demo-bar .warn b { color: #e0b56a; letter-spacing: 1.4px; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.demo-bar .warn span { color: #bdb8ae; }
.vswitch { display: flex; background: #262523; border-radius: 999px; padding: 3px; flex: 0 0 auto; }
.vswitch button { padding: 7px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #cfcac0; white-space: nowrap; }
.vswitch button[aria-pressed="true"] { background: #f3f1ec; color: #141414; font-weight: 700; }

/* Layout: phone-width app; on desktop a framed device with notes beside it */
.stage { min-height: 100%; padding-top: var(--demo-h, 50px); display: flex; justify-content: center; gap: 56px; }
.about { display: none; }
.device { width: 100%; max-width: 440px; }
.app { position: relative; min-height: calc(100dvh - var(--demo-h, 50px)); background: var(--bg); overflow-x: hidden; transition: background .25s; }
@media (min-width: 980px) {
  .stage { align-items: flex-start; padding: 84px 40px 60px; }
  .about { display: block; width: 340px; color: #f3f1ec; position: sticky; top: 84px; }
  .about h1 { font-family: var(--gothic); font-weight: 400; font-size: 58px; line-height: .92; text-transform: uppercase; letter-spacing: .5px; }
  .about .vname { margin-top: 22px; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: #e0b56a; }
  .about h2 { font-family: var(--gothic); font-weight: 400; font-size: 34px; text-transform: uppercase; margin-top: 4px; }
  .about p, .about li { font-size: 15px; line-height: 1.55; color: #cfcac0; }
  .about p { margin-top: 10px; }
  .about ul { margin-top: 14px; padding-left: 18px; }
  .about li { margin-bottom: 6px; }
  .about .small { margin-top: 22px; font-size: 13px; color: #8d887e; }
  .device { width: 400px; flex: 0 0 auto; }
  .app { height: 820px; min-height: 0; border-radius: 44px; overflow-y: auto; overflow-x: hidden; box-shadow: 0 0 0 10px #0c0c0b, 0 30px 60px rgba(0,0,0,.45); scrollbar-width: none; }
  .app::-webkit-scrollbar { display: none; }
}

.screen { display: none; padding-bottom: 130px; animation: in .28s ease both; }
.screen.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }

.h-display { font-family: var(--display); font-weight: 400; text-transform: var(--display-case); letter-spacing: var(--display-track); line-height: .95; }
.h-display em { font-style: normal; }
.eyebrow { font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--mute); }
.serif-note { font-family: var(--serif); font-size: 11px; color: var(--ink-2); font-style: italic; }

.btn { text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: var(--btn-radius); background: var(--btn); color: var(--on-btn); font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; width: 100%; padding: 0 20px; }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled] { opacity: .35; cursor: not-allowed; }

/* Top of the app */
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; position: relative; z-index: 3; }
.appbar .lang { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); }
.back { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); min-height: 44px; }
.back svg { width: 18px; height: 18px; }
.steps { display: flex; gap: 6px; padding: 0 20px; }
.steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); display: block; }
.steps i.on { background: var(--ink); }
.step-title { padding: 18px 20px 4px; }
.step-title h2 { font-size: calc(46px * var(--display-scale) + (1 - var(--display-scale)) * 20px); margin-top: 6px; }

/* Home */
.hero { position: relative; }
.hero-copy { padding: 18px 22px 0; }
.hero-copy h1 { font-size: calc(50px * var(--display-scale) + (1 - var(--display-scale)) * 22px); }
.hero-copy p { margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 320px; }
.hero-photo { margin: 18px 10px 0; height: 330px; border-radius: calc(var(--radius) + 10px); background: url(img/booth-wedding.jpg) 50% 40%/cover; }
.date-card { position: relative; margin: -70px 14px 0; background: var(--surface); border-radius: calc(var(--radius) + 2px); padding: 18px 16px 16px; box-shadow: 0 10px 30px rgba(20,20,20,.14); }
.date-card .q { font-family: var(--display); text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: calc(30px * var(--display-scale) + (1 - var(--display-scale)) * 14px); }
.daystrip { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.daystrip::-webkit-scrollbar { display: none; }
.dchip { flex: 0 0 58px; min-height: 76px; border-radius: 14px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; scroll-snap-align: start; }
.dchip small { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mute); }
.dchip b { font-size: 21px; font-weight: 700; }
.dchip.on { background: var(--ink); color: var(--bg); }
.dchip.on small { color: var(--bg); opacity: .75; }
.dchip.soon { opacity: .4; }
.dchip.full b, .dchip.closed b { text-decoration: line-through; color: var(--mute); }
.marks { display: flex; gap: 3px; height: 6px; margin-top: 3px; }
.marks i { width: 6px; height: 6px; border-radius: 50%; display: block; background: currentColor; }
.marks i.f { background: transparent; box-shadow: inset 0 0 0 1.2px currentColor; }
.avail { margin-top: 12px; font-size: 14.5px; line-height: 1.45; min-height: 42px; color: var(--ink-2); }
.avail b { color: var(--ink); }
.date-card .btn { margin-top: 12px; }
.linkish { display: block; margin: 10px auto 0; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; min-height: 36px; }
.home-more { padding: 30px 20px 0; }
.home-more h3 { font-size: calc(32px * var(--display-scale) + (1 - var(--display-scale)) * 14px); }
.peek { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin-top: 14px; }
.peek div { border-radius: var(--radius); background-size: cover; background-position: center; }
.peek .a { grid-row: span 2; height: 248px; }
.peek .b, .peek .c { height: 120px; }

/* Calendar */
.cal { margin: 14px 14px 0; background: var(--surface); border-radius: calc(var(--radius) + 2px); padding: 14px 12px 10px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 10px; }
.cal-head b { font-family: var(--display); font-weight: 400; text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: calc(28px * var(--display-scale) + (1 - var(--display-scale)) * 14px); }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 44px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); }
.cal-nav button[disabled] { color: var(--line); cursor: default; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.dow { font-size: 10.5px; letter-spacing: 1.3px; color: var(--mute); text-transform: uppercase; padding-bottom: 6px; }
.days > button, .days > span { height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; border-radius: 12px; }
.days .past, .days .soon { color: var(--line); cursor: default; }
.days .full, .days .closed { color: var(--mute); text-decoration: line-through; cursor: default; }
.days .sel { background: var(--ink); color: var(--bg); }
.legend { display: flex; gap: 12px; padding: 10px 4px 2px; font-size: 11.5px; color: var(--ink-2); flex-wrap: wrap; }
.legend span { display: inline-flex; gap: 5px; align-items: center; }
.dayinfo { margin: 14px 20px 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); min-height: 20px; }
.times { padding: 10px 20px 0; }
.trow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tchip { min-height: 58px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 15px; }
.tchip small { font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--mute); margin-top: 2px; }
.tchip.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.tchip.on small { color: var(--bg); opacity: .75; }
.tchip[disabled] { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); text-decoration: line-through; cursor: default; }
.hint { margin: 14px 20px 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); display: flex; gap: 10px; }
.hint svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }

/* Catalog */
.cards { padding: 14px 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; position: relative; text-align: left; display: flex; flex-direction: column; }
.card.wide { grid-column: 1 / -1; }
.card .ph { height: 140px; background-size: cover; background-position: center; }
.card.wide .ph { height: 200px; }
.card .bd { padding: 12px 14px 16px; padding-right: 56px; }
.card h3 { font-family: var(--display); font-weight: 400; text-transform: var(--display-case); letter-spacing: var(--display-track); font-size: calc(26px * var(--display-scale) + (1 - var(--display-scale)) * 13px); line-height: 1; }
.card .price { margin-top: 6px; font-size: 14px; }
.card .price b { font-size: 16px; }
.card ul { list-style: none; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.card ul li::before { content: '\2014'; margin-right: 6px; color: var(--mute); }
.card .add { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 22px; line-height: 1; }
.card[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--ink); }
.card[aria-pressed="true"] .add { background: var(--accent); color: var(--on-accent); }
.card .tag { position: absolute; top: 12px; left: 12px; background: #fff; color: #141414; border-radius: 999px; padding: 5px 10px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

/* Extras */
.section-lbl { padding: 20px 20px 8px; }
.rowlist { margin: 0 14px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.xrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--surface-2); min-height: 76px; }
.xrow:last-child { border-bottom: 0; }
.xrow .th { width: 52px; height: 52px; border-radius: 12px; background-size: cover; background-position: center; flex: 0 0 auto; }
.xrow .tx { flex: 1; min-width: 0; }
.xrow .tx b { display: block; font-size: 15px; }
.xrow .tx small { font-size: 12.5px; color: var(--mute); }
.xrow .season { display: block; margin-top: 3px; font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; color: #b4483c; }
.switch { width: 50px; height: 30px; border-radius: 999px; background: var(--surface-2); position: relative; flex: 0 0 auto; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { left: 24px; }
.stepper { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; font-size: 18px; }
.stepper button[disabled] { opacity: .3; }
.stepper b { min-width: 16px; text-align: center; }
.empty-note { margin: 0 20px; font-size: 13.5px; color: var(--mute); }
.zones { margin: 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zone { background: var(--surface); border-radius: calc(var(--radius) - 4px); padding: 12px 14px; font-size: 14.5px; text-align: left; min-height: 64px; }
.zone small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }
.zone[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }

/* Summary: shared */
.sum-wrap { display: flex; justify-content: center; padding: 14px 0 0; }
.fields { padding: 20px 16px 0; display: grid; gap: 8px; }
.field { background: var(--surface); border-radius: calc(var(--radius) - 6px); padding: 8px 14px; display: block; }
.field small { display: block; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); }
.field input { width: 100%; border: 0; background: transparent; font-size: 16px; padding: 4px 0 2px; outline: none; }
.wa-btn { margin: 12px 16px 0; width: calc(100% - 32px); }
.fine { margin: 10px 24px 0; font-size: 12px; line-height: 1.45; color: var(--ink-2); text-align: center; }

/* Sent */
.sent-head { padding: 22px 20px 0; }
.sent-head h2 { font-size: calc(44px * var(--display-scale) + (1 - var(--display-scale)) * 20px); }
.codebox { margin: 16px 16px 0; background: var(--surface); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.codebox small { display: block; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); }
.codebox b { font-size: 26px; letter-spacing: 3px; }
.codebox button { min-height: 44px; padding: 0 14px; border-radius: var(--btn-radius); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.wa-preview { margin: 16px 16px 0; background: #efeae2; border-radius: var(--radius); padding: 14px 10px 16px; }
.wa-preview .who { font-family: var(--body); font-size: 12px; color: #667; margin: 0 6px 8px; }
.bubble { margin-left: 34px; background: #d9fdd3; color: #111; border-radius: 10px 2px 10px 10px; padding: 9px 11px 12px; font-family: var(--body); font-size: 13.5px; line-height: 1.42; white-space: pre-line; }
.next-steps { margin: 18px 22px 0; display: grid; gap: 10px; }
.next-steps div { display: flex; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.next-steps i { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-style: normal; font-size: 12px; display: grid; place-items: center; font-weight: 700; }

/* Sticky total */
.bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 440px; z-index: 20; background: var(--bar); color: var(--on-bar); padding: 12px 16px; padding-bottom: max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; border-radius: 24px 24px 0 0; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
@media (min-width: 980px) { .bar { position: sticky; left: auto; transform: none; bottom: 0; width: auto; max-width: none; } }
.bar[hidden] { display: none; }
.bar .ms { width: 22px; height: 46px; background: #fff; border-radius: 3px; padding: 3px; display: grid; gap: 2px; grid-template-rows: repeat(4, 1fr); flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.bar .ms i { background: #3a3936; border-radius: 1px; display: block; }
.bar .ms i.on { background: #e0b56a; }
.bar .sum { flex: 1; min-width: 0; }
.bar .sum b { display: block; font-family: var(--gothic); font-size: 26px; font-weight: 400; letter-spacing: .4px; line-height: 1.05; }
.bar .sum small { display: block; font-size: 11.5px; letter-spacing: 1.2px; color: var(--bar-mute); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .go { min-height: 48px; padding: 0 18px; border-radius: var(--btn-radius); background: var(--on-bar); color: var(--bar); font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.bar .go[disabled] { opacity: .35; cursor: not-allowed; }
.bar .go svg { width: 16px; height: 16px; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: #141414; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; z-index: 60; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.on { opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shell additions */
.vswitch { margin-left: auto; }
.appbar .lang { min-height: 44px; padding: 0 4px; }
.appbar .lang span { opacity: .55; }
.appbar .lang span.on { opacity: 1; font-weight: 700; }
.logo { height: 34px; display: block; }
.logo-sm { height: 24px; }
.serif-note { margin-top: 4px; }
.sent-actions { padding: 14px 16px 0; display: grid; gap: 8px; }
.legend s { color: var(--mute); }
@media (max-width: 520px) { .vswitch { width: 100%; } .vswitch button { flex: 1; } }

/* Shared fixes after the option passes */
.field:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.screen[data-screen="home"], .screen[data-screen="sent"] { padding-bottom: 48px; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
