/* The Korner House Bar & Grill — vintage tavern theme */

:root {
  --cream: #f5ecd9;
  --cream-soft: #faf3e2;
  --paper: #fbf6e8;
  --ink: #1f1c19;
  --ink-soft: #3a342d;
  --muted: #6b6358;
  --gold: #c9a444;
  --gold-deep: #a07f29;
  --burgundy: #7d2a1f;
  --burgundy-dark: #561b13;
  --rule: #d8c89e;
  --shadow: 0 14px 40px rgba(31, 28, 25, 0.18);
  --radius: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .9rem; background: var(--ink); color: var(--cream); border-radius: 6px; z-index: 100; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.875rem;
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: center;
}
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--gold); text-decoration: none; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream-soft);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--ink); text-decoration: none;
}
.nav__brand img { height: 52px; width: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; }
.nav__brand-text small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav__links {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.4rem; align-items: center;
}
.nav__links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: .35rem .25rem;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav__links a:hover, .nav__links a.is-active {
  color: var(--burgundy);
  border-bottom-color: var(--gold);
  text-decoration: none;
}
.nav__cta {
  background: var(--burgundy);
  color: var(--cream) !important;
  padding: .55rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav__cta:hover { background: var(--burgundy-dark); text-decoration: none; }

.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--rule);
    width: 42px; height: 42px; border-radius: 6px;
    cursor: pointer;
  }
  .nav__toggle span,
  .nav__toggle span::before,
  .nav__toggle span::after {
    content: ''; display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
  }
  .nav__toggle span::before { position: absolute; top: -6px; }
  .nav__toggle span::after { position: absolute; top: 6px; }

  .nav__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column; gap: 0.5rem; align-items: flex-start;
  }
  .nav__links.is-open { display: flex; }
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at top, rgba(201,164,68,0.10), transparent 60%),
    var(--cream);
  padding: 3.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.hero__logo {
  max-width: 460px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 6px 20px rgba(31,28,25,0.12));
}
.hero__est {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.25rem;
}
.hero__lede {
  max-width: 640px; margin: 1rem auto 1.75rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .08s, background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--burgundy); color: var(--cream); }
.btn--primary:hover { background: var(--burgundy-dark); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); color: var(--cream); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--lg { padding: 1rem 1.75rem; font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--alt { background: var(--cream-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700;
  margin-bottom: 0.5rem;
}
.section__lede { color: var(--ink-soft); max-width: 640px; margin: 0.75rem auto 0; }

/* ---------- Info grid (hours / location / contact) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 14px rgba(31,28,25,0.05);
}
.info-card h3 {
  margin-top: 0;
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--rule); padding-bottom: 0.6rem; margin-bottom: 1rem;
}
.info-card h3 svg { color: var(--gold-deep); }

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 600; color: var(--ink-soft); }
.hours-list .time { color: var(--muted); font-variant-numeric: tabular-nums; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}
.contact-list svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-deep); }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--burgundy); }

/* ---------- About / features ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.feature__icon {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
}
.feature h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; margin: 0.4rem 0 0.3rem;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Map ---------- */
.map {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Menu page ---------- */
.menu-hero {
  text-align: center;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--rule);
  background: var(--cream-soft);
}
.menu-hero h1 { margin-bottom: 0.5rem; }
.menu-hero p { color: var(--ink-soft); margin: 0.5rem auto 0; max-width: 640px; }
.menu-hero .anchors {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .5rem .75rem; justify-content: center;
}
.menu-hero .anchors a {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.menu-hero .anchors a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.menu-section { padding: 3rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.menu-section:last-of-type { border-bottom: 0; }
.menu-section__head {
  text-align: center; margin-bottom: 2rem;
}
.menu-section__head h2 {
  display: inline-block;
  position: relative; padding: 0 1.5rem;
}
.menu-section__head h2::before,
.menu-section__head h2::after {
  content: ''; position: absolute; top: 50%;
  width: 30px; height: 2px; background: var(--gold);
}
.menu-section__head h2::before { right: 100%; }
.menu-section__head h2::after  { left: 100%; }
.menu-section__head p { color: var(--ink-soft); font-style: italic; margin: 0.5rem auto 0; max-width: 600px; }

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem 2.25rem;
}
.menu-item {
  display: flex; flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px dotted var(--rule);
}
.menu-item__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
}
.menu-item__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.menu-item__price {
  font-weight: 700; color: var(--burgundy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.menu-item__desc {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.menu-note {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.menu-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.menu-images figure {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.menu-images img { width: 100%; height: auto; display: block; }
.menu-images figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--rule);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.75rem;
}
.footer-grid p, .footer-grid li { font-size: 0.9rem; opacity: 0.85; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 0.2rem 0; }
.footer-social {
  display: flex; gap: 0.75rem; margin-top: 0.75rem;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(245,236,217,0.08);
  border-radius: 50%;
  transition: background .15s;
}
.footer-social a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(245,236,217,0.12);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
