/* Republic Educational Consultancy, shared styles for every page.
   Apple-style system: white and soft-grey bands, large tight headlines, rounded tiles, one accent. */

:root {
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --soft: #86868B;
  --line: #D2D2D7;
  --band: #F5F5F7;
  --white: #FFFFFF;
  --navy: #233E85;
  --navy-deep: #14245A;
  --orange: #F36C34;
  --orange-ink: #C4501B;
  --radius-tile: 28px;
  --radius-panel: 32px;
  --wrap: 1040px;
  --font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Buttons and links */
.btn { display: inline-block; background: var(--orange-ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: 17px; padding: 12px 24px; border-radius: 999px; transition: background .2s; }
.btn:hover { background: #A9420F; color: var(--white); }
.btn-small { font-size: 15px; padding: 11px 20px; }
.btn-outline { display: inline-block; background: var(--white); color: var(--navy); border: 2px solid var(--navy); text-decoration: none; font-weight: 600; font-size: 17px; padding: 10px 22px; border-radius: 999px; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Top contact bar (from approved option C) */
.topbar { background: #0F1A3D; color: #C9D4F5; font-size: 13px; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar a { color: #C9D4F5; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .addr { margin-left: auto; }
.link-more { color: var(--navy); text-decoration: none; font-size: 17px; font-weight: 500; }
.link-more::after { content: ' ›'; }
.link-more:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 24px; }
.nav-logo img { height: 42px; width: auto; }
.site-nav { display: flex; gap: 26px; margin: 0 0 0 auto; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--orange-ink); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.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); }

/* Layout */
.section { padding: 112px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.band { background: var(--band); margin-top: 112px; padding: 112px max(16px, env(safe-area-inset-right)) 112px max(16px, env(safe-area-inset-left)); }
.section-title { text-align: center; font-size: clamp(36px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.section-title span { display: block; color: var(--soft); }
.section-title-small { font-size: clamp(34px, 5vw, 48px); }
.muted { color: var(--muted); }
.lead-muted { margin-top: 20px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); line-height: 1.55; }

/* Hero */
.hero { text-align: center; padding: 88px 16px 0; }
.eyebrow { font-size: clamp(16px, 2vw, 19px); font-weight: 600; color: var(--orange-ink); }
.hero h1 { margin: 10px auto 0; max-width: 14ch; font-size: clamp(44px, 8vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.hero-lead { margin: 20px auto 0; max-width: 30em; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; color: var(--muted); text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 30px; }

/* Split hero (approved option C): copy on the left, orbit on the right */
.hero-split { text-align: left; padding: 56px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); }
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-copy { flex: 1 1 420px; min-width: 0; }
.eyebrow-line { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow-line::before { content: ''; width: 24px; height: 3px; background: var(--orange); flex: none; }
.hero-split .hero-title { margin: 20px 0 0; max-width: none; font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: clamp(44px, 6vw, 66px); line-height: 1.02; letter-spacing: -0.01em; color: var(--navy); }
.hero-split .hero-title em { font-weight: 500; color: var(--orange-ink); }
.hero-split .hero-lead { margin: 22px 0 0; max-width: 32em; font-size: clamp(17px, 2vw, 19px); text-wrap: pretty; }
.cta-left { justify-content: flex-start; gap: 12px; margin-top: 32px; }
.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 600; background: #E8EDF8; color: var(--navy); padding: 6px 12px; border-radius: 999px; }
.hero-split .orbit-wrap { flex: 1 1 480px; width: auto; max-width: 600px; margin: 0 auto; }

/* Orbit (approved option C). The stage is drawn at 600 px and scaled to fit by main.js. */
.orbit-wrap { width: min(600px, 100%); height: 600px; margin: 56px auto 0; position: relative; }
.stage { position: absolute; left: 0; top: 0; width: 600px; height: 600px; transform-origin: 0 0; border-radius: var(--radius-panel); overflow: hidden; text-align: left;
  background: radial-gradient(120% 90% at 50% 40%, #2E4A97 0%, var(--navy) 45%, var(--navy-deep) 100%); perspective: 1100px; --tilt: 58deg; }
.stars { position: absolute; inset: 0; transition: transform .4s ease-out; }
.star { position: absolute; border-radius: 50%; background: var(--white); animation: twinkle 3.6s ease-in-out infinite; }
.mountains { position: absolute; left: -20px; bottom: 0; width: calc(100% + 40px); height: 120px; opacity: .8; transition: transform .4s ease-out; }
.plane { position: absolute; left: 0; right: 0; top: 28px; bottom: -28px; transform-style: preserve-3d; transform: rotateX(var(--tilt)); transition: transform .5s ease-out; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.ring-outer { width: 490px; height: 490px; margin: -245px 0 0 -245px; border: 1.5px solid rgba(143,166,234,.35); }
.ring-inner { width: 300px; height: 300px; margin: -150px 0 0 -150px; border: 2px dashed rgba(243,108,52,.45); }
.orbit { position: absolute; inset: 0; transform-style: preserve-3d; animation: orbit 90s linear infinite; }
.spoke { position: absolute; left: 300px; top: 300px; width: 245px; height: 0; transform-origin: 0 0; transform-style: preserve-3d; }
.spoke-line { position: absolute; left: 74px; right: 40px; top: -1px; border-top: 2px dashed rgba(143,166,234,.4); }
.traveler { position: absolute; left: 0; top: -6px; width: 54px; height: 12px; opacity: 0; animation: travel 4.8s cubic-bezier(.45,0,.3,1) infinite; }
.traveler::before { content: ''; position: absolute; inset: 2px 6px 2px 0; border-radius: 8px; background: linear-gradient(90deg, rgba(243,108,52,0), rgba(243,108,52,.85)); }
.traveler::after { content: ''; position: absolute; right: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #FFD2BC; box-shadow: 0 0 10px 3px rgba(243,108,52,.9); }
.dest-anchor { position: absolute; left: 245px; top: 0; transform-style: preserve-3d; }
.counter { transform-style: preserve-3d; animation: counter 90s linear infinite; }
.dest { position: relative; display: grid; justify-items: center; gap: 6px; transform: rotateX(calc(-1 * var(--tilt))); transition: transform .5s ease-out; }
.dest img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; animation: arrive 4.8s ease-out infinite; transition: transform .25s; }
.dest b { font-size: 12px; color: var(--white); white-space: nowrap; background: rgba(15,26,61,.72); padding: 2px 10px; border-radius: 999px; }
.dest .tip { position: absolute; left: 50%; bottom: calc(100% + 10px); background: var(--white); color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 10px; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(0,0,0,.4);
  opacity: 0; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.dest:hover .tip { opacity: 1; transform: translate(-50%, 0); }
.dest:hover img { transform: scale(1.12); }
.stage:hover .orbit, .stage:hover .counter, .stage:hover .traveler, .stage:hover .dest img { animation-play-state: paused; }
.you, .you-pulse { position: absolute; left: 50%; top: calc(50% + 28px); width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; }
.you-pulse { background: var(--orange); animation: pulse 2.4s ease-out infinite; }
.you { background: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--navy), 0 0 0 8px var(--orange), 0 18px 40px -10px rgba(0,0,0,.6); }
.you svg { width: 58px; height: 58px; }
.you-label { position: absolute; left: 50%; top: calc(50% + 86px); transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--white); background: var(--orange-ink); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.halo { animation: spin 24s linear infinite; }

@keyframes orbit { to { transform: rotateZ(360deg); } }
@keyframes counter { to { transform: rotateZ(-360deg); } }
@keyframes travel { 0% { transform: translateX(70px); opacity: 0; } 8% { opacity: 1; } 60% { transform: translateX(186px); opacity: 1; } 66% { transform: translateX(190px); opacity: 0; } 100% { transform: translateX(190px); opacity: 0; } }
@keyframes arrive {
  0%, 58% { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 3px rgba(243,108,52,0), 0 10px 24px -6px rgba(0,0,0,.5); }
  64% { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 10px rgba(243,108,52,.6), 0 10px 24px -6px rgba(0,0,0,.5); }
  82%, 100% { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 18px rgba(243,108,52,0), 0 10px 24px -6px rgba(0,0,0,.5); }
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Trust line */
.trust { padding: 40px 16px 0; }
.trust ul { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: 14px; color: var(--muted); }
.trust a { color: var(--muted); }

/* Numbers */
.numbers { padding-top: 96px; padding-bottom: 96px; margin-top: 88px; }
.numbers-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; text-align: center; }
.numbers strong { display: block; font-size: clamp(48px, 7vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--navy); }
.numbers span { display: block; margin-top: 10px; font-size: 17px; color: var(--muted); }

/* Destination tiles */
.tiles { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-tile); overflow: hidden; background: var(--band); text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile span { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.62)); color: var(--white); font-size: 14px; }
.tile b { display: block; font-size: 24px; letter-spacing: -0.02em; }

/* Service cards */
.cards { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: var(--radius-tile); padding: 36px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card svg { width: 36px; height: 36px; fill: none; stroke: var(--orange-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin-top: 8px; font-size: 17px; color: var(--muted); }

/* Steps */
.steps { list-style: none; max-width: var(--wrap); margin: 64px auto 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; text-align: center; }
.step-num { display: block; font-size: 56px; font-weight: 800; letter-spacing: -0.04em; color: var(--line); line-height: 1; }
.step-num-last { color: var(--orange-ink); }
.steps h3 { margin-top: 14px; font-size: 21px; }
.steps p { margin-top: 6px; font-size: 17px; color: var(--muted); }

/* Stories */
.feature-story { max-width: var(--wrap); margin: 56px auto 0; background: var(--band); border-radius: var(--radius-panel); padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.feature-story img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; flex: none; }
.feature-story > div { flex: 1 1 360px; min-width: 0; }
.kicker { font-size: 15px; font-weight: 600; color: var(--orange-ink); }
.feature-story h3 { margin-top: 8px; font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.feature-story .muted { margin-top: 6px; font-size: 17px; }
.story-text { margin-top: 18px; font-size: 19px; line-height: 1.5; }
.students { list-style: none; max-width: var(--wrap); margin: 40px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; text-align: center; font-size: 14px; }
.students li { width: 92px; }
.students img { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; object-fit: cover; }
.students b { display: block; margin-top: 6px; }
.students span { color: var(--muted); }

/* Why Republic */
.split { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-photo { flex: 0 1 400px; width: 400px; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-panel); }
.split > div { flex: 1 1 380px; min-width: 0; }
.split-title { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.split-title span { display: block; color: var(--soft); }
.signature { margin-top: 28px; font-size: 17px; color: var(--muted); }
.signature b { color: var(--ink); }

/* Universities */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tabs button { font: 600 15px var(--font); background: var(--band); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 20px; min-height: 44px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.uni-list { max-width: 820px; margin: 32px auto 0; text-align: center; font-size: 19px; line-height: 2; }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 10px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.faq p a, .faq-list a { color: var(--navy); }
.faq-list { margin: 10px 0 0; padding-left: 20px; font-size: 17px; color: var(--muted); line-height: 1.7; }
.faq-list b { color: var(--ink); font-weight: 600; }
.faq-more { text-align: center; margin-top: 32px; }
.faq-page { padding-top: 64px; }
.faq-group { max-width: 760px; margin: 0 auto; scroll-margin-top: 96px; }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; letter-spacing: -0.01em; }
.faq-group .faq { margin-top: 20px; }

/* Closing CTA */
.cta { text-align: center; padding-bottom: 112px; }
.cta h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.cta .lead-muted { max-width: 32em; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--band); padding: 40px max(16px, env(safe-area-inset-right)) 32px max(16px, env(safe-area-inset-left)); font-size: 12px; color: var(--muted); }
.footer-inner { max-width: 980px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-cols h2 { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.footer-cols div { display: grid; gap: 6px; align-content: start; }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-cols a.inline { color: var(--navy); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 16px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.credits { margin-top: 12px; }
.credits summary { cursor: pointer; display: inline-block; }
.credits p { margin-top: 8px; max-width: 80ch; line-height: 1.6; }

/* Inner pages (About and later) */
.page-hero { text-align: center; padding: 88px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.eyebrow-center { justify-content: center; }
.page-title { margin: 20px auto 0; max-width: 16ch; font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: clamp(42px, 6vw, 66px); line-height: 1.04; color: var(--navy); }
.page-title em { font-weight: 500; color: var(--orange-ink); }
.page-lead { margin: 22px auto 0; max-width: 34em; font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); line-height: 1.5; text-wrap: balance; }
.story-grid { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.story-grid > h2 { flex: 1 1 300px; }
.story-copy { flex: 1.4 1 420px; min-width: 0; display: grid; gap: 18px; font-size: 19px; line-height: 1.6; }
.placeholder { position: relative; border: 2px dashed #E0A800; background: #FFF8E1; border-radius: 20px; padding: 36px 20px 20px; color: #6B5200; font-size: 15px; }
.placeholder-tag { position: absolute; left: 14px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #E0A800; color: #1D1D1F; padding: 2px 8px; border-radius: 999px; }
.placeholder-photo { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; }
.placeholder-wide { aspect-ratio: 4 / 3; flex: 1 1 360px; }
.team { max-width: 1200px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; text-align: center; }
.person img, .person .placeholder-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-tile); }
.person h3 { margin-top: 16px; font-size: 21px; }
.person .muted { margin-top: 4px; }
.person .role { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--orange-ink); }
.person .tagline { margin-top: 10px; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: 18px; color: var(--navy); line-height: 1.3; }
.person .bio { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.pull-quote { margin: 8px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); }
.pull-quote p { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: var(--navy); }
.pull-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 15px; font-weight: 600; color: var(--muted); }
.mvg { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.mvg article { background: var(--band); border-radius: var(--radius-tile); padding: 36px; display: grid; gap: 14px; align-content: start; font-size: 17px; line-height: 1.6; }
.mvg .kicker { font-size: 15px; }
.mvg-close { max-width: 26ch; margin: 64px auto 0; text-align: center; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.25; color: var(--navy); text-wrap: balance; }
.mvg-close span { display: block; margin-top: 14px; font-family: var(--font); font-style: normal; font-size: 15px; font-weight: 600; color: var(--muted); }
.certs { list-style: none; max-width: 820px; margin: 56px auto 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.certs li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.certs h3 { font-size: 21px; }
.certs p { color: var(--muted); font-size: 17px; }
.visit { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.visit > div:first-child { flex: 1 1 360px; min-width: 0; }
.visit-photo { flex: 1.2 1 420px; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-panel); }

/* Contact page */
.contact-section { padding-top: 64px; }
.contact-grid { list-style: none; padding: 0; margin: 0 auto; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.contact-card { background: var(--band); border-radius: var(--radius-tile); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.contact-card-main { background: var(--navy); color: var(--white); }
.contact-card-main .kicker { color: var(--orange); }
.contact-card-main .muted { color: rgba(255, 255, 255, 0.75); }
.contact-card-main svg { stroke: var(--orange); }
.contact-card svg { width: 36px; height: 36px; margin-bottom: 8px; fill: none; stroke: var(--orange-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.contact-value { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.contact-card .muted { font-size: 16px; line-height: 1.5; flex: 1; }
.contact-card .btn, .contact-card .btn-outline { margin-top: 16px; }
.visit-details { margin: 24px 0 0; display: grid; gap: 14px; }
.visit-details div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 17px; line-height: 1.5; }
.visit-details dt { font-weight: 600; color: var(--soft); }
.visit-details dd { margin: 0; }
.contact-follow { text-align: center; }
.contact-follow .cta-row { margin-top: 32px; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 14px; padding: 12px 24px 12px 14px; border-radius: 999px; background: var(--band); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; text-align: left; transition: transform .2s, box-shadow .2s; }
.social-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 26, 61, 0.12); }
.social-link svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; flex: none; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-link svg .dot { fill: var(--white); stroke: none; }
.social-link svg .fill { fill: var(--white); stroke: none; }
.social-link small { display: block; margin-top: 1px; font-size: 14px; font-weight: 500; color: var(--muted); }
.social-instagram svg { background: linear-gradient(45deg, #F9A13A 0%, #E1306C 50%, #7B3FC4 100%); }
.social-facebook svg { background: var(--white); padding: 0; }
.social-facebook svg .fill { fill: #1877F2; }

/* 404 page */
.not-found { padding-bottom: 120px; }

/* Legal pages (terms, privacy) */
.legal { max-width: 720px; margin: 0 auto; padding-top: 56px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.legal-updated { font-size: 15px; color: var(--soft); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { margin-top: 44px; font-size: clamp(22px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.01em; }
.legal p, .legal ul { margin-top: 12px; color: var(--muted); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--navy); overflow-wrap: anywhere; }

/* Services page */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.jump a { font-size: 14px; font-weight: 600; background: var(--band); color: var(--ink); text-decoration: none; padding: 9px 16px; border-radius: 999px; }
.jump a:hover { background: var(--ink); color: var(--white); }
.svc-band { margin-top: 72px; }
.svc-list { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 16px; }
.svc { background: var(--white); border-radius: var(--radius-panel); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 56px; scroll-margin-top: 80px; }
.svc-head { flex: 1 1 380px; min-width: 0; }
.svc-head svg { width: 40px; height: 40px; fill: none; stroke: var(--orange-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc-head .kicker { margin-top: 18px; }
.svc-head h2 { margin-top: 6px; font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.svc-head > p:last-child { margin-top: 12px; font-size: 18px; color: var(--muted); line-height: 1.55; }
.svc-includes { flex: 1 1 300px; min-width: 0; list-style: none; margin: 0; padding: 0; align-self: center; display: grid; gap: 0; }
.svc-includes li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--band); font-size: 17px; }
.svc-includes li:first-child { border-top: 0; }
.svc-includes li::before { content: ''; position: absolute; left: 0; top: 19px; width: 16px; height: 9px; border-left: 2.5px solid var(--orange-ink); border-bottom: 2.5px solid var(--orange-ink); transform: rotate(-45deg); }

/* Country pages */
.country-hero { padding: 32px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.country-banner { position: relative; max-width: 1200px; margin: 0 auto; height: clamp(360px, 52vw, 560px); border-radius: var(--radius-panel); overflow: hidden; background: var(--navy); }
.country-banner img { width: 100%; height: 100%; object-fit: cover; }
.country-banner-text { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 5vw, 56px); background: linear-gradient(transparent, rgba(15,26,61,.85)); color: var(--white); }
.country-banner-text .eyebrow-line { color: #E3E8F5; }
.country-banner-text h1 { margin-top: 12px; font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: clamp(42px, 7vw, 76px); line-height: 1; }
.country-banner-text p:last-child { margin-top: 12px; font-size: clamp(16px, 2vw, 19px); color: #E3E8F5; }
.photo-credit { position: absolute; right: 14px; top: 14px; font-size: 11px; color: var(--white); background: rgba(15,26,61,.6); padding: 3px 10px; border-radius: 999px; }
.facts { max-width: 1200px; margin: 24px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.facts div { background: var(--band); border-radius: 20px; padding: 20px 22px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.why-cards .card { min-height: 0; }
.why-cards .card p { margin: 0; font-size: 19px; color: var(--ink); line-height: 1.5; }
.country-students { list-style: none; max-width: var(--wrap); margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; text-align: center; }
.country-students img { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; object-fit: cover; }
.country-students b { display: block; margin-top: 12px; font-size: 18px; }
.country-students span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Universities page */
.uni-group { padding-top: 72px; scroll-margin-top: 80px; }
.uni-group-head { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.uni-group-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.uni-group-head h2 span { margin-left: 12px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.uni-grid { list-style: none; max-width: var(--wrap); margin: 24px auto 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.uni-card { background: var(--band); border-radius: 20px; padding: 22px 18px 16px; display: grid; grid-template-rows: 72px auto; gap: 12px; justify-items: center; text-align: center; }
.uni-card img { max-height: 72px; max-width: 80%; width: auto; object-fit: contain; align-self: center; }
.uni-card span { font-size: 14px; font-weight: 600; }
.uni-card-text b { align-self: center; font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.uni-card-text span { visibility: hidden; }

/* Phone and tablet */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(0,0,0,.08); padding: 8px 16px 16px; font-size: 17px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--band); }
  .section { padding-top: 80px; }
  .band { margin-top: 80px; padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 40px; }
  .topbar .hours, .topbar .addr { display: none; }
  .nav-logo img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit, .counter, .traveler, .dest img, .you-pulse, .star, .halo { animation: none; }
  .traveler { opacity: 0; }
  .tile img, .plane, .dest, .stars, .mountains { transition: none; }
}
