/* ============================================================
   Ashian — Ginza massage & relaxation
   Palette: charcoal / slate teal / soft stone / champagne gold
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #2a2623;
  --ink-soft: #6e6660;
  --brand: #5a6d7a;
  --brand-deep: #3f4f5a;
  --rose: #6d7e8a;
  --gold: #b89a6a;
  --gold-pale: #e4d6c2;
  --stone: #f0efec;
  --stone-deep: #e3e0da;
  --charcoal: #1f1c1a;
  --white: #ffffff;
  --whatsapp: #1e8e4f;
  --font-display: "Playfair Display", "Noto Serif JP", "Noto Serif SC", serif;
  --font-body: "Noto Sans JP", "Noto Sans SC", sans-serif;
  --header-h: 76px;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius: 6px;
  --transition: 0.35s ease;
}

:lang(zh-CN) {
  /* 对齐 歌舞伎町店 / 愈YOU */
  --font-display: "Playfair Display", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

:lang(ja) {
  --font-display: "Playfair Display", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

/* 歌舞伎町店：中日正文用 400，不用过细的 300（菜单数字更稳） */
html[lang="ja"] body,
html[lang="zh-CN"] body {
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.section { padding: var(--space-2xl) 0; }
.section-alt { background: var(--white); }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.02em;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-wrap: balance;
}

.section-head { margin-bottom: var(--space-xl); }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.3rem 0;
}
.center .gold-rule { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

.btn-gold {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-gold:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover { background: #35312e; }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--gold);
}
.btn-outline:hover { background: rgba(166,123,109,0.08); }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(243,239,233,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(42,38,35,0.06);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--white);
  text-transform: uppercase;
  transition: color var(--transition);
}
.header.scrolled .logo { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.active span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-pale); }
.header.scrolled .nav-links a { color: var(--ink-soft); }
.header.scrolled .nav-links a:hover { color: var(--brand); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-switch a {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem 0.4rem;
}
.lang-switch a.active,
.lang-switch a:hover { color: var(--gold-pale); }
.header.scrolled .lang-switch a { color: var(--ink-soft); }
.header.scrolled .lang-switch a.active,
.header.scrolled .lang-switch a:hover { color: var(--brand); }

/* Hero — single static image */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide.placeholder,
.media-placeholder {
  background:
    linear-gradient(145deg, rgba(31,28,26,0.92) 0%, rgba(63,79,90,0.45) 50%, rgba(31,28,26,0.88) 100%);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,28,26,0.35) 0%, rgba(31,28,26,0.55) 45%, rgba(31,28,26,0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 5.5rem;
  max-width: 720px;
  animation: fadeUp 1s ease-out;
}
.hero-eyebrow {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-wrap: balance;
  margin-bottom: 0.35rem;
}
.hero-name-cn {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold-pale);
  margin: 0 0 1rem;
  margin-right: -0.32em;
}
.hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 1.8rem;
  /* 不均分换行：自然填满行；防断词即可 */
  text-wrap: wrap;
  overflow-wrap: normal;
  word-break: normal;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-scroll {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero-scroll .line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.7); opacity: 1; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.about-media img {
  width: 100%;
  height: auto;
  display: block;
}
.about-text p + p { margin-top: 1rem; color: var(--ink-soft); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feature {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.25rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
}
.feature-icon {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.feature-icon svg,
.feature > svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--rose);
  fill: none;
  stroke-width: 1.4;
  margin: 0;
}
.feature > svg {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.65rem;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  box-sizing: border-box;
}
.feature-copy {
  min-width: 0;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  text-wrap: balance;
}
.feature p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Menu */
.menu-group { margin-bottom: 2.8rem; }
.menu-group:last-child { margin-bottom: 0; }

.opt-group {
  border: 1px solid var(--gold-pale);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.opt-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: var(--stone);
  border-bottom: 1px solid var(--gold-pale);
}
.opt-group-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 240px;
  overflow: hidden;
  background: rgba(42, 38, 35, 0.06);
  border-bottom: 1px solid var(--gold-pale);
}
.opt-group-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ogh-name {
  /* 歌舞伎町店 .ogh-name */
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-wrap: balance;
}
.opt-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0;
  text-wrap: balance;
  line-height: 1.5;
}
.opt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem auto;
  align-items: center;
  column-gap: 0.85rem;
  padding: 1rem 1.3rem;
  border-top: 1px solid rgba(228,214,194,0.55);
  transition: background 0.25s;
}
.options-group .opt-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.options-group {
  margin-top: 2rem;
  margin-bottom: 0;
}
.options-group .opt-name {
  font-size: 0.88rem;
}
.options-group .opt-price {
  font-size: 0.92rem;
}
.sheet-note {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(166, 123, 109, 0.28);
  font-size: 0.85rem;
  opacity: 0.85;
  text-align: left;
  line-height: 1.55;
  list-style: disc;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}
.sheet-note li {
  margin: 0.15rem 0;
}
.opt-row:first-child { border-top: none; }
.opt-row:hover { background: rgba(166,123,109,0.04); }
.opt-choice {
  cursor: pointer;
  grid-template-columns: 1.35rem minmax(0, 1fr) max-content;
  grid-template-areas:
    "radio name price";
  margin: 0;
  align-items: center;
  column-gap: 0.65rem;
  row-gap: 0.18rem;
}
.opt-choice.has-desc {
  grid-template-areas:
    "radio name price"
    ". desc desc";
  align-items: start;
}
.opt-choice .opt-radio {
  grid-area: radio;
  margin-top: 0.28rem;
}
.opt-choice .opt-name {
  grid-area: name;
  min-width: 0;
  align-self: start;
  line-height: 1.3;
  padding-top: 0.08rem;
}
.opt-choice .opt-price {
  grid-area: price;
  margin-top: -0.12rem;
  min-width: 4.5rem;
  align-self: start;
  line-height: 1.4;
  font-size: 1rem;
}
.opt-choice .opt-desc {
  grid-area: desc;
}
.opt-tag {
  white-space: nowrap;
}
.opt-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt-radio {
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.opt-radio::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.opt-choice:hover .opt-radio,
.opt-choice:has(input:focus-visible) .opt-radio {
  border-color: var(--brand);
}
.opt-choice:has(input:checked) {
  background: rgba(166,123,109,0.06);
}
.opt-choice:has(input:checked) .opt-radio {
  border-color: var(--brand);
}
.opt-choice:has(input:checked) .opt-radio::after {
  transform: scale(1);
}
.opt-duration {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  overflow: hidden;
}
.opt-name {
  /* 歌舞伎町店 .opt-row .opt-name — 500 / 1rem，不是加粗 600，也不是过细 300 */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.35;
  text-wrap: balance;
}
.opt-choice.has-soft-name .opt-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--ink) 42%, var(--ink-soft));
  line-height: 1.28;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: unset;
}
.opt-desc {
  display: block;
  max-width: 100%;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
  letter-spacing: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
  text-wrap: pretty;
}
.u-nowrap {
  white-space: nowrap;
}
.opt-price,
.opt-price-solo,
.opt-price-now,
.opt-price-was {
  /* 歌舞伎町店 .opt-row .opt-price / .price：无衬线数字，不用 Playfair */
  font-family: "Inter", "Noto Sans JP", "Noto Sans SC", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
}
.opt-price {
  font-size: 1.05rem;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
  justify-self: end;
  align-self: start;
  flex-shrink: 0;
  line-height: 1.4;
}
.opt-price-was {
  text-decoration: line-through;
  opacity: 0.55;
  margin-right: 0.35em;
  font-weight: 400;
  color: var(--ink-soft);
}
.opt-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brand);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
  transition: all 0.25s;
}
.opt-book:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.opt-book svg { width: 14px; height: 14px; fill: currentColor; }
.opt-group-foot {
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 1.3rem 1.1rem;
  border-top: 1px solid rgba(228,214,194,0.55);
  background: rgba(243,239,233,0.45);
}
.opt-group-foot .opt-book {
  padding: 0.65rem 1.25rem;
}

.menu-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin: 1.6rem 0 2rem;
  max-width: 560px;
}
.menu-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  overflow: hidden;
}
.menu-card-badge,
.ogh-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--brand);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  vertical-align: middle;
}
.menu-card-badge { align-self: flex-start; }
.ogh-badge {
  margin-left: 0.35rem;
  font-family: var(--font-body);
}
.menu-card-media {
  min-height: 160px;
  overflow: hidden;
}
.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-card-body {
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.menu-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  text-wrap: balance;
}
.menu-meta {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.menu-meta .duration {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.menu-meta .amount {
  font-family: "Inter", "Noto Sans JP", "Noto Sans SC", sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.menu-card-body .btn-book {
  margin-top: auto;
  align-self: flex-start;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
  padding: 0.55rem 1rem;
  transition: background 0.25s;
}
.btn-book:hover { background: var(--brand-deep); }
.btn-book svg { width: 14px; height: 14px; fill: currentColor; }

/* Gallery */
.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-track {
  display: flex;
  transition: transform 0.45s ease;
}
.gallery-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/10;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.gallery-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s;
}
.gallery-btn:hover {
  background: var(--brand);
  color: var(--white);
}
.gallery-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gold-pale);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.gallery-dot.active {
  background: var(--brand);
  transform: scale(1.15);
}

.gallery-grid-desktop {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid-desktop .gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-grid-desktop .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid-desktop .gallery-item:hover img { transform: scale(1.04); }

@media (min-width: 901px) {
  .gallery-mobile { display: none; }
  .gallery-grid-desktop { display: grid; }
}

/* Access / Visit */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.access-item { margin-bottom: 1.35rem; }
.access-item h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.access-item p,
.access-item a {
  color: var(--ink);
  font-size: 0.95rem;
}
.access-item a:hover { color: var(--brand); }
.access-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.access-map-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.access-storefront {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-pale);
  background: var(--white);
}
.access-storefront img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.access-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--gold-pale);
}
.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  pointer-events: none;
}
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.72);
  padding: 2.8rem 0 3.4rem;
  font-size: 0.82rem;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}
.footer a {
  color: var(--gold-pale);
  border-bottom: 1px solid transparent;
}
.footer a:hover { border-bottom-color: var(--gold-pale); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
  font-size: 1.1rem;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-2px); }

/* Landing */
.landing {
  /* System fonts: avoid Google Fonts blocking first paint (Maps / SFSafariViewController) */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "PingFang SC", "Segoe UI", sans-serif;
  font-family: var(--font-body);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem 2rem;
  color: var(--white);
  overflow: hidden;
}
.landing-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1816;
  overflow: hidden;
}
.landing-bg::before {
  content: "";
  position: absolute;
  inset: -16px;
  background-image: url("assets/images/6.webp");
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(5px) brightness(0.72);
  transform: scale(1.04);
}
.landing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(24,22,20,0.42), rgba(24,22,20,0.30));
  pointer-events: none;
}
.landing-inner {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  min-height: calc(100vh - 5rem);
  min-height: calc(100dvh - 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.9s ease-out;
}
.landing-brand {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.brand-en {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  /* cancel trailing letter-spacing so glyphs sit on true center */
  margin-right: -0.18em;
  padding-left: 0;
}
.brand-ja {
  display: block;
  margin: 0.45rem 0 0;
  margin-right: -0.28em;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold-pale);
  text-align: center;
  line-height: 1.2;
}
.landing-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.brand-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.landing-langs {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  width: min(420px, 100%);
}
.landing-lang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(184,154,106,0.45);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  transition: background 0.3s, border-color 0.3s;
}
.landing-lang:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.lang-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.lang-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.landing-ctas {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}
.landing-ctas .btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
.landing-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.7rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}
.landing-meta .dot { opacity: 0.4; }
.landing-meta a { color: var(--gold-pale); }
.landing-meta .stars { color: var(--gold); letter-spacing: 0.05em; }
.landing-foot {
  margin-top: auto;
  padding-top: 2rem;
  padding-bottom: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.5;
}
.landing-foot p { margin: 0; }
.landing-foot a { color: var(--gold-pale); }

/* Landing — PC：加宽内容区，语言按钮三列铺开 */
@media (min-width: 769px) {
  .landing {
    padding: 3.5rem 2.5rem 2.2rem;
  }
  .landing-inner {
    width: min(920px, 92vw);
  }
  .brand-en {
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    margin-right: -0.18em;
    padding-left: 0;
  }
  .brand-ja {
    font-size: 1.2rem;
    margin-right: -0.28em;
    padding-left: 0;
  }
  .landing-rule {
    width: 64px;
    margin: 1.7rem auto;
  }
  .brand-tagline {
    font-size: 1.08rem;
    max-width: 38em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.4rem;
  }
  .landing-langs {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  .landing-lang {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 1.4rem 1.1rem;
    text-align: center;
  }
  .lang-name {
    font-size: 1.35rem;
  }
  .lang-desc {
    font-size: 0.8rem;
  }
  .landing-ctas {
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
    width: 100%;
    max-width: 26rem;
  }
  .landing-ctas .btn {
    width: 100%;
    min-width: 0;
    padding: 1.1rem 1.6rem;
    font-size: 0.86rem;
  }
  .landing-meta {
    font-size: 0.88rem;
    gap: 0.55rem 0.9rem;
  }
  .landing-foot {
    font-size: 0.78rem;
    padding-top: 2.4rem;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(243,239,233,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.4rem 1.6rem;
    gap: 1.2rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .nav-menu.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  .nav-links a,
  .header .nav-links a,
  .header.scrolled .nav-links a { color: var(--ink); }
  .lang-switch a,
  .header .lang-switch a,
  .header.scrolled .lang-switch a { color: var(--ink-soft); }
  .lang-switch a.active { color: var(--brand); }

  .about-grid,
  .access-grid,
  .features,
  .menu-card-grid {
    grid-template-columns: 1fr;
  }
  .menu-card { grid-template-columns: 110px 1fr; }
  .hero-content { padding-bottom: 4rem; }
  .hero-scroll { display: none; }
}

@media (max-width: 600px) {
  .section-title br { display: none; }
  .hero h1 br { display: none; }
  .opt-group-media {
    aspect-ratio: 2 / 1;
    max-height: 180px;
  }
  .opt-row:not(.opt-choice) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "duration duration"
      "price book";
    row-gap: 0.55rem;
    column-gap: 0.75rem;
  }
  .opt-row:not(.opt-choice) .opt-duration { grid-area: duration; }
  .opt-row:not(.opt-choice) .opt-price {
    grid-area: price;
    text-align: left;
    justify-self: start;
    justify-content: start;
    min-width: 6.5rem;
  }
  .opt-row:not(.opt-choice) .opt-book { grid-area: book; justify-self: end; }
  /* 可选加项：名与价尽量同一行 */
  .options-group .opt-row:not(.opt-choice) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: none;
    row-gap: 0.35rem;
  }
  .options-group .opt-row:not(.opt-choice) .opt-name,
  .options-group .opt-row:not(.opt-choice) .opt-price {
    grid-area: auto;
  }
  .options-group .opt-row:not(.opt-choice) .opt-price {
    text-align: right;
    justify-self: end;
    min-width: 0;
  }
  .opt-choice {
    grid-template-columns: 1.35rem minmax(0, 1fr) max-content;
    column-gap: 0.55rem;
  }
  .opt-choice.has-desc {
    grid-template-areas:
      "radio name price"
      ". desc desc";
  }
  .opt-choice .opt-radio { align-self: start; margin-top: 0.2rem; }
  .opt-choice .opt-name {
    padding-top: 0.08rem;
    line-height: 1.3;
  }
  .opt-choice .opt-price {
    text-align: right;
    justify-self: end;
    align-self: start;
    margin-top: -0.12rem;
    line-height: 1.3;
    font-size: 1rem;
  }
  .opt-group-foot {
    justify-content: stretch;
  }
  .opt-group-foot .opt-book {
    width: 100%;
    justify-content: center;
  }
  .landing-ctas { flex-direction: column; align-items: stretch; }
  .landing-ctas .btn { width: 100%; }
}

@media (max-width: 380px) {
  .opt-duration { min-width: 0; }
  .menu-card { grid-template-columns: 1fr; }
  .menu-card-media { aspect-ratio: 16/10; min-height: 0; }
}
