
:root{
  --navy:#0b2447;
  --navy-2:#123b73;
  --orange:#f28c28;
  --cream:#f7f3eb;
  --ink:#0f172a;
  --muted:#475569;
  --card:#ffffff;
  --border:rgba(15, 23, 42, .12);
  --shadow: 0 10px 28px rgba(2,6,23,.10);
  --radius: 18px;
  --max: 1100px;
  --focus: 0 0 0 4px rgba(242,140,40,.25);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:var(--font);color:var(--ink);background:linear-gradient(180deg, #ffffff, var(--cream));}
a{color:inherit}
img{max-width:100%;height:auto}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.topbar{background:var(--navy);color:#fff}
.topbar .container{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;gap:12px;flex-wrap:wrap}
.badge{display:inline-flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.3px}
.badge .dot{width:10px;height:10px;border-radius:999px;background:var(--orange);box-shadow:0 0 0 3px rgba(242,140,40,.25)}
.small{font-size:14px;color:rgba(255,255,255,.9)}
.navwrap{background:rgba(255,255,255,.8);backdrop-filter:saturate(1.2) blur(10px);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:30}
.nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand strong{font-size:16px;letter-spacing:.4px}
.brand .mark{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,var(--navy),var(--navy-2));display:grid;place-items:center;box-shadow:var(--shadow)}
.brand .mark span{font-weight:900;color:#fff}
.navlinks{display:flex;gap:12px;flex-wrap:wrap}
.navlinks a{padding:10px 12px;border-radius:12px;text-decoration:none;color:var(--ink);font-weight:700}
.navlinks a:hover{background:rgba(242,140,40,.10)}
.cta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border);background:#fff;padding:10px 14px;border-radius:14px;font-weight:800;text-decoration:none;box-shadow:0 8px 18px rgba(2,6,23,.06)}
.btn:hover{transform:translateY(-1px)}
.btn:focus{outline:none;box-shadow:var(--focus)}
.btn.primary{background:var(--orange);border-color:rgba(242,140,40,.5);color:#111827}
.btn.primary:hover{filter:saturate(1.05)}
.hero{padding:54px 0 34px}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:center}
@media (max-width: 900px){.hero-grid{grid-template-columns:1fr}}
.kicker{display:inline-flex;align-items:center;gap:10px;font-weight:900;color:var(--navy);letter-spacing:.4px}
.kicker .pill{background:rgba(11,36,71,.08);padding:6px 10px;border-radius:999px}
h1{font-size:44px;line-height:1.05;margin:12px 0 12px}
@media (max-width: 500px){h1{font-size:36px}}
.lead{font-size:18px;line-height:1.55;color:var(--muted);margin:0 0 18px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-card{padding:18px}
.statgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.stat{padding:14px;border-radius:16px;background:linear-gradient(180deg,#fff,rgba(242,140,40,.06));border:1px solid rgba(242,140,40,.20)}
.stat strong{display:block;font-size:22px}
.stat span{color:var(--muted);font-weight:700}
.section{padding:26px 0}
.section h2{font-size:28px;margin:0 0 10px}
.section p{color:var(--muted);line-height:1.6;margin:0 0 14px}
.grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:14px}
@media (max-width: 900px){.grid{grid-template-columns:1fr}}
.tile{padding:18px}
.tile h3{margin:0 0 8px}
.tile p{margin:0;color:var(--muted);line-height:1.55}
.footer{margin-top:28px;background:var(--navy);color:#fff}
.footer .container{padding:22px 18px}
.footer a{color:#fff}
.footer small{color:rgba(255,255,255,.8)}
.form{display:grid;gap:12px}
label{font-weight:800}
input, textarea, select{
  width:100%;padding:12px 12px;border-radius:14px;border:1px solid var(--border);background:#fff;font:inherit
}
input:focus, textarea:focus, select:focus{outline:none;box-shadow:var(--focus);border-color:rgba(242,140,40,.6)}
.notice{padding:12px 14px;border-radius:16px;background:rgba(11,36,71,.06);border:1px solid rgba(11,36,71,.15);color:var(--ink)}
hr{border:none;border-top:1px solid var(--border);margin:18px 0}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px;border-bottom:1px solid var(--border);text-align:left}
.table th{color:var(--muted);font-size:13px;letter-spacing:.3px;text-transform:uppercase}
.tag{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:#fff;font-weight:800;color:var(--navy)}
.tag .paw{width:10px;height:10px;border-radius:999px;background:var(--orange)}



/* Varsity enhancements */
body{
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(242,140,40,.18), transparent 60%),
    radial-gradient(1000px 500px at 85% 20%, rgba(11,36,71,.18), transparent 55%),
    linear-gradient(180deg, #ffffff, var(--cream));
}
.navwrap{
  border-bottom: 3px solid rgba(242,140,40,.55);
}
.brand .mark{
  border:2px solid rgba(242,140,40,.35);
}
h1, .section h2{
  text-transform: none;
}
.hero{
  position:relative;
}
.hero:before{
  content:"";
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(135deg,
      rgba(11,36,71,.06) 0 10px,
      rgba(11,36,71,0) 10px 22px);
  pointer-events:none;
}
.hero .container{position:relative}
.kicker .pill{
  border:1px solid rgba(11,36,71,.18);
}
.v-outline{
  -webkit-text-stroke: 6px rgba(11,36,71,.92);
  paint-order: stroke fill;
  text-shadow: 0 10px 22px rgba(2,6,23,.20);
}
h1{
  font-weight: 950;
  letter-spacing: .6px;
}
.lead{font-weight:650}
.btn{
  border-width:2px;
}
.btn.primary{
  box-shadow: 0 10px 24px rgba(242,140,40,.22);
}
.card{
  border-width:2px;
}
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.section-title .rule{
  height:6px; flex:1; border-radius:999px;
  background: linear-gradient(90deg, rgba(242,140,40,.95), rgba(11,36,71,.85));
  min-width:140px;
}
.patch{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px;
  border:2px solid rgba(11,36,71,.18);
  background:#fff;
  box-shadow: 0 12px 22px rgba(2,6,23,.08);
  font-weight:900;
}
.patch .num{
  width:34px;height:34px;border-radius:10px;
  display:grid;place-items:center;
  background:var(--navy); color:#fff;
  border:2px solid rgba(242,140,40,.6);
}
.wordmark{
  font-weight:950;
  letter-spacing:.8px;
  text-transform:uppercase;
}

/* Logo img helpers */
.brand img{display:block}
  .cta{display:none}
  .brand img{height:40px !important}
}

/* Real logo placement */
.logoPic{display:block}
.siteLogo{
  height:44px;
  width:auto;
  display:block;
}
@media (max-width: 720px){
  .siteLogo{height:40px}
}
.heroLogoWrap{
  grid-column:1 / -1;
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}
.heroLogoPic{
  display:block;
  padding:12px 14px;
  border-radius:24px;
  border:2px solid rgba(11,36,71,.18);
  background:rgba(255,255,255,.92);
  box-shadow: 0 16px 34px rgba(2,6,23,.14);
}
.heroLogo{
  max-width:520px;
  width:min(520px, 92vw);
  height:auto;
  display:block;
}


/* === Mobile-only polish (keeps desktop unchanged) === */
@media (max-width: 760px){
  /* tighten the top blue bar */
  .topbar .container{padding:8px 14px}
  .badge{font-size:14px}
  .small{font-size:12px}

  /* make header/nav take less vertical space */
  .nav{padding:10px 0; flex-direction:column; align-items:stretch; gap:10px}
  .brand{gap:10px}
  .brand .mark{width:38px;height:38px;border-radius:10px}
  .brand strong{font-size:15px}

  /* keep the same look, but stop the awkward wrap */
  .navlinks{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
    justify-items:center;
    align-items:center;
  }
  .navlinks a{
    width:100%;
    text-align:center;
    padding:10px 10px;
    font-size:15px;
    border-radius:12px;
  }

  /* hero spacing */
  .hero{padding:28px 0 22px}

  /* shrink the big crest on phones */
  .heroLogoWrap{margin-bottom:12px}
  .heroLogoPic{padding:10px 12px;border-radius:20px}
  .heroLogo{max-width:360px;width:min(360px, 90vw)}
}
@media (max-width: 420px){
  .navlinks{grid-template-columns:repeat(2, 1fr)}
  .navlinks a{font-size:15px}
}


/* =========================
   Mobile Hamburger Nav (mobile-only)
   Desktop remains unchanged.
   ========================= */
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  cursor:pointer;
}
.nav-toggle .bar{
  display:block;
  width:24px;
  height:3px;
  background: #0b1f3a;
  border-radius:3px;
  position:relative;
}
.nav-toggle .bar::before,
.nav-toggle .bar::after{
  content:"";
  position:absolute;
  left:0;
  width:24px;
  height:3px;
  background:#0b1f3a;
  border-radius:3px;
}
.nav-toggle .bar::before{ top:-8px; }
.nav-toggle .bar::after{ top:8px; }

@media (max-width: 768px){
  /* keep header compact */
  .navlinks{
    display:none !important;
  }
  .nav-toggle{
    display:inline-flex;
  }

  /* When open, show nav as a dropdown panel */
  body.nav-open .navlinks{
    display:flex !important;
    flex-direction:column;
    gap:14px;
    padding:16px 18px;
    margin-top:10px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(12, 34, 64, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    width: min(520px, calc(100vw - 32px));
  }
  /* Place dropdown under the header row, aligned to the right */
  .header-inner{
    position:relative;
  }
  body.nav-open .navlinks{
    position:absolute;
    right: 16px;
    top: 100%;
    z-index: 50;
  }
  /* Make links easier to tap */
  body.nav-open .navlinks a{
    padding: 10px 10px;
    border-radius: 10px;
  }
  body.nav-open .navlinks a:active{
    background: rgba(12,34,64,0.08);
  }
}


.accent-orange{ color: var(--orange); }

/* Education card icons (subtle gray line icons) */
.card.tile{position:relative}
.card-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--border);
  display:grid;
  place-items:center;
  color: rgba(11,36,71,.55);
  background: rgba(255,255,255,.65);
  margin-bottom:10px;
}

/* Fix: small class should not make buttons unreadable */
.btn.small, .btn .small{
  color: var(--ink);
}
/* Floating Shiba (idle wiggle + personality) */
#floatingShiba{
  position: fixed;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  z-index: 9999;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
}

#floatingShiba img{
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 70% 80%;
  animation: shibaIdle 2.6s ease-in-out infinite;
}

/* Tiny body wiggle + micro-bounce */
@keyframes shibaIdle{
  0%   { transform: rotate(0deg) translateY(0px) scale(1); }
  22%  { transform: rotate(1.8deg) translateY(-2px) scale(1.01); }
  50%  { transform: rotate(0deg) translateY(0px) scale(1); }
  72%  { transform: rotate(-1.8deg) translateY(-1px) scale(0.995); }
  100% { transform: rotate(0deg) translateY(0px) scale(1); }
}

/* Side-eye class (used by JS) */
#floatingShiba img.side-eye{
  transform: scaleX(-1) rotate(2deg);
  transition: transform 220ms ease;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #floatingShiba{ display:none; }
}