:root {
  color-scheme: dark;
  --bg: #080c14;
  --bg-soft: #0d1420;
  --panel: rgba(15, 23, 36, 0.78);
  --panel-strong: #101927;
  --line: rgba(157, 180, 210, 0.18);
  --line-strong: rgba(88, 166, 255, 0.48);
  --text: #f4f7fb;
  --muted: #9aa9ba;
  --blue: #5aa7ff;
  --blue-bright: #8fc8ff;
  --gold: #d7b56d;
  --gold-soft: #f0d99f;
  --max-width: 1220px;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(41, 110, 190, 0.12), transparent 38%),
    radial-gradient(circle at 88% 70%, rgba(215, 181, 109, 0.08), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(90, 167, 255, 0.55);
  outline-offset: 4px;
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.13;
  pointer-events: none;
}
.ambient-one { top: -190px; left: -140px; background: var(--blue); }
.ambient-two { right: -180px; bottom: -200px; background: var(--gold); }

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 160, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 160, 200, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.site-header,
.site-footer,
.app-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.035em;
}
.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}
.brand-word {
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.divider { width: 28px; height: 1px; background: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  font-size: 0.82rem;
  font-weight: 700;
}
.site-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.app-shell {
  min-height: calc(100vh - 164px);
  padding: 70px 0 80px;
}

.screen {
  display: none;
  animation: screen-in 420ms ease both;
}
.screen.is-active { display: block; }
@keyframes screen-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow,
.sidebar-label,
.book-footer-kicker,
.resume-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-screen { max-width: 1120px; margin: 0 auto; }
.intro-screen h1,
.result-screen > .result-heading-row h1,
.transition-card > h1 {
  max-width: 1000px;
  margin: 18px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.intro-lead,
.transition-lead,
.result-page-intro {
  max-width: 820px;
  margin: 0;
  color: #c4cfdb;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.72;
}

.assessment-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.assessment-choice {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 29, 45, 0.84), rgba(12, 19, 30, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.assessment-choice.is-featured {
  border-color: rgba(90, 167, 255, 0.42);
  background:
    radial-gradient(circle at 85% 10%, rgba(90, 167, 255, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(19, 33, 52, 0.94), rgba(11, 19, 31, 0.82));
}
.choice-topline {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.choice-number {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}
.choice-recommended {
  padding: 6px 9px;
  border: 1px solid rgba(215, 181, 109, 0.32);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(215, 181, 109, 0.08);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.assessment-choice h2 {
  margin: 34px 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}
.assessment-choice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 28px;
  padding: 0;
  list-style: none;
}
.choice-meta li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b5c2d0;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.72rem;
}
.assessment-choice .button { width: 100%; margin-top: auto; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  padding: 0 23px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, color 170ms ease, opacity 170ms ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: 0.36; }
.button-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #06101d;
  box-shadow: 0 12px 34px rgba(54, 137, 227, 0.22);
}
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.button-quiet { background: transparent; color: var(--muted); }

.resume-panel {
  margin-top: 22px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(90, 167, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(13, 25, 40, 0.74);
}
.resume-panel strong { display: block; margin-top: 7px; font-size: 1.05rem; }
.resume-panel p { margin: 5px 0 0; color: var(--muted); font-size: 0.85rem; }
.resume-actions { display: flex; align-items: center; gap: 8px; }
.resume-actions .button { min-height: 42px; }

.intro-note {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: start;
  gap: 20px;
  max-width: 880px;
  margin-top: 34px;
}
.intro-note p,
.result-section p,
.secondary-result p,
.sidebar-instruction {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.note-line { height: 1px; margin-top: 12px; background: var(--gold); }
.privacy-note,
.keyboard-hint,
.share-status {
  margin: 0;
  color: #77889b;
  font-size: 0.8rem;
  line-height: 1.5;
}
.intro-privacy { margin-top: 22px; }

.quiz-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 64px;
}
.quiz-sidebar {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 30px 10px 0;
  border-right: 1px solid var(--line);
}
.sidebar-title {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.25;
}
.sidebar-instruction { margin-top: 16px; font-size: 0.82rem; }
.progress-block { margin-top: auto; padding: 42px 0; }
.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transition: width 280ms ease;
}
.section-progress {
  margin-top: 10px;
  color: #687b91;
  font-size: 0.72rem;
}
.style-key { display: grid; gap: 8px; color: #718296; font-size: 0.75rem; }

.question-panel { max-width: 820px; padding-top: 8px; }
.question-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.question-topline span:first-child { color: var(--gold); }
.question-title {
  min-height: 112px;
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.answers { display: grid; gap: 10px; }
.answer-option {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px 20px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 23, 36, 0.62);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.answer-option:hover {
  transform: translateX(3px);
  border-color: rgba(90, 167, 255, 0.36);
  background: rgba(19, 32, 50, 0.78);
}
.answer-option.is-selected {
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(49, 115, 190, 0.2), rgba(14, 23, 36, 0.78));
}
.answer-letter {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-bright);
  background: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}
.answer-option.is-selected .answer-letter {
  border-color: rgba(215, 181, 109, 0.52);
  color: #07111d;
  background: var(--gold-soft);
}
.answer-text { color: #c7d1dc; line-height: 1.45; }
.answer-text strong { color: var(--text); }
.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.keyboard-hint { margin-top: 14px; text-align: right; }

.transition-screen { max-width: 1040px; margin: 0 auto; }
.transition-card {
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 15%, rgba(90, 167, 255, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(18, 29, 45, 0.92), rgba(10, 17, 28, 0.92));
  box-shadow: var(--shadow);
}
.transition-index {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.transition-guidance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.transition-guidance > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 13, 22, 0.36);
}
.transition-guidance span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.transition-guidance p { margin: 0; color: var(--muted); line-height: 1.6; }
.transition-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; }

.result-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}
.result-heading-row > div:first-child { min-width: 0; }
.result-page-intro { max-width: 760px; font-size: 1.05rem; }
.result-badge,
.section-result-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.42);
  border-radius: 50%;
  color: var(--gold-soft);
  background:
    radial-gradient(circle, rgba(215, 181, 109, 0.13), transparent 68%),
    rgba(15, 23, 36, 0.72);
  font-family: Georgia, "Times New Roman", serif;
}
.result-badge { width: 126px; height: 126px; padding: 14px; font-size: 2.1rem; text-align: center; }
.section-result-badge { width: 78px; height: 78px; font-size: 2rem; }

.result-content { display: grid; gap: 62px; }
.assessment-result + .assessment-result {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.assessment-result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.assessment-result-heading h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: 18px;
}
.result-main-card,
.score-card,
.result-visuals,
.company-result-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 27, 42, 0.82), rgba(8, 14, 23, 0.82));
  box-shadow: var(--shadow);
}
.result-main-card { padding: clamp(28px, 5vw, 52px); }
.result-focus {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}
.result-description {
  margin: 0;
  color: #c0ccd8;
  font-size: 1.03rem;
  line-height: 1.75;
}
.result-section {
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.result-section h3,
.score-card-header h3 {
  margin: 0 0 11px;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.challenge-section h3 { color: var(--gold-soft); }
.result-main-card blockquote {
  margin: 34px 0 0;
  padding: 20px 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  color: #98a8ba;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.62;
}
.result-sidebar { display: grid; align-content: start; gap: 14px; }
.score-card { padding: 27px; }
.score-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.score-card-header h3 { margin: 0; }
.score-card-header span { color: var(--muted); font-size: 0.73rem; }
.score-bars { display: grid; gap: 18px; }
.score-row { display: grid; gap: 7px; }
.score-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
}
.score-row-top span:first-child { color: #c8d3df; }
.score-row-top strong { color: var(--gold-soft); }
.score-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}
.score-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(90, 167, 255, 0.75), var(--blue-bright));
}
.score-row.is-top .score-fill { background: linear-gradient(90deg, var(--gold), var(--blue)); }
.score-row.is-top .score-row-top span:first-child { color: var(--text); font-weight: 750; }
.secondary-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.secondary-result strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-visuals {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.result-visuals[data-count="1"] { grid-template-columns: 1fr; }
.result-visuals[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-visuals[data-count="3"],
.result-visuals[data-count="4"],
.result-visuals[data-count="5"],
.result-visuals[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-visual-item {
  min-width: 0;
  margin: 0;
  padding: 9px 7px 8px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid rgba(157, 180, 210, 0.12);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(90, 167, 255, 0.11), transparent 66%),
    rgba(7, 13, 22, 0.42);
}
.result-visual-image {
  display: block;
  width: min(100%, 92px);
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 18px rgba(90, 167, 255, 0.07));
}
.result-visuals[data-count="1"] .result-visual-item { padding: 14px 12px; }
.result-visuals[data-count="1"] .result-visual-image { width: min(100%, 185px); max-height: 170px; }
.result-visual-caption {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
}

.company-result-visual {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 22px;
  background:
    radial-gradient(circle at 75% 15%, rgba(90, 167, 255, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(17, 27, 42, 0.9), rgba(8, 14, 23, 0.9));
}
.company-motif {
  position: absolute;
  inset: 18px 18px auto;
  height: 104px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  opacity: 0.78;
}
.company-motif span {
  flex: 1;
  min-width: 10px;
  border: 1px solid rgba(143, 200, 255, 0.4);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(143, 200, 255, 0.62), rgba(90, 167, 255, 0.1));
}
.motif-rail span { height: 48%; transform: skewX(-10deg); }
.motif-rail span:nth-child(2), .motif-rail span:nth-child(4) { height: 75%; }
.motif-rail span:nth-child(3) { height: 100%; }
.motif-line span { height: 58%; border-radius: 3px; }
.motif-line span:nth-child(odd) { height: 82%; }
.motif-terrain { align-items: center; transform: rotate(-5deg); }
.motif-terrain span { height: 46%; border-radius: 50%; }
.motif-terrain span:nth-child(2), .motif-terrain span:nth-child(4) { height: 72%; }
.motif-terrain span:nth-child(3) { height: 96%; }
.motif-tower { justify-content: center; align-items: flex-end; }
.motif-tower span { flex: 0 1 22px; height: 36%; }
.motif-tower span:nth-child(2), .motif-tower span:nth-child(4) { height: 62%; }
.motif-tower span:nth-child(3) { height: 100%; }
.motif-shift span { height: 50%; transform: rotate(11deg) translateY(-6px); }
.motif-shift span:nth-child(2) { height: 90%; transform: rotate(-8deg); }
.motif-shift span:nth-child(3) { height: 65%; transform: rotate(17deg) translateY(8px); }
.motif-shift span:nth-child(4) { height: 100%; transform: rotate(-13deg); }
.motif-shift span:nth-child(5) { height: 44%; transform: rotate(8deg) translateY(-10px); }
.company-visual-label { position: relative; display: grid; gap: 6px; }
.company-visual-label span {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.company-visual-label strong {
  max-width: 280px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
}
.company-style-chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.company-style-chips span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b8c5d2;
  font-size: 0.68rem;
}

.intersection-panel {
  margin-top: 70px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(215, 181, 109, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(215, 181, 109, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(19, 28, 42, 0.86), rgba(10, 16, 26, 0.9));
  box-shadow: var(--shadow);
}
.intersection-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.intersection-heading h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}
.intersection-statement {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.intersection-intro {
  max-width: 900px;
  margin: 25px 0 0;
  color: #c2ceda;
  font-size: 1.02rem;
  line-height: 1.72;
}
.intersection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.intersection-grid article {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 13, 22, 0.38);
}
.intersection-grid article > span {
  color: var(--blue-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.intersection-grid h3 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.intersection-grid p,
.intersection-actions-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.intersection-actions-copy {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  margin-top: 26px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.intersection-actions-copy strong { color: var(--gold-soft); }

.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.share-status { min-height: 20px; margin-top: 10px; }
.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 62px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.book-footer > div { display: grid; gap: 5px; }
.book-footer strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.book-footer > div > span:last-child { color: var(--muted); font-size: 0.86rem; }
.book-footer a { color: var(--blue-bright); text-decoration: none; font-weight: 700; }
.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #637487;
  font-size: 0.75rem;
}

@media (max-width: 980px) {
  .assessment-choice-grid { grid-template-columns: 1fr; }
  .assessment-choice { min-height: 0; }
  .assessment-choice h2 { margin-top: 22px; }
  .choice-meta { margin-bottom: 22px; }
  .quiz-layout { grid-template-columns: 1fr; gap: 34px; }
  .quiz-sidebar {
    min-height: 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    padding: 0 0 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .progress-block { margin: 0; padding: 0; }
  .style-key { display: none; }
  .question-title { min-height: 0; }
  .transition-guidance { grid-template-columns: 1fr; }
  .result-layout { grid-template-columns: 1fr; }
  .result-sidebar { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr); }
  .intersection-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header,
  .site-footer,
  .app-shell { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header { min-height: 72px; }
  .site-nav {
    gap: 14px;
    font-size: 0.74rem;
  }
  .app-shell { min-height: calc(100vh - 142px); padding: 38px 0 56px; }
  .intro-screen h1,
  .result-screen > .result-heading-row h1,
  .transition-card > h1 { font-size: clamp(2.7rem, 14vw, 4.7rem); }
  .assessment-choice-grid { margin-top: 34px; }
  .assessment-choice { padding: 22px; }
  .resume-panel,
  .resume-actions { align-items: stretch; flex-direction: column; }
  .resume-actions .button { width: 100%; }
  .intro-note { grid-template-columns: 40px 1fr; }
  .quiz-sidebar { grid-template-columns: 1fr; gap: 20px; }
  .question-topline { margin-bottom: 20px; }
  .question-title { margin-bottom: 22px; font-size: 2rem; }
  .answer-option { grid-template-columns: 40px 1fr; min-height: 62px; padding-right: 14px; }
  .answer-letter { width: 38px; height: 38px; }
  .quiz-controls { flex-direction: column-reverse; }
  .quiz-controls .button,
  .transition-actions .button,
  .result-actions .button { width: 100%; }
  .keyboard-hint { display: none; }
  .transition-card { padding: 26px 20px; border-radius: 18px; }
  .transition-actions { flex-direction: column-reverse; }
  .result-heading-row,
  .assessment-result-heading,
  .intersection-heading { align-items: flex-start; }
  .result-badge { width: 72px; height: 72px; font-size: 1.35rem; }
  .section-result-badge { width: 60px; height: 60px; font-size: 1.45rem; }
  .assessment-result-heading h2 { font-size: 2.6rem; }
  .result-sidebar { grid-template-columns: 1fr; }
  .result-main-card,
  .score-card,
  .result-visuals,
  .company-result-visual { border-radius: 14px; }
  .intersection-heading { flex-direction: column; }
  .intersection-actions-copy { grid-template-columns: 1fr; gap: 8px; }
  .result-actions { flex-direction: column; }
  .book-footer,
  .site-footer { align-items: flex-start; flex-direction: column; }
  .book-footer { gap: 22px; }
  .site-footer { justify-content: center; gap: 6px; padding: 20px 0; }
}

@media (max-width: 430px) {
  .site-header { gap: 12px; }
  .site-nav { gap: 10px; font-size: 0.69rem; }
  .result-heading-row { flex-direction: column; }
  .result-badge { align-self: flex-end; margin-top: -58px; }
  .assessment-result-heading { flex-direction: column; }
  .section-result-badge { align-self: flex-end; margin-top: -58px; }
  .result-visuals[data-count="3"],
  .result-visuals[data-count="4"],
  .result-visuals[data-count="5"],
  .result-visuals[data-count="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; }
  .ambient, .grid-overlay, .site-header, .site-footer, .result-actions, .share-status, .book-footer { display: none !important; }
  .app-shell { width: 100%; padding: 0; }
  .screen { display: none !important; }
  #result-screen { display: block !important; }
  .result-heading-row { margin-bottom: 28px; }
  .result-heading-row h1, .assessment-result-heading h2, .intersection-heading h2 { color: #111; }
  .result-page-intro, .result-description, .result-section p, .secondary-result p, .intersection-intro, .intersection-grid p, .intersection-actions-copy p { color: #333; }
  .result-main-card, .score-card, .result-visuals, .company-result-visual, .intersection-panel, .intersection-grid article {
    break-inside: avoid;
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
  }
  .assessment-result + .assessment-result { break-before: page; border-top: 0; }
  .result-layout { grid-template-columns: 1.35fr 0.65fr; }
  .score-row-top span:first-child, .answer-text { color: #222; }
  .score-track { background: #ddd; }
  .score-fill, .score-row.is-top .score-fill { background: #4b78a8; }
  .result-main-card blockquote { color: #444; }
  .company-motif { opacity: 0.45; }
  .result-visual-image { filter: none; }
}
