/* Nomad Hookah — design system
   Palette + type per 01-Brand-Identity/Nomad-Hookah-Brand-Guidelines.pdf
   Dark (default — this is a nighttime, mobile-lounge brand, not a daytime one):
     sand #ece4d4 on #17130f, Ember #e2954a accent.
   Light (opt-in via the theme toggle): Ink #2a2620 on Paper #f6f1e8, Ember #c9862f.
*/

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/Source-Serif-4-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/Source-Serif-4-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/Source-Serif-4-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrains-Mono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrains-Mono-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrains-Mono-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Dark only — this is a nighttime, mobile-lounge brand. No light theme. */
  --paper: #17130f;
  --paper-raised: #241e16;
  --ink: #ece4d4;
  --ink-soft: #a89a83;
  --ember: #e2954a;
  --ember-soft: #e2954a26;
  --border: #332b21;
  --border-strong: #3d3326;
  --danger: #e2694a;
  --shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.7);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 0.75em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.mono { font-family: "JetBrains Mono", monospace; }
.muted { color: var(--ink-soft); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-border-top { border-top: 1px solid var(--border); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ember); color: #1c1610; border-color: var(--ember); }
.btn-primary:hover { background: color-mix(in srgb, var(--ember) 88%, black); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 1.1em 2em; font-size: 0.92rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid, not translucent+blurred: backdrop-filter creates a new containing
     block for any position:fixed descendant (the mobile nav panel lives in
     this header), which would otherwise trap that panel inside the 84px
     header box instead of the full viewport. */
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-lockup { height: 40px; width: auto; overflow: visible; }
.brand-icon { height: 44px; width: auto; overflow: visible; flex-shrink: 0; }
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.brand-name .co {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* The icon/lockup SVGs ship with fixed brand hex values baked into their paths
   (the wordmark is permanent vector art, never live text — see brand brief).
   Retint those exact values to the theme tokens so the same artwork works in
   dark mode without ever redrawing the wordmark in a substitute font. */
.brand-lockup [fill="#2a2620"], .brand-icon [fill="#2a2620"] { fill: var(--ink); }
.brand-lockup [stroke="#2a2620"], .brand-icon [stroke="#2a2620"] { stroke: var(--ink); }
.brand-lockup [fill="#6b6255"], .brand-icon [fill="#6b6255"] { fill: var(--ink-soft); }
.brand-lockup [stroke="#6b6255"], .brand-icon [stroke="#6b6255"] { stroke: var(--ink-soft); }
.brand-lockup [fill="#c9862f"], .brand-icon [fill="#c9862f"] { fill: var(--ember); }
.brand-lockup [stroke="#c9862f"], .brand-icon [stroke="#c9862f"] { stroke: var(--ember); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-color: var(--ember); }
.nav-right { display: flex; align-items: center; gap: 14px; }


.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }
  .nav-links a { width: 100%; padding: 14px 0; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
  body.nav-open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.8em; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art svg { width: min(280px, 60vw); height: auto; color: var(--ink); }
.hero-badges { display: flex; gap: 24px; margin-top: 2.6em; flex-wrap: wrap; }
.hero-badge { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }

/* Hero slide text — one block per photo, cross-fades in sync with the background slide */
.hero-text-stack { display: grid; }
.hero-text-stack .hero-slide-text {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.hero-text-stack .hero-slide-text.active { opacity: 1; pointer-events: auto; z-index: 1; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-bottom: 12px; }
  .hero-art svg { width: 160px; }
}

/* Photographic hero (replaces the flat illustration-only hero on the homepage) */
.hero-photo.section-mood {
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  padding: clamp(90px, 12vw, 130px) 0 clamp(60px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.hero-photo .container { width: 100%; }
.hero-photo .sub { color: #d9cfbe; }
.hero-photo .hero-badge { color: #c9bfaa; }
.hero-outline-light { border-color: #f6f1e8; color: #f6f1e8; }
.hero-outline-light:hover { background: #f6f1e8; color: #17130f; }

/* Rotating background slides */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 22%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-photo.section-mood::before { z-index: 1; }
.hero-photo.section-mood .container { z-index: 2; }

.hero-slide-dots {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(246,241,232,0.35); transition: background 0.3s ease, transform 0.3s ease; }
.hero-dot.active { background: var(--ember); transform: scale(1.3); }

/* Compact photo header band for interior pages (Packages, Flavors, ...) */
.page-header.section-mood {
  padding: clamp(56px, 9vw, 90px) 0;
  background-size: cover;
  background-position: center;
}
.page-header .muted { color: #d9cfbe; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 2.5em; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step .num { font-family: "JetBrains Mono", monospace; color: var(--ember); font-size: 0.85rem; display: block; margin-bottom: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Feature cards: Events We Cater / Why Nomad / differentiators */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 2.5em; }
.feature-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; background: var(--paper-raised);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--ember); }
.feature-card .icon-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ember-soft); color: var(--ember);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.feature-card:hover .icon-badge { transform: scale(1.12) rotate(-4deg); }
.feature-card .icon-badge svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { font-size: 0.95rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Service area city tags */
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8em; }
.city-tag {
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
  padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--ink-soft);
}

/* Dark mood section (photography-forward bands, independent of the theme toggle) */
.section-mood {
  background: #17130f;
  color: #ece4d4;
  background-size: cover;
  background-position: center;
  position: relative;
}
.section-mood::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,15,0.55), rgba(23,19,15,0.85));
}
.section-mood .container { position: relative; z-index: 1; }
.section-mood h1, .section-mood h2, .section-mood h3 { color: #f6f1e8; }
.section-mood .eyebrow { color: var(--ember); }
.section-mood p { color: #d9cfbe; }
.section-mood .muted { color: #b7ab97; }

/* Cards / packages */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 2.5em; }
.package-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--paper-raised);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ember); }
.package-card.featured { border-color: var(--ember); box-shadow: var(--shadow); }
.package-card .tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--ember); color: #1c1610;
  font-family: "JetBrains Mono", monospace; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.package-card h3 { margin-bottom: 0; }
.package-card .tagline { color: var(--ink-soft); font-size: 0.9rem; margin: 2px 0 0; }
.package-card .price { font-family: "JetBrains Mono", monospace; font-size: 1.9rem; font-variant-numeric: tabular-nums; margin: 4px 0; }
.package-card .price .unit { font-size: 0.85rem; color: var(--ink-soft); }
.package-card .meta { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: var(--ink-soft); }
.package-card ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.package-card ul li { display: flex; gap: 8px; align-items: baseline; }
.package-card ul li::before { content: "—"; color: var(--ember); flex-shrink: 0; }
.package-card .btn { margin-top: auto; white-space: normal; text-align: center; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

/* Pricing table (full packages page) */
.price-table-wrap { overflow-x: auto; margin-top: 2em; border: 1px solid var(--border); border-radius: var(--radius); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
table.price-table th, table.price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.price-table th {
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  background: var(--paper-raised);
}
table.price-table td.num, table.price-table th.num { font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; }
table.price-table tr:last-child td { border-bottom: none; }
table.price-table tr.featured td { background: var(--ember-soft); }

.addons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 2em; }
.addon-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--paper-raised);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.addon-row:hover { border-color: var(--ember); transform: translateX(4px); }
.addon-row .top-row { display: flex; justify-content: space-between; width: 100%; align-items: baseline; gap: 12px; }
.addon-row .name { font-size: 0.98rem; font-weight: 600; }
.addon-row .amount { font-family: "JetBrains Mono", monospace; color: var(--ember); flex-shrink: 0; }
.addon-row .desc { font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 700px) { .addons-grid { grid-template-columns: 1fr; } }

/* Flavors */
.flavor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2.5em; }
.flavor-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--paper-raised); transition: border-color 0.2s ease, transform 0.2s ease; }
.flavor-card:hover { border-color: var(--ember); transform: translateY(-4px); }
.flavor-card .cat { font-family: "JetBrains Mono", monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); display: block; margin-bottom: 10px; }
.flavor-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 900px) { .flavor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .flavor-grid { grid-template-columns: 1fr; } }

/* Trust / empty states */
.empty-state {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 64px) 24px;
  text-align: center;
  background: var(--paper-raised);
}
.empty-state .icon { color: var(--ember); margin: 0 auto 18px; width: 40px; height: 40px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 2.5em; }
.gallery-grid .ph {
  aspect-ratio: 4/5; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: repeating-linear-gradient(135deg, var(--paper-raised), var(--paper-raised) 10px, transparent 10px, transparent 20px);
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 0.7rem; color: var(--ink-soft); text-align: center; padding: 12px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Homepage "The Vibe" — large-image slider, not a small thumbnail grid.
   Mood/style imagery, not claimed as real events. */
.vibe-slider { position: relative; margin-top: 2.5em; }
.vibe-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px calc((100% - min(100%, 1120px)) / 2 + 24px) 20px;
  margin: 0 calc((min(100%, 1120px) - 100%) / 2 - 24px);
  scrollbar-width: none;
}
.vibe-track::-webkit-scrollbar { display: none; }
.vibe-slide-item {
  position: relative; flex: 0 0 min(640px, 82vw); scroll-snap-align: center;
  aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-raised);
}
.vibe-slide-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.vibe-slide-item:hover img { transform: scale(1.06); }
.vibe-slide-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.65));
}
.vibe-caption {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  color: #f6f1e8; font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
}

/* Static grid variant — used on the Gallery page's "style preview" section */
.vibe-grid-static { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2.5em; }
.vibe-grid-static .vibe-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; background: var(--paper-raised);
}
.vibe-grid-static .vibe-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.vibe-grid-static .vibe-item:hover img { transform: scale(1.08); }
.vibe-grid-static .vibe-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6));
}
[data-lightbox-group] { cursor: zoom-in; }

/* Lightbox — click any gallery photo to view it full-size with prev/next nav */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,8,6,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 90px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-img-wrap { position: relative; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox-img-wrap img {
  max-width: 100%; max-height: 78vh; display: block; margin: 0 auto;
  border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-caption {
  margin-top: 16px; color: #f6f1e8; font-family: "JetBrains Mono", monospace; font-size: 0.85rem;
}
.lightbox-close {
  position: absolute; top: -42px; right: -6px;
  background: none; border: none; color: #f6f1e8; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #f6f1e8;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
body.lightbox-locked { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox-overlay { padding: 70px 20px 40px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-close { top: -38px; right: 0; }
}
@media (max-width: 860px) { .vibe-grid-static { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vibe-grid-static { grid-template-columns: 1fr; } }
.vibe-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}
.vibe-nav:hover { border-color: var(--ember); }
.vibe-nav svg { width: 20px; height: 20px; }
.vibe-nav.prev { left: 8px; }
.vibe-nav.next { right: 8px; }
@media (max-width: 700px) {
  .vibe-nav { display: none; }
  .vibe-slide-item { flex-basis: 88vw; }
}

/* FAQ accordion */
.faq-list { margin-top: 2.5em; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-q .plus { font-family: "JetBrains Mono", monospace; color: var(--ember); font-size: 1.2rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--ink-soft); max-width: 68ch; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-note { margin-top: 10px; font-size: 0.85rem; }

/* Callout / notice boxes */
.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  background: var(--paper-raised);
  font-size: 0.95rem;
}
.notice.legal { border-left-color: var(--danger); }
.notice .eyebrow { margin-bottom: 0.4em; }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; margin-top: 2.5em; }
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper-raised); }
.contact-method .icon { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
.contact-method .label { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.contact-method .value { font-size: 1.05rem; }
.contact-method a { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 3px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--paper); color: var(--ink); font-family: "Source Serif 4", serif; font-size: 1rem;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 22px; }
.form-check input { margin-top: 4px; }
.form-status { margin-top: 16px; font-family: "JetBrains Mono", monospace; font-size: 0.85rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer-brand-block .brand-lockup { height: 46px; }
.footer-col h4 { font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--ember); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace; font-size: 0.75rem; color: var(--ink-soft);
}
.footer-bottom a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--ember); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Footer CTA band — always a forced-dark photo band, regardless of the
   light/dark toggle, so its text colors are fixed, not theme-reactive vars. */
.cta-band {
  background: #17130f var(--cta-band-image, none) center/cover;
  color: #f6f1e8; border-radius: var(--radius); padding: clamp(48px, 8vw, 84px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,15,0.6), rgba(23,19,15,0.88));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #f6f1e8; }
.cta-band .sub { color: #d9cfbe; max-width: 52ch; margin: 0 auto 1.8em; }
.cta-band .btn-outline { border-color: #f6f1e8; color: #f6f1e8; }
.cta-band .btn-outline:hover { background: #f6f1e8; color: #17130f; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ember); color: #1c1610; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

::selection { background: var(--ember-soft); color: var(--ink); }
