/* Mahjong Open Play public site styles. Mobile first: the rules below are written for a phone
   and larger screens add to them at the bottom. Colors come only from tokens.css (generated
   from src/brand/tokens.json). Body text 19px, 48px tap targets, visible focus, light
   backgrounds only. No inline styles anywhere: the Content Security Policy forbids them. */

@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-900.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/atkinson-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/atkinson-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-800.woff2") format("woff2"); }

:root {
  --font-heading: "Montserrat", "Nunito", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-lockup: "Montserrat", "Nunito", system-ui, sans-serif;
  --radius-sm: 16px;
  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(111, 60, 86, 0.06), 0 14px 28px -16px rgba(111, 60, 86, 0.22);
  --shadow-lift: 0 1px 2px rgba(111, 60, 86, 0.06), 0 20px 40px -18px rgba(111, 60, 86, 0.28);
  --gutter: 14px;
  --tap: 48px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: 1.1875rem; line-height: 1.6; padding-bottom: 88px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { height: auto; }
p { margin: 0; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
b, strong { font-weight: 700; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--amaranth); text-wrap: balance; }
h2, .h2 { font-size: clamp(2rem, 8vw, 2.6rem); }
h3, .h3 { font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.15; }
.h2 { font-family: var(--font-heading); font-weight: 700; color: var(--amaranth); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.h3 { font-family: var(--font-heading); font-weight: 700; color: var(--ink); }

.skip-link { position: absolute; left: var(--gutter); top: -100px; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: var(--radius-sm); z-index: 100; font-weight: 700; }
.skip-link:focus { top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.stack-small { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.center { text-align: center; }
.small { font-size: 1.0625rem; line-height: 1.45; }
.muted { color: var(--muted); }
.break { overflow-wrap: anywhere; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons: tall, rounded, big labels. Raspberry is the main action, violet the quiet one. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 54px; padding: 0.7em 1.4em; border-radius: var(--radius-sm); border: 2px solid transparent; font-family: var(--font-heading); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--ink); box-shadow: 0 10px 20px -10px rgba(244, 113, 172, 0.8); }
.btn-primary:hover { background: var(--cta-deep); color: var(--ink); }
.btn-violet { background: var(--cta); color: var(--ink); }
.btn-violet:hover { background: var(--cta-deep); color: var(--ink); }
.btn-teal { background: var(--violet); color: var(--white); }
.btn-teal:hover { background: var(--violet-deep); color: var(--white); }
.zero { font-family: var(--font-body); font-weight: 700; }
.btn-outline { background: var(--white); color: var(--violet); border-color: var(--violet); }
.btn-outline:hover { background: var(--periwinkle-tint); color: var(--violet-deep); }
.btn-block { width: 100%; }
.btn-small { min-height: var(--tap); padding: 0.5em 1.1em; font-size: 1.0625rem; }
.text-link { font-weight: 700; min-height: var(--tap); display: grid; place-items: center; }

/* Header: the logo with its tagline, and a bold pink menu with no box around it. */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; height: auto; width: 100%; max-width: 1120px; margin-inline: auto; padding: 16px 8px 16px 14px; }
.brand-link { display: flex; align-items: center; min-height: var(--tap); }
.brand-logo { display: block; width: min(380px, calc(100vw - 72px)); height: auto; }
.nav-desktop { display: none; }
.menu summary { list-style: none; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-bars, .menu-close { width: 32px; height: 32px; stroke: var(--pink); stroke-width: 4; }
.menu[open] .menu-bars { display: none; }
.menu:not([open]) .menu-close { display: none; }
.menu-panel { position: absolute; right: 10px; top: 62px; width: min(320px, calc(100vw - 20px)); display: grid; gap: 4px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.menu-panel a:not(.btn):hover { background: var(--tint); }
.menu-panel .btn { margin-top: 8px; }

/* Hero: the picture, with the card sliding up over its bottom edge. */
.hero { position: relative; }
.hero-picture { display: block; }
.hero-img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: center 40%; }
.hero-wrap { position: relative; }
.hero-card { position: relative; margin-top: -48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 36px 20px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center; }
.badge { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 3px solid var(--cta); border-radius: 999px; padding: 7px 18px; font-weight: 700; font-size: 1.0625rem; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(111, 60, 86, 0.5); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.lockup { font-family: var(--font-lockup); color: var(--amaranth); text-transform: uppercase; }
.lockup-top { display: block; font-weight: 800; font-size: clamp(2.3rem, 12.4vw, 2.95rem); line-height: 1; letter-spacing: 0.03em; }
.lockup-bottom { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.lockup-name { font-weight: 700; font-size: clamp(0.95rem, 5.2vw, 1.25rem); letter-spacing: 0.2em; line-height: 1; white-space: nowrap; }
.rule { flex: 1; height: 3px; border-radius: 2px; background: var(--violet); }
.hero-venue { margin: 24px 0 0; padding: 20px 0; border-block: 1px solid var(--line); text-align: center; line-height: 1.5; }
.hero-venue-label { display: block; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.hero-venue a { font-size: 1.0625rem; color: var(--ink); text-decoration: none; }
.hero-venue a svg { margin-left: 6px; vertical-align: -2px; }
.hero-venue b { color: var(--amaranth); font-size: 1.25rem; }
.hero-headline { margin: 22px 0 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 6.4vw, 1.9rem); line-height: 1.2; color: var(--amaranth); text-wrap: balance; }
.hero-for { margin: 0 0 24px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.hero-chip { display: inline-block; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 0.9375rem; color: var(--amaranth); }
.hero-for a { font-size: 1rem; }
.hero-where { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--ink); text-wrap: balance; }

/* Forms: big fields, visible labels, errors that say what to do. */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: left; }
.field { display: grid; gap: 6px; }
.field label, .levels-choice legend { font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { font: inherit; min-height: 56px; padding: 0 16px; width: 100%; border: 2px solid var(--muted); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.field input:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-color: var(--violet); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 700; }
.field-pair { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) 7.5rem; }
.form-errors { background: var(--white); border: 3px solid var(--error); border-radius: var(--radius-sm); padding: 12px 16px; }
.form-errors h3 { color: var(--error); font-size: 1.15rem; margin-bottom: 4px; }
.form-errors ul { margin: 0; padding-left: 1.1em; }
.fineprint { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.fallback { font-size: 1.0625rem; line-height: 1.45; border-top: 1px solid var(--line); padding-top: 12px; text-align: center; }
.check { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.check input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--raspberry); }
.check small { display: block; font-size: 1rem; line-height: 1.5; color: var(--muted); margin-top: 4px; font-weight: 400; }
.levels-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.levels-choice legend { padding: 0; margin-bottom: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 1.125rem; line-height: 1.35; background: var(--white); cursor: pointer; }
.choice input { width: 24px; height: 24px; margin: 0; accent-color: var(--raspberry); flex: none; }
.choice:has(input:checked) { border-color: var(--raspberry); background: var(--tint); }
.sms-box { display: grid; gap: 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: var(--tint); }
.sms-fields { display: none; }
.sms-box:has(#sms-opt-in:checked) .sms-fields { display: grid; }

/* Sections and headings */
.section { padding-block: 40px; }
.section-white { background: var(--white); }
.page-intro { padding-top: 32px; }
.section-head { display: grid; gap: 8px; padding-inline: 4px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.eyebrow-violet { color: var(--violet); }
.intro { font-size: 1.1875rem; }

.glance { padding-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 1.0625rem; }
.chips .icon { color: var(--raspberry); width: 18px; height: 18px; }

/* Cards: one style everywhere. */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); border: 3px solid var(--cta); color: var(--violet); flex: none; }
.icon-tile-large { width: 52px; height: 52px; border-radius: 15px; }
.icon-tile-large .icon { width: 26px; height: 26px; }

.reserve-card { display: grid; gap: 16px; padding: 22px 18px; }
.seat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seat-row li { display: grid; justify-items: center; gap: 4px; text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; }
.seat-table { width: 60px; height: 60px; }
.seat-table-top { fill: var(--tint); stroke: var(--line); stroke-width: 2; }
.seat { stroke-width: 2; }
.seat-on { fill: var(--raspberry); stroke: var(--raspberry); }
.seat-off { fill: var(--white); stroke: var(--periwinkle); }
.explain { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.explain-row { display: flex; gap: 12px; align-items: flex-start; font-size: 1.125rem; line-height: 1.45; }

.photo-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { display: block; width: 100%; height: 108px; object-fit: cover; }
.photo-card div { padding: 12px 14px 14px; }
.photo-card b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; }
.photo-card span { display: block; margin-top: 4px; font-size: 1.0625rem; line-height: 1.4; }

.bring-card { display: grid; gap: 14px; }
.bring-head { display: flex; gap: 14px; align-items: center; }
.bring-head h3 { color: var(--ink); font-size: 1.375rem; }
.recommend { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--periwinkle-tint); border-radius: var(--radius-sm); padding: 14px 16px; }
.recommend-price { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; line-height: 1; }

.wide-photo { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
.levels { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.level { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-top: 1px solid var(--line); }
.level:first-child { border-top: 0; }
.level-new { background: var(--tint); }
.num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tint); border: 3px solid var(--cta); color: var(--violet); font-family: var(--font-heading); font-weight: 700; flex: none; }
.steps .num { width: 38px; height: 38px; }

.panel { border-radius: var(--radius-lg); padding: 24px 20px; }
.panel-cream { background: var(--tint); border: 1px solid var(--line); }
.panel-periwinkle { background: var(--periwinkle-tint); border: 1px solid var(--periwinkle-line); }
.class-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.class-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius-sm); padding: 12px 16px; }
.class-list b { font-family: var(--font-heading); font-weight: 700; }
.class-list span { color: var(--muted); font-size: 1.0625rem; }

/* Prices */
.price-best { background: var(--raspberry); color: var(--white); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: 0 20px 40px -20px rgba(31, 110, 92, 0.8); display: grid; gap: 4px; justify-items: start; }
.pill { display: inline-block; border-radius: 999px; font-weight: 700; font-size: 0.9375rem; padding: 3px 12px; }
.pill-white { background: var(--white); color: var(--raspberry-deep); }
.pill-warn { background: var(--gold-soft); color: var(--gold-ink); margin-top: 6px; }
.price-name { font-size: 1.25rem; margin-top: 8px; }
.price-line { display: flex; align-items: baseline; gap: 10px; }
.price-big { font-family: var(--font-heading); font-weight: 700; font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.price-row b { font-size: 1.25rem; }
.price-side { display: grid; justify-items: end; text-align: right; }
.price-mid { font-family: var(--font-heading); font-weight: 700; font-size: 2.25rem; line-height: 1; }
.price-walk { display: grid; gap: 10px; border-color: var(--gold-line); }
.price-walk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.small-plus { font-size: 1.125rem; }

.rewards { display: grid; gap: 12px; }
.rewards h3 { color: var(--ink); font-size: 1.5rem; }
.tile-row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; padding: 0 4px; }
.tile { aspect-ratio: 3 / 4; border-radius: 5px; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 0 3px 0 var(--raspberry); display: grid; place-items: center; }
.mini-heart { width: 60%; fill: var(--pink); }
.tile-free { background: var(--gold); border: 1.5px dashed var(--ink); box-shadow: none; font-family: var(--font-heading); font-weight: 700; font-size: 0.45rem; color: var(--ink); }
.rack { height: 12px; border-radius: 6px; background: var(--periwinkle); margin-top: -6px; }

/* Questions */
.faq-list { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:first-child { border-top: 0; }
.faq-list details[open] { background: var(--tint); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--raspberry); flex: none; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .answer { padding: 0 18px 18px; font-size: 1.125rem; }
.more-link { font-weight: 700; padding-inline: 4px; }
.faq-item { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }

.env-banner { background: #FDF0C8; color: #5A4300; border-bottom: 1px solid #E9D28A; padding: 6px var(--gutter); text-align: center; font-size: 0.9375rem; font-weight: 700; }

.more-help { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0 16px; }
.more-help summary { cursor: pointer; font-weight: 700; color: var(--violet); min-height: var(--tap); display: flex; align-items: center; }
.more-help[open] { padding-bottom: 16px; }
.more-help[open] summary { margin-bottom: 8px; }

/* Placeholder page: the logo and one line, centered */
.placeholder-page { padding-bottom: 0; background: var(--page); }
.placeholder-main { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 32px var(--gutter); text-align: center; }
.placeholder-logo { display: block; margin-bottom: 20px; width: min(560px, 88vw); height: auto; }
.placeholder-text { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--amaranth); font-size: clamp(1.6rem, 6.5vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }

.placeholder-subtext { margin: 0; font-size: clamp(1.25rem, 4.5vw, 1.75rem); font-weight: 700; color: var(--muted); letter-spacing: 0.01em; }

/* Footer: a fine black line over a pink to teal gradient, a cream contact band, and a darker beige legal bar */
.site-footer { background: var(--footer); margin-top: 0; }
.footer-edge { height: 6px; background: linear-gradient(90deg, var(--cta), var(--violet)); border-top: 1px solid #1B1B1B; }
.footer-cols { display: grid; gap: 28px; padding-block: 30px 26px; }
.footer-col p { margin: 0 0 6px; }
.footer-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); margin: 0 0 12px; }
.footer-head::before { content: ""; flex: none; width: 30px; height: 4px; border-radius: 2px; background: var(--cta); }
.footer-email { font-weight: 700; overflow-wrap: anywhere; }
.footer-map { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--ink); text-decoration: none; line-height: 1.5; }
.footer-map b { color: var(--ink); }
.footer-fine a { font-weight: 700; overflow-wrap: anywhere; }
.footer-fine { font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.footer-legal { background: #E3D3AE; border-top: 1px solid #CDBB8C; padding-block: 2px 8px; }
.footer-legal-inner { display: grid; gap: 2px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 0.8125rem; }
.footer-links a { font-weight: 400; color: #1B1B1B; min-height: 32px; display: inline-flex; align-items: center; }
.footer-copy { margin: 0; color: #3A3036; font-size: 0.75rem; }

/* Sticky bar at the bottom of phones */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(111, 60, 86, 0.3); }
.mobile-bar-text { display: grid; line-height: 1.3; }
.mobile-bar-text span { font-size: 1rem; color: var(--muted); }
.mobile-bar .btn { white-space: nowrap; flex: none; }
@media (max-width: 359px) {
  .mobile-bar-text span { display: none; }
  .mobile-bar-text b { font-size: 1rem; }
  .mobile-bar .btn { padding-inline: 0.9em; font-size: 1rem; }
  .hero-card { padding-inline: 14px; }
}

/* Check your email page */
.check-page { padding-block: 28px 40px; }
.check-hero { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; }
.check-hero h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); }
.envelope { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--tint); border: 4px solid var(--cta); }
.envelope-icon { width: 42px; height: 42px; color: var(--violet); }
.envelope-badge { position: absolute; right: -8px; bottom: -8px; width: 32px; height: 32px; border-radius: 50%; background: var(--raspberry); color: var(--white); border: 3px solid var(--page); display: grid; place-items: center; }
.envelope-badge .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.flash { background: var(--periwinkle-tint); border: 1px solid var(--periwinkle-line); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 700; }
.flash-warn { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-ink); }
.email-preview { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; background: var(--page); line-height: 1.35; }
.email-avatar { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.button-stack { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* Simple centered message pages and long text pages */
.message-page { padding-block: 40px 64px; }
.message-page .card { max-width: 640px; display: grid; gap: 14px; padding: 24px; }
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; color: var(--ink); }
.prose h3 { margin-top: 1.4em; }
.prose p { margin-top: 0.9em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.updated { color: var(--muted); }
.plain-list { padding-left: 1.2em; display: grid; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------------------------------------
   Larger screens
   ------------------------------------------------------------------------------------------- */
@media (min-width: 600px) { .hero-img { height: auto; aspect-ratio: 1774 / 887; } }

@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .photo-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .photo-card img { height: 150px; }
  .section { padding-block: 56px; }
  .hero-img { height: auto; aspect-ratio: 1774 / 887; }
  .wide-photo { height: 320px; }
}

@media (min-width: 900px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; padding-block: 44px 38px; }
  .footer-legal { padding-block: 6px 10px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .header-inner { padding: 26px var(--gutter); height: auto; max-width: var(--page-w); }
  .brand-logo { width: clamp(400px, 31vw, 600px); flex: none; }
  :root { --page-w: min(max(90vw, 1120px), 1680px); }
  .wrap { max-width: var(--page-w); }

  .hero { padding-top: 28px; }
  .hero-picture { max-width: var(--page-w); margin-inline: auto; padding-inline: var(--gutter); }
  /* The whole cafe scene shows at its natural proportions. The Mahjong Open Play box floats over its middle, starting a little below the top edge, and hangs down below the picture when it is taller than the picture. */
  .hero { --hero-w: calc(min(100vw, var(--page-w)) - 2 * var(--gutter)); display: block; }
  .hero-img { height: auto; min-height: 0; aspect-ratio: 1774 / 887; border-radius: 32px; object-position: center; }
  .hero-wrap { margin-top: calc(var(--hero-w) / -2 + 40px); position: relative; z-index: 2; pointer-events: none; }
  .hero-card { max-width: 560px; margin: 0 auto; padding: 44px 32px 22px; pointer-events: auto; }
  .hero-venue { margin-top: 18px; padding-block: 14px; }
  .hero-headline { margin-top: 18px; }
  .hero-for { margin-bottom: 18px; }
  .lockup-top { font-size: 3.6rem; }
  .lockup-name { font-size: 1.5rem; }

  .section { padding-block: 72px; }
  .stack { gap: 20px; }
  .reserve-card, .bring-card { max-width: 760px; margin-inline: auto; width: 100%; }
  .explain { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section-head { max-width: 760px; margin-inline: auto; width: 100%; text-align: center; }
  .section-head .eyebrow { justify-content: center; }
  #levels .stack { grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: center; }
  #levels .section-head { grid-column: 1 / -1; }
  #levels .wide-photo { height: 100%; min-height: 360px; }
  .class-list { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 40px; }
  #classes .panel { text-align: center; justify-items: center; }
  #prices .stack { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  #prices .section-head, #prices .price-best, #prices .rewards { grid-column: 1 / -1; }
  #prices .price-row { flex-direction: column; align-items: flex-start; }
  #prices .price-row .price-side { justify-items: start; text-align: left; }
  #prices .price-walk-top { width: 100%; flex-direction: column; align-items: flex-start; gap: 6px; }
  #prices .price-walk .price-side { justify-items: start; text-align: left; }
  .price-big { font-size: 5rem; }
  .price-best { padding: 32px 36px; }
  #faq .faq-list { max-width: 820px; margin-inline: auto; width: 100%; }
  .check-page { padding-block: 48px 64px; }
  .check-page .stack { max-width: 680px; margin-inline: auto; }
  .tile-row { max-width: 640px; margin-inline: auto; width: 100%; gap: 8px; }
  .tile-free { font-size: 0.9rem; }
}

/* The links move into the header only when there is room for them; below this width the phone
   menu stays, so the links never wrap or crowd the logo. */
@media (min-width: 1060px) {
  .menu { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 18px; margin-left: auto; }
  .nav-desktop a:not(.btn) { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; min-height: var(--tap); display: inline-flex; align-items: center; }
  .nav-desktop a:not(.btn):hover { color: var(--violet); text-decoration: underline; }
  .nav-desktop .btn { white-space: nowrap; }
}

/* ---- Booking (reservations open) ------------------------------------------------------------ */
.mono { font-variant-numeric: tabular-nums; font-weight: 700; }
.notice { background: var(--periwinkle-tint); border: 1px solid var(--periwinkle-line); border-radius: var(--radius-sm); padding: 14px 18px; }
.notice-warn { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-ink); }
.notice-warn a { color: var(--gold-ink); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.party, .sessions { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.party legend, .sessions legend { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--amaranth); padding: 0; margin-bottom: 8px; }
.party > label:not(.check) { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-weight: 700; cursor: pointer; }
.party > label:not(.check) input { width: 24px; height: 24px; accent-color: var(--raspberry); margin: 0; }
.party > label:not(.check):has(input:checked) { border-color: var(--raspberry); background: var(--tint); }
.split-toggle { padding: 4px 4px 0; }
.session { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; position: relative; }
.session input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.session:has(input:checked) { border-color: var(--raspberry); background: var(--tint); box-shadow: var(--shadow); }
.session:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }
.session:has(input:disabled) { opacity: 0.6; cursor: not-allowed; background: var(--page); }
.session[hidden] { display: none; }
.date-tile { display: grid; place-items: center; width: 58px; height: 62px; border-radius: 16px; background: var(--tint); border: 3px solid var(--cta); color: var(--violet); line-height: 1; }
.date-tile small { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.date-tile b { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; }
.s-meta { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.s-meta > span { font-size: 1.0625rem; color: var(--muted); }
.fit { font-weight: 700; font-size: 1rem; color: var(--violet-deep); }
.fit:empty { display: none; }
.fit.warn { color: var(--gold-ink); }
.fit.no { color: var(--error); }
.seats { display: grid; gap: 6px; justify-items: end; text-align: right; }
.seats-num { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.seats-num.low { color: var(--raspberry-deep); }
.seatbar { display: flex; gap: 2px; }
.seatbar i { width: 6px; height: 14px; border-radius: 2px; background: var(--periwinkle-line); }
.seatbar i.on { background: var(--raspberry); }
.book-panel { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; }
.guests { display: grid; gap: 12px; }
.guest[hidden] { display: none; }
.summary { display: grid; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 14px; }
.summary > div { display: flex; justify-content: space-between; gap: 16px; }
.summary .total { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--amaranth); }
.summary:empty { display: none; }
.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.confirm-when .icon, .stack-small .icon { vertical-align: -4px; color: var(--raspberry); }
.session-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.session-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page); }
.session-row .seats { grid-column: 2; justify-items: start; text-align: left; }
.session-row .btn, .session-row .pill { grid-column: 3; grid-row: 1; }
@media (min-width: 900px) {
  .book-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
  .book-panel { position: sticky; top: 130px; }
}

/* Booking form: levels */
.levels-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; margin: 0; display: grid; gap: 10px; }
.levels-form legend { font-family: var(--font-heading); font-weight: 700; padding-inline: 6px; color: var(--amaranth); }
.level-help { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 1rem; line-height: 1.45; }
.level-row { display: grid; gap: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.level-row[hidden], .level-row .helper[hidden] { display: none; }
.level-row select { min-height: var(--tap); font: inherit; border: 2px solid var(--violet); border-radius: var(--radius-sm); padding: 0 12px; background: var(--white); color: var(--ink); }
.level-row .helper { font-size: 0.95rem; }

/* Host roster */
.roster-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.roster-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tables { display: grid; gap: 16px; }
@media (min-width: 720px) { .tables { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.table-card { display: grid; gap: 10px; align-content: start; }
.table-stretch { border-color: var(--gold, #e6b44c); background: #fff9e8; }
.table-seats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.table-seats li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.pill { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; font-size: 0.875rem; background: var(--white); }
.pill-level { background: var(--periwinkle-tint); border-color: var(--periwinkle-line); color: var(--violet); font-weight: 700; }
.pill-helper { background: var(--tint); }
.table-note { margin: 0; font-size: 1rem; line-height: 1.45; }

/* Check-in code and cancel buttons on the reservation page */
.qr-block { display: grid; justify-items: center; gap: 8px; }
.qr-block svg { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cancel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cancel-list li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.inline-form { display: inline; }
.waitlist-link { font-weight: 700; }
/* The host's door screen: big tap targets, light colors, one row per player */
.host-bar { display: grid; gap: 12px; }
@media (min-width: 720px) { .host-bar { position: sticky; top: 0; z-index: 5; } }
.host-counts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 1.05rem; }
.host-count b { font-size: 1.35rem; }
.host-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.host-tools input[type="search"] { flex: 1 1 200px; min-height: var(--tap); }
.host-list { display: grid; gap: 12px; }
.host-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.host-seats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.host-seat { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.host-seat.host-checked_in { background: var(--periwinkle-tint); border-color: var(--periwinkle-line); }
.host-seat.host-no_show { background: var(--tint); }
.host-who { display: grid; gap: 4px; }
.host-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.host-table { display: flex; align-items: center; gap: 8px; }
.host-table select { min-height: 44px; }
.host-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.host-checkin { min-height: var(--tap); min-width: 140px; }
.host-badge { font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
@media (min-width: 720px) { .host-seat { grid-template-columns: 1.4fr auto auto; align-items: center; } }
.report-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.report-table th, .report-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.report-table th { font-weight: 700; color: var(--ink); }

/* The welcome line */
.hero-intro { margin: 8px 0 18px; font-size: 1.125rem; line-height: 1.5; }

/* Chips under the hero are centered on larger screens */
@media (min-width: 720px) { .chips { justify-content: center; } }

/* More room in the "Everything You Need Is Provided" section */
#provided .stack { gap: 32px; }
#provided .section-head { gap: 14px; }
#provided .reserve-card { padding: 28px 22px; gap: 24px; }
#provided .photo-cards { gap: 16px; }
#provided .photo-card div { padding: 16px 16px 18px; }
#provided .photo-card span { margin-top: 8px; line-height: 1.45; }
#provided .explain { gap: 18px; padding-top: 22px; }
#provided .bring-card { padding: 28px 22px; display: grid; gap: 20px; }
@media (min-width: 900px) {
  #provided .stack { gap: 52px; }
  #provided .section-head { gap: 16px; }
  #provided .reserve-card { padding: 40px 44px; gap: 32px; }
  #provided .photo-cards { gap: 24px; }
  #provided .photo-card div { padding: 20px 20px 24px; }
  #provided .explain { gap: 36px; padding-top: 28px; }
  #provided .bring-card { padding: 40px 44px; gap: 24px; }
}

/* Upcoming sessions in the hero: one compact row each. The seat tiles are small fixed size, in a tidy block. */
.session-rows { gap: 10px; }
.session-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-auto-flow: row; gap: 10px 12px; padding: 12px 14px; }
.session-row .date-tile { grid-column: 1; grid-row: 1; }
.session-row .s-meta { grid-column: 2; grid-row: 1; }
.session-row .seat-tiles { grid-column: 2 / -1; grid-row: 2; }
.session-row .seats { display: none; }
.seat-tiles { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-start; }
.seat-tile { display: inline-block; flex: none; width: 13px; height: 17px; border-radius: 3px; border: 1.5px solid var(--violet); background: var(--white); }
.seat-tile.taken { background: #FC99C7; border-color: var(--cta); }
.seat-legend { margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.875rem; color: var(--muted); }
.seat-legend .seat-tile { width: 11px; height: 15px; }
.s-meta .seats-num { display: block; font-size: 0.9375rem; margin-top: 2px; }
.kind-badge { display: block; width: fit-content; max-width: 100%; background: var(--white); color: var(--violet); border-radius: 8px; padding: 2px 10px; font-weight: 700; font-size: 0.875rem; line-height: 1.4; margin-bottom: 4px; }
/* A class is the inverse of open play: a teal row with white text */
.session-row-class { background: var(--violet); border-color: var(--violet); color: var(--white); }
.session-row-class .s-meta strong, .session-row-class .s-meta span { color: var(--white); }
.session-row-class .s-meta .kind-badge { color: var(--violet); background: var(--white); }
.session-row-class .date-tile { background: var(--white); border-color: var(--cta); color: var(--violet); }
.session-row-class .date-tile small, .session-row-class .date-tile b { color: var(--violet); }
.session-row-class .seat-tile { border-color: var(--white); background: transparent; }
.session-row-class .seat-tile.taken { background: #FC99C7; border-color: #FC99C7; }
/* On the booking page a class card is teal too */
.session.session-class { border-color: var(--violet); }
.session.session-class:has(input:checked) { background: var(--violet); border-color: var(--violet); color: var(--white); }
.session.session-class:has(input:checked) strong, .session.session-class:has(input:checked) span { color: var(--white); }
.session.session-class .s-meta .kind-badge { background: var(--tint); color: var(--violet); }
.levels-form[hidden] { display: none; }
.session.session-class .date-tile { background: var(--white); border-color: var(--cta); }
.session.session-class:has(input:checked) .date-tile small, .session.session-class:has(input:checked) .date-tile b { color: var(--violet); }
.session.session-class:has(input:checked) .seatbar i { background: rgba(255, 255, 255, 0.4); }
.session.session-class:has(input:checked) .seatbar i.on { background: #FC99C7; }

/* Phones: smaller type and buttons so the hero card and the three session boxes fit comfortably */
@media (max-width: 599px) {
  .hero-card { padding: 30px 14px 14px; }
  .lockup-top { font-size: clamp(2rem, 10.5vw, 2.4rem); }
  .lockup-name { font-size: clamp(0.85rem, 4.4vw, 1.05rem); }
  .badge { font-size: 0.9375rem; padding: 5px 14px; top: -18px; }
  .hero-venue { margin-top: 16px; padding-block: 12px; }
  .hero-venue-label { font-size: 0.8125rem; margin-bottom: 4px; }
  .hero-venue b { font-size: 1.05rem; }
  .hero-venue a { font-size: 0.9375rem; }
  .hero-headline { margin-top: 14px; font-size: 1.3rem; }
  .hero-intro { margin: 6px 0 12px; font-size: 0.9375rem; line-height: 1.45; }
  .hero-for { margin-bottom: 14px; gap: 8px; }
  .hero-chip { font-size: 0.8125rem; padding: 5px 12px; }
  .hero-for a { font-size: 0.875rem; }
  .session-rows { gap: 8px; }
  .session-row { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 6px 10px; padding: 8px 10px; }
  .session-row .date-tile { width: 46px; height: 50px; border-width: 2px; border-radius: 12px; }
  .session-row .date-tile small { font-size: 0.625rem; }
  .session-row .date-tile b { font-size: 1.15rem; }
  .session-row .s-meta strong { font-size: 0.9375rem; line-height: 1.25; }
  .session-row .s-meta span { font-size: 0.8125rem; line-height: 1.3; }
  .session-row .s-meta .seats-num { font-size: 0.8125rem; margin-top: 1px; }
  .session-row .btn-small { min-height: 36px; padding: 0.35em 0.85em; font-size: 0.8125rem; border-radius: 10px; }
  .session-row .kind-badge { font-size: 0.75rem; padding: 1px 8px; margin-bottom: 2px; }
  .seat-tile { width: 11px; height: 14px; }
  .seat-tiles { gap: 3px; }
  .seat-legend { font-size: 0.75rem; margin-top: 6px; }
  .chips { gap: 6px; }
  .chips li { font-size: 0.9375rem; padding: 6px 12px; }
  .hero-card .btn-block { min-height: 46px; font-size: 0.9375rem; }
  .hero-card .fineprint { font-size: 0.8125rem; }
  .hero-card .form .btn { min-height: 46px; font-size: 0.9375rem; }
}

/* Classes: a head, the class on the left, a booking card on the right, and a timeline of the two hours */
.class-panel { display: grid; gap: 22px; }
.class-head { display: grid; gap: 8px; }
.class-grid { display: grid; gap: 18px; align-items: stretch; }
.class-about { background: var(--white); border-radius: var(--radius); padding: 20px 20px 22px; display: grid; gap: 14px; text-align: left; border: 1px solid var(--line); }
.class-about h3 { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--amaranth); line-height: 1.15; }
.class-lede { margin: 0; font-size: 1.125rem; }
.class-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.class-features li { display: flex; gap: 12px; align-items: flex-start; }
.class-features .ring { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--cta); background: var(--tint); color: var(--violet); }
.class-features .ring .icon { width: 20px; height: 20px; }
.class-features b { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--ink); }
.class-features li > span:last-child > span { color: var(--muted); font-size: 1.0625rem; line-height: 1.4; display: block; }
.class-timeline { display: grid; gap: 6px; padding-top: 4px; }
.class-bar { display: flex; height: 38px; border-radius: 10px; overflow: hidden; border: 1px solid var(--violet); }
.class-bar .seg { display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; }
.seg-learn { flex: 90 1 0; background: var(--violet); color: var(--white); }
.seg-play { flex: 30 1 0; background: #FC99C7; color: var(--ink); }
.class-bar-labels { display: flex; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.class-bar-labels span:first-child { flex: 90 1 0; }
.class-bar-labels span:last-child { flex: 30 1 0; text-align: right; }
.class-book { background: var(--violet); color: var(--white); border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 6px; align-content: center; text-align: center; }
.class-book p { margin: 0; }
.class-book-kicker { font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; color: #FDE3EC; }
.class-book-date { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; line-height: 1.15; }
.class-book-time { font-size: 1.125rem; }
.class-book-price { font-size: 1.0625rem; margin-top: 8px; }
.class-book-price .amount { font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; line-height: 1; vertical-align: -3px; margin-right: 4px; }
.class-book-seats { font-size: 0.9375rem; color: #E6F2EE; margin: 4px 0 12px !important; }
.class-book .btn { margin-top: 4px; }
.class-foot { margin: 0; text-align: center; font-size: 1.125rem; }
@media (min-width: 900px) {
  .class-panel { padding: 40px 44px; gap: 28px; }
  .class-head { text-align: center; justify-items: center; max-width: 760px; margin-inline: auto; }
  .class-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
  .class-about { padding: 28px 30px; }
  .class-book { padding: 32px 28px; }
}

/* Punch card: centered, narrower on wide screens, a card of its own */
.rewards { text-align: center; background: var(--tint); border-color: var(--line); padding: 22px 18px; }
.rewards h3 { color: var(--amaranth); }
.rewards .small { margin: 0; }
@media (min-width: 900px) {
  #prices .rewards { justify-self: center; width: min(100%, 700px); padding: 34px 40px; gap: 18px; }
  .rewards h3 { font-size: 1.75rem; }
  .tile-row { max-width: 560px; gap: 7px; }
  .tile-free { font-size: 0.8rem; }
}
/* Our best price: centered and a little wider than the cards below it, not the full width */
@media (min-width: 900px) {
  #prices .price-best { justify-self: center; width: min(100%, 560px); }
}
/* The seats in the hero's session boxes sit under the seat count, left adjusted */
.seat-tiles { justify-content: flex-start; }

/* Class timeline: a bar and a legend that wraps cleanly */
.class-legend { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 1rem; }
.class-legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.swatch-learn { background: var(--violet); }
.swatch-play { background: #FC99C7; }
.class-foot { max-width: 760px; margin-inline: auto; font-size: 1.0625rem; line-height: 1.5; }

/* Open Play Prices: one cream panel holding the best price and the three prices, so they read as one set */
.prices-panel { gap: 18px; }
.prices-panel .section-head { margin-bottom: 4px; }
.prices-panel .price-row.card { background: var(--white); }
@media (min-width: 900px) {
  #prices .panel { padding: 44px 44px 40px; }
  #prices .prices-panel { gap: 24px; }
  /* The three price cards: title, then the price on the same line in every card, then the note. */
  #prices .price-row { display: grid; grid-template-rows: 4.7rem auto 1fr; align-content: start; justify-items: start; gap: 6px; padding: 22px 24px; }
  #prices .price-walk { grid-template-rows: 4.7rem auto 1fr; }
  #prices .price-walk-top { display: contents; }
  #prices .price-row .price-side { align-self: start; }
  #prices .price-row .small-plus { margin: 0; }
}
#rewards .stack { gap: 22px; }
#rewards .rewards { width: min(100%, 700px); margin-inline: auto; }
@media (min-width: 900px) { #rewards .rewards { padding: 36px 44px; gap: 18px; } #rewards .tile-row { max-width: 580px; margin-inline: auto; gap: 8px; } #rewards .tile-free { font-size: 0.85rem; } }

/* What we'll cover: a callout and four short items, full width under the two class cards */
.class-cover { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 22px; display: grid; gap: 14px; text-align: center; }
.class-callout { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.3; color: var(--amaranth); }
.class-callout b { font-weight: 800; }
.class-cover-title { margin: 0; font-family: var(--font-body); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.class-cover-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.class-cover-list li { display: grid; justify-items: center; align-content: start; gap: 6px; }
.class-cover-list .ring { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--cta); background: var(--tint); color: var(--violet); }
.class-cover-list .ring .icon { width: 22px; height: 22px; }
.class-cover-list b { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.class-cover-list li > span:last-child { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 900px) {
  .class-cover { padding: 28px 32px 30px; gap: 18px; }
  .class-callout { font-size: 1.5rem; }
  .class-cover-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .class-cover-list li > span:last-child { font-size: 1rem; }
}
.class-tag { margin: -6px 0 0; font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--violet); }

/* Class closing statement: a banded callout instead of a loose paragraph */
.class-foot { width: 100%; box-sizing: border-box; max-width: none; margin: 0; padding: 22px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--cta); display: grid; gap: 8px; text-align: center; }
.class-foot p { margin: 0; }
.class-foot-lead { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--amaranth); }
.class-foot-sub { font-size: 1.0625rem; line-height: 1.5; color: var(--muted); max-width: 640px; margin-inline: auto !important; }
.class-book { display: flex; flex-direction: column; align-items: center; }
.class-book > .class-book-kicker, .class-book > .btn { margin-top: auto; }
@media (min-width: 900px) {
  .class-foot { padding: 28px 40px 30px; }
  .class-foot-lead { font-size: 1.6rem; }
  .class-book { padding-bottom: 51px; }
  .class-book > .btn { width: auto; min-width: 230px; margin-top: auto; }
  .class-legend { justify-content: space-between; }
  .class-legend li:last-child { text-align: left; }
}
@media (min-width: 900px) { .class-foot-lead span { display: block; } }
.class-book-gift { font-size: 0.9375rem; font-style: italic; color: #FDE3EC; margin: 0 0 8px !important; }
#where .card { text-align: center; justify-items: center; }
#where .card p { margin-inline: auto; }

/* Locations page: a card for each place we play */
.location-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px)); justify-content: center; }
.location-card { display: grid; gap: 8px; text-align: center; justify-items: center; }
.location-card p { margin: 0; }

/* Beginner class page */
.class-for { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.class-for li { display: flex; gap: 12px; align-items: center; }
.class-for .ring { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--cta); background: var(--tint); color: var(--violet); }
.class-for .ring .icon { width: 16px; height: 16px; }
.class-expect-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.class-more { display: block; margin-top: 10px; color: #FDE3EC; text-decoration: underline; font-weight: 700; }
.class-expect, .class-good { text-align: left; }
.section-head .class-tag { margin: 0 0 8px; }

/* Venue page: a professional two column hero on desktop */
.venue-section { padding-top: 12px; }
.venue-hero { display: grid; gap: 22px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; overflow: hidden; }
.venue-copy { display: grid; gap: 14px; align-content: center; text-align: left; }
.venue-copy p { margin: 0; }
.venue-name { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.1; color: var(--amaranth); text-wrap: balance; }
.venue-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.venue-facts li { display: flex; gap: 12px; align-items: center; font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.venue-facts a { color: var(--ink); text-decoration: none; }
.venue-facts a:hover { text-decoration: underline; }
.venue-facts a svg { margin-left: 6px; vertical-align: -2px; }
.venue-facts .ring { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--cta); background: var(--white); color: var(--violet); }
.venue-facts .ring .icon { width: 20px; height: 20px; }
.venue-note { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--cta); border-radius: var(--radius); padding: 14px 16px; font-weight: 700; color: var(--amaranth); line-height: 1.45; }
.venue-note .icon { flex: none; width: 24px; height: 24px; color: var(--violet); margin-top: 2px; }
.venue-about { font-size: 1.0625rem; line-height: 1.55; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.venue-photo { display: block; border-radius: var(--radius); overflow: hidden; min-height: 220px; }
.venue-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
@media (min-width: 900px) {
  .venue-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 44px 48px; align-items: stretch; }
  .venue-photo { min-height: 480px; border-radius: var(--radius-lg); }
  .venue-facts li { font-size: 1.25rem; }
}
/* Locations page: the whole card is the link */
.location-card { position: relative; }
.location-card .card-link { color: inherit; text-decoration: none; }
.location-card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.location-card:hover { box-shadow: var(--shadow-lift); }
.location-address, .location-when { display: flex; gap: 8px; align-items: center; justify-content: center; font-weight: 700; }
.location-go { color: var(--violet); font-weight: 800; text-decoration: underline; }

/* Latte callout: the venue's gift, made obvious */
.latte-note { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--white); border: 2px solid var(--cta); border-radius: var(--radius); padding: 14px 18px; margin: 0; color: var(--amaranth); line-height: 1.45; width: 100%; max-width: 760px; margin-inline: auto; }
.latte-note .latte-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); border: 3px solid var(--cta); color: var(--violet); }
.latte-note .latte-icon .icon { width: 24px; height: 24px; }
.latte-note b { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; }
.latte-note .latte-when { font-weight: 400; color: var(--ink); }
.latte-early { font-weight: 800; color: var(--violet); }
.latte-note-compact { padding: 10px 12px; gap: 10px; margin-block: 0 14px; }
.latte-note-compact .latte-icon { width: 36px; height: 36px; border-width: 2px; }
.latte-note-compact .latte-icon .icon { width: 18px; height: 18px; }
.latte-note-compact b { font-size: 0.9375rem; }
.latte-note-compact .latte-when { font-size: 0.875rem; }
.hero-headline-top, .hero-headline-sub { display: block; }
.hero-headline-sub { font-size: 0.8em; font-weight: 600; margin-top: 2px; }
.kind-badge-open { background: var(--tint); }
.session-row .kind-badge-open { color: var(--amaranth); }

/* ===== October 8 refresh: hero line, latte on green, price cards, punch card, class page ===== */
.hero-headline-sub { font-size: 0.56em; font-weight: 700; margin-top: 4px; white-space: nowrap; letter-spacing: 0.01em; }
@media (max-width: 420px) { .hero-headline-sub { white-space: normal; font-size: 0.7em; } }
.hero-card .fineprint { font-size: 0.875rem; }
@media (max-width: 599px) { .hero-card .fineprint { font-size: 0.75rem; } }

/* Latte note on a green box */
.latte-note-green { background: var(--white); border: 2px solid var(--cta); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); text-align: left; max-width: none; margin: 8px 0 6px; }
.latte-note-green b { font-size: 1rem; }
.latte-note-green .latte-when { font-size: 0.9375rem; }

/* The green class box */
.class-book-rich { gap: 8px; padding: 30px 26px 26px; background: linear-gradient(160deg, #3F7D69 0%, var(--violet) 70%); position: relative; overflow: hidden; }
.class-book-rich::after { content: ""; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); }
.class-book-rich > * { position: relative; z-index: 1; }
.class-book-rich .class-book-kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: center; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 6px 16px; }
.class-book-rich .class-book-kicker .icon { width: 16px; height: 16px; }
.class-book-rich .class-book-date { font-size: 1.9rem; margin-top: 6px; }
.class-book-rich .class-book-price { display: inline-flex; align-items: baseline; gap: 8px; justify-self: center; background: rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 4px 22px 8px; margin-top: 10px; }
.class-book-rich .class-book-price .amount { margin: 0; }
.class-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: var(--white); font-weight: 800; text-decoration: none; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 12px; padding: 10px 18px; }
.class-more:hover { background: rgba(255, 255, 255, 0.14); }
.class-more .icon { width: 20px; height: 20px; }

/* Bring your card: a narrower pink box with the green button inside it */
.recommend { display: grid; gap: 14px; background: #FDE3EC; border: 1px solid #F7B9C2; border-radius: var(--radius); padding: 18px 20px; max-width: 520px; margin-inline: auto; width: 100%; }
.recommend-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bring-card { text-align: center; }
.bring-card .bring-head { justify-content: center; }

/* Open play prices: three cards */
.price-cards { display: grid; gap: 18px; }
.price-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--cta); border-radius: var(--radius-lg); padding: 24px 22px; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; box-shadow: 0 6px 16px rgba(58, 48, 54, 0.08); }
.price-card h3 { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--amaranth); }
.price-ring { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--cta); background: var(--tint); color: var(--violet); }
.price-ring .icon { width: 26px; height: 26px; }
.price-card-for { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.45; min-height: 3em; }
.price-card-amount { margin: 6px 0 0; display: grid; gap: 0; }
.price-card-big { font-family: var(--font-heading); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--ink); }
.price-card-tax { font-size: 0.9375rem; color: var(--muted); }
.price-card-foot { margin: 8px 0 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--violet); background: var(--tint); border-radius: 999px; padding: 6px 16px; }
.price-card-foot .icon { width: 16px; height: 16px; }
.price-card-warn { color: #7A4B00; background: #FFF1D0; }
.price-card-walk { border-top-color: var(--gold); }
@media (min-width: 900px) {
  .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .price-card { padding: 30px 26px 26px; }
}

/* Rewards: a punch card, on its own background */
.section-tint { background: var(--tint); }
.punch-card { width: min(100%, 720px); margin-inline: auto; background: var(--white); border: 3px dashed var(--cta); border-radius: 22px; padding: 22px 20px 20px; box-shadow: 0 10px 26px rgba(58, 48, 54, 0.1); display: grid; gap: 16px; }
.punch-head { display: flex; align-items: center; gap: 14px; border-bottom: 2px dotted var(--line); padding-bottom: 14px; }
.punch-head img { width: 56px; height: 56px; flex: none; }
.punch-head div { display: grid; text-align: left; }
.punch-head b { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--amaranth); }
.punch-head span { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8125rem; color: var(--violet); }
.punch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.5fr); grid-template-rows: auto auto; gap: 10px; }
.punch { display: grid; place-items: center; align-content: center; gap: 2px; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--cta); background: var(--tint); color: var(--cta); }
.punch svg { width: 38%; height: auto; }
.punch small { font-size: 0.6875rem; font-weight: 800; color: var(--muted); }
.punch-free { grid-column: 6; grid-row: 1 / span 2; aspect-ratio: auto; border-radius: 22px; border: 3px dashed var(--ink); background: var(--gold); color: var(--ink); text-align: center; }
.punch-free .icon { width: 34px; height: 34px; }
.punch-free b { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; }
.punch-free small { color: var(--ink); font-size: 0.8125rem; }
.punch-foot { margin: 0; text-align: center; font-size: 1rem; line-height: 1.5; color: var(--ink); }
@media (min-width: 900px) { .punch-card { padding: 30px 36px 26px; gap: 20px; } .punch-grid { gap: 14px; } }

/* Class page: the bottom of the page */
.class-foot-big { background: var(--violet); color: var(--white); border: 0; border-radius: var(--radius-lg); padding: 34px 28px; gap: 12px; }
.class-foot-big .class-foot-lead { color: var(--white); font-size: 1.5rem; }
.class-foot-big .class-foot-lead span { display: block; }
.class-foot-big .class-foot-sub { color: #E6F2EE; font-size: 1.125rem; }
.class-need { display: grid; gap: 20px; background: var(--white); border: 2px solid var(--cta); border-radius: var(--radius-lg); padding: 24px 22px; align-items: center; }
.class-need-eight { display: grid; justify-items: center; gap: 6px; background: var(--tint); border-radius: var(--radius); padding: 18px 26px; }
.class-need-num { font-family: var(--font-heading); font-weight: 900; font-size: 4.2rem; line-height: 1; color: var(--amaranth); }
.class-need-label { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.875rem; color: var(--violet); }
.class-need-dots { display: flex; gap: 6px; margin-top: 6px; }
.class-need-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--cta); }
.class-need-copy { text-align: left; display: grid; gap: 8px; }
.class-need-copy p { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.class-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.class-terms li { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 22px 20px; }
.class-terms .ring { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--cta); background: var(--tint); color: var(--violet); }
.class-terms .ring .icon { width: 22px; height: 22px; }
.class-terms b { font-family: var(--font-heading); font-size: 1.125rem; color: var(--amaranth); }
.class-terms span:last-child { color: var(--muted); line-height: 1.45; }
.class-cta { text-align: center; display: grid; gap: 12px; justify-items: center; background: var(--tint); border-radius: var(--radius-lg); padding: 30px 20px; }
.class-cta p { margin: 0; }
@media (min-width: 900px) {
  .class-need { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 28px 36px; }
  .class-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .class-foot-big { padding: 44px 60px; }
  .class-foot-big .class-foot-lead { font-size: 1.9rem; }
}
.recommend .btn { width: 100%; justify-content: center; }
#prices .latte-note, #prices .price-cards { grid-column: 1 / -1; }
#prices .latte-note { max-width: 760px; justify-self: center; }
.price-card-for { min-height: 4.4em; }
.price-card-foot { white-space: nowrap; align-self: end; }
.price-card { grid-template-rows: auto auto auto auto 1fr; }

/* Bring your card: tidy and aligned */
.bring-card { max-width: 680px; margin-inline: auto; width: 100%; text-align: center; display: grid; gap: 16px; justify-items: center; }
.bring-card .bring-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bring-card h3 { margin: 0; }
.bring-card > p { margin: 0; max-width: 560px; }
.recommend { max-width: 560px; width: 100%; gap: 16px; padding: 20px 22px; }
.recommend-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; text-align: left; }
.recommend-top > span:first-child { text-align: left; line-height: 1.35; }
.recommend-price { display: grid; place-items: center; min-width: 76px; height: 76px; border-radius: 50%; background: var(--white); border: 3px solid var(--cta); font-family: var(--font-heading); font-weight: 900; font-size: 1.75rem; color: var(--amaranth); }

/* Prices: the latte line in each card */
.price-card-latte { margin: 10px -22px -24px; align-self: end; width: calc(100% + 44px); display: flex; align-items: center; justify-content: center; gap: 8px; background: #FDE3EC; color: var(--amaranth); font-weight: 800; font-size: 0.9375rem; padding: 12px 14px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.price-card-latte .icon { width: 20px; height: 20px; color: var(--violet); flex: none; }
@media (min-width: 900px) { .price-card-latte { margin: 10px -26px -26px; width: calc(100% + 52px); } }
.price-best-latte { margin: 14px 0 0; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 0.9375rem; color: var(--white); justify-self: start; }
.price-best-latte .icon { width: 20px; height: 20px; }
#rewards-title sup { font-size: 0.55em; vertical-align: super; line-height: 0; }

/* Punch card: logo with tagline, label at the upper right */
.punch-head { justify-content: space-between; }
.punch-head picture { display: block; }
.punch-head img { width: min(100%, 300px); height: auto; }
.punch-label { font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem; color: var(--violet); align-self: flex-start; border: 2px solid var(--cta); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.recommend { grid-template-columns: minmax(0, 1fr); }
.price-card-latte span { text-align: center; line-height: 1.25; }

/* Header: more room between the menu items */
.nav-desktop { gap: 30px; }
@media (min-width: 900px) and (max-width: 1100px) { .nav-desktop { gap: 22px; } }

/* Punch card on phones: smaller, so the FREE spot fits */
@media (max-width: 599px) {
  .punch-card { padding: 16px 12px 16px; border-width: 2px; border-radius: 18px; gap: 12px; }
  .punch-head { gap: 8px; padding-bottom: 10px; }
  .punch-head img { width: min(60vw, 210px); }
  .punch-label { font-size: 0.6875rem; padding: 3px 8px; letter-spacing: 0.06em; }
  .punch-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .punch { border-width: 2px; }
  .punch small { font-size: 0.5625rem; }
  .punch-free { grid-column: 1 / -1; grid-row: auto; flex-direction: row; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 16px; padding: 10px 12px; margin-top: 4px; }
  .punch-free .icon { width: 24px; height: 24px; }
  .punch-free b { font-size: 1.25rem; }
  .punch-free small { font-size: 0.8125rem; }
  .punch-foot { font-size: 0.9375rem; }
}

/* More room between the header menu items, and air around the hero line */
.nav-desktop { gap: 44px; }
@media (min-width: 900px) and (max-width: 1100px) { .nav-desktop { gap: 28px; } }
@media (min-width: 1101px) and (max-width: 1260px) { .nav-desktop { gap: 36px; } }
.hero-intro { margin: 20px 0 22px; line-height: 1.55; }
@media (max-width: 599px) { .hero-intro { margin: 14px 0 16px; } }
#levels .wide-photo { object-position: center 18%; }

/* Thank you page: how it works, and the safe sender help */
.safe-sender { display: grid; gap: 10px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; text-align: left; }
.safe-sender h2, .safe-sender p { margin: 0; }
.safe-sender details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.safe-sender summary { font-weight: 800; cursor: pointer; color: var(--amaranth); }
.safe-sender details p { margin-top: 8px; line-height: 1.5; }

/* Open Play prices: the seat card on top with a green top edge, the table and walk-up cards side by side below */
.price-cards { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; gap: 24px; }
.price-card-lead { width: 100%; max-width: 520px; border-top: 8px solid var(--violet); }
.price-card-lead .price-card-big { font-size: 3.4rem; }
.price-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; width: 100%; max-width: 1040px; }
@media (min-width: 700px) { .price-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The time bar legend: the colored square sits at the top, beside the bold title */
.class-legend li { align-items: flex-start; }
.class-legend .swatch { margin-top: 4px; }
.class-legend .legend-sub { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 480px) {
  .class-legend { flex-direction: column; gap: 10px; }
  .class-panel { padding-inline: 12px; }
  .class-about { padding: 16px 14px 18px; }
  .class-cover { padding: 18px 12px 20px; }
  .class-book-rich { padding: 26px 16px 20px; }
}

/* Class Prices box: the link to the class page sits under the card */
.class-prices-more { margin: 0; text-align: center; }

/* Header menu on larger screens: links closer together with a thin line between them */
.nav-desktop { gap: 16px; }
.nav-desktop a:not(.btn) + a:not(.btn)::before { content: ""; align-self: center; height: 1.1em; margin-right: 16px; border-left: 1px solid var(--muted); }
.nav-desktop .btn { margin-left: 8px; }

/* The class bonus line in the green class box */
.class-promo { font-weight: 800; background: rgba(0, 0, 0, 0.2); border-radius: var(--radius-sm); padding: 8px 10px; }
.class-promo .icon { width: 16px; height: 16px; vertical-align: -2px; color: var(--gold); }
.class-promo a { color: var(--white); text-decoration: underline; white-space: nowrap; }

.session-promo { font-weight: 800; color: var(--violet); }

/* The bonus promotion: a pill in the home hero, a box on the class page, and a note in the reservation form */
.badge-promo { width: max-content; background: var(--gold-soft); border-color: var(--gold); color: var(--violet-deep); text-decoration: none; white-space: normal; text-align: center; line-height: 1.2; max-width: calc(100% - 24px); }
.badge-promo .icon { width: 18px; height: 18px; color: var(--gold); flex: none; }
.badge-promo:hover { background: var(--white); }
.bonus-box { background: linear-gradient(135deg, var(--gold-soft) 0%, var(--white) 70%); border: 2px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 22px 20px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.bonus-box::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--violet); }
.bonus-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding-left: 6px; }
.bonus-ring { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--violet); color: var(--white); border: 3px solid var(--gold); }
.bonus-ring .icon { width: 28px; height: 28px; }
.bonus-kicker { margin: 0 0 4px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; color: var(--violet); }
.bonus-title { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; line-height: 1.2; color: var(--amaranth); }
.bonus-lede { margin: 0; font-size: 1.0625rem; }
.bonus-steps { list-style: none; margin: 0; padding: 0 0 0 6px; display: grid; gap: 12px; }
.bonus-steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 12px 14px; }
.bonus-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: var(--white); font-weight: 800; }
.bonus-steps b { display: block; font-family: var(--font-heading); color: var(--ink); }
.bonus-step-text { display: block; font-size: 0.9875rem; line-height: 1.45; }
.bonus-fine { margin: 0; padding-left: 6px; font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) {
  .bonus-box { padding: 28px 32px 28px 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px 32px; }
  .bonus-fine { grid-column: 1 / -1; }
  .bonus-title { font-size: 1.7rem; }
}
.bonus-note { background: var(--gold-soft); border: 1px solid var(--gold); border-left: 6px solid var(--violet); border-radius: var(--radius-sm); padding: 12px 16px; display: grid; gap: 6px; }
.bonus-note p { margin: 0; }

.session-row-class .row-bonus { background: rgba(0, 0, 0, 0.2); border-radius: var(--radius-sm); padding: 6px 10px; line-height: 1.35; }
.session-row-class .row-bonus .icon { width: 16px; height: 16px; vertical-align: -2px; color: var(--gold); }
.session-row-class .row-bonus a { color: var(--white); text-decoration: underline; white-space: nowrap; font-weight: 700; }

.hero-card:has(.badge-promo) { padding-top: 54px; }
@media (min-width: 640px) { .hero-card:has(.badge-promo) { padding-top: 36px; } }

.source-choices { display: flex; flex-wrap: wrap; gap: 8px; }

/* The note about Master Your Mahjong and its founder, under the check marks on the class page */
.class-founder { border-left: 4px solid var(--violet); padding-left: 14px; }
