/* =========================================================
   OKINAWA BAR & SPA — shared stylesheet (all 5 languages)
   Palette: black / gold / hibiscus red / ivory
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: dark;

  --c-bg: #151312;          /* base black */
  --c-bg-2: #211D1B;        /* subtle panel */
  --c-gold: #D5B36B;        /* headings, rules, accents */
  --c-gold-hi: #E4C886;     /* gradient highlight (buttons only) */
  --c-gold-lo: #C6A35A;     /* gradient shade (buttons only) */
  --c-ivory: #F7EFE0;       /* body text */
  --c-red: #B93138;         /* hibiscus accent (decoration only) */
  --c-coral: #F5B8B4;       /* hearts only (photo hearts, staff accents) */
  --c-line: rgba(213, 179, 107, 0.42);
  --c-line-soft: rgba(213, 179, 107, 0.22);

  --f-brand: "Cinzel", "Noto Serif", Georgia, "Times New Roman", serif;
  --f-body: "Noto Serif", Georgia, "Times New Roman", serif;

  /* Type scale (mobile → desktop) */
  --fs-body: clamp(1.1875rem, 1.1rem + 0.25vw, 1.3125rem);   /* 19 → 21px */
  --fs-label: 1.0625rem;                                      /* 17px */
  --fs-nav: 1.125rem;                                         /* 18px */
  --fs-cta: 1.1875rem;                                        /* 19px */
  --fs-h3: clamp(1.5625rem, 1.3rem + 1vw, 2.25rem);           /* 25 → 36px */
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.5rem);              /* 32 → 56px */
  --fs-catch: clamp(2.25rem, 1.5rem + 3.4vw, 5.5rem);         /* 36 → 88px */
  --fs-brand: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem);       /* 22 → 36px */

  --lh-body: 1.8;
  --gutter: 16px;
  --header-h: 76px;
  --radius: 6px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-wave: cubic-bezier(0.45, 0.05, 0.25, 1);
}

html[lang="ja"] { --f-body: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; --lh-body: 1.9; }
html[lang="zh-CN"] { --f-body: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; --lh-body: 1.9; }
html[lang="zh-TW"] { --f-body: "Noto Serif TC", "Songti TC", "PMingLiU", "MingLiU", serif; --lh-body: 1.9; }

@media (min-width: 640px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ivory);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }

/* The hidden attribute always wins over component display rules. */
[hidden] { display: none !important; }

/* A modal (coupon / photo viewer) is open: keep the page behind it still. */
html.has-modal, html.has-modal body { overflow: hidden; }

a { color: var(--c-ivory); text-decoration-color: var(--c-gold); text-underline-offset: 0.2em; }
a:hover { color: var(--c-gold); }

:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.35; }
html[lang="en"] :is(h1, h2, h3), html[lang="vi"] :is(h1, h2, h3) { line-height: 1.25; }
html[lang="ja"] :is(h1, h2, h3) { word-break: auto-phrase; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--c-gold); color: var(--c-bg); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--c-gold); color: var(--c-bg); padding: 12px 20px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--c-bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 10px 26px;
  font-family: var(--f-body); font-size: var(--fs-cta); font-weight: 600; line-height: 1.3;
  text-decoration: none; text-align: center;
  border-radius: var(--radius); border: 1.5px solid var(--c-gold);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--gold {
  color: var(--c-bg);
  background: linear-gradient(180deg, var(--c-gold-hi) 0%, var(--c-gold) 48%, var(--c-gold-lo) 100%);
  border-color: var(--c-gold-lo);
}
.btn--gold:hover { color: var(--c-bg); background: var(--c-gold-hi); }
.btn--outline { color: var(--c-ivory); background: transparent; }
.btn--outline:hover { color: var(--c-bg); background: var(--c-gold); }
.btn__icon { width: 30px; height: 30px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 19, 18, 0.94);
  border-bottom: 1px solid var(--c-line-soft);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(21, 19, 18, 0.86); backdrop-filter: blur(8px); }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-gold); min-height: 44px; }
.brand:hover { color: var(--c-gold); }
.brand__logo { width: 56px; height: 56px; flex: none; }
.brand__text { font-family: var(--f-brand); font-weight: 600; letter-spacing: 0.08em; line-height: 1.15; }
.brand__name { display: block; font-size: 1.25rem; }
.brand__sub { display: block; font-size: 1rem; letter-spacing: 0.14em; color: var(--c-ivory); }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 48px; min-width: 48px; padding: 8px 14px;
  background: transparent; color: var(--c-ivory);
  border: 1.5px solid var(--c-line); border-radius: var(--radius);
  font: inherit; font-size: var(--fs-nav); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--c-gold); border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.is-nav-open .nav-toggle__bars { background: transparent; }
.is-nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-nav__list a {
  display: flex; align-items: center; min-height: 48px; padding: 4px 10px;
  font-size: var(--fs-nav); text-decoration: none; color: var(--c-ivory);
  border-bottom: 1.5px solid transparent;
}
.site-nav__list a:hover { color: var(--c-gold); border-bottom-color: var(--c-gold); }

/* Language selector (works without JS via <details>) */
.lang { position: relative; }
.lang__summary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px;
  list-style: none; cursor: pointer; font-size: var(--fs-nav); color: var(--c-ivory);
  border: 1.5px solid var(--c-line); border-radius: var(--radius);
}
.lang__summary::-webkit-details-marker { display: none; }
.lang__summary::after {
  content: ""; width: 8px; height: 8px; margin-left: 2px;
  border-right: 2px solid var(--c-gold); border-bottom: 2px solid var(--c-gold);
  transform: translateY(-2px) rotate(45deg);
}
.lang[open] .lang__summary::after { transform: translateY(2px) rotate(-135deg); }
.lang__label { font-family: var(--f-brand); font-size: 1rem; letter-spacing: 0.12em; color: var(--c-gold); }
.lang__list {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 60;
  background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.lang__list a {
  display: flex; align-items: center; min-height: 48px; padding: 6px 14px;
  font-size: var(--fs-nav); text-decoration: none; color: var(--c-ivory); border-radius: 4px;
}
.lang__list a:hover { background: rgba(213, 179, 107, 0.14); color: var(--c-ivory); }
.lang__list a[aria-current="page"] { color: var(--c-gold); }
.lang__list a[aria-current="page"]::before { content: "◆"; font-size: 0.6em; margin-right: 10px; color: var(--c-gold); }

.site-nav { display: flex; align-items: center; gap: 16px; }

/* Mobile / tablet navigation */
@media (max-width: 1079px) {
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 16px; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { min-height: 52px; font-size: 1.1875rem; border-bottom: 1px solid var(--c-line-soft); }
  .lang__list { position: static; box-shadow: none; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

  /* With JS the menu collapses behind the toggle; without JS it stays visible. */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .is-nav-open .site-nav { display: flex; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .site-header.is-nav-open { background: var(--c-bg); backdrop-filter: none; }
}
@media (max-width: 380px) {
  .brand__logo { width: 48px; height: 48px; }
  .brand__name { font-size: 1.125rem; }
  .nav-toggle__text { display: none; }
}
@media (min-width: 1080px) {
  .site-nav__list { flex-wrap: nowrap; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--panel { background: var(--c-bg-2); }
.section__head { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__title { font-size: var(--fs-h2); color: var(--c-gold); letter-spacing: 0.02em; }
.section__intro { margin-top: 20px; }

.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 0 18px; font-family: var(--f-brand); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.22em; color: var(--c-gold); text-transform: uppercase; line-height: 1.4;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--c-gold); flex: none; }

.prose { max-width: 36em; margin-inline: auto; }

.deco-hibiscus { width: 48px; height: 48px; margin: 0 auto 14px; pointer-events: none; }

/* ---------- Wave divider ---------- */
.wave { overflow: hidden; height: 28px; margin-inline: auto; max-width: 1180px; padding-inline: var(--gutter); pointer-events: none; }
.wave__track { display: block; overflow: hidden; height: 100%; }
.wave__track img { width: 100%; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(32px, 6vw, 88px) clamp(48px, 6vw, 96px);
  background:
    radial-gradient(ellipse 70% 60% at 28% 42%, rgba(213, 179, 107, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(185, 49, 56, 0.08), transparent 70%),
    var(--c-bg);
}
.hero__grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; justify-items: center; text-align: center; }
.hero__logo { width: min(64vw, 300px); }
.hero__logo img { width: 100%; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55)); }
.hero__eyebrow { margin-bottom: 14px; }
.hero__title { margin: 0; }
.hero__brand {
  display: block; font-family: var(--f-brand); font-size: var(--fs-brand); font-weight: 600;
  letter-spacing: 0.1em; color: var(--c-gold); line-height: 1.3; margin-bottom: 14px;
}
.hero__catch {
  display: block; font-size: var(--fs-catch); font-weight: 600; color: var(--c-ivory);
  line-height: 1.3; letter-spacing: 0.02em;
}
html[lang="ja"] .hero__catch, html[lang="zh-CN"] .hero__catch, html[lang="zh-TW"] .hero__catch {
  word-break: keep-all; overflow-wrap: anywhere;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4.75rem);   /* 36px (mobile) → ~61px @1440 → 76px max */
}
html[lang="en"] .hero__catch, html[lang="vi"] .hero__catch {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4.25rem); line-height: 1.2;
}
.hero__place {
  display: block;
  margin: 22px 0 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; color: var(--c-gold);
}
.hero__place::before { content: "◆"; font-size: 0.7em; margin-right: 10px; vertical-align: 0.15em; }
.hero__lead { max-width: 30em; margin-inline: auto; }
.hero__cta { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; width: 100%; max-width: 380px; margin-inline: auto; }

@media (min-width: 960px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); justify-items: start; text-align: left; }
  .hero__logo { width: min(100%, 480px); justify-self: center; }
  .hero__eyebrow { justify-content: flex-start; }
  .hero__eyebrow::before { display: none; }
  .hero__lead { margin-inline: 0; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; max-width: none; margin-inline: 0; }
}

/* ---------- About ---------- */
.about__ornament { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 3vw, 28px); margin-bottom: 8px; }
.about__shisa { width: clamp(56px, 9vw, 76px); pointer-events: none; }
.about__shisa--left img { transform: scaleX(-1); }   /* mirrored pair facing the title */
.about__ornament .eyebrow { margin-bottom: 10px; }

/* ---------- Bar & Spa ---------- */
.cards { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 820px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  position: relative; padding: clamp(28px, 4vw, 48px);
  background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--c-line-soft); border-radius: 3px; pointer-events: none;
}
.card__label { margin: 0 0 6px; font-family: var(--f-brand); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.22em; color: var(--c-gold); }
.card__title { font-size: var(--fs-h3); color: var(--c-gold); margin-bottom: 16px; }
.card__list { list-style: none; margin: 20px 0 0; padding: 0; }
.card__list li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--c-line-soft); }
.card__list li::before { content: "◆"; position: absolute; left: 2px; top: 0.55em; font-size: 0.7em; color: var(--c-gold); }
.services__note { text-align: center; margin: clamp(28px, 4vw, 44px) auto 0; max-width: 36em; }

/* ---------- Okinawa atmosphere ---------- */
.scenes { display: grid; gap: clamp(24px, 3vw, 36px); }
@media (min-width: 760px) { .scenes { grid-template-columns: 1fr 1fr; } }
.scene { margin: 0; }
.scene__frame {
  position: relative; padding: 8px; border: 1px solid var(--c-line); border-radius: var(--radius);
}
.scene__frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; filter: brightness(0.86) saturate(0.88); }
.scene__frame::after {
  content: ""; position: absolute; inset: 8px; border-radius: 3px; pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 19, 18, 0) 55%, rgba(21, 19, 18, 0.45) 100%);
}
.scene figcaption { margin-top: 12px; font-size: var(--fs-label); line-height: 1.6; }
.scenes__note { margin: clamp(28px, 4vw, 40px) auto 0; max-width: 46em; text-align: center; font-size: var(--fs-label); line-height: 1.7; }
.scenes__note strong { color: var(--c-gold); font-weight: 600; }
/* Photo credits: intentionally small (≈12px) but full-contrast ivory */
.credit { display: block; margin-top: 6px; font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.01em; color: var(--c-ivory); }
.credit a { color: var(--c-ivory); }

/* ---------- Gallery ---------- */
/* Justified rows: each photo's width follows its aspect ratio (--ar = width / height, set from
   js/data/gallery.js), so photos in a row share the same height and are never cropped. */
.gallery__grid {
  display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3vw, 36px);
  max-width: 1000px; margin-inline: auto;
}
.gallery__figure { margin: 0; width: 100%; max-width: 560px; }
@media (min-width: 720px) {
  .gallery__grid { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
  .gallery__figure {
    width: auto; min-width: 0;
    flex: var(--ar, 1) 1 calc(var(--ar, 1) * 420px + 20px);   /* +20px = frame padding */
    max-width: calc(var(--ar, 1) * 560px + 20px);
  }
}
.gallery__frame { position: relative; padding: 10px; }
.gallery__frame::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--c-gold); border-radius: var(--radius); pointer-events: none;
}
.gallery__frame img { width: 100%; height: auto; border-radius: 3px; }
.gallery__figure figcaption { margin-top: 14px; text-align: center; font-size: var(--fs-label); }

/* ---------- Hours ---------- */
.hours { max-width: 640px; margin: 0 auto; }
.hours__table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.hours__table th, .hours__table td { padding: 16px 8px; border-bottom: 1px solid var(--c-line-soft); text-align: left; vertical-align: top; }
.hours__table tr:first-child th, .hours__table tr:first-child td { border-top: 1px solid var(--c-line); }
.hours__table th { color: var(--c-gold); font-weight: 600; width: 42%; }
.hours__table td { font-variant-numeric: tabular-nums; }
.hours__note { margin-top: 24px; font-size: var(--fs-label); text-align: center; }

/* ---------- Access & contact ---------- */
.contact { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact__panel { padding: clamp(24px, 4vw, 40px); background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius); }
.contact__panel + .contact__panel { margin-top: 0; }
.contact__title { font-size: var(--fs-h3); color: var(--c-gold); margin-bottom: 16px; }
.contact__address { font-style: normal; margin-bottom: 8px; }
.contact__area { font-size: var(--fs-label); color: var(--c-gold); margin-bottom: 22px; }
.contact__stack { display: grid; gap: clamp(20px, 3vw, 32px); }
.contact-item { padding: 18px 0; border-top: 1px solid var(--c-line-soft); }
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item__label { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: var(--fs-label); font-weight: 600; color: var(--c-gold); }
.contact-item__label img { width: 30px; height: 30px; }
.contact-item__value { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); letter-spacing: 0.04em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.contact__note { font-size: var(--fs-label); margin-top: 4px; }
.contact .btn { width: 100%; }
@media (min-width: 520px) { .contact .btn { width: auto; } }

.sns { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.sns__link {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px;
  text-decoration: none; color: var(--c-ivory); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.sns__link:hover { border-color: var(--c-gold); color: var(--c-ivory); background: rgba(213, 179, 107, 0.08); }
.sns__link img { width: 32px; height: 32px; flex: none; }
.sns__name { display: block; font-weight: 600; color: var(--c-gold); line-height: 1.3; }
.sns__handle { display: block; font-size: var(--fs-label); line-height: 1.4; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 7vw, 88px) 40px; border-top: 1px solid var(--c-line-soft); text-align: center; }
.footer__logo { width: 140px; margin: 0 auto 18px; }
.footer__name { font-family: var(--f-brand); font-size: 1.375rem; font-weight: 600; letter-spacing: 0.1em; color: var(--c-gold); margin: 0; }
.footer__since { font-family: var(--f-brand); letter-spacing: 0.24em; color: var(--c-gold); font-size: var(--fs-label); margin: 4px 0 10px; }
.footer__tagline { margin-bottom: 28px; }
.footer__sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0 0 28px; padding: 0; }
.footer__sns a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px;
  text-decoration: none; color: var(--c-ivory); border: 1px solid var(--c-line); border-radius: 999px; font-size: var(--fs-label);
}
.footer__sns a:hover { border-color: var(--c-gold); color: var(--c-ivory); }
.footer__sns img { width: 28px; height: 28px; }
.footer__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; list-style: none; margin: 0 0 20px; padding: 0; }
.footer__langs a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 12px; font-size: var(--fs-label); }
.footer__langs a[aria-current="page"] { color: var(--c-gold); text-decoration: none; }
.footer__privacy {
  min-height: 48px; padding: 8px 18px; margin-bottom: 24px;
  font: inherit; font-size: var(--fs-label); color: var(--c-ivory); background: transparent;
  border: 1px solid var(--c-line); border-radius: var(--radius); cursor: pointer;
}
.footer__privacy:hover { border-color: var(--c-gold); color: var(--c-gold); }
.footer__copy { font-size: 1rem; margin: 0; }

/* ---------- Mobile sticky contact bar (JS enhancement) ---------- */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .js .sticky-cta {
    display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(21, 19, 18, 0.96); border-top: 1px solid var(--c-line);
    transform: translateY(110%); transition: transform 0.35s var(--ease); visibility: hidden;
  }
  .js .sticky-cta.is-visible { transform: none; visibility: visible; }
  .js body.has-sticky-cta { padding-bottom: 84px; }
  .sticky-cta .btn { min-height: 52px; padding: 6px 8px; font-size: var(--fs-label); gap: 8px; }
  .sticky-cta .btn__icon { width: 28px; height: 28px; }
}

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  max-width: 760px; margin-inline: auto; padding: 22px clamp(18px, 3vw, 30px);
  background: var(--c-bg-2); border: 1px solid var(--c-gold); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.consent[hidden] { display: none; }
.consent__title { font-size: 1.25rem; color: var(--c-gold); margin-bottom: 8px; }
.consent__text { font-size: var(--fs-label); line-height: 1.7; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.consent__actions .btn { flex: 1 1 140px; min-height: 48px; font-size: var(--fs-label); }

/* ---------- About: mascot ---------- */
.about__body { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 980px; margin-inline: auto; }
@media (min-width: 860px) {
  .about__body { grid-template-columns: minmax(0, 1fr) 220px; }
  .about__body .prose { margin-inline: 0; }
}
.mascot { justify-self: center; width: clamp(140px, 36vw, 220px); margin: 0; pointer-events: none; }
.mascot img { width: 100%; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55)); }

/* ---------- SYSTEM & PRICE (items: js/data/price.js; amounts only after the shop confirms them) ---------- */
.price {
  margin: 0 auto; max-width: 760px; padding: clamp(18px, 3vw, 34px);
  background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.price__fallback { margin: 0; text-align: center; }
.price-table { width: 100%; border-collapse: collapse; text-align: left; }
.price-table th, .price-table td { padding: 16px 6px; border-bottom: 1px solid var(--c-line-soft); vertical-align: baseline; }
.price-table tr:first-child th, .price-table tr:first-child td { padding-top: 4px; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; padding-bottom: 4px; }
.price-table__item { font-weight: 400; }
.price-table__label { display: block; font-weight: 600; }
.price-table__note { display: block; font-size: 1rem; line-height: 1.6; font-weight: 400; color: var(--c-ivory); }
.price-table__price { text-align: right; font-variant-numeric: tabular-nums; color: var(--c-gold); }
.price-table__amount { display: block; white-space: nowrap; font-weight: 600; }
.price-table__ask { display: block; font-size: var(--fs-label); color: var(--c-ivory); }
.price__updated { margin: 14px 0 0; font-size: 1rem; text-align: right; }
@media (max-width: 559px) {
  /* Small screens: item and price stacked, so long labels never squeeze the price. */
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { padding: 14px 2px; border-bottom: 1px solid var(--c-line-soft); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table th, .price-table td { padding: 0; border: 0; text-align: left; }
  .price-table td { margin-top: 2px; }
}

/* ---------- SNS ---------- */
.social { display: grid; gap: clamp(20px, 3vw, 32px); max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .social { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; } }
.social__card { padding: clamp(22px, 3vw, 34px); background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius); }
.social__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.social__head img { width: 32px; height: 32px; flex: none; }
.social__title { font-size: var(--fs-h3); color: var(--c-gold); }
.social__card .btn { margin-top: 6px; }

/* ---------- Click-to-load embeds ---------- */
.embed { margin-top: 14px; }
.embed__text, .embed__note { font-size: var(--fs-label); line-height: 1.7; }
.embed__note { margin-top: 10px; }
.embed__error { margin-top: 12px; font-size: var(--fs-label); color: var(--c-ivory); padding: 12px 14px; border-left: 3px solid var(--c-red); background: rgba(185, 49, 56, 0.12); }
.embed.is-loaded .embed__placeholder { display: none; }
.embed__frame iframe { display: block; border: 0; }
.embed--facebook .embed__frame { display: flex; justify-content: center; }
.embed--facebook .embed__frame iframe { max-width: 100%; border-radius: 10px; background: #fff; }
.embed--instagram .embed__frame { display: grid; gap: 16px; }

.map-card {
  display: none; position: relative; height: 300px; margin: 22px 0 18px; overflow: hidden;
  border: 1px solid var(--c-line); border-radius: 14px;
  background:
    repeating-linear-gradient(0deg, rgba(213, 179, 107, 0.06) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(213, 179, 107, 0.06) 0 1px, transparent 1px 36px),
    var(--c-bg);
}
.js .map-card { display: block; }
@media (min-width: 900px) { .map-card { height: 400px; } }
.map-card .embed__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center;
}
.map-card .embed__frame, .map-card .embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-hint { margin: -6px 0 16px; }
.map-card .embed__error { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; background: rgba(21, 19, 18, 0.94); }
.map-card.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 2px solid var(--c-line); border-top-color: var(--c-gold); border-radius: 50%; animation: okb-spin 1s linear infinite;
}
@keyframes okb-spin { to { transform: rotate(360deg); } }

/* ---------- Pointer ripple (mouse devices; created by main.js) ---------- */
.ripple-layer { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; contain: strict; }
.ripple__ring {
  position: absolute; left: 0; top: 0; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%;
  border: 1.5px solid rgba(213, 179, 107, 0.8);
  box-shadow: 0 0 16px rgba(213, 179, 107, 0.12), inset 0 0 26px rgba(213, 179, 107, 0.1);
  opacity: 0; will-change: transform, opacity;
}

/* ---------- Visitor counter (hero; value from Firestore via js/firebase.js) ---------- */
.visitors {
  display: none; width: fit-content; margin: 30px auto 0; padding-top: 16px; text-align: center;
  border-top: 1px solid var(--c-line-soft);
}
.js .visitors { display: block; }
@media (min-width: 960px) { .visitors { margin-inline: 0; text-align: left; } }
.visitors__label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; margin: 0; }
@media (min-width: 960px) { .visitors__label { justify-content: flex-start; } }
.visitors__en { font-family: var(--f-brand); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.26em; color: var(--c-gold); }
.visitors__local { font-size: 1rem; letter-spacing: 0.04em; color: var(--c-ivory); }
.visitors__count {
  margin: 2px 0 0; font-family: var(--f-brand); font-size: clamp(2.5rem, 2rem + 2.4vw, 3.75rem); font-weight: 600;
  line-height: 1.15; letter-spacing: 0.06em; color: var(--c-gold); font-variant-numeric: tabular-nums;
}
.visitors.is-loading .visitors__count, .visitors.is-error .visitors__count { opacity: 0.4; }
.visitors.is-ready .visitors__count { animation: okb-count-in 1.2s var(--ease) both; }
@keyframes okb-count-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Gallery: hearts, counts, enlarge ---------- */
.gallery__like {
  position: absolute; inset: 10px; z-index: 1; padding: 0; margin: 0;
  background: transparent; border: 0; border-radius: 3px; cursor: pointer;
  touch-action: manipulation;          /* taps are not delayed and double-tap does not zoom the page */
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none;
}
.gallery__like[aria-hidden="true"] { cursor: default; }
.gallery__zoom {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  color: var(--c-gold); background: rgba(21, 19, 18, 0.78); border: 1px solid var(--c-line); border-radius: 50%;
  cursor: pointer; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gallery__zoom:hover { background: rgba(21, 19, 18, 0.94); border-color: var(--c-gold); }
.gallery__zoom svg { width: 22px; height: 22px; }
.hearts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.heart {
  position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; will-change: transform, opacity;
  filter: blur(0.6px) drop-shadow(0 0 10px rgba(245, 184, 180, 0.45));
}
.heart svg { width: 100%; height: 100%; fill: var(--c-coral); }
.gallery__figure figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; }
.likes { color: var(--c-coral); white-space: nowrap; font-variant-numeric: tabular-nums; }
.likes__heart { margin-right: 6px; }
.likes__pending { margin-left: 8px; font-size: 1rem; color: var(--c-ivory); }
.likes__msg { margin: 10px auto 0; max-width: 32em; font-size: var(--fs-label); line-height: 1.6; text-align: center; }
.likes__action, .gallery__filter-btn {
  min-height: 44px; padding: 6px 16px; margin-top: 6px;
  font: inherit; font-size: var(--fs-label); color: var(--c-ivory); background: transparent;
  border: 1px solid var(--c-gold); border-radius: 999px; cursor: pointer;
}
.likes__action:hover, .gallery__filter-btn:hover { background: rgba(213, 179, 107, 0.14); }
.gallery__filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px auto 28px; }
.gallery__filter-btn { margin: 0; }
.gallery__filter-btn[aria-pressed="true"] { color: var(--c-bg); background: var(--c-gold); }

/* Photo viewer (<dialog>) */
.viewer {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  color: var(--c-ivory); background: #0C0B0A;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.viewer[open] { display: flex; flex-direction: column; }
.viewer.is-open { opacity: 1; }
.viewer::backdrop { background: rgba(0, 0, 0, 0.6); }
.viewer__stage {
  flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center;
  padding: 72px 16px 8px; touch-action: pan-y pinch-zoom;
}
.viewer__img {
  max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto;
  object-fit: contain; border: 1px solid var(--c-line); border-radius: 3px; user-select: none; -webkit-user-drag: none;
}
.viewer__bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 16px;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); text-align: center;
}
.viewer__caption, .viewer__pos { margin: 0; }
.viewer__pos { color: var(--c-gold); font-variant-numeric: tabular-nums; }
.viewer__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  font: 2rem/1 var(--f-brand); color: var(--c-gold);
  background: rgba(21, 19, 18, 0.85); border: 1px solid var(--c-gold); border-radius: 50%; cursor: pointer;
}
.viewer__btn:hover { background: var(--c-bg-2); }
.viewer__close { top: 12px; right: 12px; }
.viewer__prev, .viewer__next { top: 50%; margin-top: -28px; }
.viewer__prev { left: 12px; }
.viewer__next { right: 12px; }

/* ---------- OUR STAFF (js/data/staff.js) ---------- */
.staff__notice {
  max-width: 760px; margin: 0 auto clamp(24px, 4vw, 36px); padding: 14px 18px; text-align: center;
  font-size: var(--fs-label); line-height: 1.7;
  border: 1px dashed rgba(245, 184, 180, 0.7); border-radius: var(--radius); background: rgba(245, 184, 180, 0.06);
}
.staff__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 32px); max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .staff__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.staff-card { margin: 0; overflow: hidden; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius); transition: border-color 0.3s var(--ease); }
.staff-card:hover { border-color: var(--c-gold); }
.staff-card__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-bg); }
.staff-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.staff-card:hover .staff-card__photo img { transform: scale(1.04); }
.staff-card__badge {
  position: absolute; top: 10px; left: 10px; padding: 2px 12px;
  font-family: var(--f-brand), var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--c-bg); background: var(--c-coral); border-radius: 999px;
}
.staff-card__body { padding: 14px clamp(12px, 2vw, 22px) 20px; }
.staff-card__name { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); color: var(--c-gold); word-break: keep-all; overflow-wrap: anywhere; }
.staff-card__name::after { content: ""; display: block; width: 28px; height: 2px; margin: 8px 0 10px; background: var(--c-coral); border-radius: 1px; }
.staff-card__label { margin: 0 0 2px; font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; color: var(--c-gold); }
.staff-card__langs { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-label); }
.staff-card__langs li { white-space: nowrap; }
.staff-card__flag { margin-right: 6px; }
.staff-card__pending { margin: 0; font-size: 1rem; line-height: 1.6; color: #D9CFBE; }
.staff-card__comment { margin: 10px 0 0; font-size: var(--fs-label); line-height: 1.7; }
.staff-card__more { margin: 6px 0 0; font-size: var(--fs-label); line-height: 1.7; }
.staff-card__toggle {
  min-height: 44px; margin-top: 8px; padding: 4px 14px;
  font: inherit; font-size: 1rem; color: var(--c-ivory); background: transparent;
  border: 1px solid var(--c-gold); border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.staff-card__toggle:hover { background: rgba(213, 179, 107, 0.14); }
.staff-card__toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid var(--c-gold); border-bottom: 1.5px solid var(--c-gold); transform: translateY(-3px) rotate(45deg); }
.staff-card__toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
@media (max-width: 559px) {
  /* Two narrow columns on phones: slightly tighter text so comments stay short. */
  .staff-card__body { padding: 12px 10px 16px; }
  .staff-card__comment, .staff-card__more { font-size: 1rem; line-height: 1.65; }
  .staff-card__toggle { padding-inline: 12px; }
  .staff-card__langs { font-size: 1rem; }
}
@media (max-width: 359px) {
  .staff-card__name { font-size: 1.1875rem; }
  .staff-card__body { padding-inline: 8px; }
  .staff-card__flag { margin-right: 4px; }
  .staff-card__langs li { white-space: normal; }   /* last resort: wrap between words instead of overflowing */
  .staff-card__toggle { padding-inline: 10px; }
  .staff-card__toggle::after { margin-left: 6px; }
}
.staff__flag-note { max-width: 760px; margin: clamp(20px, 3vw, 28px) auto 0; text-align: center; font-size: 1rem; line-height: 1.6; }

/* ---------- VIDEO (js/data/videos.js; hidden while empty) ---------- */
.videos__grid { display: grid; gap: clamp(24px, 3vw, 36px); max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius); }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; }
.video-card__title { margin: 12px 0 6px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); color: var(--c-gold); }
.video-card__text { font-size: var(--fs-label); }

/* ---------- Ad / affiliate / campaign slots (js/data/ads.js; hidden while empty) ---------- */
.ad-slot { padding-block: 8px clamp(40px, 6vw, 72px); }
.ad-slot__units { display: grid; gap: 16px; max-width: 820px; }
.ad-unit { position: relative; padding: 40px 16px 16px; background: var(--c-bg-2); border: 1px solid var(--c-line-soft); border-radius: var(--radius); }
.ad-unit__label {
  position: absolute; top: 8px; left: 12px; padding: 0 8px; font-size: 1rem; line-height: 1.6; letter-spacing: 0.06em;
  color: var(--c-ivory); border: 1px solid var(--c-line); border-radius: 3px;
}
.ad-unit__link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--c-ivory); }
.ad-unit__link:hover { color: var(--c-ivory); }
.ad-unit__img { flex: none; width: 40%; max-width: 260px; border-radius: 3px; }
.ad-unit__title { display: block; font-weight: 600; color: var(--c-gold); }
.ad-unit__text { display: block; font-size: var(--fs-label); line-height: 1.7; }
@media (max-width: 559px) {
  .ad-unit__link { flex-direction: column; align-items: flex-start; }
  .ad-unit__img { width: 100%; max-width: none; }
}

/* ---------- Coupon pop-up (js/data/coupon.js) ---------- */
.coupon {
  width: min(440px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; overflow: visible; color: var(--c-ivory); background: transparent; border: 0;
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
.coupon.is-open { opacity: 1; transform: none; }
.coupon::backdrop { background: rgba(8, 7, 6, 0.72); }
.coupon__card {
  position: relative; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 76px clamp(20px, 6vw, 36px) 30px; text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(213, 179, 107, 0.16), transparent 70%), var(--c-bg);
  border: 1px solid var(--c-gold); border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.coupon__card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--c-line-soft); border-radius: 6px; pointer-events: none;
}
/* A soft light that breathes slowly around the offer (no blinking). */
.coupon__card::after {
  content: ""; position: absolute; left: 50%; top: 46%; width: 260px; height: 160px; margin: -80px 0 0 -130px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(213, 179, 107, 0.2), transparent 70%);
  animation: okb-glow 4.5s ease-in-out infinite alternate;
}
@keyframes okb-glow { from { opacity: 0.35; transform: scale(0.94); } to { opacity: 0.85; transform: scale(1.06); } }
.coupon__card > * { position: relative; z-index: 1; }
.coupon__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; min-width: 52px; padding: 6px 18px;
  font: inherit; font-size: var(--fs-label); color: var(--c-ivory);
  background: rgba(21, 19, 18, 0.9); border: 1.5px solid var(--c-gold); border-radius: 999px; cursor: pointer;
}
.coupon__close:hover { background: var(--c-bg-2); }
.coupon__x { font-size: 1.75rem; line-height: 1; color: var(--c-gold); }
.coupon__deco { pointer-events: none; }
.coupon__deco--hibiscus { position: absolute; top: 18px; left: 20px; width: 40px; height: 40px; }
.coupon__deco--shisa { width: 52px; height: 52px; margin: 0 auto 8px; }
.coupon__brand { margin: 0 0 4px; font-family: var(--f-brand); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; color: var(--c-gold); }
.coupon__status { margin: 0; font-family: var(--f-brand), var(--f-body); font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem); font-weight: 600; letter-spacing: 0.12em; }
.coupon__offer {
  margin: 6px 0 14px; font-family: var(--f-brand), var(--f-body); font-size: clamp(3rem, 2.4rem + 3vw, 4.5rem); font-weight: 600;
  line-height: 1.1; color: var(--c-gold); text-shadow: 0 0 22px rgba(213, 179, 107, 0.35);
}
.coupon__text { margin-bottom: 0; }
.coupon__note { margin: 14px 0 0; padding-top: 14px; font-size: var(--fs-label); line-height: 1.7; border-top: 1px solid var(--c-line-soft); }
.coupon__details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 0; text-align: left; font-size: var(--fs-label); }
.coupon__details dt { color: var(--c-gold); }
.coupon__details dd { margin: 0; }

/* ---------- Consent banner: purposes (shown only when 2+ purposes are in use) ---------- */
.consent { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
.consent__purposes { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.consent__purposes label {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; cursor: pointer;
  border: 1px solid var(--c-line-soft); border-radius: var(--radius);
}
.consent__purposes input { flex: none; width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--c-gold); }
.consent__purpose-name { display: block; font-size: var(--fs-label); font-weight: 600; color: var(--c-gold); line-height: 1.5; }
.consent__purpose-text { display: block; font-size: 1rem; line-height: 1.6; }
.consent__note { margin: 12px 0 0; font-size: 1rem; line-height: 1.6; }

/* =========================================================
   Scroll motion (enabled only when JS adds html.motion)
   Without JS / IntersectionObserver / with reduced motion,
   everything below stays fully visible.
   ========================================================= */
html.motion [data-reveal] {
  opacity: 0;
  transition:
    opacity var(--dur, 700ms) var(--ease) var(--reveal-delay, 0ms),
    transform var(--dur, 700ms) var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.motion [data-reveal="up"] { transform: translateY(16px); }
html.motion [data-reveal="row"] { transform: translateY(8px); --dur: 600ms; }
/* hibiscus: blooms softly */
html.motion [data-reveal="bloom"] { transform: scale(0.92); --dur: 750ms; }
/* shisa: nestles in from each side by a few px */
html.motion [data-reveal="shisa-left"] { transform: translateX(-12px); --dur: 900ms; }
html.motion [data-reveal="shisa-right"] { transform: translateX(12px); --dur: 900ms; }
/* sky & beach photos: rise gently, no zoom / parallax */
html.motion [data-reveal="scene"] { transform: translateY(12px); --dur: 1000ms; }
/* mascot: slow, quiet fade-in */
html.motion [data-reveal="mascot"] { transform: translateY(10px); --dur: 1400ms; }
/* gallery: photo fades while the gold frame settles */
html.motion [data-reveal="frame"] { --dur: 900ms; }
html.motion [data-reveal="frame"] .gallery__frame::after { opacity: 0; transform: scale(0.97); transition: opacity 900ms var(--ease) 200ms, transform 1100ms var(--ease) 200ms; }
html.motion [data-reveal="frame"].is-visible .gallery__frame::after { opacity: 1; transform: none; }

html.motion [data-reveal].is-visible { opacity: 1; transform: none; }

/* wave: drawn left → right once (paired translateX wipe, compositor-only) */
html.motion .wave[data-reveal] { opacity: 1; transform: none; }
html.motion .wave[data-reveal] .wave__track,
html.motion .wave[data-reveal] .wave__track img { transition: transform 1100ms var(--ease-wave); }
html.motion .wave[data-reveal] .wave__track { transform: translateX(-100%); }
html.motion .wave[data-reveal] .wave__track img { transform: translateX(100%); }
html.motion .wave[data-reveal].is-visible .wave__track,
html.motion .wave[data-reveal].is-visible .wave__track img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.motion [data-reveal],
  html.motion [data-reveal] .wave__track,
  html.motion [data-reveal] .wave__track img,
  html.motion [data-reveal] .gallery__frame::after {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .sticky-cta, .btn, .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { transition: none !important; }
  .ripple-layer { display: none !important; }
  .map-card.is-loading::after { animation: none; }
  /* Round 4: counter, coupon, viewer and staff photos appear without movement (hearts use a plain fade, see gallery.js). */
  .visitors.is-ready .visitors__count, .coupon__card::after { animation: none !important; }
  .coupon, .viewer, .staff-card__photo img, .gallery__zoom { transition: none !important; }
  .coupon { transform: none !important; }
  .staff-card:hover .staff-card__photo img { transform: none; }
}

@media print {
  html.motion [data-reveal], html.motion [data-reveal] .wave__track, html.motion [data-reveal] .wave__track img { opacity: 1 !important; transform: none !important; }
  .site-header, .sticky-cta, .consent, .wave, .ripple-layer, .map-card,
  .coupon, .viewer, .hearts, .gallery__like, .gallery__zoom, .ad-slot { display: none !important; }
  body { background: #fff; color: #000; }
}
