:root {
  --navy: #071b35;
  --navy-2: #0c2e55;
  --blue: #146aa3;
  --sky: #dceaf3;
  --red: #d62b2b;
  --yellow: #f4d84a;
  --ink: #162538;
  --muted: #5c6c7d;
  --paper: #f6f3ed;
  --white: #fff;
  --line: #d7dee5;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: white; color: var(--navy); }
.skip-link:focus { top: 10px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: white; border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(7,27,53,.96); box-shadow: 0 8px 30px rgba(0,0,0,.13); backdrop-filter: blur(10px); }
.header-inner { width: min(1240px, calc(100% - 48px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; background: white; color: var(--navy); font-family: var(--serif); font-weight: 800; line-height: 1.05; text-align: center; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 16px; font-weight: 700; text-decoration: none; }
.nav-cta { padding: 9px 19px; border: 1px solid white; }

.hero { min-height: 820px; height: 100svh; position: relative; overflow: hidden; display: grid; align-items: center; color: white; background: var(--navy); }
.hero-image { position: absolute; inset: 0; background: url("assets/hero-family-v2.png") center / cover no-repeat; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,19,38,.98) 0%, rgba(5,19,38,.87) 35%, rgba(5,19,38,.28) 66%, rgba(5,19,38,.12) 100%), linear-gradient(0deg, rgba(5,19,38,.45), transparent 35%); }
.hero-content { position: relative; z-index: 2; padding-top: 82px; }
.eyebrow { margin: 0 0 18px; font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.hero-kicker { display: flex; gap: 8px; margin: 0 0 18px; }
.hero-kicker span { padding: 5px 12px; background: var(--red); font-weight: 800; font-size: 16px; line-height: 1.4; }
.hero-kicker span:last-child { background: white; color: var(--navy); }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(68px, 8.3vw, 126px); line-height: .96; letter-spacing: -.04em; text-shadow: 0 3px 22px rgba(0,0,0,.16); }
h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { margin: 23px 0 12px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); font-weight: 800; line-height: 1.4; }
.hero-copy { max-width: 650px; margin: 0; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; padding: 13px 24px; text-decoration: none; font-size: 17px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 10px 25px rgba(214,43,43,.28); }
.button-ghost { border: 1px solid rgba(255,255,255,.7); color: white; }
.event-strip { display: flex; width: fit-content; margin: 38px 0 0; padding: 0; background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 16px 45px rgba(0,0,0,.2); }
.event-strip div { min-width: 188px; padding: 14px 21px; border-right: 1px solid var(--line); }
.event-strip div:last-child { border: 0; }
.event-strip dt { font-size: 14px; font-weight: 700; color: var(--blue); }
.event-strip dd { margin: 0; font-size: 16px; line-height: 1.45; }
.event-strip strong { font-size: 20px; }
.scroll-cue { position: absolute; right: 34px; bottom: 34px; z-index: 3; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .2em; text-decoration: none; }
.scroll-cue span { display: inline-block; width: 1px; height: 54px; margin-top: 10px; background: white; opacity: .8; }

.section-label { margin: 0 0 16px; color: var(--blue); font-size: 16px; font-weight: 900; letter-spacing: .18em; }
.section-label.light { color: #8ac5e8; }
h2 { margin: 0; font-family: var(--serif); color: var(--navy); font-size: clamp(38px, 5vw, 66px); line-height: 1.28; letter-spacing: -.025em; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.intro-copy { padding-top: 48px; border-top: 1px solid #c8c0b3; }
.intro-copy p { margin: 0 0 22px; font-size: 17px; }
.data-scene { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr 1fr .85fr; align-items: center; gap: 26px; color: var(--navy); }
.data-number span { display: block; font-size: 17px; font-weight: 800; }
.data-number strong { font-family: var(--serif); font-size: clamp(62px, 7vw, 94px); line-height: 1; letter-spacing: -.06em; }
.data-number small { font-size: 22px; letter-spacing: 0; }
.data-number.current strong { color: var(--red); }
.data-line { position: relative; height: 2px; background: var(--navy); }
.data-line::after { content: ""; position: absolute; right: 0; top: -5px; width: 11px; height: 11px; border-right: 2px solid var(--navy); border-top: 2px solid var(--navy); transform: rotate(45deg); }
.data-line span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-size: 16px; font-weight: 800; }
.house-illustration { color: var(--blue); opacity: .8; }
.source { margin-top: 16px; font-size: 13px; color: var(--muted); }

.axes { background: var(--navy); color: white; position: relative; overflow: hidden; }
.axes::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: 80px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.axes h2 { color: white; max-width: 760px; }
.section-intro { max-width: 760px; margin: 26px 0 58px; font-size: 18px; color: #d7e2ec; }
.axis-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255,255,255,.2); position: relative; }
.axis { padding: 48px 48px 44px; background: #102f53; }
.axis.keep { background: #f6f3ed; color: var(--ink); }
.axis-icon { width: 72px; height: 72px; margin-bottom: 30px; color: var(--yellow); }
.keep .axis-icon { color: var(--blue); }
.axis-icon svg, .program-icon svg, .form-illustration svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.axis-no { margin: 0; color: #8ac5e8; font-weight: 800; }
.keep .axis-no { color: var(--blue); }
.axis h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 31px; line-height: 1.4; }
.axis-caption { margin: 3px 0 25px; font-size: 16px; color: #a9c3da; }
.keep .axis-caption { color: var(--muted); }
.axis ul { margin: 0; padding: 0; list-style: none; }
.axis li { position: relative; margin: 0 0 17px; padding-left: 22px; font-size: 16px; }
.axis li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--yellow); transform: rotate(45deg); }
.keep li::before { background: var(--blue); }
.axis li strong { display: block; font-size: 18px; }
blockquote { margin: 62px auto 0; max-width: 850px; padding: 0; border: 0; font-family: var(--serif); font-size: clamp(25px, 3.3vw, 40px); line-height: 1.6; text-align: center; color: white; }

.program { background: white; }
.section-heading-row { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 70px; margin-bottom: 70px; }
.section-heading-row > p { margin: 0 0 10px; padding-top: 25px; border-top: 1px solid var(--line); font-size: 17px; }
.program-list { border-top: 1px solid var(--navy); }
.program-item { display: grid; grid-template-columns: 85px 130px 1fr; gap: 38px; align-items: start; padding: 58px 0; border-bottom: 1px solid var(--line); }
.program-number { font-size: 18px; font-weight: 900; color: var(--blue); }
.program-icon { width: 100px; height: 100px; color: var(--blue); }
.program-copy { display: grid; grid-template-columns: .7fr 1.35fr; gap: 18px 42px; }
.jp-title { margin: 0; font-family: var(--serif); font-size: 35px; font-weight: 800; color: var(--navy); }
.program-copy h3 { margin: 5px 0 0; font-size: 25px; line-height: 1.5; color: var(--navy); }
.program-copy ul { grid-column: 1 / -1; margin: 7px 0 0; padding-left: 1.3em; }
.program-copy li { margin: 8px 0; font-size: 16px; }
.takeaway { grid-column: 1 / -1; width: fit-content; margin: 8px 0 0; padding: 7px 14px; background: var(--sky); color: var(--navy); font-size: 15px; }
.takeaway strong { margin-left: 14px; font-size: 18px; }

.flyer { background: var(--paper); }
.flyer-grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 65px; align-items: center; }
.flyer h2 { font-size: clamp(38px, 4vw, 56px); }
.flyer p { font-size: 17px; }
.flyer figure { margin: 0; box-shadow: 0 22px 54px rgba(7,27,53,.18); }
.flyer figure img { width: 100%; }
.flyer figcaption { padding: 8px 12px; background: white; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--navy); text-decoration: none; font-size: 17px; font-weight: 800; }

.speaker { background: #0b2b4f; color: white; overflow: hidden; }
.speaker-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.speaker-photo { position: relative; min-height: 590px; display: flex; align-items: center; justify-content: center; padding: 26px 38px 26px 22px; }
.photo-shape { position: absolute; inset: 8% 0 0 8%; background: linear-gradient(145deg, #164e78, #08203c); border: 1px solid rgba(255,255,255,.1); }
.speaker-photo img { position: relative; z-index: 2; width: min(420px, 100%); aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 34%; border: 8px solid rgba(255,255,255,.94); box-shadow: 0 22px 48px rgba(0,0,0,.3); }
.vertical-name { position: absolute; z-index: 3; left: 0; bottom: 40px; margin: 0; writing-mode: vertical-rl; font-size: 14px; letter-spacing: .25em; color: #8ac5e8; }
.speaker-copy h2 { color: white; font-size: clamp(46px, 5vw, 66px); }
.speaker-copy h2 small { display: block; margin-top: 5px; font-family: var(--sans); font-size: 16px; letter-spacing: .12em; color: #a9c3da; }
.speaker-role { margin: 0 0 8px; font-size: 17px; color: #bcd0e2; }
.speaker-copy > p:not(.section-label):not(.speaker-role) { max-width: 620px; margin: 28px 0; font-size: 17px; }
.speaker-copy dl { margin: 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.22); }
.speaker-copy dl div { display: grid; grid-template-columns: 100px 1fr; gap: 15px; }
.speaker-copy dt { color: #8ac5e8; font-weight: 800; }
.speaker-copy dd { margin: 0; }

.entry { background: #edf3f7; }
.entry-heading { text-align: center; }
.entry-heading h2 { font-size: clamp(40px, 5vw, 62px); }
.entry-heading p:last-child { font-size: 17px; }
.form-frame { position: relative; margin-top: 44px; min-height: 520px; background: white; box-shadow: 0 16px 48px rgba(7,27,53,.1); overflow: hidden; }
#google-form { display: none; width: 100%; height: 1800px; overflow: hidden; }
.form-placeholder { min-height: 520px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 50px; text-align: center; }
.form-placeholder[hidden] { display: none; }
.form-placeholder h3 { margin: 8px 0 0; font-size: 25px; color: var(--navy); }
.form-placeholder p { max-width: 620px; margin: 0; font-size: 16px; }
.form-placeholder code { padding: 2px 5px; background: #e7edf2; font-size: 14px; }
.form-illustration { width: 96px; height: 96px; color: var(--blue); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 38px; margin-top: 38px; font-size: 17px; }
.contact-row p { margin: 0; color: var(--navy); }

footer { padding: 54px 0 100px; background: var(--navy); color: white; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.footer-inner p { margin: 0; font-size: 14px; }
.footer-inner strong { font-family: var(--serif); font-size: 22px; }
.floating-cta { display: none; }
.mobile-only { display: none; }

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 880px; height: auto; }
  .hero-image { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,19,38,.96) 0%, rgba(5,19,38,.78) 58%, rgba(5,19,38,.25)), linear-gradient(0deg, rgba(5,19,38,.75), transparent 50%); }
  .hero-content { padding-top: 140px; padding-bottom: 80px; }
  .intro-grid, .section-heading-row, .flyer-grid, .speaker-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy { padding-top: 28px; }
  .data-scene { grid-template-columns: 1fr 1fr 1fr; }
  .house-illustration { display: none; }
  .axis { padding: 38px 30px; }
  .program-item { grid-template-columns: 60px 95px 1fr; gap: 20px; }
  .program-icon { width: 82px; height: 82px; }
  .speaker-photo { min-height: 520px; max-width: 500px; margin: auto; padding: 24px 36px 24px 20px; }
  .speaker-copy { max-width: 700px; margin: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .header-inner { width: min(100% - 32px, 1120px); }
  .header-inner { height: 70px; }
  .brand > span:last-child { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .nav-cta { padding: 7px 13px; font-size: 15px; }
  .hero { min-height: 870px; }
  .hero-image { background-position: 72% center; opacity: 1; }
  .hero-overlay { background: linear-gradient(180deg, rgba(5,19,38,.42), rgba(5,19,38,.64) 52%, rgba(5,19,38,.94)); }
  .hero-content { padding-top: 108px; }
  h1 { font-size: clamp(58px, 19vw, 82px); }
  .eyebrow { font-size: 16px; }
  .hero-lead { font-size: 24px; }
  .hero-copy { font-size: 16px; }
  .event-strip { width: 100%; display: grid; grid-template-columns: 1fr; margin-top: 30px; }
  .event-strip div { min-width: 0; display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-strip dt { font-size: 15px; }
  .event-strip dd { font-size: 15px; }
  .event-strip strong { font-size: 18px; }
  .scroll-cue { display: none; }
  .mobile-only { display: initial; }
  .section { padding: 70px 0; }
  h2 { font-size: 38px; }
  .intro-grid { gap: 28px; }
  .data-scene { grid-template-columns: 1fr 64px 1fr; gap: 12px; margin-top: 46px; }
  .data-number strong { font-size: 45px; }
  .data-number small { font-size: 16px; }
  .data-line span { font-size: 12px; }
  .axis-split { grid-template-columns: 1fr; }
  .axis h3 { font-size: 27px; }
  blockquote { margin-top: 42px; font-size: 24px; }
  .section-heading-row { margin-bottom: 42px; }
  .program-item { grid-template-columns: 44px 1fr; gap: 16px; padding: 42px 0; }
  .program-icon { grid-column: 2; width: 76px; height: 76px; }
  .program-copy { grid-column: 2; grid-template-columns: 1fr; gap: 5px; }
  .program-copy h3, .program-copy ul, .takeaway { grid-column: auto; }
  .jp-title { font-size: 30px; }
  .program-copy h3 { font-size: 21px; }
  .takeaway { width: 100%; }
  .flyer-grid { gap: 34px; }
  .speaker-photo { min-height: 0; width: min(100%, 430px); padding: 20px 28px 20px 14px; }
  .speaker-photo img { width: 100%; border-width: 6px; object-position: 50% 32%; }
  .speaker-copy h2 { font-size: 44px; }
  .form-placeholder { padding: 38px 20px; }
  #google-form { height: 2200px; }
  .form-placeholder h3 { font-size: 22px; }
  .contact-row { flex-direction: column; gap: 6px; }
  .footer-inner { flex-direction: column; align-items: start; }
  .floating-cta { position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 90; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 13px; background: var(--red); color: white; box-shadow: 0 8px 28px rgba(0,0,0,.3); text-decoration: none; font-size: 18px; font-weight: 900; }
  .floating-cta span { padding: 1px 7px; background: white; color: var(--red); font-size: 13px; }
}

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