/* journey page: metacognitive development */
.j-hero { padding: 88px 0 56px; background-color: #fff; background-image: linear-gradient(#EEF0F3 1px, transparent 1px), linear-gradient(90deg, #EEF0F3 1px, transparent 1px); background-size: 40px 40px; }
.j-hero h1 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.25; font-weight: 700; max-width: 900px; }
.j-hero h1 span { display: block; }
.j-hero .hero-sub { max-width: 760px; }
.j-years { display: flex; align-items: baseline; gap: 16px; margin-top: 36px; font-family: var(--mono); color: var(--subtle); font-size: 14px; }
.j-years b { font-family: var(--sans); font-size: clamp(40px, 6vw, 72px); color: var(--ink); line-height: 1; }
.j-years i { font-style: normal; color: var(--accent); }

/* timeline */
.timeline { position: relative; margin-top: 8px; height: 64px; }
.timeline .bar { position: absolute; left: 0; right: 0; top: 24px; height: 2px; background: var(--line-2); }
.timeline .fill { position: absolute; left: 0; top: 24px; height: 2px; background: var(--ink); width: 0; transition: width .5s ease; }
.tdot { position: absolute; top: 18px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: transform .3s, background .3s, border-color .3s; }
.tdot.on { background: var(--accent); border-color: var(--accent); transform: scale(1.35); }
.tdot.past { border-color: var(--ink); }
.tdot.ai { border-radius: 3px; border-color: var(--blue); }
.tdot.ai.on { background: var(--blue); }
.tyear { position: absolute; top: 40px; font-family: var(--mono); font-size: 12px; color: var(--subtle); transform: translateX(-50%); }

/* stepper */
.journey { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 32px; }
.j-side { flex: 0 1 360px; min-width: 0; }
.js .j-side { position: sticky; top: 24px; }
.j-main { flex: 1 1 520px; min-width: 0; }
.stairs { width: 100%; height: auto; display: block; }
.stairs .s rect { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.stairs .s text { font-family: var(--sans); font-size: 13px; fill: var(--subtle); }
.stairs .s .n { font-family: var(--mono); font-size: 12px; }
.stairs .s.done rect { fill: var(--soft-2); stroke: var(--ink); }
.stairs .s.done text { fill: var(--ink); }
.stairs .s.on rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.5; }
.stairs .s.on text { fill: var(--accent-ink); font-weight: 700; }
.stairs .walker { fill: var(--accent); transition: transform .5s ease; }
.no-js .stairs .walker { display: none; }
.steplist { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.steplist button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--body); text-align: left; cursor: pointer; }
.steplist button b { font-family: var(--mono); font-weight: 500; color: var(--subtle); width: 22px; }
.steplist button[aria-current="step"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.steplist button[aria-current="step"] b { color: var(--accent); }
.no-js .steplist { display: none; }

.stage { border: 1px solid var(--line-2); border-radius: 14px; padding: 32px; background: #fff; }
.no-js .stage + .stage { margin-top: 24px; }
.js .stage { animation: rise .45s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .stage { animation: none; } .timeline .fill, .stairs .walker { transition: none; } }
.stage-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.stage-no { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.stage h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.stage .claim { margin-top: 12px; font-size: 18px; color: var(--ink); }
.stage .claim em { font-style: normal; background: linear-gradient(transparent 62%, #FED7AA 62%); }
.facets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.facet { border-radius: 10px; padding: 18px; background: var(--soft); }
.facet h3 { font-size: 13px; font-family: var(--mono); font-weight: 500; color: var(--subtle); letter-spacing: 0.04em; }
.facet p { margin-top: 8px; font-size: 15px; color: var(--body); }
.facet.ai { background: #EEF3FF; }
.facet.ai h3 { color: var(--blue-ink); }
.facet.eg { background: var(--accent-soft); }
.facet.eg h3 { color: var(--accent-ink); }
.cites { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cites li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.cites li b { font-family: var(--mono); font-weight: 500; color: var(--ink); margin-right: 6px; }
.stage-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.no-js .stage-nav { display: none; }
.stage-nav button { min-height: 44px; padding: 0 20px; border-radius: 6px; font: inherit; font-weight: 500; cursor: pointer; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.stage-nav button.next { background: var(--ink); color: #fff; }
.stage-nav button:disabled { opacity: .35; cursor: default; }

/* mini illustrations */
.mini { margin-top: 20px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px; }
.mini svg { display: block; width: 100%; height: auto; }

/* check question */
.check { margin-top: 20px; padding: 18px; border: 2px solid var(--accent); border-radius: 10px; }
.check label { display: block; font-weight: 500; }
.check .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: center; }
.check input { width: 120px; min-height: 44px; padding: 0 12px; font: inherit; font-size: 17px; border: 1.5px solid var(--line-2); border-radius: 6px; }
.check button { min-height: 44px; padding: 0 18px; border-radius: 6px; border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.check .fb { margin-top: 10px; font-size: 15px; min-height: 1.7em; }
.check .fb.ok { color: #166534; }
.check .fb.no { color: var(--accent-ink); }
.no-js .check .row, .no-js .check .fb { display: none; }

/* turning point & breakthrough */
.turn { background: var(--dark); color: #fff; padding: 88px 0; }
.turn .eyebrow { color: #9CA3AF; }
.turn .title { color: #fff; }
.turn .lead { color: #D1D5DB; }
.vs { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.vs > div { flex: 1 1 360px; min-width: 0; border: 1px solid #374151; border-radius: 12px; padding: 28px; }
.vs > div.now { border: 2px solid #FDBA74; }
.vs h3 { font-size: 22px; }
.vs .tag { font-family: var(--mono); font-size: 13px; color: #9CA3AF; }
.vs .now .tag { color: #FDBA74; }
.vs p { margin-top: 10px; font-size: 16px; color: #D1D5DB; }
.vs .cite { margin-top: 14px; font-size: 13px; color: #9CA3AF; }

.mapping { margin-top: 40px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.maprow { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.maprow:first-child { border-top: 0; }
.maprow > div { padding: 18px 22px; }
.maprow .q { flex: 1 1 300px; font-size: 17px; font-weight: 700; background: #fff; }
.maprow .lv { flex: 1 1 220px; font-size: 15px; color: var(--muted); background: var(--soft); }
.maprow .lv b { font-family: var(--mono); color: var(--accent); font-weight: 500; margin-right: 6px; }
.maprow .ai { flex: 1 1 280px; font-size: 15px; color: var(--blue-ink); background: #EEF3FF; }
.maphead > div { font-family: var(--mono); font-size: 12px !important; font-weight: 500 !important; color: var(--subtle) !important; padding-top: 12px !important; padding-bottom: 12px !important; }
.final { margin-top: 48px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.45; max-width: 860px; }
.final em { font-style: normal; color: var(--accent); }

@media (max-width: 760px) {
  .j-side { flex-basis: 100%; }
  .js .j-side { position: static; }
  .steplist { flex-direction: row; flex-wrap: wrap; }
  .steplist li { flex: 1 1 45%; }
  .steplist button { padding: 6px 10px; font-size: 14px; line-height: 1.4; }
  .steplist button b { width: 16px; }
  .stage { padding: 22px; }
}
