:root {
  --pearl: #f4f7fa;
  --moon-silver: #c5ced8;
  --deep-navy: #1a2744;
  --soft-cyan: #7ec8c4;
  --lavender: #c8b8d8;
  --foam: #fbfcfe;
  --ink: #1c2638;
  --muted: #5a677a;
  --tide: #4a9a96;
  --cliff: #2a3a55;
  --line: rgba(26, 39, 68, 0.12);
  --glow: rgba(126, 200, 196, 0.45);
  --shadow: 0 24px 60px rgba(26, 39, 68, 0.12);
  --radius: 1.25rem;
  --font-display: "Quicksand", "Avenir Next", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(200, 184, 216, 0.35), transparent 55%),
    radial-gradient(700px 420px at 0% 20%, rgba(126, 200, 196, 0.28), transparent 50%),
    linear-gradient(168deg, var(--foam), var(--pearl) 42%, #e4edf4);
  background-attachment: fixed;
  line-height: 1.68;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep-navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(251, 252, 254, 0.78);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, #f4f7fa, transparent 42%),
    linear-gradient(145deg, var(--soft-cyan), var(--lavender) 55%, var(--deep-navy));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  animation: moon-pulse 8s ease-in-out infinite;
}

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

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

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--cliff);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.88rem 1.4rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  color: var(--foam);
  background:
    linear-gradient(135deg, rgba(200, 184, 216, 0.35), transparent 42%),
    linear-gradient(160deg, #5aaeaa, #2f4f6e);
  box-shadow: 0 12px 30px rgba(42, 58, 85, 0.28);
}

.btn-primary:hover {
  color: var(--foam);
  transform: translateY(-2px);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.55);
  color: var(--cliff);
  border: 1px solid var(--line);
}

.btn .moon-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(244, 247, 250, 0.7);
  pointer-events: none;
  animation: moon-ring 0.85s ease-out forwards;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--tide);
  border-bottom: 1px solid currentColor;
}

.hero-bleed {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--foam);
}

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

.hero-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: tide-drift 22s ease-in-out infinite alternate;
}

.hero-bleed-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 39, 68, 0.25) 0%, rgba(26, 39, 68, 0.55) 45%, rgba(26, 39, 68, 0.88) 100%),
    radial-gradient(600px 320px at 20% 80%, rgba(126, 200, 196, 0.28), transparent 60%);
  pointer-events: none;
}

.hero-bleed-content {
  position: relative;
  padding: 4.5rem 0 3.75rem;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--shell)) / 2));
  margin-right: auto;
  width: min(40rem, calc(100% - 2.5rem));
}

.brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--foam);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 30px rgba(26, 39, 68, 0.35);
  animation: rise-in 0.9s ease both;
}

.hero-bleed h1 {
  color: var(--foam);
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 500;
  max-width: 22ch;
  animation: rise-in 1s ease 0.1s both;
}

.hero-bleed .lede {
  color: rgba(244, 247, 250, 0.88);
  animation: rise-in 1s ease 0.18s both;
}

.hero-bleed .btn {
  margin-top: 0.35rem;
  animation: rise-in 1s ease 0.26s both;
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}

.section {
  padding: 4.25rem 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(197, 206, 216, 0.22));
  border-block: 1px solid var(--line);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(220, 232, 240, 0.5)),
    linear-gradient(180deg, transparent, rgba(126, 200, 196, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--cliff);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--soft-cyan), var(--lavender));
}

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

.offer-item img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.offer-item h3 {
  margin: 0 0 0.4rem;
}

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

.evidence {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.evidence blockquote {
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(126, 200, 196, 0.18), rgba(255, 255, 255, 0.65));
  border: 1px solid var(--line);
}

.evidence blockquote p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--deep-navy);
}

.evidence cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.evidence-aside,
.detail-aside,
.contact-aside,
.cohort-meta {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.cta-band {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero-media .shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-media img {
  border-radius: var(--radius);
  width: 100%;
  height: 16rem;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--moon-silver);
  font-weight: 700;
}

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

.narrow {
  max-width: 44rem;
}

.service-list,
.post-list,
.cohort-list {
  display: grid;
  gap: 1.75rem;
}

.service-row,
.post-row,
.cohort-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.cohort-row {
  grid-template-columns: 1.4fr 0.7fr;
  align-items: start;
}

.service-row img,
.post-row img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-row h2,
.post-row h2,
.cohort-row h2 {
  margin: 0.2rem 0 0.5rem;
}

.service-row h2 a,
.post-row h2 a {
  color: inherit;
  text-decoration: none;
}

.cohort-service {
  font-weight: 700;
  color: var(--tide);
}

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

.detail-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  object-fit: cover;
  max-height: 24rem;
}

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

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

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

.pricing-list article {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--tide);
  margin: 0.2rem 0 0.6rem;
}

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

.contact-form,
.field {
  display: grid;
  gap: 0.4rem;
}

.contact-form {
  gap: 1rem;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(126, 200, 196, 0.45);
  border-color: var(--tide);
}

.field-error,
.form-status {
  margin: 0;
  font-size: 0.88rem;
}

.field-error {
  color: #9b3b3b;
}

.form-status.is-success {
  color: #21675f;
}

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

.prose.legal h2 {
  margin-top: 2rem;
}

.after-post {
  margin-top: 2rem;
}

.not-found {
  padding: 5rem 0;
  text-align: center;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(26, 39, 68, 0.05)),
    linear-gradient(160deg, #dce7f0, #c9d5e2);
  border-top: 1px solid var(--line);
}

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

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

.footer-label {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
}

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

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a,
.site-footer a {
  color: var(--cliff);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--tide);
}

.footer-note {
  color: var(--muted);
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 1rem 0;
  background:
    linear-gradient(160deg, rgba(26, 39, 68, 0.96), rgba(42, 58, 85, 0.94));
  color: var(--foam);
  box-shadow: 0 -12px 40px rgba(26, 39, 68, 0.28);
}

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

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

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

.cookie-banner p {
  margin: 0;
  max-width: 44rem;
}

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

@keyframes moon-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.07); filter: brightness(1.1); }
}

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

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

@keyframes moon-ring {
  from {
    width: 0;
    height: 0;
    opacity: 0.7;
    transform: translate(-50%, -50%);
  }
  to {
    width: 220px;
    height: 220px;
    opacity: 0;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 900px) {
  .primary-offer,
  .evidence,
  .detail-grid,
  .contact-grid,
  .page-hero-media .shell,
  .footer-grid,
  .offer-rail,
  .team-grid,
  .cohort-row {
    grid-template-columns: 1fr;
  }

  .service-row,
  .post-row {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(251, 252, 254, 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;
    gap: 0.75rem;
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
