/* ============================================
   AAYRA Education & Visa Services — Design System
   Brand: blue #333399 + saffron #FF9933
   Type: Montserrat (display) + Open Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --blue: #333399;
  --blue-deep: #1F1F66;
  --blue-soft: #E8E8F5;
  --saffron: #FF9933;
  --saffron-deep: #E07A1A;
  --saffron-soft: #FFEFD9;

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-alt: #F8F8FB;
  --bg-blue: #F4F4FA;
  --bg-paper: #FAF7F2;
  --ink: #15163A;
  --ink-soft: #4A4B6E;
  --ink-muted: #8688A8;
  --line: #E5E6F0;

  /* Type */
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, sans-serif;

  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(40px, 4.6vw, 64px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.025em; }
h3 { font-size: clamp(24px, 2.6vw, 34px); }
h4 { font-size: 22px; font-weight: 700; }
h5 { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

p { color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }

.mono { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron-deep);
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--saffron); }
.eyebrow.blue { color: var(--blue); }
.eyebrow.blue::before { background: var(--blue); }
.eyebrow.light { color: var(--saffron); }
.eyebrow.light::before { background: var(--saffron); }

.accent { color: var(--saffron); }
.blue { color: var(--blue); }
.serif { font-family: var(--display); }
.italic { font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-accent { background: var(--saffron); color: var(--blue); box-shadow: 0 3px 0 0 var(--saffron-deep); }
.btn-accent:hover { background: var(--saffron-deep); color: #fff; box-shadow: 0 3px 0 0 var(--blue-deep); }

.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-light:hover { background: #fff; color: var(--blue); }

.chip {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 10px;
  background: var(--bg-blue);
  border-radius: 3px;
}

/* Brand pattern band */
.brand-pattern {
  background: var(--blue);
  color: #fff;
  padding: 56px 0;
  overflow: hidden;
  position: relative;
  border-top: 6px solid var(--saffron);
  border-bottom: 6px solid var(--saffron);
}
.brand-pattern.light { background: var(--bg-paper); color: var(--blue); border-top-color: var(--blue); border-bottom-color: var(--blue); }
.brand-pattern.light .bp-track .ic.s { color: var(--saffron); }
.bp-track {
  display: inline-flex;
  align-items: center;
  gap: 80px;
  white-space: nowrap;
  animation: bp-scroll 36s linear infinite;
}
.bp-track .ic { width: 48px; height: 48px; flex-shrink: 0; opacity: 0.9; }
.bp-track .ic.s { color: var(--saffron); }
.bp-track .label { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; }
.bp-track .label .it { font-style: italic; font-weight: 500; opacity: 0.8; }
.bp-track .dot { width: 8px; height: 8px; background: var(--saffron); border-radius: 50%; flex-shrink: 0; }
@keyframes bp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Inline icon set on pages */
.brand-icons {
  padding: 80px 0;
  background: var(--bg-blue);
}
.brand-icons .grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 2px solid var(--blue);
  border-left: 1px solid var(--line);
  margin-top: 48px;
}
.brand-icons .it {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: #fff;
  text-align: center;
  transition: all 0.2s;
}
.brand-icons .it:hover { background: var(--saffron-soft); }
.brand-icons .it:hover .icn { color: var(--saffron-deep); }
.brand-icons .icn { width: 56px; height: 56px; color: var(--blue); transition: color 0.2s; }
.brand-icons .nm { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 980px) { .brand-icons .grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   Global overflow fix — applies on ALL viewports
   ============================================ */
html, body { overflow-x: clip; max-width: 100%; }
img { max-width: 100%; }

.blog .posts { grid-template-columns: 1fr !important; }
@media (min-width: 981px) { .blog .posts { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) !important; } }

/* ============================================
   AUTH + APPLY portal — shared styles
   ============================================ */
.auth-page { min-height: 100vh; background: var(--bg-blue); display: grid; grid-template-columns: 1fr 1fr; }
.auth-page .pane-form {
  background: #fff;
  padding: 48px 64px;
  display: flex; flex-direction: column;
  min-height: 100vh;
}
.auth-page .pane-form .brand { padding-bottom: 32px; }
.auth-page .pane-form .form-wrap { max-width: 460px; margin: auto 0; width: 100%; }
.auth-page .pane-form .form-wrap h1 { font-size: clamp(28px, 3.2vw, 40px); color: var(--blue); margin-bottom: 10px; }
.auth-page .pane-form .form-wrap .sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 32px; }
.auth-page .pane-form .form-wrap form { display: grid; gap: 18px; }
.auth-page .pane-form .field { display: grid; gap: 8px; }
.auth-page .pane-form .field label { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.auth-page .pane-form .field input,
.auth-page .pane-form .field select,
.auth-page .pane-form .field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--body); font-size: 15px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-page .pane-form .field input:focus,
.auth-page .pane-form .field select:focus,
.auth-page .pane-form .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51,51,153,0.12); }
.auth-page .pane-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-page .pane-form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.auth-page .pane-form .checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.auth-page .pane-form .checkbox a { color: var(--blue); text-decoration: underline; }
.auth-page .pane-form button[type="submit"] { padding: 14px 20px; }
.auth-page .pane-form .alt {
  text-align: center; margin-top: 28px;
  font-size: 14px; color: var(--ink-soft);
}
.auth-page .pane-form .alt a { color: var(--blue); font-weight: 700; }
.auth-page .pane-form .alt a:hover { color: var(--saffron-deep); }
.auth-page .pane-form .divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--ink-muted); font-size: 12px; font-family: var(--display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.auth-page .pane-form .divider::before,
.auth-page .pane-form .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-page .pane-form .social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-page .pane-form .social .btn { background: #fff; border: 1.5px solid var(--line); color: var(--ink); justify-content: center; padding: 12px; box-shadow: none; }
.auth-page .pane-form .social .btn:hover { border-color: var(--blue); color: var(--blue); }

.auth-page .pane-brand {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: 64px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-page .pane-brand::before {
  content: ''; position: absolute; top: -120px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,153,51,0.3) 0, transparent 70%);
}
.auth-page .pane-brand::after {
  content: 'AAYRA'; position: absolute; bottom: -80px; left: -20px;
  font-family: var(--display); font-weight: 900; font-size: 240px;
  color: rgba(255,255,255,0.04); letter-spacing: -0.04em;
}
.auth-page .pane-brand .brand-quote, .auth-page .pane-brand .brand-top { position: relative; z-index: 1; }
.auth-page .pane-brand h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-top: 24px; max-width: 18ch; }
.auth-page .pane-brand h2 .a { color: var(--saffron); font-style: italic; }
.auth-page .pane-brand .lead { color: #B5BAD8; font-size: 15px; line-height: 1.6; margin-top: 16px; max-width: 38ch; }
.auth-page .pane-brand .testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 24px;
  position: relative; z-index: 1;
}
.auth-page .pane-brand .testimonial .stars { color: var(--saffron); letter-spacing: 4px; font-size: 13px; }
.auth-page .pane-brand .testimonial p { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.5; margin: 12px 0; color: #fff; }
.auth-page .pane-brand .testimonial .who { display: flex; gap: 12px; align-items: center; }
.auth-page .pane-brand .testimonial .av { width: 36px; height: 36px; border-radius: 50%; background: var(--saffron); color: var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 12px; }
.auth-page .pane-brand .testimonial .nm { font-family: var(--display); font-weight: 700; font-size: 13px; color: #fff; }
.auth-page .pane-brand .testimonial .role { font-family: var(--display); font-size: 11px; color: #B5BAD8; }
.auth-page .pane-brand .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.auth-page .pane-brand .stats .k { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--saffron); line-height: 1; }
.auth-page .pane-brand .stats .v { font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #B5BAD8; margin-top: 6px; }

@media (max-width: 980px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-page .pane-brand { display: none; }
  .auth-page .pane-form { padding: 32px 24px; min-height: 100vh; }
}

/* === APPLY portal === */
.apply-shell { background: var(--bg-blue); min-height: 100vh; padding: 40px 0 80px; }
.apply-shell .container { max-width: 980px; }
.apply-shell .top-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(51,51,153,0.12); }
.apply-shell .top-bar .save { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
.apply-shell .top-bar .save::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(255,153,51,0.2); }

.stepper { display: flex; gap: 0; margin-bottom: 32px; counter-reset: step; }
.stepper .step {
  flex: 1; padding: 16px 14px; background: #fff; border: 1px solid var(--line); border-right: 0;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.stepper .step:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.stepper .step:first-child { border-radius: 12px 0 0 12px; }
.stepper .step::after {
  content: ''; position: absolute; right: -12px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 22px; height: 22px; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); z-index: 1;
}
.stepper .step:last-child::after { display: none; }
.stepper .step .n { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-muted); }
.stepper .step .l { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink); }
.stepper .step.active { background: var(--blue); border-color: var(--blue); }
.stepper .step.active::after { background: var(--blue); border-color: var(--blue); }
.stepper .step.active .n { color: var(--saffron); }
.stepper .step.active .l { color: #fff; }
.stepper .step.done { background: var(--saffron-soft); border-color: #FFD9A0; }
.stepper .step.done::after { background: var(--saffron-soft); border-color: #FFD9A0; }
.stepper .step.done .n { color: var(--saffron-deep); }
.stepper .step.done .l { color: var(--blue); }
.stepper .step.done .n::after { content: ' ✓'; }
@media (max-width: 720px) {
  .stepper .step::after { display: none; }
  .stepper { flex-wrap: wrap; gap: 6px; }
  .stepper .step { flex: 1 1 30%; border-radius: 8px !important; border-right: 1px solid var(--line); }
}

.apply-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px 48px; }
.apply-card .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.apply-card .head h2 { font-size: 28px; color: var(--blue); }
.apply-card .head .step-label { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-deep); }
.apply-card .field-group { display: grid; gap: 22px; }
.apply-card .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apply-card .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .apply-card { padding: 28px 22px; } .apply-card .grid-2, .apply-card .grid-3 { grid-template-columns: 1fr; } }

.apply-card .field label { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 6px; }
.apply-card .field input,
.apply-card .field select,
.apply-card .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--body); font-size: 15px; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.apply-card .field input:focus, .apply-card .field select:focus, .apply-card .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51,51,153,0.12); }
.apply-card .field textarea { min-height: 110px; resize: vertical; }
.apply-card .field .hint { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-muted); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
@media (max-width: 500px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  border: 2px solid var(--line); border-radius: 12px;
  padding: 18px 20px; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.2s; background: #fff;
}
.choice:hover { border-color: rgba(51,51,153,0.3); background: var(--bg-blue); }
.choice input { display: none; }
.choice input:checked ~ * { /* parent handles via :has */ }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.choice .flag { width: 44px; height: 30px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.choice .flag svg { width: 100%; height: 100%; display: block; }
.choice .ti { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--blue); }
.choice .sb { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }

.upload-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.upload-tile {
  border: 2px dashed var(--line); border-radius: 12px;
  padding: 18px 22px;
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.upload-tile:hover { border-color: var(--saffron); background: var(--saffron-soft); }
.upload-tile .ic { width: 44px; height: 44px; background: var(--bg-blue); border-radius: 10px; display: grid; place-items: center; color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 18px; }
.upload-tile .nm { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--blue); }
.upload-tile .meta { font-family: var(--display); font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.upload-tile .btn-sm { padding: 8px 14px; }
.upload-tile.done { border-style: solid; border-color: #C7E0CC; background: #F0F8F2; }
.upload-tile.done .ic { background: #C7E0CC; color: #1A6B3A; }

.review-list { display: grid; gap: 0; }
.review-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.review-item:last-child { border: 0; }
.review-item .k { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.review-item .v { font-family: var(--body); font-size: 15px; color: var(--ink); }
.review-item .edit { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.review-item .edit:hover { color: var(--saffron-deep); }
@media (max-width: 720px) { .review-item { grid-template-columns: 1fr; gap: 4px; } }

.apply-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.apply-nav .btn-ghost { background: transparent; }

.success-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 56px 40px; text-align: center;
}
.success-card .check {
  width: 80px; height: 80px; border-radius: 50%;
  background: #1A6B3A; color: #fff;
  font-size: 38px; display: grid; place-items: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 12px rgba(26,107,58,0.1);
}
.success-card h2 { font-size: 32px; color: var(--blue); margin-bottom: 14px; }
.success-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; max-width: 48ch; margin: 0 auto 28px; }
.success-card .ref { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 28px; }
.success-card .ref strong { color: var(--blue); font-size: 16px; letter-spacing: 0.04em; }

/* === DASHBOARD === */
.dash-shell { background: var(--bg-blue); min-height: 100vh; padding: 32px 0 80px; }
.dash-shell .container { max-width: 1200px; }
.dash-shell .topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.dash-shell .topline h1 { font-size: clamp(26px, 3vw, 36px); color: var(--blue); }
.dash-shell .topline .greet { font-size: 14px; color: var(--ink-soft); margin-top: 4px; font-family: var(--display); }
.dash-shell .userbox { display: flex; gap: 14px; align-items: center; background: #fff; padding: 10px 14px 10px 10px; border-radius: 999px; border: 1px solid var(--line); }
.dash-shell .userbox .av { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; }
.dash-shell .userbox .nm { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--blue); line-height: 1.1; }
.dash-shell .userbox .em { font-family: var(--display); font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
.dash-shell .userbox .signout { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
.dash-shell .userbox .signout:hover { color: var(--saffron-deep); }

.dash-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: start; }
@media (max-width: 980px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.dash-card .ehead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; gap: 12px; }
.dash-card h3 { font-size: 18px; color: var(--blue); }
.dash-card .ck-act { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

.profile-card { padding: 32px 28px; text-align: center; }
.profile-card .av-lg { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 36px; display: grid; place-items: center; margin: 0 auto 14px; }
.profile-card h2 { font-size: 22px; color: var(--blue); }
.profile-card .role { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-deep); margin-top: 4px; }
.profile-card .completion { margin-top: 24px; text-align: left; }
.profile-card .completion .label { display: flex; justify-content: space-between; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.profile-card .bar { height: 8px; background: var(--bg-blue); border-radius: 4px; overflow: hidden; }
.profile-card .bar div { height: 100%; background: linear-gradient(90deg, var(--saffron), var(--saffron-deep)); border-radius: 4px; }
.profile-card .meta { display: grid; gap: 12px; margin-top: 22px; text-align: left; padding-top: 22px; border-top: 1px solid var(--line); }
.profile-card .meta .it { display: flex; justify-content: space-between; font-size: 13px; }
.profile-card .meta .it .k { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.profile-card .meta .it .v { font-family: var(--display); font-weight: 600; color: var(--blue); }

.timeline { display: grid; gap: 0; position: relative; }
.timeline .step { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 12px 0; position: relative; align-items: start; }
.timeline .step::before {
  content: ''; position: absolute;
  left: 17px; top: 30px; bottom: -12px;
  width: 2px; background: var(--line);
}
.timeline .step:last-child::before { display: none; }
.timeline .step .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-blue); border: 2px solid var(--line); color: var(--ink-muted); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; flex-shrink: 0; position: relative; z-index: 1; }
.timeline .step.done .dot { background: #1A6B3A; border-color: #1A6B3A; color: #fff; }
.timeline .step.active .dot { background: var(--saffron); border-color: var(--saffron); color: var(--blue); box-shadow: 0 0 0 4px rgba(255,153,51,0.2); }
.timeline .step .ti { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--blue); }
.timeline .step .meta { font-family: var(--display); font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
.timeline .step.active .ti { color: var(--saffron-deep); }
.timeline .step .ts { font-family: var(--display); font-size: 11px; color: var(--ink-muted); margin-top: 4px; }

.doc-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.doc-row:last-child { border: 0; }
.doc-row .ic { width: 32px; height: 32px; border-radius: 6px; background: var(--bg-blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 11px; color: var(--blue); }
.doc-row .nm { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--blue); }
.doc-row .meta { font-family: var(--display); font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
.doc-row .status { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; }
.doc-row .status.up { background: #E8F4EC; color: #1A6B3A; }
.doc-row .status.pe { background: var(--saffron-soft); color: var(--saffron-deep); }
.doc-row .status.mi { background: #FBE6E6; color: #B03737; }

.advisor-card { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 20px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); border-radius: 14px; color: #fff; margin-top: 16px; }
.advisor-card .av { width: 56px; height: 56px; border-radius: 50%; background: var(--saffron); color: var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; }
.advisor-card .nm { font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; }
.advisor-card .role { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron); margin-top: 2px; }
.advisor-card .btn { padding: 8px 14px; font-size: 11px; }
.hero-art .badge,
.dest-card .badge,
.feat-card .img .badge,
.page-hero .hero-art .badge,
.story-card .flag-pill,
.ph .ph-label,
.ph-label { display: none !important; }

/* ============================================
   BLOG POST DETAIL — shared styles
   ============================================ */
.post-hero {
  background: var(--bg-blue);
  padding: 48px 0 32px;
  position: relative;
}
.post-hero .breadcrumb {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 24px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.post-hero .breadcrumb a { color: var(--blue); }
.post-hero .breadcrumb a:hover { color: var(--saffron-deep); }
.post-hero .breadcrumb .sep { opacity: 0.5; }
.post-hero .grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.post-hero .cat {
  font-family: var(--display); font-weight: 700; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron-deep);
  background: var(--saffron-soft);
  padding: 6px 12px; border-radius: 4px;
  display: inline-block;
}
.post-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin: 18px 0 18px;
  max-width: 22ch;
}
.post-hero .dek { color: var(--ink-soft); font-size: 18px; line-height: 1.55; max-width: 56ch; }
.post-hero .author-row {
  display: flex; gap: 18px; align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(51,51,153,0.12);
  flex-wrap: wrap;
}
.post-hero .author-row .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.post-hero .author-row .by { font-family: var(--display); }
.post-hero .author-row .by .nm { font-weight: 700; font-size: 14px; color: var(--blue); }
.post-hero .author-row .by .role { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-muted); text-transform: uppercase; }
.post-hero .author-row .dot { width: 4px; height: 4px; background: var(--ink-muted); border-radius: 50%; opacity: 0.5; }
.post-hero .author-row .meta-item {
  font-family: var(--display); font-size: 12px; font-weight: 600;
  color: var(--ink-soft); letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.post-hero .cover {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px -16px rgba(51,51,153,0.25);
}
.post-hero .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) {
  .post-hero .grid { grid-template-columns: 1fr; gap: 32px; }
  .post-hero .cover { aspect-ratio: 5/3; }
}

/* Article body */
.post-body { padding: 64px 0 80px; background: #fff; }
.post-body .grid {
  display: grid;
  grid-template-columns: 1fr min(720px, 100%) 1fr;
  gap: 0;
}
.post-body .grid > * { grid-column: 2; }
.post-body .full { grid-column: 1 / -1; }
.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body .callout,
.post-body h2,
.post-body h3 { margin: 0 auto; }
.post-body p {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 24px;
}
.post-body p.lead-p {
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 32px;
}
.post-body p.lead-p::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 900;
  font-size: 72px;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--saffron);
}
.post-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--blue);
  margin: 48px auto 18px;
}
.post-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--blue);
  margin: 32px auto 12px;
}
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 24px; color: var(--ink); font-size: 18px; line-height: 1.7; }
.post-body li { margin-bottom: 10px; padding-left: 4px; }
.post-body ul li { list-style: none; padding-left: 24px; position: relative; }
.post-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px;
  background: var(--saffron);
  border-radius: 50%;
}
.post-body ol li { list-style: decimal; color: var(--ink); }
.post-body ol li::marker { color: var(--saffron-deep); font-family: var(--display); font-weight: 700; }
.post-body strong { color: var(--blue); font-weight: 700; }
.post-body em { color: var(--saffron-deep); font-style: italic; }
.post-body a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.post-body a:hover { color: var(--saffron-deep); }

.post-body blockquote {
  border-left: 4px solid var(--saffron);
  padding: 8px 0 8px 28px;
  margin: 36px auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  color: var(--blue);
  letter-spacing: -0.005em;
}
.post-body blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
}

.post-body .callout {
  background: var(--saffron-soft);
  border: 1px solid #FFE0B8;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 36px auto;
}
.post-body .callout .lbl {
  font-family: var(--display); font-weight: 800; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 8px;
  display: block;
}
.post-body .callout h4 { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--blue); margin-bottom: 8px; }
.post-body .callout p { font-size: 15px; line-height: 1.55; margin-bottom: 0; color: var(--ink); }

.post-body .pull-image {
  margin: 40px auto;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
}
.post-body .pull-image img { width: 100%; height: 100%; object-fit: cover; }
.post-body .pull-image .caption {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

/* Author card */
.author-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg-blue);
  border-radius: 14px;
  margin: 48px auto 0;
}
.author-card .av {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 20px;
  display: grid; place-items: center;
}
.author-card .nm { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--blue); }
.author-card .bio { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.author-card .btn-sm { white-space: nowrap; }
@media (max-width: 720px) {
  .author-card { grid-template-columns: 56px 1fr; }
  .author-card .av { width: 56px; height: 56px; font-size: 17px; }
  .author-card .btn-sm { grid-column: 1 / -1; justify-self: start; }
}

/* Related articles */
.related { background: var(--bg-paper); padding: 80px 0; border-top: 1px solid var(--line); }
.related h3 { font-size: 28px; color: var(--blue); margin-bottom: 32px; }
.related .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .related .grid { grid-template-columns: 1fr; } }
.hero-art .badge,
.dest-card .badge,
.feat-card .img .badge,
.page-hero .hero-art .badge,
.story-card .flag-pill,
.ph .ph-label,
.ph-label { display: none !important; }

/* Topbar — REMOVED per request, kept for safety */
.topbar { display: none !important; }
.topbar-old {
  background: var(--blue-deep);
  color: #DDE0F0;
  font-size: 12px;
}
.topbar-old .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-weight: 500;
}
.topbar .left, .topbar .right { display: flex; gap: 24px; align-items: center; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(255,153,51,0.2); }
@media (max-width: 720px) { .topbar .right span:not(:last-child) { display: none; } }

/* ===== HEADER — REDESIGNED ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(51,51,153,0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -10px rgba(51,51,153,0.18); }
.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 56px; height: 56px; transition: transform 0.3s ease; }
.brand:hover .logo { transform: rotate(-6deg) scale(1.05); }
.brand .name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; color: var(--blue); line-height: 1; }
.brand small { display: block; font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.brand:hover .name { color: var(--saffron-deep); }

.nav { display: flex; gap: 14px; align-items: center; }
.nav a, .nav .menu > button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 8px;
  color: var(--ink);
  border-radius: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.nav a { font-family: var(--display); }
.nav a::after, .nav .menu > button::after {
  content: '';
  position: absolute;
  left: 6px; right: 6px; bottom: 4px;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.nav a:hover, .nav .menu > button:hover { color: var(--blue); background: rgba(51,51,153,0.04); }
.nav a:hover::after, .nav .menu > button:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }
.nav a.active::after { transform: scaleX(1); }
.nav .menu.has-active > button { color: var(--blue); }
.nav .menu.has-active > button::after { transform: scaleX(1); }

.nav .menu { position: relative; }
.nav .menu > button .caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s ease;
  margin-left: 2px;
}
.nav .menu.open > button .caret { transform: rotate(-135deg) translate(-1px, -1px); }
.nav .menu .panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 14px;
  min-width: 320px;
  background: #fff;
  border: 1px solid rgba(51,51,153,0.08);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(20,20,80,0.18), 0 4px 12px rgba(20,20,80,0.06);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 50;
}
.nav .menu .panel::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid rgba(51,51,153,0.08);
  border-top: 1px solid rgba(51,51,153,0.08);
}
/* Invisible hover bridge so the cursor can travel button → panel */
.nav .menu::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 18px;
  pointer-events: none;
}
.nav .menu.open::after { pointer-events: auto; }
.nav .menu.open .panel { opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav .menu .panel a.opt {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 10px;
  align-items: center;
  background: transparent;
}
.nav .menu .panel a.opt::after { display: none; }
.nav .menu .panel a.opt:hover { background: var(--bg-blue); }
.nav .menu .panel a.opt .flag {
  width: 44px; height: 30px; border-radius: 4px;
  display: grid; place-items: center;
  overflow: hidden;
  background: #00247D;
  border: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.nav .menu .panel a.opt .flag svg { width: 100%; height: 100%; display: block; }
.nav .menu .panel a.opt .ti { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--blue); letter-spacing: 0.01em; }
.nav .menu .panel a.opt .sb { font-family: var(--body); font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.header-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1100px) and (min-width: 981px) { .nav { display: none; } }

/* Section heads */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lead { color: var(--ink-soft); font-size: 17px; max-width: 50ch; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* Cols */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* Image placeholder + real photos */
.ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 14px, rgba(51,51,153,0.06) 14px, rgba(51,51,153,0.06) 16px),
    var(--bg-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.04));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.ph:hover::after { opacity: 1; }
.ph-label {
  font-family: var(--display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.06em; text-transform: lowercase;
  color: var(--ink-muted);
  background: rgba(255,255,255,0.92);
  padding: 6px 12px;
  border-radius: 3px;
  position: relative; z-index: 1;
}

/* CTA band — used on most pages */
.cta-band {
  background: var(--blue);
  color: #DDE0F0;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,153,51,0.2) 0, transparent 70%);
  pointer-events: none;
}
.cta-band .grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; position: relative; }
.cta-band h2 { color: #fff; }
.cta-band h2 .accent { color: var(--saffron); }
.cta-band p { color: #B5BAD8; font-size: 18px; max-width: 50ch; margin-top: 16px; }
.cta-band .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .right ul { display: grid; gap: 12px; padding-bottom: 12px; }
.cta-band .right li {
  font-family: var(--display); font-weight: 500;
  font-size: 14px;
  color: #DDE0F0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 12px;
}
.cta-band .right li::before { content: '✦'; position: absolute; left: 0; color: var(--saffron); }
@media (max-width: 880px) { .cta-band .grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #B5BAD8;
  padding: 80px 0 32px;
}
.site-footer .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer .brand .name { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,0.55); letter-spacing: 0.18em; }
.site-footer .brand .logo { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
.site-footer h5 { color: var(--saffron); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a, .site-footer ul li { font-family: var(--display); font-weight: 500; font-size: 13px; color: #B5BAD8; }
.site-footer ul a:hover { color: var(--saffron); }
.site-footer .legal {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 32px;
  font-family: var(--display); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6B6E94;
}
@media (max-width: 880px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line, #E5E5E5);
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-blue, #333399);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-header .inner { position: relative; flex-wrap: nowrap; padding: 12px 16px; }
  .site-header .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
    border-top: 1px solid var(--line, #E5E5E5);
    border-bottom: 1px solid var(--line, #E5E5E5);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.2s ease;
    z-index: 100;
  }
  .site-header .nav.open { max-height: 90vh; overflow-y: auto; padding: 12px 16px 20px; }
  .site-header .nav a, .site-header .nav .menu > button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 4px;
    border-bottom: 1px solid #EEE;
    font-size: 15px;
    border-radius: 0;
  }
  .site-header .nav a:last-child { border-bottom: 0; }
  .site-header .nav .menu { width: 100%; }
  .site-header .nav .menu > button { justify-content: space-between; padding-right: 4px; }
  .site-header .nav .menu .panel {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--bg-blue);
    border-radius: 8px;
    padding: 6px;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.3s ease, padding 0.2s ease, margin 0.2s ease;
    margin: 0;
  }
  .site-header .nav .menu .panel::before { display: none; }
  .site-header .nav .menu.open .panel { max-height: 280px; padding: 8px; margin: 0 0 8px; }
  .nav .menu .panel a.opt { padding: 10px; }
  .nav .menu .panel a.opt .ti { font-size: 14px; }
}

/* Prevent grid children from blowing out their tracks (mobile horizontal scroll fix) */
@media (max-width: 980px) {
  body { overflow-x: hidden; }
  .blog .posts,
  .blog .posts > *,
  .dest-grid > *,
  .services-grid > *,
  .why-grid > *,
  .uni-cards > *,
  .poly-grid > *,
  .col-grid > *,
  .intake-grid > *,
  .cost-grid > *,
  .office-grid > *,
  .visa-grid > *,
  .mvv-grid > *,
  .val-grid > *,
  .team-grid > *,
  .numbers .grid > *,
  .site-footer .grid > *,
  .cta-band .grid > *,
  .hero .grid > *,
  .page-hero .grid > *,
  .contact-grid .grid > *,
  .story .grid > *,
  .why .grid > *,
  .brand-icons .grid > *,
  .process .timeline > * { min-width: 0; }
  .blog .posts { grid-template-columns: minmax(0, 1fr) !important; }
  img, svg { max-width: 100%; height: auto; }
}

/* ============================================
   Mobile responsive — global rules
   ============================================ */
@media (max-width: 880px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  h1 { font-size: clamp(34px, 7vw, 44px) !important; }
  h2 { font-size: clamp(28px, 6vw, 36px) !important; }
  h3 { font-size: 26px !important; }
  h4 { font-size: 20px !important; }


  .site-header .inner { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .brand .logo { width: 40px; height: 40px; }
  .brand .name { font-size: 18px; }
  .brand small { font-size: 8px; }
  .header-cta { gap: 6px; }
  .header-cta .btn-sm { padding: 8px 12px; font-size: 10px; }
  .header-cta .btn-ghost { display: none; }

  .btn { padding: 12px 18px; font-size: 12px; }

  .section-head { margin-bottom: 32px; }
  .section-head .lead { font-size: 15px; }

  .marquee .track { font-size: 16px; gap: 28px; }
  .brand-pattern { padding: 32px 0; }
  .bp-track { gap: 40px; }
  .bp-track .ic { width: 32px; height: 32px; }
  .bp-track .label { font-size: 18px; }

  .hero { padding: 32px 0 0; }
  .hero .grid { padding-bottom: 48px; }
  .hero .meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero .meta .k { font-size: 28px; }
  .hero-art .quote-card { right: 0; width: 80%; padding: 16px; }
  .hero-art .quote-card p { font-size: 14px; }

  .dest-card { grid-template-rows: 220px auto; }
  .dest-card .body { padding: 20px; }
  .dest-card h3 { font-size: 32px !important; }
  .dest-card .stats .k { font-size: 22px; }

  .services-grid { grid-template-columns: 1fr !important; }
  .svc { min-height: auto; padding: 28px 22px; }

  .process .timeline { grid-template-columns: 1fr !important; gap: 20px; }
  .process .timeline::before { display: none; }
  .process .step .n { box-shadow: none; }

  .why .grid { grid-template-columns: 1fr !important; gap: 32px; }
  .why .left { position: static !important; }
  .why .pt { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 0; }
  .why .pt .n { width: 44px; height: 44px; font-size: 14px; }

  .testimonial-band { padding: 60px 0; }
  .testimonial-band .stories { grid-template-columns: 1fr !important; gap: 20px !important; }
  .testimonial-band blockquote { font-size: 18px !important; }

  .trust .row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust .marks { gap: 24px; }
  .trust .mark-item { font-size: 16px; }

  .blog .posts { grid-template-columns: 1fr !important; gap: 32px; }
  .blog .head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .cta-band { padding: 60px 0; }
  .cta-band .grid { grid-template-columns: 1fr !important; gap: 32px; }
  .cta-band .ctas { flex-direction: column; align-items: stretch; }
  .cta-band .ctas .btn { justify-content: center; }

  .site-footer { padding: 48px 0 24px; }
  .site-footer .grid { grid-template-columns: 1fr !important; gap: 32px; padding-bottom: 32px; }
  .site-footer .legal { flex-direction: column; gap: 8px; padding-top: 20px; }

  /* Page heroes (about, study, services, contact) */
  .page-hero { padding: 60px 0 40px !important; }
  .page-hero .grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .page-hero .stats { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .page-hero .stats .k { font-size: 32px !important; }

  /* About */
  .story .grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .story .left { position: static !important; }
  .story .pull { font-size: 20px; padding-left: 16px; margin: 24px 0; }
  .mvv-grid { grid-template-columns: 1fr !important; }
  .mvv-card { min-height: auto; padding: 36px 28px; }
  .mvv-card .num { font-size: 56px; }
  .val-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .val { padding: 24px; }
  .team-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .member h4 { font-size: 18px !important; }
  .numbers .grid { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .numbers .k { font-size: 44px !important; }

  /* Study pages */
  .why-grid { grid-template-columns: 1fr !important; }
  .uni-table { overflow-x: auto; }
  .uni-row { grid-template-columns: 40px 1fr 80px !important; gap: 12px !important; padding: 16px !important; }
  .uni-row .city, .uni-row .rank, .uni-row .pop { display: none; }
  .uni-row.head .city, .uni-row.head .rank, .uni-row.head .pop { display: none; }
  .poly-grid, .col-grid { grid-template-columns: 1fr !important; }
  .uni-cards { grid-template-columns: 1fr !important; }
  .tier { flex-direction: column; gap: 8px; align-items: flex-start; }
  .tier .num { font-size: 56px; }
  .intake-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .cost-grid { grid-template-columns: 1fr !important; }
  .cost-card { padding: 28px 24px; }
  .cost-card .total { font-size: 40px; }

  /* Services */
  .svc-row { grid-template-columns: 1fr !important; gap: 12px !important; padding: 32px 0 !important; }
  .svc-row .num { font-size: 36px; }
  .svc-row h3 { font-size: 28px !important; }
  .visa-grid { grid-template-columns: 1fr !important; }
  .visa { min-height: auto; padding: 28px; }
  .method { grid-template-columns: 1fr !important; gap: 20px; }
  .method::before { display: none; }
  .fee-table { overflow-x: auto; }
  .fee-row { grid-template-columns: 40px 1fr 80px !important; gap: 12px !important; padding: 16px !important; }
  .fee-row .desc, .fee-row .when { display: none; }

  /* Contact */
  .contact-grid .grid { grid-template-columns: 1fr !important; gap: 24px; }
  .form { padding: 28px 22px; }
  .form .head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .form h3 { font-size: 26px !important; }
  .row2 { grid-template-columns: 1fr !important; }
  .country-pick { grid-template-columns: 1fr !important; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { justify-content: center; }
  .quick { padding: 24px; }
  .quick .item { grid-template-columns: 90px 1fr; gap: 8px; padding: 12px 0; }
  .office-grid { grid-template-columns: 1fr !important; }
  .office { min-height: auto; padding: 24px; }
  .office.cta { grid-column: span 1 !important; }
  .office.cta h4 { font-size: 24px !important; }

  /* Brand iconography grid */
  .brand-icons { padding: 48px 0; }
  .brand-icons .grid { grid-template-columns: repeat(2, 1fr) !important; }
  .brand-icons .it { padding: 20px 12px; }
  .brand-icons .icn { width: 40px; height: 40px; }
}

}

@media (max-width: 880px) {
  /* Blog page */
  .featured-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .feat-card { grid-template-rows: 240px auto !important; }
  .feat-card .body { padding: 22px !important; }
  .side-card { grid-template-columns: 110px 1fr !important; }
  .side-card .body { padding: 14px 16px 14px 0 !important; }
  .side-card h4 { font-size: 14px !important; }
  .cat-bar { top: 64px !important; }
  .cat-bar .row { padding: 12px 0 !important; gap: 6px !important; overflow-x: auto; flex-wrap: nowrap; }
  .cat-bar .chip { white-space: nowrap; font-size: 12px; padding: 6px 12px; }
  .all-posts { padding: 48px 0 !important; }
  .posts-grid { gap: 16px !important; }
  .newsletter { padding: 48px 0 !important; }
  .newsletter form { flex-direction: column !important; gap: 6px !important; }
}

/* ============================================
   DESIGN-SYSTEM CONSISTENCY LAYER
   Unifies spacing, typography, and component rhythm
   across every page. Applies globally; per-page styles
   still win on specificity where intentional.
   ============================================ */

/* --- Standard page hero (light variant — about, services, contact, blog) --- */
.page-hero { padding: 88px 0 64px; position: relative; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.page-hero h1 .a { color: var(--saffron); }
.page-hero h1 .b { color: var(--blue); }
.page-hero p,
.page-hero .deck { font-size: 17px; color: var(--ink-soft); line-height: 1.6; max-width: 52ch; }
.page-hero .eyebrow { margin-bottom: 16px; }

/* Study pages keep their colored hero — keep text contrast strong */
.page-hero[class] { /* no-op for specificity */ }
[class*="study"] .page-hero,
.page-hero.dark { color: #fff; }

/* --- Section rhythm --- */
section { padding: 88px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2,
section h2 { line-height: 1.05; letter-spacing: -0.02em; }

/* --- Standard CTA band — unify across pages --- */
.cta-band { padding: 96px 0; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.cta-band p { font-size: 16px; line-height: 1.6; }
.cta-band .right ul { gap: 14px; }

/* --- Buttons, chips, eyebrows: same metrics everywhere --- */
.btn { white-space: nowrap; }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; margin-bottom: 0; }

/* --- Cards: unify border + radius across components --- */
.dest-card,
.story-card,
.feat-card,
.post-card,
.side-card,
.member,
.svc,
.svc-row,
.uni-card,
.col-card,
.cost-card,
.intake,
.poly,
.visa,
.mvv-card,
.val,
.office,
.why-card { border-color: var(--line); }

/* --- Tighten brand strip (slider) so two words don't break --- */
.bp-track .label { white-space: nowrap; }

/* --- Footer: consistent type colors --- */
.site-footer .legal { color: rgba(255,255,255,0.5); }
.site-footer h5 { letter-spacing: 0.18em; }

/* --- Mobile harmonization --- */
@media (max-width: 880px) {
  section { padding: 56px 0 !important; }
  .page-hero { padding: 56px 0 40px !important; }
  .section-head { margin-bottom: 32px; }
  .cta-band { padding: 64px 0; }
  .cta-band h2 { font-size: 28px !important; }
  .page-hero p, .page-hero .deck { font-size: 15px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 30px !important; }
  h2 { font-size: 26px !important; }
  .hero .meta { grid-template-columns: 1fr; }
  .page-hero .stats { grid-template-columns: 1fr 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .numbers .grid { grid-template-columns: 1fr !important; }
  .ctas { flex-direction: column; align-items: stretch; }
  .ctas .btn { justify-content: center; }
}


/* ============================================
   FAB — Floating Action Button (Apply Now)
   ============================================ */
.fab-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}
.fab {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--blue);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(255,153,51,0.45), 0 4px 8px rgba(20,20,80,0.15);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s ease;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
}
.fab:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 32px -6px rgba(255,153,51,0.55), 0 6px 12px rgba(20,20,80,0.2);
}
.fab .fab-icon {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.fab:hover .fab-icon { transform: translate(2px, -2px); }
.fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--saffron);
  opacity: 0;
  pointer-events: none;
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}

.fab-label {
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(20,20,80,0.18);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  position: relative;
}
.fab-label::after {
  content: '';
  position: absolute;
  right: -4px; top: 50%;
  width: 10px; height: 10px;
  background: var(--blue);
  transform: translateY(-50%) rotate(45deg);
}
.fab-wrap:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .fab-wrap { bottom: 18px; right: 18px; }
  .fab { width: 56px; height: 56px; }
  .fab .fab-icon { width: 24px; height: 24px; }
  .fab-label { display: none; }
}

/* === APPLY — GUEST STATE === */
.apply-guest { max-width: 860px; margin: 0 auto; }
.guest-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .guest-panels { grid-template-columns: 1fr; } }
.guest-card { padding: 28px 30px; }
.apply-shell .field input, .apply-shell .field select, .apply-shell .field textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; background: #fff; transition: border-color .15s; }
.apply-shell .field input:focus, .apply-shell .field select:focus, .apply-shell .field textarea:focus { border-color: var(--blue); }
.signout { background: none; border: none; cursor: pointer; color: var(--ink-muted); font-size: 13px; font-weight: 700; padding: 0; }
.signout:hover { color: var(--blue); }

/* ===================================================================
   MOBILE NAV — hamburger + drawer
   =================================================================== */

/* Hamburger button — hidden on desktop */
.mob-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.mob-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Overlay */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,40,0.48);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mob-overlay.open { display: block; opacity: 1; }

/* Drawer */
.mob-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 92vw);
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 32px rgba(20,20,80,0.14);
}
.mob-drawer.open { transform: translateX(0); }

.mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mob-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-muted);
  transition: background 0.15s, color 0.15s;
}
.mob-close:hover { background: var(--bg-blue); color: var(--blue); }

.mob-links {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.mob-links a {
  display: block;
  padding: 12px 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mob-links a:hover,
.mob-links a.active { background: var(--bg-blue); border-left-color: var(--blue); color: var(--blue); }

.mob-group { margin: 4px 0; }
.mob-group-label {
  padding: 8px 24px 4px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mob-group a {
  padding-left: 32px;
  font-size: 14px;
  font-weight: 500;
}

.mob-cta {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ===================================================================
   RESPONSIVE — header & nav
   =================================================================== */
@media (max-width: 980px) {
  .nav { display: none !important; }
  .header-cta { display: none !important; }
  .mob-toggle { display: flex; }
  .site-header .inner { padding: 12px 20px; gap: 12px; }
  .brand .logo { width: 40px; height: 40px; }
  .brand .name { font-size: 18px; }
}

/* ===================================================================
   RESPONSIVE — layout & sections
   =================================================================== */

/* Hero */
@media (max-width: 720px) {
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: clamp(32px, 8vw, 52px); }
  .hero .lead { font-size: 16px; }
}

/* Containers */
@media (max-width: 720px) {
  .container { padding: 0 18px; }
}

/* Section spacing */
@media (max-width: 720px) {
  section, .section { padding: 56px 0; }
}

/* Footer */
@media (max-width: 600px) {
  .site-footer .grid { grid-template-columns: 1fr !important; gap: 36px; }
  .site-footer { padding: 56px 0 24px; }
}

/* Blog index */
@media (max-width: 640px) {
  .blog .posts { grid-template-columns: 1fr !important; }
}

/* Auth pages */
@media (max-width: 820px) {
  .auth-page { grid-template-columns: 1fr !important; min-height: unset; }
  .pane-brand { display: none !important; }
  .pane-form { padding: 40px 24px 60px; min-height: 100svh; }
}

/* Dashboard */
@media (max-width: 600px) {
  .dash-shell .topline { flex-wrap: wrap; gap: 12px; }
  .dash-shell .topline .dash-nav { order: 3; width: 100%; }
}

/* Admin tables on small screens */
@media (max-width: 640px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
