/* Restaurant site: Amaro, an invented trattoria. Bottle green, cream
   and tomato red, an italic Didone display (Bodoni MT) over Gill Sans,
   and arched frames like the shop's old doorway. Tomato text uses the
   darker --am-tomato-ink; tomato fills carry cream text. */

.am-page {
  --am-green: #1d3a2a;
  --am-green-deep: #132a1d;
  --am-green-2: #2b5140;
  --am-cream: #f5ecd9;
  --am-cream-2: #ecdfc3;
  --am-paper: #fbf6ea;
  --am-ink: #2a2118;
  --am-muted: #65574a;
  --am-line: #dccdb0;
  --am-tomato: #c23b28;
  --am-tomato-dark: #a32f1f;
  --am-tomato-ink: #a02e1e;
  --am-gold: #d8ae5e;
  --am-chalk: #eeeadf;
  --am-on-fill: #fbf6ea;
  --am-surface: #f5ecd9;
  --am-field: #ffffff;
  --am-field-error: #fdf0ec;
  --am-open-bg: #e3efe2;
  --am-open-ink: #1c5130;
  --am-open-dot: #2e8a4f;
  --am-closed-bg: #f6e2dc;
  --am-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232a2118' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --am-display: "Bodoni MT", Didot, "Bodoni 72", "Book Antiqua", Georgia, serif;
  --am-sans: "Gill Sans MT", "Gill Sans", Calibri, "Segoe UI", sans-serif;

  background: var(--am-paper);
  color: var(--am-ink);
  font-family: var(--am-sans);
  font-size: 1.0625rem;
  font-variant-numeric: lining-nums;
}

/* Dark mode (PRD section 13.10), the default. The green header, hero,
   kitchen and booking bands are already dark and keep their colours;
   the paper and cream sections become deep bottle green-black, ink
   becomes cream, and tomato text lightens to stay readable. Text on
   tomato and green fills uses --am-on-fill, which stays light. */
:root[data-theme="dark"] .am-page {
  --am-paper: #101a14;
  --am-surface: #16241b;
  --am-cream-2: #22342a;
  --am-ink: #f2e9d6;
  --am-muted: #c4b69e;
  --am-line: #3a4c40;
  --am-tomato-ink: #f39580;
  --am-field: #0b130e;
  --am-field-error: #33150f;
  --am-open-bg: #173524;
  --am-open-ink: #a6e3b9;
  --am-open-dot: #6fcf8f;
  --am-closed-bg: #3a1a14;
  --am-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23f2e9d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;
}

html:has(.am-page) {
  scroll-behavior: smooth;
}

.am-page [hidden] {
  display: none !important;
}

:where(.am-page) p,
:where(.am-page) h1,
:where(.am-page) h2,
:where(.am-page) h3,
:where(.am-page) ul,
:where(.am-page) dl,
:where(.am-page) dd,
:where(.am-page) address,
:where(.am-page) fieldset,
:where(.am-page) table {
  margin: 0;
}

:where(.am-page) li {
  margin: 0;
}

:where(.am-page) ul {
  padding: 0;
  list-style: none;
}

:where(.am-page) fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

:where(.am-page) h1,
:where(.am-page) h2,
:where(.am-page) h3 {
  color: inherit;
}

:where(.am-page) address {
  font-style: normal;
}

.am-page :focus-visible {
  outline: 3px solid var(--am-tomato-ink);
  outline-offset: 3px;
}

.am-page section[id] {
  scroll-margin-top: 78px;
}

.am-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.am-eyebrow {
  margin-bottom: var(--space-3);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am-gold);
}

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

.am-eyebrow--gold {
  color: var(--am-gold);
}

.am-title {
  margin-bottom: var(--space-5);
  font-family: var(--am-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.am-sub {
  margin-bottom: var(--space-4);
  font-family: var(--am-display);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.am-arch {
  position: relative;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
}

/* ---------- Buttons and links ---------- */

.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--am-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.am-btn:hover {
  text-decoration: none;
}

.am-btn:active {
  transform: translateY(1px);
}

.am-btn--tomato {
  background: var(--am-tomato);
  color: var(--am-on-fill);
}

.am-btn--tomato:hover {
  background: var(--am-tomato-dark);
  color: var(--am-on-fill);
}

.am-btn--line {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.am-btn--line:hover {
  background: rgba(216, 174, 94, 0.18);
  color: inherit;
}

.am-btn--small {
  min-height: 44px;
  padding: 0 var(--space-5);
  font-size: 1rem;
}

.am-link {
  color: var(--am-tomato-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.am-link:hover {
  color: var(--am-tomato-dark);
}

.am-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Header ---------- */

.am-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--am-green-deep);
  color: var(--am-cream);
  border-bottom: 1px solid rgba(216, 174, 94, 0.35);
}

.am-header-in {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.am-logo {
  color: var(--am-cream);
  font-family: var(--am-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
}

.am-logo:hover {
  color: var(--am-gold);
  text-decoration: none;
}

.am-page .am-header :focus-visible,
.am-page .am-hero :focus-visible,
.am-page .am-kitchen :focus-visible,
.am-page .am-book-intro :focus-visible,
.am-page .am-footer :focus-visible {
  outline-color: var(--am-gold);
}

.am-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border: 1px solid rgba(245, 236, 217, 0.3);
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.am-pill.is-open .am-dot,
.am-now.is-open .am-dot,
.am-hero-status.is-open .am-dot {
  color: #6fcf8f;
  box-shadow: 0 0 0 3px rgba(111, 207, 143, 0.25);
}

.am-pill.is-closed .am-dot,
.am-hero-status.is-closed .am-dot {
  color: #f08a73;
}

.am-nav {
  margin-left: auto;
}

.am-nav ul {
  display: flex;
  gap: var(--space-1);
}

.am-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  color: var(--am-cream);
  font-weight: 600;
  text-decoration: none;
}

.am-nav a:hover {
  background: rgba(245, 236, 217, 0.1);
  color: var(--am-gold);
  text-decoration: none;
}

.am-theme-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 236, 217, 0.45);
  border-radius: 50%;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.am-theme-btn:hover {
  border-color: var(--am-gold);
  background: rgba(245, 236, 217, 0.1);
}

.am-menu-btn {
  display: none;
}

.am-header-book {
  min-height: 44px;
  padding: 0 var(--space-5);
}

/* ---------- Hero ---------- */

.am-hero {
  position: relative;
  padding: var(--space-16) 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(216, 174, 94, 0.14), transparent 70%),
    var(--am-green);
  color: var(--am-cream);
  overflow: hidden;
}

.am-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: var(--space-12);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.am-hero-title {
  margin: 0 0 var(--space-4) -0.04em;
  font-family: var(--am-display);
  font-size: clamp(5rem, 13vw, 10.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--am-cream);
}

.am-lede {
  max-width: 32em;
  margin-bottom: var(--space-8);
  color: #e8dec8;
  font-size: 1.25rem;
  line-height: 1.55;
}

.am-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.am-hero-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: #e8dec8;
}

.am-hero-status .am-dot {
  color: var(--am-gold);
}

.am-hero-art {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  background:
    radial-gradient(ellipse 60% 40% at 50% 18%, rgba(255, 236, 190, 0.7), transparent 70%),
    linear-gradient(180deg, #e7c496 0%, #d89e6c 64%);
  box-shadow: 0 0 0 10px var(--am-green), 0 0 0 11px rgba(216, 174, 94, 0.6);
}

.am-hero-art > span {
  position: absolute;
  display: block;
}

.am-lamp {
  top: 0;
  left: 38%;
  width: 24%;
  height: 22%;
}

.am-lamp::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 0;
  width: 2px;
  height: 62%;
  background: #3b2a1c;
}

.am-lamp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  border-radius: 999px 999px 4px 4px;
  background: var(--am-green-2);
  box-shadow: 0 10px 18px rgba(255, 226, 150, 0.8);
}

.am-cloth {
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 36%;
  background:
    repeating-linear-gradient(90deg, rgba(194, 59, 40, 0.55) 0 16px, transparent 16px 32px),
    repeating-linear-gradient(0deg, rgba(194, 59, 40, 0.55) 0 16px, transparent 16px 32px),
    var(--am-paper);
  border-top: 6px solid #efe3c7;
}

.am-bottle {
  left: 14%;
  bottom: 30%;
  width: 15%;
  height: 34%;
  border-radius: 30% 30% 8px 8px / 16% 16% 8px 8px;
  background: linear-gradient(90deg, #163323 0%, #2b5a40 35%, #163323 100%);
}

.am-bottle::before {
  content: "";
  position: absolute;
  left: 36%;
  bottom: 98%;
  width: 28%;
  height: 46%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #163323, #2b5a40 40%, #163323);
  box-shadow: 0 -8px 0 -1px var(--am-tomato);
}

.am-bottle::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 38%;
  height: 32%;
  border-radius: 3px;
  background: var(--am-cream);
  box-shadow: inset 0 -6px 0 var(--am-tomato);
}

.am-glass {
  left: 33%;
  bottom: 31%;
  width: 11%;
  height: 16%;
}

.am-glass::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 62%;
  border-radius: 6px 6px 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0 38%, #7a1f24 38%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.am-glass::after {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  top: 60%;
  width: 4px;
  height: 40%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 100% 0 0 rgba(255, 255, 255, 0.75);
}

.am-plate {
  right: 8%;
  bottom: 12%;
  width: 52%;
  height: 20%;
  border-radius: 50%;
  background: #fffdf6;
  box-shadow: 0 8px 0 -2px rgba(0, 0, 0, 0.12), inset 0 0 0 10px #f1e8d4;
}

.am-pasta {
  position: absolute;
  left: 22%;
  top: 18%;
  width: 56%;
  height: 58%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 40%, var(--am-tomato) 0 14%, transparent 15%),
    repeating-radial-gradient(ellipse at 50% 50%, #eac46a 0 3px, #d9a846 3px 5px);
}

.am-lemon {
  left: 40%;
  bottom: 9%;
  width: 11%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbe68a, #e8c230);
}

/* ---------- Menu ---------- */

.am-menu {
  padding: var(--space-16) 0;
  background: var(--am-paper);
}

.am-menu-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.am-intro {
  max-width: 36em;
  color: var(--am-muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.am-board {
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: 140px 140px 14px 14px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.06), transparent 60%),
    #1b2620;
  box-shadow: 0 0 0 8px #6b4a2f, 0 18px 30px rgba(42, 33, 24, 0.25);
  color: var(--am-chalk);
  text-align: center;
}

.am-board-title {
  font-family: var(--am-display);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 400;
}

.am-board-sub {
  margin: var(--space-1) 0 var(--space-4);
  color: #c9c3b2;
  font-size: 0.95rem;
}

.am-board-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  border-top: 1px dashed rgba(238, 234, 223, 0.3);
  text-align: left;
  line-height: 1.35;
}

.am-board-price {
  flex: none;
  color: var(--am-gold);
  font-weight: 600;
}

.am-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
}

.am-filters-label {
  color: var(--am-muted);
  font-weight: 600;
}

.am-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.am-filter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-4) 0 var(--space-2);
  border: 2px solid var(--am-line);
  border-radius: 999px;
  background: var(--am-paper);
  color: var(--am-ink);
  font-family: var(--am-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.am-filter:hover {
  border-color: var(--am-green-2);
}

.am-filter[aria-pressed="true"] {
  border-color: var(--am-green);
  background: var(--am-green);
  color: var(--am-cream);
}

.am-filter[aria-pressed="true"] .am-tag {
  border-color: var(--am-gold);
  background: var(--am-gold);
  color: var(--am-green-deep);
}

.am-filter[aria-pressed="true"]::after {
  content: "";
  width: 12px;
  height: 7px;
  margin-left: 2px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.am-tag {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  padding: 0 6px;
  border: 1.5px solid var(--am-green-2);
  border-radius: 999px;
  color: var(--am-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.am-tabs {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--am-line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.am-tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  min-height: 56px;
  padding: var(--space-2) var(--space-4) var(--space-3);
  border: 0;
  background: none;
  color: var(--am-muted);
  font-family: var(--am-display);
  font-size: 1.6rem;
  font-style: italic;
  cursor: pointer;
}

.am-tab::after {
  content: "";
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: -2px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: transparent;
  transition: background-color var(--transition-fast);
}

.am-tab:hover {
  color: var(--am-ink);
}

.am-tab[aria-selected="true"] {
  color: var(--am-ink);
}

.am-tab[aria-selected="true"]::after {
  background: var(--am-tomato);
}

.am-page .am-tab:focus-visible {
  outline-offset: -3px;
  border-radius: 8px;
}

.am-tab-n {
  min-width: 26px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--am-cream-2);
  color: var(--am-ink);
  font-family: var(--am-sans);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.am-tab-n.is-zero {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--am-line);
  color: var(--am-muted);
}

.am-count {
  min-height: 1.5em;
  margin: var(--space-4) 0 var(--space-2);
  color: var(--am-muted);
  font-size: 0.98rem;
}

.am-panel {
  border-radius: 8px;
}

.am-dishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-12);
}

.am-dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: var(--space-2);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--am-line);
}

.am-dish-name {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--am-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.am-dish-name::after {
  content: "";
  flex: 1;
  min-width: 24px;
  border-bottom: 2px dotted var(--am-line);
  transform: translateY(-4px);
}

.am-dish-price {
  color: var(--am-tomato-ink);
  font-size: 1.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  text-align: right;
}

.am-per {
  color: var(--am-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.am-dish-desc {
  grid-column: 1 / -1;
  margin-top: var(--space-1);
  color: var(--am-muted);
  line-height: 1.45;
}

.am-dish-tags {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.am-dish--side .am-dish-name {
  font-size: 1.25rem;
}

.am-empty {
  margin-top: var(--space-4);
  padding: var(--space-8) var(--space-6);
  border: 2px dashed var(--am-line);
  border-radius: 18px;
  text-align: center;
}

.am-empty p {
  margin-bottom: var(--space-4);
  color: var(--am-muted);
}

.am-empty .am-empty-title {
  margin-bottom: var(--space-2);
  color: var(--am-ink);
  font-family: var(--am-display);
  font-size: 1.5rem;
  font-style: italic;
}

.am-allergens {
  max-width: 60em;
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--am-tomato);
  border-radius: 0 12px 12px 0;
  background: var(--am-surface);
  line-height: 1.5;
}

/* ---------- Kitchen ---------- */

.am-kitchen {
  padding: var(--space-16) 0;
  background: var(--am-green);
  color: var(--am-cream);
}

.am-kitchen-in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--space-12);
}

.am-kitchen-art {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(90deg, #b9875a 0 46px, #ad7b4f 46px 48px, #c29264 48px 90px, #ad7b4f 90px 92px);
  box-shadow: 0 0 0 10px var(--am-green), 0 0 0 11px rgba(216, 174, 94, 0.6);
}

.am-kitchen-art > span {
  position: absolute;
  display: block;
}

.am-board-wood {
  inset: 12% 10% 10%;
  border-radius: 14px;
  background: linear-gradient(160deg, #deb784, #cfa56f);
  box-shadow: 0 10px 20px rgba(60, 35, 15, 0.3);
}

.am-flour {
  left: 22%;
  top: 22%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0 30%, #f6efe0 31% 62%, #fffaf0 63% 100%);
  box-shadow: 0 4px 10px rgba(80, 50, 20, 0.15);
}

.am-yolk {
  position: absolute;
  left: 34%;
  top: 34%;
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ffd66b, #eca21f 70%);
}

.am-pin {
  left: 8%;
  bottom: 22%;
  width: 84%;
  height: 7%;
  border-radius: 999px;
  background: linear-gradient(180deg, #e9c898, #b98a55);
  transform: rotate(-16deg);
  box-shadow: 0 8px 12px rgba(60, 35, 15, 0.25);
}

.am-ribbons {
  right: 14%;
  bottom: 14%;
  width: 30%;
  height: 16%;
  border-radius: 50%;
  background: repeating-linear-gradient(115deg, #f1d27c 0 5px, #e2b85a 5px 8px, transparent 8px 10px);
}

.am-kitchen-copy > p:not(.am-eyebrow) {
  max-width: 36em;
  margin-bottom: var(--space-4);
  color: #e8dec8;
  font-size: 1.15rem;
  line-height: 1.6;
}

.am-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(216, 174, 94, 0.4);
}

.am-facts div {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-1);
}

.am-facts dd {
  color: var(--am-gold);
  font-family: var(--am-display);
  font-size: 3.4rem;
  font-style: italic;
  line-height: 1;
}

.am-facts dt {
  color: #e8dec8;
  line-height: 1.35;
}

/* ---------- Visit ---------- */

.am-visit {
  padding: var(--space-16) 0;
  background: var(--am-surface);
}

.am-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-8);
  margin-top: var(--space-4);
}

.am-hours-card {
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: 180px 180px 16px 16px;
  background: var(--am-paper);
  box-shadow: 0 1px 0 var(--am-line), 0 14px 30px rgba(42, 33, 24, 0.08);
  text-align: center;
}

.am-now {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--am-surface);
  font-weight: 600;
}

.am-now .am-dot {
  color: var(--am-muted);
}

.am-now.is-open {
  background: var(--am-open-bg);
  color: var(--am-open-ink);
}

.am-now.is-open .am-dot {
  color: var(--am-open-dot);
}

.am-now.is-closed {
  background: var(--am-closed-bg);
  color: var(--am-tomato-ink);
}

.am-now.is-closed .am-dot {
  color: var(--am-tomato);
}

.am-hours {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.am-hours th,
.am-hours td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px dotted var(--am-line);
  font-size: 1.02rem;
  vertical-align: top;
}

.am-hours th {
  background: transparent;
  color: var(--am-ink);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.am-hours td {
  color: var(--am-muted);
  text-align: right;
}

.am-hours tr.is-today th,
.am-hours tr.is-today td {
  background: var(--am-surface);
  color: var(--am-ink);
}

.am-hours tr.is-today th {
  box-shadow: inset 4px 0 0 var(--am-tomato);
}

.am-today {
  display: inline-block;
  margin-left: var(--space-2);
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--am-tomato);
  color: var(--am-on-fill);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.am-small {
  margin-top: var(--space-4);
  color: var(--am-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

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

.am-map-frame {
  border-radius: 40% 40% 16px 16px / 30% 30% 16px 16px;
  overflow: hidden;
  box-shadow: 0 0 0 8px var(--am-paper), 0 0 0 9px var(--am-line);
}

.am-map {
  width: 100%;
  height: auto;
}

.am-map-land { fill: #efe4cc; }
.am-map-park { fill: #cfdcae; }
.am-map-river { fill: #a9cdd0; }
.am-map-road { fill: none; stroke: #fffaf0; stroke-width: 10; }
.am-map-road--main { stroke-width: 18; }
.am-map-rail { fill: none; stroke: #6d5d4b; stroke-width: 3; stroke-dasharray: 10 6; }
.am-map-walk { fill: none; stroke: var(--am-tomato); stroke-width: 4; stroke-dasharray: 2 8; stroke-linecap: round; }
.am-map-station { fill: var(--am-green); }
.am-map-pin path { fill: var(--am-tomato); }
.am-map-pin circle { fill: var(--am-on-fill); }

.am-map-label {
  fill: var(--am-ink);
  font-family: var(--am-sans);
  font-size: 20px;
  font-weight: 600;
}

.am-map-label--river {
  fill: #2c5a61;
  font-style: italic;
}

.am-address address {
  margin-bottom: var(--space-3);
  font-size: 1.2rem;
  line-height: 1.5;
}

.am-address > p {
  margin-bottom: var(--space-5);
}

.am-phone {
  font-weight: 600;
  white-space: nowrap;
}

.am-getting {
  display: grid;
  gap: var(--space-3);
}

.am-getting li {
  padding-left: var(--space-4);
  border-left: 3px solid var(--am-gold);
  line-height: 1.5;
}

/* ---------- Book ---------- */

.am-book {
  padding: var(--space-16) 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(216, 174, 94, 0.12), transparent 70%),
    var(--am-green-deep);
  color: var(--am-cream);
}

.am-book-in {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: var(--space-12);
}

.am-book-intro {
  position: sticky;
  top: 100px;
}

.am-book-intro > p:not(.am-eyebrow) {
  margin-bottom: var(--space-4);
  color: #e8dec8;
  font-size: 1.1rem;
  line-height: 1.55;
}

.am-book-card {
  padding: var(--space-8);
  border-radius: 24px;
  background: var(--am-paper);
  color: var(--am-ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.am-label {
  display: block;
  margin-bottom: var(--space-2);
  padding: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.am-optional {
  color: var(--am-muted);
  font-weight: 400;
}

.am-party-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--space-2);
}

.am-choice {
  position: relative;
  display: block;
}

.am-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.am-choice span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-1) var(--space-2);
  border: 2px solid var(--am-line);
  border-radius: 12px;
  background: var(--am-paper);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.am-choice:hover span {
  border-color: var(--am-green-2);
}

.am-choice input:checked + span {
  border-color: var(--am-green);
  background: var(--am-green);
  color: var(--am-cream);
}

.am-choice input:focus-visible + span {
  outline: 3px solid var(--am-tomato-ink);
  outline-offset: 2px;
}

.am-choice input:disabled + span {
  border-style: dashed;
  background: transparent;
  color: var(--am-muted);
  cursor: not-allowed;
}

.am-choice input:disabled + span b {
  text-decoration: line-through;
  font-weight: 400;
}

.am-choice small {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.am-slot-group + .am-slot-group {
  margin-top: var(--space-4);
}

.am-slot-head {
  margin-bottom: var(--space-2);
  color: var(--am-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.am-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: var(--space-2);
}

.am-slot-grid .am-choice span {
  min-height: 56px;
}

.am-field {
  display: grid;
  align-content: start;
}

.am-page .am-input,
.am-page .am-select {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 var(--space-4);
  border: 2px solid var(--am-muted);
  border-radius: 12px;
  background: var(--am-field);
  color: var(--am-ink);
  font: inherit;
  font-size: 1.05rem;
}

.am-page .am-textarea {
  min-height: 96px;
  padding: var(--space-3) var(--space-4);
  line-height: 1.5;
  resize: vertical;
}

.am-page .am-select {
  appearance: none;
  padding-right: 44px;
  background-image: var(--am-select-arrow);
  background-position: right 14px center;
  background-size: 20px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.am-page .am-input:hover,
.am-page .am-select:hover {
  border-color: var(--am-green-2);
}

.am-page .am-input:focus-visible,
.am-page .am-select:focus-visible {
  border-color: var(--am-green);
  outline: 3px solid var(--am-tomato-ink);
  outline-offset: 1px;
}

.am-page .am-input[aria-invalid="true"] {
  border-color: var(--am-tomato-ink);
  background: var(--am-field-error);
}

.am-two {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.am-hint {
  margin-top: var(--space-2);
  color: var(--am-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.am-hint:empty {
  display: none;
}

.am-error {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
  color: var(--am-tomato-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.am-error::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--am-tomato-ink);
  color: #fff;
  font-size: 12px;
}

.am-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--am-line);
}

.am-submit {
  min-height: 54px;
  font-size: 1.12rem;
}

.am-submit:disabled {
  cursor: progress;
  opacity: 0.85;
}

.am-summary {
  flex: 1 1 220px;
  color: var(--am-muted);
  line-height: 1.4;
}

.am-summary strong {
  color: var(--am-ink);
}

.am-demo {
  margin-top: calc(-1 * var(--space-3));
  color: var(--am-muted);
  font-size: 0.92rem;
}

.am-done {
  padding: var(--space-6) var(--space-2);
  text-align: center;
}

.am-done-title {
  margin: 0 auto var(--space-4);
  max-width: 16em;
  font-family: var(--am-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.am-done-title:focus {
  outline: none;
}

.am-done > p:not(.am-eyebrow) {
  max-width: 34em;
  margin: 0 auto var(--space-5);
  line-height: 1.55;
}

.am-status:not(:empty) {
  padding: var(--space-3) var(--space-4);
  border-left: 4px solid var(--am-gold);
  border-radius: 0 10px 10px 0;
  background: var(--am-surface);
  font-size: 0.95rem;
  text-align: left;
}

/* ---------- Footer ---------- */

.am-footer {
  padding: var(--space-12) 0 var(--space-8);
  background: var(--am-green);
  color: #e8dec8;
}

.am-footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}

.am-footer p {
  line-height: 1.6;
}

.am-footer-logo {
  margin-bottom: var(--space-2);
  color: var(--am-cream);
  font-family: var(--am-display);
  font-size: 2.4rem;
  font-style: italic;
  line-height: 1;
}

.am-footer-title {
  margin-bottom: var(--space-3);
  color: var(--am-gold);
  font-family: var(--am-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.am-footer a {
  color: var(--am-cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.am-footer a:hover {
  color: var(--am-gold);
}

.am-footer-small {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-6) 0;
  border-top: 1px solid rgba(216, 174, 94, 0.3);
  color: #cfc5ae;
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .am-nav a {
    padding: var(--space-2);
  }

  .am-pill {
    font-size: 0.9rem;
  }
}

@media (max-width: 960px) {
  .am-hero-in,
  .am-kitchen-in,
  .am-book-in {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-10);
  }

  .am-hero-art {
    justify-self: start;
    max-width: 380px;
  }

  .am-kitchen-art {
    max-width: 340px;
  }

  .am-menu-head,
  .am-visit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-board {
    max-width: 460px;
  }

  .am-book-intro {
    position: static;
  }

  .am-hours-card {
    max-width: 520px;
  }

  .am-footer-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-footer-in > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .am-header {
    position: static;
  }

  .am-page section[id] {
    scroll-margin-top: 12px;
  }

  .am-header-in {
    flex-wrap: wrap;
    gap: var(--space-3);
    min-height: 62px;
    padding: var(--space-2) var(--space-4);
  }

  .am-menu-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 0 var(--space-4);
    border: 1px solid rgba(245, 236, 217, 0.45);
    border-radius: 999px;
    background: transparent;
    color: var(--am-cream);
    font-family: var(--am-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
  }

  .am-menu-btn[aria-expanded="true"] {
    border-color: var(--am-gold);
    color: var(--am-gold);
  }

  .am-nav {
    display: none;
    order: 5;
    width: 100%;
    margin: 0;
  }

  .am-nav.is-open {
    display: block;
  }

  .am-nav ul {
    flex-direction: column;
    padding: var(--space-2) 0 var(--space-3);
    border-top: 1px solid rgba(245, 236, 217, 0.2);
  }

  .am-nav a {
    padding: var(--space-3);
    border-radius: 10px;
  }

  .am-wrap,
  .am-hero-in {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 640px) {
  .am-pill {
    display: none;
  }

  .am-hero,
  .am-menu,
  .am-kitchen,
  .am-visit,
  .am-book {
    padding: var(--space-12) 0;
  }

  .am-lede {
    font-size: 1.12rem;
  }

  .am-hero-art {
    max-width: 300px;
    justify-self: center;
  }

  .am-dishes {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-tab {
    font-size: 1.35rem;
    padding: var(--space-2) var(--space-3) var(--space-3);
  }

  .am-facts {
    gap: var(--space-4);
  }

  .am-facts dd {
    font-size: 2.6rem;
  }

  .am-hours-card {
    padding: var(--space-8) var(--space-4) var(--space-5);
    border-radius: 140px 140px 16px 16px;
  }

  .am-book-card {
    padding: var(--space-5) var(--space-4);
    border-radius: 18px;
  }

  .am-party-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .am-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-submit {
    width: 100%;
  }

  .am-footer-in {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .am-header-in {
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
  }

  .am-book-long {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .am-header-book {
    padding: 0 var(--space-3);
    font-size: 0.98rem;
  }

  .am-logo {
    font-size: 1.7rem;
  }

  .am-menu-btn {
    padding: 0 var(--space-3);
  }

  .am-hero-ctas .am-btn {
    flex: 1 1 auto;
  }

  .am-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-facts div {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    gap: var(--space-3);
  }

  .am-facts dd {
    min-width: 1.6em;
  }

  .am-filters-label {
    width: 100%;
  }

  .am-hours th,
  .am-hours td {
    padding: var(--space-2) var(--space-1);
    font-size: 0.98rem;
  }

  .am-hours th {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .am-header-in {
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
  }

  .am-header-book {
    font-size: 0.92rem;
  }
}

/* ---------- Print ----------
   The printout is a take-away menu card: every course, hours, address
   and how to book. Always light, whatever the screen mode, because
   browsers drop background colours by default. Live state (open now,
   today) is left out so a printed copy is never stale. */

@media print {
  /* Header and footer on every printed page, drawn in the page margins.
     The sides are SVG images so each can carry two lines in two styles;
     the centre title comes from the named page of the section below. */
  @page {
    margin: 0.95in 0.5in 0.7in;
    background: #ffffff;

    @top-left {
      content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22260%22 height=%2231.5%22%3E%3Ctext x=%220%22 y=%2215%22 font-family=%22Georgia, serif%22 font-size=%2215%22 font-weight=%22700%22 fill=%22%23a02e1e%22%3EAmaro%3C/text%3E%3Ctext x=%220%22 y=%2227.5%22 font-family=%22Segoe UI, Calibri, sans-serif%22 font-size=%2210.5%22 font-weight=%22400%22 fill=%22%231f1912%22%3ETrattoria on Chandlers Row%3C/text%3E%3C/svg%3E");
      vertical-align: bottom;
      padding-bottom: 6pt;
      margin-bottom: 10pt;
      border-bottom: 0.75pt solid #b9ab90;
    }

    @top-center {
      content: "";
      vertical-align: bottom;
      padding-bottom: 6pt;
      margin-bottom: 10pt;
      border-bottom: 0.75pt solid #b9ab90;
    }

    @top-right {
      content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22260%22 height=%2230.5%22%3E%3Ctext x=%22260%22 y=%2214%22 font-family=%22Segoe UI, Calibri, sans-serif%22 font-size=%2214%22 font-weight=%22700%22 fill=%22%23a02e1e%22 text-anchor=%22end%22%3E01632 960 418%3C/text%3E%3Ctext x=%22260%22 y=%2226.5%22 font-family=%22Segoe UI, Calibri, sans-serif%22 font-size=%2210.5%22 font-weight=%22400%22 fill=%22%231f1912%22 text-anchor=%22end%22%3E7 Chandlers Row, Wexcombe%3C/text%3E%3C/svg%3E");
      vertical-align: bottom;
      padding-bottom: 6pt;
      margin-bottom: 10pt;
      border-bottom: 0.75pt solid #b9ab90;
    }

    @bottom-left {
      content: "Amaro, Wexcombe and its menu are invented for this template. Prices change with the season.";
      font: 8.5pt "Segoe UI", system-ui, sans-serif;
      color: #4a4036;
      vertical-align: middle;
      border-top: 0.75pt solid #b9ab90;
    }

    @bottom-right {
      content: "Page " counter(page) " of " counter(pages);
      font: 8.5pt "Segoe UI", system-ui, sans-serif;
      color: #4a4036;
      vertical-align: middle;
      border-top: 0.75pt solid #b9ab90;
    }
  }

  @page am-menu {
    @top-center {
      content: "Menu";
      font: 700 19pt "Bodoni MT", Didot, "Book Antiqua", Georgia, serif;
      white-space: nowrap;
      color: #1f1912;
    }
  }

  @page am-kitchen {
    @top-center {
      content: "The Kitchen";
      font: 700 19pt "Bodoni MT", Didot, "Book Antiqua", Georgia, serif;
      white-space: nowrap;
      color: #1f1912;
    }
  }

  @page am-visit {
    @top-center {
      content: "Visit and Book";
      font: 700 19pt "Bodoni MT", Didot, "Book Antiqua", Georgia, serif;
      white-space: nowrap;
      color: #1f1912;
    }
  }

  .am-hero,
  .am-menu {
    page: am-menu;
  }

  /* The allergy note leads the kitchen page rather than sitting alone
     on a page after the menu. */
  .am-allergens,
  .am-kitchen {
    page: am-kitchen;
  }

  .am-visit,
  .am-book,
  .am-footer {
    page: am-visit;
  }

  /* The page background also fills the paper margins, where the
     running footer sits, so it must be white too. */
  html,
  :root[data-theme] {
    background: #ffffff !important;
  }


  :root[data-theme] .am-page,
  .am-page {
    --am-paper: #ffffff;
    --am-surface: #ffffff;
    --am-ink: #1f1912;
    --am-muted: #4a4036;
    --am-line: #b9ab90;
    --am-cream: #1f1912;
    --am-chalk: #1f1912;
    --am-gold: #7a5a1e;
    --am-tomato-ink: #a02e1e;
    color-scheme: light;
    font-size: 11pt;
    background: #ffffff;
    color: var(--am-ink);
  }

  /* Controls, live state and decoration */
  .am-header,
  .am-hero-ctas,
  .am-hero-status,
  .am-hero-art,
  .am-kitchen-art,
  .am-filters,
  .am-tabs,
  .am-count,
  .am-empty,
  .am-now,
  .am-today,
  .am-book-card,
  /* The running header carries the name and address, and the running
     footer carries the note that the restaurant is invented. */
  .am-footer {
    display: none !important;
  }

  .am-address .am-link {
    color: inherit;
    text-decoration: none;
  }

  /* Bands lose their fills; text that sat on green becomes ink */
  .am-hero,
  .am-menu,
  .am-kitchen,
  .am-visit,
  .am-book,
  .am-footer {
    padding: 0 0 18pt;
    background: none;
    color: var(--am-ink);
  }

  .am-wrap,
  .am-hero-in {
    max-width: none;
    padding: 0;
  }

  .am-hero-in,
  .am-kitchen-in,
  .am-book-in,
  .am-menu-head,
  .am-visit-grid {
    display: block;
  }

  .am-hero-title {
    font-size: 40pt;
  }

  .am-lede,
  .am-kitchen-copy > p:not(.am-eyebrow),
  .am-facts dt,
  .am-book-intro > p:not(.am-eyebrow),
  .am-footer,
  .am-footer-small,
  .am-board-sub {
    color: var(--am-muted);
  }

  .am-title {
    font-size: 22pt;
  }

  /* Every course prints, each under its own heading */
  .am-page .am-panel[hidden] {
    display: block !important;
  }

  .am-panel::before {
    display: block;
    margin: 14pt 0 2pt;
    font-family: var(--am-display);
    font-size: 16pt;
    font-style: italic;
    break-after: avoid;
  }

  #am-panel-antipasti::before { content: "Antipasti"; }
  #am-panel-pasta::before { content: "Pasta"; }
  #am-panel-secondi::before { content: "Secondi"; }
  #am-panel-dolci::before { content: "Dolci"; }
  #am-panel-drinks::before { content: "Drinks"; }

  .am-dishes {
    gap: 0 24pt;
  }

  .am-dish {
    padding: 4pt 0;
  }

  .am-dish-name {
    font-size: 12pt;
  }

  .am-dish-price {
    font-size: 11pt;
  }

  .am-board,
  .am-hours-card,
  .am-allergens {
    max-width: none;
    margin: 12pt 0;
    padding: 10pt 12pt;
    border: 1pt solid var(--am-line);
    border-radius: 6pt;
    background: none;
    box-shadow: none;
    text-align: left;
  }

  .am-board-list li {
    border-top-color: var(--am-line);
  }

  .am-hours tr.is-today th,
  .am-hours tr.is-today td {
    background: none;
    box-shadow: none;
  }

  .am-map-frame {
    max-width: 3.6in;
    margin: 12pt 0;
    border: 1pt solid var(--am-line);
    border-radius: 6pt;
    box-shadow: none;
  }

  .am-facts dd {
    font-size: 24pt;
  }

  .am-footer-small {
    padding: 8pt 0 0;
    border-top-color: var(--am-line);
  }

  /* Keep each unit on one page and headings with what follows */
  .am-dish,
  .am-board,
  .am-hours-card,
  .am-map-frame,
  .am-allergens,
  .am-facts,
  .am-getting li {
    break-inside: avoid;
  }

  .am-title,
  .am-sub,
  .am-eyebrow {
    break-after: avoid;
  }
}

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

  .am-page *,
  .am-page *::before,
  .am-page *::after {
    transition-duration: 0.01ms !important;
  }
}
