:root {
  color-scheme: dark;

  --bg-0: #050b12;
  --bg-1: #07111a;

  --gold: #d8b06a;
  --gold-bright: #f3d18b;
  --gold-dim: #b78f4d;
  --gold-soft: rgba(216, 176, 106, 0.5);

  --ink: #f2ede3;
  --ink-soft: #e0dacf;
  --muted: #b6afa3;
  --label: #d2ad65;

  --card-bg-a: rgba(255, 255, 255, 0.028);
  --card-bg-b: rgba(255, 255, 255, 0.008);
  --card-border: rgba(216, 176, 106, 0.16);
  --item-bg: rgba(255, 255, 255, 0.014);
  --item-border: rgba(216, 176, 106, 0.1);

  --serif-en: "Cormorant Garamond", "Hiragino Mincho ProN", serif;
  --serif-jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-0);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--serif-jp);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 12% 6%, rgba(224, 184, 104, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 94%, rgba(205, 153, 63, 0.1), transparent 26rem),
    radial-gradient(circle at 50% 120%, rgba(216, 176, 106, 0.08), transparent 32rem),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  overflow-x: hidden;
}

/* ---------- starfield ---------- */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: var(--o, 0.5);
  animation: twinkle var(--t, 6s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes twinkle {
  from { opacity: calc(var(--o, 0.5) * 0.25); }
  to   { opacity: var(--o, 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .stars i { animation: none; }
}

/* ---------- layout ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(244px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3.6vw, 64px);
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
}
.brand {
  margin: 0;
}
.brand-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 2px 16px rgba(243, 209, 139, 0.16));
}
.tagline {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-weight: 500;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  margin-inline: auto;
  max-width: 320px;
}
.divider .line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.divider .diamond {
  width: 9px;
  height: 9px;
  flex: none;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}

/* ---------- light beam + ripples ---------- */
.beam {
  position: relative;
  height: clamp(220px, 30vh, 340px);
  margin-top: clamp(24px, 4vw, 56px);
}
.beam-line {
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: 2px;
  height: clamp(150px, 24vh, 250px);
  transform: translateX(-50%);
  background: linear-gradient(to top, var(--gold-bright), rgba(243, 209, 139, 0.5) 45%, transparent);
  filter: blur(0.3px);
  box-shadow: 0 0 18px 2px rgba(243, 209, 139, 0.35);
}
.beam-core {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 16px;
  height: 16px;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--gold-bright) 35%, transparent 70%);
  box-shadow: 0 0 30px 8px rgba(243, 209, 139, 0.55);
}
.ripples {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translate(-50%, 50%);
}
.ripples span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(216, 176, 106, var(--ro, 0.3));
  border-radius: 50%;
  width: var(--rw);
  height: calc(var(--rw) * 0.17);
}

/* ---------- cards ---------- */
.cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 34px);
}
.card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 470px;
  padding: clamp(22px, 2vw, 34px) clamp(18px, 1.8vw, 28px) clamp(24px, 2.2vw, 34px);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background:
    linear-gradient(160deg, var(--card-bg-a), var(--card-bg-b));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.4);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.head-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(216, 176, 106, 0.4);
  color: var(--gold-bright);
}
.head-icon svg { width: 28px; height: 28px; }
.head-title {
  margin: 0;
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 27px);
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: var(--ink);
}
.head-title em {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 600;
  font-size: 0.64em;
  letter-spacing: 0.04em;
  color: var(--gold);
  white-space: nowrap;
}
.card-rule {
  height: 1px;
  border: 0;
  margin: clamp(18px, 2vw, 26px) 0 clamp(8px, 1.4vw, 18px);
  background: linear-gradient(90deg, var(--gold-soft), rgba(216, 176, 106, 0.06) 70%, transparent);
}

.group-label {
  margin: clamp(16px, 1.8vw, 22px) 0 12px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--label);
  font-weight: 600;
}
.group-label:first-of-type { margin-top: clamp(6px, 1vw, 10px); }

/* ---------- item rows ---------- */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--item-border);
  border-radius: 13px;
  background: var(--item-bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 120ms ease;
}
a.item { cursor: pointer; }
a.item:hover,
a.item:focus-visible {
  border-color: rgba(243, 209, 139, 0.46);
  background: rgba(243, 209, 139, 0.05);
  box-shadow: 0 0 28px rgba(243, 209, 139, 0.12), inset 0 0 0 1px rgba(243, 209, 139, 0.06);
  outline: none;
}
a.item:active { transform: scale(0.992); }
a.item:focus-visible {
  box-shadow: 0 0 0 2px rgba(243, 209, 139, 0.7);
}

.item-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(216, 176, 106, 0.32);
  color: var(--gold);
}
.item-icon svg { width: 23px; height: 23px; }

.item-body { min-width: 0; }
.item-title {
  display: block;
  font-size: clamp(15.5px, 1.05vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.35;
  text-wrap: pretty;
}
.item-en .item-title { font-family: var(--serif-en); font-weight: 600; font-size: clamp(17px, 1.2vw, 19.5px); letter-spacing: 0.01em; }
.item-sub {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-weight: 500;
}

.item-arrow {
  display: grid;
  place-items: center;
  color: var(--gold);
  opacity: 0.85;
  transition: transform 200ms ease, opacity 200ms ease;
}
.item-arrow svg { width: 22px; height: 22px; }
a.item:hover .item-arrow,
a.item:focus-visible .item-arrow {
  transform: translateX(4px);
  opacity: 1;
  color: var(--gold-bright);
}

.item-flag {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--gold-dim);
  white-space: nowrap;
}
.item.is-soon {
  cursor: default;
  opacity: 0.72;
}

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

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .page {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(8px, 3vw, 28px);
    max-width: 720px;
  }
  .hero {
    text-align: center;
  }
  .brand-logo { margin-inline: auto; width: min(100%, 320px); }
  .divider { margin-inline: auto; }
  .beam { margin-top: 10px; height: clamp(150px, 22vh, 220px); }
  .beam-line, .beam-core, .ripples { left: 50%; }
  .cards { flex-direction: column; align-items: stretch; }
  .card { max-width: none; }
}

@media (max-width: 460px) {
  .item {
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    padding: 13px 14px;
  }
  .item-icon { width: 40px; height: 40px; }
  .item-icon svg { width: 21px; height: 21px; }
}
