/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0B1629;
  --navy-deep: #060D1A;
  --navy-mid: #0F1E35;
  --navy-card: #1A2E4A;
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --light: #F7F5F0;
  --mid-tone: #EEE9E0;
  --text-dark: #2E3F52;
  --text-light: #F0EDE6;
  --text-muted: #8C9BAB;
  --gold-dark: #7A6529;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mw: 1140px;
  --mc: 660px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .gold-draw { width: 100% !important; }
  .w span { transform: none !important; }
}

/* ===== FOCUS ===== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ===== SKIP LINK ===== */
.skip {
  position: absolute; top: -100px; left: 16px;
  background: var(--gold); color: var(--navy);
  padding: 12px 24px; font: 600 14px var(--sans);
  z-index: 10000; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ===== GRAIN ===== */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ===== LAYOUT ===== */
.wrap { max-width: var(--mw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }
.sec-d { background: var(--navy); color: var(--text-light); position: relative; }
.sec-l { background: var(--light); color: var(--text-dark); position: relative; }
.pad { padding: 120px 0; }
@media (max-width: 1024px) { .pad { padding: 116px 0; } }

/* ===== TYPOGRAPHY ===== */
.ey {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; line-height: 1;
}
.sec-l .ey { color: var(--gold-dark); }

.hd {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(38px, 5vw, 52px); line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-light); margin-bottom: 32px;
}
.hl {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(38px, 5vw, 52px); line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark); margin-bottom: 32px;
}
.bd {
  font: 400 17px/1.75 var(--sans);
  color: rgba(240, 237, 230, 0.85);
  max-width: var(--mc);
}
.bl {
  font: 400 17px/1.75 var(--sans);
  color: var(--text-dark);
  max-width: var(--mc);
}

/* ===== GOLD RULE ===== */
.gold-draw {
  height: 1px; background: var(--gold);
  width: 0; margin-bottom: 40px;
  transition: width 0.8s var(--ease);
}
.gold-draw.drawn { width: 100%; }

/* ===== REVEAL ===== */
.rv {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rv.vis { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.1s; }
.rv.d2 { transition-delay: 0.2s; }
.rv.d3 { transition-delay: 0.35s; }

/* ===== BUTTONS ===== */
.btn-g {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent;
  padding: 16px 40px; min-height: 52px;
  cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.3s;
  will-change: transform;
}
.btn-g:hover { background: var(--gold); color: var(--navy); }

.btn-o {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 10px 24px; min-height: 44px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-o:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; }

/* ===== SCROLL PROGRESS ===== */
.scroll-prog-track {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; background: var(--navy); z-index: 10001;
  pointer-events: none;
}
.scroll-prog {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--gold); z-index: 10002;
  width: 0%; will-change: width; pointer-events: none;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  width: 100%; height: 72px; z-index: 10000;
  background: rgba(11, 22, 41, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background 0.3s, border-color 0.3s;
}
.nav-in {
  padding: 0 40px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-logo img { height: 28px; width: auto; display: block; }
@media (max-width: 768px) { .nav-logo img { height: 22px; } }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font: 500 14px var(--sans); letter-spacing: 0.02em;
  color: var(--text-light); transition: color 0.2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 14px var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; padding: 10px 24px; min-height: 44px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Hamburger */
.hb {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column;
  justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.hb span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); transition: transform 0.3s, opacity 0.3s;
}
.hb.on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hb.on span:nth-child(2) { opacity: 0; }
.hb.on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-links, .nav .nav-cta { display: none; }
  .hb { display: flex; }
}

/* Mobile menu */
.mob {
  position: fixed; inset: 0; background: var(--navy); z-index: 9999;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 28px;
  padding: 0 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mob.on { opacity: 1; pointer-events: auto; }
.mob a {
  font: 600 24px var(--sans); color: var(--text-light);
  min-height: 44px; display: inline-flex; align-items: center;
}
.mob a:hover { color: var(--gold); }

/* ===== HERO — SIERRA SPLIT ===== */
#hero {
  position: relative; min-height: min(100vh, 900px);
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--navy);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 46, 74, 0.8) 0%, #0B1629 70%);
}
@media (max-width: 768px) { #hero { padding: 110px 0 60px; } }

.hero-grid {
  position: absolute; inset: -40px; z-index: 1; opacity: 0.07;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h80v80H0z' fill='none' stroke='%23C9A84C' stroke-width='.4'/%3E%3C/svg%3E");
  background-size: 80px;
}
.hero-cv { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-split {
  position: relative; z-index: 10; width: 100%;
  display: grid; grid-template-columns: 55fr 45fr;
  gap: 64px; align-items: center;
}
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
}

.hero-left { max-width: 560px; }
@media (max-width: 768px) {
  .hero-left { max-width: 100%; text-align: center; margin: 0 auto; }
}

.hero-ey {
  font: 600 13px/1 var(--sans); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 32px;
}
.hero-h1 {
  font: 700 clamp(38px, 5vw, 58px)/1.12 var(--sans);
  color: var(--text-light); margin-bottom: 40px;
  letter-spacing: -0.03em;
}
.hero-h1 .w {
  display: inline-block; overflow: hidden;
  vertical-align: bottom; margin-right: 0.15em; padding-bottom: 0.1em;
}
.hero-h1 .w span { display: inline-block; will-change: transform; }

.hero-ctas {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-g, .hero-ctas .btn-o { width: 100%; }
}

.hero-rule {
  height: 1px; background: var(--gold);
  width: 0; transition: width 1s var(--ease);
}
.hero-rule.drawn { width: 100%; }

/* Hero carousel arc — 5 cards on a curved path */
.hero-carousel {
  position: relative;
  height: 520px;
  perspective: 1400px;
}
@media (max-width: 1024px) { .hero-carousel { height: 480px; } }
@media (max-width: 768px) { .hero-carousel { height: 300px; } }

.hero-card {
  position: absolute;
  width: 88%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  will-change: transform, opacity;
  cursor: pointer;
}
.hero-card .frame-body { position: relative; line-height: 0; }
.hero-card .frame-body img { width: 100%; display: block; }

/* Fallback positions — desktop only, JS takes over on load */
@media (min-width: 769px) {
  .hero-card:nth-child(1) { top: -52%; left: 16%; transform: scale(0.72) translateX(44px); z-index: 1; }
  .hero-card:nth-child(2) { top: -22%; left: 8%; transform: scale(0.85) translateX(22px); z-index: 2; }
  .hero-card:nth-child(3) { top: 8%; left: 0; width: 100%; transform: scale(1); z-index: 5; box-shadow: 0 32px 80px rgba(0,0,0,0.6); }
  .hero-card:nth-child(4) { top: 42%; left: 8%; transform: scale(0.85) translateX(22px); z-index: 2; }
  .hero-card:nth-child(5) { top: 68%; left: 16%; transform: scale(0.72) translateX(44px); z-index: 1; }
}


.frame-chrome {
  height: 36px; background: #0A1628;
  display: flex; align-items: center;
  padding: 0 16px; gap: 8px; position: relative;
}
.frame-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.frame-dot--red { background: #FF5F57; }
.frame-dot--yellow { background: #FEBC2E; }
.frame-dot--green { background: #28C840; }
.frame-url {
  position: absolute; left: 50%; transform: translateX(-50%);
  font: 400 11px var(--sans); color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 16px; border-radius: 4px;
}
.frame-body { line-height: 0; }
.frame-body img { width: 100%; display: block; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  color: var(--gold); opacity: 0.8;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (max-width: 768px) { .scroll-hint { display: none; } }


/* ===== S3: CONTROL ===== */
#platform .pad { padding: 140px 0; }
@media (max-width: 1024px) { #platform .pad { padding: 116px 0; } }

.ctrl-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; margin-bottom: 64px;
}
@media (min-width: 769px) {
  .ctrl-grid { grid-template-columns: 55fr 45fr; gap: 72px; align-items: start; }
}
.sup-line {
  font: 400 17px/1.6 var(--sans); font-style: italic;
  color: var(--gold); margin-top: 28px;
  padding-left: 20px; border-left: 2px solid var(--gold);
}
.cons-col {
  background: #FFFFFF;
  border: 1px solid rgba(46, 63, 82, 0.12);
  border-radius: 4px; padding: 40px 36px;
}
@media (max-width: 768px) { .cons-col { padding: 28px 20px; } }
.cons-h {
  font: 600 13px/1 var(--sans); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 28px;
}
.cons-list { display: flex; flex-direction: column; gap: 22px; }
.cons-i {
  font: 400 17px/1.65 var(--sans); color: var(--text-dark);
  padding-left: 22px; border-left: 2px solid transparent;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.4s ease;
}
.cons-i.stg { opacity: 0; transform: translateX(-16px); }
.cons-i.vis { opacity: 1; transform: none; border-left-color: rgba(201, 168, 76, 0.4); }
.cons-i:nth-child(1) { transition-delay: 0s; }
.cons-i:nth-child(2) { transition-delay: 0.15s; }
.cons-i:nth-child(3) { transition-delay: 0.3s; }


/* ===== JOURNEY — Animated lifecycle strip ===== */
#journey { position: relative; z-index: 3; }
#journey .pad { padding: 80px 0 120px; }
@media (max-width: 1024px) { #journey .pad { padding: 116px 0 80px; } }

.journey-intro { text-align: center; margin-bottom: 40px; }
.journey-intro .hd { max-width: 600px; margin: 0 auto; }

/* Phase band */
.journey-phases {
  display: flex; height: 2px; margin-bottom: 32px; border-radius: 1px; overflow: hidden;
}
.journey-phase-seg { transition: opacity 0.4s ease; opacity: 0.2; }
.journey-phase-seg.active { opacity: 1; }

/* Phase label */
.journey-phase-label {
  text-align: center; margin-bottom: 24px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

/* Track — desktop horizontal */
.journey-track {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; margin-bottom: 40px;
}

.journey-node {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; background: none; border: none; padding: 8px 12px;
  min-width: 100px; min-height: 44px; position: relative; z-index: 2;
  transition: transform 0.3s ease;
}
.journey-node-num {
  font: 700 13px/1 var(--sans); letter-spacing: 0.08em;
  color: rgba(201,168,76,0.55); margin-bottom: 10px;
  transition: color 0.4s ease;
}
.journey-node-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(201,168,76,0.3);
  transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 10px;
}
.journey-node-name {
  font: 600 13px/1 var(--sans); letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(240,237,230,0.55);
  transition: color 0.4s ease, font-size 0.3s ease;
  white-space: nowrap;
}

/* Node states */
.journey-node.passed .journey-node-num { color: rgba(201,168,76,0.7); }
.journey-node.passed .journey-node-dot { background: rgba(201,168,76,0.6); }
.journey-node.passed .journey-node-name { color: rgba(240,237,230,0.5); }

.journey-node.active .journey-node-num { color: var(--gold); }
.journey-node.active .journey-node-dot {
  background: var(--gold); transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}
.journey-node.active .journey-node-name { color: var(--text-light); font-size: 12px; }

/* Connecting lines (div segments between dots) */
.journey-lines {
  position: absolute; top: 0; left: 0; right: 0;
  height: 100%; z-index: 1; pointer-events: none;
}
.journey-line-seg {
  position: absolute; height: 2px;
  background: rgba(201,168,76,0.1);
}
.journey-line-seg-fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: var(--gold);
  transition: width 0.5s ease;
}
.journey-line-seg.passed .journey-line-seg-fill { width: 100%; }

/* Content card */
#j-cards { position: relative; }
.journey-card {
  background: rgba(26,46,74,0.5);
  border: 1px solid rgba(201,168,76,0.15);
  border-left: 3px solid rgba(201,168,76,0.4);
  border-radius: 4px; padding: 28px 32px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  max-width: 100%;
  position: absolute; top: 0; left: 0; right: 0;
  pointer-events: none;
  display: grid; grid-template-columns: 35fr 65fr; gap: 40px; align-items: start;
}
.journey-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
@media (max-width: 768px) {
  .journey-card { padding: 24px 20px; grid-template-columns: 1fr; gap: 16px; }
}

.journey-card-phase {
  font: 600 13px/1 var(--sans); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 12px;
  transition: color 0.4s ease;
}
.journey-card-title {
  font: 700 28px/1.2 var(--sans); color: var(--text-light);
  letter-spacing: -0.02em;
}
@media (max-width: 768px) { .journey-card-title { font-size: 22px; } }
.journey-card-desc {
  font: 400 17px/1.75 var(--sans);
  color: rgba(240,237,230,0.8);
}

/* Mobile — track hidden, cards stacked with titles */
@media (max-width: 768px) {
  .journey-phases { display: none; }
  .journey-phase-label { display: none; }
  .journey-track { display: none; }
  .journey-lines { display: none; }
  #j-cards { min-height: auto; display: flex; flex-direction: column; gap: 20px; }
  .journey-card {
    position: relative; top: auto; left: auto; right: auto;
    opacity: 1; transform: none; pointer-events: auto;
    grid-template-columns: 1fr; gap: 16px;
  }
}

/* ===== S4: MODULES — STACKING CARDS ===== */
#modules { position: relative; z-index: 4; }
#modules .pad { padding: 116px 0 0; }
@media (max-width: 1024px) { #modules .pad { padding: 116px 0 0; } }
.mod-intro { margin-bottom: 48px; }
.mod-stack { position: relative; }

.mod-panel {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(46, 63, 82, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  will-change: transform;
}
.mod-panel-inner { padding: 48px 40px 56px; }
@media (max-width: 768px) { .mod-panel-inner { padding: 32px 20px 40px; } }
.mod-panel-head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px;
}
.mod-tab-label {
  font: 600 13px/1 var(--sans); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-dark);
}
.mod-body-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 769px) { .mod-body-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.mod-h {
  font: 600 clamp(22px, 3vw, 24px)/1.2 var(--sans);
  color: var(--text-dark); margin-bottom: 0; letter-spacing: -0.01em;
}
.mod-p { font: 400 17px/1.75 var(--sans); color: var(--text-dark); }
.mod-pro {
  font: 400 17px/1.6 var(--sans); color: var(--text-dark);
  font-style: italic; padding-left: 16px;
  border-left: 2px solid var(--gold); margin-top: 20px;
}
.mod-pro b { color: var(--gold-dark); font-weight: 600; font-style: normal; }
.mod-scroll-hint {
  text-align: center; padding: 16px 0 8px; opacity: 0.4;
}
.mod-scroll-hint svg {
  width: 18px; height: 18px; color: var(--text-dark);
  animation: bounce 2s ease-in-out infinite;
}

/* ===== NEW: SCREENSHOTS SECTION ===== */

.ss-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px;
}
@media (max-width: 768px) { .ss-grid { grid-template-columns: 1fr; gap: 32px; } }

.ss-frame {
  background: var(--navy-deep);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 76, 0.08);
  overflow: hidden;
}
.ss-caption {
  text-align: center; margin-top: 16px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}

/* ===== S5: RISK ===== */
/* ===== RISK GOVERNANCE — Three-breakpoint layout ===== */
#risk { position: relative; z-index: 5; }
#risk .pad { padding: 120px 0 80px; }
@media (max-width: 1024px) { #risk .pad { padding: 116px 0 80px; } }


.risk-sub-h {
  display: none;
  font: 700 clamp(22px,3.5vw,32px)/1.3 var(--sans);
  color: var(--text-light); letter-spacing: -0.02em;
  text-align: center; margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
@media (max-width: 1024px) { .risk-sub-h { display: block; } }

/* Desktop: 3-column with pinned center */
.risk-three {
  display: none;
}
@media (min-width: 1025px) {
  .risk-three {
    display: grid; grid-template-columns: 1fr 180px 1fr;
    position: relative;
  }
}

.risk-col-left, .risk-col-right {
  display: flex; flex-direction: column;
}
.risk-col-left { padding-right: 32px; }
.risk-col-right { padding-left: 32px; }

.risk-center {
  position: sticky; top: 30%;
  height: fit-content;
  border-left: 1px solid rgba(201,168,76,0.1);
  border-right: 1px solid rgba(201,168,76,0.1);
  text-align: center; padding: 40px 16px;
  margin-top: 80px;
}
.risk-center-h {
  font: 700 13px/1.5 var(--sans); color: var(--text-light);
  margin-bottom: 20px;
}
.risk-center-num {
  font: 800 48px/1 var(--sans); color: rgba(201,168,76,0.12);
  transition: opacity 0.3s ease;
}

/* Problem panel */
.risk-problem {
  min-height: 280px; display: flex; flex-direction: column;
  justify-content: center; padding: 32px 0;
  border-bottom: 1px solid rgba(247,245,240,0.05);
  transition: opacity 0.4s ease;
}
.risk-problem:last-child { border-bottom: none; }

.risk-tag {
  font: 600 13px/1 var(--sans); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.risk-tag--problem { color: rgba(230,110,90,0.9); }
.risk-tag--solution { color: var(--gold); }

.risk-problem-num {
  font: 600 13px/1 var(--sans); letter-spacing: 0.08em;
  color: rgba(201,168,76,0.3); margin-bottom: 12px;
}
.risk-problem-text {
  font: 700 clamp(20px,2.5vw,26px)/1.3 var(--sans);
  color: var(--text-light); letter-spacing: -0.01em;
}

/* Solution panel */
.risk-solution {
  min-height: 280px; display: flex; flex-direction: column;
  justify-content: center; padding: 32px 0;
  border-bottom: 1px solid rgba(247,245,240,0.05);
  transition: opacity 0.4s ease;
}
.risk-solution:last-child { border-bottom: none; }

.risk-solution-text {
  font: 400 14px/1.75 var(--sans);
  color: rgba(247,245,240,0.65);
}
.risk-solution-text strong {
  color: var(--text-light); font-weight: 600;
}

/* Inactive items on desktop */
@media (min-width: 1025px) {
  .risk-problem, .risk-solution { opacity: 0.45; }
  .risk-problem.active, .risk-solution.active { opacity: 1; }
}

/* Tablet: 2-column */
.risk-tablet {
  display: none;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .risk-tablet {
    display: grid; grid-template-columns: 1fr 1fr;
    border-left: none;
  }
}

.risk-tab-row {
  display: contents;
}
.risk-tab-left {
  padding: 24px 28px 24px 0;
  border-right: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(247,245,240,0.05);
}
.risk-tab-right {
  padding: 24px 0 24px 28px;
  border-bottom: 1px solid rgba(247,245,240,0.05);
}

/* Mobile: single column */
.risk-mobile {
  display: none;
}
@media (max-width: 768px) {
  .risk-mobile { display: flex; flex-direction: column; }
}

.risk-mob-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(247,245,240,0.06);
}
.risk-mob-item:last-child { border-bottom: none; }
.risk-mob-num {
  font: 600 13px/1 var(--sans); letter-spacing: 0.08em;
  color: rgba(201,168,76,0.3); margin-bottom: 10px;
}
.risk-mob-problem {
  font: 700 20px/1.3 var(--sans); color: var(--text-light);
  margin-bottom: 16px;
}
.risk-mob-divider {
  width: 24px; height: 1px; background: rgba(201,168,76,0.3);
  margin: 16px 0;
}
.risk-mob-solution {
  font: 400 14px/1.75 var(--sans);
  color: rgba(247,245,240,0.65);
}
.risk-mob-solution strong { color: var(--text-light); font-weight: 600; }

/* ===== S6: SCALE — Pinned left title + scrolling right cards ===== */
#scale .pad { padding: 120px 0; }
@media (max-width: 1024px) { #scale .pad { padding: 116px 0; } }

.scale-grid {
  display: grid; grid-template-columns: 45fr 55fr;
  gap: 72px; max-width: 1280px; margin: 0 auto;
}
@media (max-width: 768px) {
  .scale-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Left: pinned title area */
.scale-left {
  position: sticky; top: 20vh;
  height: fit-content;
  align-self: start;
}
@media (max-width: 768px) {
  .scale-left { position: static; }
}
.scale-left .ey { margin-bottom: 20px; }
.scale-left-h {
  font: 700 clamp(36px, 4.5vw, 52px)/1.1 var(--sans);
  color: var(--text-dark); letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.scale-left-body {
  font: 400 17px/1.75 var(--sans);
  color: var(--text-dark);
  max-width: 400px; opacity: 0.75;
}
.scale-left-rule {
  width: 40px; height: 1px; background: var(--gold);
  margin-top: 32px;
}

/* Right: scrolling event cards */
.scale-right {
  display: flex; flex-direction: column; gap: 28px;
}

.scale-card {
  position: relative; overflow: hidden;
  border-radius: 8px;
}

.scale-card-img {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
}
.scale-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.scale-card:hover .scale-card-img img { transform: scale(1.03); }

/* Gradient overlay for text legibility */
.scale-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 60px 36px 32px;
  background: linear-gradient(0deg, rgba(11, 22, 41, 0.95) 0%, rgba(11, 22, 41, 0.75) 50%, rgba(11, 22, 41, 0.2) 80%, transparent 100%);
  pointer-events: none;
}
@media (max-width: 768px) { .scale-card-overlay { padding: 36px 24px 24px; } }

.scale-card-ey {
  font: 600 13px/1 var(--sans); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.scale-card-event {
  font: 700 clamp(24px, 3vw, 32px)/1.2 var(--sans); color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* ===== S7: CTA ===== */
#cta {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--gold);
}
#cta .pad { padding: 140px 0 160px; }
@media (max-width: 1024px) { #cta .pad { padding: 116px 0 100px; } }

/* Background layers */
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 100%, rgba(201,168,76,0.07) 0%, transparent 65%);
}
.cta-cv { position: absolute; inset: 0; pointer-events: none; }

/* Layout */
.cta-grid {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
  text-align: center;
}

/* Left column */


/* Right column — form */
.cta-form { display: flex; flex-direction: column; gap: 0; text-align: left; }

/* Stage 1: inline email + button */
.cta-stage1 {
  display: flex; border-bottom: 1.5px solid rgba(201,168,76,0.25);
  transition: border-color 0.3s ease;
}
.cta-stage1:focus-within { border-color: rgba(201,168,76,0.7); }
.cta-stage1-input {
  flex: 1; background: transparent; border: none;
  padding: 16px 0; font: 400 17px var(--sans); color: #FFFFFF;
  outline: none; min-height: 52px;
}
.cta-stage1-input::placeholder { color: rgba(247,245,240,0.3); }
.cta-stage1-btn {
  background: transparent; border: none; color: var(--gold);
  font: 600 13px var(--sans); letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; padding: 16px 0 16px 20px;
  white-space: nowrap; transition: color 0.2s ease; min-height: 52px;
}
.cta-stage1-btn:hover { color: var(--text-light); }

/* Stage 2: expanded fields — hidden initially */
.cta-stage2 {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease 0.15s;
}
.cta-stage2.open { max-height: 700px; opacity: 1; }

.cta-field {
  position: relative; margin-top: 32px;
}
.cta-field-input {
  width: 100%; background: transparent;
  border: none; border-bottom: 1.5px solid rgba(201,168,76,0.2);
  padding: 16px 0 12px; font: 400 17px var(--sans); color: #FFFFFF;
  outline: none; min-height: 48px;
  transition: border-color 0.3s ease;
}
.cta-field-input:focus { border-color: transparent; }
.cta-field-input::placeholder { color: transparent; }

/* Floating label */
.cta-field-label {
  position: absolute; left: 0; top: 16px;
  font: 400 17px var(--sans); color: rgba(247,245,240,0.6);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-field-input:focus + .cta-field-label,
.cta-field-input:not(:placeholder-shown) + .cta-field-label {
  top: -8px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); background: var(--navy);
  padding: 0 6px; margin-left: -6px;
}

/* Underline draw effect */
.cta-field::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-field:focus-within::after { transform: scaleX(1); }

/* Textarea */
.cta-field-textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1.5px solid rgba(201,168,76,0.2);
  padding: 16px 0 12px; font: 400 17px var(--sans); color: #FFFFFF;
  outline: none; resize: vertical; min-height: 80px;
  transition: border-color 0.3s ease;
}
.cta-field-textarea:focus { border-color: transparent; }
.cta-field-textarea::placeholder { color: transparent; }
.cta-field-textarea:focus + .cta-field-label,
.cta-field-textarea:not(:placeholder-shown) + .cta-field-label {
  top: -8px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); background: var(--navy);
  padding: 0 6px; margin-left: -6px;
}

/* Submit */
.cta-submit {
  width: 100%; background: transparent; margin-top: 36px;
  border: 1px solid var(--gold); color: var(--gold);
  font: 600 13px var(--sans); letter-spacing: 0.08em;
  text-transform: uppercase; padding: 16px;
  border-radius: 2px; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  min-height: 52px;
}
.cta-submit:hover { background: var(--gold); color: var(--navy); }

.cta-tagline-row {
  display: flex; justify-content: space-between; margin-bottom: 56px;
  gap: 24px; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-tagline-row { justify-content: center; gap: 16px; }
}

/* Focus glow on fields */
.cta-field:focus-within,
.cta-stage1:focus-within {
  filter: drop-shadow(0 4px 20px rgba(201,168,76,0.06));
}

.cta-thanks {
  text-align: center; padding: 60px 0;
  font: 600 24px/1.4 var(--sans); color: var(--gold);
}

/* ===== FOOTER ===== */
.ft {
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  padding: 56px 0 36px;
}
@media (max-width: 768px) { .ft { padding: 48px 0 calc(120px + env(safe-area-inset-bottom, 0px)); } }
.ft-nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 24px; margin-bottom: 28px;
}
.ft-nav a {
  font: 400 13px var(--sans); color: var(--text-muted);
  transition: color 0.2s; min-height: 44px;
  display: inline-flex; align-items: center;
}
.ft-nav a:hover { color: var(--gold); }
.ft-bot {
  text-align: center; font: 400 13px var(--sans); color: var(--text-muted);
}
.ft-bot a { transition: color 0.2s; }
.ft-bot a:hover { color: var(--gold); }

/* ===== BACK TO TOP ===== */
.btt {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; color: var(--text-muted);
  border: 1px solid rgba(140, 155, 171, 0.3);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, color 0.2s, border-color 0.2s;
  transform: translateY(8px);
}
.btt.vis { opacity: 0.5; pointer-events: auto; transform: translateY(0); }
.btt:hover { opacity: 1; color: var(--gold); border-color: var(--gold); }
.btt svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
  .btt { bottom: 24px; right: 20px; background: rgba(11, 22, 41, 0.9); z-index: 9997; }
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 480px) {
  .btn-g { width: 100%; }
}

