:root {
  --ink: #14201f;
  --ink-soft: #3a4a48;
  --muted: #6b7a77;
  --line: #d7e0de;
  --paper: #fbfcfb;
  --surface: #ffffff;
  --accent: #0f3d3e;
  --accent-soft: #1a5c5e;
  --accent-wash: #e8f2f1;
  --warm: #c4a574;
  --error: #8b2e2e;
  --success: #1f5c45;
  --shadow: 0 18px 40px rgba(20, 32, 31, 0.06);
  --radius: 2px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(15, 61, 62, 0.05), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(196, 165, 116, 0.08), transparent 50%),
    var(--paper);
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f8e8e8;
  color: var(--error);
  border-bottom: 1px solid #e4c0c0;
}

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

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  background: var(--accent);
  border-radius: 50% 40% 50% 40%;
  transform: rotate(-12deg);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

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

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}

.nav-toggle-bar {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

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

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

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

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

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero — brand-forward, asymmetric */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  margin-left: auto;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1.5rem;
  color: var(--accent);
}

.hero-line {
  width: 3.5rem;
  height: 1px;
  background: var(--warm);
  margin-bottom: 1.5rem;
  animation: draw-line 1s ease forwards;
  transform-origin: left;
}

.hero-statement {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 28rem;
  margin-bottom: 0;
}

.hero-meta {
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: fade-rise 1.1s ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, transparent 18%);
  pointer-events: none;
}

@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: soft-in 0.8s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
}

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

/* Quote band */
.quote-band {
  background: var(--accent);
  color: #e8f2f1;
  padding: 4.5rem 0;
}

.quote-band blockquote {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.3;
  font-weight: 400;
}

.quote-band cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Course / content grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.course-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

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

.course-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.course-tile h3 {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.course-tile p {
  font-size: 0.98rem;
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

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

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

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

.page-hero .lead {
  margin-top: 0.5rem;
}

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

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

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
}

.price-tier.is-featured {
  border-color: var(--accent);
  background: var(--accent-wash);
}

.price-tier h3 {
  margin-bottom: 0.25rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  margin: 1rem 0;
}

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

.price-tier ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.price-tier li {
  margin-bottom: 0.45rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* Reviews */
.review-stack {
  display: grid;
  gap: 2rem;
}

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

.review-rating {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--warm);
  margin-bottom: 0.5rem;
}

.review blockquote {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.review-attr {
  font-size: 0.92rem;
  color: var(--muted);
}

.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-top: 1rem;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

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

.blog-item h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

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

.article img.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 560px;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(15, 61, 62, 0.25);
  border-color: var(--accent);
}

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

.form-status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-aside {
  background: var(--accent-wash);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.contact-aside h2 {
  font-size: 1.5rem;
}

.contact-aside p {
  font-size: 0.98rem;
}

/* Legal */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.55rem;
}

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

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

.legal th {
  background: var(--accent-wash);
}

/* Modules / FAQ */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.module-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

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

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

.faq details p {
  margin: 0.75rem 0 0.25rem;
}

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

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

/* CTA band */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(15, 61, 62, 0.04)),
    var(--surface);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.3fr;
  gap: 1.75rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact p {
  font-size: 0.9rem;
  color: #9eadaa;
}

.footer-heading {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a,
.footer-contact a {
  color: #c5d0ce;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #7d8c89;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.cookie-banner.is-hidden {
  display: none;
}

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

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  margin-bottom: 0.2rem;
  color: var(--accent);
}

/* Utility */
.split-text {
  max-width: 36rem;
}

.outcome-list {
  columns: 2;
  gap: 2rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.outcome-list li {
  margin-bottom: 0.55rem;
  break-inside: avoid;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    margin: 0;
    padding-bottom: 2rem;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, transparent 60%, var(--paper));
  }

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

  .grid-3,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .contact-grid,
  .blog-item,
  .instructor,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .outcome-list {
    columns: 1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    display: none;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: 1px solid var(--accent);
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
