:root {
  --ink: #061525;
  --ink-soft: #536176;
  --violet: #6850b0;
  --blue: #4080c8;
  --blue-deep: #316fba;
  --blue-dark: #172a4a;
  --teal: #58b0b0;
  --blue-pale: #f4f7fb;
  --blue-line: #cbd9ee;
  --white: #ffffff;
  --border: #dce4ef;
  --brand-gradient: linear-gradient(118deg, var(--violet) 0%, var(--blue) 52%, var(--teal) 100%);
  --display: 'Poppins', 'Avenir Next', sans-serif;
  --body: 'Poppins', 'Avenir Next', sans-serif;
  --shell: min(1280px, calc(100vw - 96px));
  --shadow: 0 20px 55px rgba(23, 42, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 2%, rgba(104, 80, 176, 0.045), transparent 25%),
    radial-gradient(circle at 82% 8%, rgba(88, 176, 176, 0.04), transparent 28%),
    #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 4vw, 3.6rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 3.4vw, 3.45rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 500;
}

:focus-visible {
  outline: 3px solid rgba(64, 128, 200, 0.32);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: relative;
  background: transparent;
}

.header-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.brand-logo {
  display: inline-flex;
  width: 148px;
  height: 60px;
  flex: 0 0 auto;
  align-items: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* The logo JPEG has a white background; multiply blends it into the page */
  mix-blend-mode: multiply;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 0.88;
}

.wordmark span:last-child {
  margin-top: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.7vw, 48px);
  font-size: 0.88rem;
  font-weight: 500;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 8px;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 25px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-gradient);
  box-shadow: 0 13px 28px rgba(49, 111, 186, 0.23);
  color: white;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.button:hover {
  box-shadow: 0 17px 34px rgba(49, 111, 186, 0.31);
  transform: translateY(-2px);
}

.button span {
  font-size: 1.35rem;
  line-height: 1;
}

.button-header {
  min-height: 50px;
  padding: 12px 20px;
  gap: 15px;
}

.hero {
  position: relative;
  padding: 40px 0 50px;
}

.hero-grid {
  display: grid;
  min-height: 500px;
  align-items: center;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 45px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-bottom: 10px;
}

.hero-copy h1 em,
.mission-copy h2 em {
  color: var(--blue);
  font-style: normal;
}

.hero-intro {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.play-icon {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--blue-line);
  border-radius: 50%;
  background: white;
  place-items: center;
  transition: background 200ms ease, transform 200ms ease;
}

.play-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.play-link:hover .play-icon {
  background: var(--blue-pale);
  transform: translateX(3px);
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.hero-bus {
  position: absolute;
  top: 50%;
  right: -5%;
  width: 112%;
  max-width: none;
  max-height: 560px;
  object-fit: contain;
  transform: translateY(-50%);
}

.line-art {
  fill: none;
  stroke: var(--blue-line);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.section-space {
  padding-block: 52px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hidden-moment {
  padding-top: 78px;
  padding-bottom: 80px;
}

.hidden-moment-panel {
  position: relative;
  display: grid;
  padding-block: 20px;
  grid-template-columns: minmax(520px, 1.22fr) minmax(0, 0.78fr);
  align-items: center;
  gap: 72px;
}

.hidden-moment-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.hidden-moment-copy h2 {
  max-width: 490px;
  margin-bottom: 27px;
}

.hidden-moment-copy h2 em {
  color: var(--blue);
  font-style: normal;
}

.moment-lead {
  max-width: 430px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

.moment-body {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.recommendation-points {
  display: grid;
  margin-top: 31px;
  gap: 18px;
}

.recommendation-points article {
  display: grid;
  align-items: center;
  grid-template-columns: 54px 1fr;
  gap: 17px;
}

.recommendation-icon {
  display: grid;
  width: 54px;
  height: 54px;
  border: 1px solid var(--blue-line);
  border-radius: 50%;
  background: white;
  box-shadow: 0 12px 24px rgba(104, 80, 176, 0.09);
  place-items: center;
}

.recommendation-icon svg {
  width: 29px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.recommendation-icon-img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.recommendation-points h3 {
  margin-bottom: 5px;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.recommendation-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.77rem;
  line-height: 1.5;
}

.hidden-moment-media {
  position: relative;
  z-index: 1;
  margin: 0;
  isolation: isolate;
}

.hidden-moment-media::before {
  position: absolute;
  z-index: 0;
  width: 260px;
  background-image: radial-gradient(circle, rgba(104, 80, 176, 0.38) 2px, transparent 2.4px);
  background-size: 17px 17px;
  content: '';
  top: -52px;
  bottom: -48px;
  left: -58px;
}

.hidden-moment-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(6, 21, 37, 0.16);
  object-fit: cover;
}

.training-panel,
.mission-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 15%, rgba(88, 176, 176, 0.09), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(104, 80, 176, 0.045), transparent 36%),
    linear-gradient(135deg, #fcfdff 0%, #f5f7fb 100%);
  box-shadow: 0 14px 42px rgba(23, 42, 74, 0.055);
}

.training-panel {
  display: grid;
  min-height: 450px;
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}

.training-copy {
  padding: 48px 10px 42px 52px;
}

.training-copy h2 em {
  color: var(--blue);
  font-style: normal;
}

.training-copy > p {
  max-width: 600px;
  margin-bottom: 52px;
  color: var(--ink-soft);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.benefit-row article {
  min-width: 0;
}

.round-icon {
  display: grid;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border: 1px solid var(--blue-line);
  border-radius: 50%;
  background: white;
  box-shadow: 0 12px 24px rgba(104, 80, 176, 0.09);
  place-items: center;
}

.round-icon svg {
  width: 44px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.round-icon .benefit-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.benefit-row h3 {
  margin-bottom: 11px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.benefit-row p {
  max-width: 165px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.map-wrap {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: center;
  padding: 30px 38px 20px 5px;
}

.australia-map {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  filter: drop-shadow(0 14px 20px rgba(49, 111, 186, 0.08));
}

.map-shape {
  fill: url("#map-dots");
  stroke: #8baeda;
  stroke-width: 1;
  stroke-linejoin: round;
}

.process {
  --journey-progress: 0;
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 22% 15%, rgba(104, 80, 176, 0.055), transparent 28%),
    radial-gradient(circle at 78% 34%, rgba(88, 176, 176, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(248, 249, 252, 0.2), rgba(246, 248, 251, 0.75));
}

.section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

.journey-heading {
  max-width: 670px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}

.journey-heading h2 {
  margin-bottom: 18px;
}

.journey-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.journey-heading > p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  line-height: 1.7;
}

.journey-stage {
  position: relative;
  width: min(980px, 100%);
  min-height: 1120px;
  margin: 72px auto 0;
}

.journey-route {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 180px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

.journey-route-path {
  z-index: 1;
}

.journey-route-pins {
  z-index: 4;
}

.journey-route-mobile {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 200ms ease;
}

.journey-route-mobile.is-ready {
  opacity: 1;
}

.journey-route-base,
.journey-route-progress,
.journey-route-mask {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-route-base {
  stroke: var(--blue-line);
  stroke-dasharray: 13 21;
  stroke-width: 2.5;
}

.journey-route-progress {
  stroke: var(--blue);
  stroke-dasharray: 13 21;
  stroke-width: 2.5;
}

.journey-route-mask {
  stroke: white;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--journey-progress));
  stroke-width: 14;
  transition: stroke-dashoffset 80ms linear;
}

.journey-route-node {
  fill: white;
  stroke: var(--blue);
  stroke-width: 4;
}

.journey-stop-cutout {
  fill: white;
  transition: fill 0ms linear 260ms;
}

.journey-stop-cutout.is-active {
  fill: black;
}

.journey-pin {
  opacity: 1;
}

.journey-pin-ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  opacity: 0;
  transform-origin: 0px 0px;
}

.journey-pin-inner {
  transform-origin: 0px 0px;
}

.journey-pin-inner use {
  fill: var(--blue);
}

.journey-motion-ready .journey-pin {
  opacity: 0;
}

.journey-motion-ready .journey-pin-inner {
  opacity: 0;
  transform: translateY(-54px) scale(0.32);
}

.journey-motion-ready .journey-pin.is-active {
  opacity: 1;
}

.journey-motion-ready .journey-pin.is-active .journey-pin-inner {
  animation: journey-pin-drop 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  filter: drop-shadow(0 10px 14px rgba(49, 111, 186, 0.3));
}

.journey-motion-ready .journey-pin.is-active .journey-pin-ring {
  animation: journey-pin-ring 900ms ease-out 180ms both;
}

@keyframes journey-pin-drop {
  0% {
    opacity: 0;
    transform: translateY(-54px) scale(0.3);
  }

  55% {
    opacity: 1;
  }

  70% {
    opacity: 1;
    transform: translateY(5px) scale(1.14);
  }

  86% {
    transform: translateY(-3px) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes journey-pin-ring {
  0% {
    opacity: 0.55;
    transform: scale(0.4);
  }

  100% {
    opacity: 0;
    transform: scale(5.5);
  }
}

.journey-steps {
  display: grid;
  min-height: 1120px;
  padding-block: 15px;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  grid-template-rows: repeat(4, 250px);
  row-gap: 30px;
}

.journey-card {
  position: relative;
  display: grid;
  z-index: 2;
  width: min(100%, 380px);
  min-height: 190px;
  align-items: center;
  align-self: center;
  padding: 34px 32px 29px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.99), rgba(250, 253, 255, 0.96));
  box-shadow: 0 22px 50px -8px rgba(23, 42, 74, 0.14), 0 2px 6px rgba(49, 111, 186, 0.05);
  grid-row: var(--journey-row);
  transition: box-shadow 320ms ease, transform 320ms ease, border-color 320ms ease;
  will-change: opacity, transform;
}

.journey-card-left {
  grid-column: 1;
  justify-self: end;
  transform-origin: right center;
}

.journey-card-right {
  grid-column: 3;
  justify-self: start;
  transform-origin: left center;
}

.journey-card::after {
  position: absolute;
  top: 50%;
  width: 57px;
  border-top: 2px solid var(--blue);
  content: '';
  transform: translateY(-50%);
}

.journey-card::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  content: '';
  transform: translateY(-50%);
}

.journey-card-left::after {
  right: -58px;
  transform-origin: left center;
}

.journey-card-left::before {
  right: -63px;
}

.journey-card-right::after {
  left: -58px;
  transform-origin: right center;
}

.journey-card-right::before {
  left: -63px;
}

.journey-motion-ready .journey-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.journey-motion-ready .journey-card-left {
  transform: translateX(calc(100% + 88px)) scale(0.68);
}

.journey-motion-ready .journey-card-right {
  transform: translateX(calc(-100% - 88px)) scale(0.68);
}

.journey-motion-ready .journey-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.journey-motion-ready .journey-card-left.is-active {
  animation: journey-pop-left 700ms cubic-bezier(0.16, 0.86, 0.24, 1) 260ms both;
}

.journey-motion-ready .journey-card-right.is-active {
  animation: journey-pop-right 700ms cubic-bezier(0.16, 0.86, 0.24, 1) 260ms both;
}

@keyframes journey-pop-left {
  0% {
    opacity: 0;
    transform: translateX(calc(100% + 88px)) scale(0.68);
  }

  16% {
    opacity: 1;
  }

  78% {
    opacity: 1;
    transform: translateX(-12px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes journey-pop-right {
  0% {
    opacity: 0;
    transform: translateX(calc(-100% - 88px)) scale(0.68);
  }

  16% {
    opacity: 1;
  }

  78% {
    opacity: 1;
    transform: translateX(12px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.journey-card:hover {
  border-color: var(--blue-line);
  box-shadow: 0 28px 60px -8px rgba(23, 42, 74, 0.2), 0 2px 8px rgba(49, 111, 186, 0.06);
  transform: translateY(-4px);
}

/* Connector line + dot only snap out to the route once the card has landed */
.journey-motion-ready .journey-card::after,
.journey-motion-ready .journey-card::before {
  opacity: 0;
}

.journey-motion-ready .journey-card-left::after,
.journey-motion-ready .journey-card-right::after {
  transform: translateY(-50%) scaleX(0);
}

.journey-motion-ready .journey-card-left::before,
.journey-motion-ready .journey-card-right::before {
  transform: translateY(-50%) scale(0.2);
}

.journey-motion-ready .journey-card.is-active::after {
  animation: journey-connector-line 340ms cubic-bezier(0.3, 0.9, 0.4, 1) 960ms both;
}

.journey-motion-ready .journey-card.is-active::before {
  animation: journey-connector-dot 320ms cubic-bezier(0.2, 1.4, 0.4, 1) 1220ms both;
}

@keyframes journey-connector-line {
  0% {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes journey-connector-dot {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.2);
  }

  60% {
    opacity: 1;
    transform: translateY(-50%) scale(1.35);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.journey-card-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 72px 1fr;
  gap: 22px;
}

/* Card shell lands first, then its content fades/slides in */
.journey-motion-ready .journey-card-inner {
  opacity: 0;
  transform: translateY(10px);
}

.journey-motion-ready .journey-card.is-active .journey-card-inner {
  animation: journey-content-in 480ms cubic-bezier(0.22, 0.9, 0.32, 1) 800ms both;
}

@keyframes journey-content-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-icon {
  display: grid;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(104, 80, 176, 0.14), rgba(88, 176, 176, 0.06));
  place-items: center;
}

.process-icon svg {
  width: 36px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.journey-card h3 {
  margin-bottom: 11px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.journey-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.65;
}

.mission {
  padding-top: 52px;
  padding-bottom: 55px;
}

.mission-panel {
  display: grid;
  min-height: 420px;
  align-items: stretch;
  background: #f6f7fb;
  grid-template-columns: 0.44fr 0.56fr;
}

.mission-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 50px 0 50px 50px;
}

.mission-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(1.95rem, 2.7vw, 2.75rem);
  line-height: 1.12;
}

.mission-copy > p {
  max-width: 360px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.mission-art {
  position: relative;
  min-height: 420px;
  background: #f6f7fb;
}

.mission-bus {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 12%, rgba(88, 176, 176, 0.09), transparent 32%),
    radial-gradient(circle at 12% 92%, rgba(104, 80, 176, 0.045), transparent 34%),
    linear-gradient(135deg, #fcfdff 0%, #f5f7fb 100%);
  box-shadow: 0 14px 42px rgba(23, 42, 74, 0.055);
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
}

.contact-info {
  display: grid;
  gap: 26px;
  padding: 52px 24px 52px 52px;
}

.contact-heading {
  margin-bottom: 6px;
}

.contact-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.contact-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy h1 em,
.hidden-moment-copy h2 em,
.training-copy h2 em,
.journey-heading h2 em,
.mission-copy h2 em,
.contact-heading h2 em {
  color: transparent;
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-heading p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.contact-info-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  transition: color 180ms ease;
}

.contact-info-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.contact-info-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-info-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-info-item span:last-child {
  overflow-wrap: anywhere;
}

.contact-info-item:hover {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 48px 52px 48px 24px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.92rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(64, 128, 200, 0.13);
  outline: none;
}

.contact-submit {
  justify-self: start;
  margin-top: 2px;
  border: none;
  cursor: pointer;
}

.form-status {
  min-height: 1.3em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.form-status.is-success {
  color: var(--blue-deep);
  font-weight: 500;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 65px;
  background: #fff;
  color: white;
}

.site-footer::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(104, 80, 176, 0.95), transparent 40%),
    radial-gradient(circle at 92% 0%, rgba(88, 176, 176, 0.44), transparent 38%),
    linear-gradient(120deg, #172a4a 0%, #315f91 52%, #266b74 100%);
  content: '';
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  padding-bottom: 62px;
  grid-template-columns: 1.3fr 0.8fr 1.2fr;
  gap: 70px;
}

.footer-logo {
  display: inline-flex;
  /* The footer SVG is cropped to the logo mark, so its visible edge aligns
     precisely with the content column without changing its apparent size. */
  width: min(100%, 156px);
  margin-bottom: 38px;
  align-items: center;
}

.footer-logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-lead > p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
}

.socials {
  display: flex;
  gap: 13px;
}

.socials a {
  display: grid;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 3px;
  place-items: center;
}

.socials svg {
  width: 21px;
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-grid > div:not(.footer-lead) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-grid h3 {
  margin-bottom: 11px;
  color: white;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.footer-grid > div:not(.footer-lead) > a:not(.button) {
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.8rem;
  transition: color 180ms ease;
}

.footer-grid > div:not(.footer-lead) > a:not(.button):hover {
  color: white;
}

.footer-contact > a:not(.button) {
  overflow-wrap: anywhere;
}

.button-footer {
  min-height: 50px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  box-shadow: none;
}

.button-footer:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
}

.footer-legal p {
  margin: 0;
}

.website-credit {
  display: inline-flex;
  align-items: center;
  color: inherit;
  gap: 7px;
  transition: color 180ms ease;
}

.website-credit:hover {
  color: white;
}

.website-credit-logo {
  width: 13px;
  aspect-ratio: 87 / 83;
  background: currentColor;
  -webkit-mask: url('/asterisks-logo.svg') center / contain no-repeat;
  mask: url('/asterisks-logo.svg') center / contain no-repeat;
}

.footer-legal div {
  display: flex;
  gap: 35px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-late,
.reveal-one {
  transition-delay: 100ms;
}

.reveal-two {
  transition-delay: 180ms;
}

.reveal-three {
  transition-delay: 260ms;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 64px, 1020px);
  }

  .main-nav {
    gap: 20px;
    font-size: 0.8rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.93fr) minmax(430px, 1.07fr);
    gap: 20px;
  }

  .benefit-row {
    gap: 22px;
  }

  .hidden-moment-panel {
    grid-template-columns: minmax(440px, 1.2fr) minmax(0, 0.8fr);
    gap: 50px;
  }

  .training-copy {
    padding-left: 36px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 44px 40px;
  }

  .journey-stage {
    width: min(900px, 100%);
  }

  .journey-card {
    width: min(100%, 340px);
    padding: 31px 25px 27px;
  }

  .journey-card-inner {
    grid-template-columns: 62px 1fr;
    gap: 18px;
  }

  .process-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .process-icon svg,
  .process-icon-img {
    width: 32px;
    height: 32px;
  }

  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 740px);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand-logo {
    width: 118px;
    height: 48px;
  }

  .wordmark {
    font-size: 1.2rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 52;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    place-content: center;
    gap: 5px;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 51;
    inset: 0;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 82px max(24px, 10vw);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a:not(.button) {
    font-family: var(--display);
    font-size: clamp(1.65rem, 7vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
  }

  .main-nav .button {
    margin-top: 12px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-art {
    order: -1;
    min-height: 390px;
  }

  .hero-bus {
    right: -3%;
    width: 108%;
  }

  .hidden-moment-panel {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .moment-body {
    max-width: 650px;
  }

  .hidden-moment-media img {
    height: 410px;
  }

  .training-panel {
    grid-template-columns: 1fr;
  }

  .training-copy {
    padding: 48px 40px 20px;
  }

  .map-wrap {
    min-height: 390px;
    padding: 0 40px 30px;
  }

  .journey-stage {
    --journey-pin-gutter: 62px;
    min-height: 0;
    margin-top: 58px;
    padding: 0 4px;
  }

  .journey-route-path,
  .journey-route-pins {
    display: none;
  }

  .journey-route-mobile {
    display: block;
  }

  .journey-steps {
    min-height: 0;
    padding-block: 30px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(210px, auto));
    row-gap: 58px;
  }

  .journey-card,
  .journey-card-left,
  .journey-card-right {
    grid-column: 1;
    justify-self: stretch;
  }

  .journey-card-left {
    width: calc(100% - var(--journey-pin-gutter));
    margin-right: 0;
    margin-left: auto;
  }

  .journey-card-right {
    width: calc(100% - var(--journey-pin-gutter));
    margin-right: auto;
    margin-left: 0;
    border: 1px solid #dce8f2;
  }

  .journey-card-left::after,
  .journey-card-right::after,
  .journey-card-left::before,
  .journey-card-right::before {
    display: none;
  }

  .mission-panel {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-contact {
    grid-column: auto;
    margin-top: 10px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-art {
    min-height: 290px;
  }

  .hero-bus {
    right: -9%;
    width: 118%;
  }

  .hidden-moment {
    padding-top: 36px;
    padding-bottom: 52px;
  }

  .hidden-moment-panel {
    padding-block: 0;
    gap: 38px;
  }

  .hidden-moment-media img {
    height: 245px;
    border-radius: 16px;
  }

  .recommendation-points {
    margin-top: 28px;
  }

  .recommendation-points article {
    grid-template-columns: 50px 1fr;
    gap: 15px;
  }

  .recommendation-icon {
    width: 50px;
    height: 50px;
  }

  .recommendation-icon svg {
    width: 26px;
  }

  .recommendation-icon-img {
    width: 23px;
    height: 23px;
  }

  .hidden-moment-media::before {
    top: -31px;
    bottom: -28px;
    left: -25px;
    width: 155px;
  }

  .section-space {
    padding-block: 44px;
  }

  .training-panel,
  .mission-panel {
    border-radius: 17px;
  }

  .training-copy {
    padding: 38px 25px 12px;
  }

  .training-copy > p {
    margin-bottom: 40px;
  }

  .contact-panel {
    border-radius: 17px;
  }

  .contact-info,
  .contact-form {
    padding: 34px 24px;
  }

  .contact-heading p {
    max-width: none;
  }

  .benefit-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .benefit-row article {
    display: grid;
    align-items: center;
    grid-template-columns: 66px 1fr;
    column-gap: 18px;
  }

  .round-icon {
    width: 66px;
    height: 66px;
    margin: 0;
    grid-row: 1 / 3;
  }

  .round-icon svg {
    width: 36px;
  }

  .round-icon .benefit-icon {
    width: 36px;
    height: 36px;
  }

  .benefit-row h3 {
    margin-bottom: 5px;
  }

  .benefit-row p {
    max-width: none;
  }

  .map-wrap {
    min-height: 300px;
    padding: 5px 18px 25px;
  }

  .process {
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .journey-heading h2 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .journey-stage {
    --journey-pin-gutter: 50px;
    margin-top: 45px;
    padding: 0;
  }

  .journey-steps {
    padding-block: 20px;
    grid-template-rows: repeat(4, minmax(220px, auto));
    row-gap: 42px;
  }

  .journey-card {
    min-height: 205px;
    padding: 29px 22px 25px;
    border-radius: 15px;
  }

  .journey-card-inner {
    grid-template-columns: 52px 1fr;
    gap: 15px;
  }

  .process-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .process-icon svg,
  .process-icon-img {
    width: 28px;
    height: 28px;
  }

  .journey-card h3 {
    font-size: 1.16rem;
  }

  .journey-card p {
    font-size: 0.78rem;
  }

  .mission {
    padding-top: 44px;
  }

  .mission-panel {
    grid-template-columns: 1fr;
  }

  /* Flatten the copy wrapper so the artwork can sit between the title and the rest */
  .mission-copy {
    display: contents;
  }

  .mission-copy h2 {
    order: 1;
    margin-bottom: 0;
    padding: 40px 28px 24px;
  }

  .mission-art {
    order: 2;
    min-height: 0;
  }

  .mission-copy > p {
    order: 3;
    margin: 28px 28px 0;
  }

  .mission-copy .button {
    order: 4;
    justify-self: start;
    margin: 30px 28px 40px;
  }

  .mission-bus {
    position: static;
    display: block;
    width: 100%;
  }

  .site-footer {
    padding-top: 52px;
  }

  .site-footer::before {
    border-radius: 18px 18px 0 0;
  }

  .footer-grid {
    padding-bottom: 52px;
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  .footer-lead,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 9px;
    gap: 4px;
  }

  .footer-legal div {
    gap: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .journey-stop-cutout {
    transition-delay: 0ms;
  }
}
