:root{
  --ink:#10192E;
  --navy:#1B2A4A;
  --navy-soft:#2C3F63;
  --gold:#E8A93C;
  --gold-soft:#F4CE83;
  --teal:#3E6B63;
  --paper:#F7F5EF;
  --paper-dim:#EFEBE0;
  --white:#FFFFFF;
  --line: rgba(16,25,46,0.12);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  line-height:1.5;
  overflow-x:hidden;
}
h1,h2,h3, .display{
  /* font-family:'Fraunces', serif; */
  font-family: "Calibri", sans-serif;
  font-weight:500;
  letter-spacing:-0.01em;
  color:var(--ink);
}
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 32px; }

/* Focus visibility */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,245,239,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 32px; max-width:1160px; margin:0 auto;
}
.logo{
  /* font-family:'Fraunces', serif; */
  font-family: "Calibri", sans-serif;
  font-weight:600; font-size:22px;
  display:flex; align-items:center; gap:8px;
}
.logo .dot{
  width:9px; height:9px; border-radius:50%; background:var(--gold);
  display:inline-block;
}
.nav-links{ display:flex; gap:36px; align-items:center; }
.nav-links a{
  font-size:15px; font-weight:500; color:var(--navy);
  position:relative; padding:4px 0;
}
.nav-links a.primary{
  background:var(--ink); color:var(--white);
  padding:10px 20px; border-radius:100px;
  transition:background 0.2s ease, transform 0.2s ease;
}
.nav-links a.primary:hover{ background:var(--navy-soft); transform:translateY(-1px); }
@media (max-width:720px){
  .nav-links a:not(.primary){ display:none; }
}

/* ---------- MARKER HIGHLIGHT SIGNATURE ---------- */
.mark{ position:relative; white-space:nowrap; display:inline-block; }
.mark svg{
  position:absolute; left:-2%; top:8%; width:104%; height:90%;
  overflow:visible; pointer-events:none;
}
.mark svg path{
  fill:none;
  stroke:var(--gold);
  stroke-width:14;
  stroke-linecap:round;
  opacity:0.55;
  stroke-dasharray:400;
  stroke-dashoffset:400;
}
.mark.in-view svg path{
  animation:draw-mark 0.7s cubic-bezier(.22,.9,.35,1) forwards;
  animation-delay:0.15s;
}
@keyframes draw-mark{ to{ stroke-dashoffset:0; } }
.mark span{ position:relative; z-index:1; }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  padding:120px 32px 100px;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0; z-index:0;
  background-image: radial-gradient(circle, var(--line) 1.4px, transparent 1.4px);
  background-size:26px 26px;
  mask-image: radial-gradient(ellipse 65% 60% at 65% 35%, black 40%, transparent 85%);
  opacity:0.9;
}
.hero-inner{
  position:relative; z-index:1;
  max-width:1160px; margin:0 auto;
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--teal); margin-bottom:22px;
}
.eyebrow::before{
  content:''; width:22px; height:1px; background:var(--teal);
}
.hero h1{
  /* font-size:clamp(38px, 5.4vw, 62px);
  line-height:1.0.6; */
  font-size:clamp(44px, 5.4vw, 66px);
  line-height:1.0;
  margin-bottom:22px;
}
.hero p.lede{
  font-size:19px; color:var(--navy-soft); max-width:46ch; margin-bottom:34px;
}
.cta-row{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; border-radius:100px;
  font-weight:600; font-size:15.5px;
  transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary{ background:var(--ink); color:var(--white); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(16,25,46,0.22); }
.btn-ghost{ color:var(--navy); border:1.5px solid var(--line); background:transparent; }
.btn-ghost:hover{ border-color:var(--navy); background:var(--white); }
.btn svg{ width:16px; height:16px; }

/* stamp cluster in hero */
.stamp-field{ position:relative; height:360px; }
.stamp{
  position:absolute; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  /* font-family:'Fraunces', serif; */
  font-family: "Calibri", sans-serif;
  border:1.5px dashed;
}
.stamp-1{
  width:210px; height:210px; top:10px; left:60px;
  background:var(--navy); color:var(--paper); border-color:rgba(247,245,239,0.35);
  font-size:15px; font-weight:500; line-height:1.3; padding:20px;
  transform:rotate(-6deg);
  box-shadow:0 24px 50px rgba(16,25,46,0.28);
}
.stamp-2{
  width:118px; height:118px; top:220px; left:0px;
  background:var(--gold); color:var(--ink); border-color:rgba(16,25,46,0.25);
  font-size:12.5px; font-weight:600; padding:14px; line-height:1.25;
  transform:rotate(9deg);
  box-shadow:0 14px 28px rgba(232,169,60,0.35);
}
.stamp-3{
  width:132px; height:132px; top:60px; right:0;
  background:var(--white); color:var(--navy); border-color:var(--line);
  font-size:12.5px; font-weight:600; padding:14px; line-height:1.3;
  transform:rotate(4deg);
  box-shadow:0 16px 32px rgba(16,25,46,0.12);
}
@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
  .stamp-field{ height:220px; }
  .stamp-1{ width:150px; height:150px; font-size:12px; left:20px; }
  .stamp-2{ width:90px; height:90px; font-size:10.5px; top:150px; }
  .stamp-3{ width:100px; height:100px; font-size:10.5px; top:20px; }
}

/* ---------- SECTION SCAFFOLDING ---------- */
section{ padding:88px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(26px, 3.4vw, 36px); margin-bottom:14px; }
.section-head p{ color:var(--navy-soft); font-size:16.5px; }
.divider{
  border:none; height:1px; background:var(--line);
}

/* ---------- LOGO STRIPS ---------- */
.strip-section{ padding:64px 0; }
.strip-label{
  font-size:30px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--teal); margin-bottom:26px;
}
.logo-row{
  display:flex; flex-wrap:wrap; gap:14px;
}
.logo-chip{
  flex:1 1 150px; min-width:150px; max-width:210px;
  height:76px; border-radius:12px;
  border:1px solid var(--line);
  background:var(--white);
  display:flex; align-items:center; justify-content:center;
  /* font-family:'Fraunces', serif; */
  font-family: "Calibri", sans-serif; font-weight:500; font-size:15px;
  color:var(--navy-soft);
  transition:transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.logo-chip:hover{ transform:translateY(-3px); box-shadow:0 12px 20px rgba(16,25,46,0.08); color:var(--ink); }

.uni-strip{ background:var(--navy); border-radius:22px; padding:52px 40px; color:var(--paper); }
.uni-strip .strip-label{ color:var(--gold-soft); }
.uni-strip .section-head h2, .uni-strip .section-head p{ color:var(--paper); }
.uni-strip .section-head p{ color:rgba(247,245,239,0.72); }
.uni-strip .logo-chip{
  background:rgba(247,245,239,0.06);
  border-color:rgba(247,245,239,0.16);
  color:rgba(247,245,239,0.82);
}
.uni-strip .logo-chip:hover{ background:rgba(247,245,239,0.12); color:var(--white); box-shadow:none; }

/* ---------- LOGO CAROUSEL (Participating Brands) ---------- */
.logo-carousel{
  position:relative;
  overflow:hidden;
  padding:6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-track{
  display:flex;
  align-items:center;
  gap:28px;
  width:max-content;
  animation: scroll-logos 32s linear infinite;
}
.logo-carousel:hover .logo-track{
  animation-play-state:paused;
}
.logo-item{
  flex:none;
  width:150px;
  height:88px;
  border-radius:14px;
  background:var(--white);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px 22px;
}
.logo-track img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  flex:none;
  transition:transform 0.25s ease, filter 0.25s ease;
}
.logo-item:hover img{
  transform:translateY(-2px);
  filter:drop-shadow(0 6px 14px rgba(16,25,46,0.18));
}
@keyframes scroll-logos{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .logo-track{ animation:none; flex-wrap:wrap; justify-content:center; }
}
@media (max-width:600px){
  .logo-track{ gap:16px; }
  .logo-item{ width:120px; height:70px; padding:12px 16px; }
}

/* --- Scholarship Testimonial slider --- */
.testimonial-carousel{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.testimonial-track{
  display:flex;
  align-items:center;
  gap:28px;
  width:max-content;
  animation:testimonial-scroll 42s linear infinite;
}
.testimonial-carousel:hover .testimonial-track{
  animation-play-state:paused;
}
.testimonial-item{
  flex:0 0 auto;
  width:clamp(240px, 30vw, 340px);
  aspect-ratio:1/1;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 6px 24px rgba(15,23,42,0.10);
  border:1px solid rgba(15,23,42,0.06);
}
.testimonial-item img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
@keyframes testimonial-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (max-width:640px){
  .testimonial-item{ width:clamp(200px, 62vw, 280px); }
}

/* ---------- SIMPLE / SPLIT ---------- */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
}
/* Fraunces - .split .display{ font-size:clamp(26px, 3.6vw, 38px); line-height:1.18; margin-bottom:20px; } */
.split .display{ font-size:clamp(32px, 3.8vw, 44px); line-height:1.18; margin-bottom:20px; }
.split p{ color:var(--navy-soft); font-size:16.5px; margin-bottom:30px; max-width:44ch; }
.split-visual{
  position:relative; aspect-ratio:1/0.82; border-radius:20px;
  background:var(--paper-dim);
  border:1px solid var(--line);
  overflow:hidden;
}
.split-visual .grid-lines{
  position:absolute; inset:0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:34px 34px;
  opacity:0.6;
}
.split-visual .center-card{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:64%; background:var(--white); border-radius:14px;
  padding:26px; box-shadow:0 20px 40px rgba(16,25,46,0.14);
  border:1px solid var(--line);
}
.center-card .row{ display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px dashed var(--line); font-size:13.5px; }
.center-card .row:last-child{ border-bottom:none; }
.center-card .row .tag{
  background:var(--teal); color:var(--paper); font-size:11px; font-weight:600;
  padding:3px 10px; border-radius:100px;
}
.center-card .row .tag.gold{ background:var(--gold); color:var(--ink); }
@media (max-width:860px){ .split{ grid-template-columns:1fr; gap:36px; } }

/* ---------- HOW IT WORKS ---------- */
.how{ position:relative; }
/* .trail{ position:relative; display:grid; grid-template-columns:repeat(3, 1fr); gap:40px; margin-top:8px; } */
.trail::before{
  content:'';
  position:absolute; top:52px; left:calc(100%/6); right:calc(100%/6);
  height:0; border-top:2px dashed var(--line);
  z-index:0;
}
@media (max-width:860px){
  .trail{ grid-template-columns:1fr; gap:44px; }
  .trail::before{ display:none; }
}
.step{ position:relative; z-index:1; }
.step-badge{
  width:104px; height:104px; border-radius:50%;
  background:var(--white); border:1.5px dashed var(--navy);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  margin-bottom:24px;
  box-shadow:0 10px 22px rgba(16,25,46,0.08);
}
.step-badge .num{ /* font-family:'Fraunces', serif; */ font-family: "Calibri", sans-serif; font-size:26px; font-weight:600; color:var(--navy); }
.step-badge .abbr{ font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--teal); font-weight:700; margin-top:2px; }
.step h3{ font-size:20px; margin-bottom:10px; }
.step p{ color:var(--navy-soft); font-size:15.5px; max-width:32ch; }

/* ---------- FIND RIGHT SCHOLARSHIP ---------- */
.filter-band{
  background:var(--paper-dim); border-radius:22px;
  padding:56px 48px;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
}
/* Fraunces - .filter-band h2{ font-size:clamp(24px, 3vw, 32px); margin-bottom:14px; } */
.filter-band h2{ font-size:clamp(28px, 3.2vw, 36px); margin-bottom:14px; line-height: 1.3em; }
.filter-band p{ color:var(--navy-soft); margin-bottom:26px; max-width:42ch; }
.pill-grid{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  padding:9px 16px; border-radius:100px; font-size:13.5px; font-weight:600;
  background:var(--white); border:1px solid var(--line); color:var(--navy-soft);
}
@media (max-width:860px){ .filter-band{ grid-template-columns:1fr; } }

/* ---------- FINAL CTA ---------- */
.final-cta{
  background:var(--ink); color:var(--paper);
  border-radius:26px; padding:80px 48px; text-align:center;
  position:relative; overflow:hidden;
}
.final-cta::before{
  content:'';
  position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(247,245,239,0.14) 1.4px, transparent 1.4px);
  background-size:24px 24px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, black 30%, transparent 85%);
}
.final-cta > *{ position:relative; z-index:1; }
.final-cta h2{ color:var(--paper); font-size:clamp(28px, 4vw, 42px); margin-bottom:16px; }
.final-cta p{ color:rgba(247,245,239,0.75); font-size:17px; margin-bottom:34px; max-width:50ch; margin-left:auto; margin-right:auto; }
.final-cta .btn-primary{ background:var(--gold); color:var(--ink); }
.final-cta .btn-primary:hover{ background:var(--gold-soft); }

/* ---------- FOOTER ---------- */
footer{ padding:48px 32px 60px; }
.footer-inner{
  max-width:1160px; margin:0 auto;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  color:var(--navy-soft); font-size:14px;
}
.footer-inner .logo{ font-size:17px; }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* PAGES: (2) How It Works + (3) Find A Scholarship ------------------------------------------------------*/
.nav-links{ display:flex; gap:36px; align-items:center; }
.nav-links a{ font-size:15px; font-weight:500; color:var(--navy); position:relative; padding:4px 0; }
.nav-links a.active{ color:var(--ink); }
.nav-links a.active::after{ content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--gold); }
.nav-links a.primary{ background:var(--ink); color:var(--white); padding:10px 20px; border-radius:100px; transition:background 0.2s ease, transform 0.2s ease; }
.nav-links a.primary:hover{ background:var(--navy-soft); transform:translateY(-1px); }

/* PAGE: (2) How It Works ---------------------------------------------------------------------------- START */
/* ---------- PAGE HERO ---------- */
.works .page-hero{ position:relative; padding:100px 32px 70px; overflow:hidden; }
.works .page-hero-bg{
  position:absolute; inset:0; z-index:0;
  background-image: radial-gradient(circle, var(--line) 1.4px, transparent 1.4px);
  background-size:26px 26px;
  mask-image: radial-gradient(ellipse 60% 60% at 20% 30%, black 40%, transparent 85%);
}
.page-hero-inner{ position:relative; z-index:1; max-width:1160px; margin:0 auto; } /* How It Works + Find A Scholarship + Apply */
.works .page-hero h1{ font-size:clamp(40px, 5vw, 60px); line-height:0.95; margin-bottom:20px; max-width:18ch; }
.works .page-hero p.lede{ font-size:18.5px; color:var(--navy-soft); max-width:56ch; }

/* ---------- STEPS (detailed) ---------- */
/* .how{ position:relative; } */
.trail{ position:relative; display:grid; grid-template-columns:repeat(3, 1fr); gap:44px; margin-top:8px; }
.trail::before{
  content:''; position:absolute; top:52px; left:calc(100%/6); right:calc(100%/6);
  height:0; border-top:2px dashed var(--line); z-index:0;
}
@media (max-width:900px){ .trail{ grid-template-columns:1fr; gap:52px; } .trail::before{ display:none; } }

.step{ position:relative; z-index:1; }
.step-badge{
  width:104px; height:104px; border-radius:50%;
  background:var(--white); border:1.5px dashed var(--navy);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  margin-bottom:26px; box-shadow:0 10px 22px rgba(16,25,46,0.08);
}
.step-badge .num{ /* font-family:'Fraunces', serif; */
font-family: "Calibri", serif; font-size:26px; font-weight:600; color:var(--navy); }
.step-badge .abbr{ font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--teal); font-weight:700; margin-top:2px; }
.step h2{ font-size:21px; margin-bottom:12px; letter-spacing:0.01em; }
.step p{ color:var(--navy-soft); font-size:15.5px; max-width:34ch; margin-bottom:14px; }
.step .btn-primary{ padding:11px 22px; font-size:14px; margin-top:4px; }

.callout{
  margin-top:16px; padding:14px 16px; border-radius:12px;
  background:var(--paper-dim); border:1px solid var(--line);
  /* font-family:'Fraunces', serif; */
font-family: "Calibri", serif; font-style:italic; font-size:15px; color:var(--navy);
  max-width:34ch;
}

/* ---------- WHAT HAPPENS NEXT ---------- */
.next-band{
  background:var(--navy); color:var(--paper); border-radius:26px;
  padding:64px 48px; position:relative; overflow:hidden;
}
.next-band::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(247,245,239,0.12) 1.4px, transparent 1.4px);
  background-size:24px 24px;
  mask-image: radial-gradient(ellipse 70% 70% at 85% 15%, black 30%, transparent 85%);
}
.next-band > *{ position:relative; z-index:1; }
.next-band .eyebrow{ color:var(--gold-soft); }
/* Fraunces
.next-band h2{ color:var(--paper); font-size:clamp(26px, 3.4vw, 34px); margin-bottom:36px; max-width:26ch; max-width:22ch } */
.next-band h2{ color:var(--paper); font-size:clamp(28px, 3.4vw, 40px); margin-bottom:36px; max-width:26ch; line-height: 1.2em; }
.next-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:36px; }
@media (max-width:860px){ .next-grid{ grid-template-columns:1fr; } }
.next-item{
  border-left:1.5px dashed rgba(247,245,239,0.35); padding-left:20px;
}
.next-item .dot-mark{
  width:8px; height:8px; border-radius:50%; background:var(--gold);
  margin-bottom:14px;
}
.next-item p{ font-size:15.5px; color:rgba(247,245,239,0.82); }
.next-item p.fine{ font-size:13px; color:rgba(247,245,239,0.58); margin-top:10px; }
/* PAGE: (2) How It Works ---------------------------------------------------------------------------- END */

/* PAGE: (3) Find A Scholarship ---------------------------------------------------------------------- START */
.find .page-hero{ position:relative; padding:88px 32px 48px; overflow:hidden; }
.find .page-hero-bg{
  position:absolute; inset:0; z-index:0;
  background-image: radial-gradient(circle, var(--line) 1.4px, transparent 1.4px);
  background-size:26px 26px;
  mask-image: radial-gradient(ellipse 55% 60% at 15% 30%, black 40%, transparent 85%);
}
.find .page-hero h1{ font-size:clamp(40px, 5vw, 52px); line-height:1.08; margin-bottom:16px; }
.find .page-hero p.lede{ font-size:17.5px; color:var(--navy-soft); max-width:56ch; }

/* ---------- FILTER BAR ---------- */
.filter-bar{
  position:sticky; top:73px; z-index:30;
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:20px 24px; margin:0 auto 44px;
  display:flex; align-items:flex-end; gap:20px; flex-wrap:wrap;
  box-shadow:0 8px 24px rgba(16,25,46,0.06);
}
.field-group{ display:flex; flex-direction:column; gap:6px; }
.field-group label{ font-size:12px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--navy-soft); }
.select-shell{ position:relative; }
.select-shell::after{
  content:''; position:absolute; right:14px; top:50%; width:8px; height:8px;
  border-right:1.5px solid var(--navy-soft); border-bottom:1.5px solid var(--navy-soft);
  transform:translateY(-65%) rotate(45deg); pointer-events:none;
}
select{
  appearance:none; -webkit-appearance:none;
  font-family:'Work Sans', sans-serif; font-size:14.5px; font-weight:500; color:var(--ink);
  background:var(--paper); border:1px solid var(--line); border-radius:10px;
  padding:11px 38px 11px 16px; min-width:220px; cursor:pointer;
}
.result-count{ font-size:13.5px; color:var(--navy-soft); margin-left:auto; align-self:center; }
.result-count strong{ color:var(--ink); }
.reset-link{ font-size:13.5px; font-weight:600; color:var(--teal); align-self:center; cursor:pointer; }
.reset-link:hover{ text-decoration:underline; }

/* ---------- MULTI-SELECT (Field of Study) ---------- */
.multi-shell{ position:relative; }
.multi-shell::after{ content:none; } /* remove single-select chevron, button has its own */
.ms-toggle{
  appearance:none; -webkit-appearance:none;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font-family:'Work Sans', sans-serif; font-size:14.5px; font-weight:500; color:var(--ink);
  background:var(--paper); border:1px solid var(--line); border-radius:10px;
  padding:11px 14px; min-width:240px; cursor:pointer;
}
.ms-toggle:hover{ border-color:rgba(16,25,46,0.24); }
.ms-toggle .chev{
  width:8px; height:8px; flex:none;
  border-right:1.5px solid var(--navy-soft); border-bottom:1.5px solid var(--navy-soft);
  transform:rotate(45deg); transition:transform 0.15s ease;
}
.ms-toggle[aria-expanded="true"] .chev{ transform:rotate(225deg); }
.ms-toggle .ms-label{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.ms-panel{
  display:none;
  position:absolute; top:calc(100% + 8px); left:0; z-index:40;
  min-width:280px; max-height:320px; overflow-y:auto;
  background:var(--white); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 16px 32px rgba(16,25,46,0.14);
  padding:8px;
}
.ms-panel.open{ display:block; }
.ms-option{
  display:flex; align-items:center; gap:10px;
  padding:9px 10px; border-radius:8px; cursor:pointer;
  font-size:14px; color:var(--ink);
}
.ms-option:hover{ background:var(--paper-dim); }
.ms-option input[type="checkbox"]{
  width:15px; height:15px; accent-color:var(--gold); cursor:pointer; flex:none;
}
.ms-option.ms-all{ font-weight:600; }
.ms-divider{ height:1px; background:var(--line); margin:6px 4px; }

/* ---------- RESULTS ---------- */
.results{ padding-bottom:100px; }
.card-grid{ display:flex; flex-direction:column; gap:16px; }

.s-card{
  display:grid; grid-template-columns:104px 1fr auto; gap:26px; align-items:center;
  background:var(--white); border:1px solid var(--line); border-radius:18px;
  padding:22px 26px; transition:box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.s-card:hover{ box-shadow:0 16px 32px rgba(16,25,46,0.1); transform:translateY(-2px); border-color:transparent; }

.logo-tile{
  width:104px; height:104px; border-radius:16px;
  background:linear-gradient(155deg, var(--navy) 0%, var(--ink) 100%);
  display:flex; align-items:center; justify-content:center;
  color:var(--paper);
  /* font-family:'Fraunces', serif; */
  font-family: "Calibri", sans-serif; font-weight:600; font-size:13px;
  text-align:center; padding:8px; letter-spacing:0.02em;
  box-shadow:inset 0 0 0 1px rgba(247,245,239,0.14);
}

.s-body h3{ font-size:19px; margin-bottom:8px; }
.meta-row{ display:flex; flex-wrap:wrap; gap:8px 10px; margin-bottom:10px; }
.tag{
  font-size:12.5px; font-weight:600; padding:5px 12px; border-radius:100px;
  background:var(--paper-dim); color:var(--navy-soft); border:1px solid var(--line);
}
.tag.type{ background:rgba(232,169,60,0.15); color:#8A6416; border-color:rgba(232,169,60,0.3); }
.field-line{ font-size:14px; color:var(--navy-soft); }
.field-line strong{ color:var(--ink); font-weight:600; }

.s-action{ display:flex; align-items:center; }
.apply-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px; border-radius:100px; font-weight:700; font-size:14px;
  background:var(--gold-soft); color:var(--ink); white-space:nowrap;
  transition:background 0.2s ease, transform 0.2s ease;
}
.apply-btn:hover{ background:var(--gold); transform:translateY(-2px); }
.apply-btn svg{ width:14px; height:14px; }

@media (max-width:760px){
  .s-card{ grid-template-columns:72px 1fr; }
  .logo-tile{ width:72px; height:72px; font-size:10.5px; border-radius:12px; }
  .s-action{ grid-column:1 / -1; margin-top:6px; }
  .apply-btn{ width:100%; justify-content:center; }
  .ms-toggle{ min-width:0; width:100%; }
}

.empty-state{
  display:none; text-align:center; padding:60px 20px; color:var(--navy-soft);
  border:1px dashed var(--line); border-radius:18px; background:var(--white);
}
.empty-state.show{ display:block; }
.empty-state .display{ font-size:20px; margin-bottom:8px; color:var(--ink); }

footer{ padding:48px 32px 60px; border-top:1px solid var(--line); }
.footer-inner{ max-width:1160px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; color:var(--navy-soft); font-size:14px; }
/* PAGE: (3) Find A Scholarship ---------------------------------------------------------------------- END */

/* PAGE: (4) Apply --------------------------------------------------------------------------------- START */
/* ---------- NAV ---------- */
.apply header{
  position:sticky; top:0; z-index:50; //60;
  background:rgba(247,245,239,0.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.apply nav{ display:flex; align-items:center; justify-content:space-between; padding:20px 32px; max-width:1160px; margin:0 auto; }
.apply .nav-links{ display:flex; gap:32px; align-items:center; }
.apply .nav-links a{ font-size:14.5px; font-weight:500; color:var(--navy-soft); display:flex; align-items:center; gap:6px; }
.apply .nav-links a:hover{ color:var(--ink); }
.apply .nav-links a svg{ width:14px; height:14px; }
@media (max-width:640px){ .apply .nav-links span.label{ display:none; } }

/* ---------- PAGE HERO (Applicable for apply.html ONLY) ---------- */
.apply .page-hero{ position:relative; padding:56px 32px 32px; overflow:hidden; }
.apply .page-hero-bg{
  position:absolute; inset:0; z-index:0;
  background-image: radial-gradient(circle, var(--line) 1.4px, transparent 1.4px);
  background-size:26px 26px;
  mask-image: radial-gradient(ellipse 50% 60% at 12% 20%, black 40%, transparent 85%);
}
.apply .eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--teal); margin-bottom:16px; }
.apply .eyebrow::before{ content:''; width:22px; height:1px; background:var(--teal); }
.apply .page-hero h1{ font-size:clamp(36px, 4.3vw, 50px); line-height:1.1; margin-bottom:14px; max-width:26ch; }
.apply .page-hero p.lede{ font-size:16.5px; color:var(--navy-soft); max-width:64ch; }

/* ---------- LAYOUT ---------- */
.layout{
  max-width:1160px; margin:0 auto; padding:8px 32px 120px;
  display:grid; grid-template-columns:250px 1fr; gap:52px; align-items:start;
}
@media (max-width:960px){ .layout{ grid-template-columns:1fr; } }

/* ---------- SIDEBAR PROGRESS ---------- */
.sidebar{ position:sticky; top:88px; }
.progress-shell{
  background:var(--white); border:1px solid var(--line); border-radius:16px; padding:20px;
  margin-bottom:22px;
}
.progress-label{ display:flex; justify-content:space-between; font-size:12.5px; font-weight:600; color:var(--navy-soft); margin-bottom:10px; }
.progress-label #progress-pct{ color:var(--ink); }
.progress-track{ position:relative; height:10px; border-radius:100px; background:var(--paper-dim); overflow:hidden; }
.progress-fill{
  position:absolute; left:0; top:0; bottom:0; width:0%;
  background:linear-gradient(90deg, var(--gold-soft), var(--gold));
  border-radius:100px; transition:width 0.35s ease;
}
.progress-note{ font-size:12px; color:var(--navy-soft); margin-top:10px; }

.step-nav{ display:flex; flex-direction:column; gap:2px; }
.step-nav a{
  display:flex; align-items:center; gap:12px;
  padding:10px 12px; border-radius:10px; font-size:13.5px; font-weight:500; color:var(--navy-soft);
  border-left:2px solid transparent;
}
.step-nav a .step-dot{
  width:8px; height:8px; border-radius:50%; border:1.5px solid var(--line); flex-shrink:0;
  transition:background 0.2s ease, border-color 0.2s ease;
}
.step-nav a.current{ color:var(--ink); font-weight:600; background:var(--paper-dim); border-left-color:var(--gold); }
.step-nav a.current .step-dot{ background:var(--gold); border-color:var(--gold); }
.step-nav a.done .step-dot{ background:var(--teal); border-color:var(--teal); }
.step-nav a.locked{ color:#B7BECC; cursor:not-allowed; pointer-events:none; }
.step-nav a.locked .step-dot{ border-color:var(--line); }
@media (max-width:960px){
  .sidebar{ position:relative; top:0; }
  .step-nav{ display:none; }
  .progress-shell{ margin-bottom:0; }
}

/* ---------- FORM SECTIONS ---------- */
.f-section{
  background:var(--white); border:1px solid var(--line); border-radius:20px;
  padding:36px 36px 40px; margin-bottom:24px; scroll-margin-top:96px;
  display:none;
  animation:step-in 0.35s ease;
}
.f-section.active-step{ display:block; }
@keyframes step-in{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:translateY(0); } }

.step-actions{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:32px; padding-top:24px; border-top:1px solid var(--line);
}
.btn-continue, .btn-back{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:100px; font-weight:700; font-size:14.5px;
  border:none; cursor:pointer; transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-continue{ background:var(--ink); color:var(--white); margin-left:auto; }
.btn-continue:hover{ background:var(--navy-soft); transform:translateY(-2px); box-shadow:0 10px 20px rgba(16,25,46,0.2); }
.btn-continue svg{ width:15px; height:15px; }
.btn-back{ background:transparent; color:var(--navy-soft); border:1.5px solid var(--line); }
.btn-back:hover{ border-color:var(--navy); color:var(--ink); }
.btn-back.hidden{ visibility:hidden; }

.step-progress-text{ font-size:12.5px; color:var(--navy-soft); font-weight:600; }
.f-section .s-head{ margin-bottom:26px; }
.f-section .s-num{
  /* font-family:'Fraunces', serif; */
font-family: "Calibri", serif;font-size:13px; font-weight:600; color:var(--teal);
  letter-spacing:0.06em; text-transform:uppercase; margin-bottom:6px; display:block;
}
.f-section h2{ font-size:22px; }
.f-section .s-sub{ font-size:14.5px; color:var(--navy-soft); margin-top:8px; max-width:60ch; }

.field-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px 24px; }
.field-grid.single{ grid-template-columns:1fr; }
@media (max-width:640px){ .field-grid{ grid-template-columns:1fr; } }

.field{ display:flex; flex-direction:column; gap:8px; }
.field.span-2{ grid-column:1 / -1; }
.field label{ font-size:13.5px; font-weight:600; color:var(--ink); }
.field label .req{ color:var(--gold); font-weight:700; margin-left:2px; }
.field .hint{ font-size:12.5px; color:var(--navy-soft); margin-top:-3px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], textarea{
  font-family:'Work Sans', sans-serif; font-size:14.5px; color:var(--ink);
  background:var(--paper); border:1px solid var(--line); border-radius:10px;
  padding:12px 14px; width:100%;
  transition:border-color 0.2s ease, background 0.2s ease;
}
input::placeholder, textarea::placeholder{ color:#8B93A4; }
input:focus, textarea:focus, select:focus{ border-color:var(--navy); background:var(--white); }
textarea{ resize:vertical; min-height:120px; font-family:'Work Sans', sans-serif; }

.select-shell{ position:relative; }
.select-shell::after{
  content:''; position:absolute; right:14px; top:50%; width:8px; height:8px;
  border-right:1.5px solid var(--navy-soft); border-bottom:1.5px solid var(--navy-soft);
  transform:translateY(-65%) rotate(45deg); pointer-events:none;
}
select{
  appearance:none; -webkit-appearance:none; width:100%;
  font-family:'Work Sans', sans-serif; font-size:14.5px; font-weight:500; color:var(--ink);
  background:var(--paper); border:1px solid var(--line); border-radius:10px;
  padding:12px 38px 12px 14px; cursor:pointer;
}
select:disabled{ color:var(--navy-soft); cursor:not-allowed; background:var(--paper-dim); }

.phone-field{ display:flex; gap:8px; }
.phone-field .prefix{
  display:flex; align-items:center; justify-content:center;
  padding:0 14px; border:1px solid var(--line); border-radius:10px; background:var(--paper-dim);
  font-weight:600; font-size:14.5px; color:var(--navy-soft); flex-shrink:0;
}

/* radio / segmented control */
.seg-group{ display:flex; gap:10px; flex-wrap:wrap; }
.seg-option{ position:relative; }
.seg-option input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.seg-option .seg-label{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; border-radius:100px; border:1.5px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--navy-soft);
  background:var(--paper); transition:all 0.15s ease;
}
.seg-option .seg-label::before{
  content:''; width:8px; height:8px; border-radius:50%; border:1.5px solid var(--navy-soft);
}
.seg-option input:checked + .seg-label{ border-color:var(--navy); color:var(--ink); background:var(--white); box-shadow:0 4px 10px rgba(16,25,46,0.08); }
.seg-option input:checked + .seg-label::before{ background:var(--gold); border-color:var(--gold); }
.seg-option input:focus-visible + .seg-label{ outline:2px solid var(--gold); outline-offset:2px; }

.conditional{
  display:none; margin-top:14px; padding-top:14px; border-top:1px dashed var(--line);
}
.conditional.show{ display:block; }

/* checkboxes */
.check-row{ display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); transition:background 0.2s ease; }
.check-row:last-child{ border-bottom:none; }
.check-row input{ position:absolute; opacity:0; width:22px; height:22px; margin:0; cursor:pointer; }
.check-box{
  width:20px; height:20px; border-radius:6px; border:1.5px solid var(--line);
  background:var(--paper); flex-shrink:0; margin-top:1px; position:relative;
  display:flex; align-items:center; justify-content:center; transition:all 0.15s ease;
}
.check-box svg{ width:12px; height:12px; opacity:0; transition:opacity 0.15s ease; stroke:var(--white); }
.check-row input:checked ~ .check-box{ background:var(--navy); border-color:var(--navy); }
.check-row input:checked ~ .check-box svg{ opacity:1; }
.check-row input:focus-visible ~ .check-box{ outline:2px solid var(--gold); outline-offset:2px; }
.check-row label{ position:relative; display:flex; align-items:flex-start; gap:12px; cursor:pointer; font-size:14px; color:var(--navy-soft); }
.check-row label .req{ color:var(--gold); }
.check-row.row-error .check-box{ border-color:var(--error); }
.check-row.row-error label{ color:var(--error); }

/* file upload */
.upload-box{
  border:1.5px dashed var(--line); border-radius:14px; padding:22px;
  display:flex; align-items:center; gap:16px; background:var(--paper);
  transition:border-color 0.2s ease, background 0.2s ease;
}
.upload-box.has-file{ border-color:var(--teal); background:rgba(62,107,99,0.06); }
.upload-icon{
  width:44px; height:44px; border-radius:12px; background:var(--white); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--navy);
}
.upload-icon svg{ width:20px; height:20px; }
.upload-text{ flex:1; min-width:0; }
.upload-text .fname{ font-size:14px; font-weight:600; color:var(--ink); overflow-wrap:anywhere; }
.upload-text .fmeta{ font-size:12px; color:var(--navy-soft); margin-top:2px; }
.upload-btn{
  flex-shrink:0; padding:9px 16px; border-radius:100px; font-size:13px; font-weight:600;
  background:var(--ink); color:var(--white); cursor:pointer; border:none;
}
.upload-btn:hover{ background:var(--navy-soft); }
.field input[type="file"]{ display:none; }

.word-count{ font-size:12.5px; color:var(--navy-soft); text-align:right; margin-top:-4px; }
.word-count.over{ color:var(--error); font-weight:600; }

.scholarship-note{
  display:flex; gap:10px; align-items:flex-start;
  background:var(--paper-dim); border-radius:10px; padding:12px 14px; font-size:12.5px; color:var(--navy-soft);
  margin-top:8px;
}

.form-error-banner{
  display:none; align-items:flex-start; gap:12px;
  background:rgba(180,67,46,0.08); border:1px solid rgba(180,67,46,0.3); color:var(--error);
  border-radius:12px; padding:14px 16px; font-size:13.5px; font-weight:600; margin-bottom:20px;
}
.form-error-banner.show{ display:flex; }

/* ---------- SUBMIT ---------- */
.submit-panel{
  background:var(--ink); color:var(--paper); border-radius:20px;
  padding:40px 36px; text-align:center; position:relative; overflow:hidden;
  display:none;
}
.submit-panel.active-step{ display:block; }
.submit-panel::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(247,245,239,0.12) 1.4px, transparent 1.4px);
  background-size:24px 24px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 30%, transparent 85%);
}
.submit-panel > *{ position:relative; z-index:1; }
.submit-panel h2{ color:var(--paper); font-size:24px; margin-bottom:10px; }
.submit-panel p{ color:rgba(247,245,239,0.72); font-size:14.5px; margin-bottom:26px; }
.submit-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:16px 36px; border-radius:100px; font-weight:700; font-size:15.5px;
  background:var(--gold); color:var(--ink); border:none; cursor:pointer;
  transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.submit-btn:hover{ background:var(--gold-soft); transform:translateY(-2px); box-shadow:0 14px 28px rgba(232,169,60,0.3); }
.submit-btn:disabled{ opacity:0.6; cursor:not-allowed; transform:none; box-shadow:none; }

footer{ padding:44px 32px 56px; border-top:1px solid var(--line); }
.footer-inner{ max-width:1160px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; color:var(--navy-soft); font-size:14px; }
/* PAGE: (4) Apply ----------------------------------------------------------------------------------- END */

/* PAGE (5) Thankyou ------------------------------------------------------------------------------- START */
/* ---------- FINAL CTA ---------- */
.thankyou .final-cta{
  background:var(--ink); color:var(--paper);
  border-radius:26px; padding:48px 20px 28px 20px; text-align:center;
  position:relative; overflow:hidden;
}
/* PAGE (5) Thankyou --------------------------------------------------------------------------------- END */
