:root {
  color-scheme: dark;
  --ink: #04070f;
  --ink-soft: #081124;
  --panel: rgba(10, 20, 39, 0.76);
  --panel-strong: #0b162b;
  --line: rgba(207, 222, 255, 0.13);
  --line-bright: rgba(207, 222, 255, 0.27);
  --text: #f4f7fc;
  --muted: #9baaca;
  --gold: #d8b45c;
  --gold-pale: #f0d894;
  --blue: #5b9fe8;
  --blue-pale: #a9ccff;
  --max: 1240px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 76% 8%, rgba(54, 114, 210, 0.16), transparent 30rem),
    radial-gradient(circle at 15% 18%, rgba(216, 180, 92, 0.08), transparent 24rem),
    var(--ink);
  color: var(--text);
  font-family: "Sora", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  border-color: var(--line);
  background: rgba(4, 7, 15, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 27px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--gold-pale);
  border-left: 2px solid var(--gold-pale);
}

.brand-mark::before {
  left: 1px;
  transform: rotate(135deg);
}

.brand-mark::after {
  right: 1px;
  border-color: var(--blue);
  transform: rotate(-45deg);
}

.brand-word {
  font-family: "Cinzel", serif;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.brand-word b {
  color: var(--gold-pale);
}

.brand-word span {
  color: var(--blue-pale);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #c0cbe1;
  font-size: 12px;
  letter-spacing: 0.045em;
}

.site-nav > a {
  position: relative;
  padding: 27px 0 24px;
  transition: color 160ms ease;
}

.site-nav > a:not(.nav-portal)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transition: right 160ms ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: #fff;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  right: 0;
}

.nav-portal {
  padding: 11px 18px !important;
  border: 1px solid rgba(216, 180, 92, 0.5);
  border-radius: 999px;
  color: var(--gold-pale) !important;
}

.nav-portal:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 17, 36, 0.84);
  color: var(--text);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

main {
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.water-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.water-field::before,
.water-field::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  transform: translate3d(calc(var(--water-x, 0) * 1px), calc(var(--water-y, 0) * 1px), 0);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.water-field::before {
  width: min(66vw, 820px);
  height: min(48vw, 580px);
  right: -13%;
  top: 7%;
  background: radial-gradient(circle at 42% 48%, rgba(74, 150, 245, 0.35), rgba(33, 76, 153, 0.12) 42%, transparent 72%);
}

.water-field::after {
  width: min(48vw, 600px);
  height: min(38vw, 460px);
  left: 3%;
  bottom: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(216, 180, 92, 0.2), transparent 70%);
}

.water-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    linear-gradient(100deg, transparent 7%, rgba(91, 159, 232, 0.2) 42%, transparent 62%) 0 31% / 180% 1px no-repeat,
    linear-gradient(100deg, transparent 28%, rgba(216, 180, 92, 0.25) 58%, transparent 78%) 0 66% / 160% 1px no-repeat;
  animation: water-sweep 12s linear infinite alternate;
}

@keyframes water-sweep {
  from { background-position-x: -45%, 85%; }
  to { background-position-x: 90%, -30%; }
}

.hero {
  position: relative;
  min-height: 820px;
  padding: calc(var(--header) + 92px) 0 96px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 72px;
  align-items: end;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 27px 0 0;
  max-width: 920px;
  font-size: clamp(58px, 8.3vw, 126px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 em,
.page-hero h1 em,
.section-title em {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: var(--gold-pale);
}

.hero-side {
  padding-bottom: 7px;
}

.hero-side > p {
  margin: 0;
  color: #b4c0d8;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: #e8eef9;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 216, 148, 0.62);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  color: #10182a;
}

.button-arrow {
  width: 20px;
  height: 1px;
  background: currentColor;
}

.button-arrow::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translate(12px, -4px) rotate(45deg);
}

.journey {
  position: relative;
  z-index: 3;
  margin-top: -74px;
  padding-bottom: 90px;
}

.journey-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(4, 7, 15, 0.7);
  backdrop-filter: blur(16px);
}

.journey-card,
.feature-card {
  min-height: 250px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: background 180ms ease;
}

.journey-card:last-child,
.feature-card:last-child {
  border-right: 0;
}

.journey-card:hover,
.feature-card:hover {
  background: rgba(91, 159, 232, 0.08);
}

.card-number {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.journey-card h2,
.feature-card h3 {
  margin: auto 0 10px;
  font-size: 22px;
}

.journey-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.section {
  padding: 128px 0;
  border-bottom: 1px solid var(--line);
}

.section-compact {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}

.section-title {
  margin: 14px 0 0;
  font-size: clamp(39px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section-copy,
.lede {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.section-copy {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 90px;
  align-items: start;
}

.method-steps {
  counter-reset: method;
  border-top: 1px solid var(--line);
}

.method-step {
  counter-increment: method;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.method-step::before {
  content: "0" counter(method);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.method-step h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.program-list {
  border-top: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(220px, 0.5fr) 32px;
  gap: 24px;
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid var(--line);
  transition: padding 160ms ease, background 160ms ease;
}

.program-row:hover {
  padding: 0 18px;
  background: rgba(91, 159, 232, 0.055);
}

.program-row > span:first-child {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.program-row h3 {
  margin: 0;
  font-size: 25px;
}

.program-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.program-row > span:last-child {
  color: var(--blue-pale);
  font-size: 22px;
}

.quote-panel {
  position: relative;
  overflow: hidden;
  padding: 90px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(91, 159, 232, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(14, 28, 52, 0.98), rgba(6, 11, 23, 0.98));
}

.quote-panel blockquote {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.12;
}

.quote-panel footer {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.page-hero {
  position: relative;
  min-height: 610px;
  padding: calc(var(--header) + 100px) 0 94px;
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.page-hero .shell {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 1030px;
  font-size: clamp(56px, 7vw, 104px);
}

.page-hero .lede {
  max-width: 670px;
  margin: 34px 0 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  min-height: 330px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(13, 27, 52, 0.78), rgba(7, 14, 28, 0.72));
}

.detail-card .card-number {
  display: block;
  margin-bottom: 78px;
}

.detail-card h2,
.detail-card h3 {
  margin: 0 0 14px;
  font-size: 29px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.detail-card li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #c7d2e6;
  font-size: 13px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  min-height: 470px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.book-cover {
  width: 132px;
  aspect-ratio: 0.68;
  padding: 19px;
  display: flex;
  align-items: end;
  border: 1px solid rgba(240, 216, 148, 0.35);
  border-radius: 4px 11px 11px 4px;
  background:
    linear-gradient(145deg, rgba(216, 180, 92, 0.22), transparent 60%),
    #0b1931;
  box-shadow: 16px 20px 45px rgba(0, 0, 0, 0.32);
  color: var(--gold-pale);
  font-family: "Cinzel", serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.resource-card h2 {
  margin: auto 0 12px;
  font-size: 23px;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.resource-card .text-link {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 160ms ease;
}

.text-link:hover::after {
  width: 42px;
}

.timeline {
  border-left: 1px solid var(--line-bright);
  margin-left: 8px;
}

.timeline-item {
  position: relative;
  padding: 0 0 50px 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(216, 180, 92, 0.08);
}

.timeline-item span {
  color: var(--blue-pale);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 10px 0;
  font-size: 24px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 1.22fr);
  gap: 90px;
}

.contact-notes {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.contact-note {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-note span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-note strong {
  font-size: 16px;
}

.contact-form {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 9px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #cbd5e7;
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(3, 7, 15, 0.72);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91, 159, 232, 0.12);
}

.form-status {
  min-height: 23px;
  margin: 18px 0 0;
  color: var(--blue-pale);
  font-size: 12px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.cta-band .shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-band h2 {
  max-width: 780px;
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.1;
}

.site-footer {
  padding: 70px 0 36px;
  background: #03050a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 60px;
  padding-bottom: 56px;
}

.footer-grid p {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column a {
  color: #c1cde2;
  font-size: 13px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #6f7f9d;
  font-size: 11px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 17px;
  }

  .hero-grid,
  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-side {
    max-width: 650px;
  }

  .journey-grid,
  .card-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-card:nth-child(2),
  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .journey-card:nth-child(-n + 2),
  .feature-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-layout {
    gap: 52px;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 68px;
  }

  .nav-shell,
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(4, 7, 15, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  }

  .site-header.open .site-nav {
    display: grid;
  }

  .site-nav > a,
  .nav-portal {
    padding: 14px 13px !important;
  }

  .site-nav > a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding-top: calc(var(--header) + 70px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(50px, 15vw, 78px);
  }

  .journey {
    margin-top: -48px;
  }

  .section {
    padding: 92px 0;
  }

  .program-row {
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 22px 0;
  }

  .program-row p {
    grid-column: 2 / 4;
  }

  .quote-panel {
    padding: 58px 34px;
  }

  .page-hero {
    min-height: 540px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  .cta-band .shell,
  .footer-base {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: 760px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-side > p,
  .lede,
  .section-copy {
    font-size: 15px;
  }

  .journey-grid,
  .card-grid,
  .resource-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .journey-card,
  .feature-card,
  .journey-card:nth-child(2),
  .feature-card:nth-child(2) {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-card:last-child,
  .feature-card:last-child {
    border-bottom: 0;
  }

  .section-head {
    gap: 26px;
    margin-bottom: 40px;
  }

  .method-step {
    grid-template-columns: 42px 1fr;
  }

  .program-row {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
  }

  .program-row h3 {
    font-size: 20px;
  }

  .detail-card {
    min-height: 0;
    padding: 30px 24px;
  }

  .detail-card .card-number {
    margin-bottom: 54px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .field-full {
    grid-column: auto;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
