:root {
  --ink: #17262b;
  --ink-soft: #3d5259;
  --teal: #0f4c4a;
  --teal-mid: #1a6b67;
  --teal-soft: #d9ecea;
  --gold: #c4a35a;
  --gold-deep: #9a7a35;
  --sand: #f3ebe0;
  --mist: #e6eef1;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: rgba(23, 38, 43, 0.12);
  --shadow: 0 18px 40px rgba(23, 38, 43, 0.12);
  --radius: 6px;
  --font-display: "Syne", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::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(15, 76, 74, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(196, 163, 90, 0.18), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 42%, var(--sand) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--teal-mid);
}

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

.sr-only {
  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: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.inline-error {
  background: #7a2e2e;
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: center;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

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

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  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: 2rem;
  height: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--teal) 0%, var(--teal-mid) 60%, var(--gold) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

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

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

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

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--teal-mid);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

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

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

.hero-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 40, 42, 0.25) 0%, rgba(15, 40, 42, 0.55) 45%, rgba(15, 40, 42, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: rise 1s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin-bottom: 0.8rem;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  max-width: 22ch;
  color: #f4efe6;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

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

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

.btn-teal:hover {
  background: var(--teal-mid);
  color: var(--white);
}

.section {
  padding: 5rem 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

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

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

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

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.benefit-list {
  display: grid;
  gap: 1.25rem;
}

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

.benefit-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 700;
}

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

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

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

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

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

.course-tile img,
.blog-tile img,
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.course-tile h3,
.blog-tile h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

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

.proof-band {
  background: var(--teal);
  color: var(--white);
  padding: 2.8rem 0;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.25rem;
}

.quote-rail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.quote {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem;
}

.quote p {
  font-size: 1.1rem;
}

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

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

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

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

.prose {
  max-width: 68ch;
}

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

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

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

.tier {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tier.featured {
  background: var(--teal);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-8px);
}

.tier.featured a {
  color: var(--gold);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
}

.tier ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  flex: 1;
}

.module-list {
  display: grid;
  gap: 1rem;
}

.module {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.35);
}

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

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

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

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

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

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

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #9b3a3a;
}

.field-error {
  color: #9b3a3a;
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

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

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

.form-status.is-error {
  color: #9b3a3a;
}

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

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

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.5);
}

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

th {
  background: var(--teal-soft);
  font-family: var(--font-display);
}

.site-footer {
  margin-top: 4rem;
  background: #123836;
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 0 1.5rem;
}

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

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

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.9rem;
}

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

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

.rating {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.cta-band {
  background:
    linear-gradient(120deg, rgba(15, 76, 74, 0.92), rgba(26, 107, 103, 0.88)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: var(--white);
  border-radius: 22px;
  padding: 2.8rem;
}

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

.cta-band p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

@keyframes drift {
  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,
  .proof-row,
  .footer-inner,
  .quote-rail,
  .split,
  .split-reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .tier.featured {
    transform: none;
  }

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

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

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

  .site-nav {
    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;
    display: none;
  }

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

  .nav-cta {
    text-align: center;
  }

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

  .course-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
