:root {
  --bg: #f6f3ee;
  --bg-deep: #ece7de;
  --surface: #fffcf8;
  --ink: #1c1b19;
  --muted: #5c5852;
  --line: #ddd6cb;
  --accent: #3d5a4c;
  --accent-hover: #2f463b;
  --brass: #9a7b4f;
  --danger: #8a3b32;
  --ok: #2f5d45;
  --shadow: 0 18px 40px rgba(28, 27, 25, 0.07);
  --radius: 14px;
  --header-h: 72px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

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

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

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--surface);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.inline-error {
  background: #f7e8e5;
  color: var(--danger);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 0.75rem;
}

.cookie-error {
  position: sticky;
  bottom: 0;
}

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

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

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

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

.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.2rem 1.4rem;
}

.wrap-narrow {
  max-width: 760px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--brass);
  margin-bottom: 0.7rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f7f4ef;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

.hero-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
}

.hero-copy {
  padding: clamp(2.5rem, 7vw, 6rem) 1.6rem 3rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-copy p.lead {
  font-size: 1.15rem;
  max-width: 34rem;
  color: var(--muted);
}

.hero-figure {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  animation: rise 1.1s ease both;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 252, 248, 0.92);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  max-width: 16rem;
}

.single-cta {
  margin-top: 1.4rem;
}

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

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

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

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 520;
}

.band {
  background: var(--surface);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

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

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

.card-body {
  padding: 1.15rem 1.2rem 1.4rem;
}

.card-body h3 {
  margin-top: 0.2rem;
}

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

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.quote.long {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 1.2rem 1.3rem;
}

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

.stars {
  letter-spacing: 0.12em;
  color: var(--brass);
  font-size: 0.85rem;
}

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

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

.feature-list strong {
  display: block;
  font-size: 1.05rem;
}

.media-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

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

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

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

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

.price {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0.4rem 0 1rem;
}

.price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: var(--font);
}

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

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

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

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

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

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

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

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

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

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
  min-height: 1.1em;
}

.form-status {
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

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

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

.site-footer {
  background: #1c1b19;
  color: #e8e2d8;
  padding: 3rem 1.4rem 1.4rem;
  margin-top: 2rem;
}

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

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.8fr 0.8fr;
  gap: 1.6rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.footer-heading {
  font-size: 0.95rem;
  color: #d8c4a0;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
}

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

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

.footer-copy {
  max-width: 1180px;
  margin: 2rem auto 0;
  border-top: 1px solid #3a3834;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #b7b1a7;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
}

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

.cookie-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}

.cookie-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.page-hero {
  padding: 4rem 1.4rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 1.4rem;
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 879px) {
  .hero-editorial,
  .grid-2,
  .grid-3,
  .media-split,
  .price-grid,
  .stats,
  .footer-grid,
  .instructor,
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .hero-copy {
    padding: 2.4rem 1.4rem;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.6rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .site-nav[hidden] {
    display: flex !important;
  }
}
