:root {
  --bg: #0c0b09;
  --bg-elevated: #15130f;
  --bg-soft: #1c1914;
  --ink: #f4efe4;
  --ink-muted: #b7aea0;
  --gold: #c9a227;
  --gold-soft: #e0c56a;
  --gold-deep: #8f7010;
  --line: rgba(201, 162, 39, 0.28);
  --danger: #d98a7a;
  --success: #8fbf9a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --radius: 2px;
  --header-h: 4.5rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  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(201, 162, 39, 0.06), transparent 50%),
    linear-gradient(180deg, #100e0b 0%, var(--bg) 40%, #090807 100%);
  min-height: 100vh;
}

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

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

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

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

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, 2.2vw, 1.75rem);
}

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

.inline-error {
  background: #3a1f1a;
  color: #f3cfc7;
  border-bottom: 1px solid var(--danger);
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 9, 0.82);
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
}

.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 {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

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

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

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

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: var(--gold);
  top: 50%;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

.btn-gold:hover {
  color: #0c0b09;
}

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

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

.hero-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background:
    linear-gradient(160deg, rgba(28, 25, 20, 0.95), rgba(12, 11, 9, 0.92));
}

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

.hero-brand {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.92;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(120deg, #f7f1e4 20%, var(--gold-soft) 55%, #f7f1e4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandSheen 8s ease-in-out infinite;
}

@keyframes brandSheen {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--ink);
  max-width: 28ch;
  margin: 0;
}

.hero-support {
  max-width: 38ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

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

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.55), transparent 40%);
  pointer-events: none;
}

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

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

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

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

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

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

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

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

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

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

.program-list {
  display: grid;
  gap: 0;
}

.program-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
}

.program-row:hover {
  background: rgba(201, 162, 39, 0.05);
}

.program-row img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.program-row h3 {
  color: var(--ink);
  margin-bottom: 0.35rem;
}

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

.quote-panel {
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.quote-panel blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--ink);
  line-height: 1.35;
}

.quote-panel cite {
  color: var(--ink-muted);
  font-style: normal;
  font-size: 0.95rem;
}

.benefit-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-rail article {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.benefit-rail h3 {
  color: var(--ink);
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

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

.page-hero p {
  max-width: 42ch;
}

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

.course-card,
.blog-card,
.price-tier {
  background: var(--bg-elevated);
  border: 1px solid rgba(201, 162, 39, 0.2);
  overflow: hidden;
}

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

.course-card .body,
.blog-card .body,
.price-tier .body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.price-tier.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}

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

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

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

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

.review-stack {
  display: grid;
  gap: 1.25rem;
}

.review-item {
  padding: 1.5rem;
  background: var(--bg-soft);
  border: 1px solid rgba(201, 162, 39, 0.14);
}

.review-item p:last-child {
  margin-bottom: 0;
}

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

.case-study {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.form-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

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

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

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.field {
  margin-bottom: 1.1rem;
}

input,
textarea,
select {
  width: 100%;
  background: #0a0908;
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  font: inherit;
  border-radius: var(--radius);
}

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

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
}

.form-status--success {
  color: var(--success);
  border-color: rgba(143, 191, 154, 0.4);
  background: rgba(143, 191, 154, 0.08);
}

.form-status--error {
  color: var(--danger);
  border-color: rgba(217, 138, 122, 0.4);
  background: rgba(217, 138, 122, 0.08);
}

.legal {
  max-width: 48rem;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  border: 1px solid rgba(201, 162, 39, 0.22);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

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

.faq details {
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  padding: 1rem 0;
}

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

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

.module-list {
  counter-reset: module;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: module;
  padding: 1.1rem 0 1.1rem 3.2rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
  position: relative;
  color: var(--ink-muted);
}

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

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

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

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

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

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

.footer-col h2 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
}

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

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

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

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

.footer-legal {
  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);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-legal ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: #17140f;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: riseIn 0.45s ease;
}

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

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

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

.error-page h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--gold);
  margin-bottom: 0.2rem;
}

@media (max-width: 960px) {
  .hero-editorial,
  .split,
  .form-shell,
  .case-study,
  .footer-grid,
  .card-grid,
  .benefit-rail,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .program-row {
    grid-template-columns: 1fr;
  }

  .program-row img {
    width: 100%;
    height: 180px;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(12, 11, 9, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

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