:root {
  --cherry: #9d3f3d;
  --cherry-deep: #702725;
  --ink: #171616;
  --paper: #f6f3ec;
  --white: #fffdf8;
  --line: rgba(23, 22, 22, 0.18);
  --muted: #716d68;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--white); border: 2px solid var(--ink); }
.section-pad { padding: 8rem max(5vw, 2rem); }
.eyebrow { margin: 0 0 1.25rem; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .2em; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: .75rem max(3vw, 1.25rem);
  background: rgba(246, 243, 236, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { justify-self: start; display: flex; align-items: center; gap: .75rem; }
.brand-mark { position: relative; display: block; flex-shrink: 0; width: 70px; height: 70px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--sans); font-size: .78rem; font-weight: 800; line-height: 1.05; letter-spacing: .07em; }
.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav a, .header-contact { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.site-nav a { position: relative; }
.site-nav a::after { position: absolute; right: 0; bottom: -.35rem; left: 0; height: 1px; background: var(--cherry); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-contact { justify-self: end; padding: .65rem .9rem; border: 1px solid var(--ink); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 6px 0; background: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; min-height: calc(100svh - 84px); }
.hero-copy h1 { max-width: 9.5em; margin: 0; font-size: clamp(3.6rem, 7vw, 7.8rem); font-weight: 800; line-height: 1.03; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--cherry); font-style: normal; }
.hero-lead { margin: 2rem 0 0; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.5rem; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 2.25rem; min-width: 210px; padding: 1rem 1.2rem; font-size: .86rem; font-weight: 700; line-height: 1.3; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--cherry); }
.button-primary:hover { background: var(--cherry-deep); }
.button-light { color: var(--ink); background: var(--white); }
.text-link { padding: .4rem 0; border-bottom: 1px solid var(--ink); font-size: .85rem; font-weight: 700; }
.hero-board { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 610px; padding: 2rem; overflow: hidden; color: var(--white); background: var(--cherry); border-radius: 2px; }
.court-lines { position: absolute; inset: 1.25rem; opacity: .32; border: 1px solid white; }
.court-lines::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: white; content: ""; }
.court-lines::after { position: absolute; top: 27%; right: 0; bottom: 27%; left: 0; border-top: 1px solid white; border-bottom: 1px solid white; content: ""; }
.board-kicker, .board-items, .board-note, .board-logo { position: relative; z-index: 1; }
.board-kicker { margin: 0; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .2em; }
.board-logo { align-self: center; width: 190px; height: 190px; filter: brightness(0) invert(1); transform: rotate(-4deg); }
.board-items { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.45); }
.board-items div { display: flex; flex-direction: column; padding: .9rem .4rem; border-right: 1px solid rgba(255,255,255,.45); }
.board-items div:last-child { border-right: 0; }
.board-items span, .board-items small { font-family: var(--sans); font-size: .6rem; letter-spacing: .09em; }
.board-items strong { margin: .15rem 0; font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; }
.board-note { align-self: flex-end; margin: 0; text-align: right; font-size: .82rem; font-weight: 600; line-height: 1.7; }

.ticker { overflow: hidden; color: var(--white); background: var(--ink); }
.ticker-track { display: flex; align-items: center; width: max-content; padding: 1rem 0; animation: ticker 28s linear infinite; }
.ticker span { margin: 0 2.25rem; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .2em; }
.ticker i { color: var(--cherry); font-size: .45rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section-heading h2, .about h2, .analyst h2, .radio h2, .connect h2 { margin: 0; font-size: clamp(2.6rem, 4.6vw, 5.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
.section-heading > p { max-width: 36rem; margin: 0; color: var(--muted); }
.signal-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border-top: 1px solid var(--ink); }
.signal-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-card:first-child { border-left: 1px solid var(--line); }
.signal-featured { color: var(--white); background: var(--cherry); border-color: var(--cherry); }
.signal-number { font-family: var(--sans); font-size: .7rem; font-weight: 700; }
.card-label { margin: 0 0 1rem; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.signal-card h3 { margin: 0 0 1.25rem; font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.4; }
.signal-card p:not(.card-label) { color: var(--muted); font-size: .9rem; }
.signal-featured p:not(.card-label) { color: rgba(255,255,255,.77); }
.signal-card a { display: inline-flex; justify-content: space-between; width: 100%; margin-top: 1.75rem; padding-top: .8rem; border-top: 1px solid currentColor; font-size: .78rem; font-weight: 700; }

.journal { background: var(--white); }
.journal-heading { align-items: center; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.filter { padding: .55rem .9rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 99px; font-size: .75rem; font-weight: 700; cursor: pointer; }
.filter.is-active, .filter:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.journal-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.article-card { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; min-height: 420px; padding: 1.75rem; text-align: left; background: var(--paper); border: 0; cursor: pointer; transition: background .25s, color .25s; }
.article-card:hover { color: var(--white); background: var(--cherry); }
.article-wide { grid-row: span 2; min-height: 841px; background: var(--cherry); color: var(--white); }
.article-dark { color: var(--white); background: var(--ink); }
.article-meta, .article-index, .article-open { font-family: var(--sans); font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.article-index { grid-column: 2; }
.article-title { grid-column: 1 / -1; align-self: end; margin-bottom: 1.5rem; font-size: clamp(2rem, 3.5vw, 4.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.05em; }
.article-card:not(.article-wide) .article-title { font-size: clamp(1.7rem, 2.5vw, 2.8rem); }
.article-summary { grid-column: 1 / -1; max-width: 37rem; color: var(--muted); font-size: .9rem; }
.article-wide .article-summary, .article-dark .article-summary { color: rgba(255,255,255,.73); }
.article-open { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid currentColor; }
.article-card[hidden] { display: none; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); background: var(--paper); }
.about h2 { max-width: 10em; }
.about-body { padding-top: 2.5rem; }
.about-body > p { max-width: 42rem; color: var(--muted); }
.about-body .about-lead { color: var(--ink); font-size: clamp(1.2rem, 1.7vw, 1.65rem); font-weight: 600; line-height: 1.8; }
.motto { display: flex; flex-direction: column; margin-top: 3.5rem; padding: 2rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.motto span { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .18em; }
.motto strong { margin: .6rem 0 .2rem; color: var(--cherry); font-family: var(--sans); font-size: clamp(1.4rem, 2.2vw, 2.25rem); }
.motto small { color: var(--muted); font-size: .74rem; }

.projects { color: var(--white); background: var(--ink); }
.projects .section-heading > p { color: rgba(255,255,255,.58); }
.project-list { border-top: 1px solid rgba(255,255,255,.28); }
.project-row { display: grid; grid-template-columns: 60px minmax(240px, 1fr) minmax(280px, 1fr) auto; gap: 2rem; align-items: center; min-height: 150px; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.project-no, .project-row div p, .project-tag { font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .15em; }
.project-row div p { margin: 0 0 .35rem; color: rgba(255,255,255,.46); }
.project-row h3 { margin: 0; font-family: var(--sans); font-size: clamp(1.45rem, 2.4vw, 2.5rem); line-height: 1.2; }
.project-row > p { margin: 0; color: rgba(255,255,255,.6); font-size: .85rem; }
.project-tag { padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.42); border-radius: 99px; }

.analyst { background: var(--cherry); }
.analyst-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); color: var(--white); }
.analyst-intro h2 span { display: inline-block; margin-top: 1rem; font-family: var(--sans); font-size: .25em; font-weight: 600; letter-spacing: .08em; }
.analyst-intro > p { max-width: 38rem; color: rgba(255,255,255,.78); }
.analyst-intro .button { margin-top: 1.75rem; }
.analyst-career { padding-top: 1rem; }
.career-title { margin: 0 0 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.55); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.analyst-career ol { margin: 0; padding: 0; list-style: none; }
.analyst-career li { display: grid; grid-template-columns: 85px 1fr; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.analyst-career span { grid-row: 1 / 3; font-family: var(--sans); font-size: .68rem; font-weight: 700; }
.analyst-career strong { font-size: .96rem; }
.analyst-career small { color: rgba(255,255,255,.62); font-size: .7rem; }

.radio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; background: var(--white); }
.radio-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; color: var(--white); background: var(--ink); border-radius: 50%; }
.radio-visual p { z-index: 2; margin: 0; text-align: center; font-family: var(--sans); font-size: clamp(3rem, 8vw, 8rem); font-weight: 800; line-height: .82; letter-spacing: -.08em; }
.radio-dot { position: absolute; z-index: 3; top: 24%; right: 24%; width: 18px; height: 18px; background: var(--cherry); border-radius: 50%; box-shadow: 0 0 0 8px rgba(157,63,61,.2); }
.wave { position: absolute; width: 52%; height: 52%; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; animation: pulse 3s ease-out infinite; }
.wave-two { animation-delay: 1s; }
.wave-three { animation-delay: 2s; }
@keyframes pulse { from { opacity: .7; transform: scale(.45); } to { opacity: 0; transform: scale(1.9); } }
.radio-lead { margin: 1.5rem 0; font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.6; }
.radio-copy > p:not(.eyebrow, .radio-lead) { max-width: 38rem; color: var(--muted); }
.radio-copy .button { margin-top: 2rem; }
.radio-external-link { display: inline-flex; gap: .65rem; margin: 1.5rem 0 0 1.25rem; padding-bottom: .2rem; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 700; }

.connect { text-align: center; }
.connect > p:not(.eyebrow) { max-width: 42rem; margin: 2rem auto 4rem; color: var(--muted); }
.connect-links { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--ink); }
.connect-links a { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem .2rem; border-bottom: 1px solid var(--ink); font-family: var(--sans); font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 700; transition: padding .2s, color .2s; }
.connect-links a:hover { padding-right: .75rem; padding-left: .75rem; color: var(--cherry); }

.site-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 3rem max(3vw, 1.25rem); color: var(--white); background: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--sans); font-size: .95rem; letter-spacing: .07em; }
.footer-brand small { color: rgba(255,255,255,.56); font-size: .68rem; }
.footer-meta { display: flex; gap: 2rem; color: rgba(255,255,255,.58); font-family: var(--sans); font-size: .65rem; font-weight: 700; letter-spacing: .08em; }

.article-dialog { width: min(760px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; color: var(--ink); background: var(--white); border: 0; }
.article-dialog::backdrop { background: rgba(23,22,22,.75); backdrop-filter: blur(6px); }
.dialog-shell { position: relative; padding: clamp(2rem, 6vw, 5rem); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--ink); border-radius: 50%; cursor: pointer; }
.dialog-meta { color: var(--cherry); font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.article-dialog h2 { margin: 1rem 0 2rem; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; letter-spacing: -.05em; }
.dialog-body p { margin: 0 0 1.5rem; color: #57534f; }
.dialog-body p:first-child { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.dialog-sign { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--ink); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: block; justify-self: end; }
  .header-contact { display: none; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-board { min-height: 520px; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card { min-height: 340px; border-left: 1px solid var(--line); }
  .about, .analyst-panel, .radio { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .article-wide { grid-row: auto; min-height: 520px; }
  .project-row { grid-template-columns: 45px 1fr auto; }
  .project-row > p { grid-column: 2 / -1; }
  .radio-visual { max-width: 600px; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
  .section-pad { padding: 5.5rem 1.25rem; }
  .site-header { min-height: 70px; }
  .brand-mark { width: 60px; height: 60px; }
  .brand-name { font-size: .68rem; }
  .hero { min-height: auto; gap: 3.5rem; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-lead br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1rem; }
  .button { min-width: 0; width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-board { min-height: 470px; padding: 1.4rem; }
  .board-logo { width: 150px; height: 150px; }
  .section-heading { margin-bottom: 2.75rem; }
  .section-heading h2, .about h2, .analyst h2, .radio h2, .connect h2 { font-size: 2.8rem; }
  .filters { justify-content: flex-start; }
  .article-card, .article-wide { min-height: 420px; }
  .article-title, .article-card:not(.article-wide) .article-title { font-size: 2.35rem; }
  .about-body { padding-top: 0; }
  .project-row { grid-template-columns: 34px 1fr; gap: 1rem; padding: 1.6rem 0; }
  .project-tag { display: none; }
  .project-row > p { grid-column: 2; }
  .analyst-career li { grid-template-columns: 72px 1fr; }
  .radio { display: flex; flex-direction: column; }
  .radio-external-link { margin-left: 0; }
  .radio-visual { order: 2; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-direction: column; gap: .5rem; }
}

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