:root {
  --paper: #f4f1ea;
  --surface: #ffffff;
  --ink: #17201f;
  --muted: #66706d;
  --line: #d9d5ca;
  --dark: #111817;
  --dark-soft: #1b2523;
  --teal: #0f8f83;
  --teal-soft: #d8efeb;
  --amber: #c99a45;
  --shadow: 0 22px 70px rgba(16, 24, 22, 0.14);
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ja);
  line-height: 1.78;
  letter-spacing: 0;
  font-feature-settings: "palt";
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 4vw, 60px);
  color: #f7f2e9;
  background: rgba(17, 24, 23, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--dark);
  background: var(--teal-soft);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand small {
  color: rgba(247, 242, 233, 0.66);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  padding: 8px 11px;
  border-radius: 8px;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-button {
  display: none;
  color: #f7f2e9;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 13px;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(850px, calc(100vh - 73px));
  align-items: end;
  overflow: hidden;
  padding: clamp(86px, 10vw, 132px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 72px);
  color: #fffaf0;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 24, 23, 0.92) 0%, rgba(17, 24, 23, 0.78) 42%, rgba(17, 24, 23, 0.22) 100%),
    linear-gradient(180deg, rgba(17, 24, 23, 0.08), rgba(17, 24, 23, 0.66));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0.01em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.hero-kana {
  margin-bottom: 22px;
  color: rgba(255, 250, 240, 0.7);
  font-family: var(--font-en);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lead {
  max-width: 670px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
}

.quote {
  display: grid;
  gap: 4px;
  max-width: 520px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--amber);
}

.quote span {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.quote small {
  color: rgba(255, 250, 240, 0.68);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  color: #ffffff;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 143, 131, 0.28);
  font: inherit;
  font-family: var(--font-ja);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: clamp(46px, 7vw, 88px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.hero-facts div {
  padding: 20px;
  background: rgba(17, 24, 23, 0.56);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.hero-facts span {
  color: rgba(255, 250, 240, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.section.is-visible,
.card.is-visible,
.profile-card.is-visible,
.statement-card.is-visible,
.work-card.is-visible,
.paper-list article.is-visible,
.timeline-item.is-visible,
.societies.is-visible,
.source-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.card span,
.profile-card dd,
.paper-list p,
.timeline-item p,
.societies p,
.source-card p,
.work-card p {
  color: var(--muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 22px;
}

.profile-card,
.statement-card,
.card,
.work-card,
.paper-list,
.timeline-item,
.societies,
.source-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.profile-card,
.statement-card,
.card,
.work-card,
.societies,
.source-card {
  padding: clamp(24px, 3vw, 36px);
}

.profile-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px 18px;
  margin: 0;
}

.profile-card dt {
  color: var(--ink);
  font-weight: 900;
}

.profile-card dd {
  margin: 0;
}

.statement-card {
  display: grid;
  align-content: center;
  color: #fffaf0;
  background: var(--dark);
  border-color: var(--dark);
}

.statement-card span,
.work-card span {
  color: var(--amber);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement-card strong {
  margin-top: 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.24;
}

.statement-card p {
  margin: 6px 0 0;
  color: rgba(255, 250, 240, 0.68);
  font-weight: 800;
}

.dark-band {
  color: #fffaf0;
  background: var(--dark);
}

.dark-band .section-head p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.68);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tag-cloud span {
  padding: 9px 13px;
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dark-band .card {
  color: #fffaf0;
  background: var(--dark-soft);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.card p {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 22px;
  align-items: start;
}

.book-list {
  display: grid;
  gap: 18px;
}

.work-card .meta {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.paper-list {
  display: grid;
  overflow: hidden;
}

.paper-list article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.paper-list article:last-child {
  border-bottom: 0;
}

.paper-list time {
  color: var(--teal);
  font-family: var(--font-en);
  font-weight: 900;
}

.paper-list p {
  margin: 0;
  font-weight: 700;
}

.soft-band {
  background: #e6e4dc;
}

.timeline {
  display: grid;
  max-width: 960px;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 22px 24px;
}

.timeline-item strong {
  color: var(--teal);
  font-family: var(--font-en);
  font-size: 24px;
  line-height: 1.2;
}

.timeline-item p {
  margin: 0;
  font-weight: 700;
}

.societies {
  max-width: 960px;
  margin-top: 22px;
}

.source-card {
  max-width: 900px;
}

.source-card .button {
  margin-top: 12px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255, 250, 240, 0.7);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer strong {
  color: #fffaf0;
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
  }

  .profile-grid,
  .card-grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero {
    min-height: 780px;
    padding: 90px 16px 36px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(17, 24, 23, 0.36), rgba(17, 24, 23, 0.84) 36%, rgba(17, 24, 23, 0.94)),
      linear-gradient(90deg, rgba(17, 24, 23, 0.8), rgba(17, 24, 23, 0.18));
  }

  .hero-media img {
    object-position: center top;
  }

  .actions,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .profile-card dl,
  .paper-list article,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
