/* ═══════════════════════════════════════════════════════════════════
   The Fox & Furrow — concept site for TKO Solutions.

   A crossover of three real pubs, measured off their live pages:

     The Temple Bar, Dublin   ground #130C0E · gold #D5C47B · red #AF2223
                              full-bleed photograph with the nav floating
                              over it, then a near-black band carrying a
                              large gold script heading
     The Devonshire, Soho     cream #FFF7D7 · green #133621 · gold #F4D96C
                              red #941215 · nav in uppercase sans tracked
                              3px · bordered gold-lettered doorway panels
                              over darkened photography · a red booking
                              bar pinned across the foot of the hero
     The Shortlands Tavern    tan #E5D8C9 · slate #2F3535 · gold #B08533
                              dark band with the name centred in a serif,
                              gold contact details, tracked caps nav below

   All three: cream or dark ground, gold as the accent, a deep red for
   the one action that matters, a centred serif wordmark, and tracked
   uppercase for navigation. Those are the bones of this.

   The menu rows keep the Brunning & Price setting measured earlier —
   one column, dish in bold, garnish running on, price inline with no
   pound sign — because that is how a pub menu is actually written,
   whatever the pub looks like.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --cream:   #F7EFD4;   /* the Devonshire ground, tempered toward Shortlands */
  --cream-2: #FCF7E6;
  --green:   #133621;   /* the Devonshire green */
  --green-2: #0D2417;
  --ink:     #34533B;   /* the Devonshire text green */
  --ink-2:   #4E6455;
  --gold:    #7E5E16;   /* on cream — 5.2:1 */
  --gold-lt: #E3C55F;   /* on green */
  --red:     #941215;   /* the Devonshire book-now red */
  --rule:    #D9CCA4;
  --rule-2:  #E6DCBF;

  --display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --body:    "EB Garamond", Garamond, Georgia, serif;
  --sans:    "Lato", "Helvetica Neue", Arial, sans-serif;
  --script:  "Great Vibes", "Libre Caslon Display", cursive;

  --shell: 1180px;
  --gut: clamp(16px, 3vw, 30px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; font-family: var(--display); }
h1, h2 { text-align: center; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }

/* The tracked uppercase label. The Devonshire runs its nav at 3px; this is
   the one place letterspacing earns its keep, and it is not used on headings. */
.lbl { font-family: var(--sans); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 880px; margin-inline: auto; }
.band { padding-block: clamp(38px, 5vw, 66px); }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }
.lede { font-size: 1.1875rem; line-height: 1.6; text-align: center; }
.lede + .lede { margin-top: 16px; }
.mt { margin-top: 20px; }

/* ── concept strip ────────────────────────────────────────────────── */
.topbar { background: var(--green-2); color: #9FB3A4; }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a, .topbar span { font-family: var(--sans); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.topbar a { color: inherit; text-decoration: none; padding: 10px 0; }
.topbar a:hover { color: var(--gold-lt); }

/* ── masthead ─────────────────────────────────────────────────────── */
/* Shortlands' dark band, the Devonshire's centred serif wordmark with its
   italic line beneath, and a gold hairline top and bottom. */
.masthead { background: var(--green); color: var(--cream); text-align: center; border-bottom: 2px solid var(--gold); padding-block: clamp(20px, 3vw, 32px) 0; }
.mark { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.6vw, 26px); }
.mark::before, .mark::after { content: ""; flex: 0 1 190px; height: 1px; background: var(--gold-lt); opacity: .65; }
.mark a { text-decoration: none; color: var(--cream); display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.mark .the { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 5px; color: var(--gold-lt); }
.mark .nm { font-family: var(--display); font-size: clamp(1.6rem, 4.4vw, 2.75rem); letter-spacing: .04em; line-height: 1.1; }
.masthead .sub { margin-top: 10px; font-style: italic; font-size: 1.0625rem; color: #BFD0C3; }
.masthead nav { margin-top: clamp(16px, 2.4vw, 26px); }
.masthead nav ul { display: flex; flex-wrap: wrap; justify-content: center; }
.masthead nav a { display: block; padding: 13px clamp(9px, 1.5vw, 17px); color: var(--cream); text-decoration: none; font-family: var(--sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }
.masthead nav a:hover { color: var(--gold-lt); }

/* ── hero ─────────────────────────────────────────────────────────── */
/* Temple Bar's full-bleed photograph, darkened the way the Devonshire darkens
   its two, with the Devonshire's bordered doorway panels sitting on it and
   its red booking bar across the foot. */
.hero { position: relative; background: var(--green-2); }
.hero img { width: 100%; height: clamp(300px, 46vw, 560px); object-fit: cover; opacity: .62; }
.hero .doors { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); flex-wrap: wrap; padding: 20px 16px 74px; }
.hero .doors a {
  border: 1px solid var(--gold-lt); background: rgba(13, 36, 23, .72); color: var(--gold-lt);
  padding: 14px clamp(20px, 3.4vw, 44px); text-decoration: none;
  font-family: var(--sans); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
}
.hero .doors a:hover { background: rgba(13, 36, 23, .9); color: var(--cream); }
.hero .bookbar { position: absolute; left: 0; right: 0; bottom: 0; background: var(--red); text-align: center; }
.hero .bookbar a { display: block; padding: 14px 16px; color: #fff; text-decoration: none; font-family: var(--sans); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }
.hero .bookbar a:hover { background: #7C0F12; }
.cap { font-size: .8125rem; color: var(--ink-2); text-align: right; padding-block: 6px; font-style: italic; }

/* ── dark band with the gold script ───────────────────────────────── */
/* Temple Bar sets "Visit The Temple Bar" in a gold script across a near-black
   band. One flourish, twice on the page, and nowhere else. */
.band-dark { background: var(--green); color: var(--cream); padding-block: clamp(38px, 5vw, 66px); }
.band-dark h1, .band-dark h2 { font-family: var(--script); font-size: clamp(2.6rem, 6.4vw, 4.2rem); color: var(--gold-lt); line-height: 1.15; font-weight: 400; padding-inline: 10px; }
.band-dark .lede { color: #D6E0D8; }
.band-dark .lbl { color: var(--gold-lt); }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 0; cursor: pointer;
  font-family: var(--sans); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
  background: var(--red); color: #fff; border: 1px solid var(--red); text-decoration: none; text-align: center;
}
.btn:hover { background: #7C0F12; border-color: #7C0F12; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: rgba(52, 83, 59, .09); }
.band-dark .btn-line { color: var(--gold-lt); border-color: var(--gold-lt); }
.band-dark .btn-line:hover { background: rgba(227, 197, 95, .14); color: var(--cream); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.acts-c { justify-content: center; }

/* ── menus ────────────────────────────────────────────────────────── */
/* The Brunning & Price setting, on cream, with a gold rule under each course. */
.course + .course { margin-top: 36px; }
.course h3 { font-family: var(--display); color: var(--gold); padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.course .note { margin-top: 10px; font-style: italic; color: var(--ink-2); font-size: 1rem; }
.dish { margin-top: 13px; line-height: 1.45; }
.dish b { font-weight: 600; }
.dish .mk { font-size: 13px; font-style: italic; color: var(--ink-2); }
.dish .pr { margin-left: 1.2em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; margin-top: 34px; }

/* ── what's on ────────────────────────────────────────────────────── */
.on-list li { padding: 18px 0; border-top: 1px solid var(--rule-2); }
.on-list li:first-child { border-top: 0; padding-top: 0; }
.on-list .when { font-family: var(--sans); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); }
.on-list b { display: block; font-size: 1.25rem; font-family: var(--display); font-weight: 400; margin-top: 6px; }
.on-list p { margin-top: 4px; color: var(--ink-2); }

/* ── hours ────────────────────────────────────────────────────────── */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 11px 12px; vertical-align: top; font-size: 1rem; }
.hours thead th { border-bottom: 2px solid var(--gold); font-family: var(--sans); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); }
.hours tbody tr:nth-child(odd) { background: rgba(52, 83, 59, .055); }
.hours tbody th { font-weight: 400; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(26px, 4vw, 52px); }
.stack > * + * { margin-top: 12px; }

/* ── booking ──────────────────────────────────────────────────────── */
.demo { font-style: italic; color: var(--ink-2); font-size: 1rem; }
.fields { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.field { flex: 1 1 180px; }
.field label { display: block; margin-bottom: 6px; }
.field select, .field input { width: 100%; min-height: 48px; padding: 10px 13px; font: inherit; color: var(--ink); background: var(--cream-2); border: 1px solid var(--rule); border-radius: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.slot { min-height: 46px; padding: 9px 17px; font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: 1.5px; background: var(--cream-2); border: 1px solid var(--rule); color: var(--ink); border-radius: 0; cursor: pointer; touch-action: manipulation; }
.slot:hover:not([disabled]) { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--gold-lt); }
.slot[disabled] { color: var(--ink-2); border-style: dashed; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.summary { margin-top: 20px; font-size: 1.1875rem; border-left: 3px solid var(--gold); padding-left: 16px; }
.err { margin-top: 12px; color: var(--red); font-weight: 600; }

/* ── footer ───────────────────────────────────────────────────────── */
.foot { background: var(--green-2); color: #A9BCAE; padding-block: 36px; border-top: 2px solid var(--gold); }
.foot .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.foot .col { padding: 0 26px; text-align: center; }
.foot .col + .col { border-left: 1px solid rgba(227, 197, 95, .22); }
.foot h2 { font-size: 1rem; color: var(--gold-lt); margin-bottom: 14px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }
.foot p + p, .foot li + li { margin-top: 10px; }
.foot a { color: var(--gold-lt); }
@media (max-width: 800px) {
  .foot .cols { grid-template-columns: 1fr; }
  .foot .col { padding: 22px 0 0; }
  .foot .col + .col { border-left: 0; border-top: 1px solid rgba(227, 197, 95, .22); }
}

/* The Devonshire's doorway panel, brought inside the page: a gold-ruled box
   of stacked links in tracked caps. */
.panel { border: 1px solid var(--rule); background: var(--cream-2); padding: 20px 22px; }
.panel h3 { text-align: center; font-family: var(--sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); }
.stackbtns { margin-top: 14px; }
.stackbtns a { display: block; border: 1px solid var(--ink); padding: 11px 14px; text-align: center; text-decoration: none; font-family: var(--sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.stackbtns a + a { border-top: 0; }
.stackbtns a:hover { background: var(--green); color: var(--gold-lt); border-color: var(--green); }

/* The today line runs as a sentence, so the separators are punctuation. */
#today .line + .line::before { content: ", "; }
#today .line:last-child::before { content: ". "; }
#today b { font-weight: 600; }

@media (max-width: 640px) {
  .mark::before, .mark::after { display: none; }
  .mark a { gap: 7px; }
}

figure { margin: 0; }
figcaption { margin-top: 8px; font-size: .9375rem; font-style: italic; color: var(--ink-2); }
.note-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 90; background: var(--red); color: #fff; padding: 12px 18px; }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .001ms !important; } }
