/* Openhand — site/styles, concatenated by build/index.js. Do not edit this file: edit the
 * sources named in the banners below and run `npm run build`. */

/* ======================================================= site/styles/tokens.css */

/*
 * Openhand website — design tokens.
 * The colors are the same ones the order tablets and the kitchen screens already run on
 * (openhand-pos/public/shared/base.css), so the website, the POS and the TV read as one business:
 * walnut ground, card and raised surfaces, ivory text, antique gold for anything that leads or acts.
 * What is new here is rhythm, not color. The POS is a dense tool tapped forty times an hour; this
 * is a page read once, usually on a phone, often standing in the parking lot. So the measure is
 * longer, the type larger and the vertical spacing slower than the POS's, and the scale tokens
 * below carry that difference instead of being sprinkled through the rules.
 * Nothing in this file paints anything — it declares values only.
 */

:root {
  /* ---------------------------------------------------------------- surfaces */
  --ground: #141110;
  --card: #1D1914;
  --raised: #2A241C;
  --raised-hi: #342C22;
  --well: #141110;
  --line: #2A241C;
  --line-2: #3D3429;
  --line-3: #5A4C3A;

  /* ---------------------------------------------------------------- text
     Contrast against --ground #141110: --ivory 16.2:1, --text-2 9.1:1, --text-3 5.3:1,
     --placeholder 5.2:1. All clear 4.5:1. --text-3 on --raised is 4.6:1, which passes but leaves
     no room, so raised surfaces use --text-2 for their quiet text. */
  --ivory: #F4ECDD;
  --text-2: #BFB29C;
  --text-3: #968B7C;
  --placeholder: #8E8476;

  /* ---------------------------------------------------------------- gold
     --gold is 7.8:1 on the ground and --gilt is 12.6:1, so both are honest text colors.
     --bourbon is 3.8:1 — it is a gradient stop and a border, never a color for words. */
  --gold: #C9A14A;
  --gold-hi: #D8B566;
  --gold-press: #B08B3D;
  --gilt: #EBD08B;
  --bourbon: #8A6A2A;
  --ink: #17130E;
  --gold-leaf: linear-gradient(100deg, #8A6A2A 0%, #C9A14A 22%, #EBD08B 38%, #C9A14A 52%, #8A6A2A 70%, #C9A14A 100%);

  /* Gold at the four opacities the brand uses for washes, hairlines and leader dots. */
  --gold-wash: rgba(201, 161, 74, .07);
  --gold-wash-hi: rgba(201, 161, 74, .12);
  --gold-line: rgba(201, 161, 74, .22);
  --gold-line-hi: rgba(201, 161, 74, .45);

  /* ---------------------------------------------------------------- type
     Cinzel for the wordmark, page titles, section titles and eyebrows; Jost for everything read.
     Both are variable fonts, self-hosted — Cinzel covers 500-700, Jost 400-600. */
  --font-ui: 'Jost', 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --font-display: 'Cinzel', 'Trajan Pro', 'Cormorant SC', Georgia, 'Times New Roman', serif;

  --text-xs: .8125rem;
  --text-sm: .9375rem;
  --text-base: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  --text-lg: clamp(1.1875rem, 1.09rem + .52vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.21rem + .68vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.43rem + 1.37vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.65rem + 2.56vw, 3.75rem);

  --tracking-caps: .22em;
  --tracking-wordmark: .1em;
  --tracking-display: .04em;

  /* 68ch of Jost is roughly 62 characters of running text — a paragraph, not a column of a paper. */
  --measure: 68ch;

  /* ---------------------------------------------------------------- space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 10vw, 140px);
  --content: 66rem;
  --content-narrow: 46rem;

  /* ---------------------------------------------------------------- shape, motion, targets */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-1: 0 1px 0 rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .28);
  --shadow-2: 0 2px 0 rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .38);

  /* Nothing tappable is ever smaller than this. */
  --touch: 44px;
  --nav-h: 64px;

  color-scheme: dark;
}

@media (min-width: 760px) {
  :root {
    --nav-h: 76px;
  }
}

/* ======================================================= site/styles/base.css */

/*
 * Openhand website — fonts, element defaults and layout primitives.
 * Loads Cinzel and Jost from our own server (two subsets each, one variable file per subset, so a
 * weight range is declared rather than a stack of separate faces), then sets the room: the walnut
 * ground with its low gold wash, the tavern grain over the top of it at the same strength the POS
 * and the TV use, ivory text in Jost, and a gold focus ring that is never removed.
 * After that come the handful of layout classes every page is built from — .section for the
 * vertical rhythm and the centred column, .stack, .cluster, .grid-2, .grid-3 for arrangements
 * inside it, and .prose for the one page that is mostly words.
 * Mobile first: these rules are the 375 px design; 760 px and 1100 px only add to them.
 */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/cinzel-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jost-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ document */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(1200px 620px at 50% -260px, rgba(201, 161, 74, .10), rgba(201, 161, 74, 0) 70%),
    var(--ground);
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anchor links on the menu page have to clear the sticky bar. */
  scroll-padding-top: calc(var(--nav-h) + var(--space-4));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* Tavern grain, exactly as the POS and the TV lay it down — beneath every pixel of content. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('/assets/brand/grain.png') repeat;
  background-size: 256px 256px;
  opacity: .035;
  pointer-events: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: var(--gold);
  text-decoration-color: var(--gold-line-hi);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gilt);
  text-decoration-color: currentColor;
}

p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

hr {
  border: 0;
}

/* ------------------------------------------------------------------ focus and selection */

:focus {
  outline: none;
}

/* Gold, offset so it never sits on the glyphs, and switched off nowhere in this stylesheet. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(201, 161, 74, .35);
  color: var(--ivory);
}

[hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------ helpers */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--ink);
}

/* ------------------------------------------------------------------ sections and rhythm */

/*
 * .section carries both the vertical rhythm and the centred column. Its middle track is the
 * content width and the outer tracks are the gutter, so a child can take the whole page width
 * with .full-bleed — a photograph, a band of color — without leaving the section.
 */
.section {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, var(--content)) [content-end]
    minmax(var(--gutter), 1fr) [full-end];
  row-gap: var(--space-5);
  padding-block: var(--section-y);
}

.section > * {
  grid-column: content;
}

.section > .full-bleed {
  grid-column: full;
}

.section--tight {
  padding-block: calc(var(--section-y) / 2);
}

.section--flush-top {
  padding-block-start: 0;
}

.section--center {
  text-align: center;
  justify-items: center;
}

/* Cinzel small caps, spaced wide, the way a printed menu labels a course. */
.section__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  background: var(--gold-leaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* The gradient clips to the glyphs, so the box must not crop their overhangs. */
  padding-block: .06em;
}

/* An eyebrow belongs to the title under it, not to the vertical rhythm of the section. */
.section__eyebrow + .section__title {
  margin-top: calc(var(--space-2) - var(--space-5));
}

/* The brass flourish from the brand sheet, between sections, instead of a plain hairline. */
.rule {
  width: min(100%, 320px);
  /* The flourish is 1000 x 167; holding its ratio keeps it a piece of brass rather than a hairline. */
  aspect-ratio: 1000 / 167;
  height: auto;
  margin: var(--space-2) auto;
  border: 0;
  background: url('/assets/brand/divider-gold.png') center / contain no-repeat;
  opacity: .9;
}

.rule--wide {
  width: min(100%, 520px);
}

/* ------------------------------------------------------------------ arrangements */

.stack {
  display: grid;
  align-content: start;
  gap: var(--stack-gap, var(--space-4));
}

.stack--sm {
  --stack-gap: var(--space-2);
}

.stack--lg {
  --stack-gap: var(--space-6);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.cluster--center {
  justify-content: center;
}

.cluster--between {
  justify-content: space-between;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ running text */

.lede {
  max-width: 52ch;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--text-2);
}

.meta {
  font-size: var(--text-sm);
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--text-3);
}

.meta strong,
.meta b {
  font-weight: 500;
  color: var(--text-2);
}

/*
 * .prose wraps rendered markdown — the About page, a long note — and is the only place where
 * bare h2, h3, p, ul and blockquote get styled.
 */
.prose {
  max-width: var(--measure);
  color: var(--text-2);
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2 {
  margin-top: var(--space-7);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
}

.prose h3 {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.prose h2 + *,
.prose h3 + * {
  margin-top: var(--space-3);
}

.prose strong {
  font-weight: 600;
  color: var(--ivory);
}

.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose li::marker {
  color: var(--gold);
}

.prose blockquote {
  padding: var(--space-1) 0 var(--space-1) var(--space-5);
  border-left: 2px solid var(--gold-line-hi);
  color: var(--ivory);
}

/* ------------------------------------------------------------------ motion */

/* Everything goes still for anyone who asked their device for less movement. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------ forced colors */

/* Gold-leaf text is a gradient clipped to glyphs; in a forced palette it has to become ink again. */
@media (forced-colors: active) {
  .section__title {
    background: none;
    color: CanvasText;
  }
}

/* ------------------------------------------------------------------ print */

/*
 * The menu is the page people print, and it prints on white paper in black ink: no grain, no
 * navigation, no buttons, and no gold that turns to mud in a laser printer.
 */
@media print {
  html {
    background: #fff;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.4;
  }

  body::before,
  .skip-link,
  .rule {
    display: none !important;
  }

  .section {
    display: block;
    padding-block: 0;
  }

  .section > * + * {
    margin-top: 12pt;
  }

  .section__eyebrow,
  .section__title {
    background: none;
    color: #000;
  }

  .section__eyebrow + .section__title {
    margin-top: 2pt;
  }

  .lede,
  .meta,
  .prose {
    max-width: none;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* ======================================================= site/styles/components.css */

/*
 * Openhand website — the named pieces every page is assembled from.
 * The wordmark and the page titles are set in the gold-leaf gradient the TV screens use, section
 * heads wear the same fading brass rule as the panels in the POS, and the menu is set the way a
 * printed one is: dish on the left, leader dots running across, price on the right.
 *
 * Two contracts the rest of the site depends on:
 *
 * 1. Nothing here needs JavaScript to look right. The mobile navigation is the case that usually
 *    breaks that rule, so it is built the other way round: the links are visible by default and
 *    .nav__toggle is hidden. site/scripts/nav.js opts in by putting data-nav-ready on the .nav
 *    element, which reveals the toggle and collapses the links under 760 px, and toggles
 *    data-nav-open on the same element (alongside aria-expanded on the button) to open them.
 *    With scripting off neither attribute ever appears, the toggle stays hidden, and every link
 *    is on the page.
 *
 * 2. Every control is at least 44 px tall and keeps the gold focus ring from base.css.
 */

/* ------------------------------------------------------------------ wordmark */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--touch);
  color: var(--ivory);
  text-decoration: none;
  flex: none;
}

.wordmark:hover {
  color: var(--ivory);
}

.wordmark img,
.wordmark svg {
  width: auto;
  height: 34px;
  flex: none;
}

/* Whatever the word itself is wrapped in — the gold leaf lands on the text, not on a box. */
.wordmark span {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  background: var(--gold-leaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-block: .08em;
}

@media (min-width: 760px) {
  .wordmark img,
  .wordmark svg {
    height: 42px;
  }

  .wordmark span {
    font-size: 1.25rem;
  }
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: relative;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  min-height: var(--nav-h);
  padding-block: var(--space-2);
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--gold-line);
  background: rgba(20, 17, 16, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}

/* Without script the phone nav is two honest rows, and a two-row bar has no business sticking. */
.nav[data-nav-ready] {
  position: sticky;
  top: 0;
}

@media (min-width: 760px) {
  .nav {
    position: sticky;
    top: 0;
    flex-wrap: nowrap;
  }
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  /* Phone: the links wrap onto their own line under the wordmark. */
  flex-basis: 100%;
}

.nav__links li {
  display: contents;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--text-2);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s var(--ease);
}

.nav__links a:hover {
  color: var(--gilt);
}

.nav__links a[aria-current] {
  color: var(--gold);
  box-shadow: inset 0 -1px 0 var(--gold);
}

/*
 * Which page you are on, in a forced palette. Windows High Contrast throws box-shadow away and
 * paints every link the one LinkText color, which is both halves of the gold mark gone and no way
 * left to tell. An underline is a property the UA does not take, so the mark is drawn with one.
 */
@media (forced-colors: active) {
  .nav__links a[aria-current] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}

@media (min-width: 760px) {
  .nav__links {
    flex-basis: auto;
    margin-left: auto;
  }
}

/*
 * The toggle only exists once script has said so. :empty draws a hamburger for the case where the
 * button carries nothing but an aria-label; a button with its own icon or word keeps that instead.
 */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--touch);
  min-width: var(--touch);
  margin-left: auto;
  padding: 0 var(--space-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--raised);
  color: var(--gilt);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav[data-nav-ready] .nav__toggle {
  display: inline-flex;
}

.nav__toggle:hover {
  border-color: var(--line-3);
  background: var(--raised-hi);
}

.nav__toggle[aria-expanded='true'] {
  border-color: var(--gold-line-hi);
  color: var(--gold);
}

.nav__toggle:empty::before {
  content: '';
  width: 20px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
}

@media (max-width: 759px) {
  .nav[data-nav-ready] .nav__links {
    display: none;
  }

  .nav[data-nav-ready][data-nav-open] .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: var(--space-2) var(--space-3);
    border-top: 1px solid var(--line);
  }

  .nav[data-nav-ready][data-nav-open] .nav__links a {
    min-height: 52px;
    font-size: var(--text-base);
  }
}

@media (min-width: 760px) {
  .nav__toggle,
  .nav[data-nav-ready] .nav__toggle {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, var(--content-narrow)) [content-end]
    minmax(var(--gutter), 1fr) [full-end];
  row-gap: var(--space-4);
  padding-block: clamp(56px, 16vw, 148px);
  text-align: center;
}

.hero > * {
  grid-column: content;
  justify-self: center;
}

.hero > .full-bleed {
  grid-column: full;
  justify-self: stretch;
}

/* The low brass light over the room, sitting above the grain and under everything else. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(72% 62% at 50% 4%, rgba(201, 161, 74, .13), rgba(201, 161, 74, 0) 70%);
  pointer-events: none;
}

.hero img {
  margin-inline: auto;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  background: var(--gold-leaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-block: .06em;
}

.hero__eyebrow + .hero__title {
  margin-top: calc(var(--space-1) - var(--space-4));
}

.hero__lede {
  max-width: 44ch;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}

@media (forced-colors: active) {
  .hero__title,
  .wordmark span {
    background: none;
    color: CanvasText;
  }
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}

.btn:focus-visible {
  outline-offset: 3px;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .35), 0 1px 0 rgba(0, 0, 0, .35);
}

.btn--gold:hover {
  background: linear-gradient(180deg, #E2C179, var(--gold-hi));
  color: var(--ink);
}

.btn--gold:active {
  background: var(--gold-press);
}

.btn--quiet {
  background: transparent;
  border-color: var(--gold-line-hi);
  color: var(--gold);
}

.btn--quiet:hover {
  border-color: var(--gold);
  background: var(--gold-wash);
  color: var(--gilt);
}

.btn--lg {
  min-height: 56px;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: .5;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ card */

.card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--gold-wash), rgba(201, 161, 74, 0) 140px),
    var(--card);
  color: var(--text-2);
  box-shadow: var(--shadow-1);
}

.card > :is(h2, h3) {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
}

.card > p {
  color: var(--text-2);
}

a.card {
  text-decoration: none;
  transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}

a.card:hover {
  border-color: var(--gold-line-hi);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  a.card:hover {
    transform: none;
  }
}

.card--quiet {
  background: var(--card);
  box-shadow: none;
}

@media (min-width: 760px) {
  .card {
    padding: var(--space-6);
  }
}

/* ------------------------------------------------------------------ badge */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 28px;
  padding: 0 var(--space-3);
  border: 1px solid var(--gold-line-hi);
  border-radius: 999px;
  background: var(--gold-wash-hi);
  color: var(--gilt);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.badge--quiet {
  border-color: var(--line-2);
  background: var(--raised);
  color: var(--text-2);
}

/* ------------------------------------------------------------------ menu */

/*
 * A menu reads as a column, not as a banner, so a group stops at a printed column's width. In a
 * .grid-2 the track is already narrower than that and the cap does nothing.
 */
.menu-group {
  display: grid;
  gap: var(--space-4);
  max-width: 40rem;
  break-inside: avoid;
}

/* The same fading brass rule the POS puts under a panel title, at reading size. */
.menu-group__title {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.menu-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-line-hi), rgba(201, 161, 74, 0));
}

/*
 * A menu entry is set like a printed one: the dish, leader dots across the gap, the price on the
 * right, the description underneath. The dots are an empty element, so its synthesised baseline is
 * its bottom edge — which is exactly where a printed leader sits.
 */
.menu-item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(1.5rem, 1fr) auto;
  align-items: baseline;
  column-gap: var(--space-2);
  row-gap: var(--space-1);
  padding-block: var(--space-2);
  break-inside: avoid;
}

.menu-item + .menu-item {
  border-top: 1px solid rgba(42, 36, 28, .7);
}

.menu-item__name {
  grid-column: 1;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ivory);
  text-wrap: pretty;
}

.menu-item__dots {
  grid-column: 2;
  align-self: baseline;
  height: 0;
  border-bottom: 1px dotted var(--gold-line-hi);
}

.menu-item__price {
  grid-column: 3;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gilt);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-item__desc {
  grid-column: 1 / -1;
  max-width: 60ch;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-3);
  text-wrap: pretty;
}

/* A badge on the name line sits with the words, not above them. */
.menu-item__name .badge {
  margin-left: var(--space-2);
}

/* ------------------------------------------------------------------ signup */

.signup {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--gold-wash), rgba(201, 161, 74, 0) 160px),
    var(--card);
}

.signup > :is(h2, h3) {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
}

.signup p {
  max-width: 52ch;
  color: var(--text-2);
}

.signup__field {
  display: grid;
  gap: var(--space-2);
}

.signup__field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
}

.signup__field input {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--well);
  color: var(--ivory);
  font-size: var(--text-base);
}

.signup__field input::placeholder {
  color: var(--placeholder);
}

.signup__field input:hover {
  border-color: var(--line-3);
}

.signup__field input:focus-visible {
  border-color: var(--gold);
  outline-offset: 2px;
}

.signup__field input[aria-invalid='true'] {
  border-color: #D9644F;
}

/* Anything the script says back — a thank-you, a problem — reads under the field. */
.signup__message {
  font-size: var(--text-sm);
  color: var(--text-2);
}

/*
 * Empty, it still has to be in the accessibility tree. site/scripts/signup.js sets aria-live on
 * this node and then writes the first message into it, and a polite region that only comes into
 * existence at the moment its text changes is a region a screen reader does not announce. The
 * script calls preventDefault() on every submit, so with scripting on the page never travels to
 * /thanks/ — this line is the only answer a non-sighted reader gets. display:none would take it
 * out of the tree, so instead it stays where it is and the one grid gap it costs comes back off
 * the field. A browser without :has() simply keeps the 8px.
 */
.signup__field:has(> .signup__message:empty) {
  margin-bottom: calc(var(--space-2) * -1);
}

@media (min-width: 760px) {
  .signup {
    padding: var(--space-6);
  }

  /* Label across the top, then the field and its button side by side. */
  .signup__field {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .signup__field > label,
  .signup__field > .signup__message {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ footer */

.footer {
  margin-top: var(--section-y);
  padding-block: var(--space-7) var(--space-6);
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--gold-wash), rgba(201, 161, 74, 0) 240px);
  color: var(--text-2);
  font-size: var(--text-sm);
}

/*
 * The monogram is a sign-off, not a second logo — the wordmark at the top of the page is the one
 * that has to carry. Its file is 256 px square, so with no size here it renders at 256 and takes
 * over the footer. Sized to sit with the tagline beneath it as one small lockup.
 */
.footer > img {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-2);
}

@media (min-width: 760px) {
  .footer > img {
    width: 60px;
    height: 60px;
  }
}

.footer__cols {
  display: grid;
  gap: var(--space-6);
}

.footer__cols > * {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.footer :is(h2, h3) {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

/* Footer links stand on their own line, so they can carry the 44 px target themselves. */
.footer__cols a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--text-2);
  text-decoration: none;
}

.footer__cols a:hover {
  color: var(--gilt);
  text-decoration: underline;
}

/* A link inside a sentence stays inside the sentence. */
.footer p a {
  display: inline;
  min-height: 0;
  color: var(--gold);
  text-decoration: underline;
}

/*
 * ...but a paragraph that is nothing except a link is not a sentence — it is a footer link that
 * happens to sit in its own block, and it keeps the 44 px target the address links have. Without
 * this, "Work at Openhand" is a 24 px target directly beneath three 44 px ones.
 */
.footer__cols p > a:only-child {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
}

.footer address {
  font-style: normal;
}

.footer small {
  display: block;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--text-3);
}

@media (min-width: 760px) {
  .footer__cols {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--space-5) var(--space-6);
  }
}

/* ------------------------------------------------------------------ print */

/* On paper: the menu and nothing else. */
@media print {
  .nav,
  .nav__toggle,
  .btn,
  .signup,
  .footer,
  .badge {
    display: none !important;
  }

  .hero {
    padding-block: 0 12pt;
    display: block;
    text-align: left;
  }

  .hero::before {
    display: none;
  }

  .hero__title,
  .wordmark span {
    background: none;
    color: #000;
  }

  .hero__eyebrow,
  .hero__lede,
  .card,
  .menu-item__desc {
    color: #000;
  }

  .card {
    border-color: #999;
    background: none;
    box-shadow: none;
  }

  .menu-group {
    margin-top: 14pt;
  }

  .menu-group__title {
    color: #000;
  }

  .menu-group__title::after {
    background: #999;
  }

  .menu-item__name,
  .menu-item__price {
    color: #000;
  }

  .menu-item + .menu-item {
    border-top-color: #DDD;
  }

  .menu-item__dots {
    border-bottom-color: #999;
  }
}

/* ======================================================= site/styles/pages/about.css */

/*
 * Openhand website — the About page.
 *
 * This page is one essay and nothing else, so every rule here is about reading it: a measure of
 * roughly fifty-eight characters, leading opened from the site's 1.6 to 1.72, a paragraph gap of a
 * full character height, and the brass flourish doing the work a chapter break does in print.
 *
 * build/pages/about.js demotes every heading in the story one level so the page's own <h1> is the
 * only one. That is why the heading rules below are shifted up a level from the ones in base.css:
 * a story section arrives as an h3 and has to look the way a .prose h2 looks everywhere else.
 *
 * Every selector is scoped to .about__* and carries enough specificity to win against base.css and
 * components.css whatever order the stylesheets end up concatenated in. Nothing here reaches
 * another page, and nothing here edits a shared stylesheet.
 */

/* ------------------------------------------------------------------ hero */

/*
 * Shorter than a landing hero. There is no photograph and no lede under the title — the essay
 * starts immediately, and the top of the page should hand the reader down to it rather than
 * hold them.
 */
.hero.about__hero {
  padding-block: clamp(48px, 11vw, 104px);
}

/* The badge is set to nowrap for a one-word status; a date is longer than a 320 px phone. */
.badge.about__opening {
  white-space: normal;
  text-align: center;
}

/* ------------------------------------------------------------------ the essay */

/*
 * 40rem rather than the site's 68ch, because this text is set larger than the site's: at this size
 * 40rem lands at about fifty-eight characters a line, which is where long-form reading is easiest.
 * The closing card below takes the same width so the whole page reads as one column.
 */
.prose.about__story,
.card.about__facts {
  /* Both are grid items in .section, and a grid item with auto side margins shrinks to its own
     content unless it is told otherwise — which would leave the card narrower than the essay. */
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.prose.about__story {
  font-size: var(--text-lg);
  line-height: 1.72;
  text-wrap: pretty;
}

/* A paragraph gap of one character height — clearly a new paragraph, not a new section. */
.prose.about__story > * + * {
  margin-top: 1em;
}

.prose.about__story > :first-child {
  margin-top: 0;
}

/* A heading owns the text under it, so that text sits closer to it than to the paragraph above. */
.prose.about__story > :is(h2, h3, h4) + * {
  margin-top: var(--space-3);
}

/* The essay's own title, one step under the page title and set solid rather than in gold leaf:
   two gradients stacked on one screen turn a flourish into a pattern. */
.prose.about__story > h2 {
  margin-top: var(--space-7);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
  text-transform: none;
  text-wrap: balance;
}

/* The opening paragraph, raised half a step: larger, brighter, set tighter. It is the one
   paragraph a reader decides on. */
.prose.about__story > h2 + p {
  margin-top: var(--space-4);
  font-size: 1.1em;
  line-height: 1.55;
  color: var(--ivory);
}

/* A movement of the essay — Kitchen, Tavern, Social. This is base.css's .prose h2 treatment,
   moved down a level to follow the demotion. */
.prose.about__story > h3 {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
  text-transform: none;
  text-wrap: balance;
}

/* Insurance: a "###" in story.md lands here, and gets base.css's .prose h3 treatment. */
.prose.about__story > h4 {
  margin-top: var(--space-5);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

/* ------------------------------------------------------------------ chapter breaks */

/*
 * Narrower and quieter than the divider that closes the page. Between chapters it is a mark, not
 * a banner: the reader should register a pause without stopping.
 */
.prose.about__story > .about__break {
  width: min(62%, 200px);
  margin-block: var(--space-7) var(--space-5);
  opacity: .8;
}

/* The flourish already carries the space above the heading; the heading should not add its own. */
.prose.about__story > .about__break + :is(h2, h3, h4) {
  margin-top: 0;
}

/* The full-width flourish that ends the essay and opens the practical business below it. */
.rule.about__close-rule {
  margin-block: var(--space-7) var(--space-6);
}

/* ------------------------------------------------------------------ the closing facts */

.card.about__facts {
  gap: var(--space-5);
}

.about__facts-list {
  margin: 0;
}

.about__facts-list > div {
  display: grid;
  align-content: start;
  gap: var(--space-1);
}

/* Cinzel small caps, the way the story's own sections are labelled. */
.about__facts-list dt {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.about__facts-list dd {
  margin: 0;
  color: var(--ivory);
  font-size: var(--text-base);
  line-height: 1.45;
}

.about__facts-list address {
  font-style: normal;
}

.about__facts-list a {
  color: var(--gilt);
  text-decoration-color: var(--gold-line-hi);
}

.about__facts-list a:hover {
  color: var(--gilt);
  text-decoration-color: currentColor;
}

/* The phone and the email are one line of text each and are the two things somebody taps from a
   parking lot, so they carry the 44 px target themselves. The address runs to two lines and is
   already tall enough. */
.about__facts-list dd > a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
}

.about__facts-list address a {
  display: inline-block;
}

/* ------------------------------------------------------------------ print */

/*
 * The About page is the one page somebody might print to read rather than to carry. So: no gold,
 * no flourishes, no buttons, black on white, and no heading left stranded at the foot of a page.
 * base.css already hides .rule and .btn in print, which takes the chapter breaks with it.
 */
@media print {
  .hero.about__hero {
    padding-block: 0 12pt;
  }

  .prose.about__story,
  .card.about__facts {
    max-width: none;
    font-size: 11pt;
    line-height: 1.45;
    color: #000;
  }

  .prose.about__story > * + * {
    margin-top: 8pt;
  }

  .prose.about__story > :is(h2, h3, h4) {
    color: #000;
    break-after: avoid;
    page-break-after: avoid;
  }

  .prose.about__story > h2 {
    font-size: 16pt;
  }

  .prose.about__story > h3 {
    font-size: 13pt;
    margin-top: 16pt;
  }

  .prose.about__story > h2 + p {
    color: #000;
  }

  .prose.about__story p {
    orphans: 3;
    widows: 3;
  }

  .card.about__facts {
    border-color: #999;
    background: none;
    box-shadow: none;
  }

  .about__facts-list :is(dt, dd, a) {
    color: #000;
  }

  .about__actions {
    display: none !important;
  }
}

/* ======================================================= site/styles/pages/events.css */

/*
 * Openhand website — the events page.
 * Everything structural on this page is already in the shared sheet: .hero, .section, .prose,
 * .card, .grid-3, .badge, .rule and .signup. What is left is the one thing the events page has
 * that no other page does — a row that leads with a day and a time — plus two small measures.
 *
 * The schedule rows are empty today and the sections that hold them are not rendered at all, so
 * these rules are the page waiting for the day Jeremy moves a night from "planned" to "weekly".
 * They are written to work from the first row: phone first, two columns from 760 px, with the
 * when-column holding the day and the time together so the eye can run down it.
 */

/* ------------------------------------------------------------------ schedule rows */

/*
 * A schedule reads as a column. It stops at the narrow measure rather than the full content width,
 * so the day, the night and its sentence stay in one eyeful instead of stretching across a desk.
 */
.events-list {
  display: grid;
  gap: var(--space-4);
  max-width: var(--content-narrow);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The day and the start time, set in the same brass small caps a section eyebrow uses. */
.events-row__when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.events-row__day {
  white-space: nowrap;
}

/* The time is data, not a title, so it drops back to the reading face and a quieter ivory. */
.events-row__time {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  white-space: nowrap;
}

.events-row__desc {
  text-wrap: pretty;
}

/*
 * From 760 px the row becomes two tracks: when on the left, the night and its sentence on the
 * right. Every child is placed by hand — .card is itself a grid, and auto-placement would put the
 * description under the day rather than under the name it belongs to.
 */
@media (min-width: 760px) {
  .events-row {
    grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
    column-gap: var(--space-6);
    row-gap: var(--space-2);
    align-items: start;
  }

  .events-row__when {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    padding-top: .15em;
  }

  .events-row__name {
    grid-column: 2;
    grid-row: 1;
  }

  .events-row__desc {
    grid-column: 2;
    grid-row: 2;
  }
}

/* ------------------------------------------------------------------ the intentions note */

/* The sentence that explains why the list below it has no days on it. It is the load-bearing
   sentence on this page while the calendar is empty, so it gets reading width and reading color. */
.events-note {
  max-width: var(--measure);
  color: var(--text-2);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ use the room */

.events-room {
  max-width: var(--content-narrow);
}

/* The address is the whole point of the block, so it is set a size up and given room above it. */
.events-room__contact {
  margin-top: var(--space-2);
  font-size: var(--text-lg);
  line-height: 1.3;
}

.events-room__contact a {
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ print */

@media print {
  .events-list {
    max-width: none;
  }

  .events-row {
    break-inside: avoid;
  }

  .events-row__when,
  .events-row__time,
  .events-row__desc,
  .events-note,
  .events-room__contact {
    color: #000;
  }
}

/* ======================================================= site/styles/pages/home.css */

/*
 * Openhand website — the home page, and only the home page.
 * Everything structural is already in base.css and components.css: .hero, .section, .card,
 * .grid-2, .grid-3, .menu-group, .menu-item, .signup, .btn. What is left, and what lives here, is
 * the handful of things this one page needs that no other page does.
 *
 * The important one is the opening date. It is the fact the whole page exists to deliver, so it is
 * set larger than the page title, in Cinzel, between two gold hairlines — a plaque rather than a
 * sentence. Everything else here is rhythm: a slower hero, a pair of columns for the nights, and a
 * two-column hours table that reads like the card taped inside a door.
 *
 * Mobile first, like the rest of the stylesheet, with one 760 px enhancement.
 */

/* ------------------------------------------------------------------ hero */

/* The hero on this page carries six things instead of three, so it breathes a little wider. */
.home-hero {
  row-gap: var(--space-5);
}

.home-hero__crest {
  width: clamp(200px, 46vw, 340px);
  /* The crest belongs to the tagline under it, not to the hero's own rhythm. */
  margin-bottom: calc(var(--space-2) - var(--space-5));
}

/*
 * The hierarchy in this hero is deliberately upside down. The crest above it already says the name
 * at full size, so the h1 steps back to section-title scale and the date takes the display size —
 * because the date is the one thing somebody reads before putting the phone back in their pocket.
 */
.home-hero .hero__title {
  font-size: var(--text-2xl);
}

/*
 * The opening window: the loudest thing on the page, set in Cinzel between two gold hairlines so
 * it reads as a plaque on a door rather than as a sentence. max-width keeps it inside the gutter
 * on a narrow phone, where it wraps to two lines rather than pushing the page sideways.
 *
 * Everything below is decoration around a date, so build/pages/home.js emits the element only
 * when there is a date to decorate — an empty status.openingText prints no plaque, not an empty
 * one. The :empty rule is the second lock on that door, for a plaque built by anything else.
 */

.home-hero__opening:empty {
  display: none;
}

.home-hero__opening {
  max-width: 100%;
  margin-top: var(--space-1);
  padding: var(--space-4) clamp(var(--space-5), 7vw, var(--space-7));
  border-top: 1px solid var(--gold-line-hi);
  border-bottom: 1px solid var(--gold-line-hi);
  background: linear-gradient(180deg, var(--gold-wash-hi), rgba(201, 161, 74, 0));
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
  text-wrap: balance;
}

.home-hero__actions {
  margin-top: var(--space-2);
}

/* ------------------------------------------------------------------ the three promises */

/*
 * These are the first photographs on the page, so they do more than decorate the cards: together
 * they turn Kitchen, Tavern and Social into three immediate, concrete ideas. The pictures run to
 * the card edges while the copy keeps the same inset as every other card on the site.
 */
.home-promise {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.home-promise__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--gold-line);
  object-fit: cover;
}

.home-promise > :is(h3, p) {
  margin-inline: var(--space-5);
}

.home-promise > h3 {
  margin-bottom: var(--space-3);
}

.home-promise > p {
  margin-bottom: var(--space-5);
}

/* ------------------------------------------------------------------ the taste of the menu */

/*
 * Two menu groups sit side by side from 760 px up, and a printed menu needs more air between one
 * course and the next than between the columns of a page.
 */
.home-taste__groups {
  row-gap: var(--space-7);
}

/* ------------------------------------------------------------------ nights */

/*
 * Seven intentions is a long list for a home page, so they are set as a compact two-column index
 * rather than as seven cards: name, then the sentence that says what the night actually is.
 */
.home-plans {
  display: grid;
  gap: var(--space-5);
}

.home-plan {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-2);
}

.home-plan__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
}

/* Only ever printed for a night that has a real day and a real start time. */
.home-plan__when {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
}

.home-plan__note {
  max-width: 48ch;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-3);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ visit */

.home-visit address {
  font-style: normal;
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--ivory);
}

/*
 * Day on the left, hours on the right, a hairline between the rows — the card taped inside a door.
 * Tabular figures so the colons line up down the column.
 */
.home-hours {
  display: grid;
}

.home-hours__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--space-4);
  align-items: baseline;
  padding-block: var(--space-3);
}

.home-hours__row + .home-hours__row {
  border-top: 1px solid rgba(42, 36, 28, .7);
}

.home-hours dt {
  font-weight: 500;
  color: var(--ivory);
}

.home-hours dd {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--gilt);
}

/* ------------------------------------------------------------------ 760 px and up */

@media (min-width: 760px) {
  .home-promise__image {
    margin-bottom: var(--space-6);
  }

  .home-promise > :is(h3, p) {
    margin-inline: var(--space-6);
  }

  .home-promise > p {
    margin-bottom: var(--space-6);
  }

  .home-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-6);
  }
}

/* ------------------------------------------------------------------ print */

/* On paper the plaque is a ruled line and black ink, like everything else. */
@media print {
  .home-hero__crest {
    display: none !important;
  }

  .home-hero__opening {
    margin: 0;
    padding: 6pt 0;
    border-color: #999;
    background: none;
    color: #000;
    font-size: 18pt;
  }

  .home-promise__image {
    display: none;
  }

  .home-promise {
    padding: 12pt;
  }

  .home-promise > :is(h3, p) {
    margin-inline: 0;
  }

  .home-promise > p {
    margin-bottom: 0;
  }

  .home-plan {
    border-top-color: #DDD;
  }

  .home-plan__name,
  .home-plan__note,
  .home-visit address,
  .home-hours dt,
  .home-hours dd {
    color: #000;
  }

  .home-hours__row + .home-hours__row {
    border-top-color: #DDD;
  }
}

/* ======================================================= site/styles/pages/jobs.css */

/*
 * Openhand website — the jobs page, and nothing else.
 * Every selector here is prefixed `jobs-` and appears on no other page, so this file can be edited
 * without reading the rest of the site. The page is built from the shared pieces — .hero, .section,
 * .card, .grid-2, .btn, .lede, .meta, .rule — and this file adds exactly three things they do not
 * cover: the term-and-detail list of what the job is meant to be, a role card whose apply button
 * lines up with its neighbours however long the description runs, and the opening line at the foot.
 * Mobile first, like the rest: these rules are the 375 px design and 760 px only adds to them.
 */

/* ------------------------------------------------------------------ the hero's one action */

/*
 * The hero centres its children, so the button needs nothing but a little more room above it than
 * the hero's own row gap. Scoped to .jobs-hero: every selector in this file must be unable to reach
 * another page, and `.hero > .btn` would reach all of them.
 */
.jobs-hero > .btn {
  margin-top: var(--space-2);
}

/* ------------------------------------------------------------------ what the job is meant to be */

/*
 * A definition list, not cards: four commitments read as a list of terms, and making them cards
 * would give them the same weight as the roles below, which are the thing somebody came for.
 * On a phone the term sits above its detail; from 760 px the terms form a column of their own and
 * the hairline runs the full width of both.
 */
.jobs-commitments {
  display: grid;
  max-width: var(--measure);
}

/*
 * The section's own row gap plus the first term's padding would open a hole between the lede and
 * the list. The list keeps its internal padding and gives back the section's gap.
 */
.jobs-promise > .jobs-commitments {
  margin-top: calc(var(--space-2) - var(--space-5));
}

.jobs-commitments > dt {
  padding-top: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.jobs-commitments > dd {
  margin: 0;
  padding-top: var(--space-2);
  padding-bottom: var(--space-5);
  max-width: 60ch;
  color: var(--text-2);
  text-wrap: pretty;
}

/* The rule belongs between commitments, so the first one does not get one above it. */
.jobs-commitments > dt:not(:first-of-type) {
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  /*
   * The gap between the two columns is padding on the term rather than a column gap, so the two
   * halves of a row's hairline meet and the rule crosses the list in one unbroken line.
   */
  .jobs-commitments {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    column-gap: 0;
  }

  .jobs-commitments > dt {
    padding-right: var(--space-6);
  }

  .jobs-commitments > dd {
    padding-top: var(--space-5);
  }

  /* Two columns, so both halves of a row carry the hairline for it to cross the whole list. */
  .jobs-commitments > dd:not(:first-of-type) {
    border-top: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------------ the roles */

/*
 * .card stacks its children at the top. A role card stretches instead and gives the description the
 * spare height, which puts every Apply button on the same line as the one beside it.
 */
.jobs-role {
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
}

.jobs-role__apply {
  margin-top: var(--space-2);
}

/* Full width on a phone, where a button that is only as wide as its words is easy to miss. */
.jobs-role__apply .btn {
  display: flex;
  width: 100%;
  /*
   * A role title is as long as site.json makes it — "Apply for Part-time and weekends" is wider
   * than the card it sits in — and .btn is nowrap, so without this the words push the whole page
   * sideways instead of wrapping. Same reasoning as the email button further down. The block
   * padding is what keeps a two-line button looking deliberate rather than cramped; .btn's
   * min-height still governs the one-line ones, so nothing else on the page moves.
   */
  white-space: normal;
  text-align: center;
  padding-block: var(--space-3);
}

@media (min-width: 760px) {
  .jobs-role__apply .btn {
    display: inline-flex;
    width: auto;
  }
}

/* The line under the cards for anyone none of the roles quite describes. */
.jobs-roles > .meta {
  max-width: var(--measure);
}

/* ------------------------------------------------------------------ how to apply */

.jobs-apply__body {
  max-width: var(--measure);
  color: var(--text-2);
}

/* The one sentence on this page somebody needs to read even while skimming. */
.jobs-apply strong {
  font-weight: 600;
  color: var(--ivory);
}

.jobs-apply__action {
  margin-top: var(--space-2);
}

.jobs-apply__action .btn {
  /* An email address is long; on a narrow screen it wraps rather than pushing the page sideways. */
  white-space: normal;
  text-transform: none;
  letter-spacing: .01em;
}

.jobs-legal {
  max-width: var(--measure);
  margin-top: var(--space-4);
  padding-left: var(--space-4);
  border-left: 1px solid var(--gold-line);
}

/* ------------------------------------------------------------------ the closing line */

/* The footer brings its own --section-y of space, so the last section does not need a full one. */
.jobs-closing {
  padding-block-end: var(--space-6);
}

.jobs-closing__line {
  max-width: 46ch;
  color: var(--text-2);
  text-wrap: pretty;
}

/*
 * The opening window as a label and a value rather than a sentence, so the words in site.json read
 * correctly whatever their capitalisation and whatever they are changed to.
 */
.jobs-when {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
}

.jobs-when__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.jobs-when__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
}

/* ------------------------------------------------------------------ print */

/*
 * Nobody prints a jobs page on purpose, but somebody will print it to hand to a friend who does not
 * have email. The shared print rules already drop the buttons, so the address has to survive as
 * text — which it does, in the How to apply paragraph — and the borrowed colors have to go.
 */
@media print {
  .jobs-commitments > dt,
  .jobs-when__label,
  .jobs-when__value {
    color: #000;
  }

  .jobs-commitments > dd,
  .jobs-apply__body,
  .jobs-closing__line {
    color: #000;
  }

  .jobs-legal {
    border-left-color: #999;
  }
}

/* ======================================================= site/styles/pages/menu.css */

/*
 * Openhand website — the menu page.
 * Everything here is scoped under .menu-page, the wrapper build/pages/menu.js puts around its body,
 * so this file can only ever change the menu and the shared sheets stay untouched.
 *
 * The page is a printed menu that happens to be on a phone: one column, 40 rem wide, dish on the
 * left, leader dots, price on the right — all of which components.css already does. What this file
 * adds is the apparatus a 197-item list needs and a printed card does not: a jump index, the pour
 * controls over the 89 cocktails, and the rules that take all of it back off again on paper.
 *
 * Three things it is careful about:
 *   Nothing is hidden by default. No rule in this file depends on JavaScript having run, and no
 *   item starts out display:none, so a browser with scripting off shows the entire menu.
 *   Every control clears 44 px, the way the rest of the site does.
 *   The print block is written to stand on its own, because this is the page people actually print
 *   and it must come out black on white whatever else is or is not loaded.
 */

/* ------------------------------------------------------------------ the head of the page */

/* Shorter than a landing hero: the menu itself is what the reader came for. */
.menu-page .menu-hero {
  padding-block: clamp(40px, 10vw, 96px) 0;
}

.menu-page .menu-hero__notes {
  max-width: 58ch;
  margin-top: var(--space-2);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ jump index */

.menu-page .menu-index {
  padding-block: var(--space-7) var(--space-5);
  row-gap: var(--space-4);
}

.menu-page .menu-index__cols {
  display: grid;
  gap: var(--space-5);
}

.menu-page .menu-index__col {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.menu-page .menu-index__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gilt);
}

.menu-page .menu-index__label a {
  color: inherit;
  text-decoration: none;
}

.menu-page .menu-index__label a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.menu-page .menu-index__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.menu-page .menu-index__list li {
  display: flex;
}

/* A tappable chip, not a line of link text: this is the one control on the page a guest uses at
   arm's length, standing up, with one thumb. */
.menu-page .menu-index__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--touch);
  padding: 0 var(--space-4);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--text-2);
  font-size: var(--text-sm);
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}

.menu-page .menu-index__link:hover {
  border-color: var(--gold-line-hi);
  background: var(--gold-wash);
  color: var(--gilt);
}

.menu-page .menu-index__count {
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

@media (min-width: 760px) {
  .menu-page .menu-index__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

/* ------------------------------------------------------------------ the two halves */

.menu-page .menu-part__body {
  display: grid;
  gap: var(--space-5);
}

.menu-page .menu-part__lede {
  max-width: 56ch;
}

.menu-page .menu-sheet {
  display: grid;
  gap: var(--space-7);
}

/*
 * The list stays one column at every width. Two columns would halve the page, and then a reader
 * would have to scroll six thousand pixels down the cocktails and all the way back up to find the
 * top of the second column — that trick belongs on paper, where the eye moves and the page does
 * not. So a wide screen spends its width differently: the heading and its line move into a rail
 * that stays put while the categories go past, and the menu itself is still read straight down.
 */
@media (min-width: 1100px) {
  .menu-page .menu-part__body {
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }

  .menu-page .menu-part__head {
    position: sticky;
    /* Clear of the bar at the top of the window. */
    top: calc(var(--nav-h) + var(--space-5));
    display: grid;
    gap: var(--space-4);
  }

  .menu-page .menu-part__lede {
    max-width: none;
    font-size: var(--text-base);
  }
}

/* ------------------------------------------------------------------ pour controls */

/*
 * Real links to real anchors. With scripting off "Whiskey" jumps to the first whiskey cocktail and
 * every drink stays on the page; with site/scripts/menu-filter.js loaded the same links narrow the
 * list in place and mark themselves with aria-current, which is the only state this file styles.
 */
.menu-page .menu-filter {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.menu-page .menu-filter__label {
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.menu-page .menu-filter__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.menu-page .menu-filter__options li {
  display: flex;
}

.menu-page .menu-filter__option {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 var(--space-4);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--raised);
  color: var(--text-2);
  font-size: var(--text-sm);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}

.menu-page .menu-filter__option:hover {
  border-color: var(--gold-line-hi);
  background: var(--raised-hi);
  color: var(--gilt);
}

.menu-page .menu-filter__option[aria-current] {
  border-color: var(--gold);
  background: var(--gold-wash-hi);
  color: var(--gilt);
  font-weight: 500;
}

.menu-page .menu-filter__note,
.menu-page .menu-filter__status {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-3);
}

/* The script may empty the status line; an empty live region should not leave a gap. */
.menu-page .menu-filter__status:empty {
  display: none;
}

@media (min-width: 760px) {
  .menu-page .menu-filter {
    padding: var(--space-5);
  }
}

/* ------------------------------------------------------------------ items */

/* Two or three long dish names sit next to a price; the price column never wraps, so the name is
   the one that gives. */
.menu-page .menu-item__name {
  overflow-wrap: break-word;
}

/*
 * The one seam site/scripts/menu-filter.js opens. It narrows the cocktails by putting the hidden
 * attribute on the drinks that do not match, and base.css already lifts [hidden] out of the layout
 * — but .menu-item + .menu-item counts hidden siblings, so the first drink left standing would
 * wear a hairline with nothing above it. The script marks that one item and the rule comes off.
 *
 * Screen only, because on paper nothing is hidden: see the print block below.
 */
@media screen {
  .menu-page .menu-list .menu-item--first-shown {
    border-top: 0;
  }
}

/* ------------------------------------------------------------------ print */

/*
 * This is the page people print. It comes out black on white, with no grain, no navigation, no
 * buttons and no jump index — a menu, on paper, and nothing else. The block is written to stand on
 * its own rather than to lean on the print rules in base.css and components.css, because a menu
 * that prints as ivory text on a dark rectangle wastes somebody's toner and their evening.
 */
@media print {
  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  /* The tavern grain. */
  body::before {
    display: none !important;
  }

  .nav,
  .skip-link,
  .footer {
    display: none !important;
  }

  /* The wordmark above the menu is ivory on screen, which is invisible on paper. */
  .wordmark {
    color: #000 !important;
  }

  .menu-page .menu-index,
  .menu-page .menu-filter,
  .menu-page .btn,
  .menu-page .rule {
    display: none !important;
  }

  /* A filter undoes itself on paper. The pour controls are not printed, so a filtered page would
     come out of the printer missing sixty drinks with nothing on it to say why. Whoever presses
     print gets the menu. */
  .menu-page .menu-item[hidden] {
    display: grid !important;
  }

  .menu-page .menu-hero {
    display: block;
    padding: 0 0 10pt;
    text-align: left;
  }

  .menu-page .menu-hero__notes {
    max-width: none;
  }

  .menu-page .hero__eyebrow,
  .menu-page .hero__title,
  .menu-page .hero__lede,
  .menu-page .meta,
  .menu-page .lede,
  .menu-page .section__title {
    background: none !important;
    color: #000 !important;
  }

  .menu-page .hero__title {
    font-size: 20pt;
  }

  .menu-page .section__title {
    font-size: 15pt;
  }

  .menu-page .menu-part {
    display: block;
    padding-block: 0;
  }

  .menu-page .menu-part__body,
  .menu-page .menu-sheet {
    display: block;
    gap: 0;
  }

  /* Nothing is sticky on paper, and the heading belongs above its categories. */
  .menu-page .menu-part__head {
    position: static;
    margin-bottom: 6pt;
  }

  /* A category prints whole wherever it can. */
  .menu-page .menu-group {
    display: block;
    max-width: none;
    margin-top: 14pt;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .menu-page .menu-group__title {
    color: #000 !important;
    break-after: avoid;
    page-break-after: avoid;
  }

  /* Eighty-nine cocktails will not fit on a page, so that one runs across the break — with enough
     lines left on either side of it to be worth turning over for. */
  .menu-page .menu-group--long {
    break-inside: auto;
    page-break-inside: auto;
    orphans: 4;
    widows: 4;
  }

  .menu-page .menu-item {
    break-inside: avoid;
    page-break-inside: avoid;
    padding-block: 2pt;
  }

  .menu-page .menu-item__name,
  .menu-page .menu-item__price {
    color: #000 !important;
  }

  .menu-page .menu-item__desc {
    max-width: none;
    font-size: 9pt;
    color: #000 !important;
  }

  .menu-page .menu-item__dots {
    border-bottom-color: #999;
  }

  .menu-page .menu-item + .menu-item {
    border-top-color: #ddd;
  }

  .menu-page a {
    color: #000 !important;
    text-decoration: none;
  }
}

/* ======================================================= site/styles/pages/utility.css */

/*
 * Openhand website — the two utility pages, /404.html and /thanks/.
 * Both are one short message and a way out, so neither gets a layout of its own: the brass hero
 * from components.css carries the headline, and everything below it is a single .section holding
 * three small pieces that only these two pages need — the list of destinations a lost reader is
 * offered, the address block that answers "where is this place", and the labelled rows that tell
 * somebody who just handed over their email what is going to arrive.
 *
 * Every rule here is scoped under .utility, which build/pages/notfound.js and build/pages/thanks.js
 * put on their one <section>. Nothing in this file can reach another page, and nothing in it
 * redefines anything from tokens.css, base.css or components.css — it only adds the three pieces
 * those files do not have.
 */

/*
 * A bare h2 inside a .section has no house style — components.css dresses headings inside .card,
 * .footer and .prose, and the gold-leaf .section__title is a page-title size that would shout on a
 * page this short. So these two get the same Cinzel-in-gilt as a card heading, at reading size.
 */
.utility h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  color: var(--gilt);
}

/* ------------------------------------------------------------------ destinations (404) */

/*
 * Four ways out of a dead link. Each one is a whole tappable row rather than a word in a line of
 * words, because this page is read on a phone by somebody who has already been sent to the wrong
 * place once — and it carries a line saying what is actually on the page, which the navigation at
 * the top of the screen cannot.
 */
.utility__links {
  display: grid;
  gap: var(--space-3);
  max-width: 52rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility__links a {
  display: grid;
  gap: var(--space-1);
  min-height: var(--touch);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text-2);
  text-decoration: none;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}

.utility__links a:hover {
  border-color: var(--gold-line-hi);
  background: var(--raised);
  color: var(--text-2);
}

.utility__links strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-display);
  color: var(--gold);
}

.utility__links a:hover strong {
  color: var(--gilt);
}

.utility__links span {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-3);
  text-wrap: pretty;
}

@media (min-width: 760px) {
  .utility__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ address (404) */

/*
 * The address is set larger than body text because on a 404 it is the answer, not a footnote. The
 * phone number is a row of its own so the tel: link carries a full 44 px target instead of a
 * line-height's worth of it.
 */
.utility__address {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  font-style: normal;
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--ivory);
}

.utility__address a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--gilt);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ labelled rows (thanks) */

/*
 * What we send, how often, how to stop — a definition list, because that is what it is. Each pair
 * sits in its own <div> so the gap inside a pair and the gap between pairs can differ, and so the
 * label can move beside its answer on a wide screen without the rows interleaving.
 */
.utility__facts {
  display: grid;
  gap: var(--space-5);
  max-width: var(--measure);
  margin: 0;
}

.utility__facts > div {
  display: grid;
  gap: var(--space-1);
}

.utility__facts dt {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.utility__facts dd {
  margin: 0;
  color: var(--text-2);
  text-wrap: pretty;
}

@media (min-width: 760px) {
  .utility__facts > div {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: var(--space-5);
    align-items: baseline;
  }
}

/* ------------------------------------------------------------------ print */

/* Nobody prints a 404 on purpose, but a page that prints as dark boxes on white paper is a bug. */
@media print {
  .utility h2,
  .utility__links strong,
  .utility__facts dt,
  .utility__facts dd,
  .utility__address,
  .utility__address a {
    color: #000;
  }

  .utility__links a {
    border-color: #999;
    background: none;
    color: #000;
  }

  .utility__links span {
    color: #333;
  }
}

/* ======================================================= site/styles/pages/visit.css */

/*
 * Openhand website — the visit page.
 * Almost all of this page is already built out of the shared sheet: .hero, .section, .card,
 * .grid-2, .cluster, .btn, .badge, .meta, .lede, .stack and .rule. What is left is the handful of
 * things only this page has — the opening line under the title, the address and the two contact
 * lines set large enough to read at arm's length, the hours table, the map frame, and the hook the
 * open/closed badge will one day appear in.
 *
 * Every selector here starts with a visit- class, including the one on the status hook, so nothing
 * in this file can reach another page's markup and nothing in another page's file can reach this.
 *
 * Two things are sized deliberately rather than inherited. The address and the phone number are
 * set at --text-lg because they are read on a phone, at night, in a car; and every tappable line
 * carries the full 44 px target from tokens.css, because the phone number is the single most
 * likely thing anyone touches on this page.
 */

/* ------------------------------------------------------------------ the opening line */

/*
 * Under the hero title: a small brass label with the date beneath it. Written as a label-and-value
 * pair rather than a sentence on purpose — "Mid-to-late October 2026" arrives from site.json with
 * its own capital letter, and a pair reads correctly with it while a sentence would not.
 */
.visit-opening {
  display: grid;
  justify-items: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.visit-opening__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--gold);
}

.visit-opening__when {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ivory);
  text-wrap: balance;
}

/* ------------------------------------------------------------------ address and contact */

/* <address> is italic by default in every browser, and an address in italics is harder to read. */
.visit-address {
  font-style: normal;
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ivory);
}

.visit-contact {
  font-size: var(--text-lg);
  line-height: 1.3;
}

/*
 * The phone number and the email address are targets, not sentences, so each one takes a full
 * touch height of its own. overflow-wrap keeps the address from pushing the card wide on a 320 px
 * phone rather than letting it hang off the edge.
 */
.visit-contact a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--gilt);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.visit-contact a:hover {
  color: var(--gilt);
  text-decoration: underline;
  text-decoration-color: var(--gold-line-hi);
}

/*
 * The two directions links. Side by side wherever they fit; on a phone, where they wrap onto two
 * lines anyway, they take the full width of the card instead of sitting in a ragged stack. They
 * are the two biggest targets on the page and they should look like it.
 */
@media (max-width: 460px) {
  .visit-actions .btn {
    flex: 1 0 100%;
  }
}

/* ------------------------------------------------------------------ hours */

/*
 * A printed hours card: the days on the left, the window on the right, a hairline between rows.
 * It stops well short of the content width — a table of two short strings stretched across a desk
 * monitor is a worse read than a narrow one.
 */
.visit-hours {
  display: grid;
  max-width: 34rem;
  margin: 0;
  border-top: 1px solid var(--line);
}

.visit-hours__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.visit-hours__row dt {
  min-width: 0;
  color: var(--ivory);
  font-weight: 500;
}

.visit-hours__row dd {
  margin: 0;
  color: var(--gilt);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* On the narrowest phones "Sunday – Thursday" and "5:00 PM – 10:00 PM" stop fitting on one line. */
@media (max-width: 359px) {
  .visit-hours__row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-1);
  }
}

/* ------------------------------------------------------------------ the status hook */

/*
 * Empty until site/scripts/status.js fills it in, and hidden while it is empty — so a visitor with
 * JavaScript switched off never sees an empty gold pill floating above the hours. It is a .badge,
 * which is inline-flex, and a grid item would otherwise be stretched the width of the section.
 */
.visit-status {
  justify-self: start;
  width: fit-content;
}

.visit-status:empty {
  display: none;
}

/* ------------------------------------------------------------------ map */

/*
 * OpenStreetMap's embed, framed like a photograph. The height is fluid so the frame is never
 * taller than it is useful on a phone; the tiles inside it are light, which is intentional — a
 * dark-filtered map is a map nobody can read street names on.
 */
.visit-map {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.visit-map__frame {
  display: block;
  width: 100%;
  height: clamp(260px, 58vw, 440px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--raised);
}

/* ------------------------------------------------------------------ print */

/*
 * Printed, this page is an address, a phone number and a set of hours to stick on a fridge. The
 * map frame is an iframe that prints as a grey box on most printers, so it goes.
 */
@media print {
  .visit-map {
    display: none !important;
  }

  .visit-opening__label,
  .visit-opening__when,
  .visit-address,
  .visit-contact a,
  .visit-hours__row dt,
  .visit-hours__row dd {
    color: #000;
  }

  .visit-hours {
    border-top-color: #999;
  }

  .visit-hours__row {
    border-bottom-color: #DDD;
  }
}

