/* =====================================================================
   HAIR SALON DELIGHT — shared design tokens + base + components.
   LOCKED by the team lead. Page agents: read the STYLE-GUIDE, not this file.
   Direction: warm-neighborhood + clean-modern, editorial-restrained.
   Accent = deep violet, grounded in the brand's purple "DELIGHT" signage.
   ===================================================================== */

:root {
  /* ── Palette (LIGHT, pure-white base) ───────────────────────────── */
  --bg: #ffffff;            /* page background — white, the default for every section */
  --surface: #f6f4fb;       /* pale mauve tint of the accent — cards/media only */
  --surface-2: #eee9f7;     /* deeper mauve tint — avatar grounds / footer / insets */
  --text: #1c1a26;          /* near-black w/ faint violet undertone (~15:1 on white) */
  --text-muted: #6b6678;    /* muted body / captions */
  --accent: #5a3d9e;        /* deep violet (the DELIGHT sign, deepened) ~8:1 on white */
  --accent-deep: #46306f;   /* darker violet — small links / hover */
  --accent-strong: #241a3d; /* near-black violet — the ONE dark band bg (white text ~16:1) */
  --border: #e8e3f0;        /* hairline */
  --border-strong: #d6cee6; /* stronger hairline / rules */

  /* ── Type ───────────────────────────────────────────────────────── */
  --font-display: "Fraunces", Georgia, serif;            /* Latin display: brand, numerals, EN accents */
  --font-body: "Hanken Grotesk", system-ui, sans-serif;  /* Latin body / nav labels / kickers */
  --font-jp: "Zen Kaku Gothic New", system-ui, sans-serif; /* Japanese body + headings */

  /* ── Radius (edge mix by role) ──────────────────────────────────── */
  --radius: 10px;       /* small rounded */
  --radius-lg: 18px;    /* rounded media / content cards */
  --radius-pill: 999px; /* buttons / tags / avatars */

  /* ── Rhythm ─────────────────────────────────────────────────────── */
  --nav-h: 74px;
  --section-y: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset / base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Layout container — modifiers ALWAYS paired with the base ───────────
   class="container"  ·  class="container container--wide"  ·  container--narrow
   The modifier ONLY overrides max-width; alone it loses margin/padding. */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.container--wide { max-width: 1340px; }
.container--narrow { max-width: 880px; }

/* ── Section rhythm ────────────────────────────────────────────────── */
.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 text auto-inverts). */
.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 header system (the salon's chosen style) ──────────────────
   thin top hairline · Fraunces index numeral (+ optional EN label) · large light JP title.
   Use on EVERY section header — do NOT fall back to a generic eyebrow+title. */
.section-head { max-width: 760px; }
.section-head__rule {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding-top: 1rem; border-top: 1px solid var(--border-strong);
}
.section-head__index {
  font-family: var(--font-display); font-size: 1rem; line-height: 1;
  color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .03em;
}
.section--invert .section-head__index { color: #fff; }
.section-head__label {
  font-family: var(--font-body); font-size: .7rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--text-muted);
}
.section-head__title {
  font-family: var(--font-jp); font-weight: 400;
  font-size: clamp(1.65rem, 3.6vw, 2.6rem); line-height: 1.34; letter-spacing: .035em;
  margin-top: 1.25rem;
}
.section-head__lead {
  color: var(--text-muted); font-size: 1rem; line-height: 2; margin-top: 1.25rem;
}

/* Small standalone kicker (Fraunces / EN) when a numbered head isn't used. */
.kicker {
  font-family: var(--font-display); font-style: italic;
  color: var(--accent); font-size: 1.05rem; letter-spacing: .02em;
}

/* ── Buttons (pills) ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-jp); font-weight: 500; font-size: .95rem; letter-spacing: .06em;
  line-height: 1; padding: 1.05em 2.2em; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.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); }       /* for dark bands */
.btn--light:hover { background: rgba(255,255,255,.85); }

/* ── Tag / chip (pill) ─────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; font-family: var(--font-body);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--surface-2);
  padding: .5em 1.05em; border-radius: var(--radius-pill);
}
.section--invert .tag { color: #fff; }

/* ── Content card (rounded) ────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* ── Media frames (edge mix by role) ───────────────────────────────────
   .frame = SHARP (feature/editorial media, gallery, ledger panels)
   .frame--round = ROUNDED (soft/secondary media, the map, supporting photos) */
.frame { position: relative; overflow: hidden; border-radius: 0; background: var(--surface-2); }
.frame--round { border-radius: var(--radius-lg); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }

/* ── Avatar (circle) — monogram fallback ground if ever needed ─────────── */
.avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-pill);
  display: grid; place-items: center; overflow: hidden;
  background: var(--surface-2); color: var(--accent);
  font-family: var(--font-display); font-size: 2.4rem;
}

/* ── Hairline divider ──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); border: 0; }

/* ── Subpage header (recruit / staff) ──────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.25rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--border);
}
.page-header__title {
  font-family: var(--font-jp); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.3; letter-spacing: .04em;
}
.page-header__en {
  font-family: var(--font-display); font-style: italic; color: var(--accent);
  font-size: 1.05rem; margin-bottom: .9rem;
}

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

/* ── Scroll-reveal (the ONLY reveal system; gated on html.js) ──────────── */
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; }
}

/* =====================================================================
   navbar.css (baked) appended below — fallback :root + bare .container
   stripped so they never override the locked tokens above.
   ===================================================================== */

/* =====================================================================
   navbar.css — self-contained navbar styling for the baked partials.

   Extracted from the reference system's bh/globals.tsx nav block
   (salon-generator-fresh) and dedented into a standalone stylesheet.
   Pair this with one HTML partial from this folder (see manifest.json).

   ── DESIGN-TOKEN CONTRACT ─────────────────────────────────────────────
   The generated page MUST define these CSS variables in :root, otherwise
   the navbar falls back to the values below:

     --bg          page background (light)         e.g. #faf8f5
     --text        primary text                    e.g. #1a1815
     --text-muted  muted text (icon nav links)     e.g. #6b6660
     --accent      brand accent                    e.g. #b08d57
     --border      hairline border color           e.g. #e3ddd4
     --font-display  display / heading font (brand) e.g. "Cormorant Garamond", serif
     --font-body     latin body font (nav labels)   e.g. "Jost", sans-serif
     --font-jp       Japanese font                  e.g. "Zen Kaku Gothic New", sans-serif

   ── BODY CLASS CONTRACT (only matters for the two *-cinema variants) ──
   - Home/hero pages with a dark image hero:  <body>            (nav starts transparent over hero)
   - Subpages WITHOUT a dark image header:    <body class="is-subpage">
   - Subpages WITH a dark image header:        <body class="is-subpage has-dark-image-header">

   ── LAYOUT NOTE ──────────────────────────────────────────────────────
   The nav is position:fixed. Give the page's first section enough top
   padding (or the <body>) so content isn't hidden under the bar (~72-88px).
   ===================================================================== */

/* 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 {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.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;
}
