/* ==========================================================================
   nextmove campus. — Site styles (Phase 1: brand, navigation, homepage)
   Depends on tokens.css
   ========================================================================== */

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body);
  font-weight: var(--fw-reg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--brand); color: var(--nm-warm-white); padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }

/* ---- Layout primitives ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }

/* ---- Type ------------------------------------------------------------- */
.display {
  font-weight: var(--fw-light); letter-spacing: var(--tracking-display);
  line-height: var(--lh-tight); font-size: var(--fs-d1);
  text-wrap: balance;
}
.display--mega { font-size: var(--fs-mega); line-height: .94; }
.display--d2 { font-size: var(--fs-d2); line-height: var(--lh-snug); letter-spacing: var(--tracking-head); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-muted); max-width: var(--maxw-text); text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-small); font-weight: var(--fw-med); color: var(--text-muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-light); letter-spacing: var(--tracking-head); line-height: var(--lh-snug); }
.h4 { font-size: var(--fs-h4); font-weight: var(--fw-med); letter-spacing: -0.01em; line-height: 1.25; }
.muted { color: var(--text-muted); }
.dot { color: var(--accent); }

/* ---- Wordmark --------------------------------------------------------- */
.wordmark {
  font-family: var(--font-sans); font-weight: var(--fw-semi); letter-spacing: -0.045em;
  font-size: 1.45rem; line-height: 1; white-space: nowrap; color: var(--brand);
  font-variation-settings: "wdth" 92;
}
.wordmark .wm-campus { font-weight: var(--fw-light); }
.wordmark .wm-dot { color: var(--accent); }
.mark { display: inline-block; width: 38px; height: 38px; flex: none; }
.logo { display: block; height: 40px; width: auto; }
.nav__brand .logo--white { display: none; }
.drawer .logo { height: 30px; }
.footer .logo { height: 38px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--nm-red); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: 48px; padding: 0 1.35rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: var(--fw-med); font-size: .975rem; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--coral { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--navy { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn:hover { --btn-bg-h: 1; }
.btn:not(.btn--ghost):not(.btn--light):not(.btn--quiet):not(.btn--ghost-light):not(.btn--navy):hover { background: #D5141C; }
.btn--light { --btn-bg: var(--nm-warm-white); --btn-fg: var(--brand); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand); box-shadow: inset 0 0 0 1px var(--nm-line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.btn--quiet { --btn-bg: var(--surface-alt); --btn-fg: var(--brand); }
.btn--ghost-light { --btn-bg: rgba(250,250,247,.12); --btn-fg: var(--nm-warm-white); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(250,250,247,.35); }
.btn .arr { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; gap: .45rem; align-items: center; font-weight: var(--fw-med); color: var(--brand); }
.link-arrow span { transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---- Chips & badges --------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; height: 34px; padding: 0 .9rem;
  border-radius: var(--r-pill); background: var(--surface-alt); color: var(--text);
  font-size: var(--fs-small); font-weight: var(--fw-med); white-space: nowrap;
  transition: background var(--t-fast);
}
.chip:hover { background: var(--nm-sage); }
.chip--sage { background: var(--nm-sage); }
.tag-hl { background: var(--nm-sage); color: var(--brand); border-radius: 6px; padding: .15rem .5rem; font-size: var(--fs-small); font-weight: var(--fw-med); }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-micro); font-weight: var(--fw-semi); padding: .25rem .55rem; border-radius: var(--r-pill); white-space: nowrap; }
.badge--partner { background: var(--nm-coral-soft); color: #B3121A; }
.badge--partner::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.badge--listing { box-shadow: inset 0 0 0 1px var(--nm-line); color: var(--text-muted); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px var(--gutter);
  transition: padding var(--t-med) var(--ease-out);
}
.nav__bar {
  max-width: var(--maxw); margin-inline: auto; height: 60px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 .4rem 0 .9rem; border-radius: 18px;
  transition: max-width var(--t-med) var(--ease-out), background var(--t-med), box-shadow var(--t-med), height var(--t-med);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; justify-self: start; }
.nav__brand .mark { display: none; }
.nav__menu { display: flex; gap: .15rem; }
.nav__item { position: relative; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: .3rem; height: 40px; padding: 0 .85rem;
  border-radius: var(--r-pill); font-size: .95rem; font-weight: var(--fw-med); color: var(--text);
  transition: background var(--t-fast);
}
.nav__trigger:hover, .nav__item.is-open .nav__trigger { background: var(--surface-alt); }
.nav__trigger svg { transition: transform var(--t-fast); }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  min-width: 250px; padding: .6rem; border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-3), 0 0 0 1px var(--nm-line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-fast);
}
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__panel a { display: block; padding: .65rem .8rem; border-radius: var(--r-sm); font-size: .95rem; }
.nav__panel a small { display: block; color: var(--text-faint); font-size: .8rem; margin-top: .1rem; }
.nav__panel a:hover { background: var(--surface-alt); }
.nav__actions { display: flex; gap: .5rem; justify-self: end; align-items: center; }
.nav__burger { display: none; }

/* Over-hero state: transparent with light text */
.nav--on-hero:not(.is-compact) .nav__trigger { color: var(--nm-warm-white); }
.nav--on-hero:not(.is-compact) .nav__trigger:hover,
.nav--on-hero:not(.is-compact) .nav__item.is-open .nav__trigger { background: rgba(250,250,247,.16); }
.nav--on-hero:not(.is-compact) .btn--quiet { --btn-bg: rgba(250,250,247,.16); --btn-fg: var(--nm-warm-white); backdrop-filter: blur(10px); }
.nav--on-hero:not(.is-compact) .btn--ghost { --btn-fg: var(--nm-warm-white); box-shadow: inset 0 0 0 1px rgba(250,250,247,.45); }

/* Compact floating pill after scroll */
.nav.is-compact .nav__bar {
  max-width: 980px; height: 56px;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 10px 30px -14px rgba(27,36,72,.28), 0 0 0 1px rgba(32,36,33,.06);
}
.nav.is-compact .nav__brand .logo { display: none !important; }
.nav.is-compact .nav__brand .mark { display: inline-grid; }
.nav.is-compact .nav__actions .btn--ghost { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: var(--bg);
  display: flex; flex-direction: column; padding: 14px var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: 60px; padding-left: .9rem; }
.drawer__close { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; }
.drawer__nav { margin-top: 1.5rem; border-top: 1px solid var(--nm-line); }
.drawer__group { border-bottom: 1px solid var(--nm-line); }
.drawer__group > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem .25rem; font-size: 1.75rem; font-weight: var(--fw-light); letter-spacing: var(--tracking-head);
}
.drawer__group > button svg { transition: transform var(--t-fast); }
.drawer__group.is-open > button svg { transform: rotate(45deg); }
.drawer__links { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out); }
.drawer__group.is-open .drawer__links { grid-template-rows: 1fr; }
.drawer__links > div { overflow: hidden; }
.drawer__links a { display: block; padding: .55rem .25rem; font-size: 1.1rem; color: var(--text-muted); }
.drawer__links a:last-child { margin-bottom: 1rem; }
.drawer__cta { margin-top: auto; padding-top: 2rem; display: grid; gap: .6rem; }
.drawer__cta .btn { height: 56px; font-size: 1.05rem; }

/* ==========================================================================
   1 — HERO
   ========================================================================== */
.hero { padding: 12px var(--gutter) 0; }
.hero__frame {
  position: relative; max-width: var(--maxw); margin-inline: auto;
  height: min(100svh - 24px, 920px); min-height: 620px;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--brand);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2;
  transform: scale(1.06); animation: heroIn 2.2s var(--ease-out) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,16,36,.45) 0%, rgba(12,16,36,0) 22%),
    linear-gradient(0deg, rgba(12,16,36,.85) 0%, rgba(12,16,36,.45) 38%, rgba(12,16,36,0) 68%);
}
.hero__content {
  position: absolute; inset: auto 0 0 0; padding: 0 clamp(1.25rem, 3vw, 3rem) clamp(7.5rem, 11vw, 9.5rem);
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 2rem; align-items: end; color: var(--nm-warm-white);
}
.hero h1 { font-size: clamp(3.25rem, 1.6rem + 6vw, 7.25rem); }
.hero__aside p { font-size: var(--fs-lead); line-height: 1.5; color: rgba(250,250,247,.88); max-width: 30rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease-out) forwards; }
.reveal-line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease-out) .45s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Course discovery bar */
.finder { position: relative; z-index: 5; max-width: 1180px; margin: -64px auto 0; padding-inline: clamp(.5rem, 2vw, 2rem); }
.finder__card {
  background: var(--surface); border-radius: 22px; padding: .55rem;
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(32,36,33,.05);
}
.finder__form { display: grid; grid-template-columns: 1.1fr 1.3fr 1.1fr 1fr auto; align-items: stretch; }
.finder__field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: .7rem 1.2rem; border-radius: 16px; min-width: 0; transition: background var(--t-fast);
}
.finder__field + .finder__field::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--nm-line); }
.finder__field:hover, .finder__field:focus-within { background: var(--surface-alt); }
.finder__field:hover::before, .finder__field:focus-within::before,
.finder__field:hover + .finder__field::before, .finder__field:focus-within + .finder__field::before { opacity: 0; }
.finder__field label { font-size: var(--fs-micro); font-weight: var(--fw-semi); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-faint); }
.finder__field select, .finder__field input {
  width: 100%; border: 0; background: transparent; padding: .2rem 0 0; font-size: 1.02rem; font-weight: var(--fw-med); outline: none;
  appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
}
.finder__field input::placeholder { color: var(--text-faint); font-weight: var(--fw-reg); }
.finder__submit { height: auto; min-height: 64px; border-radius: 16px; padding: 0 1.6rem; font-size: 1rem; }
.finder__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem 1rem .4rem; }
.finder__meta > span { font-size: var(--fs-small); color: var(--text-faint); margin-right: .25rem; }
.finder__note { display: flex; justify-content: center; gap: .5rem; align-items: center; margin-top: 1rem; font-size: var(--fs-small); color: var(--text-faint); text-align: center; }

/* ==========================================================================
   2 — DESTINATIONS (expanding panels)
   ========================================================================== */
.dest__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.dest__panels { display: flex; gap: 12px; height: clamp(520px, 72vh, 720px); }
.dest {
  position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--nm-warm-white);
  transition: flex var(--t-slow) var(--ease-out);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.25rem, 2.2vw, 2rem);
}
.dest.is-active { flex: 2.6; }
@media (min-width: 901px) {
  .dest:not(.is-active) .dest__name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(1.9rem, 1rem + 1.8vw, 2.8rem); }
  .dest:not(.is-active) .dest__body { justify-items: start; }
  .dest:not(.is-active) .dest__more { position: absolute; }
}
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.dest:hover img { transform: scale(1.04); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,16,36,.78), rgba(12,16,36,.05) 55%, rgba(12,16,36,.25)); }
.dest__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dest__idx { font-size: var(--fs-small); font-variant-numeric: tabular-nums; opacity: .8; }
.dest__name { font-size: clamp(2rem, 1.2rem + 3vw, 4.25rem); font-weight: var(--fw-light); letter-spacing: var(--tracking-display); line-height: 1; white-space: nowrap; }
.dest__body { display: grid; gap: 1.1rem; }
.dest__more { display: grid; gap: 1rem; max-width: 30rem; opacity: 0; transform: translateY(10px); transition: opacity var(--t-med), transform var(--t-med) var(--ease-out); pointer-events: none; }
.dest.is-active .dest__more { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.dest__more p { color: rgba(250,250,247,.86); }
.dest__more .btn { justify-self: start; }
.dest__cities { display: flex; flex-wrap: wrap; gap: .4rem; }
.dest__cities span { font-size: var(--fs-small); padding: .3rem .7rem; border-radius: var(--r-pill); background: rgba(250,250,247,.14); backdrop-filter: blur(8px); }
.dest__open { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(250,250,247,.16); backdrop-filter: blur(8px); transition: background var(--t-fast), transform var(--t-med) var(--ease-out); }
.dest.is-active .dest__open { background: var(--nm-warm-white); color: var(--brand); transform: rotate(-45deg); }
.dest__soon { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--text-faint); display: flex; gap: .5rem; align-items: center; }

/* ==========================================================================
   3 — SUBJECTS (typographic index + cursor photo)
   ========================================================================== */
.subjects__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 6rem); }
.subjects__intro { position: sticky; top: 120px; align-self: start; display: grid; gap: 1.5rem; }
.levels { display: flex; flex-wrap: wrap; gap: .45rem; }
.subjects__list { border-top: 1px solid var(--nm-line); counter-reset: subj; }
.subj {
  position: relative; display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: clamp(1rem, 1.6vw, 1.45rem) .25rem; border-bottom: 1px solid var(--nm-line);
  transition: padding var(--t-med) var(--ease-out), color var(--t-fast);
}
.subj::before { counter-increment: subj; content: counter(subj, decimal-leading-zero); font-size: var(--fs-small); color: var(--text-faint); font-variant-numeric: tabular-nums; }
.subj__name { font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); font-weight: var(--fw-light); letter-spacing: var(--tracking-head); line-height: 1.1; }
.subj__meta { font-size: var(--fs-small); color: var(--text-faint); text-align: right; }
.subj__arrow { display: inline-block; margin-left: .5rem; opacity: 0; transform: translateX(-6px); transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out); color: var(--accent); }
.subj:hover { padding-left: 1rem; }
.subj:hover .subj__arrow { opacity: 1; transform: none; }
.subjects__list:hover .subj:not(:hover) { color: var(--text-faint); }
.cursor-photo {
  position: fixed; left: 0; top: 0; z-index: 40; width: 280px; aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out);
  box-shadow: var(--shadow-3);
}
.cursor-photo.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   4 — JOURNEY (scroll-driven)
   ========================================================================== */
.journey { background: var(--surface-alt); border-radius: var(--r-xl); margin-inline: 12px; }
.journey__track { position: relative; height: 420vh; }
.journey__sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding-block: 96px 40px; }
.journey__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.journey__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.jstep { text-align: left; display: grid; gap: .6rem; padding-top: .9rem; position: relative; color: var(--text-faint); transition: color var(--t-med); }
.jstep::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--nm-line); border-radius: 2px; }
.jstep::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--brand); border-radius: 2px; }
.jstep__label { justify-self: start; font-size: var(--fs-small); font-weight: var(--fw-med); padding: .15rem .55rem; border-radius: 6px; transition: background var(--t-med), color var(--t-med); }
.jstep__title { font-size: clamp(1rem, .85rem + .5vw, 1.35rem); font-weight: var(--fw-light); letter-spacing: -0.01em; }
.jstep.is-active { color: var(--text); }
.jstep.is-active .jstep__label { background: var(--nm-sage); color: var(--brand); }
.journey__stage { position: relative; flex: 1; min-height: 380px; max-height: 560px; }
.jpanel {
  position: absolute; inset: 0; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  opacity: 0; transform: translateY(24px); transition: opacity var(--t-med), transform var(--t-slow) var(--ease-out); pointer-events: none;
}
.jpanel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.jpanel__text { display: grid; gap: 1rem; align-content: center; }
.jpanel__num { font-weight: 300; font-size: clamp(3.5rem, 2rem + 5vw, 7rem); line-height: .8; color: var(--accent); }
.jpanel__ui { height: 100%; display: grid; place-items: center; }

/* Product UI mock primitives (shared by journey, institutions, dashboard) */
.ui { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-2), 0 0 0 1px rgba(32,36,33,.05); overflow: hidden; width: 100%; font-size: .85rem; }
.ui__bar { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--nm-line); }
.ui__dots { display: flex; gap: 5px; } .ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--nm-line); }
.ui__body { padding: 1rem; display: grid; gap: .75rem; }
.ui__row { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: var(--r-sm); background: var(--surface-alt); }
.ui__row--plain { background: transparent; border-bottom: 1px solid var(--nm-line); border-radius: 0; padding-inline: 0; }
.sk { display: inline-block; height: 9px; border-radius: 5px; background: #E9EAEF; }
.sk--dark { background: #CFD2DC; }
.sk--w20{width:20%}.sk--w30{width:30%}.sk--w40{width:40%}.sk--w50{width:50%}.sk--w60{width:60%}.sk--w70{width:70%}.sk--w80{width:80%}
.ui__thumb { width: 38px; height: 38px; border-radius: 10px; background: var(--nm-sage); flex: none; display: grid; place-items: center; color: var(--brand); font-weight: var(--fw-semi); font-size: .8rem; }
.ui__stack { display: grid; gap: 6px; flex: 1; min-width: 0; }
.ui__pill { font-size: .72rem; font-weight: var(--fw-semi); padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--nm-sage); color: var(--brand); white-space: nowrap; }
.ui__pill--coral { background: var(--nm-coral-soft); color: #B3121A; }
.ui__pill--line { background: transparent; box-shadow: inset 0 0 0 1px var(--nm-line); color: var(--text-muted); }
.ui__check { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--nm-line); }
.ui__check.is-done { background: var(--brand); box-shadow: none; color: var(--nm-warm-white); }
.ui__check.is-now { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ui__check.is-now::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ui__label { font-size: .7rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-faint); font-weight: var(--fw-semi); }
.ui__cols { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ui__cell { padding: .9rem; border-radius: var(--r-sm); background: var(--surface-alt); display: grid; gap: .55rem; }
.ui__src { display: flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--text-faint); }
.ui__src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1B2448; }

/* ==========================================================================
   5 — GUIDANCE
   ========================================================================== */
.guide__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.guide__photo { position: relative; border-radius: var(--r-xl); overflow: visible; }
.guide__photo > img { width: 100%; aspect-ratio: 5/4.4; object-fit: cover; border-radius: var(--r-xl); }
.booking {
  position: absolute; right: clamp(-1rem, -2vw, -2.5rem); bottom: -2.5rem; width: min(360px, 78%);
  background: var(--surface); border-radius: 20px; padding: 1.15rem; box-shadow: var(--shadow-3), 0 0 0 1px rgba(32,36,33,.05);
  display: grid; gap: .85rem;
}
.booking__tz { display: flex; gap: 4px; padding: 4px; background: var(--surface-alt); border-radius: var(--r-pill); }
.booking__tz button { flex: 1; height: 32px; border-radius: var(--r-pill); font-size: .78rem; font-weight: var(--fw-semi); color: var(--text-muted); transition: background var(--t-fast), color var(--t-fast); }
.booking__tz button[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-1); }
.booking__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.booking__slots button { height: 38px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--nm-line); font-size: .85rem; font-weight: var(--fw-med); font-variant-numeric: tabular-nums; transition: background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast); }
.booking__slots button:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.booking__slots button[aria-pressed="true"] { background: var(--brand); color: var(--nm-warm-white); box-shadow: none; }
.guide__points { display: grid; gap: 0; margin: 2rem 0 2.25rem; border-top: 1px solid var(--nm-line); }
.guide__points li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--nm-line); }
.guide__points li > span { font-weight: 300; font-size: 1.35rem; color: var(--accent); line-height: 1.2; }
.guide__points h3 { font-size: 1.1rem; font-weight: var(--fw-med); margin-bottom: .2rem; }
.guide__points p { color: var(--text-muted); }

/* ==========================================================================
   6 — INSTITUTIONS (dark)
   ========================================================================== */
.dark { background: var(--brand); color: var(--nm-warm-white); border-radius: var(--r-xl); margin-inline: 12px; position: relative; overflow: hidden; }
.dark .lead, .dark .muted { color: rgba(250,250,247,.72); }
.dark .eyebrow { color: rgba(250,250,247,.72); }
.inst__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.inst__legend { display: grid; gap: 1rem; margin-top: 2rem; }
.inst__legend div { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(250,250,247,.06); box-shadow: inset 0 0 0 1px var(--nm-line-dark); }
.inst__legend p { color: rgba(250,250,247,.72); font-size: .95rem; }
.inst__legend strong { display: block; color: var(--nm-warm-white); font-weight: var(--fw-med); margin-bottom: .15rem; }
.dark .badge--listing { box-shadow: inset 0 0 0 1px rgba(250,250,247,.35); color: rgba(250,250,247,.85); }
.inst__ui { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; transition: transform var(--t-slow) var(--ease-out); color: var(--text); }
.inst__ui:hover { transform: none; }
.ui__search { display: flex; align-items: center; gap: .6rem; height: 42px; padding: 0 .9rem; border-radius: var(--r-pill); background: var(--surface-alt); color: var(--text-faint); }
.ui__filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ui__filters span { font-size: .75rem; font-weight: var(--fw-med); padding: .35rem .7rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--nm-line); color: var(--text-muted); }
.ui__filters span.on { background: var(--brand); color: var(--nm-warm-white); box-shadow: none; }
.inst__row { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .85rem .2rem; border-bottom: 1px solid var(--nm-line); }
.inst__row:last-child { border-bottom: 0; }
.inst__city { font-size: .75rem; color: var(--text-faint); }
.orb { position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
.orb--coral { background: radial-gradient(circle at 40% 40%, var(--accent), transparent 65%); right: -160px; top: -160px; }
.orb--sage { background: radial-gradient(circle, #9AA3C7, transparent 65%); left: -200px; bottom: -220px; opacity: .25; }

/* ==========================================================================
   7 — MORE THAN AN APPLICATION (bento)
   ========================================================================== */
.more__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); gap: 12px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(1.4rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; isolation: isolate; transition: transform var(--t-med) var(--ease-out); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: var(--fs-h3); font-weight: var(--fw-light); letter-spacing: var(--tracking-head); line-height: 1.1; }
.tile p { color: var(--text-muted); max-width: 30rem; }
.tile--scholar { grid-column: span 7; grid-row: span 2; background: var(--nm-sage); }
.tile--scholar .big { font-weight: 300; font-size: clamp(5rem, 3rem + 8vw, 11rem); line-height: .8; color: var(--brand); letter-spacing: -0.02em; }
.tile--english { grid-column: span 5; background: var(--surface); box-shadow: inset 0 0 0 1px var(--nm-line); }
.tile--stay { grid-column: span 5; color: var(--nm-warm-white); min-height: 300px; }
.tile--stay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile--stay::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,16,36,.8), rgba(12,16,36,.1) 70%); }
.tile--stay p { color: rgba(250,250,247,.85); }
.tile--depart { grid-column: span 12; background: var(--nm-charcoal); color: var(--nm-warm-white); display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; }
.tile--depart p { color: rgba(250,250,247,.7); }
.depart__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.depart__list li { display: flex; gap: .6rem; align-items: center; padding: .8rem 1rem; border-radius: var(--r-sm); background: rgba(250,250,247,.06); box-shadow: inset 0 0 0 1px var(--nm-line-dark); font-size: .95rem; }
.depart__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.tile__link { display: inline-flex; gap: .4rem; font-weight: var(--fw-med); }
.english__bars { display: grid; gap: 10px; }
.english__bars div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; align-items: center; font-size: .82rem; color: var(--text-muted); }
.english__bars i { display: block; height: 8px; border-radius: 4px; background: var(--surface-alt); position: relative; overflow: hidden; }
.english__bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--brand); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.is-inview .english__bars i::after { transform: scaleX(1); }

/* ==========================================================================
   8 — DASHBOARD PREVIEW
   ========================================================================== */
.dash__head { text-align: center; display: grid; justify-items: center; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.dash__head .lead { margin-inline: auto; }
.dash__stage { position: relative; max-width: 1180px; margin-inline: auto; padding-bottom: 2rem; }
.dash__glow { position: absolute; inset: 8% 5% -2% 5%; background: radial-gradient(60% 60% at 50% 60%, rgba(238,28,37,.28), transparent 70%), radial-gradient(50% 50% at 25% 40%, rgba(233,235,243,.9), transparent 70%); filter: blur(30px); z-index: -1; }
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 560px; font-size: .85rem; }
.app__side { background: var(--surface-alt); padding: 1.1rem .8rem; display: grid; align-content: start; gap: 2px; border-right: 1px solid var(--nm-line); }
.app__side a { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border-radius: 8px; color: var(--text-muted); font-weight: var(--fw-med); }
.app__side a.on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-1); }
.app__side a i { width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: .22; }
.app__side a.on i { opacity: 1; background: var(--accent); }
.app__main { padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.app__greet { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.app__greet h3 { font-size: 1.6rem; font-weight: var(--fw-light); letter-spacing: var(--tracking-head); }
.app__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; }
.card { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--nm-line); padding: 1.1rem; display: grid; gap: .9rem; align-content: start; }
.card__head { display: flex; justify-content: space-between; align-items: center; }
.card__head strong { font-weight: var(--fw-semi); font-size: .9rem; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.track__seg { display: grid; gap: .45rem; font-size: .72rem; color: var(--text-muted); }
.track__seg i { height: 6px; border-radius: 3px; background: var(--nm-line); }
.track__seg.done i { background: var(--brand); }
.track__seg.now i { background: linear-gradient(90deg, var(--accent) 55%, var(--nm-line) 55%); }
.track__seg.now { color: var(--text); font-weight: var(--fw-semi); }
.appt { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; padding: .8rem; border-radius: 12px; background: var(--brand); color: var(--nm-warm-white); }
.appt__date { width: 48px; height: 52px; border-radius: 10px; background: rgba(250,250,247,.12); display: grid; place-items: center; text-align: center; line-height: 1; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.appt__date b { display: block; font-size: 1.25rem; font-weight: var(--fw-light); letter-spacing: 0; margin-top: 3px; }
.phone {
  position: absolute; right: -2.5rem; bottom: -3rem; width: 250px; border-radius: 36px; padding: 9px; background: #121513;
  box-shadow: var(--shadow-3);
}
.phone__screen { border-radius: 28px; background: var(--bg); overflow: hidden; padding: 2.2rem .9rem 1rem; display: grid; gap: .7rem; font-size: .78rem; }
.phone__screen h4 { font-size: 1.15rem; font-weight: var(--fw-light); letter-spacing: -0.02em; }
.preview-note { text-align: center; margin-top: 4.5rem; font-size: var(--fs-small); color: var(--text-faint); }

/* ==========================================================================
   9 — PEOPLE
   ========================================================================== */
.people__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.people__frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.frame {
  aspect-ratio: 3/4; border-radius: var(--r-lg); display: grid; place-items: end start; padding: 1rem;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(27,36,72,.035) 10px 11px), var(--surface-alt);
  box-shadow: inset 0 0 0 1px var(--nm-line); color: var(--text-faint); font-size: var(--fs-small);
}
.frame:nth-child(2) { transform: translateY(2.5rem); background-color: var(--nm-sage); }
.frame:nth-child(3) { transform: translateY(5rem); }
.frame span { display: grid; gap: 6px; width: 100%; }
.people__roles { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.75rem 0 2.25rem; }

/* ==========================================================================
   10 — FINAL CTA
   ========================================================================== */
.final { padding: 0 12px; }
.final__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; min-height: min(88vh, 820px); display: grid; align-items: end; color: var(--nm-warm-white); }
.final__frame img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; will-change: transform; }
.final__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,16,36,.85), rgba(12,16,36,.2) 60%, rgba(12,16,36,.35)); }
.final__content { padding: clamp(1.5rem, 4vw, 4rem); display: grid; gap: 1.75rem; max-width: 1100px; }
.final__content p { font-size: var(--fs-lead); color: rgba(250,250,247,.85); max-width: 34rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(4rem, 8vw, 7rem) 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 2rem; padding-bottom: 3.5rem; }
.footer__top h4 { font-size: var(--fs-small); font-weight: var(--fw-semi); margin-bottom: .9rem; }
.footer__top a { display: block; padding: .3rem 0; color: var(--text-muted); font-size: .95rem; transition: color var(--t-fast); }
.footer__top a:hover { color: var(--brand); }
.footer__brand p { color: var(--text-muted); margin-top: 1rem; max-width: 18rem; }
.footer__giant { padding: 1rem 0 .4rem; }
.footer__giant img { width: 100%; height: auto; display: block; opacity: .95; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--nm-line); font-size: var(--fs-small); color: var(--text-faint); }
.footer__legal p { max-width: 52rem; }
.footer__legal nav { display: flex; gap: 1.25rem; }

/* ---- Scroll reveal ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.is-inview { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   RESPONSIVE — designed, not shrunk
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__menu { display: none; }
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__burger { display: inline-flex; }
  .nav.is-compact .nav__bar { max-width: 640px; }
  .finder__form { grid-template-columns: 1fr 1fr; }
  .finder__field:nth-child(3)::before { display: none; }
  .finder__submit { grid-column: 1 / -1; min-height: 56px; margin-top: .4rem; }
  .phone { right: 1rem; width: 210px; }
}

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 7.5rem; }
  .dest__head, .more__head, .subjects__grid, .guide__grid, .inst__grid, .people__grid { grid-template-columns: 1fr; }
  .subjects__intro { position: static; }

  /* Destinations become a swipeable rail */
  .dest__panels { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .dest__panels::-webkit-scrollbar { display: none; }
  .dest, .dest.is-active { flex: 0 0 84%; height: 560px; scroll-snap-align: center; }
  .dest .dest__more { opacity: 1; transform: none; pointer-events: auto; }
  .dest__open { display: none; }

  /* Journey: stacked, no pinning */
  .journey__track { height: auto; }
  .journey__sticky { position: static; height: auto; min-height: 0; padding-block: var(--section-y); }
  .journey__steps { display: none; }
  .journey__stage { max-height: none; display: grid; gap: 3.5rem; }
  .jpanel { position: static; opacity: 1; transform: none; grid-template-columns: 1fr; pointer-events: auto; }
  .jpanel__num { font-size: 3.5rem; }

  .booking { position: relative; right: auto; bottom: auto; width: auto; margin: -4rem 1rem 0; }
  .inst__ui { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .tile--scholar, .tile--english, .tile--stay, .tile--depart { grid-column: auto; grid-row: auto; }
  .tile--depart { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__grid { grid-template-columns: 1fr; }
  .phone { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cursor-photo { display: none; }
}

@media (max-width: 600px) {
  .nav { padding: 10px 10px; }
  .nav__actions .btn--ghost { display: none; }
  .nav__actions .btn:not(.nav__burger) { display: none; }
  .hero { padding: 8px 8px 0; }
  .hero__frame { border-radius: 28px; min-height: 640px; height: 92svh; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 4.2rem); }
  .hero__ctas .btn { flex: 1; }
  .finder { margin-top: -48px; }
  .finder__form { grid-template-columns: 1fr; }
  .finder__field { padding: .8rem 1rem; }
  .finder__field + .finder__field::before { left: 1rem; right: 1rem; top: 0; bottom: auto; width: auto; height: 1px; }
  .finder__meta { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .finder__meta::-webkit-scrollbar { display: none; }
  .journey, .dark { margin-inline: 8px; border-radius: 28px; }
  .final { padding: 0 8px; }
  .subj { grid-template-columns: 2.25rem 1fr; }
  .subj__meta { display: none; }
  .depart__list { grid-template-columns: 1fr; }
  .people__frames .frame:nth-child(3) { display: none; }
  .people__frames { grid-template-columns: 1fr 1fr; }
  .ui__cols { grid-template-columns: 1fr; }
  .footer__legal nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img, .reveal-line > span, .fade-up { animation: none; transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
.chip--soon { background: var(--nm-red-tint); color: #B3121A; height: 26px; font-size: var(--fs-micro); }

/* towns section on home */
.towns { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.towns__chips { display: grid; gap: 1.1rem; margin-top: 2rem; }
.towns__chips .fact__label { color: rgba(255,255,255,.6); }
.towns__chips .levels { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.chip--dark { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.chip--dark:hover { background: var(--nm-red); box-shadow: none; }
.towns__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.towns__photos figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; }
.towns__photos figure:nth-child(2) { transform: translateY(2.5rem); }
.towns__photos figure:nth-child(4) { transform: translateY(2.5rem); }
.towns__photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.towns__photos figcaption { position: absolute; left: .8rem; bottom: .7rem; color: #fff; font-weight: 600; font-size: .95rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 900px) { .towns { grid-template-columns: 1fr; } .towns__photos figure:nth-child(2), .towns__photos figure:nth-child(4) { transform: none; } }
.hero__img { object-position: 62% 40%; }

/* Brand logo always in its true colours: navy + red on a white pill over photos */
.nav--on-hero:not(.is-compact) .nav__brand { background: #fff; padding: .55rem 1rem; border-radius: 999px; box-shadow: 0 6px 20px -10px rgba(18,23,47,.45); }
.nav--on-hero:not(.is-compact) .nav__brand .logo { height: 34px; }
@media (max-width: 600px) { .nav--on-hero:not(.is-compact) .nav__brand { padding: .45rem .8rem; } .nav--on-hero:not(.is-compact) .nav__brand .logo { height: 28px; } }
/* five destinations: inactive names fit the narrow panels */
@media (min-width: 901px) {
  .dest:not(.is-active) .dest__name { font-size: clamp(1.5rem, .8rem + 1.3vw, 2.2rem); white-space: nowrap; max-height: 100%; }
  .dest.is-active { flex: 2.2; }
}

/* ================= LANDING v4 · Teamtailor-inspired ================= */
.tt-hero { padding: 12px var(--gutter) 0; }
.tt-hero__card { position: relative; border-radius: 32px; overflow: hidden; height: calc(100svh - 24px); min-height: 600px; max-height: 920px; background: #12172F; isolation: isolate; }
.tt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; z-index: -2; }
.tt-hero__card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,23,47,.45) 0%, rgba(18,23,47,0) 22%, rgba(18,23,47,0) 45%, rgba(18,23,47,.78) 100%); }
.tt-hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 4vw, 3.5rem); color: #fff; max-width: 58rem; }
.tt-hero__title { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.tt-hero__lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.5; color: rgba(255,255,255,.88); max-width: 34rem; margin: 1.1rem 0 0; }
.tt-hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.24); }
.tt-strip { list-style: none; margin: 0 auto; padding: 1.6rem var(--gutter) .4rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 2.6rem; }
.tt-strip a { color: var(--text-faint, #6b7085); font-size: .95rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: color .2s; }
.tt-strip a:hover { color: #1B2448; }

.tt-h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 500; margin: .6rem 0 0; color: #1B2448; }
.tt-find { padding: clamp(2.5rem, 5vw, 4.5rem) 0 0; }
.tt-find__panel { background: #F4F3EF; border-radius: 32px; padding: clamp(1.5rem, 4vw, 3.5rem); }
.tt-find__head { max-width: 40rem; margin-bottom: 2rem; }
.tt-find__head .lead { margin-top: .9rem; }
.tt-find__form { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr auto; gap: .5rem; background: #fff; border-radius: 24px; padding: .5rem; box-shadow: 0 1px 0 rgba(18,23,47,.04), 0 18px 40px -28px rgba(18,23,47,.35); }
.tt-field { display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: .7rem 1.1rem; border-radius: 18px; min-width: 0; cursor: pointer; transition: background .2s; }
.tt-field:hover, .tt-field:focus-within { background: #F4F3EF; }
.tt-field > span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7085; }
.tt-field select, .tt-field input { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 500; color: #1B2448; padding: 0; width: 100%; min-width: 0; outline: none; text-overflow: ellipsis; }
.tt-field input::placeholder { color: #9a9eb0; font-weight: 400; }
.tt-find__submit { border-radius: 18px; min-height: 60px; padding: 0 1.6rem; white-space: nowrap; }
.tt-find__chips { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.tt-find__chips > span { font-size: .9rem; color: #6b7085; margin-right: .25rem; }
.tt-find__chips .chip { background: #fff; }

.tt-cards { padding: clamp(1rem, 2vw, 1.5rem) 0 0; }
.tt-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tt-card { display: block; background: #F4F3EF; border-radius: 28px; padding: .6rem .6rem 1.6rem; color: #1B2448; text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.tt-card:hover { transform: translateY(-4px); }
.tt-card figure { margin: 0 0 1.2rem; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; }
.tt-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tt-card:hover img { transform: scale(1.04); }
.tt-card h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; margin: 0 1rem .4rem; }
.tt-card p { margin: 0 1rem; color: #4a4f66; line-height: 1.5; }

.tt-mission { padding: clamp(4rem, 9vw, 8rem) 0; text-align: center; }
.tt-mission__title { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5.4rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; color: #1B2448; margin: 0 auto; }
.tt-mission .lead { max-width: 38rem; margin: 1.6rem auto 0; }

@media (max-width: 1080px) {
  .tt-find__form { grid-template-columns: 1fr 1fr; }
  .tt-find__submit { grid-column: 1 / -1; }
  .tt-cards__grid { grid-template-columns: 1fr 1fr; }
  .tt-cards__grid .tt-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tt-hero { padding: 8px 8px 0; }
  .tt-hero__card { border-radius: 24px; height: calc(100svh - 16px); min-height: 560px; }
  .tt-hero__img { object-position: 55% 30%; }
  .tt-hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .tt-strip { gap: .4rem 1.4rem; padding-top: 1.2rem; }
  .tt-strip a { font-size: .85rem; }
  .tt-find__panel { border-radius: 24px; padding: 1.5rem 1rem; }
  .tt-find__head { padding: 0 .4rem; }
  .tt-find__form { grid-template-columns: 1fr; gap: 0; border-radius: 20px; padding: .4rem; }
  .tt-field { padding: .8rem 1rem; border-radius: 14px; }
  .tt-field + .tt-field { border-top: 1px solid #ecebe6; border-radius: 0 0 14px 14px; }
  .tt-find__submit { grid-column: auto; margin-top: .4rem; width: 100%; justify-content: center; }
  .tt-find__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; -webkit-mask-image: linear-gradient(90deg,#000 85%,transparent); mask-image: linear-gradient(90deg,#000 85%,transparent); }
  .tt-find__chips::-webkit-scrollbar { display: none; }
  .tt-find__chips .chip { flex: none; }
  .tt-cards__grid { grid-template-columns: 1fr; }
  .tt-cards__grid .tt-card:last-child { grid-column: auto; }
}
.tt-visa { padding: 1rem 0 0; }
.tt-visa__card { position: relative; display: flex; align-items: flex-end; min-height: 520px; border-radius: 32px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; }
.tt-visa__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tt-visa__card:hover img { transform: scale(1.03); }
.tt-visa__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,23,47,.85) 0%, rgba(18,23,47,.55) 45%, rgba(18,23,47,0) 75%); }
.tt-visa__content { padding: clamp(1.6rem, 4vw, 3.5rem); max-width: 36rem; display: grid; gap: 1rem; justify-items: start; }
.tt-visa__content .tt-h2 { color: #fff; }
.tt-visa__content p { color: rgba(255,255,255,.86); line-height: 1.55; margin: 0; }
@media (max-width: 640px) { .tt-visa__card { min-height: 560px; border-radius: 24px; } .tt-visa__card::after { background: linear-gradient(0deg, rgba(18,23,47,.9) 0%, rgba(18,23,47,.5) 55%, rgba(18,23,47,.1) 100%); } }
