:root {
  --bg: #f5f1ea;
  --bg-deep: #ece6db;
  --surface: #fffbf6;
  --ink: #1a1612;
  --ink-soft: #5a5248;
  --gold: #9c7a4a;
  --gold-deep: #7e5f35;
  --gold-light: #c4a574;
  --line: #ddd4c6;
  --footer-bg: #1a1612;
  --footer-text: #e8e0d4;
  --error: #8f3d34;
  --success: #2f5d45;
  --shadow: 0 18px 40px rgba(26, 22, 18, 0.06);
  --radius: 10px;
  --header-h: 78px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --wide: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

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

h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--surface);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.script-error {
  background: #f4e4e0;
  color: var(--error);
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid #e2c7c1;
}

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

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

.header-inner {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

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

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

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

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: var(--gold);
}

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

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--sans);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.btn,
.btn-ghost,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  transition: 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn {
  background: var(--gold);
  color: #fffaf3;
  border-color: var(--gold);
}

.btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fffaf3;
}

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

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

.btn-text {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 3rem;
  align-items: end;
}

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

.hero-aside p {
  font-size: 1.08rem;
}

.ticket {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.ticket strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}

.ticket span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.voices {
  padding: 4.5rem 0 2rem;
}

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

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

.quote-card p {
  color: var(--ink);
  font-size: 1rem;
}

.quote-card footer {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

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

.flagship {
  padding: 3rem 0 5rem;
}

.flagship-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.flagship-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.flagship-copy {
  padding: 2.5rem 2.4rem;
}

.benefits {
  padding: 1rem 0 5rem;
}

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

.benefit-list article {
  border-top: 1px solid var(--gold-light);
  padding-top: 1.25rem;
}

.stats {
  background: var(--ink);
  color: var(--footer-text);
  padding: 3.25rem 0;
}

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

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: #fffaf3;
  font-weight: 500;
}

.stats span {
  color: #cfc6b8;
  font-size: 0.95rem;
}

.journal-home {
  padding: 5rem 0;
}

.journal-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.journal-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 140px;
}

.journal-card div {
  padding: 1.1rem 1.1rem 1.1rem 0;
}

.journal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

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

.closing {
  padding: 0 0 5.5rem;
}

.closing-box {
  background: var(--bg-deep);
  border-radius: 16px;
  padding: 3rem 3.2rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero.compact {
  padding-bottom: 1rem;
}

.lede {
  font-size: 1.2rem;
  max-width: 42rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 0 4rem;
}

.split img,
.frame img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.frame img {
  min-height: 280px;
}

.course-grid,
.price-grid,
.review-grid,
.blog-grid,
.atlas-grid {
  display: grid;
  gap: 1.35rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 4.5rem;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 4.5rem;
  align-items: stretch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.4rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h2,
.card-body h3 {
  font-size: 1.55rem;
  margin: 0;
}

.meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

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

.price-card.featured {
  background: var(--ink);
  color: var(--footer-text);
  border-color: var(--ink);
}

.price-card.featured h2,
.price-card.featured p,
.price-card.featured li {
  color: var(--footer-text);
}

.price-card .amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 0.3rem 0 0.8rem;
}

.price-card.featured .amount {
  color: var(--gold-light);
}

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

.price-card li + li {
  margin-top: 0.45rem;
}

.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-bottom: 4rem;
}

.modules {
  padding: 0 0 3.5rem;
}

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

.module-list strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold-deep);
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 0 0 3.5rem;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

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

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin: 0.7rem 0 0.2rem;
}

.outcomes {
  columns: 2;
  gap: 2rem;
  padding: 0 0 3rem;
}

.outcomes li {
  break-inside: avoid;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.review-grid {
  grid-template-columns: 1fr 1fr;
  padding-bottom: 2rem;
}

.case {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
}

.case img {
  width: 100%;
  border-radius: 14px;
  min-height: 260px;
  object-fit: cover;
}

.atlas-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 4rem;
}

.atlas-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  min-height: 220px;
}

.atlas-card span {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.legal {
  padding: 0 0 5rem;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  margin: 1.2rem 0 1.8rem;
  font-size: 0.95rem;
}

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

.legal th {
  background: var(--bg-deep);
  color: var(--ink);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
  padding: 0 0 5rem;
  align-items: start;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--gold-light);
  border-color: var(--gold);
}

.field-error {
  min-height: 1.2em;
  margin: 0.3rem 0 0;
  color: var(--error);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
}

.form-status.is-success {
  background: #e4efe8;
  color: var(--success);
}

.form-status.is-error {
  background: #f4e4e0;
  color: var(--error);
}

.visit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
}

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

.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem 6rem;
}

.error-page .code {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  margin: 0;
}

.blog-article {
  padding: 0 0 5rem;
}

.blog-article .cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0.5rem 0 2rem;
}

.blog-article .prose {
  max-width: 42rem;
}

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

.pull {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 1.1rem;
  margin: 1.6rem 0;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: auto;
  padding: 3.2rem 0 1.4rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
  gap: 2rem;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fffaf3;
  margin-bottom: 0.5rem;
}

.footer-lede,
.site-footer .footer-address,
.site-footer p,
.site-footer a {
  color: #cfc6b8;
}

.site-footer a:hover {
  color: #fffaf3;
}

.footer-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-bottom: 0.7rem;
}

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

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

.footer-links a {
  text-decoration: none;
}

.footer-base {
  width: min(100% - 2.5rem, var(--wide));
  margin: 2.2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid #3a342c;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
}

.cookie-banner-inner {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(26, 22, 18, 0.16);
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-btn {
  min-width: 7.2rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
}

.cookie-btn-accept,
.cookie-btn-reject {
  background: var(--surface);
}

.cookie-btn:hover {
  background: var(--bg-deep);
}

@media (max-width: 980px) {
  .hero-grid,
  .flagship-panel,
  .benefit-list,
  .stats .wrap,
  .journal-home-grid,
  .closing-box,
  .split,
  .course-grid,
  .price-grid,
  .review-grid,
  .blog-grid,
  .atlas-grid,
  .case,
  .contact-grid,
  .footer-inner,
  .voices-grid {
    grid-template-columns: 1fr;
  }

  .outcomes {
    columns: 1;
  }

  .flagship-panel img,
  .case img {
    min-height: 240px;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.9rem;
  }

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

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .journal-card,
  .instructor,
  .module-list li {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .wrap,
  .wrap-wide {
    width: min(100% - 1.5rem, var(--wide));
  }

  .closing-box,
  .flagship-copy {
    padding: 1.5rem;
  }
}

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

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