/* The Blue Bell, Kirby Hill — rustic country pub, modern build.
   Palette lifted from the Sunday lunch menu: navy ink, cream paper, brass. */
:root {
  --ink: #1d2c4a;
  --ink-2: #2b3f66;
  --ink-deep: #121c31;
  --paper: #f6f1e7;
  --paper-2: #efe7d7;
  --oat: #e3d7c0;
  --brass: #b08d57;
  --brass-2: #c9a978;
  --oak: #5b3f2a;
  --text: #2a2722;
  --muted: #6d665a;
  --line: rgba(29, 44, 74, .16);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  /* faint paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink-2); }
a:hover { color: var(--brass); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: .8em;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em;
  font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--brass); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Announcement banner ----------
   Set in the booking app (Website → Notices); sits above the top bar on every page. */
.announce { background: var(--ink); color: var(--brass-2); border-bottom: 1px solid rgba(201, 169, 120, .35); text-align: center; font: 500 .9rem/1.45 var(--sans); letter-spacing: .02em; }
.announce .wrap { padding: .75rem 0; }
.announce p { margin: 0; }
.announce a { color: var(--brass-2); text-decoration: none; }
.announce a span { text-decoration: underline; text-decoration-color: rgba(201, 169, 120, .5); text-underline-offset: 3px; }
.announce a:hover { color: #fff; }
.announce a:hover span { text-decoration-color: currentColor; }
.announce svg { width: 15px; height: 15px; vertical-align: -2px; margin-left: .45em; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--ink-deep); color: #cdd5e4;
  font-size: .8rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span + span::before { content: "·"; margin: 0 .7em; color: var(--brass); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; color: var(--ink); }
.brand b { display: block; font: 600 1.45rem/1 var(--serif); letter-spacing: .14em; }
.brand small { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .42em; color: var(--muted); margin-top: .35rem; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav .btn { color: #fff; }

/* CSS-only mobile menu */
.menu-toggle { display: none; }
.menu-toggle summary { list-style: none; cursor: pointer; padding: .6rem; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle summary svg { width: 26px; height: 26px; color: var(--ink); }

@media (max-width: 1080px) {
  .nav.desktop { display: none; }
  .menu-toggle { display: block; position: static; }
  .menu-toggle .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.2rem;
    box-shadow: 0 20px 30px rgba(18, 28, 49, .12);
  }
  .menu-toggle .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu-toggle .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}
@media (min-width: 1081px) { .menu-toggle { display: none !important; } }

/* ---------- Photo slots ----------
   The photo comes from the booking app: the page sets it inline as --img
   (style="--img:url(/img/hero.webp)"). Each slot class sets --ph, a styled gradient
   that sits underneath, so a slot with no photo still looks intentional. */
.photo {
  position: relative; overflow: hidden;
  background-color: var(--ink-2);
  background-size: cover; background-position: center;
  border-radius: var(--radius);
  --img: none; --ph: none;
  background-image: var(--img), var(--ph);
}
.photo[data-label]::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font: 600 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.ph-hero    { background-position: 70% 40%; --ph: linear-gradient(135deg, #26375a, #121c31 60%, #3a2a1e); }
.ph-roast   { --ph: radial-gradient(circle at 30% 30%, #8a5a34, #4a2f1d 55%, #22160e); }
.ph-roast2  { background-position: center 40%; --ph: radial-gradient(circle at 70% 40%, #a57447, #5b3f2a 60%, #2b1d13); }
.ph-bar     { --ph: linear-gradient(160deg, #6b4a2f, #2b1d13); }
.ph-garden  { --ph: linear-gradient(160deg, #5f7552, #2f3d2a); }
.ph-room1   { background-position: center 40%; --ph: linear-gradient(150deg, #d9cdb6, #a8977a); }
.ph-room2   { --ph: linear-gradient(150deg, #cdd3dc, #8d99ab); }
.ph-room3   { --ph: linear-gradient(150deg, #e0d2bd, #b39a78); }
.ph-bozza   { --ph: radial-gradient(circle at 40% 40%, #c2602f, #6b2c14 60%, #2a120a); }
.ph-outside { --ph: linear-gradient(150deg, #44597d, #1d2c4a); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff; isolation: isolate; }
.hero .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,28,49,.92) 0%, rgba(18,28,49,.78) 30%, rgba(18,28,49,.25) 58%, rgba(18,28,49,0) 75%),
    linear-gradient(180deg, rgba(18,28,49,0) 55%, rgba(18,28,49,.85) 100%);
}
@media (max-width: 860px) {
  .hero::before { background: linear-gradient(180deg, rgba(18,28,49,.25) 0%, rgba(18,28,49,.55) 30%, rgba(18,28,49,.82) 60%, rgba(18,28,49,.94) 100%); }
  .ph-hero { background-position: 62% center; }
}
.hero .wrap { padding: 7rem 0 5rem; }
.hero h1 { color: #fff; max-width: 17ch; }
/* oversized line-art bell — gives the hero character before photos arrive */
.hero-bell { position: absolute; right: max(2vw, calc((100vw - var(--wrap)) / 2 - 40px)); top: 12%; width: min(42vw, 520px); height: auto; color: var(--brass-2); opacity: .13; z-index: -1; pointer-events: none; }
@media (max-width: 700px) { .hero-bell { width: 70vw; right: -12vw; top: 6%; opacity: .08; } .topbar .wrap > div:first-child { display: none; } }
.hero h1 em { font-weight: 500; color: var(--brass-2); }
.hero .lede { color: #e6e1d6; }
.hero .eyebrow { color: var(--brass-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-strip {
  margin-top: 3.5rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.hero-strip div { font-size: .88rem; color: #cfd6e3; }
.hero-strip b { display: block; font: 600 1.25rem/1.2 var(--serif); color: #fff; letter-spacing: .02em; }
@media (max-width: 700px) { .hero-strip { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section.alt { background: var(--paper-2) var(--grain); }
.section.ink { background: var(--ink) var(--grain); color: #d8deea; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--brass); margin: 0 auto 1.4rem; }
.ornament::before, .ornament::after { content: ""; width: 70px; height: 1px; background: currentColor; opacity: .6; }
.ornament svg { width: 14px; height: 14px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.stack-photos { position: relative; aspect-ratio: 5 / 5.4; }
.stack-photos .photo:first-child { position: absolute; inset: 0 18% 14% 0; }
.stack-photos .photo:last-child { position: absolute; inset: 42% 0 0 38%; border: 8px solid var(--paper); box-shadow: 0 30px 50px rgba(18,28,49,.25); }

/* menu-style lines with dotted leaders */
.menu-lines { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.menu-lines li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.menu-lines .row { display: flex; align-items: baseline; gap: .6rem; }
.menu-lines .name { font: 600 1.3rem/1.2 var(--serif); color: var(--ink); }
.menu-lines .dots { flex: 1; border-bottom: 1px dotted rgba(29,44,74,.35); transform: translateY(-4px); }
.menu-lines .price { font: 600 1.15rem/1 var(--serif); color: var(--ink); }
.menu-lines .desc { font-size: .9rem; color: var(--muted); }

.badge-v {
  display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%;
  background: var(--ink-2); color: #fff; font: 700 .58rem/1 var(--sans); vertical-align: 3px; margin-left: .3rem;
}
.allergens { font: 600 .66rem/1 var(--sans); letter-spacing: .12em; color: var(--ink-2); margin-left: .4rem; white-space: nowrap; }

/* ---------- Feature trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.trio.duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .trio, .trio.duo { grid-template-columns: 1fr; } }
.card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 4 / 3; border-radius: 0; }
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body .more { margin-top: auto; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.card-body .more:hover { color: var(--brass); }
.card .tag { font: 600 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-bottom: .7rem; }

/* ---------- Rooms ---------- */
.room { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.room + .room { margin-top: 1.8rem; }
.room:nth-child(even) .room-media { order: 2; }
.room-media { display: flex; flex-direction: column; min-width: 0; }
.room .photo { flex: 1; min-height: 340px; border-radius: 0; }
a.photo { display: block; cursor: zoom-in; }
a.photo:focus-visible, .room-thumb:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.room-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding-top: 3px; background: #fffdf8; }
.room-thumb { display: block; height: 78px; background: var(--ink-2) var(--img, none) center / cover no-repeat; cursor: zoom-in; transition: opacity .2s; }
.room-thumb:hover { opacity: .82; }

/* Full-size room photos (rooms.html): hidden until their #id is the page's target */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 64px 72px; background: rgba(12, 18, 31, .94); }
.lightbox:target { display: grid; }
.lb-shade { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox figure { position: relative; margin: 0; width: 100%; min-width: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; pointer-events: none; }
.lightbox img { display: block; max-width: min(1400px, 100%); min-width: 0; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; pointer-events: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: var(--ink-2); }
.lightbox figcaption { color: #f6f1e7; font: 600 1.2rem/1.2 var(--serif); letter-spacing: .02em; display: flex; gap: .9rem; align-items: baseline; }
.lightbox figcaption span { font: 500 .78rem var(--sans); letter-spacing: .14em; color: var(--brass-2); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #f6f1e7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); transition: background .2s, border-color .2s; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(176,141,87,.35); border-color: var(--brass-2); outline: none; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 14px; top: 50%; margin-top: -24px; }
.lb-close { right: 14px; top: 14px; }
@media (max-width: 700px) {
  .lightbox { padding: 64px 10px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox img { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); }
  .room-thumb { height: 60px; }
}
.room-body { padding: clamp(1.6rem, 4vw, 3rem); }
.room-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.room-facts li { font-size: .8rem; letter-spacing: .04em; padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); background: var(--paper); }
.room-price { font: 600 1.5rem/1 var(--serif); color: var(--ink); margin-bottom: 1.2rem; }
.room-price small { font: 400 .85rem var(--sans); color: var(--muted); }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } .room:nth-child(even) .room-media { order: 0; } .room .photo { min-height: 240px; } }

.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; }
.included div { text-align: center; padding: 1.4rem 1rem; }
.included svg { width: 34px; height: 34px; color: var(--brass); margin: 0 auto .8rem; }
.included b { display: block; font: 600 1.15rem var(--serif); color: var(--ink); }
.included span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .included { grid-template-columns: 1fr 1fr; } }

/* ---------- Bozza Fodder (chalkboard) ---------- */
.bozza { background: #1b1d1c; color: #e9e4da; position: relative; overflow: hidden; }
.bozza::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: var(--grain), radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.07), transparent 60%);
}
.bozza .wrap { position: relative; }
.bozza h2 { color: #fff; }
.bozza .eyebrow { color: #e7a35c; }
.bozza-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .bozza-grid { grid-template-columns: 1fr; } }
.bozza .photo { aspect-ratio: 1 / 1; width: 100%; max-width: 360px; justify-self: center; border-radius: 50%; box-shadow: 0 0 0 10px rgba(255,255,255,.05), 0 0 0 1px rgba(231,163,92,.35), 0 30px 60px rgba(0,0,0,.45); }
.bozza .photo[data-label]::after { display: none; }
/* on the Bozza page the photo sits in the grid, not behind the header */
.page-hero.bozza .photo { position: relative; inset: auto; z-index: 0; border-radius: 50%; }
.page-hero.bozza::before { background: var(--grain), radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.07), transparent 60%); z-index: 0; opacity: .5; }
.page-hero.bozza .wrap { position: relative; z-index: 1; }
.bozza-list { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.bozza-list li { padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.18); font: 500 1.2rem/1.2 var(--serif); color: #fff; }
.bozza-list li span { display: block; font: 400 .8rem var(--sans); color: #b7b1a5; margin-top: .2rem; }
.btn-fire { background: #d9772f; color: #fff; }
.btn-fire:hover { background: #fff; color: #1b1d1c; }
.bozza .hours { font-size: .9rem; color: #b7b1a5; margin-top: 1.4rem; }

/* ---------- Quote / testimonial ---------- */
.quote { text-align: center; max-width: 820px; margin: 0 auto; }
.quote blockquote { margin: 0; font: italic 500 clamp(1.6rem, 3.4vw, 2.4rem)/1.3 var(--serif); color: var(--ink); }
.quote cite { display: block; margin-top: 1.2rem; font: 600 .74rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brass); font-style: normal; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-table td:last-child { text-align: right; color: #fff; }
.section.ink .hours-table td { color: #cfd6e3; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; color: #fff; isolation: isolate; padding: clamp(6rem, 14vw, 10rem) 0 clamp(3.5rem, 7vw, 5rem); }
.page-hero .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,28,49,.35), rgba(18,28,49,.88)); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.page-hero .eyebrow { color: var(--brass-2); }
.page-hero .lede { color: #e2ddd2; }

/* ---------- Full Sunday menu ---------- */
.menu-sheet { background: #fffdf8; border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 8px; padding: clamp(1.8rem, 5vw, 4rem); margin: 0 auto; max-width: 980px; }
.menu-sheet h2 { text-align: center; font-size: 1.15rem; letter-spacing: .4em; text-transform: uppercase; font-family: var(--serif); display: flex; align-items: center; gap: 1.2rem; margin: 2.6rem 0 1.4rem; }
.menu-sheet h2::before, .menu-sheet h2::after { content: ""; flex: 1; height: 1px; background: var(--brass-2); }
.menu-sheet h2:first-child { margin-top: 0; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
@media (max-width: 760px) { .menu-cols { grid-template-columns: 1fr; } }
.menu-sheet .menu-lines { margin: 0; }
.menu-sheet .note { text-align: center; font: italic 500 1.08rem var(--serif); color: var(--ink-2); margin: 0 auto 1rem; max-width: 60ch; }
.menu-key { text-align: center; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.2rem; }

/* ---------- Booking form ---------- */
.book-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } }
.form-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.6rem); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.8rem; border: 0; padding: 0; }
.choice legend { font: 600 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice .opt { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s, background .2s; }
.choice .opt svg { width: 30px; height: 30px; color: var(--brass); flex: none; }
.choice .opt b { display: block; font: 600 1.2rem/1.1 var(--serif); color: var(--ink); }
.choice .opt span { font-size: .8rem; color: var(--muted); }
.choice input:checked + .opt { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(29,44,74,.08); }
.choice input:focus-visible + .opt { outline: 2px solid var(--brass); outline-offset: 2px; }
/* only Sunday lunch can be booked online (room requests switched off in the booking app) */
.choice.single { grid-template-columns: 1fr; }
.choice .legend { font: 600 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.choice.single .opt { border-color: var(--ink); background: #fff; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .choice { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--text);
  padding: .8rem .9rem; border: 1px solid rgba(29,44,74,.25); border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176,141,87,.25); }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* show the right fields for the chosen booking type — no JavaScript needed */
.only-room { display: none; }
.form-card:has(#type-room:checked) .only-room { display: block; }
.form-card:has(#type-room:checked) .only-table { display: none; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 1.4rem 0; }
.consent input { margin-top: .3rem; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.aside-note { border-left: 3px solid var(--brass); padding: .2rem 0 .2rem 1.2rem; margin-bottom: 2rem; }
.aside-note h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.aside-note p { color: var(--muted); font-size: .95rem; margin: 0; }
.secure-note { display: flex; gap: .8rem; align-items: flex-start; background: var(--paper-2); padding: 1.1rem 1.2rem; border-radius: var(--radius); font-size: .85rem; color: var(--muted); }
.secure-note svg { width: 22px; height: 22px; color: var(--ink-2); flex: none; margin-top: .1rem; }

/* Rooms booked by phone or email (room requests switched off in the booking app): the panel above
   the table form on book-room.html, and the call/email buttons on the rooms page */
.room-call { display: flex; gap: 1.2rem; align-items: flex-start; background: #fffdf8; border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--radius); padding: clamp(1.3rem, 3.5vw, 2rem); margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.room-call > svg { width: 34px; height: 34px; color: var(--brass); flex: none; margin-top: .25rem; }
.room-call h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin-bottom: .45rem; }
.room-call p { color: var(--muted); margin: 0; max-width: 62ch; }
.room-call .room-actions { margin-top: 1.2rem; }
.room-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 560px) { .room-call > svg { display: none; } .room-actions .btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #9fa9bd; font-size: .9rem; padding: 4.5rem 0 2rem; }
.site-footer a { color: #dfe4ee; text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font: 600 .72rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand svg { color: var(--brass-2); }
.site-footer .brand small { color: #8792a8; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; }

/* ---------- Prose (privacy etc) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.prose li { margin-bottom: .4rem; }

/* gentle reveal for those with motion enabled */
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .wrap > *:nth-child(2) { animation-delay: .08s; }
  .hero .wrap > *:nth-child(3) { animation-delay: .16s; }
  .hero .wrap > *:nth-child(4) { animation-delay: .24s; }
  .hero .wrap > *:nth-child(5) { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

/* "sample menu" labelling */
.sample-note { text-align: center; max-width: 560px; margin: -.4rem auto 2.4rem; }
.sample-stamp { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); border: 1.5px solid var(--brass); padding: .55em 1em .5em 1.3em; border-radius: 3px; transform: rotate(-2deg); margin-bottom: .9rem; }
.sample-note p { font: italic 500 1.05rem/1.45 var(--serif); color: var(--muted); margin: 0; }
.sample-inline { font: 600 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: -.2rem 0 0; }
/* food gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 1 / 0.86; background-size: cover; background-position: center; }
.gallery figcaption { font: italic 500 1.15rem var(--serif); color: var(--ink); text-align: center; margin-top: .8rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* What's On */
.events { display: grid; gap: 1.4rem; }
.events-home { grid-template-columns: repeat(3, 1fr); }
.events-page { max-width: 860px; margin: 0 auto; }
@media (max-width: 860px) { .events-home { grid-template-columns: 1fr; } }
.event { display: flex; gap: 1.3rem; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.event-date { flex: none; width: 74px; text-align: center; background: var(--ink); color: #cfd6e3; border-radius: var(--radius); padding: .7rem 0 .8rem; font: 600 .7rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; align-self: flex-start; }
.event-date b { display: block; font: 600 2.1rem/1.05 var(--serif); color: #fff; letter-spacing: 0; margin: .15rem 0; }
.event-cat { font: 700 .66rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin: 0 0 .35rem; }
.event h3 { font-size: 1.45rem; margin-bottom: .25rem; }
.event-meta { font-weight: 600; color: var(--ink-2); font-size: .9rem; margin: 0 0 .4rem; }
.event-desc { color: var(--muted); font-size: .92rem; margin: 0; }
.events-empty { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto; font: italic 500 1.2rem/1.5 var(--serif); }
/* ---------- Contact page ----------
   The message form (switched on in the booking app) or a call/email panel, beside the pub's
   phone, email, address and opening hours. Reuses the booking page's form card and fields. */
.form-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.4rem; }
.contact-form .eyebrow, .contact-call .eyebrow { margin-bottom: .8rem; }
.field .optional { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.contact-form textarea { min-height: 170px; }
/* when the browser jumps to a field that still needs filling in, keep it clear of the sticky header */
.contact-form input, .contact-form select, .contact-form textarea { scroll-margin-top: 120px; }
.contact-call .lede { font-size: 1.05rem; }
.contact-call .hero-actions { margin-top: 1.6rem; }
.contact-call-foot { margin: 1.4rem 0 0; color: var(--muted); font-size: .95rem; }
.contact-aside { overflow-wrap: anywhere; }
.contact-note h3 { display: flex; align-items: center; gap: .55rem; }
.contact-note h3 svg { width: 22px; height: 22px; color: var(--brass); flex: none; }
.contact-big { font: 600 1.45rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.contact-note p.contact-link { margin-top: .7rem; }
.contact-link a { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.contact-link a:hover { color: var(--brass); }
.contact-link svg { width: 14px; height: 14px; flex: none; }
.hours-table.contact-hours td { border-bottom: 1px solid var(--line); color: var(--muted); font-size: .92rem; padding: .4rem 0; vertical-align: top; }
.hours-table.contact-hours td:last-child { color: var(--ink); padding-left: 1rem; }
.hours-table.contact-hours tr:last-child td { border-bottom: 0; }
