:root {
  --black: #060608;
  --black-2: #0d0d11;
  --ink: #14100c;
  --paper: #f3efe6;
  --muted: #c5b898;
  --gold: #d9b667;
  --gold-soft: #e8cd85;
  --vermilion: #a8281e;
  --aizome: #13233b;
  --sakura: #d7a2a7;
  --leaf: #718a5a;
  --snow: #d8e2df;
  --line: rgba(217, 182, 103, 0.28);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--serif);
  line-height: 1.85;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 20% 12%, rgba(217, 182, 103, 0.16), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(168, 40, 30, 0.14), transparent 24%),
    linear-gradient(135deg, #040406, #101015 48%, #070706);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(217, 182, 103, 0.12);
  background: linear-gradient(to bottom, rgba(6, 6, 8, 0.82), rgba(6, 6, 8, 0.28));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  background: rgba(217, 182, 103, 0.04);
}

.brand strong {
  display: block;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: rgba(217, 182, 103, 0.78);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 26px);
  color: rgba(243, 239, 230, 0.78);
  font-family: var(--sans);
  font-size: 13px;
}

nav a:hover {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 126px clamp(18px, 6vw, 76px) 126px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.94), rgba(6, 6, 8, 0.36) 46%, rgba(6, 6, 8, 0.78)),
    linear-gradient(to top, var(--black), rgba(6, 6, 8, 0.1) 48%);
}

.hero-copy {
  width: min(760px, 100%);
}

.hero-copy h1,
.hero-copy p {
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.88);
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  display: grid;
  gap: 8px;
  font-size: clamp(42px, 7.6vw, 96px);
}

.hero-copy p:not(.kicker) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(243, 239, 230, 0.88);
  font-size: clamp(16px, 1.7vw, 20px);
}

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

.hero-actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(232, 205, 133, 0.62);
  background: linear-gradient(135deg, var(--gold-soft), #a97428 52%, var(--vermilion));
  color: #140d08;
  box-shadow: 0 18px 54px rgba(168, 40, 30, 0.24);
}

.button.quiet {
  background: rgba(6, 6, 8, 0.58);
  color: var(--paper);
}

.hero-stats {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 20px;
  left: clamp(18px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(6, 6, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.hero-stats span {
  color: rgba(243, 239, 230, 0.72);
  font-family: var(--sans);
  font-size: 12px;
}

.section-pad {
  padding: clamp(72px, 10vw, 132px) 0;
}

.narrow,
.section-head,
.flow-inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.narrow h2,
.section-head h2,
.feature-copy h2,
.flow-inner h2,
.cta h2 {
  font-size: clamp(32px, 5vw, 62px);
}

.narrow p:not(.kicker),
.section-head p,
.feature-copy p,
.flow-inner p,
.cta p {
  color: rgba(243, 239, 230, 0.76);
  font-size: 17px;
}

.statement {
  background:
    linear-gradient(180deg, rgba(19, 35, 59, 0.24), rgba(6, 6, 8, 0.94)),
    linear-gradient(90deg, rgba(217, 182, 103, 0.08), rgba(168, 40, 30, 0.08));
}

.experience,
.system {
  background: rgba(5, 5, 7, 0.7);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 239, 230, 0.08), rgba(6, 6, 8, 0.66));
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.phone-frame figcaption {
  margin-top: 10px;
  color: rgba(243, 239, 230, 0.6);
  font-family: Georgia, serif;
  font-size: 12px;
  text-align: center;
}

.feature-copy {
  position: relative;
}

.vertical-note {
  float: right;
  max-height: 330px;
  margin: 0 0 24px 28px;
  padding: 18px 10px;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.12em;
}

.micro-grid,
.system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.micro-grid article,
.system-card,
.layer-map article,
.trust-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 239, 230, 0.055), rgba(6, 6, 8, 0.38));
}

.micro-grid article {
  min-height: 170px;
  padding: 20px;
}

.micro-grid span,
.block-title span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.micro-grid h3,
.system-card h3 {
  margin: 6px 0 8px;
  font-size: 23px;
}

.micro-grid p,
.system-card p {
  margin: 0;
  color: rgba(243, 239, 230, 0.72);
  font-size: 15px;
}

.world {
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.92), rgba(13, 13, 17, 0.98)),
    radial-gradient(circle at 50% 20%, rgba(217, 182, 103, 0.16), transparent 32%);
}

.wide-art {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.wide-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.system-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 34px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-card {
  min-height: 290px;
  padding: 24px;
}

.seal {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(168, 40, 30, 0.6);
  color: #f1d1c7;
  background: rgba(168, 40, 30, 0.28);
}

.flow {
  background: linear-gradient(180deg, #121015, #070708);
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: left;
}

.journey li {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey strong {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, serif;
}

.journey span {
  display: block;
  margin-top: 10px;
  color: rgba(243, 239, 230, 0.7);
  font-size: 14px;
}

.cta {
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.96), rgba(19, 35, 59, 0.32)),
    radial-gradient(circle at 50% 50%, rgba(217, 182, 103, 0.12), transparent 36%);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: rgba(243, 239, 230, 0.62);
  font-family: var(--sans);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.info-page {
  background: #060608;
}

.info-sheet {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 56px;
}

.info-hero,
.info-block,
.info-ending {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(243, 239, 230, 0.052), rgba(6, 6, 8, 0.58)),
    radial-gradient(circle at 50% 0%, rgba(217, 182, 103, 0.12), transparent 42%);
  box-shadow: var(--shadow);
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
}

.info-hero h1 {
  font-size: clamp(34px, 5.4vw, 70px);
}

.info-hero p:not(.kicker) {
  color: rgba(243, 239, 230, 0.76);
}

.info-hero figure {
  margin: 0;
  border: 1px solid var(--line);
}

.info-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.info-block,
.info-ending {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.block-title h2,
.info-ending h2 {
  font-size: clamp(26px, 3.8vw, 46px);
}

.calendar-diagram {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 0;
}

.big-number {
  display: grid;
  min-height: 170px;
  place-items: center;
  border: 1px solid rgba(217, 182, 103, 0.2);
  background: rgba(6, 6, 8, 0.38);
  text-align: center;
}

.big-number strong {
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
}

.big-number.gold strong {
  color: var(--gold-soft);
}

.big-number span {
  color: rgba(243, 239, 230, 0.62);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.connector {
  height: 1px;
  background: var(--line);
}

.block-note {
  margin: 22px 0 0;
  color: rgba(243, 239, 230, 0.74);
}

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

.layer-map article,
.trust-grid article {
  min-height: 130px;
  padding: 20px;
}

.layer-map b,
.trust-grid strong {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  letter-spacing: 0.08em;
}

.layer-map span,
.trust-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(243, 239, 230, 0.68);
  font-size: 14px;
}

.season-palette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.season-palette div {
  display: grid;
  gap: 8px;
  min-height: 126px;
  align-content: end;
  padding: 18px;
  border: 1px solid rgba(243, 239, 230, 0.14);
}

.season-palette strong {
  font-size: 34px;
}

.season-palette span {
  color: rgba(243, 239, 230, 0.74);
  font-size: 13px;
}

.spring {
  background: linear-gradient(135deg, #1a1117, #8f4e58);
}

.summer {
  background: linear-gradient(135deg, #081420, #155877);
}

.autumn {
  background: linear-gradient(135deg, #1b0c08, #9b3b20);
}

.winter {
  background: linear-gradient(135deg, #07101b, #6e817f);
}

.strip-art {
  margin: 16px 0 0;
  border: 1px solid var(--line);
}

.strip-art img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.info-ending {
  text-align: center;
}

.info-ending p {
  margin: 0 0 12px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}

.info-ending .button {
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .split,
  .info-hero {
    grid-template-columns: 1fr;
  }

  .system-grid,
  .journey,
  .calendar-diagram,
  .layer-map,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connector {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  nav {
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 96svh;
    padding: 110px 18px 214px;
  }

  .hero-media {
    object-position: 54% center;
    filter: brightness(0.48) saturate(0.96);
  }

  .hero-shade {
    background:
      linear-gradient(to bottom, rgba(6, 6, 8, 0.54), rgba(6, 6, 8, 0.42) 38%, rgba(6, 6, 8, 0.97) 78%),
      linear-gradient(90deg, rgba(6, 6, 8, 0.82), rgba(6, 6, 8, 0.38), rgba(6, 6, 8, 0.7)),
      linear-gradient(to top, var(--black), rgba(6, 6, 8, 0.26) 54%);
  }

  .hero-actions,
  .hero-actions.center {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .micro-grid,
  .system-grid,
  .journey,
  .calendar-diagram,
  .layer-map,
  .trust-grid,
  .season-palette {
    grid-template-columns: 1fr;
  }

  .vertical-note {
    float: none;
    width: 100%;
    max-height: none;
    margin: 18px 0;
    writing-mode: horizontal-tb;
  }

  .wide-art img {
    aspect-ratio: 1 / 1;
  }

  .strip-art img {
    aspect-ratio: 1.3 / 1;
  }

  .info-sheet {
    width: min(100% - 24px, 1120px);
    padding-top: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
