/* Creative Canvas by Alisha · Studio Table v2.0 (docs/DESIGN-SYSTEM.md; components mirror the Claude Design system).
   The painting taped to the studio wall, masking-tape labels, paint chips for dates, snapshots from past nights.
   Every color is from the logo or Alisha's business-card turquoise. 18px text floor, 48px taps, 56px controls. */
:root {
  --studio: #FBF3E6; --paper: #FFFFFF; --kraft: #EAD7B0; --line: #E6D5B8;
  --ink: #231F20; --ink-soft: #57504F;
  --red: #CA2425; --red-press: #971233; --on-red: #FFFFFF;
  --orange: #F28B3D; --magenta: #C3125A; --magenta-soft: #F3D0DE;
  --orange-light: #F8B479; /* price tape: ink 9.2:1 (the logo orange gives 6.6:1, which reads hard at tape size) */
  --turquoise: #4AA7C0; --on-turquoise: var(--ink);
  --turquoise-light: #8FCCDB; /* the field under body text: ink 9.2:1 (the card turquoise gives 5.9:1); never white text */
  --blue: #1B67A1; --navy: #11264A; --on-navy: #FBF3E6;
  --success: #1F6B4F; --success-soft: #E3F1EA; --danger: var(--red-press); --danger-soft: #FBE3E6;
  --focus: var(--ink);
  /* beech for the tabletop easel only (src/easel.ts): lit face, face, shaded side, deepest shadow, end grain */
  --wood-lit: #E4BC93; --wood: #D3A378; --wood-side: #B5835A; --wood-deep: #966641; --wood-grain: #A87449;
  --font-display: "Bricolage Grotesque", "Bricolage Fallback", "Arial Black", system-ui, sans-serif;
  --font-body: Figtree, "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Shantell Sans", "Comic Sans MS", "Marker Felt", cursive;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-7: 28px; --space-8: 32px; --space-9: 48px; --space-10: 72px;
  --radius-chip: 10px; --radius-field: 14px; --radius-card: 22px; --radius-pill: 999px;
  --shadow-card: 0 2px 0 rgba(35,31,32,.10), 0 14px 30px rgba(35,31,32,.08);
  --shadow-press: 0 4px 0 #971233;
  --shadow-snapshot: 0 10px 20px rgba(35,31,32,.18);
  --shadow-float: 0 10px 24px rgba(35,31,32,.30);
  --tilt-label: -2deg; --tilt-price: -1deg; --tilt-painting: -1.5deg; --tilt-snap-a: -2deg; --tilt-snap-b: 1.5deg;
  --tap-min: 48px; --control-h: 56px; --sticky-h: 74px; --measure: 34em;
  color-scheme: light;
}

/* Metric-matched fallbacks (measured against Arial) so text doesn't reflow when the web fonts arrive. */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 700 800;
  size-adjust: 91.4%; ascent-override: 101.7%; descent-override: 29.5%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 800;
  size-adjust: 100%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--studio); color: var(--ink); font: 400 18px/1.5 var(--font-body); text-rendering: optimizeLegibility; }
@media (min-width: 900px) { body { font-size: 19px; line-height: 1.55; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-navy :focus-visible { outline-color: var(--on-navy); }
h1, h2, h3 { color: inherit; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .25em 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--space-5); }
@media (min-width: 900px) { .wrap { padding-inline: var(--space-8); } }
.narrow { max-width: 820px; }
.muted { color: var(--ink-soft); }
.lead { font-size: 19px; max-width: var(--measure); }
@media (min-width: 900px) { .lead { font-size: 21px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sr:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--paper); padding: 12px 16px; border-radius: var(--radius-field); }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: .98; margin: 0; }
.h-hero { font-size: clamp(34px, 5.4vw, 72px); line-height: .95; letter-spacing: -0.025em; }
.h-event { font-size: clamp(44px, 5vw, 64px); }
/* a painting's title, wherever it appears (headings, cards, captions): our display face leaned 9°, since Bricolage has no
   italic (Matt, 2026-10-07; the same as on the promo images). Inline-block so the lean applies inside a line of text. */
.pt { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; display: inline-block; transform: skewX(-9deg); }
.h-section { font-size: clamp(34px, 4vw, 44px); line-height: 1; }
.h-sm { font: 700 22px/1.25 var(--font-body); margin: 0; }
.section { padding-block: var(--space-9); }
@media (min-width: 900px) { .section { padding-block: var(--space-10); } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-3) var(--space-6); margin-bottom: var(--space-6); }
.section-head .h-section { margin-top: var(--space-2); }
.section-head > a { display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: 700; }
.stack { display: grid; gap: var(--space-3); }

/* ---------- tape */
.tape { display: inline-block; width: fit-content; align-self: flex-start; justify-self: start; background: var(--kraft); color: var(--ink); padding: 3px 14px 5px;
  font: 600 19px/1.2 var(--font-hand); transform: rotate(var(--tilt-label));
  clip-path: polygon(0 6%, 4% 0, 50% 4%, 96% 0, 100% 8%, 99% 50%, 100% 92%, 95% 100%, 50% 96%, 5% 100%, 0 94%, 1% 50%); }
.tape-price { background: var(--orange-light); font: 800 20px/1.2 var(--font-body); padding: 3px 12px 5px; transform: rotate(var(--tilt-price)); }
.tape-flat { transform: none; }

/* ---------- paint chip (date swatch; color comes from the painting) */
.paint-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 60px; height: 60px;
  border-radius: var(--radius-chip); background: var(--chip, var(--kraft)); color: var(--chip-ink, var(--ink)); font: 800 24px/1 var(--font-display); }
.paint-chip small { font: 800 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.when-row { display: flex; gap: var(--space-3); align-items: center; }
.when-row .lines { display: flex; flex-direction: column; min-width: 0; }
.when-row strong { font-size: 19px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--control-h); padding: 0 28px; border-radius: var(--radius-pill);
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 19px/1 var(--font-body); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--ink); color: var(--studio); }
.btn-primary { background: var(--red); border-color: var(--red); color: var(--on-red); box-shadow: var(--shadow-press); margin-bottom: 4px; }
.btn-primary:hover { background: var(--red-press); border-color: var(--red-press); color: var(--on-red); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-press); }
.btn-on-dark { background: transparent; border-color: var(--on-navy); color: var(--on-navy); }
.btn-on-dark:hover { background: var(--on-navy); color: var(--navy); }
.btn-ghost { background: var(--paper); }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: var(--tap-min); padding: 0 20px; font-size: 18px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.status-soldout { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--control-h); padding: 0 20px; border-radius: var(--radius-pill);
  background: var(--navy); color: var(--on-navy); font-weight: 700; text-align: center; }
.btn-stack { display: grid; gap: var(--space-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- fact chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
a.chip { min-height: var(--tap-min); }
button.chip { min-height: var(--tap-min); font: inherit; font-weight: 700; cursor: pointer; }
button.chip:hover { background: var(--ink); color: var(--paper); }
button.chip:disabled { opacity: .5; cursor: default; }
a.chip:hover { background: var(--ink); color: var(--studio); }
/* quick-answer chips (checkout's "how did you hear"): radios dressed as chips; the chosen one fills in and a check
   badge pops onto its corner (so nothing reflows); tapping it again clears it (public/js/checkout.js) */
fieldset.heard-q { border: 0; padding: 0; min-width: 0; }
fieldset.heard-q legend { padding: 0; margin-bottom: 10px; }
fieldset.heard-q legend .hint { display: block; }
fieldset.heard-q .chips { gap: 8px; }
.chip.pick { position: relative; min-height: var(--tap-min); padding: 0 11px; font-size: 15px; cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent; transition: background-color .15s, color .15s; }
.chip.pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip.pick svg { position: absolute; top: -7px; right: -5px; width: 20px; height: 20px; padding: 3px; box-sizing: border-box; border-radius: 50%;
  background: var(--red); color: var(--on-red); stroke-width: 3.5; transform: scale(0); transition: transform .18s cubic-bezier(.3, 1.6, .6, 1); pointer-events: none; }
.chip.pick:has(input:checked) { background: var(--ink); color: var(--paper); }
.chip.pick:has(input:checked) svg { transform: scale(1); }
.chip.pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .chip.pick:not(:has(input:checked)):hover { background: var(--kraft); } }
@media (prefers-reduced-motion: reduce) { .chip.pick, .chip.pick svg { transition: none; } }
.chip-seats { background: var(--magenta-soft); border-color: var(--magenta-soft); }
.chip-out { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

/* ---------- price */
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.price-line .after { color: var(--ink-soft); }
.price-block { position: relative; background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 30px 22px 20px; display: grid; gap: var(--space-3); }
.price-block > .tape { position: absolute; top: -14px; left: 18px; }
.price-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.price-row .amt { font: 800 40px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.price-row .amt.now { color: var(--red); }
.price-row .amt.other { font-size: 32px; }
.price-note { margin: 0; padding-top: var(--space-3); border-top: 2px dashed var(--line); }

/* ---------- taped painting */
.taped { position: relative; display: inline-block; background: var(--paper); padding: 8px; box-shadow: var(--shadow-snapshot); transform: rotate(var(--tilt-painting)); }
.taped img { display: block; max-width: 100%; height: auto; }
.taped::before, .taped::after { content: ""; position: absolute; top: -12px; width: 74px; height: 24px; background: var(--kraft); opacity: .92; }
.taped::before { left: -18px; transform: rotate(-32deg); }
.taped::after { right: -18px; transform: rotate(32deg); }

/* ---------- event card */
.event-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); }
.event-grid > li { margin: 0; display: grid; }
.event-card { position: relative; display: grid; background: var(--paper); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.event-card .art { position: relative; display: grid; place-items: center; background: var(--kraft); padding: 22px; height: 364px; } /* fixed: no shift as the painting loads */
.event-card .art img { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; box-shadow: 0 8px 16px rgba(35,31,32,.2); }
.event-card .art .paint-chip { position: absolute; top: 12px; left: 12px; }
.event-card .body { display: flex; flex-direction: column; gap: 6px; padding: var(--space-5); }
.event-card .title { font: 800 30px/1.02 var(--font-display); margin: 0; }
.event-card .title a { color: var(--ink); text-decoration: none; }
.event-card .title a::after { content: ""; position: absolute; inset: 0; }
.event-card .foot { margin-top: auto; padding-top: var(--space-3); display: grid; gap: var(--space-3); }
.event-card .foot .btn, .event-card .foot .status-soldout { position: relative; z-index: 1; }
@media (min-width: 700px) { .event-card.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .event-card.wide .art { height: auto; min-height: 404px; } .event-card.wide .art img { max-height: 360px; } }

/* ---------- snapshots, carousel, galleries */
.snapshot { margin: 0; background: var(--paper); color: var(--ink); padding: 10px 10px 0; box-shadow: var(--shadow-snapshot); transform: rotate(var(--tilt-snap-a)); }
.snapshot:nth-child(even) { transform: rotate(var(--tilt-snap-b)); }
.snapshot img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.snapshot figcaption, .snapshot .cap { display: block; padding: 8px 2px 10px; font: 600 18px/1.3 var(--font-hand); }
.snapshot a { color: inherit; text-decoration: none; display: block; }
.carousel { display: grid; gap: var(--space-3); }
.car-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 24px 22px; margin-inline: -20px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track .snapshot { flex: 0 0 min(78%, 340px); scroll-snap-align: center; }
.car-ctl { display: flex; justify-content: flex-end; gap: 10px; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover { background: var(--ink); color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.gallery-grid > li { margin: 0; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 26px; } }
.gallery-grid .snapshot { padding: 8px 8px 0; }
.gallery-grid > li:nth-child(even) .snapshot { transform: rotate(var(--tilt-snap-b)); }
.gal { display: grid; gap: 10px; color: var(--ink); text-decoration: none; }
.gal:hover .snapshot { box-shadow: 0 14px 26px rgba(35,31,32,.24); }
.gal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-left: 2px; }
.gal-meta .count { padding: 0; }
.gallery-grid .cap { padding-bottom: 2px; }
.gallery-grid .count { display: block; font: 400 18px/1.3 var(--font-body); color: var(--ink-soft); }
/* justified rows, left to right in shot order: each photo keeps its shape, grows by its aspect ratio from a target row
   height (--row), and every row fills the width; the spacer keeps the last row from stretching */
.photo-wall { --row: 100px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 700px) { .photo-wall { --row: 150px; gap: 10px; } }
@media (min-width: 1050px) { .photo-wall { --row: 180px; } }
.photo-wall::after { content: ""; flex-grow: 10000; }
.photo-wall a { display: block; flex-grow: calc(var(--w) / var(--h)); flex-basis: calc(var(--w) / var(--h) * var(--row)); min-width: 0;
  background: var(--paper); padding: 5px; box-shadow: 0 2px 0 rgba(35,31,32,.08); }
.photo-wall img { display: block; width: 100%; height: auto; aspect-ratio: var(--w) / var(--h); object-fit: cover; }

/* ---------- color fields */
.on-turquoise { background: var(--turquoise-light); color: var(--on-turquoise); }
.on-turquoise a:not(.btn):not(.chip) { color: var(--on-turquoise); }
.on-turquoise .car-btn { background: var(--paper); }
.on-orange { background: var(--orange); color: var(--ink); }
.on-navy { background: var(--navy); color: var(--on-navy); }

/* ---------- partner logos: the venue's own artwork on our plate (never taped, tilted or recolored) */
.partner-plate { display: inline-grid; place-items: center; flex: none; background: var(--paper); border-radius: var(--radius-field); padding: 14px 18px; text-decoration: none; }
.partner-plate img { display: block; width: var(--logo-w, 120px); height: var(--logo-h, auto); max-width: 100%; object-fit: contain; }
.partner-plate.sm { padding: 6px 10px; border-radius: 10px; }
.partner-plate.lg { padding: 22px 28px; }
.event-card .partner-plate, .order-summary .partner-plate { background: var(--studio); }
.venue-line { display: flex; align-items: center; gap: var(--space-3); }
.venue-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-5); }
.partner-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.partner-strip li { flex: 0 1 132px; margin: 0; }
.partner-strip a { display: grid; place-items: center; min-height: 92px; background: var(--paper); border-radius: var(--radius-field); text-decoration: none; }
.partner-strip a:hover { box-shadow: 0 0 0 2px var(--ink); }

/* ---------- Paint & Sip mark */
.pns { display: block; width: auto; }
.pns-line { height: 30px; }
@media (min-width: 900px) { .pns-line { height: 36px; } }

/* ---------- header, nav, footer */
.site-header { container-type: inline-size; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.site-header .logo { display: flex; align-items: center; min-height: var(--tap-min); }
.site-header .logo img { height: 44px; width: auto; }
@media (min-width: 900px) { .site-header .wrap { min-height: 88px; } .site-header .logo img { height: 56px; } }
.nav { display: flex; gap: 4px; flex: none; }
.nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 14px; border-radius: var(--radius-pill); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav a:hover { background: var(--kraft); color: var(--ink); }
.nav a[aria-current] { background: var(--ink); color: var(--studio); font-weight: 700; }
@container (max-width: 520px) { .nav { gap: 2px; } .nav a { padding: 0 8px; } .site-header .logo img { height: 40px; } }
@container (max-width: 340px) { .nav { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; } }
.site-footer { background: var(--turquoise); color: var(--on-turquoise); }
.site-footer a { color: var(--on-turquoise); display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: 600; }
.site-footer .cols { display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-block: 56px 16px; }
.site-footer h3 { font: 800 22px/1.2 var(--font-display); margin: 0 0 4px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer .logo { height: 72px; width: auto; margin-bottom: var(--space-3); }
.site-footer .fine { padding-block: 8px 40px; margin: 0; }
body.has-sticky .site-footer .fine { padding-bottom: calc(var(--sticky-h) + 40px); }
@media (min-width: 900px) { body.has-sticky .site-footer .fine { padding-bottom: 40px; } }

/* ---------- home */
.home-hero { padding-block: var(--space-4) var(--space-7); overflow-x: clip; }
.home-hero .wrap { display: grid; gap: var(--space-6); align-items: center; }
.home-hero .intro { display: grid; gap: var(--space-4); }
.home-hero .lead { margin: 0; }
.home-hero .btn-row { display: none; }
@media (min-width: 900px) {
  .home-hero { padding-block: var(--space-8) var(--space-9); }
  .home-hero .wrap { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--space-9); }
  .home-hero .btn-row { display: flex; }

}
.upnext { padding-block: 0 var(--space-9); }
.upnext .note { margin: var(--space-6) 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { margin: 0; background: var(--studio); border-radius: var(--radius-card); padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.steps .n { font: 800 54px/.9 var(--font-display); color: var(--red); }
.steps p { margin: 0; }
.about-grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 820px) { .about-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); } }
.about-grid .snapshot { max-width: 380px; }
.about-grid .snapshot img { aspect-ratio: 4 / 5; }
.about-grid .text { display: grid; gap: var(--space-3); max-width: 38em; }
.about-grid .text p { margin: 0; }
.quotes { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quote { position: relative; margin: 0; background: var(--paper); border-radius: var(--radius-card); padding: 46px 24px 22px; box-shadow: var(--shadow-card); }
.quote::before, .quote footer::after { position: absolute; font: 800 64px/1 var(--font-display); color: var(--red); }
.quote::before { content: "\201C"; top: 4px; left: 18px; }
.quote p { margin: 0 0 12px; }
.quote footer { position: relative; font: 600 18px/1.3 var(--font-hand); padding-right: 44px; }
.quote footer::after { content: "\201D"; right: -6px; top: -6px; }   /* closes the quote at the text's bottom right, level with the name */

/* ---------- event page */
.ev-hero { padding-block: var(--space-4) var(--space-8); overflow-x: clip; } /* the easel's shadows may reach past the column */
.ev-grid { display: grid; gap: var(--space-5); grid-template-areas: "head" "art" "info"; }
.ev-head { grid-area: head; display: grid; gap: var(--space-3); }
.ev-art { grid-area: art; display: flex; justify-content: center; padding: 18px 0 6px; }
.ev-art .taped { width: min(76vw, 300px); }
.ev-info { grid-area: info; display: grid; gap: var(--space-6); align-content: start; }
.ev-info .price-block { margin-top: 10px; }
@media (min-width: 900px) {
  .ev-hero { padding-block: var(--space-8) var(--space-9); }
  .ev-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; row-gap: var(--space-5); grid-template-areas: "art head" "art info"; align-items: start; }
  .ev-art { padding: 24px 12px; align-self: start; position: sticky; top: 24px; }
  .ev-art .taped { width: min(100%, 500px); }
}
.prose { max-width: var(--measure); }
.prose h3 { font: 700 22px/1.25 var(--font-body); margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.1em; }
.venue-band { padding-block: var(--space-9); }
.venue-band .venue-head { margin-bottom: var(--space-4); }
.venue-band .carousel { margin-block: var(--space-4) var(--space-6); }
.venue-grid { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .venue-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.venue-grid p { max-width: var(--measure); }
.food-card { background: var(--studio); color: var(--ink); border-radius: var(--radius-card); padding: 20px 22px 8px; }
.food-card a { color: var(--blue); }
.food-list { list-style: none; margin: 8px 0 0; padding: 0; }
.food-list li { margin: 0; padding: 10px 0; border-bottom: 2px dashed var(--line); }
.food-list li strong { display: block; }
.food-list li span { display: block; color: var(--ink-soft); }
.more-link { display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: 700; background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; font: inherit; font-weight: 700; }
.kv { display: grid; gap: 4px 16px; grid-template-columns: auto minmax(0, 1fr); margin: 0 0 16px; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; }
.venue-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.access-note { background: var(--paper); border-radius: var(--radius-field); padding: 12px 14px; }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
details.faq { background: var(--paper); border-radius: var(--radius-card); box-shadow: 0 2px 0 rgba(35,31,32,.08); }
details.faq summary { position: relative; min-height: var(--tap-min); padding: 16px 56px 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 800 28px/1 var(--font-display); color: var(--red); }
details.faq[open] summary::after { content: "\2212"; }
details.faq .a { padding: 0 20px 18px; }
details.faq .a p { margin: 0; }

/* ---------- sticky buy bar (phones) */
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 30; min-height: var(--sticky-h);
  border-radius: var(--radius-pill); background: var(--navy); color: var(--on-navy); box-shadow: var(--shadow-float);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 9px 9px 24px; }
.sticky-buy .now { display: block; font-weight: 800; font-size: 19px; color: var(--orange); line-height: 1.2; }
.sticky-buy .then { display: block; line-height: 1.2; }
.sticky-buy .btn-primary { min-width: 148px; margin: 0; box-shadow: none; font-size: 18px; flex: none; }
.sticky-buy .btn-on-dark { min-width: 148px; flex: none; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
body.has-sticky { padding-bottom: 0; }

/* ---------- venue page */
.venue-hero { padding-block: var(--space-6) var(--space-7); }
.venue-hero .venue-head .stack { gap: var(--space-2); }

/* ---------- forms */
.field { display: grid; gap: 6px; margin: 0 0 var(--space-5); }
.field label, .field .label, .label { font-weight: 700; }
#guests { display: grid; gap: 8px; margin: 0 0 var(--space-3); }
#guests[hidden] { display: none; }
.field .hint, .hint { color: var(--ink-soft); font-weight: 400; }
label .hint { display: block; }
.input, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input[type=password], input[type=url], select, textarea {
  box-sizing: border-box; width: 100%; min-height: var(--control-h); padding: 12px 16px; font: 400 18px/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-field); }
textarea { min-height: 160px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.field.has-error input, .field.has-error .input { border-color: var(--danger); }
.field .error { color: var(--danger); font-weight: 700; }
.stepper { justify-self: start; display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--radius-field); background: var(--paper); overflow: hidden; }
.stepper button { width: 56px; height: 56px; border: 0; background: var(--kraft); color: var(--ink); font: 800 26px/1 var(--font-display); cursor: pointer; }
.stepper button:disabled { opacity: .45; cursor: not-allowed; }
.stepper output { min-width: 64px; text-align: center; font: 800 24px/1 var(--font-display); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 28px; height: 28px; margin: 0; flex: none; accent-color: var(--red); }
.panel { background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-5); }
@media (min-width: 900px) { .panel { padding: var(--space-6); } }

/* ---------- checkout (quiet: no tilt, no handwriting) */
.co { display: grid; gap: var(--space-6); padding-block: var(--space-5) var(--space-9); grid-template-areas: "head" "sum" "form"; }
.co-head { grid-area: head; display: grid; gap: var(--space-2); }
.co-sum { grid-area: sum; }
.co-form { grid-area: form; display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 920px) { .co { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "head head" "form sum"; column-gap: var(--space-9); align-items: start; } .co-sum { position: sticky; top: 24px; } }
.order-summary { background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-5); display: grid; gap: var(--space-3); }
.order-summary .head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.order-summary .head > img { width: 76px; height: auto; box-shadow: 0 4px 10px rgba(35,31,32,.18); }
.order-summary .head .t { font: 800 22px/1.1 var(--font-display); margin: 0 0 2px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row.save { color: var(--success); font-weight: 700; }
.sum-row.save[hidden] { display: none; }
.sum-total { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); padding-top: var(--space-3); font: 800 26px/1.2 var(--font-display); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; }
.trust svg { width: 24px; height: 24px; margin-top: 2px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); margin: 18px 0; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; border-top: 2px solid var(--line); }
.or[hidden] { display: none; }
.err { display: none; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; background: var(--danger-soft); color: var(--ink); border-radius: var(--radius-field); padding: 14px 16px; font-weight: 600; margin: 12px 0; }
.err.show { display: grid; }
.err::before { content: "!"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--danger); color: #fff; font: 800 16px/1 var(--font-body); }
/* checkout: the payment options wait for name + email */
.pay-wait { margin: 0; padding: 18px; border: 2px dashed var(--line); border-radius: var(--radius-field); color: var(--ink-soft); text-align: center; }
.pay-wait[hidden], #pay[hidden], .in-app[hidden] { display: none; }
.in-app { margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius-field); background: var(--turquoise-light); color: var(--ink); font-size: 17px; }
.in-app strong { display: block; }
/* welcome back: said under the email field as soon as we recognize it */
.hint.welcome { display: block; margin-top: 6px; color: var(--success); font-weight: 700; }
.hint.welcome:empty { display: none; }

/* ---------- confirmation ticket */
.ticket-pass { position: relative; background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); margin-block: var(--space-6); }
.ticket-pass .stub { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; }
.ticket-pass .qr { width: 168px; height: 168px; image-rendering: pixelated; }
.ticket-pass .perf { position: relative; border-top: 2px dashed var(--line); margin: 0 22px; }
.ticket-pass .perf::before, .ticket-pass .perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--studio); }
.ticket-pass .perf::before { left: -34px; }
.ticket-pass .perf::after { right: -34px; }
.ticket-pass .details { padding: 18px 22px 22px; display: grid; gap: 8px; }
.ticket-pass .details p { margin: 0; }
@media (max-width: 520px) { .ticket-pass .stub { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.share-box { background: var(--paper); border-radius: var(--radius-card); padding: var(--space-5); display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.share-box p { margin: 0; }

/* ---------- notices */
.notice { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; border-radius: var(--radius-field); padding: 14px 16px; color: var(--ink); background: var(--kraft); }
.notice strong { display: block; }
.notice-error { background: var(--danger-soft); } .notice-error strong { color: var(--danger); }
.notice-success, .okbox { background: var(--success-soft); } .notice-success strong { color: var(--success); }
.notice-info { background: var(--kraft); }
.okbox { display: block; border-radius: var(--radius-field); padding: 14px 16px; }

/* ---------- lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(17,38,74,.95); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; border: 8px solid var(--paper); }
.lb button { position: absolute; background: var(--paper); color: var(--ink); border: 0; border-radius: 50%; width: 56px; height: 56px; font: 800 28px/1 var(--font-display); cursor: pointer; }
.lb .x { top: 14px; right: 14px; }
.lb .prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb .count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--on-navy); font-weight: 700; }
.lb .dl { position: absolute; bottom: 14px; right: 14px; color: var(--on-navy); font-weight: 700; min-height: var(--tap-min); display: inline-flex; align-items: center; }

/* ---------- admin: quiet mode (same tokens, no tilt, no handwriting) */
body.admin { font-size: 18px; }
.admin .tape { transform: none; font-family: var(--font-body); font-weight: 700; }
.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a { flex: none; display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 16px; border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.admin-nav a:hover { background: var(--ink); color: var(--studio); }
.admin h1 { font: 800 clamp(30px, 4vw, 40px)/1.05 var(--font-display); letter-spacing: -.015em; margin: 0 0 6px; }
.admin h2 { font: 800 26px/1.15 var(--font-display); margin: 0 0 10px; }
.admin .lead { font-size: 19px; }
table.t { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-field); overflow: hidden; font-size: 17px; }
table.t th, table.t td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t th { background: var(--kraft); font-weight: 700; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-field); }
.tbl-wrap table.t { min-width: 720px; }
.stat { display: inline-block; background: var(--paper); border-radius: var(--radius-field); padding: 12px 16px; margin: 0 8px 8px 0; box-shadow: var(--shadow-card); }
.stat b { display: block; font: 800 26px/1.1 var(--font-display); }
.checkin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--paper); border-radius: var(--radius-field); padding: 12px 12px 12px 18px; margin: 0 0 8px; }
.checkin-row .who { font: 700 20px/1.25 var(--font-body); }
.checkin-row .meta { color: var(--ink-soft); }
.checkin-row.done { background: var(--success-soft); }
.checkin-row.done .meta { color: var(--success); font-weight: 700; }
.checkin-row form { margin: 0; }
.checkin-row .btn { min-width: 132px; }
.checkin-row[hidden] { display: none; }
.grid2 { display: grid; gap: 0 18px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* ---------- page furniture */
.page-top { padding-top: var(--space-6); }
@media (min-width: 900px) { .page-top { padding-top: var(--space-8); } }
.page-head { display: grid; gap: var(--space-3); justify-items: start; margin-bottom: var(--space-8); }
.page-head .lead { margin: 0; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--ink-soft); }
.phone-only { display: block; }
@media (min-width: 900px) { .phone-only { display: none; } }
.home-hero .lead { display: none; }
@media (min-width: 900px) { .home-hero .lead { display: block; } }
.upnext .phone-only { margin: var(--space-4) 0 0; }
.where .section-head { justify-content: center; text-align: center; }
.food-list.collapsed li.more-item { display: none; }
.venue-links { margin: 0 0 var(--space-4); }
@media (max-width: 699px) {
  .event-card .art { padding: 16px; height: 232px; }
  .event-card .art img { max-height: 200px; }
  .event-card .body { padding: 16px 20px 20px; gap: 4px; }
  .upnext .section-head { margin-bottom: var(--space-4); }
  .home-hero { padding-block: var(--space-2) var(--space-5); }
  .event-card .title { font-size: 28px; }
}
@media (max-width: 699px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ---------- painting on an easel (3D). Geometry, the stage box and every face's matrix come from src/easel.ts in
   design units (canvas 250 wide); --s scales the stage so the canvas fits a box of max width x max height. */
.easel { --s: min(1.16, calc(310 / var(--hu))); position: relative; flex: none; width: calc(var(--ew) * var(--s) * 1px); height: calc(var(--eh) * var(--s) * 1px); }
@media (min-width: 900px) { .ev-art .easel { --s: min(1.88, calc(530 / var(--hu))); } }
.easel-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s)); }
.easel-rig { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.easel-rig > * { position: absolute; left: 0; top: 0; display: block; max-width: none; transform-origin: 0 0; }

/* ---------- home hero photos: real nights, crossfading (public/js/slideshow.js). Level, since each caption carries the
   venue's logo and partner logos never tilt. */
.hero-photos { position: relative; background: var(--paper); padding: 10px 10px 0; box-shadow: var(--shadow-snapshot); }
.hero-photos .slides { position: relative; aspect-ratio: 3 / 2; margin-bottom: 84px; }
.hero-photos .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.hero-photos .slide.is-on { opacity: 1; }
.hero-photos .slide > img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--kraft); }
.hero-photos figcaption { position: absolute; left: 0; right: 60px; top: 100%; height: 84px; display: flex; align-items: center; gap: 14px; min-width: 0; }
.hero-photos figcaption .partner-plate { background: var(--studio); padding: 8px 12px; flex: none; }
.hero-photos .cap { font: 600 18px/1.15 var(--font-hand); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.hero-pause { position: absolute; right: 8px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.hero-pause:hover { background: var(--ink); color: var(--paper); }
.hero-pause .i-play, .hero-pause.is-paused .i-pause { display: none; }
.hero-pause.is-paused .i-play { display: grid; }
@media (prefers-reduced-motion: reduce) { .hero-photos .slide { transition: none; } }
.seats-low { color: var(--magenta); font-weight: 700; }
.order-summary .head .venue-line { margin-top: 6px; }

/* ---------- review round 2 */
/* home: the logo leads the hero (the header drops it on the home page) */
.hero-logo { display: block; height: 84px; width: auto; margin: 0 0 4px -4px; }
@media (min-width: 900px) { .hero-logo { height: 132px; margin-bottom: 8px; } }
/* event page: "Paint & Sip at <venue logo>", the mark and the logo at matching heights */
.ev-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ev-lockup .pns { height: 44px; width: auto; }
.ev-lockup .at { color: var(--ink-soft); font-weight: 600; }
.ev-lockup .partner-plate { padding: 6px 10px; }
.ev-lockup .partner-plate img { height: 34px; width: auto; }
.ev-lockup .partner-plate.tall img { height: 52px; }
@media (min-width: 900px) { .ev-lockup .pns { height: 66px; } .ev-lockup .partner-plate { padding: 8px 12px; } .ev-lockup .partner-plate img { height: 50px; } .ev-lockup .partner-plate.tall img { height: 74px; } }
/* the venue's website and profiles as round icon links */
.venue-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 var(--space-4); padding: 0; }
.venue-links li { margin: 0; }
.social { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(35,31,32,.14); text-decoration: none; }
.social:hover { box-shadow: 0 0 0 2px var(--ink); color: var(--ink); }
/* gallery cards: photos cycle in the snapshot; below it the venue logo, then the date, then a small photo count */
.gallery-grid .snapshot { padding: 8px; }
.rot { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--kraft); }
.rot img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.rot img.on { opacity: 1; }
.gal-meta { display: grid; justify-items: start; gap: 4px; padding: 6px 0 0 2px; }
.gal-meta .partner-plate { padding: 10px 14px; margin-bottom: 4px; }
.gal-name { font: 800 21px/1.1 var(--font-display); }
.gal-date { font: 700 18px/1.25 var(--font-body); color: var(--ink); }
.gal-count { font: 400 14px/1.3 var(--font-body); color: var(--ink-soft); }

/* ---------- review round 3 */
/* home: the hero logo sits up near the nav row */
.home-hero { padding-top: 0; }
.hero-logo { margin-top: -14px; }
@media (min-width: 900px) { .home-hero { padding-top: 0; } .hero-logo { margin-top: -50px; } }
/* hero captions: the venue logo fitted to its box (tall and wide logos alike), then the painting, then the month */
.hero-photos .logo-fit { display: grid; place-items: center; flex: none; height: 68px; min-width: 68px; padding: 6px 12px; background: var(--studio); border-radius: 14px; }
.hero-photos .logo-fit img { display: block; width: auto; height: auto; max-height: 54px; max-width: 128px; }
.hero-photos .logo-name { font: 800 18px/1.1 var(--font-display); }
.hero-photos .cap { display: grid; gap: 2px; -webkit-line-clamp: unset; }
.hero-photos .cap strong { font: 800 22px/1.05 var(--font-display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-photos .cap span { font: 600 18px/1.2 var(--font-hand); color: var(--ink-soft); white-space: nowrap; }
/* gallery cards: date and photo count beside the venue logo */
.gal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.gal-meta .partner-plate { margin-bottom: 0; }
.gal-meta .when { display: grid; gap: 2px; }
/* event page facts: an even icon list instead of pills */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 700; }
.facts .i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--kraft); color: var(--ink); }
.facts .i svg { width: 22px; height: 22px; }
.facts .low { color: var(--magenta); }
.facts .low .i { background: var(--magenta-soft); color: var(--magenta); }
.facts .out .i { background: var(--navy); color: var(--on-navy); }
/* event cards: the painting's summary under the venue */
.event-card .summary { margin: 6px 0 0; color: var(--ink-soft); }
@media (max-width: 699px) { .event-card .summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } }
/* Alisha's portrait: an even white border, no caption */
.snapshot.portrait { padding: 10px; }

/* the hero slide is one link to that night's gallery */
.hero-photos .slide > a { position: absolute; inset: 0; display: block; color: var(--ink); text-decoration: none; }
.hero-photos .slide > a > img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--kraft); }
.hero-photos .slide > a:hover .cap strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- friends' share links (DECISIONS.md "Welcome back + share links") */
/* the bar under the header once a visitor has opened a friend's link: turquoise-light under ink, 9.2:1 */
.friend-bar { background: var(--turquoise-light); color: var(--ink); }
.friend-bar .wrap { display: flex; align-items: center; gap: 10px; padding-block: 10px; font-size: 17px; line-height: 1.35; }
.friend-bar svg { flex: none; }
/* the order page share card */
.share-box h2 { margin: 0; }
.share-link { min-height: var(--tap-min); font-weight: 700; text-align: center; }
/* phones: "Share your link" (the share sheet) across the top, then a 2 x 2 grid; desktop: one row of four */
.share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 700px) { .share-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.share-actions .btn { gap: 8px; padding-inline: 10px; }
.share-actions .share-native { grid-column: 1 / -1; }
.share-actions [hidden] { display: none; }
.share-box .muted { font-size: 16px; }

/* ---------- /ig: the Instagram bio link — upcoming nights first, one tap to checkout */
.ig-wrap { max-width: 680px; }
.ig.page-top { padding-top: var(--space-4); }
.ig-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); justify-items: start; }
.ig-head .lead { margin: 0; font-size: 18px; }
.ig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
/* a night's photos, for a few days after they go up ("Photos are up" posts send Instagram here) */
.ig-fresh { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.ig-fresh p { margin: 0; }
.ig-fresh p:not(.display) { font-size: 18px; }
.ig-fresh .gallery-grid { grid-template-columns: minmax(0, 1fr); max-width: 340px; margin-top: var(--space-2); }
.ig-event { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: var(--space-4);
  grid-template-areas: "art body body" "price price venue" "cta cta cta";
  padding: var(--space-4); background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
@media (min-width: 560px) { .ig-event { grid-template-areas: "art body venue" "price price price" "cta cta cta"; } }
.ig-event .art { grid-area: art; display: grid; place-items: center; background: var(--kraft); border-radius: var(--radius-field); padding: 10px; height: 140px; }
.ig-event .art img { display: block; max-width: 100%; max-height: 120px; width: auto; height: auto; box-shadow: 0 4px 10px rgba(35,31,32,.2); }
.ig-event .body { grid-area: body; display: grid; gap: var(--space-2); align-content: center; justify-items: start; min-width: 0; }
.ig-event .paint-chip { width: 48px; height: 48px; font-size: 20px; }
.ig-event .paint-chip small { font-size: 11px; }
.ig-event .when-row strong { font-size: 17px; }
.ig-event .when-row .lines span { color: var(--ink-soft); font-size: 16px; }
.ig-event .title { font: 800 24px/1.05 var(--font-display); margin: 0; }
.ig-event .title a { color: var(--ink); text-decoration: none; }
.ig-event .title a::after { content: ""; position: absolute; inset: 0; }   /* the whole card opens the event page */
.ig-event .venue { grid-area: venue; justify-self: end; }
.ig-event .venue .partner-plate { background: var(--studio); }
@media (min-width: 560px) { .ig-event .venue .partner-plate { padding: 10px 14px; } .ig-event .venue .partner-plate img { width: calc(var(--logo-w) * 1.4); height: calc(var(--logo-h) * 1.4); } }
.ig-event .price { grid-area: price; display: grid; gap: 6px; min-width: 0; }
.ig-event .price .after { white-space: nowrap; }
.ig-event .price .tape-flat { white-space: nowrap; font-size: 18px; }
@media (max-width: 559px) { .ig-event { column-gap: var(--space-3); } }
.ig-event .cta { grid-area: cta; }
.ig-event .cta .btn, .ig-event .cta .status-soldout { position: relative; z-index: 1; }
.ig-links { display: grid; gap: var(--space-3); margin-top: var(--space-7); }
@media (min-width: 560px) { .ig-links { grid-template-columns: 1fr 1fr; } }
.ig-links .btn { gap: 10px; }

/* ---------- admin: announcement emails */
.announce-grid { display: grid; gap: var(--space-5); }
.announce-side { display: grid; gap: var(--space-5); align-content: start; }
.announce-previews { display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 1100px) { .announce-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.email-preview { display: block; width: 100%; height: 1150px; border: 2px solid var(--line); border-radius: var(--radius-field); background: #FBF3E6; }

/* ---------- admin: painting upload and catalog */
.pu-canvas { display: block; max-width: 100%; border-radius: var(--radius-field); cursor: crosshair; touch-action: none; background: var(--kraft); }
.pu-result { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; }
.pu-status { margin: 10px 0 0; font-weight: 600; }
.pu-status:empty { display: none; }
.paint-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.paint-tile { display: grid; gap: 10px; padding: var(--space-4); }
.paint-tile img { width: 100%; height: 200px; object-fit: contain; background: var(--kraft); border-radius: var(--radius-field); }
.paint-name { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.paint-name .paint-chip { width: 34px; height: 34px; font-size: 14px; }
.paint-name input { min-height: 40px; padding: 6px 10px; font-size: 16px; }

/* ---------- admin: event wizard */
.wiz-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 20px; padding: 0; }
.wiz-steps li > * { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--paper); font-weight: 600; font-size: 16px; color: var(--ink-soft); text-decoration: none; }
.wiz-steps li.ok > * { color: var(--success); }
.wiz-steps li.now > * { background: var(--ink); color: var(--studio); }
.wiz-steps a:hover { background: var(--kraft); }
.admin .panel + .panel, .admin .panel + form.panel, .admin form.panel + .panel { margin-top: 18px; }
.wiz-venues { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.wiz-venues legend { margin-bottom: 8px; }
.wiz-venue { position: relative; display: block; cursor: pointer; }
.wiz-venue input { position: absolute; opacity: 0; }
.wiz-venue > span { display: grid; gap: 6px; justify-items: start; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius-field); background: var(--paper); min-height: 100%; }
.wiz-venue input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.wiz-venue input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.wiz-venue small { color: var(--ink-soft); font-size: 15px; }
.wiz-notes, .wiz-checks { margin: 0 0 16px; padding-left: 20px; }
.wiz-checks li { margin: 0 0 4px; }
.wiz-checks .bad { color: var(--danger); font-weight: 700; }
.wiz-checks .good { color: var(--success); font-weight: 700; }
.wiz-current { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.wiz-current img { width: 180px; max-height: 220px; object-fit: contain; background: var(--kraft); border-radius: var(--radius-field); padding: 8px; }
.wiz-listing { display: grid; gap: var(--space-5); }
@media (min-width: 1100px) { .wiz-listing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.wiz-previews { display: grid; gap: var(--space-5); }
.wiz-previews.wide { margin-top: 18px; }
@media (min-width: 1100px) { .wiz-previews.wide { grid-template-columns: 1fr 1fr; } }
.wiz-frame { display: block; width: 100%; height: 520px; border: 2px solid var(--line); border-radius: var(--radius-field); background: var(--studio); }
.wiz-frame.tall { height: 900px; }
textarea.mono { font: 15px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
.sum-count { font-weight: 700; }
.sum-count.over { color: var(--danger); }

.wiz-ideas { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.wiz-ideas .chip { cursor: pointer; background: var(--paper); font-weight: 700; }
.wiz-ideas .chip:hover { background: var(--ink); color: var(--studio); }

/* ---------- admin: model comparisons */
.eval-dots { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; }
.eval-dots a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); color: var(--ink-soft); text-decoration: none; font-size: 22px; line-height: 1; }
.eval-dots a.done { background: var(--success-soft); color: var(--success); }
.eval-dots a.wait { opacity: .4; }
.eval-dots a.now { outline: 3px solid var(--ink); }
.eval-judge { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .eval-judge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.eval-judge img { width: 100%; max-height: 620px; object-fit: contain; background: var(--kraft); border-radius: var(--radius-field); }
.eval-rank { display: grid; gap: 8px; margin-bottom: 8px; }
.eval-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; text-align: left; font: 600 19px/1.25 var(--font-body); color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-field); cursor: pointer; }
.eval-option:hover { border-color: var(--ink); }
.eval-option[aria-pressed="true"] { border-color: var(--ink); background: var(--studio); }
.eval-option.none { font-weight: 400; }
.eval-badge { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px dashed var(--line); font: 800 18px/1 var(--font-display); }
.eval-option[aria-pressed="true"] .eval-badge { border: 0; background: var(--ink); color: var(--studio); }
.eval-need:empty { display: none; }
