/* The Lamplighter Bar & Kitchen — demo theme (dark wood, amber and cream) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2-variations"), url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --wood: #17110c;
  --wood-2: #231a12;
  --wood-3: #33261b;
  --amber: #f2b24c;
  --amber-2: #f7c56f;
  --cream: #f4ead6;
  --paper: #faf5ea;
  --ink: #1d1611;
  --muted: #6b5b48;
  --muted-dark: #cbb99d;
  --line: #e3d6bf;
  --line-dark: rgba(244, 234, 214, .14);
  --green: #2c6a4a;
  --display: "Fraunces", Georgia, serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.015em; text-wrap: balance; font-variation-settings: "SOFT" 50; }
h2 { font-size: clamp(32px, 5vw, 50px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
section[id] { scroll-margin-top: 70px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 8px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--wood); }
.btn-amber:hover { background: var(--amber-2); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(242, 178, 76, .12); }
.btn-line { border-color: var(--wood); color: var(--wood); background: transparent; }
.btn-line:hover { background: var(--wood); color: var(--cream); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(23, 17, 12, .96); color: var(--cream); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(6px); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); text-decoration: none; }
.logo svg { width: 26px; height: 32px; flex: none; }
.logo-txt { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--cream); line-height: 1; white-space: nowrap; }
.logo-txt span { font-style: italic; font-weight: 400; color: var(--muted-dark); font-size: .8em; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--cream); text-decoration: none; font-weight: 600; }
.top-nav a:hover { color: var(--amber); }
@media (max-width: 820px) { .top-nav { display: none; } .top .btn { margin-left: auto; } .logo-txt span { display: none; } }

/* Hero */
.hero { background: radial-gradient(80% 90% at 85% 10%, #3a2614 0%, var(--wood) 60%); color: var(--cream); padding-block: clamp(44px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(244, 234, 214, .08); border: 1px solid var(--line-dark); font-weight: 600; font-size: 15px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #8a7a66; }
.status.open .dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.status.closed .dot { background: #f87171; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); margin: 18px 0 16px; }
.hero h1 em { color: var(--amber); font-style: italic; }
.lede { max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.next { padding: 24px; border-radius: 16px; background: var(--wood-2); border: 1px solid var(--line-dark); box-shadow: 0 30px 60px rgba(0,0,0,.35); display: grid; gap: 6px; }
.next-tag { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--amber); }
.next-comp { color: var(--muted-dark); font-weight: 600; margin-top: 6px; }
.next-match { font-family: var(--display); font-size: clamp(26px, 3vw, 32px); font-weight: 700; line-height: 1.1; }
.next-when { color: var(--muted-dark); font-size: 15px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 14px; }
.countdown span { display: grid; justify-items: center; padding: 10px 4px; border-radius: 10px; background: var(--wood-3); font-size: 13px; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .08em; }
.countdown b { font-family: var(--display); font-size: 30px; line-height: 1.1; color: var(--cream); letter-spacing: 0; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.sec-sub { color: var(--muted); margin-top: 6px; }
.sec-note { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Sport */
.sport { padding-block: clamp(48px, 7vw, 80px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--wood); border-color: var(--wood); color: var(--cream); }
.fixtures { display: grid; gap: 10px; }
.fx { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--muted); }
.fx-gaa { border-left-color: #2c6a4a; }
.fx-rugby { border-left-color: #1e4f8a; }
.fx-soccer { border-left-color: #b4561c; }
.fx-when b { display: block; font-size: 17px; }
.fx-when span { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }
.fx-what { display: grid; gap: 2px; min-width: 0; }
.fx-comp { font-size: 14px; font-weight: 600; color: var(--muted); }
.fx-comp i { font-style: normal; display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fx-match { font-size: 19px; font-weight: 700; line-height: 1.25; }
.fx-screen { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .fx { grid-template-columns: 1fr; gap: 6px; }
  .fx-when { display: flex; align-items: baseline; gap: 10px; }
  .fx-when span { font-size: 22px; }
  .fx .btn { justify-self: start; }
}

/* What's on */
.whats { padding-block: clamp(48px, 7vw, 80px); background: var(--wood); color: var(--cream); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { padding: 16px; border-radius: 12px; background: var(--wood-2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 6px; }
.day.is-today { background: var(--amber); color: var(--wood); border-color: var(--amber); }
.day-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dark); }
.day.is-today .day-name { color: var(--wood); }
.day-ev { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.15; }
.day-desc { font-size: 15px; color: var(--muted-dark); }
.day.is-today .day-desc { color: #3b2a14; }
.day-sport { margin-top: auto; padding-top: 8px; border-top: 1px dashed currentColor; font-size: 14px; font-weight: 700; }
@media (max-width: 1000px) { .week { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .week { grid-template-columns: 1fr 1fr; } .day.is-today { grid-column: 1 / -1; } }

/* Food */
.food { padding-block: clamp(48px, 7vw, 80px); }
.kitchen { font-weight: 700; color: var(--green); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs button { min-height: 42px; padding: 6px 18px; border-radius: 8px; border: 2px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--wood); border-color: var(--wood); color: var(--cream); }
.menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.dish { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dish b { display: block; font-size: 18px; }
.dish div span { color: var(--muted); font-size: 15px; }
.dish em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.pour { display: inline-block; margin-top: 2px; font-weight: 700; color: var(--green) !important; }
.pour::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.pour.off { color: #a14d12 !important; }
.dish.is-off b, .dish.is-off em { color: var(--muted); }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; } }

/* Book */
.book { padding-block: clamp(48px, 7vw, 80px); background: var(--cream); }
.book-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.book-copy p { margin-top: 12px; color: var(--muted); }
.book-copy .book-match { padding: 14px 16px; border-radius: 10px; background: var(--wood); color: var(--cream); font-weight: 600; }
.book-form { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 4px; align-content: start; }
.field label, legend { font-size: 14px; font-weight: 700; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.field input:focus, .field select:focus { border-color: var(--wood); outline: none; box-shadow: 0 0 0 3px rgba(242, 178, 76, .5); }
.field input[type="range"] { padding: 0; border: 0; min-height: 40px; accent-color: var(--amber); box-shadow: none; }
[aria-invalid="true"] { border-color: #b42318 !important; }
.err { color: #b42318; font-size: 14px; font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.area { position: relative; }
.area input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.area > span { display: grid; gap: 2px; height: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.area b { font-size: 16px; }
.area small { font-size: 13px; color: var(--muted); }
.area input:checked + span { border-color: var(--wood); background: var(--wood); color: var(--cream); }
.area input:checked + span small { color: var(--muted-dark); }
.area input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.area.is-off > span { opacity: .5; }
.area.is-off input { cursor: not-allowed; }
.demo-note { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 .field:first-child { grid-column: 1 / -1; } .area-grid { grid-template-columns: 1fr 1fr; } .row2 { grid-template-columns: 1fr; } }

/* Parties */
.parties { padding-block: clamp(48px, 7vw, 80px); }
.party-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.planner { display: grid; gap: 16px; }
.planner .row2 { align-items: end; }
.pkgs { display: grid; gap: 8px; }
.pkg { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.pkg input { width: 20px; height: 20px; margin: 0; accent-color: var(--wood); }
.pkg b { display: block; }
.pkg small { color: var(--muted); font-size: 14px; }
.pkg em { font-style: normal; font-weight: 700; white-space: nowrap; }
.pkg:has(input:checked) { border-color: var(--wood); }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.toggle input { width: 20px; height: 20px; margin: 0; accent-color: var(--wood); }
.toggle em { font-style: normal; color: var(--muted); }
.quote { position: sticky; top: 84px; padding: 24px; border-radius: 16px; background: var(--wood); color: var(--cream); display: grid; gap: 8px; }
.q-tag { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--amber); }
.q-room { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.15; }
.q-lines { display: grid; gap: 4px; padding: 10px 0; border-block: 1px solid var(--line-dark); font-size: 15px; }
.q-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted-dark); }
.q-total { display: flex; justify-content: space-between; align-items: baseline; }
.q-total strong { font-family: var(--display); font-size: 40px; color: var(--amber); line-height: 1; }
.q-pp { color: var(--muted-dark); font-size: 15px; }
.q-send { display: grid; gap: 10px; margin-top: 8px; }
.quote .field label { color: var(--muted-dark); }
.quote .err { color: #fca5a5; }
@media (max-width: 860px) { .party-grid { grid-template-columns: 1fr; } .quote { position: static; } }

/* Visit */
.visit { padding-block: clamp(48px, 7vw, 72px); background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.visit p { margin-top: 10px; color: var(--muted); }
.visit-links a { color: var(--ink); font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hours tbody th { font-weight: 600; }
.hours .is-today { background: var(--amber); }
.hours .is-today th, .hours .is-today td { font-weight: 700; }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } .hours { font-size: 15px; } .hours th, .hours td { padding: 9px 4px; } }

/* Footer */
.foot { background: var(--wood); color: var(--muted-dark); padding-block: 26px; font-size: 15px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot a { color: var(--amber); font-weight: 700; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(10, 7, 4, .65); }
.modal-card { width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; border-radius: 16px; background: var(--paper); text-align: center; display: grid; gap: 12px; }
.modal-card h2 { font-size: 34px; }
.tick { justify-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; }
.tick svg { width: 30px; height: 30px; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.modal .btn-ghost { color: var(--wood); }

/* Toast */
.toast {
  position: fixed; z-index: 110; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px; background: var(--wood); color: var(--cream); font-weight: 600;
  transition: opacity .25s, transform .25s; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 360px) {
  .top-inner { gap: 10px; }
  .logo-txt { font-size: 19px; }
  .top .btn-sm { padding: 6px 10px; font-size: 14px; }
}
