/* =====================================================================
   Lum. 立川 — shared design tokens & base system  (LOCKED design system)
   Light-dominant · pure-white base · deep-plum/aubergine accent.
   Editorial / quiet-luxe for adult women. Signature motif: the Lum. arc.
   Every page links THIS file and uses ONLY these tokens & classes.
   navbar.css is appended at the very bottom (its :root + bare .container
   were stripped so they cannot override the lock).
   ===================================================================== */

:root {
  /* ---- surfaces (LIGHT, white-dominant) ---- */
  --bg: #ffffff;                /* main page background — always white */
  --surface: #f6f2ec;           /* warm taupe (tint of the espresso accent) — cards/media/avatars/footer ONLY */
  --surface-2: #ece4d8;         /* slightly deeper warm taupe — nested chips/placeholders */

  /* ---- text ---- */
  --text: #1f1b16;              /* near-black, warm undertone (≈17:1 on white) */
  --text-muted: #6b6258;        /* muted warm grey (≈5.4:1 on white) */

  /* ---- accent (deep espresso brown — simple, warmth-matched; no image color to derive) ---- */
  --accent: #4a3829;            /* deep espresso brown — ≈11:1 on white, safe for text */
  --accent-deep: #34271b;       /* darker espresso — links / hover / small text */
  --accent-strong: #221912;     /* near-black brown — the dark band bg (white text ≈18:1) */

  /* ---- lines ---- */
  --border: #e7e0d4;            /* warm hairline */
  --border-strong: #d3c8b8;     /* stronger warm hairline / ledger rules */

  /* ---- type ---- */
  --font-display: "Cormorant Garamond", Georgia, serif;          /* latin display + brand */
  --font-jp-display: "Shippori Mincho", "Cormorant Garamond", serif; /* JP headings */
  --font-body: "Jost", "Zen Kaku Gothic New", system-ui, sans-serif; /* latin labels / nav */
  --font-jp: "Zen Kaku Gothic New", system-ui, sans-serif;       /* JP body */

  /* ---- radius (edge mix by role) ---- */
  --radius: 6px;                /* rounded content cards / secondary media */
  --radius-lg: 14px;            /* larger rounded — map, large rounded media */
  --radius-pill: 999px;         /* buttons / tags */

  /* ---- rhythm ---- */
  --section-y: clamp(5rem, 9.5vw, 9rem);
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* widths */
  --w: 1200px;
  --w-wide: 1360px;
  --w-narrow: 760px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.18; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

/* anchor targets clear the fixed navbar */
[id] { scroll-margin-top: 96px; }

/* ------------------------------------------------------------ container */
.container {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.25rem);
}
.container--wide   { max-width: var(--w-wide); }
.container--narrow { max-width: var(--w-narrow); }

/* -------------------------------------------------------------- section */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* The ONE allowed full-width fill: a DARK accent band. White-alpha overlays
   make this adapt to the accent automatically. Alternate with white. */
.section--invert {
  background: var(--accent-strong);
  color: #fff;
  --text: #fff;
  --text-muted: rgba(255,255,255,.70);
  --surface: rgba(255,255,255,.07);
  --surface-2: rgba(255,255,255,.13);
  --accent-deep: rgba(255,255,255,.90);
  --border: rgba(255,255,255,.14);
  --border-strong: rgba(255,255,255,.30);
}
.section--invert .card { background: var(--surface); border-color: var(--border); }

/* ----------------------------------------------------- section headers
   CHOSEN STYLE for Lum.: a running index number (Cormorant, light, plum)
   beside a JP mincho title, over/under a hairline rule. Apply consistently.
   NOT the generic "english eyebrow + jp title on every section". */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head__rule {
  display: flex; align-items: baseline; gap: 1.1rem;
  border-top: 1px solid var(--border-strong);
  padding-top: 1rem;
}
.sec-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400; font-style: italic;
  color: var(--accent);
  line-height: 1; letter-spacing: 0.02em;
}
.sec-label {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-muted);
}
.sec-title {
  font-family: var(--font-jp-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  letter-spacing: 0.04em; line-height: 1.3;
  margin-top: 0.6rem;
}
.sec-lead {
  font-family: var(--font-jp);
  color: var(--text-muted);
  max-width: 46ch; margin-top: 1rem; line-height: 2;
}

/* display / lead type helpers */
.display {
  font-family: var(--font-jp-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.32;
}
.display-en {
  font-family: var(--font-display);
  font-weight: 300; font-style: italic;
  letter-spacing: 0.01em; line-height: 1.05;
}
.kicker {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ------------------------------------------------- signature: the arc
   Inline SVG (see STYLE-GUIDE). .lum-arc sizes it; stroke = currentColor. */
.lum-arc { display: block; width: clamp(56px, 7vw, 96px); height: auto; color: var(--accent); }
.lum-arc--center { margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.95em 2.1em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--outline { background: transparent; color: var(--accent-deep); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--accent-strong); }   /* use on dark bands */
.btn--light:hover { background: rgba(255,255,255,.86); }
.btn--ghost { background: transparent; color: var(--text); border-color: transparent; padding-inline: 0; border-radius: 0; }
.btn--ghost:hover { color: var(--accent); }

/* ------------------------------------------------------------ tags / chips */
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent-deep);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4em 1em;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card__title {
  font-family: var(--font-jp-display);
  font-size: 1.2rem; font-weight: 500; letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
}

/* small stat / value figure */
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400; line-height: 1; color: var(--accent);
}
.stat__label { font-family: var(--font-jp); font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.08em; }

/* ----------------------------------------------------- media frames
   Edge-mix by role: SHARP for feature/editorial/gallery/ledger,
   ROUNDED for soft/secondary media + the map. */
.frame { overflow: hidden; border-radius: var(--radius-lg); }   /* rounded media */
.frame--sharp { overflow: hidden; border-radius: 0; }            /* sharp media */
.frame img, .frame--sharp img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------- price ledger (on white)
   Text-heavy lists sit DIRECTLY on white — a label over a top hairline +
   hairline-ruled rows. NEVER a half-empty cream card. (Sharp panel.) */
.ledger { border-top: 1px solid var(--border-strong); }
.ledger__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.ledger__name { font-family: var(--font-jp); font-weight: 500; letter-spacing: 0.02em; }
.ledger__sub { font-family: var(--font-jp); font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; line-height: 1.7; }
.ledger__price { font-family: var(--font-display); font-size: 1.45rem; color: var(--accent); white-space: nowrap; }

/* --------------------------------------------------- page-header (subpages) */
.page-header { padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-header__title {
  font-family: var(--font-jp-display); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: 0.05em; line-height: 1.25;
}
.page-header__en {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--accent); letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- footer
   Shared footer (pasted verbatim on every page). On --surface (allowed). */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.site-footer__name { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; margin-top: 0.5rem; line-height: 1; }
.site-footer__tag { font-family: var(--font-jp); font-size: 0.85rem; color: var(--text-muted); margin-top: 0.7rem; letter-spacing: 0.06em; line-height: 1.8; }
.site-footer__info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
.site-footer__info dt { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.45rem; }
.site-footer__info dd { margin: 0; font-family: var(--font-jp); font-size: 0.9rem; line-height: 1.85; }
.site-footer__info a { text-decoration: none; transition: color .3s var(--ease); }
.site-footer__info a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--border); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__nav a { font-family: var(--font-jp); font-size: 0.8rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.06em; transition: color .3s var(--ease); }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__copy { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--text-muted); text-transform: uppercase; }
@media (max-width: 720px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- scroll reveal
   The ONLY entrance-animation system. Gated on html.js; reduced-motion safe. */
html.js .reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------- small utilities */
.text-accent { color: var(--accent); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }


/* ===================================================================
   navbar.css — appended from navbar-partials/navbar.css.
   STRIPPED: the fallback :root block and the bare .container selector
   (they would override the locked tokens / container above).
   =================================================================== */
/* Minimal self-contained helpers (the reference app defines these globally;
   reproduced here so the partials work on a bare page). The generated page
   may reuse .container for its own content width. */
nav.bh-nav a,
.mob-menu a { text-decoration: none; color: inherit; }
nav.bh-nav .container {
  /* nav reuses the page .container width defined in the lock above;
     keep only the nav-scoped copy so the bare .container can't override it. */
  width: 100%;
  margin-inline: auto;
}

.link-slide { position: relative; display: inline-block; padding-bottom: 2px; }
.link-slide::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.link-slide:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Nav (base — shared across all variants) ─────────────────────── */
nav.bh-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), background 0.3s ease, border-color 0.3s ease;
}
nav.bh-nav .container { padding-block: 1.1rem; }
nav.bh-nav .nav-links { display: flex; gap: 2rem; }
nav.bh-nav .nav-links a {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
nav.bh-nav .brand {
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em;
  white-space: nowrap; transition: color 0.3s ease;
}
nav.bh-nav .hamburger {
  display: none; flex-direction: column; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.bh-nav .hamburger span {
  width: 22px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* ── Hamburger morph variants — open/close animation ────────────────── */

/* 1. classic-rotate (default) — simultaneous rotate + fade. */
nav.bh-nav .hamburger--morph-classic-rotate.open span:nth-child(1) {
  transform: translate3d(0, 7px, 0) rotate(45deg);
}
nav.bh-nav .hamburger--morph-classic-rotate.open span:nth-child(2) {
  opacity: 0;
}
nav.bh-nav .hamburger--morph-classic-rotate.open span:nth-child(3) {
  transform: translate3d(0, -7px, 0) rotate(-45deg);
}

/* 2. collapse-then-x — two-stage in BOTH directions via @property. */
@property --ham-ty-bh {
  syntax: "<length>"; inherits: false; initial-value: 0px;
}
@property --ham-rot-bh {
  syntax: "<angle>"; inherits: false; initial-value: 0deg;
}
nav.bh-nav .hamburger--morph-collapse-then-x span {
  --ham-ty-bh: 0px;
  --ham-rot-bh: 0deg;
  transform: translate3d(0, var(--ham-ty-bh), 0) rotate(var(--ham-rot-bh));
  transition:
    --ham-rot-bh 0.225s cubic-bezier(0.65, 0, 0.35, 1),
    --ham-ty-bh 0.225s cubic-bezier(0.65, 0, 0.35, 1) 0.225s,
    opacity 0.3s, background 0.3s;
}
nav.bh-nav .hamburger--morph-collapse-then-x.open span:nth-child(1),
nav.bh-nav .hamburger--morph-collapse-then-x.open span:nth-child(3) {
  transition:
    --ham-ty-bh 0.225s cubic-bezier(0.65, 0, 0.35, 1),
    --ham-rot-bh 0.225s cubic-bezier(0.65, 0, 0.35, 1) 0.225s,
    opacity 0.3s, background 0.3s;
}
nav.bh-nav .hamburger--morph-collapse-then-x.open span:nth-child(1) {
  --ham-ty-bh: 7px;
  --ham-rot-bh: 45deg;
}
nav.bh-nav .hamburger--morph-collapse-then-x.open span:nth-child(2) {
  opacity: 0;
}
nav.bh-nav .hamburger--morph-collapse-then-x.open span:nth-child(3) {
  --ham-ty-bh: -7px;
  --ham-rot-bh: -45deg;
}

/* 3. spin-cross — whole button rotates 90° while spans morph to X. */
nav.bh-nav .hamburger--morph-spin-cross.open { transform: rotate(90deg); }
nav.bh-nav .hamburger--morph-spin-cross.open span:nth-child(1) {
  transform: translate3d(0, 7px, 0) rotate(45deg);
}
nav.bh-nav .hamburger--morph-spin-cross.open span:nth-child(2) {
  opacity: 0;
}
nav.bh-nav .hamburger--morph-spin-cross.open span:nth-child(3) {
  transform: translate3d(0, -7px, 0) rotate(-45deg);
}

/* Variant 1: solid-anchored — always solid bg, logo left / nav right */
nav.bh-nav.solid-anchored,
nav.bh-nav.solid-anchored-icons {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
nav.bh-nav.solid-anchored .container,
nav.bh-nav.solid-anchored-icons .container {
  display: flex; align-items: center; justify-content: space-between;
}
nav.bh-nav.solid-anchored-icons .container { padding-block: 0.85rem; }

/* Variant 8: frost-anchored — anchored sticky with frosted-glass bg. */
nav.bh-nav.frost-anchored {
  background: color-mix(in srgb, var(--bg) 35%, transparent);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 30%, transparent);
}
nav.bh-nav.frost-anchored .container {
  display: flex; align-items: center; justify-content: space-between;
}

/* ── Variants 9-12: floating navbars (pill|rounded × solid|frosted) ── */
nav.bh-nav.floating-pill-solid,
nav.bh-nav.floating-pill-frosted,
nav.bh-nav.floating-rounded-solid,
nav.bh-nav.floating-rounded-frosted {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1400px;
  border-bottom: none;
}
nav.bh-nav.floating-pill-solid .container,
nav.bh-nav.floating-pill-frosted .container,
nav.bh-nav.floating-rounded-solid .container,
nav.bh-nav.floating-rounded-frosted .container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: none;
  padding-inline: 1.75rem;
  padding-block: 0.85rem;
}
nav.bh-nav.floating-pill-solid,
nav.bh-nav.floating-pill-frosted {
  border-radius: 9999px;
}
nav.bh-nav.floating-pill-solid .container,
nav.bh-nav.floating-pill-frosted .container {
  padding-inline: 2.25rem;
}
nav.bh-nav.floating-rounded-solid,
nav.bh-nav.floating-rounded-frosted {
  border-radius: 14px;
}
nav.bh-nav.floating-pill-solid,
nav.bh-nav.floating-rounded-solid {
  background: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
nav.bh-nav.floating-pill-frosted,
nav.bh-nav.floating-rounded-frosted {
  background: color-mix(in srgb, var(--bg) 35%, transparent);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--border) 30%, transparent);
}
@media (max-width: 1024px) {
  nav.bh-nav.floating-pill-solid,
  nav.bh-nav.floating-pill-frosted,
  nav.bh-nav.floating-rounded-solid,
  nav.bh-nav.floating-rounded-frosted {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  }
  nav.bh-nav.floating-pill-solid .container,
  nav.bh-nav.floating-pill-frosted .container,
  nav.bh-nav.floating-rounded-solid .container,
  nav.bh-nav.floating-rounded-frosted .container {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 1.5rem;
  }
}
@media (max-width: 768px) {
  nav.bh-nav.floating-pill-solid .container,
  nav.bh-nav.floating-pill-frosted .container,
  nav.bh-nav.floating-rounded-solid .container,
  nav.bh-nav.floating-rounded-frosted .container {
    padding-inline: 1.5rem;
  }
}

/* Variant 2: transparent-cinema — transparent over hero, fades to solid */
nav.bh-nav.transparent-cinema {
  background: transparent;
  border-bottom: 1px solid transparent;
}
nav.bh-nav.transparent-cinema .container {
  display: flex; align-items: center; justify-content: space-between;
}
nav.bh-nav.transparent-cinema .brand,
nav.bh-nav.transparent-cinema .nav-links a { color: rgba(255,255,255,0.92); }
nav.bh-nav.transparent-cinema .hamburger span { background: rgba(255,255,255,0.92); }
nav.bh-nav.transparent-cinema.scrolled,
nav.bh-nav.transparent-cinema.menu-open {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}
nav.bh-nav.transparent-cinema.scrolled .brand,
nav.bh-nav.transparent-cinema.scrolled .nav-links a,
nav.bh-nav.transparent-cinema.menu-open .brand,
nav.bh-nav.transparent-cinema.menu-open .nav-links a { color: var(--text); }
nav.bh-nav.transparent-cinema.scrolled .hamburger span,
nav.bh-nav.transparent-cinema.menu-open .hamburger span { background: var(--text); }
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.transparent-cinema {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.transparent-cinema .brand,
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.transparent-cinema .nav-links a { color: var(--text); }
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.transparent-cinema .hamburger span { background: var(--text); }

/* Variant 3: hide-on-scroll — solid; slides up on scroll-down, reveals on scroll-up */
nav.bh-nav.hide-on-scroll,
nav.bh-nav.hide-on-scroll-icons {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
nav.bh-nav.hide-on-scroll .container,
nav.bh-nav.hide-on-scroll-icons .container {
  display: flex; align-items: center; justify-content: space-between;
}
nav.bh-nav.hide-on-scroll-icons .container { padding-block: 0.85rem; }
nav.bh-nav.hide-on-scroll.hidden,
nav.bh-nav.hide-on-scroll-icons.hidden { transform: translateY(-100%); }

/* Icon-equipped link styling (solid-anchored-icons + hide-on-scroll-icons) */
nav.bh-nav .nav-links-icons { gap: 1.75rem; align-items: stretch; }
nav.bh-nav .nav-link-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-block: 0.25rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
nav.bh-nav .nav-link-icon:hover { color: var(--accent); }
nav.bh-nav .nav-link-icon.active { color: var(--accent); }
nav.bh-nav .nav-icon {
  width: 22px; height: 22px;
  color: var(--text-muted);
  transition: color 0.3s;
}
nav.bh-nav .nav-link-icon:hover .nav-icon,
nav.bh-nav .nav-link-icon.active .nav-icon { color: var(--accent); }
nav.bh-nav .nav-icon-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

/* Variants 4 + 5: centered-split + centered-split-cinema (shared layout) */
nav.bh-nav.centered-split {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
nav.bh-nav.centered-split-cinema {
  background: transparent;
  border-bottom: 1px solid transparent;
}
nav.bh-nav.centered-split .container,
nav.bh-nav.centered-split-cinema .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
}
nav.bh-nav.centered-split .nav-links,
nav.bh-nav.centered-split-cinema .nav-links {
  gap: 2.75rem;
}
nav.bh-nav.centered-split .nav-links-left,
nav.bh-nav.centered-split-cinema .nav-links-left {
  justify-self: end;
}
nav.bh-nav.centered-split .nav-links-right,
nav.bh-nav.centered-split-cinema .nav-links-right {
  justify-self: start;
}
nav.bh-nav.centered-split .brand-centered,
nav.bh-nav.centered-split-cinema .brand-centered {
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  justify-self: center;
}
nav.bh-nav.centered-split-cinema .brand,
nav.bh-nav.centered-split-cinema .nav-links a { color: rgba(255,255,255,0.92); }
nav.bh-nav.centered-split-cinema .hamburger span { background: rgba(255,255,255,0.92); }
nav.bh-nav.centered-split-cinema.scrolled,
nav.bh-nav.centered-split-cinema.menu-open {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}
nav.bh-nav.centered-split-cinema.scrolled .brand,
nav.bh-nav.centered-split-cinema.scrolled .nav-links a,
nav.bh-nav.centered-split-cinema.menu-open .brand,
nav.bh-nav.centered-split-cinema.menu-open .nav-links a { color: var(--text); }
nav.bh-nav.centered-split-cinema.scrolled .hamburger span,
nav.bh-nav.centered-split-cinema.menu-open .hamburger span { background: var(--text); }
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.centered-split-cinema {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.centered-split-cinema .brand,
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.centered-split-cinema .nav-links a { color: var(--text); }
body.is-subpage:not(.has-dark-image-header) nav.bh-nav.centered-split-cinema .hamburger span { background: var(--text); }

@media (max-width: 1024px) {
  nav.bh-nav.centered-split .container,
  nav.bh-nav.centered-split-cinema .container {
    display: flex;
    justify-content: space-between;
  }
  nav.bh-nav.centered-split .nav-links-left,
  nav.bh-nav.centered-split .nav-links-right,
  nav.bh-nav.centered-split-cinema .nav-links-left,
  nav.bh-nav.centered-split-cinema .nav-links-right { display: none; }
  nav.bh-nav.centered-split .brand-centered,
  nav.bh-nav.centered-split-cinema .brand-centered { text-align: left; }
  nav.bh-nav.centered-split .hamburger,
  nav.bh-nav.centered-split-cinema .hamburger { display: flex; }
}
@media (max-width: 768px) {
  nav.bh-nav.solid-anchored .nav-links,
  nav.bh-nav.solid-anchored-icons .nav-links,
  nav.bh-nav.frost-anchored .nav-links,
  nav.bh-nav.transparent-cinema .nav-links,
  nav.bh-nav.hide-on-scroll .nav-links,
  nav.bh-nav.hide-on-scroll-icons .nav-links,
  nav.bh-nav.floating-pill-solid .nav-links,
  nav.bh-nav.floating-pill-frosted .nav-links,
  nav.bh-nav.floating-rounded-solid .nav-links,
  nav.bh-nav.floating-rounded-frosted .nav-links { display: none; }
  nav.bh-nav.solid-anchored .hamburger,
  nav.bh-nav.solid-anchored-icons .hamburger,
  nav.bh-nav.frost-anchored .hamburger,
  nav.bh-nav.transparent-cinema .hamburger,
  nav.bh-nav.hide-on-scroll .hamburger,
  nav.bh-nav.hide-on-scroll-icons .hamburger,
  nav.bh-nav.floating-pill-solid .hamburger,
  nav.bh-nav.floating-pill-frosted .hamburger,
  nav.bh-nav.floating-rounded-solid .hamburger,
  nav.bh-nav.floating-rounded-frosted .hamburger { display: flex; }
}

/* Mob menu — shared base. */
.mob-menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* ── Mob menu surface variants ────────────────────────────────────── */

/* 1. editorial-light (default) */
.mob-menu--style-editorial-light {
  background: var(--bg);
  padding: 6rem 2rem 2rem;
}
.mob-menu--style-editorial-light a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
}

/* 2. editorial-dark */
.mob-menu--style-editorial-dark {
  background: #1a1815;
  padding: 6rem 2rem 2rem;
}
.mob-menu--style-editorial-dark a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

/* 3. centered-minimal-light */
.mob-menu--style-centered-minimal-light {
  background: var(--bg);
  padding: 2rem;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.mob-menu--style-centered-minimal-light a {
  font-family: var(--font-jp);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* 4. centered-minimal-dark */
.mob-menu--style-centered-minimal-dark {
  background: #1a1815;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.mob-menu--style-centered-minimal-dark a {
  font-family: var(--font-jp);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}

/* 5. frosted */
.mob-menu--style-frosted {
  background: color-mix(in srgb, var(--bg) 35%, transparent);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  padding: 6rem 2rem 2rem;
}
.mob-menu--style-frosted a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
}

/* ── Mob menu reveal variants ─────────────────────────────────────── */

/* 1. slide-right (default) */
.mob-menu--reveal-slide-right {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-menu--reveal-slide-right.open { transform: translateX(0); }

/* 2. slide-top */
.mob-menu--reveal-slide-top {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-menu--reveal-slide-top.open { transform: translateY(0); }

/* 3. fade */
.mob-menu--reveal-fade {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mob-menu--reveal-fade.open {
  opacity: 1;
  pointer-events: auto;
}

/* 4. iris-from-button */
.mob-menu--reveal-iris-from-button {
  clip-path: circle(0% at 100% 0%);
  pointer-events: none;
  transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-menu--reveal-iris-from-button.open {
  clip-path: circle(150% at 100% 0%);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .mob-menu {
    transition: opacity 0.15s ease !important;
    transform: none !important;
    opacity: 0;
    pointer-events: none;
  }
  .mob-menu.open {
    transform: none !important;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── Keyboard focus (a11y) ─────────────────────────────────────────────
   Visible focus ring for keyboard users only (:focus-visible), on nav
   links, the hamburger, and drawer links. Uses the page accent token. */
nav.bh-nav a:focus-visible,
nav.bh-nav .hamburger:focus-visible,
.mob-menu a:focus-visible {
  outline: 2px solid var(--accent, #1a1a1a);
  outline-offset: 3px;
}
