:root {
  --bg: #0c0b09;
  --bg-elevated: #15130f;
  --bg-soft: #1c1914;
  --bg-panel: #221e18;
  --gold: #c9a962;
  --gold-bright: #e0c278;
  --gold-soft: #e8d5a3;
  --gold-dim: #8a7340;
  --text: #f3eee4;
  --text-muted: #a89f8f;
  --text-dim: #7a7266;
  --line: rgba(201, 169, 98, 0.22);
  --line-strong: rgba(201, 169, 98, 0.45);
  --danger: #d47a6a;
  --success: #8fba8a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --radius: 2px;
  --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(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 169, 98, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 169, 98, 0.06), transparent 45%),
    var(--bg);
  min-height: 100vh;
}

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

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

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

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(--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: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

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

.wide {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}

/* Header */
.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 {
  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(--text);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--gold);
  background:
    linear-gradient(135deg, transparent 48%, var(--gold) 48%, var(--gold) 52%, transparent 52%),
    linear-gradient(45deg, transparent 48%, var(--gold-soft) 48%, var(--gold-soft) 52%, transparent 52%);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  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: 1.5px;
  background: var(--gold);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

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

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

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

.nav-cta:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}

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

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

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a150c;
  border-color: var(--gold);
}

.btn-gold:hover {
  color: #0c0b09;
  background: linear-gradient(180deg, #edd9a0, var(--gold-bright));
}

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

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

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

/* Hero compositions */
.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 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(160deg, rgba(28, 25, 20, 0.4), transparent 50%),
    var(--bg-elevated);
}

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

.hero-copy h1 {
  margin-bottom: 0.4rem;
}

.hero-brand-line {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--gold-soft);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-lede {
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--text-muted);
}

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

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
  animation: kenburns 22s ease-in-out infinite alternate;
}

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

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero.with-image {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.page-hero.with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.7);
  z-index: -1;
}

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

.page-hero p {
  max-width: 40rem;
}

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

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

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

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

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

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

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

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.split:hover .split-media img {
  transform: scale(1.04);
}

/* Trust band */
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-item {
  background: var(--bg-elevated);
  padding: 2rem 1.5rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-soft);
  font-weight: 500;
}

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

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

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

.course-tile {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease;
}

.course-tile:hover {
  border-color: var(--gold);
}

.course-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1.1rem;
  filter: saturate(0.8);
}

.course-tile h3 {
  color: var(--text);
  margin-bottom: 0.45rem;
}

.course-meta {
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

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

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

.benefit-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

/* Testimonials */
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin-bottom: 2rem;
}

.quote-block p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--text);
  line-height: 1.4;
  font-style: italic;
}

.quote-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.testimonial-grid .quote-block:nth-child(even) {
  margin-left: clamp(0rem, 8vw, 4rem);
}

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

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

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

.price-tier.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  background: linear-gradient(180deg, #241f17, var(--bg-elevated));
}

.price-tier h3 {
  margin-bottom: 0.35rem;
}

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

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

.price-tier ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  flex: 1;
}

.price-tier li {
  margin-bottom: 0.55rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

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

.blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.75);
}

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

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

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article p,
.article li {
  color: var(--text-muted);
}

.article h2 {
  margin-top: 2rem;
}

.article-cover {
  margin: 2rem 0;
  border: 1px solid var(--line);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Forms */
.form-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold-soft);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.18);
}

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

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.4rem 0 0;
}

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

.form-status.is-success {
  border-color: var(--success);
  color: var(--success);
  background: rgba(143, 186, 138, 0.08);
}

.form-status.is-error {
  border-color: var(--danger);
  color: #f0c4bc;
  background: rgba(212, 122, 106, 0.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

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

.contact-aside h2 {
  font-size: 1.5rem;
}

.contact-aside p {
  white-space: pre-wrap;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1.1rem 1.25rem;
}

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

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

.faq-item[open] summary {
  color: var(--gold-soft);
  margin-bottom: 0.65rem;
}

/* Legal */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.6rem;
}

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

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

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

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

.module-list li {
  counter-increment: module;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

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

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

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

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

.footer-tag {
  max-width: 28rem;
  color: var(--text-dim);
}

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

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

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

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

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

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

.footer-contact p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  animation: rise 0.45s ease;
}

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

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

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

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

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

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

.cta-band {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 98, 0.12), transparent 60%),
    var(--bg-elevated);
}

.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}

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

.instructor {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--line);
  padding: 1.25rem;
  background: var(--bg-elevated);
}

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.8);
}

.case-study {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
}

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

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

.not-found .code {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-editorial,
  .split,
  .blog-card,
  .contact-layout,
  .pricing-grid,
  .grid-3,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .price-tier.featured {
    transform: none;
  }

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(12, 11, 9, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

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

  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
}
