:root {
  --paper: #f5f1e8;
  --white: #fffef9;
  --ink: #17201d;
  --muted: #626a65;
  --line: #c9c5ba;
  --dark: #10241d;
  --acid: #d7f743;
  --red: #ef5a3c;
  --blue: #3b70ab;
  --orange: #e76d3f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif; font-feature-settings: "palt"; line-height: 1.8; }
a { color: inherit; }
em { font-style: normal; }
code { padding: .1em .35em; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: var(--acid); font-family: ui-monospace, monospace; font-size: .9em; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 9px 13px; transform: translateY(-160%); color: white; background: var(--ink); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 72px;
  padding: 0 4vw;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23,32,29,.16);
  background: rgba(245,241,232,.92);
  backdrop-filter: blur(15px);
}

.brand { display: inline-flex; width: fit-content; align-items: center; gap: 11px; font-size: 13px; font-weight: 900; text-decoration: none; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; color: var(--dark); background: var(--acid); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 950; }
.site-header nav { display: flex; align-items: center; gap: 13px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.site-header nav a { text-decoration: none; }
.site-header nav b { color: var(--red); }

.story-hero {
  display: grid;
  min-height: calc(100vh - 72px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 145px) 5vw;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.eyebrow, .section-number {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.story-hero h1, .premise h2, .timeline-heading h2, .reaction-section h2, .materials-heading h2, .handoff h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.3;
}

.story-hero h1 { font-size: clamp(45px, 5.6vw, 78px); }
.story-hero h1 em, .reaction-section h2 em, .handoff h2 em { color: var(--red); }
.lead { margin: 34px 0 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 2.1; }

.sentence-preview { padding: 34px; transform: rotate(1deg); border: 1px solid var(--ink); background: var(--white); box-shadow: 15px 18px 0 rgba(16,36,29,.1); }
.sentence-preview > span { color: var(--red); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.sentence-preview p { margin: 38px 0 30px; font-family: Georgia, serif; font-size: clamp(23px, 3vw, 38px); line-height: 1.55; }
.sentence-preview small { color: var(--muted); font-size: 10px; font-weight: 700; }

.premise {
  display: grid;
  padding: 100px max(5vw, calc((100vw - 1050px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  grid-template-columns: .55fr 1.45fr;
  gap: 70px;
}

.premise h2 { font-size: clamp(34px, 4.3vw, 56px); }
.premise p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.premise p + p { margin-top: 13px; color: var(--ink); font-weight: 700; }

.timeline-section { padding: 125px max(5vw, calc((100vw - 1180px) / 2)); }
.timeline-heading { display: grid; margin-bottom: 45px; grid-template-columns: .55fr 1.45fr; gap: 70px; align-items: end; }
.timeline-heading .section-number { margin: 0; }
.timeline-heading h2 { font-size: clamp(38px, 5vw, 65px); }

.story-timeline { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.story-timeline > li {
  display: grid;
  min-height: 280px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 100px 1.1fr .9fr;
  gap: 38px;
  align-items: center;
}

.step { align-self: start; padding-top: 6px; }
.step span { display: block; color: var(--red); font-family: Georgia, serif; font-size: 27px; font-weight: 700; }
.step small { color: var(--muted); font-size: 9px; font-weight: 800; }

.event h3 { margin: 0 0 14px; font-family: "Yu Mincho", Georgia, serif; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.5; }
.event > p { margin: 0; color: var(--muted); font-size: 13px; }
.event .english { margin-top: 25px; color: var(--ink); font-family: Georgia, serif; font-size: 17px; font-style: italic; }
.event blockquote { margin: 0 0 12px; color: var(--red); font-family: Georgia, serif; font-size: clamp(19px, 2.3vw, 28px); }

.visual { display: flex; min-height: 180px; padding: 25px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); }
.youtube-start { position: relative; flex-direction: column; gap: 16px; }
.youtube-start > span { display: grid; width: 54px; height: 40px; place-items: center; border-radius: 10px; color: white; background: var(--red); }
.youtube-start i { width: 75%; height: 7px; background: #d9d8d0; }
.youtube-start i:last-child { width: 54%; }

.recommendation-loop { gap: 8px; }
.recommendation-loop span { padding: 15px 9px; border: 1px solid var(--ink); font-family: ui-monospace, monospace; font-size: 8px; font-weight: 900; }
.recommendation-loop span:nth-of-type(2) { color: white; background: var(--dark); }
.recommendation-loop b { color: var(--red); }

.change-meter { flex-direction: column; align-items: stretch; gap: 14px; }
.change-meter span, .change-meter b { font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .1em; }
.change-meter b { color: var(--red); text-align: right; }
.change-meter i { position: relative; height: 10px; background: linear-gradient(90deg, #d9d8d0, var(--red)); }
.change-meter i::after { position: absolute; top: -5px; left: 73%; width: 3px; height: 20px; background: var(--ink); content: ""; }

.speech-loop { align-items: stretch; flex-direction: column; gap: 8px; }
.speech-loop span { padding: 8px 12px; border: 1px solid var(--red); border-radius: 99px; color: var(--red); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; text-align: center; }
.speech-loop span:nth-child(2) { margin-left: 25px; color: white; background: var(--red); }
.speech-loop span:nth-child(3) { margin-left: 52px; }

.reaction-section {
  display: grid;
  padding: 120px max(5vw, calc((100vw - 1080px) / 2));
  color: white;
  background: var(--dark);
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}

.section-number.light { color: #9eb0a9; }
.reaction-section h2 { color: white; font-size: clamp(38px, 4.7vw, 61px); }
.reaction-copy > p { margin: 0; color: #b9c7c1; font-size: 13px; }
.reaction-copy blockquote { margin: 28px 0; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); font-family: "Yu Mincho", Georgia, serif; font-size: clamp(21px, 2.7vw, 31px); font-weight: 700; line-height: 1.8; }

.materials-section {
  display: grid;
  padding: 120px max(5vw, calc((100vw - 1120px) / 2));
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
}

.materials-heading h2 { font-size: clamp(36px, 4.4vw, 56px); }
.materials-heading > p:last-child { margin: 25px 0 0; color: var(--muted); font-size: 13px; }
.materials { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.materials li { display: grid; min-height: 85px; padding: 17px 8px; border-bottom: 1px solid var(--line); grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: center; }
.materials span { color: var(--muted); font-size: 10px; font-weight: 800; }
.materials b { font-family: Georgia, serif; font-size: clamp(18px, 2vw, 24px); }

.handoff { padding: 125px max(5vw, calc((100vw - 940px) / 2)); color: white; background: var(--red); text-align: center; }
.handoff h2 { font-size: clamp(42px, 5.6vw, 72px); }
.handoff h2 em { color: var(--acid); }
.handoff-lead { max-width: 720px; margin: 30px auto 45px; font-size: 14px; line-height: 2; }

.target-sentence { padding: 30px; border: 1px solid rgba(255,255,255,.45); background: rgba(16,36,29,.15); text-align: left; }
.target-sentence > span { color: var(--acid); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.target-sentence > p { display: flex; margin: 20px 0 0; align-items: flex-start; flex-wrap: wrap; gap: 9px; font-family: Georgia, serif; font-size: clamp(19px, 2.5vw, 30px); }
.with-block, .about-block { display: inline-grid; padding: 10px; border: 2px solid #ffc1af; border-radius: 9px; grid-template-columns: auto 1fr; gap: 9px; font-weight: 500; }
.with-block > i, .about-block > i { color: #ffe1d8; font-family: ui-monospace, monospace; font-size: 9px; font-style: normal; font-weight: 900; }
.about-block { margin-top: 9px; border-color: #bcd9ff; }
.about-block > i { color: #d5e8ff; }

.next-button { display: flex; max-width: 620px; min-height: 92px; margin: 28px auto 0; padding: 17px 20px 17px 28px; align-items: center; justify-content: space-between; color: var(--dark); background: white; text-align: left; text-decoration: none; }
.next-button span { font-family: "Yu Mincho", Georgia, serif; font-size: 19px; font-weight: 700; }
.next-button small { display: block; color: var(--red); font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .12em; }
.next-button > b { display: grid; width: 42px; height: 42px; place-items: center; background: var(--acid); }

footer { display: flex; min-height: 120px; padding: 30px 5vw; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
footer p { color: var(--muted); font-size: 10px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

@media (max-width: 850px) {
  .site-header { padding: 0 20px; }
  .site-header nav span, .site-header nav b, .site-header nav a:first-child { display: none; }
  .story-hero, .premise, .timeline-heading, .reaction-section, .materials-section { grid-template-columns: 1fr; }
  .story-hero { min-height: auto; padding: 80px 20px 100px; gap: 55px; }
  .premise, .reaction-section, .materials-section { padding: 85px 20px; gap: 42px; }
  .timeline-section { padding: 90px 20px; }
  .timeline-heading { gap: 18px; }
  .story-timeline > li { grid-template-columns: 65px 1fr; gap: 22px; }
  .visual { grid-column: 2; min-height: 150px; }
  .target-sentence > p { display: grid; }
}

@media (max-width: 520px) {
  .brand > span:last-child { display: none; }
  .story-hero h1 { font-size: 41px; }
  .sentence-preview { padding: 25px 20px; }
  .premise h2, .timeline-heading h2, .reaction-section h2, .materials-heading h2 { font-size: 36px; }
  .story-timeline > li { padding: 26px 0; grid-template-columns: 1fr; gap: 16px; }
  .step { display: flex; padding: 0; align-items: baseline; gap: 10px; }
  .visual { grid-column: 1; }
  .materials li { grid-template-columns: 1fr; gap: 2px; }
  .handoff { padding: 90px 20px; }
  .handoff h2 { font-size: 40px; }
  .with-block, .about-block { grid-template-columns: 1fr; }
  .next-button span { font-size: 16px; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
