/* Shared colour language with Veg Farm Front Desk. */
:root {
  --brand-navy: #163a63;
  --brand-navy-dark: #0a2342;
  --brand-red: #b22234;
  --brand-highlight: #b2223426;
  --brand-red-dark: #8d1b29;
  --brand-white: #ffffff;
  --brand-yellow: #ffcc00;
  --brand-surface: #f4f7fb;
  --brand-border: #cbd7e4;
  --brand-muted: #526a82;
  accent-color: var(--brand-red);
}

body { background: var(--brand-white); }
::selection { background: var(--brand-highlight); color: var(--brand-navy-dark); }

.set-menu-highlight {
  background-color: var(--brand-highlight);
  color: var(--brand-navy-dark);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* White lettering and a red rule anchor the navy navigation. */
header, .header {
  background: var(--brand-navy-dark);
  color: var(--brand-white);
  border-bottom: 3px solid var(--brand-red);
}
header .brand, header .brand small, header nav { color: var(--brand-white); }
header .brand > img {
  display: block;
  flex: none;
  border: 0;
}
header .header-link, header .outline-btn {
  background: var(--brand-red);
  color: var(--brand-white);
  border-color: var(--brand-red);
}
header .header-link:hover, header .outline-btn:hover { background: var(--brand-red-dark); }
header .selection-count { background: var(--brand-white); color: var(--brand-navy); }

/* Red is reserved for calls to action and small editorial details. */
.eyebrow { color: var(--brand-red); }
.fire-copy .eyebrow, .soup-copy .eyebrow, .aromatics .eyebrow,
.grill-display > .eyebrow, .events .eyebrow, .environment-section .eyebrow,
.lookout-copy .eyebrow, .corporate-hero .eyebrow, .hero .eyebrow,
.closing .eyebrow { color: var(--brand-white); }
.fire-copy .eyebrow, .soup-copy .eyebrow, .corporate-hero .eyebrow,
.hero .eyebrow, .closing .eyebrow { border-left: 3px solid var(--brand-red); padding-left: 12px; }
.food-cta, .steam-copy .food-cta, .gold-btn {
  background: var(--brand-red);
  color: var(--brand-white);
}
.food-cta:hover, .steam-copy .food-cta:hover, .gold-btn:hover { background: var(--brand-red-dark); }
.primary, .green-btn, .set-menu-card .set-menu-select,
.set-menu-proposal-actions .set-menu-enquire {
  background: var(--brand-navy);
  color: var(--brand-white);
  border-bottom: 3px solid var(--brand-red);
}
.primary:hover, .green-btn:hover, .set-menu-card .set-menu-select:hover,
.set-menu-proposal-actions .set-menu-enquire:hover { background: var(--brand-navy-dark); }
.set-menu-card.is-selected { border-color: var(--brand-navy); box-shadow: inset 0 3px var(--brand-red); }
.set-menu-card.is-selected .set-menu-select { background: var(--brand-surface); color: var(--brand-navy); }
.set-menu-card.is-selected .set-menu-select:hover { background: #eaf0f7; }
.set-menu-card .set-menu-occasion, .set-menu-price, .stars,
.results-head .eyebrow, .detail-content .eyebrow, .table-head .eyebrow { color: var(--brand-red); }
.contact-actions a[href*="wa.me"] { background: var(--brand-red); border-color: var(--brand-red); color: var(--brand-white); }
.contact-actions a[href*="wa.me"]:hover { background: var(--brand-red-dark); border-color: var(--brand-red-dark); }
.events, .environment-section, .lookout-section, .corporate-hero, .closing { border-top: 3px solid var(--brand-red); }
.events .contact-actions a:not([href*="wa.me"]) { border-color: #ffffff70; }
.fire-copy h1 em, .soup-copy h2 em, .corporate-hero h1 em,
.hero h1 em, .closing h2 em { color: var(--brand-white); }
.gather-title em { color: var(--brand-red); }
.bestseller { color: var(--brand-red); border-color: var(--brand-red); }
.booking { background: var(--brand-surface); }
.step > span { color: var(--brand-red); border-color: var(--brand-red); }
.set-menu-proposal-heading { border-bottom: 3px solid var(--brand-red); }
.category-btn.active { box-shadow: inset 3px 0 var(--brand-red); }
.save-btn:hover { background: #fbeff1; }
.selection-bar { border-top: 3px solid var(--brand-red); }
.portion-option input:checked + span { border-bottom: 3px solid var(--brand-red); }
.toast { background: var(--brand-white); border-color: var(--brand-red); color: var(--brand-navy); }
footer { border-top: 1px solid var(--brand-border); }

/* Short yellow rules add the fourth colour without changing existing text or buttons. */
.fire-copy h1::after, .hero h1::after, .corporate-hero h1::after,
#set-menu-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 24px;
  border-radius: 2px;
  background: var(--brand-yellow);
}
header nav a:not(.header-link):hover {
  text-decoration: underline;
  text-decoration-color: var(--brand-yellow);
  text-underline-offset: .4em;
}
:focus-visible { outline-color: var(--brand-red); }
.fire-story :focus-visible, .tomyam-story :focus-visible,
header :focus-visible, .events :focus-visible, .corporate-hero :focus-visible,
.closing :focus-visible, .selection-bar :focus-visible { outline-color: var(--brand-white); }

.header-directions {
  position: relative;
  flex: none;
  font-size: 14px;
}
.header-directions > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--brand-white);
  cursor: pointer;
  list-style: none;
}
.header-directions > summary::-webkit-details-marker { display: none; }
.header-directions > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border: solid var(--brand-yellow);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.header-directions[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.header-directions > summary:hover { text-decoration: underline; text-underline-offset: .4em; }
.header-directions > summary:focus-visible { outline: 2px solid var(--brand-yellow); outline-offset: 2px; }
.directions-links {
  position: absolute;
  z-index: 12;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 9rem;
  padding: 4px;
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-yellow);
  border-radius: 8px;
  background: var(--brand-white);
  color: var(--brand-navy-dark);
  box-shadow: 0 5px 16px #0a23422b;
}
.directions-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--brand-navy-dark);
  white-space: nowrap;
}
.directions-links a:hover, .directions-links a:focus-visible { background: var(--brand-surface); }
.directions-links a:focus-visible { outline: 2px solid var(--brand-navy); outline-offset: -2px; }

@media (min-width: 761px) and (max-width: 1100px) {
  header nav[aria-label="Main navigation"] { column-gap: 12px; }
}
@media (max-width: 760px) {
  .directions-links { width: min(9rem, calc(100% + 8vw)); }
  .header .header-right { gap: 10px; }
}
@media (max-width: 420px) {
  .header { padding-inline: 12px; }
  .header .header-right { gap: 8px; }
  .header .header-directions > summary { gap: 4px; }
}

@media print {
  body, body.set-menu-printing { background: #ffffff; color: #163a63; }
}
