/* =========================================================
   Sourdough You Know - DESIGN OPTION 3: "Modern Editorial / Minimal"
   Self-contained theme. Edit tokens in :root to retune.
   ========================================================= */

/* ---- Tokens ---- */
:root {
  --paper:    #F6F4EF;   /* off-white background */
  --paper-2:  #EFEBE2;   /* faint alt block */
  --ink:      #16140F;   /* near-black text */
  --grey:     #6F6A60;   /* muted secondary */
  --line:     #E1DCD2;   /* hairlines */
  --line-dk:  #C9C2B4;
  --clay:     #A36A43;   /* the one quiet accent */
  --clay-dk:  #855631;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1240px;
  --gutter: 40px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 500; }

/* tiny editorial label */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--clay); display: inline-block; }
.kicker.no-rule::before { display: none; }

.lead { font-size: 1.2rem; color: var(--grey); line-height: 1.7; font-weight: 400; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 110px 0; }
.hairline { height: 1px; background: var(--line); border: 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head .kicker { margin-bottom: 24px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* editorial section number */
.idx { font-family: var(--font-display); font-size: 1rem; color: var(--line-dk); font-weight: 500; }

/* ---- Links / buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 15px 30px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-on-dark { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.btn-on-dark:hover { background: transparent; color: var(--paper); }

/* inline arrow link */
.arrow-link {
  font-family: var(--font-body); font-weight: 600; font-size: 0.84rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .2s ease, color .2s ease, border-color .2s ease;
}
.arrow-link:hover { gap: 14px; color: var(--clay); border-color: var(--clay); }

/* ---- Navigation ---- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(246,244,239,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 84px; gap: 24px; }
.brand { margin-right: auto; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--grey); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { border-bottom: 1px solid var(--clay); padding-bottom: 2px; }
.nav-cta { margin-left: 8px; }
.nav-cta.btn { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 5px auto; }

/* ---- Hero ---- */
.hero { padding: 0; }
.hero-inner { padding: 96px 0 104px; }
.hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.hero h1 { max-width: 14ch; margin-bottom: 0; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-top: 48px; }
.hero-grid p { font-size: 1.25rem; color: var(--grey); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-meta { display: flex; flex-direction: column; gap: 0; }
.hero-meta .row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.hero-meta .row:last-child { border-bottom: 1px solid var(--line); }
.hero-meta .row span:first-child { color: var(--grey); letter-spacing: 0.02em; }
.hero-meta .row span:last-child { font-weight: 600; text-align: right; }

/* full-width image band */
.hero-figure {
  margin-top: 8px; aspect-ratio: 21/8; width: 100%;
  background: linear-gradient(120deg, var(--paper-2), #E5DECF);
}

/* image placeholder */
.ph {
  display: grid; place-items: center; text-align: center; gap: 8px;
  background: var(--paper-2); color: var(--grey);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.ph .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .ph-emoji { font-size: 2rem; opacity: 0.6; }
.ph .kicker { color: var(--grey); }
.ph .kicker::before { background: var(--grey); }
.ph small { font-size: 0.74rem; }

/* ---- Bands ---- */
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--paper); }
.band-ink .lead { color: rgba(246,244,239,0.66); }
.band-ink .hairline { background: rgba(246,244,239,0.16); }
.band-ink .kicker { color: #D9A877; }
.band-ink .kicker::before { background: #D9A877; }
.band-paper2 { background: var(--paper-2); }

/* ---- Grids / cards ---- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* flat editorial cells separated by hairlines */
.cell { background: var(--paper); padding: 36px 32px; }
.band-ink .grid { background: rgba(246,244,239,0.16); border-color: rgba(246,244,239,0.16); }
.band-ink .cell { background: var(--ink); }
.band-paper2 .cell { background: var(--paper-2); }
.cell .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--clay); display: block; margin-bottom: 18px; }
.cell h3 { margin-bottom: 10px; }
.cell p { color: var(--grey); font-size: 0.97rem; }
.cell .ico { font-size: 1.5rem; display: block; margin-bottom: 16px; }

/* free-standing card grid (gapped, no hairline frame) */
.tiles { display: grid; gap: 28px; }

/* ---- Menu list ---- */
.menu-list { border-top: 1px solid var(--line); }
.menu-row { display: flex; align-items: baseline; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.menu-row .mr-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; white-space: nowrap; }
.menu-row .mr-dots { flex: 1; border-bottom: 1px dotted var(--line-dk); transform: translateY(-4px); }
.menu-row .mr-desc { color: var(--grey); font-size: 0.95rem; max-width: 40ch; }
.menu-row .mr-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--clay); white-space: nowrap; }
.menu-row .mr-price em { font-style: italic; font-size: 0.9rem; color: var(--grey); }
@media (max-width: 720px) {
  .menu-row { flex-wrap: wrap; gap: 6px 16px; }
  .menu-row .mr-dots { display: none; }
  .menu-row .mr-desc { flex-basis: 100%; order: 3; }
}

.owner-note { font-size: 0.85rem; color: var(--clay-dk); border-left: 2px solid var(--clay); padding: 6px 0 6px 18px; margin-top: 28px; }
.owner-note strong { color: var(--ink); }

/* ---- Editorial split (image + text) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4/5; }
.split-body .lead { margin-top: 18px; }
.split-body .btn, .split-body .arrow-link { margin-top: 28px; }

/* ---- Schedule ---- */
.sched { border-top: 1px solid var(--line); }
.sched-row {
  display: flex; align-items: center; gap: 28px;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease, background .2s ease;
}
.sched-row:hover { padding-left: 16px; background: var(--paper-2); }
.sched-row .s-date { flex: 0 0 92px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.05; }
.sched-row .s-date small { display:block; font-family: var(--font-body); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.sched-row .s-meta { flex: 1; color: var(--grey); font-size: 0.92rem; }
.sched-row .s-time { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.sched-row.past { opacity: 0.4; }
.sched-row.next { background: var(--ink); color: var(--paper); padding-left: 16px; padding-right: 16px; }
.sched-row.next .s-meta { color: rgba(246,244,239,0.6); }
.sched-row.next .s-date small { color: #D9A877; }
.sched-row .next-flag {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); background: #D9A877; padding: 4px 10px; margin-left: 14px;
}

/* keep the data-date hooks usable as rows */
.date-card { /* alias so shared JS class works visually */ }

.vendor-cols { columns: 3; column-gap: 48px; }
.vendor-cols .v { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--grey); }
.vendor-cols .v.us { color: var(--ink); font-weight: 700; }
.band-ink .vendor-cols .v { border-color: rgba(246,244,239,0.16); color: rgba(246,244,239,0.62); }
.band-ink .vendor-cols .v.us { color: var(--paper); }
@media (max-width: 760px) { .vendor-cols { columns: 1; } }

/* ---- Flyer gallery + lightbox ---- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.flyer { position: relative; cursor: zoom-in; }
.flyer-frame { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.flyer img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.flyer:hover img { transform: scale(1.03); }
.flyer .flyer-ph { width: 100%; height: 100%; }
.flyer figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; font-size: 0.86rem; color: var(--grey); }
.flyer figcaption .arrow-link { border: 0; padding: 0; color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(22,20,15,0.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; }
.lightbox-close { position: absolute; top: 26px; right: 30px; width: 44px; height: 44px; border: 1px solid rgba(246,244,239,0.4); background: transparent; color: var(--paper); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.lightbox-close:hover { background: rgba(246,244,239,0.12); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.info-list { border-top: 1px solid var(--line); }
.info-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-row h4 { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.info-row p { color: var(--ink); }
.info-row .arrow-link { margin-top: 12px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 12px 0; font-family: var(--font-body); font-size: 1rem; border: 0; border-bottom: 1px solid var(--line-dk); background: transparent; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.map-ph { aspect-ratio: 16/10; margin-top: 32px; }
.note { font-size: 0.78rem; color: var(--grey); margin-top: 14px; }

/* ---- CTA strip ---- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer .brand-name { font-size: 1.7rem; }
.footer p { color: var(--grey); font-size: 0.94rem; margin-top: 18px; max-width: 34ch; }
.footer h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 0.92rem; color: var(--grey); }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--grey); }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  :root { --gutter: 28px; }
  section { padding: 80px 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 28px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sched-row { flex-wrap: wrap; gap: 6px 20px; }
  .sched-row .s-meta { flex-basis: 100%; order: 3; }
}
