/* ────────────────────────────────────────────────────────────────
   Career Cartographer · Personal Report
   Dark navy + brass — matches site.css palette
   Editorial-classical premium artifact, on-brand
   ──────────────────────────────────────────────────────────────── */

:root {
  /* Mirror canonical site.css tokens */
  --bg:            #0D0D0A;
  --bg-deep:       #131310;
  --bg-card:       #1A2B3C;
  --bg-card-warm:  #243B50;
  --ink:           #F0EBE0;
  --ink-soft:      #C5BFB4;
  --ink-muted:     #8A857C;
  --ink-strong:    #FDF9EE;
  --brass:         #C9A84C;
  --brass-soft:    rgba(201, 168, 76, 0.14);
  --brass-hover:   #DFC888;
  --brass-deep:    #8A6F2E;
  --rule:          rgba(197, 191, 180, 0.16);
  --rule-brass:    rgba(201, 168, 76, 0.20);
  --rule-brass-soft: rgba(201, 168, 76, 0.10);

  /* Legacy aliases — preserved so any in-file references still resolve */
  --bg-parchment:  #0D0D0A;
  --gold:          #C9A84C;
  --gold-soft:     #DFC888;
  --gold-deep:     #8A6F2E;
  --gold-tint:     rgba(201, 168, 76, 0.18);
  --navy:          #1A2B3C;
  --navy-deep:     #0D0D0A;

  --shadow:        0 1px 3px rgba(0,0,0,0.30), 0 6px 20px rgba(0,0,0,0.40);
  --shadow-strong: 0 4px 8px rgba(0,0,0,0.40), 0 18px 48px rgba(0,0,0,0.50);

  --serif:         'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script:        'Great Vibes', cursive;

  --reading-max:   680px;
  --hero-max:      780px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* Same layered radial gradient as site.css's body */
body {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 90% 65% at 50% 40%, #1A2E48 0%, #14222F 35%, #0B1018 70%, #06080C 100%);
  background-attachment: fixed;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Map-grid overlay — same treatment as site.css */
.map-grid {
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 1;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(rgba(201,168,76,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.14) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.15) 85%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.15) 85%, transparent 100%);
  z-index: 0;
}

.hidden { display: none !important; }

a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--brass-hover); }

.report-root {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 64px 24px 96px;
  display: flex;
  justify-content: center;
}

/* ── States ────────────────────────────────────────────────── */
.state {
  max-width: var(--reading-max);
  width: 100%;
  text-align: center;
  padding: 96px 24px;
  color: var(--ink-soft);
}
.state h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--ink-strong);
}
.state .muted { color: var(--ink-muted); margin: 8px 0; }
.loading-glyph {
  font-size: 2.5rem;
  color: var(--brass);
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
  text-shadow: 0 0 24px rgba(201,168,76,0.45);
}
.loading-text { color: var(--ink-muted); font-size: 0.95rem; }
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* ── Article shell ─────────────────────────────────────────── */
.report {
  max-width: var(--hero-max);
  width: 100%;
}

/* ── Section spacing ───────────────────────────────────────── */
.section {
  margin: 72px 0;
}
.section--reading { max-width: var(--reading-max); margin-left: auto; margin-right: auto; }

/* ── Ornamental divider ────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px auto;
  color: var(--brass);
  max-width: 240px;
  justify-content: center;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule-brass), transparent);
}
.divider__glyph { font-size: 0.875rem; opacity: 0.85; letter-spacing: 0.4em; }

/* ── Hero / Header ─────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 16px 0 24px;
  max-width: var(--reading-max);
  margin: 0 auto;
}
.hero__logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 32px rgba(201,168,76,0.32));
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 4.4rem);
  line-height: 1.05;
  color: var(--ink-strong);
  margin: 0 0 20px;
  letter-spacing: -0.015em;
}
.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--brass);
}
.hero__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38ch;
  margin: 0 auto 18px;
  padding: 0;
  border: 0;
  position: relative;
}
.hero__quote-mark {
  color: var(--brass);
  font-weight: 700;
  font-style: normal;
  font-size: 1.1em;
  padding: 0 2px;
}
.hero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 18px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.hero__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__meta { color: var(--ink-muted); }
.hero__motto {
  font-family: var(--script);
  font-size: 1.3rem;
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
}

/* ── Pull quote ────────────────────────────────────────────── */
.pull-quote {
  text-align: center;
  padding: 40px 24px;
  max-width: var(--reading-max);
  margin: 0 auto;
}
.pull-quote__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--brass);
  margin-bottom: -8px;
}
.pull-quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink-strong);
  margin: 0;
}

/* ── Table of Contents ─────────────────────────────────────── */
.toc {
  max-width: var(--reading-max);
  margin: 24px auto 56px;
  padding: 32px 32px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.toc::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brass);
}
.toc__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  text-align: center;
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) {
  .toc__list { grid-template-columns: 1fr 1fr; gap: 0 32px; }
}
.toc__list li {
  counter-increment: toc;
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule-brass);
  position: relative;
  padding-left: 32px;
}
.toc__list li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--brass);
}
.toc__list a {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}
.toc__list a:hover { color: var(--brass-hover); }

/* Smooth scrolling for anchor links */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 24px; }

/* ── Executive summary with drop cap ───────────────────────── */
.exec-summary {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.exec-summary::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding: 0.1em 0.12em 0 0;
  color: var(--brass);
}

/* ── Section headings ──────────────────────────────────────── */
.section__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  text-align: center;
}
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  color: var(--ink-strong);
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.2;
}
.section__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 40px;
}

/* ── Dimensions (sliders) ──────────────────────────────────── */
.dimensions {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.dimensions::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brass);
}
.dimension {
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--rule-brass-soft);
}
.dimension:last-child { border-bottom: none; }
.dimension__label {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 14px;
}
.dimension__slider {
  position: relative;
  height: 16px;
  margin: 0 6px 6px;
}
.dimension__line {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rule-brass);
  border-radius: 999px;
}
.dimension__dot {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--brass);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--brass), 0 0 16px rgba(201,168,76,0.55);
  animation: dot-settle 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes dot-settle {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.dimension__ends {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 6px 0 14px;
}
.dimension__end--left  { text-align: left; }
.dimension__end--right { text-align: right; }
.dimension__copy {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 4px 0 0;
}

/* ── Snapshot section (top of report) ─────────────────────── */
.section--snapshot {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  padding: 36px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.section--snapshot::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brass);
}
.snapshot__body {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* ── Closing note (bottom of report) ──────────────────────── */
.closing-note {
  background: var(--bg-card);
  border: 1px solid var(--rule-brass);
  border-left: 3px solid var(--brass);
  padding: 24px 28px;
  margin: 16px 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.closing-note p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 14px;
}
.closing-note p:last-child { margin-bottom: 0; }

/* ── RIASEC hexagon ────────────────────────────────────────── */
.riasec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.riasec::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brass);
}
@media (min-width: 720px) {
  .riasec { grid-template-columns: 360px 1fr; gap: 32px; }
}
.riasec__chart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.riasec__chart svg {
  max-width: 360px;
  width: 100%;
  height: auto;
}
/* Hex chart elements — tuned for dark background */
.riasec__chart .hex-bg-ring {
  fill: none;
  stroke: rgba(201,168,76,0.16);
  stroke-width: 1;
}
.riasec__chart .hex-outer {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  opacity: 0.55;
}
.riasec__chart .hex-score {
  fill: rgba(201,168,76,0.28);
  stroke: var(--brass);
  stroke-width: 2;
}
.riasec__chart .hex-vertex {
  fill: var(--brass);
  stroke: var(--bg-card);
  stroke-width: 1.5;
}
.riasec__chart .hex-label {
  fill: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0.06em;
}
.riasec__code {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.04em;
  text-align: center;
}
.riasec__code-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 4px;
}
.riasec__meaning {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.riasec__code-footer {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-align: center;
  margin: 24px 0 0;
}
.riasec__code-footer strong {
  color: var(--brass);
  font-weight: 700;
}

/* ── Long-form prose ───────────────────────────────────────── */
.prose {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink);
}
.prose p { margin: 0 0 1.2em; }
.prose strong { color: var(--ink-strong); }
.prose em { color: var(--brass); font-style: italic; }

/* ── Lists (strengths / friction / conditions) ─────────────── */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: list;
}
.list li {
  position: relative;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--rule-brass-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  counter-increment: list;
}
.list li:last-child { border-bottom: none; }
.list li::before {
  content: counter(list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--brass);
  width: 40px;
}

/* ── Actionable Intelligence ───────────────────────────────── */
.ai-section {
  margin: 80px 0;
}
.ai-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .ai-grid--2col { grid-template-columns: 1fr 1fr; }
}
.ai-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  padding: 28px 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brass);
}
.ai-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}
.ai-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink-strong);
  margin: 0 0 12px;
  line-height: 1.3;
}
.ai-card__body {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* "Practical meanings" — numbered editorial cards */
.ai-meanings {
  counter-reset: meanings;
}
.ai-meaning {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  padding: 28px 28px 28px 80px;
  position: relative;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  counter-increment: meanings;
  overflow: hidden;
}
.ai-meaning::before {
  content: counter(meanings, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--brass);
  z-index: 1;
}
.ai-meaning__body {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

/* First move — feature card */
.ai-first-move {
  background:
    linear-gradient(135deg, rgba(201,168,76,0.22) 0%, rgba(201,168,76,0.06) 50%, var(--bg-card-warm) 100%);
  border: 1px solid var(--brass);
  border-radius: 14px;
  padding: 36px 36px;
  box-shadow: var(--shadow-strong), 0 0 32px rgba(201,168,76,0.16);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.ai-first-move::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brass);
}
.ai-first-move__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.ai-first-move__headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--ink-strong);
  margin: 0 0 16px;
  line-height: 1.25;
}
.ai-first-move__body {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.ai-first-move__timeframe {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Inflection point — editorial italic */
.ai-inflection {
  text-align: center;
  max-width: var(--reading-max);
  margin: 32px auto;
  padding: 16px 24px;
}
.ai-inflection__label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--ink-strong);
  margin: 0 0 4px;
  line-height: 1.2;
}
.ai-inflection__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.ai-inflection__headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--ink-strong);
  margin: 0 0 16px;
  line-height: 1.3;
}
.ai-inflection__body {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Directions to consider ────────────────────────────────── */
.directions {
  display: grid;
  gap: 16px;
}
.direction {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-warm) 100%);
  border: 1px solid var(--rule-brass);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.direction::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brass);
}
.direction__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-strong);
  margin: 0 0 12px;
  line-height: 1.3;
}
.direction__why {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.direction__explore {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-style: italic;
  border-top: 1px solid var(--rule-brass-soft);
  padding-top: 12px;
  margin: 0;
}
.direction__explore strong {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 4px;
}

/* ── Closing note (editorial italic) ───────────────────────── */
.closing {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
  max-width: var(--reading-max);
  margin: 0 auto;
}
.closing p { margin: 0 0 1em; }

/* ── Footer (matches site.css footer pillars + motto) ──────── */
.report-footer {
  margin-top: 96px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.report-footer__vitruvian {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--brass);
  opacity: 0.85;
}
.report-footer__brand {
  font-family: var(--script);
  font-size: 1.3rem;
  color: var(--ink-soft);
  line-height: 1;
  margin: 0;
}
.report-footer__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── Buttons (match site.css cc-btn family) ────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-brass);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--brass-soft);
  color: var(--brass);
  border-color: var(--brass);
  transform: translateY(-1px);
}
.btn--primary {
  background: linear-gradient(180deg, var(--brass) 0%, var(--brass-deep) 100%);
  color: var(--bg);
  border-color: var(--brass);
  font-weight: 700;
}
.btn--primary:hover {
  background: var(--brass-hover);
  color: var(--bg);
  border-color: var(--brass-hover);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .report-root { padding: 32px 16px 64px; }
  .section { margin: 56px 0; }
  .dimension__label { font-size: 0.95rem; }
  .dimension__copy { font-size: 0.9rem; }
  .ai-meaning { padding: 24px 20px 24px 64px; }
  .ai-meaning::before { left: 20px; top: 24px; font-size: 1.5rem; }
  .ai-first-move { padding: 28px 24px; }
  .dimensions, .riasec, .ai-card, .direction { padding: 28px 20px; }
  .section--snapshot { padding: 24px 20px; }
  .snapshot__body { font-size: 1.05rem; }
}

/* ── Print (Save as PDF) ──────────────────────────────────── */
@page {
  size: letter;
  margin: 0.7in 0.6in;
}
@page :first {
  margin: 1in 0.8in;
}

@media print {
  /* Print on white paper — no one wants a navy ink-soaked PDF.
     We intentionally diverge from the on-screen dark theme here
     and revert to a clean, archival, ink-on-paper aesthetic. */
  :root {
    --bg:            #FFFFFF;
    --bg-card:       #FFFFFF;
    --bg-card-warm:  #FFFFFF;
    --ink:           #2C2A26;
    --ink-soft:      #4A463F;
    --ink-muted:     #807A6D;
    --ink-strong:    #1A1916;
    --rule:          #E5DDC9;
    --rule-brass:    #E5DDC9;
    --rule-brass-soft: #EFE9D8;
    --shadow:        none;
    --shadow-strong: none;
  }

  html, body {
    background: #FFFFFF !important;
    color: var(--ink) !important;
  }
  body {
    background: #FFFFFF !important;
    background-attachment: initial;
  }

  /* Kill all overlays + decorative chrome in print */
  .map-grid { display: none !important; }

  /* No left-edge brass bars in print */
  .toc::before,
  .dimensions::before,
  .section--snapshot::before,
  .riasec::before,
  .ai-card::before,
  .ai-first-move::before,
  .direction::before { display: none !important; }

  /* Cards become plain white blocks with thin gold-tinted rules */
  .toc, .dimensions, .riasec, .ai-card, .ai-meaning, .ai-first-move,
  .direction, .section--snapshot, .closing-note {
    background: #FFFFFF !important;
    border: 1px solid var(--rule-brass) !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .ai-first-move {
    background: #FFFFFF !important;
    border-color: var(--brass) !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.55;
  }
  .report-root { padding: 0; }
  .report { max-width: none; }
  .section { margin: 18pt 0; page-break-inside: avoid; break-inside: avoid; }

  /* Hide screen-only chrome */
  .report-footer__actions { display: none !important; }
  .state, .loading-glyph { display: none !important; }
  .toc { display: none; }

  /* Cover page = the hero; break after so the rest starts fresh */
  .hero {
    min-height: 8in;
    display: flex;
    flex-direction: column;
    justify-content: center;
    page-break-after: always;
    break-after: page;
    padding: 0;
  }
  .hero__logo { filter: none; }
  .hero__title { font-size: 42pt; line-height: 1.0; color: var(--ink-strong) !important; }
  .hero__title em { color: var(--brass-deep) !important; }
  .hero__quote { font-size: 15pt; max-width: 40ch; margin: 14pt auto; color: var(--ink) !important; }
  .hero__subtitle { font-size: 11pt; max-width: 50ch; margin: 0 auto 12pt; color: var(--ink-soft) !important; }
  .hero__motto { font-size: 14pt; color: var(--brass-deep) !important; }
  .hero__meta { font-size: 8pt; }
  .hero__footer { font-size: 8pt; }

  /* Pull quote on its own page after the cover */
  .pull-quote {
    min-height: 4in;
    display: flex;
    flex-direction: column;
    justify-content: center;
    page-break-before: always;
    page-break-after: always;
    break-after: page;
  }
  .pull-quote__text { font-size: 22pt; color: var(--ink-strong) !important; }
  .pull-quote__mark { color: var(--brass-deep) !important; }

  /* Major sections start on fresh pages for editorial pacing */
  #sec-summary,
  #sec-traits,
  #sec-dimensions,
  #sec-riasec,
  #sec-deep-read,
  #sec-strengths,
  #sec-friction,
  #sec-conditions,
  #sec-intelligence,
  #sec-directions {
    page-break-before: always;
    break-before: page;
  }

  .section__label,
  .section__title,
  .section__lede {
    page-break-after: avoid;
    break-after: avoid;
  }
  .section__title { color: var(--ink-strong) !important; }
  .section__label { color: var(--brass-deep) !important; }

  .ai-meaning, .ai-card, .ai-first-move, .ai-inflection {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* Force hex chart layout consistent in print */
  .riasec { grid-template-columns: 360px 1fr !important; }

  .section--snapshot { page-break-after: auto; }
  .snapshot__body { font-size: 13pt; color: var(--ink) !important; }

  .report-footer { margin-top: 32pt; page-break-before: avoid; border-top: 1px solid var(--rule); }
  .report-footer__vitruvian { font-size: 8pt; letter-spacing: 0.45em; color: var(--brass-deep) !important; }
  .report-footer__brand { color: var(--ink-soft) !important; }

  /* Make links print as ink, no underline noise */
  a { color: var(--ink) !important; text-decoration: none !important; }

  /* Hex SVG stroke / fill tuned for print */
  .riasec__chart .hex-score { fill: rgba(184, 144, 46, 0.28) !important; stroke: var(--brass-deep) !important; }
  .riasec__chart .hex-outer { stroke: var(--brass-deep) !important; }
  .riasec__chart .hex-bg-ring { stroke: var(--rule-brass) !important; }
  .riasec__chart .hex-vertex { fill: var(--brass-deep) !important; stroke: #FFFFFF !important; }
  .riasec__chart .hex-label { fill: var(--ink) !important; }
  .riasec__code { color: var(--brass-deep) !important; }
  .riasec__meaning { color: var(--ink) !important; }
  .riasec__code-footer strong { color: var(--brass-deep) !important; }

  /* Brass accents shift to deeper brass for ink legibility */
  .exec-summary::first-letter,
  .divider,
  .hero__eyebrow,
  .hero__quote-mark,
  .toc__label,
  .toc__list li::before,
  .ai-card__label,
  .ai-first-move__label,
  .ai-first-move__timeframe,
  .direction__explore strong,
  .dimension__dot,
  .list li::before,
  .ai-meaning::before {
    color: var(--brass-deep) !important;
  }
  .dimension__dot {
    background: var(--brass-deep) !important;
    box-shadow: 0 0 0 1px var(--brass-deep) !important;
    border-color: #FFFFFF !important;
  }
  .dimension__line { background: var(--rule-brass) !important; }
}
