:root {
  color-scheme: light;
  --background: #fbf8f3;
  --paper: #fffdfb;
  --ink: #291e25;
  --muted: #665760;
  --line: #e5dce0;
  --plum: #482739;
  --plum-dark: #311a2a;
  --accent: #f2d9bd;
  --rose: #f3e8ee;
  --serif: Georgia, Cambria, "Times New Roman", serif;
  --rail: 224px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #aa542e; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.13; }
h1 { font-size: clamp(2.5rem, 4.5vw, 4.45rem); letter-spacing: -.054em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.12rem); letter-spacing: -.043em; }
img, video { display: block; max-width: 100%; }
a { color: var(--plum); }

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  transform: translateY(-200%);
  z-index: 5;
  padding: .5rem .9rem;
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1rem 1.5rem;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: .49rem;
  width: fit-content;
  margin: 0 .65rem 2.8rem;
  text-decoration: none;
  font: 500 clamp(1.5rem, 2vw, 1.9rem)/1.1 var(--serif);
  letter-spacing: -.055em;
  color: var(--plum);
}

.brand-logo { display: block; width: 100%; height: auto; }
.brand { width: min(10rem, calc(100% - 1.3rem)); }
.mobile-account { display: none; }
.sidebar nav { display: grid; gap: .3rem; }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: .78rem;
  min-height: 2.95rem;
  padding: .55rem .8rem;
  border-radius: .68rem;
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
}
.sidebar nav a:hover, .sidebar nav a[aria-current] { background: var(--rose); color: var(--plum); }
.nav-icon { flex: 0 0 1.05rem; width: 1.05rem; height: 1.05rem; position: relative; border: 1.5px solid currentColor; border-radius: .22rem; }
.icon-route { border-radius: .7rem .7rem .24rem .24rem; }
.icon-route::after { content: ""; position: absolute; height: .72rem; border-left: 1.5px solid currentColor; transform: rotate(23deg); left: .43rem; top: .17rem; }
.icon-album::after { content: ""; position: absolute; inset: .25rem .32rem; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.icon-film::after { content: ""; position: absolute; left: .33rem; top: .2rem; border-left: .29rem solid currentColor; border-top: .24rem solid transparent; border-bottom: .24rem solid transparent; }
.device-note { margin: auto .75rem 0; color: var(--muted); font-size: .83rem; }
.device-dot { display: inline-block; width: .45rem; height: .45rem; background: #57745e; border-radius: 50%; margin-right: .38rem; vertical-align: .13rem; }

.workspace { margin-left: var(--rail); }
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  padding: .85rem clamp(1rem, 4vw, 3.8rem);
  border-bottom: 1px solid var(--line);
}
.toolbar > span { color: var(--muted); font-weight: 600; }
#main {
  width: min(100%, 82rem);
  margin-inline: auto;
  padding: 1.65rem clamp(1rem, 4vw, 3.8rem) 2.7rem;
}
#main:focus { outline: none; }

.button {
  border: 1px solid transparent;
  border-radius: .63rem;
  min-height: 2.7rem;
  padding: .58rem 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .46rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.25;
}
.button:disabled { cursor: default; opacity: .55; }
.button.primary { background: var(--plum); color: var(--paper); }
.button.primary:hover:not(:disabled) { background: var(--plum-dark); }
.button.paper { background: #ffe9cf; color: var(--plum-dark); }
.button.paper:hover { background: #fff2e1; }
.button.hero-outline { border-color: #bd9aac; color: #fff3e8; background: transparent; }
.button.hero-outline:hover { background: #ffffff18; }
.button.outline { border-color: #bda9b5; background: transparent; color: var(--plum); }
.button.outline:hover:not(:disabled), .button.quiet:hover { background: var(--rose); }
.button.quiet { color: var(--plum); background: transparent; }
.button span[aria-hidden] { font-size: 1.2rem; line-height: .85; }

.journey-picker { container-type: inline-size; margin-bottom: 1.5rem; }
.journey-picker h2 { font-size: 1.55rem; margin-bottom: .8rem; }
.journey-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.journey-card {
  display: grid; grid-template-rows: auto 1fr; align-content: start; min-width: 0;
  padding: .32rem; color: var(--ink); border: 1px solid #cfc2c6;
  border-radius: .85rem; background: var(--paper); box-shadow: 0 2px 4px #34222b0b;
  text-decoration: none;
}
.journey-card:hover { border-color: #946b82; box-shadow: 0 3px 9px #34222b1c; }
.journey-card[aria-current] { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.journey-thumbnail {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain;
  background: #e8ddd2; border-radius: .52rem;
}
.journey-meta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
  align-items: start; gap: .22rem .35rem; min-width: 0; padding: .65rem .48rem .48rem;
}
.journey-name { grid-column: 1 / -1; font-size: 1rem; line-height: 1.18; overflow-wrap: anywhere; }
.journey-count { align-self: center; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.journey-card[aria-current] .journey-count { color: #f1dce6; }
.journey-indicator {
  display: grid; place-items: center; width: 1.3rem; height: 1.3rem;
  color: var(--muted); font-size: .98rem; line-height: 1;
}
.journey-card[aria-current] .journey-indicator {
  border-radius: 50%; color: var(--plum); background: var(--paper); font-weight: 700; font-size: .78rem;
}
.journey-intro { margin: -.35rem 0 1.2rem; padding: .25rem 1rem; border-left: 3px solid #aa785d; }
.journey-intro strong { color: var(--plum); }
.journey-intro p { max-width: 83ch; color: var(--muted); margin-top: .15rem; }
.age-cover { display: grid; align-content: center; gap: .4rem; padding: clamp(1.2rem,4vw,3.4rem); background: #e8d6c3; color: #482739; }
.age-cover strong { line-height: 1.13; font: 500 clamp(1.8rem,4vw,3.8rem)/1.1 var(--serif); }
.hero-map-link { color: #fff4ea; font-size: .9rem; padding-block: .4rem; text-underline-offset: .25em; }
.next-chapter { padding: .85rem 1rem; margin-top: 1rem; background: #eee8de; border-radius: .7rem; }
.next-chapter strong { color: var(--plum); }
.challenge-trail { --track: clamp(4.3rem, 12vw, 9rem); list-style: none; padding: 0; margin: 0; }
.trail-stop { position: relative; min-width: 0; }
.trail-stop a { position: relative; display: grid; grid-template-columns: var(--track) 1fr; align-items: stretch; gap: 1rem; text-decoration: none; padding-block: .4rem; }
.trail-curve { position: absolute; pointer-events: none; width: var(--track); height: 100%; left: 0; top: 50%; overflow: visible; }
.trail-curve path { stroke: #c9bcc4; stroke-width: 3.5px; stroke-dasharray: 5 4; }
.trail-stop.complete .trail-curve path { stroke: #6a866e; stroke-dasharray: none; }
.trail-rail { position: relative; align-self: center; }
.trail-node { position: absolute; left: var(--node-x); top: 50%; transform: translate(-50%,-50%); width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid #b9a9b2; background: #fffdfb; box-shadow: 0 3px 0 #c3b5be; font-weight: 700; }
.trail-copy { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); display: grid; min-height: 5rem; align-content: center; }
.trail-copy small { font-weight: 650; color: var(--muted); }
.trail-copy strong { font: 500 1.28rem/1.2 var(--serif); }
.trail-copy > span { color: var(--muted); font-size: .9rem; }
.trail-stop.current .trail-node { color: white; background: var(--plum); border-color: var(--plum); box-shadow: 0 0 0 4px var(--rose), 0 4px 0 4px #d7c1cc; }
.trail-stop.current .trail-copy, .trail-stop a:hover .trail-copy { border-color: #946b82; background: #faf3f6; }
.trail-stop.complete .trail-node { color: white; background: #49694d; border-color: #49694d; box-shadow: 0 3px 0 #324d35; }
.map-chapters { display: grid; gap: .65rem; }
.map-chapter { background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; padding: .8rem 1rem; }
.map-chapter summary { cursor: pointer; font-weight: 650; color: var(--plum); padding: .2rem 0; }
.map-chapter > p, .map-source { margin: .55rem 0; color: var(--muted); }
@container (max-width: 52rem) {
  .journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 32rem) {
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .journey-meta { padding: .5rem .35rem .3rem; }
  .journey-name { font-size: .94rem; }
  .journey-card:last-child:nth-child(odd) {
    grid-column: 1 / -1; grid-template-columns: minmax(0, 31%) minmax(0, 1fr);
    grid-template-rows: auto; align-items: center; column-gap: .45rem;
  }
  .journey-card:last-child:nth-child(odd) .journey-meta { padding-inline-end: .6rem; }
}
@container (max-width: 19rem) {
  .journey-meta { padding-inline: .23rem; }
  .journey-name { font-size: .88rem; letter-spacing: -.015em; }
}
.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  background: var(--plum);
  color: var(--paper);
  border-radius: 1.4rem;
  overflow: hidden;
  min-height: 20.35rem;
}
.hero-copy { z-index: 1; align-self: center; padding: clamp(1.55rem, 4vw, 3.2rem); }
.hero-copy h1 { text-wrap: balance; overflow-wrap: anywhere; }
.hero-copy p { max-width: 31ch; margin: .95rem 0 1.35rem; color: #f1dce6; }
.hero-photo {
  grid-column: 2; grid-row: 1; display: grid; place-items: center; min-width: 0;
  padding: clamp(.75rem, 2.1vw, 1.8rem); background: #e8dbce;
}
.hero-image {
  display: block; width: 100%; height: auto; max-height: 31rem; object-fit: contain;
}
.stage-section, .chapter-records, .film-sources { margin-top: 1.8rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .85rem;
}
.progress-summary {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}
progress { accent-color: var(--plum); height: .58rem; width: 5.5rem; vertical-align: middle; }
.phase-grid, .memory-grid, .film-list, .file-list { margin: 0; padding: 0; list-style: none; }
.phase-grid { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: .7rem; }
.phase-grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.phase-grid > li { min-width: 0; }
.phase-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-height: 10.05rem;
  gap: .62rem;
  padding: 1rem .95rem .82rem;
  border: 1px solid var(--line);
  border-radius: .87rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
}
.phase-card:hover { border-color: #9a758a; box-shadow: 0 3px 10px #69445b13; }
.phase-card.next { border-color: #b48ba1; background: #f6ebf0; }
.phase-card.done .phase-status { color: #386048; }
.phase-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.08rem;
  height: 2.08rem;
  border-radius: 50%;
  color: var(--plum);
  background: var(--rose);
  font-size: .78rem;
  font-weight: 750;
}
.next .phase-number { background: var(--plum); color: var(--paper); }
.done .phase-number { background: #e5eee7; color: #386048; }
.phase-text { display: grid; gap: .13rem; line-height: 1.34; }
.phase-text strong { font-size: .98rem; }
.phase-text > span { font-size: .89rem; color: var(--muted); }
.phase-status { margin-top: auto; font-size: .81rem; font-weight: 700; color: var(--muted); }
.next .phase-status { color: #6a3554; }
.plan-summary { color: var(--muted); font-size: .88rem; margin-top: .25rem; }
.activity-links { display: flex; flex-wrap: wrap; gap: .42rem; align-items: center; margin-top: .7rem; }
.pagination label, .film-period-label { display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.free-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: .87rem;
  padding: .82rem 1.1rem;
  background: #f3ebe5;
}
.free-banner h2 { font-size: 1.45rem; }
.free-banner p { font-size: .92rem; color: var(--muted); margin-top: .16rem; }

.back-link { display: inline-block; margin: 0 0 .9rem; color: var(--muted); font-size: .9rem; text-underline-offset: 4px; }
.detail-head { max-width: 66ch; margin: .4rem 0 1.65rem; }
.detail-head h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); text-wrap: balance; }
.detail-head p { color: var(--muted); margin-top: .55rem; }
.chapter-label { display: block; color: #764762; font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }
.guide-layout { display: grid; grid-template-columns: 1.42fr 1fr; align-items: start; gap: 1rem; }
.guide, .question-card, .empty-state { border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; padding: clamp(1.1rem, 3.2vw, 2rem); }
.guide ol {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.18rem 0 1.4rem;
  list-style: none;
  counter-reset: step;
}
.guide li { position: relative; padding-left: 2.5rem; counter-increment: step; }
.guide li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .06rem;
  display: grid;
  place-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--rose);
  color: var(--plum);
  font-size: .82rem;
  font-weight: 700;
}
.guide li p { color: var(--muted); margin-top: .16rem; }
.question-card { background: var(--rose); border-color: #e7d4df; }
.question-card h2 { font: 700 .9rem/1.4 "Segoe UI", Arial, sans-serif; letter-spacing: 0; color: #774b64; }
.question-card blockquote { margin-top: .52rem; font: 500 clamp(1.5rem, 2.4vw, 2.1rem)/1.25 var(--serif); color: var(--plum); }
.next-link { margin-top: .7rem; }
.subtle { color: var(--muted); }
.empty-state { max-width: 49rem; }
.empty-state p { margin: .48rem 0 .96rem; color: var(--muted); }

.memory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: .85rem; }
.memory-card {
  display: grid;
  grid-template-rows: 8.1rem 1fr;
  height: 100%;
  width: 100%;
  overflow: hidden;
  text-align: left;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .9rem;
}
.memory-card:hover { border-color: #9a758a; }
.memory-card img { width: 100%; height: 100%; object-fit: cover; }
.memory-art { background: linear-gradient(135deg, #5b354e, #ac768c 70%, #d9af9b); }
.memory-copy { display: grid; gap: .12rem; padding: .8rem .9rem .9rem; overflow-wrap: anywhere; }
.memory-copy strong { font: 500 1.38rem/1.2 var(--serif); }
.memory-copy span { font-size: .86rem; color: var(--muted); }
.film-list { display: grid; gap: .6rem; }
.film-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; background: var(--paper); border: 1px solid var(--line); padding: .75rem 1rem; border-radius: .68rem; }
.film-sources h2 { margin-bottom: .65rem; }
.film-projects { display: grid; gap: .55rem; }
.film-project { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .55rem .9rem; padding: .66rem .9rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); }
.film-project h3 { font-size: 1.02rem; overflow-wrap: anywhere; }
.film-project .capture-actions { align-items: center; }

dialog {
  width: min(38rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: 0 1.6rem 5rem #27122543;
}
dialog::backdrop { background: #27172590; }
body:has(dialog[open]) { overflow: hidden; }
#story-dialog, #film-dialog, #editor-dialog { width: min(46rem, calc(100% - 2rem)); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: .9rem; margin-bottom: .9rem; }
.icon-button { flex: 0 0 auto; min-width: 2.35rem; min-height: 2.35rem; color: var(--plum); background: var(--rose); border: 0; border-radius: .55rem; font-size: 1.38rem; line-height: 1; }
.field { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; font-size: .93rem; font-weight: 650; margin: .72rem 0; }
.field input, .field textarea, .field select, .pagination select, .film-period-label select {
  width: 100%;
  padding: .54rem .7rem;
  border: 1px solid #baacb6;
  border-radius: .55rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
}
.pagination select, .film-period-label select { width: auto; min-width: 0; }
.plan-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.plan-preview { color: var(--muted); min-height: 1.4rem; margin-top: .43rem; font-size: .92rem; }
.field textarea { resize: vertical; min-height: 4rem; }
.optional { color: var(--muted); font-size: .81rem; font-weight: 400; }
.capture-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.upload { cursor: pointer; }
.upload:focus-within { outline: 3px solid #aa542e; outline-offset: 4px; }
.upload input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.phase-fields { margin: .9rem 0 0; padding: .4rem .55rem .5rem; border-radius: .6rem; min-inline-size: 0; border: 1px solid var(--line); font-size: .92rem; }
.phase-fields legend { font-weight: 650; padding-inline: .32rem; }
.phase-fields summary { cursor: pointer; padding: .35rem .3rem; color: var(--plum); }
.phase-option { display: flex; align-items: center; gap: .35rem; min-height: 2rem; padding: .23rem .3rem; }
.phase-option input { accent-color: var(--plum); }
.dialog-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.review-story { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: .9rem; }
.transcript { background: var(--rose); padding: .55rem .72rem; margin: .6rem 0; border-radius: .55rem; }
.transcript summary { cursor: pointer; font-weight: 650; }
.transcript p { margin-top: .55rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.editor-player :is(audio, video) { width: 100%; margin-block: .9rem .3rem; max-height: 15rem; }
.record-panel, .file-list:not(:empty), .story-actions { margin-top: .75rem; }
.record-panel video { max-height: 15rem; width: 100%; border-radius: .55rem; background: #201620; object-fit: contain; }
.record-actions { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.record-time { font-variant-numeric: tabular-nums; font-weight: 700; color: #8c3d4c; }
.file-list { display: grid; gap: .28rem; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding-left: .5rem; border: 1px solid var(--line); font-size: .9rem; border-radius: .4rem; overflow-wrap: anywhere; }
.feedback { color: #853948; margin-top: .65rem; }
.feedback:empty { display: none; }
.story-note { white-space: pre-wrap; overflow-wrap: anywhere; margin: .75rem 0; }
.story-media { display: grid; gap: .85rem; }
.story-media img, .story-media video { max-height: 23rem; border-radius: .6rem; object-fit: contain; }
.story-media audio, .story-media video { width: 100%; }
.story-media figcaption { margin-top: .25rem; font-size: .88rem; }
.story-actions { border-top: 1px solid var(--line); padding-top: .7rem; }
#film-content progress { width: 100%; margin: .8rem 0 .25rem; }
#film-content > .button { margin-top: .65rem; }
.finished-film { width: 100%; aspect-ratio: 16/9; border-radius: .7rem; background: #211722; }
.toast {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  background: var(--plum-dark);
  color: var(--paper);
  border-radius: .7rem;
  padding: .65rem .9rem;
  z-index: 5;
  box-shadow: 0 .3rem .8rem #27172532;
}

@media (max-width: 1070px) {
  :root { --rail: 184px; }
  .sidebar { padding-inline: .72rem; }
  .hero { min-height: 19rem; }
  .hero-copy { padding: 1.55rem; }
  .phase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase-card { min-height: 8.6rem; }
}

@media (max-width: 730px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: .66rem .8rem .48rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand { margin: .25rem .2rem .66rem; width: 8.3rem; }
  .mobile-account { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding-inline: .15rem; color: var(--plum); font-size: .84rem; font-weight: 650; text-underline-offset: .18em; }
  #location-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .toolbar { gap: .55rem; }
  .sidebar nav { display: flex; gap: .25rem; }
  .sidebar nav a { min-height: 2.6rem; padding: .4rem .48rem; gap: .38rem; font-size: .88rem; }
  .nav-icon { scale: .84; }
  .device-note { display: none; }
  .workspace { margin-left: 0; }
  .toolbar { min-height: 3.7rem; padding: .48rem 1rem; }
  #main { padding-block: .88rem 1.9rem; }
  .journey-picker { margin-bottom: 1rem; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 17rem; }
  .hero-copy { padding: 1.1rem; }
  .hero-copy h1 { font-size: clamp(2.3rem, 6.7vw, 3.35rem); }
  .hero-copy p { margin: .56rem 0 .86rem; font-size: .96rem; }
  .guide-layout { grid-template-columns: 1fr; }
  .question-card { grid-row: 1; }
  .stage-section { margin-top: 1.2rem; }
}

@media (max-width: 460px) {
  .age-cover { grid-row: 1; padding: 1.1rem; }
  .challenge-trail { --track: 4rem; }
  .trail-stop a { gap: .55rem; }
  .trail-node { width: 1.95rem; height: 1.95rem; }
  .trail-copy { padding: .6rem .7rem; }
  .hero { grid-template-columns: 1fr; border-radius: 1rem; }
  .hero-photo { grid-column: 1; grid-row: 1; padding: .65rem; }
  .hero-image { max-height: none; }
  .hero-copy h1 { font-size: 2.38rem; text-wrap: wrap; }
  .plan-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .phase-grid { gap: .5rem; }
  .phase-card { min-height: 9.5rem; padding: .66rem .64rem; }
  .progress-summary { width: 100%; justify-content: space-between; }
}
