:root {
  --ink: #18211d;
  --muted: #687069;
  --paper: #f4f0e6;
  --paper-deep: #e9e1d2;
  --card: #fffdf7;
  --green: #123d32;
  --green-dark: #092a22;
  --green-soft: #dbe4dc;
  --gold: #b18a4a;
  --red: #a94735;
  --line: #d5ccba;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0, rgba(177,138,74,.05), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.8;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 50; background: white; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
  background: rgba(9,42,34,.96);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1220px, calc(100% - 40px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; white-space: nowrap; }
.brand strong { font: 700 1.45rem var(--serif); letter-spacing: .13em; }
.brand span { padding-left: 1rem; color: #d8cba9; border-left: 1px solid rgba(255,255,255,.3); font: 500 .72rem/1.5 var(--serif); letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: clamp(1rem,2.4vw,2rem); }
.nav a { position: relative; padding: 1.4rem 0; font-size: .84rem; font-weight: 700; text-decoration: none; }
.nav a::after { content: ""; position: absolute; right: 0; bottom: 1rem; left: 0; height: 1px; background: #dfbf72; transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.45); padding: .42rem .7rem; }

.editorial-hero { position: relative; min-height: 610px; overflow: hidden; color: white; background: var(--green-dark); }
.hero-art { position: absolute; inset: 0; background: url('/assets/uchouten-civic-hero.webp') center/cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,35,28,.9) 0%, rgba(5,35,28,.69) 42%, rgba(5,35,28,.08) 72%); }
.hero-content { position: relative; z-index: 1; min-height: 610px; display: flex; align-items: center; }
.hero-copy { width: min(680px, 61%); padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; padding: .42rem .7rem; color: #f4e3b6; border: 1px solid rgba(244,227,182,.62); font: 700 .8rem var(--serif); letter-spacing: .14em; }
.hero-category { margin: 1.5rem 0 .55rem; color: #d8cba9; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.editorial-hero h1 { margin: 0; font: 700 clamp(2.45rem,5.4vw,5rem)/1.18 var(--serif); letter-spacing: .025em; text-wrap: balance; }
.hero-deck { margin: .8rem 0 0; color: #f0d99c; font: 700 clamp(1.15rem,2vw,1.55rem)/1.5 var(--serif); }
.hero-summary { max-width: 590px; margin: 1.25rem 0 1.8rem; color: #f1eee6; font-family: var(--serif); font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.95; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.25rem; color: var(--green-dark); background: #f3e6c5; font-size: .86rem; font-weight: 800; text-decoration: none; border: 1px solid #f3e6c5; transition: color .2s, background .2s; }
.button-link:hover { color: white; background: transparent; }

.data-ribbon { color: var(--green-dark); background: #eee7d9; border-bottom: 1px solid var(--line); }
.data-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.data-grid > div { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1rem 1.5rem; border-right: 1px solid var(--line); }
.data-grid > div:first-child { border-left: 1px solid var(--line); }
.data-grid span { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.data-grid strong { color: var(--red); font: 700 2.25rem var(--serif); }
.data-grid small { margin-left: .2rem; color: var(--ink); font: 700 .85rem var(--sans); }
.data-grid .data-text { color: var(--green); font-size: 1.2rem; letter-spacing: .04em; }

.section { padding: 88px 0; }
.section-title { position: relative; margin-bottom: 30px; padding-top: .85rem; border-top: 1px solid var(--green); }
.section-title::before { content: ""; position: absolute; top: -2px; left: 0; width: 72px; height: 4px; background: var(--green); }
.section-title > span,.section-title > div > span { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .2em; }
.section-title h2 { margin: .25rem 0 .35rem; font: 700 clamp(1.9rem,3.4vw,2.8rem)/1.3 var(--serif); letter-spacing: .035em; }
.section-title p { margin: 0; color: var(--muted); font-size: .92rem; }
.section-title--row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }

.issue-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.issue-tile { min-height: 116px; display: flex; align-items: center; gap: .8rem; padding: 1rem; color: var(--ink); text-align: left; background: rgba(255,253,247,.72); border: 1px solid var(--line); cursor: pointer; transition: transform .18s, border-color .18s, background .18s; }
.issue-tile:hover,.issue-tile.active { transform: translateY(-3px); background: white; border-color: var(--gold); }
.issue-mark { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--green); background: #e5e5d7; border-radius: 50%; font: 700 1.15rem var(--serif); }
.issue-tile strong { display: block; font-family: var(--serif); font-size: .95rem; line-height: 1.45; }
.issue-tile small { display: block; margin-top: .3rem; color: var(--muted); font-size: .68rem; }
.filter-reset { margin-top: 1rem; padding: .55rem .9rem; color: var(--green); background: transparent; border: 1px solid var(--green); cursor: pointer; }

.investigation-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.lead-story { min-width: 0; color: white; background: var(--green-dark); border: 1px solid var(--green-dark); }
.lead-media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.lead-story:hover img { transform: scale(1.02); }
.lead-copy { padding: clamp(24px,4vw,42px); }
.story-meta { display: flex; align-items: center; gap: .7rem; font-size: .75rem; }
.story-meta span { color: var(--red); font-weight: 800; letter-spacing: .08em; }
.lead-story .story-meta span { color: #f0c777; }
.story-meta time { color: var(--muted); }
.lead-story .story-meta time { color: #aebdb5; }
.lead-copy h3 { margin: .65rem 0 1rem; font: 700 clamp(1.6rem,3vw,2.45rem)/1.45 var(--serif); }
.lead-copy h3 a,.story-copy h3 a { text-decoration: none; }
.lead-copy p { color: #dce6df; }
.text-link { display: inline-block; margin-top: .6rem; color: #f3d792; font-size: .84rem; font-weight: 800; text-decoration: underline; text-underline-offset: .35em; }
.recent-stack { display: grid; grid-template-rows: repeat(4,1fr); gap: 12px; }
.story-card { background: var(--card); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(24,33,29,.08); }
.story-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--green); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.story-card:hover .story-media img { transform: scale(1.025); }
.story-copy { padding: 20px; }
.story-copy h3 { margin: .55rem 0; font: 700 1.1rem/1.55 var(--serif); }
.story-copy p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.story-card--compact { display: grid; grid-template-columns: 150px 1fr; min-height: 0; }
.story-card--compact .story-media { height: 100%; aspect-ratio: auto; }
.story-card--compact .story-copy { padding: 15px 17px; }
.story-card--compact .story-copy h3 { margin: .35rem 0 0; font-size: .95rem; }
.story-card--compact .story-copy p { display: none; }

.watch { padding: 60px 0; color: white; background: var(--green); border-block: 1px solid rgba(255,255,255,.12); }
.watch-grid { display: grid; grid-template-columns: 1.35fr repeat(3,.75fr); gap: 0; }
.watch-intro,.watch-item { padding: 1.1rem 2rem; border-right: 1px solid rgba(255,255,255,.2); }
.watch-intro { padding-left: 0; }
.watch-item:last-child { border-right: 0; }
.watch-kicker { color: #e5c477; font-size: .68rem; font-weight: 800; letter-spacing: .18em; }
.watch h2 { margin: .25rem 0 .7rem; font: 700 2.2rem var(--serif); }
.watch p,.watch small { color: #cbd8d0; }
.watch p { margin: 0; font-size: .86rem; line-height: 1.8; }
.watch-item { display: flex; flex-direction: column; justify-content: center; }
.watch-item span { color: #d7c99f; font-size: .72rem; }
.watch-item strong { margin: .25rem 0; font: 700 clamp(1.35rem,2.3vw,2rem) var(--serif); }
.watch-item small { font-size: .72rem; line-height: 1.5; }
.watch-status strong { color: #f0c777; }

.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.archive-grid .story-card[hidden],.investigation-grid [hidden] { display: none; }
.empty-state { padding: 3rem; color: var(--muted); text-align: center; border: 1px dashed var(--line); }

.manifesto { padding: 90px 0; color: white; background: var(--green-dark); }
.manifesto-grid { display: grid; grid-template-columns: 150px .8fr 1.2fr; gap: 54px; align-items: center; }
.manifesto-mark { width: 120px; height: 120px; margin: 0; display: grid; place-items: center; color: #f1d691; border: 1px solid #a94735; font: 700 1.55rem var(--serif); transform: rotate(-4deg); }
.manifesto span { color: #e1c270; font-size: .7rem; letter-spacing: .18em; }
.manifesto h2 { margin: .45rem 0 0; font: 700 clamp(2rem,4vw,3.3rem)/1.4 var(--serif); }
.manifesto p { color: #cbd7d0; }

.article-hero { padding: 64px 0; background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.article-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,6vw,72px); align-items: center; }
.article-hero h1 { margin: .75rem 0 1.1rem; font: 700 clamp(2.1rem,4.7vw,4.1rem)/1.34 var(--serif); letter-spacing: .015em; text-wrap: balance; }
.article-hero p { max-width: 700px; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; }
.article-hero img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 1px solid #c7bdab; box-shadow: 18px 18px 0 rgba(18,61,50,.09); }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) 270px; justify-content: space-between; gap: 68px; padding-top: 66px; padding-bottom: 80px; }
.article-body { font-family: var(--serif); font-size: 1.06rem; line-height: 2.08; }
.article-body > p:first-of-type { font-size: 1.12em; }
.article-summary { margin: 0 0 3rem; padding: 1.35rem 1.5rem; background: #ebe4d5; border-top: 4px solid var(--green); }
.article-summary span { color: var(--red); font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.article-summary p { margin: .5rem 0 0; font-size: 1rem; line-height: 1.8; }
.article-body h2 { margin: 3.4rem 0 1.25rem; padding-bottom: .75rem; font: 700 1.78rem/1.5 var(--serif); border-bottom: 2px solid var(--green); }
.article-body h3 { margin-top: 2.5rem; font: 700 1.32rem var(--serif); }
.article-body hr { margin: 3rem 0; border: 0; height: 1px; background: var(--line); }
.article-body blockquote { margin: 2rem 0; padding: 1rem 1.4rem; background: #ebe4d5; border-left: 4px solid var(--gold); }
.article-body li { margin: .45rem 0; }
.article-body a { color: #145a48; text-underline-offset: .18em; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .9rem; }
.article-body th,.article-body td { border: 1px solid var(--line); padding: .7rem; text-align: left; }
.article-body th { background: #e6ded0; }
.toc { position: sticky; top: 100px; align-self: start; padding-top: 15px; border-top: 4px solid var(--green); }
.toc strong { font-family: var(--serif); }
.toc ol { list-style: none; padding: 0; margin: .7rem 0 0; }
.toc li { margin: .7rem 0; line-height: 1.45; }
.toc a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.toc a:hover { color: var(--green); }
.related { padding: 0 0 90px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.related .story-card--compact { display: block; }
.related .story-card--compact .story-media { aspect-ratio: 16/9; }

.page-wrap { width: min(820px,calc(100% - 40px)); margin: auto; padding: 70px 0 100px; }
.page-wrap h1 { font: 700 clamp(2rem,4vw,3.2rem) var(--serif); }
.contact-form { display: grid; gap: 18px; margin-top: 2rem; }
.contact-form label { font-weight: 700; font-size: .88rem; }
.contact-form input,.contact-form textarea { width: 100%; margin-top: .35rem; padding: .9rem; border: 1px solid #bdb4a5; background: #fff; font: inherit; }
.contact-form button { width: fit-content; padding: .9rem 2rem; color: white; background: var(--green); border: 0; font-weight: 800; cursor: pointer; }
.honeypot { position: absolute; left: -9999px; }
.notice { padding: 1rem; margin-bottom: 1.5rem; background: white; border: 1px solid var(--line); }

.site-footer { padding: 55px 0 24px; color: #dce5df; background: #071f19; }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; }
.footer-title { font: 700 1.45rem var(--serif); letter-spacing: .1em; }
.site-footer p { color: #94aaa0; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 1rem 1.4rem; }
.footer-links a { color: #dce5df; font-size: .8rem; }
.copyright { margin-top: 40px; padding-top: 18px; color: #718a7e; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }

@media (max-width: 1000px) {
  .nav { gap: 1rem; }
  .brand span { display: none; }
  .issue-grid { grid-template-columns: repeat(3,1fr); }
  .watch-grid { grid-template-columns: 1fr 1fr; }
  .watch-intro { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 0 0 1.6rem; margin-bottom: 1rem; }
  .watch-item { padding-left: 0; }
  .watch-item:nth-child(3) { border-right: 0; }
  .manifesto-grid { grid-template-columns: 110px 1fr; }
  .manifesto-grid > div:last-child { grid-column: 2; }
  .article-layout { grid-template-columns: minmax(0,1fr) 230px; gap: 42px; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 64px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav.open { position: absolute; top: 64px; left: 0; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: .7rem 20px 1rem; background: var(--green-dark); border-top: 1px solid rgba(255,255,255,.14); }
  .nav.open a { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .editorial-hero,.hero-content { min-height: 560px; }
  .hero-art { background-position: 64% center; }
  .hero-art::after { background: linear-gradient(90deg,rgba(5,35,28,.92),rgba(5,35,28,.55)); }
  .hero-copy { width: 76%; }
  .investigation-grid { grid-template-columns: 1fr; }
  .recent-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .story-card--compact { grid-template-columns: 125px 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .article-hero-grid,.article-layout { grid-template-columns: 1fr; }
  .article-hero img { order: -1; max-height: 420px; }
  .toc { position: static; order: -1; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .container,.header-inner { width: min(100% - 28px,1180px); }
  .brand strong { font-size: 1.2rem; }
  .editorial-hero,.hero-content { min-height: 600px; }
  .hero-art { background-position: 68% center; }
  .hero-art::after { background: linear-gradient(180deg,rgba(5,35,28,.25) 0%,rgba(5,35,28,.74) 46%,rgba(5,35,28,.98) 100%); }
  .hero-content { align-items: end; }
  .hero-copy { width: 100%; padding: 180px 0 38px; }
  .editorial-hero h1 { font-size: clamp(2rem,10vw,3.05rem); }
  .hero-summary { font-size: .94rem; line-height: 1.75; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .data-grid > div { min-height: 82px; padding: .65rem; flex-direction: column; gap: 0; }
  .data-grid > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .data-grid strong { font-size: 1.8rem; }
  .section { padding: 62px 0; }
  .section-title--row { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .issue-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .issue-tile { min-height: 98px; padding: .75rem; gap: .55rem; }
  .issue-mark { flex-basis: 34px; width: 34px; height: 34px; font-size: 1rem; }
  .issue-tile strong { font-size: .83rem; }
  .lead-copy { padding: 24px 20px; }
  .recent-stack { grid-template-columns: 1fr; }
  .story-card--compact { grid-template-columns: 110px 1fr; min-height: 118px; }
  .story-card--compact .story-copy { padding: 12px; }
  .story-card--compact .story-copy h3 { font-size: .87rem; }
  .watch { padding: 50px 0; }
  .watch-grid { grid-template-columns: 1fr; }
  .watch-item { padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .archive-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 65px 0; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
  .manifesto-grid > div:last-child { grid-column: auto; }
  .manifesto-mark { width: 82px; height: 82px; font-size: 1.15rem; }
  .article-hero { padding: 36px 0 42px; }
  .article-hero h1 { font-size: clamp(1.9rem,9vw,2.8rem); }
  .article-hero img { box-shadow: 10px 10px 0 rgba(18,61,50,.09); }
  .article-layout { padding-top: 38px; gap: 36px; }
  .article-body { font-size: 1rem; line-height: 1.98; }
  .article-body h2 { font-size: 1.48rem; }
  .footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
