/*
 * ═══════════════════════════════════════════════════════════════
 * SAINT CLAIR ASIA — LOCAL STYLESHEET
 * ═══════════════════════════════════════════════════════════════
 *
 * Version:   1.0
 * Date:      20 February 2026
 * Author:    Diane — Creative Director, Saint Clair Pte. Ltd.
 *
 * Purpose:   Site-specific styles for saintclair.asia homepage.
 *            Everything here is unique to the scroll-scrubbed
 *            homepage and does NOT belong in the shared web layer.
 *
 * Foundation: assetsc/css/saint-clair-web.css (Layer 2c)
 *             └─ saint-clair-base.css (Layer 1)
 *                └─ saint-clair-tokens.css (Layer 0)
 *
 * ═══════════════════════════════════════════════════════════════
 */


/* =================================================================
   1. HOMEPAGE BODY — Dark immersive scheme
   ================================================================= */

body {
  color: var(--sc-cream);
  background: var(--sc-deep-violet);
}


/* =================================================================
   1b. NAV — Light mode (over cream sections)
   ================================================================= */

.nav--light .nav__mark polygon { fill: var(--sc-violet); }
.nav--light .nav__wordmark { color: var(--sc-violet); }
.nav--light .nav__links a { color: var(--sc-violet-grey); }
.nav--light .nav__links a:hover { color: var(--sc-gold); }
.nav--light .nav__links a.gold { color: var(--sc-gold); }
.nav--light .nav__portal-trigger { color: var(--sc-violet) !important; border-color: rgba(26, 20, 69, 0.25) !important; }
.nav--light .nav__portal-trigger:hover { border-color: var(--sc-gold) !important; }
.nav--light .nav__dropdown-menu { background: var(--sc-cream); border-color: var(--sc-divider); }
.nav--light .nav__dropdown-menu a { color: var(--sc-violet-grey); }
.nav--light .nav__dropdown-menu a:hover { color: var(--sc-gold); }
.nav--light .nav__hamburger span { background: var(--sc-violet); }

/* Smooth colour transitions for nav mode switching */
.nav__mark polygon { transition: fill 400ms ease; }
.nav__wordmark { transition: color 400ms ease; }
.nav__hamburger span { transition: background 400ms ease, transform 300ms var(--ease-spring), opacity 200ms ease; }
.nav__portal-trigger { transition: border-color 400ms ease, color 400ms ease !important; }


/* =================================================================
   2. ACT I — Hero / Mark reveal
   ================================================================= */

.act-i {
  height: 350vh;
  position: relative;
}
.act-i__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--sc-deep-violet);
}
.act-i__mark {
  position: absolute;
  will-change: transform, opacity;
  transition: none;
}
.act-i__mark svg {
  height: 100%;
  width: auto;
  display: block;
}
.act-i__content {
  position: absolute;
  left: 8vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 55vw;
  opacity: 0;
  will-change: opacity, transform;
}
.act-i__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 32px;
}
.act-i__title {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.92;
  color: var(--sc-cream);
  margin-bottom: 40px;
}
.act-i__title em {
  font-style: italic;
  color: var(--sc-lavender);
}
.act-i__rule {
  width: 0;
  height: 1.5px;
  background: var(--sc-gold);
  margin-bottom: 40px;
  will-change: width;
}
.act-i__sub {
  font-weight: var(--weight-light);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sc-lavender);
  max-width: 440px;
}

/* ── Scroll hint ── */
.act-i__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 400ms ease;
}
.act-i__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sc-muted);
}
.act-i__scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--sc-gold);
  border-bottom: 1.5px solid var(--sc-gold);
  transform: rotate(45deg);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: rotate(45deg) translateY(0); }
  50% { opacity: 1; transform: rotate(45deg) translateY(4px); }
}


/* =================================================================
   3. ACT II — Thesis / Word reveal
   ================================================================= */

.act-ii {
  height: 250vh;
  position: relative;
}
.act-ii__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sc-cream);
}
.act-ii__ghost {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(18rem, 42vw, 48rem);
  line-height: 0.82;
  color: var(--sc-violet);
  opacity: 0.028;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.act-ii__content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  max-width: 780px;
}
.act-ii__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 24px;
}
.act-ii__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.0;
  color: var(--sc-violet);
  margin-bottom: 48px;
}
.act-ii__rule {
  height: 1.5px;
  background: var(--sc-gold);
  margin-bottom: 48px;
  will-change: width;
  width: 0;
}
.act-ii__text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--sc-violet-grey);
  max-width: 560px;
}
.act-ii__text .word {
  display: inline;
  opacity: 0.08;
  transition: opacity 150ms ease;
}
.act-ii__text .word.lit {
  opacity: 1;
}
.act-ii__text-second {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--sc-muted);
  max-width: 560px;
  margin-top: 24px;
}
.act-ii__text-second .word {
  display: inline;
  opacity: 0.06;
  transition: opacity 150ms ease;
}
.act-ii__text-second .word.lit {
  opacity: 1;
}


/* =================================================================
   4. ACT III — Pillars / Horizontal scroll
   ================================================================= */

.act-iii {
  height: 400vh;
  position: relative;
}
.act-iii__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--sc-violet);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.act-iii__header {
  padding: 7vh 8vw 0;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}
.act-iii__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
}
.act-iii__title {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: var(--sc-cream);
}
.act-iii__line {
  position: absolute;
  left: 8vw;
  top: 28vh;
  width: 1.5px;
  height: 0;
  background: var(--sc-gold);
  opacity: 0.4;
  z-index: 5;
  will-change: height;
}
.act-iii__panorama {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin-top: 5vh;
}
.act-iii__track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  will-change: transform;
}

/* ── Pillar cards ── */
.pillar {
  width: 50vw;
  min-width: 500px;
  flex-shrink: 0;
  padding: 48px 56px 72px;
  border-left: 1px solid rgba(74, 69, 128, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  will-change: opacity, transform;
  transition: opacity 500ms var(--ease-spring), transform 500ms var(--ease-spring);
}
.pillar:first-child {
  border-left: none;
}
.pillar.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pillar__number {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(10rem, 18vw, 20rem);
  line-height: 0.75;
  color: var(--sc-lavender);
  position: absolute;
  right: 28px;
  top: 20px;
  opacity: 0.15;
}
.pillar__title {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.pillar__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  color: var(--sc-cream);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.pillar__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--sc-lavender);
  position: relative;
  z-index: 2;
  max-width: 360px;
}

/* ── Progress pips ── */
.act-iii__progress {
  position: absolute;
  bottom: 40px;
  left: 8vw;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.act-iii__pip {
  width: 32px;
  height: 2px;
  background: var(--sc-muted-violet);
  transition: background 400ms ease, width 400ms var(--ease-spring);
}
.act-iii__pip.active {
  background: var(--sc-gold);
  width: 56px;
}


/* =================================================================
   5. ACT IV — Sri Lanka spotlight
   ================================================================= */

.act-iv {
  height: 250vh;
  position: relative;
}
.act-iv__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--sc-deep-violet);
}
.act-iv__name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(12rem, 22vw, 26rem);
  line-height: 0.88;
  color: var(--sc-lavender);
  white-space: nowrap;
  text-align: center;
  z-index: 3;
  will-change: opacity;
  pointer-events: none;
}
.act-iv__name-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-top: 24px;
}
.act-iv__content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 2;
  opacity: 0;
  will-change: opacity;
}
.act-iv__image {
  position: relative;
  overflow: hidden;
}
.act-iv__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 6000ms ease-out;
}
.act-iv__image.zooming img {
  transform: scale(1);
}
.act-iv__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 6vw;
  background: var(--sc-violet);
}
.act-iv__info-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
}
.act-iv__info-name {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  color: var(--sc-cream);
  margin-bottom: 12px;
}
.act-iv__info-data {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--sc-muted);
  margin-bottom: 36px;
}
.act-iv__info-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sc-lavender);
  margin-bottom: 36px;
  max-width: 420px;
}
.act-iv__info-link {
  font-weight: var(--weight-regular);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--sc-gold);
  border-bottom: 1px solid var(--sc-gold-30);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: border-color 300ms ease;
}
.act-iv__info-link:hover {
  border-color: var(--sc-gold);
}


/* =================================================================
   6. ACT V — Advisory Council
   ================================================================= */

.act-v {
  background: var(--sc-cream);
  position: relative;
}
.act-v__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
}
.act-v__image-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.act-v__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.act-v__image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--sc-cream) 100%);
  pointer-events: none;
}
.act-v__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14vh 6vw 14vh 5vw;
}
.act-v__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}
.act-v__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  color: var(--sc-violet);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
}
.act-v__rule {
  width: 0;
  height: 1.5px;
  background: var(--sc-gold);
  margin-bottom: 40px;
}
.act-v__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--sc-violet-grey);
  margin-bottom: 20px;
  max-width: 440px;
  opacity: 0;
  transform: translateY(20px);
}
.act-v__note {
  font-size: 0.8rem;
  color: var(--sc-muted);
  font-style: italic;
  border-top: 1px solid var(--sc-divider);
  padding-top: 20px;
  margin-top: 20px;
  max-width: 440px;
  opacity: 0;
}
.act-v .revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-web-reveal), transform var(--transition-web-reveal);
}
.act-v .rule-revealed {
  width: 48px;
  transition: width 600ms var(--ease-spring);
}


/* =================================================================
   7. ACT VI — Founder profile
   ================================================================= */

.act-vi {
  background: var(--sc-violet);
  position: relative;
  overflow: hidden;
}
.act-vi__ghost {
  position: absolute;
  bottom: 4vh;
  left: -2vw;
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(10rem, 22vw, 26rem);
  line-height: 0.85;
  color: var(--sc-lavender);
  opacity: 0.035;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
  will-change: transform;
}
.act-vi__grid {
  display: grid;
  grid-template-columns: 42% 1fr;
  position: relative;
  z-index: 2;
  min-height: 85vh;
}
.act-vi__photo {
  position: relative;
  overflow: hidden;
}
.act-vi__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 85vh;
}
.act-vi__photo::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 1.5px;
  height: 0;
  background: var(--sc-gold);
  transition: height 1200ms var(--ease-spring);
}
.act-vi__photo.revealed::after {
  height: 80%;
}
.act-vi__content {
  padding: 10vh 6vw 10vh 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.act-vi__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
}
.act-vi__name {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--sc-cream);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(24px);
}
.act-vi__role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 40px;
  opacity: 0;
}
.act-vi__bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--sc-lavender);
  max-width: 460px;
  opacity: 0;
  transform: translateY(16px);
}
.act-vi .revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-web-reveal), transform var(--transition-web-reveal);
}


/* =================================================================
   8. ACT VII — Screener CTA
   ================================================================= */

.act-vii {
  background: var(--sc-cream);
  padding: 16vh 8vw 18vh;
  text-align: center;
}
.act-vii__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
}
.act-vii__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--sc-violet);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
}
.act-vii__sub {
  font-size: 0.95rem;
  color: var(--sc-violet-grey);
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
}
.act-vii__screener {
  opacity: 0;
  transform: translateY(20px);
}
.act-vii .revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-web-reveal), transform var(--transition-web-reveal);
}


/* =================================================================
   9. RESPONSIVE — Homepage-specific breakpoints
   ================================================================= */

@media (max-width: 991px) {
  .act-i__content { max-width: 75vw; }
  .act-iii { height: auto; }
  .act-iii__stage { position: relative; height: auto; min-height: 100vh; overflow: visible; }
  .act-iii__panorama { overflow: visible; margin-top: 3vh; }
  .act-iii__track { flex-direction: column; position: relative; gap: 2px; }
  .act-iii__track .pillar { width: 100%; min-width: unset; padding: 36px 32px 48px; border-left: none; border-top: 1px solid rgba(74, 69, 128, 0.4); }
  .act-iii__track .pillar:first-child { border-top: none; }
  .act-iii__line { display: none; }
  .act-iii__progress { display: none; }
  .act-iv__content { grid-template-columns: 1fr; }
  .act-iv__image { min-height: 40vh; }
  .act-v__grid { grid-template-columns: 1fr; }
  .act-v__image-wrapper { position: relative; height: 50vh; }
  .act-v__image-fade { display: none; }
  .act-vi__grid { grid-template-columns: 1fr; }
  .act-vi__photo img { min-height: 50vh; }
  .act-vi__content { padding: 8vh 8vw; }
}

@media (max-width: 767px) {
  .act-i__content { left: 24px; max-width: 90vw; }
  .act-ii__content { padding: 0 24px; }
  .act-ii__ghost { display: none; }
  .act-iii__header { padding: 5vh 24px 0; }
  .act-iii__track .pillar { padding: 28px 24px 40px; }
  .pillar__number { font-size: clamp(6rem, 14vw, 12rem); }
  .act-iv__name { font-size: clamp(6rem, 16vw, 14rem); }
  .act-iv__info { padding: 6vh 24px; }
  .act-v__content { padding: 8vh 24px; }
  .act-vi__content { padding: 8vh 24px; }
  .act-vii { padding: 12vh 24px 14vh; }
}


/* =================================================================
   10. SUBPAGES — Cream ground, utility pages
   ================================================================= */

/* ── Subpage body ── */
.subpage {
  background: var(--sc-cream);
  color: var(--sc-violet);
  min-height: 100vh;
}
.subpage .nav { background: var(--sc-cream); border-bottom: 1px solid var(--sc-divider); opacity: 1; pointer-events: auto; }
.subpage .nav__links a { color: var(--sc-violet); }
.subpage .nav__links a:hover { color: var(--sc-gold); }
.subpage .nav__mark polygon { fill: var(--sc-violet); }
.subpage .nav__wordmark { color: var(--sc-violet); }
.subpage .nav__dropdown-menu { background: var(--sc-cream); border-color: var(--sc-divider); }
.subpage .nav__dropdown-menu a { color: var(--sc-violet-grey); }
.subpage .nav__dropdown-menu a:hover { color: var(--sc-gold); }
.subpage .nav__hamburger span { background: var(--sc-violet); }
.subpage .nav__portal a { color: var(--sc-violet); border-color: rgba(26, 20, 69, 0.25); }
.subpage .nav__portal a:hover { color: var(--sc-gold); border-color: var(--sc-gold); }

/* ── Subpage content container ── */
.subpage__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 14vh 24px 12vh;
}
.subpage__content--wide {
  max-width: 900px;
}

/* ── Subpage header ── */
.subpage__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 20px;
}
.subpage__title {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.2;
  color: var(--sc-violet);
  margin-bottom: 12px;
}
.subpage__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--sc-violet-grey);
  margin-bottom: 48px;
}

/* ── Subpage gold rule ── */
.subpage__rule {
  width: 48px;
  height: 1.5px;
  background: var(--sc-gold);
  margin-bottom: 48px;
}

/* ── Cards (dashboard, data room) ── */
.subpage__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.subpage__card {
  border: 1px solid var(--sc-divider);
  padding: 32px;
  transition: border-color 300ms ease;
}
.subpage__card:hover {
  border-color: var(--sc-gold);
}
.subpage__card-title {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-violet);
  margin-bottom: 10px;
}
.subpage__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sc-violet-grey);
  margin-bottom: 20px;
}
.subpage__card-link {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sc-gold);
  text-decoration: none;
  transition: color 200ms ease;
}
.subpage__card-link:hover {
  color: var(--sc-violet);
}

/* ── Data room document rows ── */
.subpage__section {
  margin-bottom: 48px;
}
.subpage__section-title {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sc-divider);
}
.subpage__doc {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 230, 226, 0.6);
}
.subpage__doc-info {
  flex: 1;
  min-width: 0;
}
.subpage__doc-name {
  font-size: 0.95rem;
  font-weight: var(--weight-regular);
  color: var(--sc-violet);
}
.subpage__doc-desc {
  font-size: 0.85rem;
  color: var(--sc-muted);
  margin-top: 2px;
}
.subpage__doc-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-left: 24px;
}
.subpage__doc-status--live a {
  color: var(--sc-gold);
  text-decoration: none;
  transition: color 200ms ease;
}
.subpage__doc-status--live a:hover {
  color: var(--sc-violet);
}
.subpage__doc-status--pending {
  color: var(--sc-muted);
}
.subpage__doc-status--prep {
  color: var(--sc-lavender);
}

/* ── Confidentiality notice ── */
.subpage__notice {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--sc-muted);
  padding-top: 32px;
  border-top: 1px solid var(--sc-divider);
  margin-top: 48px;
}

/* ── Legal text (privacy policy) ── */
.subpage__legal h2 {
  font-family: var(--font-primary);
  font-weight: var(--weight-medium);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--sc-violet);
  margin: 48px 0 16px;
}
.subpage__legal h3 {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.9rem;
  color: var(--sc-violet);
  margin: 32px 0 12px;
}
.subpage__legal p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sc-violet-grey);
  margin-bottom: 16px;
}
.subpage__legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.subpage__legal ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sc-violet-grey);
  padding-left: 16px;
  position: relative;
}
.subpage__legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--sc-gold);
}
.subpage__legal a {
  color: var(--sc-gold);
  text-decoration: none;
  transition: color 200ms ease;
}
.subpage__legal a:hover {
  color: var(--sc-violet);
}
.subpage__legal strong {
  font-weight: var(--weight-medium);
  color: var(--sc-violet);
}

/* ── Login form ── */
.subpage__login {
  max-width: 380px;
  margin: 0 auto;
}
.subpage__field {
  display: block;
  width: 100%;
  margin-bottom: 16px;
}
.subpage__field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sc-muted);
  margin-bottom: 6px;
}
.subpage__field input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: var(--weight-light);
  color: var(--sc-violet);
  background: transparent;
  border: 1px solid var(--sc-divider);
  outline: none;
  transition: border-color 300ms ease;
}
.subpage__field input:focus {
  border-color: var(--sc-gold);
}
.subpage__field input::placeholder {
  color: var(--sc-lavender);
}
.subpage__password-toggle {
  font-size: 0.8rem;
  color: var(--sc-muted);
  cursor: pointer;
  margin-bottom: 24px;
  display: inline-block;
}
.subpage__password-toggle:hover {
  color: var(--sc-gold);
}
.subpage__submit {
  display: block;
  width: 100%;
  padding: 14px;
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-cream);
  background: var(--sc-violet);
  border: 1px solid var(--sc-violet);
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease;
}
.subpage__submit:hover {
  background: transparent;
  color: var(--sc-violet);
}

/* ── Sign out link ── */
.subpage__action {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sc-muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.subpage__action:hover {
  color: var(--sc-gold);
}

/* ── Auth message ── */
.subpage__message {
  text-align: center;
  padding: 80px 24px;
}
.subpage__message p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sc-violet-grey);
  margin-bottom: 24px;
}
.subpage__message a {
  color: var(--sc-gold);
  text-decoration: none;
}

/* ── Subpage footer overrides ── */
.subpage .footer { background: var(--sc-violet); }

/* ── Subpage responsive ── */
@media (min-width: 600px) {
  .subpage__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .subpage__content { padding: 12vh 24px 10vh; }
}


/* =================================================================
   11. CONTENT PAGES — Rich editorial subpages (markets, reports)
   =================================================================
   A tier between utility .subpage (cream, centred, minimal) and the
   homepage's scroll-driven theatre. Full-width sections, editorial
   grids, atmospheric ghost marks, viewport-triggered reveals.
   BEM namespace: .cp-*
   ================================================================= */

/* ── Hero ── */
.cp-hero {
  position: relative;
  padding: 24vh 8vw 12vh;
  overflow: hidden;
  background: var(--sc-cream);
}
.cp-hero__ghost {
  position: absolute;
  right: -6vw;
  top: 50%;
  transform: translateY(-50%);
  height: 160vh;
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
}
.cp-hero__ghost polygon { fill: var(--sc-violet); }
.cp-hero__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 28px;
}
.cp-hero__title {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.90;
  color: var(--sc-violet);
  margin-bottom: 44px;
}
.cp-hero__rule {
  width: 48px;
  height: 1.5px;
  background: var(--sc-gold);
  margin-bottom: 40px;
}
.cp-hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sc-violet-grey);
  max-width: 520px;
}

/* ── Full-bleed image break ── */
.cp-image {
  position: relative;
  height: 50vh;
  overflow: hidden;
}
.cp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── About / Editorial split ── */
.cp-about {
  padding: 12vh 8vw;
  background: var(--sc-cream);
}
.cp-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6vw;
  max-width: 1100px;
}
.cp-about__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
}
.cp-about__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--sc-violet);
}
.cp-about__text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--sc-violet-grey);
}
.cp-about__text p { margin-bottom: 20px; }
.cp-about__text p:last-child { margin-bottom: 0; }

/* ── Stats band ── */
.cp-stats {
  background: var(--sc-deep-violet);
  padding: 10vh 8vw;
}
.cp-stats__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 48px;
}
.cp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cp-stats__number {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--sc-cream);
  margin-bottom: 12px;
}
.cp-stats__desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--sc-lavender);
  letter-spacing: 0.02em;
}
.cp-stats__source {
  font-size: 0.7rem;
  color: var(--sc-muted-violet);
  margin-top: 48px;
}

/* ── Sectors ── */
.cp-sectors {
  background: var(--sc-cream);
  padding: 12vh 8vw;
}
.cp-sectors__header { margin-bottom: 56px; }
.cp-sectors__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
}
.cp-sectors__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--sc-violet);
}
.cp-sectors__intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sc-violet-grey);
  max-width: 560px;
  margin-top: 16px;
}
.cp-sectors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cp-sectors__card {
  border: 1px solid var(--sc-divider);
  padding: 36px 32px;
  transition: border-color 400ms ease;
}
.cp-sectors__card:hover { border-color: var(--sc-gold); }
.cp-sectors__card-title {
  font-family: var(--font-primary);
  font-weight: var(--weight-medium);
  font-size: 0.95rem;
  color: var(--sc-violet);
  margin-bottom: 12px;
}
.cp-sectors__card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--sc-violet-grey);
  margin-bottom: 12px;
}
.cp-sectors__card-tags {
  font-size: 0.75rem;
  color: var(--sc-muted);
  font-style: italic;
}

/* ── Exits (editorial split with table) ── */
.cp-exits {
  background: var(--sc-cream);
  padding: 0 8vw 12vh;
}
.cp-exits__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  max-width: 1100px;
  align-items: start;
}
.cp-exits__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
}
.cp-exits__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--sc-violet);
  margin-bottom: 20px;
}
.cp-exits__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sc-violet-grey);
}
.cp-exits table { width: 100%; border-collapse: collapse; }
.cp-exits th {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sc-muted);
  text-align: left;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--sc-divider);
}
.cp-exits td {
  font-size: 0.9rem;
  color: var(--sc-violet-grey);
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 230, 226, 0.5);
}

/* ── Bridge (violet ground, editorial) ── */
.cp-bridge {
  background: var(--sc-violet);
  padding: 14vh 8vw;
  position: relative;
  overflow: hidden;
}
.cp-bridge__ghost {
  position: absolute;
  left: -4vw;
  bottom: -10vh;
  height: 140vh;
  opacity: 0.025;
  pointer-events: none;
}
.cp-bridge__ghost polygon { fill: var(--sc-lavender); }
.cp-bridge__content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}
.cp-bridge__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 24px;
}
.cp-bridge__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.08;
  color: var(--sc-cream);
  margin-bottom: 16px;
}
.cp-bridge__rule {
  width: 48px;
  height: 1.5px;
  background: var(--sc-gold);
  margin: 32px 0;
}
.cp-bridge__text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--sc-lavender);
}
.cp-bridge__text p { margin-bottom: 20px; }
.cp-bridge__text p:last-child { margin-bottom: 0; }

/* ── Partners ── */
.cp-partners {
  background: var(--sc-cream);
  padding: 8vh 8vw;
  border-top: 1px solid var(--sc-divider);
}
.cp-partners__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-muted);
  margin-bottom: 32px;
}
.cp-partners__grid {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cp-partners__logo {
  height: 36px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity 400ms ease, filter 400ms ease;
}
.cp-partners__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Screener on content page ── */
.cp-screener {
  background: var(--sc-cream);
  padding: 14vh 8vw 16vh;
  text-align: center;
}
.cp-screener__label {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sc-gold);
  margin-bottom: 16px;
}
.cp-screener__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--sc-violet);
  margin-bottom: 16px;
}
.cp-screener__sub {
  font-size: 0.95rem;
  color: var(--sc-violet-grey);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ── Screener widget (content page context) ── */
.cp-screener .screener__progress {
  max-width: 480px;
  margin: 0 auto 32px;
  height: 2px;
  background: var(--sc-divider);
}
.cp-screener .screener__progress-bar {
  height: 100%;
  background: var(--sc-gold);
  transition: width 400ms ease;
  width: 0%;
}
.cp-screener .screener__step { max-width: 480px; margin: 0 auto; }
.cp-screener .screener__counter {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  color: var(--sc-muted);
  margin-bottom: 12px;
}
.cp-screener .screener__question {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--sc-violet);
  margin-bottom: 28px;
}
.cp-screener .screener__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cp-screener .screener__btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: 0.9rem;
  color: var(--sc-violet-grey);
  background: transparent;
  border: 1px solid var(--sc-divider);
  cursor: pointer;
  text-align: left;
  transition: border-color 300ms ease, color 300ms ease;
}
.cp-screener .screener__btn:hover {
  border-color: var(--sc-gold);
  color: var(--sc-violet);
}
.cp-screener .screener__result {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.cp-screener .screener__result h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--sc-violet);
  margin-bottom: 16px;
}
.cp-screener .screener__result p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sc-violet-grey);
  margin-bottom: 16px;
}
.cp-screener .screener__result a.screener__cta {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-cream);
  background: var(--sc-violet);
  border: 1px solid var(--sc-violet);
  text-decoration: none;
  margin-top: 12px;
  transition: background 300ms ease, color 300ms ease;
}
.cp-screener .screener__result a.screener__cta:hover {
  background: transparent;
  color: var(--sc-violet);
}
.cp-screener .screener__reset {
  margin-top: 24px;
}
.cp-screener .screener__reset a {
  font-size: 0.8rem;
  color: var(--sc-muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.cp-screener .screener__reset a:hover {
  color: var(--sc-gold);
}

/* ── Viewport reveals (content pages) ── */
.cp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.cp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.cp-reveal--delay-1 { transition-delay: 100ms; }
.cp-reveal--delay-2 { transition-delay: 200ms; }
.cp-reveal--delay-3 { transition-delay: 300ms; }
.cp-reveal--delay-4 { transition-delay: 400ms; }

/* ── Content page responsive ── */
@media (max-width: 991px) {
  .cp-about__grid { grid-template-columns: 1fr; gap: 32px; }
  .cp-stats__grid { grid-template-columns: 1fr 1fr; }
  .cp-exits__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .cp-hero { padding: 18vh 24px 8vh; }
  .cp-image { height: 36vh; }
  .cp-about { padding: 10vh 24px; }
  .cp-stats { padding: 8vh 24px; }
  .cp-stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cp-sectors { padding: 10vh 24px; }
  .cp-sectors__grid { grid-template-columns: 1fr; }
  .cp-exits { padding: 0 24px 10vh; }
  .cp-bridge { padding: 10vh 24px; }
  .cp-partners { padding: 6vh 24px; }
  .cp-partners__grid { gap: 32px; }
  .cp-screener { padding: 10vh 24px 12vh; }
}
