:root {
  --color-navy-950: #050b14;
  --color-navy-900: #07111f;
  --color-navy-800: #0b1a31;
  --color-blue-700: #123c83;
  --color-blue-600: #1d55b8;
  --color-blue-400: #4b7fe8;
  --color-paper: #f5efe4;
  --color-paper-light: #fbf7ef;
  --color-line-beige: #cdbfa9;
  --color-text-main: #1c2230;
  --color-text-muted: #62606a;
  --color-text-white: #f7f8ff;
  --color-text-blue: #1b3f83;
  --color-ornament: #b9a98f;
  --color-ornament-blue: #315da8;
  --memory-break-image: url("./assets/song001_dark_stage_cut04_eye_extreme_closeup_1672_v01.png");
  --memory-break-position: center 48%;
  --font-jp: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --font-en: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text-main);
  background:
    radial-gradient(circle at 50% -8%, rgba(24, 65, 125, 0.36), transparent 34rem),
    linear-gradient(180deg, #020712 0%, #050b14 44%, #07111f 100%);
  font-family: var(--font-jp);
  letter-spacing: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--color-text-main);
  background: var(--color-paper-light);
  border: 1px solid var(--color-line-beige);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1120px, calc(100% - 52px));
  margin: 36px auto 42px;
  overflow: hidden;
  background: var(--color-paper-light);
  border: 1px solid rgba(247, 248, 255, 0.78);
  border-radius: 2px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.52);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--color-text-white);
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.91) 0%, rgba(5, 11, 20, 0.78) 32%, rgba(5, 11, 20, 0.34) 63%, rgba(5, 11, 20, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 11, 20, 0.34), rgba(5, 11, 20, 0.08) 42%, rgba(5, 11, 20, 0.52)),
    url("./assets/song001_bright_stage_sing_cut03_side_reaching_profile_cool_1672_v01.png") center / cover no-repeat,
    var(--color-navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("./assets/hero-ornament-bg-v01.png") center / cover no-repeat;
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 19% 52%, rgba(75, 127, 232, 0.24), transparent 22rem),
    radial-gradient(circle at 82% 22%, rgba(247, 248, 255, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(5, 11, 20, 0.08), transparent 45%, rgba(5, 11, 20, 0.34));
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 60px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  min-width: 132px;
  color: rgba(247, 248, 255, 0.94);
  font-size: 20px;
  line-height: 1;
}

.brand::after {
  content: "";
  width: 96px;
  height: 11px;
  background:
    radial-gradient(circle, rgba(205, 191, 169, 0.9) 0 2px, transparent 2px),
    linear-gradient(90deg, transparent, rgba(205, 191, 169, 0.72), transparent);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 11px 11px, 96px 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  color: rgba(247, 248, 255, 0.88);
  font-family: var(--font-en);
  font-size: 16px;
}

.site-nav a {
  padding: 4px 18px 8px;
  border-right: 1px solid rgba(205, 191, 169, 0.55);
}

.site-nav a:last-child {
  padding-right: 0;
  border-right: 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #dfe9ff;
}

.menu-button {
  display: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 660px);
  align-items: center;
  justify-content: start;
  min-height: 550px;
  padding: 70px 64px 96px;
}

.hero-copy {
  max-width: 620px;
  padding-top: 14px;
  text-align: left;
}

.hero-kicker {
  margin: 0 0 12px;
  color: rgba(205, 225, 255, 0.86);
  font-family: var(--font-en);
  font-size: 15px;
  line-height: 1;
}

.hero h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(3.5rem, 6.4vw, 5.75rem);
  font-weight: 400;
  line-height: 1.18;
  text-shadow:
    0 0 10px rgba(189, 213, 255, 0.94),
    0 0 30px rgba(75, 127, 232, 0.62),
    0 0 64px rgba(29, 85, 184, 0.42);
}

.ornament-rule {
  display: grid;
  grid-template-columns: minmax(42px, 148px) 20px minmax(42px, 148px);
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: fit-content;
  margin: 18px auto 20px;
  color: var(--color-ornament);
}

.ornament-rule span {
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.ornament-rule i {
  display: block;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
  box-shadow: inset 0 0 0 3px rgba(5, 11, 20, 0.22);
}

.ornament-rule--light {
  color: rgba(205, 191, 169, 0.72);
}

.hero-copy .ornament-rule {
  margin-left: 0;
}

.ornament-rule--paper {
  color: rgba(185, 169, 143, 0.86);
  margin-top: 19px;
}

.ornament-rule--paper i {
  box-shadow: inset 0 0 0 3px rgba(251, 247, 239, 0.88);
}

.subtitle {
  margin: 0;
  color: rgba(247, 248, 255, 0.94);
  font-size: 20px;
  line-height: 1.7;
}

.hero-lead {
  margin: 3px 0 0;
  color: rgba(247, 248, 255, 0.87);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 17px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 2px;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.button::before,
.button::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid rgba(247, 248, 255, 0.26);
}

.button--primary {
  min-width: 260px;
  color: var(--color-text-white);
  background:
    linear-gradient(135deg, rgba(75, 127, 232, 0.15), transparent 42%),
    linear-gradient(180deg, #173f85 0%, #0b2a62 100%);
  border: 1px solid #91aae3;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.button--secondary {
  min-width: 260px;
  color: var(--color-text-blue);
  background:
    linear-gradient(135deg, rgba(205, 191, 169, 0.16), transparent 42%),
    rgba(251, 247, 239, 0.96);
  border: 1px solid rgba(185, 169, 143, 0.9);
  box-shadow: 0 8px 18px rgba(28, 34, 48, 0.11);
}

.button--secondary::before,
.button--secondary::after {
  border-color: rgba(185, 169, 143, 0.5);
}

.button--large {
  min-height: 64px;
  min-width: 310px;
  font-size: 18px;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.read-more:hover,
.read-more:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.button-mark {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}

.button-arrow,
.text-link span {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(247, 248, 255, 0.9);
  padding: 4px 2px 7px;
  border-bottom: 1px solid rgba(205, 191, 169, 0.68);
  transition: transform 160ms ease, filter 160ms ease;
}

.paper {
  position: relative;
  overflow: hidden;
  counter-reset: essay-chapter;
  background:
    linear-gradient(rgba(251, 247, 239, 0.86), rgba(245, 239, 228, 0.9)),
    url("./assets/paper-texture-v01.png") center top / cover no-repeat,
    var(--color-paper-light);
  border-top: 1px solid rgba(205, 191, 169, 0.82);
}

.paper::before,
.paper::after {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 54px;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(185, 169, 143, 0.64), transparent);
}

.paper::before {
  left: 80px;
}

.paper::after {
  right: 80px;
}

.section-knot {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(251, 247, 239, 0.94);
  border: 1px solid rgba(185, 169, 143, 0.76);
  box-shadow: inset 0 0 0 5px rgba(205, 191, 169, 0.12);
}

.essay-lead,
.essay-body {
  position: relative;
  z-index: 1;
}

.essay-lead {
  padding: 66px 118px 10px;
  text-align: center;
}

.essay-lead h2,
.afterword h2,
.link-area h2 {
  margin: 0;
  color: var(--color-text-blue);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.36;
}

.lead-grid {
  position: relative;
  display: block;
  width: min(650px, 100%);
  margin: 24px auto 0;
  text-align: left;
}

.lead-mark {
  position: absolute;
  top: 6px;
  left: clamp(-132px, -11vw, -92px);
  width: 116px;
  min-height: 0;
  pointer-events: none;
}

.lead-mark img {
  position: static;
  display: block;
  width: 116px;
  height: 116px;
  object-fit: contain;
  opacity: 0.88;
  transform: rotate(-7deg) scale(0.92);
  filter:
    saturate(0.92)
    drop-shadow(0 4px 8px rgba(18, 60, 131, 0.15));
}

.lead-text {
  width: 100%;
}

.lead-text p,
.essay-text,
.afterword p {
  margin: 0;
  font-size: 16px;
  line-height: 2.12;
}

.lead-text p + p,
.afterword p + p {
  margin-top: 20px;
}

.essay-text {
  white-space: pre-line;
  text-align: left;
}

.essay-text + .essay-text {
  margin-top: 4px;
}

.essay-body {
  width: min(650px, calc(100% - 220px));
  margin: 0 auto;
  padding: 8px 0 82px;
}

.essay-body::before,
.essay-body::after {
  content: "";
  display: block;
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(90deg, transparent, rgba(205, 191, 169, 0.96), transparent);
}

.essay-body::before {
  display: none;
}

.essay-chapter {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 34px 0 24px;
  color: var(--color-text-blue);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

.essay-chapter::before {
  counter-increment: essay-chapter;
  content: "Chapter " counter(essay-chapter, decimal-leading-zero);
  color: rgba(98, 96, 106, 0.64);
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1;
}

.essay-chapter::after {
  content: "";
  width: 92px;
  height: 11px;
  background:
    radial-gradient(circle, rgba(49, 93, 168, 0.75) 0 2px, transparent 2px),
    linear-gradient(90deg, transparent, rgba(185, 169, 143, 0.82), transparent);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 11px 11px, 92px 1px;
}

.more-copy {
  margin-top: 62px;
}

.essay-text + .essay-chapter {
  margin-top: 70px;
}

.read-more {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 46px;
  margin-top: 30px;
  padding: 0 22px;
  color: var(--color-text-main);
  background: rgba(251, 247, 239, 0.8);
  border: 1px solid rgba(185, 169, 143, 0.88);
  border-radius: 2px;
  cursor: pointer;
}

.memory-band {
  position: relative;
  min-height: clamp(260px, 31vw, 390px);
  padding: 0;
  overflow: hidden;
  color: var(--color-text-white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(75, 127, 232, 0.26), transparent 24rem),
    linear-gradient(180deg, rgba(5, 11, 20, 0.32), rgba(5, 11, 20, 0.12) 52%, rgba(5, 11, 20, 0.44)),
    var(--memory-break-image) var(--memory-break-position) / cover no-repeat,
    var(--color-navy-950);
}

.memory-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.44), transparent 30%, transparent 70%, rgba(5, 11, 20, 0.44)),
    linear-gradient(180deg, rgba(247, 248, 255, 0.04), transparent 40%, rgba(5, 11, 20, 0.24));
  pointer-events: none;
}

.afterword {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 40px;
  padding: 68px 116px 38px;
  background:
    linear-gradient(rgba(251, 247, 239, 0.9), rgba(245, 239, 228, 0.92)),
    url("./assets/paper-texture-v01.png") center bottom / cover no-repeat,
    var(--color-paper-light);
}

.afterword::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 68px;
  right: 68px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 191, 169, 0.78), transparent);
}

.afterword-copy {
  text-align: center;
}

.afterword p {
  max-width: 620px;
  margin: 18px auto 0;
}

.afterword-rose {
  width: 142px;
  height: 142px;
  object-fit: contain;
  transform: rotate(4deg) scale(1.04);
  filter:
    saturate(1.1)
    drop-shadow(0 0 18px rgba(75, 127, 232, 0.2))
    drop-shadow(0 8px 12px rgba(18, 60, 131, 0.16));
}

.link-area {
  position: relative;
  padding: 28px 82px 56px;
  text-align: center;
  background:
    linear-gradient(rgba(251, 247, 239, 0.92), rgba(251, 247, 239, 0.96)),
    url("./assets/paper-texture-v01.png") center / cover no-repeat;
}

.link-area h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.movie-icon,
.youtube-icon {
  position: relative;
  display: inline-block;
  width: 23px;
  height: 17px;
  border: 1px solid currentColor;
}

.movie-icon::before,
.movie-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: currentColor;
  opacity: 0.7;
}

.movie-icon::before {
  left: 6px;
}

.movie-icon::after {
  right: 6px;
}

.youtube-icon {
  border-radius: 4px;
}

.youtube-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}

.share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--color-text-muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.share-label {
  margin: 0;
}

.share-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  color: var(--color-text-main);
  background: rgba(251, 247, 239, 0.64);
  border: 1px solid rgba(185, 169, 143, 0.76);
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.share-button:hover,
.share-button:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(49, 93, 168, 0.58);
  transform: translateY(-1px);
  outline: none;
}

.share-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
}

.copy-status {
  min-width: 6em;
  color: var(--color-text-blue);
}

.site-footer {
  position: relative;
  padding: 50px 24px 40px;
  color: rgba(247, 248, 255, 0.8);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 11, 20, 0.68), rgba(5, 11, 20, 0.9)),
    url("./assets/hero-ornament-bg-v01.png") center bottom / cover no-repeat,
    var(--color-navy-950);
  border-top: 1px solid rgba(205, 191, 169, 0.5);
}

.footer-brand {
  margin: 0 0 18px;
  color: var(--color-text-white);
  font-family: var(--font-en);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 13px;
}

.site-footer a {
  color: rgba(247, 248, 255, 0.72);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-text-white);
}

.site-footer small {
  color: rgba(247, 248, 255, 0.54);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 28px, 480px);
    margin: 18px auto;
  }

  .hero {
    min-height: 760px;
    background-position: center, center, 64% center;
  }

  .hero::before {
    background-position: 64% center;
    opacity: 0.24;
  }

  .site-header {
    align-items: center;
    padding: 24px 26px 0;
  }

  .brand {
    font-size: 18px;
  }

  .brand::after {
    width: 82px;
    background-size: 10px 10px, 82px 1px;
  }

  .menu-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 36px;
    color: var(--color-text-white);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 1px;
    margin: 0 auto;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 24px;
    display: none;
    flex-direction: column;
    min-width: 160px;
    padding: 8px;
    background: rgba(5, 11, 20, 0.96);
    border: 1px solid rgba(205, 191, 169, 0.45);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(205, 191, 169, 0.2);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 660px;
    padding: 252px 24px 66px;
  }

  .hero-copy {
    padding-top: 0;
    text-align: center;
  }

  .hero-copy .ornament-rule {
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .ornament-rule {
    grid-template-columns: 86px 18px 86px;
    gap: 11px;
  }

  .subtitle {
    font-size: 16px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    justify-items: stretch;
  }

  .button--primary,
  .button--secondary,
  .button--large {
    width: 100%;
    min-width: 0;
  }

  .paper::before,
  .paper::after {
    display: none;
  }

  .essay-lead {
    padding: 52px 24px 14px;
  }

  .essay-lead h2,
  .afterword h2 {
    font-size: 27px;
  }

  .lead-grid {
    display: block;
    max-width: 310px;
    text-align: left;
  }

  .lead-mark {
    position: static;
    width: 150px;
    min-height: 96px;
    margin: 0 auto 12px;
  }

  .lead-mark img {
    margin: 0 auto;
    width: 96px;
    height: 96px;
  }

  .lead-text p,
  .essay-text,
  .afterword p {
    font-size: 15px;
    line-height: 2.05;
  }

  .essay-body {
    width: min(100% - 50px, 350px);
    padding: 0 0 46px;
  }

  .essay-chapter {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 19px;
  }

  .more-copy {
    margin-top: 46px;
  }

  .essay-text + .essay-chapter {
    margin-top: 50px;
  }

  .read-more {
    display: flex;
  }

  .memory-band {
    min-height: 230px;
    padding: 0;
  }

  .afterword {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 50px 28px 28px;
  }

  .afterword::before {
    left: 28px;
    right: 28px;
  }

  .afterword-rose {
    justify-self: end;
    width: 104px;
    height: 104px;
    margin-right: 10px;
  }

  .link-area {
    padding: 22px 22px 44px;
  }

  .cta-row {
    flex-direction: column;
    gap: 13px;
  }

  .share-row {
    justify-content: flex-start;
    gap: 10px;
    max-width: 330px;
    margin: 26px auto 0;
  }

  .share-label,
  .share-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-layout {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ornament-rule {
    grid-template-columns: 74px 18px 74px;
  }

  .essay-lead,
  .afterword,
  .link-area {
    padding-right: 20px;
    padding-left: 20px;
  }
}
