/* HOME STORY: "The distance between" */
.story {
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.js .story {
  height: 760vh;
}
.story__stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-4);
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 2rem;
}
.js .story__stage {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h) - var(--foot-h));
  height: calc(100dvh - var(--nav-h) - var(--foot-h));
  box-sizing: border-box;
  padding: 1rem 1.5rem 4.5rem;
}
.story__text {
  position: relative;
  min-height: 26rem;
}
.scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 0;
}
.js .scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  pointer-events: none;
}
.js .scene.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.scene h1,
.scene h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--color-text);
  margin: 0 0 var(--space-3);
  max-width: 16em;
}
.scene p {
  font-family: var(--font-heading);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--color-text-soft);
  max-width: 30em;
  margin: 0 0 var(--space-3);
}
.scene .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.story__art {
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 10 / 7;
  color: var(--color-text-muted);
}
.story__art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.story__art * {
  vector-effect: non-scaling-stroke;
}

.main {
  transform-origin: 300px 300px;
  transform-box: view-box;
  transition:
    transform 1.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.8s;
}
.on-6 .main {
  opacity: 0;
}
.b {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.b rect,
.b path {
  stroke-width: 2;
}
.b text {
  font:
    italic 31px Georgia,
    serif;
  fill: var(--color-text);
  stroke: none;
}
/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.step {
  position: relative;
  text-align: center;
}
.step__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  position: relative;
  z-index: 1;
}
.step__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(50% + 50px);
  width: calc(100% - 100px + var(--space-4));
  border-top: 2px dashed var(--color-border);
}
.step__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
}
.step p {
  margin: 0 auto;
  max-width: 15em;
  color: var(--color-text-soft);
  line-height: var(--lh-body);
}
.promise {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin: var(--space-5) auto 0;
  padding: 1rem 1.4rem;
  max-width: 46rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}
.promise svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .step {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 1rem;
    text-align: left;
    align-items: center;
  }
  .step__icon {
    margin: 0;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .step p {
    margin: 0;
  }
}

@media (max-width: 800px) {
  .story__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-2);
    padding-top: 4.5rem;
  }
  .story__art {
    order: -1;
    max-height: 40vh;
    width: auto;
    justify-self: center;
  }
  .story__text {
    min-height: 20rem;
  }
  .scene h1,
  .scene h2 {
    font-size: 1.9rem;
  }
  .scene p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story * {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }
}

/* HOME SECTIONS */
.note {
  margin-top: var(--space-4);
  max-width: 42em;
  color: var(--color-text-muted);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}
.starters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0 var(--space-4);
}
.chip {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  text-decoration: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.chip:hover,
.chip:focus-visible {
  background: var(--color-accent);
  color: var(--color-bg);
}
.crisis {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-4) 0;
}
.crisis p {
  max-width: 52em;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--color-text-soft);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}
.crisis strong {
  color: var(--color-text);
}

/* READABILITY */
:root {
  --nav-h: 80px;
  --foot-h: 60px;
  --fs-caption: 1rem;
  --fs-body-sm: 1.05rem;
  --fs-body: 1.1rem;
  --fs-body-lg: 1.3rem;
}
html {
  font-size: 20px;
}
.note,
.crisis p {
  font-size: 1.05rem;
}

/* STICKY NAV + FOOTER */
site-navbar {
  display: block;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-h);
}
site-footer {
  display: block;
  position: sticky;
  bottom: 0;
  z-index: 900;
  background: var(--color-bg);
  min-height: var(--foot-h);
}
.footer {
  margin-top: 0;
  padding-block: 0.25rem;
}
.footer__content {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-text-muted);
}
.footer__help {
  margin-left: auto;
  font-size: 1rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 0.5rem;
}
.navbar__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* STORY ORIENTATION */
.story__cue {
  position: absolute;
  left: 50%;
  bottom: 0.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 1rem;
  z-index: 2;
}
.story__cue i {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  animation: cue 1.6s ease-in-out infinite;
}
.story__cue:focus-visible {
  outline: 2px solid var(--color-accent);
  border-radius: 8px;
}
.story__dots {
  position: absolute;
  left: 50%;
  bottom: 3.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.story__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
  transition:
    background 0.4s,
    transform 0.4s;
}
.story__dots span.on {
  background: var(--color-accent);
  transform: scale(1.4);
}
html:not(.js) .story__cue,
html:not(.js) .story__dots {
  display: none;
}
@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 1;
  }
}

/* ABOUT WITH PHOTO */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.about__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --foot-h: 56px;
  }
  html {
    font-size: 19px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about__photo {
    max-width: 320px;
    order: -1;
    display: block;
    margin-inline: auto;
  }
  .scene h1,
  .scene h2 {
    margin-bottom: var(--space-2);
    font-size: 1.5rem;
  }
  .scene p {
    margin-bottom: var(--space-2);
    font-size: 1rem;
    line-height: 1.5;
  }
  .story__art {
    max-height: none;
    width: min(calc(100% + 2.4rem), 46dvh);
    max-width: none;
    justify-self: center;
    margin-inline: 0;
  }
  .story__stage {
    gap: 0.5rem;
  }
  .footer__copyright {
    font-size: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story__cue i {
    animation: none;
  }
}

.steps--plain .step::after {
  display: none;
}
.step__link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--color-accent);
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.step__link:hover,
.step__link:focus-visible {
  opacity: 0.75;
}

.section-header h2 + p {
  margin-top: 2.4rem;
}
.beliefs-list {
  border-bottom: 1px solid var(--color-border);
}
.brow {
  display: grid;
  grid-template-columns: 1fr 48px 1.25fr;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
}
.brow--head {
  padding: 0.6rem 0;
  color: var(--color-text-subtle);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brow p {
  margin: 0;
}
.brow__q {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.3;
}
.brow__a {
  color: var(--color-text);
  line-height: var(--lh-body);
}
.brow__arrow svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compose textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1.6;
  resize: vertical;
}
.compose textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.compose__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
  text-align: center;
}
@media (max-width: 768px) {
  .brow {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .brow--head {
    display: none;
  }
  .brow__arrow {
    transform: rotate(90deg);
    width: 30px;
  }
}

.hl-group {
  margin: var(--space-5) 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-3);
}
.hl-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.hl-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.hl-badge {
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
  color: var(--color-accent);
  font-size: 0.95rem;
  text-align: right;
}
.hl-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
}
.hl-nums {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}
.hl-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--color-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hl-num:hover,
.hl-num:focus-visible {
  color: var(--color-accent);
}
.hl-card p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: var(--lh-body);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  padding: 0.7rem 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
}
.skip:focus {
  left: 8px;
  top: 8px;
}
.navbar__cta {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-bg);
  text-decoration: none;
  font-size: 1rem;
}
.navbar__cta:hover {
  opacity: 0.88;
}
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  bottom: 20px;
  border-left: 2px dashed var(--color-border);
}
.stop {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  position: relative;
}
.stop__n {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.3rem;
  z-index: 1;
}
.stop__card {
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.stop__card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.stop__q {
  margin: 0 0 0.8rem;
  color: var(--color-text-soft);
  line-height: var(--lh-body);
  font-size: var(--fs-body-lg);
}
.stop__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
.story-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.story-card {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.story-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.story-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.tag {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
  color: var(--color-accent);
  font-size: 0.9rem;
}
.story-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.6rem 1.2rem;
}
.story-card dt {
  color: var(--color-accent);
  font-size: 1rem;
  padding-top: 0.15rem;
}
.story-card dd {
  margin: 0;
  line-height: var(--lh-body);
  color: var(--color-text-soft);
}
.essay {
  max-width: 42rem;
  margin: 0 auto;
}
.essay p,
.essay li {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-soft);
}
.essay h2 {
  margin: var(--space-5) 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 400;
}
.essay__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}
.essay__list li {
  margin-bottom: var(--space-2);
}
@media (max-width: 768px) {
  .story-card dl {
    grid-template-columns: 1fr;
  }
  .story-card dt {
    margin-top: 0.5rem;
  }
  .stop {
    grid-template-columns: 44px 1fr;
    gap: var(--space-2);
  }
  .stop__n {
    width: 44px;
    height: 44px;
  }
  .journey::before {
    left: 21px;
  }
}
.trust-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 var(--space-2);
}
.scene .trust-line {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}
.trust-line svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.story__quick {
  position: absolute;
  top: 0.4rem;
  right: 1.5rem;
  display: flex;
  z-index: 3;
  gap: 1.4rem;
}
.story__quick a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  line-height: 1.2;
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0.4rem 0.15rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-decoration-color: color-mix(
    in srgb,
    var(--color-text-muted) 45%,
    transparent
  );
  text-underline-offset: 5px;
  font-size: 1rem;
}
.story__quick a:hover,
.story__quick a:focus-visible {
  background: none;
  opacity: 1;
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}
.about .content p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.about--solo {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  max-width: none;
  align-items: start;
}
.pagehero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}
.pagehero__art {
  display: flex;
  justify-content: center;
}
.pagehero__art svg,
.pagehero__art img {
  width: 100%;
  max-width: 480px;
  height: auto;
}
.pagehero__art img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}
.pagehero .section-header {
  margin-bottom: var(--space-3);
}
.emergency {
  width: 100%;
  max-width: 420px;
  padding: var(--space-4);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-bg));
  text-align: center;
}
.emergency p {
  margin: 0 0 0.4rem;
  color: var(--color-text-soft);
}
.emergency .emergency__num {
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--color-accent);
}
.emergency .btn {
  margin: 0.8rem 0;
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}
.tcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.tcard__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.3;
}
.tcard p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: var(--lh-body);
  font-size: 1.1rem;
}
.tcard__foot {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.steps--four {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) {
  .steps--four {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps--four .step::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .steps--four {
    grid-template-columns: 1fr;
  }
  .pagehero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .pagehero__art {
    order: -1;
  }
  .pagehero__art svg,
  .pagehero__art img {
    max-width: 260px;
  }
  .js .story__stage {
    grid-template-rows: auto minmax(0, 1fr);
    padding: 2.4rem 1.2rem 2.8rem;
  }
  .story__quick {
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }
  .story__quick a {
    font-size: 0.95rem;
    padding: 0.45rem 0.9rem;
  }
  .emergency .emergency__num {
    font-size: 4rem;
  }
}

/* quiet quick links */
/* crisis strip */
.crisis__inner {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.crisis .crisis__lead {
  margin: 0 0 var(--space-3);
  padding: 0;
  max-width: none;
  font-size: 1.1rem;
}
.crisis__list {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.crisis__list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  justify-content: center;
  min-height: 6.2rem;
}
.crisis__list span {
  color: var(--color-text-soft);
  font-size: 1rem;
  display: block;
}
.crisis__list small {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: block;
  margin: 0;
}
.crisis__list a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-text);
  text-decoration: none;
}
.crisis__list a:hover,
.crisis__list a:focus-visible {
  color: var(--color-accent);
}
.crisis .crisis__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 0;
  max-width: none;
}
/* questions card footer */
.stop__links a[data-starter] {
  margin-left: auto;
}
/* helplines cards */
.hl-contact {
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hl-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.hl-contact svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hl-contact a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border);
}
.hl-contact a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}
.hl-none {
  color: var(--color-text-muted);
}
/* aligned cards: rows line up across a row of cards */
@supports (grid-template-rows: subgrid) {
  .tgrid,
  .hl-grid {
    row-gap: 0;
    column-gap: var(--space-4);
  }
  .tcard {
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0.8rem;
    margin-bottom: var(--space-4);
    grid-row: span 3;
  }
  .hl-card {
    grid-row: span 5;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0.7rem;
    margin-bottom: var(--space-3);
  }
  .tcard .tag {
    justify-self: start;
  }
  .tcard__foot {
    align-self: end;
  }
}
@supports not (grid-template-rows: subgrid) {
  .tcard__title {
    min-height: 3.9em;
  }
  .hl-card h3 {
    min-height: 1.4em;
  }
}

/* nav: help first, theme toggle inside menu */
.navbar__help {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-accent);
}
.navbar__help svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.navbar__theme {
  list-style: none;
}
.navbar__theme .tt-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* build scene: path resolves into the network */
/* stories, thoughts, helplines refinements */
.story-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}
.story-card__num {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.story-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
}
.story-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hl-find {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-text);
}
.about .content .about__lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--color-text);
}

/* Illustrations (inline SVG on every page) */
.v-road {
  fill: none;
  stroke: var(--color-text-subtle);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1 13;
}
.v-link {
  stroke: var(--color-text-subtle);
  stroke-width: 1.5;
}
.v-node {
  fill: var(--color-bg);
  stroke: var(--color-accent);
  stroke-width: 2.5;
}
.v-grid {
  stroke: var(--color-border);
  stroke-width: 2;
}
.v-dot {
  fill: var(--color-accent);
}
.v-say {
  font:
    italic 30px Georgia,
    serif;
  fill: var(--color-text);
}
.v-say-lg {
  font:
    italic 31px Georgia,
    serif;
  fill: var(--color-text);
}
.v-gap {
  fill: var(--color-bg);
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 4 5;
}
.v-card {
  fill: var(--color-surface);
  stroke: var(--color-border);
  stroke-width: 2;
}
.v-card-accent {
  fill: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
  stroke: var(--color-accent);
  stroke-width: 2;
}
.v-num {
  font:
    24px Georgia,
    serif;
  fill: var(--color-bg);
}
.v-stone-w {
  fill: var(--color-bg);
  stroke: var(--color-text-subtle);
  stroke-width: 2;
}
.v-stone-b {
  fill: var(--color-text);
  stroke: var(--color-text);
  stroke-width: 2;
}
.v-bridge {
  stroke: var(--color-accent);
  stroke-width: 4;
  stroke-linecap: round;
}
.v-ring {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2;
  stroke-dasharray: 3 9;
}
.v-buddy {
  fill: var(--color-bg);
  stroke: var(--color-text);
  stroke-width: 2.5;
}
.v-halo {
  fill: none;
  stroke: var(--color-accent);
  stroke-opacity: 0.5;
  stroke-width: 2;
}
.v-influence {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-dasharray: 5 7;
}
.pagehero__text {
  min-width: 0;
}
.emergency .emergency__label {
  color: var(--color-text-muted);
}
a[href^="tel:"] {
  white-space: nowrap;
}

/* ===== Home story illustration: one cast (a person, a listener, a care building) ===== */
.sc-ground,
.sc-cliff,
.sc-archline,
.sc-post,
.sc-deckline,
.sc-rail {
  fill: none;
  stroke: var(--color-text-subtle);
  stroke-width: 5;
  stroke-linecap: round;
}
.sc-archline {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-dasharray: 2 10;
}
.sc-post {
  stroke-width: 4;
}
.sc-deckline {
  stroke: var(--color-accent);
  stroke-width: 10;
}
.sc-rail {
  stroke: var(--color-accent);
  stroke-width: 3;
}
.sc-fig-me {
  fill: var(--color-accent);
}
.sc-fig-o {
  fill: var(--color-bg);
  stroke: var(--color-text);
  stroke-width: 2.6;
  stroke-linejoin: round;
}
.sc-bldg {
  fill: var(--color-surface);
  stroke: var(--color-text);
  stroke-width: 3;
}
.sc-heart {
  fill: var(--color-accent);
}
.sc-door {
  fill: var(--color-bg);
  stroke: var(--color-accent);
  stroke-width: 3;
}
.sc-glow {
  fill: var(--color-accent);
  fill-opacity: 0.14;
}
.sc-board {
  fill: var(--color-accent);
}
.sc-signtext {
  font:
    22px Georgia,
    serif;
  fill: var(--color-bg);
}
.sc-plank {
  fill: var(--color-accent);
}
.sc-reach,
.sc-lead {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
}
.sc-lead {
  stroke-width: 2;
  stroke-opacity: 0.7;
}
.sc-focus {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-dasharray: 5 7;
}
.sc-bub {
  fill: var(--color-surface);
  stroke: var(--color-border);
  stroke-width: 2;
}
.sc-bub-a {
  fill: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
  stroke: var(--color-accent);
  stroke-width: 2;
}
.sc-say {
  font:
    italic 27px Georgia,
    serif;
  fill: var(--color-text);
}
.sc-item {
  font:
    25px Georgia,
    serif;
  fill: var(--color-text);
}
.sc-label {
  font:
    italic 25px Georgia,
    serif;
  fill: var(--color-text-muted);
}
.sc-cap {
  font:
    italic 29px Georgia,
    serif;
  fill: var(--color-text);
}
.sc-ico {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc-dots circle {
  fill: var(--color-accent);
  animation: sc-dot 1.4s ease-in-out infinite;
}
.sc-dots circle:nth-child(2) {
  animation-delay: 0.2s;
}
.sc-dots circle:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes sc-dot {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
.sc-gmid,
.sc-cliff,
.sc-arch,
.sc-care,
.sc-glow,
.sc-plank,
.sc-deck,
.sc-listener,
.sc-listener2,
.sc-me,
.sc-cr,
.sc-crowd,
.sc-sign,
.sc-cap,
.sc-lblA,
.sc-lblB,
.sc-reach,
.sc-talk2,
.sc-talk6,
.sc-row {
  transition:
    opacity 0.8s ease,
    transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sc-cliff,
.sc-care,
.sc-glow,
.sc-plank,
.sc-deck,
.sc-listener2,
.sc-crowd,
.sc-sign,
.sc-cap,
.sc-lblA,
.sc-lblB,
.sc-reach,
.sc-talk2,
.sc-talk6,
.sc-row {
  opacity: 0;
}
.on-1 .sc-arch,
.on-1 .sc-listener {
  opacity: 0;
}
.on-1 .sc-gmid {
  opacity: 0;
  transform: translateY(28px);
}
.on-1 .sc-cliff,
.on-1 .sc-care,
.on-1 .sc-lblA,
.on-1 .sc-lblB,
.on-1 .sc-reach {
  opacity: 1;
}
.on-1 .sc-me {
  transform: translateX(-100px);
}
.on-2 .sc-reach {
  opacity: 0;
}
.on-2 .sc-listener2,
.on-2 .sc-talk2 {
  opacity: 1;
}
.on-3 .sc-talk2 {
  opacity: 0;
}
.on-3 .sc-obst .sc-row {
  opacity: 1;
}
.on-4 .sc-obst .sc-row {
  opacity: 0;
}
.on-4 .sc-help .sc-row {
  opacity: 1;
}
.on-4 .sc-plank,
.on-4 .sc-glow {
  opacity: 1;
}
.on-4 .sc-me {
  transform: translateX(200px);
  transition-delay: 1.3s;
}
.on-5 .sc-help .sc-row,
.on-5 .sc-lblA {
  opacity: 0;
}
.on-5 .sc-deck,
.on-5 .sc-crowd,
.on-5 .sc-sign,
.on-5 .sc-cap {
  opacity: 1;
}
.on-5 .sc-cr {
  transform: translateX(215px);
}
.on-6 .sc-care,
.on-6 .sc-glow,
.on-6 .sc-cliff,
.on-6 .sc-plank,
.on-6 .sc-deck,
.on-6 .sc-crowd,
.on-6 .sc-sign,
.on-6 .sc-cap,
.on-6 .sc-lblB,
.on-6 .sc-listener2 {
  opacity: 0;
}
.on-6 .sc-gmid,
.on-6 .sc-listener,
.on-6 .sc-talk6 {
  opacity: 1;
}
.on-6 .sc-gmid {
  transform: none;
}
.on-6 .sc-me {
  transform: none;
  transition-delay: 0s;
}
.sc-d1 {
  transition-delay: 0.15s;
}
.sc-d2 {
  transition-delay: 0.45s;
}
.sc-d3 {
  transition-delay: 0.75s;
}
.sc-d4 {
  transition-delay: 1.05s;
}
.sc-p1 {
  transition-delay: 0.2s;
}
.sc-p2 {
  transition-delay: 0.6s;
}
.sc-p3 {
  transition-delay: 1s;
}
.sc-c1 {
  transition-delay: 1.2s;
}
.sc-c2 {
  transition-delay: 1.8s;
}
.sc-c3 {
  transition-delay: 2.4s;
}
.on-6 .sc-talk6 {
  transition-delay: 0.9s;
}
@media (prefers-reduced-motion: reduce) {
  .sc-dots circle {
    animation: none;
  }
  .sc-gmid,
  .sc-me,
  .sc-cr,
  .sc-row,
  .sc-plank {
    transition-delay: 0s;
  }
}
/* navigation: keep each item on one line */
@media (min-width: 1101px) {
  .navbar__menu {
    gap: 1.4rem;
  }
  .navbar__menu a {
    white-space: nowrap;
  }
  .navbar__cta {
    line-height: 1.2;
  }
  .navbar__help svg {
    flex: none;
  }
}

@media (max-width: 768px) {
  .footer__copyright,
  .footer__help {
    white-space: nowrap;
  }
  .footer__help {
    font-size: 0.95rem;
  }
  .footer__content {
    gap: 0.6rem;
  }
}

/* ===== v17: first frame, hero rule, shared form, footer icons, helplines, about ===== */
.pagehero {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-5);
}
.scene .hero__actions .btn {
  white-space: nowrap;
  width: auto;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  .crisis__list {
    grid-template-columns: 1fr;
  }
  .crisis__list li {
    min-height: 0;
  }
}
.hl-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  flex: none;
}
.hl-num svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.writebox__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.writebox__header {
  margin-bottom: var(--space-3);
}
.writebox__header h2 {
  margin: 0 0 var(--space-2);
}
.writebox__header p:not(.section-label) {
  margin: 0 auto;
  max-width: 34em;
}
.writebox .starters {
  justify-content: center;
}
.compose {
  text-align: left;
  margin: var(--space-3) auto 0;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.compose__lead {
  margin: 0 0 var(--space-3);
  color: var(--color-text-soft);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-3);
}
.field label {
  color: var(--color-text);
}
.field .opt {
  color: var(--color-text-muted);
}
.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.5;
}
.field textarea {
  resize: vertical;
  min-height: 9rem;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.hint {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.compose__status {
  min-height: 1.6rem;
  margin: var(--space-2) 0 0;
  text-align: center;
  color: var(--color-text-soft);
}
.compose__status[data-kind="ok"] {
  color: var(--color-accent);
}
.compose__status[data-kind="error"] {
  color: color-mix(in srgb, red 70%, var(--color-text));
}
.writebox__notes {
  margin: var(--space-4) auto 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  text-align: left;
}
.writebox__notes p {
  margin: 0 0 var(--space-2);
  max-width: none;
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.6;
}
.writebox__notes p:last-child {
  margin-bottom: 0;
}
.footer__social a:hover,
.footer__social a:focus-visible {
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
}
.footer__social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about--solo > div {
  display: contents;
}
.about--solo .content p {
  font-size: 1rem;
}
.section--tight {
  padding-block: var(--space-4);
}
@media (max-width: 900px) {
  .about--solo {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}
@media (max-width: 560px) {
  .footer__copyright {
    display: none;
  }
  .footer__help {
    margin-left: 0;
  }
  .footer__social {
    margin-left: auto;
  }
  .footer__social a {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 380px) {
  .footer__social a {
    width: 30px;
    height: 30px;
  }
  .footer__social svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 1100px) {
  .navbar__container {
    height: 64px;
  }
  .navbar__toggle {
    display: flex;
  }
  .navbar__brand {
    font-size: 1.1rem;
  }
  .navbar.navbar--open .navbar__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .navbar.navbar--open .navbar__link {
    justify-content: flex-start;
    padding: 0.8rem 1rem;
    font-size: 1.15rem;
  }
  .navbar__theme {
    margin-top: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--color-border);
  }
  .navbar__theme .theme-toggle {
    width: 100%;
    height: auto;
    border-radius: 12px;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
  }
  .navbar__theme .tt-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  .navbar__cta {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
  }
  .navbar.navbar--open .navbar__help {
    padding: 0.8rem 1rem;
    font-size: 1.15rem;
  }
}

@media (max-width: 420px) {
  .hl-num {
    font-size: 1.3rem;
  }
}

/* Short or narrow screens: keep every frame inside the stage, clear of the scroll cue */
@media (max-width: 768px), (max-height: 720px) {
  .scene--cta p {
    display: none;
  }
}

/* Story layout that always fits: art and text share the stage, whatever the screen height */
@media (max-width: 768px) {
  .story__text {
    min-height: 0;
    align-self: stretch;
  }
}
@media (max-height: 760px) {
  .scene p {
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .scene--intro > p:not(.trust-line) {
    display: none;
  }
}

@media (max-width: 768px) {
  .story__cue span {
    display: none;
  }
  .story__dots {
    bottom: 1.8rem;
  }
}
.scene--cta h2 {
  margin-bottom: 0.6rem;
}
@media (max-width: 768px) and (max-height: 700px) {
  .story__art {
    width: min(calc(100% + 2.4rem), 42dvh);
  }
}

@media (max-width: 768px) and (max-height: 660px) {
  .story__art {
    width: min(calc(100% + 2.4rem), 40dvh);
  }
  .scene--cta h2 {
    font-size: 1.35rem;
  }
}
