/* ============================================================
   JU SUSHI & LOUNGE — Design System
   Stack: pure HTML/CSS/JS, no build tools
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Shippori+Mincho+B1:wght@400;500;600;800&display=swap');

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Colors */
  --c-bg:          #0b0906;
  --c-bg-raised:   #110e0a;
  --c-surface:     #161209;
  --c-gold:        #c9a96e;
  --c-gold-light:  #eddfa4;
  --c-gold-mid:    #d4b87a;
  --c-gold-dark:   #7a5c2e;
  --c-gold-dim:    rgba(201, 169, 110, 0.18);
  --c-red:         #c71b1c;
  --c-text:        #e4dcd0;
  --c-text-muted:  #8a7e6e;
  --c-text-faint:  #4a4136;
  --c-border:      rgba(201, 169, 110, 0.14);

  /* Spacing — explicit full scale, no gaps */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6rem;
  --space-13: 8rem;
  --space-14: 10rem;

  /* Typography */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Shippori Mincho B1', 'Times New Roman', serif;

  --text-xs:   0.6875rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-3xl:  3rem;
  --text-4xl:  4rem;
  --text-5xl:  5.5rem;

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Transitions */
  --ease-silk:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-glide: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:  200ms;
  --t-base:  400ms;
  --t-slow:  700ms;
  --t-drift: 1100ms;

  /* Nav */
  --nav-h: 72px;
}

/* ── Keyframes ──────────────────────────────────────────────── */

/* Gold text shimmer sweep */
@keyframes goldShimmer {
  0%, 25%   { background-position: -300% center; }
  75%, 100% { background-position:  300% center; }
}

/* Hero logo breathe — exactly 7s */
@keyframes logoBreathe {
  0%, 100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 18px rgba(201, 169, 110, 0.08));
  }
  50% {
    opacity: 0.98;
    filter: drop-shadow(0 0 60px rgba(201, 169, 110, 0.50));
  }
}

/* Section border shimmer sweep */
@keyframes borderShimmer {
  0%, 25%   { background-position: -200% 0; }
  75%, 100% { background-position:  200% 0; }
}

/* Diagonal sparkle sweep for mobile river overlay */
/* Idles off top-left corner, sweeps to bottom-right, idles again */
@keyframes riverSparkle {
  0%, 27%   { background-position: -80% -80%;   }
  95%, 100% { background-position: 200%  200%;  }
}

/* Vertical shimmer for the Inquire column divider */
@keyframes dividerShimmerV {
  0%   { background-position: 0 -200%; }
  100% { background-position: 0  200%; }
}

/* Marquee scroll */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll-reveal fade-up */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Kanji nav pulse */
@keyframes kanjiPulse {
  0%, 100% { opacity: 0.82; }
  50%       { opacity: 1; }
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  background: var(--c-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── Utility — Gold Shimmer Text ────────────────────────────── */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--c-gold-dark) 0%,
    var(--c-gold)      30%,
    var(--c-gold-light) 50%,
    var(--c-gold)      70%,
    var(--c-gold-dark) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 48s cubic-bezier(0.25, 0, 0.75, 1) infinite;
}

/* ── Utility — Section Divider ──────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent         0%,
    var(--c-gold-dark) 15%,
    var(--c-gold)       40%,
    var(--c-gold-light) 50%,
    var(--c-gold)       60%,
    var(--c-gold-dark) 85%,
    transparent        100%
  );
  background-size: 300% 100%;
  animation: borderShimmer 60s cubic-bezier(0.25, 0, 0.75, 1) infinite;
  opacity: 0.6;
}

/* ── Utility — Scroll Reveal ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-drift) var(--ease-glide),
              transform var(--t-drift) var(--ease-glide);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-9);
  transition: background var(--t-slow) var(--ease-silk),
              border-color var(--t-slow) var(--ease-silk),
              backdrop-filter var(--t-slow) var(--ease-silk);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(11, 9, 6, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-border);
}

/* Brand — kanji mark */
.nav__brand {
  display: flex;
  align-items: center;
  height: 44px;
  transition: opacity var(--t-base) var(--ease-silk);
}

.nav__brand svg {
  height: 44px;
  width: auto;
  animation: kanjiPulse 7s ease-in-out infinite;
}

.nav__brand:hover svg {
  animation: none;
  opacity: 1;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-11);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.nav__link span {
  display: block;
  transition: opacity 0.51s var(--ease-silk);
}

.nav__link::after {
  content: attr(data-kanji);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.35em;
  letter-spacing: normal;
  text-transform: none;
  color: var(--c-gold);
  opacity: 0;
  transition: opacity 0.51s var(--ease-silk);
}

.nav__link:hover span {
  opacity: 0;
}

.nav__link:hover::after {
  opacity: 1;
}

/* Menu CTA — far right desktop nav */
.nav__menu-cta {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid var(--c-gold-dark);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-sm);
  transition: opacity var(--t-fast) var(--ease-silk),
              box-shadow var(--t-fast) var(--ease-silk);
}

.nav__menu-cta:hover {
  opacity: 0.75;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.25);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 910;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-gold);
  transition: transform var(--t-base) var(--ease-silk),
              opacity   var(--t-base) var(--ease-silk);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--space-9));
  padding-bottom: var(--space-12);
  overflow: hidden;
  background: #0a0805;
}

/* ── Hero background layers ─────────────────────────────── */
/* Layer 1: base image at 50% — deepens the scene */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/logos/backgrounds/KHG Kintsugi River BG Horizontal.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.50;
}

/*
  Layer 2: overlay blend — suppresses grey midtones (dark bg stays dark),
  blazes silver river highlights into gold via sepia + hue-rotate.
  JS breathe animates brightness 1.0 → 4.1 on a 7s cosine cycle.
*/
.hero__bg-rivers {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('../assets/logos/backgrounds/KHG Kintsugi River BG Horizontal.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.85;
  filter: saturate(3.0) sepia(0.7) hue-rotate(-15deg) brightness(1.0);
}

/* Layer 3: radial gradient — warm amber pool centred on the logo */
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse 68% 60% at 50% 50%,
    rgba(44, 36, 18, 0.92)  0%,
    rgba(32, 27, 14, 0.72) 22%,
    rgba(22, 18,  9, 0.48) 45%,
    rgba(12, 10,  5, 0.20) 64%,
    transparent            80%
  );
}

/* ── Hero logo stage ────────────────────────────────────── */
.hero__stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/*
  Scene width: max 580px, height-capped so the logo + tagline fit on a typical desktop.
  Formula: (100vh − 120px) × (810/1012) reserves 60px below the scene for the tagline.
  At 800px viewport: min(580, 544) = 544px → scene bottom at exactly 800px.
  At 900px viewport: min(580, 625) = 580px → logo 580×727px (cap kicks in).
*/
.hero__scene {
  position: relative;
  width: min(580px, calc((100vh - 120px) * 810 / 1012));
  padding-bottom: calc(min(580px, calc((100vh - 120px) * 810 / 1012)) * 1012 / 810);
  flex-shrink: 0;
}

.hero__logo-wrap {
  position: absolute;
  inset: 0;
}

.hero__logo-layer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}


#logo-spark { filter: url(#gold-border-spark);  clip-path: url(#spark-clip); }
.hero__logo-base { z-index: 2; }

.hero__tagline {
  /*
    Absolutely positioned so it overlays the empty bottom space of the SVG.
    The J's lowest stroke is at ~80% of scene height; bottom: 13% places the
    tagline at 87% from the top — just below the belly with a small gap.
  */
  position: absolute;
  bottom: 13%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.hero__tagline em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c-gold-dark), var(--c-gold), var(--c-gold-light), var(--c-gold), var(--c-gold-dark));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 72s cubic-bezier(0.25, 0, 0.75, 1) infinite;
}

/* ── MARQUEE ────────────────────────────────────────────────── */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
  background: var(--c-bg);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

/* Animated border lines on marquee */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent         0%,
    var(--c-gold-dark) 15%,
    var(--c-gold)       40%,
    var(--c-gold-light) 50%,
    var(--c-gold)       60%,
    var(--c-gold-dark) 85%,
    transparent        100%
  );
  background-size: 300% 100%;
  animation: borderShimmer 60s cubic-bezier(0.25, 0, 0.75, 1) infinite;
  opacity: 0.55;
}

.marquee-wrap::before { top: 0; }
.marquee-wrap::after  { bottom: 0; }

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 56s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  padding: 0 var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    var(--c-gold-dark) 0%,
    var(--c-gold)       30%,
    var(--c-gold-light) 50%,
    var(--c-gold)       70%,
    var(--c-gold-dark) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 72s cubic-bezier(0.25, 0, 0.75, 1) infinite;
}

.marquee-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0.5;
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
}

/* ── SECTION SHARED ─────────────────────────────────────────── */
.section {
  padding: var(--space-13) var(--space-9);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section--wide {
  max-width: 100%;
  padding-left: var(--space-10);
  padding-right: var(--space-10);
}

.section__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  background: linear-gradient(
    90deg,
    var(--c-gold-dark) 0%,
    var(--c-gold)       30%,
    var(--c-gold-light) 50%,
    var(--c-gold)       70%,
    var(--c-gold-dark) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 84s cubic-bezier(0.25, 0, 0.75, 1) infinite;
}


.section__subhead {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.8;
  color: var(--c-text-muted);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Section kanji accent ───────────────────────────────── */
.section__kanji {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.55em;
  color: var(--c-gold-dark);
  opacity: 0.75;
  margin-left: 0.6em;
  vertical-align: middle;
  letter-spacing: 0.08em;
  -webkit-text-fill-color: var(--c-gold-dark);
}

/* Section border row */
.section-divider-row {
  padding: 0 var(--space-9);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── GLASS — DRINK TABLEAUS ─────────────────────────────────── */
.glass {
  background: var(--c-bg);
}

.glass__header {
  margin-bottom: var(--space-11);
}

.glass__showcase-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
}

.glass__showcase-note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--c-text-faint);
}

/* Swipe hint — hidden on desktop, shown on mobile below the showcase note */
.glass__swipe-hint { display: none; }

.glass__showcase-note span {
  color: var(--c-gold-dark);
  font-style: normal;
}

.glass__grid {
  display: grid;
  /* auto-fill: adapts to any number of cards — ~2 cols at desktop,
     1 col on narrow screens. No modifier class needed.            */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  gap: var(--space-7);
  align-items: start;
}

/* Secondary photo row inside a card */
.glass-card__img-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: var(--space-2);
}

/* Smaller placeholder for secondary / supporting images */
.glass-card__img-placeholder--sm {
  aspect-ratio: 3 / 2;
}

.glass-card {
  position: relative;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-slow) var(--ease-silk),
              transform var(--t-slow) var(--ease-silk);
}

.glass-card:hover,
.glass-card.is-touched {
  border-color: rgba(201, 169, 110, 0.4);
  transform: translateY(-4px);
}

/* Animated border shimmer on hover */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(var(--c-bg-raised), var(--c-bg-raised)) padding-box,
              linear-gradient(90deg, transparent, var(--c-gold-light), transparent) border-box;
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-silk);
  animation: borderShimmer 36s cubic-bezier(0.25, 0, 0.75, 1) infinite;
  pointer-events: none;
}

.glass-card:hover::after,
.glass-card.is-touched::after {
  opacity: 1;
}

.glass-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--c-surface);
  position: relative;
}

/* Placeholder when no image */
.glass-card__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--c-surface) 0%, #1a1510 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card__img-placeholder span {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--c-text-faint);
  text-transform: uppercase;
}

.glass-card__body {
  padding: var(--space-6) var(--space-7);
}

.glass-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  margin-bottom: var(--space-3);
}

.glass-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text-muted);
}

/* ── GLASS — Expandable brand cards ─────────────────────────── */

/* Mobile-first: single column */
.gc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Mobile: swipe hint + 2-column horizontal scroll showing all 12 brands.
   Column 1 (cards 1-6) is visible immediately; column 2 (cards 7-12)
   is off-screen and revealed by a horizontal swipe / snap. */
@media (max-width: 767px) {
  /* Swipe hint */
  .glass__swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-5);
    opacity: 0.55;
  }

  .glass__swipe-track {
    position: relative;
    width: 48px;
    height: 1px;
    background: var(--c-gold-dark);
  }

  .glass__swipe-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 12px;
    height: 3px;
    border-radius: 2px;
    background: var(--c-gold);
    animation: scrollHint 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  .glass__swipe-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold);
  }

  /* 2-column horizontal scroll grid.
     grid-auto-flow: column fills column-first: cards 1-6 → col 1,
     cards 7-12 → col 2.  Each column = 100% of the list's own width,
     so exactly one column is visible at a time. */
  .gc-list {
    grid-template-columns: repeat(2, 100%);
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    gap: var(--space-3) var(--space-6); /* row-gap between cards; column-gap creates breathing room during swipe */
    overflow-x: scroll;
    /* overflow-x:scroll normally coerces overflow-y to auto, which:
       (a) clips the is-in-view box-shadow on top/bottom edge cards (the "nick"), and
       (b) makes gc-list a vertical scroll container — vertical swipe components
           get captured here before propagating to the page (the "sticky" feel).
       overflow-y:clip avoids both: it visually clips without creating a scroll
       context, and it is NOT subject to the visible→auto coercion rule.
       padding-block: 2rem gives edge cards room for the 24px blur box-shadow. */
    overflow-y: clip;
    padding-block: var(--space-7);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gc-list::-webkit-scrollbar { display: none; }

  /* Each card becomes a snap target; col-1 cards sit at x=0,
     col-2 cards at x=100% — browser deduplicates to 2 snap points. */
  .gc-card { scroll-snap-align: start; }
}

/* Desktop: three-column grid */
@media (min-width: 768px) {
  .gc-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* Flat horizontal row: [thumb] [meta···] [cta] */
.gc-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-2) var(--space-5);
  background: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-slow) var(--ease-silk),
              background    var(--t-slow) var(--ease-silk);
}

.gc-card:hover,
.gc-card.is-touched {
  border-color: rgba(201, 169, 110, 0.4);
  background: #201a10;
}

/* Border shimmer — pointer-events:none is REQUIRED; must never intercept card clicks */
.gc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background:
    linear-gradient(#201a10, #201a10) padding-box,
    linear-gradient(90deg,
      rgba(201,169,110,0),
      var(--c-gold-light),
      rgba(201,169,110,0)
    ) border-box;
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-silk);
  animation: borderShimmer 36s cubic-bezier(0.25, 0, 0.75, 1) infinite;
  pointer-events: none;
}

.gc-card:hover::after,
.gc-card.is-touched::after {
  opacity: 1;
}

/* Mobile: tighten card layout + portrait overlay image */
@media (max-width: 767px) {
  .gc-card__thumb {
    width: 52px;
    height: 52px;
  }

  /* Use portrait aspect ratio for overlay on mobile — matches 4:5 images */
  .gc-overlay__thumb { aspect-ratio: 4 / 5; }

  .gc-card__name {
    font-size: var(--text-sm);
    letter-spacing: 0.04em;
  }

  .gc-card__company {
    letter-spacing: 0.1em;
  }

  .gc-card__cta {
    padding: var(--space-2) var(--space-3);
  }
}

/* Mobile scroll-highlight: card most centred in viewport gets is-in-view */
@media (max-width: 767px) {
  .gc-card.is-in-view {
    border-color: rgba(201, 169, 110, 0.4);
    background: #201a10;
    box-shadow: 0 0 24px rgba(201, 169, 110, 0.14), 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  .gc-card.is-in-view::after {
    opacity: 1;
  }
}

/* Lift children above the ::after border-shimmer layer (which is position:absolute
   and would otherwise cover in-flow siblings when it fades in on hover) */
.gc-card__thumb,
.gc-card__meta,
.gc-card__cta {
  position: relative;
  z-index: 1;
}

/* All direct children non-interactive — clicks fall through to the <li> */
.gc-card__thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-surface) 0%, #1a1510 100%);
  pointer-events: none;
}

.gc-card__meta {
  flex: 1;
  min-width: 0;
  pointer-events: none;
}

.gc-card__company {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--c-text-faint);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-card__cta {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 100px;
  padding: var(--space-2) var(--space-5);
  white-space: nowrap;
  pointer-events: none;
}

/* ── GLASS — Expand overlay ──────────────────────────────────── */

.gc-overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 900;
  background: rgba(10, 8, 4, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  overflow-y: auto;
  opacity: 0;
  /* pointer-events:none when not open — no interception while invisible */
  pointer-events: none;
  transition: opacity 0.8s var(--ease-silk);
}

/* [hidden] wins over display:flex — overlay is fully absent when closed */
.gc-overlay[hidden] { display: none !important; }

.gc-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gc-overlay__panel {
  position: relative;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  /* transform / transition are set entirely by glass-cards.js (FLIP technique) */
}

.gc-overlay__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c-surface) 0%, #1a1510 100%);
  overflow: hidden;
}

.gc-overlay__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Thumb img fills card square */
.gc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glass subhead: wider than the global 52ch default */
.glass .section__subhead { max-width: 104ch; }

.gc-overlay__body {
  padding: var(--space-6) var(--space-7) var(--space-8);
}

.gc-overlay__company {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--c-text-faint);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.gc-overlay__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  margin-bottom: var(--space-4);
}

.gc-overlay__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--c-text-muted);
  margin-bottom: var(--space-7);
}

.gc-overlay__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid rgba(201, 169, 110, 0.45);
  padding: var(--space-3) var(--space-8);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gc-overlay__cta:hover {
  border-color: var(--c-gold);
  background: rgba(201, 169, 110, 0.06);
}

.gc-overlay__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--c-text-muted);
  cursor: pointer;
  padding: var(--space-2);
  line-height: 0;
  transition: color var(--t-fast) var(--ease-silk);
}

.gc-overlay__close:hover {
  color: var(--c-text);
}

/* Mobile: anchor panel to top so the close button is always reachable.
   align-items:center + overflow-y:auto can push the panel top above the
   viewport when the panel is taller than 100dvh — the close button then
   scrolls out of sight with no way back. flex-start keeps the panel flush
   with the top padding and lets overflow go downward (scrollable). */
@media (max-width: 767px) {
  .gc-overlay {
    align-items: flex-start;
  }
}

/* ── PLATE ───────────────────────────────────────────────────── */
.experience {
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-raised) 100%);
}

.experience__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-11);
}

.experience__copy {
  max-width: 58ch;
  text-align: center;
}

.experience__body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.9;
  color: var(--c-text-muted);
  margin-top: var(--space-7);
}

.experience__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  margin-top: var(--space-4);
}


/* ── HERO — mobile ambient glow ─────────────────────────────── */
/* Opacity-only breathe on compositor thread — zero repaint cost. */
/* Active on mobile only; hidden on desktop (JS handles desktop).  */
.hero__bg-glow {
  display: none;
}

@keyframes ambientBreathe {
  0%, 100% { opacity: 0.02; }
  50%      { opacity: 0.36; }
}

/* ── HERO — mobile logo shimmer (Option D+B) ─────────────────── */
/* 7s cycle: sweep happens 10%→40% (2.1s), then 4.9s pause.       */
@keyframes logoShimmer {
  /* Shimmer holds off-screen RIGHT, then sweeps right→left.          */
  /* At loop reset (-100%→220%) both positions are ~2–3× element      */
  /* widths off-screen, so the instant jump is never visible.         */
  0%, 23%   { background-position: -100% center; }
  95%, 100% { background-position:  220% center; }
}

/* ── PLATE GALLERY ──────────────────────────────────────────── */

/* Override section constraints so the gallery can be full-bleed */
.section--plate {
  max-width: 100%;
  padding: 0;
}

/* Eyebrow header — re-applies section spacing for the centered header only */
.plate-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-13) var(--space-9) var(--space-10);
  text-align: center;
}

/* Gallery stage — full-width, cinematic aspect ratio */
.plate-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  overflow: hidden;
  background: var(--c-bg);
}

/* Each slide stacked absolutely, invisible until .is-active */
.plate-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-silk);
  overflow: hidden;
}

.plate-slide.is-active {
  opacity: 1;
}

/* <picture> and <video> fill the slide */
.plate-slide picture,
.plate-slide video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* The actual media element — zoom animation target */
.plate-slide__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* Placeholder shown before real media is dropped in */
.plate-slide__placeholder {
  background: linear-gradient(135deg, var(--c-bg-raised) 0%, var(--c-surface) 100%);
}

/* Zoom fires when slide becomes active; reset-and-replay handled by JS */
.plate-slide.is-active .plate-slide__media {
  animation: plateZoom 7.2s var(--ease-silk) forwards;
}

@keyframes plateZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

/* Viewport-gated slides — hidden on the wrong breakpoint */
@media (min-width: 768px) {
  .plate-slide[data-viewport="mobile"] { display: none; }
}
@media (max-width: 767px) {
  .plate-slide[data-viewport="desktop"] { display: none; }
}


/* ── BUSINESS HOUR ──────────────────────────────────────────── */
.business-hour {
  background: var(--c-bg-raised);
  position: relative;
  overflow: hidden;
}

/* Atmospheric glow behind content */
.business-hour::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(199,27,28,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.business-hour__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-13);
  align-items: start;
}

.business-hour__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-red);
  opacity: 0.8;
  margin-bottom: var(--space-4);
}

.business-hour__time {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-gold-mid);
  margin-bottom: var(--space-6);
}

.business-hour__perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.perk__dot {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
  margin-top: 0.6em;
}

.perk__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.business-hour__thursday {
  margin-top: var(--space-9);
  padding: var(--space-8) var(--space-9);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-red);
  position: relative;
  overflow: hidden;
}

.business-hour__thursday::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-red), transparent);
  background-size: 300% 100%;
  animation: borderShimmer 48s cubic-bezier(0.25, 0, 0.75, 1) infinite;
}

.thursday__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-red);
  opacity: 0.85;
  margin-bottom: var(--space-3);
}

.thursday__heading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--c-gold);
  margin-bottom: var(--space-4);
}

.thursday__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-text-muted);
}

/* ── EXHIBIT ────────────────────────────────────────────────── */
.exhibit__header {
  text-align: center;
  margin-bottom: var(--space-11);
}

.exhibit__intro {
  max-width: 112ch;
  margin: var(--space-6) auto 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.9;
  color: var(--c-text-muted);
}

/* ── EXHIBIT SCROLL HINT ────────────────────────────────────── */
.exhibit__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  opacity: 0.55;
}

.exhibit__scroll-track {
  position: relative;
  width: 48px;
  height: 1px;
  background: var(--c-gold-dark);
  overflow: visible;
}

.exhibit__scroll-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-gold);
  animation: scrollHint 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scrollHint {
  0%   { left: 0;    opacity: 1; }
  70%  { left: calc(100% - 12px); opacity: 1; }
  85%  { left: calc(100% - 12px); opacity: 0; }
  86%  { left: 0;    opacity: 0; }
  100% { left: 0;    opacity: 1; }
}

.exhibit__scroll-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* ── EXHIBIT CAROUSEL ───────────────────────────────────────── */
.ex-carousel-wrap {
  overflow: hidden; /* fallback for older browsers */
  overflow: clip;   /* clip visually without creating a scroll container —
                       overflow:hidden intercepts iOS touch and breaks child
                       overflow-x:scroll; clip does not */
  margin-bottom: var(--space-12);
}

.ex-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x; /* tell browser horizontal pan is intended here */
  padding: var(--space-4) var(--space-12) var(--space-6);
  cursor: grab;
}

.ex-carousel::-webkit-scrollbar { display: none; }
.ex-carousel.is-dragging        { cursor: grabbing; user-select: none; }

/* ── CARDS ──────────────────────────────────────────────────── */
.ex-card {
  flex: 0 0 380px;
  height: 540px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.12s ease;
  touch-action: pan-x; /* browser reads touch-action from the touch target first;
                          without this, iOS may treat the gesture as vertical scroll
                          before the carousel's touch-action: pan-x is considered */
}

.ex-card picture {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none; /* pass all touch/click events through to .ex-card */
}

.ex-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Subtle bottom vignette */
.ex-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 55%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* ── CARD BORDER SVG (injected by JS, all viewports) ────────── */
.ex-card__border-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3; /* above ::after vignette */
  opacity: 0;
  transition: opacity 0.6s var(--ease-silk);
}

.ex-card.is-in-view .ex-card__border-svg {
  opacity: 1;
}

.ex-card__border-path {
  stroke: #c9a96e;
}

/* ── EXPAND OVERLAY ─────────────────────────────────────────── */
.ex-overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 900;
  background: #080604;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.35s var(--ease-silk);
}

.ex-overlay[hidden]  { display: none !important; }
.ex-overlay.is-open  { opacity: 1; }

.ex-overlay__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  flex-shrink: 0;
}

.ex-overlay__artist {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.ex-overlay__close {
  background: none;
  border: none;
  color: var(--c-text-muted);
  cursor: pointer;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast) var(--ease-silk);
  line-height: 1;
}

.ex-overlay__close:hover { color: var(--c-text); }

.ex-overlay__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-8) var(--space-8);
  min-height: 0;
  cursor: default;
}

.ex-overlay__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.93);
  transition: transform 0.4s var(--ease-silk);
  pointer-events: none;
}

.ex-overlay.is-open .ex-overlay__img {
  transform: scale(1);
}

/* ── ARTISAN'S CORNER ──────────────────────────────────────── */
/*
 * Layout principle: content drives section height; image is absolutely
 * positioned behind it. This prevents overflow clipping on short viewports.
 */
.artisans-corner {
  position: relative;
  overflow: hidden;
}

/* Image fills the section however tall content makes it */
.artisans-corner__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.artisans-corner__bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Content is in-flow and sets the section height */
.artisans-corner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-13) var(--space-9);
  /* Subtle vignette so text pops cleanly over the dimmed image */
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.45) 100%);
}

.artisans-corner__eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-6);
}

.artisans-corner__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--c-text);
  max-width: 22em;
  margin-bottom: var(--space-9);
}

@media (max-width: 767px) {
  .artisans-corner__heading {
    font-size: var(--text-lg);
  }
}

/* Featured artist credit line */
.artisans-corner__featured {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  border-top: 1px solid rgba(201, 169, 110, 0.25);
  padding-top: var(--space-5);
}

.artisans-corner__artist-name {
  color: var(--c-gold-light);
}

/* ── VISIT / RESERVATIONS ───────────────────────────────────── */
.visit {
  background: var(--c-bg);
}

.visit__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Phone number under eyebrow */
.inquire__phone {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.25em;
  color: var(--c-gold);
  opacity: 0.65;
  margin-top: var(--space-3);
  margin-bottom: var(--space-12);
  transition: opacity var(--t-fast) var(--ease-silk);
}

.inquire__phone:hover {
  opacity: 1;
}

/* Three venue spaces */
.inquire__spaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 var(--space-10);
  width: 100%;
  max-width: 960px;
}

.inquire__space {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-8);
  border-top: 1px solid var(--c-gold-dark);
  text-align: center;
}

/* Japanese name — Shippori Mincho, large and restrained */
.inquire__space-kanji {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--c-gold-dark);
  opacity: 0.55;
  letter-spacing: 0.05em;
}

/* English title */
.inquire__space-name {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* Copy */
.inquire__space-body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--c-text-muted);
  max-width: 26ch;
}

/* Map */
/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: var(--space-12) var(--space-9) var(--space-9);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-10);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.footer__address {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--c-text-muted);
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.footer__kanji {
  height: 56px;
  width: auto;
  opacity: 0.5;
}

.footer__khg {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  text-align: center;
}

.footer__khg a {
  color: var(--c-gold-dark);
  transition: color var(--t-fast) var(--ease-silk);
}

.footer__khg a:hover {
  color: var(--c-gold);
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-5);
}

.footer__socials {
  display: flex;
  gap: var(--space-6);
}

.footer__social-link {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  transition: color var(--t-fast) var(--ease-silk);
}

.footer__social-link:hover {
  color: var(--c-gold);
}

.footer__legal {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--c-text-faint);
  text-align: right;
}

/* ── MOBILE NAV OVERLAY ─────────────────────────────────────── */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 9, 6, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 895;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-9);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-silk);
}

.nav__mobile-overlay.is-open {
  opacity: 1;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    var(--c-gold-dark) 0%,
    var(--c-gold)       30%,
    var(--c-gold-light) 50%,
    var(--c-gold)       70%,
    var(--c-gold-dark) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 30s cubic-bezier(0.25, 0, 0.75, 1) infinite;
}

.nav__mobile-link--menu {
  margin-top: var(--space-4);
  border: 1px solid var(--c-gold-dark);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-sm);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .experience__inner,
  .business-hour__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .experience__features {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__right {
    align-items: center;
  }

  .footer__legal {
    text-align: center;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 60px;
  }

  .nav {
    padding: 0 var(--space-6);
  }

  .nav__links {
    display: none;
  }

  .nav__menu-cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  /* Plate gallery — portrait aspect ratio on mobile */
  .plate-gallery {
    aspect-ratio: 3 / 4;
    max-height: 85vh;
  }

  .plate-header {
    padding: var(--space-10) var(--space-6) var(--space-7);
  }

  /* .nav__mobile-overlay display is controlled entirely by JS (openMenu / closeMenu).
     Do NOT set display:flex here — that would leave a transparent fixed overlay
     covering the entire page (z-index 895, pointer-events active) even when closed,
     intercepting all touch events on every section below the nav. */

  .hero {
    padding-top: calc(var(--nav-h) + var(--space-9));
    padding-bottom: var(--space-13);
  }

  /* Portrait background — enhanced gold rivers baked in; no CSS filter needed */
  .hero__bg {
    background-image: url('../assets/logos/backgrounds/KHG Kintsugi River BG Vertical Enhanced.jpg');
  }

  /* Repurposed on mobile: sparkle shimmer overlay masked to river positions.
     Strips the desktop background-image, mix-blend-mode, and JS-driven filter.
     background-position sweep is compositor-only — zero repaints.           */
  .hero__bg-rivers {
    display: block;
    background-image: none;
    background: linear-gradient(
      135deg,
      rgba(255, 248, 200, 0)   35%,
      rgba(255, 255, 255, 1.0) 50%,
      rgba(255, 248, 200, 0)   65%
    );
    background-size: 300% 300%;
    filter: none;
    mix-blend-mode: normal;
    animation: riverSparkle 9.1s ease-in-out infinite;
    -webkit-mask-image: url('../assets/logos/backgrounds/KHG Kintsugi River BG Vertical Sparkle Mask.png');
            mask-image: url('../assets/logos/backgrounds/KHG Kintsugi River BG Vertical Sparkle Mask.png');
    -webkit-mask-size: cover;
            mask-size: cover;
    -webkit-mask-position: center center;
            mask-position: center center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
  }

  /* Glow baked into Enhanced image — no overlay needed on mobile */
  .hero__bg-glow {
    display: none;
  }

  /* Dark vignette not needed on mobile — Enhanced image handles center treatment */
  .hero__bg-gradient {
    display: none;
  }

  /* Spark filter glow bleeds even at clip-path:empty — remove from render
     tree on mobile where the spark animation is not shown. */
  #logo-spark {
    display: none;
  }

  /* ── Option D: static gold border — drop-shadow computed once, cached ── */
  /* contrast(3) crushes dark-gray ink-texture pixels to solid black
     while leaving the red stamp intact — saturated red channels clip to
     1.0, near-zero channels clip to 0, producing pure red.
     The SVG file and sweep-mask alignment are untouched. */
  .hero__logo-base {
    filter:
      contrast(3)
      drop-shadow(0 0 1.5px rgba(205, 145, 40,  1.0 ))
      drop-shadow(0 0 5px   rgba(170,  95, 22,  0.95))
      drop-shadow(0 0 14px  rgba(110,  58, 10,  0.80));
  }

  /* ── Option B: diagonal shimmer sweeps through logo strokes only ── */
  /* White SVG as luminance mask: white strokes = shimmer visible,     */
  /* transparent bg = shimmer hidden.                                  */
  .hero__logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
      110deg,
      rgba(255, 220, 100, 0)    20%,
      rgba(255, 235, 150, 0.85) 50%,
      rgba(255, 220, 100, 0)    80%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    -webkit-mask-image: url('../assets/logos/KHG JU Kawa White.svg');
            mask-image: url('../assets/logos/KHG JU Kawa White.svg');
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-mode: luminance;
            mask-mode: luminance;
    /* -1.53s delay = -(23% × 11s − 1s): cycle starts 1.53s in so the
       sweep front reaches the logo exactly 1 s after page load.        */
    animation: logoShimmer 11s ease-in-out infinite;
    animation-delay: -4.5s;
  }

  .hero__scene {
    width: min(480px, calc(100vw + 32px));
    padding-bottom: calc(min(480px, calc(100vw + 32px)) * 1012 / 810);
  }

  /* Shrink tagline to single line on mobile */
  .hero__tagline {
    bottom: 5%;
    font-size: 0.5rem;
    letter-spacing: 0.2em;
  }

  .section {
    padding: var(--space-11) var(--space-6);
  }

  .section--wide {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .section-divider-row {
    padding: 0 var(--space-6);
  }

  .section__eyebrow {
    font-size: var(--text-2xl);
  }

  .section__heading {
    font-size: var(--text-2xl);
  }

  .experience__features {
    grid-template-columns: 1fr;
  }

  .ex-carousel {
    padding: var(--space-3) var(--space-6) var(--space-5);
    gap: 1rem;
  }

  .ex-card {
    flex: 0 0 240px;
    height: 336px;
    border-radius: 14px;
    /* tilt transition: eases back to flat when is-in-view is removed */
    transition: transform 0.7s var(--ease-silk);
  }

  /* Rocking tilt applied to the card centred in the carousel viewport.
     Keyframe starts and ends at identity so class add/remove never snaps. */
  @keyframes exCardTilt {
    0%   { transform: perspective(700px) rotateY(  0deg) scale(1);     }
    25%  { transform: perspective(700px) rotateY(  4deg) scale(1.025); }
    75%  { transform: perspective(700px) rotateY( -4deg) scale(1.025); }
    100% { transform: perspective(700px) rotateY(  0deg) scale(1);     }
  }

  .ex-card.is-in-view {
    animation: exCardTilt 4.5s ease-in-out infinite;
  }


  .ex-overlay__bar {
    padding: var(--space-5) var(--space-6);
  }

  .ex-overlay__stage {
    padding: 0 var(--space-4) var(--space-6);
  }


  .inquire__spaces {
    grid-template-columns: 1fr;
    gap: var(--space-10) 0;
    max-width: 360px;
  }

  .inquire__space-kanji {
    font-size: 0.875rem;
  }

  .footer__inner {
    gap: var(--space-8);
  }

  .business-hour__time {
    font-size: var(--text-lg);
  }
}

/* ── HERO — desktop logo: drop-shadow + shimmer sweep + spark ───
   Same D+B treatment as mobile; spark animation runs on top via JS. */
@media (min-width: 768px) {
  /* Option D: static gold drop-shadow — identical to mobile */
  .hero__logo-base {
    filter:
      contrast(3)
      drop-shadow(0 0 1.5px rgba(205, 145, 40,  1.0 ))
      drop-shadow(0 0 5px   rgba(170,  95, 22,  0.95))
      drop-shadow(0 0 14px  rgba(110,  58, 10,  0.80));
  }

  /* Option B: diagonal shimmer sweep masked to logo strokes only.
     Identical to mobile. logoShimmer keyframes are defined globally.
     z-index:3 sits above logo-base (z-index:2); the spark filter
     bleeds outside #logo-spark's element bounds and remains visible
     through the mostly-transparent sweep gradient. */
  .hero__logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
      110deg,
      rgba(255, 220, 100, 0)    20%,
      rgba(255, 235, 150, 0.85) 50%,
      rgba(255, 220, 100, 0)    80%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    -webkit-mask-image: url('../assets/logos/KHG JU Kawa White.svg');
            mask-image: url('../assets/logos/KHG JU Kawa White.svg');
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-mode: luminance;
            mask-mode: luminance;
    animation: logoShimmer 11s ease-in-out infinite;
    animation-delay: -4.5s;
  }
}

/* ── Content notices — Coming Soon / re-curating / hours (2026-07) ───── */
.coming-soon {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid var(--c-gold-dark);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  margin-bottom: var(--space-6);
}

.glass__recurate {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--c-gold-mid);
  max-width: 80ch;
  margin: var(--space-5) auto var(--space-2);
}

.inquire__contact {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-3);
}
.inquire__contact .inquire__phone { margin-top: 0; }

.inquire__hours {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.inquire__space-alias {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--c-gold-mid);
  margin-top: var(--space-1);
}
