:root {
  --bg: #0c0b09;
  --bg-raised: #161410;
  --bg-inset: #1c1914;
  --cream: #f4efe6;
  --cream-dim: #c9c0b3;
  --muted: #8f877a;
  --gold: #c4a574;
  --gold-bright: #d8bc8b;
  --gold-deep: #8d6f45;
  --line: rgba(196, 165, 116, 0.22);
  --line-strong: rgba(196, 165, 116, 0.45);
  --danger: #e3b6a4;
  --ok: #c5d4b8;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --max: 1180px;
  --wide: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--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;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1.1em; }

figure { margin: 0; }

address { font-style: normal; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  z-index: 100;
}

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

.inline-error {
  background: #2a1814;
  color: var(--danger);
  border: 1px solid rgba(227, 182, 164, 0.35);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* 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 {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.05rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
}

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

.wordmark-mark {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
}

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

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

.site-nav a {
  color: var(--cream-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--gold);
  margin: 7px 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 1.5rem 2.5rem;
  margin-top: 5rem;
  background: #0a0908;
}

.footer-grid {
  max-width: var(--wide);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.8fr 0.8fr;
  gap: 2.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.footer-blurb,
.footer-address,
.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

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

.footer-links a,
.site-footer a {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

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

/* Layout */

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

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

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

.lead {
  font-size: 1.18rem;
  color: var(--cream-dim);
  max-width: 42rem;
}

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

.section {
  padding: 5.2rem 0;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid {
  background: var(--gold);
  color: var(--bg);
}

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

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

/* Hero — editorial, image below title, overlapping caption */

.hero-editorial {
  padding: 3.5rem 0 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.6rem 0 2rem;
}

.hero-meta span strong {
  display: block;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.hero-frame {
  position: relative;
  margin-top: 1rem;
}

.hero-frame img {
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.hero-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: 22rem;
  background: rgba(12, 11, 9, 0.78);
  border: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream-dim);
}

/* Journal strip */

.journal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journal-item {
  padding: 1.8rem 1.6rem;
  border-right: 1px solid var(--line);
  color: inherit;
  display: block;
  transition: background 0.3s var(--ease);
}

.journal-item:last-child { border-right: 0; }

.journal-item:hover { background: var(--bg-raised); }

.journal-item .date {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-item h3 {
  font-size: 1.35rem;
  margin: 0.5rem 0 0;
  color: var(--cream);
}

/* Manifesto */

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.manifesto-item {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
}

/* Cards */

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

.card {
  background: var(--bg-raised);
  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(-3px);
}

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

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

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

.card-body p {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Featured course */

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 1px solid var(--line);
}

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

.feature-copy {
  padding: 3rem 2.6rem;
  background: var(--bg-raised);
}

/* Voices */

.voices {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
}

.quote-block {
  border: 1px solid var(--line);
  padding: 2rem;
  background: var(--bg-raised);
}

.quote-block p {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--cream);
}

.quote-attr {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  font-family: var(--sans);
}

.quote-stack {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.quote-small {
  border-left: 1px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.2rem;
  color: var(--cream-dim);
}

/* Atlas teaser */

.atlas-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.atlas-band img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08);
}

/* Invitation */

.invite {
  text-align: center;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.invite h2 { margin-bottom: 0.4rem; }

/* Page heads */

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

.page-head p { max-width: 40rem; color: var(--cream-dim); }

/* Pricing */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.5rem;
}

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

.tier.featured {
  border-color: var(--gold);
  background: #1a1712;
}

.tier h3 { font-size: 2rem; }

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

.price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: var(--sans);
}

.tier ul {
  padding-left: 1.1rem;
  color: var(--cream-dim);
  flex: 1;
  margin-bottom: 1.6rem;
}

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

.note-box {
  margin-top: 2rem;
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Forms */

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

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.1rem 0 0.4rem;
}

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

textarea { min-height: 10rem; resize: vertical; }

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

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: none;
}

.form-status.is-ok {
  display: block;
  background: #182016;
  color: var(--ok);
  border: 1px solid rgba(197, 212, 184, 0.3);
}

.form-status.is-err {
  display: block;
  background: #2a1814;
  color: var(--danger);
  border: 1px solid rgba(227, 182, 164, 0.35);
}

.aside-card {
  border: 1px solid var(--line);
  padding: 1.8rem;
  background: var(--bg-raised);
}

.aside-card h2 { font-size: 1.6rem; }

/* Course detail */

.module-list {
  counter-reset: mod;
}

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

.module::before {
  counter-increment: mod;
  content: counter(mod, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.3rem;
}

.instructor {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.8rem;
  align-items: center;
  border: 1px solid var(--line);
  padding: 1.4rem;
  background: var(--bg-raised);
}

.instructor img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  filter: saturate(0.85);
}

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

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

.faq details p {
  color: var(--cream-dim);
  margin: 0.8rem 0 0.2rem;
}

.outcomes {
  columns: 2;
  gap: 2rem;
  color: var(--cream-dim);
}

.outcomes li { break-inside: avoid; margin-bottom: 0.55rem; }

/* Reviews page */

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

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

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

.case-study {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.case-study img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: saturate(0.75);
}

/* Blog */

.blog-list article {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.8rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

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

.article-hero img {
  width: 100%;
  height: min(52vh, 460px);
  object-fit: cover;
  filter: saturate(0.78);
  margin: 1.5rem 0 2rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
  font-size: 1.8rem;
}

.article-body blockquote {
  margin: 1.8rem 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--cream-dim);
}

/* Legal */

.legal {
  max-width: 46rem;
  color: var(--cream-dim);
}

.legal h2 {
  color: var(--cream);
  margin-top: 2.2rem;
  font-size: 1.7rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

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

.legal th {
  color: var(--gold);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 404 */

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

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

/* Cookie banner */

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 80;
  max-width: 40rem;
  margin: 0 auto;
  background: #14120e;
  border: 1px solid var(--line-strong);
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner p {
  color: var(--cream-dim);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

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

/* Utility */

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

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

@media (max-width: 960px) {
  .footer-grid,
  .journal-strip,
  .manifesto,
  .card-grid,
  .feature-split,
  .voices,
  .atlas-band,
  .tiers,
  .contact-layout,
  .review-grid,
  .case-study,
  .blog-list article,
  .instructor,
  .split-2,
  .outcomes {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .feature-split img,
  .atlas-band img,
  .case-study img {
    min-height: 240px;
    height: 260px;
  }

  .nav-toggle { display: block; }

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

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

  .hero-caption {
    position: static;
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .header-inner { padding: 0.9rem 1rem; }
  .hero-editorial { padding-top: 2rem; }
  .section { padding: 3.4rem 0; }
  .card-grid { grid-template-columns: 1fr; }
}
