:root {
  --bg: #0e0c0a;
  --bg-soft: #14110e;
  --bg-card: #1b1713;
  --bg-raised: #221e18;
  --gold: #c4a574;
  --gold-bright: #e8d5b0;
  --gold-dim: #8a7350;
  --ink: #f3eee6;
  --ink-muted: #b7aea2;
  --ink-faint: #7d766c;
  --line: rgba(196, 165, 116, 0.24);
  --line-strong: rgba(196, 165, 116, 0.45);
  --danger: #d0907c;
  --ok: #9bb89a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --font-ui: "Karla", "Helvetica Neue", sans-serif;
  --measure: 70ch;
  --page: 1180px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-muted);
}

.lede {
  font-size: 1.15rem;
  max-width: var(--measure);
}

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

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

.inline-error {
  background: #3a221c;
  color: #f3d7cf;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--danger);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-ui);
  z-index: 1000;
}

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

.header-slot,
.footer-slot {
  min-height: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 12, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(196, 165, 116, 0.15);
}

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

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

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

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

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

.nav-toggle-bars {
  display: inline-block;
  width: 14px;
  height: 9px;
  margin-left: 0.45rem;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  vertical-align: middle;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-main {
  padding-bottom: 5rem;
}

.hero-editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: end;
  padding: 4.5rem 0 3rem;
}

.hero-frame {
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
  border: 1px solid var(--line);
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(14, 12, 10, 0.82);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-style: italic;
  padding: 0.55rem 0.85rem;
  font-size: 1.05rem;
}

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

.btn-gold {
  background: var(--gold);
  color: #1a150f;
}

.btn-gold:hover {
  background: var(--gold-bright);
  color: #1a150f;
}

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

.btn-ghost:hover {
  background: rgba(196, 165, 116, 0.12);
  color: var(--ink);
}

.quote-band {
  border-block: 1px solid var(--line);
  padding: 2.4rem 0;
  margin: 1rem 0 4rem;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-style: italic;
  color: var(--ink);
  max-width: 46rem;
}

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

.section {
  padding: 4.2rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

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

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

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

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

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

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

.card h3 {
  margin-bottom: 0.45rem;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

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

.card p {
  font-size: 0.95rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
}

.metric {
  padding: 1.4rem 1.1rem;
  border-top: 1px solid var(--gold);
  background: var(--bg-soft);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--gold-bright);
}

.metric span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

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

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.75);
}

.journal-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.journal-row {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.journal-row:hover h3 {
  color: var(--gold-bright);
}

.journal-row time {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.journal-row h3 {
  margin: 0;
  font-size: 1.55rem;
}

.journal-row span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.invite {
  margin-top: 3rem;
  padding: 3rem 2.4rem;
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.08), transparent 42%),
    var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
}

.invite p {
  margin-left: auto;
  margin-right: auto;
}

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

.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.5rem 2.2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-kicker {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-lede,
.footer-address {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

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

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

.footer-links a,
.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.footer-base {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.1rem 1.5rem 0;
  border-top: 1px solid var(--line);
}

.footer-base p {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0;
}

.page-hero {
  padding: 3.8rem 0 2.2rem;
}

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

.prose {
  max-width: 72ch;
}

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

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

.prose li {
  margin-bottom: 0.45rem;
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.course-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--line);
  min-height: 220px;
}

.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
}

.course-card .card-body {
  display: flex;
  flex-direction: column;
}

.flagship-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 2.5rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.module-list li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
}

.aside-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.instructor {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.2rem 0;
}

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

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

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

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

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

.price-card.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.12), transparent 38%),
    var(--bg-card);
}

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

.price-card ul {
  padding-left: 1.1rem;
  color: var(--ink-muted);
  flex: 1;
}

.price-note {
  font-size: 0.92rem;
  margin-top: 2rem;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.review {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.6rem;
}

.review.wide {
  grid-column: 1 / -1;
}

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

.attr {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}

.case {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin: 2.4rem 0;
  align-items: center;
}

.case img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.75);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
}

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

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

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

.form-status {
  padding: 0.9rem 1rem;
  font-family: var(--font-ui);
}

.form-status.is-success {
  background: #1d2a1d;
  color: var(--ok);
  border: 1px solid rgba(155, 184, 154, 0.4);
}

.form-status.is-error {
  background: #2d1c18;
  color: var(--danger);
  border: 1px solid rgba(208, 144, 124, 0.4);
}

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

.contact-card {
  border: 1px solid var(--line);
  padding: 1.6rem;
  background: var(--bg-card);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

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

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

.cookie-banner {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 80;
  width: min(440px, calc(100vw - 2rem));
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.cookie-banner-copy {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

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

.studio-ribbon {
  display: flex;
  gap: 2rem;
  overflow: auto;
  padding: 1.2rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.studio-ribbon span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-bright);
  white-space: nowrap;
}

.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.notfound .code {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
}

@media (max-width: 980px) {
  .hero-editorial,
  .split,
  .flagship-layout,
  .contact-grid,
  .case,
  .course-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .price-grid,
  .metrics,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame img,
  .split img,
  .case img {
    height: 280px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #120f0c;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1.2rem 1.5rem 1.6rem;
    align-items: flex-start;
    gap: 0.95rem;
  }

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

  .journal-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .course-card img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .btn {
    transition: none;
  }
}
