   /* ============================================================
   Aventra World — Production Stylesheet  (v2 premium)
   Phone-first · iOS · Android · Desktop
   ============================================================ */

/* ---------- 01. Tokens & reset ---------- */
:root{
  --navy:#0d2440;
  --navy-2:#16324f;
  --navy-3:#1a3a61;
  --gold:#b08d3f;
  --gold-soft:#f3ead6;
  --gold-bright:#f0d58f;
  --ink:#22303f;
  --ink-soft:#475467;
  --muted:#5c6b7a;
  --bg:#f6f7f9;
  --paper:#ffffff;
  --line:#d8dee6;
  --line-strong:#b9c3ce;
  --ok:#2e6b4f;
  --warn:#8a3b2f;
  --ok-bg:#f4faf5;
  --warn-bg:#fdf6f5;

  --blue:#2563eb;
  --blue-soft:#e8f1fc;
  --blue-ink:#1e3a8a;
  --green:#2e6b4f;
  --green-soft:#ecf7f0;
  --green-ink:#1e5e3a;
  --amber-soft:#fbf5e5;
  --amber-ink:#6b5218;
  --purple:#7c3aed;

  /* NEW: Safaricom-style pure green for "secured" figures */
  --safari-green:#4caf50;
  --safari-green-dark:#2e7d32;
  --safari-green-soft:#eaf7ea;

  /* NEW: Brown for host country column */
  --brown:#7a4b1f;
  --brown-soft:#f5ecdf;

  /* NEW: Fading red for deadline */
  --deadline-red:#c0392b;

  --wa-green:#25d366;
  --wa-green-dark:#128c7e;

  --sidebar-w:260px;
  --content-max:1120px;
  --page-max:1180px;
  --radius:6px;
  --radius-sm:4px;

  --shadow-sm:0 1px 2px rgba(13,36,64,.06);
  --shadow-md:0 2px 8px rgba(13,36,64,.08);
  --shadow-card:0 1px 3px rgba(13,36,64,.06), 0 4px 12px rgba(13,36,64,.04);
  --shadow-lg:0 8px 26px rgba(13,36,64,.13);

  --font-head:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
}

*,
*::before,
*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(13,36,64,.08);
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img,svg,video{max-width:100%;height:auto;display:block}

/* ---------- 02. Base typography ---------- */
a{
  color:var(--navy-2);
  text-decoration:underline;
  text-underline-offset:2px;
}
a:hover{color:var(--gold)}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--navy);
  font-weight:600;
  line-height:1.25;
  margin:0;
  overflow-wrap:break-word;
}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:1.25em}
li{margin-bottom:.35em}
hr{border:0;border-top:1px solid var(--line);margin:28px 0}
code{font-family:var(--mono);font-size:.92em;word-break:break-word}
::selection{background:var(--gold-bright);color:var(--navy)}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* ---------- 03. Skip link ---------- */
.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--navy);
  color:#fff;
  padding:10px 16px;
  text-decoration:none;
  z-index:999;
  border-radius:0 0 var(--radius-sm) 0;
  font-size:14px;
  font-weight:600;
}
.skip-link:focus{left:0;color:#fff}

/* ---------- 04. Utilities ---------- */
.btn{
  display:inline-block;
  padding:10px 18px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  border:1px solid var(--navy);
  background:var(--navy);
  color:#fff;
  border-radius:var(--radius-sm);
  line-height:1.3;
  cursor:pointer;
  text-align:center;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover{
  background:var(--navy-2);
  border-color:var(--navy-2);
  color:#fff;
  transform:translateY(-1px);
  box-shadow:var(--shadow-md);
}
.btn:active{transform:translateY(0);box-shadow:var(--shadow-sm)}
.btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-2);border-color:var(--navy-2);color:#fff}

.btn-secondary,
.btn.secondary{
  background:var(--paper);
  color:var(--navy);
  border-color:var(--line-strong);
}
.btn-secondary:hover,
.btn.secondary:hover{
  background:#eef2f7;
  border-color:var(--navy);
  color:var(--navy);
  box-shadow:var(--shadow-md);
}

/* Soft gold CTA used in fees section links */
.btn-soft{
  background:var(--gold-soft);
  border-color:#e2d3ad;
  color:#5a461a;
}
.btn-soft:hover{
  background:var(--gold-bright);
  border-color:var(--gold);
  color:var(--navy);
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:0 0 4px;
}

.kicker{
  font-family:var(--font-body);
  font-size:11.5px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:700;
  margin:0 0 8px;
}

.badge{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
  padding:2px 8px;
  border-radius:3px;
  text-transform:uppercase;
}
.badge-no{background:#fdecea;color:#b3261e}

.note{
  font-size:13px;
  color:var(--muted);
  border-left:3px solid var(--line-strong);
  padding:2px 0 2px 12px;
  margin:14px 0;
  line-height:1.55;
}
.note a{color:var(--navy-2)}

.callout{
  background:var(--gold-soft);
  border:1px solid #e2d3ad;
  padding:14px 16px;
  font-size:14px;
  margin:16px 0;
  border-radius:var(--radius-sm);
  line-height:1.55;
}
.callout strong{color:#5a461a}
.callout a{
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.3);
}
.callout a:hover{
  color:#0f4778;
  border-bottom-color:#0f4778;
}

.callout-strong{
  background:#fbf7ee;
  border:1px solid #f0dfb6;
  border-left:4px solid var(--gold);
  border-radius:var(--radius);
  padding:18px 20px;
  font-size:14px;
  line-height:1.65;
  margin:14px 0 0;
}
.callout-strong strong{display:block;color:var(--navy);margin-bottom:6px;font-size:14.5px}
.callout-strong a{color:#0f4778}
.callout-link{margin:12px 0 0;font-size:13px}

/* NEW: bright "visit office" callout — high visibility */
.callout-visit{
  background:linear-gradient(135deg,#fff8e1 0%,#fff3c4 100%);
  border:1px solid #e3c570;
  border-left:5px solid var(--gold);
  border-radius:var(--radius);
  padding:18px 22px;
  margin:16px 0;
  font-size:14.5px;
  line-height:1.65;
  color:#4a3610;
  box-shadow:0 2px 10px rgba(176,141,63,.12);
}
.callout-visit strong{display:block;color:#5a461a;font-size:15px;margin-bottom:6px}
.callout-visit a{
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.35);
}
.callout-visit a:hover{border-bottom-color:#0f4778}

/* ---------- 05. HEADER — all four bars ---------- */

/* Demo banner */
.demo-banner{
  background:#fbf3dc;
  color:#6b5218;
  text-align:center;
  font-size:11px;
  font-weight:600;
  letter-spacing:.5px;
  padding:7px 12px;
  border-bottom:1px solid #ecdcae;
}

/* Utility bar */
.utility-bar{
  background:#0b1f38;
  color:#cdd8e6;
  font-size:12px;
  border-bottom:1px solid #1e3a5f;
}
.utility-bar-inner{
  max-width:var(--page-max);
  margin:0 auto;
  padding-top:7px;
  padding-bottom:7px;
  padding-left:max(20px, env(safe-area-inset-left));
  padding-right:max(20px, env(safe-area-inset-right));
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
}
.utility-season{
  color:var(--gold-bright);
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
  font-size:11px;
}
.utility-sep{color:#3b5a80}
.utility-reg{color:#a9b8cb}
.utility-reg a{
  color:#fff;
  text-decoration:none;
  border-bottom:1px dashed rgba(240,213,143,.5);
  font-weight:600;
}
.utility-reg a:hover{
  color:var(--gold-bright);
  border-bottom-color:var(--gold-bright);
}
.utility-verify{
  margin-left:auto;
  color:var(--gold-bright);
  text-decoration:none;
  font-weight:600;
  font-size:11.5px;
  border-bottom:1px solid transparent;
  padding:4px 0;
}
.utility-verify:hover{border-bottom-color:var(--gold-bright)}

 
/* Main site header */
.site-header{
  background:var(--navy);
  color:#fff;
  border-bottom:1px solid #1e3a5f;
}
.site-header-inner,
.site-header > .nav{
  max-width:var(--page-max);
  margin:0 auto;
  padding:12px 20px;
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  min-height:64px;
}
.site-header-inner{justify-content:space-between}

/* Brand */
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-family:var(--font-head);
  font-size:20px;
  font-weight:600;
  letter-spacing:.3px;
  text-decoration:none;
  flex-shrink:0;
}
.brand:hover{color:var(--gold-bright);text-decoration:none}
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  background:var(--gold);
  color:var(--navy);
  border-radius:6px;
  font-weight:700;
  font-family:var(--font-head);
  font-size:16px;
  flex-shrink:0;
  line-height:1;
}
.brand-mark svg{
  width:22px;
  height:22px;
  display:block;
  flex-shrink:0;
}
.brand-text{
  font-family:var(--font-head);
  font-weight:600;
  letter-spacing:.3px;
  white-space:nowrap;
}

/* Nav */
.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid #3b5a80;
  color:#fff;
  padding:8px 12px;
  border-radius:var(--radius-sm);
  font:inherit;
  font-size:14px;
  cursor:pointer;
}
.primary-nav{
  flex:1 1 auto;
  display:flex;
  justify-content:flex-end;
}
.nav-links{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:2px;
  margin:0;
  padding:0;
}
.nav-links a{
  display:block;
  padding:8px 10px;
  color:#dbe4ef;
  text-decoration:none;
  font-size:14px;
  border-radius:var(--radius-sm);
  transition:background .15s ease, color .15s ease;
}
.nav-links a:hover{background:var(--navy-3);color:#fff}
.nav-links a[aria-current="page"]{
  background:var(--navy-3);
  color:#fff;
  font-weight:600;
}

.header-cta{
  display:inline-block;
  padding:9px 16px;
  background:var(--gold);
  color:var(--navy);
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  border-radius:var(--radius-sm);
  white-space:nowrap;
  transition:background .15s ease, color .15s ease, box-shadow .15s ease;
  flex-shrink:0;
}
.header-cta:hover{
  background:var(--gold-bright);
  color:var(--navy);
  text-decoration:none;
  box-shadow:0 3px 10px rgba(176,141,63,.35);
}

/* Contact bar */
.contact-bar{
  background:#f4f7fb;
  border-bottom:1px solid var(--line);
  font-size:12.5px;
  color:#3b4a5e;
}
.contact-bar-inner{
  max-width:var(--page-max);
  margin:0 auto;
  padding-top:9px;
  padding-bottom:9px;
  padding-left:max(20px, env(safe-area-inset-left));
  padding-right:max(20px, env(safe-area-inset-right));
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 22px;
}
.contact-item{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  line-height:1.5;
}
.contact-icon{font-size:12px;line-height:1}
.contact-address strong{color:var(--navy)}
.contact-bar a{color:#0f4778;text-decoration:none;font-weight:600}
.contact-bar a:hover{color:var(--gold)}

/* NEW: green phone + WhatsApp */
.contact-phone,
.contact-phone:link,
.contact-phone:visited{
  color:var(--wa-green-dark) !important;
  font-weight:700;
  text-decoration:none;
  border-bottom:1px dashed rgba(18,140,126,.35);
}
.contact-phone:hover{
  color:var(--wa-green) !important;
  border-bottom-color:var(--wa-green);
}
.contact-whatsapp{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--wa-green) !important;
  font-weight:700;
  text-decoration:none;
}
.contact-whatsapp:hover{color:var(--wa-green-dark) !important}

 

/* NEW: offices strip (Accra office + other countries) */
.offices-strip{
  background:#f7f9fb;
  border-bottom:1px solid var(--line);
  font-size:12.5px;
}
.offices-strip-inner{
  max-width:var(--page-max);
  margin:0 auto;
  padding:10px max(20px, env(safe-area-inset-left)) 10px max(20px, env(safe-area-inset-right));
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  align-items:center;
}
.offices-strip-label{
  color:var(--navy);
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
  font-size:10.5px;
}
.office-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 10px;
  border-radius:999px;
  font-size:11.5px;
  font-weight:600;
  line-height:1.35;
  color:#fff;
  text-decoration:none;
}
 
/* ---------- 06. WHATSAPP green ---------- */
 
 

 
 
.whatsapp-icon{
  display:inline-block;
  width:14px;
  height:14px;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325d366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  vertical-align:-2px;
  flex-shrink:0;
}

/* ---------- 07. NEW: Entity / Registration band ---------- */
.entity-band{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--paper);
  box-shadow:var(--shadow-sm);
  margin:18px 0;
}
.entity-band > div{
  padding:16px 20px;
  border-right:1px solid var(--line);
}
.entity-band > div:last-child{border-right:0}
.entity-label{
  display:block;
  font-size:10.5px;
  letter-spacing:1.1px;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700;
  margin-bottom:6px;
}
.entity-value{
  display:block;
  font-family:var(--font-head);
  font-size:17px;
  color:var(--navy);
  font-weight:600;
  line-height:1.25;
}
.entity-value--green{color:var(--safari-green-dark)}
.entity-value a{color:inherit;text-decoration:none}
.entity-value a:hover{color:var(--gold)}
.entity-reg{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 12px;
  border-radius:4px;
  background:var(--safari-green-soft);
  color:var(--safari-green-dark);
  font-family:var(--mono);
  font-size:14px;
  font-weight:700;
  letter-spacing:.5px;
  border:1px solid rgba(76,175,80,.35);
}

/* NEW: registration number, highly visible, green */
.reg-number{
  display:inline-block;
  padding:3px 10px;
  border-radius:4px;
  background:var(--safari-green-soft);
  color:var(--safari-green-dark) !important;
  font-family:var(--mono);
  font-size:.95em;
  font-weight:700;
  letter-spacing:.4px;
  border:1px solid rgba(76,175,80,.4);
  text-decoration:none;
}
.reg-number--red{
  background:#fdecea;
  color:#b3261e !important;
  border-color:rgba(179,38,30,.35);
}
a.reg-number:hover{background:var(--gold-soft);color:#5a461a !important;border-color:#e2d3ad}

/* ---------- 08. NEW: Office boxes grid (Ghana / Nigeria / SA / Uganda) ---------- */
.office-box-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:16px 0 4px;
}
.office-status {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 20px;
  background: rgba(10, 22, 40, 0.06);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.office-box--gh .office-status {
  background: rgba(26, 122, 90, 0.12);
  color: var(--green);
}
.office-box{
  position:relative;
  padding:16px 18px 14px;
  border-radius:var(--radius);
  background:var(--paper);
  border:1px solid var(--line);
  border-top:4px solid var(--navy);
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease;
}
.office-box:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.office-box-country{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:var(--font-head);
  font-size:14px;
  font-weight:600;
  color:var(--navy);
  margin-bottom:6px;
}
.office-box-country span.dot{
  width:8px;height:8px;border-radius:50%;
  display:inline-block;
}
.office-box-lines{
  font-size:12.5px;
  line-height:1.55;
  color:var(--ink-soft);
  margin:0;
}
.office-box-lines a{
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.25);
}
.office-box-lines a:hover{border-bottom-color:#0f4778}
.office-box--gh{border-top-color:#0d6b3f}
.office-box--gh .dot{background:#0d6b3f}
.office-box--ng{border-top-color:#1f6b5e}
.office-box--ng .dot{background:#1f6b5e}
.office-box--za{border-top-color:#b07a2a}
.office-box--za .dot{background:#b07a2a}
.office-box--ug{border-top-color:#5a3a8a}
.office-box--ug .dot{background:#5a3a8a}

/* ---------- 09. Footer ---------- */
.site-footer{
  background:var(--navy);
  color:#c9d4e2;
  margin-top:56px;
  font-size:13px;
}
.footer-inner{
  max-width:var(--page-max);
  margin:0 auto;
  padding:36px 20px 24px;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1.3fr;
  gap:28px;
}
.footer-inner:not(:has(.footer-col)){
  grid-template-columns:1.4fr 1fr 1fr;
}

.footer-brand-name{
  display:block;
  color:#fff;
  font-family:var(--font-head);
  font-size:18px;
  letter-spacing:.3px;
  margin-bottom:8px;
}
.footer-legal{
  margin:0 0 10px;
  line-height:1.65;
  color:#a9b8cb;
  font-size:12.5px;
}
.footer-legal code{
  font-family:var(--mono);
  background:var(--navy-3);
  color:var(--gold-bright);
  padding:1px 5px;
  border-radius:3px;
}
.footer-col h2{
  font-family:var(--font-body);
  font-size:11px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:#8fa4bd;
  margin:0 0 10px;
  font-weight:700;
}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin:0 0 6px}
.footer-col a{color:#dbe4ef;text-decoration:none}
.footer-col a:hover{color:var(--gold-bright)}
.footer-col a[href*="wa.me"]{color:var(--wa-green)}
.footer-col a[href*="wa.me"]:hover{color:var(--wa-green-dark)}
.footer-address{font-style:normal;line-height:1.7;color:#a9b8cb}
.footer-address a{color:var(--gold-bright)}
.footer-address a[href*="wa.me"]{color:var(--wa-green)}
.footer-address a[href*="wa.me"]:hover{color:var(--wa-green-dark)}

.footer-inner > div:not(.footer-col){
  font-size:12.5px;
  line-height:1.75;
  color:#a9b8cb;
}
.footer-inner > div:not(.footer-col) strong{
  display:block;
  color:#fff;
  font-family:var(--font-head);
  font-size:16px;
  font-weight:600;
  letter-spacing:.3px;
  margin-bottom:6px;
}
.footer-inner > div:not(.footer-col) a{
  color:#dbe4ef;
  text-decoration:none;
}
.footer-inner > div:not(.footer-col) a:hover{color:var(--gold-bright)}

.footer-bottom{border-top:1px solid #1e3a5f}
.footer-bottom-inner{
  max-width:var(--page-max);
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  color:#8fa4bd;
}

/* ---------- 10. Page shell + sidebar + content ---------- */
.shell,
.layout{
  max-width:var(--content-max);
  margin:0 auto;
  padding:32px 24px 48px;
  display:grid;
  grid-template-columns:var(--sidebar-w) minmax(0,1fr);
  gap:28px;
  align-items:start;
}

.sidebar{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
  padding:18px 0 8px;
  position:sticky;
  top:16px;
  z-index:1;
  max-height:calc(100vh - 32px);
  overflow-y:auto;
}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:3px}
.sidebar::-webkit-scrollbar-track{background:transparent}

.sidebar h2{
  font-family:var(--font-body);
  font-size:10.5px;
  letter-spacing:1.3px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 10px;
  padding:0 18px;
  font-weight:700;
}
.sidebar nav ul,
.sidebar > ul{list-style:none;margin:0;padding:0;border-left:0}
.sidebar > ul li,
.sidebar nav ul li{margin-bottom:0}
.sidebar nav a,
.sidebar > ul a{
  display:block;
  padding:8px 18px;
  font-size:13.5px;
  color:var(--ink-soft);
  text-decoration:none;
  border-left:3px solid transparent;
  line-height:1.4;
  transition:background .12s ease, color .12s ease, border-color .12s ease;
}
.sidebar nav a:hover,
.sidebar > ul a:hover{
  color:var(--navy);
  background:#f4f6f9;
  border-left-color:var(--line-strong);
}
.sidebar nav a:focus-visible,
.sidebar > ul a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:-2px;
  background:#fff;
  color:var(--navy);
}
.sidebar nav a[aria-current="page"],
.sidebar > ul a[aria-current="page"]{
  color:var(--navy);
  font-weight:600;
  background:#f0f5fc;
  border-left-color:var(--gold);
}
.sidebar .side-note{
  font-size:12.5px;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding:14px 18px 0;
  margin-top:12px;
  line-height:1.55;
}

.content{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
  min-width:0;
  overflow:hidden;
  padding:0;
}

/* ---------- 11. Content header ---------- */
.content > .kicker{padding:26px 32px 0;margin:0 0 6px}
.content > h1{
  padding:0 32px;
  margin:0 0 12px;
  font-size:30px;
  line-height:1.2;
  letter-spacing:-.2px;
}
.content > .lead{
  padding:0 32px;
  margin:0 0 20px;
  font-size:16.5px;
  color:var(--ink-soft);
  line-height:1.6;
  max-width:72ch;
}

.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  margin:0 32px 24px;
  border:0;
  background:transparent;
  font-size:12.5px;
  color:var(--ink-soft);
}
.meta-row > span{
  display:inline-flex;
  gap:6px;
  align-items:baseline;
  padding:6px 14px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12.5px;
  color:var(--ink-soft);
  line-height:1.35;
}
.meta-row strong{
  font-family:var(--font-body);
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:var(--navy);
}
.meta-row a{
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.3);
}
.meta-row a:hover{
  color:#0f4778;
  border-bottom-color:#0f4778;
}

/* ---------- 12. Content sections ---------- */
.content > section:not(.section-cta){
  padding:24px 32px 28px;
  border-bottom:1px solid var(--line);
}
.content > section:not(.section-cta):last-child{
  border-bottom:0;
  padding-bottom:32px;
}
.content > section:not(.section-cta) > h2{
  position:relative;
  font-family:var(--font-head);
  font-size:21px;
  line-height:1.3;
  color:var(--navy);
  font-weight:600;
  margin:0 0 14px;
  padding:0 0 10px 16px;
  border-bottom:1px solid var(--line);
}
.content > section:not(.section-cta) > h2::before{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  bottom:14px;
  width:4px;
  border-radius:2px;
  background:var(--navy);
}
.content > section:not(.section-cta) > p{max-width:72ch}
.content > section:not(.section-cta) > p:last-child{margin-bottom:0}

.content > section > h3{
  font-family:var(--font-head);
  font-size:17px;
  color:var(--navy);
  font-weight:600;
  margin:24px 0 6px;
  padding-bottom:6px;
  border-bottom:1px solid var(--line);
  line-height:1.3;
}
.content > section > h3:first-of-type{margin-top:18px}

.section-intro-sm{
  font-size:13px;
  color:var(--muted);
  margin:0 0 4px;
  line-height:1.5;
  max-width:70ch;
}

.anchor-link{scroll-margin-top:20px}

.content > .section-cta{
  padding:28px 32px;
  background:#f8fafc;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  margin:0;
  text-align:center;
}
.content > .section-cta h2{
  font-size:22px;
  color:var(--navy);
  margin:0 0 8px;
  padding:0;
  border:0;
}
.content > .section-cta h2::before{display:none}
.content > .section-cta p{
  font-size:14.5px;
  color:var(--ink-soft);
  margin:0 auto 18px;
  max-width:600px;
}
.content > .section-cta .cta-row{justify-content:center}

 

/* ---------- 13. Landing page ---------- */
.landing{
  max-width:var(--page-max);
  margin:0 auto;
  padding:0 20px;
}
.hero-split{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:36px;
  padding:44px 0 32px;
  border-bottom:1px solid var(--line);
}
.hero-copy h1{
  font-size:32px;
  line-height:1.22;
  color:var(--navy);
  margin:0 0 14px;
  letter-spacing:-.2px;
}
.hero-copy .lead{
  font-size:16px;
  color:var(--ink-soft);
  margin:0 0 22px;
  max-width:640px;
}
.hero-footnote{
  font-size:12.5px;
  color:var(--muted);
  margin:18px 0 0;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.hero-footnote code{
  background:#eef2f7;
  padding:1px 6px;
  border-radius:3px;
  color:var(--navy);
}

.trust-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-top:4px solid var(--gold);
  border-radius:var(--radius);
  padding:20px 22px;
  align-self:start;
  box-shadow:var(--shadow-sm);
}
.trust-panel-title{
  font-family:var(--font-body);
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--navy);
  margin:0 0 14px;
  font-weight:700;
}
.trust-panel-list{margin:0}
.trust-panel-list > div{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  align-items:baseline;
}
.trust-panel-list > div:last-child{border-bottom:0}
.trust-panel-list dt{
  font-size:11.5px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.5px;
  margin:0;
  font-weight:600;
}
.trust-panel-list dd{margin:0;font-size:14px;color:var(--navy);font-weight:600}
.trust-panel-list dd code{
  font-weight:400;
  background:#eef2f7;
  padding:1px 6px;
  border-radius:3px;
}
.trust-panel-list dd .reg-number{font-size:13px}
.trust-panel-link{
  display:inline-block;
  margin-top:14px;
  font-size:13px;
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.3);
}
.trust-panel-link:hover{border-bottom-color:#0f4778}

.landing > .section{padding:40px 0}
.landing > .section:not(.section-cta){border-bottom:1px solid var(--line)}
.section-head{margin-bottom:24px}
.section-head .kicker{margin-bottom:6px}
.section-head h2{font-size:22px;color:var(--navy);margin:0 0 8px;line-height:1.3}
.section-intro{font-size:15px;color:var(--ink-soft);margin:0;max-width:720px}

.landing > .section.section-cta{
  padding:32px 28px;
  background:#f5f7fa;
  border:1px solid var(--line);
  border-radius:var(--radius);
  margin:40px 0 56px;
  text-align:center;
}
.section-cta h2{
  font-size:22px;
  color:var(--navy);
  margin:0 0 10px;
  padding-bottom:0;
  border-bottom:0;
}
.section-cta p{
  font-size:15px;
  color:var(--ink-soft);
  margin:0 auto 20px;
  max-width:640px;
}
.section-cta .cta-row{justify-content:center}

/* ---------- 14. Trust badges — new single-line facts ribbon ---------- */
.trust-strip-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin:20px 0 24px;
  padding:14px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.trust-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  color:var(--ink-soft);
  line-height:1.3;
  text-decoration:none;
}
.trust-badge-icon{
  flex-shrink:0;
  width:16px;
  height:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#dcfce7;
  color:var(--green);
  border-radius:50%;
  font-weight:700;
  font-size:10px;
  line-height:1;
}
.trust-badge strong{color:var(--navy);font-weight:600}

 

/* ---------- 15. Figures table num-col ---------- */
.data-table .num-col{
  text-align:right;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.data-table .num-col strong{
  font-family:var(--font-head);
  font-size:20px;
  color:var(--navy);
  font-weight:600;
}

/* ---------- 16. Live activity + colours ---------- */
.live-dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--safari-green);
  margin-right:6px;
  box-shadow:0 0 0 3px rgba(76,175,80,.18);
  animation:pulse-dot 2.2s infinite;
}

/* the green dot in first table column */
.live-status-dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--safari-green);
  box-shadow:0 0 0 3px rgba(76,175,80,.15);
  animation:pulse-dot 2.2s infinite;
}

@keyframes pulse-dot{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(.85)}
}

.live-table td, .live-table th{vertical-align:middle}
.live-table .live-status-col{width:26px;text-align:center;padding-right:0}
.live-table .live-value-col{text-align:right;font-variant-numeric:tabular-nums}

/* NEW: colour each live metric */
.live-table tr:nth-child(1) .live-value-col strong{color:var(--safari-green-dark)} /* secured = green */
.live-table tr:nth-child(2) .live-value-col strong{color:var(--deadline-red)}      /* refunds = red */
.live-table tr:nth-child(3) .live-value-col strong{color:var(--safari-green)}      /* applying = green */

/* new classes for use directly if wanted */
.live-secured{color:var(--safari-green-dark) !important;font-weight:700}
.live-refunds{color:var(--deadline-red) !important;font-weight:700}
.live-current{color:var(--safari-green) !important;font-weight:700}
.pulse-green{animation:pulse-green-soft 2.4s ease-in-out infinite}
@keyframes pulse-green-soft{
  0%,100%{opacity:1}
  50%{opacity:.55}
}

/* ---------- 17. Shared components ---------- */
.clarity-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin:14px 0 18px;
}
.clarity-col{padding:22px 24px}
.clarity-yes{background:var(--ok-bg);border-right:1px solid var(--line)}
.clarity-no{background:var(--warn-bg)}
.clarity-col h3{
  font-family:var(--font-body);
  font-size:12.5px;
  letter-spacing:.8px;
  text-transform:uppercase;
  margin:0 0 14px;
  font-weight:700;
}
.clarity-yes h3{color:var(--ok)}
.clarity-no h3{color:var(--warn)}
.clarity-col ul{margin:0;padding:0;list-style:none}

.checklist,
.crosslist{list-style:none;margin:0;padding:0}
.checklist li,
.crosslist li{
  position:relative;
  padding-left:26px;
  margin:0 0 10px;
  font-size:14.5px;
  line-height:1.5;
}
.checklist li:last-child,
.crosslist li:last-child{margin-bottom:0}
.checklist li::before{
  content:"";
  position:absolute;
  left:2px;
  top:7px;
  width:12px;
  height:6px;
  border-left:2px solid var(--ok);
  border-bottom:2px solid var(--ok);
  transform:rotate(-45deg);
}
.crosslist li::before{
  content:"×";
  position:absolute;
  left:3px;
  top:-3px;
  color:var(--warn);
  font-size:17px;
  font-weight:700;
  line-height:1.4;
}

.steps{
  list-style:none;
  counter-reset:step;
  padding:0;
  margin:14px 0 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--paper);
}
.steps li{
  counter-increment:step;
  position:relative;
  padding:22px 22px 22px 58px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-size:14px;
  color:var(--ink-soft);
  margin:0;
  line-height:1.5;
}
.steps li:nth-child(3n){border-right:0}
.steps li:nth-child(n+4){border-bottom:0}
.steps li:last-child{border-right:0}
.steps li::before{
  content:counter(step);
  position:absolute;
  left:18px;
  top:20px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  font-family:var(--font-body);
  font-size:12px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.steps li strong{
  display:block;
  font-family:var(--font-head);
  color:var(--navy);
  font-size:15px;
  margin-bottom:4px;
  font-weight:600;
  letter-spacing:.1px;
}

/* Tables */
table.data,
table.data-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin:14px 0 18px;
}
table.data th,
table.data td,
table.data-table th,
table.data-table td{
  text-align:left;
  vertical-align:top;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}
table.data tbody th,
table.data-table tbody th{
  width:38%;
  color:var(--navy);
  font-weight:600;
  background:#f0f3f6;
  border-right:1px solid var(--line);
}
table.data thead th,
table.data-table thead th{
  background:#f0f3f6;
  color:var(--navy);
  font-weight:700;
  font-size:12px;
  letter-spacing:.5px;
  text-transform:uppercase;
  border-right:1px solid var(--line);
  padding:10px 14px;
}
table.data thead th:last-child,
table.data-table thead th:last-child{border-right:0}
table.data tr:last-child th,
table.data tr:last-child td,
table.data-table tr:last-child th,
table.data-table tr:last-child td{border-bottom:0}

.data-table .table-cta{
  padding:6px 12px;
  font-size:12px;
  white-space:nowrap;
  display:inline-block;
  text-decoration:none;
}
.data-table td:has(.table-cta){vertical-align:middle}

/* NEW: scholarship table column colours */
.col-host{color:var(--brown);font-weight:600}
.col-level{color:#1d4ed8;font-weight:600}
.col-deadline{color:var(--deadline-red);opacity:.8;font-weight:600}
.col-helped{color:var(--safari-green-dark);font-weight:700}

/* Apply via Aventra — soft green/amber button that fades in/out */
.btn-apply{
  display:inline-block;
  padding:7px 14px;
  border-radius:var(--radius-sm);
  border:1px solid #e0b400;
  background:#ffd400;
  color:#3d2c00 !important;
  font-weight:800;
  font-size:12px;
  text-decoration:none !important;
  white-space:nowrap;
  animation:fade-breathe 1.8s ease-in-out infinite;
}
.btn-apply:hover{
  background:#ffbe00;
  border-color:#c99e00;
  color:#1a1200 !important;
  animation-play-state:paused;
}
@keyframes fade-breathe{
  0%,100%{background:#ffd400;box-shadow:0 0 0 0 rgba(255,212,0,.6)}
  50%{background:#fff2a8;box-shadow:0 0 0 6px rgba(255,212,0,0)}
}

/* Official source — blue */
.col-source a{
  color:var(--blue);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(37,99,235,.3);
}
.col-source a:hover{
  color:#1e3a8a;
  border-bottom-color:#1e3a8a;
}
.col-source a::after{
  content:" ↗";
  font-size:.85em;
}

.fees-layout{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:20px;
  align-items:start;
}
.fees-table{margin:0}

/* Stat rows */
.stat-row{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  border-bottom:1px solid var(--line);
}
.stat{padding:20px 18px;border-right:1px solid var(--line)}
.stat:first-child{padding-left:0}
.stat:last-child{border-right:0;padding-right:0}
.stat-value{
  display:block;
  font-family:var(--font-head);
  font-size:24px;
  font-weight:600;
  color:var(--navy);
  line-height:1.1;
}
.stat-label{
  display:block;
  font-size:11.5px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.6px;
  margin-top:6px;
  font-weight:600;
}
.stat-row--bordered{
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--paper);
  margin:0 0 20px;
}
.stat-row--bordered .stat{
  padding:18px 20px;
  border-right:1px solid var(--line);
  border-bottom:0;
}
.stat-row--bordered .stat:first-child{padding-left:20px}
.stat-row--bordered .stat:last-child{border-right:0;padding-right:20px}

.stat-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:var(--radius);
  overflow:hidden;
  margin:20px 0 28px;
}
.stat-strip > div{padding:16px 18px;border-right:1px solid var(--line)}
.stat-strip > div:last-child{border-right:0}
.stat-strip .v{
  display:block;
  font-family:var(--font-head);
  font-size:26px;
  color:var(--navy);
  line-height:1.1;
}
.stat-strip .l{display:block;font-size:12px;color:var(--muted);margin-top:4px;letter-spacing:.3px}

/* ---------- 18. Premium verify cards (Verify Us page) ---------- */
.verify-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:14px 0 0}
.verify-card{
  position:relative;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 24px 22px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .22s ease, transform .22s ease, border-color .22s ease;
  overflow:hidden;
}
.verify-card::before{
  content:"";
  position:absolute;
  left:0;top:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--gold) 0%,var(--gold-bright) 100%);
}
.verify-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-2px);
  border-color:var(--line-strong);
}
.verify-card h3{
  font-family:var(--font-head);
  font-size:16px;
  color:var(--navy);
  margin:6px 0 8px;
  font-weight:600;
}
.verify-card p{font-size:14px;margin:0 0 16px;flex:1;color:var(--ink-soft);line-height:1.6}
.verify-card .btn{
  margin-top:auto;
  align-self:flex-start;
  font-size:13px;
  padding:9px 16px;
}
.verify-card code{
  background:var(--safari-green-soft);
  padding:1px 6px;
  border-radius:3px;
  font-size:13px;
  color:var(--safari-green-dark);
  font-weight:700;
}
.verify-card .btn-secondary{
  border-color:var(--gold);
  background:#fffaf0;
  color:#5a461a;
}
.verify-card .btn-secondary:hover{
  background:var(--gold-bright);
  border-color:var(--gold);
  color:var(--navy);
}

/* Visit office card — extra trust, extra visibility */
.verify-card--visit{
  border-color:#e3c570;
  background:linear-gradient(180deg,#fffdf5 0%,#fff8e1 100%);
}
.verify-card--visit::before{
  background:linear-gradient(90deg,#b08d3f 0%,#f0d58f 50%,#b08d3f 100%);
}
.verify-card--visit h3{color:#5a461a}

/* dl-grid */
.dl-grid{
  display:grid;
  grid-template-columns:max-content 1fr;
  gap:12px 28px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 24px;
  font-size:14px;
  margin:0 0 16px;
  align-items:baseline;
}
.dl-grid dt{
  color:var(--muted);
  text-transform:uppercase;
  font-size:11.5px;
  letter-spacing:.6px;
  font-weight:700;
  margin:0;
}
.dl-grid dd{margin:0;color:var(--navy);font-weight:500}
.dl-grid a{color:#0f4778}

.content .dl-grid{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  gap:0;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:0;
  margin:14px 0 18px;
  font-size:14px;
  overflow:hidden;
  align-items:stretch;
}
.content .dl-grid dt,
.content .dl-grid dd{
  padding:11px 14px;
  margin:0;
  border-bottom:1px solid var(--line);
  line-height:1.5;
  display:flex;
  align-items:center;
}
.content .dl-grid dt{
  background:#f0f3f6;
  color:var(--navy);
  font-weight:600;
  font-size:13px;
  letter-spacing:0;
  text-transform:none;
  border-right:1px solid var(--line);
  width:auto;
  white-space:normal;
}
.content .dl-grid dd{color:var(--ink);font-weight:400}
.content .dl-grid dt:last-of-type,
.content .dl-grid dd:last-of-type{border-bottom:0}
.content .dl-grid a{
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.3);
}
.content .dl-grid a:hover{border-bottom-color:#0f4778}
.content .dl-grid code{
  background:#eef2f7;
  padding:1px 6px;
  border-radius:3px;
  color:var(--navy);
  font-size:13px;
}

/* Per-section dl-grid theming */
#who .dl-grid dt{background:#e8eef6;color:var(--navy)}
#who .dl-grid dd{color:var(--navy-2)}
#funding .dl-grid dt{background:var(--amber-soft);color:var(--amber-ink)}
#funding .dl-grid dd{color:#4a3610}
#office .dl-grid dt{background:var(--blue-soft);color:var(--blue)}
#office .dl-grid dd{color:var(--blue-ink)}
#details .dl-grid dt{background:var(--blue-soft);color:var(--blue)}
#details .dl-grid dd{color:var(--blue-ink)}
#hours .dl-grid dt{background:var(--green-soft);color:var(--green)}
#hours .dl-grid dd{color:var(--green-ink)}
#entity .dl-grid dt{background:#e8eef6;color:var(--navy)}
#report .dl-grid dt{background:#f2e9fd;color:#5b21b6}
#report .dl-grid dd{color:#3b1774}
#summary .dl-grid dt,
#fee .dl-grid dt{background:var(--amber-soft);color:var(--amber-ink)}
#summary .dl-grid dd,
#fee .dl-grid dd{color:#4a3610}
#service .dl-grid dt{background:#e8eef6;color:var(--navy)}
#regions .dl-grid dt{background:var(--blue-soft);color:var(--blue)}
#regions .dl-grid dd{color:var(--blue-ink)}
#figures .dl-grid dt,
#budget .dl-grid dt{background:var(--amber-soft);color:var(--amber-ink)}
#figures .dl-grid dd,
#budget .dl-grid dd{color:#4a3610}

/* FAQ */
.faq{
  border:1px solid var(--line);
  background:var(--paper);
  margin:0 0 24px;
  border-radius:var(--radius);
  overflow:hidden;
}
.faq details{border-bottom:1px solid var(--line)}
.faq details:last-child{border-bottom:0}
.faq summary{
  cursor:pointer;
  list-style:none;
  padding:14px 44px 14px 18px;
  font-weight:600;
  color:var(--navy);
  position:relative;
  font-size:15.5px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:20px;
  font-weight:400;
  color:var(--gold);
  line-height:1;
}
.faq details[open] summary::after{content:"–"}
.faq details[open] summary{background:#f0f3f6}
.faq .answer{padding:2px 18px 16px;font-size:14.5px;color:var(--ink);max-width:72ch}
.faq .answer p:last-child{margin-bottom:0}

.compare{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border:1px solid var(--line);
  background:var(--paper);
  border-radius:var(--radius);
  overflow:hidden;
}
.compare > div{padding:18px 20px}
.compare > div + div{border-left:1px solid var(--line)}
.compare h3{
  font-family:var(--font-body);
  font-size:12px;
  letter-spacing:1.1px;
  text-transform:uppercase;
  margin:0 0 10px;
  font-weight:700;
}
.compare .yes h3{color:var(--ok)}
.compare .no h3{color:var(--warn)}
.compare ul{margin:0;padding-left:18px;font-size:14.5px}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.contact-form{
  background:#f9fafc;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  margin:14px 0 20px;
}
.form-grid{display:grid;grid-template-columns:200px 1fr;gap:12px 16px;align-items:start}
.form-grid label{
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  padding-top:10px;
}
.form-grid input,
.form-grid select,
.form-grid textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--line-strong);
  border-radius:5px;
  font:inherit;
  font-size:14px;
  background:#fff;
  color:var(--ink);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus{
  outline:2px solid var(--navy);
  outline-offset:1px;
  border-color:var(--navy);
}
.form-grid textarea{resize:vertical;min-height:120px}
.form-note{font-size:12px;color:var(--muted);margin:14px 0}
.contact-form .btn-primary{border:0;cursor:pointer}

.content .section{margin:0 0 24px}
.content .section > h2{
  font-size:20px;
  margin:0 0 12px;
  padding-bottom:6px;
  border-bottom:1px solid var(--line);
}
.content .section > h3{
  font-size:16px;
  margin:18px 0 8px;
  font-family:var(--font-body);
  color:var(--navy-2);
  font-weight:700;
}

/* Contact channels */
.contact-channels{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:14px 0 4px;
}
.channel{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:16px 18px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  text-decoration:none;
  box-shadow:var(--shadow-sm);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.channel:hover{
  border-color:var(--navy);
  box-shadow:var(--shadow-md);
  transform:translateY(-1px);
  text-decoration:none;
}
.channel-label{
  font-size:10.5px;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
  color:var(--gold);
}
.channel-value{
  font-size:14px;
  color:var(--navy);
  font-weight:600;
  line-height:1.3;
  text-decoration:none;
  word-break:break-word;
}
.channel:hover .channel-value{color:var(--navy-2)}
.channel-response{
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
  line-height:1.35;
}

/* Self-serve */
.self-serve-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin:14px 0 4px;
}
.self-serve{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:14px 16px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  border-radius:var(--radius-sm);
  text-decoration:none;
  transition:background .15s ease, border-color .15s ease;
}
.self-serve:hover{
  background:#f0f5fc;
  border-left-color:var(--navy);
  text-decoration:none;
}
.self-serve strong{font-size:13.5px;color:var(--navy);font-weight:600;line-height:1.3}
.self-serve span{font-size:12.5px;color:var(--ink-soft);line-height:1.45}

/* Form help */
.form-help{
  background:#f8fafc;
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  border-radius:var(--radius-sm);
  padding:14px 18px;
  margin:14px 0 18px;
}
.form-help strong{
  display:block;
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--navy);
  margin-bottom:8px;
  font-weight:700;
}
.form-help p{font-size:13px;color:var(--ink-soft);margin:0 0 8px;line-height:1.5}
.form-help ul{margin:0;padding-left:18px;font-size:13px;color:var(--ink-soft);line-height:1.6}
.form-help li{margin-bottom:3px}

.form-fallback{
  font-size:13px;
  color:var(--ink-soft);
  margin:0 0 14px;
  padding:12px 16px;
  background:#f8fafc;
  border:1px dashed var(--line-strong);
  border-radius:var(--radius-sm);
  line-height:1.55;
}
.form-fallback a{color:#0f4778}

/* Service grid */
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:16px 0 4px;
}
.service-item{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 22px 18px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .18s ease, transform .18s ease;
}
.service-item:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
.service-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--navy);
  color:var(--gold-bright);
  font-family:var(--font-head);
  font-size:13px;
  font-weight:700;
  line-height:1;
  margin-bottom:12px;
}
.service-item h3{
  font-family:var(--font-head);
  font-size:15.5px;
  color:var(--navy);
  margin:0 0 8px;
  font-weight:600;
  line-height:1.25;
}
.service-item p{font-size:13.5px;line-height:1.55;color:var(--ink-soft);margin:0}

/* Doc grid */
.doc-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:16px 0;
}
.doc-group{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px 20px 14px;
  box-shadow:var(--shadow-sm);
}
.doc-group h3{
  font-family:var(--font-body);
  font-size:11.5px;
  letter-spacing:1.1px;
  text-transform:uppercase;
  color:var(--navy);
  font-weight:700;
  margin:0 0 12px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
}
.doc-group .checklist li{font-size:13.5px;margin:0 0 8px;line-height:1.45}
.doc-group .checklist li:last-child{margin-bottom:0}

/* Timeline */
.timeline{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  position:relative;
}
.timeline::before{
  content:"";
  position:absolute;
  left:80px;
  top:12px;
  bottom:12px;
  width:2px;
  background:var(--line);
}
.timeline li{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:24px;
  padding:12px 0;
  margin:0;
  position:relative;
}
.timeline li::before{
  content:"";
  position:absolute;
  left:74px;
  top:20px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--paper);
  border:3px solid var(--gold);
  z-index:1;
}
.timeline-year{
  font-family:var(--font-head);
  font-size:15px;
  font-weight:700;
  color:var(--navy);
  text-align:right;
  padding-right:4px;
  padding-top:6px;
}
.timeline-body strong{
  display:block;
  font-family:var(--font-head);
  font-size:15.5px;
  color:var(--navy);
  margin-bottom:2px;
  font-weight:600;
}
.timeline-body p{margin:0;font-size:14px;color:var(--ink-soft);line-height:1.5}

/* Letter */
.letter{
  background:#fdfdf9;
  border:1px solid #e8e2cf;
  border-left:4px solid var(--gold);
  border-radius:var(--radius);
  padding:0;
  margin:0 0 18px;
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.letter-head{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 26px;
  background:#faf6ea;
  border-bottom:1px solid #ede4cc;
}
.letter-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--navy);
  color:var(--gold-bright);
  font-family:var(--font-head);
  font-size:20px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  letter-spacing:.5px;
}
.letter-meta{display:flex;flex-direction:column;line-height:1.35}
.letter-meta strong{font-family:var(--font-head);font-size:17px;color:var(--navy);font-weight:600}
.letter-meta span{font-size:12.5px;color:var(--muted)}
.letter-date{font-style:italic;margin-top:2px}
.letter-body{
  padding:20px 26px 24px;
  font-size:15px;
  line-height:1.75;
  color:var(--ink);
  max-width:68ch;
}
.letter-body p{margin:0 0 1em}
.letter-body p:last-child{margin-bottom:0}
.letter-sign{margin-top:22px !important;line-height:1.5}
.letter-signature{
  display:block;
  font-family:var(--font-head);
  font-style:italic;
  font-size:22px;
  color:var(--navy);
  margin:8px 0 0;
  line-height:1;
}
.letter-sign-name{
  display:block;
  font-size:12.5px;
  font-weight:600;
  color:var(--navy);
  margin-top:6px;
}

.team-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 24px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease, transform .2s ease;
}
.team-card:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
.team-photo{
  width:56px;
  height:56px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-3) 100%);
  color:var(--gold-bright);
  font-family:var(--font-head);
  font-size:20px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  letter-spacing:.5px;
}
.team-card h3{
  font-family:var(--font-head);
  font-size:17px;
  color:var(--navy);
  margin:0 0 3px;
  font-weight:600;
}
/* ==========================================================================
   TEAM — LEAD CARD (director, larger, full width)
   ========================================================================== */

.team-lead {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  align-items: start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 16px 0 22px;
}

.team-lead-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 5px var(--gold),
    0 6px 18px rgba(176, 141, 63, .22);
  flex-shrink: 0;
}

.team-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.team-lead-role {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 4px;
}

.team-lead-body h3 {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.25;
}

.team-lead-bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 62ch;
}

.team-lead-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.team-lead-meta dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 3px;
}

.team-lead-meta dd {
  font-size: 13px;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.team-lead-meta a {
  color: #0f4778;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 71, 120, .3);
}

.team-lead-meta a:hover {
  border-bottom-color: #0f4778;
}


/* ==========================================================================
   TEAM — SPECIALIST CARDS (small, 3 across)
   ========================================================================== */

.team-card-meta {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}

.team-card-meta > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  align-items: baseline;
}

.team-card-meta dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.team-card-meta dd {
  font-size: 12.5px;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
}

/* Photo container in specialist cards */
.team-card .team-photo {
  overflow: hidden;
  padding: 0;
  margin: 0 0 12px;
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Team grid — 3 across (not 4) since lead card handles the 4th */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}


/* ==========================================================================
   TEAM — MOBILE
   ========================================================================== */

@media (max-width: 900px) {
  .team-lead {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }

  .team-lead-photo {
    margin: 0 auto;
    width: 120px;
    height: 120px;
  }

  .team-lead-meta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-role{
  font-size:12px;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--gold);
  margin:0 0 12px;
}
.team-bio{font-size:13.5px;line-height:1.55;color:var(--ink-soft);margin:0 0 14px;flex:1}
.team-mail{
  font-size:12.5px;
  color:#0f4778;
  text-decoration:none;
  border-bottom:1px solid rgba(15,71,120,.3);
  align-self:flex-start;
}
.team-mail:hover{border-bottom-color:#0f4778}

/* Values */
.values-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin:16px 0;
}
.value{
  background:var(--paper);
  border:1px solid var(--line);
  border-top:3px solid var(--gold);
  border-radius:var(--radius);
  padding:18px 20px;
  box-shadow:var(--shadow-sm);
}
.value h3{font-family:var(--font-head);font-size:15.5px;color:var(--navy);margin:0 0 8px;font-weight:600}
.value p{font-size:13.5px;line-height:1.6;color:var(--ink-soft);margin:0}

/* Refund stats + story cards */
.refund-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid #c7e5d1;
  background:linear-gradient(135deg,#f6fcf8 0%, #ecf9f0 100%);
  border-radius:var(--radius);
  overflow:hidden;
  margin:16px 0 18px;
}
.refund-stat{padding:18px 18px 16px;border-right:1px solid #c7e5d1}
.refund-stat:last-child{border-right:0}
.refund-value{
  display:block;
  font-family:var(--font-head);
  font-size:26px;
  font-weight:600;
  color:var(--green);
  line-height:1.05;
  letter-spacing:-.3px;
}
.refund-label{
  display:block;
  font-size:11.5px;
  color:var(--green);
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-top:6px;
  font-weight:600;
  line-height:1.35;
}

 

/* ---------- 19. MOBILE ---------- */

/* Prevent iOS auto-zoom on form fields */
@media screen and (max-width:768px){
  .form-grid input,
  .form-grid select,
  .form-grid textarea{
    font-size:16px !important;
  }
}

/* Tablet and below — 1080px */
@media(max-width:1080px){
  .shell,
  .layout{padding:24px 20px 40px;gap:22px}
  .content > .kicker{padding:24px 24px 0}
  .content > h1{padding:0 24px}
  .content > .lead{padding:0 24px}
  .meta-row{margin:0 24px 22px}
  .content > section:not(.section-cta){padding:22px 24px 26px}
  .content > .section-cta{padding:24px 24px}
}

/* Small tablets — 960px */
@media(max-width:960px){
  .hero-split{grid-template-columns:1fr;gap:24px}
  .stat-row{grid-template-columns:repeat(3,1fr)}
  .stat:nth-child(3n){border-right:0}
  .stat:nth-child(-n+3){border-bottom:1px solid var(--line)}
  .stat:nth-child(4){padding-left:0}
  .stat-row--bordered{grid-template-columns:repeat(2,1fr)}
  .stat-row--bordered .stat{padding:16px 18px}
  .stat-row--bordered .stat:nth-child(2n){border-right:0}
  .stat-row--bordered .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .stat-row--bordered .stat:first-child,
  .stat-row--bordered .stat:last-child{padding:16px 18px}
  .stat-row--bordered .stat:nth-child(odd){padding-left:18px}
  .fees-layout{grid-template-columns:1fr}
  .verify-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .steps li:nth-child(3n){border-right:1px solid var(--line)}
  .steps li:nth-child(2n){border-right:0}
  .steps li:nth-child(n+4){border-bottom:1px solid var(--line)}
  .steps li:nth-child(n+5){border-bottom:0}
  .steps li:last-child{border-right:0}
  .footer-inner{grid-template-columns:1fr 1fr}
  .footer-inner:not(:has(.footer-col)){grid-template-columns:1fr 1fr}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .doc-grid{grid-template-columns:1fr 1fr}
  .team-grid,
  .values-grid{grid-template-columns:1fr}
  .contact-channels{grid-template-columns:repeat(2,1fr)}
  .self-serve-grid{grid-template-columns:1fr}
  .refund-stats{grid-template-columns:repeat(2,1fr)}
  .refund-stat:nth-child(2n){border-right:0}
  .refund-stat:nth-child(-n+2){border-bottom:1px solid #c7e5d1}
  .story-grid{grid-template-columns:1fr}
   

  /* office boxes go 2-col on tablet */
  .office-box-grid{grid-template-columns:repeat(2,1fr)}
}

/* Responsive — sidebar collapse + nav hamburger, at ≤900px */
@media(max-width:900px){
  /* Page shell collapses to single column */
  .shell,
  .layout{
    grid-template-columns:1fr;
    gap:18px;
    padding:20px 18px 36px;
  }

  /* Sidebar becomes horizontal chips at top */
  .sidebar{
    position:static;
    max-height:none;
    overflow-y:visible;
    padding:14px 0 12px;
  }
  .sidebar h2{padding:0 16px}
  .sidebar nav ul,
  .sidebar > ul{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    padding:0 12px;
  }
  .sidebar nav a,
  .sidebar > ul a{
    border-left:0;
    border:1px solid var(--line);
    border-radius:var(--radius-sm);
    padding:8px 14px;
    font-size:13px;
    background:#f8fafc;
    min-height:40px;
    display:inline-flex;
    align-items:center;
  }
  .sidebar nav a[aria-current="page"],
  .sidebar > ul a[aria-current="page"]{
    background:var(--navy);
    color:#fff;
    border-color:var(--navy);
    border-left:0;
  }
  .sidebar .side-note{display:none}

  /* Nav becomes hamburger */
  .nav-toggle{display:inline-block;min-height:44px;min-width:44px;padding:10px 14px}
  .primary-nav{display:none;flex-basis:100%;order:5}
  .primary-nav.is-open{display:block}
  .nav-links{
    flex-direction:column;
    gap:0;
    border-top:1px solid #1e3a5f;
    margin-top:8px;
    padding-top:8px;
  }
  .nav-links a{
    padding:14px 12px;
    min-height:44px;
    display:flex;
    align-items:center;
  }

  /* Header + contact bar + buttons adapt to touch */
  .site-header-inner{gap:10px}
  .brand{font-size:18px}
  .brand-mark{width:28px;height:28px;font-size:15px}
  .header-cta{
    order:4;
    flex-basis:100%;
    text-align:center;
    margin-top:8px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
  }
  .utility-bar-inner{gap:4px 10px;font-size:11.5px}
  .utility-verify{
    margin-left:0;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    padding:0 4px;
  }
  .contact-bar-inner{gap:4px 14px;font-size:12px}
  .contact-address{flex-basis:100%}
  .contact-bar a{
    display:inline-flex;
    align-items:center;
    min-height:32px;
  }
  .btn{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px;
  }
}

/* Phones — 720px */
@media(max-width:720px){
  .hero-copy h1{font-size:26px}
  .stat-row{grid-template-columns:1fr 1fr}
  .stat{padding:16px 14px}
  .stat:nth-child(3n){border-right:1px solid var(--line)}
  .stat:nth-child(2n){border-right:0}
  .stat:nth-child(2n+1){padding-left:0}
  .stat:nth-child(4){padding-left:14px}
  .stat:nth-child(-n+4){border-bottom:1px solid var(--line)}
  .stat:nth-child(n+5){border-bottom:0}
  .clarity-grid{grid-template-columns:1fr}
  .clarity-yes{border-right:0;border-bottom:1px solid var(--line)}
  .verify-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .steps li{border-right:0}
  .steps li:nth-child(n+5){border-bottom:1px solid var(--line)}
  .steps li:last-child{border-bottom:0}
  .trust-panel-list > div{grid-template-columns:1fr;gap:2px}
  .dl-grid{grid-template-columns:1fr;gap:4px}
  .dl-grid dt{margin-top:8px}
  .dl-grid dd{margin-bottom:4px}
  .content .dl-grid{grid-template-columns:1fr}
  .content .dl-grid dt{
    background:#f4f6f9;
    border-right:0;
    border-bottom:0;
    padding:10px 14px 2px;
    font-size:11px;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:var(--muted);
    font-weight:700;
  }
  .content .dl-grid dd{
    padding:0 14px 12px;
    border-bottom:1px solid var(--line);
    background:#f4f6f9;
  }
  .content .dl-grid dt:last-of-type,
  .content .dl-grid dd:last-of-type{border-bottom:0}
  #who .dl-grid dt{background:#e8eef6;color:var(--navy)}
  #who .dl-grid dd{background:#e8eef6}
  #funding .dl-grid dt{background:var(--amber-soft);color:var(--amber-ink)}
  #funding .dl-grid dd{background:var(--amber-soft)}
  #office .dl-grid dt{background:var(--blue-soft);color:var(--blue)}
  #office .dl-grid dd{background:var(--blue-soft)}
  #details .dl-grid dt{background:var(--blue-soft);color:var(--blue)}
  #details .dl-grid dd{background:var(--blue-soft)}
  #regions .dl-grid dt{background:var(--blue-soft);color:var(--blue)}
  #regions .dl-grid dd{background:var(--blue-soft)}
  #report .dl-grid dt{background:#f2e9fd;color:#5b21b6}
  #report .dl-grid dd{background:#f2e9fd}
  #summary .dl-grid dt,
  #fee .dl-grid dt,
  #figures .dl-grid dt,
  #budget .dl-grid dt{background:var(--amber-soft);color:var(--amber-ink)}
  #summary .dl-grid dd,
  #fee .dl-grid dd,
  #figures .dl-grid dd,
  #budget .dl-grid dd{background:var(--amber-soft)}
  .meta-row{gap:6px;margin:0 18px 20px}
  .meta-row > span{font-size:12px;padding:5px 12px}
  .content > .kicker{padding:20px 18px 0}
  .content > h1{padding:0 18px;font-size:25px}
  .content > .lead{padding:0 18px;font-size:15.5px}
  .content > section:not(.section-cta){padding:20px 18px 22px}
  .content > section:not(.section-cta) > h2{font-size:19px;padding-left:14px}
  .content > section:not(.section-cta) > h2::before{width:3px;top:4px;bottom:12px}
  .content > .section-cta{padding:22px 18px}
  table.data th,
  table.data td,
  table.data-table th,
  table.data-table td{padding:9px 10px;font-size:13px}
  table.data thead th,
  table.data-table thead th{font-size:11px;padding:8px 10px}
  .data-table .num-col strong{font-size:16px}
  .landing > .section{padding:32px 0}
  .landing > .section.section-cta{padding:26px 18px;margin:32px 0 44px}
   
  .footer-inner{grid-template-columns:1fr}
  .footer-inner:not(:has(.footer-col)){grid-template-columns:1fr}
  .footer-bottom-inner{flex-direction:column}
  .contact-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .form-grid label{padding-top:0;font-size:12.5px}
  .contact-form{padding:18px 18px}
  .service-grid{grid-template-columns:1fr}
  .doc-grid{grid-template-columns:1fr}
  .contact-channels{grid-template-columns:1fr}
  .self-serve-grid{grid-template-columns:1fr}
  .letter-head{padding:14px 18px}
  .letter-body{padding:16px 18px 20px;font-size:14.5px}
  .letter-avatar{width:44px;height:44px;font-size:16px}
  .timeline::before{left:60px}
  .timeline li{grid-template-columns:60px 1fr;gap:18px}
  .timeline li::before{left:54px}
  .timeline-year{font-size:13.5px}
  .refund-stats{grid-template-columns:1fr}
  .refund-stat{border-right:0;border-bottom:1px solid #c7e5d1}
  .refund-stat:last-child{border-bottom:0}
  .trust-strip-badges{padding:12px 0}
  .trust-badge{font-size:11.5px;padding:5px 10px}

  /* office boxes single column */
  .office-box-grid{grid-template-columns:1fr}

  /* entity band single column */
  .entity-band{grid-template-columns:1fr}
  .entity-band > div{border-right:0;border-bottom:1px solid var(--line)}
  .entity-band > div:last-child{border-bottom:0}

  /* Mobile: real scroll container for wrapped tables */
  .table-scroll{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    margin:14px 0 18px;
    border:1px solid var(--line);
    border-radius:var(--radius);
    background:var(--paper);
  }
  .table-scroll > .data-table,
  .table-scroll > .data{
    margin:0;
    border:0;
    border-radius:0;
    min-width:560px;               /* forces overflow → real scroll */
  }
  .table-scroll::after{
    content:"← scroll to see more →";
    display:block;
    padding:8px 10px;
    background:#f8fafc;
    border-top:1px solid var(--line);
    font-size:11px;
    color:var(--muted);
    text-align:center;
  }
}
/* Small phones — 640px */
@media(max-width:640px){
  .stat-row--bordered{grid-template-columns:1fr}
  .stat-row--bordered .stat{
    border-right:0;
    border-bottom:1px solid var(--line);
    padding:14px 18px;
  }
  .stat-row--bordered .stat:last-child{border-bottom:0}
}

/* Very small phones — 560px */
@media(max-width:560px){
 
  .utility-bar-inner{
    gap:4px 10px;
    font-size:11.5px;
    padding-top:8px;
    padding-bottom:8px;
  }
  .utility-verify{margin-left:0}
  .contact-bar-inner{
    gap:4px 14px;
    font-size:12px;
    padding-top:10px;
    padding-bottom:10px;
  }
  .contact-address{flex-basis:100%;margin-bottom:2px}
  .landing,
  .layout,
  .shell,
  .site-header-inner,
  .site-header > .nav,
  .footer-inner,
  .footer-bottom-inner{padding-left:14px;padding-right:14px}
  .hero-copy h1{font-size:23px}
  .cta-row{flex-direction:column;align-items:stretch}
  .cta-row .btn{text-align:center;width:100%}
  .content > .kicker{padding:18px 14px 0}
  .content > h1{padding:0 14px}
  .content > .lead{padding:0 14px}
  .meta-row{margin:0 14px 18px}
  .content > section:not(.section-cta){padding:18px 14px 20px}
  .content > .section-cta{padding:20px 14px}
  .brand-text{font-size:17px}
  .brand-mark{width:26px;height:26px;font-size:14px}
}

/* ---------- 20. Print ---------- */
@media print{
  .site-header,
  .utility-bar,
  .contact-bar,
  .offices-strip,
  .trust-strip,
  .office-bar,
  .site-footer,
  .sidebar,
  .cta-row,
  .skip-link,
  .demo-banner{display:none !important}
  .shell,
  .layout{grid-template-columns:1fr;padding:0}
  .content{border:0;box-shadow:none}
  body{background:#fff}
  a{color:var(--ink);text-decoration:underline}
}


/* ============================================================
   AVENTRA WORLD
   SCHOLARSHIP DATA TABLE — EXECUTIVE PRESENTATION
   Scope: #open-scholarships only
   ============================================================ */

/* 1. TABLE CONTAINER
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 26px 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #dce4ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(13, 36, 64, 0.075);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #9aaabd #edf1f5;
}

#open-scholarships .scholarship-table-wrap:focus-visible {
  outline: 3px solid rgba(197, 163, 91, 0.55);
  outline-offset: 3px;
}

/* 2. TABLE FOUNDATION
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table {
  display: table;
  width: 100%;
  min-width: 1080px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.55;
}

/* Balanced column proportions */
#open-scholarships .scholarship-table th:nth-child(1) {
  width: 21%;
}

#open-scholarships .scholarship-table th:nth-child(2) {
  width: 13%;
}

#open-scholarships .scholarship-table th:nth-child(3) {
  width: 10%;
}

#open-scholarships .scholarship-table th:nth-child(4) {
  width: 14%;
}

#open-scholarships .scholarship-table th:nth-child(5) {
  width: 17%;
}

#open-scholarships .scholarship-table th:nth-child(6) {
  width: 11%;
}

#open-scholarships .scholarship-table th:nth-child(7) {
  width: 14%;
}

/* 3. CELL ALIGNMENT AND SPACING
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table th,
#open-scholarships .scholarship-table td {
  padding: 15px 13px;
  vertical-align: middle;
  text-align: left;
  border-right: 1px solid #edf1f5;
  border-bottom: 1px solid #e7edf3;
  overflow-wrap: break-word;
  word-break: normal;
}

#open-scholarships .scholarship-table th:last-child,
#open-scholarships .scholarship-table td:last-child {
  border-right: 0;
}

#open-scholarships .scholarship-table tbody tr:last-child th,
#open-scholarships .scholarship-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 4. HEADER — CLEAR EXECUTIVE HIERARCHY
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table thead th {
  padding: 16px 12px;
  background: #102b4e;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  white-space: normal;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 0;
}
 

/* 5. PROGRAMME NAME — PRIMARY INFORMATION
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table tbody th[scope="row"] {
  min-width: 185px;
  background: #f7f9fc;
  color: #102b4e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* 6. HOST COUNTRY */
#open-scholarships .scholarship-table tbody td:nth-child(2) {
  color: #79502f;
  font-weight: 500;
}

/* 7. STUDY LEVEL */
#open-scholarships .scholarship-table tbody td:nth-child(3) {
  color: #1f6b5e;
  font-weight: 500;
}

/* 8. OFFICIAL DEADLINE */
#open-scholarships .scholarship-table tbody td:nth-child(4) {
  color: #9f3038;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* 9. APPLY VIA AVENTRA WORLD — PROFESSIONAL GREEN
   ------------------------------------------------------------ */

/* 9. APPLY VIA AVENTRA WORLD — YELLOW BLINK
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table tbody td:nth-child(5) {
  text-align: center;
}

#open-scholarships .scholarship-table .table-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: 0 2px 6px rgba(13, 36, 64, 0.15);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#open-scholarships .scholarship-table .table-cta:hover {
  background: var(--navy-2);
  color: #fff;
  border-color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(13, 36, 64, 0.25);
}

#open-scholarships .scholarship-table .table-cta:focus-visible {
  outline: 3px solid rgba(224, 180, 0, 0.5);
  outline-offset: 3px;
}

/* 10. STUDENTS HELPED — STRONG GREEN
   ------------------------------------------------------------ */
#open-scholarships .scholarship-table tbody td:nth-child(6) {
  color: #102b4e;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* 11. OFFICIAL SOURCE — BLUE
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table tbody td:nth-child(7) a {
  color: #2454a6;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(36, 84, 166, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

#open-scholarships .scholarship-table tbody td:nth-child(7) a:hover {
  color: #15366f;
  text-decoration-color: currentColor;
}

/* 12. ROW PRESENTATION — SUBTLE, NOT DISTRACTING
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table tbody tr {
  transition: background-color 0.18s ease;
}

#open-scholarships .scholarship-table tbody tr:hover th,
#open-scholarships .scholarship-table tbody tr:hover td {
  filter: brightness(0.975);
}

 

/* 14. TABLE SCROLL HINT ON SMALL SCREENS
   ------------------------------------------------------------ */

#open-scholarships .scholarship-table-wrap::after {
  content: "Scroll horizontally to view all scholarship details →";
  display: none;
  padding: 10px 13px;
  background: #f5f7fa;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid #e7edf3;
}

/* 15. TABLET AND MOBILE
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  #open-scholarships .scholarship-table {
    min-width: 1050px;
  }

  #open-scholarships .scholarship-table th,
  #open-scholarships .scholarship-table td {
    padding: 13px 11px;
  }
}

@media (max-width: 720px) {
  #open-scholarships .scholarship-table-wrap {
    margin-top: 20px;
    border-radius: 10px;
  }

  #open-scholarships .scholarship-table {
    display: table;
    width: 100%;
    min-width: 1050px;
    table-layout: fixed;
  }

  #open-scholarships .scholarship-table thead {
    display: table-header-group;
  }

  #open-scholarships .scholarship-table tbody {
    display: table-row-group;
  }

  #open-scholarships .scholarship-table tr {
    display: table-row;
  }

  #open-scholarships .scholarship-table th,
  #open-scholarships .scholarship-table td {
    display: table-cell;
    padding: 12px 10px;
    font-size: 12px;
  }

  #open-scholarships .scholarship-table thead th {
    font-size: 10px;
  }

  #open-scholarships .scholarship-table-wrap::after {
    display: block;
  }
}

/* 16. REDUCED MOTION ACCESSIBILITY
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  #open-scholarships .scholarship-table .table-cta {
    animation: none;
    transition: none;
  }

  #open-scholarships .scholarship-table tbody tr,
  #open-scholarships .scholarship-table tbody td a {
    transition: none;
  }
}
/* Prevent the old global table scroll message
   from appearing inside the scholarship table */
#open-scholarships .scholarship-table::after {
  content: none;
  display: none;
}



/* ==========================================================================
   SUCCESS STORIES — extras (modal, photo avatars, share CTA)
   ========================================================================== */

 /* ==========================================================================
   SUCCESS STORIES — avatars, layout, share CTA, modal
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Avatar — shared base (photos + initials)
   -------------------------------------------------------------------------- */

.story-avatar {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  line-height: 1;
  overflow: hidden;
  /* Fallback background — guarantees a coloured circle even outside .story-grid */
  background: linear-gradient(135deg, #1e3a8a 0%, #2c4fa1 100%);
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 3px rgba(13, 36, 64, .12),
    0 2px 6px rgba(13, 36, 64, .10);
}


/* --------------------------------------------------------------------------
   2. Photo avatar — African portrait, square crop, gold ring
   -------------------------------------------------------------------------- */

.story-avatar--photo {
  object-fit: cover;
  object-position: center 30%;
  background: #e5eaf1;
  padding: 0;
  color: #102b4e; /* visible fallback if image fails to load */
  font-size: 10px;
  text-align: center;
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 3px var(--gold),
    0 2px 6px rgba(13, 36, 64, .14);
  transition: box-shadow .18s ease, transform .18s ease;
}

.story-card:hover .story-avatar--photo {
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 3px var(--gold-bright),
    0 4px 12px rgba(176, 141, 63, .28);
  transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   3. Initial avatar — 8 rotating colour palettes
   -------------------------------------------------------------------------- */

.story-card:nth-child(8n + 1) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #1e3a8a 0%, #2c4fa1 100%);
}
.story-card:nth-child(8n + 2) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #0d6b3f 0%, #17864f 100%);
}
.story-card:nth-child(8n + 3) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #b07a2a 0%, #c99239 100%);
}
.story-card:nth-child(8n + 4) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #7a4b1f 0%, #996128 100%);
}
.story-card:nth-child(8n + 5) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #1f6b5e 0%, #2a8779 100%);
}
.story-card:nth-child(8n + 6) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #5a3a8a 0%, #7048a6 100%);
}
.story-card:nth-child(8n + 7) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #963943 0%, #a94a54 100%);
}
.story-card:nth-child(8n + 8) .story-avatar:not(.story-avatar--photo) {
  background: linear-gradient(135deg, #44546a 0%, #556a85 100%);
}

.story-card:hover .story-avatar:not(.story-avatar--photo) {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 3px rgba(13, 36, 64, .22),
    0 4px 10px rgba(13, 36, 64, .16);
}


/* --------------------------------------------------------------------------
   4. Story-head — tighter, name never wraps
   -------------------------------------------------------------------------- */

.story-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.story-head > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.story-head strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-head span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}


/* --------------------------------------------------------------------------
   5. Story card — compact premium
   -------------------------------------------------------------------------- */

.story-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 16px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.story-programme {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
  line-height: 1.35;
}

.story-quote {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  flex: 1;
}

.story-outcome {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  background: #eaf7ea;
  border: 1px solid #bde5c8;
  border-radius: 999px;
  padding: 3px 10px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .45px;
  line-height: 1.3;
}


/* --------------------------------------------------------------------------
   6. Story grid — tighter, more per row on wide screens
   -------------------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0 18px;
}

@media (min-width: 1280px) {
  .story-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* --------------------------------------------------------------------------
   7. Share-your-story CTA
   -------------------------------------------------------------------------- */

.story-share-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
  padding: 12px 16px;
  background: #fbf7ee;
  border: 1px solid #f0dfb6;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.5;
}

.story-share-cta > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 220px;
  flex: 1 1 320px;
}

.story-share-cta strong {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
}

.story-share-cta span {
  color: var(--ink-soft);
  font-size: 13px;
}

.story-share-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.story-share-cta--large {
  padding: 18px 20px;
  margin: 12px 0 20px;
}

.story-share-cta--large strong {
  font-size: 16px;
}


/* --------------------------------------------------------------------------
   8. Modal
   -------------------------------------------------------------------------- */

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.share-modal[hidden] {
  display: none;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 36, 64, .55);
  backdrop-filter: blur(2px);
}

.share-modal-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(13, 36, 64, .28);
  padding: 22px 24px 20px;
  animation: share-modal-in .18s ease-out;
}

@keyframes share-modal-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.share-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.share-modal-head h2 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin: 0;
  font-weight: 600;
}

.share-modal-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
}

.share-modal-close:hover {
  color: var(--navy);
  background: #f2f5f9;
}


/* --------------------------------------------------------------------------
   9. Form
   -------------------------------------------------------------------------- */

.share-modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.share-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.share-field--wide {
  grid-column: 1 / -1;
}

.share-field > span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .2px;
}

.share-field input,
.share-field select,
.share-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.share-field input:focus,
.share-field select:focus,
.share-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 36, 64, .1);
}

.share-field textarea {
  resize: vertical;
  min-height: 90px;
}

.share-consent {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 2px 0 0;
  padding: 8px 10px;
  background: #f8fafc;
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.share-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}


/* --------------------------------------------------------------------------
   10. Uploading / success states
   -------------------------------------------------------------------------- */

.share-modal-state {
  text-align: center;
  padding: 22px 8px 8px;
}

.share-state-title {
  font-family: var(--font-head);
  font-size: 16.5px;
  color: var(--navy);
  margin: 12px 0 4px;
  font-weight: 600;
}

.share-state-sub {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 360px;
  line-height: 1.55;
}

.share-spinner {
  width: 40px;
  height: 40px;
  margin: 6px auto 0;
  border-radius: 50%;
  border: 4px solid rgba(13, 36, 64, .12);
  border-top-color: var(--navy);
  animation: share-spin .8s linear infinite;
}

@keyframes share-spin {
  to { transform: rotate(360deg); }
}

.share-check {
  width: 52px;
  height: 52px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: #e7f7ec;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid #a5dbb5;
  animation: share-pop .3s ease-out;
}

@keyframes share-pop {
  0% { transform: scale(.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.share-modal-state--success .share-state-title {
  color: var(--green);
}


/* --------------------------------------------------------------------------
   11. Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .share-modal {
    padding: 10px;
  }
  .share-modal-panel {
    padding: 18px 16px 16px;
    max-height: calc(100vh - 20px);
  }
  .share-modal-form {
    grid-template-columns: 1fr;
  }
  .story-share-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .story-share-cta .btn {
    width: 100%;
    text-align: center;
  }
  .story-avatar {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
}


/* --------------------------------------------------------------------------
   12. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .share-modal-panel,
  .share-spinner,
  .share-check,
  .story-avatar--photo,
  .story-avatar:not(.story-avatar--photo) {
    animation: none;
    transition: none;
  }
}

/* ==========================================================================
/* ==========================================================================
   HOMEPAGE STORY STRIP — horizontal marquee
   Default: swipeable horizontal row.
   When JS enables .is-marquee: cards scroll right-to-left at a slow speed.
   Pauses on hover/focus. Falls back to scroll on mobile + reduced-motion.
   ========================================================================== */

.story-strip {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 0 14px;
}
.story-strip::-webkit-scrollbar { display: none; }

.story-strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-right: 16px;
}

.story-strip-track .story-card {
  flex: 0 0 300px;
  min-width: 300px;
}

/* Marquee mode — enabled by JS after duplicating content */
.story-strip.is-marquee {
  overflow-x: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.story-strip.is-marquee .story-strip-track {
  animation: story-marquee var(--marquee-duration, 60s) linear infinite;
  will-change: transform;
}
.story-strip.is-marquee:hover .story-strip-track,
.story-strip.is-marquee:focus-within .story-strip-track {
  animation-play-state: paused;
}
@keyframes story-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-end, -50%)); }
}

/* Footer buttons below the strip stay static */
.story-strip-footer {
  opacity: 1;
  transform: none;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Mobile: force swipe-scroll, disable marquee */
@media (max-width: 640px) {
  .story-strip.is-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
    scroll-snap-type: x mandatory;
  }
  .story-strip.is-marquee .story-strip-track {
    animation: none;
  }
  .story-strip-track { gap: 12px; }
  .story-strip-track .story-card {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
  }
}

/* Reduced motion: static scroll only */
@media (prefers-reduced-motion: reduce) {
  .story-strip.is-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .story-strip.is-marquee .story-strip-track {
    animation: none;
  }
}

/* Contact form — send button row */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.form-actions .btn {
  min-width: 160px;
}
.required {
  color: #b3261e;
  font-weight: 700;
}
/* ==========================================================================
   STORY STRIP — NUCLEAR OVERRIDE
   Forces horizontal layout with !important so nothing else can override.
   Safe to keep at the end of the file. Bypasses all prior cascade issues.
   ========================================================================== */

.story-strip {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 6px 0 14px !important;
}

.story-strip::-webkit-scrollbar { display: none !important; }

.story-strip-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: max-content !important;
  padding-right: 16px !important;
  animation: story-marquee-nuclear var(--marquee-duration, 60s) linear infinite !important;
  will-change: transform !important;
}

.story-strip:hover .story-strip-track,
.story-strip:focus-within .story-strip-track {
  animation-play-state: paused !important;
}

.story-strip-track .story-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 300px !important;
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@keyframes story-marquee-nuclear {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-end, -50%)); }
}

/* Mobile: swipe-scroll, no auto-marquee */
@media (max-width: 640px) {
  .story-strip {
    overflow-x: auto !important;
  }
  .story-strip-track {
    animation: none !important;
  }
  .story-strip-track .story-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
}

/* Reduced motion: no auto-scroll */
@media (prefers-reduced-motion: reduce) {
  .story-strip-track {
    animation: none !important;
  }
}