:root {
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --muted: #6a6258;
  --paper: #f3eee6;
  --paper-2: #e8e0d2;
  --cream: #faf7f1;
  --white: #fffcf8;
  --gold: #9a7544;
  --gold-deep: #7a5a30;
  --gold-soft: #c4a06a;
  --espresso: #161311;
  --line: rgba(28, 25, 21, 0.12);
  --line-strong: rgba(28, 25, 21, 0.22);
  --shadow: 0 18px 40px rgba(22, 19, 17, 0.08);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

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

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: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}

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

.inline-error {
  margin: 0;
  padding: 0.85rem 1rem;
  background: #f3e4dc;
  color: #6a2b1f;
  border: 1px solid #d9b4a6;
}

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

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

.header-inner,
.footer-inner,
.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 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.is-active {
  color: var(--ink);
}

.site-nav a.is-active {
  box-shadow: inset 0 -1px 0 var(--gold);
}

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

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 0.6rem;
  cursor: pointer;
}

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

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

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

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

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

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

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

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

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section-dark {
  background: var(--espresso);
  color: #e8e0d2;
}

.section-dark h2,
.section-dark h3,
.section-dark .kicker {
  color: var(--cream);
}

.section-dark .kicker {
  color: var(--gold-soft);
}

.section-dark p,
.section-dark li {
  color: #d9d0c2;
}

.section-alt {
  background: var(--cream);
}

.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

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

.hero-copy h1 {
  max-width: 14ch;
}

.hero-rule {
  width: 4rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 1.4rem 0 1.2rem;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: min(34rem, 70vh);
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(22, 19, 17, 0.82);
  color: var(--cream);
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.stat-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat-rail strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
}

.stat-rail span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  margin: -1.4rem -1.4rem 1.1rem;
  width: calc(100% + 2.8rem);
  max-width: none;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

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

.meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

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

.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
}

.quote-card.long blockquote {
  font-size: 1.08rem;
  font-family: var(--sans);
  font-style: normal;
  line-height: 1.65;
}

.quote-card footer {
  font-size: 0.88rem;
  color: var(--muted);
}

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

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

.benefit-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
}

.benefit-list li:last-child {
  border-bottom: 1px solid var(--line);
}

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

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

.price-card.featured {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

.price-card.featured h3,
.price-card.featured p,
.price-card.featured li {
  color: var(--cream);
}

.price-card .amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  margin: 0.6rem 0 1rem;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  flex: 1;
}

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

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

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

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

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

.faq summary {
  cursor: pointer;
  font-weight: 500;
}

.faq details p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

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

.instructor img {
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
}

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

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

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

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

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #9a4333;
}

.field-error {
  margin: 0.35rem 0 0;
  color: #8a372a;
  font-size: 0.84rem;
  min-height: 0;
}

.form-status {
  margin: 0.4rem 0 0;
  padding: 0.8rem 0.9rem;
}

.form-status.is-success {
  background: #e6efe6;
  color: #215c32;
}

.form-status.is-error {
  background: #f3e4dc;
  color: #6a2b1f;
}

.legal {
  max-width: 46rem;
}

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

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

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

.legal th {
  background: var(--cream);
  font-weight: 500;
}

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

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

.article {
  max-width: 42rem;
}

.article img.cover {
  width: 100%;
  height: min(26rem, 50vw);
  object-fit: cover;
  margin: 0 0 1.6rem;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.case-study img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2.4rem 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem 1.15rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.error-page {
  min-height: calc(100vh - 14rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.2rem;
}

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

.site-footer {
  background: var(--espresso);
  color: #d8cfc0;
  padding: 3.2rem 0 1.4rem;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer .wordmark,
.site-footer h2 {
  color: var(--cream);
}

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

.footer-subhead {
  margin-top: 1.4rem !important;
}

.footer-blurb,
.footer-note {
  color: #c9bfb0;
  font-size: 0.92rem;
}

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

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

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

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

.footer-copy {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(243, 238, 230, 0.12);
  font-size: 0.82rem;
  color: #a89d8e;
}

@media (max-width: 960px) {
  .hero-ledger,
  .grid-3,
  .footer-inner,
  .case-study,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .stat-rail,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.2rem 1.1rem;
    gap: 0;
  }

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

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .stat-rail,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

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

  * {
    transition: none !important;
  }
}
