:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-soft: #1a1a1d;
  --bg-panel: #161618;
  --gold: #c9a227;
  --gold-bright: #d4af37;
  --gold-soft: #e8d5a3;
  --gold-dim: rgba(201, 162, 39, 0.18);
  --text: #f3efe6;
  --text-muted: #a8a29a;
  --text-dim: #7a746c;
  --line: rgba(232, 213, 163, 0.14);
  --danger: #d47878;
  --success: #7cb89a;
  --radius: 2px;
  --header-h: 4.5rem;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --shadow-gold: 0 0 0 1px var(--line);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --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(201, 162, 39, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 162, 39, 0.05), transparent 45%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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(--gold-bright);
}

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

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

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;
}

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

.container-narrow {
  width: min(100% - 2.5rem, 44rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

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

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft) !important;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--gold-dim);
}

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

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--gold-soft);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  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-primary {
  background: var(--gold);
  color: #0a0a0b;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: #0a0a0b;
  transform: translateY(-1px);
}

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

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

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

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.55) 45%, rgba(10, 10, 11, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.55) 0%, transparent 55%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold-soft);
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  line-height: 0.95;
}

.hero-line {
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
  animation: lineGrow 1.2s var(--ease) 0.3s both;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 28rem;
}

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

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

.page-hero p {
  max-width: 36rem;
  font-size: 1.1rem;
}

.page-hero-media {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-hero-media img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9);
}

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

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

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

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 22rem;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  filter: brightness(0.8);
}

/* Trust / proof */
.proof-band {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}

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

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

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

/* Feature list — not cards by default, but list with gold rules */
.benefit-list {
  display: grid;
  gap: 0;
}

.benefit-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.05s; }
.benefit-item:nth-child(2) { animation-delay: 0.15s; }
.benefit-item:nth-child(3) { animation-delay: 0.25s; }
.benefit-item:nth-child(4) { animation-delay: 0.35s; }

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

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

.item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  height: 100%;
}

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

.item-link img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.85);
}

.item-body {
  padding: 1.35rem 1.35rem 1.6rem;
}

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

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

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

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

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

.quote p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 1rem;
}

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

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

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

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

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

.price-tier h3 {
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--text);
  margin: 1rem 0 0.35rem;
}

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

.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;
}

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

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

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

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  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.85rem;
  min-height: 1.1rem;
}

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

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

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--danger);
  color: var(--danger);
  background: rgba(212, 120, 120, 0.08);
}

/* Legal */
.legal-content {
  padding: 3.5rem 0 5rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.legal-content h3 {
  margin-top: 1.75rem;
  font-size: 1.25rem;
  color: var(--gold-soft);
}

.legal-content ul {
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.legal-content li { margin-bottom: 0.45rem; }

.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 0.85rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--bg-soft);
  color: var(--gold-soft);
  font-weight: 500;
}

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

/* Modules / FAQ */
.module-list {
  border-top: 1px solid var(--line);
}

.module {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.module h3 {
  color: var(--gold-soft);
  margin-bottom: 0.4rem;
}

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

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

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.faq details[open] summary::after { content: "–"; }

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

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

.cta-band p {
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .btn-group {
  justify-content: center;
}

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

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

.footer-brand {
  margin-bottom: 2.5rem;
  max-width: 28rem;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.95rem;
}

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

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

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  display: none;
}

.cookie-banner.is-visible { display: block; animation: fadeUp 0.5s var(--ease); }

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

.cookie-banner a { color: var(--gold-soft); }

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

.cookie-actions .btn {
  padding: 0.7rem 1.15rem;
  font-size: 0.8rem;
}

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

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

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

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

.prose {
  max-width: 42rem;
}

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

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

.instructor {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.instructor img {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold);
  filter: brightness(0.9);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .item-grid,
  .price-grid,
  .proof-grid,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10, 10, 11, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .item-grid,
  .price-grid,
  .proof-grid,
  .footer-cols,
  .benefit-item {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    padding-bottom: 3rem;
  }
}
