:root {
  --bg: #070707;
  --bg-soft: #0c0c0c;
  --panel: #101010;
  --text: #f4efe7;
  --muted: #c7c0b7;
  --gold: #d7b267;
  --gold-light: #f2d89c;
  --gold-deep: #9b7537;
  --pink: #ff4f9f;
  --line: rgba(215, 178, 103, .34);
  --line-soft: rgba(255,255,255,.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --shell: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell {
  width: min(var(--shell), calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5,5,5,.96);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  letter-spacing: .18em;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold-light);
}

.brand-tagline {
  color: var(--gold);
  font-size: .48rem;
  margin-top: -4px;
  padding-left: 2px;
}

.main-nav,
.footer-nav {
  display: flex;
  gap: 28px;
  font-size: .82rem;
}

.main-nav a {
  position: relative;
  color: #ddd8d2;
}

.main-nav a:hover,
.main-nav a.active { color: #fff; }

.main-nav a.active::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -14px;
  background: var(--pink);
}

.header-cta,
.gold-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta {
  justify-self: end;
  background: linear-gradient(180deg, #edc77d 0%, #c79547 100%);
  color: #111;
  padding: 12px 24px;
  font-size: .78rem;
}

.gold-button {
  background: linear-gradient(180deg, #f0d091 0%, #c89545 100%);
  color: #111;
  padding: 14px 26px;
  width: max-content;
}

.gold-button.compact { padding: 12px 22px; }

.outline-button {
  padding: 13px 24px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.gold-button:hover,
.header-cta:hover,
.outline-button:hover { transform: translateY(-2px); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  letter-spacing: .2em;
  font-size: .67rem;
  font-weight: 700;
}

.eyebrow.pink { color: var(--pink); }
.tm { font-size: .36em; vertical-align: top; margin-left: 4px; }

.hero-section {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 74% 44%, rgba(204,150,72,.09), transparent 26%),
    radial-gradient(circle at 50% 0%, rgba(255,216,141,.05), transparent 34%),
    linear-gradient(100deg, #070707 0%, #090806 52%, #070707 100%);
}

.hero-content {
  min-height: 660px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
}

.hero-copy { padding: 62px 48px 60px 0; position: relative; z-index: 3; }

.hero-copy h1,
.section-heading h2,
.problem-copy h2,
.discipline-panel h2,
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--gold-light);
}

.hero-copy h1 { font-size: clamp(4rem, 6.3vw, 7.4rem); }

.hero-subhead {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.25vw, 2.6rem);
  line-height: 1.03;
  margin: 22px 0 18px;
  max-width: 720px;
}

.hero-body {
  color: var(--muted);
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-visual {
  height: 100%;
  position: relative;
  min-height: 660px;
}

.pearl {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255,255,255,.98) 0 3%, rgba(255,250,239,.95) 8%, rgba(239,210,172,.86) 22%, rgba(190,147,95,.55) 45%, rgba(94,66,40,.45) 66%, rgba(25,18,14,.35) 82%),
    radial-gradient(circle at 60% 68%, rgba(255,197,157,.25), transparent 40%);
  box-shadow:
    inset -24px -30px 55px rgba(63,42,20,.4),
    inset 18px 18px 40px rgba(255,255,255,.25),
    0 0 45px rgba(255,212,135,.42),
    0 0 110px rgba(224,151,65,.18);
}

.pearl-large {
  width: 320px;
  aspect-ratio: 1;
  top: 112px;
  left: 18%;
  z-index: 4;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(216,172,94,.42);
  border-radius: 50%;
  z-index: 2;
  transform: rotate(-18deg);
  box-shadow: 0 0 28px rgba(229,170,81,.08);
}

.orbit::after {
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 80deg, transparent 0 55%, rgba(246,205,126,.95) 63%, transparent 69% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
}

.orbit-a { width: 570px; height: 330px; top: 100px; left: -4%; }
.orbit-b { width: 690px; height: 410px; top: 70px; left: -13%; transform: rotate(18deg); }
.orbit-c { width: 460px; height: 600px; top: 30px; left: 5%; transform: rotate(49deg); opacity: .55; }

.hero-side-copy {
  position: absolute;
  right: 0;
  top: 95px;
  color: var(--gold-light);
  letter-spacing: .24em;
  font-family: var(--serif);
  font-size: .88rem;
  line-height: 1.45;
  z-index: 6;
}

.mini-rule { display:block; width:32px; height:1px; background:var(--gold); margin:24px 0; }

.script-line {
  position: absolute;
  right: 7%;
  bottom: 82px;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.05;
  transform: rotate(-8deg);
}

.section {
  padding: 72px 0;
  background: #080808;
}

.section-bordered,
.eciis-strip { border-bottom: 1px solid var(--line); }

.section-heading { margin-bottom: 38px; }

.section-heading h2,
.problem-copy h2,
.discipline-panel h2,
.final-cta h2 { font-size: clamp(3rem, 4.2vw, 5.2rem); }

.section-kicker {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 70px;
}

.side-intro {
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  color: var(--muted);
  max-width: 520px;
  justify-self: end;
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.flow-card {
  min-height: 244px;
  border: 1px solid var(--gold-deep);
  border-radius: 10px;
  padding: 24px 18px 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.002));
}

.flow-icon,
.benefit-icon,
.explore-icon { color: var(--gold-light); font-size: 2.2rem; }
.flow-number { display:block; margin-top:12px; color:var(--gold-light); font-family:var(--serif); letter-spacing:.18em; font-weight:700; }
.flow-card h3 { font-family:var(--serif); font-size:1.15rem; line-height:1.18; color:#f2ece3; font-weight:600; }
.flow-card p { color:var(--muted); font-size:.83rem; margin-bottom:0; }
.flow-arrow { color: var(--gold); font-size: 1.7rem; }

.dual-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
}

.dual-panel { padding: 66px max(48px, calc((100vw - var(--shell))/2)); position:relative; overflow:hidden; }
.problem-panel { border-right: 1px solid var(--line); }
.problem-copy { width: 52%; position:relative; z-index:4; }
.problem-copy p { color:var(--muted); }

.planet-horizon {
  position:absolute;
  width:520px;
  aspect-ratio:1;
  border-radius:50%;
  right:-40px;
  bottom:-170px;
  background:
    radial-gradient(circle at 70% 14%, rgba(255,244,206,.92) 0 1%, rgba(255,190,83,.55) 3%, transparent 8%),
    radial-gradient(circle at 50% 38%, #45301e 0 18%, #1b1611 45%, #0c0c0c 67%, #050505 76%);
  box-shadow: 0 -18px 90px rgba(244,187,94,.22);
}

.problem-copy blockquote,
.quote-gold {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--pink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: .03em;
}

.problem-copy blockquote { font-style:normal; font-size:.83rem; letter-spacing:.2em; line-height:1.5; }

.discipline-panel { background: #090909; }
.discipline-panel p { color:var(--muted); max-width:620px; }
.quote-gold { font-size:1.6rem; }

.eciis-strip { padding: 28px 0 16px; background:#080808; }
.eciis-layout { display:grid; grid-template-columns: 1fr 1.45fr auto; align-items:center; gap:34px; }
.eciis-brand-block { display:flex; align-items:center; gap:18px; }
.pearl-small { position:relative; width:78px; flex:0 0 78px; box-shadow:0 0 24px rgba(255,206,124,.32), inset -9px -12px 20px rgba(63,42,20,.38), inset 8px 8px 18px rgba(255,255,255,.22); }
.eciis-title { margin:0; font-family:var(--serif); font-size:2.4rem; color:var(--gold-light); line-height:1; }
.eciis-subtitle { margin:5px 0 0; color:var(--gold); letter-spacing:.18em; font-size:.62rem; }
.eciis-copy { color:var(--muted); font-size:.9rem; }
.eciis-mantra { text-align:center; color:var(--gold); letter-spacing:.3em; font-size:.62rem; margin-top:16px; padding-top:12px; border-top:1px solid var(--line); }

.benefit-grid,
.explore-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }

.benefit-card,
.explore-card { border:1px solid var(--gold-deep); border-radius:9px; background:rgba(255,255,255,.01); }
.benefit-card { padding:24px; }
.benefit-card h3 { font-family:var(--serif); color:var(--gold-light); font-size:1.45rem; line-height:1; }
.benefit-card p { color:var(--muted); font-size:.9rem; }

.explore-card {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:16px;
  align-items:center;
  padding:20px;
  min-height:145px;
}
.explore-card:hover { background:rgba(215,178,103,.05); }
.explore-label { color:var(--gold-light); font-size:.68rem; letter-spacing:.2em; font-weight:700; }
.explore-card p { color:var(--muted); font-size:.84rem; margin:.45rem 0 0; }
.card-arrow { color:var(--gold); font-size:1.4rem; }

.final-cta {
  min-height: 300px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  background:#090909;
}
.final-cta-layout { display:grid; grid-template-columns:1.1fr 1fr; gap:80px; align-items:center; position:relative; z-index:4; }
.final-cta-copy { color:var(--muted); border-left:1px solid var(--gold); padding-left:34px; }
.final-actions { display:flex; gap:16px; margin-top:22px; flex-wrap:wrap; }
.final-planet { position:absolute; width:520px; height:250px; left:-60px; bottom:-100px; border-radius:50%; background:radial-gradient(circle at 64% 8%, rgba(255,240,196,.95) 0 1%, rgba(211,150,66,.5) 4%, transparent 10%), radial-gradient(circle at 48% 42%, #392819 0 25%, #17130f 55%, #080808 72%); transform:rotate(-8deg); box-shadow:0 -10px 65px rgba(216,156,70,.18); }
.pearl-cta { width:110px; height:110px; left:24%; bottom:70px; z-index:2; }

.site-footer { background:#060606; }
.footer-top { min-height:130px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:28px; }
.footer-brand { justify-self:start; }
.footer-nav { font-size:.75rem; gap:22px; }
.footer-quote { justify-self:end; color:var(--gold-light); font-family:var(--serif); font-style:italic; max-width:240px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding:16px 0 28px; border-top:1px solid var(--line-soft); color:#938f89; font-size:.68rem; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns:1fr auto; }
  .main-nav { display:none; }
  .architecture-flow { grid-template-columns:1fr 1fr; }
  .flow-arrow { display:none; }
  .benefit-grid, .explore-grid { grid-template-columns:repeat(2,1fr); }
  .eciis-layout { grid-template-columns:1fr 1fr; }
  .eciis-layout .gold-button { grid-column:1/-1; }
  .problem-copy { width:65%; }
}

@media (max-width: 900px) {
  .page-shell { width:min(100% - 36px, var(--shell)); }
  .site-header { height:auto; padding:18px; }
  .header-cta { padding:10px 16px; font-size:.7rem; }
  .hero-content { grid-template-columns:1fr; min-height:auto; }
  .hero-copy { padding:72px 0 36px; }
  .hero-visual { min-height:420px; }
  .pearl-large { width:240px; left:24%; top:60px; }
  .orbit-a { width:430px; height:250px; top:58px; left:0; }
  .orbit-b { width:500px; height:300px; top:40px; left:-8%; }
  .orbit-c { width:340px; height:420px; top:18px; left:8%; }
  .hero-side-copy { right:8px; top:55px; font-size:.72rem; }
  .script-line { right:3%; bottom:35px; font-size:1.6rem; }
  .split-heading { grid-template-columns:1fr; gap:24px; }
  .side-intro { justify-self:start; }
  .dual-section { grid-template-columns:1fr; }
  .problem-panel { border-right:0; border-bottom:1px solid var(--line); min-height:560px; }
  .dual-panel { padding:56px 24px; }
  .problem-copy { width:62%; }
  .final-cta-layout { grid-template-columns:1fr; gap:28px; padding:56px 0; }
  .final-cta-copy { margin-left:18%; }
  .footer-top { grid-template-columns:1fr; padding:28px 0; }
  .footer-quote { justify-self:start; }
  .footer-nav { flex-wrap:wrap; }
}

@media (max-width: 640px) {
  .brand-name { font-size:1rem; }
  .header-cta { display:none; }
  .hero-copy h1 { font-size:3.5rem; }
  .hero-subhead { font-size:1.6rem; }
  .hero-visual { min-height:330px; }
  .pearl-large { width:190px; left:24%; }
  .hero-side-copy { display:none; }
  .script-line { font-size:1.35rem; }
  .section { padding:54px 0; }
  .section-heading h2, .problem-copy h2, .discipline-panel h2, .final-cta h2 { font-size:2.8rem; }
  .section-kicker { font-size:1.35rem; }
  .architecture-flow, .benefit-grid, .explore-grid, .eciis-layout { grid-template-columns:1fr; }
  .flow-card { min-height:auto; }
  .problem-copy { width:100%; }
  .planet-horizon { opacity:.35; right:-170px; }
  .eciis-brand-block { align-items:flex-start; }
  .eciis-mantra { letter-spacing:.15em; line-height:1.6; }
  .explore-card { min-height:auto; }
  .final-cta-copy { margin-left:0; }
  .footer-bottom { flex-direction:column; }
}
