:root {
  --bg: #0c0b09;
  --bg-elevated: #15130f;
  --bg-soft: #1c1914;
  --line: rgba(201, 162, 39, 0.22);
  --gold: #c9a227;
  --gold-bright: #e0c35a;
  --gold-muted: #8a7428;
  --cream: #f3ebe0;
  --cream-dim: #b8ae9f;
  --ink: #0c0b09;
  --danger: #c97a6a;
  --ok: #7f9e78;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(201, 162, 39, 0.06), transparent 50%),
    linear-gradient(180deg, #100e0b 0%, var(--bg) 40%, #090807 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

p { margin: 0 0 1rem; color: var(--cream-dim); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: rgba(201, 122, 106, 0.15);
  border-bottom: 1px solid rgba(201, 122, 106, 0.45);
  color: #f0c4bb;
  font-size: 0.95rem;
}

.shell {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

[data-include="header"] {
  min-height: var(--header-h);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 9, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover { color: var(--gold-bright); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-bright);
}

.site-nav .nav-cta {
  border: 1px solid var(--gold);
  padding: 0.45rem 0.9rem;
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: var(--cream);
  top: 50%;
}

.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, #d4af37, #a8861d);
  color: var(--ink);
  border-color: #e0c35a;
}

.btn-gold:hover { color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero-editorial {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.hero-editorial__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5rem);
  background:
    linear-gradient(160deg, rgba(12, 11, 9, 0.2), rgba(12, 11, 9, 0.92)),
    var(--bg);
  position: relative;
  z-index: 1;
}

.hero-editorial__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  color: var(--cream);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero-editorial__brand span {
  display: block;
  color: var(--gold);
  font-size: 0.42em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
}

.hero-editorial__lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 32rem;
  color: var(--cream-dim);
  margin-bottom: 2rem;
}

.hero-editorial__media {
  position: relative;
  min-height: 56vh;
}

.hero-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-editorial__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.55), transparent 35%);
}

.hero-compact {
  padding: clamp(4rem, 10vw, 7rem) 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero-compact .kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}

.gold-rule {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.25rem;
  border: 0;
}

.benefit-list {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.benefit-list h3 {
  margin-bottom: 0.4rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-bright);
  font-weight: 500;
}

.metric span {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.course-rail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.course-feature {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
}

.course-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-feature__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem;
  background: linear-gradient(transparent, rgba(8, 7, 5, 0.92) 35%);
}

.course-side {
  display: grid;
  gap: 1.5rem;
}

.course-side article {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.course-side h3 {
  font-size: 1.45rem;
}

.course-side a {
  text-decoration: none;
  color: inherit;
}

.course-side a:hover h3 {
  color: var(--gold-bright);
}

.quote-stack {
  display: grid;
  gap: 2rem;
}

.quote {
  border-left: 1px solid var(--gold);
  padding-left: 1.5rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--cream);
  line-height: 1.35;
}

.quote footer {
  color: var(--cream-dim);
  font-size: 0.92rem;
  margin-top: 0.85rem;
}

.cta-band {
  margin: 0 0 clamp(3rem, 7vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4rem);
  background:
    linear-gradient(120deg, rgba(201, 162, 39, 0.14), transparent 55%),
    var(--bg-elevated);
  border: 1px solid var(--line);
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #090807;
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer-heading {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

.footer-col a,
.footer-legal a {
  display: block;
  color: var(--cream-dim);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: var(--gold-bright);
}

.footer-contact p {
  font-size: 0.95rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1.1rem;
}

.footer-legal a { margin: 0; }

.catalog {
  display: grid;
  gap: 2.5rem;
}

.catalog-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.catalog-item img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-tier {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.price-tier.is-featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.12), transparent 40%),
    var(--bg-soft);
}

.price-tier .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-bright);
  margin: 0.75rem 0 0.35rem;
}

.price-tier .amount span {
  font-size: 1rem;
  color: var(--cream-dim);
  font-family: var(--font-body);
}

.price-tier ul {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.price-tier li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.note {
  font-size: 0.92rem;
  color: var(--cream-dim);
  margin-top: 1.5rem;
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.faq details p {
  margin-top: 0.85rem;
}

.modules {
  display: grid;
  gap: 1rem;
}

.module {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.module .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
}

.outcomes {
  columns: 2;
  gap: 2rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--cream-dim);
}

.outcomes li { margin-bottom: 0.65rem; break-inside: avoid; }

.instructor {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.instructor img {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 50%;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-row img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.blog-meta {
  color: var(--gold-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cream);
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.field textarea { min-height: 9rem; resize: vertical; }

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.1rem;
  margin-top: 0.35rem;
  color: #e2a599;
  font-size: 0.86rem;
}

.form-status {
  margin-top: 1rem;
  min-height: 1.4rem;
}

.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: #e2a599; }

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.4rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--bg-elevated);
  color: var(--gold-bright);
  font-weight: 600;
}

.case-study {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.case-study h3 { margin-bottom: 0.75rem; }

.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 42rem;
  margin-inline: auto;
  background: rgba(18, 16, 12, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem 1.25rem;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.hero-editorial__copy {
  animation: rise 1.1s var(--ease) both;
}

.hero-editorial__media {
  animation: fade 1.4s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 960px) {
  .hero-editorial,
  .split,
  .course-rail,
  .catalog-item,
  .price-grid,
  .blog-row,
  .contact-layout,
  .footer-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .split-reverse { direction: ltr; }

  .outcomes { columns: 1; }

  .instructor {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav-toggle { display: inline-block; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(9, 8, 7, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .site-nav.is-open { transform: none; }
}

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

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