/* Coffee demo — typographic poster / chaptered board.
   Morning counter: paper, espresso, steam. Oxblood only on Call.
   The board is the page. Hours in huge type. One peak: hours. */

:root {
  --paper: #F6EFE4;
  --espresso: #2B2118;
  --steam: #FBF7F0;
  --call: #7A2E24;
  --call-ink: #FBF7F0;
  --muted: #5C4E44;
  --line: rgba(43, 33, 24, 0.2);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter Tight", "Segoe UI", Helvetica, Arial, sans-serif;
  --tap: 2.75rem;
  --pad: 1.25rem;
  --board: 26.5rem;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--espresso);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.011em;
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

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

a {
  color: var(--espresso);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--espresso);
  outline-offset: 3px;
}

::selection {
  background: var(--espresso);
  color: var(--steam);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 50;
  background: var(--espresso);
  color: var(--steam);
  padding: 0.65rem 0.9rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

.studio-demo-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0.35rem 1.1rem;
  padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
  background: #1C2428;
  color: #F3EFE8;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.studio-demo-bar a {
  color: #F3EFE8;
  text-underline-offset: 0.15em;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

/* 1. Arrive — drawn espresso still. Full-bleed poster, hard crop, no dissolve. */

.arrive {
  margin: 0;
  background: var(--espresso);
}

.poster {
  position: relative;
  margin: 0;
  height: 72vh;
  min-height: 22rem;
  max-height: 36rem;
  overflow: hidden;
  background: var(--espresso);
}

.poster picture,
.poster img {
  width: 100%;
  height: 100%;
  display: block;
}

.poster img {
  object-fit: cover;
  object-position: 42% 48%;
}

.arrive-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  max-width: min(24rem, 100%);
  padding: 1.05rem 1.1rem 1.2rem;
  background: var(--espresso);
  color: var(--steam);
}

.arrive-copy h1 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 9vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--steam);
}

.arrive-copy p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--steam);
}

/* 2. The cup — type only. A pause, not a gallery. */

.cup {
  margin: 0 auto;
  padding: 2.4rem var(--pad) 1.6rem;
  max-width: var(--board);
}

.chapter {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cup-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.55rem, 6.5vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--espresso);
  max-width: 20rem;
}

/* 3. Peak — the board. Hours huge. Hand-lettered serif, not cards. */

.board,
.here,
footer {
  padding-left: var(--pad);
  padding-right: var(--pad);
  max-width: var(--board);
  margin-left: auto;
  margin-right: auto;
}

.board {
  padding-top: 1.1rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid var(--line);
}

.board > .chapter {
  text-align: left;
  margin-bottom: 0.35rem;
}

.open {
  margin: 0 0 1.6rem;
}

.open-state {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.open-until {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(3.1rem, 16vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--espresso);
}

.open-until .prep {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.38em;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin-bottom: 0.08em;
}

.week {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.week th,
.week td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.week tr:first-child th,
.week tr:first-child td {
  border-top: 1px solid var(--espresso);
}

.week tr:last-child th,
.week tr:last-child td {
  border-bottom: 1px solid var(--espresso);
}

.week th {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.week td {
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.55rem, 6vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hint {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.board-h {
  margin: 2.4rem 0 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.chalk {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--espresso);
}

.chalk li {
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.chalk li:last-child {
  border-bottom: 1px solid var(--espresso);
}

.chalk strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.chalk span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 4. Here — address as the pin. Towns as near. */

.here {
  padding-top: 1.6rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
}

.here > .chapter {
  text-align: left;
}

.pin-slot {
  margin: 0.35rem 0 1.35rem;
  padding: 1.35rem 1.1rem 1.2rem;
  border: 1px solid var(--espresso);
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pin-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.address {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pin-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.towns-lead {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.towns {
  margin: 0 0 1.4rem;
  color: var(--espresso);
  font-size: 1.02rem;
  line-height: 1.45;
}

.cater {
  margin: 0 0 0.85rem;
}

.btn,
.dock-call {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.75rem;
  min-height: var(--tap);
  background: var(--call);
  color: var(--call-ink);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.btn:hover,
.dock-call:hover {
  color: var(--call-ink);
  filter: brightness(1.08);
}

.btn:focus-visible,
.dock-call:focus-visible,
.skip:focus-visible {
  outline-color: var(--steam);
}

footer {
  padding-top: 0.4rem;
  padding-bottom: 1.5rem;
  font-size: 1rem;
}

footer p {
  margin: 0 0 0.35rem;
}

footer a {
  color: var(--espresso);
  font-weight: 600;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.demo-mark {
  margin-top: 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  border-top: 1px solid var(--line);
  z-index: 10;
}

.dock-call {
  max-width: var(--board);
  margin: 0 auto;
}

@media (min-width: 40rem) {
  .poster {
    height: min(78vh, 40rem);
    max-height: none;
  }

  .poster img {
    object-position: 48% 42%;
  }

  .arrive-copy {
    padding: 1.25rem 1.4rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .dock-call:hover {
    filter: none;
  }
}
