:root {
  --bg: #0c0b09;
  --bg-elevated: #15130f;
  --bg-soft: #1c1914;
  --ink: #f3efe6;
  --ink-muted: #b7ae9c;
  --gold: #c9a227;
  --gold-bright: #e0bc4a;
  --gold-soft: #e8d5a3;
  --line: rgba(201, 162, 39, 0.28);
  --danger: #d97868;
  --ok: #8fbf8a;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 4px;
  --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(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(232, 213, 163, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.65;
  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(--gold-bright);
}

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

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.container {
  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.86);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn--gold {
  background: linear-gradient(135deg, #d4af37, #b8921f);
  color: #14110c;
  border-color: #e0bc4a;
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  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);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.25) 0%, rgba(12, 11, 9, 0.72) 55%, rgba(12, 11, 9, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.55), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
  max-width: 36rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.hero__brand em {
  font-style: italic;
  color: var(--gold);
}

.hero__lede {
  font-size: 1.05rem;
  max-width: 32rem;
}

.section {
  padding: 4.5rem 0;
}

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

.section__head {
  max-width: 38rem;
  margin-bottom: 2.2rem;
}

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

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

.split--reverse > :first-child {
  order: 2;
}

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

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

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.benefit-list li {
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
}

.benefit-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.5rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-grid {
  grid-template-columns: repeat(4, 1fr);
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.course-item,
.blog-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.course-item a,
.blog-item a {
  text-decoration: none;
}

.course-item img,
.blog-item img,
.cover-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.course-item:hover img,
.blog-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.course-item h3,
.blog-item h3 {
  color: var(--ink);
  margin: 0;
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-block: 1px solid var(--line);
}

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

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

.quote p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  font-style: italic;
}

.quote footer {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

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

.tier__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-soft);
  margin: 0.4rem 0 0.8rem;
}

.tier__price small {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.tier ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.tier li + li {
  margin-top: 0.35rem;
}

.tier--featured {
  border-color: var(--gold);
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

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

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

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

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

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

.prose {
  max-width: 42rem;
}

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

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

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

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

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.92rem;
}

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

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

.field__error {
  min-height: 1.1em;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
}

.form-status--ok {
  border-color: rgba(143, 191, 138, 0.5);
  color: var(--ok);
}

.form-status--err {
  border-color: rgba(217, 120, 104, 0.5);
  color: var(--danger);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  font-size: 1.15rem;
  color: var(--gold-soft);
}

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

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

.site-footer li + li {
  margin-top: 0.4rem;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 18rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

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

.inline-error {
  background: rgba(217, 120, 104, 0.12);
  border: 1px solid rgba(217, 120, 104, 0.45);
  color: var(--danger);
  padding: 0.75rem 1rem;
  margin: 0.75rem;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--gold);
}

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

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

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

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

.modules li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.modules span {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
}

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

.rating {
  color: var(--gold);
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .tier-grid,
  .review-grid,
  .split,
  .contact-layout,
  .footer-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

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

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

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

  .site-header__inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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