:root {
  --paper: #f4efe6;
  --cream: #faf7f1;
  --white: #fffcf7;
  --ink: #16140f;
  --ink-2: #3a342c;
  --muted: #746c61;
  --line: #e4dcce;
  --gold: #8f7349;
  --gold-bright: #c4a46a;
  --gold-deep: #6e5734;
  --forest: #1a2420;
  --forest-2: #24302b;
  --error: #8c2f2f;
  --ok: #2f5d45;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --wide: 1240px;
  --radius: 2px;
}

*,
*::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;
}

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;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  letter-spacing: -0.02em;
}

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

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

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

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

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

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

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

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent 80%);
  border: 0;
  margin: 2.5rem 0;
}

.inline-error,
.form-status.is-error,
.field-error {
  color: var(--error);
}

.inline-error {
  margin: 0;
  padding: 0.8rem 1.2rem;
  background: #f4e6e2;
  border-bottom: 1px solid #e3c9c3;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}

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

.logo span {
  color: var(--gold);
}

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

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

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

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

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

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
  margin: 0.28rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0.72rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover {
  background: #24342e;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn-ghost:hover {
  background: rgba(143, 115, 73, 0.08);
  color: var(--ink);
}

.text-link {
  font-size: 0.95rem;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-bright);
  padding-bottom: 0.12rem;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Hero — editorial split */
.hero-editorial {
  padding: 4.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr);
  gap: 3rem;
  align-items: end;
}

.hero-copy h1 {
  margin-bottom: 1rem;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 20px 50px rgba(22, 20, 15, 0.05);
}

.metric-card .figure {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold-deep);
}

.metric-card p {
  margin: 0.6rem 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.hero-image {
  margin-top: 3rem;
}

.hero-image img,
.page-hero img,
.cover img,
.card img,
.avatar {
  width: 100%;
  object-fit: cover;
}

.hero-image img {
  height: min(62vh, 520px);
  filter: saturate(0.92);
}

/* Pull quote */
.pullband {
  background: var(--forest);
  color: var(--cream);
  padding: 3.2rem 0;
}

.pullband blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  font-weight: 500;
  max-width: 46rem;
}

.pullband cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

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

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

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

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

.section-head p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
}

/* Cards */
.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(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  height: 190px;
}

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

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

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

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

.card .meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

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

/* Spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.spotlight img {
  height: 380px;
  width: 100%;
  object-fit: cover;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.benefit-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

/* Trust */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
}

.trust-row div strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-deep);
}

.trust-row div span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Approach */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.steps article {
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.steps article::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.6rem;
}

/* Page hero */
.page-hero {
  padding: 3.4rem 0 2.2rem;
}

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero img {
  height: 340px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

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

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

.price-card .amount {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0.4rem 0 0.8rem;
  color: var(--gold-deep);
}

.price-card ul {
  padding-left: 1rem;
  color: inherit;
  flex: 1;
  font-size: 0.95rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.2rem;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.review {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.4rem 1.2rem;
}

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

.review footer {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.case-study {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
}

.case-study h3 {
  margin-top: 0;
}

/* Forms */
form[data-form] {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

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

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

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

.field-error {
  min-height: 1.1em;
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
}

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

.form-status.is-error {
  background: #f4e6e2;
}

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

.address-block {
  background: var(--forest);
  color: var(--cream);
  padding: 1.8rem 1.6rem;
}

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

.address-block a {
  color: var(--gold-bright);
}

/* Course detail */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

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

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

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

.avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
}

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

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

.faq p {
  margin: 0.6rem 0 0.2rem;
  color: var(--ink-2);
}

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

.article .cover img {
  height: 380px;
  margin: 1.5rem 0 2rem;
}

.article p,
.article li {
  font-size: 1.06rem;
}

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

/* Legal */
.legal {
  max-width: 46rem;
  padding-bottom: 3rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.2rem 0 1.6rem;
  background: var(--white);
}

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

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

/* 404 */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.2rem;
}

.not-found .code {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: #d8d2c6;
  padding: 3.2rem 0 1.4rem;
  margin-top: 2rem;
}

.site-footer .logo {
  color: var(--cream);
  margin: 0 0 0.8rem;
}

.site-footer h2 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

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

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

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

.footer-blurb {
  max-width: 22rem;
}

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

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

.footer-base {
  border-top: 1px solid rgba(196, 164, 106, 0.25);
  margin-top: 2.2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--cream);
  border-top: 1px solid var(--gold-bright);
  box-shadow: 0 -16px 40px rgba(22, 20, 15, 0.08);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.1rem 0;
}

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

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

/* Misc */
.pill {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 0.2rem 0.5rem;
  color: var(--muted);
}

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

.invite {
  background: var(--forest);
  color: var(--cream);
  padding: 3.4rem 0;
}

.invite h2 {
  color: var(--cream);
}

.invite .btn-primary {
  background: var(--gold);
  color: var(--forest);
}

.invite .btn-primary:hover {
  background: var(--gold-bright);
}

@media (max-width: 980px) {
  .hero-grid,
  .spotlight,
  .page-hero.with-image,
  .contact-layout,
  .review-grid,
  .split-2,
  .price-grid,
  .trust-row,
  .footer-grid,
  .card-grid,
  .card-grid.two,
  .steps,
  .benefit-list {
    grid-template-columns: 1fr;
  }

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

  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4.4rem;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 1.3rem;
    gap: 0.85rem;
  }

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

  .hero-image img,
  .page-hero img,
  .spotlight img,
  .article .cover img {
    height: 240px;
  }

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

@media (max-width: 640px) {
  .price-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

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