/* ============================================================
   CISLUNAR FRONT 2075 — LP
   作戦資料（ドシエ）の静けさ × ゲーム本体の藍黒＋シアン。
   敵＝マゼンタは「ヴェイル」に関わる所だけに使う。
   モバイルファースト / ブレークポイント 640・768・1024・1280
   ============================================================ */

:root {
  --void: #07090e;
  --deep: #0c111a;
  --panel: #101826;
  --ink: #dbe9f2;
  --ink-dim: #9fb1c2;
  --ink-mute: #72869a;
  --hair: rgba(160, 196, 220, .14);
  --line: rgba(63, 216, 255, .5);
  --cyan: #3fd8ff;
  --cyan-deep: #1689b3;
  --magenta: #ff4da6;
  --orange: #ff6a3d;

  --f-display: 'Rajdhani', 'Bahnschrift', 'Zen Kaku Gothic New', sans-serif;
  --f-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;

  --gutter: 16px;
  --section-y: 96px;
  --max: 1280px;
  --chamfer: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 768px) { :root { --gutter: 40px; --section-y: 136px; } }
@media (min-width: 1024px) { :root { --gutter: 64px; --section-y: 176px; } }
@media (min-width: 1280px) { :root { --gutter: 88px; --section-y: 200px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: .02em;
  font-feature-settings: 'palt' 0;
  overflow-x: hidden;
}
/* うっすらとした星屑と走査線。画像を使わず背景で */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(219, 233, 242, .5), transparent 60%),
    radial-gradient(1px 1px at 68% 14%, rgba(219, 233, 242, .35), transparent 60%),
    radial-gradient(1px 1px at 84% 62%, rgba(219, 233, 242, .4), transparent 60%),
    radial-gradient(1px 1px at 32% 78%, rgba(219, 233, 242, .3), transparent 60%),
    radial-gradient(1px 1px at 52% 46%, rgba(219, 233, 242, .25), transparent 60%),
    radial-gradient(120% 80% at 100% 0%, rgba(22, 137, 179, .10), transparent 60%),
    var(--void);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--void);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- buttons ---------- */
.btn {
  --cut: var(--chamfer);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 48px;
  padding: 10px 22px;
  font-family: var(--f-display), var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary { background: var(--cyan); color: var(--void); }
.btn-primary:hover { background: #8de9ff; }
.btn-ghost { background: rgba(63, 216, 255, .08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(63, 216, 255, .16); }
.btn-large { padding: 14px 28px; font-size: 1.125rem; }
.btn-xl { padding: 20px 56px; font-size: 1.5rem; letter-spacing: .2em; }
.btn-note { font-family: var(--f-body); font-weight: 400; font-size: .75rem; letter-spacing: .04em; opacity: .8; }

/* ---------- range finder（スクロール＝地球から月への距離） ---------- */
.rangefinder { display: none; }
@media (min-width: 1024px) {
  .rangefinder {
    position: fixed;
    top: 50%;
    left: 22px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%);
    font-family: var(--f-display);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--ink-mute);
  }
  .rangefinder-label { writing-mode: vertical-rl; }
  .rangefinder-track { position: relative; width: 1px; height: 32vh; background: var(--hair); }
  .rangefinder-fill { position: absolute; inset: 0 0 auto 0; height: 100%; background: var(--cyan); transform-origin: top; transform: scaleY(0); }
  .rangefinder-km { writing-mode: vertical-rl; color: var(--cyan); min-height: 8em; }
}
@property --km { syntax: '<integer>'; inherits: false; initial-value: 0; }
@supports (animation-timeline: scroll()) {
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .rangefinder-fill { animation: range-fill linear both; animation-timeline: scroll(root); }
    .rangefinder-km { animation: range-km linear both; animation-timeline: scroll(root); counter-reset: km var(--km); }
    .rangefinder-km::after { content: counter(km) ' KM'; }
  }
}
@keyframes range-fill { to { transform: scaleY(1); } }
@keyframes range-km { from { --km: 0; } to { --km: 384400; } }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 var(--gutter);
  background: rgba(7, 9, 14, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0 240px; }
}
@keyframes header-solid {
  from { background: rgba(7, 9, 14, 0); border-bottom-color: transparent; backdrop-filter: none; }
  to { background: rgba(7, 9, 14, .78); border-bottom-color: var(--hair); }
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark {
  width: 22px;
  height: 22px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: radial-gradient(circle at 70% 50%, var(--cyan) 0 3px, transparent 4px);
}
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .18em; line-height: 1; }
.brand-sub { display: block; margin-top: 3px; font-size: .625rem; font-weight: 600; letter-spacing: .32em; color: var(--ink-dim); }

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .2em;
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.site-header.is-open .menu-icon { background: transparent; }
.site-header.is-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 64px 0 0 0;
  display: none;
  flex-direction: column;
  gap: 40px;
  padding: 40px var(--gutter);
  background: var(--void);
  overflow-y: auto;
}
.site-header.is-open .site-nav { display: flex; }
/* backdrop-filter があると固定配置のメニューがヘッダーの中に閉じ込められるので、開いている間は外す */
.site-header.is-open { animation: none; backdrop-filter: none; background: var(--void); }
.nav-list { display: grid; gap: 4px; }
.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: .14em;
  text-decoration: none;
}
.nav-num { font-size: .75rem; color: var(--cyan); letter-spacing: .1em; }
.nav-cta { align-self: flex-start; }

@media (min-width: 1024px) {
  .menu-button { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 32px; padding: 0; background: none; overflow: visible; }
  .nav-list { display: flex; gap: 28px; }
  .nav-list a { min-height: 44px; padding: 0; border: 0; font-size: .875rem; font-weight: 600; letter-spacing: .2em; color: var(--ink-dim); transition: color .2s; }
  .nav-list a:hover { color: var(--ink); }
  .nav-num { display: none; }
  .nav-cta { min-height: 40px; padding: 6px 18px; font-size: .875rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: 120px var(--gutter) 32px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--void) url('../video/hero-poster.webp') center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 14, .55) 0%, rgba(7, 9, 14, 0) 22%, rgba(7, 9, 14, .15) 48%, rgba(7, 9, 14, .92) 88%, var(--void) 100%),
    linear-gradient(90deg, rgba(7, 9, 14, .7) 0%, rgba(7, 9, 14, 0) 60%);
}
.hero-body { max-width: 44rem; text-shadow: 0 1px 12px rgba(7, 9, 14, .8); }
/* 縦長の画面は文字が映像の明るい所に重なるので、全体を一段暗くする */
@media (max-width: 767px) {
  .hero-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(7, 9, 14, .5); }
  .hero-media::after { z-index: 1; }
}
.eyebrow, .section-num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .28em;
  color: var(--cyan);
}
.hero-title { margin-top: 20px; font-family: var(--f-display); font-weight: 700; line-height: .92; text-transform: uppercase; }
.hero-logo { display: block; font-size: clamp(3rem, 13vw, 8.5rem); letter-spacing: .02em; }
.hero-logo-sub { display: block; margin-top: 12px; font-size: clamp(.875rem, 2.4vw, 1.375rem); font-weight: 600; letter-spacing: .42em; color: var(--ink-dim); }
.hero-lead { margin-top: 32px; font-size: clamp(1.375rem, 4.4vw, 2rem); font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.hero-text { margin-top: 16px; max-width: 34em; color: var(--ink-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; }
.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--hair);
}
.hero-specs li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.spec-key { font-family: var(--f-display); font-weight: 600; font-size: .6875rem; letter-spacing: .24em; color: var(--ink-mute); }
.spec-val { font-weight: 700; font-size: .9375rem; }
.hero-toggle {
  position: absolute;
  top: 80px;
  right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  background: rgba(7, 9, 14, .5);
  border: 1px solid var(--hair);
  color: var(--ink-dim);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}
.hero-toggle:hover { color: var(--ink); border-color: var(--line); }
.hero-toggle-icon { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-toggle[aria-pressed="true"] .hero-toggle-icon { border: 0; border-left: 10px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; width: 0; height: 0; }

@media (min-width: 768px) {
  .hero { padding-bottom: 40px; }
  .hero-specs { grid-template-columns: repeat(4, 1fr); }
  .hero-specs li { padding: 16px 0 0; border-bottom: 0; }
  .hero-specs li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
}
@media (min-width: 1024px) {
  .hero { padding-left: calc(var(--gutter) + 8px); }
  .hero-body { margin-bottom: 8px; }
}

/* 読み込み時の段差つき登場（1回だけ） */
@media (prefers-reduced-motion: no-preference) {
  .hero-body > *, .hero-specs { animation: rise .9s var(--ease) both; }
  .hero-title { animation-delay: .08s; }
  .hero-lead { animation-delay: .2s; }
  .hero-text { animation-delay: .28s; }
  .hero-actions { animation-delay: .36s; }
  .hero-specs { animation-delay: .5s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { position: relative; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: var(--section-y) var(--gutter) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: 56px; }
.section-title { font-size: clamp(1.75rem, 6vw, 3rem); font-weight: 700; line-height: 1.4; letter-spacing: .06em; }
.section-title-small { font-size: clamp(1.375rem, 4vw, 1.75rem); }
.section-lead { max-width: 40em; color: var(--ink-dim); }
.prose p { max-width: 42em; }
.prose p + p { margin-top: 1.4em; }

@media (min-width: 1024px) {
  .section-head { grid-template-columns: 4fr 8fr; align-items: start; margin-bottom: 88px; }
  .section-num { padding-top: 14px; }
  .section-lead { grid-column: 2; }
}

/* スクロールで静かに浮かぶ（対応ブラウザーのみ。非対応ならそのまま表示） */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* 縦に長い要素でも 200px 入れば出し切る（％指定だと大きな画像が長く透けたままになる） */
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0px entry 200px; }
  }
}

/* ---------- story ---------- */
.story-grid { display: grid; gap: 48px; }
.dossier { display: grid; align-content: start; border-top: 1px solid var(--line); }
.dossier div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.dossier dt { font-family: var(--f-display); font-weight: 600; font-size: .75rem; letter-spacing: .24em; color: var(--ink-mute); padding-top: 3px; }
.dossier dd { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: .12em; }
.dossier .is-hostile { color: var(--magenta); }
.story-key { margin-top: 80px; }
.story-key img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption {
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .6875rem;
  letter-spacing: .24em;
  color: var(--ink-mute);
}
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 4fr 8fr; }
  .story-text { grid-column: 2; grid-row: 1; }
  .dossier { grid-column: 1; grid-row: 1; margin-right: 48px; }
  .dossier div { grid-template-columns: 1fr; gap: 2px; }
  .story-key { margin-top: 120px; margin-right: calc(var(--gutter) * -1); }
}

/* ---------- system ---------- */
.system-list { display: grid; gap: 0; counter-reset: sys; border-top: 1px solid var(--hair); }
.system-item { position: relative; display: grid; gap: 10px; padding: 32px 0 36px; border-bottom: 1px solid var(--hair); counter-increment: sys; }
.system-item::before {
  content: '0' counter(sys);
  position: absolute;
  top: 32px;
  right: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--ink-mute);
}
.system-tag { font-family: var(--f-display); font-weight: 700; font-size: .75rem; letter-spacing: .28em; color: var(--cyan); }
.system-title { font-size: 1.375rem; line-height: 1.5; letter-spacing: .04em; }
.system-text { max-width: 42em; color: var(--ink-dim); }
.system-figure { margin-top: 72px; }
.system-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) {
  .system-list { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .system-item { border-top: 1px solid var(--hair); border-bottom: 0; }
  .system-item:nth-child(even) { transform: translateY(64px); }
  .system-figure { margin-top: 136px; }
}
@media (min-width: 1024px) {
  .system-list { margin-left: calc(100% / 3); }
  .system-figure { width: 66.666%; margin-left: calc(var(--gutter) * -1); }
}

/* ---------- stages ---------- */
.stage-list { display: grid; gap: 40px; }
.stage { display: grid; gap: 16px; }
.stage-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85) brightness(.9); transition: filter .5s var(--ease); }
.stage:hover .stage-img { filter: none; }
.stage-body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: start; }
.stage-num { grid-row: span 4; font-family: var(--f-display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--cyan); }
.stage-name { font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; letter-spacing: .1em; line-height: 1.2; }
.stage-where { font-size: .8125rem; color: var(--ink-mute); }
.stage-goal { margin-top: 6px; color: var(--ink-dim); }
.stage-boss { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: .75rem; letter-spacing: .2em; color: var(--magenta); }
.stage-final .stage-num { color: var(--magenta); }
@media (min-width: 768px) {
  .stage-list { gap: 0; border-top: 1px solid var(--hair); }
  .stage { grid-template-columns: 5fr 7fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--hair); align-items: center; }
  .stage-num { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .stage { grid-template-columns: 4fr 8fr; gap: 56px; }
  .stage-img { width: 100%; }
}

/* ---------- crew ---------- */
.crew-list { display: grid; gap: 64px; }
.crew-card { display: grid; gap: 20px; }
.crew-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.crew-role { font-family: var(--f-display); font-weight: 700; font-size: .75rem; letter-spacing: .28em; color: var(--cyan); }
.crew-name { margin-top: 4px; font-size: 1.625rem; letter-spacing: .08em; line-height: 1.4; }
.crew-en { display: block; font-family: var(--f-display); font-weight: 600; font-size: .75rem; letter-spacing: .3em; color: var(--ink-mute); }
.crew-text { margin-top: 12px; color: var(--ink-dim); }
.crew-line {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--cyan);
  font-weight: 700;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .crew-card { grid-template-columns: 2fr 3fr; gap: 28px; align-items: start; }
}
@media (min-width: 1024px) {
  .crew-list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .crew-card { grid-template-columns: 1fr; }
  .crew-card:nth-child(2) { margin-top: 112px; }
  .crew-card:nth-child(3) { margin-top: 56px; }
}

.offduty { margin-top: 120px; padding-top: 48px; border-top: 1px solid var(--hair); }
.offduty-head { display: grid; gap: 12px; margin-bottom: 40px; }
.offduty-title { font-size: clamp(1.375rem, 4vw, 2rem); letter-spacing: .06em; line-height: 1.5; }
.offduty-text { max-width: 40em; color: var(--ink-dim); }
.offduty-list { display: grid; gap: 16px; }
.offduty-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.offduty-list li { overflow: hidden; }
.offduty-list li:hover img { transform: scale(1.03); }
@media (min-width: 768px) {
  .offduty-list { grid-template-columns: repeat(3, 1fr); }
  .offduty-list li:nth-child(2) { transform: translateY(32px); }
}
@media (min-width: 1024px) {
  .offduty-head { grid-template-columns: 4fr 8fr; column-gap: 0; margin-bottom: 56px; }
  .offduty-head .section-num { grid-row: span 2; padding-top: 10px; }
}

/* ---------- play ---------- */
.play-grid { display: grid; gap: 56px; }
.req { border-top: 1px solid var(--line); }
.req div { display: grid; grid-template-columns: 4em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.req dt { font-weight: 700; color: var(--cyan); }
.req dd { color: var(--ink-dim); }
.keys-title { font-weight: 700; margin-bottom: 16px; }
.keys-list { display: grid; gap: 10px; }
.keys-list li { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; align-items: center; color: var(--ink-dim); font-size: .9375rem; }
.kbd-group { display: flex; gap: 6px; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  background: var(--panel);
  border: 1px solid rgba(63, 216, 255, .32);
  border-bottom-width: 3px;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .04em;
}
@media (min-width: 1024px) {
  .play-grid { margin-left: calc(100% / 3); }
}
@media (min-width: 1280px) {
  .play-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.launch {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 20px;
  margin-top: 112px;
  padding: 56px 24px;
  background:
    linear-gradient(90deg, rgba(63, 216, 255, .10), rgba(63, 216, 255, 0) 70%),
    var(--deep);
  border-left: 2px solid var(--cyan);
}
.launch-label { font-family: var(--f-display); font-weight: 700; font-size: .8125rem; letter-spacing: .3em; color: var(--cyan); }
.launch-note { max-width: 32em; font-size: .875rem; color: var(--ink-mute); }
.copy-link { min-height: 44px; font-size: .875rem; }
.copy-status { min-height: 1.8em; font-size: .875rem; color: var(--cyan); }
@media (min-width: 768px) {
  .launch { padding: 80px 64px; }
}

/* ---------- updates ---------- */
.log-list { border-top: 1px solid var(--hair); }
.log { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.log time { font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; color: var(--cyan); }
.log p { max-width: 42em; color: var(--ink-dim); }
@media (min-width: 768px) {
  .log { grid-template-columns: 10em 1fr; gap: 24px; }
}

/* ---------- footer ---------- */
.site-footer {
  display: grid;
  gap: 24px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: var(--section-y) auto 0;
  padding: 48px var(--gutter) 40px;
  border-top: 1px solid var(--hair);
}
.footer-logo { font-family: var(--f-display); font-weight: 700; letter-spacing: .24em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-dim); text-decoration: none; font-size: .875rem; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { color: var(--ink-mute); }
@media (min-width: 1024px) {
  .site-footer { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-links { justify-content: center; }
}

/* ---------- 404 ---------- */
.site-header-plain { animation: none; }
.lost {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  min-height: 100svh;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 96px var(--gutter) 64px;
}
.lost-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.5rem, 16vw, 9rem); line-height: .9; letter-spacing: .04em; }
.lost-text { max-width: 30em; color: var(--ink-dim); }

/* ---------- 動きを減らす ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
