/* ==========================================================================
   layout-v3.css - Layout primitives (Home + The House only)
   References: sigmachi.org, kappasigma.org, Oralic Webflow, Verden corporate
   Linked AFTER pages/home.css and pages/the-house.css. Pure additions.
   No token changes. Namespace: sx-
   ========================================================================== */

/* ---------- 1. Section eyebrow with index number ---------- */
.sx-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-500);
  margin-bottom: var(--space-5);
}

.sx-eyebrow__index {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-base);
  letter-spacing: 0;
  color: var(--color-gold-text);
}

.sx-eyebrow__rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--color-gold-500);
  margin-right: var(--space-2);
  vertical-align: middle;
}

.sx-eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.75);
}

.sx-eyebrow--on-dark .sx-eyebrow__index {
  color: var(--color-gold-300);
}

/* ---------- 2. Editorial headline scale ---------- */
.sx-display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-navy-900);
  margin: 0 0 var(--space-6);
  max-width: 22ch;
}

.sx-display--lg {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.sx-display--xl {
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.sx-display--on-dark {
  color: #fff;
}

.sx-lede {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--color-ink-500);
  max-width: 60ch;
  margin: 0 0 var(--space-8);
}

.sx-lede--on-dark {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- 3. Asymmetric 5/7 split ---------- */
.sx-split {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .sx-split { gap: clamp(var(--space-12), 6vw, var(--space-20)); }
  .sx-split--narrow-left { grid-template-columns: 5fr 7fr; }
  .sx-split--narrow-right { grid-template-columns: 7fr 5fr; }
  .sx-split--equal { grid-template-columns: 1fr 1fr; }
  .sx-split--center { align-items: center; }
}

/* ---------- 4. Oversized feature numeral ---------- */
.sx-feature-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--color-navy-900);
  font-variant-numeric: tabular-nums;
  display: block;
}

.sx-feature-num--gold {
  color: var(--color-gold-500);
}

.sx-feature-num--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-navy-900);
}

.sx-feature-num__suffix {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: 0.35em;
  margin-left: 0.05em;
  color: var(--color-gold-text);
}

.sx-feature-num__caption {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-500);
  margin-top: var(--space-3);
  max-width: 28ch;
}

/* ---------- 5. Vertical sidebar label ---------- */
.sx-vlabel {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: left top;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-ink-300);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  pointer-events: none;
}

.sx-vlabel::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.sx-vlabel--on-dark {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1023px) {
  .sx-vlabel { display: none; }
}

/* ---------- 6. Marquee values band ---------- */
.sx-marquee {
  background: var(--color-navy-900);
  color: var(--color-gold-300);
  padding-block: var(--space-6);
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(249, 189, 61, 0.25);
}

.sx-marquee__track {
  display: flex;
  gap: var(--space-12);
  white-space: nowrap;
  animation: sx-marquee 45s linear infinite;
  will-change: transform;
}

.sx-marquee__item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
}

.sx-marquee__item::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-gold-500);
  border-radius: 999px;
  flex-shrink: 0;
}

@keyframes sx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .sx-marquee__track { animation: none; transform: translateX(0); }
}

/* ---------- 7. Stairstep tier layout ---------- */
.sx-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (min-width: 768px) {
  .sx-tiers {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
  }
  .sx-tier--top    { grid-column: 1 / -1; }
  .sx-tier--mid-a  { grid-column: span 3; }
  .sx-tier--mid-b  { grid-column: span 3; }
  .sx-tier--low-a  { grid-column: span 2; }
  .sx-tier--low-b  { grid-column: span 2; }
  .sx-tier--low-c  { grid-column: span 2; }
}

.sx-tier {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-10) var(--space-9) var(--space-11);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-top-color var(--transition-base);
}

.sx-tiers {
  align-items: stretch;
}

.sx-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-top-color: var(--color-gold-500);
}

.sx-tier--top {
  background: linear-gradient(120deg, var(--color-navy-900) 0%, var(--color-navy-700) 100%);
  color: #fff;
  border-top-color: var(--color-gold-500);
  padding: var(--space-12);
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 768px) {
  .sx-tier--top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.sx-tier__rank {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-text);
  margin: 0 0 var(--space-2);
}

.sx-tier--top .sx-tier__rank { color: var(--color-gold-300); }

.sx-tier__amount {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--color-navy-900);
  margin: 0;
}

.sx-tier--top .sx-tier__amount {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: #fff;
}

.sx-tier__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-ink-500);
  margin: var(--space-7) 0 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gold-500);
}

.sx-tier--top .sx-tier__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
}

.sx-tier--top .sx-tier__perks {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-3);
}

.sx-tier--top .sx-tier__perks li {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  padding-left: var(--space-5);
  position: relative;
}

.sx-tier--top .sx-tier__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 1px;
  background: var(--color-gold-300);
}

/* ---------- 8. Dark commit band ---------- */
.sx-commit-band {
  background: var(--color-navy-900);
  color: #fff;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  position: relative;
  overflow: hidden;
}

.sx-commit-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(249, 189, 61, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(56, 106, 142, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.sx-commit-band__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-inline: var(--container-pad);
  text-align: center;
}

.sx-commit-band__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: #fff;
  margin: var(--space-5) 0 var(--space-6);
  max-width: 18ch;
  margin-inline: auto;
}

.sx-commit-band__lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto var(--space-10);
}

.sx-commit-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.sx-commit-band__meta {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  text-align: left;
}

@media (min-width: 768px) {
  .sx-commit-band__meta {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}

.sx-commit-band__meta-item {
  display: grid;
  gap: var(--space-1);
}

.sx-commit-band__meta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-300);
}

.sx-commit-band__meta-value {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: #fff;
}

/* ---------- 9. Hero rebuild (Home + The House share this skeleton) ---------- */
.sx-hero {
  position: relative;
  min-height: 100svh;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-navy-900);
  color: #fff;
}

.sx-hero--compact {
  min-height: 110svh;
  background: linear-gradient(180deg, #1A4A6E 0%, #001629 100%);
}

/* Compact hero uses an alpha-channel cross video sized smaller and positioned
   right-center on top of the CSS gradient bg. Westcott poster image hidden. */
.sx-hero--compact .sx-hero__poster {
  display: none;
}

.sx-hero--compact .sx-hero__media video.sx-hero__video {
  position: absolute;
  inset: auto;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  height: 65vh;
  width: auto;
  aspect-ratio: 1928 / 1076;
  object-fit: contain;
  object-position: right center;
  z-index: 1;
}

@media (max-width: 768px) {
  .sx-hero--compact .sx-hero__media video.sx-hero__video {
    height: 40vh;
    right: 50%;
    transform: translate(50%, -50%);
  }
}

.sx-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.sx-hero__media img,
.sx-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

/* Video layered on top of poster picture; reveals poster if video can't play */
.sx-hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sx-hero__poster {
  position: absolute;
  inset: 0;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .sx-hero__video { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .sx-hero__img--kenburns {
    animation: sx-kenburns 32s ease-in-out infinite alternate;
    transform-origin: 50% 45%;
  }
}

@keyframes sx-kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.14) translate(-1.5%, -1%); }
}

.sx-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 22, 41, 0.30) 0%, rgba(0, 22, 41, 0.10) 30%, rgba(0, 22, 41, 0.85) 100%),
    linear-gradient(90deg, rgba(0, 22, 41, 0.55) 0%, rgba(0, 22, 41, 0.10) 60%);
}

/* Compact (cross-video) hero: pure video, no dark overlay */
.sx-hero--compact .sx-hero__overlay {
  display: none;
}

.sx-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-10) var(--container-pad) var(--space-16);
  display: grid;
  grid-template-rows: 1fr auto;
  flex: 1;
}

.sx-hero__lockup {
  align-self: end;
  max-width: 56rem;
  margin-bottom: var(--space-10);
}

/* Compact hero modifier - smaller text, tighter bottom-left lockup */
.sx-hero--compact .sx-hero__inner {
  padding: var(--space-8) var(--container-pad) var(--space-10);
  max-width: none;
}

.sx-hero--compact .sx-hero__lockup {
  max-width: 52rem;
  margin-left: clamp(var(--space-4), 10vw, 9rem);
  margin-bottom: clamp(3.5rem, 14vh, 6.875rem);
}

@media (max-width: 720px) {
  .sx-hero--compact .sx-hero__lockup {
    margin-left: 0;
  }
}

.sx-hero--compact .sx-hero__overline {
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  margin-bottom: var(--space-3);
}

.sx-hero--compact .sx-hero__overline::before {
  width: 24px;
}

.sx-hero--compact .sx-hero__title {
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin-bottom: var(--space-4);
}

.sx-hero--compact .sx-hero__subtitle {
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  line-height: 1.5;
  max-width: 38ch;
  margin-bottom: var(--space-6);
}

.sx-hero--compact .btn--lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

.sx-hero__overline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-300);
  margin: 0 0 var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.sx-hero__overline::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--color-gold-500);
}

.sx-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 7rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 var(--space-6);
  max-width: 16ch;
}

.sx-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin: 0 0 var(--space-8);
}

.sx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.sx-hero__progress-band {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-6) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 768px) {
  .sx-hero__progress-band {
    grid-template-columns: 1.4fr 2fr 1fr;
    align-items: center;
    gap: var(--space-10);
  }
}

.sx-hero__progress-amount {
  display: grid;
  gap: var(--space-1);
}

.sx-hero__progress-raised {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-gold-300);
  font-variant-numeric: tabular-nums;
}

.sx-hero__progress-of {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.sx-hero__progress-bar {
  display: grid;
  gap: var(--space-2);
}

.sx-hero__progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.sx-hero__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-gold-300));
  border-radius: 999px;
  width: 0;
  transition: width var(--dur-counter, 1800ms) var(--ease-cinematic, ease-out);
}

.sx-hero__progress-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.sx-hero__progress-pct {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Hero stats strip — folds the standalone stats row into the hero. */
.sx-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

@media (min-width: 768px) {
  .sx-hero__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.sx-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

@media (min-width: 768px) {
  .sx-hero__stat + .sx-hero__stat::before {
    content: "";
    position: absolute;
    left: calc(var(--space-6) * -0.5);
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(212, 175, 55, 0.25);
  }
}

.sx-hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}

.sx-hero__stat-num small {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--color-gold, #C5A572);
}

.sx-hero__stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.sx-hero__progress-pct-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
  display: block;
  margin-top: var(--space-1);
}

.sx-hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-4);
  right: var(--container-pad);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.sx-hero__scroll-indicator::after {
  content: '';
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  animation: sx-scroll-line 2.4s ease-in-out infinite;
  transform-origin: top;
}

@keyframes sx-scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%      { transform: scaleY(0.4); opacity: 1; }
}

@media (max-width: 767px) {
  .sx-hero__scroll-indicator { display: none; }
}

/* ---------- 10. Image-overlap split (image breaks the column) ---------- */
.sx-overlap {
  position: relative;
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .sx-overlap {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: var(--space-16);
  }
  .sx-overlap--reverse { grid-template-columns: 7fr 5fr; }
  .sx-overlap--reverse .sx-overlap__media { order: 1; }
  .sx-overlap--reverse .sx-overlap__copy { order: 2; }
}

.sx-overlap__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-navy-900);
}

.sx-overlap__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 800ms var(--ease-cinematic, ease-out);
}

.sx-overlap__media:hover img {
  transform: scale(1.03);
}

.sx-overlap__caption {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 22, 41, 0.7);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

/* ---------- 11. Bullet rule list (gold-rule prefixed bullets) ---------- */
.sx-bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  gap: var(--space-4);
}

.sx-bullets li {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink-900);
}

.sx-bullets strong {
  font-weight: 600;
  color: var(--color-navy-900);
}

/* ---------- 12. Editorial pull-quote (large, italic, no border) ---------- */
.sx-pull {
  margin: var(--space-12) auto;
  max-width: 64ch;
  padding-left: var(--space-6);
}

.sx-pull--narrow {
  max-width: 38ch;
}

.sx-pull--center {
  text-align: center;
  padding-left: 0;
}

.sx-pull blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-navy-900);
  margin: 0 0 var(--space-5);
  position: relative;
}

.sx-pull blockquote::before,
.sx-pull blockquote::after {
  position: absolute;
  font-size: 2em;
  color: var(--color-gold-500);
  line-height: 1;
  font-style: normal;
  font-weight: 800;
}

.sx-pull blockquote::before {
  content: '\201C';
  left: -0.5em;
  top: -0.2em;
}

.sx-pull blockquote::after {
  content: '\201D';
  right: -0.4em;
  bottom: -0.2em;
}

.sx-pull--center blockquote::before {
  position: static;
  display: block;
  margin: 0 auto var(--space-2);
}

.sx-pull--center blockquote::after {
  position: static;
  display: block;
  margin: var(--space-2) auto 0;
}

.sx-pull figcaption {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-ink-500);
}

.sx-pull figcaption strong {
  color: var(--color-navy-900);
}

/* ---------- 13. Stats row (horizontal) ---------- */
.sx-stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-block: var(--space-8);
  border-block: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .sx-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    padding-block: var(--space-10);
  }
}

.sx-stat {
  display: grid;
  gap: var(--space-1);
}

.sx-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-navy-900);
  font-variant-numeric: tabular-nums;
}

.sx-stat__num small {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--color-gold-text);
  letter-spacing: 0;
  margin-left: 0.1em;
}

.sx-stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-500);
  margin-top: var(--space-2);
}

/* ---------- 14. Section wrapper (consistent rhythm) ---------- */
.sx-section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  position: relative;
}

.sx-section--cream { background: var(--color-cream-50); }
.sx-section--paper { background: var(--color-paper); }
.sx-section--dark  { background: var(--color-navy-900); color: #fff; }

.sx-section--dark .sx-eyebrow { color: rgba(255, 255, 255, 0.7); }
.sx-section--dark .sx-eyebrow__index { color: var(--color-gold-300); }
.sx-section--dark .sx-display { color: #fff; }
.sx-section--dark .sx-lede { color: rgba(255, 255, 255, 0.78); }

/* ---------- 15. Founders preview strip (donor names) ---------- */
.sx-founders-strip {
  background: var(--color-cream-50);
  padding-block: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.sx-founders-strip__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .sx-founders-strip__inner {
    grid-template-columns: 1fr 2fr auto;
    gap: var(--space-12);
  }
}

.sx-founders-strip__label {
  display: grid;
  gap: var(--space-2);
}

.sx-founders-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: baseline;
}

.sx-founders-strip__list li {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy-900);
  letter-spacing: -0.005em;
}

.sx-founders-strip__list li::after {
  content: '\00B7';
  margin-left: var(--space-6);
  color: var(--color-gold-500);
}

.sx-founders-strip__list li:last-child::after {
  display: none;
}

/* ---------- 16. The "year stamp" - large serif year, formal ---------- */
.sx-year-stamp {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(7rem, 16vw, 14rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--color-navy-900);
  display: block;
  margin-bottom: var(--space-4);
}

.sx-year-stamp + .sx-year-rule,
.sx-year-rule {
  display: block;
  width: 96px;
  height: 3px;
  background: var(--color-gold, #C5A572);
  margin: var(--space-3) 0 var(--space-6);
  border: none;
}

/* ---------- Reveal compatibility (additive only) ---------- */
.sx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal, 700ms) var(--ease-cinematic, ease-out),
              transform var(--dur-reveal, 700ms) var(--ease-cinematic, ease-out);
}

.sx-reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sx-reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   Site-wide section background unification
   -------------------------------------------------------------
   Every content section on every page renders against one warm
   cream surface (--color-cream-50). Heroes keep their own photo
   backgrounds. Footer keeps navy. CTA bands keep their own
   styling. This kills the alternating-color "hard cut" effect
   that was making the site feel like stacked blocks rather than
   one continuous editorial surface.

   Loaded last so it overrides earlier page CSS without needing
   to chase down every individual selector in every page file.
   ============================================================= */
body {
  background: var(--color-cream-50);
  background-image: none;
}

main,
.sx-section,
.sx-section--cream,
.sx-section--paper,
.sx-rick-expand,
.sx-section-break,
.sx-upcoming,
.th-section,
.th-section--alt,
.cm-section,
.cm-section--alt,
.cm-status,
.cm-givebutter-embed,
.cm-rick,
.cm-faq,
.section,
.section--alt,
.section--sm,
.section--lg,
.section--xl,
.alt-row,
.alt-row--paper,
.alt-row--cream,
.alt-row--blue-pale,
.hh-founding,
.hh-houses,
.hh-tl,
.hh-recharter,
.hh-cta,
.consul-letter,
.officers-section,
.alumni-form-section,
.newsletter-archive,
.events-section,
.dn-disclaimer,
.dn-featured,
.dn-naming,
.dn-section,
.dd-about,
.dd-involve,
.dd-impact-strip,
.dd-archive,
.dd-contact,
.rush-stats,
.sx-commit-band,
.th-commit-band {
  background: var(--color-cream-50);
}

/* Commit band was originally a navy CTA — text colors need to flip
   back to ink/navy when the band is on a cream background. */
.sx-commit-band,
.th-commit-band {
  color: var(--color-ink-900, var(--color-navy-900));
}
.sx-commit-band .sx-commit-band__title,
.sx-commit-band .sx-commit-band__lede,
.sx-commit-band .sx-commit-band__meta-value,
.sx-commit-band .sx-eyebrow--on-dark {
  color: var(--color-ink-900, var(--color-navy-900));
}
.sx-commit-band .sx-commit-band__meta-label {
  color: var(--color-ink-500, var(--color-navy-700));
}
.sx-commit-band .sx-commit-band__meta {
  border-top-color: rgba(0, 22, 41, 0.12);
}
.sx-commit-band::before {
  display: none;
}

/* Ghost button is white-on-transparent by default (built for dark CTAs).
   On the cream commit band it disappears — flip to navy text + navy border. */
.sx-commit-band .btn--ghost {
  color: var(--color-navy-900);
  border-color: var(--color-navy-900);
}
.sx-commit-band .btn--ghost:hover {
  background-color: var(--color-navy-900);
  color: #fff;
  border-color: var(--color-navy-900);
}

/* History page rechartering band was originally dark with white text.
   With the unified cream surface its text needs to flip to ink. */
.hh-recharter,
.hh-recharter h2,
.hh-recharter__lede,
.hh-recharter__stat-label {
  color: var(--color-ink-900, var(--color-navy-900));
}
.hh-recharter__lede {
  color: var(--color-ink-500);
}
.hh-recharter__stat-label {
  color: var(--color-ink-500);
}
.hh-recharter__stats {
  background: rgba(0, 22, 41, 0.04);
  border-color: rgba(0, 22, 41, 0.12);
}
.hh-recharter__stat-num {
  color: var(--color-navy-900);
}

/* Hero classes are NOT in the unification list — they keep
   whatever photo/navy background their page CSS gives them. */


