:root {
  --ink: #14352f;
  --ink-soft: #2a4f47;
  --muted: #5c6f69;
  --line: #d5e0db;
  --paper: #f5f8f6;
  --paper-deep: #e8efeb;
  --white: #ffffff;
  --accent: #1f6b5c;
  --accent-hover: #175749;
  --accent-soft: #d6ebe4;
  --warn: #8a4b2e;
  --error: #8b2e2e;
  --success: #1f5c3a;
  --shadow: 0 18px 50px rgba(20, 53, 47, 0.08);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(31, 107, 92, 0.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(20, 53, 47, 0.05), transparent 55%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 40%, #f3f6f4 100%);
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(245, 248, 246, 0.88);
  border-bottom: 1px solid rgba(213, 224, 219, 0.9);
}

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

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 3px;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--ink) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

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

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

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

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.nav-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

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

.site-main {
  overflow: clip;
}

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

.section {
  padding: 4.5rem 0;
}

.section.tight {
  padding: 3rem 0;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

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

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full bleed */
.hero-bleed {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}

.hero-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 28, 25, 0.25) 0%, rgba(10, 28, 25, 0.72) 70%, rgba(10, 28, 25, 0.88) 100%),
    var(--hero-image) center/cover no-repeat;
  z-index: -1;
  animation: heroIn 1.2s var(--ease) both;
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
}

.hero-bleed .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.hero-bleed h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  max-width: 28ch;
  margin-bottom: 0.85rem;
  animation: rise 0.9s var(--ease) 0.2s both;
}

.hero-bleed p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  font-size: 1.05rem;
  animation: rise 0.9s var(--ease) 0.3s both;
}

.hero-bleed .btn-primary {
  background: var(--white);
  color: var(--ink);
}

.hero-bleed .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.hero-bleed .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.hero-bleed .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.hero-bleed .btn-row {
  animation: rise 0.9s var(--ease) 0.4s both;
}

@keyframes heroIn {
  from { transform: scale(1.04); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

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

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 600;
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.feature-list li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}

.feature-list h3 {
  margin-bottom: 0.35rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.95rem;
}

.course-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.course-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.course-preview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

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

.quote {
  padding: 0;
  margin: 0;
  border: none;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

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

.quote.short p {
  font-size: 1.15rem;
  font-family: var(--font-body);
}

.band {
  background: var(--ink);
  color: var(--white);
}

.band h2,
.band p {
  color: rgba(255, 255, 255, 0.92);
}

.band .btn-primary {
  background: var(--white);
  color: var(--ink);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

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

.page-hero .lead {
  max-width: 40rem;
}

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

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

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: transform 0.5s var(--ease);
}

.media-tile:hover img {
  transform: scale(1.015);
}

.media-tile h3 {
  margin-bottom: 0.4rem;
}

.media-tile p {
  margin: 0;
  font-size: 0.95rem;
}

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

.price-tier {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
}

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 140%);
}

.price-tier .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
}

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

.price-tier ul {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.price-tier li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

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

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

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

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

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

.field-error {
  color: var(--error);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e5f4eb;
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: #f8e8e8;
  color: var(--error);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-aside {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: fit-content;
}

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

.legal {
  max-width: 48rem;
}

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

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

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

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

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

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

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

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

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mod;
}

.module-list li {
  counter-increment: mod;
  padding: 1.1rem 0 1.1rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
}

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

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

.case-study {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.case-study h3 {
  margin-bottom: 0.5rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

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

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}

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

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

.footer-col a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-col a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.4s var(--ease);
}

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

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

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

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

.not-found .code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

@media (max-width: 960px) {
  .split,
  .course-preview,
  .contact-panel,
  .price-grid,
  .grid-3,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 248, 246, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .instructor {
    grid-template-columns: 1fr;
  }
}

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