/* ==========================================================================
   Susegad — a Goan coffee house & bakery in Fort Greene, Brooklyn
   0.  Fonts
   1.  Tokens
   2.  Base
   3.  Shared pieces (layout, labels, buttons, tags)
   4.  Top bar
   5.  Header & navigation
   6.  Hero
   7.  Ticker
   8.  01 Story
   9.  02 Menu
   10. 03 The pour (latte art)
   11. 04 This week
   12. 05 Bakery & roastery
   13. 06 On the walls (gallery + lightbox)
   14. 07 Regulars
   15. 08 Sessions
   16. 09 Visit
   17. Reserve
   18. Footer
   19. Motion
   20. 404
   ========================================================================== */

/* 0. Fonts (self-hosted, SIL Open Font License — see assets/fonts) --------- */
@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/gloock-latin-400-normal.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-wght-normal.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: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-wght-italic.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: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono-latin-400-normal.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: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-latin-500-normal.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;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cream: #F3ECDF;
  --paper: #FBF7F0;
  --cobalt: #1F3A93;
  --cobalt-deep: #15296B;
  --cobalt-wash: #D9E0F1;
  --terracotta: #C2532F;
  --terracotta-deep: #A0401F;
  --ochre: #E0A42E;
  --ochre-deep: #C68A1C;
  --ink: #1C1A17;
  --ink-soft: #49443C;
  --ink-muted: #645D51;
  --rule: rgba(28, 26, 23, 0.16);
  --rule-strong: rgba(28, 26, 23, 0.55);

  --font-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.6rem + 4vw, 4.75rem);
  --step-5: clamp(3rem, 1.4rem + 5.4vw, 6rem);

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --space-section: clamp(72px, 8vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.shot { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--terracotta); }

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

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--cobalt); color: var(--paper); }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 3. Shared pieces --------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }

.eyebrow,
.section-head {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { color: var(--ink-soft); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--ink);
  color: var(--ink);
}
.section-head__num { color: var(--terracotta-deep); }
.section-head--light { border-color: var(--cream); color: var(--cream); }
.section-head--light .section-head__num { color: var(--ochre); }

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85em 1.5em;
  border: 1.5px solid var(--btn-bg);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { --btn-bg: var(--cobalt); }
.btn--primary:hover { --btn-bg: var(--ink); }
.btn--ghost { --btn-fg: var(--ink); background: transparent; border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 420px) {
  .btn { padding-inline: 1.05em; font-size: 0.9375rem; }
  .hero__actions { gap: 10px; }
}
.btn__arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 2px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}
.tag::before { content: ""; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.tag--fav { color: var(--terracotta-deep); }
.tag--vegan { color: var(--cobalt); }
.tag--nuts { color: var(--ink-soft); }

.tile-band {
  height: clamp(40px, 5vw, 64px);
  background: var(--paper) url("assets/tile.svg") 0 0 / auto 100% repeat-x;
  border-block: 3px solid var(--cobalt);
}

/* status indicator (filled in by script.js) */
.status { display: inline-flex; align-items: center; gap: 9px; }
.status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.status[data-state="open"] .status__dot { background: #2E8B57; opacity: 1; box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2); }
.status[data-state="closed"] .status__dot { background: var(--terracotta); opacity: 1; }

/* 4. Top bar --------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__address, .topbar__extra { display: none; }
.topbar .status[data-state="open"] .status__dot { background: #5FD38D; box-shadow: none; }
.topbar .status[data-state="closed"] .status__dot { background: #F08A63; }

@media (min-width: 760px) {
  .topbar__address { display: block; }
}
@media (min-width: 1100px) {
  .topbar__extra { display: block; }
  .topbar__address { position: absolute; left: 50%; transform: translateX(-50%); }
  .topbar__inner { position: relative; }
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__tile { fill: var(--cobalt); }
.brand__flower { fill: var(--paper); }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.01em;
  transform: translateY(-1px);
}

.nav__toggle {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle-bars,
.nav__toggle-bars::before {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav__toggle-bars { position: relative; transform: translateY(-4px); }
.nav__toggle-bars::before { content: ""; position: absolute; left: 0; top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { transform: translateY(0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(-8px) rotate(-90deg); }

/* mobile panel */
.nav__panel {
  position: fixed;
  inset: var(--panel-top, 110px) 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 32px;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav.is-open .nav__panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s;
}
.nav__list li { border-bottom: 1px solid var(--rule); }
.nav__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 3rem);
  line-height: 1.05;
  text-decoration: none;
}
.nav__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--terracotta-deep);
  transform: translateY(-1.1em);
}
.nav__cta { margin-top: 28px; width: 100%; }
.nav__aside {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.nav__tiles { height: 44px; margin-bottom: 14px; }
.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav__toggle { display: none; }
  .nav__panel {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 34px; }
  .nav__list li { border: 0; }
  .nav__list a {
    position: relative;
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 500;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav__list a:hover::after { transform: scaleX(1); }
  .nav__num, .nav__aside { display: none; }
  .nav__cta { margin: 0; width: auto; min-height: 44px; padding: 0.7em 1.2em; font-size: 0.9375rem; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }

.hero__grid { display: grid; }

/* On small screens the copy block dissolves so the drawing can sit
   between the call to action and the hours. */
.hero__copy { display: contents; }
.hero__copy > * { justify-self: start; }
.hero__copy .eyebrow { order: 1; }
.hero__title { order: 2; }
.hero__lede { order: 3; }
.hero__actions { order: 4; }
.hero__art { order: 5; }
.hours-card { order: 6; }
.hero__title {
  margin-top: 22px;
  font-size: var(--step-5);
  line-height: 0.96;
  letter-spacing: -0.025em;
  max-width: 11ch;
}
.hero__lede {
  margin-top: 28px;
  max-width: 33rem;
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hours-card {
  display: grid;
  width: 100%;
  max-width: 34rem;
  margin-top: 48px;
  border-top: 1px solid var(--ink);
}
.hours-card__row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 11px 0 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.hours-card dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 2px;
}

.hero__art { position: relative; margin: 76px 0 0; }
.hero__caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.hero__caption span { color: var(--terracotta-deep); margin-right: 8px; letter-spacing: 0.1em; text-transform: uppercase; }
.facade { width: 100%; height: auto; }

.stamp {
  position: absolute;
  top: -30px;
  left: -10px;
  width: clamp(104px, 13vw, 156px);
  aspect-ratio: 1;
}
.stamp__disc { fill: var(--cobalt); }
.stamp__inner { fill: none; stroke: var(--cream); stroke-width: 1.25; }
.stamp__text {
  fill: var(--cream);
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
}
.stamp__ring { transform-box: view-box; transform-origin: 50% 50%; animation: spin 48s linear infinite; }
.stamp__cup-rim { fill: var(--cream); }
.stamp__cup-coffee { fill: var(--terracotta-deep); }
.stamp__cup-foam { fill: var(--cream); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .hero__copy { display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(16px, 3vw, 48px); }
  .hero__art { margin-top: 0; }
  .stamp { top: -48px; left: -56px; }
}

/* 7. Ticker ---------------------------------------------------------------- */
.ticker {
  overflow: hidden;
  background: var(--cobalt);
  color: var(--cream);
  border-block: 1px solid var(--cobalt-deep);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.ticker__list { display: flex; flex: none; }
.ticker__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  white-space: nowrap;
}
.ticker__list li::after {
  content: "";
  width: 9px; height: 9px;
  margin: 0 30px 0 22px;
  background: var(--ochre);
  transform: rotate(45deg) translateY(-3px);
}
.ticker__list span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--cobalt-wash);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* 8. 01 Story ------------------------------------------------------------- */
.story__grid { display: grid; gap: 56px; }

.definition {
  align-self: start;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
}
.definition::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.definition__word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.4rem + 4vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cobalt);
}
.definition__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}
.definition__pron { font-family: var(--font-mono); font-size: 0.9375rem; color: var(--ink-soft); }
.definition__meta em { font-style: italic; color: var(--ink-soft); }
.definition__lang {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 7px 1px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
}
.definition__senses { counter-reset: sense; margin-top: 20px; display: grid; gap: 12px; }
.definition__senses li {
  counter-increment: sense;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.definition__senses li::before {
  content: counter(sense) ".";
  font-family: var(--font-display);
  color: var(--terracotta-deep);
}
.definition__senses li:last-child { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; }
.definition__see {
  margin-top: 22px;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--ink-soft);
}
.definition__see span {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 8px;
}

.story__title { font-size: var(--step-4); max-width: 14ch; }
.story__body p { max-width: 36rem; margin-top: 1.1em; color: var(--ink-soft); }
.story__body .story__lead {
  margin-top: 32px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.story__body .story__sign {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--ink);
}

.facts {
  display: grid;
  margin-top: clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--ink);
}
.fact {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--rule);
}
.fact__figure {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem);
  line-height: 1;
  color: var(--cobalt);
  letter-spacing: -0.02em;
}
.fact__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  max-width: 25rem;
}

@media (min-width: 900px) {
  .story__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 24px;
  }
  .definition { grid-column: 1 / span 5; margin-top: 8px; }
  .story__body { grid-column: 7 / span 6; }
  .facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  .fact { padding: 28px 32px 30px; border-bottom: 0; border-left: 1px solid var(--rule); }
  .fact:first-child { padding-left: 0; border-left: 0; }
}

/* 9. 02 Menu --------------------------------------------------------------- */
.menu { padding-top: 0; }
.menu__intro {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.menu__title { font-size: var(--step-4); }
.menu__intro p { max-width: 30rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .menu__intro { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .menu__intro p { justify-self: end; }
}

.menu-card {
  --tile: 26px;
  padding: var(--tile);
  background: var(--paper) url("assets/tile.svg") 0 0 / var(--tile) var(--tile) round;
  border: 3px solid var(--cobalt);
}
.menu-card__inner {
  position: relative;
  padding: clamp(28px, 5vw, 72px) clamp(22px, 5vw, 72px) clamp(28px, 4vw, 56px);
  background: var(--paper);
  outline: 3px solid var(--cobalt);
}
.menu-card__inner::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--cobalt);
  opacity: 0.35;
  pointer-events: none;
}
@media (min-width: 760px) { .menu-card { --tile: 56px; } }

.menu-card__masthead {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.menu-card__rule { flex: 1; height: 1px; background: var(--rule); }
@media (max-width: 559px) {
  .menu-card__masthead { flex-direction: column; gap: 2px; text-align: center; }
  .menu-card__rule { display: none; }
}

/* tabs: hidden until script.js takes over, so without JS every section shows */
.tabs { display: none; }
.js .tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(6px, 2vw, 14px);
  margin: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 52px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.tab {
  position: relative;
  padding: 8px clamp(8px, 1.5vw, 16px) 12px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  line-height: 1.1;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.tab:hover { color: var(--ink); }
@media (max-width: 559px) {
  .js .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 4px; }
  .tab { font-size: 1.2rem; padding-inline: 4px; }
}
.tab[aria-selected="true"] { color: var(--cobalt); }
.tab::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 7px; height: 7px;
  background: var(--terracotta);
  transform: translate(-50%, 0) rotate(45deg) scale(0);
  transition: transform 0.25s var(--ease);
}
.tab[aria-selected="true"]::after { transform: translate(-50%, 0) rotate(45deg) scale(1); }

.menu-panel { padding-top: 40px; }
.menu-panel + .menu-panel { margin-top: 24px; border-top: 1px solid var(--rule); }
.js .menu-panel { padding-top: 0; }
.js .menu-panel + .menu-panel { margin-top: 0; border-top: 0; }
.menu-panel[hidden] { display: none; }
.menu-panel:focus-visible { outline-offset: 12px; }

.menu-panel__title {
  font-size: var(--step-3);
  text-align: center;
  color: var(--cobalt);
}
.js .menu-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-panel__note {
  margin: 14px auto 40px;
  max-width: 34rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
}
.js .menu-panel__note { margin-top: 0; }

.menu-list { display: grid; gap: 30px; }

.item__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.item__name {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.2;
}
.item__name small { font-family: var(--font-body); font-size: 0.8125rem; color: var(--ink-muted); }
.item__leader {
  flex: 1;
  min-width: 14px;
  height: 2px;
  transform: translateY(-4px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='2'%3E%3Ccircle cx='1' cy='1' r='1' fill='%231C1A17'/%3E%3C/svg%3E") 0 50% / 7px 2px repeat-x;
  opacity: 0.5;
}
.item__price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.item__desc {
  margin-top: 6px;
  max-width: 30rem;
  font-size: 0.96875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.menu-card__foot {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .menu-list {
    display: block;
    columns: 2;
    column-gap: clamp(48px, 6vw, 96px);
  }
  .menu-list .item { break-inside: avoid; padding-bottom: 32px; }
}

/* 10. 03 The pour (latte art) ----------------------------------------------- */
.pour__intro { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.pour__intro h2 { font-size: var(--step-4); max-width: 13ch; }
.pour__copy p:first-child { max-width: 32rem; color: var(--ink-soft); }
.pour__spec {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pour__spec span { padding: 6px 14px 5px; border: 1px solid var(--rule-strong); margin: 0 -1px -1px 0; }
.pour__link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--cobalt);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.pour__link:hover { color: var(--ink); }

.pour__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 16px;
}
.latte figure { display: grid; justify-items: center; text-align: center; }
.latte__cup {
  width: 100%;
  max-width: 290px;
  height: auto;
  transition: transform 0.9s var(--ease);
}
.latte:hover .latte__cup { transform: rotate(-10deg); }
.latte__caption { display: grid; justify-items: center; gap: 4px; margin-top: 14px; max-width: 19rem; }
.latte__num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--terracotta-deep); }
.latte__name { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.15; }
.latte__line-text { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.latte__by {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* the pour: foam blooms out of the crema once, as the cup scrolls in */
.latte__foam, .latte__halo { transform-box: fill-box; transform-origin: 50% 50%; }
.js .latte[data-reveal].is-pending { opacity: 1; transform: none; }
.js .latte .latte__halo { transition: transform 1.4s var(--ease) calc(var(--i) * 0.12s + 0.1s); }
.js .latte .latte__foam {
  transition: transform 1.5s cubic-bezier(0.16, 0.84, 0.24, 1) calc(var(--i) * 0.12s + 0.25s),
              opacity 0.5s ease calc(var(--i) * 0.12s + 0.25s);
}
.js .latte .latte__etch { transition: opacity 0.4s ease calc(var(--i) * 0.12s + 1.2s); }
.js .latte .latte__line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease calc(var(--i) * 0.12s + 1.3s); }
.js .latte.is-pending .latte__halo { transform: scale(0.45); }
.js .latte.is-pending .latte__foam { opacity: 0; transform: scale(0.1) rotate(-140deg); }
.js .latte.is-pending .latte__line { stroke-dashoffset: 1; }
.js .latte.is-pending .latte__etch { opacity: 0; }
.shot .latte.is-pending .latte__halo,
.shot .latte.is-pending .latte__foam { opacity: 1; transform: none; transition: none; }
.shot .latte.is-pending .latte__line { stroke-dashoffset: 0; transition: none; }
.shot .latte.is-pending .latte__etch { opacity: 1; transition: none; }

@media (min-width: 900px) {
  .pour__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: end; gap: 48px; }
  .pour__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; }
}

/* 11. 04 This week ---------------------------------------------------------- */
.specials { background: var(--cobalt); color: var(--cream); }
.specials__intro { display: grid; gap: 20px; margin-bottom: clamp(36px, 4vw, 56px); }
.specials__intro h2 { font-size: var(--step-4); max-width: 12ch; }
.specials__intro p { max-width: 26rem; color: var(--cobalt-wash); }

.specials__grid { display: grid; gap: 20px; }

.special {
  display: grid;
  background: var(--paper);
  color: var(--ink);
}
.special__art {
  display: grid;
  place-items: center;
  padding: 28px;
  min-height: 200px;
}
.special__art img { width: min(200px, 64%); }
.special__art--ochre { background: var(--ochre); }
.special__art--paper { background: var(--cobalt-wash); }
.special__art--terracotta { background: var(--terracotta); }

.special__body { display: flex; flex-direction: column; padding: 24px 24px 26px; }
.special__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}
.special__name { margin-top: 10px; font-size: var(--step-2); line-height: 1.08; }
.special__text { margin-top: 10px; color: var(--ink-soft); font-size: 0.96875rem; line-height: 1.55; }
.special__price {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 760px) {
  .special { grid-template-columns: 44% 1fr; }
  .special__art { min-height: 240px; }
  .special--feature { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) {
  .specials__intro { grid-template-columns: 1fr minmax(0, 24rem); align-items: end; gap: 48px; }
}
@media (min-width: 1000px) {
  .specials__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }
  .special--feature { grid-column: 1 / span 7; grid-row: 1 / span 2; grid-template-rows: 1fr auto; }
  .special--feature .special__art { min-height: 380px; }
  .special--feature .special__art img { width: min(380px, 72%); }
  .special--feature .special__body { padding: 32px 36px 34px; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; }
  .special--feature .special__kicker,
  .special--feature .special__name,
  .special--feature .special__text { grid-column: 1; }
  .special--feature .special__name { font-size: var(--step-3); }
  .special--feature .special__price { grid-column: 2; grid-row: 1 / span 3; align-self: end; padding: 0; font-size: 1.25rem; }
  .special:not(.special--feature) { grid-column: 8 / span 5; grid-template-columns: 1fr; }
  .special:not(.special--feature) .special__art { min-height: 0; height: 170px; padding: 16px; }
  .special:not(.special--feature) .special__art img { width: auto; height: 138px; }
}
@media (min-width: 1240px) {
  .special:not(.special--feature) { grid-template-columns: 42% 1fr; }
  .special:not(.special--feature) .special__art { height: auto; padding: 20px; }
  .special:not(.special--feature) .special__art img { width: 88%; height: auto; }
}

/* 12. 05 Bakery & roastery -------------------------------------------------- */
.process__grid { display: grid; gap: 48px; }
.process__intro h2 { font-size: var(--step-4); max-width: 10ch; }
.process__intro p { margin-top: 24px; max-width: 26rem; color: var(--ink-soft); }

.tile-arch {
  display: none;
  margin-top: 48px;
  width: min(100%, 300px);
  aspect-ratio: 3 / 4;
  border: 3px solid var(--cobalt);
  border-radius: 999px 999px 0 0;
  background: var(--paper) url("assets/tile.svg") 0 0 / 20% auto repeat;
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7.5px var(--cobalt);
}

.steps { border-top: 1px solid var(--ink); }
.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.step__art {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 8px;
}
.step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.step__num { color: var(--terracotta-deep); }
.step__title { margin-top: 10px; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); }
.step__body p:last-child { margin-top: 12px; max-width: 34rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .process__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .process__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .tile-arch { display: block; }
  .steps { grid-column: 6 / span 7; }
  .step { grid-template-columns: 128px 1fr; gap: 36px; padding: 32px 0 34px; }
  .step__art { width: 128px; padding: 14px; }
}

/* 13. 06 On the walls (gallery + lightbox) ---------------------------------- */
.walls__intro { display: grid; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.walls__intro h2 { font-size: var(--step-4); max-width: 11ch; }
.walls__copy p { max-width: 30rem; color: var(--ink-soft); }
.walls__copy .walls__aside {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--ink-muted);
}

.gallery {
  --unit: 0.82px;
  position: relative;
  container-type: inline-size;
}
.gallery__wall { display: none; }
.gallery__show {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}
.gallery__show-title { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.05; }
.gallery__show-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.gallery__hint {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--terracotta-deep);
}

/* phones: a swipeable row of frames, each on its own patch of wall */
.gallery__works {
  display: flex;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.work {
  flex: 0 0 min(80%, 340px);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 300px auto;
  background: #EBE1CC;
  border-top: 6px solid #7A5236;
}
.work__frame {
  align-self: center;
  justify-self: center;
  display: block;
  position: relative;
  width: min(calc(var(--w) * var(--unit)), 80%);
  padding: calc(var(--f) * var(--unit));
  background: var(--frame, #1C1A17);
  box-shadow: calc(6 * var(--unit)) calc(8 * var(--unit)) 0 rgba(96, 66, 32, 0.16);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work__mat {
  display: block;
  padding: calc(var(--m) * var(--unit));
  background: #FBF8F2;
}
.work__mat img { width: 100%; height: auto; aspect-ratio: var(--ar); }
.work__frame:hover { transform: translateY(-3px); box-shadow: calc(9 * var(--unit)) calc(13 * var(--unit)) 0 rgba(96, 66, 32, 0.16); }
.work__frame:focus-visible { outline-offset: 5px; }

.work--riso  { --frame: #1C1A17; }
.work--lino  { --frame: #B98A55; }
.work--lino .work__frame { box-shadow: inset 0 0 0 2px #8A6234, calc(6 * var(--unit)) calc(8 * var(--unit)) 0 rgba(96, 66, 32, 0.16); }
.work--block { --frame: var(--cobalt); }
.work--block .work__mat, .work--oil .work__mat, .work--tile .work__mat { background: none; }
.work--tile  { --frame: #3A2A1E; }
.work--tile .work__frame { box-shadow: calc(10 * var(--unit)) calc(12 * var(--unit)) 0 rgba(96, 66, 32, 0.18); }
.work--water { --frame: #F7F3EA; }
.work--water .work__frame { box-shadow: inset 0 0 0 1px #CFC4AE, calc(6 * var(--unit)) calc(8 * var(--unit)) 0 rgba(96, 66, 32, 0.16); }
.work--oil   { --frame: #D39A2A; }
.work--oil .work__frame,
.work--oil .work__mat { border-radius: 50%; }
.work--oil .work__frame { box-shadow: inset 0 0 0 2px #A86F12, inset 0 0 0 5px #E8BC58, calc(6 * var(--unit)) calc(8 * var(--unit)) 0 rgba(96, 66, 32, 0.16); }
.work--oil .work__mat { overflow: hidden; }
.work--oil .work__mat img { display: block; }

.work__label {
  padding: 16px 18px 20px;
  background: var(--paper);
  font-size: 0.875rem;
  line-height: 1.45;
}
.work__num { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--terracotta-deep); }
.work__artist { margin-top: 4px; font-weight: 600; }
.work__artist span { display: block; font-weight: 400; color: var(--ink-muted); font-size: 0.8125rem; }
.work__title { margin-top: 6px; }
.work__title cite { font-style: italic; }
.work__medium { margin-top: 6px; color: var(--ink-soft); font-size: 0.8125rem; }
.work__price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.work__dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-muted); }
.work__dot--sold { background: #C8102E; border-color: #C8102E; }

/* larger screens: hang the whole show, salon-style, on the illustrated wall */
@media (min-width: 900px) {
  .gallery { --unit: calc(100cqw / 1320); }
  .gallery__wall { display: block; width: 100%; height: auto; }
  .gallery__show {
    position: absolute;
    left: calc(684 * var(--unit));
    top: calc(392 * var(--unit));
    width: calc(320 * var(--unit));
    margin: 0;
  }
  .gallery__show-title { font-size: calc(44 * var(--unit)); }
  .gallery__show-sub { font-size: max(10px, calc(12 * var(--unit))); }
  .gallery__hint { display: none; }
  .gallery__works {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    padding: 0;
    overflow: visible;
    border-top: 1px solid var(--ink);
  }
  .work { display: contents; }
  .work__frame {
    position: absolute;
    left: calc(var(--x) * var(--unit));
    top: calc(var(--y) * var(--unit));
    width: calc(var(--w) * var(--unit));
  }
  .work__frame::after {
    content: attr(data-num);
    position: absolute;
    right: 0;
    bottom: calc(-22 * var(--unit));
    font-family: var(--font-mono);
    font-size: max(10px, calc(11 * var(--unit)));
    letter-spacing: 0.1em;
    color: var(--ink-muted);
  }
  .work--oil .work__frame::after { right: 50%; transform: translateX(50%); }
  .work__label { padding: 18px 0 22px; background: none; border-bottom: 1px solid var(--rule); }
}
@media (min-width: 1200px) {
  .gallery__works { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* lightbox */
.lightbox {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(28, 26, 23, 0.82); }
.lightbox__inner { position: relative; display: grid; }
.lightbox__art {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  background: #EBE1CC;
}
.lightbox__art img { width: auto; height: auto; max-width: 100%; max-height: min(64dvh, 620px); box-shadow: 8px 10px 0 rgba(96, 66, 32, 0.16); }
.lightbox__caption { padding: 24px clamp(20px, 3vw, 36px) 28px; }
.lightbox__num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--terracotta-deep); }
.lightbox__title { margin-top: 6px; font-size: var(--step-2); font-style: normal; }
.lightbox__title cite { font-style: normal; }
.lightbox__artist { margin-top: 8px; font-weight: 600; }
.lightbox__artist span { display: block; font-weight: 400; color: var(--ink-muted); }
.lightbox__medium { margin-top: 4px; color: var(--ink-soft); }
.lightbox__price { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-mono); font-size: 0.875rem; }
.lightbox__nav { display: flex; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.lightbox__step {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: none;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}
.lightbox__step:hover { background: var(--ink); color: var(--paper); }
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--ink); color: var(--paper); }
@media (min-width: 820px) {
  .lightbox__inner { grid-template-columns: minmax(0, 1fr) 300px; }
  .lightbox__caption { display: flex; flex-direction: column; justify-content: flex-end; }
}

/* 14. 07 Regulars ----------------------------------------------------------- */
.regulars { background: var(--ochre); }
.regulars .section-head__num { color: var(--ink); }
.regulars__title { font-size: var(--step-4); margin-bottom: clamp(36px, 4vw, 56px); }

.quotes { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.quote { padding: 28px 0 32px; border-bottom: 1px solid rgba(28, 26, 23, 0.3); }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.18;
}
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.quote figcaption {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.quote__name {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 7px 1px;
  background: var(--ink);
  color: var(--ochre);
}
.quote--lead blockquote p { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.015em; }

@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quote { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid rgba(28, 26, 23, 0.3); }
  .quote--lead { grid-column: 1 / -1; padding: 36px 0 44px; border-left: 0; border-bottom: 1px solid rgba(28, 26, 23, 0.3); }
  .quote--lead blockquote p { max-width: 22ch; }
  .quote blockquote p { text-indent: -0.42em; }
  .quote:nth-child(2) { padding-left: 0; border-left: 0; }
}

/* 15. 08 Sessions ----------------------------------------------------------- */
.sessions__intro { display: grid; gap: 20px; margin-bottom: clamp(36px, 4vw, 56px); }
.sessions__intro h2 { font-size: var(--step-4); max-width: 13ch; }
.sessions__intro p { max-width: 26rem; color: var(--ink-soft); }
@media (min-width: 1100px) {
  .sessions__intro { grid-template-columns: 1fr minmax(0, 24rem); align-items: end; gap: 48px; }
}

.events { border-top: 1px solid var(--ink); }
.event {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--rule);
}
.event__date {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.event__dm {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--cobalt);
}
.event__body { grid-column: 1 / -1; }
.event__title { font-size: var(--step-2); line-height: 1.1; }
.event__body p { margin-top: 8px; max-width: 34rem; color: var(--ink-soft); font-size: 0.96875rem; }
.event__price { font-family: var(--font-mono); font-weight: 500; align-self: center; }
.event__link {
  align-self: center;
  justify-self: end;
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--cobalt);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.event__link:hover { color: var(--ink); }

@media (min-width: 900px) {
  .event {
    grid-template-columns: 200px minmax(0, 1fr) 110px 170px;
    align-items: start;
    gap: 32px;
    padding: 30px 0 32px;
    transition: background-color 0.2s ease;
  }
  .event__date { grid-column: auto; display: grid; gap: 2px; padding-top: 2px; }
  .event__dm { font-size: 2rem; line-height: 1.05; }
  .event__body { grid-column: auto; }
  .event__price, .event__link { align-self: start; padding-top: 6px; }
  .event__price { text-align: right; }
}

/* 16. 09 Visit -------------------------------------------------------------- */
.visit { background: var(--paper); border-top: 1px solid var(--rule); padding-bottom: clamp(48px, 5vw, 80px); }
.visit__grid { display: grid; gap: 56px; }
.visit__info h2 { font-size: var(--step-4); max-width: 13ch; }
.visit__address {
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: var(--step-2);
  line-height: 1.2;
}
.visit__directions { margin-top: 20px; max-width: 30rem; color: var(--ink-soft); }

.contact { margin-top: 36px; border-top: 1px solid var(--ink); max-width: 30rem; }
.contact > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  padding: 12px 0 11px;
  border-bottom: 1px solid var(--rule);
}
.contact dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 3px;
}
.contact dd { min-width: 0; overflow-wrap: anywhere; }
.contact a { text-decoration-color: var(--rule-strong); }

.map {
  border: 1px solid var(--ink);
  background: #EFE6D3;
}
.map svg { width: 100%; height: auto; aspect-ratio: 640 / 460; }
@media (max-width: 599px) {
  .map svg { aspect-ratio: 1 / 1; }
  .map__label { font-size: 13px; }
  .map__tag { font-size: 12px; letter-spacing: 1px; }
}
.map__label { font-family: var(--font-mono); font-size: 11px; fill: var(--ink); }
.map__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; fill: var(--paper); }
.map__bullet { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: #fff; }
.map__park { font-size: 11px; letter-spacing: 3px; text-anchor: middle; }
.map__quarter {
  font-family: var(--font-display);
  font-size: 26px;
  fill: var(--ink);
  opacity: 0.32;
  letter-spacing: 0.02em;
}

.hours { margin-top: 40px; }
.hours__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table th,
.hours__table td {
  padding: 10px 0 9px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.96875rem;
  text-align: left;
  font-weight: 400;
}
.hours__table td { text-align: right; font-family: var(--font-mono); font-size: 0.875rem; }
.hours__table tr[data-day="1"] td { color: var(--ink-muted); }
.hours__table tr.is-today th,
.hours__table tr.is-today td { color: var(--cobalt); font-weight: 600; }
.hours__table tr.is-today th::after {
  content: "Today";
  margin-left: 10px;
  padding: 2px 6px 1px;
  background: var(--cobalt);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.hours__note { margin-top: 18px; font-family: var(--font-mono); font-size: 0.8125rem; }
.hours__fine { margin-top: 6px; font-size: 0.875rem; color: var(--ink-muted); }

@media (min-width: 900px) {
  .visit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .visit__info { grid-column: 1 / span 5; }
  .visit__side { grid-column: 7 / span 6; }
}

/* 17. Reserve --------------------------------------------------------------- */
.reserve { background: var(--paper); padding-top: 0; }
.reserve__grid { display: grid; gap: 40px; padding-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--rule); }
.reserve__intro h2 { margin-top: 16px; font-size: var(--step-4); }
.reserve__intro > p:not(.eyebrow) { margin-top: 22px; max-width: 28rem; color: var(--ink-soft); }
.reserve__notes { margin-top: 28px; display: grid; gap: 8px; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-soft); }
.reserve__notes li { display: flex; gap: 12px; align-items: baseline; }
.reserve__notes li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--terracotta); transform: rotate(45deg) translateY(-2px); }

.reserve__card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--cream);
  border: 1px solid var(--ink);
}

.form__grid { display: grid; gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field__hint { letter-spacing: 0.04em; text-transform: none; color: var(--ink-muted); text-align: right; }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.field__input::placeholder { color: #756D60; }
.field__input:hover { border-color: var(--ink); }
.field__input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(31, 58, 147, 0.22); }
select.field__input {
  padding-right: 40px;
  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='%231C1A17' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.field__input--area { min-height: 100px; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--terracotta-deep); box-shadow: inset 3px 0 0 var(--terracotta-deep); }
.field__error {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--terracotta-deep);
}
.field__error:empty { display: none; }
.field__error::before { content: "↳ "; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.form__small { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-muted); }

.form-success { padding: clamp(8px, 2vw, 24px) 0; }
.form-success:focus { outline: none; }
.form-success__title { margin-top: 16px; font-size: var(--step-3); }
.form-success p:not(.eyebrow) { margin-top: 16px; max-width: 30rem; color: var(--ink-soft); }
.form-success .btn { margin-top: 28px; }

@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .reserve__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .reserve__intro { grid-column: 1 / span 5; }
  .reserve__card { grid-column: 7 / span 6; }
}

/* 18. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--cobalt); color: var(--cream); }
.site-footer a { color: inherit; text-decoration-color: rgba(243, 236, 223, 0.4); }
.site-footer a:hover { text-decoration-color: var(--ochre); }
.site-footer :focus-visible { outline-color: var(--ochre); }
.site-footer .tile-band { border-color: var(--cobalt-deep); }

.footer__word {
  margin: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: nowrap;
}

.footer__grid {
  display: grid;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(243, 236, 223, 0.35);
}
.footer__heading {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}
.footer__col p, .footer__links { font-size: 0.96875rem; line-height: 1.65; }
.footer__links { display: grid; gap: 2px; }

.letter { margin-top: 16px; }
.letter__row { display: flex; border-bottom: 1.5px solid var(--cream); }
.letter__input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: 1rem;
}
.letter__input::placeholder { color: rgba(243, 236, 223, 0.6); }
.letter__input:focus { outline: none; }
.letter__row:focus-within { border-color: var(--ochre); }
.letter__btn {
  padding: 0 0 0 16px;
  border: 0;
  background: none;
  color: var(--ochre);
  font-weight: 600;
  cursor: pointer;
}
.letter__btn:hover { color: var(--cream); }
.letter__error { margin-top: 8px; font-size: 0.875rem; color: #FFD3C2; }
.letter__error:empty { display: none; }
.letter__success { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--ochre); font-size: 0.9375rem; }
.letter__success:focus { outline: none; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 56px;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(243, 236, 223, 0.35);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }

@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 40px; }
}

/* 19. Motion ---------------------------------------------------------------- */
.js [data-reveal] { transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.js [data-reveal].is-pending { opacity: 0; transform: translateY(22px); }
.shot [data-reveal].is-pending { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal].is-pending { opacity: 1; transform: none; }
  .ticker__list:last-child { display: none; }
}

/* 20. 404 ------------------------------------------------------------------- */
.notfound {
  min-height: calc(100vh - var(--header-h) - 38px);
  display: grid;
  align-content: center;
  padding-block: 80px;
}
.notfound__grid { display: grid; gap: 48px; align-items: center; }
.notfound__code { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-deep); }
.notfound h1 { margin-top: 18px; font-size: var(--step-5); max-width: 10ch; }
.notfound p:not(.notfound__code) { margin-top: 24px; max-width: 28rem; color: var(--ink-soft); font-size: var(--step-1); }
.notfound .btn { margin-top: 32px; }
.notfound__art { width: 100%; max-width: 460px; height: auto; justify-self: center; }
.notfound__head-link { min-height: 44px; padding: 0.6em 1.1em; font-size: 0.9375rem; }
.site-footer--slim .footer__base { margin-top: 0; }
@media (min-width: 900px) {
  .notfound__grid { grid-template-columns: 1.2fr 1fr; }
}
