:root {
  --ink: #162536;
  --ink-soft: #4a5d72;
  --mist: #e6eef6;
  --paper: #f3f7fb;
  --navy: #16324f;
  --navy-deep: #0f2438;
  --teal: #1a6b6b;
  --teal-deep: #134f4f;
  --brass: #b8942a;
  --brass-soft: #d4b85a;
  --line: rgba(22, 37, 54, 0.12);
  --shadow: 0 20px 48px rgba(15, 36, 56, 0.1);
  --radius: 3px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(26, 107, 107, 0.11), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(184, 148, 42, 0.09), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 38%, #eaf1f7 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 251, 0.88);
  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: 1.65rem;
  height: 1.65rem;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--teal) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

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

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

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

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

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--navy);
  color: var(--navy) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--paper) !important;
}

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

.nav-toggle-bar {
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-main {
  display: block;
}

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 36, 56, 0.28) 0%, rgba(15, 36, 56, 0.74) 68%, rgba(15, 36, 56, 0.9) 100%),
    linear-gradient(90deg, rgba(26, 107, 107, 0.35), transparent 58%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 1.15rem;
  max-width: 11ch;
  animation: riseIn 0.95s ease both;
}

.hero-line {
  font-size: clamp(1.12rem, 2.1vw, 1.4rem);
  max-width: 32rem;
  margin-bottom: 1.7rem;
  color: rgba(243, 247, 251, 0.92);
  animation: riseIn 1.05s ease 0.1s both;
  font-weight: 300;
}

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

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

.btn-primary {
  background: var(--brass);
  color: #1a1608;
}

.btn-primary:hover {
  background: var(--brass-soft);
  color: #1a1608;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(243, 247, 251, 0.55);
  color: #f3f7fb;
}

.btn-secondary:hover {
  background: rgba(243, 247, 251, 0.12);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--paper);
}

.section {
  padding: 4.5rem 0;
}

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

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  max-width: 18ch;
}

.section-lead {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

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

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  font-weight: 700;
}

.proof-item span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.split-media img {
  width: 100%;
  height: min(520px, 70vh);
  object-fit: cover;
  border-radius: 2px;
}

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

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

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

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

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.media-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 107, 107, 0.35);
  color: inherit;
}

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

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

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

.media-tile p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.quote-panel {
  background: var(--navy-deep);
  color: #e8f0f7;
  padding: 2rem;
}

.quote-panel p {
  font-size: 1.25rem;
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 500;
}

.quote-panel cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(232, 240, 247, 0.78);
  font-family: var(--font-body);
}

.quote-panel.alt {
  background: var(--teal-deep);
}

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

.tier-featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(26, 107, 107, 0.08), rgba(255, 255, 255, 0.58));
}

.tier h3 {
  margin: 0;
  font-size: 1.5rem;
}

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

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

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

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-hero.with-image {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: #f3f7fb;
  overflow: hidden;
  padding: 0;
  margin-bottom: 2rem;
}

.page-hero.with-image .hero-media {
  position: absolute;
  inset: 0;
}

.page-hero.with-image .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 56, 0.2), rgba(15, 36, 56, 0.85));
}

.page-hero.with-image .container {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.page-hero.with-image h1,
.page-hero.with-image p {
  color: #f3f7fb;
}

.page-hero.with-image .eyebrow {
  color: var(--brass-soft);
}

.prose {
  max-width: 42rem;
}

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

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

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

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

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

.prose th {
  background: rgba(22, 50, 79, 0.06);
  font-weight: 600;
}

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

.module-list li {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
}

.module-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

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

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

.faq-list p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

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

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

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

.case-study h3 {
  font-size: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

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

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

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(26, 107, 107, 0.35);
  border-color: var(--teal);
}

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

.form-status {
  margin: 0;
  font-size: 0.95rem;
}

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

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

.address-block {
  background: var(--navy-deep);
  color: #e8f0f7;
  padding: 1.75rem;
}

.address-block h2 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.4rem;
  color: var(--brass-soft);
}

.address-block h2:first-child {
  margin-top: 0;
}

.address-block a {
  color: #e8f0f7;
}

.address-block p {
  margin: 0;
  color: rgba(232, 240, 247, 0.9);
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
  margin-top: 1.5rem;
}

.journey-step {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
  padding: 1.25rem;
  position: relative;
}

.journey-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.journey-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.journey-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 4rem;
  background: var(--navy-deep);
  color: rgba(232, 240, 247, 0.88);
  padding: 3.5rem 0 1.5rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: rgba(232, 240, 247, 0.75);
  margin: 0;
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass-soft);
  margin: 0 0 0.85rem;
  font-weight: 600;
}

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

.footer-col a {
  color: rgba(232, 240, 247, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--brass-soft);
}

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

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 240, 247, 0.12);
  font-size: 0.88rem;
  color: rgba(232, 240, 247, 0.65);
}

.footer-bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy-deep);
  color: #e8f0f7;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(212, 184, 90, 0.35);
  box-shadow: var(--shadow);
  display: none;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner.is-visible {
  display: flex;
  animation: riseIn 0.45s ease both;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: rgba(232, 240, 247, 0.9);
}

.cookie-banner a {
  color: var(--brass-soft);
}

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

.cookie-banner .btn-outline {
  border-color: rgba(232, 240, 247, 0.45);
  color: #e8f0f7;
}

.cookie-banner .btn-outline:hover {
  background: rgba(232, 240, 247, 0.12);
  color: #fff;
}

.inline-error {
  background: #fde8e8;
  color: #9b2c2c;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid #f5c2c2;
}

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

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

.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.3rem;
}

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

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--teal-deep) 100%);
  color: #e8f0f7;
  padding: 3.5rem 0;
  margin-top: 2rem;
}

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

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

.cta-band .btn-primary {
  margin-top: 0.5rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.92rem;
}

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

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

@media (max-width: 960px) {
  .proof-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .journey {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-layout,
  .footer-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav.is-open {
    display: flex;
    animation: riseIn 0.25s ease both;
  }

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

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

@media (max-width: 640px) {
  .proof-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .review-grid,
  .journey {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    max-width: none;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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