/* ticket-catraca identity layers — loaded by base.html right after app.css and read by the ui-classes-defined gate
   together with it. Section 12 (boutique identity), 13 (editorial depth) and 14 (the platform page) refine the component
   contract of app.css with the same class names; nothing here defines a new component family.
   Reference: docs/reference/design-system.md. */

/* ---------- 12. Boutique identity: warm paper, ink, a brass accent and serif display type ----------
   A theme layer over the component contract above: same class names, refined values. Brand colours still come
   from platform settings through base.html; these are the defaults of the house. */
:root {
  --brand-gold: #b48a4a; --brand-gold-soft: color-mix(in srgb, var(--brand-gold) 14%, white); --brand-gold-text: #7a5a24;
  --ink-900: #1a1917; --ink-800: #2b2926; --ink-700: #423e39; --ink-600: #5e5850; --ink-500: #7d766c; --ink-400: #a69e92; --ink-300: #cdc5b8;
  --line: #e7e0d4; --line-strong: #d6cbb9; --line-soft: #f1ece3;
  --surface: #fffdf9; --surface-2: #f6f2ea; --surface-3: #eee8dd; --canvas: #f5f1ea;
  --radius-sm: .5rem; --radius: .875rem; --radius-lg: 1.25rem;
  --shadow-xs: 0 1px 1px rgba(40, 32, 20, .04);
  --shadow-sm: 0 1px 2px rgba(40, 32, 20, .06);
  --shadow: 0 6px 18px rgba(40, 32, 20, .08), 0 1px 2px rgba(40, 32, 20, .05);
  --shadow-lg: 0 18px 44px rgba(40, 32, 20, .14), 0 2px 6px rgba(40, 32, 20, .06);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
}
::selection { background: var(--brand-gold-soft); }
main a:not([class]) { color: inherit; text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }
.event-hero-cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.page-title, .section-title, .hero-title, .banner-title, .card-title, .event-title, .empty-title, .brand-name, .home-intro-title,
.feature-title, .ticket-title, .pass-title, .wallet-hero .page-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 40; }
.page-title { font-size: 1.75rem; line-height: 1.15; }
@media (min-width: 640px) { .page-title { font-size: 2.125rem; } }
.section-title { font-size: 1.25rem; }
.eyebrow { font-size: .66rem; letter-spacing: .16em; color: var(--brand-gold-text); }
.link { color: var(--ink-900); text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }
.link:hover { color: var(--brand-gold-text); }

/* controls: pills, ink and outline */
.btn, .btn-sm, .btn-lg { border-radius: var(--radius-full); letter-spacing: .01em; }
.btn-primary { box-shadow: none; }
.btn-primary:hover:not(:disabled) { background: var(--brand-gold); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink-900); border-color: var(--ink-900); box-shadow: none; }
.btn-secondary:hover:not(:disabled) { background: var(--ink-900); color: var(--surface); border-color: var(--ink-900); }
.btn-soft { background: var(--brand-gold-soft); color: var(--brand-gold-text); }
.btn-soft:hover:not(:disabled) { background: var(--brand-gold); color: #fff; }
.btn-link { color: var(--ink-900); text-decoration-color: var(--brand-gold); }
.input, .select, .textarea { border-radius: .625rem; box-shadow: none; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink-900); box-shadow: 0 0 0 3px var(--brand-gold-soft); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink-900); }
.card { box-shadow: none; }
a.card:hover, .card-link:hover { border-color: var(--brand-gold); box-shadow: var(--shadow); }
.card-accent { border-top: 2px solid var(--brand-gold); }
.stripe { border-left-color: var(--brand-gold); }
.stat-accent { border-top-color: var(--brand-gold); }
.stat .value { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.badge-brand { background: var(--brand-gold-soft); color: var(--brand-gold-text); }
.empty-icon { background: var(--brand-gold-soft); color: var(--brand-gold-text); }
.panel-brand { background: var(--brand-gold-soft); border-color: color-mix(in srgb, var(--brand-gold) 35%, white); }
.hero { background: var(--surface); }
.cover-placeholder { background: linear-gradient(135deg, var(--ink-800), var(--brand-gold)); }

/* navigation */
.topbar { background: rgba(245, 241, 234, .92); }
/* operations chrome (gate, box office, bar): ink header with a brass rule; the mark rings in brass, buttons in paper */
.topbar-dark { background: var(--ink-900); border-bottom: 2px solid var(--brand-gold); color: var(--surface); }
.topbar-dark .brand, .topbar-dark .brand-name { color: var(--surface); }
.topbar-dark .brand-mark { background: transparent; color: var(--brand-gold); border: 1px solid var(--brand-gold); border-radius: var(--radius-full); }
.topbar-dark .btn-secondary { background: transparent; color: var(--surface); border-color: rgba(255, 255, 255, .38); }
.topbar-dark .btn-secondary:hover:not(:disabled) { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--ink-900); }
.topbar-dark .btn-ghost { color: rgba(255, 255, 255, .85); }
.topbar-dark .btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .1); color: #fff; }
.topbar-dark .avatar { background: var(--brand-gold); color: var(--ink-900); }
/* bar screen (F&B): a point-of-sale rhythm for phones — big reader, credential card, product cards with steppers, sticky summary */
.point-card { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem; text-decoration: none; color: inherit; }
.point-card:hover { border-color: var(--brand-gold); box-shadow: var(--shadow); }
.point-card-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.pos-reader { display: flex; gap: .5rem; }
.pos-reader .input { font-size: 1.05rem; min-height: var(--control-h-lg); letter-spacing: .08em; }
.bar-ticket { border: 1px solid var(--line); border-left: 4px solid var(--brand-gold); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.1rem; }
.bar-ticket-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.15; overflow-wrap: anywhere; }
.bar-benefit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.bar-benefit:first-child { border-top: 0; }
.bar-benefit-name { font-weight: 600; }
.pos-grid { display: grid; gap: .625rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pos-item { display: flex; flex-direction: column; gap: .5rem; padding: .8rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.pos-item.is-on { border-color: var(--brand-gold); box-shadow: var(--shadow); }
.pos-item-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.pos-item-meta { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); }
.pos-item-price { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-full); overflow: hidden; background: var(--surface); }
.stepper button { width: 2.6rem; min-height: 2.6rem; border: 0; background: transparent; color: var(--ink-900); font-size: 1.25rem; font-weight: 600; cursor: pointer; line-height: 1; }
.stepper button:hover { background: var(--surface-3); }
.stepper input { width: 2.6rem; border: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pos-bar { position: sticky; bottom: 0; z-index: 20; background: var(--ink-900); color: var(--surface); border-top: 2px solid var(--brand-gold); padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); margin: 1rem calc(-1 * var(--gutter)) 0; }
@media (min-width: 640px) { .pos-bar { border-radius: var(--radius); margin-inline: 0; padding-inline: 1.1rem; } }
.pos-bar .eyebrow { color: var(--brand-gold); }
.pos-total { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.pos-bar .label { color: rgba(255, 255, 255, .75); }
.pos-bar .select, .pos-bar .input { background-color: rgba(255, 255, 255, .08); color: var(--surface); border-color: rgba(255, 255, 255, .28); }
.pos-bar .input::placeholder { color: rgba(255, 255, 255, .45); }
.pos-bar .btn-primary { background: var(--surface); color: var(--ink-900); }
.pos-bar .btn-primary:hover:not(:disabled) { background: var(--brand-gold); color: var(--ink-900); }
.bar-receipt { border: 1px solid var(--ok-line); background: var(--ok-soft); border-radius: var(--radius); padding: 1rem 1.1rem; }
.bar-receipt.is-voided { border-color: var(--danger-line); background: var(--danger-soft); }
.bar-receipt-total { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.brand { color: var(--ink-900); }
.brand-name { font-size: 1.25rem; }
.brand-mark { background: var(--ink-900); color: var(--surface); }
.nav-top { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--ink-600); border-radius: 0; padding: .55rem .65rem; }
.nav-top:hover { background: transparent; color: var(--ink-900); }
.nav-top.active, .nav-top[aria-current="page"] { background: transparent; color: var(--ink-900); box-shadow: inset 0 -2px 0 var(--brand-gold); }
.avatar { background: var(--ink-900); color: var(--surface); }
.tab.active, .tab[aria-current="page"] { color: var(--ink-900); border-bottom-color: var(--brand-gold); }
.tabs-pills .tab.active, .tabs-pills .tab[aria-current="page"] { background: var(--ink-900); border-color: var(--ink-900); }
.menu-item.active, .menu-item[aria-current="page"] { background: var(--brand-gold-soft); color: var(--brand-gold-text); }
.nav-link.active { box-shadow: inset 3px 0 0 var(--brand-gold); }

/* home */
.hero-brand { background: var(--ink-900); color: var(--surface); }
.hero-brand::before { background-image: none; }
.hero-brand::after { background: radial-gradient(circle, rgba(180, 138, 74, .42), transparent 62%); }
.hero-kicker { color: var(--brand-gold); letter-spacing: .22em; font-size: .68rem; }
.hero-title { font-weight: 500; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.hero-subtitle { color: rgba(255, 255, 255, .72); }
.search-card { box-shadow: var(--shadow); }
.has-banners .search-card { box-shadow: none; }
.banner-title { font-weight: 500; font-variation-settings: "opsz" 144; }
.chip { background: transparent; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 600; color: var(--ink-600); padding: .45rem .95rem; }
.chip:hover { border-color: var(--brand-gold); color: var(--ink-900); }
.chip.active { background: var(--ink-900); border-color: var(--ink-900); color: var(--surface); }
.home-intro-title { font-size: 1.75rem; font-weight: 500; }
.section-head { border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: 1.1rem; }
.section-head .section-title { font-size: 1.6rem; font-weight: 500; }
.event-card { box-shadow: none; }
.event-card:hover { transform: none; border-color: var(--brand-gold); box-shadow: var(--shadow); }
.event-cover { border-bottom: 1px solid var(--line); }
.event-title { font-size: 1.2rem; line-height: 1.25; }
.event-meta { font-size: .8125rem; color: var(--ink-500); }
.event-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.event-price small { display: block; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; font-weight: 600; color: var(--ink-500); }
.event-link { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-gold); }
.date-chip { background: var(--surface); border-radius: .5rem; box-shadow: var(--shadow-sm); }
.date-chip strong { font-weight: 600; }
.features { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; gap: 1.5rem; }
.feature { background: transparent; border: 0; padding: 0; }
.feature-icon { background: transparent; border: 1px solid var(--brand-gold); color: var(--brand-gold-text); border-radius: var(--radius-full); }
.feature-title { font-size: 1.1rem; }
.organizer-cta { background: var(--surface); border: 1px solid var(--line); }
.site-footer { background: var(--ink-900); border-top: 3px solid var(--brand-gold); color: rgba(255, 255, 255, .7); }
.site-footer .brand { color: var(--surface); }
.footer-title { color: var(--brand-gold); letter-spacing: .18em; }

/* wallet and credential follow the house */
.wallet-hero { background: linear-gradient(135deg, var(--ink-900), var(--ink-700)); box-shadow: none; }
.wallet-hero .eyebrow { color: var(--brand-gold); }
.wallet-hero::after { content: ""; position: absolute; right: -10%; top: -60%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(180, 138, 74, .35), transparent 62%); pointer-events: none; }
.wallet-hero { position: relative; overflow: hidden; }
.wallet-hero > * { position: relative; }
.ticket-cta { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-gold); }
.ticket-date strong, .pass-code { font-weight: 600; }
.pass-seat { background: var(--surface-2); border-color: var(--line); }
.pass-seat .ticket-seat { color: var(--ink-900); }
.pass-cover .eyebrow, .ticket-cover .eyebrow { color: var(--brand-gold); }

/* ---------- 13. Editorial depth: grain, monogram, magazine hero, poster cards, numerals, personal touches ----------
   The second layer of the boutique identity. Everything here refines the values of the rules above; markup keeps
   the same class names and gains a few editorial elements (kicker, greeting, ornament rule, assurances). */
:root {
  --focus-ring: var(--brand-gold);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .05 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
body { background-color: var(--canvas); background-image: var(--grain); }
@media print { body { background-image: none; } }
.topbar { border-bottom: 1px solid var(--line-strong); box-shadow: 0 1px 0 rgba(180, 138, 74, .18); }
.topbar-inner { min-height: 4.25rem; }
.brand-mark { background: transparent; color: var(--ink-900); border: 1.5px solid var(--brand-gold); border-radius: 50%; font-style: italic; font-weight: 500; font-size: 1.05rem; -webkit-mask: none; mask: none; }
.brand-name { letter-spacing: -.01em; }
.rule-ornament { display: flex; align-items: center; gap: 1rem; color: var(--brand-gold); font-size: .8rem; margin: 3rem 0 2rem; }
.rule-ornament::before, .rule-ornament::after { content: ""; flex: 1; border-top: 1px solid var(--line-strong); }
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal]:nth-child(3n+2) { transition-delay: .08s; }
.js [data-reveal]:nth-child(3n+3) { transition-delay: .16s; }

/* home: the image is the hero — a full-bleed slide inside a brass hairline, ink at the foot, serif title, paper
   pill, a slide counter in the display face; the picture drifts slowly while its slide is on */
.banners { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-accent); aspect-ratio: 4 / 3; outline: 1px solid var(--brand-gold); outline-offset: 5px; touch-action: pan-y; }
@media (min-width: 640px) { .banners { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .banners { aspect-ratio: 21 / 9; max-height: 34rem; } }
.banners:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.banner-slide { position: absolute; inset: 0; }
.banner-image-link { position: absolute; inset: 0; display: block; }
.banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; animation: banner-drift 10s ease-out both; }
@keyframes banner-drift { from { transform: scale(1.03); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .banner-image { animation: none; } }
.banner-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20, 18, 28, .86) 0%, rgba(20, 18, 28, .42) 38%, rgba(20, 18, 28, 0) 68%), linear-gradient(to bottom, rgba(20, 18, 28, .28), transparent 32%); }
.banner-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.25rem 3.1rem; color: #fff; max-width: 46rem; }
@media (min-width: 640px) { .banner-content { padding: 2rem 2.5rem 3.9rem; } }
@media (min-width: 1024px) { .banner-content { padding: 2.5rem 3.25rem 4.4rem; } }
.banner-kicker { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; color: var(--brand-gold); margin-bottom: .7rem; }
.banner-title { color: #fff; font-size: clamp(1.7rem, 4.2vw, 3.5rem); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "opsz" 144; text-shadow: 0 2px 28px rgba(0, 0, 0, .35); }
.banner-subtitle { display: none; margin-top: .75rem; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.1rem; line-height: 1.4; color: rgba(255, 255, 255, .84); max-width: 32rem; }
@media (min-width: 640px) { .banner-subtitle { display: block; } }
.banner-cta { margin-top: 1.25rem; background: var(--surface); border-color: var(--surface); color: var(--ink-900); }
.banner-cta:hover { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--ink-900); }
.banner-count { position: absolute; top: 1.1rem; right: 1.35rem; font-family: var(--font-display); font-size: .9rem; letter-spacing: .1em; color: rgba(255, 255, 255, .9); font-variant-numeric: tabular-nums; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.banner-count-sep { color: var(--brand-gold); }
.banner-arrow { position: absolute; bottom: 1.5rem; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-full); background: rgba(20, 18, 28, .32); color: #fff; border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.banner-arrow:hover { background: var(--surface); color: var(--ink-900); border-color: var(--surface); }
.banner-arrow-prev { right: 4.75rem; }
.banner-arrow-next { right: 1.5rem; }
@media (min-width: 768px) { .banner-arrow { display: inline-flex; } }
.banner-dots { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .45rem; }
.banner-dot { width: .45rem; height: .45rem; border-radius: var(--radius-full); background: rgba(255, 255, 255, .5); border: 0; padding: 0; cursor: pointer; transition: width .25s, background .25s; }
.banner-dot.active { width: 1.6rem; background: var(--brand-gold); }
.has-banners .search-card { margin-top: 1.25rem; border-color: var(--line-strong); }
.search-card .label { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-500); font-weight: 600; }
.greeting { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1.5rem; margin: 1.75rem 0 .25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.greeting-title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; }
.greeting-next { font-size: .9rem; color: var(--ink-600); }
.greeting-next a { color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }
.home-intro { margin: 2rem 0 1.5rem; max-width: 52rem; }
.home-intro-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 96; }
.home-intro-text { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink-600); margin-top: .35rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ink-900); padding-bottom: .85rem; margin-bottom: 1.5rem; }
.section-head .section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; font-variation-settings: "opsz" 96; }
.section-head .eyebrow { margin-bottom: .35rem; }
.section-head .subtle { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-500); font-weight: 600; }
.section-head .link { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

/* poster cards: taller cover, printed hairline frame, quiet zoom, serif date and price */
.event-cover { aspect-ratio: 4 / 3; border-bottom: 0; }
.event-cover::after { content: ""; position: absolute; inset: .7rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 3px; pointer-events: none; z-index: 1; }
.event-card:hover .event-cover img { transform: scale(1.045); }
.event-body { padding: 1.15rem 1.25rem 1.25rem; gap: .55rem; }
.event-title { font-size: 1.32rem; font-weight: 500; line-height: 1.2; letter-spacing: -.012em; font-variation-settings: "opsz" 72; }
.event-card .event-title a { text-decoration: none; }
.event-card:hover .event-title a { text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.date-chip { top: 1rem; left: 1rem; border-radius: .35rem; padding: .5rem .6rem .45rem; min-width: 3.4rem; background: rgba(255, 253, 249, .97); z-index: 2; }
.date-chip strong { font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 96; }
.date-chip span { font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brand-gold-text); margin-top: .2rem; }
.cover-badge { top: 1rem; right: 1rem; z-index: 2; }
.event-footer { border-top: 1px dashed var(--line-strong); padding-top: .8rem; margin-top: auto; }
.features { margin-top: 0; border-top: 0; padding-top: 0; counter-reset: feature; gap: 2rem 2.5rem; }
.feature { display: block; border-top: 1px solid var(--line-strong); padding: 1.25rem 0 0; counter-increment: feature; }
.feature::before { content: counter(feature, decimal-leading-zero); display: block; font-family: var(--font-display); font-style: italic; font-size: 1.9rem; line-height: 1; color: var(--brand-gold); margin-bottom: .8rem; }
.feature-icon { display: none; }
.feature-title { font-size: 1.15rem; font-weight: 500; }
.feature-text { font-size: .875rem; line-height: 1.55; margin-top: .35rem; }
.organizer-cta { margin-top: 3rem; padding: 2rem; }

/* footer: a statement in italics, brass on hover */
.footer-grid { padding: 3.25rem 0 2.5rem; }
.footer-statement { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em; color: var(--surface); margin-top: 1.25rem; max-width: 18ch; }
.footer-links a:hover { color: var(--brand-gold); }
.site-footer .brand-mark { color: var(--surface); border-color: var(--brand-gold); }

/* the welcome: sign in and sign up as an invitation */
.auth-card { max-width: 27rem; margin: 1.5rem auto 0; padding: 2rem 1.5rem; border-top: 2px solid var(--brand-gold); }
@media (min-width: 640px) { .auth-card { padding: 2.75rem 2.75rem 2.5rem; } }
.auth-head { margin-bottom: 1.75rem; }
.auth-head .brand-mark { width: 3rem; height: 3rem; font-size: 1.5rem; margin-bottom: 1.25rem; }
.auth-head .eyebrow { margin-bottom: .4rem; }
.auth-head .page-title { font-size: 2rem; font-weight: 500; }
.auth-sub { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: var(--ink-600); margin-top: .35rem; }

/* event page: kicker, big serif title, editorial body copy, serif prices, assurances */
.event-kicker { margin-bottom: .5rem; }
.page-title-lg { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; font-variation-settings: "opsz" 120; }
.prose-editorial { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.7; color: var(--ink-800); font-variation-settings: "opsz" 18; }
.gallery-img { border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s; }
.gallery-img:hover { transform: scale(1.02); }
.aside-sub { font-family: var(--font-display); font-style: italic; color: var(--ink-600); margin-top: -.6rem; }
.price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; font-variation-settings: "opsz" 40; }
.assurances { list-style: none; margin: 0; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .78rem; color: var(--ink-600); }
.assurances li { display: flex; gap: .5rem; align-items: flex-start; }
.assurances li::before { content: "✦"; color: var(--brand-gold); flex: none; font-size: .7rem; margin-top: .15rem; }

/* checkout and wallet: the numbers that matter in serif, a personal line */
.countdown { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.summary-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.2; margin-top: .25rem; }
.wallet-greeting { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: rgba(255, 255, 255, .82); margin-top: .6rem; }
.wallet-greeting a { color: #fff; text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }

/* the mark: an inline SVG ticket (components/_brand_mark.html) — brass frame, initial in the display face */
.brand-mark-logo { width: 2.75rem; height: 1.85rem; border: 0; border-radius: 0; background: transparent; padding: 0; -webkit-mask: none; mask: none; }
.brand-mark-logo .logo { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-frame { stroke: var(--brand-gold); fill: none; }
.logo-hairline { opacity: .55; }
.logo-star { fill: var(--brand-gold); }
.logo-letter { fill: currentColor; font-family: var(--font-display); font-style: italic; font-weight: 500; }
.auth-head .brand-mark-logo { width: 4.25rem; height: 2.85rem; margin-bottom: 1.25rem; }
/* sign-up: the "check your inbox" steps (brass numerals) and the honeypot field nobody sees */
.auth-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.auth-steps li { position: relative; padding-left: 2.6rem; font-size: .9375rem; line-height: 1.45; color: var(--ink-700); counter-increment: step; min-height: 1.85rem; }
.auth-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.85rem; height: 1.85rem; border-radius: var(--radius-full); border: 1px solid var(--brand-gold); color: var(--brand-gold-text); font-family: var(--font-display); font-weight: 600; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* institutional and legal pages: a summary and an editorial body rendered from the light markup */
.page-toc { margin: 1.5rem 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.page-toc ol { margin: .5rem 0 0; padding: 0; list-style: none; columns: 1; column-gap: 2rem; font-size: .875rem; }
@media (min-width: 640px) { .page-toc ol { columns: 2; } }
.page-toc li { break-inside: avoid; padding: .2rem 0; }
.page-toc a { color: var(--ink-800); text-decoration: none; }
.page-toc a:hover { color: var(--brand-gold-text); text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }
.page-body { font-size: 1rem; line-height: 1.7; color: var(--ink-800); }
.page-body p { margin: 0 0 1rem; }
.page-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; margin: 2.25rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-900); scroll-margin-top: calc(var(--topbar-h) + 1rem); }
.page-body h2:first-child { border-top: 0; padding-top: 0; margin-top: .5rem; }
.page-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--ink-900); }
.page-body ul, .page-body ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.page-body ul { list-style: disc; }
.page-body ol { list-style: decimal; }
.page-body li { margin: .3rem 0; }
.page-body li::marker { color: var(--brand-gold-text); font-weight: 600; }
.page-body strong { color: var(--ink-900); }
.page-body a { color: inherit; text-decoration: underline; text-decoration-color: var(--brand-gold); text-underline-offset: 3px; }
.page-body .table-wrap { margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.page-body .table td { vertical-align: top; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--brand-gold); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .brand-mark-logo { color: var(--surface); }

/* public seat map: the zone strip, the marked-seat rows, the phone bar that keeps the total and the action on screen */
.zone-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.zone-chip { flex: none; scroll-snap-align: start; display: grid; gap: .1rem; text-align: left; min-width: 9.5rem; max-width: 16rem; padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink-900); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.zone-chip:hover { border-color: var(--brand-gold); }
.zone-chip[aria-pressed="true"] { border-color: var(--brand-primary); box-shadow: inset 0 0 0 1px var(--brand-primary); background: var(--brand-gold-soft); }
.zone-chip-name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.2; }
.zone-chip-meta { font-size: .75rem; color: var(--ink-600); }
.zone-card { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.seat-row { display: flex; align-items: center; gap: .5rem; }
.seat-row-label { font-family: var(--font-display); font-weight: 500; min-width: 3rem; }
.seat-row .select { flex: 1; min-width: 0; }
.map-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .6rem .6rem 1rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- 14. The platform page (public/platform.html): the pitch and its contact form ----------
   A landing rhythm over the house identity, written mobile-first: generous vertical spacing on a phone (sections
   3.25rem apart, cards 1.5rem, nothing touching), framed real screenshots, bordered cards and the ✦ lists.
   Wider screens tighten the rhythm and split the blocks into two columns. */

/* hero: copy and a framed capture with a phone over its corner */
.platform-hero { padding: 2.5rem 1.35rem 2.75rem; }
@media (min-width: 640px) { .platform-hero { padding: 3.5rem 2.5rem 3.75rem; } }
@media (min-width: 1024px) { .platform-hero { padding: 4rem 3rem 4.25rem; } }
.platform-hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }   /* above the decorative layers of .hero-brand, which would otherwise eat every tap */
@media (min-width: 1024px) { .platform-hero-grid { grid-template-columns: 1.02fr .98fr; gap: 3.5rem; } }
.platform-hero-copy { max-width: 36rem; min-width: 0; }
.platform-hero-copy .hero-subtitle { max-width: 32rem; }
.platform-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 479px) { .platform-hero-actions .btn { width: 100%; } }
.platform-hero .btn-paper { background: var(--surface); border-color: var(--surface); color: var(--ink-900); }
.platform-hero .btn-paper:hover { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--ink-900); }
.platform-hero .btn-outline-paper { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.platform-hero .btn-outline-paper:hover { border-color: var(--brand-gold); color: var(--brand-gold); }
.platform-hero .assurances { margin-top: 2.25rem; border-top-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .78); }
.platform-hero-media { position: relative; display: grid; gap: 1.75rem; justify-items: center; min-width: 0; }
.platform-hero-media .mock-phone { width: 11rem; }
@media (min-width: 1024px) {
  .platform-hero-media { display: block; }
  .platform-hero-media .mock-window { margin-right: 3.5rem; }
  .platform-hero-media .mock-phone { position: absolute; right: 0; bottom: -1.75rem; width: 8.75rem; }
}

/* the frames: a quiet window for desktop captures, an ink bezel for phone captures */
.mock-window { margin: 0; border-radius: .9rem; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -34px rgba(20, 18, 28, .6); }
.mock-window::before { content: ""; display: block; height: 1.75rem; background-color: var(--surface-2); border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at .95rem 50%, var(--line-strong) 3.5px, transparent 4px), radial-gradient(circle at 1.8rem 50%, var(--line-strong) 3.5px, transparent 4px), radial-gradient(circle at 2.65rem 50%, var(--line-strong) 3.5px, transparent 4px); }
.mock-window img { display: block; width: 100%; height: auto; }
.platform-hero .mock-window { border-color: rgba(180, 138, 74, .6); }
.mock-phone { margin: 0; padding: .35rem; border-radius: 1.5rem; background: var(--ink-900); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 26px 52px -26px rgba(20, 18, 28, .75); }
.mock-phone img { display: block; width: 100%; height: auto; border-radius: 1.2rem; }
.mock-phone-lg { width: 15.5rem; margin-inline: auto; }
@media (min-width: 640px) { .mock-phone-lg { width: 17.5rem; } }

/* the page rhythm: sections far apart, two columns only when there is room */
.platform-section { margin: 3.25rem 0; }
.platform-section-first { margin-top: 2.75rem; }
@media (min-width: 1024px) { .platform-section { margin: 4.75rem 0; } }
.platform-section .section-head { margin-bottom: 1.75rem; }
.platform-split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .platform-split { grid-template-columns: 2fr 3fr; gap: 3.25rem; align-items: start; } }
.platform-statement { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink-800); }
.platform-prose { display: grid; gap: 1.1rem; }
.platform-split .auth-steps { gap: 1.15rem; }
.platform-card-text { font-size: .9375rem; line-height: 1.6; color: var(--ink-600); }
.platform-flow { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 2rem; counter-reset: flow; }
@media (min-width: 640px) { .platform-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; } }
@media (min-width: 1024px) { .platform-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; } }
.platform-flow li { counter-increment: flow; border-top: 1px solid var(--line-strong); padding: .9rem 1.5rem 0 0; min-width: 0; }
.platform-flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--brand-gold); margin-bottom: .55rem; }
.platform-flow strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink-900); }
.platform-flow span { display: block; margin-top: .35rem; font-size: .875rem; line-height: 1.55; color: var(--ink-600); }

/* picture and text, alternating */
.platform-block { display: grid; gap: 2.25rem; align-items: center; margin: 3.5rem 0; }
@media (min-width: 1024px) { .platform-block { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; margin: 5rem 0; } }
.platform-block-media { min-width: 0; }
.platform-block-media-phone { display: flex; justify-content: center; }
@media (min-width: 1024px) { .platform-block-flip .platform-block-media { order: 2; } }
.platform-block-copy { min-width: 0; }
.platform-block-copy .section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin-top: .45rem; }
.platform-lead { margin-top: 1rem; font-size: 1rem; line-height: 1.65; color: var(--ink-600); }
.platform-block-copy .assurances { margin-top: 1.5rem; font-size: .875rem; gap: .65rem; }

/* cards with a real edge */
.platform-cards { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .platform-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.platform-modules { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .platform-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .platform-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.platform-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.5rem; min-width: 0; display: grid; gap: .6rem; align-content: start; transition: border-color .15s, box-shadow .15s; }
.platform-card:hover { border-color: var(--brand-gold); box-shadow: var(--shadow-sm); }
.platform-aside { align-content: start; }
.audience-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; min-width: 0; background: var(--surface); border: 1px solid var(--line-strong); border-top: 2px solid var(--brand-gold); border-radius: var(--radius); }
.audience-card .card-title { font-size: 1.35rem; }
.audience-card .assurances { margin-top: auto; padding-top: 1.1rem; }
.guarantees { display: grid; gap: 1.75rem; margin: 0; }
@media (min-width: 640px) { .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.5rem; } }
.guarantees > div { border-top: 1px solid var(--line-strong); padding-top: .9rem; min-width: 0; }
.guarantees dt { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink-900); }
.guarantees dd { margin: .35rem 0 0; font-size: .875rem; line-height: 1.55; color: var(--ink-600); }

/* the contact section: on a phone the order is heading → form → the rest, so a call to action lands on the fields;
   from `lg` the copy sits beside the card (grid areas, not source order) */
.platform-contact { display: grid; gap: 1.75rem; margin: 3.5rem 0 1rem; padding-top: 2.5rem; border-top: 1px solid var(--line-strong);
  scroll-margin-top: calc(var(--topbar-h) + 1rem); grid-template-areas: "head" "form" "extra"; }
@media (min-width: 1024px) { .platform-contact { grid-template-columns: 1fr 1fr; grid-template-areas: "head form" "extra form";
  column-gap: 4rem; row-gap: 1.75rem; margin: 5rem 0 1.5rem; padding-top: 3.25rem; align-items: start; } }
.platform-contact-page { margin-top: 1.5rem; padding-top: 0; border-top: 0; }
.platform-contact-head { grid-area: head; min-width: 0; }
.platform-contact-extra { grid-area: extra; min-width: 0; }
.platform-contact-head .section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; margin-top: .45rem; }
.platform-contact-extra .assurances { margin-top: 0; font-size: .875rem; gap: .65rem; }
.platform-contact-direct { margin-top: 1.25rem; font-size: .9375rem; color: var(--ink-600); }
.platform-contact-back { margin-top: 1.25rem; font-size: .875rem; }
.platform-contact-card { grid-area: form; background: var(--surface); border: 1px solid var(--line-strong); border-top: 2px solid var(--brand-gold); border-radius: var(--radius-lg); padding: 1.5rem 1.35rem; min-width: 0; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .platform-contact-card { padding: 2rem; } }
.platform-form { display: grid; gap: 1.15rem; }
.platform-form .card-title { font-size: 1.25rem; }
.platform-form .form-grid { gap: 1.15rem; }
.platform-form .help { line-height: 1.5; }
.platform-contact-done { display: grid; gap: .75rem; }
.platform-contact-done .card-title { font-size: 1.35rem; }
.platform-contact-done .platform-hero-actions { margin-top: .75rem; }
.contact-message { white-space: pre-line; margin: .85rem 0; padding: .85rem 1rem; background: var(--surface-2); border-radius: var(--radius-sm); font-size: .9375rem; line-height: 1.6; color: var(--ink-800); }
