/* chiip.app, built on the Chiip Brand System (https://claude.ai/artifact/52UEm5acSdkArHijyRkAin).
   Night grounds for the big moments and white for reading. Chiip Cyan is the one light: it lives
   on objects (the ticket, buttons, the selected tab, the app's own screens), never under reading
   text. Libre Franklin for headlines, the system face for everything people read. */

@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/LibreFranklin-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  /* Color: tokens from the brand system, light theme. */
  --accent: #03aefe;
  --accent-press: #049be2;
  --on-accent: #0f1519;
  --accent-subtle: #eaf5fe;
  --link: #0176ae;
  --ground: #ffffff;
  --ground-raised: #f6f8fa;
  --ground-sunken: #eff1f3;
  --night: #0b1014;
  --ink: #0f1519;
  --ink-2: #474e53;
  --ink-3: #636a6f;
  --ink-on-night: #f6f8fa;
  --ink-2-on-night: #a5acb1;
  --line: #e0e4e7;
  --line-on-night: #2b3136;
  --line-strong: #80878d;
  --focus: #0f1519;
  --success: #017460;
  --danger: #be2323;
  --tier-bronze: #7c4119;
  --tier-silver: #6b7280;
  --tier-gold: #7c5e3f;
  --tier-diamond: #2563eb;
  /* Type */
  --font-display: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 34em; /* about 68 characters: the longest line anyone reads here */
  /* Space and shape */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-40: 160px;
  --radius-s: 6px; --radius-m: 12px; --radius-l: 24px; --radius-pill: 999px;
  --shadow-float: 0 1px 2px rgba(15, 21, 25, 0.06), 0 12px 32px rgba(15, 21, 25, 0.1);
  --shadow-coin: 0 2px 4px rgba(15, 21, 25, 0.12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  /* Section padding by weight: big moments get the most air, forms the least. */
  --pad-l: clamp(96px, 11vw, 160px);
  --pad-m: clamp(64px, 7vw, 96px);
  --pad-s: clamp(48px, 5vw, 64px);
  --edge-h: clamp(22px, 3.2vw, 52px); /* how far a band's meniscus rises into the one above */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  /* How far wide art reaches past the 1200px column to the window edge. */
  --bleed: calc((min(100vw, 1200px) - 100vw) / 2);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.5 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 30; background: var(--ink); color: #fff; padding: var(--space-2) var(--space-4); border-radius: var(--radius-m); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; }

/* A gentle cross-fade between pages, where the browser supports it. */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

/* Grounds. Each scope re-maps the ink, line and field tokens, so every component adapts,
   and publishes its own color as --bg so the shaped edge can draw it into the section above.
   There are two: night and white. Cyan is never a ground for reading. */
main > section { --bg: #ffffff; background: var(--bg); }
.is-night, .masthead {
  --ground: #121a20; --ground-raised: #161f26; --ground-sunken: #1b252c;
  --ink: #f6f8fa; --ink-2: #b4bbc0; --ink-3: #8f979d;
  --line: #2b3136; --line-strong: #5f686f;
  --link: #5cc8ff; --focus: #f6f8fa; --danger: #ff7a7a;
  --bg: var(--night); background: var(--bg); color: var(--ink);
}
/* Wide art bleeds to the window edge; nothing may scroll the page sideways. */
main { overflow-x: clip; }

/* One shaped edge, the meniscus: the curve a drink's surface makes where it meets the
   glass. Only where the ground changes (night to white, or back) does the band below rise
   into the one above, in its own color. Bands on the same ground meet on a straight seam. */
.edge-meniscus { position: relative; }
.edge-meniscus::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); pointer-events: none;
  height: var(--edge-h);
  background: var(--bg);
  -webkit-mask: url("/assets/img/edge-meniscus.svg") 0 0 / 100% 100% no-repeat;
          mask: url("/assets/img/edge-meniscus.svg") 0 0 / 100% 100% no-repeat;
}
.is-light, .menu-card {
  --ground: #ffffff; --ground-raised: #f6f8fa; --ground-sunken: #eff1f3;
  --ink: #0f1519; --ink-2: #474e53; --ink-3: #636a6f;
  --line: #e0e4e7; --line-strong: #80878d;
  --link: #0176ae; --focus: #0f1519; --danger: #be2323;
  color: var(--ink);
}

/* Type: one display face at three weights, tied to how much a section matters. */
.display { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
h1.display { font-size: clamp(46px, 7.2vw, 88px); line-height: 1; letter-spacing: -0.025em; }
h2.display { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.section-title { font: 800 clamp(30px, 3.6vw, 40px)/1.1 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.lede { font: 400 19px/1.5 var(--font-text); color: var(--ink-2); max-width: var(--measure); }
.fine { font: 400 13px/18px var(--font-text); color: var(--ink-3); }

/* Buttons: pill, 48px, color change only on hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6); border: 2px solid transparent; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent); font: 600 17px/22px var(--font-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); background: var(--accent-press); }
.btn[disabled] { background: var(--ground-sunken); color: var(--ink-3); cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 var(--space-5); font-size: 15px; }
/* The quiet button: a sunken fill, for the masthead, so a screen keeps one cyan button. */
.btn-quiet { background: var(--ground-sunken); color: var(--ink); }
.btn-quiet:active { background: var(--line); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-press); }
  .btn-quiet:hover { background: var(--line); }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn:active { transition: none; transform: none; } }

/* A link that leads to the next page down: plain words that say where it goes, ink with a
   cyan underline. No arrows. */
.onward { display: inline-block; font: 600 17px/1.4 var(--font-text); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .onward:hover { text-decoration-color: currentColor; } }

/* Masthead. Desktop: the page links, the other audience's link, and the quiet button.
   Phones: the logo, the other audience's link and "Open menu"; everything else opens under
   the bar. The collapsed state is the default here, so nothing shifts when site.js loads;
   nojs.css shows the links when scripts are off. */
.masthead { position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 72px; }
.logo { display: block; flex: none; }
.logo img { width: auto; height: 34px; }
/* The other audience's link comes first in the markup and on screen, set off by a hairline
   like an audience switch, so the keyboard order matches what people see. */
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav-links { display: contents; }
.nav a:not(.btn) { color: var(--ink-2); font: 600 15px/20px var(--font-text); text-decoration: none; }
.nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
@media (min-width: 860px) { .nav .nav-keep { padding-right: var(--space-8); border-right: 1px solid var(--line); } }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--ink); } }
.nav-toggle {
  display: none; align-items: center; min-height: 40px; padding: 0 var(--space-4);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: transparent;
  color: var(--ink); font: 600 15px/20px var(--font-text); cursor: pointer;
}
@media (max-width: 859px) {
  .nav { gap: var(--space-4); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: var(--space-2) var(--gutter-r) var(--space-6) var(--gutter);
    /* It floats over the page, so it takes the raised ground, a hairline and a shadow. */
    background: var(--ground-raised); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgb(0 0 0 / 0.5);
  }
  .masthead.is-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; line-height: 24px; }
  .nav-links .btn { margin-top: var(--space-5); align-self: flex-start; min-height: 48px; font-size: 17px; }
}

/* Shared section rhythm */
section { padding-block: var(--pad-m); }
.moment { padding-block: var(--pad-l); }
.compact { padding-block: var(--pad-s); }
.grid { display: grid; gap: var(--space-12); }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-8); } }
.screens-note { margin-top: var(--space-4); }

/* Hero: the copy on the left; on the right a real bar photo bleeding to the window edge, with
   the ticket, the product itself, set down where it's used. */
.hero { padding: var(--space-8) 0 0; }
.hero .grid { gap: var(--space-8); }
.hero-copy { display: grid; gap: var(--space-6); align-content: center; }
.hero-jump { display: grid; gap: var(--space-3); justify-items: start; }
.hero-jump .btn { width: 100%; min-height: 52px; }
.hero-signup { display: none; }
/* The 20-second film's link sits with the button on phones, under the form on desktop. */
.film-cta { margin: 0; }
@media (max-width: 959px) { .film-cta { margin-top: calc(-1 * var(--space-3)); } }
@media (min-width: 960px) {
  .hero { padding: 0; }
  .hero .grid { min-height: clamp(640px, 52vw, 780px); align-items: stretch; }
  .hero-copy { grid-column: 1 / span 6; padding-block: var(--pad-m); }
  .hero-jump { display: none; }
  .hero-signup { display: block; }
}
.hero-art { position: relative; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); }
/* On phones the photo is 4:3 and the ticket overlaps it by 114px, so the ticket still ends
   above the fold of a 390x844 screen with the film link above it. */
.hero-art .photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.hero-art .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-art .ticket { position: relative; margin: -114px var(--gutter-r) 0 var(--gutter); box-shadow: var(--shadow-float); }
.hero-art figcaption { padding: var(--space-4) var(--gutter-r) var(--pad-s) var(--gutter); }
@media (min-width: 600px) and (max-width: 959px) { .hero-art .ticket { max-width: 560px; margin-top: -120px; } }
@media (min-width: 960px) {
  .hero-art { grid-column: 7 / span 6; margin: 0 calc(var(--bleed) - var(--gutter-r)) 0 0; }
  .hero-art .photo { position: absolute; inset: 0; aspect-ratio: auto; }
  /* A night scrim along the bottom, so the caption reads on the photo. */
  .hero-art .photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to bottom, rgb(11 16 20 / 0), rgb(11 16 20 / 0.6)); }
  /* The ticket stays over the photo, clear of the form beside it. */
  .hero-art .ticket { position: absolute; left: 7%; bottom: 13%; width: min(520px, 84%); margin: 0; }
  .hero-art figcaption { position: absolute; left: 7%; bottom: 4%; width: min(520px, 84%); padding: 0; color: var(--ink-2); }
}

/* Ticket: what the guest shows the bartender. */
.ticket {
  --stub: 108px; --notch: 13px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius-l);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, transparent 98%, #000 100%) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, transparent 98%, #000 100%) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, transparent 98%, #000 100%) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, transparent 98%, #000 100%) bottom / 100% 51% no-repeat;
}
.ticket-main { padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.ticket-kicker { font: 600 15px/20px var(--font-text); }
.ticket-drink { font: 800 clamp(28px, 3vw, 36px)/1.05 var(--font-display); letter-spacing: -0.015em; }
.ticket-bar { font: 600 16px/22px var(--font-text); }
.ticket-note { margin-top: var(--space-2); font: 400 15px/20px var(--font-text); }
.ticket-stub { border-left: 2px dashed var(--on-accent); padding: var(--space-5) var(--space-3); display: grid; justify-items: center; align-content: space-between; gap: var(--space-3); text-align: center; }
.ticket-stub img { width: 52px; height: 52px; border-radius: 50%; }
.ticket-tier { font: 800 15px/18px var(--font-display); }
.ticket-serial { font: 500 12px/16px var(--font-mono); letter-spacing: 0.04em; }
@media (max-width: 480px) {
  .ticket { --stub: 86px; }
  .ticket-main { padding: var(--space-5); }
  .ticket-drink { font-size: 26px; }
  .ticket-stub { padding-inline: var(--space-2); }
  .ticket-stub img { width: 44px; height: 44px; }
  .ticket-serial { font-size: 11px; letter-spacing: 0.02em; white-space: nowrap; }
}
/* The ticket on its own (the bar pages), with the app's clock under it. */
.ticket-figure { margin: 0; width: 100%; max-width: 560px; }
.ticket-figure .ticket { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06); }
.clock-line { margin-top: var(--space-4); font: 500 15px/20px var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ticket-figure figcaption { margin-top: var(--space-3); max-width: 30em; }

/* Across town: one full-bleed photo, the reason to send one, said in two lines. */
.across { padding: 0; }
.across-art { position: relative; margin: 0; }
.across-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 70%; }
.across-copy { display: grid; gap: var(--space-5); padding-block: var(--space-8) var(--pad-l); }
.across-copy p { font: 400 clamp(19px, 1.8vw, 22px)/1.45 var(--font-text); color: var(--ink-2); max-width: 26em; }
@media (min-width: 960px) {
  .across-art img { aspect-ratio: auto; height: clamp(560px, 54vw, 760px); }
  .across-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 16 20 / 0.6), rgb(11 16 20 / 0) 55%); pointer-events: none; }
  .across-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-block: 0 var(--pad-m); }
  .across-copy h2 { max-width: 12em; }
}

/* Waitlist form */
.signup { max-width: 560px; }
.signup-row { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .signup-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; } }
.field {
  width: 100%; min-height: 52px; padding: 0 var(--space-4);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-m);
  background: var(--ground); color: var(--ink); font: 400 17px/24px var(--font-text);
}
.field::placeholder { color: var(--ink-3); }
.field:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.field[aria-invalid="true"], .field:user-invalid { border-color: var(--danger); }
select.field {
  appearance: none; -webkit-appearance: none; padding-right: var(--space-12);
  background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23474e53' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
}
select.field:invalid { color: var(--ink-3); }
.is-night select.field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b4bbc0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.signup .btn { min-height: 52px; }
.signup-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-4); }
.check { display: inline-flex; align-items: center; gap: var(--space-3); font: 400 15px/20px var(--font-text); color: var(--ink); }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.form-status { min-height: 20px; margin-top: var(--space-2); font: 600 15px/20px var(--font-text); }
.form-status.is-error { color: var(--danger); }
.success { display: none; }
/* form.is-done outranks layout rules like .venue-form .form-body. */
form.is-done .form-body { display: none; }
form.is-done .success { display: block; }
/* The one cyan thing in a finished form is its short heading; the sentence sits on the ground. */
.success strong { display: inline-block; margin-bottom: var(--space-3); padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font: 800 20px/1.2 var(--font-display); }
.success p { color: var(--ink-2); max-width: var(--measure); }

/* Device: a real iPhone 17 Pro capture inside a to-scale drawing of the phone
   (iphone-frame.svg, 442x906 with the 402x874 screen at 20,16). Real captures only;
   a device with no screen doesn't render. */
.device { position: relative; margin: 0; width: 100%; max-width: var(--device-w, 320px); aspect-ratio: 442 / 906; }
.device > img, .device > video { position: absolute; display: block; max-width: none; }
.device > .screen { left: 4.525%; top: 1.766%; width: 90.95%; height: 96.468%; border-radius: 15.423% / 7.094%; object-fit: cover; background: #0b1014; }
.device > .screen[hidden] { display: none; }

/* A screen recording plays only while it's on screen (site.js). The whole screen is its
   pause button: WCAG asks for one on motion that runs past 5 seconds. The icon shows on
   hover and focus, and stays up while nothing plays. */
.demo-toggle {
  position: absolute; left: 4.525%; top: 1.766%; width: 90.95%; height: 96.468%;
  border-radius: 15.423% / 7.094%; border: 0; padding: 0; margin: 0; background: transparent;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.demo-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.demo-icon {
  position: absolute; right: 7%; bottom: 2.6%; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #f6f8fa; fill: currentColor;
  background: rgb(11 16 20 / 0.74); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18), 0 2px 8px rgb(0 0 0 / 0.3);
  opacity: 0; transition: opacity 0.15s ease;
}
.demo-toggle:focus-visible .demo-icon, .demo-toggle.is-held .demo-icon { opacity: 1; }
@media (hover: hover) { .demo-toggle:hover .demo-icon { opacity: 1; } }
.demo-icon .i-play, .demo-toggle[aria-pressed="true"] .i-pause { display: none; }
.demo-toggle[aria-pressed="true"] .i-play { display: block; margin-left: 2px; }
@media (prefers-reduced-motion: reduce) { .demo-icon { transition: none; } }
.device > .frame { inset: 0; width: 100%; height: 100%; }
main > section:not(.is-night) .device { filter: drop-shadow(0 2px 3px rgb(15 21 25 / 0.12)) drop-shadow(0 22px 36px rgb(15 21 25 / 0.16)); }
.device:has(.screen[src=""]), .shot:has(img[src=""]) { display: none; }

/* How it works: one large phone plays the real sequence, with the steps beside it. A step is
   a button that jumps the phone to it; the one playing is in ink, the rest recede. */
.how .grid { align-items: center; }
.how-copy { display: grid; gap: var(--space-8); }
.how-copy h2 { max-width: 12em; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.demo-step {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-4); align-items: baseline;
  width: 100%; padding: var(--space-4) 0; margin: 0; border: 0; border-top: 1px solid var(--line);
  background: none; text-align: left; font: 400 19px/1.45 var(--font-text); color: var(--ink-3); cursor: pointer;
  transition: color 150ms var(--ease-out);
}
.demo-step .n { font: 800 30px/1 var(--font-display); letter-spacing: -0.03em; }
.demo-step[aria-current="step"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .demo-step:hover { color: var(--ink-2); } .demo-step[aria-current="step"]:hover { color: var(--ink); } }
.demo-stage { display: grid; justify-items: center; }
.demo-stage .device { --device-w: 280px; }
@media (max-width: 959px) { .how .grid { gap: var(--space-6); } .how-copy { display: contents; } .how-copy h2 { order: 1; } .how-copy .screens-note { order: 2; } .demo-stage { order: 3; } .demo-steps { order: 4; } .how .onward { order: 5; justify-self: start; } }
@media (min-width: 960px) {
  .how-copy { grid-column: 1 / span 6; }
  .demo-stage { grid-column: 8 / span 5; }
  .demo-stage .device { --device-w: 370px; }
}
@media (prefers-reduced-motion: reduce) { .demo-step { transition: none; } }

/* Tier menu: the printed menu card, with each tier's price in tokens. On desktop the card
   holds the left side; the heading and the tabs that switch it sit beside it, the notes
   at its foot. */
.menu-section .grid { align-items: start; }
.menu-intro { display: grid; gap: var(--space-5); }
.menu-intro h2 .line { display: block; }
.menu-intro p { color: var(--ink-2); font-size: 19px; line-height: 1.5; max-width: 30em; }
.menu-aside { display: grid; gap: var(--space-3); align-content: end; }
@media (min-width: 960px) {
  .menu-stage { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .menu-intro { grid-column: 8 / span 5; grid-row: 1; }
  .menu-aside { grid-column: 8 / span 5; grid-row: 2; align-self: end; }
}
.bars[role="tablist"] { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.bars [role="tab"] {
  display: grid; gap: 2px; min-height: 52px; padding: var(--space-2) var(--space-5); text-align: left; cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-m); background: var(--ground); color: var(--ink);
  font: 600 15px/20px var(--font-text); transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.bars [role="tab"] span { font-weight: 400; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.bars [role="tab"][aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bars [role="tab"][aria-selected="true"] span { color: inherit; opacity: 0.8; }
.menu-card { background: var(--ground); border-radius: var(--radius-l); padding: var(--space-6) var(--space-6) var(--space-5); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 16px 40px rgb(0 0 0 / 0.28); }
.menu-head { padding-bottom: var(--space-4); }
.menu-head .name { font: 800 24px/1.2 var(--font-display); letter-spacing: -0.01em; }
.menu-head .where { color: var(--ink-2); font-size: 15px; line-height: 20px; margin-top: 2px; }
.tier-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: var(--space-4); row-gap: 2px; align-items: center; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.tier-name { display: contents; }
.tier-name img { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; box-shadow: var(--shadow-coin); }
/* The outline coin is the brand mark: flat line art, no chip shadow. */
.tier-name img.coin-mark { border-radius: 0; box-shadow: none; }
.tier-name b { grid-column: 2; grid-row: 1; font: 700 17px/22px var(--font-display); }
.tier-price { grid-column: 3; grid-row: 1; font: 600 15px/22px var(--font-text); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.tier-bronze b { color: var(--tier-bronze); }
.tier-silver b { color: var(--tier-silver); }
.tier-gold b { color: var(--tier-gold); }
.tier-diamond b { color: var(--tier-diamond); }
.drinks { grid-column: 2 / span 2; grid-row: 2; list-style: none; margin: 0; padding: 0; font: 400 15px/21px var(--font-text); color: var(--ink); }
.drinks li { display: inline; }
.drinks li + li::before { content: ", "; }
.menu-foot { margin-top: var(--space-3); padding-top: var(--space-4); border-top: 2px dashed var(--line-strong); font: 600 13px/18px var(--font-text); color: var(--ink-3); }
.menu-note { color: var(--ink-2); font-size: 15px; line-height: 21px; max-width: 30em; }
/* A bar's own prices for one tier (the bar page). */
.price-list { margin: 0; }
.price-list > div { display: flex; justify-content: space-between; gap: var(--space-6); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.price-list dt { font: 400 17px/24px var(--font-text); color: var(--ink); }
.price-list dd { margin: 0; font: 600 17px/24px var(--font-text); font-variant-numeric: tabular-nums; color: var(--ink); }

/* Going out: the bar photo bleeds off the right edge, with the real Drinkmap over it. */
.tonight .grid { align-items: center; }
.tonight-copy { display: grid; gap: var(--space-8); }
.tonight .plain-list > div, .feature-group .plain-list > div, .group .plain-list > div { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .tonight-copy { grid-column: 1 / span 5; } .tonight-art { grid-column: 7 / span 6; } }
.plain-list { margin: 0; display: grid; }
.plain-list > div { display: grid; gap: var(--space-1) var(--space-6); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .plain-list > div { grid-template-columns: 11em minmax(0, 1fr); } }
.plain-list dt { font: 600 17px/1.4 var(--font-text); color: var(--ink); }
.plain-list dd { margin: 0; color: var(--ink-2); max-width: var(--measure); }
/* A bleeding art panel: full width on phones, out to the window edge beside the copy on desktop. */
.bleed { position: relative; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); }
.bleed .photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.bleed .photo img { width: 100%; height: 100%; object-fit: cover; }
.tonight-art { margin-bottom: 12%; }
.tonight-art .photo img { object-position: 50% 28%; }
.tonight-art .device { position: absolute; left: var(--gutter); bottom: -12%; width: 48%; --device-w: 300px; }
@media (min-width: 960px) {
  .bleed-r { margin: 0 calc(var(--bleed) - var(--gutter-r)) 0 0; }
  .bleed .photo { aspect-ratio: auto; height: clamp(560px, 50vw, 720px); }
  .bleed-r .photo { border-radius: var(--radius-l) 0 0 var(--radius-l); }
  .tonight-art { margin-block: 0; }
  .tonight-art .device { left: -14%; bottom: -7%; width: 44%; --device-w: 320px; }
}

/* What's in the beta: three columns, a hairline over each; the headings carry the state. */
.next-board { display: grid; gap: var(--space-12); margin-top: var(--space-8); }
@media (min-width: 900px) { .next-board { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); column-gap: var(--space-8); } }
.next-col { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.next-col h3 { font: 700 22px/1.2 var(--font-display); margin-bottom: var(--space-4); color: var(--ink); }
.next-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.next-col li { color: var(--ink-2); font-size: 17px; line-height: 1.45; }
.next-col:first-child li { color: var(--ink); }
.next-fine { margin-top: var(--space-8); color: var(--ink-3); font-size: 15px; }

/* House rules and the careful parts: a heading with its lede, and one column of rules. */
.rules .grid { align-items: start; }
.rules-head { display: grid; gap: var(--space-5); }
.rules-head p { color: var(--ink-2); font-size: 19px; max-width: 24em; }
@media (min-width: 960px) { .rules-head { grid-column: 1 / span 4; } .rules-body { grid-column: 6 / span 7; } }
.rules-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.rules-list li { color: var(--ink-2); max-width: var(--measure); }
.rules-list b { display: block; margin-bottom: var(--space-1); font: 700 20px/1.3 var(--font-display); color: var(--ink); }
.rules-foot { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); color: var(--ink-2); max-width: var(--measure); }

/* Inner pages: groups of rows, each under its own heading in the left rail. */
.groups { display: grid; gap: var(--space-16); }
.group { display: grid; gap: var(--space-5); }
.group-head { display: grid; gap: var(--space-4); align-content: start; }
.group-head p { color: var(--ink-2); max-width: 24em; }
.group-art { margin: var(--space-4) 0 0; justify-self: start; width: min(100%, 240px); }
.group-art .device { --device-w: 240px; }
@media (min-width: 960px) {
  .group { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-8); }
  .group-head { grid-column: 1 / span 4; position: sticky; top: var(--space-8); }
  .group > .plain-list, .group > .group-body { grid-column: 6 / span 7; }
}
.group-body { display: grid; gap: var(--space-8); }
.group-note { color: var(--ink-2); max-width: var(--measure); }
.group-note a { color: var(--ink); font-weight: 600; }
/* The beta lists close an inner page, set off by a hairline, at full width. */
.beta { padding-top: var(--space-12); border-top: 1px solid var(--line); }
.switches-list { max-width: 900px; margin-top: var(--space-8); }
.switches-meta { margin-top: var(--space-12); max-width: 680px; }
.feature-groups { display: grid; gap: var(--space-12); margin-top: var(--space-12); }
@media (min-width: 900px) { .feature-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-16); align-items: start; } }
.feature-group h3 { font: 700 22px/1.2 var(--font-display); color: var(--ink); margin-bottom: var(--space-3); }

/* A real dashboard capture, plainly framed with a hairline. */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: var(--radius-m); box-shadow: 0 0 0 1px var(--line); }
.shot figcaption { margin-top: var(--space-4); font-size: 13px; line-height: 18px; color: var(--ink-3); max-width: 36em; }

/* Closing call to action, with the chip: the thing you'll be sending. */
.cta .wrap { display: grid; gap: var(--space-8); align-items: center; }
.cta-copy { display: grid; gap: var(--space-6); }
.cta h2 { max-width: 12em; }
.cta-chip { width: 112px; height: auto; border-radius: 50%; order: -1; }
@media (min-width: 900px) {
  .cta .wrap { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-16); }
  .cta-chip { order: 0; width: clamp(200px, 19vw, 260px); margin-right: var(--space-8); }
}
.reassure { grid-column: 1 / -1; margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); max-width: 44em; }
.reassure h3 { font: 700 22px/1.2 var(--font-display); color: var(--ink); }
.reassure p { color: var(--ink-2); max-width: var(--measure); }
.link-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-2); }
.link-row a { color: var(--ink); font-weight: 600; }
/* A plain closing band: a heading and the page's one action. */
.closing .wrap { display: grid; gap: var(--space-6); justify-items: start; }
.closing p { color: var(--ink-2); max-width: var(--measure); }

/* Inner pages */
.page-head { padding-block: clamp(40px, 5vw, 80px); }
.page-head .grid { align-items: center; }
.page-head h1.display { font-size: clamp(44px, 6.4vw, 76px); }
.head-copy { display: grid; gap: var(--space-6); }
.head-copy .actions { margin-top: var(--space-2); }
/* A figure that holds one phone needs a width of its own: the phone is sized as a share of it. */
.head-art { margin: 0; justify-self: center; width: min(100%, 300px); }
.head-art .device { --device-w: 300px; }
@media (min-width: 960px) {
  .page-head .head-copy { grid-column: 1 / span 6; }
  .page-head .head-art, .page-head .ticket-figure, .page-head .shot, .page-head .tonight-art { grid-column: 7 / span 6; }
  .page-head .head-art { justify-self: end; }
  /* In a page head the headline runs wider, so the phone stays on the photo. */
  .page-head .tonight-art .device { left: 8%; }
  .page-head .ticket-figure { justify-self: end; }
  .page-head.text-only .head-copy { grid-column: 1 / span 9; }
}
.paper + .paper:not([class*="edge-"]) { border-top: 1px solid var(--line); }
.prose { max-width: 680px; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2:not(.section-title) { font: 700 24px/1.25 var(--font-display); color: var(--ink); margin-top: var(--space-12); }
.prose p, .prose li { color: var(--ink-2); line-height: 1.6; max-width: var(--measure); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--space-2); }
.meta { padding: var(--space-4) var(--space-5); border-radius: var(--radius-m); background: var(--ground-raised); font-size: 15px; line-height: 21px; color: var(--ink-2); }
.steps-list { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); align-items: baseline; }
.steps-list li::before { content: counter(step); font: 800 36px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.steps-list span { font-size: 19px; line-height: 1.5; color: var(--ink); max-width: var(--measure); }
.step-note { display: block; margin-top: var(--space-2); font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.flow { display: grid; gap: var(--space-12); align-items: center; }
.flow-copy { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr) 300px; column-gap: var(--space-16); } }
.flow-phone { margin: 0; max-width: 300px; }
.flow-phone .device { --device-w: 300px; }
.flow-phone figcaption { margin-top: var(--space-4); }
/* The bar page's cost: the bar's own menu card beside the terms. */
.cost .grid { align-items: center; }
.cost-copy { display: grid; gap: var(--space-5); }
.cost-copy p { color: var(--ink-2); max-width: var(--measure); }
.cost-copy .actions { margin-top: var(--space-3); }
.cost-card { display: grid; gap: var(--space-4); }
.cost-card .menu-card { max-width: 480px; }
@media (min-width: 960px) { .cost-card { grid-column: 1 / span 5; grid-row: 1; } .cost-copy { grid-column: 7 / span 6; } }
.faq-group + .faq-group { margin-top: var(--space-12); }
.faq-group .section-title { margin-bottom: var(--space-6); }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: var(--space-5) var(--space-12) var(--space-5) 0; font: 600 18px/1.4 var(--font-text); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--font-text); color: var(--ink-2); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details > div { padding: 0 var(--space-12) var(--space-6) 0; color: var(--ink-2); line-height: 1.6; max-width: var(--measure); }
.faq-list details > div p + p { margin-top: var(--space-3); }
/* A few answers in plain sight, under the bar form. */
.qa-list { margin: 0; display: grid; gap: var(--space-5); }
.qa-list dt { font: 600 17px/1.4 var(--font-text); color: var(--ink); }
.qa-list dd { margin: var(--space-1) 0 0; color: var(--ink-2); max-width: var(--measure); }
/* Talk to us: the three steps, the form, and a few answers. The form comes straight after the
   steps on phones; on desktop it sits beside them, and the answers run across underneath. */
.talk .grid { align-items: start; }
.talk-copy { display: grid; gap: var(--space-6); }
.talk-copy .steps-list { margin-top: var(--space-2); }
.talk-copy .steps-list span { font-size: 17px; color: var(--ink-2); }
.talk-copy .steps-list li::before { font-size: 28px; }
.talk-more { padding-top: var(--space-8); border-top: 1px solid var(--line); display: grid; gap: var(--space-6); }
.talk-more h3 { font: 700 22px/1.2 var(--font-display); color: var(--ink); }
@media (min-width: 960px) {
  .talk-copy { grid-column: 1 / span 5; grid-row: 1; }
  .talk-form { grid-column: 7 / span 6; grid-row: 1; }
  .talk-more { grid-column: 1 / -1; grid-row: 2; }
  .talk-more .qa-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-12); }
}
.venue-form { max-width: 680px; }
.venue-form .form-body { display: grid; gap: var(--space-5); }
.venue-form label { display: grid; gap: var(--space-2); font: 600 15px/20px var(--font-text); color: var(--ink); }
.venue-form .two { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .venue-form .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.venue-form .opt { font-weight: 400; color: var(--ink-3); }
.venue-form .btn { justify-self: start; }

/* Single-message pages (404, open in app) */
.solo { min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); display: grid; align-items: center; }
.solo .inner { max-width: 640px; padding-block: var(--space-16); display: grid; gap: var(--space-6); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }

/* Footer: night */
.colophon { --bg: var(--night); background: var(--bg); color: var(--ink-on-night); padding-block: var(--space-12) var(--space-8); border-top: 1px solid var(--line-on-night); }
.colophon.edge-meniscus { border-top: 0; }
.colophon a { color: var(--ink-on-night); }
.invest { font-size: 17px; margin-bottom: var(--space-8); }
.invest + .invest { margin-top: calc(-1 * var(--space-5)); }
.base { display: grid; gap: var(--space-5); justify-items: start; }
.base img { width: auto; height: 30px; }
.base .tag { font: 700 17px/1.3 var(--font-display); }
.base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: 15px; }
.base .legal { font-size: 13px; color: var(--ink-2-on-night); }

/* The 20-second film: opened from the hero link, played with sound because the visitor asked. */
dialog.film { width: min(1200px, calc(100vw - var(--gutter) - var(--gutter-r)), calc((100dvh - 120px) * 16 / 9)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; color: #f6f8fa; overflow: visible; }
dialog.film::backdrop { background: rgb(11 16 20 / 0.94); }
.film-inner { display: grid; gap: var(--space-3); }
.film-close { justify-self: end; min-height: 44px; padding: 0 var(--space-5); border: 1.5px solid #5f686f; border-radius: var(--radius-pill); background: transparent; color: #f6f8fa; font: 600 15px/20px var(--font-text); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .film-close:hover { border-color: #f6f8fa; } }
.film-close:focus-visible { outline: 2px solid #03aefe; outline-offset: 2px; }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-m); background: #0b1014; }
