:root {
  --color-text: #232323;
  --color-muted: #6f6f6f;
  --color-brand: #00759d;
  --color-brand-light: #50b1e9;
  --color-accent: #00a14f;
  --color-surface: #ffffff;
  --color-border: #bababa;
  --color-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  --font-heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --site-max-width: 1200px;
  --hero-stage-width: 1440px;
  --hero-stage-height: 430px;
  --hero-stage-scale: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #fff;
  font-family: var(--font-body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(calc(100% - 40px), var(--site-max-width));
  margin: 0 auto;
}

/* ─── Header ─────────────────────────────────────────────── */

.site-header {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.23);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo: 149×68px per Figma */
.site-brand img {
  width: 149px;
  height: 68px;
  object-fit: contain;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* button group (Register + Login) */
.site-header__buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: "Inter Display", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

/* Register Your School */
.button--ghost {
  color: #00759d;
  background: #ffffff;
  border-color: #00759d;
  box-shadow:
    0px 5px 10px 0px rgba(0, 0, 0, 0.10),
    0px 19px 19px 0px rgba(0, 0, 0, 0.09),
    0px 43px 26px 0px rgba(0, 0, 0, 0.05),
    0px 76px 30px 0px rgba(0, 0, 0, 0.01),
    0px 119px 33px 0px rgba(0, 0, 0, 0);
}

/* Login */
.button--primary {
  color: #ffffff;
  background: #00759d;
  border-color: #00759d;
  padding: 12px 46px;
}

/* Menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid #bababa;
  border-radius: 4px;
  background: #f3f3f3;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 12;
}

.menu-toggle__hamburger {
  width: 24px;
  height: 24px;
  display: block;
}

.menu-toggle__close {
  display: none;
  width: 24px;
  height: 24px;
}

.menu-toggle[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__hamburger {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 11;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 22, 25, 0.18);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.site-menu__panel {
  position: relative;
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(100%, 458px);
  min-height: 100%;
  padding: 34px 40px 42px;
  background: radial-gradient(365.41% 454.62% at 37.64% 24.37%, #fafafa 0%, #4e9dcb 100%);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.08);
}

.site-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #f7f5f1;
  cursor: pointer;
}

.site-menu__close img {
  width: 20px;
  height: 20px;
  display: block;
}

.site-menu__eyebrow,
.site-menu__section-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  background: #cbeeff;
  color: #00759d;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.site-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-menu__nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  color: #232323;
}

.site-menu__nav a span {
  color: #00759d;
}

.site-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.site-menu__button {
  width: 100%;
  justify-content: center;
  height: 44px;
  font-size: 14px;
}

.site-menu__button--login {
  box-shadow: none;
}

.site-menu__button--register {
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.1),
    0 18px 26px rgba(0, 0, 0, 0.05);
}

.site-menu__contact,
.site-menu__social-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-menu__contact {
  margin-top: 54px;
}

.site-menu__social-wrap {
  margin-top: 28px;
}

.site-menu__email {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #232323;
  white-space: nowrap;
}

.site-menu__socials {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-menu__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-menu__socials img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.signup-panel {
  position: fixed;
  inset: 0;
  z-index: 19;
}

.signup-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 24, 0.14);
  cursor: pointer;
}

.signup-panel__sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 29.6%) minmax(0, 1fr);
  width: min(100vw, 100%);
  min-height: 100vh;
  margin-left: auto;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 120px 120px,
      radial-gradient(circle at 92% 72%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 180px 180px,
      linear-gradient(90deg, #0e6f94 0 29.6%, #1385b1 29.6% 100%);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 320ms ease;
}

.signup-panel.is-open .signup-panel__sheet {
  transform: translateX(0);
}

.signup-panel.signup-panel--form .signup-panel__sheet {
  background: linear-gradient(90deg, #0e6f94 0 29.6%, #fafafa 29.6% 100%);
}

.signup-panel__sheet::after {
  content: "";
  position: absolute;
  inset: 0 0 0 29.6%;
  opacity: 0.16;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120px 78px at 80% 10%, transparent 58%, rgba(255, 255, 255, 0.9) 59%, transparent 61%),
    radial-gradient(ellipse 180px 112px at 82% 28%, transparent 58%, rgba(255, 255, 255, 0.7) 59%, transparent 61%),
    radial-gradient(ellipse 160px 98px at 84% 48%, transparent 58%, rgba(255, 255, 255, 0.65) 59%, transparent 61%),
    radial-gradient(ellipse 190px 118px at 88% 74%, transparent 58%, rgba(255, 255, 255, 0.7) 59%, transparent 61%);
}

.signup-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #f7f5f1;
  cursor: pointer;
}

.signup-panel__close img {
  width: 24px;
  height: 24px;
  display: block;
}

.signup-panel__brand,
.signup-panel__content {
  position: relative;
  z-index: 1;
}

.signup-panel__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
}

.signup-panel__brand img {
  width: min(100%, 298px);
  height: auto;
}

.signup-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 84px 8.4vw 84px 7.2vw;
  color: #ffffff;
}

.signup-panel__content[hidden] {
  display: none;
}

.signup-panel__title {
  max-width: 720px;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.signup-panel__text {
  max-width: 640px;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.signup-panel__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.signup-panel__start {
  min-width: 136px;
  min-height: 56px;
  padding: 14px 32px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: #232323;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.signup-panel__meta {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.84);
}

.signup-panel__content--form {
  align-items: flex-start;
  color: #232323;
}

.signup-panel__form-title {
  margin: 0 0 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(42px, 3vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.4px;
  color: #136ca0;
}

.signup-form {
  width: min(100%, 742px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signup-form__grid {
  display: grid;
  gap: 12px;
}

.signup-form__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signup-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signup-form__field--full {
  width: 100%;
}

.signup-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.signup-form__select {
  position: relative;
  display: block;
  width: 100%;
}

.signup-form__label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #000000;
}

.signup-form__control {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(17, 24, 39, 0.02);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.signup-form__control--button {
  justify-content: flex-start;
  padding-left: 14px;
  cursor: pointer;
}

.signup-form__control input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #232323;
}

.signup-form__control:focus-within,
.signup-form__control.is-filled {
  border-color: #50b1e9;
  box-shadow: 0 0 0 1px rgba(80, 177, 233, 0.08);
}

.signup-form__control input::placeholder {
  color: #9b9b9b;
}

.signup-form__control--select {
  position: relative;
  padding-right: 28px;
}

.signup-form__select-value {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #232323;
}

.signup-form__select-value--placeholder {
  color: #9b9b9b;
}

.signup-form__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.signup-form__option {
  position: relative;
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid #eaecf0;
  background: #ffffff;
  text-align: left;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #232323;
  cursor: pointer;
}

.signup-form__option:last-child {
  border-bottom: 0;
}

.signup-form__option--placeholder {
  color: #5d667b;
}

.signup-form__option.is-selected::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid #136ca0;
  border-bottom: 1.6px solid #136ca0;
  transform: translateY(-65%) rotate(-45deg);
}

.signup-form__control--select::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #777777;
  border-bottom: 1.6px solid #777777;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.signup-form__control--phone {
  gap: 6px;
  padding-left: 10px;
}

.signup-form__country {
  flex: 0 0 auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #6e6e6e;
  white-space: nowrap;
}

.signup-form__control.is-filled .signup-form__country {
  color: #232323;
}

.signup-form__control--phone input {
  padding-left: 0;
}

.signup-form__next {
  align-self: flex-start;
  min-width: 60px;
  min-height: 34px;
  margin-top: 12px;
  padding: 8px 18px;
  border: 0;
  border-radius: 4px;
  background: #00759d;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.signup-form__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: 18px;
  max-width: 100%;
}

.signup-form__actions .signup-form__next {
  margin-top: 0;
  align-self: flex-start;
  min-width: 116px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 6px;
}

.signup-form__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: #3f3f46;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  margin: 2px 0 0;
}

.signup-form__divider::before,
.signup-form__divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #d9d9d9;
}

.signup-form__divider span {
  flex: 0 0 auto;
}

.signup-form__google {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  min-height: 50px;
  border-radius: 6px;
  white-space: nowrap;
  justify-content: center;
  box-shadow: none;
}

.signup-form__next--wide {
  min-width: 142px;
}

/* ── Student flow ── */
.signup-student__notice {
  margin: -8px 0 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(35, 35, 35, 0.7);
}

.signup-student__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.signup-student__skip {
  background: none;
  border: none;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(35, 35, 35, 0.55);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-student__skip:hover {
  color: rgba(35, 35, 35, 0.85);
}

.signup-student__submit {
  min-width: 120px;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(19, 24, 29, 0.14);
  backdrop-filter: blur(1px);
  cursor: pointer;
}

.login-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 438px);
  min-height: 393px;
  margin: min(14vh, 116px) max(24px, 6vw) 24px auto;
  border-radius: 0 22px 22px 22px;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.14);
}

.login-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.login-modal__close img {
  width: 18px;
  height: 18px;
}

.login-modal__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 33px 28px;
}

.login-modal__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.2px;
  text-align: center;
  color: #232323;
}

.login-modal__subtitle {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: #606060;
  white-space: nowrap;
}

.login-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.login-modal__label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #232323;
}

.login-modal__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #232323;
  background: #ffffff;
}

.login-modal__input::placeholder {
  color: #8a8a8a;
}

.login-modal__submit {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: none;
}

.login-modal__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #232323;
  cursor: pointer;
}

.login-modal__google img {
  width: 22px;
  height: 22px;
}

.login-modal__signup {
  margin: 8px 0 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  color: #232323;
}

.login-modal__signup a {
  color: #00759d;
}

body.menu-open,
body.login-open,
body.signup-open {
  overflow: hidden;
}

@media (max-width: 1099px) {
  .site-menu__panel {
    width: min(100%, 418px);
    padding: 32px 32px 38px;
  }

  .login-modal__dialog {
    width: min(calc(100% - 28px), 390px);
    min-height: 370px;
    margin: 72px 14px 24px auto;
  }

  .login-modal__content {
    padding: 34px 24px 24px;
  }

  .login-modal__title {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .login-modal__subtitle {
    font-size: 13px;
    white-space: normal;
  }

  .login-modal__signup {
    font-size: 14px;
  }

  .signup-panel__sheet {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .signup-panel.signup-panel--form .signup-panel__sheet {
    background: linear-gradient(90deg, #0e6f94 0 240px, #fafafa 240px 100%);
  }

  .signup-panel__sheet::after {
    inset: 0 0 0 240px;
  }

  .signup-panel__content {
    padding: 80px 56px 72px 52px;
  }

  .signup-panel__title {
    font-size: 48px;
    letter-spacing: -1.2px;
  }

  .signup-panel__text {
    font-size: 18px;
    max-width: 520px;
  }

  .signup-panel__start {
    min-width: 122px;
    min-height: 52px;
    font-size: 24px;
  }

  .signup-panel__meta {
    font-size: 18px;
  }

  .signup-panel__form-title {
    font-size: 48px;
  }

  .signup-form {
    width: min(100%, 640px);
  }
}

/* ─── Hero Section ───────────────────────────────────────── */

.hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
  background: transparent;
}

/* Desktop: total section height = 806px (matches background SVG) */
@media (min-width: 1100px) {
  .hero-section {
    height: auto;
    min-height: calc(360px + (var(--hero-stage-height) * var(--hero-stage-scale)));
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
}

.hero-section__bg {
  position: absolute;
  left: 50%;
  width: 100vw;
  min-width: 1440px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.hero-section__bg img {
  width: 100%;
  max-width: none;
  height: auto;
}

.hero-section__bg--top {
  top: 0;
}

.hero-section__bg--top img {
  min-height: 540px;
  object-fit: cover;
  object-position: top center;
}

.hero-section__bg--bottom {
  bottom: 0;
  mix-blend-mode: multiply;
}

/* ─── Hero Content ───────────────────────────────────────── */

.hero-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 20px;
  flex-shrink: 0;
}

.hero-section__badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  color: var(--color-brand);
  background: rgba(80, 177, 233, 0.22);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.hero-section__title {
  max-width: 820px;
  margin: 0 auto 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4.44vw, 64px);
  font-weight: 700;
  line-height: clamp(2.4rem, 5vw, 72px);
  letter-spacing: normal;
}

.hero-section__title span {
  color: var(--color-accent);
}

.hero-section__summary {
  max-width: 640px;
  margin: 0 auto;
  color: #444;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
}

.hero-section__summary strong {
  font-weight: 700;
  color: var(--color-text);
}

/* ─── Why Schools Section ────────────────────────────────────────── */

.why-section {
  background: #0d2b44;
  padding: 76px 0;
}

.why-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Title */
.why-section__heading {
  display: flex;
  justify-content: center;
}

.why-section__title-wrap {
  padding: 8px 18px;
  background: linear-gradient(to right, #012d19, rgba(255, 255, 255, 0));
  border-bottom: 4px solid #00759d;
  border-radius: 3px;
}

.why-section__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  color: #ffffff;
  white-space: nowrap;
}

/* 3-column layout */
.why-section__columns {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.why-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Center column sits 90px lower to create the staggered effect */
.why-col--center {
  margin-top: 90px;
}

/* Decorative arrows — full-size overlay, hidden on smaller screens */
.why-section__arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Card */
.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 46px 24px;
  background: #ffffff;
  border-radius: 14px;
  text-align: center;
  min-height: 230px;
}

.why-card:not(.why-card--image) {
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.why-card__icon {
  width: 76px;
  height: 76px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.why-card:not(.why-card--image) .why-card__icon {
  width: 68px;
  height: 68px;
}

.why-card--image .why-card__icon--visual {
  width: 76px;
  height: 76px;
}

.why-card__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

.why-card__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #232323;
}

.why-card__text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(35, 35, 35, 0.8);
}

.why-card--image {
  justify-content: flex-start;
}

/* ── Tablet (768–1099px): 3 cols, tighter ── */
@media (min-width: 768px) and (max-width: 1099px) {
  .why-section {
    padding: 56px 0;
  }

  .why-section__columns {
    gap: 16px;
  }

  .why-col {
    gap: 16px;
  }

  .why-col--center {
    margin-top: 60px;
  }

  .why-card {
    padding: 30px 18px;
    gap: 20px;
    min-height: 196px;
  }

  .why-card:not(.why-card--image) {
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .why-card__icon {
    width: 60px;
    height: 60px;
  }

  .why-card:not(.why-card--image) .why-card__icon {
    width: 56px;
    height: 56px;
  }

  .why-card__title {
    font-size: 18px;
  }

  .why-card__text {
    font-size: 13px;
  }

  .why-section__title {
    font-size: 36px;
    letter-spacing: -1px;
    white-space: normal;
    text-align: center;
  }
}

/* ── Mobile (<768px): single column, stacked ── */
@media (max-width: 767px) {
  .why-section {
    padding: 40px 0 44px;
  }

  .why-section__inner {
    gap: 28px;
  }

  .why-section__columns {
    flex-direction: column;
    gap: 14px;
  }

  .why-col {
    width: 100%;
    gap: 14px;
  }

  .why-col--center {
    margin-top: 0;
  }

  .why-section__arrows {
    display: none;
  }

  .why-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px 18px;
    gap: 14px;
    border-radius: 18px;
    box-shadow: none;
    min-height: 0;
  }

  .why-card:not(.why-card--image) {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .why-card__icon {
    width: 44px;
    height: 44px;
  }

  .why-card:not(.why-card--image) .why-card__icon {
    width: 40px;
    height: 40px;
  }

  .why-card--image .why-card__icon {
    width: 44px;
    height: 44px;
  }

  .why-card__body {
    gap: 8px;
  }

  .why-card__title {
    font-size: 19px;
    line-height: 1.15;
  }

  .why-card__text {
    font-size: 13px;
    line-height: 1.5;
  }

  .why-card--image {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    padding: 16px 18px;
    gap: 14px;
    text-align: left;
    border-radius: 18px;
  }

  .why-section__title {
    font-size: 28px;
    letter-spacing: -0.8px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .why-section {
    padding: 36px 0 40px;
  }

  .why-section__inner {
    gap: 24px;
  }

  .why-card {
    padding: 16px 14px;
    gap: 12px;
    min-height: 0;
  }

  .why-card:not(.why-card--image) {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .why-card__icon {
    width: 40px;
    height: 40px;
  }

  .why-card:not(.why-card--image) .why-card__icon {
    width: 36px;
    height: 36px;
  }

  .why-card--image .why-card__icon {
    width: 40px;
    height: 40px;
  }

  .why-card__title {
    font-size: 18px;
  }

  .why-card__text {
    font-size: 12.5px;
  }

  .why-card--image {
    padding: 14px 16px;
  }

  .why-section__title {
    font-size: 26px;
    letter-spacing: -0.6px;
  }
}

/* ─── Challenge Section ───────────────────────────────────────────── */

.challenge-section {
  background: linear-gradient(180deg, #eef7eb 0%, #ffffff 72%);
  padding: 76px 0;
}

.challenge-section__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.challenge-section__header {
  display: flex;
  justify-content: center;
}

.challenge-section__title-wrap {
  padding: 8px 0 6px;
  border-bottom: 4px solid #00759d;
  border-radius: 3px;
  background: linear-gradient(
    89.894deg,
    rgba(255, 255, 255, 0) 1.884%,
    rgba(62, 147, 108, 0.12) 52.114%,
    rgba(255, 255, 255, 0) 99.987%
  );
}

.challenge-section__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  color: #232323;
  text-align: center;
}

.challenge-section__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.challenge-section__media {
  margin: 0;
}

.challenge-section__media-frame {
  padding: 8px;
  height: 583px;
  border-radius: 20px;
  background: #d6e0ea;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.challenge-section__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.challenge-section__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.challenge-section__headline {
  width: min(100%, 525px);
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
  color: #232323;
}

.challenge-section__text {
  width: min(100%, 525px);
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.18px;
  color: #343434;
}

.challenge-section__button {
  padding-inline: 24px;
}

/* ─── Hero Strip ─────────────────────────────────────────── */

.hero-strip {
  position: relative;
  z-index: 1;
  margin-top: 36px;
}

.hero-strip__stage {
  position: relative;
  width: 100%;
}

.hero-strip__curve {
  display: none;
}

/* ─── Hero Cards — base (mobile-first) ───────────────────── */

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 12px;
  border: 1px solid #bababa;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0px 7px 16px 0px rgba(0, 0, 0, 0.10);
}

.hero-card__art {
  flex-shrink: 0;
  height: 140px;
  border-radius: 6px;
  background: #e5ecef;
  overflow: hidden;
}

.hero-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
  text-transform: capitalize;
}

.hero-card__body h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: #232323;
}

.hero-card__body p {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #6f6f6f;
}

/* pins hidden on mobile/tablet — shown only on desktop strip */
.hero-card__pin {
  display: none;
}

/* ─── Mobile + Tablet scroll strip (up to 1099px) ────────── */

@media (max-width: 1099px) {
  .hero-strip {
    margin-top: 28px;
  }

  .hero-strip__stage {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* first/last card peek */
    padding: 10px 28px 28px;
  }

  .hero-strip__stage::-webkit-scrollbar {
    display: none;
  }

  .hero-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}

/* slightly bigger cards on larger phones / small tablets */
@media (min-width: 480px) and (max-width: 1099px) {
  .hero-card {
    flex-basis: 260px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .hero-section {
    padding-bottom: 32px;
  }

  .hero-strip {
    margin-top: 24px;
    min-height: 300px;
    overflow: hidden;
  }

  .hero-strip__stage {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: var(--hero-stage-height);
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    transform: none;
  }

  .hero-strip__curve {
    display: block;
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 66px;
    overflow: hidden;
  }

  .hero-strip__curve img {
    width: 100%;
    height: 66px;
    object-fit: fill;
  }

  .hero-card {
    position: absolute;
    width: 156px;
    height: 188px;
    margin: 0;
    flex: none;
  }

  .hero-card__art {
    flex: 0 0 88px;
    height: 88px;
  }

  .hero-card__body {
    flex: 1;
    overflow: hidden;
  }

  .hero-card__body h2 {
    font-size: 14px;
  }

  .hero-card__body p {
    font-size: 11px;
    line-height: 16px;
  }

  .hero-card__pin {
    display: block;
    position: absolute;
  }

  .hero-card__pin img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-card__pin--one   { width: 14px; height: 20px; left: calc(8%  - 7px); top: 48px; z-index: 3; }
  .hero-card__pin--two   { width: 15px; height: 21px; left: calc(29% - 7.5px); top: 70px; z-index: 3; }
  .hero-card__pin--three { width: 13px; height: 19px; left: calc(50% - 6.5px); top: 78px; z-index: 3; }
  .hero-card__pin--four  { width: 15px; height: 21px; left: calc(71% - 7.5px); top: 70px; z-index: 3; }
  .hero-card__pin--five  { width: 14px; height: 20px; left: calc(92% - 7px); top: 48px; z-index: 3; }

  .hero-card--one   { left: calc(8%  - 78px); top: 68px;  transform: rotate(10.46deg); }
  .hero-card--two   { left: calc(29% - 78px); top: 92px;  transform: rotate(5.42deg); }
  .hero-card--three { left: calc(50% - 78px); top: 100px; transform: rotate(0deg); }
  .hero-card--four  { left: calc(71% - 78px); top: 92px;  transform: rotate(-5.42deg); }
  .hero-card--five  { left: calc(92% - 78px); top: 68px;  transform: rotate(-10.46deg); }
}

@media (min-width: 920px) and (max-width: 1099px) {
  .hero-strip {
    min-height: 340px;
  }

  .hero-card {
    width: 180px;
    height: 214px;
  }

  .hero-card__art {
    flex: 0 0 110px;
    height: 110px;
  }

  .hero-card__body h2 {
    font-size: 15px;
  }

  .hero-card__body p {
    font-size: 12px;
    line-height: 17px;
  }

  .hero-card__pin--one   { left: calc(8%  - 7px); top: 42px; }
  .hero-card__pin--two   { left: calc(29% - 7.5px); top: 66px; }
  .hero-card__pin--three { left: calc(50% - 6.5px); top: 76px; }
  .hero-card__pin--four  { left: calc(71% - 7.5px); top: 66px; }
  .hero-card__pin--five  { left: calc(92% - 7px); top: 42px; }

  .hero-card--one   { left: calc(8%  - 90px); top: 62px; }
  .hero-card--two   { left: calc(29% - 90px); top: 88px; }
  .hero-card--three { left: calc(50% - 90px); top: 98px; }
  .hero-card--four  { left: calc(71% - 90px); top: 88px; }
  .hero-card--five  { left: calc(92% - 90px); top: 62px; }
}

@media (min-width: 768px) and (max-width: 840px) {
  .hero-section__title {
    font-size: 3rem;
    line-height: 1.08;
  }
}

/* ─── Desktop hanging strip (1100px+) ────────────────────── */

@media (min-width: 1100px) {
  /* strip takes all remaining height inside the 806px flex section */
  .hero-strip {
    flex: 1 0 auto;
    min-height: calc(var(--hero-stage-height) * var(--hero-stage-scale));
    overflow: hidden;
  }

  .hero-strip__stage {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: var(--hero-stage-width);
    height: var(--hero-stage-height);
    transform: translateX(-50%) scale(var(--hero-stage-scale));
    transform-origin: top center;
  }

  .hero-strip__curve {
    display: block;
    position: absolute;
    top: 30px;
    left: 0;
    width: var(--hero-stage-width);
    height: 66px;
    overflow: hidden;
  }

  /* object-fit: fill prevents the SVG from scaling vertically on wide screens
     so the curve dip always sits at y≈65px = pin-3 top (95px stage) */
  .hero-strip__curve img {
    width: var(--hero-stage-width);
    height: 66px;
    object-fit: fill;
  }

  /* card: 249×275px at 1440px reference */
  /* padding + gap from base (16px 12px / gap 16px): 32 + 140 + 16 + 87 = 275 ✓ */
  .hero-card {
    position: absolute;
    width: 249px;
    height: 275px;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  /* art: 275 - 32(v-padding) - 16(gap) - 87(body) = 140px */
  .hero-card__art {
    flex: 0 0 140px;
    height: 140px;
  }

  .hero-card__body {
    flex: 1;
    overflow: hidden;
  }

  /* pins: stage-level absolute, not inside rotated cards              */
  /* no CSS rotation on pin — SVG files are pre-rotated                */
  .hero-card__pin {
    display: block;
    position: absolute;
  }

  .hero-card__pin img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* pin sizes per Figma: 1&5 = 19×27, 2&4 = 21×28, 3 = 17×25         */
  /* left = centre% - half-pin-width;  top = card_top - pin_height - 6 */
  .hero-card__pin--one   { width: 19px; height: 27px; left: calc(6.667%  -  9.5px); top: 40px; z-index: 3; }
  .hero-card__pin--two   { width: 21px; height: 28px; left: calc(28.333% - 10.5px); top: 74px; z-index: 3; }
  .hero-card__pin--three { width: 17px; height: 25px; left: calc(50%     -  8.5px); top: 86px; z-index: 3; }
  .hero-card__pin--four  { width: 21px; height: 28px; left: calc(71.667% - 10.5px); top: 74px; z-index: 3; }
  .hero-card__pin--five  { width: 19px; height: 27px; left: calc(93.333% -  9.5px); top: 40px; z-index: 3; }

  /* card: left = calc(centre% - 124.5px)  [half of 249px]            */
  /* art images are pre-rotated in SVG — no CSS rotation added to them */
  .hero-card--one   { left: calc(6.667%  - 124.5px); top: 73px;  transform: rotate(10.46deg);  }
  .hero-card--two   { left: calc(28.333% - 124.5px); top: 108px; transform: rotate(5.42deg);   }
  .hero-card--three { left: calc(50%     - 124.5px); top: 117px; transform: rotate(0deg);      }
  .hero-card--four  { left: calc(71.667% - 124.5px); top: 108px; transform: rotate(-5.42deg);  }
  .hero-card--five  { left: calc(93.333% - 124.5px); top: 73px;  transform: rotate(-10.46deg); }
}

/* ─── Desktop scale steps: stage fills exactly at each breakpoint ── */
/* scale = viewport_width / --hero-stage-width (1440px)               */

@media (min-width: 1100px) {
  :root { --hero-stage-scale: 0.764; }   /* 1100 / 1440 */
}

@media (min-width: 1200px) {
  :root { --hero-stage-scale: 0.833; }   /* 1200 / 1440 */
}

@media (min-width: 1300px) {
  :root { --hero-stage-scale: 0.903; }   /* 1300 / 1440 */
}

@media (min-width: 1400px) {
  :root { --hero-stage-scale: 0.972; }   /* 1400 / 1440 */
}

/* ─── Large screen scaling (1440px+) ─────────────────────── */

@media (min-width: 1440px) {
  :root {
    --hero-stage-scale: 1.08;
  }

  .hero-section {
    min-height: calc(380px + (var(--hero-stage-height) * var(--hero-stage-scale)));
  }
}

@media (min-width: 1680px) {
  :root {
    --hero-stage-scale: 1.14;
  }

  .hero-section {
    min-height: calc(400px + (var(--hero-stage-height) * var(--hero-stage-scale)));
  }
}

@media (min-width: 1920px) {
  :root {
    --hero-stage-scale: 1.2;
  }

  .site-shell {
    width: min(calc(100% - 64px), 1320px);
  }

  .site-brand img {
    width: 164px;
    height: auto;
  }

  .button {
    height: 52px;
    padding-inline: 22px;
    font-size: 15px;
  }

  .button--primary {
    padding-inline: 50px;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
  }

  .hero-section__content {
    padding-top: 28px;
  }

  .hero-section__title {
    max-width: 920px;
    margin-bottom: 20px;
    font-size: clamp(3.5rem, 4.3vw, 78px);
    line-height: clamp(4rem, 4.7vw, 84px);
  }

  .hero-section__summary {
    max-width: 720px;
    font-size: 1.15rem;
  }

  .hero-strip {
    margin-top: 52px;
  }
}

/* ─── Green Captains Section ─────────────────────────────────────── */

.captains-section {
  --captains-column-height: 675px;
  background: #f2f5f7;
  padding: 76px 0;
}

.captains-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}

.captains-section__media {
  margin: 0;
  min-height: var(--captains-column-height);
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.captains-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.captains-section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  min-height: var(--captains-column-height);
}

.captains-section__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.captains-section__title-wrap {
  padding: 8px 12px 8px 6px;
  border-bottom: 4px solid #00759d;
  border-radius: 3px;
  background: linear-gradient(89.918deg, rgba(255, 255, 255, 0) 1.884%, rgba(62, 147, 108, 0.12) 52.114%, rgba(255, 255, 255, 0) 99.987%);
}

.captains-section__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  color: #232323;
}

.captains-section__summary {
  margin: 0;
  max-width: 626px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.18px;
  color: #343434;
}

.captains-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.captains-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid #cecece;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.56) 100%),
    conic-gradient(from 90deg, rgba(247, 251, 255, 0.16) 0%, rgba(211, 239, 211, 0.16) 15.865%, rgba(247, 251, 255, 0.16) 100%);
}

.captains-feature__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.captains-feature__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.captains-feature__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #232323;
}

.captains-feature__title strong {
  font-weight: 700;
}

.captains-feature__text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #6f6f6f;
}

.captains-section__button {
  padding-inline: 20px;
}

@media (max-width: 767px) {
  .captains-section {
    padding: 56px 0;
  }

  .captains-section__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .captains-section__media {
    order: 0;
    min-height: 0;
    max-width: 680px;
    margin: 0 auto;
  }

  .captains-section__content {
    display: contents;
    min-height: 0;
  }

  .captains-section__header {
    order: -1;
  }

  .captains-section__grid {
    order: 1;
  }

  .captains-section__button {
    order: 2;
  }

  .captains-section__summary {
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .captains-section {
    --captains-column-height: 560px;
    padding: 60px 0;
  }

  .captains-section__inner {
    gap: 28px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .captains-section__title {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .captains-section__summary {
    font-size: 17px;
    line-height: 24px;
  }

  .captains-section__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .captains-feature {
    padding: 14px;
  }

  .captains-feature__icon {
    width: 28px;
    height: 28px;
  }

  .captains-feature__title {
    font-size: 18px;
    line-height: 22px;
  }

  .captains-feature__text {
    font-size: 14px;
    line-height: 18px;
  }

  .captains-section__button {
    min-width: 0;
  }

  .captains-section__media img {
    object-position: left center;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .captains-section {
    --captains-column-height: 620px;
  }

  .captains-section__inner {
    gap: 36px;
  }

  .captains-section__title {
    font-size: 42px;
  }

  .captains-section__summary {
    font-size: 17px;
    line-height: 25px;
  }

  .captains-feature__title {
    font-size: 18px;
    line-height: 22px;
  }

  .captains-feature__text {
    font-size: 15px;
  }
}

@media (max-width: 639px) {
  .captains-section {
    padding: 48px 0;
  }

  .captains-section__content,
  .captains-section__header {
    gap: 20px;
  }

  .captains-section__header {
    order: -1;
  }

  .captains-section__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .captains-section__summary {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .captains-section__grid {
    grid-template-columns: 1fr;
  }

  .captains-feature {
    padding: 14px;
  }

  .captains-feature__title {
    font-size: 18px;
    line-height: 22px;
  }

  .captains-feature__text {
    font-size: 14px;
  }
}

/* ─── Trusted Section ───────────────────────────────────────────── */

.trusted-section {
  padding: 76px 0;
}

.trusted-section__outer {
  width: 100%;
}

.trusted-section__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 76px 105px;
  border-radius: 16px;
  background: #0a2534;
}

.trusted-section__header {
  display: flex;
  justify-content: center;
}

.trusted-section__title {
  width: min(100%, 704px);
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  text-align: center;
  color: #ffffff;
}

.trusted-section__stats {
  display: grid;
  grid-template-columns: 143px 1px 143px 1px 143px 1px 143px;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-height: 218px;
}

.trusted-section__divider {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.28);
}

.trusted-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 218px;
}

.trusted-stat__icon {
  width: auto;
  height: 76px;
  object-fit: contain;
}

.trusted-stat__value {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  color: #ffffff;
}

.trusted-stat__label {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.18px;
  color: #e9e9e9;
}

@media (max-width: 1199px) {
  .trusted-section__panel {
    padding: 64px 56px;
    gap: 44px;
  }

  .trusted-section__title {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .trusted-section__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    min-height: 0;
  }

  .trusted-section__divider {
    display: none;
  }

  .trusted-stat {
    min-height: 0;
    gap: 18px;
  }

  .trusted-stat__value {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .trusted-section {
    padding: 52px 0;
  }

  .trusted-section__panel {
    padding: 30px 15px;
    gap: 32px;
    border-radius: 18px;
  }

  .trusted-section__title {
    font-size: 30px;
    letter-spacing: -0.6px;
    line-height: 1.12;
  }

  .trusted-section__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }

  .trusted-stat {
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .trusted-stat__icon {
    height: 40px;
  }

  .trusted-stat__value {
    font-size: 20px;
    letter-spacing: -0.6px;
  }

  .trusted-stat__label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
  }
  .site-footer .site-footer__clients {
    width: 260px;
  }
}

/* ─── Journey Section ───────────────────────────────────────────── */

.journey-section {
  background: #f8f9f9;
  padding: 76px 0;
}

.journey-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.journey-section__header {
  display: flex;
  justify-content: center;
}

.journey-section__title-wrap {
  padding: 8px 6px;
  border-bottom: 4px solid #00759d;
  border-radius: 3px;
  background: linear-gradient(89.832deg, rgba(255, 255, 255, 0) 1.884%, rgba(62, 147, 108, 0.12) 52.114%, rgba(255, 255, 255, 0) 99.987%);
}

.journey-section__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  color: #232323;
  text-align: center;
}

.journey-section__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.journey-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 336px;
  padding: 32px 24px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #f9f9f9;
  overflow: hidden;
  box-shadow: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.journey-card--featured {
  box-shadow: none;
}

.journey-card:hover,
.journey-card:focus-within {
  background: #00759d;
  border-color: #00759d;
  box-shadow:
    0 8px 18px rgba(0, 117, 157, 0.20),
    0 32px 32px rgba(0, 117, 157, 0.14),
    0 73px 44px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Text turns white on hover */
.journey-card:hover .journey-card__body,
.journey-card:focus-within .journey-card__body {
  color: #ffffff;
}

.journey-card:hover .journey-card__title,
.journey-card:focus-within .journey-card__title {
  color: #ffffff;
}

.journey-card:hover .journey-card__text,
.journey-card:focus-within .journey-card__text {
  color: rgba(255, 255, 255, 0.85);
}

/* Badge adapts on hover */
.journey-card:hover .journey-card__badge,
.journey-card:focus-within .journey-card__badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Corner circle gets slightly lighter on hover */
.journey-card:hover .journey-card__corner,
.journey-card:focus-within .journey-card__corner {
  background: rgba(255, 255, 255, 0.18);
}

.journey-card__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 15px;
  border: 1px solid #f3f1ed;
  border-radius: 56px;
  background: #f8faf8;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.165px;
  text-transform: uppercase;
  color: #261b07;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.journey-card__corner {
  position: absolute;
  top: -64px;
  right: -49px;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  background: #263d45;
  transition: background 220ms ease;
}

.journey-card__corner::before {
  content: "";
  position: absolute;
  inset: -1px 4px 0 0;
  border-radius: 999px;
  background: rgba(186, 208, 230, 0.32);
  z-index: -1;
}

.journey-card--blue .journey-card__corner {
  background: #00759d;
}

.journey-card__corner img {
  position: absolute;
  left: 34px;
  top: 80px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.journey-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  color: #232323;
  transition: color 220ms ease;
}

.journey-card__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 220ms ease;
}

.journey-card__text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(35, 35, 35, 0.8);
  transition: color 220ms ease;
}

.journey-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 37px 46px;
  border-radius: 12px;
  background: #00759d;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}

.journey-cta__title {
  width: min(100%, 713px);
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.64px;
  color: #ffffff;
}

.journey-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 4px;
  background: #ffffff;
  color: #232323;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .journey-section__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-section__title,
  .journey-cta__title {
    font-size: 40px;
    letter-spacing: -1px;
  }
}

@media (max-width: 767px) {
  .journey-section {
    padding: 52px 0;
  }

  .journey-section__inner {
    gap: 24px;
  }

  .journey-section__title {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }

  .journey-section__steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .journey-card {
    min-height: 250px;
    padding: 24px 18px;
  }

  .journey-card__badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .journey-card__corner {
    top: -54px;
    right: -40px;
    width: 126px;
    height: 126px;
  }

  .journey-card__corner img {
    left: 31px;
    top: 67px;
    width: 30px;
    height: 30px;
  }

  .journey-card__title {
    font-size: 20px;
  }

  .journey-card__text {
    font-size: 13px;
    line-height: 1.45;
  }

  .journey-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .journey-cta__title {
    width: 100%;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 52px 0 28px;
  background: #05130d;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ── Desktop two-column top ── */
.site-footer__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.site-footer__left {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
}

.site-footer__logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.site-footer__right {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__clients {
  width: 148px;
  height: auto;
  border-radius: 2px;
  display: block;
}

.site-footer__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #ffffff;
}

.site-footer__text {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__button {
  box-shadow: none;
  width: auto;
  min-height: 42px;
  padding: 10px 22px;
  font-size: 14px;
}

/* ── Bottom bar ── */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__socials img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ── Tablet (768–1099px) ── */
@media (max-width: 1099px) {
  .site-footer__right {
    flex: 0 0 320px;
  }

  .site-footer__title {
    font-size: 24px;
  }
}

/* ── Mobile (<768px): stack vertically ── */
@media (max-width: 767px) {
  .site-footer {
    padding: 40px 0 24px;
  }

  .site-footer__inner {
    gap: 36px;
  }

  .site-footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .site-footer__left {
    width: 100%;
  }

  .site-footer__logo {
    max-width: 260px;
  }

  .site-footer__right {
    flex: none;
    width: 100%;
    gap: 16px;
  }

  .site-footer__title {
    font-size: 22px;
    letter-spacing: -0.4px;
  }

  .site-footer__button {
    width: 100%;
    justify-content: center;
    font-size: 14px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-footer__nav {
    gap: 10px 22px;
    font-size: 13px;
  }

  .site-footer__socials {
    gap: 16px;
  }

  .site-footer__socials img {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 2200px) {
  :root {
    --hero-stage-scale: 1.24;
  }
}

/* ─── Small screen overrides ─────────────────────────────── */

@media (max-width: 1099px) {
  .site-header__inner {
    padding: 14px 0;
  }
}

@media (max-width: 639px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--site-max-width));
  }

  .site-brand img {
    width: 100px;
    height: auto;
  }

  .site-header__actions {
    gap: 10px;
  }

  .site-header__buttons {
    gap: 10px;
  }

  .button {
    height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .button--primary {
    padding: 8px 20px;
  }

  .button--ghost {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .menu-toggle img {
    width: 20px;
    height: 20px;
  }

  .menu-toggle__close {
    font-size: 30px;
  }

  .menu-toggle[aria-expanded="true"] {
    top: 12px;
    right: 12px;
  }

  .site-menu__panel {
    width: 100%;
    padding: 28px 20px 32px;
    gap: 28px;
  }

  .site-menu__close {
    top: 12px;
    right: 12px;
  }

  .site-menu__nav a {
    font-size: 28px;
  }

  .site-menu__button {
    height: 44px;
  }

  .site-menu__email {
    font-size: 22px;
    white-space: normal;
  }

  .site-menu__socials {
    gap: 20px;
  }

  .site-menu__socials img {
    width: 36px;
    height: 36px;
  }

  .site-menu__cta {
    margin-top: 16px;
  }

  .site-menu__contact {
    margin-top: 30px;
  }

  .site-menu__social-wrap {
    margin-top: 18px;
  }

  .login-modal__dialog {
    width: min(calc(100% - 24px), 360px);
    min-height: auto;
    margin: 48px 12px 20px auto;
  }

  .login-modal__content {
    padding: 30px 20px 22px;
  }

  .login-modal__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .login-modal__subtitle {
    font-size: 12px;
  }

  .login-modal__label,
  .login-modal__input,
  .login-modal__submit,
  .login-modal__google,
  .login-modal__signup {
    font-size: 13px;
  }

  .login-modal__google img {
    width: 20px;
    height: 20px;
  }

  .signup-panel__sheet {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 120px 120px,
      radial-gradient(circle at 92% 72%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 180px 180px,
      #1385b1;
  }

  .signup-panel.signup-panel--form .signup-panel__sheet {
    background: #fafafa;
  }

  .signup-panel__sheet::after {
    inset: 0;
  }

  .signup-panel__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .signup-panel__brand {
    justify-content: flex-start;
    padding: 52px 20px 12px;
  }

  .signup-panel.signup-panel--form .signup-panel__brand {
    display: none;
  }

  .signup-panel__brand img {
    width: min(100%, 220px);
  }

  .signup-panel__content {
    justify-content: flex-start;
    padding: 12px 20px 36px;
    gap: 18px;
  }

  .signup-panel__title {
    font-size: 36px;
    letter-spacing: -0.9px;
  }

  .signup-panel__text {
    font-size: 16px;
    max-width: 100%;
  }

  .signup-panel__start {
    min-width: 108px;
    min-height: 48px;
    padding: 12px 26px;
    font-size: 22px;
  }

  .signup-panel__meta {
    font-size: 16px;
  }

  .signup-panel__form-title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .signup-form {
    width: 100%;
    gap: 14px;
  }

  .signup-form__grid--two {
    grid-template-columns: 1fr;
  }

  .signup-form__label {
    font-size: 13px;
  }

  .signup-form__control {
    min-height: 42px;
  }

  .signup-form__next {
    margin-top: 8px;
  }

  .signup-form__actions {
    gap: 10px;
    max-width: 100%;
  }

  .signup-form__actions .signup-form__next {
    min-width: 96px;
    min-height: 40px;
  }

  .signup-form__divider {
    gap: 10px;
  }

  .signup-form__google {
    width: 100%;
    min-width: 0;
  }

  .hero-section__content {
    padding-top: 20px;
  }

  .hero-section__badge {
    font-size: 0.78rem;
  }
  .challenge-section .challenge-section__title-wrap {
    padding: 10px 0 10px;
  }
}

@media (max-width: 991px) {
  .challenge-section__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .challenge-section__media-frame {
    height: auto;
    max-width: 640px;
    margin: 0 auto;
  }

  .challenge-section__copy {
    gap: 24px;
  }

  .challenge-section__headline,
  .challenge-section__text {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 639px) {
  .challenge-section {
    padding: 48px 0;
  }

  .challenge-section__inner {
    gap: 24px;
  }

  .challenge-section__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .challenge-section__content {
    gap: 24px;
  }

  .challenge-section__media-frame {
    height: auto;
    padding: 10px;
  }

  .challenge-section__headline {
    font-size: 28px;
  }

  .challenge-section__text {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .challenge-section__content {
    gap: 36px;
  }

  .challenge-section__headline {
    font-size: 30px;
  }

  .challenge-section__text {
    font-size: 17px;
    line-height: 25px;
  }
}

/* ─── Mobile: stacked cards (up to 479px) ────────────────── */

@media (max-width: 479px) {
  .hero-strip {
    margin-top: 16px;
  }

  /* switch from horizontal scroll to vertical stack */
  .hero-strip__stage {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    align-items: stretch;
    padding: 8px 14px 40px;
    gap: 16px;
  }

  /* full-width card, natural height */
  .hero-card {
    flex: none;
    width: 100%;
    scroll-snap-align: none;
  }
}

/* ─── Success / Thank-you Modal ──────────────────────────── */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.success-modal[hidden] {
  display: none;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  cursor: pointer;
}

.success-modal__dialog {
  position: relative;
  background: #fafafa;
  border-radius: 12px;
  padding: 32px 46px;
  width: 420px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-modal__close {
  position: absolute;
  top: 20px;
  right: 12px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.86;
}

.success-modal__close img {
  width: 24px;
  height: 24px;
}

.success-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.success-modal__image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.success-modal__check {
  width: 87px;
  height: 87px;
  flex-shrink: 0;
}

.success-modal__title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: #042c53;
  text-align: center;
}

.success-modal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 12px 20px;
  background: #00759d;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  text-align: center;
}

.success-modal__cta:hover {
  background: #005f82;
}

/* ─── Contact Page ───────────────────────────────────────── */

body.contact-page {
  background: #ffffff;
}

.contact-page .site-header {
  background: #ffffff;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background: radial-gradient(141.26% 141.26% at 35.45% 23.34%, #f2f3f4 0%, #ffffff 34.19%, #c4ebf9 61.36%);
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 48px;
  align-items: start;
  min-height: 700px;
  padding-top: 34px;
}

.contact-hero__copy {
  max-width: 460px;
  padding: 42px 0 0 12px;
}

.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #e8eaec;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(21, 31, 41, 0.08);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: #787878;
}

.contact-hero__title {
  margin: 22px 0 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(46px, 5vw, 62px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.8px;
  color: #232323;
}

.contact-hero__title span {
  color: #00759d;
}

.contact-hero__text {
  max-width: 360px;
  margin: 26px 0 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #6f6f6f;
}

.contact-hero__line {
  width: 186px;
  height: 2px;
  margin: 30px 0 0 auto;
  background: linear-gradient(90deg, #b8dd59 0%, #a8cf3b 100%);
}

.contact-hero__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 56px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: #404040;
}

.contact-hero__email strong {
  font-weight: 700;
  color: #303030;
}

.contact-hero__email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #4e4e56;
  flex-shrink: 0;
}

.contact-form-card {
  width: 100%;
  padding: 26px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 70px rgba(18, 60, 85, 0.12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #303030;
}

.contact-form__control {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid #69bff1;
  border-radius: 8px;
  background: #ffffff;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.contact-form__control:focus-within {
  border-color: #2a9fda;
  box-shadow: 0 0 0 3px rgba(80, 177, 233, 0.12);
}

.contact-form__control input,
.contact-form__control textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: #232323;
}

.contact-form__control input {
  height: 46px;
  padding: 0 14px;
}

.contact-form__control textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

.contact-form__control input::placeholder,
.contact-form__control textarea::placeholder {
  color: #8f8f8f;
}

.contact-form__control--phone {
  gap: 10px;
  padding: 0 14px;
}

.contact-form__country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #303030;
}

.contact-form__country-flag {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background:
    linear-gradient(180deg, #f7f7f7 0 33%, #ef5a4c 33% 66%, #2b7de0 66% 100%);
}

.contact-form__country-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6e6e6e;
  border-bottom: 1.5px solid #6e6e6e;
  transform: rotate(45deg) translateY(-1px);
}

.contact-form__control--phone input {
  padding: 0;
}

.contact-form__submit {
  width: 100%;
  height: 56px;
  margin-top: 2px;
  border: 0;
  border-radius: 4px;
  background: #00759d;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

.contact-form__submit:hover {
  background: #005f82;
}

@media (max-width: 991px) {
  .contact-hero {
    padding: 44px 0 56px;
    background: radial-gradient(141.26% 141.26% at 35.45% 23.34%, #f2f3f4 0%, #ffffff 34.19%, #c4ebf9 61.36%);
  }

  .contact-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
    padding-top: 10px;
  }

  .contact-hero__copy {
    max-width: none;
    padding: 12px 0 0;
  }

  .contact-hero__line {
    margin-left: 0;
  }

  .contact-form-card {
    max-width: 560px;
  }
}

@media (max-width: 639px) {
  .contact-hero {
    padding: 30px 0 44px;
  }

  .contact-hero__title {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .contact-hero__text {
    font-size: 16px;
    margin-top: 18px;
  }

  .contact-hero__line {
    width: 132px;
    margin-top: 22px;
  }

  .contact-hero__email {
    margin-top: 30px;
    align-items: flex-start;
    font-size: 15px;
  }

  .contact-form-card {
    padding: 20px 16px 16px;
    border-radius: 14px;
  }

  .contact-form {
    gap: 14px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form__label {
    font-size: 13px;
  }

  .contact-form__control input,
  .contact-form__control textarea,
  .contact-form__country {
    font-size: 14px;
  }

  .contact-form__submit {
    height: 50px;
    font-size: 15px;
  }
}

/* ─── About Page ─────────────────────────────────────────── */

body.about-page {
  background: #ffffff;
}

.about-page .site-header {
  background: #ffffff;
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(rgba(14, 75, 121, 0.78), rgba(14, 75, 121, 0.78)),
    url("assets/about-banner.png") center/cover no-repeat;
}

.about-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 56px 0 72px;
}

.about-hero__content {
  width: min(100%, 713px);
  text-align: center;
  color: #ffffff;
}

.about-hero__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.6px;
}

.about-hero__text {
  width: min(100%, 620px);
  margin: 18px auto 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.about-hero__button {
  margin-top: 28px;
}

.about-story {
  padding: 72px 0 44px;
  background: linear-gradient(180deg, #f5fbef 0%, #ffffff 26%);
}

.about-section-title {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

.about-section-title__text {
  margin: 0;
  padding: 0 0 6px;
  border-bottom: 4px solid #00759d;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: #232323;
  text-align: center;
}

.about-story__stack {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.about-story__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.about-story__row--reverse .about-story__media {
  order: 2;
}

.about-story__row--reverse .about-story__copy {
  order: 1;
}

.about-story__media {
  margin: 0;
}

.about-story__image-frame {
  overflow: hidden;
  border-radius: 18px;
  background: #dbe7ef;
  padding: 8px;
  box-shadow: 0 16px 34px rgba(10, 36, 60, 0.1);
}

.about-story__image-frame img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 14px;
}

.about-story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.about-story__headline {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: #232323;
}

.about-story__text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
  color: #414141;
}

.about-story__button {
  margin-top: 4px;
}

.about-istep {
  padding: 26px 0 56px;
  background: #ffffff;
}

.about-istep__panel {
  padding: 34px 34px 28px;
  border-radius: 12px;
  background: #0f2d3c;
  color: #ffffff;
}

.about-istep__title {
  margin: 0 0 26px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  text-align: center;
}

.about-istep__media {
  margin: 0;
}

.about-istep__media img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.about-istep__text {
  width: min(100%, 900px);
  margin: 22px auto 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.about-leadership {
  padding: 30px 0 54px;
}

.about-leadership__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.about-leadership__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1.1px;
  color: #232323;
}

.about-leadership__intro {
  margin: 4px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
  color: #5e5e5e;
}

.about-leadership__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mentor-card {
  overflow: hidden;
  border: 1px solid #d8dce2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(14, 45, 69, 0.08);
}

.mentor-card__visual {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 212px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.1)),
    linear-gradient(135deg, #d7d9dc 0%, #f0f0f0 46%, #a7acb1 100%);
  filter: grayscale(1);
}

.mentor-card:hover .mentor-card__visual {

  filter: grayscale(0);
}

.mentor-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #324655;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.mentor-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 16px;
}

.mentor-card__name {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #232323;
}

.mentor-card__role {
  margin: 2px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #7a7a7a;
}

.mentor-card__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #20323f;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.about-cta-band {
  padding: 8px 0 54px;
}

.about-cta-band__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 34px;
  border-radius: 10px;
  background: #007fa8;
  background-image: radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}

.about-cta-band__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -1.1px;
  color: #ffffff;
}

.about-cta-band__button {
  min-width: 160px;
}

.about-university {
  padding: 0 0 56px;
}

.about-university__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  background: linear-gradient(90deg, #a7cbeb 0%, #dff0fb 100%);
  overflow: hidden;
}

.about-university__media {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    url("assets/university-of-melbourne.png") center/cover no-repeat;
}

.about-university__brand {
  position: absolute;
  top: 18px;
  left: 22px;
  width: 220px;
  max-width: calc(100% - 44px);
}

.about-university__copy {
  padding: 38px 34px;
}

.about-university__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.9px;
  color: #232323;
}

.about-university__subhead {
  margin: 14px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  color: #232323;
}

.about-university__text {
  margin: 16px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: #343434;
}

.about-committee {
  padding: 28px 0 72px;
  background: radial-gradient(141.26% 141.26% at 35.45% 23.34%, #FFFFFF 0%, #FFFFFF 34.19%, #C4EBF9 61.36%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

.about-committee__title {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #232323;
}

.about-committee__intro {
  width: min(100%, 720px);
  margin: 14px 0 28px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
  color: #212121;
}

.about-committee__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.committee-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 51, 68, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(15, 48, 68, 0.08);
}

.committee-card__name {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #232323;
}

.committee-card__role {
  margin: 6px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #7a7a7a;
}

@media (max-width: 1099px) {
  .about-story__row,
  .about-leadership__header,
  .about-university__panel {
    grid-template-columns: 1fr;
  }

  .about-story__row--reverse .about-story__media,
  .about-story__row--reverse .about-story__copy {
    order: initial;
  }

  .about-leadership__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-committee__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-university__media {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 0;
  }

  .about-hero__inner {
    min-height: 0;
    padding: 42px 0 48px;
  }

  .about-story,
  .about-istep,
  .about-leadership,
  .about-university,
  .about-committee {
    padding-top: 44px;
  }

  .about-story__stack {
    gap: 34px;
  }

  .about-story__row {
    gap: 22px;
  }

  .about-istep__panel {
    padding: 24px 20px 22px;
  }

  .about-leadership__grid,
  .about-committee__grid {
    grid-template-columns: 1fr;
  }

  .about-cta-band__panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }

  .about-university__copy {
    padding: 28px 22px;
  }
}

/* Why Schools flip card overrides for live-site portability */
.why-card--flip {
  position: relative;
  display: block;
  width: 100%;
  min-height: 284px;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  perspective: 1200px;
  overflow: visible;
}

.why-card--flip .why-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 284px;
  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.why-card--flip:hover .why-card__inner {
  transform: rotateY(180deg);
}

.why-card--flip .why-card__face {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 46px 24px;
  border-radius: inherit;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.why-card--flip:not(.why-card--image) .why-card__face {
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.why-card--flip .why-card__face--front {
  background: #ffffff;
}

.why-card--flip .why-card__face--back {
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  transform: rotateY(180deg);
}

.why-card--flip .why-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-card--flip .why-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 33, 0.2) 0%, rgba(7, 16, 33, 0.78) 100%),
    rgba(0, 0, 0, 0.18);
}

.why-card--flip .why-card__face--back .why-card__body {
  position: relative;
  z-index: 1;
  width: 100%;
}

.why-card--flip .why-card__face--back .why-card__title,
.why-card--flip .why-card__face--back .why-card__text {
  color: #ffffff;
}

.why-card--flip .why-card__face--back .why-card__text {
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) and (max-width: 1099px) {
  .why-card--flip {
    min-height: 238px;
  }

  .why-card--flip .why-card__inner {
    min-height: 238px;
  }

  .why-card--flip .why-card__face {
    gap: 20px;
    padding: 30px 18px;
  }

  .why-card--flip:not(.why-card--image) .why-card__face {
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 26px;
  }
}

@media (max-width: 767px) {
  .why-card--flip {
    display: flex;
    width: auto;
    min-height: 0;
    padding: 0;
    border-radius: 18px;
    perspective: none;
  }

  .why-card--flip .why-card__inner {
    min-height: 0;
    transform: none;
  }

  .why-card--flip:hover .why-card__inner {
    transform: none;
  }

  .why-card--flip .why-card__face {
    position: relative;
    inset: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 18px;
    text-align: left;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .why-card--flip:not(.why-card--image) .why-card__face {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .why-card--flip .why-card__face--back {
    display: none;
  }
}

@media (max-width: 479px) {
  .why-card--flip {
    border-radius: 18px;
  }

  .why-card--flip .why-card__face {
    padding: 16px 14px;
    gap: 12px;
  }

  .why-card--flip:not(.why-card--image) .why-card__face {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

/* Green Captains feature hover overrides for live-site portability */
.captains-feature {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.captains-feature .captains-feature__icon,
.captains-feature .captains-feature__title,
.captains-feature .captains-feature__text {
  transition:
    color 0.25s ease,
    filter 0.25s ease;
}

.captains-feature:hover {
  background: #12a34a;
  border-color: #12a34a;
  box-shadow: 0 14px 30px rgba(18, 163, 74, 0.28);
  transform: translateY(-2px);
}

.captains-feature:hover .captains-feature__icon {
  filter: brightness(0) invert(1);
}

.captains-feature:hover .captains-feature__title,
.captains-feature:hover .captains-feature__title strong,
.captains-feature:hover .captains-feature__text {
  color: #ffffff;
}
