:root {
  --ivory: #f3eee4;
  --paper: #fcfaf6;
  --ink: #1c1712;
  --ink-soft: #5a5248;
  --gold: #a4844a;
  --gold-deep: #8a6b38;
  --espresso: #241e18;
  --espresso-2: #2f2820;
  --line: #e4d9c8;
  --blush: #ede4d6;
  --success: #2f5d40;
  --error: #8f3d3d;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(36, 30, 24, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

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(--espresso);
}

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);
  letter-spacing: -0.02em;
}

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

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--espresso);
  padding: 0.4rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.6rem;
}

.js-error {
  background: #f4e1e1;
  color: var(--error);
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

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

.site-header {
  background: var(--espresso);
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 40;
}

.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 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ivory);
  text-decoration: none;
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  background:
    linear-gradient(180deg, var(--gold) 0 38%, #d4c4a4 38% 68%, var(--ivory) 68%);
  clip-path: polygon(8% 8%, 92% 8%, 72% 48%, 28% 48%, 8% 8%, 28% 48%, 72% 48%, 62% 78%, 38% 78%, 28% 48%);
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M18 18h28l-6 12h-16l-6-12zm6 14h16l-5 10h-6l-5-10zm4 12h8l-4 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M18 18h28l-6 12h-16l-6-12zm6 14h16l-5 10h-6l-5-10zm4 12h8l-4 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

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

.site-nav a {
  color: #f0e8da;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold);
  background: transparent;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ivory);
}

.site-footer {
  background: var(--espresso);
  color: #e8dfd0;
  margin-top: 4rem;
  padding: 3rem 1.4rem 1.5rem;
}

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

.footer-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}

.footer-tag,
.site-footer address,
.site-footer p,
.site-footer li {
  font-style: normal;
  color: #cfc4b3;
  font-size: 0.95rem;
}

.site-footer h2 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
}

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

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

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

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

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

.narrow {
  max-width: 760px;
}

.section {
  padding: 4rem 0 1rem;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

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

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-ghost:hover {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

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

.text-link {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

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

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

.masthead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.masthead-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}

.masthead img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85);
}

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

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

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

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

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

.quote-band {
  background: var(--espresso);
  color: var(--ivory);
  padding: 3.5rem 0;
  margin-top: 0;
}

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

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
  font-weight: 500;
}

blockquote footer {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: #cfc4b3;
  letter-spacing: 0.02em;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.card h3 {
  margin: 0;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

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

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

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

.benefit dt {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.benefit dd {
  margin: 0;
  color: var(--ink-soft);
}

.steps {
  counter-reset: atelier;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

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

.steps li::before {
  counter-increment: atelier;
  content: counter(atelier, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-deep);
}

.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.case-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.closing {
  padding: 4rem 0 2rem;
  text-align: left;
}

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

.page-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-top: 1.5rem;
}

.prose {
  max-width: 760px;
}

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

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

.meta-line {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

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

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

.price-card.featured {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--gold);
}

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

.price-card.featured p,
.price-card.featured li {
  color: #d9d0c2;
}

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

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

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

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

.review.wide {
  padding: 2rem 1.8rem;
}

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

.review cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

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

.module-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

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

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

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

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

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

.field {
  margin-bottom: 1rem;
}

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

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

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

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

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

.form-status.is-success {
  color: var(--success);
}

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

.form-status.is-pending {
  color: var(--ink-soft);
}

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

.address-block {
  background: var(--espresso);
  color: #e8dfd0;
  padding: 1.6rem;
}

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

.address-block address,
.address-block p {
  font-style: normal;
  color: #e8dfd0;
}

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

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.95rem;
}

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

th {
  background: var(--blush);
  font-weight: 600;
}

.funnel-visual {
  display: grid;
  gap: 0.55rem;
  margin: 1.8rem 0 2rem;
}

.funnel-visual span {
  display: block;
  margin: 0 auto;
  background: var(--espresso);
  color: var(--ivory);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funnel-visual span:nth-child(1) { width: 100%; background: #241e18; }
.funnel-visual span:nth-child(2) { width: 86%; background: #3a3128; }
.funnel-visual span:nth-child(3) { width: 70%; background: #5c4a32; }
.funnel-visual span:nth-child(4) { width: 52%; background: #8a6b38; }
.funnel-visual span:nth-child(5) { width: 34%; background: #a4844a; color: var(--espresso); }

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

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

@media (max-width: 960px) {
  .masthead-grid,
  .quote-grid,
  .card-grid,
  .price-grid,
  .case-split,
  .contact-grid,
  .footer-inner,
  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--espresso-2);
    flex-direction: column;
    padding: 1rem 1.4rem 1.4rem;
    border-bottom: 1px solid var(--gold);
  }

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

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .masthead-grid,
  .quote-grid,
  .card-grid,
  .price-grid,
  .case-split,
  .contact-grid,
  .footer-inner,
  .benefit-list,
  .stat-row,
  .instructor,
  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }

  .instructor img {
    width: 100%;
    height: 220px;
  }

  blockquote {
    font-size: 1.3rem;
  }
}
