/* The Tin Heron — a sample restaurant site by Beacon Solutions. Not a real business. */

@font-face {
  font-family: "Fraunces";
  src: url(fonts/fraunces-latin-full-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url(fonts/fraunces-latin-full-italic.woff2) format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url(fonts/karla-latin-wght-normal.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #13212b;
  --ink-2: #1b2d39;
  --ink-3: #274050;
  --paper: #f5efe4;
  --paper-2: #ece3d3;
  --paper-3: #e2d6c1;
  --tin: #a8b5bc;
  --tin-2: #7f8f98;
  --ember: #c4573a;
  --ember-2: #a8452b;
  --text: #1a242b;
  --muted: #5b666d;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --radius: 999px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── the sample banner: first thing on every page, never hidden ─────────────────── */
.sample-banner {
  background: #0b1318;
  color: #e9e1d2;
  font: 500 0.8125rem/1.45 var(--sans);
  padding: 9px var(--gutter);
  text-align: center;
  letter-spacing: 0.01em;
}
.sample-banner strong { color: #fff; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; margin-right: 4px; }

/* ── header ───────────────────────────────────────────────────────────────────────── */
.top { background: var(--paper); border-bottom: 1px solid var(--paper-3); }
.top-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--ink); }
.brand span { font-family: var(--serif); font-size: 1.375rem; font-weight: 650; font-variation-settings: "SOFT" 60, "WONK" 1; letter-spacing: -0.01em; }
.nav { display: flex; gap: 6px; justify-content: center; }
.nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9375rem;
  color: var(--ink-3);
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* ── buttons ──────────────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill-ember { background: var(--ember); color: #fff; }
.pill-ember:hover { background: var(--ember-2); }
.pill-line { border: 1.5px solid currentColor; }
.pill-ghost { border: 1.5px solid var(--paper-3); color: var(--ink); font-size: 0.9375rem; min-height: 42px; padding: 8px 18px; }
.pill-ghost:hover { border-color: var(--ink); }
.pill-big { min-height: 64px; padding: 14px 28px; font-size: 1.125rem; }
.pill-label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .8;
  padding-right: 10px;
  border-right: 1px solid currentColor;
}
.text-link { font-weight: 700; color: var(--ember-2); text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── hero ─────────────────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(196, 87, 58, .20), transparent 70%),
    radial-gradient(80% 90% at 0% 100%, rgba(168, 181, 188, .10), transparent 60%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(56px, 9vw, 120px);
}
.kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tin);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(3.25rem, 10vw, 7.25rem);
  font-weight: 560;
  line-height: .92;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.lede { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.5; max-width: 34ch; margin-top: 24px; color: #d9d4c9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .pill-line { color: var(--paper); border-color: rgba(245, 239, 228, .55); }
.hero .pill-line:hover { border-color: var(--paper); }
.hero-art { margin: 0; justify-self: center; width: min(100%, 420px); }
.heron .moon { fill: var(--ember); opacity: .9; }
.heron .bird path { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.heron .bird .wing { stroke: var(--tin); stroke-width: 2; }
.heron .bird .eye { fill: var(--ink); }
.heron .water path { fill: none; stroke: var(--tin); stroke-width: 2; stroke-linecap: round; opacity: .7; }

/* ── bands ────────────────────────────────────────────────────────────────────────── */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.muted { color: var(--muted); }

.hours { background: var(--paper-2); }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-2);
  margin-bottom: 14px;
}
.big { font-family: var(--serif); font-size: clamp(1.625rem, 3.4vw, 2.375rem); line-height: 1.15; font-weight: 500; margin-bottom: 14px; font-variation-settings: "SOFT" 50; }
.hours-list { margin: 0; border-top: 1.5px solid var(--ink); }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--paper-3); }
.hours-list dt { font-weight: 700; }
.hours-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-list .off { color: var(--muted); }

.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plate {
  background: #fbf8f2;
  border: 1px solid var(--paper-3);
  border-top: 3px solid var(--ink);
  border-radius: 4px 4px 14px 14px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plate-tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-2); }
.plate h3 { font-size: 1.5rem; font-weight: 600; font-variation-settings: "SOFT" 50; }
.plate p:not(.plate-tag):not(.price) { color: var(--muted); }
.price { font-family: var(--serif); font-style: italic; font-size: 1.25rem; font-weight: 500; margin-top: auto; padding-top: 8px; color: var(--ink); }

.book { background: var(--ink); color: var(--paper); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.book p { max-width: 52ch; margin-top: 16px; color: #d9d4c9; font-size: 1.125rem; }
.book-actions { display: flex; flex-direction: column; gap: 12px; }
.book .pill-line { color: var(--paper); border-color: rgba(245, 239, 228, .45); }
.book .pill-line:hover { border-color: var(--paper); }
.book-slim { padding-block: clamp(44px, 6vw, 72px); }

.find-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.address { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 18px 0 14px; font-variation-settings: "SOFT" 50; }
.map { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--paper-3); }
.map-ground { fill: #efe7d8; }
.map-river { fill: #b9c8cf; }
.map-path { fill: none; stroke: #fbf8f2; stroke-width: 5; stroke-dasharray: 2 9; stroke-linecap: round; }
.map-road { fill: none; stroke: #fbf8f2; stroke-width: 14; stroke-linecap: round; }
.map-pin { fill: var(--ember); stroke: #fff; stroke-width: 3; }
.map-label { font: 700 13px var(--sans); fill: var(--ink-3); letter-spacing: .04em; }
.map-label-light { fill: #56707c; font-style: italic; font-weight: 600; }
.map-label-strong { font: 600 16px var(--serif); fill: var(--ink); }

/* ── menu page ────────────────────────────────────────────────────────────────────── */
.menu-head { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 8vw, 96px) clamp(36px, 6vw, 64px); }
.menu-head h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 560; letter-spacing: -0.03em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.menu-head .lede { max-width: 52ch; }
.menu-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.menu-jump a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(245, 239, 228, .4);
}
.menu-jump a:hover { border-color: var(--paper); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px) clamp(40px, 7vw, 96px); }
.menu-section { scroll-margin-top: 24px; }
.menu-section h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); margin-bottom: 8px; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--paper-3);
}
.dish { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; font-variation-settings: "SOFT" 50; }
.dots { border-bottom: 2px dotted var(--tin); transform: translateY(-5px); min-width: 16px; }
.dishes .price { margin: 0; padding: 0; font-size: 1.125rem; }
.what { grid-column: 1 / -1; color: var(--muted); margin-top: 4px; }

/* ── footer ───────────────────────────────────────────────────────────────────────── */
.foot { background: var(--ink-2); color: #cfd6d9; padding-block: 48px 56px; font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; }
.foot-name { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); margin-bottom: 8px; font-variation-settings: "SOFT" 60, "WONK" 1; }
.foot a { color: var(--paper); text-underline-offset: 3px; }
.foot-note { color: #9eabb2; border-left: 2px solid var(--ember); padding-left: 18px; }

.call-bar { display: none; }

/* ── tablet ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-row { grid-template-columns: auto auto; justify-content: space-between; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 0 -8px 12px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}

/* ── phone ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .top-row { min-height: 64px; gap: 4px 12px; }
  .top-call { display: none; }
  .brand span { font-size: 1.25rem; }
  .hero-grid, .hours-grid, .book-grid, .find-grid, .foot-grid, .menu-cols { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 44px 8px; }
  .hero-art { width: min(72%, 300px); justify-self: end; margin-top: -8px; }
  .hero-actions .pill { flex: 1 1 auto; }
  .book-actions .pill-big { width: 100%; justify-content: flex-start; white-space: normal; }
  .section-head { margin-bottom: 24px; }
  .call-bar {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius);
    background: var(--ember);
    color: #fff;
    font-weight: 800;
    font-size: 1.0625rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(19, 33, 43, .35);
  }
  .call-bar span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .85; }
}

@media (max-width: 480px) {
  .plates { grid-template-columns: minmax(0, 1fr); }
  .sample-banner { font-size: 0.75rem; }
}
