:root {
  --pearl: #f4f7fb;
  --moon-silver: #c9d2e0;
  --deep-navy: #0b1f3a;
  --soft-cyan: #7ec8d4;
  --lavender: #c5b6e0;
  --ink: #132238;
  --muted: #4a5d78;
  --surface: rgba(244, 247, 251, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --line: rgba(11, 31, 58, 0.12);
  --glow: rgba(126, 200, 212, 0.35);
  --shadow: 0 20px 60px rgba(11, 31, 58, 0.12);
  --radius: 1.25rem;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -5%, rgba(126, 200, 212, 0.28), transparent 55%),
    radial-gradient(700px 480px at 92% 5%, rgba(197, 182, 224, 0.22), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(201, 210, 224, 0.35), transparent 60%),
    linear-gradient(180deg, #eef3f9 0%, var(--pearl) 42%, #e6edf6 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

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

a {
  color: #1a4a6e;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--deep-navy);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 400; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #3d7a8a;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.12rem;
  max-width: 40rem;
  color: var(--muted);
  font-weight: 300;
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid rgba(126, 200, 212, 0.45);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(201, 210, 224, 0.35)),
    linear-gradient(120deg, rgba(126, 200, 212, 0.35), rgba(197, 182, 224, 0.25));
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px rgba(11, 31, 58, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--deep-navy);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 36px rgba(126, 200, 212, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(11, 31, 58, 0.2);
  box-shadow: none;
}

.moon-ring {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244, 247, 251, 0.9) 0%, rgba(126, 200, 212, 0.45) 40%, transparent 70%);
  animation: moon-expand 0.7s var(--ease) forwards;
}

@keyframes moon-expand {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(18); opacity: 0; }
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--deep-navy);
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #f4f7fb 0 28%, transparent 30%),
    radial-gradient(circle at 60% 45%, var(--soft-cyan) 0 35%, transparent 36%),
    linear-gradient(145deg, var(--deep-navy), #1a3a5c);
  box-shadow: 0 0 0 3px rgba(126, 200, 212, 0.25);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--deep-navy);
  border-radius: 2px;
}

/* Hero: full-bleed moonlit plane, brand-dominant, bottom-anchored copy */
.hero-tide {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--pearl);
}

.hero-tide__media {
  position: absolute;
  inset: 0;
}

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

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

.hero-tide__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.25) 0%, rgba(11, 31, 58, 0.55) 45%, rgba(11, 31, 58, 0.88) 100%),
    radial-gradient(600px 280px at 70% 20%, rgba(126, 200, 212, 0.25), transparent 60%);
}

.hero-tide__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 36rem;
  animation: rise-in 1s var(--ease) both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-tide h1 {
  color: rgba(244, 247, 251, 0.95);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  max-width: 28rem;
  margin-bottom: 0.85rem;
}

.hero-tide p {
  color: rgba(232, 238, 245, 0.88);
  font-weight: 300;
  max-width: 28rem;
}

.hero-tide .btn {
  margin-top: 0.5rem;
}

.section {
  padding: 4rem 0;
}

.section-panel {
  background: var(--surface);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.moon-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(201, 210, 224, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.primary-service {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.primary-service img {
  width: 100%;
  height: min(360px, 50vw);
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.25rem);
}

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

.offer-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.offer-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.1);
}

.offer-row img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.9rem;
}

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

.quote {
  margin: 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(126, 200, 212, 0.12), rgba(197, 182, 224, 0.14));
  border: 1px solid var(--line);
}

.quote p {
  font-size: 1.08rem;
  font-weight: 300;
}

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

.post-grid,
.price-grid,
.cohort-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.media-tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}

.media-tile:hover {
  transform: translateY(-4px);
}

.media-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.media-tile > *:not(img) {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.media-tile h3,
.media-tile .meta {
  margin-top: 0.85rem;
}

.media-tile p:last-child {
  padding-bottom: 1.1rem;
}

.page-hero {
  padding: 3.25rem 0 1.5rem;
}

.page-hero-image {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.page-hero-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.78));
}

.page-hero-image .shell {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
  color: #fff;
}

.page-hero-image h1,
.page-hero-image .kicker {
  color: #fff;
}

.service-detail,
.split-two {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 0.7fr;
}

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

.fact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.fact-list span {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prose {
  max-width: 42rem;
}

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

.form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

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

.field-error {
  margin: 0;
  color: #8a2f45;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(138, 47, 69, 0.1);
  color: #8a2f45;
}

.form-status.is-ok {
  background: rgba(126, 200, 212, 0.2);
  color: #1a4a6e;
}

.price-card,
.cohort-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.price-card strong,
.cohort-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep-navy);
  margin: 0.35rem 0 0.75rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.92), #0b1f3a);
  color: rgba(244, 247, 251, 0.88);
}

.site-footer a {
  color: rgba(126, 200, 212, 0.95);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-label {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--lavender);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(244, 247, 251, 0.65);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(244, 247, 251, 0.95), rgba(201, 210, 224, 0.9));
  border: 1px solid rgba(126, 200, 212, 0.45);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.95rem;
}

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

.team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244, 247, 251, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .primary-service,
  .service-detail,
  .split-two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .offer-row {
    grid-template-columns: 1fr;
  }
  .offer-row img {
    width: 100%;
    height: 160px;
  }
}
