/* ============================================================
   Human Systems Operations — BC care provider preview
   youth.css — a thin project layer ON TOP of styles.css.
   Purpose: calmer compositions, tailored audience pages, and
   components the base homepage CSS doesn't already provide.
   Reuses the brand tokens defined in styles.css (:root).
   ============================================================ */

/* ---- Tighter rhythm: less vertical air between sections & elements ---- */
.ys main { --section-gap: clamp(2.25rem, 5vw, 4rem); }
/* sections carry the bulk of the page's whitespace — trim top/bottom padding */
.ys .section { padding-block: clamp(36px, 4.25vw, 60px); }
/* heroes were nearly full-height; bring them in */
.ys .hero { min-height: clamp(480px, 64svh, 600px); }
.ys .hero:has(.hero-cta-band) { min-height: clamp(430px, 54svh, 540px); }

/* stack the CTA band vertically so the audience line sits beneath the buttons,
   not squeezed beside them (the band is display:flex row by default) */
.ys .hero-cta-band { flex-direction: column; align-items: flex-start; }
/* In-flow, left-aligned line under the hero buttons (was a cramped right-aligned
   absolute overlay, hidden on mobile). display:block beats the styles.css mobile
   `display:none` so it now shows cleanly on every screen. */
.ys .hero-audience {
  position: static;
  inset: auto;
  display: block;
  margin: 0.9rem 0 0;
  max-width: 60ch;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
  /* sits over the dark hero — must stay light for contrast (WCAG AA) */
  color: rgba(255, 254, 249, 0.7);
}

/* ============================================================
   HERO AUDIENCE SWITCHER — one shared frame, three specific heroes
   ============================================================ */
.ys .hero-eyebrow {
  margin: 0 0 1.1rem;
  color: rgba(255, 254, 249, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ys-audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
}
.ys-tab {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 254, 249, 0.9);
  background: rgba(255, 254, 249, 0.10);
  border: 1px solid rgba(255, 254, 249, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ys-tab:hover { background: rgba(255, 254, 249, 0.2); }
.ys-tab.is-active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
@media (max-width: 560px) {
  .ys-tab { font-size: 0.82rem; padding: 0.45rem 0.85rem; }
}

/* Promoted page <h1> on interior pages must match .section h2 typography */
.ys main .section h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.35rem);
  color: var(--ink);
}

/* Visible keyboard focus for all interactive elements (WCAG 2.4.7 / 1.4.11) */
.ys a:focus-visible,
.ys .button:focus-visible,
.ys button:focus-visible,
.ys summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}
/* High-contrast focus ring on dark/teal surfaces */
.ys .ys-cta-band .button:focus-visible,
.ys .ys-proof a:focus-visible,
.ys .site-header .nav-cta:focus-visible {
  outline-color: #ffffff;
}

.ys-lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0; /* flush-left by default so it shares the heading's spine */
}

/* Center the lede only inside explicitly centered sections */
.ys-center .ys-lede { margin-inline: auto; }

.ys-center { text-align: center; }
.ys-center .section-kicker { justify-content: center; }
.ys-center h2 { margin-left: auto; margin-right: auto; }

/* ---- Eyebrow / kicker tweak so it reads calmer ---- */
.ys .section-kicker { color: var(--teal); }

/* ============================================================
   HOMEPAGE GUIDE — image, proof, and logos in one coherent unit
   ============================================================ */
.home-guide-section {
  padding-block: clamp(48px, 5.5vw, 78px);
}

.home-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 430px);
  gap: clamp(22px, 3.5vw, 44px) clamp(28px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
}

.home-guide-head {
  display: contents;
}

.home-guide-title {
  grid-column: 1;
}

.home-guide-portrait {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
}

.home-guide-title h2 {
  max-width: 930px;
}

.home-guide-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 0.86;
}

.home-guide-portrait img {
  object-position: 54% 42%;
}

.home-guide-body {
  grid-column: 1;
  max-width: 820px;
}

.home-guide-body .guide-copy p:first-child {
  margin-top: 0;
}

.home-guide-support {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
}

.home-guide-credential {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  justify-items: center;
}

.home-guide-credential img {
  width: 86px;
  height: 54px;
}

.home-guide-credential .credential-logo-ufred {
  width: 96px;
  height: 62px;
}

.home-guide-logo-strip {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.home-guide-logo-strip::before {
  display: none;
}

.home-guide-logo-strip > span {
  text-align: left;
}

.home-guide-logo-strip .guide-logos {
  justify-content: flex-start;
  gap: 18px 32px;
  margin-top: 16px;
}

.home-guide-logo-strip .guide-logos img {
  width: 122px;
  height: 58px;
}

.home-guide-section .guide-proof-grid {
  grid-column: 1 / -1;
  margin-top: clamp(28px, 4vw, 42px);
}

.home-guide-section .guide-testimonials {
  grid-column: 1 / -1;
  margin-top: clamp(28px, 4vw, 42px);
}

/* ============================================================
   SOLUTION GRID — the six components we build
   ============================================================ */
.ys-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ys-solution-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 6px 22px rgba(17, 23, 26, 0.05);
}

.ys-solution-card .ys-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.ys-solution-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0.2rem 0 0;
  color: var(--ink);
}

.ys-solution-card p { margin: 0; color: var(--ink-soft); line-height: 1.55; }

.ys-solution-card .ys-solves {
  margin-top: auto;
  font-size: 0.82rem;
  /* darkened amber so 0.82rem/600 clears WCAG AA 4.5:1 on white cards */
  color: #8a4b1c;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-top: 0.4rem;
}

/* ============================================================
   SHIFT LIST — "what you live with now" → "what changes"
   A clean two-column mapping (no heavy table chrome).
   ============================================================ */
.ys-shift { margin-top: 2.5rem; display: grid; gap: 0.9rem; }

.ys-shift-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}

.ys-shift-from { color: var(--ink-soft); }
.ys-shift-to { color: var(--ink); font-weight: 600; }
.ys-shift-row .ys-arrow {
  color: var(--teal);
  font-size: 1.3rem;
  line-height: 1;
}

/* ============================================================
   STATS BAND — BC-verified reality, with sources
   ============================================================ */
.ys-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.ys-stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  text-align: left;
}

.ys-stat strong {
  display: block;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  color: var(--teal-dark);
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.ys-stat span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }

.ys-sources {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 90ch;
}
.ys-sources a { color: var(--teal-dark); }

/* ============================================================
   PROOF BAND — the prior-engagement story (anonymized)
   ============================================================ */
.ys-proof {
  background: var(--charcoal);
  color: #eef1ef;
  border-radius: 14px;
  padding: clamp(2rem, 5vw, 3.25rem);
}

.ys-proof .section-kicker { color: #f0b35b; }
.ys-proof h2 { color: #fff; }
.ys-proof p { color: #cfd6d4; line-height: 1.65; }

.ys-proof-points {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.ys-proof-points li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.ys-proof-points strong { display: block; color: #fff; margin-bottom: 0.35rem; }
.ys-proof-points span { color: #c3ccc9; font-size: 0.92rem; line-height: 1.5; }

.ys-proof-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #9fb0ab;
  font-style: italic;
}

.ys-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.ys-next-grid article {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
}

.ys-next-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.08rem;
}

.ys-next-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   REASSURE ROW — privacy / confidentiality at a glance
   ============================================================ */
.ys-reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.ys-reassure article {
  border-left: 3px solid var(--teal);
  padding: 0.4rem 0 0.4rem 1.1rem;
}
.ys-reassure h3 { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--ink); }
.ys-reassure p { margin: 0; color: var(--ink-soft); line-height: 1.55; font-size: 0.95rem; }

/* ============================================================
   WHAT WE DO — closing emphasis line (homepage hub)
   ============================================================ */
.ys-do-close {
  margin: 1.8rem 0 0;
  max-width: 62ch;
  color: var(--ink);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  font-weight: 600;
}
/* left-align the intro lede in What We Do so it shares the heading's left edge
   (default .ys-lede is centered for ys-center sections) */
#what-we-do .ys-lede { margin-left: 0; }

/* ============================================================
   AUDIENCE DOORS — three worlds, three dedicated pages
   ============================================================ */
.ys-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}
.ys-door {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(17, 23, 26, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ys-door:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(17, 23, 26, 0.12);
  border-top-color: var(--teal-dark);
}
.ys-door-kicker {
  font-size: 1.18rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.25;
}
.ys-door-line {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.ys-door-go {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding-top: 0.5rem;
}
@media (max-width: 900px) { .ys-doors { grid-template-columns: 1fr; } }

/* ============================================================
   WHAT WE BUILD — visual feature rows with device mockups
   ============================================================ */
.ys-build { margin-top: 2rem; display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.2rem); }
.ys-build-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(1.15rem, 3vw, 2.35rem);
  align-items: center;
}
.ys-build-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
/* feature label: icon + text */
.ys-feature-label { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.55rem; }
.ys-feature-icon { width: 25px; height: 25px; color: var(--teal); flex-shrink: 0; }
.ys-feature-name { font-size: 0.975rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.ys-build-copy h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.ys-build-copy p { margin: 0; color: var(--ink-soft); line-height: 1.65; max-width: 44ch; }
.ys-build-visual { justify-self: center; width: min(100%, 390px); }


/* shared device frame */
.ys-mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(17, 23, 26, 0.12);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ys-mock:hover { transform: translateY(-4px); box-shadow: 0 28px 55px rgba(17, 23, 26, 0.16); }
.ys-mock-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.9rem; background: var(--charcoal); }
.ys-mock-bar .ys-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.ys-mock-title { margin-left: auto; color: rgba(255, 255, 255, 0.7); font-size: 0.72rem; letter-spacing: 0.04em; }

/* dashboard mock — nav tabs + stat row + item list */
.ys-mock-dash .ys-mock-body { display: flex; flex-direction: column; padding: 0; background: var(--paper); }
.ys-dash-nav { display: flex; border-bottom: 1px solid var(--line); background: var(--white); padding: 0 0.75rem; overflow: hidden; }
.ys-dash-tab { font-size: 0.7rem; font-weight: 500; padding: 0.45rem 0.6rem; color: var(--ink-soft); border-bottom: 2px solid transparent; white-space: nowrap; }
.ys-dash-tab-active { color: var(--teal-dark); border-bottom-color: var(--teal); font-weight: 600; }
.ys-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.ys-dash-stat { padding: 0.55rem 0.65rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.12rem; }
.ys-dash-stat:last-child { border-right: none; }
.ys-dash-stat-val { font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1; }
.ys-dash-stat-label { font-size: 0.61rem; color: var(--ink-soft); line-height: 1.3; }
.ys-dash-stat-alert .ys-dash-stat-val { color: #8a4b1c; }
.ys-dash-stat-ok .ys-dash-stat-val { color: var(--teal-dark); }
.ys-dash-list { display: flex; flex-direction: column; padding: 0.55rem 0.75rem; gap: 0.38rem; background: var(--paper); }
.ys-dash-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--ink); }
.ys-dash-dot { width: 7px; height: 7px; border-radius: 50%; background: #c8cfd2; flex-shrink: 0; }
.ys-dash-dot-red { background: #b00020; }
.ys-dash-dot-amber { background: #c17a2a; }
.ys-dash-item-text em { font-style: normal; font-weight: 600; color: #8a4b1c; }

/* chat mock */
.ys-mock-chat .ys-mock-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--paper); }
.ys-msg { max-width: 88%; padding: 0.6rem 0.85rem; border-radius: 13px; font-size: 0.85rem; line-height: 1.5; }
.ys-msg-user { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 3px; }
.ys-msg-ai { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 3px; }

/* secure mock */
.ys-mock-secure .ys-mock-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.55rem; background: var(--paper); }
.ys-secure-row { display: flex; align-items: center; gap: 0.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.9rem; color: var(--ink); }
.ys-secure-ic { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; }
.ys-secure-on .ys-secure-ic { background: rgba(39, 124, 120, 0.15); color: var(--teal-dark); }
.ys-secure-off { color: var(--ink-soft); }
.ys-secure-off .ys-secure-ic { background: rgba(176, 0, 32, 0.1); color: #b00020; }

/* ============================================================
   WHAT WE DO (tailored pages) — calm & relational visuals.
   The training journey, not device UI. No mock frames.
   ============================================================ */
.ys-care {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(0.5rem, 2vw, 1rem);
  box-shadow: none;
}
.ys-care-stage { position: relative; height: 286px; display: flex; align-items: center; justify-content: center; }
.ys-care-caption { margin: 0.65rem auto 0; max-width: 30ch; text-align: center; font-size: 1.01rem; color: var(--ink-soft); line-height: 1.5; }
.ys-care-caption b { color: var(--ink); font-weight: 600; }

/* SEE IT — held & seen: a circle of people inside a held container */
.ys-care-rings {
  position: absolute; top: 50%; left: 50%; width: 258px; height: 258px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 124, 120, 0.16) 0%, rgba(39, 124, 120, 0.08) 55%, rgba(39, 124, 120, 0) 72%);
  border: 1.5px solid rgba(39, 124, 120, 0.24);
}
.ys-care-rings::before { content: ""; position: absolute; inset: 44px; border-radius: 50%; border: 1.5px solid rgba(39, 124, 120, 0.28); }
.ys-care-ring { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.ys-care-ring .p { position: absolute; top: 0; left: 0; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: rgba(255, 254, 249, 0.78); border: 2px solid var(--teal); }
.ys-care-ring .p:nth-child(1) { transform: rotate(0deg)   translate(90px) rotate(0deg); }
.ys-care-ring .p:nth-child(2) { transform: rotate(60deg)  translate(90px) rotate(-60deg); }
.ys-care-ring .p:nth-child(3) { transform: rotate(120deg) translate(90px) rotate(-120deg); }
.ys-care-ring .p:nth-child(4) { transform: rotate(180deg) translate(90px) rotate(-180deg); }
.ys-care-ring .p:nth-child(5) { transform: rotate(240deg) translate(90px) rotate(-240deg); }
.ys-care-ring .p:nth-child(6) { transform: rotate(300deg) translate(90px) rotate(-300deg); }
.ys-care-ring .p.is-seen {
  background: #f7d9a8;
  border-color: #c8642b;
  box-shadow: 0 0 0 7px rgba(200, 100, 43, 0.10);
  animation:
    ys-seen-orbit 9s cubic-bezier(0.45, 0, 0.25, 1) infinite,
    ys-seen-glow 3.6s ease-in-out infinite;
}

/* PRACTICE IT — a steady centre while it's loud (the eye of the storm) */
.ys-care-centre {
  position: relative;
  width: 32px; height: 32px; border-radius: 50%; background: var(--teal);
  box-shadow:
    0 0 0 18px rgba(39, 124, 120, 0.10),
    0 0 0 44px rgba(39, 124, 120, 0.07),
    0 0 0 74px rgba(193, 122, 42, 0.08);
  animation: ys-centre-breathe 4.2s ease-in-out infinite;
}
.ys-care-centre::before,
.ys-care-centre::after {
  content: "";
  position: absolute;
  inset: -62px;
  border-radius: 50%;
  border: 1.5px solid rgba(39, 124, 120, 0.22);
  opacity: 0;
  transform: scale(0.56);
  animation: ys-ripple 3.8s ease-out infinite;
}
.ys-care-centre::after {
  inset: -90px;
  border-color: rgba(193, 122, 42, 0.20);
  animation-delay: 1.1s;
}

/* USE IT SAFELY — space opening up: rote work eases into time for people */
.ys-care-space { display: flex; align-items: center; justify-content: center; gap: clamp(1.05rem, 3vw, 1.95rem); }
.ys-care-rote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ys-care-rote span { width: 17px; height: 17px; border-radius: 4px; background: rgba(17, 23, 26, 0.13); animation: ys-rote-ease 4.8s ease-in-out infinite; }
.ys-care-rote span:nth-child(1),
.ys-care-rote span:nth-child(4),
.ys-care-rote span:nth-child(7) { animation-delay: 0s; }
.ys-care-rote span:nth-child(2),
.ys-care-rote span:nth-child(5),
.ys-care-rote span:nth-child(8) { animation-delay: 0.35s; }
.ys-care-rote span:nth-child(3),
.ys-care-rote span:nth-child(6),
.ys-care-rote span:nth-child(9) { animation-delay: 0.7s; }
.ys-care-flow { color: var(--teal); font-size: 1.73rem; line-height: 1; opacity: 0.72; }
.ys-care-open { display: flex; align-items: center; gap: 1.1rem; }
.ys-care-open span {
  border-radius: 50%;
  transform-origin: center;
  animation: ys-soft-heart-pulse 3.2s cubic-bezier(0.34, 1.35, 0.64, 1) infinite;
}
.ys-care-open .o1 { width: 23px; height: 23px; background: rgba(39, 124, 120, 0.75); }
.ys-care-open .o2 { width: 18px; height: 18px; background: #f0b35b; animation-delay: 0.1s; }
.ys-care-open .o3 { width: 15px; height: 15px; background: rgba(39, 124, 120, 0.40); animation-delay: 0.2s; }

@keyframes ys-seen-orbit {
  0%, 8% { transform: rotate(60deg) translate(90px) rotate(-60deg) scale(1.03); }
  20% { transform: rotate(120deg) translate(90px) rotate(-120deg) scale(1.08); }
  31%, 38% { transform: rotate(120deg) translate(90px) rotate(-120deg) scale(1.04); }
  50% { transform: rotate(240deg) translate(79px) rotate(-240deg) scale(1.08); }
  61%, 68% { transform: rotate(240deg) translate(79px) rotate(-240deg) scale(1.04); }
  80% { transform: rotate(300deg) translate(77px) rotate(-300deg) scale(1.08); }
  91%, 100% { transform: rotate(0deg) translate(77px) rotate(0deg) scale(1.04); }
}

@keyframes ys-seen-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(200, 100, 43, 0.10); }
  50% { box-shadow: 0 0 0 14px rgba(240, 179, 91, 0.18); }
}

@keyframes ys-centre-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 18px rgba(39, 124, 120, 0.10),
      0 0 0 44px rgba(39, 124, 120, 0.07),
      0 0 0 74px rgba(193, 122, 42, 0.08);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 25px rgba(39, 124, 120, 0.14),
      0 0 0 62px rgba(39, 124, 120, 0.07),
      0 0 0 101px rgba(193, 122, 42, 0.06);
    transform: scale(1.05);
  }
}

@keyframes ys-ripple {
  0% { opacity: 0; transform: scale(0.42); }
  20% { opacity: 0.56; }
  72%, 100% { opacity: 0; transform: scale(1.48); }
}

@keyframes ys-rote-ease {
  0%, 100% { opacity: 0.68; transform: translateX(0) scale(1); }
  42% { opacity: 0.38; transform: translateX(5px) scale(0.94); }
  64% { opacity: 0.54; transform: translateX(2px) scale(0.98); }
}

@keyframes ys-soft-heart-pulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.78; }
  18% { transform: translateY(-1px) scale(1.12); opacity: 0.96; }
  28% { transform: translateY(0) scale(0.98); opacity: 0.84; }
  42% { transform: translateY(-0.5px) scale(1.07); opacity: 0.92; }
  56% { transform: translateY(0) scale(1); opacity: 0.80; }
}

@media (max-width: 760px) {
  .ys-build-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .ys-build-row .ys-build-visual { order: 0 !important; }
}

/* ============================================================
   CTA BAND — the one call to action, repeated
   ============================================================ */
.ys-cta-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  border-radius: 14px;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.ys-cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.ys-cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 56ch; margin: 0 auto 1.6rem; line-height: 1.6; }
.ys-cta-band .button-primary {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}
.ys-cta-band .button-primary:hover { background: var(--paper); }
.ys-cta-band .ys-cta-note { font-size: 0.85rem; margin-top: 1rem; color: rgba(255,255,255,0.82); }

/* ============================================================
   CONVERSATION PAGE — the booking surface
   ============================================================ */
.ys-convo-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0; }
.ys-convo-actions .button-secondary {
  color: var(--teal-dark);
  border-color: rgba(34, 124, 118, 0.35);
  background: rgba(255, 255, 255, 0.72);
}
.ys-convo-actions .button-secondary:hover {
  color: var(--ink);
  border-color: rgba(34, 124, 118, 0.55);
  background: var(--white);
}
.ys-expect { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.8rem; }
.ys-expect li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); line-height: 1.55; }
.ys-expect li::before { content: "→"; color: var(--teal); font-weight: 700; }

/* ============================================================
   PROSE — for The System / About / Privacy long-form
   ============================================================ */
.ys-prose { max-width: 70ch; }
.ys-prose h2 { margin-top: 2.5rem; }
.ys-prose h3 { margin-top: 1.75rem; color: var(--ink); }
.ys-prose p, .ys-prose li { color: var(--ink-soft); line-height: 1.7; font-size: var(--text-body); }
.ys-prose ul { padding-left: 1.2rem; }
.ys-prose li { margin-bottom: 0.5rem; }

/* ============================================================
   ABOUT + GOING DEEPER — tighter editorial rhythm
   ============================================================ */
.page-about .about-intro-section,
.page-going-deeper .gd-intro-section {
  padding-bottom: clamp(22px, 2.8vw, 36px);
}

.page-about .about-intro-section .ys-lede,
.page-going-deeper .gd-intro-section .ys-lede {
  margin-top: 18px;
}

.page-about .about-story-section {
  padding-top: clamp(18px, 2.8vw, 34px);
  padding-bottom: clamp(44px, 5vw, 72px);
}

.page-about .about-story-section .ys-prose {
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 0.82fr);
  gap: 0 clamp(34px, 6vw, 78px);
  max-width: 1120px;
}

.page-about .about-story-section .ys-prose > h2 {
  grid-column: 1;
  grid-row: 1 / span 5;
  align-self: start;
  max-width: 8.5ch;
  margin-top: 0;
}

.page-about .about-story-section .ys-prose > p,
.page-about .about-story-section .ys-prose > h3 {
  grid-column: 2;
}

.page-about .about-story-section .ys-prose > p:first-of-type,
.page-about .about-story-section .ys-prose > h3:first-of-type {
  margin-top: 0;
}

.page-about .about-guide-section {
  padding-top: clamp(48px, 5.5vw, 76px);
  padding-bottom: clamp(44px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.page-about .about-guide-section .guide-layout {
  gap: clamp(28px, 4.8vw, 64px);
}

.page-about .about-guide-section .guide-copy h2,
.page-about .about-guide-section .guide-copy p {
  max-width: 760px;
}

.page-about .about-cta-section,
.page-going-deeper .gd-cta-section {
  padding-top: clamp(38px, 4.8vw, 66px);
}

.page-going-deeper .gd-prose-section {
  padding-block: clamp(40px, 5vw, 68px);
}

.page-going-deeper .gd-prose-section + .gd-prose-section {
  border-top: 1px solid var(--line);
}

/* Single-column reading layout — centered reading column for long-form narrative */
.page-going-deeper .gd-prose-section .ys-prose {
  max-width: 68ch;
  margin-inline: auto;
}

.page-going-deeper .gd-prose-section .ys-prose > .section-kicker {
  margin-bottom: 12px;
}

.page-going-deeper .gd-prose-section .ys-prose > h2 {
  max-width: 24ch;
  margin-top: 0.4rem;
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1.08;
}

.page-going-deeper .gd-prose-section .ys-prose > p {
  margin-top: 1.15rem;
}

.page-going-deeper .gd-prose-section .ys-prose > p:first-of-type {
  margin-top: 1.4rem;
}

.page-going-deeper .gd-origin-section {
  background: #f7f4eb;
}

/* Emphasis line for the personal essay (Going Deeper) */
.ys-anchor {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 34ch;
  margin: 2.5rem 0;
  text-wrap: balance;
}
.ys-anchor-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 28ch; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ys-solution-grid,
  .ys-stats,
  .ys-proof-points,
  .ys-reassure,
  .ys-next-grid { grid-template-columns: repeat(2, 1fr); }

  .home-guide-layout,
  .home-guide-support,
  .page-about .about-story-section .ys-prose {
    grid-template-columns: 1fr;
  }

  .home-guide-title,
  .home-guide-portrait,
  .home-guide-body,
  .home-guide-support {
    grid-column: 1;
  }

  .home-guide-portrait {
    grid-row: auto;
  }

  .home-guide-portrait {
    max-width: 320px;
  }

  .home-guide-logo-strip > span,
  .home-guide-logo-strip .guide-logos {
    text-align: center;
    justify-content: center;
  }

  .page-about .about-story-section .ys-prose > h2,
  .page-about .about-story-section .ys-prose > p,
  .page-about .about-story-section .ys-prose > h3 {
    grid-column: 1;
  }

  .page-about .about-story-section .ys-prose > h2 {
    max-width: none;
  }

  .page-going-deeper .gd-prose-section .ys-prose > h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .ys-solution-grid,
  .ys-stats,
  .ys-proof-points,
  .ys-reassure,
  .ys-next-grid { grid-template-columns: 1fr; }

  .ys-shift-row { grid-template-columns: 1fr; text-align: left; gap: 0.5rem; }
  .ys-shift-row .ys-arrow { transform: rotate(90deg); justify-self: start; }
  .ys-convo-actions { flex-direction: column; }
  .ys-convo-actions .button { width: 100%; text-align: center; }

  .home-guide-section,
  .page-about .about-guide-section,
  .page-going-deeper .gd-prose-section {
    padding-block: 34px;
  }

  .home-guide-credential {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-guide-logo-strip .guide-logos img {
    width: 94px;
    height: 46px;
  }
}
