:root {
  --navy: #15202b;
  --navy-2: #1e2d3a;
  --gold: #b08d57;
  --gold-2: #8f6f3e;
  --ivory: #f7f3ec;
  --ivory-2: #efe8dc;
  --cream: #fbf9f5;
  --ink: #1b1814;
  --muted: #6b645a;
  --line: #d9d0c3;
  --white: #fffdf9;
  --error: #7a2e2e;
  --ok: #2c5a3c;
  --shadow: 0 18px 40px rgba(21, 32, 43, 0.08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

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

address {
  font-style: normal;
}

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

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

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

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
}

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

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f4e6e2;
  color: var(--error);
  border-left: 3px solid var(--error);
}

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

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

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

.logo em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
}

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

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--cream);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d8d0c4;
  margin-top: 4.5rem;
  padding: 3.5rem 0 1.5rem;
}

.site-footer h2 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: #f3ece2;
  text-decoration: none;
}

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

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

.site-footer li + li {
  margin-top: 0.4rem;
}

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

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.footer-tag {
  color: #b8b0a4;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(176, 141, 87, 0.28);
  font-size: 0.88rem;
  color: #9e968b;
}

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

.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-2);
  color: #fff;
}

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

.btn-gold:hover {
  background: var(--gold-2);
  color: var(--cream);
}

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

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

.btn-text {
  padding: 0;
  min-height: 0;
  border: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-2);
  text-decoration: none;
}

.btn-text:hover {
  color: var(--navy);
}

/* Hero variants */
.hero-masthead {
  padding: 3.25rem 0 1rem;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-frame {
  position: relative;
  margin: 0.5rem 0 0;
}

.hero-frame img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

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

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

.split-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 3rem 0 2rem;
}

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

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

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

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

.pull-quote {
  background: var(--navy);
  color: #efe8dc;
  padding: 3rem 0;
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.35;
  font-style: italic;
  font-weight: 500;
  max-width: 22ch;
}

.pull-quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip article {
  padding: 1.5rem 1.1rem;
  border-right: 1px solid var(--line);
}

.stat-strip article:last-child {
  border-right: 0;
}

.stat-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 600;
}

.stat-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

.prose-col h3 {
  margin-top: 0;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

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

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

.card-body h3 {
  margin: 0;
  font-size: 1.35rem;
}

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

.card-meta {
  font-size: 0.82rem;
  color: var(--gold-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.panel + .panel {
  margin-top: 1rem;
}

.soft-band {
  background: var(--ivory-2);
}

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

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

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

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

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

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

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

.price-card .btn {
  margin-top: 1.25rem;
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 1.25rem;
}

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

.quote-card.wide {
  grid-column: 1 / -1;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

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

.quote-attr {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.case-study {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

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

/* Blog */
.article-list {
  display: grid;
  gap: 1.5rem;
}

.article-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.85rem;
}

.article-row img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-body {
  padding: 0.4rem 0.5rem 0.4rem 0;
}

.article-body time {
  font-size: 0.8rem;
  color: var(--gold-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose {
  font-size: 1.05rem;
}

.prose h2 {
  margin-top: 1.8em;
}

.prose h3 {
  margin-top: 1.4em;
}

.cover {
  margin: 1.5rem 0 2rem;
}

.cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cover figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Course detail */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mod;
}

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

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

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

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

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

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

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

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 2px;
}

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

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 1.1rem;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
}

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.address-block {
  background: var(--navy);
  color: #efe8dc;
  padding: 1.75rem 1.5rem;
}

.address-block h2 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

.legal h2 {
  margin-top: 1.8em;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--white);
}

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

.cookies-table th {
  background: var(--ivory-2);
  font-weight: 600;
}

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

.not-found p.big {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--gold);
  margin: 0;
  line-height: 1;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--navy);
  color: #efe8dc;
  border-top: 1px solid rgba(176, 141, 87, 0.45);
  padding: 1.1rem 0;
  box-shadow: 0 -12px 30px rgba(21, 32, 43, 0.18);
}

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

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

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

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

.cookie-banner .btn-ghost {
  color: var(--cream);
  border-color: rgba(239, 232, 220, 0.35);
}

.cookie-banner .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cookie-script-error {
  position: relative;
}

/* Timeline / journey */
.journey {
  display: grid;
  gap: 0;
}

.journey article {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.journey strong {
  color: var(--gold-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.split-panel img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 960px) {
  .footer-grid,
  .columns-3,
  .card-grid,
  .price-grid,
  .stat-strip,
  .split-hero,
  .split-panel,
  .contact-layout,
  .quote-grid,
  .case-study,
  .article-row {
    grid-template-columns: 1fr;
  }

  .stat-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split-hero img,
  .case-study img,
  .article-row img {
    height: 240px;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
    flex-direction: column;
    gap: 0.7rem;
  }

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

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .cookie-banner-inner,
  .section-head,
  .hero-caption,
  .instructor,
  .journey article {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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