/* =========================================================================
   Lupine Brewing Co. — moody cellar-and-tap design system
   Archetype: vintage industrial editorial, letterpress character, ledger
   tap lists, dark candlelit-cellar bands with warm amber spotlights.
   Type: Bitter slab serif (display) + Work Sans (body).
   ========================================================================= */

:root {
  /* palette (from design_dna) */
  --char: #1a1714;        /* near-black charcoal base */
  --char-2: #221d18;      /* slightly lifted band */
  --char-3: #2c2620;      /* card / ruled-row fill */
  --amber: #c2703d;       /* warm amber primary */
  --amber-lite: #d68a55;
  --hop: #5f7a3f;         /* hop-green accent */
  --hop-lite: #82984f;
  --cream: #ede3d2;       /* aged-cream paper for type */
  --cream-dim: #c4b69f;
  --cream-faint: #8c8170;
  --brass: #9a7b4f;       /* oxidized brass detail */
  --brass-lite: #b59465;

  --hair: rgba(237,227,210,.16);   /* letterpress hairline rule */
  --hair-soft: rgba(237,227,210,.09);
  --shadow: 0 24px 60px -28px rgba(0,0,0,.85);

  --ff-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --ff-body: 'Work Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--char);
  color: var(--cream);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: .002em;
  /* faint paper grain over the whole page */
  background-image:
    radial-gradient(rgba(237,227,210,.018) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 3px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--amber-lite); text-decoration: none; transition: color .18s; }
a:hover { color: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--cream);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

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

.skip-only {
  position: absolute; left: -9999px;
}

/* ---- ornamental letterpress divider (reused) ---- */
.orn {
  display: flex; align-items: center; gap: .9rem;
  color: var(--brass); margin: 0;
}
.orn::before, .orn::after {
  content: ""; height: 1px; flex: 1; background: var(--hair);
}
.orn-dot { width: 6px; height: 6px; transform: rotate(45deg); background: var(--amber); flex: none; }

/* =========================================================================
   eyebrows + headings rhythm
   ========================================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass-lite);
  margin: 0 0 1rem;
}
.eyebrow.hop { color: var(--hop-lite); }

.h-xl { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.h-lg { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--cream-dim);
  max-width: 60ch;
  line-height: 1.6;
}

/* =========================================================================
   ledger topbar
   ========================================================================= */
.ledger-bar {
  background: #14110e;
  border-bottom: 1px solid var(--hair);
  font-size: .76rem;
  letter-spacing: .04em;
}
.ledger-in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 36px; flex-wrap: wrap;
}
.lb-item { color: var(--cream-dim); }
.lb-est { letter-spacing: .18em; text-transform: uppercase; color: var(--brass-lite); font-weight: 600; font-size: .68rem; }
.lb-rule { flex: 1; height: 1px; background: var(--hair-soft); min-width: 18px; }
.lb-phone { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; color: var(--cream); font-weight: 500; }
.lb-phone:hover { color: var(--amber); }
.lb-hopcone svg { width: 14px; height: 14px; fill: none; stroke: var(--amber); stroke-width: 1.4; }
.lb-hours { color: var(--cream-faint); }

/* =========================================================================
   sticky nav — wordmark like a bottle label
   ========================================================================= */
.taphead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(20,17,14,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.taphead-in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand-mark svg { width: 26px; height: 33px; fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-linecap: round; display: block; }
.brand-words { display: flex; flex-direction: column; line-height: .95; }
.brand-name { font-family: var(--ff-display); font-weight: 800; font-size: 1.42rem; letter-spacing: -.02em; }
.brand-sub { font-family: var(--ff-body); font-weight: 600; font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--brass-lite); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 1.55rem; margin-left: auto; }
.nav a {
  position: relative;
  font-family: var(--ff-body);
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-dim); padding: 4px 0;
}
.nav a:hover { color: var(--cream); }
.nav a.active { color: var(--amber-lite); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber);
}
.nav-cta {
  font-family: var(--ff-body);
  font-size: .8rem !important; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--char) !important;
  background: var(--amber);
  padding: .55rem 1.1rem !important;
  border-radius: 1px;
  transition: background .18s, transform .18s;
}
.nav-cta:hover { background: var(--amber-lite); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; background: none; border: 1px solid var(--hair);
  border-radius: 2px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--cream); transition: transform .25s, opacity .2s; }

/* =========================================================================
   buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .85rem 1.55rem; border-radius: 1px; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, color .18s, transform .18s, border-color .18s;
  line-height: 1;
}
.btn-primary { background: var(--amber); color: var(--char); }
.btn-primary:hover { background: var(--amber-lite); color: var(--char); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--cream); border-color: var(--brass); }
.btn-line:hover { border-color: var(--amber); color: var(--amber-lite); transform: translateY(-2px); }
.btn-hop { background: var(--hop); color: var(--cream); }
.btn-hop:hover { background: var(--hop-lite); color: var(--char); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* =========================================================================
   HERO — dark full-bleed cellar photo, wordmark low-left like a bottle label
   ========================================================================= */
.hero {
  position: relative; min-height: clamp(560px, 86vh, 820px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.2) 38%, rgba(20,17,14,.78) 78%, var(--char) 100%),
    linear-gradient(90deg, rgba(20,17,14,.82) 0%, rgba(20,17,14,.35) 50%, rgba(20,17,14,.1) 100%);
}
.hero-in {
  position: relative; z-index: 2;
  width: 100%; padding-bottom: clamp(2.6rem, 6vw, 4.5rem); padding-top: 5rem;
}
.hero-label {
  max-width: 660px;
  border-left: 2px solid var(--amber);
  padding-left: clamp(1.1rem, 3vw, 1.9rem);
}
.hero-eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--amber-lite); display: block; margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  line-height: .98; margin-bottom: 1.1rem; font-weight: 800;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.32rem); color: var(--cream); max-width: 52ch; margin-bottom: 1.4rem; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-body { color: var(--cream-dim); max-width: 50ch; margin-bottom: 1.9rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll {
  position: absolute; bottom: 1.4rem; right: var(--pad); z-index: 3;
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-faint);
  display: flex; align-items: center; gap: .6rem;
}
.hero-scroll .line { width: 38px; height: 1px; background: var(--brass); display: inline-block; }

/* =========================================================================
   section scaffolding — ledger pages w/ left-rail labels
   ========================================================================= */
.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; position: relative; }
.section.band { background: var(--char-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section.cellar { background: #14110e; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

/* a ledger row: left rail label + ruled content */
.ledger-head {
  display: grid; grid-template-columns: clamp(120px, 18%, 200px) 1fr; gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline; margin-bottom: 2.6rem;
}
.ledger-rail {
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
  font-size: 1rem; color: var(--brass-lite);
  border-top: 2px solid var(--amber); padding-top: .7rem;
}
.ledger-rail .num { display: block; font-style: normal; font-weight: 700; font-size: 2.2rem; color: var(--cream); letter-spacing: -.02em; line-height: 1; margin-top: .2rem; }
.ledger-body { max-width: 62ch; }
.ledger-body .eyebrow { margin-bottom: .7rem; }

@media (max-width: 720px) {
  .ledger-head { grid-template-columns: 1fr; gap: .8rem; }
  .ledger-rail { border-top: none; padding-top: 0; }
  .ledger-rail .num { display: inline; font-size: 1rem; margin-right: .5rem; }
}

/* =========================================================================
   TRUST STRIP — ruled credibility ledger
   ========================================================================= */
.trust { background: #14110e; border-bottom: 1px solid var(--hair); }
.trust-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-cell {
  padding: 1.9rem clamp(.9rem, 2vw, 1.6rem);
  border-left: 1px solid var(--hair-soft);
  text-align: left;
}
.trust-cell:first-child { border-left: none; }
.trust-cell b {
  font-family: var(--ff-display); display: block; font-size: 1.32rem; color: var(--amber-lite); margin-bottom: .25rem; font-weight: 700;
}
.trust-cell span { font-size: .82rem; color: var(--cream-dim); line-height: 1.45; display: block; }
@media (max-width: 880px) { .trust-in { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(odd) { border-left: none; }
  .trust-cell { border-top: 1px solid var(--hair-soft); }
  .trust-cell:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 460px) { .trust-in { grid-template-columns: 1fr; }
  .trust-cell { border-left: none; border-top: 1px solid var(--hair-soft); }
  .trust-cell:first-child { border-top: none; }
}

/* =========================================================================
   TAP LIST — chalkboard ledger of ruled rows
   ========================================================================= */
.taplist-sec { position: relative; }
.tapboard {
  background: #13100d;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  position: relative;
}
.tapboard::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--hair-soft); pointer-events: none;
}
.tapboard-cap {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .6rem;
  border-bottom: 2px solid var(--amber); padding-bottom: .9rem; margin-bottom: .3rem;
}
.tapboard-cap h3 { margin: 0; font-size: 1.05rem; letter-spacing: .04em; }
.tapboard-cap .cap-r { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lite); }

.tap-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: .6rem 1.2rem;
  align-items: baseline;
  padding: 1.15rem .4rem 1.1rem;
  border-bottom: 1px solid var(--hair-soft);
}
.tap-row:last-child { border-bottom: none; }
.tap-num {
  font-family: var(--ff-display); font-size: .82rem; color: var(--brass); width: 1.6rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tap-main { min-width: 0; }
.tap-name {
  font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; color: var(--cream); margin: 0 0 .1rem; line-height: 1.15;
}
.tap-style { font-size: .8rem; letter-spacing: .04em; color: var(--hop-lite); text-transform: uppercase; font-weight: 600; }
.tap-notes { font-size: .92rem; color: var(--cream-dim); margin: .4rem 0 0; line-height: 1.55; }
.tap-abv {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; color: var(--amber); white-space: nowrap;
  font-variant-numeric: tabular-nums; text-align: right;
}
.tap-abv span { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-faint); margin-top: 2px; }
@media (max-width: 600px) {
  .tap-row { grid-template-columns: auto 1fr; }
  .tap-abv { grid-column: 2; text-align: left; font-size: 1.1rem; }
}

.taplist-foot { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.taplist-foot p { margin: 0; color: var(--cream-dim); font-size: .9rem; }

/* =========================================================================
   SPLIT FEATURE (story / taproom) — photo + ledger copy
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; height: 100%; object-fit: cover; min-height: 340px;
  border: 1px solid var(--hair); box-shadow: var(--shadow);
}
.split-media .frame-tag {
  position: absolute; bottom: -1px; left: -1px;
  background: var(--amber); color: var(--char);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  padding: .4rem .9rem;
}
.split-body p { color: var(--cream-dim); }
.split-body .lede { color: var(--cream); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
}

/* feature list (taproom amenities) */
.feat-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.feat-list li { padding: 1rem 0; border-top: 1px solid var(--hair-soft); display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feat-list li:first-child { border-top: 1px solid var(--hair); }
.feat-ic { color: var(--amber); width: 22px; height: 22px; margin-top: 3px; flex: none; }
.feat-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat-list b { font-family: var(--ff-display); display: block; font-size: 1.05rem; color: var(--cream); margin-bottom: .15rem; }
.feat-list span { font-size: .92rem; color: var(--cream-dim); }

/* =========================================================================
   EVENTS — ledger cards
   ========================================================================= */
.ev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.ev-cell {
  padding: clamp(1.5rem, 3vw, 2.3rem); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  position: relative; background: var(--char-2);
  transition: background .2s;
}
.ev-cell:hover { background: var(--char-3); }
.ev-when { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hop-lite); font-weight: 600; margin-bottom: .7rem; display: block; }
.ev-cell h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.ev-cell p { color: var(--cream-dim); margin: 0; font-size: .96rem; }
@media (max-width: 680px) { .ev-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   TESTIMONIALS — letterpress quote ledger
   ========================================================================= */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.quote {
  background: var(--char-3); border: 1px solid var(--hair); padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--ff-display); font-size: 4.5rem; color: var(--amber);
  position: absolute; top: -.2rem; left: 1rem; line-height: 1; opacity: .5;
}
.quote p { font-family: var(--ff-display); font-size: 1.12rem; line-height: 1.5; color: var(--cream); font-style: italic; margin: 1.2rem 0 1.3rem; position: relative; }
.quote-by { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--hair-soft); padding-top: 1rem; }
.quote-by .star { color: var(--amber); letter-spacing: .15em; font-size: .8rem; }
.quote-by b { font-family: var(--ff-body); font-weight: 600; font-size: .92rem; color: var(--cream); }
.quote-by span { font-size: .8rem; color: var(--cream-faint); }
@media (max-width: 680px) { .quote-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ — ruled accordion-style ledger (details/summary)
   ========================================================================= */
.faq-list { border-top: 1px solid var(--hair); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hair-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem .2rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; color: var(--cream);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; color: var(--amber); font-family: var(--ff-body); font-weight: 400; font-size: 1.7rem; line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--amber-lite); }
.faq-q-num { font-size: .8rem; color: var(--brass); font-variant-numeric: tabular-nums; flex: none; }
.faq-a { padding: 0 .2rem 1.4rem 2.4rem; color: var(--cream-dim); max-width: 64ch; }
.faq-a p { margin: 0; }

/* =========================================================================
   PAGE HERO (interior pages) — short cellar banner
   ========================================================================= */
.page-hero {
  position: relative; padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden; border-bottom: 1px solid var(--hair);
}
.page-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero .ph-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,14,.72), rgba(20,17,14,.88) 60%, var(--char));
}
.page-hero-in { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--amber-lite); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: .8rem; }
.page-hero .lede { color: var(--cream); }
.page-hero-label { border-left: 2px solid var(--amber); padding-left: clamp(1rem, 3vw, 1.8rem); max-width: 720px; }

/* =========================================================================
   CTA band — riverside dusk
   ========================================================================= */
.cta-band {
  position: relative; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden;
  border-top: 1px solid var(--hair);
}
.cta-band .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.cta-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,17,14,.93) 0%, rgba(20,17,14,.7) 55%, rgba(20,17,14,.4) 100%);
}
.cta-in { position: relative; z-index: 2; max-width: 620px; border-left: 2px solid var(--amber); padding-left: clamp(1.1rem, 3vw, 1.9rem); }
.cta-in h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.cta-in .lede { color: var(--cream); margin-bottom: 1.8rem; }
.cta-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

/* =========================================================================
   GALLERY — uneven brick grid + lightbox
   ========================================================================= */
.gal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gal-item {
  position: relative; overflow: hidden; cursor: pointer; background: var(--char-3); border: 1px solid var(--hair);
  aspect-ratio: 4 / 3;
}
.gal-item.tall { grid-row: span 2; aspect-ratio: 4 / 6; }
.gal-item.wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; filter: brightness(.92); }
.gal-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gal-item::after {
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--hair-soft);
  background: linear-gradient(0deg, rgba(20,17,14,.5), transparent 45%); pointer-events: none;
}
.gal-cap { position: absolute; bottom: 0; left: 0; z-index: 2; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); background: rgba(20,17,14,.6); padding: .35rem .7rem; }
@media (max-width: 760px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } .gal-item.wide { grid-column: span 2; } .gal-item.tall { grid-row: span 1; aspect-ratio: 4/3; } }
@media (max-width: 440px) { .gal-grid { grid-template-columns: 1fr; } .gal-item.wide { grid-column: span 1; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,8,6,.95);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 84vh; width: auto; object-fit: contain; border: 1px solid var(--hair); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(26,23,20,.8); border: 1px solid var(--hair); color: var(--cream);
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .18s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--amber); color: var(--char); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-size: .8rem; letter-spacing: .18em; color: var(--cream-dim); text-transform: uppercase; }

/* =========================================================================
   CONTACT / VISIT form
   ========================================================================= */
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } }

.c-form { margin-top: .5rem; }
.field { display: block; margin-bottom: 1.2rem; }
.field-l { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: .5rem; }
.req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; background: #13100d; border: 1px solid var(--hair); color: var(--cream);
  font-family: var(--ff-body); font-size: 1rem; padding: .8rem .95rem; border-radius: 1px;
  transition: border-color .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); background: #181410; outline: none; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b59465' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 540px) { .field-grid { grid-template-columns: 1fr; } }
.field.has-err input, .field.has-err select { border-color: #c2563d; }
.field-err { display: block; color: #df7a5d; font-size: .8rem; margin-top: .35rem; }
.c-note { font-size: .8rem; color: var(--cream-faint); margin-top: .9rem; }

.form-success {
  background: var(--char-3); border: 1px solid var(--hop); padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 2px;
}
.fs-check { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: var(--hop); align-items: center; justify-content: center; margin-bottom: 1rem; }
.fs-check svg { width: 26px; height: 26px; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fs-sub { color: var(--cream-dim); }
.fs-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* visit info cards / hours */
.vcard { background: var(--char-3); border: 1px solid var(--hair); padding: 1.5rem; margin-bottom: 1.1rem; }
.vcard h3 { font-size: 1.15rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.vcard h3 svg { width: 18px; height: 18px; fill: none; stroke: var(--amber); stroke-width: 1.6; }
.vcard p, .vcard address { font-style: normal; color: var(--cream-dim); margin: 0; font-size: .95rem; line-height: 1.6; }
.vcard .vphone { font-family: var(--ff-display); font-size: 1.5rem; color: var(--amber-lite); font-weight: 700; }
.vhours { list-style: none; margin: 0; padding: 0; }
.vhours li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--hair-soft); font-size: .92rem; }
.vhours li:last-child { border-bottom: none; }
.vhours li span:first-child { color: var(--cream); }
.vhours li span:last-child { color: var(--cream-dim); }
.vhours li.closed span:last-child { color: var(--cream-faint); }

.map-frame {
  position: relative; background: #13100d; border: 1px solid var(--hair); aspect-ratio: 16/9; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image: linear-gradient(rgba(237,227,210,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(237,227,210,.04) 1px, transparent 1px);
  background-size: 26px 26px;
}
.map-frame .mf-in { position: relative; z-index: 1; }
.map-frame .mf-pin { width: 40px; height: 40px; margin: 0 auto .6rem; color: var(--amber); }
.map-frame .mf-pin svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.map-frame b { font-family: var(--ff-display); color: var(--cream); display: block; }
.map-frame span { font-size: .82rem; color: var(--cream-faint); }

/* =========================================================================
   small util / mini cards on home
   ========================================================================= */
.mini-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--hair); }
.mini-cta p { margin: 0; color: var(--cream-dim); }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-lite); border: 1px solid var(--hair); padding: .35rem .8rem; border-radius: 1px; }

.prose { max-width: 68ch; }
.prose p { color: var(--cream-dim); }
.prose h2 { margin-top: 2.2rem; }

/* =========================================================================
   mobile nav
   ========================================================================= */
@media (max-width: 940px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); height: 100vh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: #14110e; border-left: 1px solid var(--hair);
    padding: 6rem 2rem 2rem; margin: 0;
    transform: translateX(105%); transition: transform .3s ease; z-index: 70;
  }
  .head.open .nav, #head.open .nav { transform: translateX(0); }
  .nav a { padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--hair-soft); letter-spacing: .06em; }
  .nav a.active::after { display: none; }
  .nav-cta { margin-top: 1.4rem; text-align: center; border-bottom: none !important; }
  #head.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #head.open .menu-btn span:nth-child(2) { opacity: 0; }
  #head.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,8,6,.6); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  #head.open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
