/* Zest public site. Each vertical sets --brand and --accent from the console. */
:root {
  --ink: #17141f; --paper: #faf9fc; --white: #fff; --muted: #655f74; --line: #e3dfeb; --soft: #f1eef7;
  --good: #14774a; --warn: #9a5b00; --bad: #b3261e;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --radius: 10px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* top bar */
.top { background: var(--brand); color: var(--brand-ink); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 60px; flex-wrap: wrap; }
.logo { font: 800 1.5rem var(--display); letter-spacing: -0.04em; text-decoration: none; margin-right: auto; }
.top nav { display: flex; gap: 1.25rem; font-size: .95rem; flex-wrap: wrap; }
.top nav a { text-decoration: none; opacity: .85; padding: .25rem 0; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.preview-bar { background: #fff3c4; color: #5c4400; text-align: center; padding: .6rem 1rem; font-size: .95rem; border-bottom: 1px solid #e6cf75; }
.preview-bar a { font-weight: 600; }

/* hero */
.hero { background: var(--brand) center/cover no-repeat; color: var(--brand-ink); position: relative; isolation: isolate; }
.hero.has-img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .25), rgb(0 0 0 / .72)); }
.hero .wrap { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.6rem; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.045em; max-width: 14ch; text-wrap: balance; }
.hero .lede { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 40ch; opacity: .92; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: end; }
.fact { display: grid; gap: .1rem; }
.fact b { font: 700 1.25rem var(--display); letter-spacing: -0.01em; }
.fact span { opacity: .8; font-size: .95rem; }
.date-block { display: flex; align-items: baseline; gap: .6rem; }
.date-block .day { font: 800 clamp(3.5rem, 8vw, 5.5rem)/0.85 var(--display); letter-spacing: -0.05em; color: var(--accent); }
.date-block .mon { font: 600 1.25rem var(--display); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1.05rem var(--body); background: var(--accent); color: var(--accent-ink); padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .12s; }
.cta:hover { transform: translateY(-1px); }
.cta[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.cta.ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-actions small { opacity: .8; }

/* content rows: title on the left, content on the right */
.band { border-top: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1.5rem 4rem; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); position: sticky; top: 1rem; align-self: start; }
@media (max-width: 820px) { .band .wrap { grid-template-columns: 1fr; } .band h2 { position: static; } }
.prose p { margin: 0 0 1em; max-width: 62ch; }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; max-width: 62ch; }
.ticks li, .crosses li { padding-left: 1.9rem; position: relative; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: .1em; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font: 700 .75rem/1 var(--body); }
.ticks li::before { content: '✓'; background: color-mix(in srgb, var(--good) 14%, white); color: var(--good); }
.crosses li::before { content: '✕'; background: color-mix(in srgb, var(--bad) 12%, white); color: var(--bad); }
.plain { margin: 0; padding-left: 1.2rem; display: grid; gap: .55rem; max-width: 62ch; }
.timeline { margin: 0; display: grid; max-width: 62ch; }
.timeline > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.timeline dt { font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline dd { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; max-width: 62ch; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.venue-name { font: 700 1.3rem var(--display); margin: 0 0 .25rem; }
.map-link { display: inline-block; margin-top: .75rem; font-weight: 600; }
.refund { font-size: .92rem; color: var(--muted); max-width: 62ch; margin-top: 1rem; }

/* booking */
.book-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.1rem, 3vw, 2rem); display: grid; gap: 1.4rem; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.notice b { display: block; font: 700 1.1rem var(--display); }
.notice.soldout, .notice.closed { background: #fdeceb; border-color: #f2c4c0; }
.notice.paused { background: #fff6dd; border-color: #ecd58a; }
.choices { display: grid; gap: .75rem; border: 0; padding: 0; margin: 0; }
.choices legend, .label { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem 1rem; align-items: center; border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem; cursor: pointer; background: var(--white); }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, white); }
.choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.choice input { accent-color: var(--brand); width: 1.15rem; height: 1.15rem; }
.choice .nm { font-weight: 700; }
.choice .ds { grid-column: 2; color: var(--muted); font-size: .93rem; }
.choice .pr { font: 700 1.3rem var(--display); grid-row: 1; grid-column: 3; }
.choice .left { grid-column: 2; font-size: .85rem; color: var(--warn); font-weight: 600; }
.choice .tag { font-size: .8rem; color: var(--muted); font-weight: 500; }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field small { color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid #cfc9db; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #cfc9db; border-radius: 999px; background: #fff; width: fit-content; }
.stepper button { width: 2.8rem; height: 2.8rem; border: 0; background: none; font: 600 1.4rem var(--body); cursor: pointer; border-radius: 50%; }
.stepper button:hover { background: var(--soft); }
.stepper input { width: 3rem; text-align: center; border: 0; font: 700 1.15rem var(--body); background: none; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.consent input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--brand); }
.total-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.total-row .amt { font: 800 2rem var(--display); letter-spacing: -0.03em; }
.total-row .amt small { display: block; font: 400 .85rem var(--body); color: var(--muted); letter-spacing: 0; }
.form-error { color: var(--bad); background: #fdeceb; border: 1px solid #f2c4c0; padding: .75rem 1rem; border-radius: 8px; display: none; }
.form-error.show { display: block; }
.round { border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); padding: 1.3rem; display: grid; gap: .8rem; }
.round + .round { margin-top: 1rem; }
.round header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.round h3 { font-size: 1.35rem; }
.round .fee { font: 800 1.5rem var(--display); }
.round p { margin: 0; color: var(--muted); }
.round details > summary { cursor: pointer; list-style: none; }
.round details > summary::-webkit-details-marker { display: none; }
.round details[open] > summary { margin-bottom: 1.2rem; }
.round form { display: grid; gap: 1.1rem; }
.pill { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--soft); }
.pill.good { background: #def3e8; color: var(--good); } .pill.bad { background: #fdeceb; color: var(--bad); }
.pill.wait { background: #eceaf3; color: #4a4560; } .pill.action { background: #ffe9c2; color: #6f4300; } .pill.warn { background: #fff1c9; color: var(--warn); }

/* vertical / home cards */
.listing { padding: 3rem 0 4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.vcard { display: grid; gap: .6rem; padding: 1.6rem; border-radius: 16px; text-decoration: none; background: var(--brand); color: var(--brand-ink); min-height: 220px; align-content: end; }
.vcard h2, .vcard h3 { font-size: 1.8rem; } .vcard p { margin: 0; opacity: .85; }
.vcard .go { font-weight: 700; color: var(--accent); }
.page-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }

/* ticket page */
.doc { padding: 2.5rem 0 4rem; }
.doc .wrap { max-width: 820px; display: grid; gap: 1.6rem; }
.status-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.status-head p { color: var(--muted); margin: .5rem 0 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.panel h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.kv { display: grid; grid-template-columns: 10rem 1fr; gap: .5rem 1rem; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; word-break: break-word; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: .7rem; } }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.ticket { border: 2px dashed #c9c2d8; border-radius: 14px; padding: 1.1rem; display: grid; gap: .6rem; justify-items: center; text-align: center; background: #fff; break-inside: avoid; }
.ticket img { width: 200px; height: 200px; }
.ticket .code { font: 700 1.1rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
.ticket.used { opacity: .55; } .ticket.void { opacity: .4; text-decoration: line-through; }
.ticket input { text-align: center; font: inherit; padding: .5rem; border: 1.5px solid #cfc9db; border-radius: 8px; width: 100%; }
.btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font: 600 .98rem var(--body); cursor: pointer; text-decoration: none; color: var(--ink); }
.btn.solid { background: var(--ink); color: #fff; }
.row-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.timeline-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.step { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border: 0; }
.step h3 { font-size: 1.15rem; } .step p { grid-column: 1 / -1; margin: 0; color: var(--muted); }

/* footer */
.foot { background: var(--ink); color: #d9d4e6; padding: 2.2rem 0; margin-top: 2rem; font-size: .95rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: #fff; }
.testbanner { background: #1d1b26; color: #ffd98a; font-size: .85rem; text-align: center; padding: .35rem; }

/* receipt + print */
.receipt { background: #fff; max-width: 640px; margin: 2rem auto; padding: 2rem; border: 1px solid var(--line); }
.receipt table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.receipt td, .receipt th { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.receipt td:last-child, .receipt th:last-child { text-align: right; }
@media print { .top, .foot, .no-print, .preview-bar, .testbanner { display: none !important; } body { background: #fff; } .panel, .receipt { border: 0; } }
[hidden] { display: none !important; }

/* compact top bar on phones */
@media (max-width: 640px) {
  .top .wrap { gap: .2rem 1rem; padding: .55rem 0; }
  .top nav { gap: .2rem 1rem; font-size: .9rem; }
  .logo { font-size: 1.3rem; }
}
