/* Passage — site styles. Brand tokens from kit/README.md */
:root {
  --night: #0F1C2E;
  --sky: #00A3E0;          /* route / accents on dark only */
  --deep: #0077B6;         /* links + buttons on light (4.9:1) */
  --deep-hover: #005F92;
  --slate: #4A5768;        /* secondary text (7.4:1) */
  --mist: #EEF5FA;
  --page: #F4F7FA;
  --white: #FFFFFF;
  --line: #DCE5EC;
  --on-dark-muted: #A9BCCF;

  --font: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 1px 2px rgba(15, 28, 46, .04), 0 12px 32px rgba(15, 28, 46, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--night);
  background: linear-gradient(180deg, #F7F9FB 0%, var(--page) 40%, #EDF3F8 100%);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--deep); text-underline-offset: .18em; }
a:hover { color: var(--deep-hover); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header: floating pill ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter) 0; }
.nav-pill {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 22px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: block; flex: none; }
.brand img { height: 22px; width: auto; }
.nav-links { display: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: none; gap: 2px; font-size: 14px; font-weight: 500; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border-radius: 10px; color: var(--slate); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--night); background: var(--mist); }
.lang a:hover { color: var(--night); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 14px; border: 0; font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
  background: var(--night); color: #fff; transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: #1E3150; color: #fff; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--deep); }
.btn-primary:hover { background: var(--deep-hover); }
.btn-ghost { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--night); }
.nav-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 14px;
  background: var(--night); color: #fff; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-open { display: none; }
.mobile-menu {
  display: none; max-width: var(--max); margin: 8px auto 0; padding: 12px; border-radius: 22px;
  background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); border: 1px solid #fff;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--night); text-decoration: none; font-size: 18px; }
.mobile-menu li a:hover { background: var(--mist); }
.mobile-menu .lang { display: flex; padding: 8px 6px 4px; border-top: 1px solid var(--line); margin-top: 8px; }
.mobile-menu .btn { width: 100%; margin-top: 8px; }

@media (min-width: 1024px) {
  .brand img { height: 26px; }
  .nav-pill { padding: 12px 12px 12px 30px; }
  .nav-pill > nav { flex: 1; }
  .nav-links { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--night); text-decoration: none; font-size: 16px; }
  .nav-links a:hover { background: var(--mist); }
  .nav-right { margin-left: 0; }
  .site-header .lang { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn, .mobile-menu, .menu-open .mobile-menu { display: none; }
}

/* ---------- Display type (light + bold caps, as in the references) ---------- */
.display { margin: 0; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; font-weight: 300; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.display .b { font-weight: 600; display: block; }
.display .l { display: block; }
.display .glyph { display: inline-block; width: .7em; height: .5em; margin-left: .15em; vertical-align: .1em; }
.lead { font-size: 18px; color: var(--slate); max-width: 46ch; margin: 0; }
@media (min-width: 768px) { .lead { font-size: 20px; } }

/* ---------- Hero: stadium photo that moves as you scroll ---------- */
/* The photo runs up under the floating nav pill. main.js sets --p (0 at the top, 1 once the hero has scrolled away):
   the photo drifts down slower than the page and pushes in toward the centre circle, like a drone shot. */
.hero {
  --p: 0; --hdr: 82px;
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  margin-top: calc(-1 * var(--hdr)); min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr) + 40px) 0 96px; background: var(--night);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-move {
  position: absolute; inset: 0; transform-origin: 56% 52%; will-change: transform;
  transform: translate3d(0, calc(var(--p) * 22%), 0) scale(calc(1.06 + var(--p) * .34));
}
.hero-move img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
/* night overlay: text side darker, bottom fades into the page */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 46, .55) 0%, rgba(15, 28, 46, .25) 30%, rgba(15, 28, 46, .55) 72%, rgba(15, 28, 46, .92) 100%),
    linear-gradient(90deg, rgba(15, 28, 46, .55), rgba(15, 28, 46, .2));
}
.hero-inner { position: relative; transform: translate3d(0, calc(var(--p) * -70px), 0); opacity: calc(1 - var(--p) * 1.3); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(15, 28, 46, .35); font-size: 14px; color: #fff; margin-bottom: 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge img { width: 28px; height: 28px; }
.hero h1 { font-size: clamp(40px, 10.5vw, 84px); margin-bottom: 24px; color: #fff; text-shadow: 0 2px 24px rgba(15, 28, 46, .35); }
@media (min-width: 600px) { .display .l, .display .b { white-space: nowrap; } }
@media (min-width: 900px) { .hero h1 { font-size: clamp(56px, 6vw, 92px); } }
.hero .lead { color: #E3ECF4; margin-bottom: 32px; text-shadow: 0 1px 12px rgba(15, 28, 46, .5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); background: rgba(15, 28, 46, .2); }
.hero .btn-ghost:hover { background: #fff; color: var(--night); }
.hero :focus-visible { outline-color: #fff; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: inline-flex; width: 44px; height: 44px;
  align-items: center; justify-content: center; color: #fff; border-radius: 50%; opacity: calc(1 - var(--p) * 3);
}
.scroll-cue:hover { color: var(--night); background: #fff; }
@media (min-width: 900px) {
  .hero { --hdr: 92px; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(15, 28, 46, .45) 0%, rgba(15, 28, 46, 0) 28%, rgba(15, 28, 46, 0) 70%, rgba(15, 28, 46, .7) 100%),
      linear-gradient(90deg, rgba(15, 28, 46, .9) 0%, rgba(15, 28, 46, .65) 38%, rgba(15, 28, 46, .1) 75%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* a slow drift while the page is still, so the photo feels like footage */
  .hero-move img { animation: drift 26s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.5%, -1%, 0); } }
  .hero-inner > * { animation: rise .9s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; } .hero-inner > :nth-child(3) { animation-delay: .16s; } .hero-inner > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(16px); } }
}
@media (prefers-reduced-motion: reduce) { .hero-move, .hero-inner { transform: none; } .hero-inner { opacity: 1; } }

/* ---------- Routes section: the map below the hero ---------- */
.routes { padding-bottom: 24px; }
.routes .section-head { margin-bottom: 24px; }
.routes .section-head p { color: var(--slate); font-size: 18px; margin: 0 auto; max-width: 52ch; }
.routes-map { max-width: 1100px; margin: 0 auto; }
.route-map.paused, .route-map.paused * { animation-play-state: paused !important; }

/* ---------- Hero route map (Europe -> US college cities) ---------- */
.route-map { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.route-map .arc { stroke-width: 3.6; stroke-linecap: round; }
.route-map .arc-feat { stroke-width: 5; }
.route-map .arc-hi { stroke: #fff; stroke-width: 1; stroke-linecap: round; opacity: .55; }
.route-map .comet { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 1000; opacity: 0; }
.route-map .eu-dot { fill: #00A3E0; stroke: #fff; stroke-width: 2; }
.route-map .us-dot { fill: var(--night); stroke: #fff; stroke-width: 2.5; }
.route-map .ring { fill: none; stroke: #00A3E0; stroke-width: 2; opacity: .8; }
.route-map .pulse { fill: #00A3E0; opacity: 0; transform-box: fill-box; transform-origin: center; }
.route-map .map-label { font-size: 21px; font-weight: 500; fill: var(--night); paint-order: stroke; stroke: var(--page); stroke-width: 4px; stroke-linejoin: round; }
.route-map .map-lux { fill: var(--deep); font-weight: 600; }
.route-map .map-region { font-size: 17px; font-weight: 500; letter-spacing: .08em; fill: #8FA3B6; }
@media (max-width: 599px) { .route-map .map-label, .route-map .map-region { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* 1. routes draw in, one after another, from Europe to the US */
  .route-map .arc, .route-map .arc-hi { stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: route-draw 1.4s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .18s); }
  /* 2. then a light keeps travelling along each route */
  .route-map .comet { stroke-dasharray: 70 1000; animation: comet 3.6s linear infinite; animation-delay: calc(1.8s + var(--i) * .6s); }
  /* 3. and the US cities pulse when a route lands */
  .route-map .city .pulse { animation: pulse 3.6s ease-out infinite; animation-delay: calc(1.8s + var(--i) * .6s + 2.9s); }
  @keyframes route-draw { to { stroke-dashoffset: 0; } }
  @keyframes comet { 0% { stroke-dashoffset: 70; opacity: 0; } 8% { opacity: .95; } 80% { opacity: .95; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
  @keyframes pulse { 0% { opacity: .5; transform: scale(1); } 40%, 100% { opacity: 0; transform: scale(3.2); } }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 720px; }
.section-head h2 { font-size: clamp(36px, 7vw, 64px); margin-bottom: 16px; }
.section-head h2 .row { display: block; }
.section-head h2 .b { display: inline; }
.section-head p { margin: 0 auto; color: var(--slate); font-size: 18px; max-width: 48ch; }

/* About */
.about-grid { display: grid; gap: 24px; align-items: center; }
.about-art img { width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 7 / 6; height: auto; }
/* About photo carousel: swipe on phones, arrow buttons everywhere */
.carousel { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
.car-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(15, 28, 46, .18); scrollbar-width: none; background: var(--mist);
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
.car-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; scroll-snap-stop: always; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.car-btn {
  pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; color: var(--night);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(15, 28, 46, .18); transition: background-color .2s var(--ease), opacity .2s var(--ease), transform .15s var(--ease);
}
.car-btn:hover { background: #fff; }
.car-btn:active { transform: scale(.95); }
.car-btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.car-mid { display: inline-flex; align-items: center; gap: 6px; pointer-events: auto; }
.car-play {
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; background: rgba(15, 28, 46, .62);
  transition: background-color .2s var(--ease);
}
.car-play:hover { background: rgba(15, 28, 46, .82); }
.car-play .i-play { display: none; }
.car-play[aria-pressed="true"] .i-play { display: block; }
.car-play[aria-pressed="true"] .i-pause { display: none; }
.car-count { padding: 6px 12px; border-radius: 999px; background: rgba(15, 28, 46, .62); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }

.about h2 { font-size: clamp(40px, 8vw, 72px); margin-bottom: 24px; }
.about p { margin: 0 0 16px; max-width: 58ch; }
.about-grid > * { min-width: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0; }
.facts li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.founder img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--mist); }
.founder strong { display: block; font-weight: 500; }
.founder span { color: var(--slate); font-size: 15px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Services: numbered steps (a real sequence) */
.cards { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.card {
  position: relative; overflow: hidden; min-height: 320px; padding: 28px 28px 0; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #FFFFFF 0%, #F3FAFD 55%, #E9F2FB 100%);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 500; line-height: 1.2; display: flex; gap: 12px; }
.card h3 .n { color: var(--deep); font-variant-numeric: tabular-nums; }
.card p { margin: 0; color: var(--slate); max-width: 34ch; position: relative; z-index: 1; }
.card .art { position: absolute; right: -24px; bottom: -36px; width: 78%; max-width: 360px; pointer-events: none; }
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; gap: 20px; } .card { min-height: 380px; padding: 36px 36px 0; } .card h3 { font-size: 27px; } }

/* Why Passage */
.why { background: var(--white); }
.why-grid { display: grid; gap: 32px; }
.why-item h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; }
.why-item p { margin: 0; color: var(--slate); }
.why-item .mark { width: 44px; height: 44px; margin-bottom: 16px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* Coaches */
.coaches-box {
  display: grid; gap: 24px; align-items: center; padding: 36px 28px; border-radius: var(--radius-lg);
  background: var(--night); color: #fff; position: relative; overflow: hidden;
}
.coaches-box h2 { font-size: clamp(32px, 6vw, 52px); margin: 0 0 12px; }
.coaches-box p { margin: 0; color: var(--on-dark-muted); max-width: 52ch; }
.coaches-box .btn { background: #fff; color: var(--night); }
.coaches-box .btn:hover { background: var(--mist); }
.coaches-box .route-bg { position: absolute; right: -40px; bottom: -30px; width: 380px; opacity: .22; pointer-events: none; }
@media (min-width: 900px) { .coaches-box { grid-template-columns: 1fr auto; padding: 56px 64px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; font-size: 20px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--night); transform: translate(-50%, -50%); transition: transform .2s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { margin: 0 0 20px; color: var(--slate); max-width: 64ch; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
.contact-grid > *, .fields > * { min-width: 0; }
.contact h2 { font-size: clamp(40px, 8vw, 72px); margin-bottom: 20px; }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 18px; color: var(--night); text-decoration: none; }
.contact-links a:hover { color: var(--deep); }
.contact-links svg { width: 22px; height: 22px; color: var(--deep); flex: none; }
.form-card { padding: 28px 20px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.fields { display: grid; gap: 18px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.field .req { color: var(--deep); }
.field .hint { display: block; font-size: 14px; color: var(--slate); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #C9D5DF; background: #fff;
  font: 400 16px/1.4 var(--font); color: var(--night); transition: border-color .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(0, 119, 182, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B42318; }
.field .error { display: none; color: #B42318; font-size: 14px; margin-top: 6px; }
.field .error.show { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.consent input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--deep); }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-foot .btn { min-width: 200px; }
.form-status { font-size: 15px; }
.hp { display: none; }

/* Footer */
.site-footer { background: var(--night); color: #fff; padding: 56px 0 32px; margin-top: 40px; }
.foot-top { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-top img { height: 24px; width: auto; }
.foot-top p { margin: 10px 0 0; color: var(--on-dark-muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.foot-nav a, .site-footer .lang a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: var(--sky); }
.site-footer .lang { display: flex; }
.site-footer .lang a { color: var(--on-dark-muted); }
.site-footer .lang a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; color: var(--on-dark-muted); }
.foot-bottom a { color: var(--on-dark-muted); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; } }

/* Simple pages (privacy, thanks) */
.page { padding: 56px 0 96px; }
.page .prose { max-width: 720px; }
.page h1 { font-size: clamp(36px, 7vw, 60px); margin-bottom: 24px; }
.page h2 { font-size: 22px; font-weight: 500; margin: 32px 0 8px; }
.page p, .page li { color: var(--slate); }
.todo { background: #FFF6D6; padding: 2px 6px; border-radius: 6px; color: var(--night); }

/* thank-you / privacy pages: long headings wrap */
.page .display .l, .page .display .b { white-space: normal; }

/* ---------- Soccer and a degree: two paths + four points ---------- */
.degree { background: var(--white); }
.paths { display: grid; gap: 16px; margin: 0 auto 48px; max-width: 1000px; }
@media (min-width: 768px) { .paths { grid-template-columns: 1fr 1fr; gap: 20px; } }
.path { position: relative; background: var(--night); color: #fff; border-radius: var(--radius-lg); padding: 32px 28px 28px; overflow: hidden; }
.path .path-mark { width: 54px; height: 38px; margin-bottom: 18px; }
.path-label { margin: 0 0 4px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.path h3 { margin: 0 0 20px; font-size: clamp(28px, 4vw, 36px); font-weight: 600; text-transform: uppercase; line-height: 1.05; }
.path dl { margin: 0; display: grid; gap: 14px; }
.path dl div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; }
.path dt { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.path dd { margin: 2px 0 0; font-size: 17px; line-height: 1.45; }
.points { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 28px; max-width: 1000px; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(4, 1fr); max-width: none; } }
.points li { border-top: 2px solid var(--sky); padding-top: 16px; }
.points h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.points p { margin: 0; color: var(--slate); font-size: 16px; }
/* Why Passage now has four points */
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
