:root {
  --ink: #14262c;
  --ink-soft: #3a545c;
  --mist: #eef4f5;
  --paper: #f7fafb;
  --teal: #0b3d4a;
  --teal-deep: #072b34;
  --teal-mid: #155869;
  --brass: #c4a574;
  --brass-deep: #9a7d4f;
  --sand: #d9e3e6;
  --line: rgba(11, 61, 74, 0.14);
  --danger: #8b2e2e;
  --ok: #1f5c45;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(7, 43, 52, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", 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 500px at 10% -10%, rgba(196, 165, 116, 0.18), transparent 55%),
    radial-gradient(900px 420px at 95% 5%, rgba(21, 88, 105, 0.12), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

#site-header-slot:empty,
#site-footer-slot:empty {
  min-height: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 251, 0.86);
  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.65rem;
  text-decoration: none;
  color: var(--teal-deep);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  background:
    linear-gradient(145deg, var(--brass) 0%, var(--brass-deep) 45%, var(--teal) 46%, var(--teal-mid) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--teal);
  margin: 0.22rem 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

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

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

.nav-cta {
  background: var(--teal);
  color: #fff !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-mid);
  transform: translateY(-1px);
}

.site-main {
  min-height: 55vh;
}

.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.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

.btn-secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-secondary:hover {
  background: rgba(11, 61, 74, 0.06);
  color: var(--teal-deep);
}

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

.btn-brass:hover {
  background: var(--brass-deep);
  color: #fff;
}

.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(7, 43, 52, 0.25) 0%, rgba(7, 43, 52, 0.55) 45%, rgba(7, 43, 52, 0.88) 100%),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
  z-index: 0;
}

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

.hero-immersive .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: #fff;
  animation: rise-in 0.9s ease both;
}

.hero-immersive .hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  max-width: 28rem;
  color: rgba(244, 248, 249, 0.92);
  margin-bottom: 1.6rem;
  animation: rise-in 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise-in 1s ease 0.22s both;
}

.hero-immersive .btn-primary {
  background: var(--brass);
  color: var(--teal-deep);
}

.hero-immersive .btn-primary:hover {
  background: #d4b88a;
  color: var(--teal-deep);
}

.hero-immersive .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.page-hero {
  padding: 4rem 0 2.5rem;
  position: relative;
}

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

.page-hero .lead {
  max-width: 38rem;
}

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

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

.media-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  animation: image- ken 22s ease-in-out infinite alternate;
}

.band {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  color: #eef5f7;
}

.band h2,
.band h3 {
  color: #fff;
}

.band .muted {
  color: rgba(238, 245, 247, 0.82);
}

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

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

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

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

.feature-list li {
  padding-left: 1.4rem;
  border-left: 2px solid var(--brass);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal-deep);
  margin-bottom: 0.25rem;
}

.program-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.program-row:nth-child(even) {
  grid-template-columns: 1fr 1.05fr;
}

.program-row:nth-child(even) .program-media {
  order: 2;
}

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

.program-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 1.25rem;
}

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

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

.quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--teal-deep);
}

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

.stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal-deep);
}

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

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

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

.tier.featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(11, 61, 74, 0.06), rgba(255, 255, 255, 0.8));
  transform: translateY(-6px);
}

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

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

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

.tier li + li {
  margin-top: 0.4rem;
}

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

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

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

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  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 rgba(21, 88, 105, 0.35);
  border-color: var(--teal-mid);
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(31, 92, 69, 0.12);
  color: var(--ok);
}

.form-status.error {
  background: rgba(139, 46, 46, 0.1);
  color: var(--danger);
}

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

.contact-aside {
  padding: 1.5rem;
  border-left: 2px solid var(--brass);
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

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

.article h2 {
  margin-top: 2rem;
}

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

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

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

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

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

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

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

.site-footer {
  background: var(--teal-deep);
  color: rgba(238, 245, 247, 0.86);
  margin-top: 3rem;
  padding: 3.5rem 0 2rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-tag {
  max-width: 28rem;
  color: rgba(238, 245, 247, 0.75);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: rgba(238, 245, 247, 0.9);
  text-decoration: none;
}

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

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(238, 245, 247, 0.6);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

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

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

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

th {
  background: rgba(11, 61, 74, 0.06);
  color: var(--teal-deep);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

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

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

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

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

.inline-script-error {
  margin: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(139, 46, 46, 0.1);
  color: var(--danger);
  border-radius: var(--radius);
}

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

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

@keyframes image-ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 250, 251, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }

  .nav-list a {
    display: block;
    padding: 0.55rem 0;
  }

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

  .split,
  .program-row,
  .program-row:nth-child(even),
  .contact-panel,
  .blog-item,
  .price-tiers,
  .grid-2,
  .grid-3,
  .footer-cols,
  .instructor {
    grid-template-columns: 1fr;
  }

  .program-row:nth-child(even) .program-media {
    order: 0;
  }

  .tier.featured {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
