:root {
  --bg-void: #03050a;
  --bg-obsidian: #080c14;
  --bg-glass: rgba(12, 18, 32, 0.72);
  --bg-panel: #0c1220;
  --mid-blue: #121c32;
  --silver: #c5d0dc;
  --silver-dim: #8a97a8;
  --cyan: #7ec8d8;
  --cyan-deep: #3a8fa0;
  --rain: rgba(197, 208, 220, 0.12);
  --border: rgba(126, 200, 216, 0.18);
  --border-soft: rgba(197, 208, 220, 0.08);
  --text: #e8eef4;
  --text-muted: #9aa8b8;
  --danger: #e08a8a;
  --ok: #8bc9a8;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Outfit", sans-serif;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-void);
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(58, 143, 160, 0.14), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(18, 28, 50, 0.9), transparent 45%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-obsidian) 40%, #060a12 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(197, 208, 220, 0.45), transparent),
    radial-gradient(1px 1px at 22% 38%, rgba(126, 200, 216, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 41% 18%, rgba(197, 208, 220, 0.3), transparent),
    radial-gradient(1px 1px at 63% 55%, rgba(126, 200, 216, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(197, 208, 220, 0.35), transparent),
    radial-gradient(1px 1px at 91% 70%, rgba(126, 200, 216, 0.3), transparent),
    radial-gradient(1px 1px at 15% 78%, rgba(197, 208, 220, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 55% 88%, rgba(126, 200, 216, 0.35), transparent);
  animation: drizzle 18s linear infinite;
}

@keyframes drizzle {
  0% { transform: translateY(0); }
  100% { transform: translateY(24px); }
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

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

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

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: 0.06em; }

p { margin: 0 0 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(3, 5, 10, 0.78);
  border-bottom: 1px solid var(--border-soft);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--silver);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--silver);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver-dim);
  font-weight: 400;
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(126, 200, 216, 0.12), rgba(12, 18, 32, 0.6));
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  text-decoration: none;
}

.btn--solid {
  background: linear-gradient(135deg, rgba(126, 200, 216, 0.28), rgba(18, 28, 50, 0.9));
  border-color: rgba(126, 200, 216, 0.45);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(126, 200, 216, 0.55);
  transform: scale(0);
  animation: rain-ripple 0.85s ease-out forwards;
  pointer-events: none;
}

@keyframes rain-ripple {
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

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

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

.hero-rain__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.7) contrast(1.05);
}

.hero-rain__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.92) 0%, rgba(3, 5, 10, 0.55) 48%, rgba(3, 5, 10, 0.35) 100%),
    linear-gradient(180deg, transparent 50%, rgba(3, 5, 10, 0.95) 100%);
  z-index: 1;
}

.hero-rain__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(2.5rem, 6vh, 4rem);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 36rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 1.25rem;
  color: var(--text);
  animation: fade-rise 1s ease both;
}

.hero-brand em {
  font-style: normal;
  color: var(--cyan);
  display: block;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  animation: fade-rise 1s 0.15s ease both;
}

.hero-actions {
  animation: fade-rise 1s 0.3s ease both;
}

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

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 1;
}

.section--glass {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.55), rgba(8, 12, 20, 0.3));
  border-block: 1px solid var(--border-soft);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  font-size: 1.05rem;
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--cyan-deep);
  margin-bottom: 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.glass-frame {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  box-shadow:
    inset 0 1px 0 rgba(197, 208, 220, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.glass-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(197, 208, 220, 0.12), transparent 18%),
    radial-gradient(circle at 70% 60%, rgba(126, 200, 216, 0.1), transparent 14%),
    radial-gradient(circle at 40% 80%, rgba(197, 208, 220, 0.08), transparent 12%);
  pointer-events: none;
}

.glass-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.85);
}

.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
  color: inherit;
  align-items: baseline;
  transition: background 0.2s ease;
}

.offer-row:hover {
  background: rgba(126, 200, 216, 0.04);
}

.offer-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.offer-row p {
  margin: 0;
  font-size: 0.98rem;
}

.offer-meta {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
  font-size: 1rem;
}

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

.media-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-soft);
  background: rgba(8, 12, 20, 0.65);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.media-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.8);
}

.media-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.media-card__body h3 {
  margin-bottom: 0.4rem;
}

.quote-strip {
  border-left: 2px solid var(--cyan-deep);
  padding: 0.5rem 0 0.5rem 1.5rem;
  max-width: 40rem;
}

.quote-strip blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--silver);
  line-height: 1.35;
}

.quote-strip cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: end;
}

.page-hero__grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: brightness(0.78) saturate(0.75);
}

.prose {
  max-width: 42rem;
}

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

.prose ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.prose li { margin-bottom: 0.45rem; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cyan);
  margin: 1rem 0 0;
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.includes li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--silver);
  display: flex;
  gap: 0.75rem;
}

.includes li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(126, 200, 216, 0.5);
}

.curriculum-timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.curriculum-step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.curriculum-step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
  line-height: 1;
}

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

.form-field label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--silver-dim);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  border-radius: var(--radius);
}

.form-field textarea { min-height: 8rem; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(126, 200, 216, 0.25);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.form-field.is-invalid .field-error { display: block; }
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  color: var(--ok);
  border-color: rgba(139, 201, 168, 0.4);
}

.form-status.is-error {
  display: block;
  color: var(--danger);
  border-color: rgba(224, 138, 138, 0.4);
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  background: rgba(3, 5, 10, 0.7);
}

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

.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-grid h3 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

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

.footer-grid li { margin-bottom: 0.45rem; }

.footer-grid a {
  text-decoration: none;
  color: var(--silver-dim);
}

.footer-grid a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 34rem;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  background: rgba(8, 12, 20, 0.94);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: none;
}

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

.cookie-banner p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.island-error {
  display: none;
  margin-top: 0.5rem;
  color: var(--danger);
  font-size: 0.88rem;
}

.island-error.is-visible { display: block; }

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

.error-page h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  letter-spacing: 0.2em;
  color: var(--cyan-deep);
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .split,
  .split--reverse,
  .page-hero__grid,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse { direction: ltr; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(3, 5, 10, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--border-soft);
  }

  .hero-rain__content {
    margin-left: 1.25rem;
    max-width: calc(100% - 2.5rem);
  }

  .offer-row {
    grid-template-columns: 1fr;
  }

  .curriculum-step {
    grid-template-columns: 3.5rem 1fr;
  }
}
