:root {
  --bg: #0c0b09;
  --bg-elevated: #15130f;
  --bg-soft: #1c1914;
  --ink: #f3efe6;
  --ink-muted: #b7ae9c;
  --gold: #c9a227;
  --gold-soft: #e0c56a;
  --gold-deep: #8a6d14;
  --line: rgba(201, 162, 39, 0.22);
  --danger: #d97868;
  --success: #7fbf8a;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --max: 1120px;
  --header-h: 4.5rem;
  --radius: 2px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --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(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(201, 162, 39, 0.08), transparent 50%),
    linear-gradient(180deg, #100e0b 0%, var(--bg) 40%, #090807 100%);
  min-height: 100vh;
}

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

a {
  color: var(--gold-soft);
  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.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

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

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

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

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

.inline-error {
  background: #3a1f1a;
  color: #ffd2c8;
  border-bottom: 1px solid var(--danger);
  padding: 0.75rem 1.25rem;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  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 var(--space);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

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

.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,
.nav-list a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--gold);
}

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

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

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

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

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

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .split.reverse > *:first-child {
    order: 2;
  }
}

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  transition: transform 1.2s var(--ease);
}

.frame:hover img {
  transform: scale(1.04);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), transparent 45%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

.btn-gold:hover {
  color: #111;
  background: linear-gradient(180deg, #ead27a, var(--gold-soft));
}

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

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

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

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

.hero-stage-media {
  position: absolute;
  inset: 0;
}

.hero-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 18s var(--ease) infinite alternate;
}

.hero-stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.92) 0%, rgba(8, 7, 5, 0.55) 48%, rgba(8, 7, 5, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 7, 5, 0.85) 0%, transparent 45%);
}

.hero-stage-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) var(--space) clamp(3rem, 8vw, 5rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.2rem);
  color: var(--ink);
  margin: 0 0 0.35em;
  letter-spacing: 0.02em;
}

.hero-line {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.5rem;
  transform-origin: left;
  animation: drawLine 1.1s var(--ease) both;
}

.hero-statement {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 1rem;
  font-weight: 400;
}

.hero-support {
  max-width: 34rem;
  color: var(--ink-muted);
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes drawLine {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

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

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

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

.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.06), transparent 70%);
}

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

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

@media (min-width: 800px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-soft);
  font-weight: 500;
}

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

/* Feature / benefit lists */
.benefit-rail {
  display: grid;
  gap: 0;
}

.benefit-item {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .benefit-item {
    grid-template-columns: 7rem 1fr;
    align-items: start;
  }
}

.benefit-index {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
}

/* Course cards / listings */
.catalog {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .catalog.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.program:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-3px);
}

.program-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-body h3 {
  margin-bottom: 0.45rem;
}

.program-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.program-meta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Quote / testimonials */
.quote-stack {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .quote-stack.asymmetric {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.quote {
  padding: 1.75rem;
  background: var(--bg-soft);
  border-left: 2px solid var(--gold);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.45;
}

.quote footer {
  margin-top: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.quote.compact p {
  font-size: 1.1rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

/* Pricing */
.tier-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 880px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

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

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

.tier-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.tier-price {
  font-size: 2.1rem;
  color: var(--gold-soft);
  font-family: var(--font-display);
  margin: 0.4rem 0 1rem;
}

.tier-price span {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-family: var(--font-body);
}

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

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

.price-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

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

.blog-item {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .blog-item {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }
}

.blog-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin: 1.5rem 0 2rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  color: var(--ink-muted);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

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

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

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--gold-soft);
}

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

/* Forms */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 0.85fr;
  }
}

.field {
  margin-bottom: 1.15rem;
}

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
}

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

.form-status.is-error {
  border-color: var(--danger);
  color: #ffc4b8;
}

.address-block {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

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

/* Modules / instructor */
.module-list {
  counter-reset: module;
  list-style: none;
  margin: 0;
  padding: 0;
}

.module-list li {
  counter-increment: module;
  padding: 1.2rem 0 1.2rem 3.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-muted);
}

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
}

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

@media (min-width: 700px) {
  .instructor {
    grid-template-columns: 160px 1fr;
  }
}

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

/* Legal */
.legal {
  max-width: 48rem;
}

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

.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-soft);
  color: var(--gold-soft);
  font-weight: 500;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(15, 13, 10, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.4);
  animation: riseIn 0.55s var(--ease) both;
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--space);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.cookie-banner-text {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
}

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

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

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

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

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

.footer-cols {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-heading {
  font-size: 1rem;
  letter-spacing: 0.14em;
  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.5rem;
}

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

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

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

/* Case study blocks */
.case {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  margin-bottom: 1.5rem;
}

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

/* Mobile nav */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

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

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

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

body.nav-open {
  overflow: hidden;
}
