:root{
  --teal:#3b9996;
  --teal-dark:#2f7f7c;
  --bg:#f9fdfd;
  --text:#333;
  --border:#e4ecec;
  --shadow-sm: 0 6px 14px rgba(0,0,0,.08);
  --max:1200px;

  /* tighter spacing system */
  --section-y:44px;
  --section-y-sm:28px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  padding-top:86px; /* space for fixed nav */
}

img{ max-width:100%; display:block; }

/* HEADINGS - varsity vibe */
h1, h2, h3, h4{
  font-family:'Graduate', 'Inter', system-ui, sans-serif;
  letter-spacing:.6px;
}

/* CONTAINER */
.page-container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 16px;
}

/* =========================
   NAV (centered, not full bleed)
========================= */
.nav-wrap{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;
  background:#fff;
  padding:10px 0; /* predictable height */
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.navbar{
  background:var(--teal);
  color:#fff;
  padding:12px 18px;
  border-radius:0;
}

.navbar .nav-links{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}

.navbar .nav-links a{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  position:relative;
  font-family:'Graduate', 'Inter', system-ui, sans-serif;
  letter-spacing:.4px;
}

.navbar .nav-links a::after{
  content:'';
  position:absolute;
  width:0;
  height:2px;
  bottom:-4px;
  left:0;
  background:#fff;
  transition:width .25s ease;
}

.navbar .nav-links a:hover::after{
  width:100%;
}

/* =========================
   HEADER STRIP (logo/caps/search)
========================= */
.site-header{ background:#fff; }

.logo-bar{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  padding:16px 0 18px; /* tightened */
  gap:16px;
}

.logo-section{
  display:flex;
  align-items:center;
  justify-content:center;
}

.logo-section img{
  height:90px;
  width:auto;
}

.center-section{
  display:flex;
  justify-content:center;
  align-items:center;
}

/* Teal-ish caps */
.cap-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:18px;
  line-height:1;
  white-space:nowrap;
}

.cap-row .cap{
  display:inline-block;
  filter:hue-rotate(155deg) saturate(2.4) brightness(1.05);
  opacity:.65;
}

.search-section{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.search-container{
  position:relative;
  display:flex;
  align-items:center;
}

.styled-search-input{
  padding:10px 44px 10px 16px;
  border:2px solid #d6e6e6;
  border-radius:999px;
  background-color:#f7fbfb;
  font-size:14px;
  text-transform:uppercase;
  color:#333;
  width:320px;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
  outline:none;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.styled-search-input::placeholder{
  color:#7b9494;
  font-weight:600;
}

.search-icon{
  position:absolute;
  right:14px;
  font-size:16px;
  color:var(--teal);
  pointer-events:none;
}

.hamburger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:2px solid #d6e6e6;
  background:#fff;
  cursor:pointer;
  color:var(--teal);
  font-size:22px;
}

/* =========================
   HERO (image centered + white side gutters)
========================= */
.hero-frame{
  background:#fff;
  padding:0 0 14px; /* tightened */
}

.hero-media{
  max-width:1400px;
  margin:0 auto;
  position:relative;
}

.hero-img{
  width:100%;
  height:auto;
  display:block;
}

/* =========================
   HERO OVERLAY (fit between left image + collage)
========================= */
.hero-overlay-box{
  position:absolute;

  /* tuned to sit centered in left open space */
  left: clamp(18px, 4vw, 95px);
  top:  clamp(95px, 10vw, 160px);

  width: min(420px, 38vw);

  background-color: rgba(59,153,150,.92);
  padding: 26px 24px;
  border-radius: 10px;
  text-align: center;
  color:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.hero-overlay-box h1{
  font-size: clamp(1.6rem, 2.1vw, 2.05rem);
  margin: 0;
  letter-spacing: .6px;
}

.hero-sub{
  margin: 10px 0 18px;
  font-style: italic;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
}

/* HERO BUTTONS (force button look) */
.hero-buttons{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:6px;
}

.hero-buttons .button{
  display:inline-block;
  padding: 10px 18px;
  background:#ffffff;
  color: var(--teal) !important;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none !important;
  min-width: 150px;
  text-align:center;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  font-family:'Graduate', 'Inter', system-ui, sans-serif;
  letter-spacing:.3px;
}

.hero-buttons .button:hover{
  background: transparent;
  color:#fff !important;
  border-color:#fff;
}

/* =========================
   COMMUNITY STATS
========================= */
.community-stats{
  background:#fff;
  text-align:center;
  padding:var(--section-y) 20px;
  color:var(--teal);
}

.community-stats h2{
  font-size:1.8em;
  margin-bottom:18px;
}

.stats-grid{
  display:flex;
  justify-content:center;
  gap:60px;
  flex-wrap:wrap;
  margin-top:10px;
}

.stats-grid div h3{
  font-size:2em;
  margin:0;
  color:var(--teal);
}

.stats-grid div p{
  font-size:1em;
  margin:5px 0 0;
  color:#666;
}

/* =========================
   NEWEST CLASSMATES
========================= */
.newest-classmates{
  padding:var(--section-y) 20px 26px;
  text-align:center;
  background-color:var(--teal);
  color:#fff;
}

.newest-classmates h2{
  margin:0 0 18px;
}

.classmate-grid{
  display:flex;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
}

.classmate-card{
  width:260px;
  border-radius:14px;
  overflow:hidden;
  background:transparent;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}

.classmate-link{
  display:block;
  text-decoration:none;
  background:transparent;
}

.classmate-media{
  position:relative;
  width:100%;
  height:320px;
  overflow:hidden;
}

.classmate-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:filter .25s ease, transform .25s ease;
}

.classmate-link:hover .classmate-media img{
  filter:brightness(0.78);
  transform:scale(1.02);
}

.classmate-cta{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translate(-50%, 10px);
  padding:8px 14px;
  border-radius:999px;
  background:rgba(59,153,150,.92);
  color:#fff;
  font-weight:800;
  font-size:0.85rem;
  line-height:1;
  text-align:center;
  box-shadow:0 10px 20px rgba(0,0,0,.22);
  opacity:0;
  transition:opacity .22s ease, transform .22s ease;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.classmate-link:hover .classmate-cta{
  opacity:1;
  transform:translate(-50%, 0);
}

.classmate-meta{
  background:#fff;
  padding:16px 16px 18px;
  text-align:center;
}

.classmate-meta h4{
  margin:0;
  font-size:1.15em;
  font-weight:800;
  color:var(--teal);
}

.classmate-meta p{
  margin:6px 0 0;
  font-size:0.85em;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#222;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================
   QUOTE (tight)
========================= */
.quote-section{
  text-align:center;
  padding:var(--section-y-sm) 20px;
  margin:8px 0;
}

.quote-section blockquote{ margin:0 auto; }

.quote-section .quote-text{ margin:0; }

.quote-section .quote-author{
  margin-top:10px;
  color:var(--teal);
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================
   INFO SECTION (2 wide cards)
========================= */
.info-section{
  background:#f1f8f8;
  padding:52px 20px;
}

.info-inner{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:start;
}

.info-card-wide{
  text-align:left;
  max-width:520px;
  margin:0 auto;
}

.info-icon{
  width:58px;
  height:58px;
  border-radius:999px;
  background:#e9f3f3;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin:0 0 18px;
}

.info-card-wide h3{
  margin:0 0 14px;
  color:var(--teal);
  font-size:1.6em;
  font-weight:800;
}

.info-card-wide p{
  margin:0 0 22px;
  line-height:1.6;
  color:#3b4a4a;
}

.info-btn{
  display:inline-block;
  padding:10px 18px;
  border:1.5px solid var(--teal);
  color:var(--teal);
  border-radius:3px;
  text-decoration:none;
  font-weight:800;
  background:transparent;
  transition:background .2s ease, color .2s ease;
  font-family:'Graduate', 'Inter', system-ui, sans-serif;
  letter-spacing:.25px;
}

.info-btn:hover{
  background:var(--teal);
  color:#fff;
}

/* =========================
   FOOTER (TEAL + 3 columns + divider + bottom)
========================= */
.site-footer{
  background:var(--teal);
  color:#eef6f6;
  padding:44px 20px 18px;
}

.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:44px;
  align-items:start;
}

.site-footer h4{
  margin:0 0 14px;
  font-size:1.25em;
  color:#ffffff;
}

.site-footer p{
  margin:0;
  color:#e9f3f3;
  line-height:1.6;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.footer-links a{
  color:#e9f3f3;
  text-decoration:none;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:600;
}

.footer-links a:hover{ text-decoration:underline; }

/* divider inside Quick Links list */
.footer-link-divider{
  height:1px;
  background: rgba(255,255,255,.22);
  margin: 12px 0;
  width:85%;
  list-style:none;
}

.footer-social{
  margin-top:16px;
  display:flex;
  gap:12px;
}

.footer-social .social{
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:800;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.footer-divider{
  max-width:var(--max);
  margin:34px auto 0; /* more space above divider */
  height:1px;
  background:rgba(255,255,255,.22);
}

.footer-bottom{
  max-width:var(--max);
  margin:0 auto;
  padding:16px 0 4px; /* breathing room below divider */
  text-align:center;
  color:rgba(255,255,255,.88);
  font-size:.9em;
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Helpful for anchor links with fixed nav */
.page-container > section{
  scroll-margin-top:100px;
}

/* RESPONSIVE */
@media (max-width:980px){
  .logo-bar{
    grid-template-columns:1fr;
    text-align:center;
  }

  .search-section{
    flex-direction:column;
  }

  .styled-search-input{
    width:min(360px, 90vw);
  }

  .hero-overlay-box{
    position:static;
    width:auto;
    max-width:560px;
    margin:16px auto 0;
  }

  .hero-media{
    padding:0 16px;
  }

  .info-inner{
    grid-template-columns:1fr;
    gap:40px;
  }

  .footer-inner{
    grid-template-columns:1fr;
    gap:30px;
  }
}

@media (max-width:768px){
  .hamburger{ display:block; }

  /* mobile nav is collapsed until .navbar.open is set by script */
  .navbar .nav-links{
    display:none;
    flex-direction:column;
    gap:12px;
    align-items:flex-start;
    padding-top:12px;
  }

  .navbar.open .nav-links{
    display:flex;
  }

  .classmate-grid{
    flex-direction:column;
    align-items:center;
  }

  .classmate-card{
    width:90%;
    max-width:320px;
  }

  .stats-grid{
    flex-direction:column;
    gap:20px;
  }
}
