/* Home: one trip, read top to bottom. Pairs with home.js; colours come from the tokens in style.css.
   Rules for every piece on this page:
   - Bands alternate navy, paper, blue, green, navy and end on the blue footer.
   - Everything you can hold (ticket, luggage tags, postcards, polaroid) is paper: white or a brand colour, tilted a little.
   - A dotted route runs down the left with a numbered stop for each section and ends at the footer button.
   - Only one main button: "Join the next exchange" in the hero and in the footer. Everything else is a text link. */

body { overflow-x: clip; }
.home .sticker { display: inline-block; width: fit-content; padding: 6px 12px; border-radius: 8px; rotate: -2.5deg; background: var(--green); color: var(--navy); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hand { font-family: "Caveat", "Segoe Print", cursive; font-weight: 700; letter-spacing: 0; }

/* ===== Hero: the headline, one button and the ticket ===== */
.hm-hero { position: relative; overflow: hidden; }
.hm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-block: 104px 150px; }
.hm-hero-copy { display: grid; justify-items: start; gap: 0; }
.hm-hero .sticker { margin-bottom: 22px; }
.hero.hm-hero h1 { font-size: clamp(2.2rem, 4.7vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; }
.hero.hm-hero h1 .hl { display: block; }
@media (min-width: 380px) { .hero.hm-hero h1 { white-space: nowrap; } }
.hm-hero .lede { margin-top: 20px; font-size: 1.15rem; line-height: 1.6; max-width: 30em; }
.hm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.hm-how { color: #fff; font-weight: 800; text-decoration: none; padding: 6px 2px; border-bottom: 2px solid rgba(255,255,255,0.4); }
.hm-how:hover { border-bottom-color: var(--green); color: #fff; }
.hm-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.hm-checks li { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; color: #fff; }
.hm-checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230a0f2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Reviews under the ticks: one quote at a time */
.hm-reviews { position: relative; width: min(100%, 34em); margin-top: 30px; padding: 18px 20px 16px 58px; border-radius: 18px; background: rgba(10,15,46,0.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.hm-reviews[hidden] { display: none; }
.hm-reviews::before { content: "\201C"; position: absolute; left: 16px; top: 4px; font-family: Georgia, serif; font-size: 3.6rem; line-height: 1; color: var(--green); }
.hr-track { display: grid; }
.hr-quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.hr-quote.on { opacity: 1; visibility: visible; }
.hr-quote blockquote { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 600; color: #fff; }
.hr-quote figcaption { margin-top: 8px; font-size: 0.82rem; color: #c9d1ff; } .hr-quote figcaption b { color: #fff; }
.hr-dots { display: inline-flex; gap: 6px; margin-top: 12px; vertical-align: middle; }
.hr-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; }
.hr-dots button[aria-current="true"] { width: 20px; border-radius: 4px; background: var(--green); }
.hr-all { float: right; margin-top: 8px; font-size: 0.82rem; font-weight: 800; color: #fff; }
.hr-all:hover { color: var(--green); }

/* Boarding pass: the same pass as on the Projects page */
.hm-ticket { position: relative; }
.bp { display: grid; grid-template-columns: minmax(0, 1fr) 150px; color: var(--navy); filter: drop-shadow(0 2px 2px rgba(10,15,46,0.16)) drop-shadow(0 18px 22px rgba(10,15,46,0.24)); rotate: 2deg; transition: rotate .45s cubic-bezier(.3,1.6,.5,1), translate .3s; }
a.bp { text-decoration: none; }
a.bp:hover, a.bp:focus-visible { rotate: 0deg; translate: 0 -6px; color: var(--navy); }
a.bp:focus-visible { outline: 3px solid var(--green); outline-offset: 8px; }
.bp-main { padding: 20px 22px 22px; min-width: 0; background: #fff; border-radius: 18px 0 0 18px; -webkit-mask: radial-gradient(circle 11px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 11px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.bp-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px dashed #e1e5f6; }
.bp-head b { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.bp-head .tk-logo { background: var(--blue); color: #fff; padding: 5px 9px; border-radius: 6px; }
.bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 16px 0 14px; }
.bp-route > div:last-child { text-align: right; }
.bp-route small, .bp-facts dt, .bp-stub small { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #6a7194; }
.bp-route strong { display: block; font-size: 2.3rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.bp-route span { display: block; font-size: 0.8rem; font-weight: 700; color: #4a5170; }
.bp-plane { width: 22px; height: 22px; justify-self: center; color: var(--blue); rotate: 90deg; }
.bp-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px 16px; margin: 0; padding-top: 12px; border-top: 2px dashed #e1e5f6; }
.bp-facts .bp-date { grid-column: 1 / -1; }
.bp-facts dd { margin: 3px 0 0; font-weight: 800; font-size: 1.02rem; line-height: 1.15; white-space: nowrap; }
.bp-facts .bp-date dd { font-size: 1.25rem; color: var(--blue); white-space: normal; }
.bp-stub { position: relative; display: flex; flex-direction: column; padding: 20px 16px 18px 18px; border-radius: 0 18px 18px 0; background: var(--green); color: var(--navy); border-left: 2px dashed rgba(10,15,46,0.3); -webkit-mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.bp-stub small { color: var(--navy); opacity: 0.7; }
.bp-stub b { margin-top: 8px; font-size: 1.4rem; line-height: 1.05; letter-spacing: -0.01em; }
.bp-stub span { margin-top: 6px; font-size: 0.8rem; font-weight: 700; }
.bp-bar { margin-top: auto; padding-top: 14px; display: block; height: 34px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px, currentColor 5px 8px, transparent 8px 10px, currentColor 10px 11px, transparent 11px 14px) content-box; opacity: 0.75; }
.hm-note { position: absolute; right: 6%; bottom: -46px; margin: 0; color: #fff; font-size: 1.7rem; line-height: 1; rotate: -3deg; }

/* The bird glides along a dotted line at the bottom of the hero */
.hero-lane { position: absolute; left: 0; right: 0; bottom: 0; height: 112px; z-index: 0; pointer-events: none; }
.lane-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bird { position: absolute; left: 0; top: 0; width: 44px; height: auto; will-change: transform; }

/* ===== The route: bands, a dotted line down the left and a numbered stop per section ===== */
.leg { position: relative; padding-block: 104px 96px; overflow: hidden; --dots: rgba(255,255,255,0.4); --stop-bg: var(--green); --stop-fg: var(--navy); }
.leg > .wrap { position: relative; z-index: 1; }
section.leg, section + section.leg { border-top: 0; }
.leg-navy { background: var(--navy); color: #fff; }
.leg-blue { background: var(--blue); color: #fff; }
.leg-green { background: var(--green); color: var(--navy); --dots: rgba(10,15,46,0.4); --stop-bg: var(--navy); --stop-fg: var(--green); }
.leg-paper { background: var(--bg); color: var(--fg); --dots: color-mix(in srgb, var(--fg) 35%, transparent); --stop-bg: var(--blue); --stop-fg: #fff; }
.leg-blue { --stop-bg: #fff; --stop-fg: var(--blue); }
.leg h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.025em; margin: 14px 0 0; }
.leg-navy h2, .leg-blue h2 { color: #fff; }
.leg-green h2 { color: var(--navy); }
.leg-head { position: relative; max-width: 44em; }
.leg-head p { margin: 16px 0 0; font-size: 1.12rem; line-height: 1.6; }
.leg-navy .leg-head p { color: #c9d1ff; }
.leg-blue .leg-head p { color: #dfe5ff; }
.leg-blue .sticker { background: #fff; color: var(--blue); }
.leg-green .sticker { background: var(--navy); color: var(--green); }

.stop-n { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; vertical-align: middle; border-radius: 50%; background: var(--stop-bg); color: var(--stop-fg); font-weight: 800; font-size: 0.95rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--stop-bg) 22%, transparent); }
.leg > .wrap > .stop-n { margin-bottom: 18px; }
.stop-n svg { width: 18px; height: 18px; rotate: 90deg; }

/* Text links that move you along the route */
.leg-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 800; font-size: 1.02rem; color: inherit; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.leg-green .leg-link { text-decoration-color: var(--navy); }
.leg-link i { font-style: normal; transition: transform .2s; }
.leg-link:hover { color: inherit; }
.leg-link:hover i { transform: translateX(5px); }

/* On wide screens the stops sit on a dotted line in the left margin */
@media (min-width: 1200px) {
  .leg::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 553px); width: 4px; background: radial-gradient(circle, var(--dots) 1.6px, transparent 2px) 50% 0 / 4px 14px repeat-y; }
  .leg:first-child::before { top: 104px; }
  .stop-n { position: absolute; width: 44px; height: 44px; margin: 0; font-size: 1.05rem; }
  .leg-head > .stop-n { left: -73px; top: -6px; }
  .leg > .wrap > .stop-n { left: -53px; top: -6px; }
  .stop-n svg { width: 22px; height: 22px; }
  .home .foot-cta::after { content: ""; position: absolute; z-index: 0; top: 0; height: 74px; left: calc(50% - 553px); width: 4px; background: radial-gradient(circle, rgba(255,255,255,0.45) 1.6px, transparent 2px) 50% 0 / 4px 14px repeat-y; }
  .home .foot-cta-grid > div { position: relative; }
  .home .stop-end { left: -73px; top: 8px; }
}
@media (max-width: 1199px) { .home .stop-end { display: none; } }

/* Dark mode: the paper band turns a lighter navy so it still stands apart from the navy bands around it */
@media (prefers-color-scheme: dark) {   :root:not([data-theme="light"]) .leg-paper { background: var(--surface); --band: var(--surface); }  }
:root[data-theme="dark"] .leg-paper { background: var(--surface); --band: var(--surface); }
.home .stop-end { --stop-bg: var(--green); --stop-fg: var(--navy); }

/* ===== Stop 1: four facts as luggage tags ===== */
.leg-navy::after { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -260px; border-radius: 50%; border: 64px solid rgba(26,62,236,0.4); z-index: 0; }
#about.leg-navy::after { display: none; }
.leg .explain { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 0 18px; }
.explain .tile { --tag: #232b5c; position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; gap: 0; margin-top: 54px; padding: 52px 24px 28px; border-radius: 0 0 24px 24px;
  background: linear-gradient(135deg, #0000 26px, var(--tag) 0) left / 51% 100% no-repeat, linear-gradient(225deg, #0000 26px, var(--tag) 0) right / 51% 100% no-repeat;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.35)); transform-origin: 50% -40px; rotate: -3deg; transition: rotate .6s cubic-bezier(.3,1.8,.5,1); }
.explain .tile:nth-child(2) { rotate: 2.5deg; }
.explain .tile:nth-child(3) { rotate: -1.5deg; }
.explain .tile:nth-child(4) { rotate: 3deg; }
.explain .tile:hover { rotate: 0deg; }
.explain .tile::before { content: ""; position: absolute; top: 16px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(255,255,255,0.55); }
.explain .tile::after { content: ""; position: absolute; top: -46px; left: 50%; width: 12px; height: 72px; margin-left: -6px; pointer-events: none;
  background: radial-gradient(circle 6px at 50% 6px, var(--green) 96%, #0000) no-repeat, linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)) 50% 6px / 2px calc(100% - 6px) no-repeat; }
.tile-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; align-self: start; }
.tile-ic svg { width: 24px; height: 24px; }
.explain .tile b { align-self: end; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.explain .tile h3 { margin-top: 10px; font-size: 1.12rem; line-height: 1.25; }
.explain .tile p { margin-top: 8px; font-size: 0.92rem; line-height: 1.5; }
.tile.t-blue { --tag: var(--blue); color: #fff; } .tile.t-blue b, .tile.t-blue h3 { color: #fff; } .tile.t-blue p { color: #dfe5ff; } .tile.t-blue .tile-ic { background: rgba(255,255,255,0.18); color: #fff; }
.tile.t-green { --tag: var(--green); color: var(--navy); } .tile.t-green b, .tile.t-green h3 { color: var(--navy); } .tile.t-green p { color: #0a3a20; } .tile.t-green .tile-ic { background: var(--navy); color: var(--green); }
.tile.t-glass { --tag: #232b5c; color: #fff; } .tile.t-glass b { color: var(--green); } .tile.t-glass h3 { color: #fff; } .tile.t-glass p { color: #c9d1ff; } .tile.t-glass .tile-ic { background: var(--green); color: var(--navy); }
.tile.t-white { --tag: #fff; color: var(--navy); } .tile.t-white b { color: var(--blue); } .tile.t-white h3 { color: var(--navy); } .tile.t-white p { color: #4a5170; } .tile.t-white .tile-ic { background: var(--blue); color: #fff; }
.tile.t-white::before { box-shadow: 0 0 0 4px #d9def0; }
#new .leg-link { margin-top: 48px; }
@media (max-width: 900px) { .leg .explain { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 0 14px; } .explain .tile { margin-bottom: 8px; } }
@media (max-width: 600px) {
  .leg .explain { grid-template-columns: 1fr; grid-template-rows: none; justify-items: center; margin-top: 24px; }
  .explain .tile { grid-row: auto; grid-template-rows: none; width: min(100%, 330px); margin-top: 46px; padding: 48px 22px 24px; }
  .explain .tile:nth-child(odd) { rotate: -2deg; } .explain .tile:nth-child(even) { rotate: 2deg; }
}

/* ===== Stop 2: an Erasmus semester next to a youth exchange ===== */
.leg-paper .compare { margin: 0; display: grid; grid-template-columns: 1fr; gap: 28px; }
.leg-paper .compare-head h3 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.025em; }
.leg-paper .compare-head p { margin-top: 14px; font-size: 1.12rem; max-width: 36em; color: var(--muted); }
/* A "tale of the tape": the semester fades on the left, the youth exchange is a ticket on the right, the question sits on the seam */
.vsb { --seam: 150px; --cut: calc((100% - var(--seam)) * 0.42 + var(--seam) / 2); position: relative; display: grid; margin-top: 18px; isolation: isolate; }
.vsb::before { content: ""; position: absolute; z-index: -1; left: var(--cut); right: 0; top: 0; bottom: 0; border-radius: 24px;
  background: linear-gradient(var(--green) 0 78px, var(--blue) 78px); box-shadow: 0 26px 44px rgba(10,15,46,0.28);
  -webkit-mask: radial-gradient(circle 12px at 0 78px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 78px, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 78px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 78px, #0000 98%, #000) right / 51% 100% no-repeat; }
.vsb::after { content: ""; position: absolute; z-index: -1; left: calc(var(--cut) + 14px); right: 14px; top: 78px; border-top: 3px dashed rgba(255,255,255,0.45); }
.vsb-row { display: grid; grid-template-columns: minmax(0, 0.84fr) var(--seam) minmax(0, 1.16fr); align-items: center; min-height: 70px; }
.vsb-row + .vsb-row:not(:nth-child(2)) .vsb-old { border-top: 1px dashed var(--line); }
.vsb-row + .vsb-row:not(:nth-child(2)) .vsb-new { box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
.vsb-old { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 22px 12px 0; text-align: right; color: var(--muted); font-size: 1rem; line-height: 1.3; }
.vsb-new { align-self: stretch; display: flex; align-items: center; gap: 10px; margin-left: calc(var(--seam) / -2); padding: 12px 30px 12px calc(var(--seam) / 2 + 26px); color: #fff; font-weight: 800; font-size: 1.12rem; line-height: 1.3; }
.vsb-lb { position: relative; z-index: 1; justify-self: center; padding: 7px 12px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; white-space: nowrap; box-shadow: 0 6px 14px rgba(10,15,46,0.2); }
.vsb-row:nth-child(odd) .vsb-lb { rotate: -3deg; } .vsb-row:nth-child(even) .vsb-lb { rotate: 2deg; }
.vsb-top { min-height: 78px; }
.vsb-top .vsb-old, .vsb-top .vsb-new { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.vsb-top .vsb-new { position: relative; color: var(--navy); font-size: 0.9rem; }
.vsb-top .vsb-lb { padding: 0; background: none; box-shadow: none; }
.vsb-ic { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--line); color: var(--fg); }
.vsb-ic.us { background: var(--navy); color: var(--green); }
.vsb-ic svg { width: 18px; height: 18px; }
.vsb-us { position: absolute; right: 24px; top: -44px; font-family: "Caveat", "Segoe Print", cursive; font-weight: 700; font-size: 1.8rem; letter-spacing: 0; text-transform: none; color: var(--fg); rotate: -5deg; }
.cmp-vs { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--navy); font-family: "Caveat", "Segoe Print", cursive; font-weight: 700; font-size: 1.8rem; line-height: 1; rotate: -8deg; box-shadow: 0 0 0 4px var(--band, var(--bg)), 0 8px 18px rgba(10,15,46,0.25); }
.vsb.rv .vsb-row:not(.vsb-top) .vsb-new { opacity: 0; translate: 18px 0; transition: opacity .4s, translate .5s cubic-bezier(.2,1.3,.4,1); }
.vsb.rv.in .vsb-row .vsb-new { opacity: 1; translate: 0 0; }
.vsb.rv.in .vsb-row:nth-child(3) .vsb-new { transition-delay: .08s; } .vsb.rv.in .vsb-row:nth-child(4) .vsb-new { transition-delay: .16s; } .vsb.rv.in .vsb-row:nth-child(5) .vsb-new { transition-delay: .24s; } .vsb.rv.in .vsb-row:nth-child(6) .vsb-new { transition-delay: .32s; } .vsb.rv.in .vsb-row:nth-child(7) .vsb-new { transition-delay: .4s; }
@media (max-width: 760px) {
  .vsb { --seam: 0px; --cut: 0px; margin-top: 30px; }
  .vsb::before { background: linear-gradient(var(--green) 0 64px, var(--blue) 64px);
    -webkit-mask: radial-gradient(circle 11px at 0 64px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 64px, #0000 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 11px at 0 64px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 64px, #0000 98%, #000) right / 51% 100% no-repeat; }
  .vsb::after { left: 14px; top: 64px; }
  .vsb-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; min-height: 0; }
  .vsb-row + .vsb-row:not(:nth-child(2)) { box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
  .vsb-row + .vsb-row:not(:nth-child(2)) .vsb-old, .vsb-row + .vsb-row:not(:nth-child(2)) .vsb-new { border: 0; box-shadow: none; }
  .vsb-row:nth-child(2) { padding-top: 22px; }
  .vsb-lb { order: -1; justify-self: start; padding: 0; background: none; box-shadow: none; color: var(--green); rotate: 0deg !important; font-size: 0.68rem; }
  .vsb-old, .vsb-new { display: block; padding: 0; margin: 0; text-align: left; }
  .vsb-old { order: 1; color: rgba(255,255,255,0.62); font-size: 0.86rem; }
  .vsb-old::before { content: "Semester: "; font-weight: 800; }
  .vsb-new { font-size: 1.06rem; }
  .vsb-top { display: flex; align-items: center; padding: 0 20px; min-height: 64px; }
  .vsb-top .vsb-old, .vsb-top .vsb-lb { display: none; }
  .vsb-top .vsb-new { display: flex; }
  .vsb-us { right: 6px; top: -46px; font-size: 1.6rem; }
}

/* ===== Stop 3: a skills passport. Themes are ink stamps on the left page, the chosen one is stamped onto the visa page ===== */
.passport { --ink: var(--navy); --paper: #fbf8f1; --edge: #e4ddcc; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1040px; margin: 48px auto 0; color: var(--ink); rotate: -0.8deg; filter: drop-shadow(0 30px 40px rgba(10,15,46,0.35)); }
.passport::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 12px; border-left: 2px dashed rgba(10,15,46,0.22); pointer-events: none; z-index: 2; }
.pp-defs { position: absolute; }
.pp-page { position: relative; min-width: 0; min-height: 440px; padding: 26px 30px 30px; overflow: hidden; background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12 Q15 2 30 12 T60 12 T90 12 T120 12' fill='none' stroke='%231a3eec' stroke-opacity='0.07' stroke-width='1'/%3E%3Cpath d='M0 18 Q15 8 30 18 T60 18 T90 18 T120 18' fill='none' stroke='%232aec71' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E"); }
.pp-stamps { border-radius: 14px 4px 4px 14px; box-shadow: inset -26px 0 28px -20px rgba(10,15,46,0.3), -1px 2px 0 var(--edge), -2px 4px 0 var(--paper), -3px 6px 0 var(--edge); }
.pp-visa { border-radius: 4px 14px 14px 4px; box-shadow: inset 26px 0 28px -20px rgba(10,15,46,0.3), 1px 2px 0 var(--edge), 2px 4px 0 var(--paper), 3px 6px 0 var(--edge); }
.pp-wm { position: absolute; left: 50%; top: 54%; width: 72%; translate: -50% -50%; color: var(--blue); opacity: 0.05; pointer-events: none; }
.pp-wm svg { display: block; width: 100%; height: auto; }
.pp-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px dashed rgba(10,15,46,0.14); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.pp-head b { color: var(--blue); } .pp-head span { color: #6a7194; }
.pp-pg { position: absolute; bottom: 10px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; color: #a9a291; }
.pp-stamps .pp-pg { left: 18px; } .pp-visa .pp-pg { right: 18px; }
.pp-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
.pp-stamp { --c: var(--blue); position: relative; display: grid; place-items: center; align-content: center; gap: 4px; aspect-ratio: 1; padding: 6px; border: 2.5px solid var(--c); border-radius: 50%; background: transparent; color: var(--c); font: inherit; cursor: pointer; rotate: var(--r); outline: 1.5px dashed var(--c); outline-offset: -8px; opacity: 1; filter: url(#pp-ink); mix-blend-mode: multiply; transition: rotate .4s cubic-bezier(.3,1.8,.5,1), scale .3s cubic-bezier(.3,1.8,.5,1), background .2s, opacity .2s; }
.pp-stamp.s1 { --c: #0f9a4c; border-radius: 16px; } .pp-stamp.s2 { --c: var(--navy); } .pp-stamp.s3 { --c: #d93a45; border-radius: 16px; }
.pp-stamp .pp-ic svg { display: block; width: 24px; height: 24px; }
.pp-name { max-width: 100%; font-size: 0.64rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; line-height: 1.15; text-align: center; }
.pp-name.pp-long { font-size: 0.54rem; letter-spacing: -0.02em; }
.pp-sub { font-size: 0.48rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.pp-stamp:hover { scale: 1.05; }
.pp-grid .pp-stamp[aria-pressed="true"] { background: var(--c); color: #fff; opacity: 0.95; scale: 1.08; rotate: 0deg; outline-color: rgba(255,255,255,0.65); mix-blend-mode: normal; }
.pp-stamp:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--blue); }
.pp-entry { position: absolute; top: 58px; right: 22px; width: 112px; padding: 10px; border-width: 3px; cursor: default; rotate: -12deg; opacity: 0.9; z-index: 1; animation: pp-thunk .45s cubic-bezier(.2,1.6,.4,1) both; }
.pp-entry .pp-ic svg { width: 30px; height: 30px; } .pp-entry .pp-name { font-size: 0.58rem; } .pp-entry .pp-sub { font-size: 0.5rem; }
@keyframes pp-thunk { from { opacity: 0; scale: 1.7; rotate: -24deg; } 60% { opacity: 0.9; } }
.pp-kind { position: relative; margin: 6px 0 4px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #6a7194; }
.pp-title { position: relative; margin: 0 0 14px; padding-right: 128px; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.pp-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pp-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 700; font-size: 1.02rem; border-bottom: 1px dotted rgba(10,15,46,0.2); animation: pp-in .35s both; }
.pp-list li:last-child { border-bottom: 0; }
.pp-list li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230a0f2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pp-list li:nth-child(2) { animation-delay: .05s; } .pp-list li:nth-child(3) { animation-delay: .1s; } .pp-list li:nth-child(4) { animation-delay: .15s; } .pp-list li:nth-child(5) { animation-delay: .2s; }
@keyframes pp-in { from { opacity: 0; translate: 10px 0; } }
.pp-note { position: relative; margin: 10px 0 0; font-size: 1.4rem; line-height: 1; color: var(--blue); rotate: -2deg; }
.pp-mrz { position: relative; margin: 16px -8px 0; padding: 10px 8px 0; border-top: 1px solid rgba(10,15,46,0.12); font-family: "OCR B", "OCR-B", ui-monospace, "Courier New", monospace; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.17em; line-height: 1.5; color: #3a4060; white-space: nowrap; overflow: hidden; }
.pp-yp { position: absolute; left: 30px; right: 30px; bottom: 30px; margin: 0; font-size: 1.4rem; line-height: 1.1; color: #6a7194; rotate: -1.5deg; }
@media (max-width: 860px) {
  .passport { grid-template-columns: minmax(0, 1fr); rotate: 0deg; }
  .passport::after { display: none; }
  .pp-page { min-height: 0; padding: 20px 18px 26px; }
  .pp-stamps { border-radius: 14px 14px 4px 4px; box-shadow: inset 0 -22px 26px -18px rgba(10,15,46,0.28); }
  .pp-visa { border-radius: 4px 4px 14px 14px; box-shadow: inset 0 22px 26px -18px rgba(10,15,46,0.28), 0 2px 0 var(--edge), 0 4px 0 var(--paper), 0 6px 0 var(--edge); }
  .pp-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -18px; padding: 8px 18px 14px 24px; scroll-padding-left: 24px; }
  .pp-grid::-webkit-scrollbar { display: none; }
  .pp-grid .pp-stamp { flex: 0 0 104px; scroll-snap-align: start; padding: 6px; outline-offset: -7px; }
  .pp-yp { position: static; margin-top: 6px; font-size: 1.2rem; }
  .pp-entry { top: 50px; right: 10px; width: 78px; padding: 6px; border-width: 2.5px; outline-offset: -6px; }
  .pp-entry .pp-ic svg { width: 20px; height: 20px; } .pp-entry .pp-name { font-size: 0.42rem; } .pp-entry .pp-sub { font-size: 0.4rem; }
  .pp-title { padding-right: 76px; font-size: 1.45rem; }
  .pp-list li { font-size: 0.98rem; padding: 7px 0; }
  .pp-mrz { font-size: 0.56rem; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) { .pp-list li, .pp-entry { animation: none; } .pp-stamp { transition: none; } }
.leg-blue::after { content: ""; position: absolute; width: 460px; height: 460px; left: -230px; bottom: -230px; border-radius: 50%; background: rgba(255,255,255,0.08); z-index: 0; }

/* ===== Stop 4: our first project, a polaroid ===== */
.first-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.first-copy p { color: #0a2e1a; font-size: 1.08rem; }
.first-copy p b { color: var(--navy); }
.polaroid-link { display: block; color: inherit; }
.polaroid { margin: 0; position: relative; background: #fff; padding: 14px 14px 0; rotate: 2deg; box-shadow: 0 30px 60px rgba(10,15,46,0.35); transition: rotate .4s cubic-bezier(.3,1.5,.5,1), translate .3s; }
.polaroid-link:hover .polaroid { rotate: 0.3deg; translate: 0 -8px; }
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 834; object-fit: cover; }
.polaroid figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 6px 18px; color: var(--navy); }
.polaroid figcaption .hand { font-size: 2rem; line-height: 1; }
.polaroid figcaption small { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.tape { position: absolute; top: -16px; width: 110px; height: 32px; background: rgba(26,62,236,0.55); z-index: 2; }
.tape.t1 { left: 34px; rotate: -6deg; }
.tape.t2 { right: 34px; rotate: 5deg; }
@media (max-width: 900px) { .first-grid { grid-template-columns: 1fr; gap: 44px; } .polaroid { rotate: 1deg; } }
@media (max-width: 520px) { .polaroid { padding: 9px 9px 0; } .polaroid figcaption small { display: none; } .polaroid figcaption .hand { font-size: 1.5rem; } .tape { width: 80px; height: 24px; } }

/* ===== Stop 5: who takes you ===== */
#about { padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.about-grid .leg-head { padding-bottom: 96px; }
.teaser-caption { font-size: 1rem !important; }
.teaser-caption b { color: #fff; }
.simon-cut { position: relative; margin: 0; width: min(400px, 100%); justify-self: end; }
.simon-cut img { position: relative; display: block; width: 100%; height: auto; z-index: 1; }
.cut-disc { position: absolute; left: 50%; bottom: 8%; width: 108%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--green); z-index: 0; }
.cut-disc::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.35); }
.simon-cut figcaption { position: absolute; left: -6%; bottom: 3%; z-index: 2; display: grid; gap: 2px; background: var(--navy); color: #fff; padding: 10px 16px 11px; border-radius: 14px; border: 2px solid var(--green); rotate: -3deg; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.simon-cut figcaption b { font-size: 1.02rem; }
.simon-cut figcaption span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 8px; } .about-grid .leg-head { padding-bottom: 24px; } .simon-cut { justify-self: center; width: min(400px, 90%); } .simon-cut figcaption { left: 0; } }

/* ===== The end of the route: the footer button, without a second ticket ===== */
.home .pass-wrap { display: none; }
.home .foot-cta-grid { grid-template-columns: 1fr; }

/* ===== Phones and tablets ===== */
@media (max-width: 900px) {
  .hm-hero-grid { grid-template-columns: 1fr; gap: 48px; padding-block: 92px 150px; }
  .hm-ticket { max-width: 520px; }
}
@media (max-width: 820px) {
  .leg { padding-block: 72px 64px; }
  .leg-navy::after { width: 340px; height: 340px; right: -170px; top: -170px; border-width: 44px; }
  .leg-blue::after { width: 320px; height: 320px; left: -160px; bottom: -160px; }
  .hero-lane { height: 92px; } .bird { width: 36px; }
}
@media (max-width: 560px) {
  .hm-hero-grid { padding-block: 84px 130px; }
  .btn-cta { width: 100%; justify-content: center; }
  .hm-cta { margin-top: 28px; }
  .hm-how { margin: 0 auto; }
  .hm-checks { gap: 8px 16px; margin-top: 22px; } .hm-checks li { font-size: 0.88rem; }
  .bp { grid-template-columns: 1fr; rotate: 1deg; }
  .bp-main { padding: 16px 16px 18px; border-radius: 18px 18px 0 0; -webkit-mask: radial-gradient(circle 11px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 11px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
  .bp-route strong { font-size: 1.9rem; }
  .bp-stub { border-radius: 0 0 18px 18px; border-left: 0; border-top: 2px dashed rgba(10,15,46,0.3); padding: 14px 16px 16px; -webkit-mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 11px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; }
  .bp-bar { display: none; }
  .hm-note { font-size: 1.4rem; bottom: -40px; }
}

/* Scroll motion */
.js-rv .rv { opacity: 0; translate: 0 26px; transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), translate .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), rotate .5s cubic-bezier(.3,1.8,.5,1); }
.js-rv .rv.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .bp, .explain .tile, .vsb-new, .polaroid, .btn-cta { transition: none; } }
