/* ============================================================
   Regenesis — v2
   Deep purple #390332 / Gold #D19908 / White
   Display+body: EB Garamond · Labels: Jost
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@400;500;600&display=swap');

:root {
  --purple: #390332;
  --purple-deep: #22011e;
  --gold: #D19908;
  --gold-light: #f0cd6c;
  --white: #ffffff;
  --tint: #f8f3f7;
  --ink: #2a0a26;
  --ink-muted: #6b5568;

  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 56px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Nav (floats over hero) ---------- */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark { height: 46px; width: 46px; object-fit: contain; }
.brand-word {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.32em;
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 44px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.82);
}
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a.active { color: var(--gold-light); }
.nav-links a:not(.active):hover { color: var(--white); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(209,153,8,0.16), transparent 42%),
    linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  z-index: 0;
}
.hero-rings {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 0;
  align-items: end;
  padding-top: 160px;
}
.hero-copy { padding-bottom: 90px; }
.hero-copy .eyebrow { color: var(--gold-light); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.06;
  margin: 26px 0 30px;
  max-width: 13ch;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead {
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  max-width: 44ch;
  margin: 0 0 38px;
}
.btn-row { display: flex; gap: 20px; flex-wrap: wrap; }
.btn {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 34px;
  display: inline-block;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--purple-deep); font-weight: 600; }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: var(--purple-deep); }

.hero-figure {
  position: relative;
  align-self: end;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.hero-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  object-position: bottom;
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--gold);
  color: var(--purple-deep);
  padding: 16px 0;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 46px; animation: scroll 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: '✦'; opacity: .6; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section shell ---------- */
section { padding: 120px 0; position: relative; }
.section-alt { background: var(--tint); }
.section-dark { background: var(--purple); color: var(--white); }
.section-head { max-width: 680px; margin: 0 0 60px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.8vw, 48px);
  color: var(--purple);
  margin: 20px 0 0;
  line-height: 1.15;
}
.section-dark .section-head h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold-light); }

.lede { font-size: 20px; color: var(--ink-muted); max-width: 72ch; }
.section-dark .lede { color: rgba(255,255,255,0.78); }
.lede + .lede { margin-top: 20px; }

/* ---------- Integrated split (image + copy panel, no boxed frame) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.split-copy {
  background: var(--purple);
  color: var(--white);
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy .eyebrow { color: var(--gold-light); }
.split-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 42px);
  margin: 20px 0 26px;
  line-height: 1.2;
}
.split-copy p { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 46ch; margin: 0 0 20px; }

/* ---------- Identity flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.flow-step { position: relative; padding-top: 30px; border-top: 2px solid var(--gold); }
.flow-step .num {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
}
.flow-step h3 {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--purple);
  margin: 14px 0 12px;
  font-weight: 500;
}
.flow-step p { color: var(--ink-muted); font-size: 16.5px; margin: 0; }

/* ---------- Frameworks ---------- */
.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.fw-card { position: relative; }
.fw-card .idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 60px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.fw-card h3 { font-family: var(--serif); font-size: 24px; color: var(--purple); margin: 0 0 12px; font-weight: 600; }
.fw-card p { color: var(--ink-muted); font-size: 16px; margin: 0; }

/* ---------- Programs ---------- */
.programs { display: grid; gap: 0; }
.program-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  align-items: baseline;
}
.program-row:first-child { border-top: 1px solid rgba(255,255,255,0.14); }
.program-row .tag {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.program-row h4 { font-family: var(--serif); font-size: 27px; color: var(--white); margin: 0 0 8px; font-weight: 500; }
.program-row p { color: rgba(255,255,255,0.7); margin: 0; font-size: 16.5px; }

/* ---------- Closing ---------- */
.closing { background: var(--gold); color: var(--purple-deep); text-align: center; padding: 120px 0; }
.closing .eyebrow { color: var(--purple); }
.closing h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(32px, 4.6vw, 50px);
  margin: 24px auto 34px;
  max-width: 18ch;
  line-height: 1.25;
}

/* ---------- Footer ---------- */
footer { background: var(--purple-deep); color: rgba(255,255,255,0.6); padding: 60px 0 44px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 38px; width: 38px; object-fit: contain; }
.footer-brand span { font-family: var(--sans); letter-spacing: 0.22em; font-size: 13px; color: var(--white); font-weight: 600; }
.footer-meta { font-family: var(--sans); font-size: 13.5px; display: flex; gap: 30px; }
.footer-meta a:hover { color: var(--gold-light); }

/* ---------- ABOUT PAGE hero ---------- */
.about-hero {
  position: relative;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%);
  z-index: 0;
}
.about-hero-copy {
  position: relative;
  z-index: 1;
  padding: 200px 70px 90px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hero-copy .eyebrow { color: var(--gold-light); }
.about-hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 68px);
  margin: 20px 0 8px;
  line-height: 1.05;
}
.about-hero-copy .role {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 34px;
}
.about-hero-copy p { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 0 20px; }
.pull {
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 24px;
  margin: 30px 0 0;
  font-style: italic;
  color: var(--gold-light);
  font-size: 22px;
  max-width: 40ch;
}
.about-hero-media { position: relative; z-index: 1; }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Credo grid ---------- */
.credo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(57,3,50,0.12);
  border: 1px solid rgba(57,3,50,0.12);
}
.credo-item { background: var(--white); padding: 44px; }
.credo-item .eyebrow { display: block; margin-bottom: 16px; }
.credo-item h4 { font-family: var(--serif); color: var(--purple); font-size: 22px; margin: 0 0 10px; font-weight: 600; }
.credo-item p { color: var(--ink-muted); margin: 0; font-size: 16.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .wrap { padding: 0 28px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-figure { max-width: 340px; margin: 40px auto 0; }
  .hero-copy { padding-bottom: 50px; }
  .split { grid-template-columns: 1fr; }
  .split-media { height: 340px; }
  .split-copy { padding: 60px 32px; }
  .flow { grid-template-columns: 1fr; gap: 40px; }
  .fw-grid { grid-template-columns: 1fr; gap: 40px; }
  .program-row { grid-template-columns: 1fr; gap: 10px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-copy { padding: 150px 28px 60px; }
  .about-hero-media { height: 60vh; }
  .credo { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
