/* BAC site — one stylesheet for every page (固定 layer). Built on the BAC V1.0 core colours:
   WHITE page, SUMI text, TATAMI for place bands, OCHRE only on Book controls (with WHITE text).
   Location worlds (zones/<id>/) are appended below by the build and may only set --loc-* tokens. */

/* Metric-matched fallback so Afacad arriving late does not move the layout (Arial-based). */
@font-face { font-family: "Afacad Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 500;
  size-adjust: 87.9%; ascent-override: 113.8%; descent-override: 37.5%; line-gap-override: 0%; }
@font-face { font-family: "Afacad Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700;
  size-adjust: 82.2%; ascent-override: 121.6%; descent-override: 40.1%; line-gap-override: 0%; }

:root {
  /* V1.0 core */
  --bac-ochre: #EE933E;
  --bac-tatami: #C8C2AA;
  --bac-sumi: #131313;
  --bac-white: #FCFCFC;
  /* SUMI laid on WHITE */
  --bac-sumi-76: #4B4B4B;
  --bac-sumi-50: #888888;
  --bac-sumi-12: #E0E0E0;
  /* TATAMI laid thin on WHITE: the one surface for info panels (meeting point, notes, booking card, forms) */
  --bac-tatami-24: #EFEDE7;

  --color-bg: var(--bac-white);
  --color-surface: var(--bac-white);
  --color-panel: var(--bac-tatami-24);
  --color-ink: var(--bac-sumi);
  --color-ink-2: var(--bac-sumi-76);
  --color-ink-inverse: var(--bac-white);
  --color-line: var(--bac-sumi-12);
  --color-line-strong: var(--bac-sumi-50);
  --color-focus: var(--bac-sumi);
  --color-book: var(--bac-ochre);
  --color-book-ink: var(--bac-white); /* white text on OCHRE (ユン 11/10) */
  --book-hover-overlay: rgb(19 19 19 / 8%);
  --book-press-overlay: rgb(19 19 19 / 14%);
  --color-hover: rgb(19 19 19 / 5%);

  /* Location layer (調整): V1.0 defaults, overridden only on .w-<id> in zones/<id>/theme.css */
  --loc-bg: var(--bac-tatami);
  --loc-ink: var(--bac-sumi);
  --loc-muted: var(--bac-sumi-76);

  --font-script: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP";
  --font-text: "Afacad", "Afacad Fallback", var(--font-script), system-ui, sans-serif;
  --font-num: "Inter", system-ui, sans-serif;
  --fs-display: clamp(2.75rem, 1.905rem + 3.438vw, 5rem);
  --fs-h1: clamp(2.125rem, 1.703rem + 1.719vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.469rem + 1.146vw, 2.5rem);
  --fs-h3: clamp(1.375rem, 1.281rem + 0.382vw, 1.625rem);
  --fs-lead: clamp(1.25rem, 1.203rem + 0.191vw, 1.375rem);
  --fs-body: 1.125rem;
  --fs-ui: 1.0625rem;
  --fs-small: 1rem;
  --fs-price: clamp(1.25rem, 1.203rem + 0.191vw, 1.375rem);
  --fs-meta: 0.875rem;
  --fs-fine: 0.8125rem;
  /* Heading scale, largest first: hero h1 / page title and big section heads / detail title /
     group heads (studio groups, FAQ groups, studio names) / block heads on detail pages. */
  --fs-hero: clamp(2.75rem, 1.8rem + 4vw, 5rem);
  --fs-title: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --fs-subtitle: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-group: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-block: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --lh-display: 1;
  --lh-heading: 1.12;
  --lh-lead: 1.45;
  --lh-body: 1.6;
  --tracking-display: -0.02em;
  --tracking-heading: -0.01em;

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --gutter: max(clamp(1rem, 0.249rem + 3.056vw, 3rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --section-y: clamp(4rem, 2.6rem + 4.4vw, 7.5rem);
  --section-y-s: clamp(3rem, 2.2rem + 3vw, 5.5rem);
  --head-gap: clamp(1.5rem, 1rem + 1.6vw, 3rem);
  --w-content: 75rem;
  --header-h: 3.75rem;
  --bar-h: 4rem;
  --tap: 3rem;
  --logo-h: 2.5rem;
  --radius-s: 4px; --radius-m: 8px; --radius-l: 12px;
  --shadow-overlay: 0 16px 48px rgb(19 19 19 / 18%);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 280ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 50; --z-bar: 50; --z-menu: 60; --z-toast: 90;

  /* aliases kept for zones/ written against the first tokens */
  --bac-background: var(--color-bg);
  --bac-foreground: var(--color-ink);
  --bac-muted-foreground: var(--color-ink-2);
  --bac-border: var(--color-line);
  --bac-content: var(--w-content);
}
:lang(ja) { --font-script: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic"; }
:lang(zh-CN), :lang(zh-Hans) { --font-script: "PingFang SC", "Noto Sans SC", "Microsoft YaHei"; }
:lang(zh-TW), :lang(zh-Hant) { --font-script: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei"; }
:lang(ko) { --font-script: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic"; }
:lang(th) { --font-script: "Thonburi", "Noto Sans Thai", "Leelawadee UI"; }
:lang(ja), :lang(zh), :lang(ko), :lang(th) { --lh-body: 1.8; --lh-heading: 1.35; --lh-display: 1.2; --tracking-display: 0; --tracking-heading: 0; }
@media (min-width: 960px) { :root { --header-h: 4.5rem; --stick: var(--header-h); } }
/* Wide screens: scale the whole page in steps (the owner checks at ~2280 px). */
@media (min-width: 1600px) { html { zoom: 1.12; } }
@media (min-width: 1800px) { html { zoom: 1.24; } }
@media (min-width: 2100px) { html { zoom: 1.4; } }
@media (min-width: 2500px) { html { zoom: 1.6; } }
@media (prefers-reduced-motion: reduce) { :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--stick, 0px) + 1rem); }
@media (max-width: 959.98px) { html { scroll-padding-bottom: calc(var(--bar-space, calc(var(--bar-h) + env(safe-area-inset-bottom))) + 1rem); } }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: var(--lh-heading); letter-spacing: var(--tracking-heading); text-wrap: balance; }
p, li, .bac-card-meta, .bac-row-meta, .bac-compare-when, .bac-compare-best, .bac-rating { text-wrap: pretty; }
.bac-card-title, .bac-row-title, .bac-studio-name, .bac-policies strong { text-wrap: balance; }
.bac-nw { white-space: nowrap; }
.bac-paren { display: inline-block; }
.bac-qa summary > span { text-wrap: balance; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
::selection { background: var(--bac-tatami); color: var(--color-ink); }
.bac-icon { width: 1.25em; height: 1.25em; flex: none; }
.bac-ext { width: 0.95em; height: 0.95em; }
.bac-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bac-skip {
  position: absolute; left: var(--space-4); top: -100px; z-index: var(--z-toast);
  padding: var(--space-2) var(--space-4); background: var(--color-ink); color: var(--color-ink-inverse);
  border-radius: var(--radius-m); text-decoration: none;
}
.bac-skip:focus { top: var(--space-2); }
.bac-container,
.bac-header-inner,
.bac-band-inner,
.bac-footer-inner,
.bac-detail {
  width: 100%;
  max-width: calc(var(--w-content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.bac-fine { font-family: var(--font-num); font-size: var(--fs-fine); line-height: 1.4; color: var(--color-ink-2); }
.bac-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-ink-2); }
.bac-eyebrow { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 500; color: var(--loc-muted); }
.bac-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--loc-bg); color: var(--loc-muted); font-weight: 700; font-size: var(--fs-h3);
}

/* ---------- buttons and links ---------- */
.bac-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap); padding: 0 1.25rem;
  border: 1px solid transparent; border-radius: var(--radius-m);
  font: 700 var(--fs-ui)/1.2 var(--font-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.bac-btn .bac-icon { width: 18px; height: 18px; }
/* OCHRE = Book, nothing else; text on it is WHITE. Hover and press darken with a SUMI overlay, never a new hex. */
.bac-btn--book { background-color: var(--color-book); color: var(--color-book-ink); }
.bac-btn--book:hover { background-image: linear-gradient(var(--book-hover-overlay), var(--book-hover-overlay)); }
.bac-btn--book:active { background-image: linear-gradient(var(--book-press-overlay), var(--book-press-overlay)); }
.bac-btn--book:disabled { cursor: progress; opacity: 0.72; }
.bac-btn--ghost { background: transparent; border-color: var(--color-line-strong); color: var(--color-ink); font-weight: 500; }
.bac-btn--ghost:hover { background: var(--color-hover); }
.bac-btn--ink { background: var(--color-ink); color: var(--color-ink-inverse); }
.bac-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em;
}
.bac-link::after, .bac-rating::after { content: ""; position: absolute; inset: -10px -4px; }
.bac-link .bac-icon { width: 18px; height: 18px; }
.bac-more-link { margin-top: var(--space-4); }
.bac-block > .bac-more-link { margin-top: 0; }
.bac-icon-btn {
  display: grid; place-items: center; width: var(--tap); height: var(--tap); flex: none;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.bac-icon-btn:hover { background: var(--color-hover); }
.bac-icon-btn .bac-icon { width: 22px; height: 22px; }

/* ---------- header ---------- */
.bac-header { position: relative; z-index: var(--z-header); background: var(--color-bg); border-bottom: 1px solid var(--color-line); }
/* PC: the header stays on screen while scrolling (アガタ 11/19). Phones keep the bottom tab bar instead. */
@media (min-width: 960px) { .bac-header { position: sticky; top: 0; } }
.bac-header-inner { display: flex; align-items: center; gap: var(--space-4); height: var(--header-h); }
.bac-logo { flex: none; display: block; }
.bac-logo img { height: clamp(1.75rem, 1.6rem + 0.5vw, 2rem); width: auto; }
.bac-nav { display: none; }
.bac-header-tools { margin-left: auto; display: flex; align-items: center; gap: var(--space-1); }
.bac-header-faq {
  display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: var(--space-3);
  font-size: var(--fs-ui); font-weight: 500; text-decoration: none; border-radius: var(--radius-m);
}
.bac-header-faq[aria-current] { font-weight: 700; }
.bac-header-book { display: none; }
.bac-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--tap); padding-inline: var(--space-3);
  border: 0; border-radius: var(--radius-m); background: none;
  font-size: var(--fs-ui); font-weight: 500; text-decoration: none; cursor: pointer;
}
.bac-nav-link:hover, .bac-header-faq:hover { background: var(--color-hover); }
.bac-nav-link[aria-current], .bac-menu-toggle[data-current] { font-weight: 700; }
.bac-menu { position: relative; }
.bac-menu-chevron { width: 16px; height: 16px; transition: transform var(--dur-2); }
.bac-menu-toggle[aria-expanded="true"] .bac-menu-chevron { transform: rotate(180deg); }
.bac-menu-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: var(--z-menu);
  min-width: 18rem; padding: var(--space-2);
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-overlay);
}
.bac-menu-panel[hidden] { display: none; }
.bac-menu-panel a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--radius-m); text-decoration: none; line-height: 1.3; }
.bac-menu-panel a span { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-menu-panel a:hover, .bac-menu-panel a[aria-current] { background: var(--color-hover); }
.bac-menu-panel .bac-menu-all { margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--color-line); border-radius: 0 0 var(--radius-m) var(--radius-m); font-weight: 500; }
/* GTranslate's select, shown as "globe + language name". Width is fixed so nothing moves when it loads. */
.bac-lang {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--tap); padding-inline: 10px; border-radius: var(--radius-m);
}
.bac-lang:hover { background: var(--color-hover); }
.bac-lang-globe { width: 18px; height: 18px; }
.bac-lang-chevron { width: 14px; height: 14px; pointer-events: none; }
.bac-lang-label { font-size: var(--fs-ui); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.bac-lang .gtranslate_wrapper { position: absolute; inset: 0; }
.bac-lang select {
  -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer;
}
.bac-lang:focus-within { outline: 2px solid var(--color-focus); outline-offset: 0; }
/* Narrow phones (320–359 px): tighten the header so logo, FAQ and language fit on one line. */
@media (max-width: 359px) {
  .bac-header-inner { gap: var(--space-2); }
  .bac-header-faq { padding-inline: var(--space-2); }
  .bac-lang { gap: 4px; padding-inline: 6px; }
}
@media (max-width: 359px) {
  .bac-lang-globe { display: none; }
  .bac-book { column-gap: var(--space-2); }
  .bac-book-cta .bac-btn { padding-inline: 0.875rem; }
  .bac-band-loc span { display: none; }
}
@media (min-width: 960px) {
  .bac-nav { display: flex; align-items: center; gap: var(--space-1); margin-left: var(--space-6); }
  .bac-header-faq { display: none; }
  .bac-header-book { display: inline-flex; margin-left: var(--space-2); }
}

/* ---------- bottom bar (phones): the only fixed element on screen ---------- */
body.has-tabbar, body.has-bookbar { padding-bottom: var(--bar-space, calc(var(--bar-h) + env(safe-area-inset-bottom))); }
.bac-tabbar {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: var(--color-bg); border-top: 1px solid var(--color-line);
}
.bac-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; border-radius: var(--radius-m);
  color: var(--color-ink-2); text-decoration: none;
  font: 500 var(--fs-meta)/1.2 var(--font-num);
}
.bac-tab .bac-icon { width: 22px; height: 22px; }
.bac-tab[aria-current] { color: var(--color-ink); font-weight: 700; }
.bac-tab[aria-current] .bac-icon { stroke-width: 2.5; }
@media (min-width: 960px) {
  body.has-tabbar, body.has-bookbar { padding-bottom: 0; }
  .bac-tabbar { display: none; }
}

/* ---------- sections ---------- */
.bac-main { display: block; padding-bottom: var(--section-y); }
.bac-section { padding-top: var(--section-y); }
.bac-section--first { padding-top: var(--space-6); }
@media (min-width: 960px) { .bac-section--first { padding-top: var(--space-7); } }
.bac-section-head { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.bac-section-head h2 { font-size: var(--fs-h2); }
.bac-section-lead { color: var(--color-ink-2); font-size: var(--fs-small); }
.bac-page { padding-top: var(--space-6); }
.bac-page--narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.bac-page-head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.bac-page-head h1 { font-size: var(--fs-h1); }
.bac-block { display: flex; flex-direction: column; gap: var(--space-4); }
.bac-block h2 { font-size: var(--fs-h3); }

/* ---------- media: loops ---------- */
.bac-loop { position: relative; overflow: hidden; background: var(--bac-tatami); }
.bac-loop-video { width: 100%; height: 100%; object-fit: cover; }
.bac-loop-toggle {
  position: absolute; right: max(10px, env(safe-area-inset-right)); bottom: 10px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgb(19 19 19 / 56%); color: var(--color-ink-inverse); cursor: pointer;
}
.bac-loop-toggle::after { content: ""; position: absolute; inset: -4px; }
.bac-loop-toggle .bac-icon { width: 18px; height: 18px; stroke-width: 2.5; }
.bac-loop-play { display: none; fill: currentColor; }
.bac-loop.is-paused .bac-loop-pause { display: none; }
.bac-loop.is-paused .bac-loop-play { display: block; }

/* ---------- TOP hero ---------- */
.bac-hero-inner { display: grid; gap: var(--space-5); }
.bac-hero-media .bac-loop { aspect-ratio: 20 / 9; }
.bac-hero-copy { padding-inline: var(--gutter); }
.bac-hero h1 { font-size: var(--fs-h1); }
.bac-hero .bac-lead { margin-top: var(--space-3); }
.bac-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); font-size: var(--fs-small); font-weight: 500; }
.bac-trust li { display: inline-flex; align-items: center; gap: 6px; }
.bac-trust .bac-icon { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .bac-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-7);
    max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-7) var(--gutter) 0;
  }
  .bac-hero-copy { padding: 0; order: -1; }
  .bac-hero-media .bac-loop { aspect-ratio: 16 / 9; border-radius: var(--radius-l); }
}

/* ---------- studios ---------- */
.bac-studios { display: grid; gap: var(--space-3); }
.bac-studio {
  position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-4);
  padding: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius-l);
  background: var(--color-surface); text-decoration: none;
}
.bac-studio:hover { border-color: var(--color-line-strong); }
.bac-studio-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-m); background: var(--loc-bg); }
.bac-studio-media img { width: 100%; height: 100%; object-fit: cover; }
.bac-studio-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bac-studio-name { font-size: var(--fs-h3); }
.bac-studio-area { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-studio-facts { font-size: var(--fs-small); }
.bac-rating-text { font-family: var(--font-text); font-size: var(--fs-small); font-weight: 400; color: var(--color-ink-2); }
.bac-rating-text > [aria-hidden] { font-family: var(--font-num); font-size: 0.875em; color: var(--color-ink); }
.bac-studio-best { display: none; }
.bac-studio .bac-rating-text { display: none; }
.bac-studio-chevron { width: 20px; height: 20px; color: var(--color-ink-2); }
@media (min-width: 768px) {
  .bac-studios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .bac-studio { grid-template-columns: 1fr; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
  .bac-studio-media { aspect-ratio: 20 / 9; border-radius: 0; }
  .bac-studio-body { gap: 4px; padding: var(--space-4) var(--space-5) var(--space-5); }
  .bac-studio-best { display: block; margin-top: var(--space-2); font-size: var(--fs-small); color: var(--color-ink-2); }
  .bac-studio .bac-rating-text { display: block; }
  .bac-studio-chevron { position: absolute; right: var(--space-4); bottom: var(--space-5); }
  .bac-studios--compact .bac-studio-best { display: none; }
}
@media (min-width: 960px) {
  .bac-studios:has(> .bac-studio:only-child) { grid-template-columns: minmax(0, 1fr); }
  .bac-studios > .bac-studio:only-child { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bac-studios > .bac-studio:only-child .bac-studio-body { justify-content: center; padding: var(--space-6); }
  .bac-studios > .bac-studio:only-child .bac-studio-chevron { top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* ---------- activity cards ---------- */
.bac-cards { display: grid; gap: var(--space-3); }
.bac-card {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: start; align-content: start; gap: var(--space-4);
  padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-line); text-decoration: none;
}
.bac-card:last-child { padding-bottom: 0; border-bottom: 0; }
.bac-card-media { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-m); background: var(--bac-tatami); }
.bac-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.bac-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bac-card-place { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-card-title { font-size: 1.1875rem; line-height: 1.22; letter-spacing: 0; }
.bac-card-meta { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-card-price { font-size: var(--fs-small); }
.bac-card-price strong { font-family: var(--font-num); font-size: 1.0625rem; }
.bac-card-unit { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); white-space: nowrap; }
.bac-card-status { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 700; }
.bac-card:hover .bac-card-title, .bac-card:hover .bac-paren { text-decoration: underline; text-underline-offset: 0.18em; }
.bac-card:hover .bac-card-media img { transform: scale(1.03); }
@media (min-width: 600px) {
  .bac-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
  .bac-cards[data-count="3"], .bac-cards[data-count="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bac-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: var(--space-3); padding: 0; border: 0; }
  .bac-card-body { height: 100%; }
  .bac-card-price { margin-top: auto; padding-top: 2px; }
  .bac-card-media { aspect-ratio: 4 / 3; }
}
@media (min-width: 960px) {
  .bac-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* no lone card in a row: 3 → 3, 5 → 3 + 2 here, one row of 5 from 1200 px */
  .bac-cards[data-count="3"], .bac-cards[data-count="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bac-cards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 50rem; }
}
@media (min-width: 1200px) {
  .bac-cards[data-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Pages with several studio groups (TOP, /activities/): every group uses the same column count, so card sizes and edges match. */
@media (min-width: 600px) { .bac-cards[data-uniform] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (min-width: 960px) { .bac-cards[data-uniform] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bac-cards[data-uniform] { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bac-group + .bac-group { margin-top: var(--space-7); }
.bac-group-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px var(--space-4);
  margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-line);
}
.bac-group-head h2, .bac-group-head h3 { font-size: var(--fs-h3); }
.bac-group-head p { grid-column: 1; font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-group-head .bac-link { grid-column: 2; grid-row: 1 / span 2; font-size: var(--fs-small); }
@media (max-width: 599px) {
  .bac-group-head .bac-link { grid-column: 1; grid-row: auto; margin-top: 2px; }
}

/* ---------- rows (sheets, lists) ---------- */
.bac-rows { display: flex; flex-direction: column; }
.bac-row {
  display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 4.5rem; padding: var(--space-2) 0;
  border: 0; border-bottom: 1px solid var(--color-line); background: none;
  text-align: left; text-decoration: none; cursor: pointer;
}
.bac-rows li:last-child .bac-row { border-bottom: 0; }
.bac-row img, .bac-row-blank { flex: none; width: 56px; height: 56px; border-radius: var(--radius-m); object-fit: cover; background: var(--bac-tatami); }
.bac-row-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bac-row-title { font-size: var(--fs-ui); font-weight: 700; line-height: 1.25; }
.bac-row-meta { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-row-price { flex: none; font-family: var(--font-num); font-size: var(--fs-small); font-weight: 700; white-space: nowrap; }
.bac-row-from { font-family: var(--font-text); font-weight: 400; }
@media (max-width: 599px) {
  .bac-row:has(.bac-row-price) {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: 2px; align-items: center;
  }
  .bac-row:has(.bac-row-price) img { grid-row: 1 / span 2; align-self: start; }
  .bac-row:has(.bac-row-price) .bac-row-text { grid-column: 2; grid-row: 1; }
  .bac-row:has(.bac-row-price) .bac-row-price { grid-column: 2; grid-row: 2; }
  .bac-row:has(.bac-row-price) .bac-row-chevron { grid-column: 3; grid-row: 1 / span 2; }
}
.bac-row-chevron { width: 18px; height: 18px; color: var(--color-ink-2); }
.bac-row:hover .bac-row-title, .bac-row:hover .bac-paren { text-decoration: underline; text-underline-offset: 0.18em; }
.bac-rows--plain { border-top: 1px solid var(--color-line); }
.bac-rows--plain li:last-child .bac-row { border-bottom: 1px solid var(--color-line); }

/* ---------- sheets (Book, Locations) ---------- */
.bac-sheet {
  width: 100%; max-width: 100%; max-height: min(88dvh, 46rem); margin: auto auto 0; padding: 0;
  border: 0; border-radius: var(--radius-l) var(--radius-l) 0 0;
  background: var(--color-bg); color: var(--color-ink); box-shadow: var(--shadow-overlay);
}
.bac-sheet[open] { animation: bac-sheet-in var(--dur-3) var(--ease-out); }
.bac-sheet::backdrop { background: rgb(19 19 19 / 48%); }
@keyframes bac-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.bac-sheet-panel { display: flex; flex-direction: column; max-height: inherit; }
.bac-sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-2) calc(var(--gutter) - 13px) var(--space-2) var(--gutter); border-bottom: 1px solid var(--color-line);
}
.bac-sheet-head h2 { font-size: var(--fs-h3); }
.bac-sheet-body {
  display: flex; flex-direction: column; gap: var(--space-3); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-2) var(--gutter) calc(var(--space-5) + env(safe-area-inset-bottom));
}
.bac-sheet-group summary {
  display: flex; align-items: baseline; gap: var(--space-2); min-height: var(--tap); padding: var(--space-3) 0 var(--space-1);
  list-style: none; cursor: pointer;
}
.bac-sheet-group summary::-webkit-details-marker { display: none; }
.bac-sheet-group-name { font-size: var(--fs-ui); font-weight: 700; }
.bac-sheet-group-area { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-sheet-group-chevron { width: 18px; height: 18px; margin-left: auto; align-self: center; transition: transform var(--dur-2); }
.bac-sheet-group[open] .bac-sheet-group-chevron { transform: rotate(180deg); }
.bac-sheet-group + .bac-sheet-group { border-top: 1px solid var(--color-line); }
.bac-sheet-note { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
@media (min-width: 600px) {
  .bac-sheet { margin: auto; width: min(35rem, calc(100vw - 2rem)); max-height: min(80vh, 48rem); border-radius: var(--radius-l); }
}
.bac-toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 1rem + env(safe-area-inset-bottom)); z-index: var(--z-toast);
  transform: translateX(-50%); padding: 10px 16px; border-radius: var(--radius-m);
  background: var(--color-ink); color: var(--color-ink-inverse); font-size: var(--fs-small); box-shadow: var(--shadow-overlay);
}
.bac-toast:empty { padding: 0; box-shadow: none; }

/* ---------- hub world (standard world; a location's own world.html replaces the inner part) ---------- */
.bac-world { background: var(--loc-bg); color: var(--loc-ink); }
.bac-world-inner { display: grid; }
.bac-world-media .bac-loop, .bac-world-media .bac-world-img, .bac-world-media .bac-placeholder { aspect-ratio: 20 / 9; width: 100%; object-fit: cover; }
.bac-world-copy { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5) var(--gutter) var(--space-6); }
.bac-world h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tracking-display); }
.bac-world-area { font-size: var(--fs-ui); font-weight: 500; }
.bac-world-intro { font-size: var(--fs-small); color: var(--loc-muted); max-width: 36rem; }
.bac-summary {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2);
  margin-top: var(--space-3); padding-top: var(--space-4); border-top: 1px solid rgb(19 19 19 / 16%);
}
.bac-summary-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-3); font-size: var(--fs-ui); }
.bac-summary-facts strong { font-size: var(--fs-h3); }
.bac-summary-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap);
  font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em;
}
.bac-summary-link .bac-icon { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .bac-world-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-7);
    max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-7) var(--gutter);
  }
  .bac-world-media .bac-loop, .bac-world-media .bac-world-img { aspect-ratio: 16 / 10; border-radius: var(--radius-l); }
  .bac-world-copy { padding: 0; }
}

/* ---------- ratings and reviews ---------- */
.bac-rating {
  position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; width: fit-content; min-height: 2rem;
  font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 500; text-decoration: none;
}
.bac-rating-label { font-family: var(--font-text); font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-world .bac-rating-label { color: var(--loc-muted); }
.bac-rating-score { font-weight: 700; }
.bac-rating-count { text-decoration: underline; text-underline-offset: 0.25em; }
.bac-rating-ext { width: 14px; height: 14px; }
.bac-reviews { display: flex; flex-direction: column; border-top: 1px solid var(--color-line); }
.bac-reviews a {
  display: flex; align-items: center; gap: var(--space-3); min-height: 3.5rem;
  border-bottom: 1px solid var(--color-line); text-decoration: none; font-size: var(--fs-ui);
}
.bac-reviews .bac-icon { width: 16px; height: 16px; color: var(--color-ink-2); }
.bac-reviews-source { flex: 1; font-weight: 700; }
.bac-reviews-score { font-family: var(--font-num); font-weight: 700; }
.bac-reviews-count { font-family: var(--font-num); font-size: var(--fs-meta); text-decoration: underline; text-underline-offset: 0.25em; }
.bac-reviews + .bac-fine { margin-top: var(--space-3); }
.bac-review-grid { display: grid; gap: var(--space-5); }
.bac-review-studio + .bac-review-studio { margin-top: var(--space-5); }
.bac-review-studio h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.bac-review-list .bac-fine { margin-top: var(--space-4); }
.bac-review-photo { display: none; }
@media (min-width: 960px) {
  .bac-review-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--space-8); align-items: start; }
  .bac-review-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-l); }
}

/* ---------- policies, notes, prices ---------- */
.bac-policies { display: flex; flex-direction: column; border-top: 1px solid var(--color-line); }
.bac-policies li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.bac-policies strong { font-size: var(--fs-ui); }
.bac-policies li > span { font-size: var(--fs-small); color: var(--color-ink-2); }
@media (min-width: 960px) {
  .bac-section .bac-policies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); border-top: 0; }
  .bac-section .bac-policies li:nth-child(-n + 2) { border-top: 1px solid var(--color-line); }
}
.bac-note {
  display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  background: var(--color-panel); border-radius: var(--radius-l); font-size: var(--fs-small);
}
.bac-note .bac-icon { width: 20px; height: 20px; margin-top: 2px; }
.bac-note a { font-weight: 700; }
.bac-section .bac-note { margin-bottom: var(--space-5); }
.bac-prices { display: flex; flex-direction: column; border-top: 1px solid var(--color-line); }
.bac-prices li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line); font-size: var(--fs-ui); }
.bac-prices strong { font-family: var(--font-num); white-space: nowrap; }
.bac-prices-note { display: block; font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }

/* ---------- detail ---------- */
.bac-band { background: var(--loc-bg); color: var(--loc-ink); }
.bac-band-inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--tap); }
.bac-band .bac-crumbs { display: none; }
.bac-band-loc {
  display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; min-height: var(--tap);
  font-size: var(--fs-small); text-decoration: none;
}
.bac-band-loc strong { white-space: nowrap; }
.bac-band-loc span { overflow: hidden; color: var(--loc-muted); white-space: nowrap; text-overflow: ellipsis; }
.bac-band-loc .bac-icon { width: 16px; height: 16px; }
.bac-band-all { display: inline-flex; align-items: center; min-height: var(--tap); margin-left: auto; font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.bac-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: var(--fs-small); }
.bac-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--color-ink-2); }
.bac-crumbs a { text-decoration: none; }
.bac-crumbs a:hover { text-decoration: underline; }
.bac-crumbs [aria-current] { color: var(--color-ink-2); }
.bac-page > .bac-crumbs { margin-bottom: var(--space-4); }
@media (min-width: 960px) {
  .bac-band .bac-crumbs { display: block; }
  .bac-band-loc { display: none; }
}
.bac-detail-main { display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-4); min-width: 0; }
.bac-detail-head { display: flex; flex-direction: column; gap: var(--space-2); }
.bac-detail-head h1 { font-size: var(--fs-h1); }
.bac-detail-main > .bac-facts, .bac-detail-main > .bac-note { margin-top: calc(-1 * var(--space-2)); }
@media (min-width: 960px) {
  .bac-detail { display: grid; grid-template-columns: minmax(0, 1fr) 22.5rem; gap: var(--space-7); align-items: start; padding-top: var(--space-6); }
  .bac-detail-main { padding-top: 0; }
  .bac-detail-side { position: sticky; top: calc(var(--stick, 0px) + var(--space-5)); }
}
.bac-section--more { padding-top: var(--space-8); }

/* Media track: swipe on phones (next photo peeks), arrows on wide screens. */
.bac-media { position: relative; order: -1; margin-inline: calc(-1 * var(--gutter)); }
.bac-media-track {
  display: flex; gap: var(--space-2); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.bac-media-track::-webkit-scrollbar { display: none; }
.bac-media-slide { flex: 0 0 88%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-m); background: var(--bac-tatami); scroll-snap-align: start; }
.bac-media-slide img, .bac-media-slide .bac-loop { width: 100%; height: 100%; object-fit: cover; }
.bac-media-slide--video { order: -1; }
.bac-media-ui { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--gutter) 0; }
.bac-media-count { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 500; color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.bac-media-nav { display: none; }
.bac-media-count.is-video .bac-media-of { display: none; }
.bac-media-all {
  display: inline-flex; align-items: center; gap: 6px; min-height: 2.75rem; margin-left: auto; padding: 0 14px;
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-m); background: var(--color-surface);
  font: 500 var(--fs-small)/1 var(--font-text); cursor: pointer;
}
.bac-media-all .bac-icon { width: 16px; height: 16px; }
@media (min-width: 960px) {
  .bac-media { order: 0; margin-inline: 0; }
  .bac-media-track { padding-inline: 0; scroll-padding-inline: 0; }
  .bac-media-slide { flex-basis: 100%; border-radius: var(--radius-l); }
  .bac-media-slide--video { order: 0; }
  .bac-media-ui { padding: var(--space-3) 0 0; }
  .bac-media-nav {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--color-line-strong); border-radius: 50%; background: var(--color-surface); cursor: pointer;
  }
  .bac-media-nav .bac-icon { width: 18px; height: 18px; }
  .bac-media-nav[aria-disabled="true"] { opacity: 0.4; cursor: default; }
}
.bac-gallery {
  width: min(75rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem); padding: 0;
  border: 0; border-radius: var(--radius-l); background: var(--color-bg); color: var(--color-ink); box-shadow: var(--shadow-overlay);
}
.bac-gallery::backdrop { background: rgb(19 19 19 / 64%); }
.bac-gallery-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); background: var(--color-bg); border-bottom: 1px solid var(--color-line);
}
.bac-gallery-head h2 { font-size: var(--fs-ui); }
.bac-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: var(--space-2); padding: var(--space-4); }
.bac-gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); }
@media (max-width: 599px) {
  .bac-gallery { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .bac-gallery-grid { grid-template-columns: 1fr; }
  .bac-gallery-grid img { aspect-ratio: auto; }
}

.bac-facts { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) 0; border-block: 1px solid var(--color-line); }
.bac-facts li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--space-3); align-items: start; font-size: var(--fs-ui); line-height: 1.35; }
.bac-facts .bac-icon { width: 22px; height: 22px; }
.bac-facts-note { display: block; font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-book-when .bac-facts-note { display: inline; font-family: inherit; font-size: inherit; white-space: nowrap; }
.bac-steps { display: flex; flex-direction: column; gap: var(--space-4); }
.bac-steps li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.bac-steps-n {
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid var(--color-line-strong); border-radius: 50%;
  font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 700; line-height: 1;
}
.bac-steps li > span:last-child { padding-top: 1px; text-wrap: balance; }
@media (min-width: 600px) {
  .bac-block .bac-cards[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .bac-block .bac-cards[data-count="1"] .bac-card { grid-template-columns: 9rem minmax(0, 1fr); grid-template-rows: auto; gap: var(--space-4); }
  .bac-block .bac-cards[data-count="1"] .bac-card-media { aspect-ratio: 4 / 3; }
  .bac-block .bac-cards[data-count="1"] .bac-card-price { margin-top: 0; }
}
.bac-bullets { display: flex; flex-direction: column; gap: 10px; }
.bac-bullets li { position: relative; padding-left: 2.25rem; }
.bac-bullets li::before { content: ""; position: absolute; left: 9px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink); }
.bac-bullets a { font-weight: 500; }

/* Booking box: a fixed bar on phones, a sticky card on wide screens. */
.bac-book {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-3);
  min-height: var(--bar-h); padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: var(--color-bg); border-top: 1px solid var(--color-line);
}
.bac-book-price { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.bac-book-amount { font-family: var(--font-num); font-size: var(--fs-price); }
.bac-book-from { font-family: var(--font-text); font-size: var(--fs-small); }
.bac-book-unit { font-family: var(--font-num); font-size: var(--fs-fine); color: var(--color-ink-2); }
.bac-book-when, .bac-book-notes { display: none; }
.bac-book-cta .bac-btn { min-height: 3rem; padding-inline: 1.5rem; }
.bac-book.is-closed { grid-template-columns: minmax(0, 1fr) auto; }
.bac-book-status { font-weight: 700; font-size: var(--fs-small); }
.bac-book-contact { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 700; }
.bac-book-contact .bac-icon { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .bac-book {
    position: static; display: flex; flex-direction: column; align-items: stretch; gap: var(--space-4);
    padding: var(--space-5); background: var(--color-panel); border-radius: var(--radius-l);
  }
  .bac-book-unit { margin-top: 4px; }
  .bac-book-when { display: block; font-size: var(--fs-small); }
  .bac-book-when .bac-facts-note { display: inline; }
  .bac-book-cta .bac-btn { width: 100%; min-height: 3.25rem; }
  .bac-book-notes { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--fs-small); line-height: 1.35; }
  .bac-book-notes li { display: flex; gap: var(--space-2); align-items: flex-start; }
  .bac-book-notes .bac-icon { width: 18px; height: 18px; margin-top: 2px; }
}

/* Meeting point and maps */
.bac-meet { display: flex; flex-direction: column; gap: 2px; padding: var(--space-5); background: var(--color-panel); border-radius: var(--radius-l); }
.bac-meet-name { font-size: var(--fs-ui); font-weight: 700; }
.bac-meet-floor { font-size: var(--fs-small); font-weight: 400; }
.bac-meet-address { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-meet-note { margin-top: var(--space-2); font-size: var(--fs-small); }
.bac-meet-links { display: flex; flex-direction: column; margin-top: var(--space-3); border-top: 1px solid var(--color-line); }
.bac-meet-links a {
  display: flex; align-items: center; gap: 10px; min-height: var(--tap);
  border-bottom: 1px solid var(--color-line); font-size: var(--fs-small); text-decoration: none;
}
.bac-meet-links li:last-child a { border-bottom: 0; }
.bac-meet-links a:hover { text-decoration: underline; }
.bac-meet-links .bac-icon { width: 18px; height: 18px; }
.bac-visit { display: grid; gap: var(--space-5); }
.bac-map { display: none; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-l); background: var(--color-line); }
@media (min-width: 960px) {
  .bac-visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-7); align-items: stretch; }
  .bac-map { display: block; }
  .bac-visit .bac-map { aspect-ratio: auto; height: 100%; min-height: 20rem; }
}

/* ---------- lists: activities, chooser, locations ---------- */
.bac-compare { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); }
.bac-compare-card {
  position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-4); align-items: start; align-content: start;
  padding: var(--space-3) calc(var(--space-3) + 28px) var(--space-3) var(--space-3); background: var(--color-panel); border-radius: var(--radius-l); text-decoration: none;
}
.bac-compare-card:hover { background-image: linear-gradient(var(--color-hover), var(--color-hover)); }
.bac-compare-card:hover .bac-compare-name { text-decoration: underline; text-underline-offset: 0.15em; }
.bac-compare-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-m); background: var(--bac-tatami); }
.bac-compare-media img { width: 100%; height: 100%; object-fit: cover; }
.bac-compare-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bac-compare-city { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-compare-name { font-size: var(--fs-h3); }
.bac-compare-area, .bac-compare-best { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-compare-when { margin-top: var(--space-2); font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-compare-chevron { position: absolute; right: var(--space-3); top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--color-ink-2); }
.bac-compare-price { font-size: var(--fs-small); }
.bac-compare-price strong { font-family: var(--font-num); font-size: 1.0625rem; }
.bac-compare-best { margin-top: var(--space-2); text-wrap: balance; }
@media (max-width: 374px) {
  .bac-compare-card { padding-right: var(--space-3); }
  .bac-compare-chevron { display: none; }
}
.bac-compare-go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-3); font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; }
.bac-compare-go .bac-icon { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .bac-compare-go { display: none; }
  .bac-compare-best { font-size: var(--fs-meta); line-height: 1.45; }
  .bac-compare-when { margin-top: var(--space-1); }
}
@media (min-width: 768px) {
  .bac-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .bac-compare-card { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
  .bac-compare-chevron { display: none; }
  .bac-compare-media { aspect-ratio: 16 / 9; border-radius: 0; }
  .bac-compare-body { padding: var(--space-4) var(--space-5) var(--space-5); }
}
.bac-page .bac-block + .bac-block { margin-top: var(--space-7); }
@media (min-width: 960px) {
  .bac-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); align-items: start; }
  .bac-pair > .bac-block + .bac-block { margin-top: 0; }
}
.bac-loc { display: grid; gap: var(--space-5); padding: var(--space-6) 0; border-top: 1px solid var(--color-line); scroll-margin-top: var(--space-4); }
.bac-loc-info { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.bac-loc-info h2 { font-size: var(--fs-h2); }
.bac-loc-intro { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-loc-status { font-weight: 700; }
.bac-loc .bac-meet-name { display: none; }
.bac-loc .bac-meet-floor { font-size: var(--fs-ui); font-weight: 700; }
.bac-loc .bac-rows--plain { border-top: 0; margin-top: var(--space-3); }
@media (min-width: 960px) {
  .bac-loc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
  .bac-loc-map { position: sticky; top: calc(var(--stick, 0px) + var(--space-5)); }
}

/* ---------- FAQ ---------- */
.bac-glance { margin-bottom: var(--space-4); padding: var(--space-5) var(--space-6); background: var(--color-panel); border-radius: var(--radius-l); }
.bac-glance h2 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.bac-glance .bac-policies { border-top: 0; }
.bac-glance .bac-policies li:last-child { border-bottom: 0; padding-bottom: 0; }
.bac-faq-group { padding-top: var(--space-7); scroll-margin-top: var(--space-4); }
.bac-faq-group h2 { font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.bac-qa { border-bottom: 1px solid var(--color-line); scroll-margin-top: var(--space-4); }
.bac-faq-group h2 + .bac-qa { border-top: 1px solid var(--color-line); }
.bac-qa summary {
  display: flex; align-items: center; gap: var(--space-3); min-height: 3.5rem; padding: var(--space-3) 0;
  list-style: none; font-size: var(--fs-body); font-weight: 700; line-height: 1.3; cursor: pointer;
}
.bac-qa summary::-webkit-details-marker { display: none; }
.bac-qa-chevron { flex: none; width: 20px; height: 20px; margin-left: auto; transition: transform var(--dur-2); }
.bac-qa[open] .bac-qa-chevron { transform: rotate(180deg); }
.bac-qa-answer { display: flex; flex-direction: column; gap: var(--space-2); padding-bottom: var(--space-4); }
.bac-qa-answer ul { padding-left: 1.25em; list-style: disc; }
.bac-faq-contact { margin-top: var(--space-7); }
.bac-faq-contact a { white-space: nowrap; }

/* ---------- partners, thanks ---------- */
.bac-partners { display: grid; gap: var(--space-6); }
.bac-partners-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); }
.bac-partners-media figcaption { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-partners-points h2 { font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.bac-partners-points li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--color-line); }
.bac-partners-points .bac-icon { width: 22px; height: 22px; margin-top: 3px; }
.bac-partners-points strong { display: block; margin-bottom: 2px; font-size: var(--fs-ui); }
.bac-partners-form { display: grid; gap: var(--space-5); margin-top: var(--space-8); padding: var(--space-5); background: var(--color-panel); border-radius: var(--radius-l); scroll-margin-top: var(--space-4); }
.bac-partners-form-copy h2 { font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.bac-partners-video { margin-top: var(--space-8); }
.bac-partners-video h2 { font-size: var(--fs-h2); }
@media (min-width: 960px) {
  .bac-partners-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-7); align-items: start; }
  .bac-partners-video .bac-video-frame { max-width: none; }
  .bac-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
  .bac-contact-form label:nth-of-type(3), .bac-contact-form .wpcf7-submit { grid-column: 1 / -1; }
}
.bac-video-frame { max-width: 48rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-l); background: var(--color-ink); }
.bac-partners-facts { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); font-size: var(--fs-small); }
.bac-partners-facts li { display: block; }
.bac-partners-facts a { white-space: nowrap; }
.bac-video-frame iframe { width: 100%; height: 100%; border: 0; }
.bac-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .bac-partners { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
  .bac-partners-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-7); padding: var(--space-7); }
}
.bac-contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
.bac-contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); font-weight: 500; }
.bac-contact-form input[type="email"], .bac-contact-form input[type="text"], .bac-contact-form textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: var(--radius-m);
  background: var(--color-surface); color: var(--color-ink); font: 400 var(--fs-body)/1.4 var(--font-text);
}
.bac-contact-form textarea { min-height: 9rem; resize: vertical; }
.bac-contact-form .wpcf7-submit { align-self: stretch; width: 100%; }
.bac-contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.bac-contact-form :is(input, textarea).wpcf7-not-valid { border: 2px solid var(--color-ink); }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 700; }
.wpcf7-response-output { margin-top: var(--space-3); font-size: var(--fs-small); font-weight: 700; }
.wpcf7-response-output:empty { display: none; }
.wpcf7-form.submitting .wpcf7-submit { opacity: 0.6; cursor: progress; }
.bac-honeypot, .screen-reader-response, .hidden-fields-container {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.bac-downloads { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 599px) {
  .bac-downloads { flex-direction: column; }
  .bac-downloads .bac-btn { width: 100%; }
}

/* ---------- footer ---------- */
.bac-footer { background: var(--bac-tatami); color: var(--color-ink); }
.bac-footer-inner { display: grid; gap: var(--space-6); padding-block: var(--space-7) var(--space-6); }
.bac-footer-title { margin-bottom: var(--space-4); font-family: var(--font-text); font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; color: var(--color-ink-2); }
.bac-footer-studios ul { display: grid; gap: var(--space-5); }
.bac-footer-studios li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: var(--fs-small); }
.bac-footer-studios li a { position: relative; text-decoration: none; }
.bac-footer-studios li a:not([target])::after { content: ""; position: absolute; inset: -8px -4px; }
.bac-footer-studios li a:hover { text-decoration: underline; }
.bac-footer-studio { font-size: var(--fs-ui); }
.bac-footer-studios li a[target] { display: inline-flex; align-items: center; gap: 4px; min-height: 2.75rem; text-decoration: underline; }
.bac-footer-links ul { display: flex; flex-direction: column; margin-top: -0.6rem; font-size: var(--fs-small); }
.bac-footer-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 2.75rem; text-decoration: none; font-size: var(--fs-small); }
@media (min-width: 960px) {
  .bac-footer-links ul { margin-top: 0; gap: 2px; }
  .bac-footer-links a { min-height: 0; line-height: 1.6; }
  .bac-footer-studios li a[target] { min-height: 0; }
}
.bac-footer-links a:hover { text-decoration: underline; }
/* Signature band on WHITE: the BAC logo and the white-backed Japan. Endless Discovery mark sit on the page colour, not in a box. */
.bac-footer-base { background: var(--color-bg); border-top: 1px solid var(--color-line); }
.bac-footer-base-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; align-items: center; gap: var(--space-3) var(--space-6);
  width: 100%; max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-6) var(--gutter);
}
.bac-footer-logo { display: block; }
.bac-footer-logo img { height: var(--logo-h); width: auto; }
.bac-footer-role { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
/* multiply turns the JPG's #FFF into the band's #FCFCFC, so no faint edge; the mark's colours shift by ~1%. */
.bac-footer-jed { width: 12rem; height: auto; mix-blend-mode: multiply; }
.bac-footer-copy { font-family: var(--font-num); font-size: var(--fs-fine); color: var(--color-ink-2); }
@media (min-width: 600px) { .bac-footer-studios ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .bac-footer-inner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-7); }
  .bac-footer-studios ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bac-footer-base-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bac-footer-base-inner .bac-footer-jed { grid-column: 3; grid-row: 1; justify-self: end; }
  .bac-footer-base-inner .bac-footer-copy { grid-column: 1 / -1; }
}


/* ---------- frame 11/11: BUB Resort's grammar in BAC's colours (TOP) ---------- */
/* Header over the hero: transparent, white logo and links; Book keeps OCHRE. */
.bac-header--over { position: absolute; inset: 0 0 auto 0; background: transparent; border-bottom: 0; color: var(--color-ink-inverse); }
.bac-header--over .bac-nav-link:hover, .bac-header--over .bac-header-faq:hover, .bac-header--over .bac-lang:hover { background: rgb(252 252 252 / 12%); }
.bac-header--over .bac-lang:focus-within { outline-color: var(--color-ink-inverse); }

/* Full-bleed hero: the loop fills the screen, the headline sits on it. */
.bac-hero--full { position: relative; display: grid; align-items: end; min-height: min(82svh, 46rem); color: var(--color-ink-inverse); background: var(--color-ink); overflow: hidden; }
.bac-hero--full .bac-hero-media { position: absolute; inset: 0; }
.bac-hero--full .bac-hero-media .bac-loop { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.bac-hero--full .bac-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--bac-sumi) 0%, rgb(19 19 19 / 78%) 14%, rgb(19 19 19 / 30%) 52%, rgb(19 19 19 / 36%) 100%); }
.bac-hero--full .bac-loop-toggle { z-index: 2; bottom: auto; top: calc(var(--header-h) + 10px); }
.bac-hero--full .bac-hero-copy {
  position: relative; z-index: 1; width: 100%; max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto;
  padding: calc(var(--header-h) + var(--space-7)) var(--gutter) var(--space-8);
}
.bac-hero-eyebrow { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 700; letter-spacing: 0; opacity: 0.92; }
.bac-hero--full h1 { max-width: 15ch; margin-top: var(--space-3); font-size: var(--fs-hero); line-height: 1.04; letter-spacing: var(--tracking-display); }
.bac-hero-lead { max-width: 34rem; margin-top: var(--space-4); font-size: var(--fs-lead); line-height: var(--lh-lead); color: rgb(252 252 252 / 90%); }
.bac-btn--paper { margin-top: var(--space-6); min-height: 3.5rem; min-width: min(22rem, 100%); background: var(--color-bg); color: var(--color-ink); font-weight: 700; }
.bac-btn--paper:hover { background-image: linear-gradient(var(--color-hover), var(--color-hover)); }
@media (max-width: 599px) { .bac-btn--paper { width: 100%; } }

/* Why BAC: a big figure on each photo, a title and one line under it. */
.bac-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
.bac-value-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-l); background: var(--bac-tatami); }
.bac-value-media img { width: 100%; height: 100%; object-fit: cover; }
.bac-value-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(19 19 19 / 62%), rgb(19 19 19 / 0%) 62%); }
.bac-value-figure { position: absolute; left: var(--space-4); bottom: var(--space-2); z-index: 1; color: var(--color-ink-inverse); font: 700 clamp(2.5rem, 1.9rem + 2.4vw, 4rem)/1 var(--font-text); letter-spacing: -0.02em; }
.bac-value-figure small { margin-left: 2px; font-size: 0.45em; letter-spacing: 0; }
.bac-value h3 { margin-top: var(--space-3); font-size: var(--fs-ui); }
.bac-value p { margin-top: var(--space-1); font-size: var(--fs-small); color: var(--color-ink-2); }
@media (min-width: 960px) { .bac-values { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }

/* Toned band for Reviews (TATAMI), full width. */
.bac-band-section { margin-top: var(--section-y); padding-block: var(--section-y); background: var(--bac-tatami); }
.bac-band-section + .bac-section { padding-top: var(--section-y); }
.bac-band-section .bac-reviews, .bac-band-section .bac-reviews a { border-color: rgb(19 19 19 / 18%); }
.bac-band-section .bac-fine, .bac-band-section .bac-reviews .bac-icon { color: var(--color-ink); }

/* Studio cards: photo first, BUB facility-card rhythm. */
@media (min-width: 768px) {
  .bac-studio { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .bac-studio-media { border-radius: var(--radius-l); aspect-ratio: 16 / 9; }
  .bac-studio-body { padding: var(--space-4) 0 0; }
  .bac-studio-chevron { display: none; }
}


/* ---------- frame 11/11b: each block reads as its own section (all pages) ---------- */
.bac-section { padding-top: var(--section-y); }
.bac-section--first { padding-top: var(--section-y-s); }
.bac-section-head { margin-bottom: var(--head-gap); }
.bac-section-head h2 { font-size: var(--fs-title); line-height: 1.02; letter-spacing: var(--tracking-display); }
.bac-section-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: 36rem; }
@media (min-width: 960px) {
  /* Title takes the room it needs; the lead sits at the right, bottom-aligned. */
  .bac-section-head { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; column-gap: var(--space-7); }
  .bac-section-head h2 { flex: 0 1 auto; }
  .bac-section-lead { flex: 0 1 28rem; }
}

/* Choose a studio: the main decision, on a SUMI band. */
.bac-section--dark { margin-top: var(--section-y); padding-bottom: var(--section-y); background: var(--color-ink); color: var(--color-ink-inverse); }
.bac-section--dark .bac-section-lead { color: rgb(252 252 252 / 72%); }
.bac-section--dark .bac-studio { color: var(--color-ink); background: var(--color-bg); border: 0; border-radius: var(--radius-l); }
.bac-section--dark .bac-studio:hover { background: var(--color-bg); }
.bac-section--dark .bac-studio-name { font-size: var(--fs-group); }
@media (min-width: 768px) {
  .bac-section--dark .bac-studio { overflow: hidden; }
  .bac-section--dark .bac-studio-media { border-radius: 0; }
  .bac-section--dark .bac-studio-body { padding: var(--space-5) var(--space-6) var(--space-6); }
}
.bac-hero--full + .bac-section--dark { margin-top: 0; padding-top: var(--section-y-s); }
@media (min-width: 960px) {
  /* 3, 5, 6+ studios in threes; 4 stays two by two */
  .bac-studios:has(> .bac-studio:nth-child(3)):not(:has(> .bac-studio:nth-child(4):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bac-section--dark + .bac-section { padding-top: var(--section-y); }

/* Reviews: one big figure carries the band. */
.bac-band-section { margin-top: var(--section-y); padding-bottom: var(--section-y); }
.bac-review-score { display: flex; flex-direction: column; gap: var(--space-2); }
.bac-review-figure { font: 700 clamp(5rem, 3rem + 8vw, 10rem)/0.9 var(--font-text); letter-spacing: -0.03em; }
.bac-review-figure small { margin-left: 4px; font-size: 0.4em; vertical-align: 0.9em; letter-spacing: 0; }
.bac-review-score p { font-size: var(--fs-lead); }
@media (min-width: 960px) {
  .bac-band-section .bac-review-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-8); align-items: center; }
}

/* Good to know: quiet reference list, smaller and denser. */
.bac-section--quiet .bac-section-head h2 { font-size: var(--fs-block); }
.bac-section--quiet .bac-policies li { padding: 10px 0; }
.bac-section--quiet .bac-policies strong { font-size: var(--fs-small); }
.bac-section--quiet .bac-policies li > span { font-size: var(--fs-meta); }
@media (min-width: 960px) {
  .bac-section--quiet .bac-policies { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-6); }
  .bac-section--quiet .bac-policies li:nth-child(-n + 3) { border-top: 1px solid var(--color-line); }
}


/* ---------- frame 11/11c: the same grammar on hubs and detail pages ---------- */
/* Hub hero: the studio loop fills the screen, name and summary on it (standard world only). */
.bac-world--full { position: relative; display: grid; align-items: end; min-height: min(76svh, 44rem); background: var(--bac-sumi); color: var(--color-ink-inverse); overflow: hidden; }
.bac-world--full .bac-world-media { position: absolute; inset: 0; }
.bac-world--full .bac-world-media .bac-loop, .bac-world--full .bac-world-media .bac-world-img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.bac-world--full .bac-world-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--bac-sumi) 0%, rgb(19 19 19 / 80%) 18%, rgb(19 19 19 / 32%) 56%, rgb(19 19 19 / 40%) 100%); }
.bac-world--full .bac-loop-toggle { z-index: 2; bottom: auto; top: calc(var(--header-h) + 10px); }
.bac-world--full .bac-world-copy {
  position: relative; z-index: 1; width: 100%; max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto;
  padding: calc(var(--header-h) + var(--space-7)) var(--gutter) var(--space-7);
}
.bac-world--full h1 { margin-top: var(--space-2); font-size: var(--fs-hero); line-height: 1; }
.bac-world--full .bac-world-intro { max-width: 34rem; margin-top: var(--space-2); font-size: var(--fs-ui); line-height: var(--lh-lead); color: rgb(252 252 252 / 86%); }
.bac-world--full .bac-summary { border-top-color: rgb(252 252 252 / 24%); max-width: 34rem; width: 100%; }
.bac-world--full .bac-rating-label { color: rgb(252 252 252 / 72%); }
.bac-world--full + .bac-section { padding-top: var(--section-y-s); }
@media (min-width: 960px) {
  .bac-world--full .bac-world-inner, .bac-world--full .bac-world-copy { padding-inline: var(--gutter); }
}

/* Activity cards on a SUMI band (detail "More at"). */
.bac-section--dark .bac-card { color: var(--color-ink-inverse); }
.bac-section--dark .bac-card-place, .bac-section--dark .bac-card-meta, .bac-section--dark .bac-card-unit { color: rgb(252 252 252 / 72%); }
.bac-section--more.bac-section--dark { margin-top: var(--section-y); }

/* Detail: each block is its own section with a rule above, bigger titles. */
.bac-detail-head h1 { font-size: var(--fs-subtitle); line-height: 1.04; letter-spacing: var(--tracking-display); }
.bac-detail-main > .bac-block { padding-top: var(--space-7); border-top: 1px solid var(--color-line); }
.bac-detail-main > .bac-block h2 { font-size: var(--fs-block); letter-spacing: var(--tracking-display); }
.bac-review-panel { display: grid; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-l); background: var(--bac-tatami); }
.bac-review-panel .bac-review-figure { font-size: clamp(4rem, 3rem + 4vw, 6rem); }
.bac-review-panel .bac-reviews, .bac-review-panel .bac-reviews a { border-color: rgb(19 19 19 / 18%); }
.bac-review-panel .bac-fine { color: var(--color-ink); }
@media (min-width: 600px) { .bac-review-panel { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-7); } }
.bac-detail-main > .bac-block--quiet h2 { font-size: var(--fs-h3); }
.bac-block--quiet .bac-policies li { padding: 10px 0; }
.bac-block--quiet .bac-policies strong { font-size: var(--fs-small); }
.bac-block--quiet .bac-policies li > span { font-size: var(--fs-meta); }

/* A SUMI band that ends the page runs straight into the footer. */
.bac-main:has(> .bac-section--dark:last-child) { padding-bottom: 0; }

/* List pages (activities, locations, FAQ, partners, chooser): the same heading scale as the sections. */
.bac-page-head { margin-bottom: var(--head-gap); }
.bac-page-head h1 { font-size: var(--fs-title); line-height: 1.02; letter-spacing: var(--tracking-display); }
.bac-page-head .bac-lead { font-size: var(--fs-lead); }
.bac-faq-group h2 { font-size: var(--fs-group); letter-spacing: var(--tracking-display); }
.bac-faq-group + .bac-faq-group { margin-top: var(--section-y-s); }

/* Review fixes 11/11: menus and focus on dark areas, hero text over light frames, lone grid children. */
.bac-header--over .bac-menu-panel { color: var(--color-ink); --color-focus: var(--color-ink); }
.bac-header--over, .bac-hero--full, .bac-world--full, .bac-section--dark { --color-focus: var(--color-ink-inverse); }
.bac-section--dark .bac-studio { --color-focus: var(--color-ink-inverse); }
.bac-world--full .bac-world-copy, .bac-hero--full .bac-hero-copy { text-shadow: 0 1px 14px rgb(19 19 19 / 55%); }
.bac-world--full .bac-world-media::after { background: linear-gradient(to top, var(--bac-sumi) 0%, rgb(19 19 19 / 82%) 20%, rgb(19 19 19 / 52%) 58%, rgb(19 19 19 / 44%) 100%); }
.bac-review-grid > :only-child, .bac-review-panel > :only-child { grid-column: 1 / -1; }

/* ---------- tidy 11/11 ---------- */
.bac-world + .bac-section--dark { margin-top: 0; }
/* Rows and dividers inside a panel use a slightly darker rule so they still show on the tint. */
.bac-meet, .bac-glance, .bac-book, .bac-partners-form, .bac-compare-card, .bac-note { --color-line: rgb(19 19 19 / 12%); }
.bac-partners-form input:not([type="submit"]), .bac-partners-form textarea, .bac-partners-form select { background: var(--color-bg); }
/* Studio cards keep the photo row the same height when one card has no photo yet. */
.bac-studio { align-content: start; }

/* ---------- hand layer (draft 11/11): brush marks and notes, as if the crew marked the page ---------- */
.bac-mark { position: absolute; max-width: none; pointer-events: none; fill: currentColor; filter: url(#bac-hand); overflow: visible; }
.bac-hand-under, .bac-hand-circle { position: relative; display: inline-block; white-space: nowrap; }
.bac-hand-under .bac-mark--under { left: -3%; bottom: -0.2em; width: 108%; height: 0.3em; }
.bac-hand-circle { margin-left: 0.4em; padding-inline: 0.06em; }
.bac-hand-circle .bac-mark--circle { left: -20%; top: -30%; width: 148%; height: 162%; }
.bac-hand-circle { margin-right: 0.2em; }
.bac-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); margin-top: var(--space-6); }
.bac-hero-actions .bac-btn--paper { margin-top: 0; }
.bac-hand-note {
  position: relative; display: inline-flex; align-items: flex-end; gap: 6px; margin: 0;
  font: 400 clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem)/1 "Caveat Brush", var(--font-text); letter-spacing: 0.01em; transform: rotate(-4deg);
}
.bac-hand-note .bac-mark--arrow { position: static; flex: none; width: 2.6em; height: 2em; margin-bottom: -0.2em; transform: scaleX(1); }
@media (max-width: 599px) {
  .bac-hero-actions { align-items: stretch; }
}
/* Studio band: the photo sits in the BAC arch; a studio without a photo yet is written in by hand. */
.bac-section--dark .bac-studio-media { border-radius: 999px 999px var(--radius-m) var(--radius-m); }
@media (min-width: 768px) {
  .bac-section--dark .bac-studio-media { margin: var(--space-4) var(--space-4) 0; aspect-ratio: 4 / 3; }
}
.bac-section--dark .bac-placeholder { display: flex; align-items: center; justify-content: center; gap: 0.25em; font: 400 clamp(1.25rem, 1rem + 1vw, 2rem)/1 "Caveat Brush", var(--font-text); color: var(--color-ink); }
.bac-section--dark .bac-placeholder { transform: none; }
.bac-section--dark .bac-placeholder::after { content: "soon!"; }
@media (max-width: 767px) { .bac-section--dark .bac-placeholder { font-size: 1rem; } }
/* Hero copy shadow is for text on video only, not for the white button. */
.bac-hero--full .bac-btn, .bac-world--full .bac-btn { text-shadow: none; }

/* ---------- TOP hero, arch layout (draft 11/11): big type on WHITE, the BAC arch as windows ---------- */
.bac-hero--arch {
  display: grid; gap: var(--space-7); align-items: center;
  max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-6) var(--gutter) var(--section-y-s);
  background: var(--color-bg); color: var(--color-ink);
}
.bac-hero--arch h1 { margin-top: var(--space-3); font-size: var(--fs-hero); line-height: 1.02; letter-spacing: var(--tracking-display); }
.bac-hero--arch .bac-hero-eyebrow { color: var(--color-ink-2); }
.bac-hero--arch .bac-hero-lead { max-width: 30rem; margin-top: var(--space-4); font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-ink-2); }
.bac-hero--arch .bac-btn--paper { background: var(--color-ink); color: var(--color-ink-inverse); }
.bac-hero--arch .bac-btn--paper:hover { background-image: linear-gradient(rgb(252 252 252 / 10%), rgb(252 252 252 / 10%)); }
/* One window: the loop (1280×576) plays in a wide BAC arch, so most of the frame stays in view. */
.bac-hero-stage { position: relative; aspect-ratio: 1 / 0.8; }
.bac-arch { position: absolute; margin: 0; overflow: hidden; border-radius: 999px 999px var(--radius-l) var(--radius-l); background: var(--bac-tatami); }
.bac-arch .bac-loop { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.bac-arch--main { inset: 0; }
.bac-arch--main .bac-loop-toggle { top: auto; bottom: 12px; right: 14px; transform: none; }
@media (min-width: 960px) {
  .bac-hero--arch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); padding-top: var(--space-7); }
}
@media (max-width: 599px) {
  .bac-hero--arch { gap: var(--space-6); padding-top: var(--space-5); }
  .bac-hero-stage { aspect-ratio: 1 / 0.86; }
  /* On phones the arch stands on the studio band: no gap, square foot. */
  .bac-hero--arch { padding-bottom: 0; }
  .bac-hero-stage { margin-inline: calc(-1 * var(--gutter)); }
  .bac-arch--main { border-radius: 999px 999px 0 0; }
  /* Overlap the band by 1px so sub-pixel rounding never shows a white hairline. */
  .bac-hero--arch + .bac-section--dark { position: relative; margin-top: -1px; }
}
.bac-hero--arch + .bac-section--dark { margin-top: 0; }
/* Phone studio rows on the SUMI band: the arch photo stands on the card's bottom edge, like the hero arch on the band. */
@media (max-width: 767px) {
  .bac-section--dark .bac-studio { align-items: stretch; padding: var(--space-3) var(--space-3) 0; overflow: hidden; }
  .bac-section--dark .bac-studio-media { align-self: end; aspect-ratio: 1 / 0.92; border-radius: 999px 999px 0 0; }
  .bac-section--dark .bac-studio-body { align-self: center; padding-bottom: var(--space-3); }
  .bac-section--dark .bac-studio-chevron { align-self: center; margin-bottom: var(--space-3); }
}
/* Phone studio rows, no card: the arch photo stands on a thin rule, text in white on SUMI (same as the hero arch on the band). */
@media (max-width: 767px) {
  .bac-section--dark .bac-studios { gap: 0; }
  .bac-section--dark .bac-studio { padding: var(--space-6) 0 0; background: transparent; border-radius: 0; border-bottom: 1px solid rgb(252 252 252 / 28%); color: var(--color-ink-inverse); }
  .bac-section--dark .bac-studio:hover { background: transparent; }
  .bac-section--dark .bac-studio-area { color: rgb(252 252 252 / 72%); }
  .bac-section--dark .bac-studio-chevron { color: rgb(252 252 252 / 72%); }
  .bac-section--dark .bac-studio:first-child { padding-top: var(--space-4); }
}
/* PC studio cards on SUMI, no card either: the arch photo stands on a thin white rule, text in white below it. */
@media (min-width: 768px) {
  .bac-section--dark .bac-studio { padding: 0; background: transparent; border-radius: 0; overflow: visible; color: var(--color-ink-inverse); }
  .bac-section--dark .bac-studio:hover { background: transparent; }
  .bac-section--dark .bac-studio-media { margin: 0; aspect-ratio: 4 / 3; border-radius: 999px 999px 0 0; }
  .bac-section--dark .bac-studio-body { padding: var(--space-4) 0 0; border-top: 1px solid rgb(252 252 252 / 28%); }
  .bac-section--dark .bac-studio-area, .bac-section--dark .bac-studio-best, .bac-section--dark .bac-studio .bac-rating-label,
  .bac-section--dark .bac-studio .bac-rating-text { color: rgb(252 252 252 / 72%); }
  .bac-section--dark .bac-studio .bac-rating-text > [aria-hidden] { color: var(--color-ink-inverse); }
}

/* ---------- activity cards in the arch grammar (11/11): the photo stands on a thin rule ---------- */
.bac-card { --card-rule: var(--color-line-strong); }
.bac-section--dark .bac-card { --card-rule: rgb(252 252 252 / 28%); }
.bac-card-media { border-radius: 999px 999px 0 0; }
@media (max-width: 599px) {
  /* Rows: the arch thumbnail rises from the row's bottom rule, text beside it. */
  .bac-cards { gap: 0; }
  .bac-card { align-items: stretch; padding: var(--space-5) 0 0; border-bottom: 1px solid var(--card-rule); }
  .bac-card:not([hidden]):first-child, .bac-card[hidden] + .bac-card:not([hidden]):not(.bac-card:not([hidden]) ~ .bac-card) { padding-top: var(--space-2); }
  .bac-card:last-child { padding-bottom: 0; border-bottom: 1px solid var(--card-rule); }
  .bac-card-media { align-self: end; aspect-ratio: 1 / 1.08; }
  .bac-card-body { align-self: center; padding-bottom: var(--space-4); }
}
@media (min-width: 600px) {
  /* Columns: the arch photo stands on a rule, text below it. */
  .bac-card { gap: 0; }
  .bac-card-body { padding-top: var(--space-3); border-top: 1px solid var(--card-rule); }
}
.bac-group-head h2, .bac-group-head h3 { font-size: var(--fs-block); letter-spacing: var(--tracking-display); }
/* Group heads drop their own rule: the cards below already stand on rules. */
.bac-group-head { padding-bottom: 0; border-bottom: 0; margin-bottom: var(--space-5); }

/* ---------- TOP: Why BAC on a tint band, experiences with a studio filter (11/11) ---------- */
.bac-section--tint { background: var(--color-panel); padding-bottom: var(--section-y); }
.bac-section--tint + .bac-section { padding-top: var(--section-y); }
.bac-filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-6); }
.bac-filter-label { font-size: var(--fs-ui); color: var(--color-ink-2); }
.bac-filter-select { position: relative; display: inline-flex; align-items: center; }
.bac-filter-select select {
  appearance: none; min-height: 2.75rem; min-width: 14rem; padding: 0 2.75rem 0 1.125rem; border: 1px solid var(--color-ink); border-radius: 999px;
  background: var(--color-bg); color: var(--color-ink); font: 700 var(--fs-ui)/1 var(--font-text); cursor: pointer;
}
.bac-filter-select select:hover { background: var(--color-hover); }
.bac-filter-select .bac-icon { position: absolute; right: 1rem; width: 18px; height: 18px; pointer-events: none; }
:is([data-experiences], [data-experiences-all]) .bac-card[hidden] { display: none; }
[data-experiences] + .bac-more-link { margin-top: var(--space-6); }
@media (min-width: 960px) { [data-experiences][data-count="8"], [data-experiences][data-count="7"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- studio rail (11/11): one sideways row with a city filter, sized for 18 studios ---------- */
.bac-rail-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-6); }
.bac-rail-bar .bac-filter { margin-bottom: 0; }
.bac-filter--dark .bac-filter-label { color: rgb(252 252 252 / 72%); }
.bac-filter--dark select { background: transparent; border-color: rgb(252 252 252 / 60%); color: var(--color-ink-inverse); --color-focus: var(--color-ink-inverse); }
.bac-filter--dark select:hover { background: rgb(252 252 252 / 10%); }
.bac-filter--dark select option, .bac-filter--dark select optgroup { color: var(--color-ink); }
.bac-filter--dark .bac-icon { color: var(--color-ink-inverse); }
.bac-rail-nav { display: none; gap: var(--space-2); }
.bac-rail-nav[hidden] { display: none !important; }
.bac-rail-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgb(252 252 252 / 60%); border-radius: 50%;
  background: transparent; color: var(--color-ink-inverse); cursor: pointer;
}
.bac-rail-btn:hover:not(:disabled) { background: rgb(252 252 252 / 10%); }
.bac-rail-btn:disabled { opacity: 0.35; cursor: default; }
.bac-rail-btn[data-rail-prev] .bac-icon { transform: scaleX(-1); }
@media (min-width: 960px) { .bac-rail-nav { display: flex; } }

.bac-section--dark .bac-studios.bac-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 20rem); grid-template-columns: none !important; gap: var(--space-5);
  /* Sideways only: overflow-x alone also made the rail scroll up and down inside itself (cut the arch tops). */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.bac-section--dark .bac-studios.bac-rail::-webkit-scrollbar { display: none; }
.bac-section--dark .bac-rail .bac-studio { scroll-snap-align: start; }
.bac-section--dark .bac-rail .bac-studio[hidden] { display: none; }
/* In the rail every card is the column form: arch photo on a rule, text below (phones too). */
.bac-section--dark .bac-rail .bac-studio {
  grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; gap: 0; padding: 0; border: 0; background: transparent; color: var(--color-ink-inverse);
}
.bac-section--dark .bac-rail .bac-studio-media { align-self: auto; margin: 0; aspect-ratio: 4 / 3; border-radius: 999px 999px 0 0; }
.bac-section--dark .bac-rail .bac-studio-body { align-self: stretch; padding: var(--space-4) 0 0; }
.bac-section--dark .bac-rail .bac-studio-chevron { display: none; }
.bac-section--dark .bac-rail .bac-studio-best, .bac-section--dark .bac-rail .bac-rating-text { display: block; }
@media (min-width: 960px) {
  /* Three across inside the content width; more than three scroll with the arrows. */
  .bac-section--dark .bac-studios.bac-rail { grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}
.bac-section--dark .bac-rail .bac-studio-area, .bac-section--dark .bac-rail .bac-studio-best, .bac-section--dark .bac-rail .bac-rating-text { color: rgb(252 252 252 / 72%); }
.bac-section--dark .bac-rail .bac-rating-text > [aria-hidden] { color: var(--color-ink-inverse); }
.bac-section--dark .bac-rail .bac-studio-best { margin-top: var(--space-2); font-size: var(--fs-small); }

/* A rail with no city filter and no overflow shows no bar at all. */
.bac-rail-bar:has(> .bac-rail-spacer):has(.bac-rail-nav[hidden]) { display: none; }

/* Hero note, every width: just under the button, its arrow curling up into it. */
.bac-hero-actions { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.bac-hero-actions .bac-hand-note { align-self: flex-start; align-items: flex-start; gap: 4px; margin-left: var(--space-5); transform: rotate(-3deg); }
.bac-hero-actions .bac-hand-note .bac-mark--arrow { width: 2.2em; height: 1.7em; margin: -0.35em 0 0; transform: scaleY(-1); }
.bac-hero-actions .bac-hand-note span { padding-top: 0.55em; }
@media (max-width: 599px) { .bac-hero-actions { align-items: stretch; } }

/* ---------- TOP reviews (11/11): guest photo in the BAC arch, one big figure, studios as small links ---------- */
.bac-story-grid { display: grid; gap: var(--space-6); align-items: end; }
.bac-story-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 3.4; border-radius: 999px 999px 0 0; background: var(--bac-sumi-12); }
.bac-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bac-story-studios { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); padding: 0; list-style: none; }
.bac-story-studios a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 2.75rem; padding: 0 0.875rem 0 1rem; border: 1px solid rgb(19 19 19 / 28%); border-radius: 999px;
  font-size: var(--fs-small); font-weight: 700; text-decoration: none; color: var(--color-ink);
}
.bac-story-studios a:hover { background: rgb(19 19 19 / 6%); }
.bac-story-score { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 500; }
.bac-story-studios .bac-icon { width: 14px; height: 14px; }
.bac-story .bac-fine { margin-top: var(--space-4); color: var(--color-ink); }
@media (max-width: 599px) {
  .bac-story-photo { margin-inline: calc(-1 * var(--gutter)); }
  .bac-story { padding-bottom: var(--section-y-s); }
}
@media (min-width: 900px) {
  .bac-story-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: center; }
  .bac-story-photo { aspect-ratio: 4 / 4.4; }
}
@media (min-width: 900px) {
  /* The guest photo stands on the band's bottom edge, like the hero arch. */
  .bac-page-top .bac-story { padding-bottom: 0; }
  .bac-story-grid { align-items: end; }
  .bac-story-body { align-self: center; padding-bottom: var(--space-7); }
}
/* Studio review links: white buttons of equal width, name left, score right. */
.bac-story-studios { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--space-2); }
.bac-story-studios a {
  display: flex; justify-content: space-between; width: 100%; min-height: 3rem; padding: 0 1rem 0 1.25rem;
  border: 0; background: var(--color-bg); box-shadow: 0 1px 2px rgb(19 19 19 / 8%);
}
.bac-story-studios a:hover { background: var(--color-bg); box-shadow: 0 2px 10px rgb(19 19 19 / 14%); }
.bac-story-studios a > .bac-story-score { margin-left: auto; }

/* Filters match the white review buttons: white fill, no border, soft shadow; full width on phones. */
.bac-filter-select select,
.bac-filter--dark select {
  min-height: 3rem; min-width: 18rem; padding: 0 2.75rem 0 1.25rem; border: 0; border-radius: 999px;
  background: var(--color-bg); color: var(--color-ink); box-shadow: 0 1px 2px rgb(19 19 19 / 8%);
}
.bac-filter-select select:hover, .bac-filter--dark select:hover { background: var(--color-bg); box-shadow: 0 2px 10px rgb(19 19 19 / 14%); }
.bac-filter--dark select { --color-focus: var(--color-ink-inverse); }
.bac-filter--dark .bac-icon, .bac-filter-select .bac-icon { color: var(--color-ink); }
@media (max-width: 599px) {
  .bac-filter { display: grid; width: 100%; gap: var(--space-2); }
  .bac-rail-bar { display: block; }
  .bac-filter-select, .bac-filter-select select { width: 100%; min-width: 0; }
}
/* On a white section a white button would vanish: use the panel tint there. */
.bac-section:not(.bac-section--dark):not(.bac-band-section):not(.bac-section--tint) .bac-filter-select select { background: var(--color-panel); box-shadow: none; }
.bac-section:not(.bac-section--dark):not(.bac-band-section):not(.bac-section--tint) .bac-filter-select select:hover { background: #E6E3DA; }
@media (max-width: 599px) {
  /* The arch's foot fades into the SUMI band below it. */
  .bac-arch--main::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; pointer-events: none; background: linear-gradient(to top, var(--bac-sumi) 0%, rgb(19 19 19 / 72%) 30%, rgb(19 19 19 / 0%) 100%); }
  .bac-arch--main .bac-loop-toggle { z-index: 1; }
}

/* Studio rail bar without its label: the select sits right under the heading, cards a step below. */
.bac-rail-bar { margin-bottom: var(--space-5); }
.bac-section--dark .bac-section-head { margin-bottom: var(--space-5); }

/* ---------- symbol story, quietly (11/11): Gateway / Kake / Sumi from the brand guidelines ---------- */
/* The SUMI bands carry no background arches (アガタ 11/12: cleaner). */
.bac-section--dark { position: relative; isolation: isolate; overflow: hidden; }
/* KAKE: the TATAMI reviews band opens with a torn paper edge instead of a straight line. */
.bac-band-section { position: relative; }
.bac-band-section::before, .bac-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; pointer-events: none;
  background: url("/assets/story/kake-edge.webp") left bottom / 1404px 40px repeat-x;
}
/* SUMI: a faint ink wash in the hero's white corner. */
.bac-hero--arch { position: relative; isolation: isolate; }
.bac-hero--arch::before {
  content: ""; position: absolute; z-index: -1; top: -2rem; left: -12rem; width: min(52rem, 80vw); aspect-ratio: 960 / 526; pointer-events: none;
  background: url("/assets/story/sumi-ink-light.webp") center / cover no-repeat; opacity: 0.1;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 40% 45%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 60% 60% at 40% 45%, #000 20%, transparent 72%);
}

/* ---------- the TOP grammar on every page (11/11) ---------- */
/* Kake: the TATAMI footer opens on the same torn edge as the reviews band. */
.bac-footer { position: relative; }

/* Sumi: a faint ink wash behind every page title. */
.bac-page-head, .bac-detail-head { position: relative; isolation: isolate; }
.bac-page-head::before, .bac-world--arch::before {
  content: ""; position: absolute; z-index: -1; top: -3rem; left: -10rem; width: min(46rem, 80vw); aspect-ratio: 960 / 526; pointer-events: none;
  background: url("/assets/story/sumi-ink-light.webp") center / cover no-repeat; opacity: 0.1;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 40% 45%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 60% 60% at 40% 45%, #000 20%, transparent 72%);
}

/* Hub hero: big name on WHITE, the studio loop in one wide arch (as TOP). */
.bac-world--arch {
  position: relative; isolation: isolate; display: grid; gap: var(--space-6); align-items: center;
  max-width: calc(var(--w-content) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-6) var(--gutter) var(--section-y-s);
  background: var(--color-bg); color: var(--color-ink);
}
.bac-world--arch .bac-world-copy { order: -1; display: flex; flex-direction: column; gap: var(--space-2); padding: 0; }
.bac-world--arch .bac-hero-eyebrow { color: var(--color-ink-2); }
.bac-world--arch h1 { margin-top: var(--space-2); font-size: var(--fs-hero); line-height: 1.02; letter-spacing: var(--tracking-display); }
.bac-world--arch .bac-world-intro { max-width: 32rem; margin-top: var(--space-2); font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-ink-2); }
.bac-world--arch .bac-summary { max-width: 32rem; width: 100%; }
.bac-world--arch .bac-world-media { position: relative; aspect-ratio: 1 / 0.8; overflow: hidden; border-radius: 999px 999px var(--radius-l) var(--radius-l); background: var(--bac-tatami); }
.bac-world--arch .bac-world-media .bac-loop, .bac-world--arch .bac-world-media .bac-world-img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.bac-world--arch .bac-loop-toggle { top: auto; bottom: 12px; right: 14px; }
.bac-world--arch + .bac-section { padding-top: var(--section-y-s); }
@media (min-width: 960px) {
  .bac-world--arch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); padding-top: var(--space-7); }
}

/* Small thumbnails and chooser photos take the arch too. */
.bac-row img, .bac-row-blank { border-radius: 999px 999px 4px 4px; }
.bac-compare-media { border-radius: 999px 999px 0 0; }

/* Review buttons on the detail page's TATAMI panel and the hub band. */
.bac-review-list .bac-story-studios { margin-top: 0; }
.bac-review-panel .bac-story-studios { grid-template-columns: minmax(0, 1fr); }
/* Chooser cards lose the panel too: the arch photo stands on a rule, text below (as the activity cards). */
.bac-compare-card { background: transparent; border-radius: 0; padding: 0 calc(var(--space-3) + 28px) var(--space-4) 0; border-bottom: 1px solid var(--color-line-strong); align-items: end; }
.bac-compare-card:hover { background: transparent; }
.bac-compare-media { aspect-ratio: 1 / 1.08; border-radius: 999px 999px 0 0; }
.bac-compare-body { align-self: center; }
@media (min-width: 768px) {
  .bac-compare-card { padding: 0; border-bottom: 0; overflow: visible; }
  .bac-compare-media { aspect-ratio: 4 / 3; border-radius: 999px 999px 0 0; }
  .bac-compare-body { padding: var(--space-4) 0 0; border-top: 1px solid var(--color-line-strong); }
}
@media (max-width: 767px) { .bac-compare { gap: var(--space-5); } .bac-compare-card { padding-bottom: 0; } .bac-compare-body { padding-bottom: var(--space-4); } }
/* Partners photo in the arch. */
.bac-partners-media img { border-radius: 999px 999px var(--radius-l) var(--radius-l); }
@media (max-width: 767px) {
  /* Phone chooser rows: the arch photo fills the row's height instead of sitting low. */
  .bac-compare-card { align-items: stretch; }
  .bac-compare-media { align-self: stretch; aspect-ratio: auto; min-height: 9rem; }
}

/* ---------- detail page, BUB-level finish (11/11) ---------- */
/* Wide screens: a photo mosaic across the full width above the two columns; phones keep the swipe track. */
.bac-mosaic-wrap { display: none; }
@media (min-width: 960px) {
  .bac-mosaic-wrap:has(.bac-mosaic) { display: block; padding-top: var(--space-6); }
  .bac-mosaic-wrap:has(.bac-mosaic) + .bac-detail .bac-media { display: none; }
  .bac-mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--space-2); height: clamp(22rem, 32vw, 34rem); }
  .bac-mosaic figure { margin: 0; overflow: hidden; background: var(--bac-tatami); }
  .bac-mosaic img, .bac-mosaic .bac-loop { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
  .bac-mosaic-a { grid-row: 1 / 3; border-radius: var(--radius-l); }
  .bac-mosaic-b { border-radius: var(--radius-l); }
  .bac-mosaic-c { border-radius: var(--radius-l); }
  .bac-mosaic .bac-loop-toggle { top: auto; bottom: 10px; right: 10px; }
  .bac-mosaic-all { position: absolute; right: 12px; bottom: 12px; margin: 0; border: 0; background: var(--color-bg); box-shadow: 0 1px 3px rgb(19 19 19 / 20%); }
  .bac-detail { padding-top: var(--space-6); }
}

/* Head: studio link and tags above a bigger title. */
/* Studio link on its own line, the tags on the line below (ユン 11/12). */
.bac-detail-tags { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.bac-detail-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bac-detail-loc { display: inline-flex; align-items: center; gap: 4px; min-height: 2rem; font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
.bac-detail-loc .bac-icon { width: 16px; height: 16px; }
.bac-detail-loc:hover span { text-decoration: underline; }
.bac-chip-tag { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 0.625rem; border-radius: 999px; background: var(--color-panel); font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 500; }
.bac-detail-head h1 { margin-top: var(--space-2); }

/* Facts as a panel: label above value, two columns on wider screens. */
.bac-detail-main > .bac-facts { margin-top: 0; }
.bac-facts {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: var(--space-2) var(--space-5); border: 0; border-radius: var(--radius-l); background: var(--color-panel);
}
.bac-facts li {
  display: grid; grid-template-columns: 1.5rem 7.5rem minmax(0, 1fr); align-items: baseline; gap: var(--space-3); padding: var(--space-3) 0;
  border-bottom: 1px solid rgb(19 19 19 / 10%);
}
.bac-facts li:last-child { border-bottom: 0; }
.bac-facts .bac-icon { align-self: center; width: 20px; height: 20px; color: var(--color-ink-2); }
.bac-facts-label { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-facts-value { font-weight: 700; }
.bac-facts-value .bac-facts-note { display: block; margin-top: 2px; font-weight: 400; font-size: var(--fs-small); color: var(--color-ink-2); }
@media (max-width: 420px) { .bac-facts li { grid-template-columns: 1.25rem 6rem minmax(0, 1fr); gap: var(--space-2); } }

/* What you'll do: a connected timeline, first and last named. */
.bac-steps { position: relative; gap: 0; }
.bac-steps li { position: relative; grid-template-columns: 2.25rem minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-5); }
.bac-steps li:last-child { padding-bottom: 0; }
.bac-steps li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.25rem; bottom: 0; width: 2px; background: var(--color-line); }
.bac-steps-n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: var(--color-ink); color: var(--color-ink-inverse); font: 700 var(--fs-small)/1 var(--font-num); }
.bac-steps-text { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; font-size: var(--fs-ui); line-height: 1.5; text-wrap: pretty; }
.bac-steps-tag { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 700; color: var(--color-ink-2); }

/* Good to know: check marks instead of dots. */
.bac-bullets li { padding-left: 2rem; }
.bac-bullets li::before {
  left: 2px; top: 0.3em; width: 1.125rem; height: 1.125rem; border-radius: 0; background: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  background-color: var(--color-ink);
}

/* Also at (one card): the rule runs under the whole row. */
.bac-block .bac-cards[data-count="1"] .bac-card { align-items: end; padding-bottom: 0; border-bottom: 1px solid var(--color-line-strong); }
.bac-block .bac-cards[data-count="1"] .bac-card-body { border-top: 0; align-self: center; padding: 0 0 var(--space-3); }

/* Start times keep 「Japan time」 on the same line (by class, not row position). */
.bac-facts-value .bac-facts-note--inline { display: inline; margin-top: 0; white-space: nowrap; }

/* The brush underline under the headline word is OCHRE (ユン 11/11), the one OCHRE that is not a Book control. */
.bac-hand-under .bac-mark--under { color: var(--bac-ochre); }
/* 「studio」 inside the white chalk circle is OCHRE (ユン 11/11); the circle stays white. */
.bac-hand-circle-word { color: var(--bac-ochre); }

/* Phone tab bar (11/11): even breathing room top and bottom. */
.bac-tabbar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.bac-tab { min-height: 48px; }

/* FAQ moved into the phone tab bar, so the header keeps only the language switch there (detail pages keep it). */
@media (max-width: 959px) { .has-tabbar .bac-header-faq { display: none; } }

/* ---------- motion (11/11): made by hand, not a prototype ----------
   Load: the headline rises in, the brush stroke is drawn under it, the arch window settles.
   Scroll: blocks rise in once (shell.js adds .bac-reveal only below the fold), brush circles draw,
   arch photos drift a little slower than the page (scroll-driven CSS, never holds the scroll).
   Hover/tap: photos lean in, arrows nudge, buttons press. All off with reduced motion. */
@keyframes bac-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bac-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bac-draw-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bac-draw-stroke { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bac-settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes bac-drift { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }

@media (prefers-reduced-motion: no-preference) {
  /* Page openings: TOP hero, hub hero, list/FAQ heads, detail head. */
  :is(.bac-hero--arch .bac-hero-copy, .bac-world--arch .bac-world-copy, .bac-page-head, .bac-detail-head) > * {
    animation: bac-rise 0.8s var(--ease-out) both;
  }
  :is(.bac-hero--arch .bac-hero-copy, .bac-world--arch .bac-world-copy, .bac-page-head, .bac-detail-head) > :nth-child(2) { animation-delay: 0.08s; }
  :is(.bac-hero--arch .bac-hero-copy, .bac-world--arch .bac-world-copy, .bac-page-head, .bac-detail-head) > :nth-child(3) { animation-delay: 0.16s; }
  :is(.bac-hero--arch .bac-hero-copy, .bac-world--arch .bac-world-copy, .bac-page-head, .bac-detail-head) > :nth-child(n+4) { animation-delay: 0.24s; }
  .bac-hand-under .bac-mark--under { animation: bac-draw-x 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.55s both; }
  .bac-hero--arch .bac-hand-note { animation: bac-draw-x 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.9s both; }
  .bac-hero--arch .bac-arch--main, .bac-world--arch .bac-world-media, .bac-mosaic { animation: bac-fade 0.9s var(--ease-out) 0.15s both; }
  .bac-hero--arch .bac-arch--main :is(video, img), .bac-world--arch .bac-world-media :is(video, img), .bac-mosaic-a img {
    animation: bac-settle 1.4s var(--ease-out) 0.15s both;
  }

  /* Scroll reveals. */
  .bac-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .bac-reveal.is-in { opacity: 1; transform: none; }
  .bac-hand-circle .bac-mark--circle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .is-in .bac-hand-circle .bac-mark--circle path, .bac-section-head:not(.bac-reveal) .bac-hand-circle .bac-mark--circle path {
    animation: bac-draw-stroke 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.3s both;
  }

  /* Photos in arches drift slower than the page. Not in the studio rail: there the moving photo made the
     arch edge shimmer on scroll. The clip gets its own layer so the curved edge is drawn once. */
  @supports (animation-timeline: view()) {
    :is(.bac-story-photo, .bac-value-media) { isolation: isolate; }
    :is(.bac-story-photo, .bac-value-media) img {
      animation: bac-drift linear both; animation-timeline: view(); animation-range: cover; will-change: transform;
    }
  }

  /* Hover (mouse) and press (touch). */
  @media (hover: hover) and (pointer: fine) {
    :is(.bac-card, .bac-studio, .bac-row):hover :is(.bac-card-media img, .bac-row img) { transform: scale(1.04); }
    .bac-row img { transition: transform var(--dur-3) var(--ease-out); }
    :is(.bac-btn, .bac-more-link, .bac-studio, .bac-row, .bac-card) .bac-icon:last-child { transition: transform var(--dur-2) var(--ease-out); }
    :is(.bac-more-link, .bac-studio, .bac-row, .bac-card):hover .bac-icon:last-child { transform: translateX(3px); }
  }
  :is(.bac-btn, .bac-tab, .bac-rail-btn, .bac-story-studios a):active { transform: scale(0.97); }
  :is(.bac-btn, .bac-tab, .bac-rail-btn, .bac-story-studios a) { transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2); }
}

/* Good to know (11/11): grouped by the question it answers, small label over each list; two columns on wide screens. */
.bac-know { display: grid; gap: var(--space-5); margin: 0; }
.bac-know-group { display: grid; align-content: start; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
.bac-know dt { font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 700; letter-spacing: 0.02em; color: var(--color-ink-2); }
.bac-know dd { margin: 0; }
.bac-know .bac-bullets { margin: 0; }
@media (min-width: 720px) {
  .bac-know { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); row-gap: var(--space-5); }
}

/* Facts panel: the icon sits on the label's first line, not the middle of a wrapped value. */
.bac-facts .bac-icon { align-self: start; margin-top: 1px; }
/* FAQ: the chevron sits on the question's first line when the question wraps. */
.bac-qa-chevron { align-self: start; margin-top: calc((1lh - 20px) / 2); }

/* Book strip above the phone tabs on browsing pages: one wide OCHRE button, white text. */
.bac-tabbar-book {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; margin-bottom: 2px; border-radius: var(--radius-m);
  background-color: var(--color-book); color: var(--color-book-ink); text-decoration: none; font: 700 var(--fs-ui)/1 var(--font-text);
}
.bac-tabbar-book .bac-icon { width: 20px; height: 20px; }
.bac-tabbar-book:active { background-image: linear-gradient(var(--book-press-overlay), var(--book-press-overlay)); }

/* Policies grouped (TOP / hub Good to know): one column of rows per group; three groups side by side on wide screens. */
.bac-know--policies .bac-policies { display: flex; flex-direction: column; border-top: 0; }
.bac-know--policies .bac-policies li { border-top: 0 !important; }
.bac-know--policies .bac-policies li:last-child { border-bottom: 0; }
@media (min-width: 1100px) { .bac-know--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Phones: grouped policies show their titles only (the grey lines mostly repeat them); cancellation and payment
   keep theirs because the title alone leaves something out. PC keeps every line. */
@media (max-width: 719px) {
  .bac-know--policies .bac-policies li > span:not(.bac-policy-keep) { display: none; }
  .bac-know--policies .bac-policies li { padding: 10px 0; }
  .bac-know--policies { gap: var(--space-4); }
}

/* Grouped policies are links to their FAQ answer: the whole row, a chevron on the right. */
.bac-policies--links li { padding: 0 !important; }
.bac-policy-link { display: flex; align-items: center; gap: var(--space-3); padding: 12px 0; color: inherit; text-decoration: none; }
.bac-policy-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bac-policy-text > span { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-policy-link > .bac-icon { flex: none; width: 18px; height: 18px; color: var(--color-ink-2); }
@media (hover: hover) and (pointer: fine) { .bac-policy-link:hover strong { text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 719px) {
  .bac-know--policies .bac-policy-text > span:not(.bac-policy-keep) { display: none; }
  .bac-policy-link { min-height: 48px; padding: 10px 0; }
}

/* ---------- Studios page (/locations/, 11/12): place cards grouped by city ---------- */
.bac-page-locations .bac-page-head .bac-filter { display: block; margin-top: var(--space-4); }
@media (min-width: 720px) { .bac-page-locations .bac-page-head .bac-filter { max-width: 20rem; } }
.bac-places-city { padding-top: var(--section-y-s); }
.bac-places-city h2 { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-5); font-size: var(--fs-title); }
.bac-places-count { font-family: var(--font-num); font-size: var(--fs-small); font-weight: 500; color: var(--color-ink-2); }
.bac-places { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7) var(--space-6); }
@media (min-width: 720px) { .bac-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bac-places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bac-place { display: grid; align-content: start; }
.bac-place-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--bac-tatami); }
.bac-place-media img { width: 100%; height: 100%; object-fit: cover; }
.bac-place-media .bac-placeholder { display: grid; place-items: center; height: 100%; font: 700 var(--fs-subtitle)/1 var(--font-text); color: var(--color-ink-2); }
.bac-place-body { display: grid; gap: var(--space-2); padding-top: var(--space-4); }
.bac-place h3 { font-size: var(--fs-subtitle); }
.bac-place h3 a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.bac-place h3 .bac-icon { width: 20px; height: 20px; }
.bac-place-area { color: var(--color-ink-2); font-size: var(--fs-small); }
.bac-place-facts { font-size: var(--fs-ui); }
.bac-place-best { font-size: var(--fs-small); line-height: var(--lh-lead); }
.bac-place-address { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-place-links { margin-top: var(--space-1); font-size: var(--fs-small); }
@media (hover: hover) and (pointer: fine) {
  .bac-place-media img { transition: transform 0.6s var(--ease-out); }
  .bac-place:hover .bac-place-media img { transform: scale(1.04); }
  .bac-place h3 a:hover span { text-decoration: underline; text-underline-offset: 3px; }
}
.bac-places-city[hidden] { display: none; }
.bac-place h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.bac-place-media, .bac-place-media .bac-placeholder { text-decoration: none; }
.bac-places-city:first-of-type { padding-top: var(--space-6); }
/* On the WHITE page head (Studios page) the select takes the panel tint, as in white sections. */
.bac-page-head .bac-filter-select select, .bac-catalog .bac-filter-select select { background: var(--color-panel); box-shadow: none; }
.bac-page-head .bac-filter-select select:hover, .bac-catalog .bac-filter-select select:hover { background: #E6E3DA; }

/* Studio card v2 (11/12, ユン 「텍스트로만 정리하는거 고만」): figures, chips and buttons instead of text lines. */
.bac-place-body { gap: var(--space-4); }
.bac-place-head { display: grid; gap: 2px; }
.bac-place-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; border-block: 1px solid var(--color-line); }
.bac-place-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: var(--space-3) var(--space-3) var(--space-3) 0; }
.bac-place-stats > div + div { padding-left: var(--space-3); border-left: 1px solid var(--color-line); }
.bac-place-stats dt { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-place-stats dd { margin: 0; font: 700 clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem)/1.1 var(--font-text); letter-spacing: -0.01em; white-space: nowrap; }
.bac-place-stats dd small { margin-left: 2px; font-size: 0.6em; vertical-align: 0.3em; }
.bac-place-soon { padding: var(--space-3) 0; border-block: 1px solid var(--color-line); font-weight: 700; }
.bac-place-label { margin-bottom: var(--space-2); font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }
.bac-place-near ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bac-place-near li { display: inline-flex; align-items: center; min-height: 2rem; padding: 0 0.75rem; border-radius: 999px; background: var(--color-panel); font-size: var(--fs-small); }
.bac-place-address { font-size: var(--fs-meta); }
.bac-place-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); }
.bac-place-actions .bac-btn { min-height: 3rem; }
.bac-place-actions .bac-btn .bac-icon { width: 18px; height: 18px; }
.bac-place-actions { display: flex; }
.bac-place-actions .bac-btn--ink { flex: 1; }
/* Balance (ユン 11/12): the three figures sit centred in equal cells; the two buttons share the width equally. */
.bac-place-stats > div, .bac-place-stats > div + div { align-items: center; padding: var(--space-3) var(--space-2); text-align: center; }
.bac-place-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.bac-place-actions .bac-btn { width: 100%; padding-inline: var(--space-3); }
/* The footer's torn KAKE edge (40px) stands in its own space, so it no longer eats the page's bottom margin. */
.bac-footer { margin-top: 40px; }

/* ---------- FAQ (11/12): figures, topic chips, groups as rows, an ask panel ---------- */
.bac-faq-topics { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.bac-faq-topics a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.5rem; padding: 0 0.5rem 0 1rem; border-radius: 999px; background: var(--color-panel); color: var(--color-ink); font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
.bac-faq-topics a span { display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.375rem; border-radius: 999px; background: var(--color-bg); font-family: var(--font-num); font-size: var(--fs-meta); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .bac-faq-topics a:hover { background: #E6E3DA; } }

.bac-faq-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-6) 0 0; padding: 0; list-style: none; border-block: 1px solid var(--color-line); }
.bac-faq-figures li + li { border-left: 1px solid var(--color-line); }
.bac-faq-figures a { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: var(--space-5) var(--space-2); color: inherit; text-align: center; text-decoration: none; }
.bac-faq-figure { font: 700 clamp(2rem, 1.5rem + 2vw, 3.25rem)/1 var(--font-text); letter-spacing: -0.02em; }
.bac-faq-figure-label { font-size: var(--fs-small); line-height: 1.35; text-wrap: balance; }
.bac-faq-figure-note { font-size: var(--fs-meta); color: var(--color-ink-2); }
@media (hover: hover) and (pointer: fine) { .bac-faq-figures a:hover .bac-faq-figure-label { text-decoration: underline; text-underline-offset: 3px; } }

.bac-faq-group { padding-top: var(--section-y-s); }
.bac-faq-group + .bac-faq-group { margin-top: 0; }
.bac-faq-group-head { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-3); }
.bac-faq-group-head p { font-family: var(--font-num); font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-faq-list { border-top: 1px solid var(--color-line); }
@media (min-width: 960px) {
  .bac-faq-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-8); align-items: start; }
  .bac-faq-group-head { display: grid; gap: var(--space-1); margin: 0; padding-top: var(--space-3); }
}

.bac-faq-ask { display: grid; gap: var(--space-5); margin-top: var(--section-y-s); padding: var(--space-6); border-radius: var(--radius-l); background: var(--color-panel); }
.bac-faq-ask h2 { font-size: var(--fs-subtitle); }
.bac-faq-ask p { margin-top: var(--space-1); color: var(--color-ink-2); }
.bac-faq-ask-actions { display: grid; gap: var(--space-2); }
.bac-faq-ask-actions .bac-btn { min-height: 3rem; }
.bac-faq-ask-actions .bac-btn .bac-icon { width: 18px; height: 18px; }
.bac-faq-ask-actions p { font-size: var(--fs-small); text-align: center; }
@media (min-width: 720px) {
  .bac-faq-ask { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--space-6) var(--space-7); }
  .bac-faq-ask-actions .bac-btn { min-width: 16rem; }
}

.bac-faq-topics { gap: 6px; }
.bac-faq-topics a { padding: 0 0.375rem 0 0.875rem; }
.bac-faq-ask h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }

/* ---------- detail v2 (11/12, 「텍스트로만 정리 고만」): figures, chips, tiles, buttons ---------- */
.bac-detail-main > .bac-figs-wrap { margin-top: 0; }
.bac-figs-wrap { display: grid; gap: var(--space-4); }
.bac-figs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; border-block: 1px solid var(--color-line); }
.bac-figs > div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; gap: 4px; padding: var(--space-4) var(--space-2); text-align: center; }
.bac-figs > div + div { border-left: 1px solid var(--color-line); }
.bac-figs dt { font-size: var(--fs-meta); line-height: 1.3; color: var(--color-ink-2); text-wrap: balance; }
.bac-figs dd { margin: 0; font: 700 clamp(1.5rem, 1.25rem + 1vw, 2.25rem)/1.05 var(--font-text); letter-spacing: -0.01em; }
.bac-figs dd.bac-figs-value--long { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); line-height: 1.25; text-wrap: balance; }
/* Perks: the booking card's check list, 1:1 (ユン 11/12). */
.bac-perks { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); line-height: 1.35; }
.bac-perks li { display: flex; gap: var(--space-2); align-items: flex-start; }
.bac-perks .bac-icon { width: 18px; height: 18px; margin-top: 2px; flex: none; }

.bac-price-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.bac-price-tiles li { display: grid; align-content: start; gap: 4px; padding: var(--space-4); border-radius: var(--radius-l); background: var(--color-panel); }
.bac-price-tiles strong { font: 700 clamp(1.5rem, 1.3rem + 0.8vw, 2rem)/1.05 var(--font-num); }
.bac-price-tiles span { font-size: var(--fs-small); }
.bac-price-tiles .bac-prices-note { color: var(--color-ink-2); font-size: var(--fs-meta); }
.bac-book-note { margin-top: 4px; font-size: var(--fs-meta); color: var(--color-ink-2); }

.bac-meet2 { display: grid; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-l); background: var(--color-panel); }
.bac-meet2-where { display: grid; gap: 2px; }
.bac-meet2-name { font-weight: 700; font-size: var(--fs-ui); }
.bac-meet2-floor, .bac-meet2-address { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-meet2-arrive { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 2rem; padding: 0 0.75rem; border-radius: 999px; background: var(--color-bg); font-size: var(--fs-small); }
.bac-meet2-arrive .bac-icon { width: 16px; height: 16px; }
.bac-meet2-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--space-2); }
.bac-meet2-actions .bac-btn { width: 100%; min-height: 3rem; padding-inline: var(--space-3); }
.bac-meet2-actions .bac-btn .bac-icon { width: 18px; height: 18px; }
.bac-meet2-actions .bac-btn--ghost { background: var(--color-bg); }

.bac-block--policy-links .bac-policy-text > span { display: none; }
.bac-block--policy-links .bac-policies { border-top: 1px solid var(--color-line); }
.bac-block--policy-links .bac-policy-link { min-height: 52px; }

/* Several start times stack one per line, so the cell never breaks at a separator. */
.bac-figs dd > span { display: block; white-space: nowrap; }
.bac-figs dd.bac-figs-value--long { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.2; }
.bac-figs > div { justify-content: flex-start; }

/* The upcharge note: in the PC book card; on phones under the chips, so the fixed booking bar keeps one height. */
.bac-figs-note { font-size: var(--fs-small); color: var(--color-ink-2); }
@media (max-width: 959px) { .bac-book .bac-book-note { display: none; } }
@media (min-width: 960px) { .bac-figs-note { display: none; } }
/* After a SUMI section the torn edge sits on the dark band itself (no white strip between them). */
.bac-main:has(> .bac-section--dark:last-child) + .bac-footer { margin-top: 0; }

/* ---------- hero cover (11/12, ユン 「배경은 움직이지 않고 위에만 움직이는」) ----------
   The first screen (TOP / studio hero) scrolls normally until its bottom meets the screen's bottom, then stays put
   while the next section slides up over it. Plain scrolling, nothing held; svh keeps it steady when Safari's bar
   collapses. Off with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .bac-hero--arch { position: sticky; top: min(var(--stick, 0px), calc(100svh - var(--hero-h, 100svh))); z-index: 0; }
  :where(.bac-hero--arch) ~ * { position: relative; z-index: 1; background-color: var(--color-bg); }
  /* The same on every page: list / FAQ / Studios heads, the detail photos (mosaic on PC, swipe track on phones). */
  .bac-page > .bac-page-head[data-cover] { position: sticky; top: min(var(--stick, 0px), calc(100svh - var(--hero-h, 100svh))); z-index: 0; }
  :where(.bac-page > .bac-page-head[data-cover]) ~ * {
    position: relative; z-index: 1; background-color: var(--color-bg);
    box-shadow: 0 0 0 100vmax var(--color-bg); clip-path: inset(0 -100vmax);
  }
  @media (min-width: 960px) {
    .bac-mosaic-wrap:has(.bac-mosaic) { position: sticky; top: min(var(--stick, 0px), calc(100svh - var(--hero-h, 100svh))); z-index: 0; }
    :where(.bac-mosaic-wrap:has(.bac-mosaic)) ~ * { position: relative; z-index: 1; background-color: var(--color-bg); }
  }
  @media (max-width: 959px) {
    .bac-detail-main > .bac-media[data-cover] { position: sticky; top: 0; z-index: 0; }
    :where(.bac-detail-main > .bac-media[data-cover]) ~ * {
      position: relative; z-index: 1; background-color: var(--color-bg);
      box-shadow: 0 0 0 100vmax var(--color-bg); clip-path: inset(0 -100vmax);
    }
  }
}

/* Phones, TOP: the arch stands on the studio band, so the film and the band move together as one layer over the
   still headline (ユン 11/12 「이 영상이랑 검은섹션 같은레이어」). The headline stays; the arch, then the band, cover it. */
@media (max-width: 959px) and (prefers-reduced-motion: no-preference) {
  .bac-hero--arch { position: relative; top: auto; }
  .bac-hero--arch > .bac-hero-copy { position: sticky; top: 0; z-index: 0; }
  .bac-hero--arch > .bac-hero-stage { z-index: 1; background: var(--color-bg); }
}

/* Cover effect: the gaps (margins) between the sliding blocks were see-through, so the still first screen showed in
   them. Each block drops a WHITE copy of itself 160px below (box-shadow), which fills the gap and sits under the next
   block. The last block does not, so the footer stays clear. */
@media (prefers-reduced-motion: no-preference) {
  :where(.bac-hero--arch) ~ :not(:last-child) { box-shadow: 0 160px 0 0 var(--color-bg); }
  :where(.bac-page > .bac-page-head[data-cover]) ~ :not(:last-child) {
    box-shadow: 0 0 0 100vmax var(--color-bg), 0 160px 0 100vmax var(--color-bg); clip-path: inset(0 -100vmax -160px);
  }
  @media (min-width: 960px) {
    :where(.bac-mosaic-wrap:has(.bac-mosaic)) ~ :not(:last-child) { box-shadow: 0 160px 0 0 var(--color-bg); }
  }
  @media (max-width: 959px) {
    :where(.bac-detail-main > .bac-media[data-cover]) ~ :not(:last-child) {
      box-shadow: 0 0 0 100vmax var(--color-bg), 0 160px 0 100vmax var(--color-bg); clip-path: inset(0 -100vmax -160px);
    }
  }
}
/* A block that itself slides over the photos must stay opaque while it rises (a fading block let the photos show
   through on phones); only the rise remains. */
@media (prefers-reduced-motion: no-preference) and (max-width: 959px) {
  :where(.bac-detail-main > .bac-media[data-cover]) ~ .bac-reveal { opacity: 1; }
}

/* A studio without photos yet: its name and opening date sit at the arch's lower left, so even the sliver that
   peeks in from the rail reads as a studio card (ユン 11/12). */
.bac-placeholder--soon, .bac-section--dark .bac-placeholder--soon, .bac-place-media .bac-placeholder--soon {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px;
  width: 100%; height: 100%; padding: var(--space-5) var(--space-5) var(--space-4); text-align: left; color: var(--color-ink);
}
.bac-section--dark .bac-placeholder--soon::after { content: none; }
.bac-placeholder--soon strong { font: 700 clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem)/1 var(--font-text); letter-spacing: -0.01em; }
.bac-placeholder--soon small { font: 400 clamp(1.125rem, 1rem + 0.5vw, 1.375rem)/1.1 "Caveat Brush", var(--font-text); color: var(--color-ink-2); }

/* ---------- studio hub (11/12): the hero summary and Getting here in the card grammar ---------- */
.bac-summary--v2 { display: grid; gap: var(--space-4); margin-top: var(--space-2); padding: 0; border: 0; }
.bac-summary--v2 .bac-place-stats { border-top: 1px solid var(--color-line); }
.bac-summary--v2 .bac-place-stats dt a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.bac-summary--v2 .bac-place-stats dt .bac-icon { width: 12px; height: 12px; }
.bac-visit .bac-meet2 { align-self: start; }


/* Review fixes (11/12) */
@media (min-width: 960px) { .bac-figs-note--always { display: block; } }
/* Phones, detail: the photos sit visually above the title (order -1) but come after it in the HTML, so the title
   block must slide over the still photos too, like the blocks after them. */
@media (prefers-reduced-motion: no-preference) and (max-width: 959px) {
  .bac-detail-main:has(> .bac-media[data-cover]) > .bac-detail-head {
    position: relative; z-index: 1; background-color: var(--color-bg);
    box-shadow: 0 0 0 100vmax var(--color-bg), 0 160px 0 100vmax var(--color-bg); clip-path: inset(0 -100vmax -160px);
  }
}

/* ================= ink and voice (11/12): the page as something the crew wrote on =================
   No new colours, no pictures of things: big type, brush marks, a few handwritten lines. */

/* 2. Manifesto: Why BAC opens on its one sentence, set as large as the headline. */
.bac-section--manifesto .bac-section-head { display: grid; gap: var(--space-4); justify-content: start; align-items: start; margin-bottom: var(--space-7); }
.bac-section--manifesto .bac-section-head h2 { font: 700 var(--fs-small)/1.2 var(--font-num); letter-spacing: 0.04em; color: var(--color-ink-2); }
.bac-section--manifesto .bac-section-lead {
  max-width: 14ch; font: 700 clamp(2.5rem, 1.5rem + 5vw, 5.5rem)/1 var(--font-text); letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance;
}
.bac-section--manifesto .bac-hand-circle { margin-inline: 0.3em 0; }
.bac-section--manifesto .bac-hand-circle-word { color: inherit; }
.bac-section--manifesto .bac-mark--circle { color: var(--bac-ochre); }


/* 4. Steps: each number sits in an ensō, a brush ring left open. */
.bac-steps-n { position: relative; background: none; color: var(--color-ink); font: 700 var(--fs-ui)/1 var(--font-text); }
.bac-steps-n > span { position: relative; }
.bac-mark--enso { inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); transform: rotate(var(--turn, 0deg)); }
.bac-steps li:not(:last-child)::before { top: 2.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .bac-reveal .bac-mark--enso path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .bac-reveal.is-in .bac-mark--enso path { animation: bac-draw-stroke 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both; }
}

/* 5. Hand notes: the hero's voice again where you book, and a thank-you by the reviews. */
.bac-hand-note--book { display: none; }
@media (min-width: 960px) {
  .bac-hand-note--book { display: flex; align-items: flex-start; gap: 6px; margin: var(--space-2) 0 0 var(--space-4); font: 400 1.25rem/1.1 "Caveat Brush", var(--font-text); transform: rotate(-2deg); }
  .bac-hand-note--book .bac-mark--arrow { position: static; flex: none; width: 2em; height: 1.5em; margin-top: -0.3em; transform: scaleY(-1); }
}

/* ---------- studio page (11/12): inside the studio, the crew, a fuller way in ---------- */
.bac-sample { display: inline-block; margin-left: 0.6em; padding: 0.25em 0.6em; border: 1px dashed var(--color-line-strong); border-radius: 999px; vertical-align: middle;
  font: 500 0.75rem/1 var(--font-num); letter-spacing: 0; color: var(--color-ink-2); white-space: nowrap; }
.bac-about { display: grid; gap: var(--space-7); }
.bac-about-copy { display: grid; gap: var(--space-4); align-content: start; }
.bac-about-title { font: 700 clamp(1.75rem, 1.3rem + 2vw, 3rem)/1.05 var(--font-text); letter-spacing: var(--tracking-display); text-wrap: balance; }
.bac-about-copy > p:not(.bac-about-title) { max-width: 36rem; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-ink-2); }
@media (min-width: 960px) { .bac-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; } }

.bac-figs--way { margin-bottom: var(--space-6); }
.bac-visit-info { display: grid; gap: var(--space-5); align-content: start; }
.bac-visit-sub { font-size: var(--fs-subtitle); }
.bac-open { display: grid; gap: 0; margin: 0; border-block: 1px solid var(--color-line); }
.bac-open > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) 0; }
.bac-open > div + div { border-top: 1px solid var(--color-line); }
.bac-open dt { font-size: var(--fs-small); color: var(--color-ink-2); }
.bac-open dd { margin: 0; font-weight: 700; }
.bac-around { margin-top: var(--space-6); }
.bac-around li { gap: 8px; }
.bac-around-min { font-family: var(--font-num); font-size: var(--fs-meta); color: var(--color-ink-2); }

/* Frame-only studio (11/12): placeholder activity cards and a map box, all sample. */
.bac-cards--sample .bac-card { cursor: default; }
.bac-placeholder--photo, .bac-section--dark .bac-placeholder--photo { display: grid; place-items: center; width: 100%; height: 100%; background: var(--bac-tatami);
  font: 500 var(--fs-small)/1 var(--font-num); color: rgb(19 19 19 / 45%); }
.bac-placeholder--photo::after { content: none !important; }
.bac-map--sample { display: grid; place-items: center; min-height: 16rem; border: 1px dashed var(--color-line-strong); border-radius: var(--radius-l); background: var(--color-panel);
  font: 500 var(--fs-small)/1 var(--font-num); color: var(--color-ink-2); }

/* The map shows on phones too (ユン 11/12), under the address panel; Google's embed needs two fingers to pan,
   so it does not trap the page scroll. Also under Where you'll meet on activity pages. */
.bac-map { display: block; }
.bac-meet-map { margin-top: var(--space-3); aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .bac-meet-map { aspect-ratio: 16 / 9; } }

/* Review fixes (11/12, second pass) */
.bac-map.bac-map--sample { display: grid; aspect-ratio: auto; min-height: 16rem; }

/* Figures strip: every value sits on one line and every label starts on one line, however many lines each takes
   (ユン 11/12: 「Exit 1」 sat lower than 「5 min」 and 「5F」). Values share a row, labels share the next. */
@supports (grid-template-rows: subgrid) {
  .bac-figs { grid-template-rows: auto auto; }
  .bac-figs > div { display: grid; grid-row: 1 / span 2; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 4px; justify-items: center; justify-content: stretch; }
  .bac-figs dd { grid-row: 1; align-self: end; }
  .bac-figs dt { grid-row: 2; align-self: start; }
}

/* ---------- アガタ feedback (11/12) ---------- */
/* Reviews (ユン 11/12): the guest photo with a white score card over its lower edge, the sources as line rows. */
.bac-score { display: flex; align-items: center; gap: var(--space-4); }
.bac-score-num { margin: 0; font: 700 clamp(3.75rem, 3rem + 3vw, 5.5rem)/0.85 var(--font-text); letter-spacing: -0.03em; }
.bac-score-side { padding-left: var(--space-4); border-left: 1px solid rgb(19 19 19 / 22%); }
.bac-score-stars { display: flex; gap: 3px; margin: 0; font-size: 1.25rem; line-height: 1; }
.bac-score-stars i { font-style: normal; }
.bac-score-stars .is-off { opacity: 0.25; }
.bac-score-sub { margin: 8px 0 0; font: 400 var(--fs-small)/1.4 var(--font-num); }
.bac-score-sub strong { font-weight: 700; }
.bac-story-visual .bac-score {
  position: relative; z-index: 1; margin: -3.5rem var(--space-5) 0; padding: var(--space-5);
  border-radius: var(--radius-l); background: var(--color-bg); box-shadow: 0 6px 24px rgb(19 19 19 / 14%);
}
.bac-story-visual .bac-score:first-child { margin: 0; }
/* The score in OCHRE, on the white card only (exception by ユン 11/12). */
.bac-story-visual .bac-score-num { color: var(--bac-ochre); }
/* People sit higher in the frame, clear of the card. */
.bac-story-photo img { object-position: 50% 68%; }
.bac-story .bac-story-studios { display: block; margin: 0; border-top: 1px solid rgb(19 19 19 / 22%); }
.bac-story .bac-story-studios a {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 3.5rem; padding: 0;
  border: 0; border-bottom: 1px solid rgb(19 19 19 / 22%); border-radius: 0; background: none; box-shadow: none;
  font-size: var(--fs-small); font-weight: 700; color: var(--color-ink); text-decoration: none;
}
.bac-story .bac-story-studios a:hover { background: none; box-shadow: none; }
.bac-story .bac-story-studios a:hover > span:first-of-type { text-decoration: underline; }
.bac-story-studios .bac-insta-icon { width: 18px; height: 18px; flex: none; }
.bac-story, .bac-page-top .bac-story { padding-bottom: var(--section-y); }
.bac-story-grid, .bac-page-top .bac-story-grid { align-items: center; }
.bac-story-body, .bac-page-top .bac-story-body { align-self: auto; padding: 0; }
@media (max-width: 599px) {
  .bac-story-photo { margin-inline: 0; }
  .bac-story-visual .bac-score { gap: var(--space-3); margin-inline: var(--space-3); }
  .bac-story-visual .bac-score-side { padding-left: var(--space-3); }
  .bac-story, .bac-page-top .bac-story { padding-bottom: var(--section-y-s); }
}
@media (min-width: 900px) {
  .bac-story-grid, .bac-page-top .bac-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: end; }
  .bac-story-photo, .bac-story--hub .bac-story-photo { aspect-ratio: 4 / 3.4; }
  /* The rows end level with the score card, so the two read as one block. */
  .bac-story-body, .bac-page-top .bac-story-body { padding-bottom: var(--space-2); }
  .bac-story-visual .bac-score { margin: -4.5rem var(--space-6) 0; }
  .bac-story--hub .bac-story-visual { order: 2; }
}
@media (min-width: 1100px) { .bac-story-visual .bac-score { padding: var(--space-6); } }
/* Guest quotes fill the empty side of the reviews band on wide screens (アガタ 11/13); phones keep the plain band. */
.bac-quotes { display: none; }
@media (min-width: 900px) {
  .bac-quotes { display: grid; gap: var(--space-6); margin-bottom: var(--space-7); }
  .bac-quote { margin: 0; }
  .bac-quote blockquote { margin: 0; }
  .bac-quote blockquote p { font-size: var(--fs-lead); line-height: var(--lh-lead); text-wrap: pretty; }
  .bac-quote blockquote p::before { content: "\201C"; }
  .bac-quote blockquote p::after { content: "\201D"; }
  .bac-quote figcaption { margin-top: var(--space-3); font: 400 var(--fs-small)/1.4 var(--font-num); color: var(--color-ink-2); }
  .bac-quote figcaption strong { color: var(--color-ink); font-weight: 700; }
  .bac-quote figcaption a { color: inherit; }
}
/* Stars pop in one by one as the figure counts up (shell.js adds is-wait / is-on). */
@media (prefers-reduced-motion: no-preference) {
  .bac-score.is-wait .bac-score-stars i { display: inline-block; transform: scale(0) rotate(-40deg); }
  .bac-score.is-on .bac-score-stars i { animation: bac-star-pop 0.55s cubic-bezier(0.34, 1.7, 0.64, 1) calc(0.25s + var(--n) * 0.09s) both; }
}
@keyframes bac-star-pop {
  0% { transform: scale(0) rotate(-40deg); }
  70% { transform: scale(1.25) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}
/* Video pause button: hidden (アガタ 11/13), but it still shows when reached with the keyboard (WCAG 2.2.2). */
.bac-loop-toggle { opacity: 0; pointer-events: none; }
.bac-loop-toggle:focus-visible { opacity: 1; pointer-events: auto; }
/* Activities catalog (11/13): where + type filters over one card per experience; 12 at a time. */
.bac-catalog { margin-top: var(--space-6); }
.bac-catalog-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-4); }
.bac-catalog-bar .bac-filter { margin-bottom: 0; }
.bac-chips-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bac-chip-btn {
  min-height: 2.75rem; padding: 0 1.125rem; border: 0; border-radius: 999px; background: var(--color-panel);
  font: 500 var(--fs-small)/1 var(--font-text); color: var(--color-ink); cursor: pointer;
}
.bac-chip-btn:hover { background: #E6E3DA; }
.bac-chip-btn[aria-pressed="true"] { background: var(--color-ink); color: var(--color-ink-inverse); }
.bac-catalog-count { margin-bottom: var(--space-4); font: 500 var(--fs-meta)/1.3 var(--font-num); color: var(--color-ink-2); }
.bac-catalog-empty { padding: var(--space-6) 0; font-size: var(--fs-body); }
.bac-catalog-empty .bac-link { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.bac-catalog-more { display: flex; justify-content: center; margin-top: var(--space-6); }
.bac-catalog-more[hidden] { display: none; }
.bac-catalog-bar[hidden] { display: none; }
.bac-catalog-studios { margin-top: var(--section-y-s); }
.bac-catalog-studios h2 { font-size: var(--fs-h3, 1.375rem); margin-bottom: var(--space-3); }
.bac-catalog-studios ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.bac-catalog-studios a { display: flex; align-items: center; gap: var(--space-3); min-height: 3.5rem; border-bottom: 1px solid var(--color-line); text-decoration: none; color: var(--color-ink); font-weight: 700; }
.bac-catalog-studios a span + span { font-weight: 400; color: var(--color-ink-2); }
.bac-catalog-studios a .bac-icon { margin-left: auto; width: 16px; height: 16px; }
@media (max-width: 599px) { .bac-catalog-bar .bac-filter { flex: 1 1 100%; } }
/* Studios page (アガタ 11/19): smaller cards so Tokyo and Osaka show together. Phones: photo beside the text. */
@media (max-width: 719px) {
  .bac-places { gap: var(--space-6); }
  .bac-places-city { padding-top: var(--space-7); }
  .bac-places-city h2 { margin-bottom: var(--space-4); }
  .bac-place { grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: var(--space-4); }
  .bac-place-media { align-self: start; aspect-ratio: 1 / 1.1; }
  .bac-place-body { padding-top: 0; }
  .bac-place-near ul { gap: 4px; }
  .bac-place-actions { flex-direction: column; }
  .bac-place-actions .bac-btn { width: 100%; }
}
@media (min-width: 1100px) {
  .bac-places { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
  .bac-places-city { padding-top: var(--space-7); }
}
/* Studio rail: arrows on phones too, so it reads as sideways (both ways). */
.bac-rail-nav:not([hidden]) { display: flex; }
@media (max-width: 599px) {
  .bac-rail-bar { display: flex; flex-wrap: nowrap; }
  .bac-rail-bar .bac-filter { flex: 1; min-width: 0; width: auto; }
  .bac-rail-nav { flex: none; }
}
/* Inside the studio: photos of the room instead of crew cards. */
.bac-inside-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.bac-inside-photos figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-m); background: var(--bac-tatami); }
.bac-inside-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 999px 999px var(--radius-m) var(--radius-m); }
.bac-inside-photos[data-count="2"] figure:first-child { grid-column: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-m); }
.bac-inside-photos img { width: 100%; height: 100%; object-fit: cover; }
/* Four photos: the wide one, then three in a row (アガタ 11/18). */
.bac-inside-photos[data-count="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* A full-sentence studio line reads as a lead, not a headline. */
.bac-about-title--long { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.2; }

/* Legal pages (/privacy/, /legal/): plain document, lines like the FAQ, no colour. */
.bac-legal-doc { display: flex; flex-direction: column; gap: var(--space-3); }
.bac-legal-doc + .bac-legal-doc { margin-top: var(--space-7); padding-top: var(--space-7); border-top: 1px solid var(--color-line); }
.bac-legal-doc h2 { font-size: var(--fs-h3); }
.bac-legal-doc[lang="ja"] { word-break: auto-phrase; line-break: strict; }
.bac-legal-doc h3 { font-size: var(--fs-body); font-weight: 700; margin-top: var(--space-4); }
.bac-legal-doc ol { padding-left: 1.4em; list-style: decimal; display: flex; flex-direction: column; gap: 6px; }
.bac-legal-doc a { text-decoration: underline; text-underline-offset: 0.15em; overflow-wrap: anywhere; }
.bac-legal-facts { margin: 0; border-top: 1px solid var(--color-line); }
.bac-legal-facts > div { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: var(--space-3); padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.bac-legal-facts dt { font-weight: 700; }
.bac-legal-facts dd { margin: 0; overflow-wrap: anywhere; }
.bac-legal-date { color: var(--color-ink-2); font-size: var(--fs-small); }
@media (max-width: 640px) {
  .bac-legal-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Cookie consent: a white card above the bottom bar; Accept and Reject are the same black button (owner 11/19; no OCHRE: that is the Book button's). */
.bac-consent {
  position: fixed; z-index: var(--z-toast);
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom));
  max-width: 34rem; margin-inline: auto; padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--color-bg); color: var(--color-ink);
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-l); box-shadow: var(--shadow-overlay);
  font-size: var(--fs-small);
}
.bac-consent[hidden] { display: none; }
.bac-consent-title { font-size: var(--fs-body); font-weight: 700; }
.bac-consent a { text-decoration: underline; text-underline-offset: 0.15em; }
.bac-consent-state { color: var(--color-ink-2); }
.bac-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.bac-consent-actions .bac-btn { width: 100%; }
.bac-consent-actions .bac-btn:hover { opacity: 0.88; }
.bac-footer-consent { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.bac-footer-consent:hover { text-decoration: underline; }
@media (min-width: 960px) {
  .bac-consent { bottom: 24px; left: auto; right: 24px; margin: 0; }
}

/* zones/asakusa/theme.css */
/* BAC asakusa — 調整: --loc-* tokens only, every selector starts with .w-asakusa.
   Until this location's kit is approved, BAC V1.0 defaults apply, so nothing is overridden yet.
   Available: --loc-bg, --loc-ink, --loc-muted (world places: hub top, detail band, TOP door). */

/* zones/osaka/theme.css */
/* BAC osaka — 調整: --loc-* tokens only, every selector starts with .w-osaka.
   Until this location's kit is approved, BAC V1.0 defaults apply, so nothing is overridden yet.
   Available: --loc-bg, --loc-ink, --loc-muted (world places: hub top, detail band, TOP door). */

/* zones/shibuya/theme.css */
/* BAC Shibuya — 調整: --loc-* tokens only, every selector starts with .w-shibuya.
   Values wait for the Shibuya kit approval; BAC V1.0 defaults apply until then. */

/* zones/shibuya/world.css */
/* BAC Shibuya world (自由). Every selector starts with .w-shibuya; no !important, no .bac-*, no OCHRE. */
.w-shibuya .w-shibuya-world {
  margin: 0 auto;
  max-width: var(--bac-content);
  padding: 72px 32px 40px;
}

.w-shibuya .w-shibuya-eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.w-shibuya .w-shibuya-world h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0;
}

.w-shibuya .w-shibuya-area {
  font-size: 18px;
  font-weight: 600;
  margin: 14px 0 0;
}

@media (max-width: 959px) {
  .w-shibuya .w-shibuya-world {
    padding: 40px 16px 24px;
  }

  .w-shibuya .w-shibuya-world h1 {
    font-size: 44px;
  }
}
