/* 志の先 — typographic editorial identity */
:root {
  --bg: #f5f0e7;
  --surface: #faf7f0;
  --surface-2: #eee4d7;
  --text: #24211e;
  --muted: #554d46;
  --subtle: #756b62;
  --line: rgba(36, 33, 30, .24);
  --accent: #ad3f2d;
  --accent-bright: #8b2f20;
  --pistachio: #eadbd0;
}

body { background: var(--bg); color: var(--text); }
::selection { background: #e9b9a5; color: var(--text); }
.site-header { border-bottom: 1px solid var(--text); background: var(--bg); backdrop-filter: none; }
.header-inner { min-height: 86px; }
.brand { gap: 13px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: var(--accent);
  color: #fffaf2;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 25px;
  font-weight: 700;
}
.brand-word { color: var(--text); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 25px; font-weight: 700; letter-spacing: .03em; }
.brand-word small { color: var(--accent); font-size: 9px; letter-spacing: .16em; }
.brand:hover .brand-word { color: var(--text); }
.primary-nav a { color: var(--text); font-size: 13px; font-weight: 700; }
.primary-nav a:hover { color: var(--accent); }
.button { border-radius: 0; }
.button-primary { background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.button-quiet { border-color: var(--text); }
.eyebrow, .section-index { color: var(--accent); }

/* A cover built around the character 志 */
.home-intro { display: block; min-height: 0; padding-block: 0; overflow: hidden; }
.home-intro::before { content: none; }
.intro-issue {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}
.intro-issue span:first-child { color: var(--accent); }
.intro-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  min-height: 575px;
}
.intro-copy { display: block; padding: 69px 30px 74px 0; }
.intro-kicker { margin: 0; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .2em; }
.home-intro h1, .about-section h2, .article-hero h1, .story-section h2, .article-endcap h2, .section-heading h2, .feature-content h3, .next-story h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-weight: 700;
}
.home-intro h1 {
  margin: 25px 0 26px;
  font-size: clamp(46px, 5.1vw, 74px);
  line-height: 1.42;
  letter-spacing: -.07em;
}
.home-intro h1 em, .article-hero h1 em { color: var(--accent); }
.intro-deck { max-width: 590px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2.05; }
.text-link {
  display: inline-flex;
  gap: 35px;
  margin-top: 33px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  font-size: 15px;
}
.text-link span { color: var(--accent); }
.text-link:hover { background: transparent; color: var(--accent-bright); border-color: var(--accent-bright); transform: none; }
.intro-kanji {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, #eee2d4 0 40%, transparent 70%);
}
.intro-kanji::before {
  content: "";
  position: absolute;
  width: min(78%, 410px);
  aspect-ratio: 1;
  border: 1px solid #c8b6a7;
  border-radius: 50%;
}
.intro-kanji::after {
  content: "";
  position: absolute;
  inset: 12% 50% 12% auto;
  border-left: 1px solid #d7c9ba;
}
.intro-kanji span {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(260px, 29vw, 420px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.11em;
  transform: translateX(-.05em);
}
.intro-kanji small { position: absolute; right: 5%; bottom: 5%; color: var(--accent); font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.intro-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.intro-bottom span:first-child { color: var(--accent); font-family: Arial, sans-serif; }

.home-field { padding-top: 26px; }
.home-field .intro-visual { width: 100%; aspect-ratio: 3.2; margin: 0; border-radius: 0; box-shadow: none; }
.home-field .intro-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; filter: grayscale(.42) sepia(.13) contrast(1.05); }
.home-field .intro-visual figcaption { padding: 30px 22px 16px; font-size: 11px; letter-spacing: .04em; }
.home-field .intro-visual figcaption span:first-child { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 19px; font-weight: 700; }
.topic-strip { min-height: 76px; border-bottom-color: var(--text); }
.topic-strip span:not(:first-child)::before { background: var(--accent); }

/* Stories read like a magazine issue */
.stories-section { padding-top: 86px; }
.section-heading { border-bottom-color: var(--text); }
.section-heading h2 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -.05em; }
.feature-card { margin-top: 28px; border: 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); border-radius: 0; background: transparent; box-shadow: none; }
.feature-image-link img { filter: saturate(.8); }
.image-credit { border-radius: 0; background: rgba(36, 33, 30, .85); }
.feature-content { padding: clamp(38px, 5vw, 74px); }
.feature-number { color: var(--accent); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 57px; font-weight: 700; }
.feature-number span { color: var(--subtle); font-family: Arial, sans-serif; font-size: 16px; }
.card-tag { margin-top: 36px; padding: 4px 0; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); border-radius: 0; background: transparent; color: var(--accent); font-size: 12px; }
.feature-content h3 { font-size: clamp(29px, 3vw, 42px); line-height: 1.58; }
.feature-content h3 a:hover { color: var(--accent); }
.next-story { border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: transparent; padding-inline: 0; }
.next-story-image { border-radius: 0; }
.next-story h3 { font-size: clamp(20px, 2vw, 27px); }
.about-section { background: var(--text); }
.about-section .eyebrow { color: #e7aa92; }
.about-section p:not(.eyebrow) { color: #d8cfc4; }

/* Reading pages use the same paper, ink and vermilion */
.article-hero h1 { font-size: clamp(37px, 4vw, 60px); line-height: 1.53; }
.article-hero-figure img, .inline-figure img { border-radius: 0; }
.article-layout { border-top-color: var(--text); }
.article-content p { color: #423b35; }
.article-content strong { color: var(--text); }
.video-section { border-radius: 0; }
.video-frame { border-radius: 0; }
.story-section h2 { line-height: 1.56; }
.fact-card { border-radius: 0; }
.article-endcap h2 { line-height: 1.5; }
.article-endcap img { border-radius: 0; }
.site-footer { background: var(--text); }
.footer-brand { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
.footer-inner > span:nth-child(2), .footer-inner > a:last-child { color: #d4cac0; }
.footer-inner > span:nth-child(2) a { color: #e7aa92; }

@media (max-width: 950px) {
  .intro-main { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); min-height: 500px; }
  .home-intro h1 { font-size: clamp(41px, 5.5vw, 57px); }
  .intro-kanji span { font-size: clamp(220px, 28vw, 300px); }
}
@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .brand-mark { width: 36px; height: 36px; font-size: 22px; }
  .brand-word { font-size: 20px; }
  .intro-issue { font-size: 9px; }
  .intro-issue span:last-child { display: none; }
  .intro-main { position: relative; display: block; min-height: 0; }
  .intro-copy { position: relative; z-index: 2; padding: 56px 0 64px; }
  .home-intro h1 { max-width: 570px; font-size: clamp(43px, 7.5vw, 58px); }
  .intro-kanji { position: absolute; top: 22px; right: -28px; width: 210px; height: 210px; border: 0; background: none; opacity: .15; }
  .intro-kanji::before, .intro-kanji::after, .intro-kanji small { display: none; }
  .intro-kanji span { font-size: 190px; }
  .home-field { padding-top: 18px; }
  .home-field .intro-visual { aspect-ratio: 1.55; }
  .topic-strip { padding-block: 18px; }
  .stories-section { padding-top: 64px; }
  .feature-content { padding: 30px 24px 36px; }
}
@media (max-width: 480px) {
  .intro-issue { letter-spacing: .08em; }
  .intro-copy { padding: 44px 0 50px; }
  .intro-kicker { font-size: 12px; }
  .home-intro h1 { margin: 20px 0; font-size: clamp(38px, 10vw, 49px); line-height: 1.5; }
  .intro-deck { font-size: 14px; line-height: 1.95; }
  .intro-kanji { top: 40px; right: -45px; width: 170px; height: 170px; }
  .intro-kanji span { font-size: 150px; }
  .intro-bottom { font-size: 10px; }
  .intro-bottom span:last-child { display: none; }
  .home-field .intro-visual { aspect-ratio: 1.08; }
  .home-field .intro-visual figcaption span:first-child { font-size: 14px; }
  .topic-strip { gap: 8px 15px; }
  .section-heading h2 { font-size: 32px; }
  .feature-number { font-size: 51px; }
  .feature-content h3 { font-size: 27px; }
}
