:root {
  --ink: #1b1916;
  --ink-soft: #3a352f;
  --muted: #6f675c;
  --cream: #f6f2eb;
  --paper: #fbf9f5;
  --card: #ffffff;
  --gold: #9a7b4f;
  --gold-deep: #7a5f3a;
  --gold-pale: #eadfcb;
  --line: #e4dcd0;
  --wine: #5c3d4a;
  --ok: #2f5d45;
  --err: #8b3a32;
  --shadow: 0 18px 40px rgba(27, 25, 22, 0.08);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --narrow: 760px;
}

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

html {
  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);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.skip-link:focus {
  top: 1rem;
  color: var(--cream);
}

[data-include="header"] {
  min-height: 4.5rem;
}

[data-include="footer"] {
  min-height: 12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 245, 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: 0 auto;
}

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

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

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

.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: 500;
}

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

.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--gold-deep) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.4rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-footer {
  background: var(--ink);
  color: #d8d0c4;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.wordmark-footer {
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.footer-lede {
  max-width: 28rem;
  color: #cfc6b8;
  font-size: 0.95rem;
}

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

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

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

.footer-col a,
.footer-col p,
.footer-col address {
  color: #d8d0c4;
  font-style: normal;
  font-size: 0.92rem;
  text-decoration: none;
}

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

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

.footer-base {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 2.4rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(232, 220, 200, 0.18);
  font-size: 0.82rem;
  color: #a89f92;
}

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

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

.hero-editorial h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
}

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

.hero-note {
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}

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

.hero-frame {
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0.2rem;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(27, 25, 22, 0.82);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
}

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

.proof-item {
  padding: 1.3rem 1rem;
  border-right: 1px solid var(--line);
}

.proof-item:last-child { border-right: 0; }

.proof-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 2.8rem 0;
}

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

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

.snapshot {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: center;
  background: var(--cream);
  padding: 2rem;
  margin-bottom: 1rem;
}

.snapshot img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.snapshot blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.35;
}

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

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(27, 25, 22, 0.12);
}

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

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

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

.card-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.inspect-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
}

.inspect-item {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.inspect-item h3 {
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

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

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

.quote p { margin-bottom: 1rem; }

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

.quote.tall { grid-row: span 2; }

.band {
  background: var(--cream);
  padding: 2.8rem 0;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
}

.btn-gold {
  background: var(--gold);
  color: #1b1916;
  border-color: var(--gold);
}

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

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

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

.btn-light {
  background: transparent;
  border-color: var(--gold-pale);
  color: var(--cream);
}

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

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

.page-hero img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.prose {
  max-width: var(--narrow);
}

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

.prose ul, .prose ol { padding-left: 1.2rem; }

.prose li { margin-bottom: 0.4rem; }

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

.modules {
  counter-reset: mod;
}

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

.module::before {
  counter-increment: mod;
  content: counter(mod, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
}

.instructor {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.4rem;
  align-items: start;
  background: var(--cream);
  padding: 1.4rem;
}

.instructor img {
  width: 160px;
  height: 200px;
  object-fit: cover;
}

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

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

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fbf7f0 0%, #fff 40%);
}

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

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

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

.review {
  border-left: 3px solid var(--gold-pale);
  padding: 0.4rem 0 0.4rem 1.2rem;
}

.review.platform {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--card);
  padding: 1.2rem;
}

.stars {
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin: 2rem 0;
}

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

.blog-list {
  display: grid;
  gap: 1.6rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.4rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
}

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

.blog-row h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.article-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  margin: 1rem 0 1.6rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.4rem;
}

.field {
  margin-bottom: 1rem;
}

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

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold-pale);
  border-color: var(--gold);
}

.field-error {
  color: var(--err);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

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

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

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

.address-block {
  background: var(--cream);
  padding: 1.4rem;
}

.address-block address {
  font-style: normal;
  margin-bottom: 0.8rem;
}

table.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.2rem 0 1.8rem;
}

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

.cookie-table th {
  background: var(--cream);
  font-weight: 600;
}

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

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

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

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

.not-found .code {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  margin: 0;
}

.inline-error-bar,
.inline-error {
  background: #f6e8e6;
  color: var(--err);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--ink);
  color: #e8e0d4;
  border-top: 1px solid rgba(196, 165, 116, 0.35);
  padding: 1.1rem 0;
}

.cookie-banner-inner {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cookie-banner-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin: 0 0 0.3rem;
}

.cookie-banner-copy {
  margin: 0;
  font-size: 0.92rem;
  max-width: 46rem;
}

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

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

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

.cookie-banner .btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

@media (max-width: 960px) {
  .hero-editorial,
  .snapshot,
  .page-hero.with-image,
  .two-col,
  .contact-layout,
  .case-study,
  .instructor,
  .quote-grid,
  .footer-inner,
  .card-grid,
  .price-grid,
  .proof-strip,
  .inspect-list,
  .blog-row,
  .cta-row,
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .quote.tall { grid-row: auto; }
  .hero-frame img,
  .page-hero img,
  .article-hero img { height: 240px; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

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

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