/* The Broad Oak Inn - preview site. Plain CSS, no build step, no web fonts. */

:root {
  --ink: #241c12;
  --bark: #3a2e20;
  --oak: #6b573b;
  --oak-light: #8a7355;
  --ale: #b8842b;
  --ale-deep: #8f6415;
  --cream: #f8f4ea;
  --card: #fffdf7;
  --line: #e2d8c4;
  --shadow: 0 1px 2px rgba(36, 28, 18, .06), 0 8px 24px rgba(36, 28, 18, .07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ale-deep); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ale);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px;
  background: var(--bark); color: #fff; padding: .8rem 1.2rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bark);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px; padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand img { width: 46px; height: auto; }
.brand span {
  font-family: var(--serif); font-size: 1.22rem; letter-spacing: .02em; white-space: nowrap;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: #f0e8d8; text-decoration: none; font-size: .93rem;
  letter-spacing: .07em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--ale); }
.btn-call {
  background: var(--ale); color: #241c12 !important; padding: .62rem 1.15rem;
  border-radius: 999px; font-weight: 700; letter-spacing: .02em !important;
  text-transform: none !important; font-size: .98rem !important; white-space: nowrap;
}
.btn-call:hover { background: #d29c3f; color: var(--ink) !important; }
@media (max-width: 860px) {
  .site-nav .nav-link { display: none; }
  .brand span { font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bark); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,24,16,.55) 0%, rgba(30,24,16,.35) 45%, rgba(30,24,16,.8) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.hero-inner > * { max-width: 40ch; }
.eyebrow {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ale); margin-bottom: 1rem; font-weight: 700;
}
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero p.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #f3ece0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; max-width: none; }

.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent;
}
.btn-primary { background: var(--ale); color: var(--ink); }
.btn-primary:hover { background: #d29c3f; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--bark); color: #fff; }
.btn-dark:hover { background: var(--oak); color: #fff; }

/* ---------- strip of facts ---------- */
.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.facts ul {
  list-style: none; margin: 0; padding: 1.1rem 0;
  display: grid; gap: .55rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  font-size: .95rem;
}
.facts li { display: flex; gap: .55rem; align-items: baseline; }
.facts .dot { color: var(--ale); font-weight: 700; }

/* ---------- generic section ---------- */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head p { color: #5b4c3a; font-size: 1.06rem; }
.kicker {
  font-size: .8rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ale-deep); font-weight: 700; margin-bottom: .7rem;
}

/* ---------- roast feature ---------- */
.roast { background: var(--bark); color: #f5efe4; }
.roast h2 { color: #fff; }
.roast .kicker { color: var(--ale); }
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--serif); font-size: 2.6rem; color: var(--ale);
  margin: 0 0 .3rem;
}
.price-tag small { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #cdbfa8; }
.roast ul { padding-left: 1.1rem; margin: 0 0 1.6rem; }
.roast li { margin-bottom: .4rem; }

/* ---------- menu ---------- */
.menu-note {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ale);
  padding: 1rem 1.2rem; border-radius: 8px; font-size: .95rem; color: #5b4c3a;
  margin-bottom: 2.4rem;
}
.menu-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .menu-grid { grid-template-columns: 1fr 1fr; gap: 2.6rem 3.2rem; } }
.menu-course h3 {
  font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--oak); border-bottom: 2px solid var(--line); padding-bottom: .6rem; margin-bottom: 1.1rem;
}
.dish { margin-bottom: 1.15rem; }
.dish-head {
  display: flex; gap: .75rem; align-items: baseline; justify-content: space-between;
  font-family: var(--serif); font-size: 1.06rem; font-weight: 600;
}
.dish-head .price { color: var(--ale-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish p { margin: .2rem 0 0; font-size: .92rem; color: #6a5b48; line-height: 1.5; }
.tags { font-size: .7rem; letter-spacing: .1em; color: var(--oak-light); font-weight: 700; }

/* ---------- what's on ---------- */
.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; font-size: .94rem; color: #6a5b48; }
.when {
  display: inline-block; margin-bottom: .6rem; font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ale-deep);
  background: #f3e7cd; padding: .28rem .6rem; border-radius: 5px;
}

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gallery img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* ---------- reviews ---------- */
.reviews { background: var(--card); }
.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
blockquote {
  margin: 0; background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.6rem 1.5rem;
}
blockquote p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; }
.stars { color: var(--ale); letter-spacing: .12em; margin-bottom: .8rem; font-size: .95rem; }
cite { font-style: normal; font-size: .86rem; color: #6a5b48; }
cite b { display: block; font-size: .95rem; color: var(--ink); font-style: normal; }

/* ---------- visit ---------- */
.visit { background: var(--bark); color: #f2ebdf; }
.visit h2, .visit h3 { color: #fff; }
.visit a { color: var(--ale); }
/* the rule above is more specific than .btn-primary, which left the button amber on amber */
.visit .btn-primary { color: var(--ink); }
.visit .btn-primary:hover { color: var(--ink); }
.visit-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hours th { font-weight: 400; color: #d9cdb8; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.closed td, .hours tr.closed th { color: #a9997f; }
.hours caption {
  text-align: left; font-family: var(--serif); font-size: 1.2rem; color: #fff;
  padding-bottom: .7rem;
}
.confirm { font-size: .88rem; color: #c9bca5; margin-top: .9rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: 1.04rem; }
.contact-list li { margin-bottom: .8rem; }
.contact-list .label {
  display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: #b8a88c; margin-bottom: .1rem;
}

/* ---------- footer ---------- */
.site-footer { background: #291f14; color: #b6a68d; padding: 2.8rem 0 2.2rem; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.4rem 2.5rem; align-items: center; }
.site-footer img { width: 58px; }
.site-footer a { color: #d8c8ad; }
.footer-note { margin-left: auto; text-align: right; }
@media (max-width: 620px) { .footer-note { margin-left: 0; text-align: left; } }

/* ---------- 404 ---------- */
.notfound {
  min-height: 72vh; display: grid; place-content: center; text-align: center;
  padding: 3rem 1.5rem;
}
.notfound img { width: 96px; margin: 0 auto 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
