:root {
  --ink: #142428;
  --ink-soft: #3d545c;
  --mist: #d7e3e8;
  --fog: #eef4f6;
  --paper: #f7fafb;
  --teal: #1a6b6b;
  --teal-deep: #0f4548;
  --copper: #b86b3d;
  --line: rgba(20, 36, 40, 0.14);
  --shadow-soft: 0 18px 40px rgba(15, 69, 72, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 4px;
  --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(26, 107, 107, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 107, 61, 0.1), transparent 50%),
    linear-gradient(180deg, var(--fog) 0%, var(--paper) 40%, #e8f0f2 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 251, 0.84);
  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;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--teal-deep);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.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(--teal-deep);
}

.nav-cta {
  background: var(--teal-deep);
  color: #f4fafb !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

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

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

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 69, 72, 0.28) 0%, rgba(20, 36, 40, 0.72) 68%, rgba(20, 36, 40, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
  max-width: 38rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  margin: 0 0 0.35em;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 0.55em;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 36ch;
  color: rgba(245, 250, 251, 0.9);
  animation: riseIn 0.9s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: riseIn 0.9s ease 0.32s both;
}

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

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

.btn-primary {
  background: var(--copper);
  color: #fffaf6;
}

.btn-primary:hover {
  background: #9d5830;
  color: #fffaf6;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(245, 250, 251, 0.55);
  color: #f5fafb;
}

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

.btn-solid {
  background: var(--teal-deep);
  color: #f4fafb;
}

.btn-solid:hover {
  background: var(--teal);
  color: #f4fafb;
}

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

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

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

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

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

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

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

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

.media-plane {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

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

.quote-band {
  background:
    linear-gradient(120deg, rgba(15, 69, 72, 0.94), rgba(26, 107, 107, 0.88)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #f4fafb;
  padding: 4rem 0;
}

.quote-band blockquote {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--teal-deep);
}

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

.feature-list li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--teal);
}

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

.course-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--teal-deep);
  color: #f3f9fa;
  overflow: hidden;
}

.course-preview-copy {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.course-preview-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.course-preview img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

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

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

.listing-item {
  display: grid;
  gap: 0.85rem;
}

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

.listing-item h3 {
  font-size: 1.25rem;
  margin: 0;
}

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

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

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

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

.testimonial p {
  font-size: 1.05rem;
}

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

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

.tier {
  padding: 1.5rem 1.35rem;
  border-top: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.55);
}

.tier h3 {
  font-size: 1.35rem;
}

.tier .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal-deep);
  margin: 0.4rem 0 1rem;
}

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

.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: 650;
  font-family: var(--font-display);
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

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

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

.form-status.is-success {
  display: block;
  background: rgba(26, 107, 107, 0.12);
  color: var(--teal-deep);
}

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

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

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

.address-block {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.5rem;
  border-left: 3px solid var(--copper);
}

.prose {
  max-width: 46rem;
}

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

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

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

.prose th {
  background: rgba(26, 107, 107, 0.08);
}

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

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

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

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

.module h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

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

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

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

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

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--teal-deep);
  color: #dce9eb;
}

.site-footer a {
  color: #dce9eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.3fr;
  gap: 1.5rem;
}

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

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #f4fafb;
  margin: 0 0 0.7rem;
}

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

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

.footer-base {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(220, 233, 235, 0.2);
  font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-left: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
}

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

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

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

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

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.2em;
}

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

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

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

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

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    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;
  }

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

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }
}
