/* Lab home: one 3D world pinned behind the flight and the laptop. */
.world { position: relative; background: #0B1315; }
.world__pin { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; z-index: 0; }
.world__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world__hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; margin: 0; font: 13px "Geist Mono", ui-monospace, monospace; color: #8A9B9E; transition: opacity .4s; pointer-events: none; }
.world { --step: 1.8; }   /* screens of scrolling per place; the inline script on the page sets it shorter on phones */
.world__gap { position: relative; height: 40vh; }   /* a short hold on the first screen, then the laptop flies in */
.world__gap--end { height: calc(var(--step) * 100vh); }   /* one step per place after the laptop: the last screens and the open space */
/* the laptop lives inside the world: no background of its own, an extra screen of travel before and after its story */
.page-lab .lp { position: relative; z-index: 1; background: transparent; height: calc(725vh + var(--step) * 200vh); }   /* 5 sites: +125vh keeps each site's scroll the same as with 4 */
@media (max-width: 900px) { .page-lab .lp { height: calc(640vh + var(--step) * 200vh); } }
.lp-pin.is-travel .lp-panels, .lp-pin.is-travel .lp-hint, .lp-pin.is-travel .lp-index { opacity: 0 !important; }
/* while the laptop is travelling its hidden captions must not catch clicks meant for the flying screens */
.lp-pin.is-travel .lp-panels, .lp-pin.is-travel .lp-panels *, .lp-pin.is-travel .lp-hint, .lp-pin.is-travel .lp-index, .lp-pin.is-travel .lp-index * { pointer-events: none !important; }

/* Rhythm after the flight: dark work, dark services, light packages, dark numbers, blue cities, dark end. Flat colours only. */
.page-lab, .pk { --lt-bg: #EEEAE2; --lt-card: #EEEAE2; --lt-ink: #142022; --lt-text: #454E50; --lt-line: #D9D3C7; }   /* .pk too: the classic home has no page-lab class */

/* Selected work: the four sites as plain cards */
.wk { background: #0B1315; color: #ECF0F0; padding: clamp(80px, 12vh, 140px) 0; position: relative; z-index: 1; }
.wk__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.wk__kicker, .pk__kicker { margin: 0 0 14px; font: 500 15px "Geist Mono", ui-monospace, monospace; color: #E0705C; }
.wk__title { margin: 0; font-weight: 600; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.05em; max-width: 16ch; }
.wk .btn--line { color: #ECF0F0; border-color: #33464B; }
.wk .btn--line:hover { border-color: #ECF0F0; }
.wk__grid { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(18px, 2.4vw, 32px); }
.wk__card { display: block; color: inherit; text-decoration: none; }
.wk__img { border-radius: 14px; overflow: hidden; background: #121D20; border: 1px solid #1D2B2F; }
.wk__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.wk__card:hover .wk__img img { transform: scale(1.035); }
.wk__meta { margin: 18px 0 6px; font: 14px "Geist Mono", ui-monospace, monospace; color: #A6B4B6; }
.wk__card h3 { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.wk__card h3::after { content: " →"; color: #E0705C; display: inline-block; transition: transform .3s; }
.wk__card:hover h3::after { transform: translateX(5px); }
.wk__idea { margin: 8px 0 0; color: #9FAEB0; max-width: 52ch; }
@media (max-width: 760px) { .wk__grid { grid-template-columns: 1fr; } }

/* Services: each card stays fully readable before the next one slides over it */
.page-lab .sp-card2 { margin-bottom: 26vh; }   /* shorter gap = less scrolling between cards */
.page-lab .sp-card2:last-child { margin-bottom: 0; }

/* Packages (light): white windows, the main pick is the dark one */
.pk { background: var(--lt-bg); color: var(--lt-ink); padding: clamp(80px, 12vh, 140px) 0; position: relative; z-index: 1; }
.pk__title { margin: 0; font-weight: 600; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.05em; max-width: 16ch; }
.pk__intro { margin: 18px 0 0; color: var(--lt-text); max-width: 52ch; }
.pk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 7vh, 72px); align-items: start; }
.pk__card { background: var(--lt-card); border: 1px solid var(--lt-line); border-radius: 12px; overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.pk__card:hover { transform: translateY(-6px); border-color: #BDB8AE; }
.pk__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; background: #F7F6F3; border-bottom: 1px solid var(--lt-line); font: 13px "Geist Mono", ui-monospace, monospace; color: #6A6862; }
.pk__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.pk__bar i + i { background: #FEBC2E; }
.pk__bar i + i + i { background: #28C840; }
.pk__bar span { margin-left: 8px; }
.pk__bar b { margin-left: auto; font-weight: 500; background: #E2F99A; color: #0B1315; padding: 3px 9px; border-radius: 6px; }
.pk__body { padding: 28px 28px 30px; }
.pk__n { margin: 0 0 22px; font: 14px "Geist Mono", ui-monospace, monospace; color: #6A6862; }
.pk__card h3 { margin: 0; font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.04em; }
.pk__lede { margin: 12px 0 0; color: var(--lt-text); }
.pk__card ul { list-style: none; margin: 26px 0 30px; padding: 20px 0 0; border-top: 1px solid var(--lt-line); display: grid; gap: 12px; }
.pk__card li { position: relative; padding-left: 26px; color: #2A3B3F; }
.pk__card li::before { content: ">"; position: absolute; left: 0; font-family: "Geist Mono", ui-monospace, monospace; color: #E0705C; }
.pk__card .btn { width: 100%; justify-content: center; }
.pk__card .btn--line { color: var(--lt-ink); border-color: #BDB8AE; }
.pk__card .btn--line:hover { border-color: var(--lt-ink); }
.pk__card--main { background: #0F181A; border-color: #0F181A; color: #ECF0F0; margin-top: -18px; }
.pk__card--main:hover { border-color: #0F181A; }
.pk__card--main .pk__bar { background: #172427; border-color: #253438; color: #9FAEB0; }
.pk__card--main .pk__n { color: #9FAEB0; }
.pk__card--main .pk__lede { color: #9FAEB0; }
.pk__card--main ul { border-color: #253438; }
.pk__card--main li { color: #DCDCE2; }
.pk__card--main li::before { color: #E2F99A; }
@media (max-width: 900px) {
  .pk__grid { grid-template-columns: 1fr; }
  .pk__card--main { margin-top: 0; order: -1; }
}

/* Numbers: clean digits only, no screenshot behind them (a real Erasmus+ photo can come back here later) */
.page-lab .sp-nums__photo, .page-lab .sp-odo--lime { display: none; }
.page-lab .sp-odo__suf { color: #E2F99A; }
.page-lab .sp-nums__kicker { font-size: 16px; color: #9FAEB0; }
.page-lab .sp-nums__note { font-size: 17px; color: #B4B4BE; }

/* Cities: bright blue, quieter names, the globe is the hero */
.page-lab .sp-cities { background: #B8432F; }
.page-lab .sp-cities__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.page-lab .sp-cities__list li { font-size: clamp(1.9rem, 3.6vw, 3.6rem); line-height: 1.08; color: rgba(255, 255, 255, .55); }
.page-lab .sp-cities__list li.on { color: #FFFFFF; }
.page-lab .sp-cities__side p { color: #FFFFFF; }
.page-lab .sp-globe { max-width: min(600px, 66vh); }
@media (max-width: 860px) {
  .page-lab .sp-cities__in { grid-template-columns: 1fr; }
  .page-lab .sp-cities__list li { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}

/* Small labels a bit bigger and brighter on the dark parts */
.page-lab .world__hint { font-size: 14px; color: #A6B4B6; }
.page-lab .world__hint { left: var(--g); translate: none; bottom: 30px; }   /* in the corner, clear of the screen panel */

/* ---------- Skip intro: a clear button, bottom centre, for visitors who don't want the 3D part ---------- */
.skip3d {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  font: 600 16px "Bricolage Grotesque", "Geist", system-ui, sans-serif; letter-spacing: -.01em; color: #fff; text-decoration: none; white-space: nowrap;
  background: #B8432F; border: 0; border-radius: 10px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.skip3d::after { content: ""; position: absolute; inset: -10px; }   /* a bigger target than it looks */
.skip3d.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.skip3d:hover { background: #A33A28; }
.skip3d:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.skip3d svg { width: 18px; height: 18px; flex: none; }
/* while the laptop shows a site, its own buttons sit at the bottom: the skip button moves to the corner under the header,
   and steps aside on the laptop's last screen (that one has its own buttons) */
.lp-on .skip3d.on { top: 92px; bottom: auto; left: auto; right: var(--g); transform: none; min-height: 42px; padding: 0 16px; font-size: 14.5px; }
body:has(.lp-panel--outro.on) .skip3d.on { opacity: 0; visibility: hidden; }

/* ---------- 3D on/off switch in the header ---------- */
.sw3d { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 500 13px "Geist Mono", ui-monospace, monospace; color: #A6B4B6; }
.sw3d i { position: relative; width: 34px; height: 20px; border-radius: 10px; background: #33464B; transition: background .25s; }
.sw3d i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #ECF0F0; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.sw3d[aria-checked="true"] i { background: #B8432F; }
.sw3d[aria-checked="true"] i::after { transform: translateX(14px); }
.sw3d:hover { color: #ECF0F0; }
@media (max-width: 820px) { .sw3d { margin-right: 4px; } }

/* the story as plain windows on the classic home (3D off), same texts as the 3D screens */
.sv { position: relative; z-index: 1; background: #0B1315; padding: clamp(70px, 11vh, 130px) 0; }
.sv__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sv__card { background: #0F181A; border: 1px solid #253438; border-radius: 12px; overflow: hidden; }
.sv__card--lead { grid-column: 1 / -1; }
.sv__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; background: #121D20; border-bottom: 1px solid #253438; font: 13px "Geist Mono", ui-monospace, monospace; color: #A6B4B6; }
.sv__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.sv__bar i + i { background: #FEBC2E; }
.sv__bar i + i + i { background: #28C840; }
.sv__bar span { margin-left: 8px; }
.sv__body { padding: clamp(24px, 3vw, 40px); }
.sv__kicker { margin: 0 0 14px; font: 500 14px "Geist Mono", ui-monospace, monospace; color: #E0705C; }
.sv__title { margin: 0; font-weight: 600; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .95; letter-spacing: -.055em; color: #ECF0F0; }
.sv__card h2 { margin: 0; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.045em; color: #ECF0F0; }
.sv__body > p:not(.sv__kicker) { margin: 14px 0 0; color: #9FAEB0; max-width: 56ch; }
.sv__stats { display: flex; gap: 36px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #253438; }
.sv__stats dt { font-weight: 600; font-size: 2rem; letter-spacing: -.04em; color: #ECF0F0; }
.sv__stats dd { margin: 2px 0 0; font: 13px "Geist Mono", ui-monospace, monospace; color: #A6B4B6; }
@media (max-width: 760px) { .sv__in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .skip3d, .sw3d i, .sw3d i::after { transition: none; } }

/* Packages: the chatbot add-on row and the closing line */
.pk__addon { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: 18px; padding: 24px 28px; background: var(--lt-card); border: 1px dashed #BDB8AE; border-radius: 12px; }
.pk__addon h3 { margin: 0; font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.04em; }
.pk__addon .pk__n { margin: 0 0 8px; color: #A33A28; }
.pk__addon p { margin: 0; color: var(--lt-text); }
.pk__addon .btn--line { color: var(--lt-ink); border-color: #BDB8AE; white-space: nowrap; }
.pk__addon .btn--line:hover { border-color: var(--lt-ink); }
.pk__foot { margin: 28px 0 0; color: var(--lt-text); }
.pk__foot a { color: var(--lt-ink); }
@media (max-width: 900px) { .pk__addon { grid-template-columns: 1fr; } }

/* Packages as one comparison table: features down the side, the three packages across */
.pk-table { margin-top: clamp(36px, 6vh, 60px); background: var(--lt-card); border: 1px solid var(--lt-line); border-radius: 12px; overflow: hidden; }
.pk-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--lt-line); }
.pk-row:first-child { border-top: 0; }
.pk-row > div { padding: 13px 18px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; color: #2A3B3F; }
.pk-row > .pk-f { justify-content: flex-start; text-align: left; color: var(--lt-ink); }
.pk-row > .pk-main { background: #E3DCD0; }
.pk-y { color: #A33A28; font-weight: 600; font-size: 17px; }
.pk-n { color: #B9B4AA; }
.pk-head > div { flex-direction: column; gap: 4px; padding-block: 24px 20px; }
.pk-head h3 { margin: 0; font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.04em; color: var(--lt-ink); }
.pk-head p { margin: 0; font-size: 13.5px; color: var(--lt-text); }
.pk-head b { font: 500 12px "Geist Mono", ui-monospace, monospace; background: #B8432F; color: #fff; padding: 3px 9px; border-radius: 6px; margin-bottom: 4px; }
.pk-foot > div { padding-block: 20px; }
.pk-foot .btn { width: 100%; justify-content: center; }
.pk-foot .btn--line { color: var(--lt-ink); border-color: #BDB8AE; }
@media (max-width: 760px) {
  .pk-table { overflow: visible; }   /* so the package names can stay pinned while scrolling the rows */
  .pk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pk-row > .pk-f { grid-column: 1 / -1; padding-bottom: 2px; font-weight: 500; font-size: 14.5px; }
  .pk-row > .pk-f:empty { display: none; }
  .pk-row > div { padding: 8px 6px 12px; font-size: 13.5px; }
  .pk-head p { display: none; }
  .pk-foot .btn { padding-inline: 6px; font-size: 13px; }
}

/* Launch prices in the packages table */
.pk-head .pk-price, .pk-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 15px; color: var(--lt-text); }
.pk-price s { color: #5C5851; }
.pk-price strong { font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.03em; color: var(--lt-ink); }
.pk-price--add { justify-content: flex-start; margin-top: 6px; }
@media (max-width: 760px) { .pk-head .pk-price { display: flex; flex-direction: column; align-items: center; gap: 0; } .pk-price strong { font-size: 1.1rem; } }

/* Packages: a slim bar with the names and prices stays in view while you read down the table.
   It is a separate bar that fades in (the real header keeps its size), so nothing jumps. */
.pk-table { overflow: visible; }
.pk-head { border-radius: 12px 12px 0 0; }
.pk-head > .pk-main { border-radius: 0; }
.pk-foot { border-radius: 0 0 12px 12px; overflow: hidden; }
.pk-pin { position: sticky; top: 62px; z-index: 3; height: 64px; margin-bottom: -64px; overflow: hidden; border-top: 0; background: var(--lt-card); box-shadow: 0 1px 0 var(--lt-line), 0 10px 20px -14px rgba(21, 21, 21, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease, visibility .25s; pointer-events: none; }
.pk-pin.on { opacity: 1; visibility: visible; transform: none; }
.pk-pin > div { padding-block: 0; flex-direction: column; flex-wrap: nowrap; gap: 0; align-items: center; justify-content: center; }   /* name above price: fits at any width */
.pk-pin b { font-weight: 600; font-size: 1.05rem; line-height: 1.25; letter-spacing: -.03em; color: var(--lt-ink); }
.pk-pin .pk-price { margin: 0; }
.pk-pin .pk-price { line-height: 1.25; white-space: nowrap; }
.pk-pin .pk-price strong { font-size: .98rem; }
.pk-pin .pk-price s { font-size: .86rem; }
@media (max-width: 760px) {
  .pk-pin { top: 56px; height: 58px; margin-bottom: -58px; overflow: hidden; }
  .pk-pin > div { flex-direction: column; flex-wrap: nowrap; gap: 0; align-items: center; justify-content: center; padding-inline: 4px; }
  .pk-pin .pk-price s { display: none; }
  .pk-pin b { font-size: .95rem; line-height: 1.25; }
  .pk-pin .pk-price strong { font-size: .86rem; white-space: nowrap; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) { .pk-pin { transition: none; } }

.wk__sub { margin: 14px 0 0; color: #A6B4B6; max-width: 48ch; }

/* classic home: the laptop story is shorter too, so the offer comes sooner */
.page-home:not(.page-lab) .lp { height: 725vh; }

/* first screen before the 3D is ready: the same words in plain HTML, gone once the world draws */
.fly-boot { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 18px; padding: 0 24px; text-align: center; color: #ECF0F0; transition: opacity .5s, visibility .5s; }
.fly-boot.off { opacity: 0; visibility: hidden; }
.fly-boot p { margin: 0; }
.fly-boot__k { font: 500 14px "Geist Mono", ui-monospace, monospace; color: #E0705C; }
.fly-boot__t { font: 600 clamp(2.4rem, 6vw, 5rem)/1 "Bricolage Grotesque", "Geist", system-ui, sans-serif; letter-spacing: -.05em; max-width: 14ch; }
.fly-boot__b { color: #A6B4B6; font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 40ch; }

/* the six differences that decide; everything else folds out (review fix, Nov 2026) */
.pk-more { border-top: 1px solid var(--lt-line); }
.pk-more > summary { list-style: none; cursor: pointer; display: block; }
.pk-more > summary::-webkit-details-marker { display: none; }
.pk-more__btn span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; font: 500 15px var(--sans, "Bricolage Grotesque", sans-serif); color: var(--lt-ink); }
.pk-more__btn i { font-style: normal; font-weight: 600; color: #A33A28; transition: rotate .2s; }
.pk-more[open] .pk-more__btn i { rotate: 45deg; }
.pk-more__btn:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pk-more__btn:focus-visible { outline: 2px solid #A33A28; outline-offset: -2px; }
/* Custom's "from" price (18 Nov 2026): "from" on its own small line, so the price never breaks on phones */
.pk-from { display: block; font-size: .62em; font-weight: 500; letter-spacing: 0; opacity: .75; }
.pk-price strong { white-space: nowrap; }

/* Who each package is for (19 Nov 2026) */
.pk-for { margin: 10px auto 0; max-width: 24ch; font-size: 13.5px; line-height: 1.4; color: #454E50; text-wrap: balance; }
@media (max-width: 760px) { .pk-for { display: none; } }   /* the narrow sticky package header on phones has no room for it */
