/* The Spotted Ox, Tockwith - site styles
   Built by Websites Etc */

@font-face { font-family: "Gelasio"; src: url("../fonts/gelasio.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("../fonts/gelasio-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --green: #1f3b30;       /* bar-room green */
  --green-deep: #142820;
  --sage: #7f9a86;
  --cream: #f6f0e4;
  --paper: #fbf8f1;
  --ink: #23211d;
  --muted: #6b665c;
  --brass: #b8893b;
  --brass-dark: #8c6526;
  --forge: #1a1614;       /* The Forge: dark, warm */
  --ember: #c4572e;       /* corrugated red walls */
  --line: rgba(35, 33, 29, .14);
  --radius: 6px;
  --wrap: 1180px;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--green-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); margin: 0 0 .9em; }
.lead { font-size: 1.15rem; color: #3b3832; max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--forge); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Top bar + header */
.topbar { background: var(--green-deep); color: #d9d3c4; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span + span::before { content: "·"; margin: 0 .6em; opacity: .6; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { text-decoration: none; color: var(--green-deep); display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand-text { display: flex; flex-direction: column; }
.brand-place { white-space: nowrap; }
.brand-mark { height: 52px; width: auto; flex: none; }
@media (max-width: 520px) { .brand-mark { height: 38px; } .brand { gap: 9px; } .brand-name { font-size: 1.4rem; } .brand-place { letter-spacing: .18em; font-size: .6rem; } }
.brand-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: .02em; }
.brand-name em { font-style: italic; font-weight: 400; font-size: .7em; margin-right: .15em; }
.brand-place { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-dark); margin-top: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); background: rgba(31,59,48,.07); }
.nav .btn { margin-left: 8px; padding: 11px 20px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--brass-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--green-deep); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1180px) {
  .topbar .hide-sm { display: none; }
}
@media (max-width: 700px) { .topbar { display: none; } }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--cream); transform: translateX(100%); transition: transform .3s ease; padding: 90px 24px 24px; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { font-size: 1.1rem; padding: 14px 12px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .nav-close { position: absolute; top: 22px; right: 18px; }
}
@media (min-width: 1181px) { .nav-close { display: none; } }

/* Home hero */
.hero { background: var(--cream); padding: clamp(40px, 7vw, 90px) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 span { display: block; font-style: italic; font-weight: 400; font-size: .5em; color: var(--brass-dark); margin-top: .35em; letter-spacing: 0; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(20,40,32,.45); aspect-ratio: 4 / 4.3; object-fit: cover; width: 100%; }
.hero-photo .badge { position: absolute; left: -22px; bottom: 28px; background: var(--green); color: var(--cream); padding: 16px 20px; border-radius: var(--radius); font-size: .88rem; line-height: 1.4; max-width: 230px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.hero-photo .badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.hours-strip { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 1.8em; font-size: .92rem; color: var(--muted); }
.hours-strip b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo .badge { left: 12px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20,40,32,.45); color: inherit; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-link { font-weight: 600; color: var(--green); }
.card-link::after { content: " →"; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Forge band on home */
.forge-band { background: var(--forge) url("../images/forge/forge-04.jpg") center / cover no-repeat; position: relative; color: #efe6da; }
.forge-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,12,.94) 0%, rgba(20,15,12,.8) 45%, rgba(20,15,12,.35) 100%); }
.forge-band .wrap { position: relative; padding: clamp(70px, 10vw, 130px) 0; }
.forge-band h2 { color: #fff; }
.forge-band .eyebrow { color: #e59b6f; }
.forge-band p { max-width: 54ch; color: #e6ddd0; }
@media (max-width: 860px) { .forge-band::before, .page-hero.forge-hero::before { background: rgba(20,15,12,.86); } }

/* Facts list */
.ticks { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

/* Page hero (inner pages) */
.page-hero { background: var(--green); color: var(--cream); padding: clamp(50px, 8vw, 90px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #d8b878; }
.page-hero p { color: #dfe3da; max-width: 60ch; font-size: 1.1rem; }
.page-hero.has-img { background-size: cover; background-position: center; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,32,.92), rgba(20,40,32,.55)); }
.page-hero.forge-hero::before { background: linear-gradient(90deg, rgba(20,15,12,.93) 0%, rgba(20,15,12,.7) 55%, rgba(20,15,12,.3) 100%); }
.page-hero .wrap { position: relative; }

/* Menus */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.menu-tabs button { font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-tabs button[aria-selected="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.menu-panel[hidden] { display: none; }
.menu-intro { color: var(--muted); margin-bottom: 30px; }
.menu-cols { columns: 2; column-gap: 60px; }
@media (max-width: 800px) { .menu-cols { columns: 1; } }
.menu-group { break-inside: avoid; margin-bottom: 38px; }
.menu-group h3 { font-size: 1.5rem; border-bottom: 2px solid var(--brass); padding-bottom: 8px; margin-bottom: 18px; }
.menu-group .note { font-size: .9rem; color: var(--muted); margin: -8px 0 16px; }
.dish { margin-bottom: 16px; }
.dish-top { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font-weight: 600; }
.dish-top::after { content: ""; flex: 1; order: 2; border-bottom: 1px dotted rgba(35,33,29,.35); transform: translateY(-4px); }
.dish-price { order: 3; font-family: var(--serif); font-weight: 600; color: var(--green); white-space: nowrap; }
.dish p { margin: 2px 0 0; font-size: .93rem; color: var(--muted); }
.tag { font-size: .72rem; font-weight: 600; color: var(--brass-dark); border: 1px solid rgba(184,137,59,.5); border-radius: 3px; padding: 0 4px; margin-left: 4px; vertical-align: 2px; }
.menu-key { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }
.callout { background: var(--cream); border-left: 4px solid var(--brass); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 32px; }

/* The Forge page */
.forge-page main { background: var(--forge); color: #e6ddd0; }
.forge-page main h2, .forge-page main h3 { color: #fff; }
.forge-page .eyebrow { color: #e59b6f; }
.forge-page main .section-alt { background: #221d1a; }
.forge-page main .btn-ghost { color: #fff; }
.forge-page main a:not(.btn) { color: #f0b48f; }
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occasion { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,.03); }
.occasion h3 { font-size: 1.2rem; margin-bottom: .3em; }
.occasion p { font-size: .93rem; margin: 0; color: #cfc5b8; }
@media (max-width: 900px) { .occasions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .occasions { grid-template-columns: 1fr; } }
.forge-page .ticks li::before { border-color: #e59b6f; }
.forge-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 240px 240px; grid-template-areas: "a a b c" "d e e c"; gap: 10px; }
.forge-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.forge-grid .ga { grid-area: a; } .forge-grid .gb { grid-area: b; } .forge-grid .gc { grid-area: c; } .forge-grid .gd { grid-area: d; } .forge-grid .ge { grid-area: e; }
@media (max-width: 800px) { .forge-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px 170px 170px; grid-template-areas: "a a" "b c" "d c" "e e"; } }
.free-hire { display: inline-block; background: var(--ember); color: #fff; font-weight: 600; padding: 6px 14px; border-radius: 999px; font-size: .9rem; margin-bottom: 18px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: 4px; overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }
.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Contact + forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 30px; }
.times { width: 100%; border-collapse: collapse; font-size: .97rem; }
.times th, .times td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.times th { font-weight: 600; width: 45%; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid rgba(35,33,29,.25); border-radius: 4px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form-note { font-size: .85rem; color: var(--muted); }
.forge-page .form input, .forge-page .form select, .forge-page .form textarea { background: #2a2421; border-color: rgba(255,255,255,.18); color: #fff; }
.forge-page .form-note { color: #b8ad9f; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.forge-page .form-panel { background: #221d1a; border-color: rgba(255,255,255,.12); }

/* CTA band */
.cta { background: var(--green); color: var(--cream); text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #d7dcd2; max-width: 56ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--green); border-color: #fff; }

/* Footer */
.site-footer { background: var(--green-deep); color: #c9c4b7; font-size: .95rem; padding: 60px 0 26px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #9fa59a; }
.footer-bottom a { color: #c9c4b7; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile book bar */
.mobile-book { display: none; }
@media (max-width: 700px) {
  .mobile-book { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .mobile-book a { text-align: center; padding: 15px 8px; font-weight: 600; text-decoration: none; }
  .mobile-book .call { background: var(--cream); color: var(--green); }
  .mobile-book .book { background: var(--brass); color: #fff; }
  body { padding-bottom: 54px; }
}

.thanks { padding: 120px 0; text-align: center; }

/* Facebook feed */
.fb-feed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; max-width: 522px; width: 100%; justify-self: end; }
.fb-feed iframe { display: block; width: 100%; height: 640px; border: 0; }
@media (max-width: 860px) { .fb-feed { justify-self: stretch; margin-inline: auto; } .fb-feed iframe { height: 560px; } }
