@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --blue: #3057a4;
  --blue-deep: #17366f;
  --blue-soft: #dbe5f5;
  --gold: #c7b37b;
  --gold-light: #e9dfc3;
  --ink: #17233c;
  --muted: #63708a;
  --paper: #f7f8fb;
  --white: #fff;
  --header-h: 86px;
  --pad: clamp(22px, 4.4vw, 72px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
}

body { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

#shape-world, .paper-noise {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#shape-world { z-index: 0; }
.paper-noise {
  z-index: 1;
  opacity: .34;
  background-image: radial-gradient(rgba(23,35,60,.16) .5px, transparent .5px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(247,248,251,.93), rgba(247,248,251,.65), transparent);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-img { height: clamp(34px, 3.4vw, 46px); width: auto; display: block; transition: filter .45s ease; }

.header-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.hub-link { text-decoration: none; font-size: 14px; font-weight: 600; }

.button {
  min-height: 51px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(48,87,164,.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 14px 30px rgba(48,87,164,.24); }
.button:focus-visible, .pager button:focus-visible, a:focus-visible, .modal-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.button-small { min-height: 42px; padding: 0 19px; }
.button-outline { background: rgba(255,255,255,.58); color: var(--blue); border-color: var(--gold); box-shadow: none; }
.button-outline:hover { color: white; }
.button-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 12px 28px rgba(22,31,52,.22); }
.button-gold:hover { background: var(--gold-light); }

/* --- morphing journey: panels are stacked and blended by script.js --- */
.journey {
  position: relative;
  z-index: 2;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.journey.dragging { cursor: grabbing; }
.journey.dragging .panel { user-select: none; }

.panel {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  padding: calc(var(--header-h) + 20px) var(--pad) 92px;
  display: grid;
  align-items: center;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.panel:first-child { visibility: visible; opacity: 1; }
.panel:focus { outline: none; }
.panel-inner { width: min(1180px, 100%); margin: 0 auto; }

/* no-JS fallback: plain vertical document */
html.no-js body { overflow: auto; }
html.no-js .journey { height: auto; overflow: visible; }
html.no-js .panel { position: static; height: auto; min-height: 100dvh; visibility: visible; opacity: 1; }
html.no-js .journey-ui, html.no-js .scroll-hint { display: none; }

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
h1, h2, h3, p { text-wrap: balance; }
h1, h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -.065em;
  line-height: .96;
}
h1 { font-size: clamp(48px, 6.6vw, 94px); }
h2 { font-size: clamp(44px, 6vw, 82px); }
h1 em, h2 em { color: var(--blue); font-style: normal; font-weight: 500; }
.lede, .section-heading > p:last-child {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: 6vw; }
.hero-copy { position: relative; z-index: 2; }
.hero-proof { position: relative; height: min(61vh, 570px); }
.proof-card {
  position: absolute;
  z-index: 2;
  width: clamp(150px, 14vw, 190px);
  padding: 21px 20px;
  border: 1px solid rgba(48,87,164,.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.83);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(33,54,94,.11);
}
.proof-card-top { right: 0; top: 6%; }
.proof-card-bottom { left: -4%; bottom: 8%; }
.proof-number { color: var(--blue); font: 700 clamp(25px, 2.4vw, 38px)/1 "Manrope"; letter-spacing: -.05em; }
.proof-label { margin-top: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.future-block {
  position: absolute;
  inset: 18% 4% 15% 10%;
  padding: 34px;
  border-radius: 44px 44px 12px 44px;
  background: linear-gradient(145deg, rgba(48,87,164,.94), rgba(23,54,111,.97));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 35px 85px rgba(48,87,164,.27);
}
.future-mark {
  position: absolute;
  top: clamp(18px, 3vh, 30px);
  left: clamp(20px, 2vw, 32px);
  width: clamp(58px, 6vw, 88px);
  height: auto;
  --mark-blue: rgba(255,255,255,.38);
  --mark-gold: rgba(233,223,195,.85);
}
.future-block span { font-size: clamp(11px, 1vw, 14px); letter-spacing: .22em; }
.future-block strong { font: 600 clamp(42px, 5vw, 72px)/.92 "Manrope"; letter-spacing: -.07em; }
.scroll-hint {
  position: absolute;
  bottom: 31px;
  left: var(--pad);
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-hint span { display: inline-block; margin-right: 9px; color: var(--blue); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-7px); } }

.section-heading { max-width: 650px; margin-bottom: clamp(28px, 4vh, 52px); }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.program-card {
  min-height: clamp(190px, 26vh, 270px);
  padding: 25px;
  border: 1px solid rgba(48,87,164,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, background .25s ease;
}
.program-card:hover { transform: translateY(-8px); background: white; }
.program-card:nth-child(even) { transform: translateY(20px); }
.program-card:nth-child(even):hover { transform: translateY(12px); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-top span { color: var(--gold); font-size: 12px; font-weight: 700; padding-top: 4px; }
.trade-icon { width: clamp(42px, 4.2vw, 58px); height: auto; flex: 0 0 auto; opacity: .95; }
.tf-b { fill: var(--blue); }
.tf-d { fill: var(--blue-deep); }
.tf-g { fill: var(--gold); }
.tf-gl { fill: var(--gold-light); }
.program-card h3 { margin: auto 0 15px; font: 600 clamp(18px, 1.7vw, 25px)/1.15 "Manrope"; letter-spacing: -.04em; }
.program-card b { align-self: flex-end; color: var(--blue); font-size: 22px; }

.program-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
}
.program-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(48,87,164,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.strip-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.strip-more { color: var(--blue); border-style: dashed; }

.method-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.method-heading { margin: 0; }
.method-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(23,35,60,.15); }
.method-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: clamp(15px, 2.2vh, 25px) 0;
  border-bottom: 1px solid rgba(23,35,60,.15);
}
.method-list li > span { color: var(--gold); font-size: 12px; font-weight: 700; padding-top: 3px; }
.method-list h3 { margin: 0 0 5px; font: 600 clamp(18px, 1.7vw, 24px)/1.2 "Manrope"; letter-spacing: -.035em; }
.method-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.panel-contact { color: white; }
.contact-mark {
  position: absolute;
  top: 50%;
  right: clamp(20px, 5vw, 90px);
  height: min(62vh, 560px);
  width: auto;
  transform: translateY(-50%);
  pointer-events: none;
  --mark-blue: rgba(255,255,255,.07);
  --mark-gold: rgba(200,180,123,.17);
}
.contact-layout { position: relative; z-index: 1; padding-right: min(20vw, 270px); }
.panel-contact .eyebrow { color: var(--gold-light); }
.panel-contact h2 { font-size: clamp(54px, 8vw, 110px); }
.panel-contact .panel-inner > p:not(.eyebrow) { max-width: 610px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(255,255,255,.76); }
.text-link { align-self: center; color: white; font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.contact-stats { display: flex; gap: clamp(25px, 5vw, 75px); margin-top: clamp(35px, 6vh, 70px); }
.contact-stats div { display: flex; flex-direction: column; gap: 7px; }
.contact-stats strong { color: var(--gold-light); font: 600 clamp(22px, 2.5vw, 35px)/1 "Manrope"; }
.contact-stats span { color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.journey-ui {
  position: fixed;
  z-index: 20;
  right: var(--pad);
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 16px;
}
#page-count { width: 48px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.progress-track { width: clamp(70px, 9vw, 130px); height: 2px; background: rgba(99,112,138,.25); overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.pager { display: flex; gap: 7px; }
.pager button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(48,87,164,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: var(--blue);
  cursor: pointer;
}
.pager button:disabled { opacity: .35; cursor: default; }

.site-header,
.brand,
.hub-link,
#page-count,
.progress-track,
.pager button { transition: background .45s ease, color .45s ease, border-color .45s ease; }
body.on-contact .site-header { background: linear-gradient(to bottom, rgba(14,31,65,.92), rgba(14,31,65,.6), transparent); }
body.on-contact .brand-img { filter: brightness(0) invert(1); }
body.on-contact .hub-link { color: rgba(255,255,255,.85); }
body.on-contact .button-small { background: var(--gold); border-color: var(--gold); color: var(--ink); }
body.on-contact .button-small:hover { background: var(--gold-light); }
body.on-contact #page-count { color: rgba(255,255,255,.65); }
body.on-contact .progress-track { background: rgba(255,255,255,.22); }
body.on-contact .pager button { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); color: white; }

/* --- CTA form modal --- */
.form-modal {
  border: none;
  padding: 0;
  width: min(1100px, 94vw);
  height: min(880px, 92dvh);
  border-radius: 22px;
  background: white;
  box-shadow: 0 40px 120px rgba(10,20,44,.45);
  overflow: hidden;
}
.form-modal::backdrop { background: rgba(12,22,45,.58); backdrop-filter: blur(5px); }
.modal-body { position: relative; width: 100%; height: 100%; }
.modal-body iframe { display: block; width: 100%; height: 100%; border: 0; background: white; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23,35,60,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(10,20,44,.18);
}
.modal-close:hover { background: var(--gold-light); }

.noscript { position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; margin: 0; padding: 8px; background: var(--ink); color: white; text-align: center; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr .62fr; gap: 3vw; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card { min-height: 165px; }
  .program-strip li span { display: none; }
  .program-strip li { padding: 8px 10px; }
  .strip-more { display: none; }
  .method-layout { gap: 45px; }
  .contact-layout { padding-right: 10vw; }
}

@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .site-header { padding-top: env(safe-area-inset-top); }
  .brand-img { height: 28px; }
  .hub-link { display: none; }
  .button-small { min-height: 38px; padding: 0 15px; font-size: 12px; }
  .panel { padding-top: calc(var(--header-h) + 14px); padding-bottom: 80px; align-items: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .lede { margin-top: 18px; font-size: 15px; line-height: 1.52; }
  .button-row { margin-top: 22px; }
  .button { min-height: 46px; padding: 0 18px; font-size: 12px; }
  .hero-proof { position: absolute; width: 48%; height: 37%; right: -8%; bottom: 13%; opacity: .32; }
  .proof-card { display: none; }
  .future-block { inset: 0; padding: 18px; border-radius: 28px; }
  .future-mark { width: 44px; top: 14px; left: 16px; }
  .scroll-hint { display: none; }
  .section-heading { margin-bottom: 22px; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading > p:last-child { margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .program-grid { gap: 9px; }
  .program-card { min-height: 140px; padding: 16px; border-radius: 17px; }
  .program-card:nth-child(even) { transform: none; }
  .program-card:nth-child(even):hover { transform: translateY(-5px); }
  .trade-icon { width: 34px; }
  .program-strip { display: none; }
  .method-layout { grid-template-columns: 1fr; gap: 25px; }
  .method-heading > p:last-child { display: none; }
  .method-list li { padding: 12px 0; grid-template-columns: 34px 1fr; gap: 9px; }
  .method-list p { font-size: 12px; }
  .contact-layout { padding-right: 0; }
  .contact-mark { right: -22%; height: 52vh; }
  .contact-stats { gap: 18px; flex-wrap: wrap; }
  .contact-stats strong { font-size: 22px; }
  .journey-ui { right: var(--pad); left: var(--pad); bottom: calc(18px + env(safe-area-inset-bottom)); }
  .progress-track { flex: 1; }
  .form-modal { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
}

@media (max-height: 650px) and (min-width: 681px) {
  .panel { padding-top: 78px; padding-bottom: 65px; }
  .section-heading { margin-bottom: 22px; }
  .program-card { min-height: 165px; }
  .hero-proof { height: 430px; }
  .method-list li { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
