:root {
  --ink: #09090b;
  --ink-soft: #121216;
  --paper: #f4f1eb;
  --paper-bright: #fffdfa;
  --muted: #66625d;
  --signal: #ff4d2d;
  --font-display: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --header-height: 76px;
  --shell: min(1440px, calc(100vw - 80px));
}

html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
}

.site-header {
  height: var(--header-height);
  padding: 0 40px;
  background: rgba(9, 9, 11, .9);
}
.site-header.compact { --header-height: 64px; }
.brand { gap: 18px; }
.brand-mark { font-size: 1.35rem; letter-spacing: -.04em; }
.brand-note,
.primary-nav a,
.search-toggle,
.search-panel label,
.search-row button {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: none;
}
.brand-note { color: #b1afb5; line-height: 1.5; }
.primary-nav { gap: clamp(28px, 3.2vw, 52px); }
.primary-nav a,
.search-toggle { color: #c7c5ca; }

.hero {
  position: relative;
  display: block;
  min-height: min(900px, calc(100svh - var(--header-height)));
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}
.hero::after { display: none; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,9,11,.96) 0%, rgba(9,9,11,.76) 42%, rgba(9,9,11,.18) 78%),
    linear-gradient(0deg, rgba(9,9,11,.92) 0%, transparent 45%, rgba(9,9,11,.28) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: var(--shell);
  min-height: min(900px, calc(100svh - var(--header-height)));
  margin: 0 auto;
  padding: 112px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-copy::before { display: none; }
.eyebrow {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  display: flex;
  margin: 0;
  color: #d1cfd4;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: none;
}
.hero-pretitle {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .14em;
}
.hero h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.7vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.08;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.96);
  text-shadow: 0 12px 48px rgba(0,0,0,.35);
}
.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: #e6e3e8;
  font-size: clamp(.95rem, 1.25vw, 1.12rem);
  font-weight: 500;
  line-height: 2;
}
.hero-actions { margin-top: 28px; }
.button {
  min-width: 188px;
  min-height: 50px;
  padding: 14px 20px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: none;
}
.hero-stats {
  width: min(580px, 100%);
  margin: 30px 0 0;
  padding-top: 22px;
  border-top-color: rgba(255,255,255,.25);
}
.hero-stats dt { font-size: clamp(1.5rem, 2.2vw, 2.3rem); }
.hero-stats dd {
  margin-top: 3px;
  color: #b8b5bc;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: none;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(.78) contrast(1.08) brightness(.72);
  transform: scale(1.01);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(9,9,11,.12));
}
.hero-photo-index {
  top: 32px;
  right: 40px;
  bottom: auto;
  z-index: 4;
  padding: 7px 10px;
  color: #fff;
  background: rgba(9,9,11,.58);
  font-size: .75rem;
  letter-spacing: .05em;
  backdrop-filter: blur(10px);
}
.hero-caption {
  right: 40px;
  bottom: 46px;
  left: auto;
  z-index: 4;
  width: min(350px, 34vw);
  padding: 20px 22px;
  background: rgba(9,9,11,.62);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}
.hero-caption-meta { font-size: .75rem; letter-spacing: .05em; }
.hero-caption strong { margin-top: 6px; font-size: clamp(1.6rem, 2.7vw, 2.8rem); line-height: 1.12; }
.hero-caption small { margin-top: 6px; font-size: .75rem; }
.hero-rail { display: none; }

.signal-bar {
  min-height: 48px;
  padding: 12px 40px;
  gap: clamp(20px, 3vw, 42px);
}
.signal-bar span { font-size: .75rem; letter-spacing: .08em; }

.section-shell { width: var(--shell); }
.latest,
.archive { padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); }
.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 50px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-kicker {
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: none;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.2;
  white-space: nowrap;
}
.section-heading > p {
  margin: 0;
  padding-left: 22px;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.9;
}

.editorial-grid { gap: clamp(26px, 3vw, 48px) clamp(16px, 2vw, 30px); }
.story-card { cursor: pointer; }
.story-media { overflow: hidden; background: #ddd8d0; }
.story-media img { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.story-card:hover .story-media img { transform: scale(1.025); }
.story-index,
.story-category,
.story-meta {
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: none;
}
.story-title {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.035em;
}

.worlds { padding: clamp(90px, 10vw, 150px) 0; }
.section-heading-light h2 { font-size: clamp(2rem, 4.2vw, 4.15rem); }
.filter-bar { margin-bottom: 38px; }
.category-filters { gap: 8px; }
.category-filters button {
  min-height: 42px;
  padding: 9px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: none;
}
#filterResult { font-size: .8rem; }
.world-mosaic { gap: 14px; }
.world-card { border-radius: 2px; overflow: hidden; }
.world-card-copy { padding: 42px 18px 17px; }
.world-card-copy strong { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.4; }
.world-card-copy small { margin-top: 5px; font-size: .72rem; }
.text-button { margin-top: 36px; font-size: .82rem; font-weight: 700; }

.archive-list { border-top-width: 1px; }
.archive-row {
  min-height: 110px;
  grid-template-columns: 48px 112px minmax(0, 1fr) minmax(0, .7fr) 28px;
  gap: 20px;
}
.archive-no,
.archive-meta,
.archive-tags { font-size: .73rem; letter-spacing: .04em; }
.archive-thumb { width: 112px; height: 76px; }
.archive-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.site-footer { padding: 84px 40px 30px; }
.footer-brand span { font-family: var(--font-sans); font-weight: 800; }
.footer-brand p,
.footer-links a,
.footer-copy { font-size: .78rem; letter-spacing: .05em; text-transform: none; }

.article-dialog { background: var(--paper-bright); }
.dialog-close { font-size: .78rem; }
.dialog-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.25;
}
.dialog-header > p:last-child,
.dialog-body { font-size: 1rem; line-height: 2; }
.dialog-body h2,
.dialog-body h3 { font-family: var(--font-display); line-height: 1.5; }

@media (max-width: 1100px) {
  :root { --shell: calc(100vw - 56px); }
  .site-header { padding: 0 28px; }
  .brand-note { display: none; }
  .hero-caption { display: none; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(9,9,11,.94) 0%, rgba(9,9,11,.64) 62%, rgba(9,9,11,.2) 100%),
      linear-gradient(0deg, rgba(9,9,11,.94) 0%, transparent 58%, rgba(9,9,11,.3) 100%);
  }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 620px; }
  .archive-tags { display: none; }
  .archive-row { grid-template-columns: 42px 100px minmax(0,1fr) 24px; }
}

@media (max-width: 760px) {
  :root { --header-height: 66px; --shell: calc(100vw - 32px); }
  .site-header { height: 66px; padding: 0 16px; }
  .site-header.compact { --header-height: 60px; }
  .brand-mark { font-size: 1.2rem; }
  .search-toggle { font-size: .75rem; }
  .search-panel { top: 66px; padding: 24px 16px; }
  .hero,
  .hero-copy { min-height: calc(100svh - 66px); }
  .hero-copy { padding: 96px 0 34px; }
  .eyebrow { top: 24px; font-size: .75rem; }
  .eyebrow span:last-child { display: block; }
  .hero-pretitle { margin-bottom: 8px; font-size: .88rem; letter-spacing: .1em; }
  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 3.6rem);
    letter-spacing: -.075em;
    -webkit-text-stroke-width: 1px;
  }
  .hero-lead { max-width: 92%; margin-top: 20px; font-size: .92rem; line-height: 1.9; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
  .button { flex: 1 1 160px; min-height: 46px; min-width: 0; padding: 12px 15px; font-size: .82rem; }
  .hero-stats { margin-top: 24px; padding-top: 18px; }
  .hero-stats div { padding: 0 14px; }
  .hero-stats dt { font-size: 1.45rem; }
  .hero-stats dd { font-size: .72rem; }
  .hero-photo-index { top: 18px; right: 16px; font-size: .68rem; }
  .signal-bar { padding: 11px 16px; }
  .section-heading { gap: 20px; margin-bottom: 42px; }
  .section-heading h2,
  .section-heading-light h2 {
    font-size: clamp(1.72rem, 7.2vw, 3.3rem);
    letter-spacing: -.06em;
    white-space: nowrap;
  }
  .section-heading > p { padding-left: 14px; font-size: .88rem; }
  .section-kicker { font-size: .78rem; }
  .editorial-grid { gap: 36px 12px; }
  .story-card:nth-child(1),
  .story-card:nth-child(2) { grid-column: span 12; }
  .story-card:nth-child(3),
  .story-card:nth-child(4),
  .story-card:nth-child(5) { grid-column: span 6; }
  .story-title { font-size: 1.2rem; }
  .story-index,
  .story-category,
  .story-meta { font-size: .75rem; }
  .category-filters { width: calc(100vw - 32px); }
  .category-filters button { font-size: .76rem; }
  .world-mosaic { gap: 8px; }
  .world-card,
  .world-card:nth-child(7n + 1),
  .world-card:nth-child(7n + 6),
  .world-card:nth-child(7n + 3),
  .world-card:nth-child(7n + 4) { grid-column: span 6; aspect-ratio: .9; }
  .world-card:nth-child(3n + 1) { grid-column: span 12; aspect-ratio: 1.5; }
  .world-card-copy { padding: 34px 12px 11px; }
  .world-card-copy strong { font-size: .96rem; }
  .archive-row { min-height: 94px; grid-template-columns: 28px 76px minmax(0,1fr) 20px; gap: 10px; }
  .archive-thumb { width: 76px; height: 58px; }
  .archive-title { font-size: 1.02rem; }
  .archive-meta { font-size: .75rem; }
  .site-footer { padding: 64px 18px 24px; }
  .footer-brand span { font-size: 18vw; line-height: 1; white-space: nowrap; }
  .dialog-header h2 { font-size: 2.7rem; }
  .dialog-body { font-size: .94rem; }
}

@media (max-width: 430px) {
  .eyebrow span:last-child { display: none; }
  .hero h1 { font-size: 8vw; letter-spacing: -.065em; }
  .hero-lead { max-width: 100%; }
  .hero-actions .button-ghost { display: none; }
  .section-heading h2,
  .section-heading-light h2 { font-size: 7vw; }
  .story-card:nth-child(n) { grid-column: span 12; }
  .story-card:nth-child(n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .story-media img { transition: none; }
}
