/* =====================================================================
   Vision Success — Concept 2
   Preloader after Univo (framer), page after Acadly (framer).
   Palette: black / white / crimson. Type: Inter.
   ===================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #17171a;
  --surface-2: #1f1f23;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f5f5f5;
  --muted: #9a9a9f;
  --red: #c41e24;
  --red-2: #c3163f;
  --red-text: #ee5476;   /* crimson lifted for AA contrast on the dark page (~6:1) */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
  --pill: 999px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: 128px 0; }

/* ---------- type ---------- */
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
.sub { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.7); }
.btn-red:hover { background: var(--red-2); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.75); }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { background: #ececec; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: #fff; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   Preloader
   ===================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.loader-bg {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader-content {
  position: absolute;
  inset: 0;
  transition: filter 0.6s ease, opacity 0.6s ease;
}
.loader-card {
  position: absolute;
  left: calc(var(--x) - 100px);
  top: calc(var(--y) - 118px);
  width: 200px;
  height: 236px;
  padding: 10px 10px 44px;        /* postcard / instant-photo border, room for the caption */
  background: #fbfaf7;
  border-radius: 4px;
  box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.15), 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(var(--dy)) rotate(var(--rot));
  will-change: transform, opacity;
}
.loader-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.loader-card figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  text-align: center;
  font-family: 'Permanent Marker', 'Segoe Print', cursive;
  font-size: 20px;
  line-height: 1;
  color: #1a1a1a;
  transform: rotate(-2deg);
}
.loader.play .loader-card {
  animation: card-rise 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 90ms + 120ms);
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(var(--dy)) rotate(var(--rot)); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--rot)); } /* lands still tilted, like photos dropped on a table */
}
.loader-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.loader-mark img { width: 150px; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35)); }
.loader-word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.loader.play .loader-mark { animation: mark-in 0.9s var(--ease) 0.5s forwards; }
@keyframes mark-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.loader.leave .loader-content { filter: blur(14px); opacity: 0; }
.loader.leave .loader-bg { transform: translateY(-100%); }
.loader.done { display: none; }

@media (max-width: 809px) {
  /* phones: smaller postcards pushed to the corners so the wordmark stays clear */
  .loader-card { width: 112px; height: 138px; padding: 6px 6px 26px; left: calc(var(--x) - 56px); top: calc(var(--y) - 69px); }
  .loader-card:nth-child(1) { --x: 22% !important; --y: 20% !important; }
  .loader-card:nth-child(2) { --x: 74% !important; --y: 14% !important; }
  .loader-card:nth-child(3) { --x: 76% !important; --y: 50% !important; }
  .loader-card:nth-child(4) { --x: 20% !important; --y: 80% !important; }
  .loader-card:nth-child(5) { --x: 72% !important; --y: 84% !important; }
  .loader-card figcaption { font-size: 12px; bottom: 6px; }
  .loader-mark img { width: 96px; }
  .loader-word { font-size: 11px; }
}

/* =====================================================================
   Nav
   ===================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 0;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-inner {
  width: min(1400px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { width: 124px; height: auto; transform-origin: left center; transition: transform 0.4s var(--ease); }
.nav.scrolled .nav-logo img { transform: scale(0.8); }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 6px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero {
  background: #0b0b0c url(assets/hero-poster.jpg) center / cover no-repeat; /* shows until the video paints */
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.25) 40%, rgba(11, 11, 12, 0.85) 100%),
    radial-gradient(60% 50% at 50% 60%, rgba(236, 48, 52, 0.18), transparent 70%);
}
.hero-content {
  width: min(var(--container), 100% - 48px);
  margin: 0 auto;
  padding: 160px 0 72px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.hero-title {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* hero text waits for the loader */
.hero .reveal { transition-delay: calc(var(--d, 0ms) + 200ms); }

/* =====================================================================
   Universities marquee
   ===================================================================== */
.clients { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-right: 72px;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track li { display: flex; align-items: center; gap: 14px; white-space: nowrap; color: rgba(255, 255, 255, 0.78); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.marquee-track img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; padding: 4px; filter: grayscale(1) opacity(0.85); transition: filter 0.3s ease; }
.marquee-track li:hover img { filter: none; }
.marquee-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); }
.clients-note { margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted); }

/* =====================================================================
   About
   ===================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  aspect-ratio: 1.05;
}
.about-photo { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.about-photo:hover img { transform: scale(1.04); }
.about-photo-a { grid-row: 1 / 3; }
.about-copy p { font-size: 18px; line-height: 1.65; color: var(--muted); }
.about-copy p + p { margin-top: 20px; }
.about-copy strong { color: var(--text); font-weight: 600; }
.about-copy .btn { margin-top: 32px; }
.stats {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stats li { padding: 32px 24px 0; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* =====================================================================
   Services
   ===================================================================== */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.services-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; background: #000; }
.services-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.services-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75));
}
.services-media-cap { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.services-media-cap span { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.services-media-cap strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.services-list li {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid transparent;
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.services-list li:hover { border-color: var(--line-2); transform: translateY(-2px); }
.services-list i { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--red-2); }
.services-list h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.services-list p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* =====================================================================
   Destinations
   ===================================================================== */
.dest-nav { display: flex; gap: 8px; }
.dest-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 18px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.dest-btn:hover { background: #fff; color: #111; border-color: #fff; }
.dest-scroller {
  display: flex;
  gap: 16px;
  padding: 0 max(24px, (100% - var(--container)) / 2) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, (100% - var(--container)) / 2);
  scrollbar-width: none;
  cursor: grab;
}
.dest-scroller::-webkit-scrollbar { display: none; }
.dest-scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.dest-card {
  position: relative;
  flex: 0 0 min(420px, 78vw);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s ease; filter: saturate(0.9); }
.dest-card:hover img { transform: scale(1.06); filter: saturate(1.05); }
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.82) 100%);
}
.dest-card-body { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.dest-card-body > span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--red-text); }
.dest-card-body h3 { margin-top: 6px; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
/* detail slides up on hover / keyboard focus; always visible on touch screens */
.dest-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(8px);
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s ease, transform 0.5s var(--ease);
}
.dest-detail > span { overflow: hidden; padding-top: 10px; }
.dest-card:hover .dest-detail,
.dest-card:focus-within .dest-detail {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .marquee-track img { filter: none; }
  .dest-detail { grid-template-rows: 1fr; opacity: 1; transform: none; }
}
.dest-card:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.9) 100%); }
.dest-card::after { transition: background 0.5s ease; }

/* progress bar under the scroller */
.dest-progress {
  height: 2px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.dest-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--red-2);
  border-radius: 2px;
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.dest-card-body a { display: inline-block; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.75); border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.dest-card-body a:hover { color: #fff; border-color: #fff; }

/* =====================================================================
   Journey
   ===================================================================== */
.journey { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.journey-steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  height: 1px;
  background: var(--line);
}
.journey-step figure { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.journey-step img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.journey-step:hover img { transform: scale(1.05); }
.journey-step > div { padding: 22px 6px 34px; }
.journey-step span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--red-text); }
.journey-step h3 { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.journey-step p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* =====================================================================
   Why trust us — stacking cards (sticky slots; JS drives scale on scroll)
   ===================================================================== */
.trust { padding-top: 128px; }
.trust .section-head { margin-bottom: 0; }
.stack-slot {
  height: 100vh;
  height: 100svh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-card {
  position: relative;
  top: calc(-5vh + var(--i) * 25px);
  width: min(70%, 1000px);
  height: 450px;
  padding: 40px;
  border-radius: 12px;
  background: var(--color);
  color: #fff;
  display: flex;
  flex-direction: column;
  transform-origin: top center;
  transform: scale(var(--scale, 1));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  will-change: transform;
}
.stack-card h3 { text-align: center; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.stack-card-body { display: flex; gap: 40px; margin-top: 20px; height: 100%; min-height: 0; }
.stack-card-text { width: 40%; position: relative; top: 10%; }
.stack-card-text p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.stack-card-text a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.stack-card-text a:hover { color: #fff; }
.stack-card-media { position: relative; width: 60%; height: 100%; border-radius: 8px; overflow: hidden; }
.stack-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--img, 2)); transform-origin: center; will-change: transform; }

@media (max-width: 899px) {
  .stack-card { width: calc(100% - 32px); height: auto; padding: 24px; top: calc(-2vh + var(--i) * 16px); }
  .stack-card-body { flex-direction: column-reverse; gap: 18px; }
  .stack-card-text, .stack-card-media { width: 100%; top: 0; }
  .stack-card-media { aspect-ratio: 16 / 10; height: auto; }
}

/* =====================================================================
   Testimonials — ticker of cards (photo fades into black, quote, name, role)
   ===================================================================== */
.testi { overflow: hidden; }
.testi .section-head { margin-bottom: 48px; }
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; gap: 24px; padding-right: 24px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tcard {
  width: 320px;
  flex: none;
  background: #000;
  color: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.tcard-media { position: relative; overflow: hidden; border-radius: 16px; margin-top: -1px; }
.tcard-media img { width: 100%; height: 270px; object-fit: cover; object-position: top; border-radius: 16px; transition: transform 0.5s var(--ease); }
.tcard:hover .tcard-media img { transform: scale(1.05); }
.tcard-media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  background: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.tcard-body { padding: 0 16px 16px; }
.tcard-quote { font-size: 17px; font-weight: 500; line-height: 1.5; padding-bottom: 20px; border-bottom: 1px solid #4b5563; }
.tcard-name { margin-top: 16px; font-size: 15px; }
.tcard-role {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(90deg, #ee5476, #ff9a6c, #c3163f);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* =====================================================================
   Blog
   ===================================================================== */
.blog { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.blog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.blog-card:hover img { transform: scale(1.05); }
.blog-card span { display: block; margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.blog-card h3 { margin-top: 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.blog-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-head .btn { margin-top: 28px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 24px 0;
  position: relative;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: #fff; color: #111; }
.faq-list details p { padding: 0 56px 26px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* =====================================================================
   CTA
   ===================================================================== */
.cta { position: relative; padding: 160px 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.7) brightness(0.55); transform: scale(1.03); }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(236, 48, 52, 0.35), rgba(11, 11, 12, 0.85) 75%); }
.cta h2 { font-size: clamp(36px, 5vw, 68px); }
.cta .sub { max-width: 560px; margin-inline: auto; color: rgba(255, 255, 255, 0.78); }
.cta-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* =====================================================================
   Footer — dark, full width, after Acadly's layout
   ===================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  background: #070708;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.footer-flower {
  position: absolute;
  right: 0;            /* bleeds to the footer edge — no strip of plain ground beside it */
  top: -8%;
  width: min(620px, 46vw);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 40%, transparent 80%);
}
.footer-grid {
  position: relative;
  width: min(1400px, 100% - 48px);
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1.2fr 1fr;
  gap: 40px;
  padding: 120px 0 96px;
}
.footer-brand img { width: 190px; height: auto; }
.footer-col { display: flex; flex-direction: column; gap: 22px; }
.footer-col h3 { font-size: 17px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.footer-col a, .footer-col span { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--muted); transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  position: relative;
  width: min(1400px, 100% - 48px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1199px) {
  .section { padding: 96px 0; }
  .journey-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .journey-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
  .nav-logo img { width: 104px; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 84vw);
    padding: 110px 24px 32px;
    flex-direction: column;
    gap: 4px;
    background: rgba(11, 11, 12, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 18px; padding: 14px 12px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; justify-content: center; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; position: relative; z-index: 2; }
  .nav.menu-open .nav-toggle { position: fixed; right: 24px; top: 18px; }
  .hero-content { padding: 130px 0 48px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { aspect-ratio: 1.15; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 64px; row-gap: 32px; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .services-feature { grid-template-columns: 1fr; }
  .services-media { min-height: 320px; }
  .services-list { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .cta { padding: 110px 0; }
}

@media (max-width: 599px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-title { font-size: clamp(38px, 12vw, 56px); }
  .hero-actions .btn { width: 100%; }
    .about-photos { aspect-ratio: 0.9; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-step figure { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 72px 0 48px; }
  .footer-flower { width: min(620px, 105vw); right: -16%; top: auto; bottom: -4%; }
  .dest-scroller { padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
}

@keyframes card-fade { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   Partner institutions
   ===================================================================== */
.partners { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.partner-group { padding: 26px 24px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.partner-group h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.partner-group ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.partner-group li { padding: 10px 14px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

@media (max-width: 1199px) { .partner-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .partner-groups { grid-template-columns: 1fr; } }

/* =====================================================================
   Lite theme (client request): white ground, dark type.
   Everything above is the dark design; this block re-tokens it. Delete
   the block to get the dark version back.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f6f6f8;
  --surface: #ffffff;
  --surface-2: #f1f1f4;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.18);
  --text: #111114;
  --muted: #5c5c66;
  --red-text: #c41e24;
}
body { color-scheme: light; }

/* nav: white type over the hero video, dark once scrolled */
.nav-logo img { display: block; }
.nav-logo .logo-dark { display: none; }
.nav.scrolled .nav-logo .logo-dark { display: block; }
.nav.scrolled .nav-logo .logo-light { display: none; }
.nav.scrolled { background: rgba(255, 255, 255, 0.84); border-color: var(--line); }
.nav.scrolled .nav-links a { color: rgba(17, 17, 20, 0.8); }
.nav.scrolled .nav-links a:hover { color: #111; background: rgba(0, 0, 0, 0.05); }
.nav.scrolled .nav-toggle span, .nav.menu-open .nav-toggle span { background: #111; }
@media (max-width: 899px) {
  .nav-links { background: rgba(255, 255, 255, 0.97); border-left: 1px solid var(--line); }
  .nav-links a { color: #111; }
  .nav.menu-open .nav-logo .logo-dark { display: block; }
  .nav.menu-open .nav-logo .logo-light { display: none; }
}

/* marquee */
.marquee-track li { color: var(--text); }
.marquee-track i { background: var(--red); }

/* services */
.services-feature { border-color: var(--line); box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.25); }

/* destinations: text over the photo stays white now that body text is dark */
.dest-card-body, .dest-card-body h3 { color: #fff; }
.services-media-cap, .services-media-cap strong { color: #fff; }
.dest-btn:hover { background: #111; color: #fff; border-color: #111; }
.dest-progress { background: rgba(0, 0, 0, 0.1); }
.dest-card-body > span { color: #ff8aa3; }

/* testimonials: white cards */
.tcard { background: #fff; color: var(--text); border-color: var(--line); box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.3); }
.tcard-media::after { background: linear-gradient(to top, #fff, transparent); }
.tcard-quote { border-bottom-color: #e3e3e8; }

/* faq */
.faq-list details[open] summary::after { background: #111; color: #fff; }

/* cta stays a dark band */
.cta, .cta h2 { color: #fff; }
.cta .label { color: #ff8aa3; }

/* footer: light */
.footer { background: #f5f4f2; color: #1c1c1c; border-top: 1px solid var(--line); }
.footer-col h3 { color: #1c1c1c; }
.footer-col a, .footer-col span { color: var(--muted); }   /* 6.3:1 on the light footer */
.footer-col a:hover { color: #1c1c1c; }
.footer-bottom { border-top-color: rgba(0, 0, 0, 0.1); color: var(--muted); }
.footer-flower { filter: none; mix-blend-mode: multiply; opacity: 0.9; }

/* partner marks */
.marquee-track img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; padding: 3px; filter: none; }
.partner-group li { display: inline-flex; align-items: center; gap: 8px; }
.partner-group li img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }


/* =====================================================================
   Destinations mega-menu (pattern after the RKC concept-1 sectors menu)
   ===================================================================== */
.has-menu { display: flex; align-items: center; position: static; }
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-trigger .chev { transition: transform 0.3s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-trigger:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.4rem, 2.4vw, 2.4rem) max(24px, calc((100% - 1400px) / 2)) clamp(1.6rem, 2.8vw, 2.8rem);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mega[hidden] { display: none; }
.mega.open { opacity: 1; transform: none; }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; transition: background 0.25s ease; }
.mega-item:hover { background: var(--surface-2); }
.mega-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--red);
  transition: background 0.25s ease, color 0.25s ease;
}
.mega-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mega-item:hover .mega-ico { background: var(--red); color: #fff; }
.mega-item strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.mega-item > span > span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.mega-promo { position: relative; border-radius: 16px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.3) 60%, rgba(8, 8, 10, 0.05)); }
.mega-promo-in { position: relative; z-index: 1; padding: 22px; display: grid; gap: 14px; justify-items: start; }
.mega-promo-in strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: #fff; max-width: 14ch; }
.mega-phone { display: inline-flex; align-items: center; gap: 12px; padding: 6px 22px 6px 6px; border-radius: var(--pill); background: var(--red); color: #fff; font-weight: 600; font-size: 15px; transition: background 0.25s ease; }
.mega-phone:hover { background: var(--red-2); }
.mega-phone-ico { width: 38px; height: 38px; border-radius: 50%; flex: none; background: #fff; color: var(--red); display: grid; place-items: center; }
.mega-phone-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* the bar goes solid while the menu is open, so the white panel has an edge */
.nav.menu-open { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); border-color: var(--line); }
.nav.menu-open .nav-links a, .nav.menu-open .nav-trigger { color: rgba(17, 17, 20, 0.8); }
.nav.menu-open .nav-links a:hover, .nav.menu-open .nav-trigger:hover { color: #111; background: rgba(0, 0, 0, 0.05); }
.nav.menu-open .nav-logo .logo-dark { display: block; }
.nav.menu-open .nav-logo .logo-light { display: none; }
.nav.scrolled .nav-trigger { color: rgba(17, 17, 20, 0.8); }
.nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav.scrolled .nav-links a.is-active, .nav.menu-open .nav-links a.is-active { color: var(--red); background: rgba(236, 48, 52, 0.08); }

/* =====================================================================
   Sticky contact rail
   ===================================================================== */
.rail { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; justify-items: end; }
.rail-btn {
  position: relative;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--red); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), background 0.25s ease;
}
.rail-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* the label sits outside the circle and slides in, so it can never overflow it */
.rail-btn span {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translate(8px, -50%);
  padding: 7px 13px; border-radius: var(--pill);
  background: #111114; color: #fff;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.rail-btn:hover span, .rail-btn:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.rail-btn:hover { transform: scale(1.06); }
.rail-top { background: #111114; }
.rail-top:hover { background: #2a2a30; }
.rail-top[hidden] { display: none; }
.rail-wa { background: #1faa59; }
.rail-wa:hover { background: #17924b; }

/* =====================================================================
   Inner pages
   ===================================================================== */
body.inner { padding-top: 0; }

.phero { position: relative; min-height: 62vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.phero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: phero-zoom 18s ease-out forwards; }
@keyframes phero-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.phero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 10, 0.72) 0%, rgba(8, 8, 10, 0.3) 45%, rgba(8, 8, 10, 0.88) 100%); }
.phero-in { padding: 180px 0 64px; color: #fff; }
.phero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ff8aa3; margin-bottom: 16px; }
.phero h1 { font-size: clamp(38px, 6vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.phero-sub { margin-top: 20px; max-width: 54ch; font-size: 18px; color: rgba(255, 255, 255, 0.82); }

/* intro + facts */
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.intro-copy p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.intro-copy p + p { margin-top: 18px; }
.intro-copy .btn { margin-top: 30px; }
.facts { display: grid; gap: 2px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts li { background: var(--surface); padding: 22px 24px; }
.facts strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.facts span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.facts-official { display: grid; gap: 4px; }
.facts-official a { font-size: 16px; font-weight: 600; color: var(--red-text); }
.facts-official span { font-size: 13px; color: var(--muted); }

/* institutions */
.unis-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uni-card { display: flex; gap: 16px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.uni-card:hover { border-color: var(--line); }   /* the picture zooms; the card itself stays put */
.uni-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.uni-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.uni-card a { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--red-text); }

/* other destinations / more posts */
.other-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; }
.other-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.other-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1) 60%); }
.other-card:hover img { transform: scale(1.06); }
.other-card span { position: relative; z-index: 1; padding: 16px; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }

/* blog post */
.post-body { max-width: 760px; }
.post-body h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 44px; }
.post-body h2:first-child { margin-top: 0; }
.post-body p { margin-top: 18px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.post-body ul { margin-top: 18px; display: grid; gap: 10px; }
.post-body li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.post-body li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); }
.post-note { margin-top: 44px; padding: 22px 24px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px !important; }
.post-note a { color: var(--red-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.enquiry { padding: 36px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.enquiry h2 { font-size: clamp(26px, 3vw, 34px); }
.enquiry .sub { margin: 0 0 6px; font-size: 16px; }
.enquiry label { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.enquiry label span[aria-hidden] { color: var(--red-text); }
.enquiry input:not([type="checkbox"]), .enquiry select, .enquiry textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--bg); color: var(--text);
  font: inherit; font-weight: 400;
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.enquiry .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.6; color: var(--muted); }
.enquiry .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-note { font-size: 12px; line-height: 1.6; color: var(--muted); }
#form-status { padding: 12px 14px; border-radius: 10px; background: #173a22; color: #a9e6b5; font-size: 14px; }
.contact-side { display: grid; gap: 14px; }
.contact-card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.contact-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 16px; color: var(--muted); transition: color 0.2s ease; }
.contact-line:hover { color: var(--text); }
.contact-line svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-line small { color: var(--muted); }
.office { padding: 10px 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.office strong { display: block; color: var(--text); font-weight: 600; }

@media (max-width: 1199px) {
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
  .other-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .mega { grid-template-columns: 1fr; padding: 20px 24px 24px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .mega-cols { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .phero { min-height: 54vh; }
  .phero-in { padding: 150px 0 48px; }
  .rail { right: 14px; bottom: 14px; gap: 10px; }
  .rail-btn { width: 50px; height: 50px; }
  .rail-btn span { display: none; }
  .enquiry { padding: 26px 20px; }
}
@media (max-width: 599px) {
  .uni-grid, .other-grid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
  .post-body p, .post-body li { font-size: 16px; }
}

/* =====================================================================
   Nav: out of the way going down, back on the way up
   ===================================================================== */
/* no will-change here: it would make the fixed mobile drawer position inside the header */
.nav { transition: transform 0.45s var(--ease), background 0.3s ease, border-color 0.3s ease; }
.nav.menu-open { transform: none; }
.nav.nav-hidden { transform: translateY(calc(-100% - 20px)); }

/* =====================================================================
   College listing on a destination page
   ===================================================================== */
.uni-card { padding: 0; overflow: hidden; }
.uni-card-in { display: block; width: 100%; }
.uni-shot { position: relative; aspect-ratio: 3 / 2; overflow: hidden; margin: 0; }   /* a figure's default margin left a white strip above the photo */
.uni-shot > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.uni-card:hover .uni-shot > img:first-child { transform: scale(1.05); }
.uni-logo {
  position: absolute; left: 16px; bottom: 16px;
  width: 46px; height: 46px; border-radius: 12px;
  object-fit: contain; background: #fff; padding: 6px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
}
.uni-card-body { padding: 22px 24px 26px; }
.uni-card-body { min-width: 0; }
.uni-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-text); }
.uni-card-body h3 { margin-top: 6px; }
.uni-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.uni-chips li { padding: 5px 10px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); }
.uni-more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--red-text); transition: transform 0.3s var(--ease); }
.uni-card:hover .uni-more { transform: translateX(4px); }

/* =====================================================================
   College page
   ===================================================================== */
.college-badge { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.college-badge img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 6px; }
.college-badge span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.college-badge strong { color: var(--text); font-weight: 600; }

.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.list-head { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; margin-bottom: 22px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { padding: 11px 18px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.tick-list { display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); -webkit-mask: var(--tick) center / 11px no-repeat; mask: var(--tick) center / 11px no-repeat;
}
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6.4l3.2 3.2L11 2.8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* =====================================================================
   Services page
   ===================================================================== */
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.svc-jump a { padding: 9px 16px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); transition: background 0.25s ease, color 0.25s ease; }
.svc-jump a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.svc-list { display: grid; gap: clamp(64px, 8vw, 120px); margin-top: clamp(48px, 6vw, 88px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-flip .svc-media { order: 2; }
.svc-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.svc-row:hover .svc-media img { transform: scale(1.04); }
.svc-num { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--red-text); }
.svc-copy h2 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.03em; }
.svc-lead { margin-top: 16px; font-size: 19px; font-weight: 500; color: var(--text); }
.svc-copy > p:not(.svc-lead):not(.svc-num) { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.svc-copy .tick-list { margin-top: 24px; }
.svc-copy .btn { margin-top: 28px; }

@media (max-width: 899px) {
  .two-lists { grid-template-columns: 1fr; gap: 40px; }
  .svc-row, .svc-flip { grid-template-columns: 1fr; }
  .svc-flip .svc-media { order: 0; }
  .svc-list { gap: 56px; }
}

/* =====================================================================
   Partner institutions carousel
   (21st.dev stories-carousel, rebuilt without React or Tailwind)
   ===================================================================== */
.stories { position: relative; }
.stories { --gutter: 24px; }
.stories-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  margin: 0 calc(var(--gutter, 24px) * -1);
  padding: 4px var(--gutter, 24px) 8px;
  scroll-padding-left: var(--gutter, 24px);
}
.stories-viewport::-webkit-scrollbar { display: none; }
.stories-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.stories-viewport.dragging .story { pointer-events: none; }
.stories-viewport:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 18px; }
.stories-track { display: flex; gap: 14px; width: max-content; }

.story {
  position: relative;
  flex: none;
  width: 230px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface-2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.story:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.55); }
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease, transform 0.9s var(--ease); }
.story:hover .story-img { opacity: 0.92; transform: scale(1.05); }
.story-scrim { position: absolute; left: 0; right: 0; height: 46%; }
.story-scrim-top { top: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent); }
.story-scrim-bottom { bottom: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent); }
.story-title {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  padding: 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92);
}
.story-author { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding: 14px; display: flex; align-items: center; gap: 9px; }
.story-avatar { width: 26px; height: 26px; flex: none; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.25); }
.story-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

.stories-foot { margin-top: 26px; }
.stories-progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, 0.1); overflow: hidden; }
.stories-progress span { display: block; height: 100%; width: 12%; border-radius: 3px; background: var(--red); transform-origin: left; }

@media (max-width: 599px) {
  /* matches the container's own gutter at this width, so the bleed does not
     push the page wider than the viewport */
  .stories { --gutter: 16px; }
  .story { width: 180px; }
}

/* the whole destination card is a link to that country's page; the official
   government link inside it stays separately clickable */
.dest-card-link { position: absolute; inset: 0; z-index: 1; }
/* keeps its absolute placement from the base rule; only lifted above the link */
.dest-card-body { z-index: 2; pointer-events: none; }
.dest-card-body a { pointer-events: auto; }
/* the hover ring lives on the link, so the card's own ::after scrim stays
   beneath the text where it belongs */
.dest-card-link { border: 2px solid transparent; border-radius: inherit; transition: border-color 0.3s ease; }
.dest-card:hover .dest-card-link { border-color: rgba(255, 255, 255, 0.5); }

/* =====================================================================
   College page: photograph, intakes and the application process
   ===================================================================== */
.gallery-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.gallery-shot { border-radius: 22px; overflow: hidden; }
.gallery-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gallery-shot figcaption { padding: 14px 4px 0; font-size: 13px; color: var(--muted); }
.gallery-copy p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.gallery-copy .btn { margin-top: 26px; }

.intake-list { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.intake-list li {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr 1.6fr;
  gap: 20px; align-items: center;
  padding: 22px 26px; background: var(--surface);
}
.intake-season { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.intake-start strong, .intake-apply strong { display: block; font-size: 16px; font-weight: 600; }
.intake-apply strong { color: var(--red-text); }
.intake-start span, .intake-apply span { display: block; margin-top: 3px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.intake-note { font-size: 14px; line-height: 1.6; color: var(--muted); }

.process-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.process-list li { display: flex; gap: 18px; padding: 26px; background: var(--surface); }
.process-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--red-text); padding-top: 3px; }
.process-list h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.process-list p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 899px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 28px; }
  .intake-list li { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .intake-season { grid-column: 1 / -1; }
  .intake-note { grid-column: 1 / -1; }
  .process-list { grid-template-columns: 1fr; }
}

/* =====================================================================
   About page
   ===================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-card { padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.value-card span { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--red-text); }
.value-card h3 { margin-top: 14px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
.value-card p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.office-grid .contact-card { padding: 26px; }
.office-grid .office { padding-top: 0; }

@media (max-width: 1199px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .value-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .office-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Inner pages: the hero holds still and the page rises over it
   ===================================================================== */
body.inner .phero { position: sticky; top: 0; z-index: 0; }
body.inner main > * { position: relative; z-index: 1; }
body.inner main > .phero { z-index: 0; }
/* anything that does not already paint its own ground needs one, or the
   hero shows through as the section slides over it */
body.inner main > section:not(.phero):not(.unis-alt):not(.cta) { background: var(--bg); }
body.inner main > section.unis-alt { background: var(--bg-2); }


/* =====================================================================
   Acadly hero treatment: same Inter, lighter weight, relaxed tracking.
   The headline carried 700 at -0.04em, which reads dense at hero size.
   ===================================================================== */
.hero-title { font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; }
.phero h1 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; max-width: 20ch; }
.phero-sub { font-weight: 400; font-size: 19px; }
.hero-sub { font-weight: 400; }

/* nav links sit plain on the hero, with no pill behind them */
.nav-links a, .nav-trigger { font-weight: 500; }
.nav-links a:hover, .nav-trigger:hover { background: transparent; color: #fff; }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-trigger:hover,
.nav.menu-open .nav-links a:hover, .nav.menu-open .nav-trigger:hover { background: transparent; color: #111; }
.nav-links a.is-active { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav.scrolled .nav-links a.is-active, .nav.menu-open .nav-links a.is-active { background: transparent; color: var(--red-text); }

/* =====================================================================
   About, laid out the Acadly way: standfirst out to the right, copy in a
   card on a light ground, plain text link instead of a button.
   ===================================================================== */
.section-head-split {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: none;
  gap: 24px 48px;
  align-items: end;
}
.section-head-split > .sub { margin: 0; text-align: right; max-width: 34ch; justify-self: end; }

.about { background: var(--bg-2); }
.about .about-copy {
  align-self: stretch;
  padding: clamp(28px, 3.5vw, 52px);
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about .stats { border-top-color: var(--line); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 30px;
  font-size: 16px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--red-text); border-color: var(--red); }

@media (max-width: 899px) {
  .section-head-split { grid-template-columns: 1fr; align-items: start; }
  .section-head-split .sub { text-align: left; justify-self: start; }
}

/* =====================================================================
   Team: all seven on one line on desktop
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.team-card h3 { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.team-card p { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.team-card a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--red-text); }
@media (max-width: 1199px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; } }
@media (max-width: 599px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } }

/* =====================================================================
   Good Home Story preloader. Replaces the postcard loader; the old
   .loader-* rules above are now unused.
   ===================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.loader.done { display: none; }
.ld-screen {
  position: absolute; inset: 0; background: #fff; color: #111;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.4s ease;
}
.ld-mask { overflow: hidden; }
.ld-logo { display: block; width: 180px; height: auto; transform: translateY(100%); }
.ld-tag {
  margin-top: 16px; display: flex; align-items: center; gap: 16px;
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  transform: translateY(-100%);
}
.ld-tag b { color: var(--red); font-size: 22px; font-weight: 500; }
.ld-line { position: absolute; display: flex; flex-direction: column; align-items: center; height: 0; overflow: hidden; }
.ld-line i { display: block; width: 1px; flex: 1; background: rgba(0, 0, 0, 0.2); }
.ld-line svg { width: 20px; height: 20px; flex: none; fill: none; stroke: rgba(0, 0, 0, 0.2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-line-down { left: 33.5%; top: 0; }
.ld-line-up { right: 33.5%; bottom: 0; justify-content: flex-end; }

.ld-split { position: absolute; inset: 0; display: flex; justify-content: center; overflow: hidden; visibility: hidden; }
.ld-col { height: 100%; background: #fff; flex: none; }
.ld-col-a, .ld-col-c { width: 35%; }
.ld-col-b { width: 30%; transform-origin: center; }
.ld-hair { position: absolute; top: 50%; left: 50%; width: 25%; height: 2px; background: rgba(255, 255, 255, 0.5); transform: translateX(-50%); }

.loader.play .ld-logo { animation: ld-rise 0.8s ease-in-out forwards; }
.loader.play .ld-tag { animation: ld-rise 0.8s ease-in-out 0.3s forwards; }
.loader.play .ld-line-down { animation: ld-grow-a 1s ease-in-out 2.2s forwards; }
.loader.play .ld-line-up { animation: ld-grow-b 1s ease-in-out 2.2s forwards; }
@keyframes ld-rise { to { transform: translateY(0); } }
@keyframes ld-grow-a { to { height: 80vh; } }
@keyframes ld-grow-b { to { height: 82vh; } }

.loader.split .ld-screen { opacity: 0; }
.loader.split .ld-split { visibility: visible; }
.loader.split .ld-col-a { animation: ld-up 0.4s ease-in-out forwards; }
.loader.split .ld-col-c { animation: ld-down 0.4s ease-in-out forwards; }
.loader.split .ld-col-b { animation: ld-collapse 0.6s ease-in-out 0.4s forwards; }
.loader.split .ld-hair { animation: ld-hair 1s ease-in-out 1s forwards; }
@keyframes ld-up { to { transform: translateY(-100%); } }
@keyframes ld-down { to { transform: translateY(100%); } }
@keyframes ld-collapse { to { transform: scaleY(0); } }
@keyframes ld-hair { to { transform: translateX(-50%) scaleX(0); opacity: 0; } }

@media (max-width: 767px) {
  .ld-line-down { left: 8px; }
  .ld-line-up { right: 8px; }
  .ld-col-a, .ld-col-c { width: 35%; min-width: 0; }
  .ld-logo { width: 150px; }
  .ld-tag { font-size: 16px; gap: 12px; }
}

/* preloader keeps the brand red of the original loader */
.ld-screen { background: var(--red); color: #fff; }
.ld-col { background: var(--red); }
.ld-tag b { color: #fff; opacity: 0.7; }
.ld-line i { background: rgba(255, 255, 255, 0.35); }
.ld-line svg { stroke: rgba(255, 255, 255, 0.35); }
.ld-hair { background: rgba(255, 255, 255, 0.5); }

/* back to top sits at the head of the stack */
.rail-top { order: -1; }
.ld-logo { filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35)); }

/* team: four per row, portraits at their own shape */
.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; max-width: 1080px; margin-inline: auto; }
.team-card img { aspect-ratio: auto; height: auto; max-width: 240px; margin-inline: auto; }
@media (max-width: 899px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

/* photo credits */
.photo-credit { margin-top: 18px; font-size: 12px; color: var(--muted); }
.photo-credit a, .gallery-shot figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
body.inner main > section.credits-page { padding-top: 160px; }
.credits-title { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.03em; margin-top: 10px; }
.credits-list { margin-top: 30px; display: grid; gap: 14px; }
.credits-list li { padding: 0 0 14px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.credits-list li::before { display: none; }
.credits-list strong { display: block; color: var(--text); }
.credits-list a { color: var(--red-text); }

/* team hover: the portrait zooms a little inside its frame; nothing lifts or glows */
.team-card figure { margin: 0; }
.team-card img { transition: transform 0.5s var(--ease); }
.team-card:hover img { transform: scale(1.04); }

/* larger nav labels */
.nav-links a, .nav-trigger { font-size: 16px; }
@media (min-width: 900px) { .nav-links { gap: 6px; } }

/* top universities: four across, compact cards */
.uni-grid--4 { grid-template-columns: repeat(4, 1fr); }
.uni-card--compact .uni-card-body { padding: 16px 18px 18px; }
.uni-card--compact h3 { font-size: 15px; }
.uni-card--compact .uni-more { margin-top: 8px; font-size: 13px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.post-figure { margin: 28px 0; }
.post-figure img { width: 100%; border-radius: 16px; display: block; }
.post-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.post-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); font-size: 20px; font-weight: 500; color: var(--text); }
@media (max-width: 1199px) { .uni-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .uni-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .uni-grid--4 { grid-template-columns: 1fr 1fr; gap: 10px; } .uni-card--compact .uni-card-body { padding: 12px; } }

/* university gallery */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gal-item { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.gal-item:first-child { grid-row: span 2; grid-column: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 11px; color: rgba(255,255,255,0.85); background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.gal-item figcaption a { color: inherit; text-decoration: underline; }
.other-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 899px) { .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .gal-item:first-child { grid-column: span 2; grid-row: auto; } .other-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) { .gal-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; } .gal-item:first-child { grid-column: auto; grid-row: auto; } .other-grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* university listing: search box, partner badge */
.uni-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--surface); min-width: 280px; }
.uni-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.uni-search input { border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--text); width: 100%; outline: none; }
.uni-badge { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: var(--pill); background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.uni-none { margin-top: 20px; font-size: 16px; color: var(--muted); }
.uni-card.is-hidden { display: none; }
.section-head-split .btn { justify-self: end; align-self: end; }

/* enquiry drawer */
.drawer-shade { position: fixed; inset: 0; z-index: 150; background: rgba(10, 10, 14, 0.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity 0.3s ease; }
.drawer-shade.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(480px, 100%); background: var(--bg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s linear 0.45s; box-shadow: -30px 0 80px rgba(0, 0, 0, 0.25); }
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.drawer-x { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.enquiry--drawer { border: 0; border-radius: 0; padding: 64px 32px 40px; min-height: 100%; }
.enquiry--drawer h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 6px; }
.enquiry--drawer input[readonly] { background: var(--surface-2); color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: 10px; background: #173a22; color: #a9e6b5; font-size: 14px; }
body.drawer-open { overflow: hidden; }
@media (max-width: 899px) { .uni-search { min-width: 0; width: 100%; } .section-head-split .btn { justify-self: start; } }

/* logos on the related cards */
.other-name { display: flex !important; align-items: center; gap: 8px; }
.other-logo { width: 26px; height: 26px; flex: none; border-radius: 6px; background: #fff; padding: 2px; object-fit: contain; position: static !important; }
/* footer: two columns on phones */
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand, .footer-col:first-of-type { grid-column: 1 / -1; }
}

/* university listing header: heading left at full width, search on the right edge */
.uni-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; max-width: none; }
.uni-head h2 { max-width: 14ch; }
.uni-head .uni-search { justify-self: end; margin-bottom: 6px; min-width: 320px; }
@media (max-width: 899px) { .uni-head { grid-template-columns: 1fr; } .uni-head .uni-search { justify-self: stretch; min-width: 0; } }

/* footer: brand, pages, destinations, social, contact */
.footer-grid--5 { grid-template-columns: 1.1fr 0.8fr 0.9fr 0.8fr 1.5fr; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; opacity: 0.8; }
.other-name { display: flex !important; align-items: center; gap: 8px; }
.other-logo { width: 26px; height: 26px; flex: none; border-radius: 6px; background: #fff; padding: 2px; object-fit: contain; position: static !important; }
@media (max-width: 1199px) { .footer-grid--5 { grid-template-columns: 1fr 1fr 1fr; } .footer-grid--5 .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid--5 { grid-template-columns: 1fr 1fr; } .footer-grid--5 .footer-col:last-child { grid-column: 1 / -1; } }

/* related cards: the logo must not inherit the cover-photo sizing of .other-card img */
.other-card .other-name { display: flex; align-items: center; gap: 10px; padding: 16px; line-height: 1.25; }
.other-card img.other-logo { position: static; inset: auto; width: 30px; height: 30px; flex: none; border-radius: 7px; background: #fff; padding: 3px; object-fit: contain; transform: none; transition: none; }
.other-card:hover img.other-logo { transform: none; }

/* the See all button sits at the right edge of the section */
.others .section-head-split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; }
.others .section-head-split h2 { max-width: 18ch; }

/* =====================================================================
   Book-cover preloader. A gradient sheet with layered paper waves; the logo
   settles in the centre, then the two halves swing open on their outer
   edges like book covers. Replaces the ld-* loader, whose rules are unused.
   ===================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.loader.done { display: none; }
.bk { position: absolute; inset: 0; perspective: 1800px; overflow: hidden; }
.bk-cover { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; backface-visibility: hidden;
  transition: transform 1.25s cubic-bezier(0.7, 0, 0.25, 1), filter 1.25s ease; }
.bk-left { left: 0; transform-origin: left center; }
.bk-right { right: 0; transform-origin: right center; }
/* one continuous sheet across both covers: each half shows its side of a full-width layer */
.bk-sheet { position: absolute; top: 0; bottom: 0; width: 100vw;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 255, 255, 0.10) 0 30%, transparent 30.2%),
    radial-gradient(130% 95% at 50% 128%, rgba(255, 255, 255, 0.08) 0 40%, transparent 40.2%),
    radial-gradient(140% 100% at 50% 136%, rgba(255, 255, 255, 0.07) 0 50%, transparent 50.2%),
    radial-gradient(150% 105% at 50% 144%, rgba(255, 255, 255, 0.06) 0 60%, transparent 60.2%),
    radial-gradient(120% 90% at 50% -20%, rgba(0, 0, 0, 0.16) 0 30%, transparent 30.2%),
    radial-gradient(135% 100% at 50% -32%, rgba(0, 0, 0, 0.12) 0 42%, transparent 42.2%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #f04a4d 0%, #ec3034 38%, #c41e24 72%, #5c0019 100%); }
.bk-left .bk-sheet { left: 0; }
.bk-right .bk-sheet { right: 0; }
/* the spine: a soft fold shadow down the middle while the book is shut */
.bk-left::after, .bk-right::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; pointer-events: none; }
.bk-left::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, 0.22), transparent); }
.bk-right::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, 0.22), transparent); }

.bk-mark { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; z-index: 2; transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.7, 0, 0.25, 1); }
.bk-badge { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: #fff;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: scale(0.9); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.bk-badge img { width: 150px; height: auto; }
.bk-word { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s; }

.loader.play .bk-badge { opacity: 1; transform: none; }
.loader.play .bk-word { opacity: 0.92; transform: none; }
.loader.open .bk-mark { opacity: 0; transform: scale(0.94); }
.loader.open .bk-left { transform: rotateY(-108deg); filter: brightness(0.7); }
.loader.open .bk-right { transform: rotateY(108deg); filter: brightness(0.7); }

@media (max-width: 599px) {
  .bk-badge { width: 170px; height: 170px; }
  .bk-badge img { width: 116px; }
  .bk-word { font-size: 12px; }
}

/* =====================================================================
   Roll-up preloader (replaces the book-cover one; .bk-* rules are unused).
   Gradient sheet -> rolls up like paper -> logo reveals slowly -> page.
   ===================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.loader.done { display: none; }
.rl-base { position: absolute; inset: 0; background: #fff; display: grid; place-items: center;
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
.rl-logo { width: min(340px, 62vw); height: auto; opacity: 0; filter: blur(12px); transform: scale(0.95);
  transition: opacity 1.6s ease, filter 1.6s ease, transform 1.9s cubic-bezier(0.22, 1, 0.36, 1); }
.rl-sheet { position: absolute; inset: 0; clip-path: inset(0 0 0 0);
  transition: clip-path 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 255, 255, 0.10) 0 30%, transparent 30.2%),
    radial-gradient(130% 95% at 50% 128%, rgba(255, 255, 255, 0.08) 0 40%, transparent 40.2%),
    radial-gradient(140% 100% at 50% 136%, rgba(255, 255, 255, 0.07) 0 50%, transparent 50.2%),
    radial-gradient(150% 105% at 50% 144%, rgba(255, 255, 255, 0.06) 0 60%, transparent 60.2%),
    radial-gradient(120% 90% at 50% -20%, rgba(0, 0, 0, 0.16) 0 30%, transparent 30.2%),
    radial-gradient(135% 100% at 50% -32%, rgba(0, 0, 0, 0.12) 0 42%, transparent 42.2%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #f04a4d 0%, #ec3034 38%, #c41e24 72%, #5c0019 100%); }
/* the roller: a shaded cylinder riding the sheet's bottom edge */
.rl-roll { position: absolute; left: -2%; right: -2%; bottom: -30px; height: 60px; border-radius: 30px;
  background: linear-gradient(to bottom, #4a0014 0%, #c41e24 22%, #f04a4d 46%, #ff5a74 54%, #ec3034 70%, #5c0019 100%);
  box-shadow: 0 -14px 28px -10px rgba(0, 0, 0, 0.35), 0 10px 24px -8px rgba(0, 0, 0, 0.28);
  transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.35s ease 1.35s; }

.loader.roll .rl-sheet { clip-path: inset(0 0 100% 0); }
.loader.roll .rl-roll { transform: translateY(calc(-100vh - 30px)) scaleY(0.5); opacity: 0; }
.loader.logo-in .rl-logo { opacity: 1; filter: blur(0); transform: none; }
.loader.leave .rl-base { opacity: 0; transform: translateY(-3%); }


/* =====================================================================
   Diagonal roll: the sheet winds from the bottom-left corner to the
   top-right. One animated number, --t (0 to 1), drives both the sheet's
   mask edge and the roller riding it.
   ===================================================================== */
@property --t { syntax: "<number>"; inherits: true; initial-value: 0; }
.loader { --t: 0; transition: --t 1.7s cubic-bezier(0.65, 0, 0.35, 1); }
.loader.roll { --t: 1; }
.rl-sheet, .loader.roll .rl-sheet { clip-path: none; transition: none;
  -webkit-mask-image: linear-gradient(45deg, transparent calc(var(--t) * 100%), #000 calc(var(--t) * 100%));
          mask-image: linear-gradient(45deg, transparent calc(var(--t) * 100%), #000 calc(var(--t) * 100%)); }
.rl-roll, .loader.roll .rl-roll {
  left: 50%; right: auto; top: 50%; bottom: auto; width: 160vmax; height: 56px; border-radius: 28px;
  transform: translate(-50%, -50%)
             translate(calc((var(--t) - 0.5) * (50vw + 50vh)), calc((0.5 - var(--t)) * (50vw + 50vh)))
             rotate(45deg);
  transition: opacity 0.35s ease 1.5s; }
.rl-roll { background: linear-gradient(to bottom, #4a0014 0%, #c41e24 22%, #f04a4d 46%, #ff5a74 54%, #ec3034 70%, #5c0019 100%); }
.loader.roll .rl-roll { opacity: 0; }

/* plain sheet: the brand gradient only, no waves or grain */
.rl-sheet { background: linear-gradient(135deg, #f04a4d 0%, #ec3034 45%, #c41e24 100%); }

/* =====================================================================
   Brand red = the logo's red, #EC3034, everywhere red appears.
   --red-text is the same hue darkened to pass AA as small text on white.
   ===================================================================== */
:root { --red: #ec3034; --red-2: #d1252a; --red-text: #c41e24; }
.rl-sheet { background: linear-gradient(135deg, #f04a4d 0%, #ec3034 45%, #c8242a 100%); }
.rl-roll { background: linear-gradient(to bottom, #6e1013 0%, #b21d22 22%, #ec3034 46%, #ff6b6e 54%, #d1252a 70%, #7a1215 100%); }

/* agency credit, centred under the copyright line */
.footer-credit { position: relative; z-index: 1; text-align: center; padding: 6px 0 28px; font-size: 14px; color: #6e6e6e; }
.footer-credit a { color: #1c1c1c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--red-text); }

/* =====================================================================
   Mobile menu fixes
   - a backdrop-filter on the header makes it the containing block for the
     fixed drawer, which clipped the drawer to the header's height
   - the desktop Destinations panel stays off phones; the drawer has its own list
   ===================================================================== */
.nav-sub { display: none; }
@media (max-width: 899px) {
  .nav.menu-open, .nav.scrolled.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
  .mega { display: none !important; }
  .nav-links { overflow-y: auto; }
  .has-menu { display: block; }
  .nav-trigger { width: 100%; justify-content: space-between; font-size: 18px; padding: 14px 12px; color: #111; }
  .nav.scrolled .nav-trigger, .nav.menu-open .nav-trigger { color: #111; }
  .nav-sub:not([hidden]) { display: grid; gap: 2px; padding: 0 0 8px 14px; border-left: 2px solid var(--red); margin: 0 0 8px 12px; }
  .nav-sub a { font-size: 16px !important; padding: 10px 12px !important; color: var(--muted) !important; }
}

/* Mobile menu: a full white screen that opens under the logo bar, with the
   burger turning into a cross in the same spot */
@media (max-width: 899px) {
  .nav-logo, .nav-toggle { position: relative; z-index: 2; }
  .nav.menu-open .nav-toggle { position: relative; right: auto; top: auto; }
  .nav-links, .nav.scrolled .nav-links {
    left: 0; right: 0; width: 100%; height: 100dvh;
    padding: 84px 24px calc(28px + env(safe-area-inset-bottom));
    background: #fff; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
    justify-content: flex-start; gap: 0;
    opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-links.open, .nav.scrolled .nav-links.open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
  .nav-links > a:not(.nav-cta-mobile), .nav-links .has-menu { border-top: 1px solid var(--line); }
  .nav-links > a:not(.nav-cta-mobile), .nav-trigger { font-size: 22px !important; padding: 18px 4px !important; color: #111 !important; font-weight: 500; border-radius: 0 !important; }
  .nav-links { padding-top: 104px !important; }
  .nav-links a.nav-cta-mobile { color: #fff !important; text-decoration: none; }
  .nav-trigger { width: 100%; }
  .nav-sub:not([hidden]) { margin: 0 0 12px 4px; }
  .nav-cta-mobile { margin-top: auto; width: 100%; padding: 16px; font-size: 17px; box-shadow: none; }
  .nav.menu-open { background: #fff; border-color: var(--line); }
  .nav-toggle span { transition: transform 0.35s var(--ease), top 0.35s var(--ease), background 0.3s ease; }
}

/* =====================================================================
   Announcements (from the admin): a strip across the top of the header
   for the highlighted one, and a pop-up once the visitor is past the hero
   ===================================================================== */
.notice-x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: inherit; opacity: 0.75; transition: opacity 0.2s ease, background 0.2s ease; }
.notice-x:hover { opacity: 1; background: rgba(127, 127, 127, 0.16); }
.notice-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.notice-bar { margin: -10px 0 10px; background: var(--red); color: #fff; }
.notice-bar-in { width: min(1400px, 100% - 48px); margin-inline: auto; min-height: 40px; display: flex; align-items: center; gap: 16px; padding: 6px 0; }
.notice-bar-text { flex: 1; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 10px; font-size: 14px; line-height: 1.35; text-align: center; }
.notice-bar-text strong { font-weight: 600; }
.notice-bar-text span { opacity: 0.9; }
.notice-bar-text em { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.2); }
.notice-bar-cta { flex: none; font: inherit; font-size: 13px; font-weight: 600; color: #fff; padding: 6px 14px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, 0.55); background: transparent; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.notice-bar-cta:hover { background: #fff; color: var(--red-text); }
.nav.menu-open .notice-bar { display: none; }

.notice-pop { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 24px; }
.notice-pop[hidden] { display: none; }
.notice-pop-shade { position: absolute; inset: 0; background: rgba(12, 12, 14, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s ease; }
.notice-pop-card {
  position: relative; width: min(540px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; color: var(--text); border-radius: 24px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.08);
  opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.35s ease, transform 0.55s var(--ease);
}
.notice-pop.is-on .notice-pop-shade { opacity: 1; }
.notice-pop.is-on .notice-pop-card { opacity: 1; transform: none; }
body.notice-open { overflow: hidden; }
.notice-pop-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.94); color: #111; opacity: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); }
.notice-pop-x:hover { background: #fff; }
.notice-pop-media { margin: 0; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.notice-pop-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.notice-pop-body { padding: 28px 32px 32px; display: grid; gap: 12px; justify-items: start; }
.notice-pop-card:not(.has-media) .notice-pop-body { padding-top: 34px; padding-right: 68px; }
.notice-pop-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.notice-pop-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.notice-pop-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.notice-pop-meta em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--pill); background: var(--red); color: #fff; }
.notice-pop-title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.notice-pop-note { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); white-space: pre-line; }
.notice-pop-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.notice-pop-actions .btn { font: inherit; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; }
.notice-pop-file { background: var(--surface-2); color: var(--text); }
.notice-pop-file:hover { background: #e6e6ea; }
.notice-pop-file svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice-pop-pager { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); }
.notice-pop-nav { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: inherit; cursor: pointer; transition: background 0.2s ease; }
.notice-pop-nav:hover { background: var(--surface-2); }
.notice-pop-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice-pop-count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .notice-pop { place-items: end stretch; padding: 0; }
  .notice-pop-card { width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .notice-pop-body { padding: 22px 20px 26px; }
  .notice-pop-card:not(.has-media) .notice-pop-body { padding-top: 28px; padding-right: 64px; }
  .notice-pop-actions { width: 100%; }
  .notice-pop-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .notice-pop-card { transform: none; transition: opacity 0.2s ease; }
}

@media (max-width: 899px) {
  .notice-bar-in { width: calc(100% - 24px); gap: 8px; }
  .notice-bar-text { justify-content: flex-start; text-align: left; font-size: 13px; gap: 0 8px; }
  .notice-bar-text span { display: none; }
  .notice-bar-cta { padding: 5px 10px; font-size: 12px; }
}
/* the strip makes the header taller: give hero text the same clearance */
body.has-notice-bar .hero-content, body.has-notice-bar .phero-in { margin-top: 40px; }
@media (max-width: 899px) {
  body.has-notice-bar .hero-content, body.has-notice-bar .phero-in { margin-top: 56px; }
}
