:root {
  --bg: #0c0b09;
  --bg-elevated: #161411;
  --bg-soft: #1c1914;
  --bg-panel: #221e18;
  --gold: #d4af37;
  --gold-deep: #c9a227;
  --gold-soft: #e8d5a3;
  --gold-muted: rgba(212, 175, 55, 0.18);
  --text: #f5f0e6;
  --text-muted: #a89f8f;
  --line: rgba(232, 213, 163, 0.16);
  --danger: #e08a7a;
  --success: #8fbf8a;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 2px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-h: 4.5rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(212, 175, 55, 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%, #0a0907 100%);
  background-attachment: fixed;
}

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

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

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

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

h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--text-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: -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: #3a1f1a;
  color: #ffd4cc;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--danger);
  font-size: 0.95rem;
}

.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 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold-deep);
  padding: 0.45rem 0.9rem;
  color: var(--gold-soft) !important;
}

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

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

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 26rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.85rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a150c;
  border-color: var(--gold-deep);
}

.btn-gold:hover {
  color: #0c0b09;
  transform: translateY(-1px);
}

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

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

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

main {
  overflow-x: clip;
}

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

.section-narrow {
  max-width: 48rem;
  margin: 0 auto;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 40rem;
}

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

/* Hero — editorial brand-forward composition */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  max-width: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
  background: linear-gradient(160deg, #14110d 0%, #0c0b09 70%);
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(transparent, var(--gold), transparent);
  opacity: 0.55;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold-soft);
  line-height: 0.95;
  margin: 0 0 1.75rem;
  animation: rise 0.9s ease both;
}

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

.hero-copy .lead {
  animation: rise 1s ease 0.22s both;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  animation: ken 18s ease-in-out infinite alternate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.45), transparent 35%);
  z-index: 1;
  pointer-events: none;
}

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

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

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

.reveal {
  animation: fade-up 0.8s ease both;
}

@media (max-width: 900px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-media {
    min-height: 16rem;
    order: -1;
  }
}

/* Trust band */
.trust-band {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2rem 1.5rem;
}

.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

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

.trust-grid span {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

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

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

.feature-split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.feature-meta {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

@media (max-width: 860px) {
  .feature-split {
    grid-template-columns: 1fr;
  }
}

/* Benefits */
.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

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

.benefit-item h3 {
  color: var(--text);
  margin-bottom: 0.4rem;
}

@media (max-width: 560px) {
  .benefit-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Course cards — interaction containers */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.course-card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-4px);
  color: inherit;
}

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

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

.course-card h3 {
  color: var(--text);
  font-size: 1.45rem;
}

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

.course-card .card-link {
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

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

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

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

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

.quote-block blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--text);
  line-height: 1.35;
  font-weight: 400;
}

.quote-block cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.quote-block.compact blockquote {
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: var(--text-muted);
}

/* Page heroes (interior) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  max-width: 46rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.page-hero-media {
  margin-top: 2rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.page-hero-media img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}

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

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

.price-tier.featured {
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), var(--bg-soft) 40%);
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--text);
  margin: 0.5rem 0 0.25rem;
}

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

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

.price-tier li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}

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

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

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

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

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-aside {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.contact-aside h2 {
  font-size: 1.5rem;
  color: var(--text);
}

.contact-aside p {
  margin-bottom: 0.85rem;
}

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

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

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

.blog-item:hover h2 {
  color: var(--gold);
}

.blog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-item h2 {
  font-size: 1.75rem;
  color: var(--text);
  transition: color 0.25s ease;
}

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

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

.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2.5rem;
  color: var(--text);
}

.prose h3 {
  margin-top: 1.75rem;
  color: var(--gold-soft);
}

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

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

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

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  color: var(--text-muted);
}

.prose th {
  color: var(--gold-soft);
  background: var(--bg-soft);
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  margin: 2rem 0;
}

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

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

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

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

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

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

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

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

/* Case study */
.case-study {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin: 2rem 0;
}

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

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
}

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

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

.footer-col h3 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 36rem;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--gold-deep);
  box-shadow: var(--shadow);
  animation: rise 0.5s ease both;
}

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

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

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

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

/* Instructor */
.instructor {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
}

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

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

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

.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.06)),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.cta-band h2 {
  color: var(--text);
}

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

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

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