/* =========================================================================
   Layout — header, overlay nav, hero, footer
   ========================================================================= */

/* ---------- Header (transparent, translucent on scroll) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 128px;
  padding: calc(var(--space-4) + env(safe-area-inset-top, 0px)) var(--gutter-safe) var(--space-4);
  background:
    linear-gradient(180deg, rgba(42,31,24,0.68), rgba(42,31,24,0.22) 62%, transparent);
  transition: background var(--dur-med) var(--ease-out-expo),
              backdrop-filter var(--dur-med) var(--ease-out-expo),
              box-shadow var(--dur-med) var(--ease-out-expo),
              min-height var(--dur-med) var(--ease-out-expo),
              padding var(--dur-med) var(--ease-out-expo);
}

.site-header.is-scrolled {
  min-height: 78px;
  padding-top: calc(var(--space-3) + env(safe-area-inset-top, 0px));
  padding-bottom: var(--space-3);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(194,164,114,0.18), transparent 48%),
    linear-gradient(135deg, rgba(59,46,37,0.92), rgba(42,31,24,0.84));
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 16px 44px -34px rgba(26,19,14,0.8),
              inset 0 -1px 0 rgba(229,211,174,0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--color-ink);
  transition: transform var(--dur-med) var(--ease-out-expo);
}
.brand:hover { transform: translateY(-1px); }

.brand__logo {
  height: 108px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.28));
  transition: height var(--dur-med) var(--ease-out-expo),
              filter var(--dur-med) var(--ease-out-expo);
}

.site-header.is-scrolled .brand__logo { height: 58px; }

.brand__divider {
  display: none;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--color-wood), transparent);
  opacity: 0.6;
}

.brand__en {
  display: none;
  font-family: var(--font-latin);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--color-wood);
  text-transform: uppercase;
  line-height: 1.3;
}
.brand__en .sub { display: block; font-size: 0.55rem; opacity: 0.7; letter-spacing: 0.3em; font-weight: 400; }

/* Hamburger */
.menu-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background var(--dur-med) var(--ease-out-expo);
}
.menu-toggle:hover { background: rgba(140,126,109,0.1); }
.menu-toggle:focus-visible { outline: 2px solid var(--color-wood); outline-offset: 4px; }

.menu-toggle__lines {
  position: relative;
  width: 22px;
  height: 14px;
  display: block;
}
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 8px rgba(0,0,0,0.24);
  transition: transform var(--dur-med) var(--ease-out-expo),
              top var(--dur-med) var(--ease-out-expo),
              bottom var(--dur-med) var(--ease-out-expo);
}
.menu-toggle__lines::before { top: 2px; }
.menu-toggle__lines::after  { bottom: 2px; width: 70%; }
.menu-toggle:hover .menu-toggle__lines::after { width: 100%; }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  top: 6px; transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  bottom: 7px; width: 100%; transform: rotate(-45deg);
}

/* ---------- Overlay nav ---------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(252,249,248,0.92);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out-expo);
}
.nav-overlay[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

.nav-overlay__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  padding: var(--space-8) var(--gutter-safe) var(--space-12);
  position: relative;
  overflow: hidden;
}

.nav-overlay__inner::before {
  content: "";
  position: absolute;
  top: clamp(7rem, 12vh, 10rem);
  right: clamp(3rem, 6vw, 7rem);
  width: min(18vw, 14rem);
  height: min(34vh, 22rem);
  border: 1px solid rgba(140,126,109,0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(194,164,114,0.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(176,163,144,0.02));
  pointer-events: none;
  opacity: 0.8;
}

/* ---- Artistic decoration (desktop) ----
   Centered menu needs artistic weight on both sides:
   - Oversized italic watermark "Yusho." bleeding behind the menu
   - A pair of delicate vertical rules with dot/diamond punctuation,
     evoking editorial / Art-Nouveau column dividers
   - Hidden on the original decorative capsule via pointer stacking.
*/
.nav-overlay__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Vertical rails flanking the centered menu */
.nav-overlay__deco::before,
.nav-overlay__deco::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: clamp(10rem, 38vh, 22rem);
  transform: translateY(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(140,126,109,0.5) 18%,
    rgba(140,126,109,0.5) 82%,
    transparent
  );
  opacity: 0.75;
}
.nav-overlay__deco::before { left: clamp(2rem, 10vw, 8rem); }
.nav-overlay__deco::after  { right: clamp(2rem, 10vw, 8rem); }

/* Oversized italic watermark, sitting behind the menu */
.nav-overlay__watermark {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(9rem, 4rem + 18vw, 24rem);
  line-height: 0.9;
  color: rgba(140,126,109,0.07);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

/* Small 45° diamond ornaments anchoring the rails' endpoints */
.nav-overlay__ornament {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--color-wood);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.nav-overlay__ornament.tl { top: 20%;   left: clamp(2rem, 10vw, 8rem); transform: translate(-3px, -3px) rotate(45deg); }
.nav-overlay__ornament.bl { bottom: 20%; left: clamp(2rem, 10vw, 8rem); transform: translate(-3px, 3px) rotate(45deg); }
.nav-overlay__ornament.tr { top: 20%;   right: clamp(2rem, 10vw, 8rem); transform: translate(3px, -3px) rotate(45deg); }
.nav-overlay__ornament.br { bottom: 20%; right: clamp(2rem, 10vw, 8rem); transform: translate(3px, 3px) rotate(45deg); }

/* Keep the original capsule artwork; hide it on desktop to avoid collision
   with the centered menu layout. It remains visible on mobile (default). */
@media (min-width: 768px) {
  .nav-overlay__inner::before { display: none; }
}

/* Hide the new decorative layer on narrow screens — mobile stays airy */
@media (max-width: 767px) {
  .nav-overlay__deco::before,
  .nav-overlay__deco::after,
  .nav-overlay__ornament { display: none; }
  .nav-overlay__watermark { font-size: clamp(6rem, 22vw, 10rem); opacity: 0.6; }
}

.nav-overlay__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  justify-self: center;
  padding-top: var(--space-4);
}
.nav-overlay__brand img {
  width: auto;
  height: clamp(96px, 12vw, 148px);
  opacity: 0.96;
}
.nav-overlay__brand .label {
  font-family: var(--font-latin);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--color-wood);
  text-transform: uppercase;
}

.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
}

.nav-list li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
}
.nav-overlay[aria-hidden="false"] .nav-list li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-ink-muted);
  transition: color var(--dur-med) var(--ease-out-expo),
              letter-spacing var(--dur-med) var(--ease-out-expo);
}
.nav-list a .idx {
  font-family: var(--font-latin);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-wood);
}
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-ink);
  letter-spacing: 0.28em;
  outline: none;
}

.nav-overlay__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-latin);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(140,126,109,0.15);
}

@media (min-width: 768px) {
  .nav-overlay__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 0;
    row-gap: clamp(1rem, 2vh, 2.25rem);
    align-items: center;
    justify-items: center;
    padding: clamp(2rem, 4vh, 3rem) clamp(2.5rem, 5vw, 5rem);
  }

  .nav-overlay__brand {
    align-items: center;
    justify-self: center;
    align-self: start;
    padding-top: 0;
    gap: var(--space-3);
  }

  .nav-overlay__brand img {
    height: clamp(96px, 10vw, 128px);
  }

  .nav-overlay__brand .label {
    letter-spacing: 0.42em;
  }

  .nav-list {
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    gap: clamp(0.6rem, 0.5rem + 0.8vh, 1.25rem);
    padding-left: 0;
  }

  /* Desktop menu item: editorial line with italic index + serif CN title */
  .nav-list a {
    position: relative;
    display: inline-grid;
    grid-template-columns: 2.25rem 1fr;
    align-items: baseline;
    gap: clamp(1rem, 2vw, 1.75rem);
    padding: 0.55rem 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.7rem + 1.4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: 0.28em;
    color: var(--color-ink-muted);
    text-align: left;
    transition: color var(--dur-med) var(--ease-out-expo),
                letter-spacing var(--dur-med) var(--ease-out-expo);
  }

  /* Hairline underline that slides in on hover — editorial accent */
  .nav-list a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1em;
    height: 1px;
    width: 0;
    background: linear-gradient(
      to right,
      transparent,
      var(--color-wood) 45%,
      var(--color-wood) 55%,
      transparent
    );
    transition: width var(--dur-med) var(--ease-out-expo);
  }

  .nav-list a:hover,
  .nav-list a:focus-visible {
    color: var(--color-ink);
    letter-spacing: 0.34em;
  }
  .nav-list a:hover::before,
  .nav-list a:focus-visible::before {
    width: 100%;
  }

  /* Italic editorial index — Cormorant numerals for character */
  .nav-list a .idx {
    font-family: "Cormorant Garamond", "Noto Serif TC", serif;
    font-style: italic;
    font-weight: 300;
    min-width: 2.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: var(--color-wood);
    text-align: right;
    transform: translateY(-0.15em);
  }

  .nav-overlay__footer {
    grid-column: 1 / -1;
    padding-top: var(--space-4);
    font-size: 0.64rem;
    letter-spacing: 0.32em;
    justify-content: center;
    gap: clamp(2rem, 6vw, 6rem);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 0 var(--gutter-safe) clamp(4rem, 3rem + 5vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -8% -4% -4% -4%;
  z-index: -2;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.02) brightness(0.88);
  animation: heroDrift 26s var(--ease-in-out) infinite alternate;
}

@keyframes heroDrift {
  0%   { transform: scale(1.06) translate3d(0,0,0); }
  100% { transform: scale(1.14) translate3d(-1.8%, -1.2%, 0); }
}

/* Strong layered scrim for legibility without losing photo mood */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(26,26,26,0.35) 0%, rgba(26,26,26,0.05) 30%, rgba(26,26,26,0.25) 58%, rgba(246,241,234,0.45) 82%, var(--color-surface-warm) 100%),
    linear-gradient(90deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0.15) 45%, rgba(26,26,26,0) 80%),
    radial-gradient(ellipse at 15% 90%, rgba(59,46,37,0.35), transparent 55%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(10rem, 18vh, 16rem);
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(246,241,234,0.72) 62%, var(--color-surface-warm) 100%);
}

/* Oversized silent watermark behind headline */
.hero__watermark {
  position: absolute;
  left: calc(var(--gutter-safe) - 0.06em);
  bottom: 50%;
  transform: translateY(55%);
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(8rem, 4rem + 18vw, 22rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.06);
  mix-blend-mode: overlay;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: -1;
}

.hero__content {
  max-width: 64rem;
  position: relative;
  color: var(--color-surface);
  padding-bottom: var(--space-4);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-latin);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: var(--space-8);
}
.hero__kicker::before {
  content: "";
  display: block;
  width: 56px; height: 1px;
  background: var(--color-gold-soft);
  opacity: 0.8;
}

.hero__title {
  font-family: "Cormorant Garamond", var(--font-display);
  font-weight: 300;
  font-size: var(--text-hero);
  letter-spacing: 0.01em;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 var(--space-8);
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroLineIn 1400ms var(--ease-out-expo) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 200ms; }
.hero__title .line:nth-child(2) > span { animation-delay: 380ms; }
.hero__title .line:nth-child(3) > span { animation-delay: 560ms; }

@keyframes heroLineIn {
  to { transform: translateY(0); }
}

.hero__title .cn {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.16em;
  padding-right: 0.16em;
  color: #fff;
}
.hero__title .en-italic {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-soft);
  letter-spacing: 0;
}
.hero__title .punct { color: var(--color-gold); }

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.18em;
  max-width: 34rem;
  line-height: 2.1;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: heroFadeIn 1200ms var(--ease-out-expo) 900ms forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; }
}

.hero__actions {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: heroFadeIn 1200ms var(--ease-out-expo) 1100ms forwards;
}

/* Hero CTAs restyled for dark background */
.hero .cta { background: linear-gradient(135deg, var(--color-gold), #d4a86f); color: var(--color-mocha-deep); }
.hero .cta--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.hero .cta--ghost:hover { box-shadow: inset 0 0 0 1px var(--color-gold-soft), 0 12px 40px rgba(0,0,0,0.25); }

.hero__coord {
  position: absolute;
  right: var(--gutter-safe);
  bottom: 5rem;
  font-family: var(--font-latin);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Floating index labels — editorial */
.hero__index {
  position: absolute;
  top: clamp(6rem, 14vh, 10rem);
  right: var(--gutter-safe);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-latin);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  mix-blend-mode: screen;
}
.hero__index .line { width: 40px; height: 1px; background: rgba(255,255,255,0.4); margin-top: 4px; }

@media (max-width: 767px) {
  .hero__watermark { display: none; }
  .hero__index { display: none; }
}

.hero__scroll-cue {
  position: absolute;
  left: var(--gutter-safe);
  bottom: 2rem;
  font-family: var(--font-latin);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.hero__scroll-cue::after {
  content: "";
  display: block;
  width: 64px; height: 1px;
  background: var(--color-wood);
  transform-origin: left;
  animation: scrollCue 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleX(0.4); opacity: 0.4; }
  50%      { transform: scaleX(1);   opacity: 1; }
}

/* ---------- Footer (warm mocha) ---------- */

.site-footer {
  position: relative;
  margin-top: 0;
  background:
    radial-gradient(ellipse at 18% 10%, rgba(229,211,174,0.18), transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(194,164,114,0.12), transparent 55%),
    linear-gradient(160deg, var(--color-mocha-light) 0%, var(--color-mocha) 45%, var(--color-mocha-deep) 100%);
  color: rgba(255,245,230,0.78);
  padding: clamp(6rem, 4rem + 8vw, 10rem) var(--gutter-safe) clamp(2rem, 1rem + 2vw, 3.5rem);
  overflow: hidden;
}
.site-footer.reveal {
  transform: translateY(48px);
}
.site-footer.reveal.in-view {
  transform: none;
}
/* Seamless transition from body into footer */
.site-footer::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, var(--color-surface-warm) 0%, transparent 100%);
  opacity: 0;
  pointer-events: none;
}
/* Warm noise texture overlay */
.site-footer::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,245,230,0.035) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  border-bottom: 1px solid rgba(229,211,174,0.14);
}

.footer-cta__heading {
  font-family: "Cormorant Garamond", var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  color: #fff7e6;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.footer-cta__heading em {
  font-style: italic;
  color: var(--color-gold-soft);
  font-weight: 400;
}
.footer-cta__lead {
  max-width: 32rem;
  color: rgba(255,245,230,0.65);
  font-size: 1rem;
  line-height: 2.1;
  letter-spacing: 0.12em;
  margin-top: var(--space-4);
}

/* Footer-specific CTA styling (gold pebble) */
.footer-cta__action.cta {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-soft));
  color: var(--color-mocha-deep);
}
.footer-cta__action.cta:hover {
  box-shadow: 0 18px 48px -16px rgba(229,211,174,0.45);
}
.footer-cta__action { justify-self: start; }

@media (min-width: 768px) {
  .footer-cta {
    grid-template-columns: 1.4fr auto;
    gap: var(--space-12);
  }
  .footer-cta__action { justify-self: end; }
}

.footer-meta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 768px) {
  .footer-meta { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-meta h4 {
  font-family: var(--font-latin);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--color-gold-soft);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-meta ul { list-style: none; padding: 0; margin: 0; }
.footer-meta li { padding: 4px 0; font-size: 0.92rem; letter-spacing: 0.08em; color: rgba(255,245,230,0.7); }
.footer-meta li,
.footer-brand {
  transition: transform var(--dur-med) var(--ease-out-expo),
              color var(--dur-med) var(--ease-out-expo);
}
.footer-meta li:hover,
.footer-brand:hover {
  transform: translateX(6px);
  color: var(--color-gold-soft);
}
.footer-meta a { transition: color var(--dur-med) var(--ease-out-expo); }
.footer-meta a:hover { color: var(--color-gold-soft); }

.footer-brand .logo-mark {
  display: block;
  height: clamp(104px, 10vw, 150px);
  width: auto;
  margin-bottom: var(--space-4);
  opacity: 0.95;
}
.footer-brand .tagline {
  font-size: 0.82rem;
  color: rgba(255,245,230,0.55);
  letter-spacing: 0.22em;
  line-height: 1.8;
  max-width: 24rem;
}

.footer-legal {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(229,211,174,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: var(--font-latin);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: rgba(255,245,230,0.4);
  text-transform: uppercase;
  gap: var(--space-4);
}

/* ---------- Body lock when overlay open ---------- */
body.is-menu-open { overflow: hidden; }
body.is-lightbox-open { overflow: hidden; }

@media (max-width: 767px) {
  .site-header {
    min-height: calc(78px + env(safe-area-inset-top, 0px));
    align-items: center;
    padding: calc(0.55rem + env(safe-area-inset-top, 0px)) max(1rem, var(--gutter-safe)) 0.6rem;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .site-header.is-scrolled {
    min-height: calc(70px + env(safe-area-inset-top, 0px));
    padding-top: calc(0.48rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.55rem;
    background:
      radial-gradient(ellipse at 12% 0%, rgba(194,164,114,0.16), transparent 48%),
      linear-gradient(135deg, rgba(59,46,37,0.96), rgba(42,31,24,0.9));
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    box-shadow: 0 16px 36px -26px rgba(26,19,14,0.9),
                inset 0 -1px 0 rgba(229,211,174,0.12);
  }

  .brand {
    align-items: center;
    line-height: 1;
    width: auto;
    height: auto;
    overflow: visible;
    justify-content: center;
  }

  .brand__logo {
    height: 92px;
    max-height: none;
    transform: none;
    transform-origin: center top;
  }

  .site-header.is-scrolled .brand__logo {
    height: 58px;
    transform: none;
  }

  .site-header:not(.is-scrolled) .menu-toggle:hover {
    background: rgba(255,255,255,0.08);
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    margin-top: 0;
  }

  .nav-overlay__brand img {
    height: clamp(88px, 24vw, 116px);
  }

  .footer-brand .logo-mark {
    height: clamp(96px, 28vw, 124px);
  }
}
