/* Runtime polish for the restored static landing. */
:root {
  --txuan-red: #9d1724;
  --txuan-red-deep: #4a090f;
  --txuan-gold: #c79a52;
  --txuan-ivory: #fbf3e4;
  --txuan-paper: #ead9be;
  --txuan-ink: #170c09;
  --txuan-control-height: 2.9rem;
  --txuan-control-min-width: 7.35rem;
  --txuan-language-width: var(--txuan-control-min-width);
  --lacquer: var(--txuan-red) !important;
  --lacquer-deep: var(--txuan-red-deep) !important;
  --lacquer-light: #c82736 !important;
  --seal: var(--txuan-gold) !important;
  --jade: #6a1b20 !important;
  --jade-dark: var(--txuan-red-deep) !important;
  --rice: var(--txuan-ivory) !important;
  --paper: var(--txuan-paper) !important;
  --paper-deep: #dcc49e !important;
  --button-gold: #9d8f6b !important;
  --button-gold-deep: #7f704e !important;
}

body {
  background: var(--txuan-ivory) !important;
}

.experience,
.tea-ritual,
.press,
.closing {
  display: none !important;
}

.motion-strip {
  min-height: 14rem;
  padding-block: 2rem;
  background:
    radial-gradient(circle at 10% 0, rgba(157, 23, 36, 0.2), transparent 22rem),
    radial-gradient(circle at 86% 100%, rgba(185, 149, 92, 0.14), transparent 20rem),
    linear-gradient(90deg, rgba(251, 246, 236, 0.045) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(0deg, rgba(251, 246, 236, 0.035) 1px, transparent 1px) 0 0 / 3rem 3rem,
    #0f0908 !important;
}

.motion-strip::before {
  opacity: 0.26;
}

.motif-carousel {
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.motif-track,
.hanzi-track {
  width: max-content;
  min-width: max-content;
  gap: 0 !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation-name: txuan-seamless-scroll !important;
  animation-duration: var(--txuan-loop-duration, 28s) !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

.motif-track {
  --txuan-loop-gap: 0.9rem;
  --txuan-loop-duration: 32s;
}

.hanzi-track {
  --txuan-loop-gap: 2.6rem;
  --txuan-loop-duration: 34s;
}

.txuan-loop-set {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--txuan-loop-gap);
  padding-right: var(--txuan-loop-gap);
}

.motif-track .txuan-loop-set {
  padding-block: 0.35rem;
}

.hanzi-track .txuan-loop-set {
  padding-block: 0.2rem;
}

.motif-tile {
  width: clamp(7.4rem, 12vw, 9.6rem);
  color: var(--txuan-gold) !important;
  border-color: rgba(185, 149, 92, 0.4) !important;
  background-color: rgba(251, 246, 236, 0.035) !important;
  background-image:
    linear-gradient(90deg, rgba(251, 246, 236, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(251, 246, 236, 0.055) 1px, transparent 1px) !important;
  background-size: 1.8rem 1.8rem !important;
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.2) !important;
}

.motif-tile.seal {
  color: rgba(224, 45, 69, 0.9) !important;
  background:
    radial-gradient(circle at 50% 48%, rgba(157, 23, 36, 0.22), transparent 4.2rem),
    linear-gradient(90deg, rgba(157, 23, 36, 0.08) 1px, transparent 1px) 0 0 / 1.8rem 1.8rem,
    linear-gradient(0deg, rgba(157, 23, 36, 0.08) 1px, transparent 1px) 0 0 / 1.8rem 1.8rem,
    rgba(25, 10, 9, 0.74) !important;
}

.motif-tile.logo,
.motif-tile.ink {
  color: rgba(251, 246, 236, 0.82) !important;
}

.menu-hanzi-ribbon {
  min-height: 4.7rem;
  margin-bottom: 1.8rem;
  opacity: 0.56;
  background:
    linear-gradient(90deg, rgba(157, 23, 36, 0.08) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(0deg, rgba(157, 23, 36, 0.06) 1px, transparent 1px) 0 0 / 3rem 3rem,
    rgba(251, 243, 228, 0.92) !important;
}

.section-heading > p:not(.eyebrow),
.signature-ledger p,
.service-line p,
.menu-board-head p {
  display: none;
}

.signatures,
.menu-section,
.services {
  padding-top: clamp(3.4rem, 6vw, 5rem) !important;
  padding-bottom: clamp(3.4rem, 6vw, 5rem) !important;
}

.signatures,
.menu-section,
.services {
  background: var(--txuan-ivory) !important;
}

.signature-showcase {
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
}

.signature-visual {
  min-height: 29rem;
}

.signature-ledger article {
  min-height: 5.7rem;
}

.service-line {
  min-height: 3.6rem;
}

.services .section-heading {
  margin-bottom: 1.35rem;
}

.service-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  background: transparent !important;
  border: 0 !important;
  background-image: none !important;
}

.service-line {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center;
  justify-items: stretch;
  gap: 0;
  min-height: 3.6rem;
  padding: 0 !important;
  border: 1px solid rgba(185, 149, 92, 0.7) !important;
  background: rgba(251, 243, 228, 0.78) !important;
}

.service-line > span,
.service-line p {
  display: none !important;
}

.service-line h3 {
  display: none;
}

.service-line a {
  width: 100%;
  min-width: 0 !important;
  min-height: 3.55rem !important;
  color: var(--txuan-red-deep) !important;
  border: 0 !important;
  background: transparent !important;
}

.service-line a:hover,
.service-line a:focus-visible {
  color: var(--txuan-ivory) !important;
  background: var(--txuan-red) !important;
}

.visit-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.62fr) !important;
  gap: 1rem;
  align-items: stretch;
}

.visit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.1rem 1.5rem;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(157, 23, 36, 0.06) 1px, transparent 1px) 0 0 / 2.4rem 2.4rem,
    linear-gradient(0deg, rgba(157, 23, 36, 0.045) 1px, transparent 1px) 0 0 / 2.4rem 2.4rem,
    rgba(251, 243, 228, 0.96) !important;
  border: 1px solid rgba(74, 9, 15, 0.16);
  box-shadow: none !important;
}

.visit-card .eyebrow,
.visit-card h3,
.visit-lines,
.visit-actions {
  grid-column: 1;
}

.visit-card .eyebrow {
  margin: 0;
}

.visit-card h3 {
  margin: 0 !important;
  font-size: clamp(1.8rem, 3vw, 2.45rem) !important;
}

.visit-lines {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 !important;
  display: grid !important;
}

.visit-lines div {
  min-height: auto !important;
  padding: 0.25rem 0.9rem 0.25rem 0 !important;
  border: 0 !important;
  color: rgba(23, 12, 9, 0.72) !important;
}

.visit-lines b {
  color: var(--txuan-gold) !important;
}

.visit-actions {
  margin: 0 !important;
}

.visit-image {
  display: none !important;
}

.txuan-map {
  min-height: 23rem;
  border: 1px solid rgba(74, 9, 15, 0.16);
  background: rgba(251, 243, 228, 0.96);
  overflow: hidden;
}

.txuan-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 23rem;
  border: 0;
  filter: saturate(0.72) sepia(0.12) contrast(0.96);
}

.footer.txuan-footer-polished {
  background:
    radial-gradient(circle at 8% 0, rgba(185, 149, 92, 0.16), transparent 20rem),
    linear-gradient(90deg, rgba(251, 243, 228, 0.05) 1px, transparent 1px) 0 0 / 2.8rem 2.8rem,
    linear-gradient(0deg, rgba(251, 243, 228, 0.04) 1px, transparent 1px) 0 0 / 2.8rem 2.8rem,
    var(--txuan-ink) !important;
}

.footer.txuan-footer-polished img {
  width: 12.6rem !important;
  opacity: 1 !important;
  filter: none !important;
  background: var(--txuan-ivory) !important;
  border: 1px solid rgba(185, 149, 92, 0.54) !important;
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.24);
}

.footer.txuan-footer-polished p,
.footer.txuan-footer-polished a,
.footer.txuan-footer-polished span {
  color: rgba(251, 243, 228, 0.84);
}

.footer-links a {
  gap: 0.48rem !important;
}

.txuan-footer-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  color: var(--txuan-gold) !important;
  border: 1px solid rgba(185, 149, 92, 0.45);
  background: rgba(251, 243, 228, 0.06);
}

.txuan-footer-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.txuan-footer-icon svg circle,
.txuan-footer-icon svg rect {
  fill: none;
}

.txuan-footer-brand-icon svg .txuan-footer-mark-fill {
  fill: currentColor;
  stroke: none;
}

.txuan-footer-brand-icon svg .txuan-footer-yelp-line {
  stroke-width: 2.55;
}

.txuan-footer-icon img {
  display: block;
  width: 1rem;
  height: 1rem;
}

.footer-links a:hover .txuan-footer-brand-icon img,
.footer-links a:focus-visible .txuan-footer-brand-icon img {
  filter: brightness(0) invert(1);
}

.footer-links a:hover .txuan-footer-icon,
.footer-links a:focus-visible .txuan-footer-icon {
  color: var(--txuan-ivory) !important;
  background: var(--txuan-red);
  border-color: rgba(185, 149, 92, 0.82);
}

.menu-items .menu-item:nth-child(n + 5) {
  display: none;
}

.hero-title-hanzi,
.vertical-poem span b {
  background: linear-gradient(105deg, #f8dfaa 0%, #cfa263 34%, #a81725 72%, #f1c978 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(13, 8, 6, 0.56) 0%, rgba(13, 8, 6, 0.26) 34%, rgba(13, 8, 6, 0) 60%) !important;
}

.menu-board,
.signature-ledger {
  background: transparent !important;
}

.menu-item span,
.press-list span {
  color: var(--txuan-red) !important;
}

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

.nav-links a,
.nav-book,
.hero-actions .button,
.hero-rail a,
.scroll-indicator,
.menu-tabs button,
.menu-board-head a,
.service-line a,
.txuan-language-field {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  align-items: center;
  justify-content: center;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease !important;
}

.nav-book,
.hero-actions .button.primary,
.txuan-language-field {
  color: var(--txuan-ivory) !important;
  background: var(--button-gold) !important;
  border-color: rgba(199, 154, 82, 0.48) !important;
  box-shadow: none !important;
}

.nav-book:hover,
.nav-book:focus-visible,
.hero-actions .button.primary:hover,
.hero-actions .button.primary:focus-visible,
.txuan-language-field:hover,
.txuan-language-field.is-open,
.txuan-language-field:focus-within {
  color: #fffdf6 !important;
  background: var(--button-gold-deep) !important;
  border-color: var(--button-gold-deep) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18) !important;
}

.menu-board-head a,
.service-line a {
  color: var(--button-gold) !important;
  background: transparent !important;
  border: 1px solid rgba(199, 154, 82, 0.48) !important;
  box-shadow: none !important;
}

.menu-board-head a:hover,
.menu-board-head a:focus-visible,
.service-line a:hover,
.service-line a:focus-visible,
.hero-actions .button.secondary:hover,
.hero-actions .button.secondary:focus-visible,
.hero-actions .button.secondary.ink:hover,
.hero-actions .button.secondary.ink:focus-visible {
  color: #fffdf6 !important;
  background: var(--button-gold-deep) !important;
  border-color: var(--button-gold-deep) !important;
}

.hero-actions .button.secondary {
  color: var(--button-gold) !important;
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: var(--button-gold) !important;
  box-shadow: none !important;
}

.hero-actions .button.secondary.ink {
  color: var(--lacquer-deep) !important;
  background: transparent !important;
  border-color: var(--button-gold) !important;
}

.hero-rail a,
.scroll-indicator {
  color: var(--button-gold) !important;
  background: rgba(0, 0, 0, 0.22) !important;
  border: 1px solid rgba(199, 154, 82, 0.48) !important;
  box-shadow: none !important;
}

.hero-rail {
  left: clamp(1.25rem, 4vw, 4rem) !important;
  right: clamp(5.25rem, 8vw, 7rem) !important;
  bottom: 1rem !important;
  gap: 0.45rem !important;
}

.hero-rail a {
  min-height: 2.25rem !important;
  padding: 0 0.85rem !important;
  font-size: 0.72rem !important;
}

.scroll-indicator {
  position: absolute !important;
  right: clamp(1.25rem, 4vw, 4rem) !important;
  bottom: 1rem !important;
  width: 3.55rem !important;
  height: 2.25rem !important;
  font-size: 0.66rem !important;
}

.hero-rail a:hover,
.hero-rail a:focus-visible,
.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  color: #fffdf6 !important;
  background: rgba(127, 112, 78, 0.28) !important;
  border-color: rgba(199, 154, 82, 0.82) !important;
}

.menu-tabs button.active,
.menu-tabs button:hover {
  color: var(--ink) !important;
  background: var(--paper) !important;
  border-color: rgba(199, 154, 82, 0.5) !important;
  box-shadow: none !important;
}

.nav-book,
.txuan-language-field {
  align-self: center;
  min-width: var(--txuan-control-min-width) !important;
  height: var(--txuan-control-height);
  min-height: var(--txuan-control-height) !important;
  padding: 0 !important;
}

.nav-book {
  width: var(--txuan-control-min-width);
}

.txuan-language-field {
  width: var(--txuan-language-width);
}

.nav-book {
  line-height: 1;
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible,
.hero-rail a:hover,
.hero-rail a:focus-visible,
.scroll-indicator:hover,
.scroll-indicator:focus-visible,
.menu-board-head a:hover,
.menu-board-head a:focus-visible,
.nav-book:hover,
.nav-book:focus-visible,
.txuan-language-field:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.txuan-language-field::before,
.nav-book::before,
.hero-actions .button::before,
.hero-rail a::before,
.scroll-indicator::before,
.menu-board-head a::before,
.service-line a::before,
.menu-tabs button::before {
  content: "";
  position: absolute;
  inset: -35%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(251, 243, 228, 0.34), transparent 46%);
  opacity: 0;
  transform: scale(0.58);
  transition:
    opacity 0.26s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.txuan-language-field:hover::before,
.txuan-language-field.is-open::before,
.nav-book:hover::before,
.hero-actions .button:hover::before,
.hero-rail a:hover::before,
.scroll-indicator:hover::before,
.menu-board-head a:hover::before,
.service-line a:hover::before,
.menu-tabs button:hover::before {
  opacity: 1;
  transform: scale(1);
}

.txuan-language-field.is-changing,
.txuan-language-field.is-open,
.menu-tabs button:active,
.service-line a:active,
.hero-actions .button:active,
.nav-book:active {
  animation: txuan-control-press 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.txuan-language-switching .hero-content,
body.txuan-language-switching .nav-links,
body.txuan-language-switching .hero-rail,
body.txuan-language-switching .signatures,
body.txuan-language-switching .menu-section,
body.txuan-language-switching .services,
body.txuan-language-switching .footer {
  animation: txuan-language-change 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

.language-toggle {
  display: none !important;
}

.txuan-language-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--txuan-control-height);
  color: var(--txuan-ivory);
  background: var(--button-gold);
  border: 1px solid rgba(199, 154, 82, 0.48);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  isolation: isolate;
  cursor: pointer;
}

.txuan-language-field::after {
  content: "";
  position: absolute;
  right: 0.72rem;
  width: 0.44rem;
  height: 0.44rem;
  pointer-events: none;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.14rem) rotate(45deg);
}

.txuan-language-field select {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: var(--txuan-control-height);
  padding: 0 1.72rem 0 0.72rem;
  color: inherit;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: var(--txuan-control-height);
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
}

.txuan-language-field select:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 4px;
}

.txuan-language-field option {
  color: #160f0d;
  background: #fbf6ec;
}

.txuan-language-field-mobile {
  display: none;
  margin: 0.25rem;
  width: calc(100% - 0.5rem);
}

.txuan-language-field-mobile select {
  width: 100%;
}

body.txuan-site-waiting .txuan-language-field {
  opacity: 0 !important;
  pointer-events: none;
  filter: blur(12px);
  transform: translate3d(0, 1.35rem, 0) scale(0.985) !important;
}

body.txuan-site-entering .txuan-language-field {
  animation: txuan-reveal-up 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

@keyframes txuan-seamless-scroll {
  to {
    transform: translate3d(calc(var(--txuan-loop-distance, 50%) * -1), 0, 0);
  }
}

@keyframes txuan-control-press {
  0% {
    transform: translateY(0) scale(1);
  }

  42% {
    transform: translateY(1px) scale(0.965);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes txuan-language-change {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }

  38% {
    opacity: 0.55;
    filter: blur(6px);
    transform: translate3d(0, 0.36rem, 0);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 920px) {
  .nav {
    grid-template-columns: minmax(7.25rem, 1fr) auto auto !important;
    gap: 0.42rem !important;
    align-items: center !important;
  }

  .brand {
    width: clamp(7.25rem, 40vw, 10rem) !important;
    min-width: 0 !important;
  }

  .nav > .txuan-language-field {
    display: inline-flex;
    width: 4.75rem;
    min-width: 4.75rem !important;
    height: 2.9rem;
    min-height: 2.9rem !important;
    justify-self: end;
  }

  .mobile-menu-button {
    width: 4.9rem !important;
    height: 2.9rem !important;
    color: var(--txuan-ivory) !important;
    background: var(--button-gold) !important;
    border-color: rgba(199, 154, 82, 0.48) !important;
    box-shadow: none !important;
  }

  .mobile-menu-button:hover,
  .mobile-menu-button:focus-visible {
    background: var(--button-gold-deep) !important;
    border-color: var(--button-gold-deep) !important;
  }

  .mobile-panel .txuan-language-field-mobile {
    display: none !important;
  }

  .mobile-panel .txuan-language-field-mobile select {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 0.35rem !important;
  }

  .nav > .txuan-language-field {
    width: 4.55rem;
    min-width: 4.55rem !important;
  }

  .mobile-menu-button {
    width: 4.65rem !important;
  }

  .hero-rail {
    left: 1rem !important;
    right: 4.85rem !important;
    bottom: 0.85rem !important;
  }

  .hero-rail a {
    min-height: 2.1rem !important;
    padding-inline: 0.68rem !important;
    font-size: 0.66rem !important;
  }

  .scroll-indicator {
    right: 1rem !important;
    bottom: 0.85rem !important;
    width: 3.35rem !important;
    height: 2.1rem !important;
    font-size: 0.62rem !important;
  }

  .motion-strip {
    min-height: 11.6rem;
    padding-block: 1rem;
  }

  .motif-tile {
    width: 7.4rem;
  }

  .menu-hanzi-ribbon {
    min-height: 3.8rem;
  }

  .hanzi-track {
    --txuan-loop-gap: 1.45rem;
  }

  .motif-track {
    --txuan-loop-gap: 0.65rem;
  }

  .service-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-card {
    grid-template-columns: 1fr;
  }

  .visit-layout {
    grid-template-columns: 1fr !important;
  }

  .visit-lines {
    grid-template-columns: 1fr;
  }

  .txuan-map,
  .txuan-map iframe {
    min-height: 18rem;
  }
}

/* ===========================================================
   Footer — balanced three-zone composition, coherent rhythm
   brand (left) · social links (centered) · legal (right stack)
   =========================================================== */
.footer.txuan-footer-polished {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 1.5rem 2.75rem !important;
  padding: 2.75rem clamp(1.5rem, 5vw, 4rem) !important;
}

.footer.txuan-footer-polished > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  gap: 0.95rem;
}

.footer.txuan-footer-polished > div:first-child img {
  width: 12rem !important;
}

.footer.txuan-footer-polished > div:first-child p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.footer.txuan-footer-polished .footer-links:not(.legal) {
  justify-self: center;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem !important;
}

.footer.txuan-footer-polished .footer-links.legal {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-self: end;
  gap: 0.62rem !important;
}

.footer-links a {
  align-items: center;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ===========================================================
   Signatures — cap the visual height so the ledger lines up
   flush with the photo edges instead of floating in dead space
   =========================================================== */
.signature-visual {
  height: clamp(24rem, 40vw, 30rem) !important;
  min-height: 0 !important;
}

.signature-ledger {
  align-content: space-between !important;
}

/* ===========================================================
   Hero — looping ambient background video, sitting just above the
   fallback hero image and beneath the dark wash + content.
   =========================================================== */
.txuan-hero-video {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background: #0f0908;
}

/* Section titles — char-by-char entrance reveal (words stay intact) */
.txuan-word {
  display: inline-block;
  white-space: nowrap;
}

.txuan-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  will-change: opacity, transform;
}

.txuan-chars-in .txuan-char {
  animation-name: txuan-char-rise;
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

@keyframes txuan-char-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero — remove the bottom rail (Carte complète / Adresse) and the Suite cue */
.hero-rail,
.scroll-indicator {
  display: none !important;
}

/* Signatures — looping video filling the visual, caption kept on top */
.txuan-signature-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.signature-visual > span {
  position: relative;
  z-index: 2;
}

/* ===========================================================
   Address section — refined lacquer action buttons
   (Commander · Carte · Avis · Instagram)
   =========================================================== */
.service-ledger {
  gap: 0.9rem !important;
}

.service-line {
  border-color: rgba(199, 154, 82, 0.58) !important;
  background:
    linear-gradient(0deg, rgba(157, 23, 36, 0.035), rgba(157, 23, 36, 0.035)),
    rgba(251, 243, 228, 0.92) !important;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.service-line:hover,
.service-line:focus-within {
  border-color: rgba(199, 154, 82, 0.92) !important;
  box-shadow: 0 0.7rem 1.6rem rgba(74, 9, 15, 0.12) !important;
}

.service-line a {
  min-height: 4rem !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-line a::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(199, 154, 82, 0.4);
  opacity: 0.7;
  transition:
    opacity 0.22s ease,
    border-color 0.22s ease;
}

.service-line a > * {
  position: relative;
  z-index: 1;
}

.service-line a:hover::after,
.service-line a:focus-visible::after {
  border-color: rgba(251, 243, 228, 0.55);
  opacity: 1;
}

/* ===========================================================
   Reusable cursor spotlight (now used in « Le monde T'Xuan »)
   =========================================================== */
.txuan-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.txuan-spotlight-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  filter: brightness(1.06) saturate(1.08) contrast(1.02);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: opacity 0.34s ease-out;
}

.txuan-spotlight-reveal.is-active {
  opacity: 1;
}

.txuan-spotlight-auto-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  filter: brightness(1.06) saturate(1.08) contrast(1.02);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  will-change: opacity, -webkit-mask-image, mask-image;
}

.txuan-spotlight.is-touch-revealing .txuan-spotlight-reveal {
  opacity: 0;
}

.txuan-spotlight.is-touch-revealing::before {
  content: "";
  position: absolute;
  inset: -2rem;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 14rem 7rem at var(--touch-a-x, 30%) var(--touch-a-y, 42%), rgba(255, 245, 208, 0.18), rgba(247, 196, 102, 0.08) 38%, transparent 72%),
    radial-gradient(ellipse 11rem 8rem at var(--touch-b-x, 70%) var(--touch-b-y, 52%), rgba(255, 245, 208, 0.14), rgba(247, 196, 102, 0.07) 38%, transparent 72%),
    radial-gradient(ellipse 9rem 5rem at var(--touch-c-x, 46%) var(--touch-c-y, 66%), rgba(255, 245, 208, 0.11), rgba(247, 196, 102, 0.06) 38%, transparent 74%);
  opacity: 0.7;
  filter: blur(8px);
  mix-blend-mode: screen;
  transform: translateZ(0);
  will-change: background;
}

.txuan-spotlight.is-touch-revealing.is-single-reveal::before {
  background:
    radial-gradient(ellipse var(--touch-single-w, 16rem) var(--touch-single-h, 8rem) at var(--touch-a-x, 50%) var(--touch-a-y, 50%), rgba(255, 245, 208, 0.2), rgba(247, 196, 102, 0.09) 38%, transparent 74%);
  opacity: var(--touch-single-opacity, 0.74);
}

.txuan-motion-visual {
  --txuan-img-x: 0px;
  --txuan-img-y: 0px;
  opacity: 0;
  clip-path: inset(0 0 16% 0);
  transform: translate3d(0, 1.15rem, 0) scale(0.985);
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--txuan-motion-delay, 0s);
  will-change: clip-path, opacity, transform;
}

.txuan-motion-visual.is-visible {
  opacity: 1;
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.txuan-motion-visual img,
.txuan-motion-visual video,
.txuan-motion-visual .txuan-spotlight-reveal {
  transform: translate3d(var(--txuan-img-x), var(--txuan-img-y), 0) scale(1.025);
  transition:
    filter 0.34s ease,
    transform 0.54s cubic-bezier(0.22, 1, 0.36, 1);
}

.txuan-motion-visual:hover img,
.txuan-motion-visual:hover video,
.txuan-motion-visual:hover .txuan-spotlight-reveal {
  transform: translate3d(var(--txuan-img-x), var(--txuan-img-y), 0) scale(1.05);
}

/* ===========================================================
   Cabinet des trésors — second spotlight section (empty shelf
   that fills with jade pieces under the cursor)
   =========================================================== */
.txuan-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.6rem, 7vw, 6rem);
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  background: var(--txuan-ivory);
}

.txuan-showcase-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
}

/* visual on the left, copy on the right — mirrors the Signatures block */
.txuan-showcase-visual {
  order: 0;
}

.txuan-showcase-head {
  order: 1;
}

.txuan-showcase-head .eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--txuan-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.txuan-showcase-head h2 {
  margin: 0 0 1rem;
  color: var(--txuan-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.txuan-showcase-head p {
  margin: 0;
  max-width: 32rem;
  color: rgba(23, 12, 9, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.txuan-showcase-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(74, 9, 15, 0.32);
  /* deep shadow + inner vignette to seat the light photo on the ivory ground */
  box-shadow:
    0 1.6rem 3.6rem rgba(74, 9, 15, 0.24),
    inset 0 0 5rem rgba(20, 10, 8, 0.32);
}

.txuan-showcase-caption {
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  z-index: 2;
  color: rgba(251, 243, 228, 0.82);
  font-size: 1.6rem;
  text-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.5);
}

.txuan-showcase-visual {
  outline: 1px solid rgba(199, 154, 82, 0.5);
  outline-offset: -0.7rem;
}

.txuan-showcase-visual::after {
  content: "✦ Survolez pour révéler";
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  z-index: 3;
  padding: 0.32rem 0.7rem;
  color: rgba(251, 243, 228, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(20, 10, 8, 0.42);
  border: 1px solid rgba(199, 154, 82, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.txuan-showcase-visual.txuan-spotlight:hover::after {
  opacity: 0;
}

.txuan-showcase-head .eyebrow::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-top: 0.7rem;
  background: linear-gradient(90deg, var(--txuan-gold), transparent);
}

.txuan-menu-visual {
  position: relative;
  max-width: 76rem;
  height: clamp(14rem, 28vw, 21rem);
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 82, 0.54);
  background: #180b09;
  box-shadow: 0 1.1rem 2.8rem rgba(74, 9, 15, 0.16);
  isolation: isolate;
}

.txuan-menu-visual.txuan-motion-visual {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(0, 1.1rem, 0) scale(0.99);
}

.txuan-menu-visual.txuan-motion-visual.is-visible {
  clip-path: inset(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.txuan-menu-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
}

.txuan-menu-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 7, 5, 0.42), transparent 42%, rgba(13, 7, 5, 0.2)),
    linear-gradient(180deg, transparent 50%, rgba(13, 7, 5, 0.62));
  transition: opacity 0.34s ease;
}

.txuan-menu-hover-mark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  width: clamp(2.8rem, 6vw, 4.4rem);
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(251, 243, 228, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(251, 243, 228, 0.2) 0 22%, transparent 24%),
    conic-gradient(from 40deg, transparent 0 22%, rgba(199, 154, 82, 0.82) 22% 30%, transparent 30% 100%);
  box-shadow:
    0 0 0 0.55rem rgba(251, 243, 228, 0.04),
    0 0.8rem 1.8rem rgba(0, 0, 0, 0.32);
  opacity: 0.78;
  transform: scale(1);
  transition:
    opacity 0.28s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.txuan-menu-visual figcaption {
  position: absolute;
  left: 0.95rem;
  bottom: 0.82rem;
  z-index: 3;
  color: rgba(251, 243, 228, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.5);
}

.txuan-menu-visual .txuan-spotlight-reveal {
  z-index: 1;
  opacity: 0;
  filter: brightness(1.08) saturate(1.12) contrast(1.03);
  -webkit-mask-image: radial-gradient(
    circle clamp(10rem, 24vw, 18rem) at 50% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 38%,
    rgba(0, 0, 0, 0.62) 66%,
    rgba(0, 0, 0, 0.16) 86%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle clamp(10rem, 24vw, 18rem) at 50% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 38%,
    rgba(0, 0, 0, 0.62) 66%,
    rgba(0, 0, 0, 0.16) 86%,
    rgba(0, 0, 0, 0) 100%
  );
}

.txuan-menu-visual:hover,
.txuan-menu-visual.is-hovering {
  border-color: rgba(199, 154, 82, 0.9);
  box-shadow: 0 1.5rem 3.4rem rgba(74, 9, 15, 0.24);
}

.txuan-menu-visual:hover::after,
.txuan-menu-visual.is-hovering::after {
  opacity: 0.62;
}

.txuan-menu-visual:hover .txuan-spotlight-reveal,
.txuan-menu-visual.is-hovering .txuan-spotlight-reveal {
  opacity: 1;
}

.txuan-menu-visual:hover .txuan-menu-hover-mark,
.txuan-menu-visual.is-hovering .txuan-menu-hover-mark {
  opacity: 0;
  transform: scale(1.24);
}

.txuan-menu-gallery {
  max-width: 100%;
  margin: 0 auto 1.35rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.txuan-menu-gallery-track {
  --txuan-gallery-gap: 0.75rem;
  display: flex;
  width: max-content;
  gap: var(--txuan-gallery-gap);
  padding-inline: clamp(1.5rem, calc((100vw - 76rem) / 2), 6rem);
  animation: txuan-gallery-marquee 36s linear infinite;
  will-change: transform;
}

.txuan-menu-gallery-track:hover {
  animation-play-state: paused;
}

.txuan-menu-gallery-card {
  flex: 0 0 clamp(14rem, 23vw, 19rem);
  width: clamp(14rem, 23vw, 19rem);
  min-height: clamp(8.8rem, 14vw, 12rem);
  height: clamp(8.8rem, 14vw, 12rem);
  box-shadow: 0 0.8rem 2rem rgba(74, 9, 15, 0.13);
}

.txuan-menu-gallery-card figcaption {
  left: 0.78rem;
  bottom: 0.68rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.txuan-menu-videos {
  max-width: 100%;
  margin: 0 auto 1.55rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.txuan-menu-video-track {
  --txuan-gallery-gap: 0.75rem;
  display: flex;
  width: max-content;
  gap: var(--txuan-gallery-gap);
  padding-inline: clamp(1.5rem, calc((100vw - 76rem) / 2), 6rem);
  animation: txuan-gallery-marquee 32s linear infinite reverse;
  will-change: transform;
}

.txuan-menu-video-track:hover {
  animation-play-state: paused;
}

.txuan-menu-video-card {
  flex: 0 0 clamp(18rem, 30vw, 28rem);
  width: clamp(18rem, 30vw, 28rem);
  min-height: clamp(21rem, 37vw, 31rem);
  height: clamp(21rem, 37vw, 31rem);
  background: #180b09;
  box-shadow: 0 1rem 2.4rem rgba(74, 9, 15, 0.16);
}

.txuan-menu-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transform: translate3d(var(--txuan-img-x, 0), var(--txuan-img-y, 0), 0) scale(1.03);
  transition:
    filter 0.34s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.txuan-menu-video-card:hover video {
  filter: saturate(1.04) contrast(1.06);
  transform: translate3d(var(--txuan-img-x, 0), var(--txuan-img-y, 0), 0) scale(1.065);
}

.txuan-menu-video-card figcaption {
  left: 0.88rem;
  bottom: 0.78rem;
  font-size: 0.7rem;
}

/* ===========================================================
   V2 image story — editorial visuals to keep the page tactile
   =========================================================== */
.txuan-image-story {
  padding: clamp(3.2rem, 6vw, 5.4rem) clamp(1.5rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(157, 23, 36, 0.045) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(0deg, rgba(157, 23, 36, 0.035) 1px, transparent 1px) 0 0 / 3rem 3rem,
    var(--txuan-ivory);
}

.txuan-image-story-head {
  max-width: 76rem;
  margin: 0 auto 1.4rem;
}

.txuan-image-story-head .eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--txuan-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.txuan-image-story-head h2 {
  max-width: 42rem;
  margin: 0;
  color: var(--txuan-ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.txuan-image-feature {
  max-width: 76rem;
  margin: 0 auto;
}

.txuan-gallery-carousel {
  max-width: 100%;
  margin-top: 0.9rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.txuan-gallery-track {
  --txuan-gallery-gap: 0.85rem;
  display: flex;
  width: max-content;
  gap: var(--txuan-gallery-gap);
  padding-inline: clamp(1.5rem, calc((100vw - 76rem) / 2), 6rem);
  animation: txuan-gallery-marquee 54s linear infinite;
  will-change: transform;
}

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

.txuan-image-card {
  position: relative;
  min-height: 13rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 82, 0.55);
  background: #180b09;
  box-shadow: 0 1.2rem 3rem rgba(74, 9, 15, 0.18);
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  transition-delay: var(--txuan-card-delay, 0s);
}

.txuan-image-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.txuan-image-card.is-wide {
  min-height: clamp(24rem, 44vw, 35rem);
}

.txuan-gallery-track .txuan-image-card {
  flex: 0 0 clamp(15rem, 28vw, 24rem);
  width: clamp(15rem, 28vw, 24rem);
  height: clamp(14rem, 23vw, 19rem);
  min-height: 0;
}

.txuan-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
  transform: translate3d(var(--txuan-img-x, 0), var(--txuan-img-y, 0), 0) scale(1.04);
  transition:
    filter 0.34s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.txuan-image-card:hover {
  border-color: rgba(199, 154, 82, 0.88);
  box-shadow: 0 1.55rem 3.4rem rgba(74, 9, 15, 0.24);
}

.txuan-image-card:hover img {
  filter: saturate(1.04) contrast(1.05);
  transform: translate3d(var(--txuan-img-x, 0), var(--txuan-img-y, 0), 0) scale(1.075);
}

.txuan-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(14, 6, 5, 0.72));
}

.txuan-image-card figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  z-index: 1;
  color: rgba(251, 243, 228, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.48);
}

.txuan-image-card .txuan-spotlight-reveal {
  z-index: 1;
}

.txuan-image-card.is-wide figcaption {
  z-index: 4;
}

@keyframes txuan-gallery-marquee {
  to {
    transform: translate3d(calc(-50% - (var(--txuan-gallery-gap) / 2)), 0, 0);
  }
}

@media (max-width: 860px) {
  .txuan-showcase-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 34rem;
  }

  .txuan-gallery-track {
    --txuan-gallery-gap: 0.7rem;
    padding-inline: 1.5rem;
  }

  .txuan-gallery-track .txuan-image-card {
    flex-basis: min(78vw, 20rem);
    width: min(78vw, 20rem);
    min-height: 17rem;
  }

  .txuan-image-card.is-wide {
    min-height: 19rem;
  }

  .txuan-menu-visual {
    height: 17rem;
    margin-bottom: 1rem;
  }

  .txuan-menu-gallery {
    margin-bottom: 1.1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .txuan-menu-gallery::-webkit-scrollbar {
    display: none;
  }

  .txuan-menu-gallery-track {
    --txuan-gallery-gap: 0.7rem;
    padding: 0 1.5rem 0.45rem;
    animation: txuan-gallery-marquee 72s linear infinite;
  }

  .txuan-menu-gallery-card {
    flex: 0 0 min(72vw, 18rem);
    width: min(72vw, 18rem);
    height: 13rem;
    min-height: 13rem;
    scroll-snap-align: center;
  }

  .txuan-menu-videos {
    margin-bottom: 1.15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .txuan-menu-videos::-webkit-scrollbar {
    display: none;
  }

  .txuan-menu-video-track {
    --txuan-gallery-gap: 0.7rem;
    padding: 0 1.5rem 0.45rem;
    animation: txuan-gallery-marquee 84s linear infinite reverse;
  }

  .txuan-menu-video-card {
    flex: 0 0 min(76vw, 21rem);
    width: min(76vw, 21rem);
    height: 27rem;
    min-height: 27rem;
    scroll-snap-align: center;
  }
}

/* ===========================================================
   « Le monde T'Xuan » — turn the three chapters into lacquer cards
   =========================================================== */
.world-section .world-chapters {
  display: grid;
  gap: 0;
  padding: 0.4rem 1.7rem;
  border: 1px solid rgba(199, 154, 82, 0.34);
  /* one rosewood panel — wood kept, no per-item boxes */
  background:
    repeating-linear-gradient(94deg, rgba(0, 0, 0, 0.12) 0 1px, rgba(255, 240, 220, 0.012) 1px 3px, transparent 3px 9px),
    repeating-linear-gradient(94deg, rgba(0, 0, 0, 0.05) 0 11px, rgba(0, 0, 0, 0.1) 11px 13px),
    linear-gradient(150deg, #4d2f1f 0%, #3a2016 55%, #2c1711 100%);
  box-shadow:
    inset 0 0 0 1px rgba(199, 154, 82, 0.14),
    inset 0 1px 0 rgba(255, 220, 180, 0.05),
    0 0.8rem 1.8rem rgba(0, 0, 0, 0.3);
}

.world-section .world-chapters article {
  position: relative;
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.2rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(199, 154, 82, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: none;
}

.world-section .world-chapters article::after {
  content: none !important;
}

.world-section .world-chapters article:last-child {
  border-bottom: 0 !important;
}

.world-section .world-chapters article > span {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  color: var(--txuan-gold) !important;
  font-size: 1.5rem;
  line-height: 1;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.world-section .world-chapters article h3 {
  margin: 0 0 0.2rem !important;
  color: var(--txuan-ivory) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.01em;
}

.world-section .world-chapters article p {
  margin: 0 !important;
  color: rgba(251, 243, 228, 0.6) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

/* ===========================================================
   Full house menu — the complete card lives on the page now,
   grouped under the six tabs (one group shown at a time).
   =========================================================== */
.menu-board-head a {
  display: none !important;
}

.menu-board .menu-items {
  display: none !important;
}

.txuan-full-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 3.2rem;
  margin-top: 1.5rem;
}

.txuan-menu-cat[hidden] {
  display: none !important;
}

.txuan-menu-cat {
  break-inside: avoid;
}

.txuan-menu-cat-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(199, 154, 82, 0.42);
}

.txuan-menu-hanzi {
  flex: none;
  color: var(--txuan-gold);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.txuan-menu-cat-head h3 {
  margin: 0;
  color: var(--txuan-red-deep);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.txuan-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.txuan-menu-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.3rem 0;
}

.txuan-menu-name {
  color: rgba(23, 12, 9, 0.86);
  font-size: 0.9rem;
  line-height: 1.35;
}

.txuan-menu-dots {
  flex: 1 1 auto;
  min-width: 1.2rem;
  border-bottom: 1px dotted rgba(74, 9, 15, 0.3);
  transform: translateY(-0.16rem);
}

.txuan-menu-price {
  flex: none;
  color: var(--txuan-red);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .txuan-full-menu {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* ===========================================================
   Language toggle — centre the flag + code so it reads balanced
   like the adjacent "Commander" button (was left-hugged)
   =========================================================== */
.txuan-language-field {
  justify-content: center;
}

.txuan-language-field select {
  padding: 0 1.5rem !important;
  text-align: center;
  text-align-last: center;
  letter-spacing: 0.08em;
}

.txuan-language-field::after {
  right: 0.62rem;
}

/* Access buttons — confident brand colour code (gold frame, red lacquer hover) */
.service-line {
  border-color: var(--txuan-gold) !important;
  background:
    linear-gradient(0deg, rgba(157, 23, 36, 0.05), rgba(157, 23, 36, 0.05)),
    rgba(251, 243, 228, 0.96) !important;
}

.service-line a {
  color: var(--txuan-red-deep) !important;
  font-weight: 800;
}

.service-line:hover,
.service-line:focus-within {
  border-color: var(--txuan-red) !important;
  box-shadow: 0 0.7rem 1.6rem rgba(74, 9, 15, 0.16) !important;
}

.service-line a:hover,
.service-line a:focus-visible {
  color: var(--txuan-ivory) !important;
  background: var(--txuan-red) !important;
}

/* Itinéraire / Appeler — same brand pairing (gold fill + red-outline) */
.visit-actions .button.primary {
  color: var(--txuan-ivory) !important;
  background: var(--button-gold) !important;
  border: 1px solid var(--button-gold) !important;
}

.visit-actions .button.primary:hover,
.visit-actions .button.primary:focus-visible {
  background: var(--button-gold-deep) !important;
  border-color: var(--button-gold-deep) !important;
}

.visit-actions .button.secondary {
  color: var(--txuan-red-deep) !important;
  background: transparent !important;
  border: 1px solid var(--txuan-gold) !important;
}

.visit-actions .button.secondary:hover,
.visit-actions .button.secondary:focus-visible {
  color: var(--txuan-ivory) !important;
  background: var(--txuan-red) !important;
  border-color: var(--txuan-red) !important;
}

/* Footer — stack into a single centered column on phones */
@media (max-width: 720px) {
  .footer.txuan-footer-polished {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 1.5rem !important;
    padding: 2.4rem 1.5rem !important;
    text-align: center;
  }

  .footer.txuan-footer-polished > div:first-child {
    align-items: center;
  }

  .footer.txuan-footer-polished .footer-links:not(.legal),
  .footer.txuan-footer-polished .footer-links.legal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }
}

/* ===========================================================
   Access buttons — identical look to the hero « Explorer la carte »
   (gold outline, gold text, subtle fill, corner ticks, gold-deep hover).
   Placed last so it overrides the earlier access-button rules.
   =========================================================== */
.service-ledger {
  gap: 0.9rem !important;
}

.service-line {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.service-line a {
  position: relative;
  min-height: 3.9rem !important;
  color: var(--button-gold) !important;
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--button-gold) !important;
  box-shadow: none !important;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: normal;
  text-transform: uppercase;
}

.service-line a:hover,
.service-line a:focus-visible {
  color: #fffdf6 !important;
  background: var(--button-gold-deep) !important;
  border-color: var(--button-gold-deep) !important;
}

/* corner ticks (top-left + bottom-right) like the hero buttons */
.service-line a::before,
.service-line a::after {
  content: "" !important;
  position: absolute;
  inset: auto;
  width: 0.62rem;
  height: 0.62rem;
  background: none !important;
  border-color: currentColor;
  opacity: 0.85;
  transform: none !important;
}

.service-line a::before {
  top: 0.42rem;
  left: 0.42rem;
  border-top: 1px solid;
  border-left: 1px solid;
}

.service-line a::after {
  right: 0.42rem;
  bottom: 0.42rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.service-line a:hover::before,
.service-line a:hover::after {
  opacity: 0.9;
  transform: none !important;
}

/* Mobile polish — compact action buttons so the useful links do not eat the page */
@media (max-width: 640px) {
  .hero-actions,
  .button-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.62rem !important;
    margin-top: 1.05rem !important;
  }

  .hero-actions .button,
  .button-row .corner-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 2.75rem !important;
    height: 2.75rem !important;
    padding-inline: 0.65rem !important;
    font-size: 0.68rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0.04em !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-actions .button::before,
  .button-row .corner-button::before {
    inset: 0.34rem !important;
  }

  .service-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.48rem !important;
  }

  .service-line {
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    min-height: 2.65rem !important;
  }

  .service-line a {
    width: 100% !important;
    min-height: 2.65rem !important;
    height: 2.65rem !important;
    padding-inline: 0.45rem !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .service-line a::before,
  .service-line a::after {
    width: 0.42rem;
    height: 0.42rem;
  }

  .service-line a::before {
    top: 0.28rem;
    left: 0.28rem;
  }

  .service-line a::after {
    right: 0.28rem;
    bottom: 0.28rem;
  }

  .menu-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  .menu-tabs button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 2.85rem !important;
    flex: 1 1 auto !important;
    gap: 0.42rem !important;
    padding: 0.34rem 0.48rem !important;
    border: 1px solid rgba(199, 154, 82, 0.34) !important;
    background: rgba(251, 243, 228, 0.62) !important;
  }

  .menu-tabs button span {
    font-size: 1.05rem !important;
  }

  .menu-tabs button strong {
    min-width: 0;
    font-size: 0.62rem !important;
    line-height: 1.08 !important;
    letter-spacing: 0.02em !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* Footer — lighter finish so the last section stays in the same red / ivory DA */
.footer.txuan-footer-polished {
  background:
    linear-gradient(90deg, rgba(157, 23, 36, 0.05) 1px, transparent 1px) 0 0 / 2.6rem 2.6rem,
    linear-gradient(0deg, rgba(157, 23, 36, 0.04) 1px, transparent 1px) 0 0 / 2.6rem 2.6rem,
    linear-gradient(180deg, rgba(251, 243, 228, 1), rgba(248, 235, 212, 0.98)) !important;
  color: rgba(23, 12, 9, 0.76) !important;
  border-top: 1px solid rgba(199, 154, 82, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.footer.txuan-footer-polished img {
  background: rgba(251, 243, 228, 0.7) !important;
  border-color: rgba(199, 154, 82, 0.5) !important;
  box-shadow: 0 0.9rem 2.2rem rgba(74, 9, 15, 0.1) !important;
}

.footer.txuan-footer-polished p,
.footer.txuan-footer-polished a,
.footer.txuan-footer-polished span {
  color: rgba(23, 12, 9, 0.76) !important;
}

.footer.txuan-footer-polished p {
  color: rgba(157, 23, 36, 0.78) !important;
}

.txuan-footer-icon {
  color: var(--txuan-red-deep) !important;
  border-color: rgba(199, 154, 82, 0.48);
  background: rgba(157, 23, 36, 0.045);
}

.footer-links a:hover .txuan-footer-icon,
.footer-links a:focus-visible .txuan-footer-icon {
  color: var(--txuan-ivory) !important;
  background: var(--txuan-red);
  border-color: var(--txuan-red);
}

.footer.txuan-footer-polished {
  --txuan-footer-meuble-size: min(80vw, 44rem);
  position: relative;
  overflow: hidden;
  align-items: flex-start !important;
  min-height: calc(var(--txuan-footer-meuble-size) * 0.42 + 5rem);
  padding-bottom: calc(var(--txuan-footer-meuble-size) * 0.42 + 1rem) !important;
}

.footer.txuan-footer-polished > *:not(.txuan-footer-meuble) {
  position: relative;
  z-index: 1;
}

.txuan-footer-meuble {
  --footer-meuble-x: 50%;
  --footer-meuble-y: 50%;
  position: absolute;
  right: auto;
  bottom: -68%;
  top: auto;
  left: 50%;
  z-index: 0;
  width: var(--txuan-footer-meuble-size);
  aspect-ratio: 1 / 1;
  margin-inline: 0;
  overflow: visible;
  pointer-events: auto;
  opacity: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 1.4rem 3rem rgba(74, 9, 15, 0.16));
  clip-path: none;
  transform: translateX(-50%);
}

.txuan-footer-meuble img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none;
  transform: none;
  transition:
    opacity 0.28s ease,
    filter 0.28s ease;
}

.footer.txuan-footer-polished .txuan-footer-meuble img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.txuan-footer-meuble-reveal {
  opacity: 0;
  filter: saturate(1.08) contrast(1.04);
  -webkit-mask-image: radial-gradient(
    circle 12rem at var(--footer-meuble-x, 50%) var(--footer-meuble-y, 50%),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 30%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.12) 82%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 12rem at var(--footer-meuble-x, 50%) var(--footer-meuble-y, 50%),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 30%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.12) 82%,
    transparent 100%
  );
  transition:
    opacity 0.32s ease,
    filter 0.28s ease;
}

.txuan-footer-meuble:hover .txuan-footer-meuble-base {
  filter: saturate(0.96) contrast(1.02) brightness(0.92);
}

.txuan-footer-meuble:hover .txuan-footer-meuble-reveal {
  opacity: 1;
}

.txuan-footer-suzzy {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  justify-self: end;
  padding-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.txuan-footer-suzzy a {
  color: rgba(23, 12, 9, 0.5) !important;
  text-decoration: none;
  transition: color 0.22s ease;
}

.txuan-footer-suzzy a:hover {
  color: var(--txuan-red) !important;
}

@media (max-width: 760px) {
  .footer.txuan-footer-polished {
    --txuan-footer-meuble-size: min(96vw, 32rem);
    min-height: calc(var(--txuan-footer-meuble-size) * 0.36 + 5rem);
    padding-bottom: calc(var(--txuan-footer-meuble-size) * 0.36 + 1rem) !important;
  }

  .txuan-footer-meuble {
    bottom: -54%;
    top: auto;
    opacity: 0.92;
  }

  .txuan-footer-suzzy {
    justify-self: center;
    text-align: center;
  }
}
