/* Ye Olde Royal Oak - tokens sampled from the building itself, see _brief.md */

:root {
  /* colour */
  --oxblood: #7B1E26;
  --oxblood-deep: #5A151C;
  --oxblood-ink: #3E0E13;
  --render: #E7E2CE;
  --parchment: #F5F1E4;
  --paper: #FBF8EF;
  --ink: #1C1917;
  --ink-soft: #2A2622;
  --slate: #605B4F;
  --slate-light: #8C8678;
  --gold: #B08430;
  --gold-dark: #7A581C;   /* the gold darkened enough to carry small text on parchment */
  --gold-bright: #D6A94B;
  --rule: rgba(28, 25, 23, 0.16);

  /* type */
  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  /* fluid spacing */
  --s-1: 0.375rem;
  --s-2: 0.75rem;
  --s-3: 1.25rem;
  --s-4: 2rem;
  --s-5: clamp(2.5rem, 5vw, 4rem);
  --s-6: clamp(3.5rem, 8vw, 6.5rem);

  --measure: 68ch;
  --shell: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
@media (min-width: 48rem) { .shell { width: min(100% - 4rem, var(--shell)); } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-bright); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- crest ---------- */
/* fill/stroke live as attributes inside the <symbol>; CSS cannot reach into a <use>
   shadow tree, and an unstyled <circle> would render as a solid black disc. */
.crest { display: block; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--oxblood);
  color: var(--render);
  border-bottom: 3px solid var(--oxblood-ink);
}
.masthead__in {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 64px; padding-block: 0.625rem;
}
.wordmark {
  display: flex; align-items: center; gap: 0.7rem;
  min-height: 44px;
  text-decoration: none; color: inherit; margin-right: auto;
}
.wordmark .crest { width: 34px; height: 34px; color: var(--gold-bright); flex: none; }
.wordmark__text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.05;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wordmark__text span { display: block; font-size: 0.6875rem; letter-spacing: 0.24em; font-weight: 500; color: rgba(231, 226, 206, 0.72); font-family: var(--body); margin-top: 2px; }

.nav { display: none; gap: 1.4rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(231, 226, 206, 0.9);
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav a:hover { color: #fff; border-bottom-color: var(--gold-bright); }
@media (min-width: 64rem) { .nav { display: flex; } }

.call-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.5rem 1rem;
  background: var(--gold-bright); color: var(--oxblood-ink);
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 2px; white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}
.call-btn:hover { background: #E7BE60; transform: translateY(-1px); }
.call-btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.call-btn__label { display: none; }
@media (min-width: 26rem) { .call-btn__label { display: inline; } }

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: var(--render);
  padding-block: var(--s-6) var(--s-5);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--oxblood) 0 22px, var(--gold) 22px 26px);
}
.hero__in { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 60rem) {
  .hero__in { grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem, 6vw, 5.5rem); }
}
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-bright);
  margin-bottom: var(--s-3);
}
.hero h1 {
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.25rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero__lede {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  color: rgba(231, 226, 206, 0.82);
  max-width: 44ch;
  margin-bottom: var(--s-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.875rem 1.625rem;
  font-family: var(--body); font-weight: 600; font-size: 0.9375rem;
  letter-spacing: 0.03em; text-decoration: none; border-radius: 2px;
  border: 2px solid transparent; cursor: pointer;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.btn--primary { background: var(--oxblood); color: #fff; }
.btn--primary:hover { background: var(--oxblood-deep); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(231, 226, 206, 0.4); color: var(--render); }
.btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }

/* the photo hangs like the pub's own sign */
.hero__sign { position: relative; padding-top: 26px; }
/* the beam the sign hangs from */
.hero__sign::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
}
.hero__frame {
  border: 3px solid var(--gold);
  padding: 9px;
  background: var(--ink-soft);
  position: relative;
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; top: -26px; width: 3px; height: 26px; background: var(--gold);
}
.hero__frame::before { left: 19%; }
.hero__frame::after { right: 19%; }
.hero__frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero__caption {
  margin-top: 0.875rem; text-align: center;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-light);
}

/* ---------- fact strip ---------- */
.strip { background: var(--oxblood); color: var(--render); }
.strip ul {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  padding-block: 1rem;
  font-size: 0.8125rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500;
}
.strip li { display: flex; align-items: center; gap: 0.55rem; }
.strip li::before { content: ""; width: 5px; height: 5px; background: var(--gold-bright); flex: none; transform: rotate(45deg); }

/* ---------- generic section ---------- */
.section { padding-block: var(--s-6); }
.section--parchment { background: var(--parchment); }
.section--render { background: var(--render); }
.section--ink { background: var(--ink); color: var(--render); }

.section__head { margin-bottom: var(--s-5); }
.section__head h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  letter-spacing: -0.015em;
}
.section__head p {
  margin-top: var(--s-2); color: var(--slate); max-width: var(--measure);
}
.section--ink .section__head p { color: rgba(231, 226, 206, 0.72); }

.divider { display: flex; align-items: center; gap: 0.9rem; color: var(--oxblood); margin-bottom: var(--s-3); }
.divider::after { content: ""; height: 1px; background: var(--rule); flex: 1; }
.divider .crest { width: 28px; height: 28px; flex: none; }
.section--ink .divider { color: var(--gold); }
.section--ink .divider::after { background: rgba(231, 226, 206, 0.2); }

/* ---------- menu ---------- */
.menu-rail {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule);
}
.menu-rail a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; color: var(--oxblood);
  border: 1px solid rgba(123, 30, 38, 0.35);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.menu-rail a:hover { background: var(--oxblood); color: var(--paper); border-color: var(--oxblood); }

.course { margin-bottom: var(--s-6); scroll-margin-top: 84px; }
.course:last-child { margin-bottom: 0; }
.course__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; margin-bottom: var(--s-2); }
.course__head h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  color: var(--oxblood);
}
.course__price {
  font-family: var(--body); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--paper); background: var(--oxblood);
  padding: 0.3rem 0.7rem;
}
.course__note { color: var(--slate); font-size: 0.9375rem; margin-bottom: var(--s-4); max-width: var(--measure); }

.dishes { display: grid; gap: 0 clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 52rem) { .dishes { grid-template-columns: 1fr 1fr; } }

.dish { padding-block: 1.05rem; border-top: 1px solid var(--rule); }
.dish__line { display: flex; align-items: baseline; gap: 0.5rem; }
.dish__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.005em; }
.dish__dots { flex: 1; border-bottom: 1px dotted rgba(28, 25, 23, 0.35); transform: translateY(-4px); min-width: 1.5rem; }
.dish__price { font-family: var(--display); font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.dish__desc { margin-top: 0.3rem; color: var(--slate); font-size: 0.9375rem; line-height: 1.55; max-width: 46ch; }
.dish__tags { margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-dark); border: 1px solid rgba(122, 88, 28, 0.45); padding: 0.1rem 0.4rem;
}

.plain-list { display: grid; gap: 0.4rem 2rem; margin-top: var(--s-2); }
@media (min-width: 40rem) { .plain-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .plain-list { grid-template-columns: repeat(3, 1fr); } }
.plain-list li { padding-block: 0.5rem; border-top: 1px solid var(--rule); font-size: 0.9375rem; }

.extras {
  margin-top: var(--s-4); padding: var(--s-3) var(--s-4);
  background: rgba(123, 30, 38, 0.06);
  border-left: 3px solid var(--oxblood);
}
.extras h4 { font-family: var(--body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oxblood); margin-bottom: 0.5rem; }
.extras p { font-size: 0.9375rem; color: var(--slate); }

/* the loud inset panel - lunch */
.lunch {
  background: var(--oxblood); color: var(--render);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid; gap: var(--s-4);
}
@media (min-width: 56rem) { .lunch { grid-template-columns: auto 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; } }
.lunch__when { border-left: 3px solid var(--gold-bright); padding-left: 1.25rem; }
.lunch__when h3 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); color: #fff; }
.lunch__times { margin-top: 0.75rem; font-size: 1rem; line-height: 1.9; color: rgba(231, 226, 206, 0.9); }
.lunch__times b { color: var(--gold-bright); font-weight: 600; }
.lunch__price {
  margin-top: 1rem; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem); color: var(--gold-bright);
}
.lunch__cols { display: grid; gap: var(--s-4); }
@media (min-width: 34rem) { .lunch__cols { grid-template-columns: 1fr 1fr; } }
.lunch__cols h4 { font-family: var(--body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.6rem; }
.lunch__cols li { padding-block: 0.4rem; border-top: 1px solid rgba(231, 226, 206, 0.18); font-size: 0.9375rem; }

/* ---------- what's on ---------- */
.cards { display: grid; gap: var(--s-3); align-items: start; }
@media (min-width: 48rem) { .cards { grid-template-columns: 1.25fr 1fr 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--rule);
  padding: var(--s-4) var(--s-3) var(--s-3);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card--feature { border-top: 4px solid var(--oxblood); }
.card__kicker { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oxblood); }
.card h3 { font-size: 1.375rem; }
.card p { color: var(--slate); font-size: 0.9375rem; }
.card ul { display: grid; gap: 0.3rem; font-size: 0.9375rem; color: var(--slate); }
.card li::before { content: "– "; color: var(--gold); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
/* captions sit under the plate rather than over it - a photograph's own tones cannot be
   relied on to carry legible text, and a solid strip is checkable for contrast */
.gallery figure { margin: 0; }
.gallery .frame { overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 400ms ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  background: var(--ink); color: var(--render);
  padding: 0.65rem 0.8rem;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- quotes ---------- */
.quotes { display: grid; gap: var(--s-3); }
@media (min-width: 52rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--paper); padding: var(--s-4) var(--s-3);
  border-top: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.quote blockquote::before { content: "\201C"; font-family: var(--display); font-size: 2.75rem; line-height: 0.4; color: var(--gold); display: block; margin-bottom: 0.55rem; }
.quote cite { margin-top: auto; font-style: normal; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oxblood); }

/* ---------- find us ---------- */
.find { display: grid; gap: var(--s-5); }
@media (min-width: 56rem) { .find { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); } }
.detail { padding-block: 1.1rem; border-top: 1px solid rgba(231, 226, 206, 0.2); }
.detail dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.35rem; }
.detail dd { margin: 0; font-size: 1.0625rem; }
.detail dd a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; border-bottom: 1px solid rgba(231, 226, 206, 0.4);
  transition: border-color 150ms ease, color 150ms ease;
}
.detail dd a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
.find__note { margin-top: var(--s-3); font-size: 0.875rem; color: rgba(231, 226, 206, 0.62); max-width: 42ch; }
.find__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: var(--s-4); }

/* ---------- footer ---------- */
.footer { background: var(--oxblood-ink); color: rgba(231, 226, 206, 0.72); padding-block: var(--s-4); font-size: 0.875rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; justify-content: space-between; }
.footer a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(231, 226, 206, 0.92);
}
.footer .crest { width: 30px; height: 30px; color: var(--gold); }
.footer__mark { display: flex; align-items: center; gap: 0.75rem; }
.footer__mark strong { font-family: var(--display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem; color: var(--render); }

/* ---------- 404 ---------- */
.oops { min-height: 72vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--render); padding-block: var(--s-6); }
.oops h1 { font-size: clamp(3rem, 2rem + 6vw, 6rem); color: var(--gold-bright); }
.oops p { margin-top: var(--s-3); color: rgba(231, 226, 206, 0.78); max-width: 42ch; margin-inline: auto; }
.oops .hero__actions { justify-content: center; margin-top: var(--s-4); }
.oops .crest { width: 48px; height: 48px; color: var(--gold); margin: 0 auto var(--s-3); }
