:root {
  --ink: #14201f;
  --ink-soft: #3d4f4c;
  --muted: #6b7c78;
  --paper: #f7f6f2;
  --paper-deep: #ebe8e0;
  --surface: #ffffff;
  --line: #d9d4c8;
  --accent: #0b3d3a;
  --accent-hover: #0f524e;
  --accent-soft: #dce9e6;
  --warn: #8a3b2b;
  --ok: #1f5c45;
  --shadow: 0 1px 0 rgba(20, 32, 31, 0.04);
  --radius: 4px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::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(1200px 600px at 10% -10%, #e4efe9 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #efe8d8 0%, transparent 50%),
    var(--paper);
  min-height: 100vh;
}

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

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

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

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

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  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 {
  background: #f8e8e4;
  color: var(--warn);
  border: 1px solid #e5c4ba;
  padding: 0.75rem 1rem;
  margin: 0.75rem;
  border-radius: var(--radius);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(247, 246, 242, 0.88);
  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 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--accent);
}

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

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

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

.site-nav .nav-cta {
  background: var(--accent);
  color: #f4f7f6;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius);
}

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

/* Layout */
.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.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  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: #f4f7f6;
}

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

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

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

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

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4f7f6;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 61, 58, 0.35) 0%, rgba(11, 61, 58, 0.72) 55%, rgba(10, 28, 27, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: #f7f6f2;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  color: #e8f0ee;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero .hero-support {
  color: rgba(244, 247, 246, 0.85);
  max-width: 34rem;
  font-size: 1.08rem;
  animation: riseIn 0.9s ease 0.22s both;
}

.hero .btn-row {
  animation: riseIn 0.9s ease 0.32s both;
}

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

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

.hero .btn-ghost {
  border-color: rgba(244, 247, 246, 0.45);
  color: #f4f7f6;
}

.hero .btn-ghost:hover {
  border-color: #f4f7f6;
  color: #fff;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

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

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

/* Proof band */
.proof-band {
  background: var(--accent);
  color: #e8f0ee;
  padding: 2.25rem 0;
}

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

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.25rem;
}

.proof-item span {
  color: rgba(232, 240, 238, 0.8);
  font-size: 0.95rem;
}

/* Split / lists */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.stack > * + * {
  margin-top: 1rem;
}

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

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

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
}

/* Course / blog grids — interaction containers */
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.item-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.item-card:hover {
  border-color: #b9c7c2;
  transform: translateY(-3px);
  color: inherit;
}

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

.item-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.item-card p {
  font-size: 0.98rem;
  flex: 1;
}

.item-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Quotes */
.quote-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
}

.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}

.quote-list {
  display: grid;
  gap: 1.5rem;
}

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

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

.quote-item p {
  font-size: 1.05rem;
}

.quote-item .attr {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

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

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

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

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

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  margin: 0.75rem 0;
}

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

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

.price-tier li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--paper-deep);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Forms */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

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

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

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

.field-error {
  min-height: 1.2rem;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--warn);
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

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

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

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

.address-block {
  background: var(--accent-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.address-block p {
  margin-bottom: 0.65rem;
}

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

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

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

.prose {
  max-width: 42rem;
}

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

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

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

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

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

.prose th {
  background: var(--paper-deep);
  color: var(--ink);
  font-weight: 600;
}

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

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

.module-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.module-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

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

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

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

.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #164f4a 100%);
  color: #e8f0ee;
  padding: 3.5rem 0;
  margin-top: 2rem;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(232, 240, 238, 0.88);
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: #f4f7f6;
  color: var(--accent);
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

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

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: #102523;
  color: #c5d4d0;
  padding-top: 3rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 2.5rem;
}

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

.footer-tag {
  color: #9fb3ae;
  max-width: 22rem;
}

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

.footer-label {
  color: #f4f7f6;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-cols a,
.footer-cols p {
  display: block;
  color: #9fb3ae;
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-cols a:hover {
  color: #f4f7f6;
}

.footer-address {
  line-height: 1.5;
}

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 100;
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20, 32, 31, 0.12);
  animation: riseIn 0.45s ease both;
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem;
}

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

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

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

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

/* Blog article */
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

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

@media (max-width: 900px) {
  .proof-grid,
  .item-grid,
  .price-grid,
  .split,
  .split-reverse,
  .contact-grid,
  .footer-inner,
  .footer-cols {
    grid-template-columns: 1fr;
  }

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

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

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

  .site-nav a {
    padding: 0.65rem 0.25rem;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

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

  .hero {
    min-height: 78vh;
  }
}
