:root {
  --bg: #f3efe8;
  --bg-deep: #e7e0d4;
  --surface: #fbf9f5;
  --ink: #1a1714;
  --ink-soft: #5f584f;
  --navy: #1e2c3a;
  --navy-deep: #141e28;
  --gold: #a8845a;
  --gold-soft: #c4a574;
  --line: #d5cec2;
  --error: #8b3a3a;
  --success: #2f5d4a;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;
  --radius: 3px;
  --shadow: 0 18px 40px rgba(20, 30, 40, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.55em;
}

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

p {
  margin: 0 0 1em;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.45rem;
  margin-bottom: 0.2rem;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

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

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

.site-nav a:hover {
  color: var(--navy-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.hero {
  padding: 4.2rem 0 3.2rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
}

.hero-stat {
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-bottom: 1.6rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--navy-deep);
  font-weight: 600;
}

.hero-stat span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-figure {
  position: relative;
}

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

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(20, 30, 40, 0.88);
  color: #f7f2ea;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  max-width: 80%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12rem;
}

.text-link:hover {
  color: var(--gold);
}

.btn {
  display: inline-block;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #f8f4ee;
  text-decoration: none;
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
}

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

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

.btn-ghost:hover {
  background: var(--navy);
  color: #f8f4ee;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section {
  padding: 3.4rem 0;
}

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

.section-navy {
  background: var(--navy-deep);
  color: #e8e2d8;
}

.section-navy h2,
.section-navy h3 {
  color: #f7f2ea;
}

.section-navy .muted,
.section-navy p {
  color: #cfc6b8;
}

.quote-band {
  padding: 3rem 0;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--navy-deep);
}

.quote-band cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

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

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

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

.card,
.course-card,
.blog-card,
.price-card,
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.course-card img,
.blog-card img,
.page-hero img,
.portrait img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.course-card img {
  height: 190px;
}

.blog-card img {
  height: 180px;
}

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

.card h3 a,
.course-card h3 a,
.blog-card h3 a {
  text-decoration: none;
  color: var(--navy-deep);
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  border-top: 1px solid var(--gold-soft);
  padding-top: 0.9rem;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy-deep);
  margin: 0.2rem 0 0.8rem;
}

.price span {
  font-size: 1rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

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

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.review-card p:last-child {
  margin-bottom: 0;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

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

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

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

.modules strong {
  display: block;
  color: var(--navy-deep);
}

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

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

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

.form {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

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

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

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.4rem;
}

.form-status.success {
  background: #e6f0ea;
  color: var(--success);
  border: 1px solid #b7d4c6;
}

.form-status.error,
.inline-error {
  background: #f6e8e8;
  color: var(--error);
  border: 1px solid #e0bcbc;
  padding: 0.85rem 1rem;
}

.address-block {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.3rem;
  border-radius: var(--radius);
}

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

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

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

.legal th {
  background: var(--bg-deep);
}

.page-hero {
  margin-bottom: 2rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.site-footer {
  background: var(--navy-deep);
  color: #d8d0c4;
  padding: 3rem 0 1.4rem;
  margin-top: 2rem;
}

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

.footer-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #f7f2ea;
  margin-bottom: 0.4rem;
}

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

.footer-heading {
  font-size: 1.05rem;
  color: #f7f2ea;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
}

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

.footer-links a,
.site-footer a {
  color: #eadfcf;
  text-decoration: none;
}

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 165, 116, 0.25);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--navy-deep);
  color: #ece6dc;
  border-top: 1px solid var(--gold);
  padding: 1rem 0;
}

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

.cookie-banner p {
  margin: 0;
  color: #ece6dc;
}

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

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

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

.cookie-actions .btn-ghost {
  background: transparent;
  color: #f7f2ea;
  border-color: #eadfcf;
}

.article {
  font-size: 1.06rem;
}

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

.case-study {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.5rem;
  margin: 1.4rem 0;
}

.portrait {
  max-width: 220px;
}

.not-found {
  padding: 6rem 0 5rem;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

@media (max-width: 960px) {
  .hero-split,
  .grid-3,
  .grid-4,
  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

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

  .hero-split,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-row,
  .footer-grid,
  .cookie-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-figure img,
  .page-hero img {
    height: 240px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
    text-align: center;
  }
}
