/* THE REACH — counselor / wellness cinematic pathway */

:root {
  --ink: #0f0d18;
  --cream: #fff8ef;
  --violet: #8b5cf6;
  --sky: #0ea5e9;
  --amber: #f5a524;
  --orange: #f97316;
  --rose: #fb7185;
  --emerald: #10b981;
  --muted: rgba(255, 248, 239, 0.55);
  --line: rgba(255, 248, 239, 0.14);
  --glass: rgba(255, 255, 255, 0.07);
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Themes the shared impact stage's CTA (pitch-shared/impact.css) to The
     Reach's violet — the file's own fallbacks are The Referral's orange. */
  --impact-cta-a: #8b5cf6;
  --impact-cta-b: #0ea5e9;
  --impact-cta-glow: rgba(139,92,246,0.4);
  --impact-cta-ring: rgba(139,92,246,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%; overflow: hidden; background: var(--ink); color: var(--cream);
  font-family: var(--font-ui); -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
body.locked { overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

#grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 40; opacity: 0.05; mix-blend-mode: overlay;
}

.aurora {
  position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  filter: blur(44px); animation: auroraDrift 16s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}
.aurora-gate {
  background:
    radial-gradient(ellipse 55% 45% at 30% 20%, rgba(139,92,246,0.4), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(14,165,233,0.28), transparent 55%);
}
.aurora-weight {
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(139,92,246,0.22), transparent 55%),
    radial-gradient(ellipse 40% 30% at 70% 80%, rgba(251,113,133,0.12), transparent 50%);
}
.aurora-student {
  background:
    radial-gradient(ellipse 55% 45% at 15% 10%, rgba(139,92,246,0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 85%, rgba(14,165,233,0.35), transparent 55%);
}
.aurora-counselor {
  background:
    radial-gradient(ellipse 55% 45% at 70% 0%, rgba(14,165,233,0.35), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 90%, rgba(139,92,246,0.28), transparent 50%);
}
.aurora-relief {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(245,165,36,0.22), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 70%, rgba(139,92,246,0.2), transparent 50%);
}
.aurora-close {
  background:
    radial-gradient(ellipse 55% 40% at 40% 0%, rgba(139,92,246,0.3), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 90%, rgba(14,165,233,0.22), transparent 50%);
}

#stage { position: fixed; inset: 0; overflow: hidden; }
.act {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.75s var(--ease-out), visibility 0.75s;
  padding: calc(52px + var(--safe-top)) 20px calc(28px + var(--safe-bot));
  /* clip, not hidden: focusing the textarea makes browsers auto-scroll the
     nearest clipped ancestor, which silently shoved the whole act up and put
     the Continue button out of reach. clip forbids that scroll entirely —
     inner columns (.check-inner) and #act-close do their own scrolling. */
  overflow: hidden;
  overflow: clip;
}
.act.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.act.is-exit { opacity: 0; visibility: hidden; z-index: 1; }

.atmosphere { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.atmosphere .vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.28) 0%, transparent 30%, rgba(0,0,0,0.45) 100%);
}
.atmosphere .dust {
  position: absolute; inset: -20%;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,248,239,0.35), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(139,92,246,0.35), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(14,165,233,0.25), transparent);
  animation: dustDrift 30s linear infinite; opacity: 0.7;
}
@keyframes dustDrift { to { transform: translate3d(-4%, -6%, 0); } }

.role-rail {
  position: fixed; top: calc(18px + var(--safe-top)); left: 50%; transform: translateX(-50%);
  z-index: 45; display: none; gap: 0.35rem; padding: 0.3rem; border-radius: 999px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(16px);
}
.role-rail.is-on { display: flex; }
.role-rail span {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.55rem; border-radius: 999px; color: rgba(255,248,239,0.4); transition: all 0.35s;
}
.role-rail span.is-active { color: #0c0b10; background: linear-gradient(135deg, #ddd6fe, #7dd3fc); font-weight: 600; }
.role-rail[data-active="counselor"] span.is-active { background: linear-gradient(135deg, #38bdf8, #818cf8); color: #fff; }
.role-rail[data-active="teacher"] span.is-active { background: linear-gradient(135deg, #fdba74, #fb7185); color: #fff; }

.progress-rail {
  position: absolute; top: calc(8px + var(--safe-top)); left: 22px; right: 22px; height: 3px;
  border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; z-index: 10; opacity: 0;
}
.progress-rail.is-on { opacity: 1; }
.progress-rail > span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--sky), var(--amber));
  transition: width 0.55s var(--ease-out); box-shadow: 0 0 12px rgba(139,92,246,0.5);
}

.eyebrow {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: #a78bfa;
}
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.display em {
  font-style: italic;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.05rem; line-height: 1.5; color: var(--muted); max-width: 28ch; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 54px; padding: 0 1.6rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--sky));
  color: #fff; font-weight: 650; font-size: 1rem;
  box-shadow: 0 10px 40px rgba(139,92,246,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.25s var(--ease-spring);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.4; pointer-events: none; }
.btn-ghost {
  min-height: 48px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(12px); font-weight: 550; color: var(--cream);
}
.btn-chip {
  min-height: 48px; padding: 0.7rem 1.05rem; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.05); font-weight: 550; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-spring);
  position: relative; overflow: hidden;
}
.btn-chip.is-selected {
  border-color: rgba(139,92,246,0.85);
  background: linear-gradient(135deg, rgba(139,92,246,0.32), rgba(14,165,233,0.2));
  transform: scale(1.03); box-shadow: 0 0 24px rgba(139,92,246,0.25);
}
.field {
  width: 100%; border: 1px solid var(--line); background: rgba(0,0,0,0.28); border-radius: 18px;
  padding: 1rem 1.1rem; color: var(--cream); font: inherit; font-size: 1.05rem; line-height: 1.45;
  resize: none; outline: none;
}
.field:focus { border-color: rgba(139,92,246,0.7); box-shadow: 0 0 0 4px rgba(139,92,246,0.15); }
.field::placeholder { color: rgba(255,248,239,0.35); }
.glass-panel {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.sound-toggle {
  position: fixed; top: calc(14px + var(--safe-top)); right: 16px; z-index: 50;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0.7;
}
.sound-toggle svg { width: 18px; height: 18px; }

/* Gate */
#act-gate { background: var(--ink); justify-content: flex-end; padding-top: calc(20px + var(--safe-top)); }
.gate-orb {
  position: absolute; left: 50%; top: 18%; width: 220px; height: 220px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
  filter: blur(10px); animation: pulseGlow 3.2s ease-in-out infinite;
}
@keyframes pulseGlow { 50% { opacity: 0.55; transform: translateX(-50%) scale(1.08); } }
.gate-card {
  position: relative; z-index: 2; margin-top: auto;
  background: linear-gradient(180deg, rgba(245,243,255,0.98), rgba(224,242,254,0.96));
  color: #1c1917; border-radius: 28px 28px 22px 22px; padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 -20px 80px rgba(0,0,0,0.45); transform: translateY(12px); opacity: 0;
}
#act-gate.is-active .gate-card { animation: riseIn 0.9s var(--ease-out) 0.15s forwards; }
@keyframes riseIn { to { transform: translateY(0); opacity: 1; } }
.gate-stamp {
  display: inline-flex; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #6d28d9;
  border: 2px solid #7c3aed; border-radius: 4px; padding: 0.35rem 0.65rem;
  transform: rotate(-2deg); margin-bottom: 1rem;
}
#act-gate h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 9vw, 3.2rem);
  line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 0.7rem;
}
.gate-sub { color: #57534e; font-size: 1rem; line-height: 1.45; margin-bottom: 1.4rem; max-width: 30ch; }
#act-gate .btn-primary { width: 100%; }
.gate-fine {
  margin-top: 0.85rem; text-align: center; font-size: 0.72rem; color: #a8a29e;
  font-family: var(--font-mono); letter-spacing: 0.06em;
}

/* Weight */
#act-weight { background: #0a0812; justify-content: center; align-items: center; text-align: center; }
.weight-copy { position: relative; z-index: 2; max-width: 20rem; }
.weight-line {
  font-family: var(--font-display); font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  margin: 0.35rem 0; opacity: 0; transform: translateY(16px);
}
.weight-sub { font-size: 1.2rem !important; color: var(--muted); font-family: var(--font-ui) !important; }
.weight-line.is-in { animation: lineIn 0.8s var(--ease-out) forwards; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.weight-pulse { margin: 1.8rem auto 0; opacity: 0; }
.weight-pulse.is-in { animation: lineIn 0.7s var(--ease-out) forwards; }
.heart {
  width: 28px; height: 28px; margin: 0 auto 0.65rem;
  background: radial-gradient(circle at 30% 30%, #fb7185, #a78bfa);
  border-radius: 50%; box-shadow: 0 0 30px rgba(167,139,250,0.55);
  animation: heartbeat 1.2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.18); }
  30% { transform: scale(1); }
  45% { transform: scale(1.12); }
}
.pulse-label {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(167,139,250,0.75); max-width: 22ch; margin: 0 auto; line-height: 1.4;
}
.stl-line {
  margin-top: 2rem; font-size: 1.05rem; color: var(--muted); opacity: 0;
  max-width: 22ch; margin-left: auto; margin-right: auto; line-height: 1.4;
}
.stl-line.is-in { animation: lineIn 0.9s var(--ease-out) forwards; }

/* Check-in */
#act-checkin { background: #0f0d18; }
/* Scrolls when a step outgrows the phone — the sketch pad especially, whose
   Continue button sits below the canvas. Auto margins on the first and last
   visible child still center short steps; `justify-content: center` cannot,
   because it puts the overflow out of reach in both directions. */
.check-inner {
  position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; flex-direction: column;
  justify-content: flex-start; gap: 1.1rem; max-width: 28rem; width: 100%; margin: 0 auto;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.check-inner > .eyebrow { margin-top: auto; }
.check-inner > .step.is-on { margin-bottom: auto; }
#act-checkin h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 6.5vw, 2.15rem); line-height: 1.1;
}
.step { display: none; flex-direction: column; gap: 1rem; animation: stepIn 0.55s var(--ease-out); }
.step.is-on { display: flex; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.emotion-grid, .need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.need-grid { grid-template-columns: 1fr; }
.name-row .field { min-height: 52px; }
.char-count { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,248,239,0.4); text-align: right; }
.reflect-actions { display: flex; gap: 0.65rem; }
.reflect-actions .btn-primary { flex: 1; }
.soft-note { font-size: 0.78rem; color: rgba(255,248,239,0.4); line-height: 1.4; }

/* ── In-the-moment care beat ─────────────────────────────── */
.care-root { display: flex; width: 100%; }
.care-card {
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.85rem; padding: 1.7rem 1.35rem 1.5rem; border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  background:
    radial-gradient(130% 85% at 50% 0%, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(165deg, rgba(26, 24, 36, 0.92), rgba(12, 11, 16, 0.94));
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: careIn 0.6s var(--ease-out);
}
.care-card.is-safety {
  border-color: rgba(251, 113, 133, 0.42);
  background:
    radial-gradient(130% 85% at 50% 0%, rgba(251, 113, 133, 0.22), transparent 72%),
    linear-gradient(165deg, rgba(32, 20, 26, 0.94), rgba(14, 11, 14, 0.95));
  box-shadow: 0 24px 70px rgba(251, 113, 133, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Threats toward others — red, firmer than the rose care tone. */
.care-card.is-harm {
  border-color: rgba(239, 68, 68, 0.48);
  background:
    radial-gradient(130% 85% at 50% 0%, rgba(239, 68, 68, 0.24), transparent 72%),
    linear-gradient(165deg, rgba(36, 16, 16, 0.94), rgba(16, 10, 10, 0.95));
  box-shadow: 0 24px 70px rgba(239, 68, 68, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.care-card.is-harm .care-glyph {
  color: #ef4444;
  background: radial-gradient(circle at 50% 45%, rgba(239, 68, 68, 0.32), rgba(239, 68, 68, 0.05) 70%);
}
.care-card.is-harm .care-eyebrow { color: #f87171; }
.care-card.is-harm .care-message::after { color: #ef4444; }
.care-card.is-harm .care-assure {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.28);
}
@keyframes careIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.care-glyph {
  position: relative; width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 50%; color: var(--violet);
  background: radial-gradient(circle at 50% 45%, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.05) 70%);
}
.care-glyph svg { width: 30px; height: 30px; }
.care-glyph::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0.3;
  animation: careHalo 2.4s ease-in-out infinite;
}
.care-card.is-safety .care-glyph {
  color: var(--rose);
  background: radial-gradient(circle at 50% 45%, rgba(251, 113, 133, 0.32), rgba(251, 113, 133, 0.05) 70%);
}
@keyframes careHalo {
  0%, 100% { transform: scale(1); opacity: 0.28; }
  50% { transform: scale(1.16); opacity: 0.06; }
}
.care-eyebrow {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--violet);
}
.care-card.is-safety .care-eyebrow { color: var(--rose); }
.care-message {
  font-family: var(--font-display); font-size: 1.22rem; line-height: 1.42;
  color: var(--cream); min-height: 2.6em; max-width: 30ch;
}
.care-message::after {
  content: "▍"; margin-left: 1px; color: var(--violet);
  animation: careCaret 0.9s step-end infinite;
}
.care-card.is-safety .care-message::after { color: var(--rose); }
.care-message.is-done::after { content: ""; }
@keyframes careCaret { 50% { opacity: 0; } }
.care-assure {
  font-size: 0.85rem; line-height: 1.45; color: var(--cream); max-width: 32ch;
  padding: 0.7rem 0.95rem; border-radius: 14px;
  background: rgba(251, 113, 133, 0.1); border: 1px solid rgba(251, 113, 133, 0.24);
}
.care-card .btn-primary { width: 100%; margin-top: 0.35rem; }
.care-card.is-thinking { gap: 1.1rem; padding-top: 2.3rem; padding-bottom: 2.3rem; }
.care-orb { display: flex; gap: 0.55rem; }
.care-orb span {
  width: 12px; height: 12px; border-radius: 50%; background: var(--violet);
  animation: careOrb 1.2s ease-in-out infinite;
}
.care-orb span:nth-child(2) { animation-delay: 0.15s; background: var(--sky); }
.care-orb span:nth-child(3) { animation-delay: 0.3s; background: var(--rose); }
.care-status { font-size: 0.9rem; color: var(--muted); }
@keyframes careOrb {
  0%, 100% { opacity: 0.3; transform: scale(0.8) translateY(0); }
  50% { opacity: 1; transform: scale(1) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .care-card, .care-glyph::before, .care-orb span { animation: none !important; }
  .care-message::after { content: "" !important; }
}

/* Counselor flip */
#act-counselor { background: #0a1220; }
.flip-scene {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column;
  justify-content: center; perspective: 1400px; min-height: 0;
}
.flip-card {
  position: relative; transform-style: preserve-3d; transition: transform 1.15s var(--ease-out);
  min-height: min(62vh, 520px);
}
.flip-card.is-flipped { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 24px; padding: 1.35rem 1.25rem; overflow: auto; border: 1px solid var(--line);
}
.flip-front {
  background: linear-gradient(160deg, rgba(14,165,233,0.2), rgba(139,92,246,0.16), rgba(0,0,0,0.35));
  display: flex; flex-direction: column; justify-content: center; gap: 0.85rem;
}
.flip-back {
  background: linear-gradient(165deg, rgba(248,250,252,0.99), rgba(239,246,255,0.97));
  color: #0f172a; transform: rotateY(180deg); box-shadow: 0 25px 80px rgba(14,165,233,0.22);
}
.waiting-title { font-family: var(--font-display); font-size: 1.85rem; line-height: 1.1; }
.pulse-dots span {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sky);
  margin-right: 5px; animation: dotPulse 1.2s ease-in-out infinite;
}
.pulse-dots span:nth-child(2) { animation-delay: 0.15s; background: var(--violet); }
.pulse-dots span:nth-child(3) { animation-delay: 0.3s; background: var(--amber); }
@keyframes dotPulse { 50% { opacity: 1; transform: scale(1.1); } 0%, 100% { opacity: 0.3; } }

.triage-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(15,23,42,0.1);
}
.triage-head .tag {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #0284c7; font-weight: 650;
}
.triage-head h3 { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; margin-top: 0.25rem; }
.urgency {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.55rem; border-radius: 999px; white-space: nowrap;
}
.urgency.standard { background: #e0f2fe; color: #0369a1; }
.urgency.support { background: #ede9fe; color: #6d28d9; }
.urgency.urgent {
  background: #b91c1c; color: #fff; border: 1px solid #991b1b;
  box-shadow: 0 0 0 3px rgba(185,28,28,0.18);
  animation: urgentPulse 1.8s ease-in-out infinite;
}
@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(185,28,28,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(185,28,28,0.08); }
}

.triage-card.is-urgent {
  margin: -0.15rem;
  padding: 0.15rem;
  border-radius: 18px;
}
.safety-strip {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin: -0.15rem -0.15rem 0.85rem; padding: 0.7rem 0.85rem;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, #7f1d1d, #b91c1c);
  color: #fef2f2;
}
.safety-strip strong {
  display: block; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.15rem;
}
.safety-strip span { display: block; font-size: 0.88rem; line-height: 1.3; font-weight: 600; }
.safety-pulse {
  width: 10px; height: 10px; margin-top: 0.3rem; border-radius: 50%;
  background: #fecaca; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(254,202,202,0.7);
  animation: safetyDot 1.4s ease-out infinite;
}
@keyframes safetyDot {
  0% { box-shadow: 0 0 0 0 rgba(254,202,202,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(254,202,202,0); }
  100% { box-shadow: 0 0 0 0 rgba(254,202,202,0); }
}
.safety-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: -0.35rem 0 0.85rem; }
.safety-chip {
  font-family: var(--font-mono); font-size: 0.58rem; font-weight: 650;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.5rem; border-radius: 999px;
  background: #fee2e2; color: #991b1b; border: 1px solid #fecaca;
}
.triage-card.is-urgent .triage-head .tag { color: #b91c1c; }
.watch-box.is-urgent {
  background: #fef2f2; border-color: #fca5a5; color: #7f1d1d;
  border-left: 3px solid #b91c1c;
}
.quote-block.is-urgent {
  border-left-color: #b91c1c; background: rgba(185,28,28,0.06);
}
.stay-banner.is-urgent {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #fef2f2; box-shadow: 0 10px 28px rgba(127,29,29,0.28);
}

.triage-section { margin-bottom: 0.95rem; }
.triage-section h4 {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 0.4rem;
}
.quote-block {
  border-left: 3px solid #0ea5e9; padding: 0.65rem 0.85rem; background: rgba(14,165,233,0.06);
  border-radius: 0 12px 12px 0; font-style: italic; line-height: 1.45;
}
.watch-box {
  padding: 0.75rem 0.85rem; border-radius: 14px; background: #eef2ff;
  border: 1px solid #c7d2fe; font-size: 0.92rem; line-height: 1.4; color: #3730a3;
}
.stay-banner {
  margin-top: 0.5rem; padding: 0.9rem 1rem; border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #065f46;
  font-weight: 650; text-align: center; font-size: 1rem;
}
.flip-cta { position: relative; z-index: 3; margin-top: 1rem; opacity: 0; pointer-events: none; }
.flip-cta.is-on { opacity: 1; pointer-events: auto; }
.flip-cta .btn-primary { width: 100%; }

/* Counselor dashboard vignette */
#act-relief { background: #121018; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.dash-inner, .relief-inner { position: relative; z-index: 2; width: 100%; max-width: 28rem; margin: 0 auto; }
.relief-title { font-size: clamp(1.55rem, 6.2vw, 2.05rem); margin: 0.35rem 0 0.85rem; }
.alert-chip {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.75rem;
  border-radius: 999px; background: rgba(139,92,246,0.18); color: #c4b5fd;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.dash-chrome {
  border-radius: 18px; overflow: hidden; margin-bottom: 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(139,92,246,0.12);
  background: #f8fafc; color: #0f172a;
}
.dash-bar {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #1e1b2e, #15121f); color: rgba(255,248,239,0.7);
}
.dash-dots { display: flex; gap: 5px; }
.dash-dots i { width: 8px; height: 8px; border-radius: 50%; background: #475569; display: block; }
.dash-dots i:first-child { background: #f87171; }
.dash-dots i:nth-child(2) { background: #fbbf24; }
.dash-dots i:nth-child(3) { background: #34d399; }
.dash-url {
  flex: 1; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.06); border-radius: 999px; padding: 0.3rem 0.65rem;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-body { padding: 0.85rem 0.8rem 0.75rem; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.45rem; margin-bottom: 0.75rem; }
.ds {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.55rem 0.5rem; text-align: center;
}
.ds b { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: #0f172a; }
.ds span { display: block; margin-top: 0.2rem; font-size: 0.62rem; color: #64748b; line-height: 1.2; }
.ds.highlight {
  background: linear-gradient(135deg, #ede9fe, #e0f2fe); border-color: #c4b5fd;
}
.ds.highlight b { color: #6d28d9; }
.ds.urgent-new {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border-color: #fca5a5;
  box-shadow: 0 0 0 3px rgba(185,28,28,0.14);
}
.ds.urgent-new b { color: #b91c1c; }
.ds.urgent-new span { color: #991b1b; font-weight: 650; }
.queue-label {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #64748b; margin-bottom: 0.45rem;
}
.triage-queue { display: flex; flex-direction: column; gap: 0.4rem; }
.tq-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center;
  border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; padding: 0.55rem 0.6rem;
  opacity: 0; transform: translateX(-12px);
}
.tq-row.is-in { animation: tqIn 0.55s var(--ease-out) forwards; }
.tq-row.is-new {
  border-color: #93c5fd; background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12), 0 10px 28px rgba(99,102,241,0.12);
}
.tq-row.is-new.is-urgent-row,
.tq-row.is-urgent-row.is-new {
  border-color: #fca5a5;
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.14), 0 12px 28px rgba(185,28,28,0.14);
}
.tq-row.is-urgent-row .tq-time { color: #b91c1c; font-weight: 650; }
@keyframes tqIn { to { opacity: 1; transform: none; } }
.tq-chip {
  font-family: var(--font-mono); font-size: 0.55rem; font-weight: 650; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.28rem 0.4rem; border-radius: 7px; border: 1px solid; white-space: nowrap;
}
.tq-chip.talk { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.tq-chip.urgent {
  background: #b91c1c; color: #fff; border-color: #991b1b;
  animation: urgentPulse 1.8s ease-in-out infinite;
}
.tq-chip.checkin { background: #ede9fe; color: #6d28d9; border-color: #ddd6fe; }
.tq-chip.pulse { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.tq-main strong { display: block; font-size: 0.82rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.tq-main span { display: block; font-size: 0.7rem; color: #64748b; margin-top: 0.12rem; font-style: italic; line-height: 1.3; }
.tq-time { font-family: var(--font-mono); font-size: 0.58rem; color: #94a3b8; letter-spacing: 0.04em; }
.tq-row.is-new:not(.is-urgent-row) .tq-time { color: #2563eb; font-weight: 650; }
.dash-footnote {
  margin-top: 0.65rem; text-align: center; font-size: 0.68rem; color: #94a3b8;
  font-family: var(--font-mono); letter-spacing: 0.06em;
}
.relief-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.75rem;
}
.relief-grid.tight { margin-top: 0.15rem; }
.relief-card {
  padding: 0.75rem 0.85rem; border-radius: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
}
.rc-num {
  font-family: var(--font-display); font-size: 1.55rem; line-height: 1; color: #a78bfa;
  text-shadow: 0 0 24px rgba(139,92,246,0.3);
}
.rc-lbl { margin-top: 0.25rem; font-size: 0.72rem; color: var(--muted); line-height: 1.3; }
.relief-thesis {
  font-size: 0.88rem; color: rgba(255,248,239,0.55); line-height: 1.45;
  margin-bottom: 1rem; text-align: center;
}

/* Close */
#act-close { background: var(--ink); overflow-y: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
.close-scroll { position: relative; z-index: 2; width: 100%; max-width: 28rem; margin: 0 auto; }
.close-inner { width: 100%; }
.logo-mark {
  width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.75rem;
  filter: drop-shadow(0 8px 24px rgba(139,92,246,0.35));
}
#act-close h2 {
  font-family: var(--font-display); font-size: clamp(1.85rem, 7vw, 2.45rem);
  line-height: 1.02; margin-bottom: 0.55rem;
}
.close-lead { color: rgba(255,248,239,0.7); max-width: 34ch; margin-bottom: 1.1rem; }
.lead-form { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 0.85rem; }

/* The card-leave panel. "Back this mission" above it is the loud one, so this
   read as fine print at the bottom of a long close and got scrolled past.
   Its own lit panel with a slow breathing glow pulls the eye back down
   without shouting over the primary CTA. */
.lead-capture {
  position: relative;
  margin-top: 1.35rem;
  padding: 0.35rem 1.05rem 1rem;
  border-radius: 18px;
  border: 1.5px solid rgba(139,92,246,0.45);
  background: linear-gradient(160deg, rgba(139,92,246,0.12), rgba(14,165,233,0.06) 62%, transparent);
  animation: leadGlow 3.6s ease-in-out infinite;
}
@keyframes leadGlow {
  0%, 100% {
    border-color: rgba(139,92,246,0.42);
    box-shadow: 0 0 0 0 rgba(139,92,246,0), 0 10px 30px rgba(139,92,246,0.12);
  }
  50% {
    border-color: rgba(167,139,250,0.8);
    box-shadow: 0 0 0 5px rgba(139,92,246,0.07), 0 14px 38px rgba(139,92,246,0.24);
  }
}
.lead-capture .lead-divide { margin-top: 0.55rem; }
.lead-capture .close-lead {
  color: rgba(255,248,239,0.94);
  font-weight: 600;
  max-width: none;
}
@media (prefers-reduced-motion: reduce) {
  .lead-capture {
    animation: none;
    border-color: rgba(167,139,250,0.75);
    box-shadow: 0 12px 34px rgba(139,92,246,0.2);
  }
}
.lead-field { display: flex; flex-direction: column; gap: 0.35rem; }
.lead-field > span {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,248,239,0.5);
}
.lead-field > span em { font-style: normal; opacity: 0.65; text-transform: none; }
.lead-field input, .lead-field textarea {
  width: 100%; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06);
  border-radius: 14px; padding: 0.9rem 1rem; color: var(--cream); font: inherit; font-size: 1rem; outline: none;
}
.lead-field textarea { resize: none; line-height: 1.4; }
.lead-field input:focus, .lead-field textarea:focus {
  border-color: rgba(139,92,246,0.75); box-shadow: 0 0 0 4px rgba(139,92,246,0.15);
}
.lead-field.is-invalid input, .lead-field.is-invalid textarea { border-color: rgba(251,113,133,0.8); }
.lead-error { font-size: 0.85rem; color: #fda4af; }
#btn-lead-submit { width: 100%; min-height: 56px; }
#btn-lead-submit.is-loading { opacity: 0.7; pointer-events: none; }
.close-secondary { display: flex; flex-direction: column; gap: 0.55rem; }
.close-secondary .btn-ghost, .close-secondary .btn-primary { width: 100%; }
.lead-success { animation: riseIn 0.7s var(--ease-out); }
.success-burst {
  font-size: 2rem; color: #a78bfa; text-shadow: 0 0 30px rgba(139,92,246,0.55); margin-bottom: 0.5rem;
}
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; opacity: 0; }
.confetti.is-on { opacity: 1; }
.price-whisper {
  margin-top: 0.75rem; text-align: center; font-size: 0.85rem;
  color: rgba(255,248,239,0.5); line-height: 1.4;
}

/* External CTA to the live platform — a distinct card, not another ghost link */
.platform-card {
  display: flex; align-items: center; gap: 0.85rem;
  margin-top: 0.9rem; padding: 0.9rem 1rem; border-radius: 18px;
  border: 1px solid rgba(139,92,246,0.3);
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(14,165,233,0.06));
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.platform-card:hover, .platform-card:focus-visible {
  border-color: rgba(139,92,246,0.6);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(139,92,246,0.18);
}
.platform-card-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet), var(--sky));
  color: #fff;
}
.platform-card-icon svg { width: 20px; height: 20px; }
.platform-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.platform-card-text strong { font-size: 0.92rem; font-weight: 650; color: var(--cream); line-height: 1.25; }
.platform-card-text span { font-size: 0.76rem; color: rgba(255,248,239,0.55); line-height: 1.3; }
.platform-card-arrow { flex-shrink: 0; font-size: 1.1rem; color: var(--violet); }

.stl-badge {
  margin-top: 1.1rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,248,239,0.45); text-align: center;
}

/* ── Tier upgrades ─────────────────────────────────────── */
/* #4 — the student's typed words sweep-highlight as the triage brief flips in */
.quote-typed { position: relative; overflow: hidden; }
.quote-typed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 18%, rgba(167,139,250,0.42), transparent 82%);
  transform: translateX(-120%);
}
.flip-card.is-flipped .quote-typed::after { animation: quoteSweep 1.15s cubic-bezier(0.22,1,0.36,1) 0.5s 1; }
@keyframes quoteSweep { to { transform: translateX(120%); } }

/* #8 — emotion chips get a per-feeling color dot + tinted selection */
.btn-chip[data-emotion] { padding-left: 2.15rem; }
.btn-chip[data-emotion]::before {
  content: ""; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--chip, #a78bfa); box-shadow: 0 0 10px var(--chip, #a78bfa);
  transition: transform 0.2s var(--ease-spring);
}
.btn-chip[data-emotion].is-selected {
  border-color: var(--chip, #a78bfa) !important;
  box-shadow: 0 0 24px -2px var(--chip, #a78bfa) !important;
}
.btn-chip[data-emotion].is-selected::before { transform: translateY(-50%) scale(1.45); }

/* #9 — hero line words rise in, staggered */
.rw-word { display: inline-block; opacity: 0; transform: translateY(0.55em); animation: rwUp 0.6s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes rwUp { to { opacity: 1; transform: translateY(0); } }

/* #3 — the reach-out lands in the counselor queue with a sweep + stat pop */
.tq-row { position: relative; overflow: hidden; }
.tq-row.is-new::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 20%, rgba(99,102,241,0.4), transparent 80%);
  transform: translateX(-120%);
}
.tq-row.is-new.is-urgent-row::after { background: linear-gradient(105deg, transparent 20%, rgba(185,28,28,0.35), transparent 80%); }
.tq-row.is-new.is-in::after { animation: tqSweep 1.05s ease 0.3s 1; }
@keyframes tqSweep { to { transform: translateX(120%); } }
.ds.ds-pop { animation: dsPop 0.6s cubic-bezier(0.22,1,0.36,1); }
@keyframes dsPop { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .flip-card { transition: none; }
  .flip-card.is-flipped { transform: none; }
  .flip-back { position: relative; transform: none; }
  .flip-front { display: none; }
}

/* ── National close: founder note, primary CTA, role chips ── */

/* Weight-act zoom-out: the national counselor ratio */
#act-weight .stl-line { max-width: 30ch; }

.natl-line {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.natl-line b {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.natl-sub {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--cream);
}

.natl-source {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,248,239,0.35);
}

.founder-note {
  margin: 0.95rem 0 0.2rem;
  padding: 0.95rem 1.1rem;
  border-left: 2px solid var(--violet);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,0.045);
  text-align: left;
}

.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.founder-sign {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
}

.founder-sign span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,248,239,0.4);
}

.platform-card.is-primary {
  margin-top: 1.05rem;
  padding: 1.05rem 1.1rem;
  border-width: 1.5px;
  border-color: rgba(139,92,246,0.62);
  background: linear-gradient(135deg, rgba(139,92,246,0.22), rgba(14,165,233,0.12));
  box-shadow: 0 12px 34px rgba(139,92,246,0.18);
}

.platform-card.is-primary .platform-card-icon { width: 46px; height: 46px; }
.platform-card.is-primary .platform-card-text strong { font-size: 1.02rem; }
.platform-card.is-primary .platform-card-text span { font-size: 0.8rem; }

.lead-divide {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.35rem 0 0.5rem;
}

.lead-divide::before,
.lead-divide::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.lead-divide span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,248,239,0.4);
  white-space: nowrap;
}

.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.role-chip {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s var(--ease-spring);
}

.role-chip:active { transform: scale(0.96); }

.role-chip.is-on {
  border-color: rgba(139,92,246,0.65);
  background: rgba(139,92,246,0.18);
  color: var(--cream);
}

/* ── Sketch pad: optional "draw it instead" on the check-in ── */

.sketch-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed rgba(255,248,239,0.25);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.sketch-toggle b { color: var(--cream); font-weight: 600; }

.sketch-toggle:hover,
.sketch-toggle.is-open {
  border-color: rgba(139,92,246,0.55);
  border-style: solid;
  background: rgba(139,92,246,0.1);
  color: var(--cream);
}

.sketch-wrap { margin-top: 0.7rem; animation: riseIn 0.45s var(--ease-out); }

.sketch-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,248,239,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: #fff8ef;
}

#sketch-canvas {
  display: block;
  width: 100%;
  touch-action: none;
  cursor: crosshair;
}

.sketch-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

.sketch-colors { display: flex; gap: 0.4rem; }

.sketch-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  cursor: pointer;
  transition: transform 0.15s var(--ease-spring), border-color 0.15s, box-shadow 0.15s;
}

.sketch-color.is-on {
  border-color: var(--cream);
  box-shadow: 0 0 0 3px rgba(255,248,239,0.18);
  transform: scale(1.12);
}

.sketch-ops { display: flex; gap: 0.4rem; }

.sketch-op {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.sketch-op:hover { color: var(--cream); border-color: rgba(255,248,239,0.35); }

.sketch-note {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: rgba(255,248,239,0.45);
  line-height: 1.45;
  text-align: center;
}

/* Counselor triage: the sketch rides along next to their words */
.sketch-view {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,248,239,0.2);
  background: #fff8ef;
}

.sketch-view img { display: block; width: 100%; height: auto; }

/* One honest whisper at the close: the walk is the trailer, not the product */
.taste-line {
  margin: 0.4rem 0 0.15rem;
  font-size: 0.82rem;
  color: rgba(255,248,239,0.55);
  line-height: 1.5;
}
