:root {
  --bg: #0c0b09;
  --bg-2: #12100c;
  --bg-elev: #17150f;
  --bg-card: #1c1913;
  --gold: #c6a15b;
  --gold-bright: #e0c27a;
  --gold-dim: #8a703c;
  --gold-soft: rgba(198, 161, 91, 0.12);
  --cream: #f4eee4;
  --text: #e8e1d5;
  --muted: #9b9286;
  --line: rgba(198, 161, 91, 0.22);
  --line-strong: rgba(198, 161, 91, 0.45);
  --danger: #c97a6a;
  --ok: #8aaa7a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Source Serif 4", Georgia, serif;
  --ui: "Outfit", system-ui, sans-serif;
  --max: 1180px;
  --wide: 1360px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--cream);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0 0 0.55em; }
h3 { font-size: 1.65rem; margin: 0 0 0.4em; }
h4 { font-size: 1.25rem; margin: 0 0 0.3em; }

p { margin: 0 0 1.1em; }

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

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

.kicker {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

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

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

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

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

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

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.4rem;
}

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

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

.nav-toggle {
  display: none;
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

/* Buttons */
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-solid {
  background: var(--gold);
  color: #16130e;
}

.btn-solid:hover {
  background: var(--gold-bright);
  color: #16130e;
}

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

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

.text-link {
  font-family: var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
}

/* Hero — editorial split */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 76px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(1200px 400px at 0% 100%, rgba(198, 161, 91, 0.08), transparent 60%),
    var(--bg);
}

.hero-copy h1 {
  font-style: italic;
  font-weight: 500;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

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

.hero-caption {
  margin-top: 2.5rem;
  font-family: var(--ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: saturate(0.7) contrast(1.05);
  transform: scale(1.04);
}

.hero-visual figcaption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: rgba(12, 11, 9, 0.72);
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.72);
}

.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.card-body h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4em;
}

.card-meta {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* Quote band */
.quote-band {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 46rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--cream);
}

.quote-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--ui);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.stat {
  padding: 2rem 1.4rem;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat span {
  font-family: var(--ui);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Testimonials */
.voice {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.7rem 1.8rem 1.5rem;
}

.voice p { margin-bottom: 1rem; }

.voice footer {
  font-family: var(--ui);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.stars {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

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

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

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(198, 161, 91, 0.08), var(--bg-card) 40%);
}

.price-card .amount {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin: 0.4rem 0 1rem;
}

.price-card ul {
  margin: 0 0 1.6rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-card li { margin-bottom: 0.45rem; }

/* Forms */
form {
  display: grid;
  gap: 1rem;
}

label {
  font-family: var(--ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

input,
textarea,
select {
  font: inherit;
  font-size: 1rem;
  color: var(--cream);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.85rem 0.95rem;
  width: 100%;
}

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

textarea { min-height: 140px; resize: vertical; }

.field-error,
.form-status,
.inline-error {
  font-family: var(--ui);
  font-size: 0.85rem;
}

.field-error { color: var(--danger); }

.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Article */
.article-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  filter: saturate(0.75);
}

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

.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }

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

.page-hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 2.5rem;
}

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

/* Modules */
.module {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

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

.module-n {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--gold);
}

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

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

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--cream);
}

.faq details p {
  margin-top: 0.7rem;
  color: var(--muted);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.legal {
  max-width: 46rem;
}

.legal h2 { margin-top: 2em; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 80;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  max-width: 860px;
  margin-inline: auto;
}

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

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

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

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

.footer-label {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.footer-tag,
.footer-address {
  color: var(--muted);
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.88rem;
}

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

.footer-links li { margin-bottom: 0.35rem; }

.footer-end {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin: 2.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 0.75rem;
  color: var(--muted);
}

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

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

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

.case-study img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 1.4rem;
  filter: saturate(0.7);
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.not-found h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  font-style: italic;
  color: var(--gold);
}

@media (max-width: 960px) {
  .hero-editorial,
  .split,
  .card-grid,
  .price-grid,
  .stat-row,
  .footer-grid,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .stat { border-right: 0; border-bottom: 1px solid var(--line); }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
  }

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

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 0.7rem;
    right: 0.7rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
