:root {
  --bg: #0c0b09;
  --bg-elevated: #15130f;
  --bg-soft: #1c1914;
  --ink: #f3efe6;
  --ink-muted: #b8b0a0;
  --gold: #c9a227;
  --gold-bright: #e8d48b;
  --gold-dim: #8a7020;
  --line: rgba(201, 162, 39, 0.28);
  --danger: #d97868;
  --success: #7dba8a;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1180px;
  --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.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(232, 212, 139, 0.06), transparent 45%),
    linear-gradient(180deg, #100e0b 0%, var(--bg) 40%, #0a0908 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

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

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

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1em; color: var(--ink-muted); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inline-error {
  background: #3a1c18;
  color: #f5cfc8;
  border-bottom: 1px solid var(--danger);
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

/* Header */
.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 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 45%, var(--gold) 45%, var(--gold) 55%, transparent 55%);
  box-shadow: inset 0 0 0 3px rgba(12, 11, 9, 0.9);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}

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

.nav-list a:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
}

.nav-toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 5px 0 var(--gold), 0 -5px 0 var(--gold);
}

.nav-toggle-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.55rem;
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1508;
  border-color: var(--gold-dim);
}

.btn-gold:hover {
  color: #0c0b09;
  background: linear-gradient(180deg, #f0e2a8, var(--gold-bright));
}

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero full-bleed */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bleed-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.45);
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-bleed-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.35) 0%, rgba(12, 11, 9, 0.72) 55%, rgba(12, 11, 9, 0.95) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.75) 0%, transparent 55%);
}

.hero-bleed-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.4rem 4rem;
}

.hero-bleed .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold-bright);
  margin: 0 0 0.35em;
  letter-spacing: 0.015em;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-bleed h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 400;
  color: var(--ink);
  max-width: 22ch;
  animation: riseIn 1s 0.12s var(--ease) both;
}

.hero-bleed .hero-support {
  max-width: 34rem;
  animation: riseIn 1s 0.22s var(--ease) both;
}

.hero-bleed .btn-group {
  animation: riseIn 1s 0.32s var(--ease) both;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLine {
  from { width: 0; opacity: 0; }
  to { width: 3.5rem; opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.85s var(--ease) forwards;
}

.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.3s; }

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(21, 19, 15, 0.85);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  text-align: center;
}

.trust-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-bright);
  font-weight: 500;
}

.trust-grid span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* Featured deep dive */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.feature-split img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  filter: saturate(0.85);
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.feature-meta span {
  border-left: 1px solid var(--gold-dim);
  padding-left: 0.85rem;
}

/* Benefits */
.benefit-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.benefit-item h3 {
  color: var(--ink);
}

/* Course grid — interaction containers for browse/select */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.course-tile {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}

.course-tile:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  color: inherit;
}

.course-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-tile-body {
  padding: 1.35rem 1.35rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-tile h3 {
  color: var(--gold-bright);
  font-size: 1.45rem;
}

.course-tile p {
  flex: 1;
  font-size: 0.98rem;
}

.course-tile .tile-meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.quote-block {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.quote-block:first-child {
  border-top: 1px solid var(--line);
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--ink);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.quote-block .stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Page heroes (inner) */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero-media {
  margin-top: 2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.page-hero-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7);
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.price-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
}

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

.price-tier h3 {
  color: var(--gold-bright);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--ink);
  margin: 0.4rem 0 0.2rem;
}

.price-amount span {
  font-size: 1rem;
  color: var(--ink-muted);
}

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

.price-tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.field-error {
  min-height: 1.2em;
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

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

.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.address-block p {
  margin-bottom: 0.55rem;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s var(--ease);
}

.blog-row:hover {
  opacity: 0.88;
  color: inherit;
}

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

.blog-row h2 {
  font-size: 1.7rem;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}

.article-body {
  max-width: 42rem;
  margin: 2.5rem auto 4rem;
  padding: 0 1.4rem;
}

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

.article-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-height: 460px;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  filter: brightness(0.75);
}

/* Legal */
.legal-body {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.4rem 4.5rem;
}

.legal-body h2 {
  margin-top: 2rem;
  font-size: 1.65rem;
}

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

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

.legal-body th {
  background: var(--bg-elevated);
  color: var(--gold-bright);
}

/* Modules / FAQ */
.module-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.module-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}

.module-list strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

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

.faq-list p {
  margin-top: 0.75rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* CTA band */
.cta-band {
  margin: 3rem 0 0;
  padding: 3.5rem 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(201, 162, 39, 0.08), transparent 40%),
    var(--bg-elevated);
  text-align: center;
}

.cta-band h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

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

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: riseIn 0.5s var(--ease);
}

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

.cookie-banner p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

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

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  color: var(--gold);
  line-height: 1;
  margin: 0;
}

/* Case study */
.case-study {
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold);
  padding: 1.75rem 1.5rem;
  margin: 2rem 0;
}

.case-study h3 {
  color: var(--gold-bright);
}

/* Outcomes list */
.outcome-list {
  columns: 2;
  gap: 2rem;
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.outcome-list li {
  margin-bottom: 0.55rem;
  break-inside: avoid;
}

@media (max-width: 960px) {
  .feature-split,
  .contact-layout,
  .price-grid,
  .course-grid,
  .benefit-rail,
  .trust-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .blog-row {
    grid-template-columns: 1fr;
  }

  .outcome-list {
    columns: 1;
  }

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(12, 11, 9, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.4rem 1.4rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.85rem;
  }
}

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