@font-face {
  font-family: "Inter";
  src: url("./inter.c940764593.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Fraunces";
  src: url("./fraunces.48282a415e.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Fraunces";
  src: url("./fraunces-italic.4af9c759c8.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
}


[data-theme="dark"] {
  --paper: #0b111e;
  --paper-light: #121929;
  --ink: #f3f0e8;
  --ink-soft: #a2adcb;
  --ochre: #ea9648;
  --ochre-dark: #f5ab66;
  --sage: #6ea88b;
  --line: rgba(243, 240, 232, 0.16);
  --line-strong: rgba(243, 240, 232, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b111e;
    --paper-light: #121929;
    --ink: #f3f0e8;
    --ink-soft: #a2adcb;
    --ochre: #ea9648;
    --ochre-dark: #f5ab66;
    --sage: #6ea88b;
    --line: rgba(243, 240, 232, 0.16);
    --line-strong: rgba(243, 240, 232, 0.4);
  }
}

:root {
  --paper: #f7f2e7;
  --paper-light: #fcf9f2;
  --ink: #15213f;
  --ink-soft: #3f4963;
  --ochre: #ad550b;
  --ochre-dark: #7f3907;
  --sage: #415f50;
  --line: rgba(21, 33, 63, 0.23);
  --line-strong: rgba(21, 33, 63, 0.55);
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1440px, calc(100vw - 80px));
  --header: 90px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.7), transparent 34%),
    radial-gradient(circle at 78% 66%, rgba(255,255,255,.46), transparent 34%),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

h1[tabindex="-1"]:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus-visible { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.site-header {
  width: var(--page);
  height: var(--header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.mark { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.brand-name { font: 500 32px/1 var(--display); letter-spacing: -.02em; }
.brand-divider { width: 1px; height: 31px; background: var(--line); }
.product-name { font-size: 15px; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a, .site-nav button { min-height: 44px; display: inline-flex; align-items: center; border: 0; background: none; text-decoration: none; cursor: pointer; font-size: 14px; }
.site-nav a:hover, .site-nav button:hover { color: var(--ochre-dark); }
.language-link { font-variant-numeric: tabular-nums; }
.mobile-exit { display: none; }

main { min-height: calc(100vh - var(--header)); }

.hero {
  min-height: calc(100svh - var(--header));
  width: var(--page);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-copy { max-width: 780px; padding: 80px 0 104px; position: relative; z-index: 2; }
.hero h1 {
  margin: 0 0 32px;
  max-width: 780px;
  font: 420 clamp(64px, 7.2vw, 116px)/.94 var(--display);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-copy > p { max-width: 650px; margin: 0 0 38px; color: var(--ink-soft); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid var(--ink); padding: 14px 26px; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { min-width: 244px; border-color: var(--ochre); color: white; background: var(--ochre); }
.button-primary:hover { background: var(--ochre-dark); border-color: var(--ochre-dark); }
.button-secondary { background: transparent; }
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.arrow { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.microcopy { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 13px; }
.lock { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero-sigil {
  width: min(48vw, 650px);
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
  justify-self: end;
  margin-right: -18px;
  pointer-events: none;
}
.hero-sigil::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(8, 26, 52, .08);
  border-radius: 50%;
}
.hero-sigil-canvas,
.hero-sigil-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-sigil-canvas { display: block; opacity: 0; transition: opacity .8s ease; }
.hero-sigil-fallback { overflow: visible; transition: opacity .45s ease; }
.hero-sigil-fallback .sigil-rings,
.hero-sigil-fallback .sigil-bearings { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .26; }
.hero-sigil-fallback .sigil-rings circle:nth-child(odd) { stroke: var(--ochre); opacity: .8; }
.hero-sigil-fallback .sigil-outer { stroke-dasharray: 4 9; }
.hero-sigil-fallback .sigil-star { fill: rgba(184, 95, 45, .1); stroke: var(--ochre); stroke-width: 1.4; }
.hero-sigil-fallback .sigil-center,
.hero-sigil-fallback .sigil-nodes { fill: var(--ochre); }
.hero-sigil.is-webgl-ready .hero-sigil-canvas { opacity: 1; }
.hero-sigil.is-webgl-ready .hero-sigil-fallback { opacity: 0; }
.hero-index { align-self: end; justify-self: end; padding: 0 16px 64px 0; display: grid; grid-template-columns: auto auto; gap: 8px 16px; width: 270px; font: 450 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.hero-index span:last-of-type { text-align: right; }
.hero-line { grid-column: 1 / -1; height: 1px; background: var(--line-strong); position: relative; }
.hero-line i { position: absolute; width: 20%; height: 3px; left: 0; top: -1px; background: var(--ochre); }

.library { width: var(--page); margin: 0 auto; padding: 104px 0 126px; }
.section-label { margin-bottom: 80px; display: flex; align-items: center; gap: 26px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.section-label i { height: 1px; flex: 1; background: var(--line); }
.assessment-group + .assessment-group { margin-top: 100px; }
.group-heading { display: grid; grid-template-columns: minmax(260px, .55fr) 1fr; gap: 60px; align-items: end; margin-bottom: 26px; }
.group-heading h2 { margin: 0; font: 430 clamp(36px, 4vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.group-heading p { max-width: 590px; margin: 0 0 7px; color: var(--ink-soft); }
.assessment-list { border-top: 1px solid var(--line-strong); }
.assessment-row {
  min-height: 142px;
  display: grid;
  grid-template-columns: 92px minmax(260px, 1fr) 230px 112px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
  position: relative;
  isolation: isolate;
}
.assessment-row::after { content: ""; position: absolute; inset: 10px -14px; z-index: 0; background: rgba(255,255,255,.36); opacity: 0; pointer-events: none; transition: opacity .18s var(--ease-out, cubic-bezier(.23,1,.32,1)); }
.assessment-row > * { position: relative; z-index: 1; }
.assessment-row:hover::after, .assessment-row:focus-visible::after { opacity: 1; }
.assessment-number { color: var(--ochre); font: 400 42px/1 var(--display); }
.assessment-copy { display: grid; gap: 8px; }
.assessment-copy strong { font: 450 27px/1.1 var(--display); }
.assessment-copy > span { max-width: 570px; color: var(--ink-soft); font-size: 15px; }
.assessment-meta { display: flex; gap: 24px; color: var(--ink-soft); font-size: 13px; }
.assessment-meta span + span::before { content: "·"; margin-right: 24px; }
.assessment-open { display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--ochre-dark); font-size: 14px; }
.assessment-open .arrow { width: 19px; }

.method { width: var(--page); margin: 0 auto; padding: 112px 0 126px; border-top: 1px solid var(--line); }
.method-heading { max-width: 760px; display: grid; gap: 24px; }
.section-number { color: var(--ochre-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.method h2 { margin: 0; font: 430 clamp(44px, 5vw, 76px)/1.02 var(--display); letter-spacing: -.045em; }
.method-grid { margin-top: 88px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.method-grid article { min-height: 240px; padding: 27px 28px 18px 0; border-right: 1px solid var(--line); }
.method-grid article + article { padding-left: 28px; }
.method-grid article:last-child { border-right: 0; }
.method-grid span { color: var(--ochre); font: 420 25px/1 var(--display); }
.method-grid h3 { margin: 50px 0 12px; font: 450 25px/1.1 var(--display); }
.method-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.ethics { width: var(--page); margin: 0 auto 120px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.ethics article { padding: 42px 40px 46px 0; }
.ethics article + article { border-left: 1px solid var(--line); padding-left: 40px; }
.ethics h2 { margin: 0 0 20px; font: 450 26px/1.1 var(--display); }
.ethics p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.site-footer { width: var(--page); min-height: 100px; margin: 0 auto; display: flex; align-items: center; gap: 36px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.site-footer p { margin-right: auto; }

.assessment-intro {
  width: var(--page);
  min-height: calc(100svh - var(--header));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
  padding: 72px 0 92px;
}
.intro-main { max-width: 880px; }
.intro-kicker { display: flex; align-items: center; gap: 18px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; }
.intro-kicker span { color: var(--ochre); font: 420 25px/1 var(--display); letter-spacing: 0; }
.assessment-intro h1 { margin: 36px 0 28px; max-width: 900px; font: 420 clamp(58px, 6.7vw, 104px)/.96 var(--display); letter-spacing: -.055em; text-wrap: balance; }
.intro-lede { max-width: 740px; margin: 0; color: var(--ink-soft); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.consent-note { max-width: 680px; margin: 28px 0 0; padding-left: 18px; border-left: 2px solid var(--ochre); color: var(--ink-soft); }
.safety-note { max-width: 720px; margin-top: 32px; display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border: 1px solid rgba(184,95,18,.44); }
.safety-note p { margin: 0; }
.safety-note p + p { margin-top: 9px; }
.age-note { color: var(--ink-soft); font-size: 13px; }
.leaf { width: 30px; flex: 0 0 30px; fill: none; stroke: var(--sage); stroke-width: 1.6; }
.intro-actions { margin-top: 42px; display: flex; align-items: center; gap: 28px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }
.intro-notes { border-top: 1px solid var(--line-strong); }
.intro-notes > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.intro-notes span { display: block; margin-bottom: 8px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.intro-notes strong { font: 430 22px/1.2 var(--display); }
.intro-notes p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; }
.source-note a { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--ochre-dark); font-size: 13px; text-underline-offset: 4px; }
.external { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.runner { width: var(--page); min-height: calc(100svh - var(--header)); margin: 0 auto; }
.runner-shell { min-height: calc(100svh - var(--header)); display: grid; grid-template-rows: auto 1fr auto; }
.runner-top { padding: 36px 0 26px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.runner-title { font: 440 22px/1.1 var(--display); }
.runner-progress { flex: 1; display: grid; gap: 10px; }
.runner-progress-row { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 13px; }
progress { width: 100%; height: 3px; border: 0; border-radius: 0; appearance: none; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--ochre); }
progress::-moz-progress-bar { background: var(--ochre); }
.exit-runner { min-height: 44px; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.question-layout { padding: 58px 0 50px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(440px, .88fr); gap: clamp(70px, 9vw, 150px); align-items: start; }
.question-number { color: var(--ochre-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; }
.question-copy h1 { margin: 24px 0 0; font: 420 clamp(42px, 4.4vw, 68px)/1.06 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.question-instruction { margin: 30px 0 0; color: var(--ink-soft); }
.answers { border: 0; padding: 0; margin: 0; min-width: 0; }
.answer-option { min-height: 74px; display: grid; grid-template-columns: 45px 1fr 28px; gap: 12px; align-items: center; border-top: 1px solid var(--line); cursor: pointer; position: relative; }
.answer-option:last-child { border-bottom: 1px solid var(--line); }
.answer-option:has(input:checked) { color: var(--ochre-dark); background: rgba(255,255,255,.32); box-shadow: inset 0 0 0 1px var(--ochre); }
.answer-option:has(input:checked)::after { content: ""; position: absolute; inset: 0 0 0 55%; pointer-events: none; opacity: .2; background: repeating-radial-gradient(ellipse at 100% 50%, transparent 0 10px, var(--ochre) 11px 12px); }
.answer-index { position: relative; z-index: 1; color: var(--ochre); font: 420 27px/1 var(--display); text-align: center; }
.answer-text { position: relative; z-index: 1; color: var(--ink); }
.answer-option input { position: relative; z-index: 1; width: 22px; height: 22px; margin: 0; appearance: none; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper-light); }
.answer-option input:checked { border: 6px solid var(--paper-light); background: var(--ochre); box-shadow: 0 0 0 1.5px var(--ochre); }
.runner-actions { min-height: 108px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.runner-actions .button:first-child { justify-self: start; }
.runner-actions .button:last-child { justify-self: end; }
.runner-actions .microcopy { margin: 0; }
.validation { margin-top: 12px; color: #85301a; font-size: 14px; }

.review { padding: 58px 0 70px; }
.review-head { max-width: 760px; }
.review h1, .result h1 { margin: 18px 0 22px; font: 420 clamp(54px, 6vw, 92px)/.98 var(--display); letter-spacing: -.05em; }
.review-head p { color: var(--ink-soft); font-size: 18px; }
.review-list { margin-top: 52px; border-top: 1px solid var(--line-strong); }
.review-item { min-height: 96px; display: grid; grid-template-columns: 56px 1fr minmax(160px, .4fr) 80px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.review-item > span:first-child { color: var(--ochre); font: 420 25px/1 var(--display); }
.review-answer { color: var(--ink-soft); }
.edit-answer { min-height: 44px; border: 0; background: none; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.review-actions { margin-top: 44px; display: flex; gap: 18px; }

.result { padding: 66px 0 90px; }
.result-header { position: relative; padding-bottom: 52px; border-bottom: 1px solid var(--line-strong); overflow: hidden; }
.result-header .contour-result { position: absolute; right: -100px; top: -160px; width: 560px; opacity: .22; color: var(--ochre); }
.result-kicker { color: var(--ochre-dark); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.result-intro { max-width: 760px; color: var(--ink-soft); font-size: 18px; }
.score-layout { margin-top: 54px; display: grid; grid-template-columns: 300px 1fr; gap: 86px; align-items: end; }
.score-big { color: var(--ochre); font: 420 112px/.84 var(--display); letter-spacing: -.07em; white-space: nowrap; }
.score-big small { color: var(--ink); font-size: 50px; letter-spacing: -.03em; }
.score-continuum { padding-bottom: 8px; }
.scale-labels { display: flex; justify-content: space-between; font-size: 14px; }
.score-meter, .domain-meter { width: 100%; height: 4px; border: 0; appearance: none; background: transparent; }
.score-meter { margin-top: 14px; }
.score-meter::-webkit-progress-bar, .domain-meter::-webkit-progress-bar { background: var(--line-strong); }
.score-meter::-webkit-progress-value, .domain-meter::-webkit-progress-value { background: var(--ochre); }
.score-meter::-moz-progress-bar, .domain-meter::-moz-progress-bar { background: var(--ochre); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-strong); }
.result-grid article { min-height: 264px; padding: 40px 38px 44px 0; }
.result-grid article + article { padding-left: 38px; border-left: 1px solid var(--line); }
.result-grid h2 { margin: 0 0 22px; font: 450 27px/1.1 var(--display); }
.result-grid p, .result-grid li { color: var(--ink-soft); font-size: 14px; }
.result-grid ul { margin: 0; padding-left: 18px; }
.result-grid li + li { margin-top: 14px; }
.domain-list { margin-top: 52px; border-top: 1px solid var(--line-strong); }
.domain-row { display: grid; grid-template-columns: minmax(180px, .5fr) 1fr 48px; gap: 28px; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); }
.domain-meter { background: var(--line); }
.itq-profile { margin: 48px 0; padding: 34px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); font: 430 clamp(32px, 4vw, 52px)/1.08 var(--display); }
.result-actions { padding-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.result-actions .delete-result { min-height: 44px; border: 0; background: none; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.result-privacy { margin-left: auto; color: var(--ink-soft); font: italic 400 14px/1.4 var(--display); }
.contour-result svg { width: 100%; height: auto; }
.contour-result path { fill: none; stroke: currentColor; stroke-width: .9; vector-effect: non-scaling-stroke; }

.privacy-dialog { width: min(640px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--ink); color: var(--ink); background: var(--paper-light); box-shadow: 0 22px 90px rgba(21,33,63,.22); }
.privacy-dialog::backdrop { background: rgba(21,33,63,.42); }
.dialog-inner { padding: 38px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.dialog-head h2 { margin: 0; font: 440 44px/1 var(--display); }
.dialog-close { width: 44px; height: 44px; border: 1px solid var(--line-strong); background: none; cursor: pointer; }
.dialog-inner p { color: var(--ink-soft); }
.dialog-list { padding-left: 19px; color: var(--ink-soft); }
.dialog-list li + li { margin-top: 10px; }
.dialog-actions { margin-top: 28px; display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.dialog-actions .button { min-width: 160px; }
.not-found { width: var(--page); min-height: calc(100svh - var(--header)); margin: 0 auto; display: grid; place-content: center; text-align: center; }
.not-found p { color: var(--ochre); font: 400 80px/1 var(--display); margin: 0; }
.not-found h1 { font: 430 60px/1 var(--display); }

@media (max-width: 1000px) {
  :root { --page: calc(100vw - 48px); }
  .site-nav { gap: 22px; }
  .site-nav a:not(.language-link), .site-nav button { display: none; }
  .hero { grid-template-columns: 1fr .55fr; }
  .assessment-row { grid-template-columns: 72px 1fr 180px; }
  .assessment-open { display: none; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid article:nth-child(2) { border-right: 0; }
  .method-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ethics { grid-template-columns: 1fr; }
  .ethics article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .assessment-intro { grid-template-columns: 1fr; align-items: start; }
  .intro-notes { max-width: 720px; }
  .question-layout { grid-template-columns: 1fr; gap: 48px; }
  .answers { max-width: 760px; }
  .score-layout { grid-template-columns: 240px 1fr; gap: 50px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid article { min-height: auto; }
  .result-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

@media (max-width: 680px) {
  :root { --page: calc(100vw - 36px); --header: 76px; }
  body { font-size: 15px; }
  .site-header { width: 100%; padding: 0 18px; }
  .brand { gap: 11px; }
  .mark { width: 42px; height: 42px; }
  .brand-name, .brand-divider { display: none; }
  .product-name { font-size: 15px; }
  .site-nav { margin-left: auto; }
  .language-link { font-size: 13px !important; }
  .mobile-exit { display: inline-flex; min-height: 44px; margin-left: 14px; align-items: center; text-decoration: none; }
  .hero { min-height: auto; display: block; overflow: hidden; padding: 62px 0 52px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 340px; font-size: clamp(50px, 15vw, 66px); }
  .hero-copy > p { font-size: 17px; }
  .hero .button { width: 100%; }
  .hero-sigil { position: absolute; width: 330px; right: -146px; top: 26px; margin: 0; opacity: .28; }
  .hero-index { display: none; }
  .library { padding: 66px 0 78px; }
  .section-label { margin-bottom: 52px; }
  .assessment-group + .assessment-group { margin-top: 68px; }
  .group-heading { display: block; }
  .group-heading h2 { font-size: 40px; }
  .group-heading p { margin-top: 14px; }
  .assessment-row {
    min-height: 166px;
    grid-template-columns: 55px minmax(0, 1fr);
    grid-template-areas:
      "number copy"
      ". meta";
    column-gap: 18px;
    row-gap: 12px;
    padding: 22px 0;
    align-items: start;
  }
  .assessment-number { grid-area: number; font-size: 35px; }
  .assessment-copy { grid-area: copy; min-width: 0; }
  .assessment-copy strong { font-size: 24px; }
  .assessment-copy > span { font-size: 14px; }
  .assessment-meta {
    grid-area: meta;
    position: static;
    margin: 0;
    padding-top: 2px;
    align-self: start;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1.4;
  }
  .method { padding: 72px 0; }
  .method h2 { font-size: 48px; }
  .method-grid { margin-top: 54px; grid-template-columns: 1fr; }
  .method-grid article, .method-grid article + article { min-height: auto; padding: 25px 0 32px; border-right: 0; border-top: 1px solid var(--line); }
  .method-grid article:first-child { border-top: 0; }
  .method-grid h3 { margin: 20px 0 8px; }
  .ethics { margin-bottom: 72px; }
  .ethics article { padding: 30px 0 34px; }
  .site-footer { min-height: 130px; align-items: flex-start; flex-wrap: wrap; gap: 10px 26px; padding: 30px 0; }
  .site-footer p { width: 100%; margin: 0; }
  .assessment-intro { min-height: auto; gap: 58px; padding: 54px 0 72px; }
  .assessment-intro h1 { margin-top: 28px; font-size: clamp(48px, 14vw, 66px); }
  .intro-lede { font-size: 17px; }
  .intro-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .intro-actions .button { width: 100%; }
  .intro-actions .text-link { justify-content: center; }
  .runner { width: 100%; }
  .runner-shell { min-height: calc(100svh - var(--header)); }
  .runner-top { width: var(--page); margin: 0 auto; padding: 22px 0 20px; display: block; }
  .runner-title, .exit-runner { display: none; }
  .question-layout { width: var(--page); margin: 0 auto; padding: 34px 0 30px; gap: 32px; }
  .question-copy h1 { margin-top: 16px; font-size: clamp(37px, 10.5vw, 48px); line-height: 1.05; }
  .question-instruction { margin-top: 20px; }
  .answer-option { min-height: 64px; grid-template-columns: 38px 1fr 25px; }
  .answer-index { font-size: 24px; }
  .runner-actions { width: 100%; min-height: 86px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1fr; position: sticky; bottom: 0; z-index: 8; background: rgba(247,242,231,.97); backdrop-filter: blur(12px); }
  .runner-actions .button { width: 100%; min-width: 0; padding: 12px; gap: 9px; }
  .runner-actions .microcopy { display: none; }
  .review, .result { width: var(--page); margin: 0 auto; padding: 42px 0 66px; }
  .review h1, .result h1 { font-size: 52px; }
  .review-item { grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; }
  .review-answer { grid-column: 2; }
  .edit-answer { grid-column: 2; justify-self: start; padding: 0; }
  .review-actions { flex-direction: column; }
  .review-actions .button { width: 100%; }
  .score-layout { display: block; }
  .score-big { font-size: 90px; }
  .score-continuum { margin-top: 38px; }
  .result-header .contour-result { width: 400px; opacity: .12; }
  .domain-row { grid-template-columns: 1fr 50px; padding: 18px 0; }
  .domain-meter { grid-column: 1 / -1; grid-row: 2; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .result-actions .button { width: 100%; }
  .result-privacy { margin: 10px 0 0; }
  .dialog-inner { padding: 26px; }
  .dialog-head h2 { font-size: 36px; }
}

/* Mapa Interior · Psychometric Atlas */
:root {
  --paper: #f3eee3;
  --paper-light: #fbf8f1;
  --ink: #081a34;
  --ink-soft: #495263;
  --ochre: #b85f2d;
  --ochre-dark: #8e3f20;
  --sage: #355e3b;
  --mineral-red: #a43232;
  --lapis: #1f4f91;
  --line: rgba(8, 26, 52, .18);
  --line-strong: rgba(8, 26, 52, .44);
  --header: 80px;
}

body { background: var(--paper); }
body::before { opacity: .08; }

.site-header {
  width: 100%;
  padding: 0 max(40px, calc((100vw - var(--page)) / 2));
  color: var(--paper-light);
  background: var(--ink);
  border-bottom-color: rgba(255,255,255,.12);
}
.mark { width: 42px; height: 42px; color: var(--ochre); }
.brand-name { font-size: 30px; letter-spacing: -.025em; }
.site-nav a:hover, .site-nav button:hover { color: #e49a70; }
.site-nav .language-link { color: #e49a70; }

.hero {
  min-height: 470px;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
}
.hero-copy { padding: 72px 0 74px; }
.hero h1 { max-width: 900px; font-size: clamp(58px, 6.4vw, 92px); }
.hero-copy > p { max-width: 700px; margin-bottom: 30px; }
.hero-sigil { width: min(48vw, 650px); }
.button { font-size: 14px; letter-spacing: .01em; }
.button-primary { border-color: var(--ink); background: var(--ink); }
.button-primary:hover { border-color: var(--ochre); background: var(--ochre-dark); }
.button-share { min-width: 220px; color: var(--ink); background: transparent; border-color: var(--ochre); }
.button-share:hover { color: white; background: var(--ochre-dark); border-color: var(--ochre-dark); }
.button-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.library { padding-top: 76px; }
.section-label { margin-bottom: 56px; }
.assessment-group + .assessment-group { margin-top: 74px; }
.group-heading { grid-template-columns: minmax(300px, .75fr) 1fr; }
.group-heading h2 { font-size: clamp(38px, 3.7vw, 58px); }
.assessment-row { min-height: 118px; grid-template-columns: 72px minmax(300px, 1fr) 200px 112px; }
.assessment-row::after { inset: 0; background: var(--ink); }
.assessment-row:hover, .assessment-row:focus-visible { color: var(--paper-light); }
.assessment-row:hover .assessment-copy > span,
.assessment-row:focus-visible .assessment-copy > span,
.assessment-row:hover .assessment-meta,
.assessment-row:focus-visible .assessment-meta { color: rgba(255,255,255,.72); }

@media (min-width: 681px) {
  .assessment-row:hover .assessment-number,
  .assessment-row:focus-visible .assessment-number,
  .assessment-row:hover .assessment-open,
  .assessment-row:focus-visible .assessment-open { color: #e49a70; }
}

.assessment-copy strong { font-size: 25px; }
.assessment-number { font-size: 36px; }

.assessment-intro { padding-top: 62px; }
.assessment-intro h1 { font-size: clamp(54px, 6vw, 88px); }
.source-note a + a { margin-left: 18px; }

.runner-shell { min-height: calc(100svh - var(--header)); }
.runner-top { padding-top: 30px; }
.question-layout { grid-template-columns: minmax(0, .96fr) minmax(500px, 1.04fr); padding-top: 48px; gap: clamp(56px, 7vw, 112px); }
.question-copy h1 { font-size: clamp(39px, 3.85vw, 59px); line-height: 1.08; }
.answer-option { min-height: 72px; grid-template-columns: 52px 1fr 30px; padding-right: 14px; }
.answer-choice { min-height: 78px; }
.answer-choice .answer-index { font-family: var(--body); font-size: 13px; font-weight: 700; }
.answer-multiple input { border-radius: 2px; }
.answer-multiple input:checked { border-width: 3px; }
.answer-multiple input:checked::after { content: ""; display: block; width: 9px; height: 5px; margin: 2px 0 0 1px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg); }
.answer-option:has(input:checked) { color: var(--ink); background: rgba(184,95,45,.08); box-shadow: inset 4px 0 0 var(--ochre), inset 0 0 0 1px var(--ochre); }
.answer-option:has(input:checked)::after { display: none; }
.runner-actions { background: var(--paper); }

.result { padding-top: 52px; }
.result-header { padding-bottom: 44px; overflow: visible; }
.result h1 { max-width: 980px; font-size: clamp(56px, 6.3vw, 92px); }
.result-meaning { padding: 74px 0 64px; border-bottom: 1px solid var(--line-strong); }
.result-meaning-heading { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: baseline; }
.result-meaning-heading > span { color: var(--ochre); font: 420 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.result-meaning-heading h2 { margin: 0; font: 430 clamp(36px, 4vw, 58px)/1 var(--display); letter-spacing: -.04em; }
.result-meaning-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line-strong); }
.result-meaning-grid article { min-height: 190px; padding: 28px 30px 30px 0; border-bottom: 1px solid var(--line); }
.result-meaning-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.result-meaning-grid h3 { margin: 0 0 18px; font: 450 24px/1.1 var(--display); }
.result-meaning-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.result-grid { border-top: 0; }
.result-grid article { min-height: 240px; }
.result-actions { position: relative; }
.result-actions .text-link { margin-left: 8px; }
.share-privacy { max-width: 760px; margin: 18px 0 0; color: var(--ink-soft); font-size: 12px; }
.source-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.source-links a { color: var(--ochre-dark); text-underline-offset: 4px; font-size: 13px; }
.support-copy { padding-left: 14px; border-left: 2px solid var(--mineral-red); }

.score-meter,
.profile-bar meter {
  width: 100%;
  height: 8px;
  border: 0;
  background: var(--line);
  appearance: none;
}
.tick-scale { width: 100%; height: 32px; display: flex; align-items: end; gap: clamp(2px, .42vw, 7px); }
.tick-scale i { flex: 1 1 0; min-width: 1px; height: 14px; background: var(--line); transform-origin: bottom; transition: height 180ms cubic-bezier(.23,1,.32,1), background-color 180ms ease; }
.tick-scale i:nth-child(5n + 1) { height: 22px; }
.tick-scale i.is-active { background: var(--ink); }
.tick-scale i.is-marker { height: 30px; background: var(--ochre); }
.editorial-scale { min-width: 0; }
.score-meter { margin-top: 15px; }
.score-meter::-webkit-meter-bar,
.profile-bar meter::-webkit-meter-bar { background: var(--line); border: 0; border-radius: 0; }
.score-meter::-webkit-meter-optimum-value,
.profile-bar meter::-webkit-meter-optimum-value { background: var(--ochre); }
.score-meter::-moz-meter-bar,
.profile-bar meter::-moz-meter-bar { background: var(--ochre); }

.criterion-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); }
.criterion-row { min-height: 58px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 10px 18px 10px 0; border-bottom: 1px solid var(--line); }
.criterion-row:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.criterion-row strong { color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.criterion-row strong[data-met="true"] { color: var(--sage); }

.profile-bars { margin-top: 44px; border-top: 1px solid var(--line-strong); }
.profile-bar { min-height: 68px; display: grid; grid-template-columns: minmax(220px, .45fr) 1fr 54px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.profile-bar > div:first-child { display: flex; justify-content: space-between; gap: 20px; }
.profile-bar span { font: 440 22px/1.1 var(--display); }
.profile-bar strong, .profile-bar small { font-variant-numeric: tabular-nums; }
.profile-bar small { text-align: right; color: var(--ink-soft); }

.archetype-stage { min-height: 690px; margin-top: 22px; position: relative; display: grid; place-items: center; overflow: hidden; }
.archetype-art { position: absolute; inset: 0; background: url("./archetype-atlas.ca1c2c98e1.webp") center / min(760px, 82vw) no-repeat; opacity: .46; }
.archetype-chart { position: relative; z-index: 1; width: min(430px, 42vw); filter: drop-shadow(0 8px 28px rgba(8,26,52,.08)); }
.archetype-chart circle, .archetype-chart path { fill: rgba(243,238,227,.72); stroke: rgba(8,26,52,.28); stroke-width: .8; }
.archetype-chart polygon { fill: rgba(8,26,52,.12); stroke: var(--ink); stroke-width: 2; }
.archetype-label { position: absolute; z-index: 2; display: grid; min-width: 138px; color: var(--ink); }
.archetype-label span { font: 450 34px/1 var(--display); }
.archetype-label strong { font: 420 54px/1 var(--display); }
.archetype-label small { color: var(--ink-soft); }
.archetype-label-0 { top: 4%; left: 50%; transform: translateX(-50%); text-align: center; color: var(--ochre-dark); }
.archetype-label-1 { top: 47%; right: 3%; color: var(--mineral-red); }
.archetype-label-2 { bottom: 5%; left: 50%; transform: translateX(-50%); text-align: center; color: var(--sage); }
.archetype-label-3 { top: 47%; left: 3%; text-align: right; color: var(--lapis); }
.chart-note { position: absolute; z-index: 2; bottom: 2%; right: 2%; max-width: 260px; padding-left: 18px; border-left: 1px dashed var(--ink); color: var(--ink-soft); font-size: 12px; }
.result-grid-archetypes article:first-child { border-top: 3px solid var(--ochre); }

.privacy-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 360px; padding: 15px 18px; color: white; background: var(--ink); box-shadow: 0 12px 40px rgba(8,26,52,.2); }

@media (max-width: 1000px) {
  .site-header { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr .5fr; }
  .hero-sigil { width: min(46vw, 520px); }
  .question-layout { grid-template-columns: 1fr; }
  .answers { max-width: none; }
  .archetype-stage { min-height: 630px; }
  .archetype-chart { width: min(420px, 58vw); }
  .archetype-label-1 { right: 0; }
  .archetype-label-3 { left: 0; }
}

@media (max-width: 680px) {
  .site-header { padding-inline: 18px; }
  .brand-name { display: inline; font-size: 21px; }
  body[data-assessment]:not([data-assessment=""]) .brand-name { display: none; }
  .mark { width: 34px; height: 34px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(46px, 13vw, 58px); }
  .hero-sigil { width: 300px; right: -140px; top: 20px; }
  .library { padding-top: 52px; }
  .assessment-row {
    min-height: 0;
    grid-template-columns: 55px minmax(0, 1fr);
    grid-template-areas:
      "number copy"
      ". meta";
  }
  .assessment-row:hover, .assessment-row:focus-visible { color: var(--ink); }
  .assessment-row:hover .assessment-copy > span,
  .assessment-row:focus-visible .assessment-copy > span,
  .assessment-row:hover .assessment-meta,
  .assessment-row:focus-visible .assessment-meta { color: var(--ink-soft); }
  .assessment-row::after { display: none; }
  .question-layout { padding-bottom: 118px; }
  .answer-option { min-height: 70px; padding: 8px 8px 8px 0; }
  .answer-choice { min-height: 76px; }
  .runner-actions { background: rgba(243,238,227,.97); }
  .result h1 { font-size: 48px; }
  .result-meaning { padding: 54px 0 48px; }
  .result-meaning-heading { grid-template-columns: 46px 1fr; gap: 12px; }
  .result-meaning-heading h2 { font-size: 38px; }
  .result-meaning-grid { margin-top: 38px; grid-template-columns: 1fr; }
  .result-meaning-grid article,
  .result-meaning-grid article + article { min-height: 0; padding: 24px 0 28px; border-left: 0; }
  .criterion-list { grid-template-columns: 1fr; }
  .criterion-row:nth-child(even) { padding-left: 0; border-left: 0; }
  .profile-bar { grid-template-columns: 1fr 46px; gap: 10px 14px; padding: 16px 0; }
  .profile-bar > div:first-child { grid-column: 1 / -1; }
  .profile-bar meter, .profile-bar .tick-scale { grid-column: 1; }
  .profile-bar small { grid-column: 2; }
  .archetype-stage { min-height: 570px; margin-inline: -18px; }
  .archetype-art { background-size: 590px; opacity: .34; }
  .archetype-chart { width: 250px; }
  .archetype-label { min-width: 90px; }
  .archetype-label span { font-size: 22px; }
  .archetype-label strong { font-size: 36px; }
  .archetype-label-0 { top: 4%; }
  .archetype-label-1 { top: 43%; right: 1%; text-align: right; }
  .archetype-label-2 { bottom: 7%; }
  .archetype-label-3 { top: 43%; left: 1%; text-align: left; }
  .chart-note { left: 18px; right: auto; bottom: 1%; max-width: 225px; }
  .result-actions .button { min-height: 58px; }
  .result-actions .text-link { justify-content: center; }
  .source-note a + a { margin-left: 0; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
}


/* Runner keyboard shortcuts */
.runner-meta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.keyboard-shortcuts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.kbd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  color: var(--ink);
  background: rgba(21, 33, 63, 0.07);
  border: 1px solid rgba(21, 33, 63, 0.18);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(21, 33, 63, 0.12);
}
.kbd-sep { opacity: .4; }

/* SCS Polarity Tracks */
.scs-polarities {
  margin-top: 36px;
  width: 100%;
  max-width: 720px;
}
.scs-polarity-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.scs-polarity-grid {
  display: grid;
  gap: 14px;
}
.polarity-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 14px 18px;
  display: grid;
  gap: 8px;
}
.polarity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.polarity-side strong { font-family: var(--display); font-size: 15px; }
.polarity-side small { color: var(--ochre); font-variant-numeric: tabular-nums; }
.polarity-vs { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); opacity: .6; }
.polarity-svg {
  width: 100%;
  height: 14px;
  display: block;
}
.polarity-track-bg { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.polarity-track-mid { stroke: var(--line-strong); stroke-width: 1.5; }
.polarity-track-dot { fill: var(--ochre); stroke: white; stroke-width: 1.5; }

/* MAAS Wave Spectrum */
.maas-spectrum {
  margin-top: 32px;
  width: 100%;
  max-width: 680px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 18px 24px;
}
.maas-spectrum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.maas-wave-svg {
  width: 100%;
  height: 28px;
  display: block;
}
.wave-line { fill: none; stroke: var(--ochre); stroke-width: 1.4; opacity: .45; }
.wave-track { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.wave-dot-pulse { fill: var(--ochre); opacity: .2; }
.wave-dot { fill: var(--ochre); stroke: white; stroke-width: 1.5; }

/* Attachment 2D Coordinate Plane */
.attachment-viz-wrapper {
  display: grid;
  grid-template-columns: minmax(300px, 340px) 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 36px;
}
.attachment-plane-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(21, 33, 63, 0.04);
}
.plane-title {
  font: 500 12px/1.2 var(--body);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.attachment-plane-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.quadrant-rect {
  fill: rgba(21, 33, 63, 0.02);
  stroke: rgba(21, 33, 63, 0.08);
  stroke-dasharray: 2 4;
}
.quadrant-rect.q-secure { fill: rgba(65, 95, 80, 0.06); }
.plane-axis {
  stroke: var(--line-strong);
  stroke-width: 1.2;
}
.plane-axis-text {
  font-family: var(--body);
  font-size: 9px;
  fill: var(--ink-soft);
  letter-spacing: .04em;
}
.plane-quadrant-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  fill: var(--ink);
  opacity: .75;
}
.plane-pulse {
  fill: var(--ochre);
  opacity: .25;
}
.plane-point {
  fill: var(--ochre);
  stroke: white;
  stroke-width: 1.5;
}
.plane-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.plane-footer strong { color: var(--ochre-dark); }

/* Option A: Result Deep Dive Section & Accordion Modules */
.result-deep-dive {
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
  padding-top: 56px;
}
.deep-dive-header {
  max-width: 720px;
  margin-bottom: 40px;
}
.deep-dive-header .section-number {
  display: block;
  color: var(--ochre-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.deep-dive-header h2 {
  margin: 0 0 16px;
  font: 420 clamp(32px, 3.5vw, 48px)/1.08 var(--display);
  letter-spacing: -.03em;
}
.deep-dive-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}
.deep-dive-accordion {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.deep-module {
  border-bottom: 1px solid var(--line);
  transition: background-color .18s ease;
}
.deep-module[open] {
  background: rgba(255, 255, 255, 0.4);
}
.deep-module-summary {
  list-style: none;
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  align-items: center;
  gap: 20px;
  padding: 24px 12px;
  cursor: pointer;
  user-select: none;
  transition: color .18s ease;
}
.deep-module-summary::-webkit-details-marker { display: none; }
.deep-module-summary:hover {
  color: var(--ochre-dark);
}
.module-num {
  font: 400 24px/1 var(--display);
  color: var(--ochre);
}
.module-title {
  font: 450 clamp(20px, 2vw, 24px)/1.2 var(--display);
  letter-spacing: -.015em;
}
.module-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: transform .24s ease;
}
.chevron {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.deep-module[open] .module-toggle {
  transform: rotate(180deg);
}
.deep-module-body {
  padding: 0 16px 36px 68px;
}
.module-intro {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 800px;
  line-height: 1.6;
}
.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.dimension-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dimension-card h3 {
  margin: 0;
  font: 500 18px/1.2 var(--display);
  color: var(--ink);
}
.dimension-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}
.shadow-box {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(173, 85, 11, 0.07);
  border-left: 2px solid var(--ochre);
  font-size: 12px;
  line-height: 1.5;
  display: grid;
  gap: 6px;
  color: var(--ink);
}
.dimension-takeaway {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.dimension-takeaway em {
  font-style: normal;
  color: var(--ochre-dark);
  font-weight: 600;
}
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.practice-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.practice-card header h3 {
  margin: 0 0 6px;
  font: 500 20px/1.2 var(--display);
}
.practice-sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.practice-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.practice-steps li::marker {
  color: var(--ochre);
  font-weight: 600;
}
.practice-why {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.practice-why strong {
  color: var(--ochre-dark);
}
.theory-content {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  display: grid;
  gap: 16px;
}
.theory-content p {
  margin: 0;
}
.reflections-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 820px;
}
.reflections-list li::marker {
  color: var(--ochre);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.resource-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 22px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, border-color .18s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  border-color: var(--ochre);
}
.resource-meta strong {
  display: block;
  font: 500 17px/1.2 var(--display);
  margin-bottom: 4px;
  color: var(--ink);
}
.resource-meta span {
  font-size: 13px;
  color: var(--ochre-dark);
}
.resource-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}
.resource-link-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ochre-dark);
  font-weight: 500;
}
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.crisis-card {
  background: rgba(173, 85, 11, 0.05);
  border: 1px solid rgba(173, 85, 11, 0.3);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.crisis-country {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ochre-dark);
  font-weight: 600;
}
.crisis-card strong {
  font: 500 16px/1.2 var(--display);
  color: var(--ink);
}
.crisis-contact {
  font-weight: 600;
  color: var(--ochre-dark);
  font-size: 14px;
}
.crisis-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}
.crisis-card a {
  color: var(--ochre-dark);
  font-weight: 500;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .attachment-viz-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .deep-module-body {
    padding-left: 12px;
  }
  .deep-module-summary {
    grid-template-columns: 36px 1fr 24px;
    gap: 12px;
  }
}


/* Assessment Library Card Grid */
.library-header {
  margin-bottom: 48px;
  max-width: 820px;
}
.library-header .section-number {
  display: block;
  color: var(--ochre-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.library-header h2 {
  margin: 0 0 16px;
  font: 450 clamp(32px, 3.6vw, 52px)/1.08 var(--display);
  letter-spacing: -.03em;
}
.library-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}
.assessment-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(21, 33, 63, 0.04);
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .22s ease, border-color .22s ease;
}
.assessment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(21, 33, 63, 0.09);
  border-color: var(--ochre);
}
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ede6d8;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.assessment-card:hover .card-img {
  transform: scale(1.03);
}
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.card-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge-cat {
  background: rgba(247, 242, 231, 0.92);
  color: var(--ink);
  border: 1px solid rgba(21, 33, 63, 0.15);
}
.badge-status-active {
  background: rgba(65, 95, 80, 0.92);
  color: white;
}
.badge-status-upcoming {
  background: rgba(173, 85, 11, 0.92);
  color: white;
}
.card-number {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font: 400 32px/1 var(--display);
  color: rgba(21, 33, 63, 0.25);
  z-index: 2;
  pointer-events: none;
}
.card-content {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.card-title {
  margin: 0 0 4px;
  font: 500 clamp(20px, 1.8vw, 24px)/1.2 var(--display);
  letter-spacing: -.02em;
  color: var(--ink);
}
.card-full-title {
  margin: 0;
  font-size: 13px;
  color: var(--ochre-dark);
  font-weight: 500;
}
.card-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.card-dossier {
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.dossier-toggle {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ochre-dark);
  font-weight: 500;
}
.dossier-toggle::-webkit-details-marker { display: none; }
.chevron-sm {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform .2s ease;
}
.card-dossier[open] .chevron-sm {
  transform: rotate(180deg);
}
.dossier-content {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(21, 33, 63, 0.03);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
}
.dossier-content strong { color: var(--ink); }
.dossier-safety { color: var(--ochre-dark); }
.card-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.button-card {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  font: 500 14px/1.2 var(--body);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color .18s ease, transform .18s ease;
}
.button-card:hover {
  background: var(--ochre-dark);
  color: white;
}
.upcoming-indicator {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: .02em;
  font-style: italic;
}

/* Redesigned ITQ Hero Section */
.itq-hero-card {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 32px;
  display: grid;
  gap: 20px;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(21, 33, 63, 0.04);
}
.itq-hero-card.status-cptsd { border-left: 5px solid var(--ochre); }
.itq-hero-card.status-ptsd { border-left: 5px solid #c97d2b; }
.itq-hero-card.status-none { border-left: 5px solid var(--sage); }
.itq-hero-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.itq-badge-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
}
.itq-status-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 3px;
}
.itq-status-pill.status-cptsd { background: rgba(173, 85, 11, 0.12); color: var(--ochre-dark); }
.itq-status-pill.status-ptsd { background: rgba(201, 125, 43, 0.12); color: #8e4708; }
.itq-status-pill.status-none { background: rgba(65, 95, 80, 0.12); color: var(--sage); }
.itq-badge-title {
  margin: 0;
  font: 450 clamp(24px, 2.5vw, 34px)/1.15 var(--display);
  letter-spacing: -.02em;
  color: var(--ink);
}
.itq-hero-summary {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 820px;
}
.itq-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.itq-pillar {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pillar-label {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.pillar-head strong {
  font-size: 12px;
  color: var(--ochre);
}
.pillar-status {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.pillar-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}
.pillar-items li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar-items li.item-active { color: var(--ink); font-weight: 500; }
.pillar-items li.item-inactive { color: var(--ink-soft); opacity: .6; }
.item-check { font-size: 14px; color: var(--ochre); font-weight: 700; width: 14px; }
.itq-hero-disclaimer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.itq-hero-disclaimer strong { color: var(--ink); }

@media (max-width: 768px) {
  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .itq-pillars-grid {
    grid-template-columns: 1fr;
  }
  .itq-hero-card {
    padding: 20px;
  }
}


/* Navigation Utility Controls: Theme, Sound & Session Map */
.nav-actions-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav .icon-btn {
  background: var(--paper-light);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color .18s ease, border-color .18s ease, transform .14s ease;
}
.site-nav .icon-btn:hover {
  background: rgba(21, 33, 63, 0.08);
  border-color: var(--ink);
}
[data-theme="dark"] .site-nav .icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ink);
}
.site-nav .icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

.sound-muted .sound-on { display: none; }
.sound-muted .sound-off { display: block; }
.sound-on { display: block; }
.sound-off { display: none; }

.site-nav .session-map-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 36px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, transform .14s ease;
}
.site-nav .session-map-pill:hover {
  border-color: var(--ochre);
}
.session-count-badge {
  background: var(--ochre);
  color: white;
  border-radius: 99px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
}

/* Library Toolbar: Search & Category Filter Pills */
.library-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.search-box {
  position: relative;
  max-width: 520px;
  width: 100%;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.8;
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px 12px 42px;
  font: 400 14.5px/1.2 var(--body);
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(173, 85, 11, 0.12);
}
.search-input::placeholder {
  color: var(--ink-soft);
  opacity: .7;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font: 500 13px/1.2 var(--body);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .16s ease;
}
.filter-pill:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}
.filter-pill.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Card filtered out state */
.assessment-card.is-filtered-out {
  display: none !important;
}

/* Data Visualizations: Gauge, Radar, Quadrant & Severity Meter */
.viz-container {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.viz-title {
  margin: 0;
  font: 500 15px/1.2 var(--display);
  color: var(--ink);
  align-self: flex-start;
}

/* 1. Gauge Meter for Single Scale Values (SCS, MAAS) */
.gauge-wrapper {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 2 / 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gauge-svg {
  width: 100%;
  height: 100%;
}
.gauge-bg-arc {
  fill: none;
  stroke: var(--line);
  stroke-width: 16;
  stroke-linecap: round;
}
.gauge-val-arc {
  fill: none;
  stroke: var(--ochre);
  stroke-width: 16;
  stroke-linecap: round;
  transition: stroke-dasharray .8s cubic-bezier(0.16, 1, 0.3, 1);
}
.gauge-center-val {
  position: absolute;
  bottom: 8px;
  font: 500 36px/1 var(--display);
  color: var(--ink);
}
.gauge-center-label {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.gauge-labels {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* 2. Stepped Severity Thermometer for Clinical Screeners (PHQ-9, GAD-7) */
.severity-thermometer {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.thermometer-scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}
.thermometer-scale-5 {
  grid-template-columns: repeat(5, 1fr);
}
.scale-step {
  height: 100%;
  opacity: .25;
  transition: opacity .3s ease;
}
.step-minimal { background: #528c6a; }
.step-mild { background: #96a84d; }
.step-moderate { background: #e09f3e; }
.step-mod-severe { background: #cf6632; }
.step-severe { background: #b83a3a; }

.scale-step.is-active-step {
  opacity: 1;
  box-shadow: 0 0 8px currentColor;
}
.thermometer-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
}
.thermometer-labels-5 {
  grid-template-columns: repeat(5, 1fr);
}
.thermometer-labels span.is-active-label {
  color: var(--ink);
  font-weight: 600;
}

/* 3. Multi-axis Polar Radar Chart (Archetypes) */
.radar-wrapper {
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
}
.radar-svg {
  width: 100%;
  height: 100%;
}
.radar-ring {
  fill: none;
  stroke: var(--line);
  stroke-dasharray: 3 3;
}
.radar-axis-line {
  stroke: var(--line);
  stroke-width: 1;
}
.radar-polygon {
  fill: rgba(173, 85, 11, 0.25);
  stroke: var(--ochre);
  stroke-width: 2.5;
  stroke-linejoin: round;
  transition: all .6s ease;
}
.radar-vertex {
  fill: var(--ochre);
  stroke: var(--paper-light);
  stroke-width: 2;
}
.radar-axis-label {
  font: 500 12px/1 var(--body);
  fill: var(--ink);
  text-anchor: middle;
  dominant-baseline: middle;
}

/* 4. 2D Coordinate Scatter Plot (Attachment Dimensions) */
.quadrant-wrapper {
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  position: relative;
}
.quadrant-svg {
  width: 100%;
  height: 100%;
}
.quadrant-axis {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}
.quadrant-zone {
  opacity: .08;
}
.zone-secure { fill: #415f50; }
.zone-anxious { fill: #ad550b; }
.zone-avoidant { fill: #486581; }
.zone-disorganized { fill: #723c70; }
.quadrant-label {
  font: 500 11.5px/1 var(--body);
  fill: var(--ink-soft);
  text-anchor: middle;
}
.quadrant-point {
  fill: var(--ochre);
  stroke: var(--paper);
  stroke-width: 3;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* Ethical Safety / Crisis Alert Card */
.crisis-alert-card {
  background: rgba(184, 58, 58, 0.08);
  border: 1px solid rgba(184, 58, 58, 0.35);
  border-left: 5px solid #b83a3a;
  border-radius: 4px;
  padding: 24px 28px;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}
.crisis-alert-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b83a3a;
  font: 500 17px/1.2 var(--display);
}
.crisis-alert-head svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.crisis-alert-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.crisis-helplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.crisis-helpline-item {
  background: var(--paper-light);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.crisis-helpline-item strong {
  display: block;
  color: #b83a3a;
  margin-bottom: 2px;
}

/* In-Session "Mi Mapa" Dashboard Drawer / Modal */
.session-map-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100vh;
  background: var(--paper-light);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1);
}
.session-map-drawer.is-open {
  transform: translateX(0);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 20, 36, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-title {
  margin: 0;
  font: 500 20px/1.2 var(--display);
  color: var(--ink);
}
.drawer-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.session-entry-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.session-entry-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}
.session-entry-value {
  font-size: 13.5px;
  color: var(--ochre-dark);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .result-actions, .privacy-dialog { display: none !important; }
  body { background: white; }
  body::before { display: none; }
  .result { padding: 20px; }
  .result-header .contour-result { display: none; }
}
