:root {
  --ink: #1c1814;
  --ink-soft: #4a433a;
  --muted: #7a7268;
  --paper: #f6f1e8;
  --paper-deep: #efe6d8;
  --card: #fffcf7;
  --line: #e4d9c8;
  --bronze: #8f6840;
  --bronze-deep: #6e4e2e;
  --gold: #c4a46a;
  --blush: #c9a090;
  --success: #2f5d3a;
  --danger: #8a3b32;
  --shadow: 0 18px 40px rgba(28, 24, 20, 0.06);
  --radius: 14px;
  --measure: 68ch;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip {
  position: absolute;
  left: 0.8rem;
  top: -40rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

.skip:focus {
  top: 0.8rem;
}

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

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

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.45rem;
}

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

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

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.85rem;
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

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

.inline-error {
  background: #f6e4df;
  color: var(--danger);
  padding: 0.85rem 1.2rem;
  text-align: center;
  font-size: 0.95rem;
}

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

.header-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}

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

.wordmark:hover {
  color: var(--bronze-deep);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.35em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--bronze);
  color: #fbf8f3;
  border-color: var(--bronze);
}

.btn-solid:hover {
  background: var(--bronze-deep);
  color: #fff;
}

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

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

.btn-text {
  background: none;
  border: 0;
  padding: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1rem;
  color: var(--bronze-deep);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: end;
  padding: 4.5rem 0 3rem;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.stat-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}

.stat-stack dt {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
}

.stat-stack dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-band {
  background: var(--paper-deep);
}

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

blockquote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.4rem;
  box-shadow: var(--shadow);
}

blockquote p {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}

blockquote footer {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
  font-family: var(--sans);
}

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

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

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

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

.card h3 a:hover {
  color: var(--bronze-deep);
}

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

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

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.benefit-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.case-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.case-copy {
  padding: 2rem 2rem 2rem 0.5rem;
}

.journal-list article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.journal-list.plain article {
  grid-template-columns: 1fr;
}

.journal-list img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.cta-quiet {
  text-align: center;
  padding: 4.5rem 0 5.5rem;
}

.cta-quiet h2 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background: #2a241c;
  color: #efe6d8;
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #e7d7b8;
}

.site-footer h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--gold);
}

.site-footer p,
.site-footer li {
  color: #d8cbb8;
  font-size: 0.95rem;
}

.footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

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

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

.footer-inner .wordmark {
  color: #f6f1e8;
  margin-bottom: 0.6rem;
}

.footer-lede {
  max-width: 32ch;
}

.copyright {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 2.4rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(196, 164, 106, 0.25);
  color: #b6aa98;
  font-size: 0.85rem;
}

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

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

.prose {
  max-width: var(--measure);
}

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

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

.avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
}

.instructor {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}

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

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

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

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

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

.faq details p {
  margin-top: 0.7rem;
}

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

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

.price-card.featured {
  border-color: var(--bronze);
  background: #fff9f0;
}

.price-card .amount {
  font-family: var(--serif);
  font-size: 2.3rem;
  color: var(--ink);
  margin: 0.4rem 0 0.2rem;
}

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

.review-stack {
  display: grid;
  gap: 1.2rem;
}

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

.review-card.wide {
  max-width: none;
}

.stars {
  color: var(--bronze);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

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

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

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

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
}

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

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

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

.address-block {
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #2a241c;
  color: #efe6d8;
  border-top: 1px solid rgba(196, 164, 106, 0.35);
  padding: 1rem 0;
}

.cookie-banner-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  color: #e7dccb;
  max-width: 70ch;
}

.cookie-banner a {
  color: var(--gold);
}

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

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

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

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

th {
  color: var(--ink);
  font-weight: 500;
}

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

.not-found p {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.article-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.2rem 0 1.8rem;
}

.legal .prose {
  padding-bottom: 3rem;
}

@media (max-width: 980px) {
  .hero-editorial,
  .quote-grid,
  .card-grid,
  .card-grid.two,
  .split,
  .case-panel,
  .price-grid,
  .contact-grid,
  .footer-inner,
  .journal-list article {
    grid-template-columns: 1fr;
  }

  .hero-figure img,
  .split img,
  .article-hero img {
    height: 280px;
  }

  .journal-list img {
    width: 100%;
    height: 200px;
  }

  .case-copy {
    padding: 1.4rem;
  }

  .stat-stack {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.9rem;
  }

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

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}
