:root {
  --ink: #0c1f2e;
  --ink-soft: #1a3344;
  --sea: #2f7a76;
  --sea-bright: #7eb8b0;
  --copper: #c4895a;
  --fog: #eef3f5;
  --fog-deep: #d8e4e8;
  --paper: #f7fafb;
  --muted: #5a6d78;
  --line: rgba(12, 31, 46, 0.12);
  --shadow: 0 24px 60px rgba(12, 31, 46, 0.12);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", 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);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(126, 184, 176, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 137, 90, 0.16), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--fog) 48%, #e6eef1 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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);
  border: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.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.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--sea-bright), var(--sea) 55%, var(--ink));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

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

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

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s ease;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

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

.hero-immersive {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f4f8f9;
  overflow: hidden;
}

.hero-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 31, 46, 0.35) 0%, rgba(12, 31, 46, 0.72) 55%, rgba(12, 31, 46, 0.9) 100%),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
  z-index: 0;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.4rem;
  animation: riseIn 0.9s ease both;
}

.hero-line {
  width: 4.5rem;
  height: 3px;
  background: var(--sea-bright);
  margin: 0 0 1.4rem;
  animation: riseIn 1s ease 0.1s both;
}

.hero-immersive h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 0.85rem;
  animation: riseIn 1s ease 0.15s both;
}

.hero-immersive .lede {
  max-width: 36rem;
  color: rgba(244, 248, 249, 0.88);
  font-size: 1.08rem;
  animation: riseIn 1s ease 0.25s both;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  animation: riseIn 1s ease 0.35s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--sea-bright);
  color: var(--ink);
}

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

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

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

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

.btn-ink:hover {
  background: var(--sea);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

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

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

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

.media-plane {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.media-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 31, 46, 0.18), transparent 50%);
}

.quote-band {
  background: linear-gradient(120deg, var(--ink) 0%, #16384a 55%, #1f4d4a 100%);
  color: #eef6f7;
  padding: 3.5rem 0;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  max-width: 46rem;
}

.quote-band cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--sea-bright);
  font-size: 0.95rem;
}

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

.stat {
  border-top: 2px solid var(--sea-bright);
  padding-top: 0.9rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

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

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.5rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

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

.tile {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.tile-body {
  padding: 1.25rem 1.3rem 1.5rem;
}

.tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.tile h3 a {
  color: inherit;
  text-decoration: none;
}

.tile h3 a:hover {
  color: var(--sea);
}

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

.tier {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  padding: 1.7rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier.featured {
  background: linear-gradient(180deg, #123243 0%, #0c1f2e 100%);
  color: #eef6f7;
  border-color: transparent;
}

.tier.featured .muted,
.tier.featured .meta {
  color: rgba(238, 246, 247, 0.72);
}

.tier .price {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.tier ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.1rem;
  color: inherit;
}

.tier .btn {
  margin-top: auto;
}

.review {
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--sea);
  padding: 1.4rem 1.4rem 1.5rem;
}

.review .stars {
  color: var(--copper);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.page-hero.full-bleed {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  color: #f4f8f9;
  margin-bottom: 1rem;
}

.page-hero.full-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 31, 46, 0.25), rgba(12, 31, 46, 0.85)),
    var(--page-hero-image) center / cover no-repeat;
  z-index: 0;
}

.page-hero.full-bleed .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
  padding-top: 5rem;
}

.page-hero.full-bleed .muted {
  color: rgba(244, 248, 249, 0.82);
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.55);
}

th {
  background: rgba(12, 31, 46, 0.06);
  font-weight: 700;
}

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

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

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--sea-bright);
  outline-offset: 1px;
}

.field-error {
  color: #9b2c2c;
  font-size: 0.88rem;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(47, 122, 118, 0.12);
  border: 1px solid rgba(47, 122, 118, 0.35);
  color: #14524f;
}

.form-status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  border: 1px solid rgba(155, 44, 44, 0.3);
  color: #9b2c2c;
}

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

.address-block {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

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

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

.faq details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.modules {
  display: grid;
  gap: 1rem;
}

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

.module-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sea);
  min-width: 2.2rem;
}

.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(238, 246, 247, 0.86);
  padding: 3.5rem 1.25rem 1.5rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.footer-heading {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col,
.footer-contact {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.footer-col a,
.footer-contact a {
  color: rgba(238, 246, 247, 0.8);
  text-decoration: none;
}

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

.footer-tag,
.footer-contact p {
  font-size: 0.92rem;
  margin: 0;
}

.footer-base {
  max-width: var(--max);
  margin: 2.2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(238, 246, 247, 0.6);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(12, 31, 46, 0.96);
  color: #eef6f7;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(126, 184, 176, 0.35);
  box-shadow: var(--shadow);
  display: none;
  gap: 1rem;
  align-items: center;
  animation: riseIn 0.45s ease both;
}

.cookie-banner.is-visible {
  display: grid;
}

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

.cookie-banner a {
  color: var(--sea-bright);
}

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

.cookie-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.inline-error {
  background: rgba(155, 44, 44, 0.1);
  border: 1px solid rgba(155, 44, 44, 0.28);
  color: #9b2c2c;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  border-radius: var(--radius);
}

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

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

.case-study {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  padding: 1.6rem;
  margin-bottom: 1.5rem;
}

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

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

.cta-band {
  padding: 4rem 0;
  background:
    linear-gradient(115deg, rgba(12, 31, 46, 0.92), rgba(47, 122, 118, 0.85)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: #eef6f7;
}

.cta-band h2 {
  max-width: 16ch;
}

.cta-band .muted {
  color: rgba(238, 246, 247, 0.8);
  max-width: 34rem;
}

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

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2rem;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

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

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

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 250, 251, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-immersive::before,
  .reveal,
  .btn,
  .tile {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
