.pastel-shell {
  --ink: #452657;
  --muted: #654d71;
  --edge: #d7bfe3;
  --depth: #d4bbde;
  --accent: #b1e1db;
  --accent-edge: #77ada8;
  --accent-ink: #194d50;
  max-width: 64rem;
  margin: 1.5rem auto 2.5rem;
  padding: clamp(1rem, 4vw, 3rem);
  border-radius: 2rem;
  background: radial-gradient(ellipse at top right, #eedcf5, transparent 66%),
    linear-gradient(155deg, #f4fbf7, #e3f3f2 62%, #efe5f4);
  color: var(--ink);
}
.pastel-shell h1, .pastel-shell h2, .pastel-card strong, .pastel-action strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  color: inherit;
  text-shadow: none;
  letter-spacing: -.025em;
}
.pastel-shell h1 { margin: 0 0 .65rem; font-size: clamp(2rem, 6.6vw, 4.2rem); line-height: 1.06; max-width: 19ch; }
.pastel-shell h2 { font-size: clamp(1.6rem, 4.5vw, 2.7rem); line-height: 1.15; margin: 0 0 .6rem; }
.pastel-eyebrow { display: block; margin: 0 0 .65rem; color: var(--muted); text-transform: uppercase; font-size: clamp(.71rem, 1.55vw, .93rem); font-weight: 800; letter-spacing: .15em; line-height: 1.35; }
.pastel-intro { max-width: 48ch; margin-bottom: 1.35rem; color: var(--muted); line-height: 1.55; }
.pastel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 2vw, 1.45rem); }
.pastel-card {
  display: flex; flex-direction: column; align-items: stretch; gap: .5rem;
  min-width: 0; width: 100%; padding: clamp(.55rem, 2vw, 1.35rem);
  border: 1px solid var(--edge); border-radius: clamp(1.05rem, 3vw, 1.9rem);
  background: #fcfaff; box-shadow: 0 .33rem 0 var(--depth), 0 .6rem 1.2rem #52336312;
  color: inherit; text-align: left; text-decoration: none;
}
.pastel-card .pastel-eyebrow { margin: .15rem 0 0; }
.pastel-card strong { font-size: clamp(1.16rem, 3.7vw, 2.13rem); line-height: 1.09; overflow-wrap: break-word; }
.pastel-card-copy { font-size: clamp(.86rem, 2.25vw, 1.16rem); line-height: 1.43; color: var(--muted); }
.pastel-card[aria-pressed=true] { outline: 2px solid var(--muted); outline-offset: 1px; }
.icon-tray { display: grid; place-items: center; min-height: clamp(5.35rem, 14vw, 8.5rem); border-radius: clamp(.75rem, 2.5vw, 1.3rem); background: radial-gradient(ellipse at 22% 12%, #fff, transparent 58%), linear-gradient(140deg,#eee3f6,#d6c4e8); }
.pastel-card:nth-child(even) .icon-tray, .pastel-home .icon-tray { background: radial-gradient(ellipse at 22% 12%, #fff, transparent 60%), linear-gradient(139deg,#e6dcf4,#cfe7e6); }
.pastel-action {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem;
  margin: 1.45rem 0 1.65rem; padding: .85rem clamp(.65rem,2.6vw,1.4rem);
  border-radius: 1.2rem; border: 1px solid var(--accent-edge); background: var(--accent);
  box-shadow: 0 .36rem 0 var(--accent-edge), 0 .65rem 1.2rem #244b5715;
  color: var(--accent-ink); text-decoration: none;
}
.pastel-action-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .85rem; background: #ffffffa3; }
.pastel-action-icon .pastel-icon { scale: .46; }
.pastel-action strong { display: block; font-size: clamp(1.2rem, 4vw, 2rem); line-height: 1.1; }
.pastel-action span span { font-size: .88rem; display: block; margin-top: .2rem; line-height: 1.3; }
.pastel-arrow { font-size: 1.35rem; font-weight: 700; }
.pastel-urgent { display: flex; align-items: center; justify-content: space-between; gap: .65rem; border: 1px solid var(--edge); border-radius: 1rem; background: #fcfaff; margin-bottom: 1.35rem; padding: .7rem .85rem; font-size: .88rem; line-height: 1.4; }
.pastel-urgent p { margin: 0; }
.pastel-urgent a { flex: none; font-weight: 800; }
.pastel-panel { margin-top: 1.5rem; padding: clamp(.85rem, 3vw, 1.65rem); border: 1px solid var(--edge); border-radius: 1.2rem; background: #e9ddef; color: var(--ink); }
.pastel-panel p:last-child, .pastel-panel ul:last-child { margin-bottom: 0; }
.pastel-panel details { padding: .55rem 0; }
.pastel-panel summary { cursor: pointer; font-weight: 700; }
.pastel-panel a { font-weight: 700; }
.pastel-instruction { text-align: center; color: var(--muted); margin: 1.2rem 0 0; font-size: .89rem; }
.pastel-existing-tabs { padding-block: 0; }
.coco-explore { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.coco-explore img { width: 6rem; height: auto; object-fit: contain; }
.pastel-jj { --ink: #254e5d; --muted: #3f6472; --edge: #bfd8df; --depth: #b2d1db; --accent: #c1e4ea; --accent-edge: #8bbac8; --accent-ink: #244f60; background: radial-gradient(ellipse at 100% 0%, #f6fcfd, transparent 52%), linear-gradient(155deg,#bcdfe7,#e5f2f5 52%); }
.pastel-jj h1 { max-width: 7ch; }
.pastel-jj .icon-tray { background: radial-gradient(ellipse at 22% 12%, #fff, transparent 60%),linear-gradient(142deg,#edf5f8,#c1dce5); }
.pastel-jj .pastel-card { background: #f8fcfc; }
.pastel-jj .pastel-panel { background: #d7eaf0; }
.jj-tagline { font: italic clamp(1.25rem,4vw,1.95rem)/1.2 Georgia,serif; margin-bottom: .85rem; }
.jj-topics { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; margin: 0 0 1.5rem; }
.jj-topics li { padding: .26rem .62rem; background: #f3fafc; border: 1px solid var(--edge); border-radius: 2rem; font-weight: 700; font-size: .81rem; }
.jj-start { margin-top: 1.85rem; }
.jj-source { margin: 1.55rem 0 0; font-size: .88rem; }

@media (max-width: 70rem) { .pastel-shell { margin-inline: clamp(.7rem, 4vw, 2rem); } }
@media (max-width: 22rem) { .pastel-shell { margin-inline: .4rem; padding-inline: .65rem; } .pastel-eyebrow { letter-spacing: .1em; } }

.portrait-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(10rem, .65fr); gap: clamp(1.1rem, 4vw, 2.8rem); align-items: center; }
.portrait-frame { margin: 0; padding: .5rem; max-width: 17rem; border: 1px solid #d9c9df; border-radius: 1.3rem; background: #fbf8ff; box-shadow: 0 5px 0 #d7c3de, 0 12px 24px #3e285427; }
.portrait-frame img { display: block; width: 100%; height: auto; border-radius: .9rem; }
.coco-world { display: grid; grid-template-columns: minmax(10rem, .85fr) minmax(0, 1.15fr); align-items: center; gap: 1rem; }
.coco-stage { position: relative; isolation: isolate; min-height: 14rem; overflow: hidden; border-radius: 1.35rem; background: radial-gradient(ellipse at 44% 31%, #fcf9ff, #e3d3ee 64%, #c4e0dc); box-shadow: inset 0 0 0 1px #8060922c, inset 0 -5px 13px #63488818; }
.coco-stage::after { content: ''; position: absolute; z-index: -1; width: 78%; height: 1.35rem; left: 11%; bottom: 8%; border-radius: 50%; background: #5b37772d; filter: blur(6px); }
.coco-stage img { position: absolute; height: auto; object-fit: contain; }
.coco-character { width: 71%; max-height: 92%; left: 0; bottom: 4%; }
.coco-backpack { width: 33%; max-height: 61%; right: 4%; bottom: 6%; filter: drop-shadow(0 5px 5px #42686d35); }
.coco-plush { width: 32%; max-height: 47%; right: 4%; bottom: 48%; filter: drop-shadow(0 6px 5px #48375d30); }
.coco-world h3 { margin: 0 0 .4rem; color: var(--ink); font: 500 clamp(1.25rem, 3.3vw, 1.85rem)/1.17 Georgia, serif; }
.coco-choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
.coco-choices button, .coco-activity [data-coco-reset] { padding: .6rem .35rem; min-height: 2.75rem; border: 1px solid var(--edge); border-radius: .85rem; background: #fcfaff; color: var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--depth); }
.coco-choices button[aria-pressed=true] { background: #c6e8e2; border-color: #7aada7; }
.coco-choices img { display: block; margin: 0 auto .2rem; width: 2.35rem; height: 2rem; object-fit: contain; }
.coco-activity { grid-column: 1/-1; padding: .9rem; border: 1px solid var(--edge); border-radius: 1rem; background: #fcfbff; }
.coco-activity fieldset { padding: 0; margin: .75rem 0; border: 0; }
.coco-activity legend { margin-bottom: .35rem; font-weight: 750; }
.coco-activity label { display: flex; gap: .55rem; align-items: baseline; padding: .3rem 0; cursor: pointer; }
.coco-activity input { appearance: auto; width: 1rem; min-width: 1rem; height: 1rem; accent-color: #246963; margin: 0; }
.coco-activity progress { width: 100%; accent-color: #246963; }
.coco-activity [role=status] { margin: .2rem 0 .75rem; }
.coco-activity [data-coco-reset] { padding-inline: .85rem; }
.coco-complete { background: #edf8f4; border-color: #89b9af; }
@media (prefers-reduced-motion: no-preference) {
  .coco-reacts .coco-plush { animation: coco-peek .48s cubic-bezier(.2,.8,.25,1.15) both; }
  .coco-reacts .coco-character { animation: coco-bob .42s ease-out; }
  .coco-reacts .coco-backpack { animation: coco-bob .34s ease-out; }
}
@keyframes coco-peek { from { opacity: 0; transform: translateY(2.1rem) scale(.6) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes coco-bob { 55% { transform: translateY(-.55rem) rotate(-3deg); } }
@media (max-width: 38rem) {
  .portrait-feature, .coco-world { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 13rem; }
  .coco-stage { min-height: 12rem; }
}

.approved-home .pastel-home {
  max-width: none;
  margin: 0;
  padding: 0 clamp(.8rem, 4vw, 3rem) 1.75rem;
  border-radius: 0;
  background: transparent;
}
.home-content {
  max-width: 56rem;
  margin-inline: auto;
}
.home-story-link {
  margin-top: 1.65rem;
  text-align: center;
}

.journey-page {
  --ink: #452657;
  --muted: #654d71;
  --edge: #d7bfe3;
  --depth: #d4bbde;
  --accent: #b1e1db;
  --accent-edge: #77ada8;
  --accent-ink: #194d50;
  --journey-light: #f0e4f7;
  --journey-shade: #e2efef;
  width: min(100%, 69rem);
  margin-inline: auto;
  padding-inline: clamp(.8rem, 3vw, 2rem);
  color: var(--ink);
}
.journey-teal {
  --journey-light: #e8f4f0;
  --journey-shade: #d5eae8;
}
.journey-lavender {
  --journey-light: #f2eafb;
  --journey-shade: #e1efec;
}
.journey-blue {
  --journey-light: #edf7fa;
  --journey-shade: #d7ecf1;
}
.journey-page .section,
.journey-page .topic-panel > .section {
  padding: clamp(1.1rem, 4vw, 2.8rem);
}
.journey-page > .section,
.journey-page .topic-panel > .section,
.journey-page .pastel-shell {
  max-width: none;
  margin: 0 0 clamp(1.1rem, 3vw, 1.8rem);
  border-radius: clamp(1.15rem, 3vw, 2rem);
}
.journey-page > .section,
.journey-page .topic-panel > .section {
  border: 1px solid var(--edge);
  background: var(--cream-card);
}
.journey-page > :is(.directory-hero, .board-hero, .purpose-page:first-child) {
  background: radial-gradient(ellipse at top left, #fcfaff, transparent 65%),
    linear-gradient(145deg, var(--journey-light), var(--journey-shade));
  box-shadow: 0 .35rem 0 var(--depth), 0 .65rem 1.5rem #45265716;
}
.journey-page h1,
.journey-page h2,
.journey-page h3 {
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.025em;
  text-shadow: none;
}
.journey-page h1 {
  max-width: 19ch;
  font-size: clamp(2.15rem, 6.6vw, 4.2rem);
  line-height: 1.06;
}
.journey-page h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.7rem);
  line-height: 1.15;
}
.journey-page h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}
.journey-page h1 em,
.journey-page h2 em {
  color: inherit;
  text-shadow: none;
}
.journey-page .eyebrow { color: var(--muted); }
.journey-page :is(.directory-card, .person-card, .note-form, .kindness-note, .memory-grid > div, .pillars > article) {
  border: 1px solid var(--edge);
  border-radius: 1.25rem;
  background: #fcfaff;
  box-shadow: 0 .24rem 0 var(--depth), 0 .52rem .95rem #45265712;
}
.journey-page .directory-crisis {
  border: 1px solid var(--edge);
  border-inline-start: .22rem solid var(--accent-edge);
  border-radius: 1rem;
  background: #fcfbff;
}
.journey-page .mckenna-portrait {
  padding: .6rem;
  border: 1px solid var(--edge);
  border-radius: 1.15rem;
  background: #fcfbff;
  box-shadow: 0 .3rem 0 var(--depth), 0 .65rem 1.3rem #45265720;
}
.journey-page .mckenna-portrait img { border-radius: .7rem; }
.story-jumps { margin-top: 1.3rem; }
.story-jumps .pastel-card strong { font-size: clamp(1.13rem, 2.5vw, 1.55rem); }
.story-jumps .icon-tray { min-height: 3.5rem; }
.story-jumps .pastel-icon { scale: .78; }
.resource-entry-grid { margin-top: 1.25rem; }
.journey-page .journey-tabs {
  display: grid;
  gap: clamp(.65rem, 2vw, 1.25rem);
  margin: 1.25rem 0;
}
.journey-page .journey-tabs .journey-tab {
  padding: clamp(.55rem, 2vw, 1.05rem);
  border: 1px solid var(--edge);
  border-radius: clamp(.9rem, 2.5vw, 1.5rem);
  background: #fcfaff;
  color: var(--ink);
  box-shadow: 0 .28rem 0 var(--depth), 0 .55rem 1rem #45265715;
}
.journey-tabs .icon-tray { min-height: clamp(4rem, 10vw, 6rem); }
.journey-tabs .pastel-icon { scale: .83; }
.journey-page .journey-tabs .journey-tab[aria-selected="true"] {
  border-color: #836492;
  background: #f3e9f8;
}
.journey-page .journey-tabs #tab-all-resources {
  border-color: var(--accent-edge);
  background: #edf8f5;
  color: var(--accent-ink);
}
.journey-page .journey-tabs #tab-all-resources[aria-selected="true"] {
  border-color: #397d77;
  background: #d8efea;
}
.journey-page .journey-tabs .journey-tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.journey-page .topic-panel .directory-body { margin-inline: 0; }
.journey-page .conversation-content blockquote {
  margin-inline: 0;
  padding: .85rem 1rem;
  border-inline-start: .22rem solid var(--accent-edge);
  border-radius: 0 .65rem .65rem 0;
  background: #f0f8f5;
}
.journey-page .topic-experience.topic-view > :not([data-topic-panel], .pastel-urgent) {
  display: none;
}
.journey-page:has(.topic-view) > :not(.topic-experience) {
  display: none;
}
.topic-experience.topic-view { padding-top: clamp(.9rem, 4vw, 2.4rem); }
.topic-view .pastel-panel {
  max-width: 51rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2.25rem);
  border-color: var(--edge);
  background: #fcfaff;
  box-shadow: 0 .35rem 0 var(--depth), 0 .65rem 1.5rem #45265716;
}
.topic-route-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.topic-back { justify-self: start; }
.topic-route-header .icon-tray { min-height: clamp(5.5rem, 14vw, 8rem); }
.topic-view .pastel-panel > details {
  margin: .65rem 0;
  padding: .72rem 1rem;
  border: 1px solid var(--edge);
  border-radius: .8rem;
  background: var(--journey-light);
}
@media (min-width: 46rem) {
  .journey-tabs,
  .story-jumps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .topic-view .pastel-panel:not([hidden]),
  .journey-page .topic-panel:not([hidden]) {
    animation: page-arrival .3s ease-out both;
  }
}

.journey-page .journey-back {
  margin-bottom: 1rem;
}
