:root {
  --cream: #f6efe8;
  --cream-deep: #efe4d8;
  --paper: #fbf7f2;
  --blush: #e8c4bc;
  --peach: #f0d0c4;
  --rose: #c9897e;
  --gold: #c4a574;
  --gold-deep: #9d7d52;
  --ink: #2a1f1c;
  --ink-soft: #4a3834;
  --muted: #7a6460;
  --line: rgba(42, 31, 28, 0.12);
  --line-gold: rgba(196, 165, 116, 0.45);
  --shadow: 0 24px 60px rgba(42, 31, 28, 0.08);
  --header-h: 76px;
  --serif: "Cormorant Garamond", "Noto Serif TC", "Songti TC", serif;
  --serif-cjk: "Noto Serif TC", "Songti TC", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Noto Sans TC", "PingFang TC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  min-height: 100%;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--cream);
}

.skip-link:focus {
  top: 12px;
}

/* grain */
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-gold);
}

.section-head h2 {
  font-family: var(--serif-cjk);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.is-scrolled {
  background: rgba(246, 239, 232, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 28px;
  height: 28px;
  color: var(--gold-deep);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.28em;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  display: flex;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.lang button {
  padding: 4px 6px;
  color: var(--muted);
}

.lang button.is-active {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

.official-chip {
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: absolute;
  left: 11px;
}

.menu-btn span {
  top: 19px;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

/* hero */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 28px) 0 64px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 239, 232, 0.92) 0%, rgba(246, 239, 232, 0.55) 48%, rgba(246, 239, 232, 0.2) 100%),
    url("../assets/hero-peach-silk.png") center / cover no-repeat;
}

.hero-grid {
  width: min(1280px, calc(100% - 40px));
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .kicker {
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--gold-deep);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.86;
  letter-spacing: 0.08em;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-size: 0.72em;
  letter-spacing: 0.18em;
}

.hero-jp {
  display: block;
  margin-top: 22px;
  font-family: var(--serif-cjk);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.42em;
  font-weight: 400;
  line-height: 1.3;
}

.hero-roles {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.hero-lead {
  margin-top: 28px;
  max-width: 38ch;
  font-size: 15px;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: 0.22em;
  border: 1px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  border-color: var(--line-gold);
  color: var(--gold-deep);
}

.hero-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}

.hero-portrait figure {
  margin: 0;
  position: relative;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-portrait figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.frame-line {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(196, 165, 116, 0.55);
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 8px auto 0;
  background: var(--gold);
  animation: drip 1.8s ease-in-out infinite;
}

@keyframes drip {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* sections */
.section {
  padding: 108px 0;
}

.section-alt {
  background: var(--paper);
}

.news-list {
  display: grid;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.news-item h3 {
  font-family: var(--serif-cjk);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.news-item p {
  grid-column: 2;
  color: var(--muted);
  font-size: 14px;
}

.news-item .tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--rose);
}

.news-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

.news-note a {
  border-bottom: 1px solid var(--gold);
}

/* profile */
.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.profile-visual {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.profile-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.profile-visual p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.profile-lead {
  font-family: var(--serif-cjk);
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.profile-body {
  color: var(--ink-soft);
  font-size: 15px;
}

.profile-body p + p {
  margin-top: 16px;
}

.facts {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.facts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.facts dt,
.facts .k {
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 12px;
}

/* timeline */
.timeline {
  position: relative;
  margin-left: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-gold);
}

.tl-item {
  position: relative;
  padding: 0 0 40px 42px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
}

.tl-year {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.tl-item h3 {
  font-family: var(--serif-cjk);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 4px 0 8px;
}

.tl-item p {
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 15px;
}

/* produce */
.produce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.card-body p {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}

.card-body .link {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}

/* sns */
.sns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sns-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}

.sns-card strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.sns-card span {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.sns-card:hover,
.sns-card:focus-visible {
  border-color: var(--gold);
}

.logo:hover strong,
.logo:focus-visible strong {
  color: var(--gold-deep);
}

.fan-badge:hover,
.fan-badge:focus-within {
  background: var(--paper);
}

.official-panel {
  margin-top: 48px;
  padding: 36px;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}

.official-panel h3 {
  font-family: var(--serif-cjk);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.official-panel p {
  margin-top: 10px;
  color: rgba(246, 239, 232, 0.72);
  font-size: 14px;
}

.official-panel .btn {
  border-color: var(--cream);
  color: var(--cream);
}

.official-panel .btn:hover {
  background: var(--cream);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--serif-cjk);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 72ch;
}

/* footer */
.footer {
  padding: 56px 0 120px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.footer strong {
  font-family: var(--serif);
  letter-spacing: 0.28em;
  font-size: 14px;
}

.footer p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  max-width: 62ch;
}

.footer a {
  border-bottom: 1px solid var(--line-gold);
}

/* fan badge */
.fan-badge {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px 11px;
  background: rgba(246, 239, 232, 0.96);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.fan-badge b {
  font-family: var(--serif-cjk);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.32em;
}

.fan-badge span {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

/* mobile nav */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(42, 31, 28, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--cream);
  padding: 88px 32px 110px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(20px);
  transition: transform 0.3s ease;
}

.drawer .lang {
  display: flex;
  margin-top: auto;
}

.drawer.is-open .drawer-panel {
  transform: none;
}

.drawer a {
  font-family: var(--serif-cjk);
  font-size: 24px;
  letter-spacing: 0.18em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }
.reveal-d4 { animation-delay: 0.32s; }

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav,
  .official-chip,
  .header-tools .lang {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .profile-grid,
  .footer-grid,
  .official-panel,
  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item p {
    grid-column: 1;
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 380px);
  }

  .produce-grid,
  .sns-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-visual {
    position: static;
  }

  .fan-badge {
    left: 10px;
    bottom: 10px;
    padding: 12px 8px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1180px, calc(100% - 32px));
  }

  .produce-grid,
  .sns-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 88px;
  }

  .section {
    padding: 76px 0;
  }

  .hero h1 {
    letter-spacing: 0.04em;
  }

  .hero-jp {
    letter-spacing: 0.28em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .scroll-hint::after {
    animation: none;
  }
}
