:root {
  --ink: #07090d;
  --ink-2: #0c1119;
  --paper: #f2efe6;
  --muted: #aeb8c7;
  --line: rgba(242, 239, 230, 0.18);
  --blue: #2aa8ff;
  --red: #ff493d;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.025em;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--blue); }

.progress {
  position: fixed;
  z-index: 200;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.8);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; }
.brand-mark { width: 34px; height: 34px; border: 1px solid var(--paper); border-radius: 50%; position: relative; }
.brand-mark::before,
.brand-mark::after { content: ""; position: absolute; left: 8px; right: 8px; height: 1px; transform-origin: center; }
.brand-mark::before { top: 12px; background: var(--blue); transform: rotate(-28deg); }
.brand-mark::after { top: 20px; background: var(--red); transform: rotate(28deg); }
.brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .2em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.site-nav a { position: relative; padding: 8px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .25s ease; }
.site-nav a:hover::after { right: 0; }
.menu-button { display: none; color: var(--paper); background: transparent; border: 1px solid var(--line); padding: 8px 11px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { position: relative; padding: clamp(88px, 11vw, 156px) 0; overflow: hidden; }
.section-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 42px; height: 2px; background: currentColor; }
.section-title { margin: 0; max-width: 900px; font-size: clamp(40px, 7vw, 92px); line-height: 1.03; letter-spacing: -.055em; font-weight: 900; }
.section-title em { color: transparent; -webkit-text-stroke: 1px rgba(242,239,230,.55); font-style: normal; }
.lead { max-width: 760px; margin: 28px 0 0; color: #c7ced8; font-size: clamp(16px, 2vw, 20px); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 128px 0 clamp(48px, 8vw, 100px);
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; z-index: -3; inset: 0; background: url("./hero-sprint-clinic.png") 66% center / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,9,13,.98) 0%, rgba(7,9,13,.9) 34%, rgba(7,9,13,.2) 72%, rgba(7,9,13,.2) 100%), linear-gradient(0deg, rgba(7,9,13,.88), transparent 45%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 44px; align-items: end; }
.eyebrow { margin: 0 0 26px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .28em; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(54px, 8.5vw, 128px); line-height: .94; letter-spacing: -.075em; font-weight: 900; text-wrap: balance; }
.hero h1 .accent { color: var(--red); }
.hero-copy { max-width: 610px; margin: 32px 0 0; color: #d0d6df; font-size: clamp(15px, 1.7vw, 19px); }
.hero-side { border-left: 1px solid var(--line); padding-left: 28px; }
.hero-side span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hero-side strong { display: block; margin: 4px 0 20px; font-size: 22px; line-height: 1.2; }
.scroll-cue { position: absolute; right: clamp(20px, 4vw, 64px); bottom: 24px; writing-mode: vertical-rl; color: var(--muted); font-size: 9px; letter-spacing: .25em; }
.scroll-cue::after { content: ""; display: inline-block; width: 1px; height: 60px; margin-top: 12px; background: linear-gradient(var(--blue), transparent); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #080d14; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { padding: 17px 24px; white-space: nowrap; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.ticker b { color: var(--red); margin-right: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.split { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 10vw, 130px); align-items: start; }
.portrait-card { position: sticky; top: 110px; min-height: 560px; border: 1px solid var(--line); background: linear-gradient(150deg, #111824, #07090d 62%); overflow: hidden; }
.portrait-card::before { content: "11.34"; position: absolute; right: -4px; bottom: -38px; color: rgba(255,255,255,.055); font: 900 clamp(100px, 17vw, 210px)/1 sans-serif; letter-spacing: -.09em; }
.portrait-card::after { content: ""; position: absolute; left: 14%; top: -10%; width: 1px; height: 120%; background: var(--red); transform: rotate(15deg); box-shadow: 88px 0 0 rgba(42,168,255,.42), 176px 0 0 rgba(242,239,230,.08); }
.portrait-copy { position: absolute; inset: auto 34px 34px; z-index: 2; }
.portrait-copy p { margin: 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.portrait-copy h3 { margin: 6px 0 0; font-size: clamp(44px, 6vw, 74px); line-height: 1; }
.profile-copy p { color: #c6ced8; }
.profile-copy .large { margin-top: 0; color: var(--paper); font-size: clamp(23px, 3vw, 38px); line-height: 1.55; font-weight: 700; letter-spacing: -.02em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-block: 1px solid var(--line); }
.stat { padding: 22px 12px 22px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(28px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.stat span { color: var(--muted); font-size: 10px; letter-spacing: .14em; }

.expertise { background: var(--paper); color: var(--ink); }
.expertise .section-kicker { color: #086ba5; }
.expertise .section-title em { -webkit-text-stroke-color: rgba(7,9,13,.35); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border: 1px solid rgba(7,9,13,.2); }
.expert-card { position: relative; min-height: 450px; padding: 34px; overflow: hidden; }
.expert-card + .expert-card { border-left: 1px solid rgba(7,9,13,.2); }
.expert-card::before { content: attr(data-num); position: absolute; right: 18px; top: -28px; color: rgba(7,9,13,.065); font-size: 150px; font-weight: 900; line-height: 1; }
.expert-card h3 { position: relative; margin: 150px 0 22px; font-size: 32px; line-height: 1.25; }
.expert-card p { color: #46505b; }
.expert-card ul { list-style: none; padding: 0; margin: 26px 0 0; }
.expert-card li { padding: 9px 0; border-top: 1px solid rgba(7,9,13,.14); font-size: 13px; font-weight: 700; }
.expert-card:nth-child(2) { background: #0b75b4; color: white; }
.expert-card:nth-child(2) p { color: #d7efff; }
.expert-card:nth-child(2) li { border-color: rgba(255,255,255,.2); }
.expert-card:nth-child(3) { background: var(--red); color: #fff; }
.expert-card:nth-child(3) p { color: #ffe1de; }
.expert-card:nth-child(3) li { border-color: rgba(255,255,255,.25); }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; counter-reset: method; }
.method-step { counter-increment: method; padding: 30px 30px 50px 0; border-top: 1px solid var(--line); }
.method-step + .method-step { padding-left: 30px; border-left: 1px solid var(--line); }
.method-step::before { content: "0" counter(method); color: var(--blue); font: 800 12px/1 sans-serif; letter-spacing: .2em; }
.method-step h3 { margin: 52px 0 12px; font-size: 30px; }
.method-step p { margin: 0; color: var(--muted); font-size: 14px; }

.articles { background: #090e16; }
.article-list { margin-top: 70px; }
.article-card { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 390px; border-top: 1px solid var(--line); transition: background .3s ease; }
.article-card:last-child { border-bottom: 1px solid var(--line); }
.article-card:hover { background: rgba(255,255,255,.025); }
.article-media { position: relative; overflow: hidden; }
.article-media img { height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .3s; }
.article-card:hover img { transform: scale(1.035); filter: saturate(1); }
.article-number { position: absolute; left: 18px; top: 15px; color: white; font: 900 64px/1 sans-serif; letter-spacing: -.08em; text-shadow: 0 4px 30px #000; }
.article-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 76px); }
.tag { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.article-body h3 { margin: 18px 0; font-size: clamp(28px, 4vw, 52px); line-height: 1.2; letter-spacing: -.035em; }
.article-body p { margin: 0 0 28px; color: var(--muted); }
.read-more { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.read-more::after { content: "→"; color: var(--red); font-size: 22px; transition: transform .25s; }
.article-card:hover .read-more::after { transform: translateX(8px); }

.manifesto { min-height: 72vh; display: grid; place-items: center; text-align: center; background: var(--red); }
.manifesto p { margin: 0; max-width: 1050px; color: white; font-size: clamp(40px, 7.5vw, 104px); line-height: 1.08; letter-spacing: -.055em; font-weight: 900; }
.manifesto span { color: var(--ink); }

.site-footer { padding: 58px 0 28px; background: #05070a; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-top h2 { margin: 0; font-size: clamp(34px, 6vw, 78px); line-height: 1; letter-spacing: -.05em; }
.footer-top p { max-width: 420px; margin: 0; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; color: #7f8996; font-size: 10px; letter-spacing: .12em; }

/* Article pages */
.article-hero { position: relative; min-height: 82svh; display: grid; align-items: end; padding: 150px 0 74px; isolation: isolate; overflow: hidden; }
.article-hero::before { content: ""; position: absolute; z-index: -3; inset: 0; background: var(--article-image) center / cover no-repeat; }
.article-hero::after { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,9,13,.97), rgba(7,9,13,.63) 55%, rgba(7,9,13,.28)), linear-gradient(0deg, var(--ink), transparent 55%); }
.article-hero-inner { max-width: 980px; }
.article-hero .breadcrumb { color: #bac4d1; font-size: 11px; letter-spacing: .13em; }
.article-hero h1 { margin: 28px 0 24px; font-size: clamp(48px, 7.5vw, 104px); line-height: 1.08; letter-spacing: -.055em; }
.article-hero p { max-width: 740px; margin: 0; color: #d2d8e1; font-size: clamp(16px, 2vw, 20px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 32px; color: #b6c0cc; font-size: 11px; letter-spacing: .08em; }
.article-shell { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: clamp(40px, 8vw, 110px); justify-content: center; padding: 90px 20px 130px; }
.toc { position: sticky; top: 110px; align-self: start; padding-left: 20px; border-left: 1px solid var(--line); }
.toc strong { display: block; margin-bottom: 18px; color: var(--blue); font-size: 10px; letter-spacing: .2em; }
.toc a { display: block; padding: 7px 0; color: #8f9aa8; font-size: 12px; line-height: 1.5; }
.toc a:hover { color: var(--paper); }
.prose { color: #c8d0da; font-size: 16px; }
.prose > p:first-child { margin-top: 0; color: var(--paper); font-size: clamp(20px, 2.5vw, 26px); line-height: 1.8; }
.prose h2 { scroll-margin-top: 110px; margin: 90px 0 28px; color: var(--paper); font-size: clamp(32px, 5vw, 56px); line-height: 1.25; letter-spacing: -.035em; }
.prose h2::before { content: ""; display: block; width: 52px; height: 4px; margin-bottom: 22px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.prose h3 { margin: 52px 0 18px; color: var(--paper); font-size: 25px; line-height: 1.4; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose table { width: 100%; margin: 34px 0 44px; border-collapse: collapse; font-size: 14px; }
.prose th { color: var(--paper); background: #111927; text-align: left; }
.prose th, .prose td { padding: 16px; border: 1px solid var(--line); vertical-align: top; }
.prose .alert { margin: 38px 0; padding: 24px 26px; border-left: 4px solid var(--red); background: rgba(255,73,61,.09); color: #f1d6d3; }
.prose .note { margin: 38px 0; padding: 24px 26px; border-left: 4px solid var(--blue); background: rgba(42,168,255,.08); }
.prose .source-list { margin-top: 36px; padding: 0; list-style: none; }
.prose .source-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.prose .source-list a { color: #85ceff; text-decoration: underline; text-underline-offset: 4px; }
.article-end { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.back-link { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { min-height: 66px; }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 66px 0 auto; display: none; padding: 22px; flex-direction: column; align-items: flex-start; background: #080c12; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .portrait-card { position: relative; top: auto; min-height: 420px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expert-card { min-height: auto; }
  .expert-card + .expert-card { border-left: 0; border-top: 1px solid rgba(7,9,13,.2); }
  .expert-card h3 { margin-top: 105px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .article-card { grid-template-columns: 1fr; }
  .article-media { min-height: 330px; }
  .article-shell { grid-template-columns: minmax(0, 760px); }
  .toc { display: none; }
}

@media (max-width: 600px) {
  .brand { font-size: 12px; }
  .hero { min-height: 920px; }
  .hero::before { background-position: 68% center; }
  .hero::after { background: linear-gradient(0deg, rgba(7,9,13,.98) 10%, rgba(7,9,13,.45) 75%, rgba(7,9,13,.7)); }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .method-grid { grid-template-columns: 1fr; }
  .method-step + .method-step { padding-left: 0; border-left: 0; }
  .article-media { min-height: 250px; }
  .footer-top, .footer-bottom, .article-end { flex-direction: column; align-items: flex-start; }
  .article-hero { min-height: 90svh; }
  .article-shell { padding-top: 64px; }
  .prose table { display: block; overflow-x: auto; }
}

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