:root {
  color-scheme: light dark;
  --paper: #f1f4f1;
  --surface: #e2eae5;
  --ink: #17332d;
  --muted: #475b55;
  --accent: #a2213a;
  --line: #9db1aa;
  /* the bake board: the same slate-green board and chalk in both modes */
  --board: #1b3530;
  --chalk: #eef1ea;
  --chalk-hi: #ecd58a;

  --t-sm: 0.85rem;
  --t-base: 1.0625rem;
  --t-md: 1.328rem;
  --t-lg: 2.075rem;
  --t-xl: 4rem;

  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(1rem, 4vw, 4rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10201c;
    --surface: #182f29;
    --ink: #e5eee9;
    --muted: #a8bcb5;
    --accent: #b23b4f;
    --line: #3d5a52;
    --board: #1d3a33;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, var(--t-xl)); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.66rem, 1.3rem + 1.4vw, var(--t-lg)); }
h3 { font-size: var(--t-md); margin-top: 2.5rem; }
p { margin: 0 0 1rem; text-wrap: pretty; max-width: 65ch; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (hover: hover) { a:hover { text-decoration-thickness: 2px; } }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
a:active { opacity: 0.8; }

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1rem; z-index: 10;
}
.skip:focus { top: 1rem; }

.banner {
  background: var(--ink); color: var(--paper);
  font-size: var(--t-sm);
  padding: 0.5rem var(--pad); margin: 0; max-width: none;
}

/* header */
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.5rem;
}
.name {
  font-family: var(--display); font-size: var(--t-md);
  text-decoration: none; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding-inline: 0.5rem; text-decoration: none; font-weight: 600; white-space: nowrap;
}
@media (hover: hover) { .nav a:hover { text-decoration: underline; } }
.nav .wide { display: none; }

/* buttons: one shape for the site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.5rem 1.5rem;
  border-radius: 4px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--paper);
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) {
  .btn:hover { filter: brightness(1.1); }
  .btn-quiet:hover { background: var(--surface); filter: none; }
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* hero */
.hero { padding-block: 0 2.5rem; }
.hero-grid { display: grid; gap: 1rem; }
.hero-photo { order: -1; margin-inline: calc(-1 * var(--pad)); }
.hero-photo img { aspect-ratio: 4 / 3; }
.hero-photo figcaption { padding-inline: var(--pad); margin-top: 0.25rem; }
.lead { font-size: var(--t-md); line-height: 1.4; margin-bottom: 0.75rem; }
.where { margin: 0 0 0.5rem; }
.where a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.status { font-weight: 700; margin-bottom: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

figure { margin: 0; }
figure img { width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
figcaption { font-size: var(--t-sm); color: var(--muted); margin-top: 0.5rem; }

/* sections */
.band { background: var(--surface); }
.section { padding-block: 4rem; }
.intro { color: var(--muted); }

/* tables */
table { border-collapse: collapse; width: 100%; color: inherit; font: inherit; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 0.75rem 0.5rem 0.75rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
thead th { font-size: var(--t-sm); color: var(--muted); font-weight: 600; padding-block: 0.5rem; }
tbody th { font-weight: 600; }
.num { text-align: right; padding-right: 0; white-space: nowrap; }
.cap-below { caption-side: bottom; text-align: left; padding-top: 0.75rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-today th, .is-today td { font-weight: 700; }
.today { font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin-left: 0.25rem; }

.hours-grid { display: grid; gap: 2.5rem; }
.hours-grid h3 { margin-top: 0; }
.holidays { margin: 0; }
.holidays div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.holidays dt { font-weight: 600; }
.holidays dd { margin: 0; text-align: right; white-space: nowrap; }
.note { margin-top: 1.5rem; }

/* the signature: the morning bake on a chalkboard, set in real type */
.board {
  background: var(--board); color: var(--chalk);
  border-radius: 4px;
  padding: 2.5rem var(--pad);
  margin-inline: calc(-1 * var(--pad));
}
.board h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.2rem); color: var(--chalk); }
.board .intro { color: var(--chalk); opacity: 0.88; }
.board table { margin-top: 1.5rem; }
.board th, .board td { border-bottom: 1px dashed rgba(238, 241, 234, 0.4); padding-block: 1rem; }
.board thead th { color: var(--chalk); opacity: 0.88; border-bottom-style: solid; }
.board td.time {
  font-family: var(--display); font-size: var(--t-md); line-height: 1;
  color: var(--chalk-hi); white-space: nowrap; width: 1%; padding-right: 1.5rem;
}
.board .item { font-family: var(--display); font-weight: 400; font-size: var(--t-md); display: block; }
.board .when { font-size: var(--t-sm); display: block; opacity: 0.88; }
.board td.num { font-weight: 600; }
.board-call { font-family: var(--display); font-size: var(--t-md); display: inline-flex; align-items: center; min-height: 44px; }
.board a { color: var(--chalk); }
.board a:focus-visible { outline-color: var(--chalk); }

/* menu */
.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li { padding-block: 0.5rem; }
.dish { display: flex; justify-content: space-between; gap: 1rem; margin: 0; max-width: none; font-weight: 700; }
.dish .price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.desc { color: var(--muted); margin: 0; }
abbr.v { font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin-left: 0.25rem; text-decoration: none; cursor: help; }
.menu-grid { display: grid; gap: 0 4rem; }
.menu-grid figure { margin-block: 1.5rem 0.5rem; }

/* coffee */
.coffee-grid { display: grid; gap: 2.5rem; }
.coffee-photo { order: 2; }

/* visit */
.visit-list { display: grid; gap: 1.5rem; margin: 1.5rem 0 0; }
.visit-list dt { font-weight: 700; font-family: var(--display); font-size: var(--t-md); }
.visit-list dd { margin: 0.25rem 0 0; color: var(--muted); max-width: 40ch; }

/* footer */
.site-foot { background: var(--ink); color: var(--paper); padding-block: 4rem 6rem; }
.site-foot a { color: var(--paper); }
.site-foot a:focus-visible { outline-color: var(--paper); }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-name { font-family: var(--display); font-size: var(--t-lg); margin-bottom: 0.75rem; }
.site-foot h2 { font-family: var(--text); font-size: var(--t-base); font-weight: 700; letter-spacing: 0; margin-bottom: 0.5rem; }
.site-foot p { margin-bottom: 0.5rem; }
.site-foot .small { font-size: var(--t-sm); }
.foot-hours { margin: 0; font-variant-numeric: tabular-nums; }
.foot-hours div { display: flex; gap: 1rem; justify-content: space-between; max-width: 18rem; }
.foot-hours dd { margin: 0; }
.site-foot .tap { display: inline-flex; align-items: center; min-height: 44px; }

/* phone call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 0.5rem var(--pad);
}
.callbar .btn { width: 100%; }
.callbar .number { font-weight: 400; }

/* overrides that must come after .btn */
.btn.head-call { display: none; }
.btn.hero-call { display: none; }

@media (prefers-color-scheme: dark) {
  .btn { color: var(--ink); }
  .btn-quiet { color: var(--ink); }
  .banner { background: var(--surface); color: var(--ink); }
  .site-foot { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
  .site-foot a { color: var(--ink); }
  .site-foot a:focus-visible { outline-color: var(--ink); }
  .board { box-shadow: inset 0 0 0 1px var(--line); }
}

@media (min-width: 40rem) {
  .nav .wide { display: list-item; }
  .hours-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .visit-list { grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .board { margin-inline: 0; padding: 4rem; }
  .board td.time { font-size: var(--t-lg); }
  .board td.num { font-size: var(--t-md); }
}

@media (min-width: 60rem) {
  .btn.head-call { display: inline-flex; min-height: 44px; padding-block: 0.25rem; }
  .btn.hero-call { display: inline-flex; }
  .callbar { display: none; }
  .site-foot { padding-bottom: 4rem; }
  .hero { padding-block: 1.5rem 6rem; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 4rem; }
  .hero-photo { order: 0; margin-inline: 0; }
  .hero-photo figcaption { padding-inline: 0; }
  .section { padding-block: 6rem; }
  .board { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
  .board table { margin-top: 0; }
  .menu-grid { grid-template-columns: 1.2fr 1fr; }
  .coffee-grid { grid-template-columns: 24rem 1fr; gap: 4rem; align-items: start; }
  .coffee-photo { order: 0; }
  .coffee-photo img { aspect-ratio: 4 / 5; }
  .visit-list { grid-template-columns: repeat(3, 1fr); }
}
