:root {
  --bg: #0b0a09;
  --bg-elev: #13110f;
  --bg-card: #1a1714;
  --bg-soft: #221e1a;
  --gold: #c4a574;
  --gold-dim: #8d7348;
  --gold-bright: #e4d0a8;
  --ink: #f4eee4;
  --muted: #9c9386;
  --faint: #6e675c;
  --line: rgba(196, 165, 116, 0.22);
  --line-strong: rgba(196, 165, 116, 0.4);
  --danger: #c4786a;
  --ok: #8aab7a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif-display: "Cormorant Garamond", "Times New Roman", serif;
  --serif-body: "Source Serif 4", "Georgia", serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wide: 1180px;
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100%;
}

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

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

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

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.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: 0.75rem;
}

#site-header,
#site-footer {
  min-height: 1px;
}

.inline-error {
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: #2a1814;
  color: #f0c8c0;
  border: 1px solid var(--danger);
}

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

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

.wordmark {
  font-family: var(--serif-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  font-style: italic;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.35rem;
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  font-family: var(--serif-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  background: var(--bg-elev);
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.5rem var(--space) 2.5rem;
}

.footer-wordmark {
  font-family: var(--serif-display);
  font-size: 1.8rem;
  font-style: italic;
  margin: 0 0 0.4rem;
}

.footer-tag {
  color: var(--muted);
  max-width: 22rem;
  margin: 0 0 2.5rem;
}

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

.site-footer h2 {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

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

.site-footer li {
  margin: 0.35rem 0;
}

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

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

.footer-contact p {
  margin: 0.35rem 0;
  color: var(--muted);
  max-width: 16rem;
}

.footer-note {
  margin: 2.8rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.92rem;
}

/* Layout */
.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--space);
}

.page-main {
  padding-top: 3.2rem;
}

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

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

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  margin: 0 0 1.2rem;
  font-style: italic;
}

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

h3 {
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

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

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

.caption {
  color: var(--faint);
  font-size: 0.88rem;
  font-style: italic;
  margin-top: 0.7rem;
}

.plate {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

.plate-frame {
  margin: 3rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* Buttons */
.btn,
button.btn {
  display: inline-block;
  font-family: var(--serif-body);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
}

.btn:hover,
button.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);
}

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

.text-link {
  color: var(--gold);
}

/* Home masthead */
.masthead {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
  align-items: end;
  padding: 4.5rem 0 1rem;
}

.masthead-index {
  border-left: 1px solid var(--line);
  padding-left: 1.6rem;
}

.masthead-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: idx;
}

.masthead-index li {
  counter-increment: idx;
  margin: 0 0 1.15rem;
}

.masthead-index a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif-display);
  font-size: 1.45rem;
}

.masthead-index a::before {
  content: counter(idx, decimal-leading-zero) "  ";
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.masthead-index span {
  display: block;
  color: var(--muted);
  font-family: var(--serif-body);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

/* Proof */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 3.5rem 0;
}

.proof div {
  padding: 1.4rem 1.1rem;
  border-right: 1px solid var(--line);
}

.proof div:last-child {
  border-right: 0;
}

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

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

/* Sections */
.section {
  padding: 4.2rem 0;
}

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

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

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

.quote-card.long {
  padding: 2rem 1.8rem;
}

.quote-card p {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  line-height: 1.45;
  font-style: italic;
}

.quote-card.long p {
  font-size: 1.45rem;
}

.quote-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-family: var(--serif-body);
  margin: 1rem 0 0;
}

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

.featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.featured img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.75);
  border: 1px solid var(--line);
}

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

.method-card {
  padding: 1.6rem 0;
  border-top: 1px solid var(--gold-dim);
}

.method-card span {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.journal-row time {
  color: var(--gold-dim);
  font-size: 0.9rem;
}

.journal-row h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--ink);
}

.journal-row em {
  color: var(--muted);
  font-style: italic;
}

.closing {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  padding: 4rem 0 1rem;
  border-top: 1px solid var(--line);
}

.address-block {
  color: var(--muted);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s ease;
}

.card:hover {
  border-color: var(--line-strong);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.72);
}

.card-body {
  padding: 1.3rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h2,
.card-body h3 {
  margin-top: 0;
}

.card-body p {
  color: var(--muted);
  flex: 1;
}

.meta-row {
  color: var(--gold-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* Course detail */
.course-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.course-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7);
}

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

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

.modules b {
  color: var(--gold);
  font-weight: 500;
  font-family: var(--serif-display);
  font-size: 1.2rem;
}

.outcomes {
  columns: 2;
  gap: 2rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

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

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

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

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

.price-card.emphasis {
  border-color: var(--gold);
  background: linear-gradient(180deg, #1f1b16 0%, #141210 100%);
}

.price-card .amount {
  font-family: var(--serif-display);
  font-size: 2.6rem;
  color: var(--gold);
  margin: 0.6rem 0 0.2rem;
}

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

.price-card li {
  margin: 0.4rem 0;
}

.fine {
  color: var(--faint);
  font-size: 0.92rem;
}

/* Reviews / case studies */
.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  margin: 2.5rem 0;
  align-items: center;
}

.case img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7);
}

.review-mix {
  display: grid;
  gap: 1.1rem;
}

.review-mix .quote-card:nth-child(3) {
  max-width: 36rem;
}

/* Blog article */
.article {
  max-width: 42rem;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.article .cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
  filter: saturate(0.75);
}

.article p {
  color: #ddd4c6;
}

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

/* Contact + forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--gold-bright);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  margin-bottom: 0.35rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  font-family: var(--serif-body);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
}

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

.field {
  margin-bottom: 1.1rem;
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
}

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

.form-status.ok {
  display: block;
  background: #182016;
  border: 1px solid var(--ok);
  color: #c5dbb8;
}

.form-status.err {
  display: block;
  background: #2a1814;
  border: 1px solid var(--danger);
  color: #f0c8c0;
}

/* Legal */
.legal {
  max-width: 44rem;
}

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

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

.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: 500;
  background: var(--bg-elev);
}

/* 404 */
.lost {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}

.lost h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: #161310;
  border-top: 1px solid var(--gold-dim);
  padding: 1.15rem var(--space);
  box-shadow: var(--shadow);
}

.cookie-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Page-specific hero variants */
.page-kicker-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

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

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.narrow {
  max-width: 40rem;
}

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

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

.faq details p {
  color: var(--muted);
  margin: 0.7rem 0 0.2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

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

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

  .site-header {
    position: sticky;
  }

  .masthead,
  .featured,
  .closing,
  .course-hero,
  .contact-grid,
  .case,
  .split-copy,
  .two-col,
  .voices-grid,
  .price-grid,
  .card-grid,
  .method-grid,
  .footer-cols,
  .proof,
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .outcomes {
    columns: 1;
  }

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
