/* ============================================================
   SAGE COMPASS — page-scoped CSS (v1.7.8)
   Template: page-sage-compass.php
   Tokens and shared components come from stratants.css and narrative.css.
   ============================================================ */

.sage-compass-page .sc-hero-figure { display: flex; align-items: center; justify-content: center; padding: 6rem 0 3rem; }
.sage-compass-page .sc-hero-figure svg { width: 100%; max-width: 560px; height: auto; display: block; }
.sage-compass-page .sc-fig-lines .ring   { fill: none; stroke: var(--s-teal); stroke-opacity: .3;  stroke-width: 1; }
.sage-compass-page .sc-fig-lines .poly   { fill: none; stroke: var(--s-teal); stroke-opacity: .65; stroke-width: 1; }
.sage-compass-page .sc-fig-lines .chords { fill: none; stroke: var(--s-teal); stroke-opacity: .25; stroke-width: 1; }
.sage-compass-page .sc-fig-node circle   { fill: var(--s-navy); stroke: var(--s-orange-lt); stroke-width: 2; }
.sage-compass-page .sc-fig-node .num     { fill: var(--s-orange-lt); font-family: var(--font-sans); font-size: 15px; font-weight: 500; }
.sage-compass-page .sc-fig-dot           { fill: var(--s-orange-lt); }
.sage-compass-page .sc-fig-labels text   { fill: rgba(251,248,243,0.72); font-family: var(--font-sans); font-size: 21px; font-weight: 300; }

.sage-compass-page .sc-rule-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.sage-compass-page .sc-rule-list li { position: relative; padding: 1rem 0 1rem 1.8rem; border-top: 1px solid rgba(10,90,120,0.14); font-size: 1.02rem; line-height: 1.7; color: var(--s-navy-deep); }
.sage-compass-page .sc-rule-list li:last-child { border-bottom: 1px solid rgba(10,90,120,0.14); }
.sage-compass-page .sc-rule-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--s-orange); }
.sage-compass-page .sc-two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.sage-compass-page .sc-two-col li:nth-last-child(2) { border-bottom: 1px solid rgba(10,90,120,0.14); }

.sage-compass-page .sc-inline-link { color: var(--s-blue); text-decoration: underline; text-underline-offset: 3px; }
.sage-compass-page .sc-inline-link:hover { color: var(--s-orange); }

.sage-compass-page .sc-relation { background: #fff; border-left: 3px solid var(--s-blue); border-radius: 2px; padding: 1.8rem 2rem; max-width: 820px; box-shadow: 0 4px 24px rgba(6,42,56,0.06); }
.sage-compass-page .sc-relation h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.28rem; color: var(--s-navy-deep); margin-bottom: 0.7rem; }
.sage-compass-page .sc-relation p { font-size: 0.98rem; color: var(--s-muted); line-height: 1.8; margin: 0 0 0.6rem; }
.sage-compass-page .sc-relation p:last-child { margin-bottom: 0; }

.sage-compass-page .sc-dim { display: flex; flex-direction: column; }
.sage-compass-page .sc-dim-num { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.22em; color: var(--s-orange-lt); margin-bottom: 0.7rem; display: block; }
.sage-compass-page .sc-dim h3 { font-style: normal; margin-bottom: 0.7rem; }
.sage-compass-page .sc-dim p { margin-bottom: 1rem; }
.sage-compass-page .sc-dim .sc-dim-q { margin: auto 0 0; padding-top: 0.9rem; border-top: 1px solid rgba(157,184,198,0.18); font-size: 0.9rem; color: rgba(251,248,243,0.7); font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; }
.sage-compass-page .sc-dim .sc-dim-q span { display: block; font-family: var(--font-mono); font-style: normal; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--s-teal); margin-bottom: 0.35rem; }
.sage-compass-page .sc-dim-note { height: 100%; display: flex; align-items: center; border: 1px dashed rgba(157,184,198,0.3); border-radius: 2px; padding: 2rem; }
.sage-compass-page .sc-dim-note p { margin: 0; font-size: 0.92rem; line-height: 1.75; color: rgba(251,248,243,0.5); }

.sage-compass-page .sc-link-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.6rem; }
.sage-compass-page .sc-link-row a { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s-blue); border-bottom: 1px solid rgba(10,90,120,0.3); padding-bottom: 2px; }
.sage-compass-page .sc-link-row a:hover { color: var(--s-orange); border-bottom-color: var(--s-orange); }

.sage-compass-page .sc-form-row { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
.sage-compass-page .sc-form-intro { position: sticky; top: 6rem; }
.sage-compass-page select.form-control-s { appearance: auto; }

/* Consent row: the Privacy Policy link sits outside the label so a click on it always follows the link. */
.sage-compass-page .sc-consent { display: flex; align-items: flex-start; gap: 0.75rem; }
.sage-compass-page .sc-consent input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--s-navy); flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.sage-compass-page .sc-consent label { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 300; color: var(--s-muted); line-height: 1.6; cursor: pointer; display: inline; }
.sage-compass-page .sc-privacy-link { position: relative; z-index: 2; display: inline-block; margin-top: 0.35rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s-orange); border-bottom: 1px solid rgba(200,90,10,0.4); padding-bottom: 1px; pointer-events: auto; cursor: pointer; }
.sage-compass-page .sc-privacy-link:hover { color: var(--s-blue); border-bottom-color: var(--s-blue); }

@media (max-width: 991px) {
  .page-hero-split .hero-split { grid-template-columns: 1fr; padding: 0 1.25rem; gap: 0; }
  .sage-compass-page .sc-hero-figure { padding: 0 0 3rem; }
  .sage-compass-page .sc-form-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .sage-compass-page .sc-form-intro { position: static; }
}
@media (max-width: 600px) {
  .sage-compass-page .sc-two-col { grid-template-columns: 1fr; }
  .sage-compass-page .sc-two-col li:nth-last-child(2) { border-bottom: 0; }
  .sage-compass-page .sc-fig-labels text { font-size: 28px; }
}
