/* ==========================================================
   The Fontygary Inn — lamplit pub theme
   Palette from the building itself: whitewashed walls, oxblood
   signboards and gilt lettering, plus dark wood and amber lamplight.
   ========================================================== */
:root {
  --wood:       #2a1710;   /* bar-top mahogany */
  --wood-mid:   #4a2a1a;
  --oak:        #7a4a2a;
  --amber:      #e8a13a;   /* lamplight */
  --amber-pale: #f7d58f;
  --gilt-1:     #f3d78a;
  --gilt-2:     #b8862f;
  --oxblood:    #7c2024;   /* the signboards */
  --oxblood-dk: #5a1619;
  --bottle:     #24392d;
  --limewash:   #f4efe4;   /* the walls */
  --paper:      #fbf6ea;
  --ink:        #2b1d15;
  --ink-soft:   #6b5646;
  --rule:       #dccdb0;
  --chalk:      #f1ede4;
  --board:      #26292a;

  --wrap: 1140px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sign:  "IM Fell English SC", "Libre Baskerville", Georgia, serif;
  --fell:  "IM Fell English", Georgia, serif;

  /* Textures (inline SVG noise, no extra downloads) */
  --grain-wood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .55' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .04 0 0 0 0 .02 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-chalk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--limewash) var(--grain-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--sign); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--amber); color: var(--ink); padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.eyebrow { font-family: var(--fell); font-style: italic; font-size: 1.15rem; color: var(--amber-pale); margin-bottom: .4rem; }

/* ---------- Top bar ---------- */
.topbar { background: #1c0f0a; color: #d9c7a8; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--amber-pale); text-decoration: none; }

/* ---------- Masthead: an oak beam with the sign hanging from it ---------- */
.masthead {
  position: relative; z-index: 20;
  background: var(--grain-wood), linear-gradient(180deg, #5a3520 0%, #3e2416 55%, #2e1a10 100%);
  box-shadow: 0 1px 0 rgba(247,213,143,.25) inset, 0 8px 18px rgba(0,0,0,.35);
  border-bottom: 3px solid #1c0f0a;
}
.masthead__inner { display: flex; align-items: center; justify-content: flex-end; min-height: 64px; position: relative; }

.hanger { position: absolute; left: 20px; top: 100%; width: 260px; height: 0; }
/* Wrought-iron bracket fixed to the beam */
.hanger__bracket {
  position: absolute; left: 6px; top: 0; width: 250px; height: 26px;
  border-top: 6px solid #1b130e; border-left: 6px solid #1b130e; border-radius: 0 0 0 0;
  filter: drop-shadow(0 1px 0 rgba(247,213,143,.35)) drop-shadow(0 3px 3px rgba(0,0,0,.5));
}
.hanger__bracket::before { /* finial at the end of the arm */
  content: ""; position: absolute; right: -10px; top: -11px; width: 12px; height: 12px; border-radius: 50%; background: #1b130e;
}
.hanger__bracket::after { /* curl */
  content: ""; position: absolute; left: 2px; top: 2px; width: 40px; height: 40px;
  border: 5px solid #1b130e; border-color: #1b130e transparent transparent #1b130e; border-radius: 50%;
}
.sign {
  position: absolute; left: 30px; top: 30px; width: 220px;
  display: flex; flex-direction: column; align-items: center; text-decoration: none;
  padding: 12px 10px 14px;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(160deg, #8d282c, var(--oxblood) 45%, var(--oxblood-dk));
  border: 3px solid #1f120c;
  box-shadow: 0 0 0 2px var(--gilt-2) inset, 0 0 0 5px #1f120c inset, 0 14px 24px rgba(0,0,0,.45);
  border-radius: 3px;
  transform-origin: 50% -26px;
  animation: sway 7s ease-in-out infinite;
}
.sign::before, .sign::after { /* the two chains */
  content: ""; position: absolute; top: -27px; width: 4px; height: 24px;
  background: repeating-linear-gradient(180deg, #1a120d 0 4px, #4a3a2c 4px 6px);
}
.sign::before { left: 24px; } .sign::after { right: 24px; }
.sign__small { font-family: var(--fell); font-style: italic; font-size: 1.05rem; color: var(--gilt-1); line-height: 1.1; }
.sign__name {
  font-family: var(--sign); font-size: 2rem; line-height: 1.1; letter-spacing: .02em;
  background: linear-gradient(180deg, #fff2c9 0%, var(--gilt-1) 40%, var(--gilt-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.6));
}
.sign:hover { animation-play-state: paused; }
.page-home .sign { animation: swing-in 2.4s cubic-bezier(.3,.7,.4,1) both, sway 7s ease-in-out 2.4s infinite; }

@keyframes swing-in {
  0%   { transform: rotate(-24deg); }
  25%  { transform: rotate(14deg); }
  45%  { transform: rotate(-8deg); }
  62%  { transform: rotate(4.5deg); }
  78%  { transform: rotate(-2deg); }
  90%  { transform: rotate(.8deg); }
  100% { transform: rotate(0deg); }
}
@keyframes sway { 0%, 100% { transform: rotate(-.7deg); } 50% { transform: rotate(.7deg); } }

.sitenav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.sitenav a {
  display: block; padding: 18px 12px; position: relative;
  font-family: var(--sign); font-size: 1.12rem; color: #f1e3c4; text-decoration: none;
}
.sitenav a::after { /* lamp glow under the current page */
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 2px;
  background: var(--amber); box-shadow: 0 0 10px 2px rgba(232,161,58,.6);
  transform: scaleX(0); transition: transform .25s ease;
}
.sitenav a:hover { color: var(--amber-pale); }
.sitenav a:hover::after, .sitenav a[aria-current="page"]::after { transform: scaleX(1); }
.sitenav a[aria-current="page"] { color: var(--amber-pale); }

.navtoggle { display: none; background: none; border: 1px solid rgba(247,213,143,.5); border-radius: 4px; padding: 10px 9px; cursor: pointer; margin: 10px 0; }
.navtoggle span:not(.sr) { display: block; width: 22px; height: 2px; background: #f1e3c4; margin: 4px 0; }

@media (max-width: 960px) {
  .navtoggle { display: block; }
  .sitenav { position: absolute; left: 0; right: 0; top: 100%; background: var(--grain-wood), #2e1a10; display: none; box-shadow: 0 12px 20px rgba(0,0,0,.4); z-index: 30; }
  .sitenav.is-open { display: block; }
  .sitenav ul { flex-direction: column; padding: 8px 20px 16px 260px; }
  .sitenav a { padding: 10px 0; }
  .sitenav a::after { left: 0; right: auto; width: 40px; bottom: 6px; }
}
@media (max-width: 560px) {
  .hanger { width: 180px; }
  .hanger__bracket { width: 170px; }
  .sign { width: 150px; left: 22px; padding: 9px 6px 11px; }
  .sign__name { font-size: 1.4rem; }
  .sitenav ul { padding-left: 20px; padding-top: 120px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-block;
  font-family: var(--sign); font-size: 1.15rem; letter-spacing: .02em;
  padding: 12px 26px; border-radius: 3px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--brass {
  background: linear-gradient(180deg, #f2cf7c, var(--amber) 55%, #c7832a);
  color: #2a170c; border-color: #9c6a22;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 4px 0 #7b5119, 0 8px 16px rgba(0,0,0,.25);
}
.btn--brass::after { /* polish glint that slides across on hover */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn--brass:hover { color: #2a170c; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 0 #7b5119, 0 12px 20px rgba(0,0,0,.28); }
.btn--brass:hover::after { left: 130%; }
.btn--ghost { background: rgba(20,10,6,.25); color: #fbefd4; border-color: rgba(251,239,212,.8); backdrop-filter: blur(2px); }
.btn--ghost:hover { background: #fbefd4; color: var(--wood); }
.btn--green { background: var(--bottle); color: #fbefd4; }
.btn--green:hover { background: #18271f; color: #fbefd4; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4rem; }
.link { font-family: var(--sign); font-size: 1.12rem; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Hero: evening light on the front of the pub ---------- */
.hero { position: relative; overflow: hidden; color: #fbefd4; background: var(--wood); min-height: min(92vh, 760px); display: flex; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: settle 14s ease-out both; }
.hero::before { /* warm dusk grade over the photo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(36,16,8,.88) 0%, rgba(42,20,10,.6) 40%, rgba(60,28,10,.08) 70%, transparent 100%),
    linear-gradient(0deg, rgba(36,16,8,.5), transparent 35%);
  mix-blend-mode: multiply;
}
.hero::after { /* golden cast */
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(240,170,70,.22); mix-blend-mode: soft-light;
}
.hero__light { /* a lamp burning by the door: soft, slowly breathing glow */
  position: absolute; z-index: 1; width: 60vmax; height: 60vmax; left: -18vmax; bottom: -30vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,190,90,.32), rgba(232,161,58,.10) 40%, transparent 65%);
  animation: lamp 5s ease-in-out infinite alternate;
}
.hero__inner { position: relative; z-index: 2; align-self: flex-end; padding-top: 230px; padding-bottom: clamp(56px, 8vw, 96px); width: 100%; }
.hero h1 { margin-bottom: .35em; }
.lede { font-size: 1.14rem; max-width: 54ch; }
.hero .lede { color: #f0dfbd; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* Gilt signwriting: gold-leaf letters with a dark keyline, like the lettering on the wall */
.gilt span { display: block; white-space: nowrap; }
.gilt {
  font-size: clamp(2.6rem, 7vw, 5rem);
  background: linear-gradient(100deg, var(--gilt-2) 0%, var(--gilt-1) 30%, #fff6d8 46%, var(--gilt-1) 56%, var(--gilt-2) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(30,12,4,.75)) drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
.page-home .gilt { animation: catch-light 2.2s ease-out 1.1s both; }
.page-home .hero .lede, .page-home .hero .status, .page-home .hero .actions { animation: rise .9s ease-out both; }
.page-home .hero .lede { animation-delay: 1.7s; }
.page-home .hero .status { animation-delay: 1.9s; }
.page-home .hero .actions { animation-delay: 2.1s; }

@keyframes catch-light { from { background-position: 100% 0; opacity: 0; transform: translateY(10px); } 25% { opacity: 1; transform: none; } to { background-position: 0 0; opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1.0); } }
@keyframes lamp { 0% { opacity: .75; transform: scale(1); } 60% { opacity: 1; } 100% { opacity: .85; transform: scale(1.06); } }

/* Open / closed lamp */
.status { display: inline-flex; align-items: center; gap: 10px; font-style: italic; margin: .2em 0 0; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(20,10,6,.45); color: #fbefd4; }
.status__lamp { width: 11px; height: 11px; border-radius: 50%; background: #8a7a68; flex: 0 0 auto; }
.status--open .status__lamp { background: #ffcf6b; box-shadow: 0 0 0 3px rgba(255,207,107,.25), 0 0 14px 4px rgba(255,190,80,.7); animation: flicker 3.2s ease-in-out infinite; }
.status--dark { background: var(--wood); margin-bottom: 1.1em; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .82; } 50% { opacity: 1; } 72% { opacity: .9; } }

/* ---------- Page head (inner pages): dark wood panelling ---------- */
.pagehead {
  position: relative; color: #fbefd4; padding: 170px 0 52px; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 110%, rgba(232,161,58,.35), transparent 55%),
    var(--grain-wood),
    repeating-linear-gradient(90deg, #3a2114 0 180px, #331d11 180px 184px),
    #34200f;
  border-bottom: 6px solid #1c0f0a;
  box-shadow: inset 0 -1px 0 rgba(247,213,143,.2);
}
.pagehead h1 { color: var(--amber-pale); text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.pagehead .lede { color: #e9d6b2; margin: 0; }
.pagehead a { color: var(--amber-pale); }
@media (max-width: 560px) { .pagehead { padding-top: 140px; } .hero__inner { padding-top: 170px; } .gilt { font-size: 2.35rem; } }

/* ---------- Generic bands ---------- */
.band { padding: clamp(52px, 7vw, 92px) 0; }
.band--cream { background: transparent; }
.band--green { background: var(--grain-wood), linear-gradient(180deg, #3b2215, #2a1710); color: #f3e5c8; }
.band--green a:not(.btn) { color: var(--amber-pale); }
.section-title { text-align: center; margin-bottom: 1.2em; }
.section-title--light { color: var(--amber-pale); }

/* ---------- The wall of framed pictures ---------- */
.wall {
  position: relative; padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), transparent 30px),
    var(--grain-paper), var(--limewash);
}
.wall::before { /* picture rail */
  content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 10px;
  background: var(--grain-wood), linear-gradient(180deg, #6d4127, #4a2a1a); box-shadow: 0 3px 4px rgba(0,0,0,.18);
}
.wall::after { /* panelled dado along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px;
  background: var(--grain-wood), repeating-linear-gradient(90deg, #5a3520 0 220px, #4a2a1a 220px 224px);
  border-top: 6px solid #6d4127;
}
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.frame { position: relative; transition: transform .45s cubic-bezier(.3,.7,.4,1.2); transform-origin: 50% -40px; }
.frame--a { transform: rotate(-1.6deg); }
.frame--b { transform: rotate(1.1deg); margin-top: 28px; }
.frame--c { transform: rotate(-.8deg); margin-top: 10px; }
.frame::before { /* hanging cord to the rail */
  content: ""; position: absolute; left: 50%; top: -48px; width: 70px; height: 48px; transform: translateX(-50%);
  background: linear-gradient(to top right, transparent calc(50% - 1px), #5b4636 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
              linear-gradient(to top left, transparent calc(50% - 1px), #5b4636 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat;
}
.frame:hover, .frame:focus-within { transform: rotate(0deg) translateY(-4px); }
.frame__pic {
  padding: 12px; background: var(--grain-wood), linear-gradient(135deg, #8a5a34, #4a2a1a);
  box-shadow: inset 0 0 0 2px #2a170c, inset 0 0 0 4px rgba(247,213,143,.35), 0 18px 28px -10px rgba(40,20,8,.5);
}
.frame__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 6px solid #efe6d2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.frame__pic .ph { border: 6px solid #efe6d2; }
.frame__body { padding: 20px 6px 0; }
.plaque {
  display: inline-block; font-size: 1.5rem; padding: 4px 16px 6px; margin-bottom: .55em;
  background: linear-gradient(180deg, #f3d48a, #c99a44 60%, #a87a2c); color: #2a170c;
  border-radius: 2px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 2px 3px rgba(0,0,0,.25);
}
.frame__body p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .frames { grid-template-columns: 1fr; gap: 70px; max-width: 480px; margin: 0 auto; }
  .frame--b, .frame--c { margin-top: 0; }
  .wall::before { display: none; }
  .frame::before { display: none; }
}

/* Image placeholder (until real photos are uploaded) */
.ph {
  display: grid; place-items: center; aspect-ratio: 4/3; width: 100%;
  background: radial-gradient(ellipse at 50% 40%, #f6e2b4, #d9b97a 70%, #b58f52);
  color: var(--wood); font-family: var(--fell); font-style: italic; font-size: 1.05rem;
}

/* ---------- The snug: wood panelling, chalkboard, a welcome ---------- */
.snug {
  position: relative; padding: clamp(64px, 8vw, 110px) 0; color: #f3e5c8; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(232,161,58,.22), transparent 50%),
    var(--grain-wood),
    repeating-linear-gradient(90deg, #3a2114 0 200px, #2f1a0f 200px 205px),
    #331d11;
}
.snug a:not(.btn) { color: var(--amber-pale); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.chalkboard {
  position: relative; color: var(--chalk); font-family: var(--fell);
  padding: 30px 34px 26px;
  background: var(--grain-chalk), radial-gradient(ellipse at 35% 25%, #3a3e3e, var(--board) 70%);
  border: 16px solid transparent;
  border-image: linear-gradient(135deg, #8a5a34, #4a2a1a 35%, #7a4a2a 65%, #3e2416) 1;
  box-shadow: 0 22px 40px rgba(0,0,0,.55), inset 0 0 50px rgba(0,0,0,.55);
  transform: rotate(-1deg);
}
.chalk__title { font-family: var(--sign); font-size: 2.4rem; text-align: center; color: #fff; margin-bottom: .5em; text-shadow: 0 0 1px rgba(255,255,255,.6); }
.chalk__sub { font-family: var(--fell); font-style: italic; font-size: 1.35rem; color: var(--amber-pale); margin: 1.1em 0 .3em; }
.chalk__list { list-style: none; margin: 0; padding: 0; }
.chalk__list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(241,237,228,.22); font-size: 1.18rem; }
.chalk__list--small li { font-size: 1.02rem; padding: 6px 0; }
.chalk__date { flex: 0 0 auto; min-width: 8.2em; color: #f6d77d; font-style: italic; }
.chalk__what em { color: rgba(241,237,228,.7); font-size: .9em; }
.chalk__empty { font-size: 1.15rem; text-align: center; }
.chalk__more { display: inline-block; margin-top: 16px; color: var(--chalk) !important; font-family: var(--sign); font-size: 1.1rem; }
@media (max-width: 520px) { .chalk__list li { flex-direction: column; gap: 0; } .chalkboard { padding: 22px 18px; } }

/* Typewriter: chalkboards type themselves out when they scroll into view (see main.js).
   Untyped letters stay in place but invisible, so nothing jumps about and screen readers still get the full text. */
.tw-off { color: transparent !important; text-shadow: none !important; -webkit-text-fill-color: transparent; }
.tw-on.tw-caret::after {
  content: ""; display: inline-block; width: .5em; height: .95em; margin-left: 1px; vertical-align: -.12em;
  background: rgba(241,237,228,.85); animation: caret .8s steps(1) infinite;
}
.tw-done .tw-on.tw-caret::after { animation: caret .8s steps(1) 4 forwards; }
@keyframes caret { 50% { opacity: 0; } }
/* Links on a board: the underline appears with the letters, not ahead of them */
.tw-ready a { text-decoration: none; border-bottom: 0; }
.tw-ready a .tw-on { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.welcome h2 { color: #fbefd4; }
.croeso { font-family: var(--fell); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--amber); margin-bottom: .25em; }

/* ---------- Visit ---------- */
.visit-band { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; background: var(--paper); isolation: isolate; }
/* A faint photo of the bar that drifts very slowly behind the hours */
.visit-band::before {
  content: ""; position: absolute; inset: -6%; z-index: -2;
  background: url("/assets/img/bar-bg.jpg") center 40% / cover no-repeat;
  animation: bar-drift 38s ease-in-out infinite alternate;
}
/* Paper wash over it, strongest behind the text */
.visit-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(251,246,234,.93) 0%, rgba(251,246,234,.88) 40%, rgba(251,246,234,.72) 100%), var(--grain-paper);
}
@media (max-width: 860px) { .visit-band::after { background: linear-gradient(rgba(251,246,234,.9), rgba(251,246,234,.9)), var(--grain-paper); } }
@keyframes bar-drift { from { transform: scale(1.04) translate(-1.5%, 0); } to { transform: scale(1.1) translate(1.5%, -1.5%); } }
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; margin: 0 0 1em; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.hours--big { font-size: 1.1rem; border-top: 2px solid var(--oak); border-bottom: 2px solid var(--oak); padding: 14px 0; }
.map iframe { width: 100%; height: 360px; border: 0; display: block; filter: sepia(.3) saturate(.9) contrast(.95); }
.map { padding: 12px; background: var(--grain-wood), linear-gradient(135deg, #8a5a34, #4a2a1a); box-shadow: 0 18px 28px -12px rgba(40,20,8,.5); transform: rotate(.6deg); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { transform: none; } }

/* ---------- Menu: paper cards on a wooden table ---------- */
.page-inner .band--cream { background: var(--grain-wood), linear-gradient(180deg, #5a3520, #4a2a1a); }
.page-inner .band--cream > .wrap > p, .page-inner .key, .page-inner .cta-line { color: #f0dfbd; }
.page-inner .band--cream > .wrap > p a, .page-inner .cta-line a { color: var(--amber-pale); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tabs a { font-family: var(--sign); font-size: 1.12rem; padding: 7px 18px; border-radius: 999px; text-decoration: none; color: #f3e5c8; border: 1px solid rgba(247,213,143,.55); transition: background .2s, color .2s; }
.tabs a:hover { background: var(--amber); color: var(--wood); border-color: var(--amber); }
.menu {
  background: var(--grain-paper), var(--paper); padding: clamp(28px, 5vw, 60px); margin-bottom: 44px; scroll-margin-top: 20px;
  box-shadow: 0 1px 0 #fff inset, 0 22px 36px -14px rgba(0,0,0,.6);
  outline: 1px solid var(--rule); outline-offset: -12px;
}
.menu:nth-of-type(odd) { transform: rotate(-.35deg); } .menu:nth-of-type(even) { transform: rotate(.3deg); }
.menu__title { text-align: center; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--oxblood); display: flex; align-items: center; gap: 18px; }
.menu__title::before, .menu__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--oak)); }
.menu__title::after { background: linear-gradient(90deg, var(--oak), transparent); }
.menu__cols { columns: 2 340px; column-gap: 56px; }
.menu__section { break-inside: avoid; margin-bottom: 32px; }
.menu__section h3 { color: var(--bottle); font-size: 1.65rem; border-bottom: 2px solid var(--amber); padding-bottom: 4px; margin-bottom: .4em; }
.menu__note { font-style: italic; color: var(--ink-soft); font-size: .92rem; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: 10px 0; }
.dish__line { display: flex; align-items: baseline; gap: 8px; }
.dish__name { font-weight: 700; }
.dish__dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-4px); min-width: 20px; }
.dish__price { font-weight: 700; color: var(--oxblood); white-space: nowrap; }
.dish__desc { margin: 2px 0 0; font-size: .92rem; color: var(--ink-soft); }
.diet { font-family: var(--serif); font-size: .66rem; font-weight: 700; text-decoration: none; border: 1px solid var(--bottle); color: var(--bottle); border-radius: 3px; padding: 0 4px; vertical-align: middle; cursor: help; }
.key { text-align: center; font-size: .9rem; }

/* ---------- Events ---------- */
.regulars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.regular { padding: 24px; background: var(--grain-chalk), var(--board); border: 10px solid #4a2a1a; box-shadow: 0 14px 24px rgba(0,0,0,.4); font-family: var(--fell); color: var(--chalk); }
.regular__when { font-style: italic; color: #f6d77d; margin-bottom: .2em; font-size: 1.1rem; }
.regular h3 { color: #fff; }
.regular__time { font-style: italic; }
.month { font-size: 1.8rem; color: var(--amber-pale); border-bottom: 1px solid rgba(247,213,143,.3); padding-bottom: 6px; margin: 1.6em 0 .8em; }
.events { display: grid; gap: 20px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; background: var(--grain-paper), var(--paper); padding: 20px; align-items: start; box-shadow: 0 14px 24px -10px rgba(0,0,0,.55); transition: transform .3s ease; }
.event:hover { transform: translateY(-3px) rotate(-.3deg); }
.event__date { text-align: center; background: linear-gradient(160deg, #8d282c, var(--oxblood-dk)); color: #fbefd4; padding: 10px 6px; border-radius: 3px; font-family: var(--sign); line-height: 1.1; box-shadow: inset 0 0 0 2px var(--gilt-2); }
.event__dow, .event__mon { display: block; font-size: .9rem; color: var(--gilt-1); font-family: var(--fell); font-style: italic; }
.event__day { display: block; font-size: 2.2rem; }
.event__cat { font-family: var(--fell); font-style: italic; color: var(--oxblood); margin: 0; }
.event h4 { font-size: 1.55rem; margin: .1em 0 .2em; }
.event__meta { font-style: italic; color: var(--ink-soft); font-size: .92rem; }
.event__img { width: 160px; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 640px) { .event { grid-template-columns: 72px 1fr; } .event__img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16/9; } }
.cta-line { text-align: center; margin-top: 2.5em; font-style: italic; }

/* ---------- Prose / touring ---------- */
.prose { max-width: 66ch; }
.page-inner .band--cream .prose { background: var(--grain-paper), var(--paper); padding: clamp(24px, 4vw, 44px); box-shadow: 0 22px 36px -14px rgba(0,0,0,.6); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--bottle); font-weight: 700; }
.stack { display: grid; gap: 26px; }
.stack__img, .stack .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 12px solid #efe6d2; box-shadow: 0 0 0 10px #6d4127, 0 22px 30px rgba(0,0,0,.5); }
.stack > :nth-child(1) { transform: rotate(1.2deg); } .stack > :nth-child(2) { transform: rotate(-1deg); margin-top: 12px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.gallery__item { display: block; aspect-ratio: 3/2; overflow: hidden; border: 8px solid #efe6d2; box-shadow: 0 16px 24px -8px rgba(0,0,0,.6); transition: transform .35s ease; }
.gallery__item:nth-child(3n+1) { transform: rotate(-1deg); } .gallery__item:nth-child(3n+2) { transform: rotate(.8deg); }
.gallery__item:hover { transform: rotate(0) scale(1.03); z-index: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
.form { background: var(--grain-paper), var(--paper); padding: clamp(22px, 4vw, 40px); box-shadow: 0 22px 36px -14px rgba(0,0,0,.6); }
.field { margin: 0 0 18px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.form input:not([type=radio]):not([type=checkbox]), .form textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #c8b591; border-radius: 3px; background: #fffdf7; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,161,58,.3); outline: none; }
.form [aria-invalid="true"] { border-color: var(--oxblood) !important; background: #fbeeee !important; }
.field__err { color: var(--oxblood); font-size: .88rem; margin: 4px 0 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--rule); padding: 10px 12px; border-radius: 3px; cursor: pointer; font-weight: 400 !important; background: #fffdf7; transition: background .2s, border-color .2s; }
.choice:has(input:checked) { border-color: var(--amber); background: #fbefd2; }
.choice input { accent-color: var(--oxblood); }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 18px 20px; border-radius: 3px; margin-bottom: 18px; border: 1px solid; }
.notice--ok { background: var(--grain-paper), var(--paper); border-color: var(--amber); box-shadow: 0 22px 36px -14px rgba(0,0,0,.6); }
.notice--err { background: #fbeeee; border-color: var(--oxblood); color: var(--oxblood); }
.aside { background: var(--grain-chalk), var(--board); color: var(--chalk); padding: 28px; border: 12px solid #4a2a1a; box-shadow: 0 18px 30px rgba(0,0,0,.45); font-family: var(--fell); }
.aside h2, .aside h3 { color: #fff; }
.aside a { color: #f6d77d; }
.big-phone { font-family: var(--sign); font-size: 2rem; margin-bottom: .6em; }
.aside address { font-style: normal; margin-bottom: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--grain-wood), linear-gradient(180deg, #2e1a10, #1c0f0a); color: #d9c7a8; padding-top: 56px; border-top: 6px solid #1c0f0a; box-shadow: inset 0 1px 0 rgba(247,213,143,.2); }
.footer a { color: var(--amber-pale); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer__title { font-size: 1.45rem; color: #fbefd4; }
.footer address { font-style: normal; margin-bottom: 1em; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__base { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(247,213,143,.18); margin-top: 36px; padding-top: 16px; padding-bottom: 20px; font-size: .85rem; }
.footer__base p { margin: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } .footer__base { flex-direction: column; } }

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gilt { background-position: 50% 0; }
}
.page-inner .band--cream .section-title, .page-inner .band--cream > .wrap > h2 { color: var(--amber-pale); }
.stack__fig { margin: 0; }
.stack__fig figcaption { margin-top: 22px; font-family: var(--fell); font-style: italic; font-size: .92rem; color: #e9d6b2; text-align: center; }
.stack__fig figcaption a { color: var(--amber-pale); }

/* ---------- Frame photos: zoom + cross-fade to a second photo on rollover ---------- */
.frame__window { position: relative; overflow: hidden; border: 6px solid #efe6d2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.frame__window .frame__img { border: 0; display: block; transition: transform 5s cubic-bezier(.2,.6,.3,1), opacity .8s ease, filter .8s ease; }
.frame__img--alt { position: absolute; inset: 0; height: 100%; opacity: 0; transform: scale(1.12); }
.frame__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: var(--fell); font-style: italic; font-size: 1rem; line-height: 1;
  padding: 7px 12px 8px; color: #2a170c; border-radius: 2px;
  background: linear-gradient(180deg, #f3d48a, #c99a44 60%, #a87a2c);
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(14px); transition: opacity .45s ease .25s, transform .45s ease .25s;
}
.frame__window::after { /* warm sheen that sweeps across as the photo changes */
  content: ""; position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,226,160,.35) 50%, transparent 60%);
  transform: translateX(-80%); transition: transform 1s ease;
}
@media (hover: hover) {
  .frame:hover .frame__img { transform: scale(1.08); }
  .frame:hover .frame__img:not(.frame__img--alt) { filter: saturate(.9); }
  .frame:hover .frame__img--alt { opacity: 1; transform: scale(1.0); }
  .frame:hover .frame__tag { opacity: 1; transform: none; }
  .frame:hover .frame__window::after { transform: translateX(80%); }
}
.frame:focus-within .frame__img--alt { opacity: 1; transform: scale(1.0); }
.frame:focus-within .frame__tag { opacity: 1; transform: none; }

/* Touch screens have no rollover: let each frame drift between its two photos on its own */
@media (hover: none) {
  .frame__img--alt { animation: frame-swap 9s ease-in-out infinite; transform: none; }
  .frame__tag { animation: frame-tag 9s ease-in-out infinite; transform: none; }
  .frame--b .frame__img--alt, .frame--b .frame__tag { animation-delay: 3s; }
  .frame--c .frame__img--alt, .frame--c .frame__tag { animation-delay: 6s; }
}
@keyframes frame-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes frame-tag  { 0%, 45% { opacity: 0; } 55%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frame__img--alt, .frame__tag { animation: none !important; } }

.confirm-note { margin: 0 0 .6em; padding: 10px 14px; border-left: 4px solid var(--amber); background: #fbefd2; font-style: italic; }

/* ---------- Food & Drink: our own dish photos, laid out on the table ---------- */
.dishphotos { list-style: none; margin: 0 0 56px; padding: 6px 0 10px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.dishphoto { position: relative; transition: transform .45s cubic-bezier(.3,.7,.4,1.2), box-shadow .45s ease; box-shadow: 0 16px 26px -10px rgba(0,0,0,.65); background: #0f2a20; }
.dishphoto:nth-child(1) { transform: rotate(-2.2deg); }
.dishphoto:nth-child(2) { transform: rotate(1.4deg) translateY(10px); }
.dishphoto:nth-child(3) { transform: rotate(-.8deg); }
.dishphoto:nth-child(4) { transform: rotate(2deg) translateY(8px); }
.dishphoto:nth-child(5) { transform: rotate(-1.4deg); }
.dishphoto img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.dishphoto__cap {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--fell); font-style: italic; font-size: .95rem; line-height: 1;
  padding: 6px 12px 7px; color: #2a170c; border-radius: 2px;
  background: linear-gradient(180deg, #f3d48a, #c99a44 60%, #a87a2c); box-shadow: 0 3px 8px rgba(0,0,0,.4);
}
@media (hover: hover) {
  .dishphoto:hover { transform: rotate(0) translateY(-10px) scale(1.12); z-index: 2; box-shadow: 0 30px 44px -12px rgba(0,0,0,.75); }
}
@media (max-width: 1000px) {
  .dishphotos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 6px 34px; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .dishphoto { scroll-snap-align: center; }
  .dishphoto__cap { font-size: .9rem; }
}
@media (min-width: 640px) and (max-width: 1000px) { .dishphotos { grid-auto-columns: 34%; } }

.fbline { text-align: center; margin: -18px 0 40px; }
.btn--fb { display: inline-flex; align-items: center; gap: 10px; }
.btn--fb svg { flex: 0 0 auto; }

/* Regular nights with a poster: poster pinned beside the chalk */
.regular--poster { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 28px; align-items: start; }
.regular__poster { display: block; transform: rotate(-1.5deg); box-shadow: 0 12px 22px rgba(0,0,0,.55); transition: transform .35s ease; position: relative; }
.regular__poster::before { /* drawing pin */
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 35% 35%, #ff8a7a, #b3201c 60%, #6d0f0c); box-shadow: 0 2px 3px rgba(0,0,0,.5);
}
.regular__poster:hover { transform: rotate(0) scale(1.03); }
.regular__poster img { width: 100%; height: auto; display: block; }
.regular--poster .regular__text p { font-size: 1.08rem; }
@media (max-width: 640px) { .regular--poster { grid-template-columns: 1fr; } .regular__poster { max-width: 280px; margin: 6px auto 0; } }
.event__imglink { display: block; }
.event__img { width: 130px; height: auto; aspect-ratio: auto; box-shadow: 0 6px 12px rgba(0,0,0,.3); }
@media (max-width: 640px) { .event__imglink { grid-column: 1 / -1; } .event__img { width: 100%; max-width: 260px; aspect-ratio: auto; } }

/* Painted pub sign at the top of the footer, hung from the wall */
.footer__sign { display: flex; justify-content: center; margin: -10px auto 36px; padding: 0 20px; }
.footer__sign a { display: block; width: min(360px, 80vw); transform-origin: 50% 0; transition: transform .6s cubic-bezier(.3,.7,.4,1.3); filter: drop-shadow(0 16px 20px rgba(0,0,0,.55)); }
.footer__sign img { width: 100%; height: auto; display: block; }
.footer__sign a:hover { transform: rotate(-1.5deg) scale(1.02); }

/* Weekly deals posters, pinned up beside each other */
.deals { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 4vw, 48px); margin: 0 0 52px; flex-wrap: wrap; }
.deals__poster { position: relative; display: block; width: min(420px, 100%); box-shadow: 0 18px 30px -8px rgba(0,0,0,.7); transition: transform .4s cubic-bezier(.3,.7,.4,1.2); }
.deals__poster:nth-child(1) { transform: rotate(-1.6deg); }
.deals__poster:nth-child(2) { transform: rotate(1.3deg); margin-top: 18px; }
.deals__poster::before { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 35% 35%, #ffe08a, #c99a2e 60%, #7a5a14); box-shadow: 0 2px 3px rgba(0,0,0,.5); }
.deals__poster img { width: 100%; height: auto; display: block; }
@media (hover: hover) { .deals__poster:hover { transform: rotate(0) scale(1.03); z-index: 2; } }

/* Dietary badges: vegetarian green, vegan dark yellow, gluten free red */
.diet--v  { color: #fff; background: #2f7a34; border-color: #2f7a34; }
.diet--vg { color: #fff; background: #9a6f00; border-color: #9a6f00; }
.diet--gf { color: #fff; background: #b3261e; border-color: #b3261e; }
.key .diet { font-size: .72rem; }

/* Gallery viewer */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 10, 6, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__fig { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox__img { max-width: 100%; max-height: 80vh; margin: 0 auto; border: 8px solid #efe6d2; box-shadow: 0 20px 50px rgba(0,0,0,.7); }
.lightbox__cap { color: #f3e5c8; font-family: var(--fell); font-style: italic; font-size: 1.1rem; margin-top: 14px; }
.lightbox__btn { position: fixed; background: rgba(42,23,16,.75); color: #fbefd4; border: 1px solid rgba(247,213,143,.5); border-radius: 50%; width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--amber); color: var(--wood); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Opening hours: today's row lit up like a lamp */
.hours dt, .hours dd { position: relative; padding: 4px 0; }
.hours--big dt.is-today, .hours--big dd.is-today { color: var(--oxblood); }
.hours--big dt.is-today { padding-left: 12px; }
.hours--big dt.is-today::before { /* glow band behind the whole row */
  content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: calc(100% + 600px);
  background: linear-gradient(90deg, rgba(232,161,58,.28), rgba(232,161,58,.12) 60%, transparent);
  border-left: 3px solid var(--amber); border-radius: 2px;
  animation: today-glow 3.6s ease-in-out infinite;
}
.hours--big { position: relative; z-index: 0; overflow: hidden; }
.today-tag { display: inline-block; margin-left: 8px; padding: 1px 8px 2px; font: italic 400 .78rem/1.4 var(--fell); color: #2a170c; background: var(--amber); border-radius: 999px; vertical-align: 2px; }
@keyframes today-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* Scroll-in: hours slide in row by row, the map swings onto its hook */
.js .visit[data-reveal] .hours--big dt, .js .visit[data-reveal] .hours--big dd { opacity: 0; transform: translateX(-16px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.js .visit[data-reveal] .hours--big dt:nth-of-type(2), .js .visit[data-reveal] .hours--big dd:nth-of-type(2) { transition-delay: .15s; }
.js .visit[data-reveal] .hours--big dt:nth-of-type(3), .js .visit[data-reveal] .hours--big dd:nth-of-type(3) { transition-delay: .3s; }
.js .visit[data-reveal] .hours--big dt:nth-of-type(4), .js .visit[data-reveal] .hours--big dd:nth-of-type(4) { transition-delay: .45s; }
.js .visit[data-reveal].is-in .hours--big dt, .js .visit[data-reveal].is-in .hours--big dd { opacity: 1; transform: none; }
.js .visit[data-reveal] .map { opacity: 0; transform-origin: 50% -30px; }
.js .visit[data-reveal].is-in .map { animation: hang-map 1.8s cubic-bezier(.3,.7,.4,1) .2s both; }
@keyframes hang-map {
  0%   { opacity: 0; transform: translateY(-24px) rotate(-7deg); }
  25%  { opacity: 1; transform: translateY(0) rotate(4deg); }
  45%  { transform: rotate(-2.2deg); }
  65%  { transform: rotate(1.6deg); }
  82%  { transform: rotate(.2deg); }
  100% { opacity: 1; transform: rotate(.6deg); }
}
@media (max-width: 860px) { .js .visit[data-reveal].is-in .map { animation: none; opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .visit[data-reveal] .hours--big dt, .js .visit[data-reveal] .hours--big dd, .js .visit[data-reveal] .map { opacity: 1 !important; transform: none !important; }
}

/* Social links with carved wooden tokens and brass inlay */
.social { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.social a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.social__icon {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center;
  color: var(--gilt-1);
  background:
    radial-gradient(circle at 34% 28%, rgba(255,230,180,.22), transparent 46%),
    var(--grain-wood),
    radial-gradient(circle at 50% 50%, #8f5c34 0%, #6d4127 58%, #45261a 100%);
  box-shadow:
    inset 0 2px 2px rgba(255,220,160,.28),   /* top edge catching the light */
    inset 0 -3px 5px rgba(0,0,0,.5),         /* carved underside */
    0 0 0 2px #2a170c,                       /* dark rim */
    0 0 0 3px rgba(201,154,68,.55),          /* thin brass ring */
    0 4px 7px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.3,.7,.4,1.4), box-shadow .3s ease;
}
.social__icon svg { filter: drop-shadow(0 -1px 0 rgba(0,0,0,.55)) drop-shadow(0 1px 0 rgba(255,235,190,.25)); }
.social a:hover .social__icon, .social a:focus-visible .social__icon { transform: rotate(-10deg) scale(1.08); box-shadow: inset 0 2px 2px rgba(255,220,160,.35), inset 0 -3px 5px rgba(0,0,0,.5), 0 0 0 2px #2a170c, 0 0 0 3px var(--amber), 0 0 14px rgba(232,161,58,.45), 0 4px 7px rgba(0,0,0,.5); }
.social a:hover .social__icon { color: #fff4cf; }

/* Footer sign mounted on a wooden panel, screwed to the wall at each corner */
.footer__sign { margin: 6px auto 40px; }
.footer__sign a {
  --screw: radial-gradient(circle at 42% 38%, #fff3cc 0, #e0b45a 2.5px, #a87a2c 5px, #5e3f10 6.5px, rgba(0,0,0,.55) 7.5px, transparent 8.5px);
  --slot: linear-gradient(45deg, transparent 7px, rgba(50,28,8,.85) 7px, rgba(50,28,8,.85) 9px, transparent 9px);
  position: relative; width: min(440px, 88vw); padding: 26px 34px; border-radius: 6px; filter: none;
  background:
    var(--slot) top 9px left 9px / 16px 16px no-repeat,
    var(--screw) top 9px left 9px / 16px 16px no-repeat,
    var(--slot) top 9px right 9px / 16px 16px no-repeat,
    var(--screw) top 9px right 9px / 16px 16px no-repeat,
    var(--slot) bottom 9px left 9px / 16px 16px no-repeat,
    var(--screw) bottom 9px left 9px / 16px 16px no-repeat,
    var(--slot) bottom 9px right 9px / 16px 16px no-repeat,
    var(--screw) bottom 9px right 9px / 16px 16px no-repeat,
    radial-gradient(ellipse at 30% 18%, rgba(255,230,180,.16), transparent 50%),
    var(--grain-wood),
    linear-gradient(170deg, #8a5733 0%, #6d4127 50%, #4a2a1a 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,220,160,.3),       /* light on the top bevel */
    inset 2px 0 0 rgba(255,220,160,.12),
    inset 0 -4px 6px rgba(0,0,0,.5),          /* shaded bottom bevel */
    inset -2px 0 4px rgba(0,0,0,.3),
    inset 0 0 0 7px rgba(0,0,0,.08),          /* routed border groove */
    0 0 0 2px #22130b,                        /* dark edge */
    0 26px 34px -8px rgba(0,0,0,.75),         /* shadow on the wall */
    0 8px 14px rgba(0,0,0,.45);
}
.footer__sign a::before { /* routed groove just inside the edge */
  content: ""; position: absolute; inset: 7px; border-radius: 4px; pointer-events: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.55), 0 1px 0 rgba(255,220,160,.18);
}
.footer__sign img { filter: drop-shadow(0 3px 3px rgba(0,0,0,.6)) drop-shadow(0 0 8px rgba(0,0,0,.35)); }
.footer__sign a:hover { transform: rotate(-1deg) scale(1.02); }

/* Footer divider: a groove routed into the wood */
.footer__base { border-top: 0; position: relative; padding-top: 26px; }
.footer__base::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 7px; border-radius: 4px;
  background: linear-gradient(180deg, #120905 0%, #1e0f08 45%, #2c1a10 100%);
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,.85),          /* depth inside the cut */
    inset 0 -1px 0 rgba(255,220,160,.08),
    0 1px 0 rgba(255,220,160,.22),            /* light catching the lower lip */
    0 -1px 0 rgba(0,0,0,.45);                 /* shadow on the upper lip */
}

/* Social links: one centred line just above the groove */
.footer__social { margin-top: 30px; padding-bottom: 22px; }
.footer__social .social { justify-content: center; margin: 0; gap: 12px 40px; }
.footer__base { margin-top: 0; }
.footer__social .social { flex-wrap: nowrap; }
@media (max-width: 520px) {
  .footer__social .social { gap: 10px; }
  .footer__social .social a { gap: 6px; font-size: .84rem; }
  .footer__social .social__icon { width: 28px; height: 28px; }
  .footer__social .social__icon svg { width: 14px; height: 14px; }
}
@media (max-width: 349px) { .footer__social .social { flex-wrap: wrap; } }

/* ---------- Real wood planks for the big dark-wood surfaces ---------- */
:root { --planks: url("/assets/img/wood-planks.jpg") 0 0 / 1200px 720px repeat; }
.footer {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,161,58,.10), transparent 55%),   /* lamplight from above */
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.38)),
    var(--planks), #2a170e;
}
.snug {
  background:
    radial-gradient(ellipse at 85% 30%, rgba(232,161,58,.22), transparent 50%),
    linear-gradient(rgba(40,20,10,.10), rgba(20,10,5,.25)),
    var(--planks), #331d11;
}
.pagehead {
  background:
    radial-gradient(ellipse at 15% 110%, rgba(232,161,58,.35), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.30)),
    var(--planks), #34200f;
}
.band--green {
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.3)), var(--planks), #2a1710;
}
.page-inner .band--cream {   /* the "table" the menus and posters sit on: a touch lighter */
  background: linear-gradient(180deg, rgba(140,85,45,.22), rgba(110,65,35,.12)), var(--planks), #4a2a1a;
}

/* ---------- Footer: a wall clad in vertical wooden boards, with a moulded rail on top ---------- */
.footer {
  position: relative; border-top: 0; padding-top: 70px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240,170,70,.16), transparent 60%),   /* lamplight on the wall */
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.42) 100%),
    url("/assets/img/wood-wall.jpg") 50% 0 / 1200px 960px repeat,
    #3a2012;
  box-shadow: none;
}
.footer::before { /* moulded dado rail where the panelling starts */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24px; z-index: 1;
  background:
    linear-gradient(180deg,
      #140a06 0, #140a06 2px,
      #5a3520 2px, #a06c42 6px, #c08451 8px, #8a5733 11px,
      #3e2416 14px, #2a170e 16px,
      #8a5733 17px, #6d4127 20px, #2a170e 24px),
    var(--grain-wood);
  box-shadow: 0 8px 12px -2px rgba(0,0,0,.55);
}


/* ---------- Inner page headers: each page has its own photo ---------- */
.pagehead { isolation: isolate; background: #2a170e; border-bottom: 4px solid #1c0f0a; min-height: 380px; display: flex; align-items: flex-end; }
.pagehead > .wrap { width: 100%; }
.pagehead::before { /* the photo, settling slowly into place */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--head-img, none) var(--head-pos, center) / cover no-repeat;
  animation: settle 12s ease-out both;
}
.pagehead::after { /* warm dark tint so the heading reads clearly */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(30,14,6,.9) 0%, rgba(36,17,8,.72) 38%, rgba(40,20,10,.25) 75%, rgba(40,20,10,.12) 100%),
    linear-gradient(0deg, rgba(25,12,5,.6), transparent 45%),
    radial-gradient(ellipse at 10% 100%, rgba(232,161,58,.25), transparent 55%);
}
.pagehead h1 { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.pagehead .lede, .pagehead .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 760px) {
  .pagehead { min-height: 300px; }
  .pagehead::after { background: linear-gradient(0deg, rgba(25,12,5,.85) 0%, rgba(30,14,6,.55) 60%, rgba(30,14,6,.35) 100%); }
}


/* ---------- Link rollover: a brass underline draws in, the text warms up ---------- */
a:not([class]):not(:has(img)):not(.tabs a):not(.social a):not(.sitenav a), .link, .chalk__more {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--amber), var(--amber));
  background-size: 100% 1px, 0% 2px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .35s cubic-bezier(.3,.7,.4,1), color .25s ease, text-shadow .25s ease;
}
.sitenav a, .social a { background: none; padding-bottom: 0; }
.link, .chalk__more { border-bottom: 0; }
a:not([class]):not(:has(img)):not(.tabs a):not(.social a):not(.sitenav a):hover, a:not([class]):not(:has(img)):not(.tabs a):not(.social a):not(.sitenav a):focus-visible,
.link:hover, .link:focus-visible, .chalk__more:hover {
  background-size: 0% 1px, 100% 2px;
  color: var(--oxblood-dk);
}
/* On dark wood and chalkboards: brighten and glow instead */
:is(.footer, .snug, .pagehead, .aside, .band--green, .page-inner .band--cream, .topbar, .chalkboard, .regular)
  :is(a:not([class]):not(:has(img)):not(.tabs a):not(.social a):not(.sitenav a), .link, .chalk__more):hover,
:is(.footer, .snug, .pagehead, .aside, .band--green, .page-inner .band--cream, .topbar, .chalkboard, .regular)
  :is(a:not([class]):not(:has(img)):not(.tabs a):not(.social a):not(.sitenav a), .link, .chalk__more):focus-visible,
.social a:hover .social__name {
  color: #fff4cf !important; text-shadow: 0 0 10px rgba(247,190,90,.55);
}

/* ---------- Booking form ---------- */
.form { position: relative; border-radius: 4px; outline: 1px solid var(--rule); outline-offset: -12px; padding: clamp(26px, 4vw, 44px); }
.form__title { font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--oxblood); margin-bottom: .2em; }
.form__step {
  display: flex; align-items: center; gap: 12px; margin: 26px 0 14px;
  font-family: var(--fell); font-style: italic; font-size: 1.2rem; color: var(--oak); font-weight: 400;
}
.form__step::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--rule), transparent); }
.form .field > label, .form .field > legend { font-weight: 700; font-size: .95rem; transition: color .2s; }
.form .field:focus-within > label { color: var(--oxblood); }
.form input:not([type=radio]):not([type=checkbox]), .form textarea {
  min-height: 50px; padding: 12px 14px; border-radius: 6px; border: 1px solid #d8c7a4;
  background: #fffdf8; box-shadow: inset 0 2px 3px rgba(80,50,20,.07);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input:not([type=radio]):not([type=checkbox]):hover, .form textarea:hover { border-color: #c4a978; }
.form input:focus, .form textarea:focus { background: #fff; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232,161,58,.22), inset 0 2px 3px rgba(80,50,20,.05); }
.form textarea { min-height: 130px; resize: vertical; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .grid3 { grid-template-columns: 1fr 1fr; } .grid3 .field:first-child { grid-column: 1 / -1; } }

/* What can we help with: picture tiles */
.form fieldset.field > legend { font-family: var(--fell); font-style: italic; font-weight: 400; font-size: 1.2rem; color: var(--oak); margin-bottom: 12px; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.choice {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 18px 10px 14px !important; border: 1px solid #dccdb0 !important; border-radius: 8px !important; background: #fffdf8 !important;
  color: var(--ink-soft); font-size: .92rem; line-height: 1.25; cursor: pointer; min-height: 112px;
  box-shadow: 0 2px 0 rgba(120,80,40,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s, background .2s, color .2s;
}
.choice:hover { transform: translateY(-2px); border-color: #c4a978 !important; box-shadow: 0 8px 14px -6px rgba(90,50,20,.25); color: var(--ink); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__icon { width: 30px; height: 30px; color: var(--oak); transition: color .2s, transform .3s cubic-bezier(.3,.7,.4,1.4); }
.choice:hover .choice__icon { transform: scale(1.08); }
.choice:has(input:checked) {
  border-color: var(--amber) !important; background: linear-gradient(180deg, #fff6df, #fbecc8) !important; color: var(--wood);
  box-shadow: 0 0 0 3px rgba(232,161,58,.25), 0 8px 14px -6px rgba(90,50,20,.3);
}
.choice:has(input:checked) .choice__icon { color: var(--oxblood); }
.choice:has(input:checked)::after { /* tick badge */
  content: "✓"; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .72rem/1 system-ui, sans-serif; color: #fff; background: var(--oxblood);
}
.choice:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (max-width: 760px) { .choices { grid-template-columns: 1fr 1fr; } }

/* Staff-confirmation note: a little card pinned on */
.confirm-note {
  position: relative; margin: 24px 0 12px; padding: 16px 18px 14px 22px; border-left: 0; border-radius: 2px;
  background: #fff4cf; font-family: var(--fell); font-size: 1.12rem; color: #5a3a1a;
  box-shadow: 0 6px 12px -6px rgba(90,50,20,.35); transform: rotate(-.6deg);
}
.confirm-note::before { content: ""; position: absolute; top: -6px; left: 50%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a7a, #b3201c 60%, #6d0f0c); box-shadow: 0 2px 3px rgba(0,0,0,.4); }
.btn--wide { width: 100%; margin-top: 8px; font-size: 1.3rem; padding: 15px 26px; }

.dishhead { margin-top: 64px; }
.dishphotos { margin-bottom: 20px; }

/* Menu tabs: slots routed into the wooden table */
.tabs { gap: 14px; }
.tabs a {
  border: 0; border-radius: 8px; padding: 9px 22px 10px;
  color: #e9d3a8; text-shadow: 0 -1px 0 rgba(0,0,0,.7), 0 1px 0 rgba(255,220,160,.12);
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.22) 55%, rgba(0,0,0,.30));
  box-shadow:
    inset 0 3px 5px rgba(0,0,0,.75),          /* depth inside the cut */
    inset 0 -1px 0 rgba(255,220,160,.10),
    0 1px 0 rgba(255,220,160,.20),            /* light catching the lower lip */
    0 -1px 0 rgba(0,0,0,.45);                 /* shadow on the upper lip */
  transition: color .25s, background .25s, box-shadow .25s, text-shadow .25s;
}
.tabs a:hover, .tabs a:focus-visible {
  color: #e0a63a; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(40,20,8,.3));
  text-shadow: 0 0 8px rgba(232,161,58,.45), 0 -1px 0 rgba(0,0,0,.8);
  box-shadow: inset 0 3px 6px rgba(0,0,0,.8), inset 0 0 0 1px rgba(232,161,58,.45), 0 1px 0 rgba(255,220,160,.25), 0 -1px 0 rgba(0,0,0,.45);
}
.tabs a:active { box-shadow: inset 0 4px 8px rgba(0,0,0,.9), 0 1px 0 rgba(255,220,160,.2); }


/* Footer plaque: a lighter oak board with horizontal grain, so it stands off the dark wall */
.footer__sign a {
  background:
    var(--slot) top 9px left 9px / 16px 16px no-repeat,
    var(--screw) top 9px left 9px / 16px 16px no-repeat,
    var(--slot) top 9px right 9px / 16px 16px no-repeat,
    var(--screw) top 9px right 9px / 16px 16px no-repeat,
    var(--slot) bottom 9px left 9px / 16px 16px no-repeat,
    var(--screw) bottom 9px left 9px / 16px 16px no-repeat,
    var(--slot) bottom 9px right 9px / 16px 16px no-repeat,
    var(--screw) bottom 9px right 9px / 16px 16px no-repeat,
    radial-gradient(ellipse at 30% 15%, rgba(255,235,195,.28), transparent 55%),
    repeating-linear-gradient(178deg, transparent 0 3px, rgba(90,50,20,.16) 3px 4px, rgba(255,230,180,.05) 4px 7px),
    linear-gradient(175deg, #b07a46 0%, #96633a 45%, #7a4d2b 100%) !important;
  padding-bottom: 26px;
}

/* What's On regular nights: feature card across the top, the rest in an even row */
.regulars { grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.regular--poster { order: -1; grid-column: 1 / -1; }
@media (max-width: 980px) { .regulars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .regulars { grid-template-columns: 1fr; } }
.regular h3 { font-size: 1.35rem; }


/* Back-to-top: a wooden token with a brass arrow, centred in the footer bar */
.footer__base { align-items: center; }
.totop { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--amber-pale); flex: 0 0 auto; }
.totop__icon { width: 44px; height: 44px; }
.totop__icon svg { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.3,.7,.4,1.4); }
.totop__label { font-family: var(--fell); font-style: italic; font-size: .85rem; line-height: 1; }
.totop:hover .totop__icon, .totop:focus-visible .totop__icon {
  transform: translateY(-3px);
  box-shadow: inset 0 2px 2px rgba(255,220,160,.35), inset 0 -3px 5px rgba(0,0,0,.5), 0 0 0 2px #2a170c, 0 0 0 3px var(--amber), 0 0 14px rgba(232,161,58,.45), 0 6px 9px rgba(0,0,0,.5);
  color: #fff4cf;
}
.totop:hover svg { transform: translateY(-2px); }
.totop:hover .totop__label { color: #fff4cf; text-shadow: 0 0 10px rgba(247,190,90,.55); }
@media (max-width: 760px) { .totop { order: -1; align-self: center; margin-bottom: 4px; } }
html body.page-inner nav.tabs a:hover, html body.page-inner nav.tabs a:focus-visible { color: #e0a63a !important; text-shadow: 0 0 8px rgba(232,161,58,.45), 0 -1px 0 rgba(0,0,0,.8); }

/* Social links: no underline; the name warms to brass on hover */
.social a, .social__name { text-decoration: none; background: none !important; padding-bottom: 0; }
.social a .social__name { transition: color .25s, text-shadow .25s; }
.social a:hover .social__name, .social a:focus-visible .social__name { color: #e0a63a !important; text-shadow: 0 0 8px rgba(232,161,58,.45); }


/* ---------- Header: a taller beam with the menu routed into it ---------- */
.masthead__inner { min-height: 92px; }
.sitenav ul { gap: 10px; }
.sitenav a {
  font-size: 1.3rem; padding: 10px 18px 11px; border-radius: 8px; text-decoration: none; background: none;
  color: #ecd8ae; text-shadow: 0 -1px 0 rgba(0,0,0,.7), 0 1px 0 rgba(255,220,160,.12);
  background: linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.20) 55%, rgba(0,0,0,.28));
  box-shadow: inset 0 3px 5px rgba(0,0,0,.75), inset 0 -1px 0 rgba(255,220,160,.10), 0 1px 0 rgba(255,220,160,.22), 0 -1px 0 rgba(0,0,0,.45);
  transition: color .25s, box-shadow .25s, text-shadow .25s;
}
.sitenav a::after { display: none; }
html body .sitenav a:hover, html body .sitenav a:focus-visible {
  color: #e0a63a !important; text-shadow: 0 0 8px rgba(232,161,58,.45), 0 -1px 0 rgba(0,0,0,.8);
  box-shadow: inset 0 3px 6px rgba(0,0,0,.8), inset 0 0 0 1px rgba(232,161,58,.45), 0 1px 0 rgba(255,220,160,.25), 0 -1px 0 rgba(0,0,0,.45);
}
html body .sitenav a[aria-current="page"] {
  color: #f0b54a !important; text-shadow: 0 0 10px rgba(232,161,58,.55), 0 -1px 0 rgba(0,0,0,.8);
  box-shadow: inset 0 4px 8px rgba(0,0,0,.9), inset 0 0 0 1px rgba(232,161,58,.6), 0 1px 0 rgba(255,220,160,.3), 0 -1px 0 rgba(0,0,0,.5);
}
.pagehead { padding-top: 190px; }
.hero__inner { padding-top: 250px; }
@media (max-width: 1180px) { .sitenav a { font-size: 1.12rem; padding: 9px 12px 10px; } .sitenav ul { gap: 6px; } }
@media (max-width: 960px) {
  .masthead__inner { min-height: 70px; }
  .sitenav ul { gap: 8px; }
  .sitenav a { font-size: 1.2rem; display: block; }
}
@media (max-width: 960px) { .sitenav ul { padding: 16px 20px 18px !important; } }

/* Food & Drink header: the dishes glide slowly to the left in an endless loop */
.head-menu .pagehead::before {
  inset: 0; background-size: 2500px 500px; background-repeat: repeat-x; background-position: 0 50%;
  animation: plates-slide 70s linear infinite;
}
@keyframes plates-slide { from { background-position: 0 50%; } to { background-position: -2500px 50%; } }
@media (max-width: 760px) {
  .head-menu .pagehead::before { background-size: 1750px 350px; animation-duration: 55s; animation-name: plates-slide-sm; }
}
@keyframes plates-slide-sm { from { background-position: 0 50%; } to { background-position: -1750px 50%; } }

/* Homepage picture wall: finish with a moulded dado rail (same profile as the footer rail) */
.wall::after {
  height: 24px; border-top: 0; z-index: 2;
  background:
    linear-gradient(180deg,
      #2a170e 0, #6d4127 4px, #8a5733 7px, #2a170e 8px,
      #3e2416 10px, #8a5733 13px, #c08451 16px, #a06c42 18px, #5a3520 22px,
      #140a06 22px, #140a06 24px),
    var(--grain-wood);
  box-shadow: 0 -4px 8px -2px rgba(60,35,15,.35), 0 6px 10px -2px rgba(0,0,0,.5);
}
.wall { padding-bottom: clamp(60px, 7vw, 96px); }

/* Hover: the groove fills with lighter oak */
html body .sitenav a:hover, html body .sitenav a:focus-visible,
html body.page-inner nav.tabs a:hover, html body.page-inner nav.tabs a:focus-visible {
  background:
    repeating-linear-gradient(178deg, transparent 0 3px, rgba(70,38,15,.18) 3px 4px, rgba(255,230,180,.06) 4px 7px),
    linear-gradient(180deg, #8f5d36 0%, #7a4b2b 55%, #6a3f23 100%);
  color: #f2c25a !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.55), 0 0 8px rgba(232,161,58,.35);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.55), inset 0 0 0 1px rgba(232,161,58,.5), 0 1px 0 rgba(255,220,160,.25), 0 -1px 0 rgba(0,0,0,.45);
}
.sitenav a, .tabs a { transition: color .25s, box-shadow .25s, text-shadow .25s, background .25s; }

/* Top bar: address with a map pin, linking to the map on the homepage */
.topbar__map { display: inline-flex; align-items: center; gap: 6px; color: #d9c7a8 !important; text-decoration: none; background: none !important; padding: 0 !important; }
.topbar__map svg { color: var(--amber); flex: 0 0 auto; transition: transform .3s cubic-bezier(.3,.7,.4,1.4); }
.topbar__map:hover, .topbar__map:focus-visible { color: #f2c25a !important; }
.topbar__map:hover svg { transform: translateY(-2px); }
#find-us { scroll-margin-top: 10px; }

/* Footer "Find Us" with wooden icon tokens */
.findus { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.findus li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; }
.findus li:first-child { align-items: start; }
.findus address { font-style: normal; margin: 0; line-height: 1.6; }
.findus__icon { text-decoration: none; background-color: transparent; }
a.findus__icon:hover, .findus li:hover .findus__icon { transform: rotate(-10deg) scale(1.08); color: #fff4cf;
  box-shadow: inset 0 2px 2px rgba(255,220,160,.35), inset 0 -3px 5px rgba(0,0,0,.5), 0 0 0 2px #2a170c, 0 0 0 3px var(--amber), 0 0 14px rgba(232,161,58,.45), 0 4px 7px rgba(0,0,0,.5); }
.findus li > a:not(.findus__icon) { justify-self: start; }

/* Top bar: small wooden tokens for the address pin and phone */
.topbar__inner { align-items: center; padding-top: 7px; padding-bottom: 7px; }
.topbar__map, .topbar__phone { display: inline-flex; align-items: center; gap: 8px; color: #e9d6b0 !important; text-decoration: none; background: none !important; padding: 0 !important; transition: color .25s; }
.topbar__icon { width: 24px; height: 24px; }
.topbar__icon svg { color: var(--gilt-1); }
.topbar__map:hover, .topbar__phone:hover, .topbar__map:focus-visible, .topbar__phone:focus-visible { color: #f2c25a !important; }
.topbar__map:hover .topbar__icon, .topbar__phone:hover .topbar__icon { transform: rotate(-10deg) scale(1.1);
  box-shadow: inset 0 2px 2px rgba(255,220,160,.35), inset 0 -3px 5px rgba(0,0,0,.5), 0 0 0 2px #2a170c, 0 0 0 3px var(--amber), 0 0 10px rgba(232,161,58,.45); }
.topbar__map:hover svg { transform: none; }

/* Hanging sign: 50% bigger */
.hanger { width: 390px; }
.hanger__bracket { width: 375px; height: 32px; border-top-width: 8px; border-left-width: 8px; }
.hanger__bracket::after { width: 58px; height: 58px; border-width: 7px; }
.hanger__bracket::before { width: 16px; height: 16px; top: -12px; right: -14px; }
.sign { left: 45px; top: 44px; width: 330px; padding: 18px 15px 21px; border-width: 4px;
  box-shadow: 0 0 0 3px var(--gilt-2) inset, 0 0 0 7px #1f120c inset, 0 20px 34px rgba(0,0,0,.5); transform-origin: 50% -40px; }
.sign::before, .sign::after { top: -38px; width: 6px; height: 36px; }
.sign::before { left: 40px; } .sign::after { right: 40px; }
.sign__name { font-size: 3rem; }
.sign__small { font-size: 1.55rem; }
.pagehead { padding-top: 270px; }
.hero__inner { padding-top: 320px; }
@media (max-width: 960px) {
  .hanger { width: 300px; } .hanger__bracket { width: 285px; }
  .sign { width: 250px; left: 30px; top: 40px; padding: 14px 10px 16px; }
  .sign__name { font-size: 2.2rem; } .sign__small { font-size: 1.2rem; }
  .pagehead { padding-top: 230px; } .hero__inner { padding-top: 270px; }
}
@media (max-width: 560px) {
  .hanger { width: 250px; } .hanger__bracket { width: 235px; }
  .sign { width: 220px; left: 22px; top: 38px; }
  .sign__name { font-size: 1.95rem; } .sign__small { font-size: 1.1rem; }
  .pagehead { padding-top: 215px; } .hero__inner { padding-top: 250px; }
}

.findus__note { font-size: .85em; opacity: .75; font-style: italic; }

/* Booking page: map in a wooden frame under "Prefer to talk?" */
.contact-side { display: grid; gap: 34px; align-content: start; }
.map--side { transform: rotate(-.6deg); }
.map--side iframe { height: 320px; }
.map-link { margin: -18px 0 0; text-align: center; font-family: var(--sign); font-size: 1.15rem; }
.map-link a { color: var(--amber-pale); }
@media (max-width: 860px) { .map--side { transform: none; } }
.tw-ready .social a .tw-on, .tw-ready .findus a .tw-on { text-decoration: none; }

/* Chalkboards: one underline only (the brass rollover line), drawn in once the board has finished writing */
.tw-ready a .tw-on { text-decoration: none !important; }
.tw-ready:not(.tw-done) a { background-size: 0% 1px, 0% 2px !important; }

/* "Get directions" with a wooden map-pin token */
.map-link__a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--amber-pale); transition: color .25s; }
.map-link__text { background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; }
.map-link__a:hover, .map-link__a:focus-visible { color: #f2c25a; }
.map-link__a:hover .map-link__icon { transform: rotate(-10deg) scale(1.08);
  box-shadow: inset 0 2px 2px rgba(255,220,160,.35), inset 0 -3px 5px rgba(0,0,0,.5), 0 0 0 2px #2a170c, 0 0 0 3px var(--amber), 0 0 14px rgba(232,161,58,.45), 0 4px 7px rgba(0,0,0,.5); }


/* Hanging sign: racing green board carrying the Fontygary Inn logo */
.sign {
  padding: 14px 16px !important;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(160deg, #04382a, #012c1b 50%, #00200f) !important;
}
.sign__logo { display: block; width: 100%; height: auto; border-radius: 1px; }
.sign { background: radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.06), transparent 55%), #012c1b !important; }
.sign__logo { mix-blend-mode: lighten; }

/* Footer: a soft wash of light falling across the top-right of the wall */
.footer {
  background:
    radial-gradient(ellipse 65% 75% at 100% 0%, rgba(255,218,155,.38), rgba(255,200,130,.14) 42%, transparent 72%),
    radial-gradient(ellipse 65% 75% at 0% 100%, rgba(10,4,1,.55), rgba(10,4,1,.2) 42%, transparent 72%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.42) 100%),
    url("/assets/img/wood-wall.jpg") 50% 0 / 1200px 960px repeat,
    #3a2012;
}

/* ---------- Browser scrollbar: a carved wooden rail with a polished oak handle ---------- */
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: #9a6a3e #24130b; } }   /* Firefox: simple wood colours */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track {
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 30%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.55)),
    url("/assets/img/wood-wall.jpg") 0 0 / 600px 480px repeat-y,
    #2a170e;
  box-shadow: inset 2px 0 3px rgba(0,0,0,.6);
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid transparent; background-clip: padding-box;
  background-color: #8a5733;
  background-image:
    linear-gradient(90deg, rgba(255,230,180,.38), rgba(255,230,180,.08) 40%, rgba(0,0,0,.25) 100%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(70,38,15,.22) 4px 5px, rgba(255,230,180,.06) 5px 8px);
  box-shadow: inset 0 0 0 1px rgba(201,154,68,.7), inset 0 2px 2px rgba(255,235,190,.45), inset 0 -2px 3px rgba(0,0,0,.45);
}
::-webkit-scrollbar-thumb:hover { background-color: #a06c42; box-shadow: inset 0 0 0 1px var(--amber), inset 0 2px 2px rgba(255,235,190,.5), inset 0 -2px 3px rgba(0,0,0,.45); }
::-webkit-scrollbar-thumb:active { background-color: #b07a46; }
::-webkit-scrollbar-button:single-button {   /* brass end caps */
  display: block; height: 14px; background-color: #2a170e;
  background-image: radial-gradient(circle at 50% 50%, #f3d78a 0 2.5px, #a87a2c 3px 4px, transparent 4.5px);
}
::-webkit-scrollbar-corner { background: #24130b; }
