:root {
  --bg: #0C0F16;
  --surface: #151A24;
  --surface-raised: #1C2332;
  --text: #F1ECE1;
  --muted: #9CA3B5;
  --primary: #D4A34A;
  --primary-soft: rgb(212 163 74 / 0.14);
  --accent: #C9404F;
  --accent-soft: rgb(201 64 79 / 0.16);
  --line: rgb(241 236 225 / 0.12);
  --line-strong: rgb(212 163 74 / 0.34);
  --shadow-sm: 0 2px 10px rgb(0 0 0 / 0.28);
  --shadow-md: 0 14px 36px rgb(0 0 0 / 0.42);
  --radius: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 56px;
  --space-8: 80px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.02rem;
  --fs-lg: 1.2rem;
  --fs-h3: 1.45rem;
  --fs-h2: clamp(1.85rem, 3vw, 2.45rem);
  --fs-h1: clamp(2.35rem, 4.4vw, 3.45rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.body-embed {
  background: var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

::selection {
  background: var(--primary-soft);
  color: var(--text);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
  color: var(--text);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
  max-width: 68ch;
  color: var(--text);
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 var(--space-2);
}

/* Header */
.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 66px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wordmark-sigil {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--primary);
  transform: rotate(45deg);
  position: relative;
  flex-shrink: 0;
}

.wordmark-sigil::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: var(--fs-sm);
}

.primary-nav a {
  color: var(--muted);
  font-weight: 500;
}

.primary-nav a:hover {
  color: var(--text);
}

/* Breadcrumb */
.crumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumb-trail a {
  color: var(--muted);
}

.crumb-trail a:hover {
  color: var(--primary);
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-1px);
}

/* Hero & Interactive Stage (Layout A) */
.hero-stage {
  padding: var(--space-6) 0 var(--space-7);
  border-bottom: 1px solid var(--line);
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.hero-headline p.hero-sub {
  color: var(--muted);
  margin: var(--space-3) 0 0;
  font-size: var(--fs-base);
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.hero-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-gold,
.dot-crimson {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.dot-gold { background: var(--primary); }
.dot-crimson { background: var(--accent); }

.compare-banner {
  margin-bottom: var(--space-4);
  padding: 12px 16px;
  background: var(--primary-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  color: var(--text);
}

.stage-plinth {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stage-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 620px;
  background: var(--bg);
}

.stage-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 3;
}

.stage-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  cursor: pointer;
  z-index: 2;
}

.stage-frame[data-gf-state="loading"] .stage-cover,
.stage-frame[data-gf-state="playing"] .stage-cover {
  display: none !important;
}

.stage-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.stage-cover-scrim {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-5) var(--space-6);
  background: rgb(12 15 22 / 0.84);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  max-width: 520px;
  margin: 0 16px;
  box-shadow: var(--shadow-md);
}

.stage-cover-scrim p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: var(--space-2) auto var(--space-4);
}

.stage-cover-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

/* Custom Astrolabe Loader */
.stage-loader {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: var(--bg);
  z-index: 4;
}

.stage-frame[data-gf-state="loading"] .stage-loader {
  display: flex;
}

.stage-frame[data-gf-state="playing"] .stage-loader {
  display: none !important;
}

.astrolabe-loader {
  width: 68px;
  height: 68px;
  position: relative;
}

.astrolabe-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  border-top-color: var(--primary);
  animation: orbit-cw 1.4s linear infinite;
}

.astrolabe-ring-inner {
  inset: 12px;
  border-top-color: transparent;
  border-bottom-color: var(--accent);
  animation: orbit-ccw 1.1s linear infinite;
}

.stage-loader-label {
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 0.06em;
}

@keyframes orbit-cw {
  to { transform: rotate(360deg); }
}

@keyframes orbit-ccw {
  to { transform: rotate(-360deg); }
}

/* Action Bar below stage */
.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: 14px 20px;
  background: var(--surface-raised);
  border-top: 1px solid var(--line);
}

.toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.tool-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tool-btn[aria-pressed="true"],
.tool-btn[data-gf-liked] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.tool-count {
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.share-feedback {
  font-size: var(--fs-xs);
  color: var(--primary);
  min-height: 1em;
}

/* Related Assessment Cross-Link Strip */
.related-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.related-card:hover {
  border-color: var(--primary);
  background: var(--surface-raised);
  color: var(--text);
  transform: translateY(-1px);
}

.related-kicker {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
}

.related-card strong {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.related-card p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* Editorial Sections */
.band {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--line);
}

.band-tinted {
  background: var(--surface);
}

.band-header {
  margin-bottom: var(--space-6);
}

.band-header p {
  color: var(--muted);
  margin-top: var(--space-3);
}

/* Layout F: Sticky Asymmetric Two-Column */
.split-sticky {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.45fr);
  gap: var(--space-7);
  align-items: start;
}

.sticky-col {
  position: sticky;
  top: 28px;
}

.sticky-col p {
  color: var(--muted);
  margin-top: var(--space-3);
}

.specimen-figure {
  margin: var(--space-6) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.specimen-figure img {
  width: 100%;
  height: auto;
}

.specimen-figure figcaption {
  padding: 12px 16px;
  font-size: var(--fs-xs);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Layout H: Horizontal 3-Step Strip */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-cell {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--line);
}

.step-cell:first-child {
  padding-left: 0;
}

.step-cell:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.step-cell h3 {
  margin-bottom: var(--space-2);
}

.step-cell p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* Numbered 01-07 Trait List (Inner Assessment Pages) */
.numbered-traits {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.numbered-trait-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.trait-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.trait-head-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: var(--space-2);
}

.trait-counter {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.trait-main p {
  margin: 0 0 var(--space-2);
  max-width: 72ch;
}

.trait-cue {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.trait-cue strong {
  color: var(--text);
  font-weight: 600;
}

/* Matrix Table: 7 Opposing Pairs */
.matrix-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.pairs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}

.pairs-table th {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.pairs-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text);
}

.pairs-table tr:last-child td {
  border-bottom: 0;
}

.tag-sin {
  color: var(--accent);
  font-weight: 700;
}

.tag-virtue {
  color: var(--primary);
  font-weight: 700;
}

/* Layout G: 2x2 Typographic Grid (No Icons) */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.tier-box {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tier-range {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2);
}

.tier-box h3 {
  margin-bottom: var(--space-2);
}

.tier-box p {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* FAQ Accordion (Hairline Details, Not Cards) */
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-body {
  padding: 0 0 22px;
}

.faq-body p {
  color: var(--muted);
  margin: 0;
}

/* Comments Section */
.comments-wrap {
  max-width: 820px;
}

.comment-form {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: var(--space-6);
}

.comment-form[data-gf-replying] {
  border-color: var(--line-strong);
  margin-top: var(--space-3);
}

.reply-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--primary);
}

.comment-form[data-gf-replying] .reply-bar {
  display: flex;
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
}

.field-textarea {
  min-height: 92px;
  resize: vertical;
}

.comment-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.comment-msg {
  font-size: var(--fs-xs);
  color: var(--primary);
}

.comment-list {
  display: grid;
  gap: var(--space-4);
}

.comment-list[data-gf-empty]::before {
  content: "No results shared yet. Complete the test above and post your strongest trait percentage.";
  display: block;
  padding: var(--space-5);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: var(--fs-sm);
}

.comment-list[data-gf-off]::before {
  content: "Comments are currently closed on this page.";
  display: block;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.comment-entry {
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comment-entry[data-gf-owner] {
  border-color: var(--line-strong);
}

.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-2);
  font-size: var(--fs-xs);
}

.comment-author {
  font-weight: 700;
  color: var(--text);
}

.owner-badge {
  display: none;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--primary-soft);
  border: 1px solid var(--line-strong);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comment-entry[data-gf-owner] .owner-badge {
  display: inline-block;
}

.comment-time {
  color: var(--muted);
}

.comment-text {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-sm);
  white-space: pre-wrap;
}

.reply-trigger,
.reply-cancel {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
}

.comment-replies {
  margin-top: var(--space-3);
  padding-left: var(--space-4);
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: var(--space-3);
}

.reply-entry {
  padding: var(--space-3) var(--space-4);
  background: var(--surface-raised);
  border-radius: var(--radius);
}

.reply-to-tag {
  color: var(--primary);
  font-weight: 600;
}

/* Doc / Legal / 404 */
.doc-shell,
.notfound-shell {
  padding: var(--space-7) 0 var(--space-8);
}

.doc-head {
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.doc-lead {
  color: var(--muted);
  margin-top: var(--space-3);
  font-size: var(--fs-lg);
}

.doc-prose h2 {
  margin: var(--space-6) 0 var(--space-3);
}

.doc-prose h3 {
  margin: var(--space-5) 0 var(--space-2);
}

.doc-prose ul,
.doc-prose ol {
  margin: 0 0 var(--space-4);
  padding-left: 22px;
  max-width: 68ch;
}

.doc-prose li {
  margin-bottom: var(--space-2);
}

.doc-back {
  margin-top: var(--space-7);
}

/* Footer */
.colophon {
  padding: var(--space-7) 0 var(--space-6);
  background: var(--bg);
}

.colophon-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.colophon-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.colophon-about p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.colophon-note {
  font-size: var(--fs-xs);
}

.colophon-heading {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.colophon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-sm);
}

.colophon-list a {
  color: var(--muted);
}

.colophon-list a:hover {
  color: var(--text);
}

.colophon-bar {
  padding-top: var(--space-5);
}

.colophon-bar p {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .split-sticky {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .sticky-col {
    position: static;
  }
  .steps-strip {
    grid-template-columns: 1fr;
  }
  .step-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: var(--space-5) 0;
  }
  .step-cell:last-child {
    border-bottom: 0;
  }
  .tiers-grid {
    grid-template-columns: 1fr;
  }
  .colophon-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 700px) {
  .related-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .masthead-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
  }
  .primary-nav {
    gap: 14px;
  }
  .stage-frame {
    aspect-ratio: auto;
    min-height: 660px;
  }
  .stage-toolbar {
    padding: 12px 14px;
  }
  .numbered-trait-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: var(--space-3);
  }
  .trait-num {
    font-size: 1.7rem;
  }
  .band {
    padding: var(--space-7) 0;
  }
}

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