/* ==========================================================
   Rye & Ember Barber House — styles
   Dark, warm, whiskey-lounge. 8px grid. One accent (amber).
   ========================================================== */

:root {
  /* Palette */
  --bg: #15100c;
  --surface: #1e1712;
  --surface-2: #271e17;
  --line: rgba(240, 225, 205, 0.10);
  --line-strong: rgba(240, 225, 205, 0.24);
  --text: #f1e8da;
  --muted: #a8998a;
  --accent: #d9953b;
  --accent-hover: #e5a64f;
  --on-accent: #15100c;
  --glow: rgba(217, 149, 59, 0.10);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1160px;
  --gutter: 24px;
  --section-y: clamp(72px, 10vw, 120px);
  --header-h: 72px;
  --btn-h: 48px;
  --r-btn: 6px;
  --r-card: 10px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --t: 180ms var(--ease);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd, address { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}

h2 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.02em; }
h3 { font-size: 24px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--r-btn);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.price {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  padding: 0 24px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: rgba(240, 225, 205, 0.5); background: rgba(240, 225, 205, 0.04); }

.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.btn-row--left { justify-content: flex-start; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: var(--btn-h);
  height: var(--btn-h);
  border-radius: var(--r-btn);
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t), background-color var(--t), opacity var(--t);
}
.icon-btn:hover:not(:disabled) { border-color: rgba(240, 225, 205, 0.5); background: rgba(240, 225, 205, 0.04); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color var(--t), border-color var(--t);
}
.link-arrow span[aria-hidden] { transition: transform var(--t); }
.link-arrow:hover { color: var(--accent-hover); border-color: currentColor; }
.link-arrow:hover span[aria-hidden] { transform: translateX(3px); }

.text-link { border-bottom: 1px solid var(--line-strong); transition: color var(--t), border-color var(--t); }
.text-link:hover { color: var(--accent-hover); border-color: currentColor; }

/* ---------- Placeholders ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  color: #f1e8da;
  background:
    radial-gradient(90% 80% at 28% 18%, rgba(160, 104, 52, 0.22), transparent 62%),
    linear-gradient(155deg, #2f231a 0%, #211812 52%, #18120d 100%);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(240, 225, 205, 0.05);
  border-radius: 6px;
  pointer-events: none;
}
.ph--warm {
  background:
    radial-gradient(80% 90% at 72% 30%, rgba(217, 149, 59, 0.16), transparent 60%),
    linear-gradient(200deg, #33251a 0%, #22190f 50%, #17110c 100%);
}
.ph--deep {
  background:
    radial-gradient(70% 70% at 50% 100%, rgba(150, 92, 44, 0.18), transparent 65%),
    linear-gradient(180deg, #241a13 0%, #1a130e 100%);
}

.ph-ill {
  width: 34%;
  height: auto;
  opacity: 0.2;
  stroke-width: 1.4;
  overflow: visible;
}
.ph-ill--razor { aspect-ratio: 2 / 1; width: 42%; }
.ph-ill--comb { aspect-ratio: 12 / 5; width: 40%; }
.ph-ill--scissors { aspect-ratio: 1; width: 24%; }
.ph-ill--brush { aspect-ratio: 8 / 11; width: 20%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  border-radius: 4px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links { display: none; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 0;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-book { padding: 0 20px; gap: 0; }
.header-book .hide-sm { white-space: pre; }

.menu-toggle {
  display: none;
  place-items: center;
  width: var(--btn-h);
  height: var(--btn-h);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-btn);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t);
}
.js .menu-toggle { display: grid; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav ul { padding-top: 8px; padding-bottom: 16px; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 24px;
}

.hide-sm { display: none; }

@media (min-width: 420px) {
  .hide-sm { display: inline; }
}

@media (min-width: 960px) {
  .header-bar { grid-template-columns: 1fr auto 1fr; gap: 32px; }
  .brand { align-items: center; }
  .header-bar > .brand { grid-column: 2; grid-row: 1; }
  .nav-left { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 3; grid-row: 1; gap: 32px; }
  .nav-links { display: flex; gap: 32px; }
  .js .menu-toggle { display: none; }
  .mobile-nav { display: none; }
  .brand-name { font-size: 22px; }
}

/* ---------- Hero ---------- */
.hero {
  --overlap: clamp(72px, 11vw, 160px);
  position: relative;
  background:
    radial-gradient(60% 70% at 50% 30%, var(--glow), transparent 70%),
    var(--surface);
  padding: clamp(64px, 9vw, 112px) 0 calc(var(--overlap) + clamp(48px, 6vw, 72px));
  text-align: center;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-title {
  max-width: 13ch;
  font-size: clamp(44px, 8.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 34rem;
  margin: 24px 0 40px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
}

.hero-media-wrap { position: relative; margin-top: calc(-1 * clamp(72px, 11vw, 160px)); }

.hero-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) {
  .hero-media { aspect-ratio: 21 / 9; }
}
.hero-media .ph-ill--razor { width: 30%; max-width: 360px; opacity: 0.18; }

.facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.facts li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.facts svg { color: var(--text); opacity: 0.7; flex: none; }

@media (min-width: 900px) {
  .facts { flex-direction: row; justify-content: center; gap: 0; }
  .facts li { padding: 0 32px; }
  .facts li + li { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--rule { border-top: 1px solid var(--line); }

.section-head { max-width: 40rem; margin-bottom: 48px; }
.section-lede { margin-top: 16px; color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

/* ---------- Signature ---------- */
.sig-grid { display: grid; gap: 24px; }
@media (min-width: 768px) and (max-width: 959px) {
  .sig-grid { grid-template-columns: 1fr 1fr; }
  .sig-card.is-featured { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .sig-grid { grid-template-columns: repeat(3, 1fr); }
}

.sig-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.sig-card.is-featured { background: var(--surface-2); border-color: rgba(217, 149, 59, 0.28); }

.ph--strip {
  height: 184px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.ph--strip .ph-ill--razor { width: 38%; max-width: 200px; }
.ph--strip .ph-ill--comb { width: 40%; max-width: 200px; }
.ph--strip .ph-ill--scissors { width: 22%; max-width: 104px; }

.badge {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(21, 16, 12, 0.82);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 32px 24px 24px; }
@media (min-width: 768px) { .card-body { padding: 32px; } }

.card-body h3 { font-size: 26px; }
.card-body > p { margin-top: 12px; color: var(--muted); font-size: 16px; }

.sig-meta {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.card-body > p { margin-bottom: 24px; }
.sig-meta dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.sig-meta dd { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.sig-meta dd.price { font-family: var(--serif); font-weight: 400; }

/* ---------- Menu ---------- */
.menu-layout { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .menu-layout { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
  .menu-intro { position: sticky; top: calc(var(--header-h) + 48px); }
}
.menu-intro .section-lede { margin-bottom: 32px; max-width: 26rem; }

.menu-panel { padding: 8px 24px 16px; }
@media (min-width: 768px) { .menu-panel { padding: 8px 40px 24px; } }

.menu-group + .menu-group { margin-top: 32px; }
.menu-group-title {
  padding: 24px 0 8px;
  font-size: 22px;
}

.tablist {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  flex: none;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t);
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t);
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:focus-visible { outline-offset: -2px; }

.tab-panel { padding-top: 8px; }
.tab-panel:focus-visible { outline-offset: 4px; }

.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.menu-item + .menu-item { border-top: 1px solid var(--line); }
.menu-item > div { min-width: 0; }
.menu-name { display: block; font-weight: 500; font-size: 17px; }
.menu-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.menu-item .price { font-size: 17px; flex: none; }

.menu-note { padding: 16px 0 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- House ---------- */
.house-layout { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .house-layout { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.house-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .house-media { aspect-ratio: 4 / 5; } }
.house-media .ph-ill--brush { width: 18%; max-width: 120px; }

.house-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); max-width: 32rem; }

.house-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.fact-title { display: block; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.2; }
.fact-note { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ---------- Team ---------- */
.container--bleed { padding-left: 0; padding-right: 0; }
@media (min-width: 960px) {
  .container--bleed { padding-left: var(--gutter); padding-right: var(--gutter); }
}

.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74%, 300px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 8px;
  scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card { scroll-snap-align: start; }

@media (min-width: 960px) {
  .team-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 0;
  }
}

.ph--portrait { aspect-ratio: 4 / 5; margin-bottom: 24px; }
.ph--portrait .ph-ill--razor { width: 50%; }
.ph--portrait .ph-ill--comb { width: 48%; }
.ph--portrait .ph-ill--scissors { width: 30%; }
.ph--portrait .ph-ill--brush { width: 24%; }

.team-card h3 { font-size: 22px; }
.team-card p { margin: 4px 0 16px; color: var(--muted); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.carousel-controls { display: none; gap: 8px; }
.js .carousel-controls { display: flex; }

.carousel { position: relative; }
.carousel::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
  transition: opacity var(--t);
}
.carousel.at-end::after { opacity: 0; }

.gallery-track {
  --g-h: 208px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: 4px; }
@media (min-width: 768px) { .gallery-track { --g-h: 340px; gap: 24px; } }
@media (min-width: 960px) { .gallery-track { padding: 0; scroll-padding: 0; } }

.g-item { flex: none; scroll-snap-align: start; }
.g-item figure { position: relative; height: var(--g-h); aspect-ratio: 1; }
.g-item--wide figure { aspect-ratio: 3 / 2; }
.g-item .ph { width: 100%; height: 100%; }
.g-item .ph-ill--razor { width: 46%; }
.g-item .ph-ill--comb { width: 42%; }
.g-item .ph-ill--scissors { width: 26%; }
.g-item .ph-ill--brush { width: 22%; }
.g-item figcaption {
  position: absolute;
  left: 24px; bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 32px;
}
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Visit ---------- */
.visit-layout { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .visit-layout { grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; }
}
.visit-info h2 { margin-bottom: 40px; }

.hours { padding: 8px 24px; }
@media (min-width: 768px) { .hours { padding: 8px 32px; } }
.hours-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hours-head h3 { font-size: 20px; }
.hours-status { color: var(--muted); font-size: 14px; text-align: right; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  margin: 0 -16px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  border-radius: var(--r-btn);
}
.hours-list li + li { border-top: 1px solid var(--line); }
.hours-list li > span:last-child { color: var(--muted); }
.hours-list li.is-today { background: var(--surface-2); border-top-color: transparent; }
.hours-list li.is-today + li { border-top-color: transparent; }
.hours-list li.is-today > span:first-child { font-weight: 600; }
.hours-list li.is-today > span:last-child { color: var(--text); }
.today-tag {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 40px 0 32px;
}
.contact-label {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-rows address, .contact-rows p { font-size: 17px; }
@media (min-width: 480px) { .contact-rows { grid-template-columns: 1fr 1fr; } }

.map {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  overflow: hidden;
  background-color: #1a140f;
  background-image:
    linear-gradient(rgba(240, 225, 205, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 225, 205, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
@media (min-width: 960px) { .map { min-height: 100%; } }

.map-streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-road path { fill: none; stroke: rgba(240, 225, 205, 0.06); stroke-width: 4; }
.map-road--major path { stroke: rgba(240, 225, 205, 0.10); stroke-width: 8; }
.map-river { fill: rgba(120, 140, 150, 0.08); }
.map-park { fill: rgba(140, 150, 100, 0.07); }

.map-pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -46px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.map-pin svg { flex: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.map-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--r-btn);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
}
.map-label strong { color: var(--text); font-weight: 600; font-size: 14px; }

/* ---------- Closing ---------- */
.closing {
  padding: var(--section-y) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: 16ch; font-size: clamp(36px, 5.4vw, 60px); }
.closing p { margin: 16px 0 40px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.brand--footer .brand-name { font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.footer-links a { color: var(--muted); font-size: 15px; transition: color var(--t); }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer-bottom a { border-bottom: 1px solid var(--line-strong); transition: color var(--t); }
.footer-bottom a:hover { color: var(--text); }

@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; gap: 24px; }
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  background: rgba(21, 16, 12, 0.96);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn-outline { background: var(--bg); }

@media (max-width: 959px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) {
  .mobile-bar { display: none; }
}

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
