:root {
  --bg: #0a0908;
  --bg-soft: #12100d;
  --bg-elevated: #1a1712;
  --bg-line: rgba(201, 162, 39, 0.22);
  --gold: #c9a227;
  --gold-bright: #e8d48b;
  --gold-deep: #8a6f16;
  --ink: #f7f2e8;
  --ink-muted: #b0a898;
  --ink-dim: #7a7368;
  --danger: #d96b5c;
  --success: #7cb892;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Sora", "Segoe UI", sans-serif;
  --radius: 2px;
  --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(--sans);
  font-size: 1rem;
  line-height: 1.65;
  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 100% 0%, rgba(232, 212, 139, 0.06), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #0e0c0a 40%, var(--bg) 100%);
  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(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

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, 2vw, 1.7rem); }

p { margin: 0 0 1rem; 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;
}

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

.wide {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(10, 9, 8, 0.82);
  border-bottom: 1px solid var(--bg-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(--serif);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-decoration: none;
}

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

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

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  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;
  background: transparent;
  border: 1px solid var(--bg-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: 1px;
  background: var(--gold-bright);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--bg-line);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-nav.is-open { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.9rem 1.45rem;
  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-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #120f0a;
  border-color: var(--gold);
}

.btn-gold:hover {
  color: #120f0a;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

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

.btn-ghost:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--ink);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(247, 242, 232, 0.28);
}

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

/* Hero — brand-forward, full-bleed */
.hero-lux {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-lux-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.85);
  animation: ken 28s ease-in-out infinite alternate;
}

.hero-lux::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.92) 0%, rgba(10, 9, 8, 0.55) 48%, rgba(10, 9, 8, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.95) 0%, transparent 45%);
  z-index: 1;
}

.hero-lux-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
  max-width: 36rem;
  animation: rise 1s var(--ease) both;
}

.hero-brand {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  color: var(--gold-bright);
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
  line-height: 0.95;
}

.hero-lux-content h1 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.hero-lux-content p {
  font-size: 1.05rem;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fade-up 0.9s var(--ease) both;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

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

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

/* Social proof strip */
.proof-strip {
  border-block: 1px solid var(--bg-line);
  background: var(--bg-soft);
  padding: 2.25rem 0;
}

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

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

.proof-grid span {
  color: var(--ink-dim);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .proof-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Course / media rows */
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-media { order: 1; }

.feature-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bg-line);
  min-height: 320px;
}

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

.feature-media:hover img {
  transform: scale(1.04);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.course-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.course-tile:hover {
  border-color: var(--bg-line);
}

.course-tile-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--bg-line);
  margin-bottom: 1.1rem;
}

.course-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.course-tile:hover img {
  transform: scale(1.05);
}

.course-tile h3 {
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.course-tile p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.meta-line {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-media { order: initial; }
  .course-grid { grid-template-columns: 1fr; }
}

/* Quote / testimonials */
.quote-panel {
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold);
  padding: 2rem 2.25rem;
  margin: 0;
}

.quote-panel p {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.quote-panel footer {
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.testimonial-stack {
  display: grid;
  gap: 1.5rem;
}

.testimonial-stack article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bg-line);
}

.testimonial-stack article:last-child {
  border-bottom: 0;
}

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

/* Split CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  border-block: 1px solid var(--bg-line);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(201, 162, 39, 0.18), transparent 40%),
    var(--bg-soft);
  z-index: 0;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 18ch;
}

/* Page heroes (inner) */
.page-hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--bg-line);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.07), transparent 70%);
}

.page-hero.with-image {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border-bottom: 0;
  overflow: hidden;
}

.page-hero.with-image .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero.with-image .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38);
}

.page-hero.with-image .wrap {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
  max-width: 40rem;
}

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

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

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

.price-tier h3 {
  margin-bottom: 0.35rem;
}

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

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

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

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

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-tier.featured { transform: none; }
}

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

.blog-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--bg-line);
}

.blog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--bg-line);
}

.blog-item h2 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

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

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

.article-body ul,
.article-body ol {
  color: var(--ink-muted);
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.article-body li { margin-bottom: 0.4rem; }

@media (max-width: 700px) {
  .blog-item { grid-template-columns: 1fr; }
}

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

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

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

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

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

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

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

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

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

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

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

.legal-body h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

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

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

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

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

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

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

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

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

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

.module-list li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--bg-line);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
}

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

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

.footer-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.footer-tag {
  font-size: 0.92rem;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

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

.site-footer a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

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

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

.cookie-banner .btn {
  padding: 0.7rem 1.1rem;
}

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

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

/* Utility */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.script-error {
  background: rgba(217, 107, 92, 0.15);
  color: #f0b4ac;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.script-error:empty { display: none; }

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.list-clean li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--bg-line);
  color: var(--ink-muted);
}

.list-clean li::before {
  content: "—";
  color: var(--gold);
  margin-right: 0.75rem;
}

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

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

@media (max-width: 560px) {
  .instructor { grid-template-columns: 1fr; }
}

.case-study {
  background: var(--bg-soft);
  border: 1px solid var(--bg-line);
  padding: 2rem;
  margin-bottom: 2rem;
}

.muted { color: var(--ink-dim); }
.text-ink { color: var(--ink); }
