:root {
  --deep-sea: #0E2A38;
  --thessaloniki-sky: #5B8FA8;
  --thessaloniki-sky-light: #7DA9C0;
  --off-white: #F7F3EC;
  --olympus-stone: #E5DED2;
  --marble-red: #7B1F2C;
  --marble-red-dark: #5C1620;
  --field-green: #6B7A4F;
  --ink: #0E2A38;
  --ink-soft: #4A5F6B;
  --rule: #DCD3C3;
  --max-width: 1280px;
  --gutter: 48px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --serif: Georgia, serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--marble-red); color: var(--off-white); }

.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--marble-red);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  padding: 12px 0;

  background: rgba(247, 243, 236, 1);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom: 1px solid var(--rule);

  transition:
    background var(--transition),
    backdrop-filter var(--transition);
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO */
.auth-mark {
  position: relative;
  width: 152px;
  height: 52px;
  display: block;
  flex-shrink: 0;
}

.auth-mark img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

/* show only dark logo */
.logo-white {
  display: none;
}

.logo-dark {
  opacity: 1;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: var(--rule);
}

.header-wm {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.15;
  color: var(--ink);
}

.header-wm .dot {
  color: var(--marble-red);
}

.nav-primary {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--transition);
}

.nav-primary a:hover {
  color: var(--marble-red);
}

.btn-apply {
  display: inline-block;

  padding: 10px 22px;

  background: var(--marble-red);
  color: var(--off-white) !important;

  font-size: 12px;
  font-weight: 600;

  border: 1px solid var(--marble-red);
  border-radius: 3px 18px 18px 3px;

  transition:
    background var(--transition),
    transform var(--transition);
}

.btn-apply:hover {
  background: var(--marble-red-dark);
  transform: translateY(-1px);
}

/* ============================================================
   HEADER LEFT — explicit gap control
   Add this rule (it likely doesn't exist yet — the existing gap
   between logo / divider / wordmark is being inherited from the
   parent or coming from margins. Adding this puts the gap under
   one explicit control.)
   ============================================================ */

   .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* ============================================================
     LOGO — bigger, same aspect ratio
     Was: 152 × 52  (2.92:1)
     Now: 184 × 64  (2.88:1)  — ~22% larger area
     ============================================================ */
  
  .auth-mark {
    position: relative;
    width: 184px;
    height: 64px;
    display: block;
    flex-shrink: 0;
  }
  
  .auth-mark img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* show only dark logo */
  .logo-white { display: none; }
  .logo-dark  { opacity: 1; }
  
  /* ============================================================
     DIVIDER — slightly taller to match the bigger logo
     Was: 1 × 28
     Now: 1 × 36
     ============================================================ */
  
  .header-divider {
    width: 1px;
    height: 36px;
    background: var(--rule);
  }
  
  /* ============================================================
     WORDMARK — unchanged (intentional)
     Kept at 13px so the logo remains the dominant mark and the
     wordmark reads as a supporting label.
     ============================================================ */
  
  .header-wm {
    font-family: var(--serif);
    font-size: 13px;
    line-height: 1.15;
    color: var(--ink);
  }
  
  .header-wm .dot {
    color: var(--marble-red);
  }
  

/* ============================================================
   SOCIAL — circle-wrapped icons
   Replaces the previous .nav-social / .nav-social a / .nav-social svg block.
   ============================================================ */

   .nav-social {
    display: flex;
    align-items: center;
    gap: 10px;
  
    margin-left: 8px;
    padding-left: 22px;
  
    border-left: 1px solid var(--rule);
  }
  
  .nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
  
    width: 36px;
    height: 36px;
  
    border-radius: 50%;
    border: 1px solid var(--rule);
  
    color: var(--ink-soft);
    background: transparent;
  
    transition:
      background-color var(--transition),
      border-color var(--transition),
      color var(--transition),
      transform var(--transition);
  }
  
  .nav-social a:hover {
    background: var(--marble-red);
    border-color: var(--marble-red);
    color: var(--off-white);
  
    transform: translateY(-1px);
  }
  
  .nav-social a:focus-visible {
    outline: 2px solid var(--marble-red);
    outline-offset: 2px;
  }
  
  .nav-social svg {
    width: 16px;
    height: 16px;
  
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  
    fill: none;
  }
  

  /* FOOTER */
  .site-footer {
    background: var(--deep-sea);
    color: var(--off-white);
    padding: 80px 0 32px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(247, 243, 236, 0.12);
    margin-bottom: 32px;
  }
  .footer-wm {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  .footer-wm .dot { color: var(--marble-red); }
  .footer-tagline {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(247, 243, 236, 0.7);
    max-width: 36ch;
    margin-bottom: 24px;
  }
  .footer-auth {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(247, 243, 236, 0.12);
  }
  .footer-auth-mark { width: 36px; height: 36px; }
  /* .footer-auth-mark svg { width: 100%; height: 100%; }
  .footer-auth-mark .fill { fill: var(--off-white); opacity: 0.85; } */
  .footer-auth-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(247, 243, 236, 0.55);
    line-height: 1.5;
  }
  .footer-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(247, 243, 236, 0.5);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a {
    font-size: 14px;
    color: rgba(247, 243, 236, 0.85);
    transition: color var(--transition);
  }
  .footer-col a:hover { color: var(--marble-red); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: rgba(247, 243, 236, 0.4);
  }

  .footer-auth-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.85;
  }
  
  .footer-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(247, 243, 236, 0.12);
  }
  
  .footer-subhead {
    margin-top: 28px;
  }
  
  .footer-schools-line {
    max-width: 70ch;
    text-align: right;
  }
  
  @media (max-width: 980px) {
    .footer-top,
    .footer-link-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .footer-brand {
      grid-column: 1 / -1;
    }
  
    .footer-schools-line {
      text-align: left;
    }
  }
  
  @media (max-width: 640px) {
    .site-footer {
      padding: 64px 0 28px;
    }
  
    .footer-top,
    .footer-link-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  
    .footer-bottom {
      align-items: flex-start;
    }
  }

  /* FOOTER SOCIAL */
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-top: 28px;
  padding-top: 22px;

  border-top: 1px solid rgba(247, 243, 236, 0.12);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  color: rgba(247, 243, 236, 0.58);

  transition:
    color var(--transition),
    opacity var(--transition),
    transform var(--transition);
}

.footer-social a:hover {
  color: var(--off-white);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 18px;
  height: 18px;

  stroke: currentColor;
  stroke-width: 1.5;

  fill: none;

}

.footer-social {
  width: fit-content;
}

.footer-social a {
  opacity: 0.75;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247, 243, 236, 0.38);
  margin-bottom: 14px;
}

/* RESPONSIVE */
  @media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-text { padding: 100px 32px 80px; min-height: 60vh; }
    .hero-carousel { min-height: 400px; }

    .impact { grid-template-columns: 1fr; }
    .impact-text { padding: 80px 32px; }
    .impact-img { min-height: 400px; }

    .reasons { grid-template-columns: 1fr; min-height: auto; }
    .reasons-img { min-height: 360px; }
    .reasons-text { padding: 80px 32px; }

    .gradient-stack { grid-template-columns: 1fr; gap: 40px; }
    .gradient-img { min-height: 320px; }
    .gradient-point { grid-template-columns: 1fr; gap: 6px; }

    .themes { grid-template-columns: 1fr; min-height: auto; }
    .themes-text { padding: 80px 32px; order: 1; }
    .themes-img-col { min-height: 480px; order: 2; }
    .themes-panel { width: calc(100% - 48px); max-width: 500px; aspect-ratio: 5/3.2; }
    .themes-panel-state { padding: 40px 48px; gap: 24px; }
    .themes-panel-state[data-theme="0"] { padding: 40px 48px 40px 90px; }
    .themes-panel-state[data-theme="1"] { padding: 40px 90px 40px 48px; }
    .themes-panel-state[data-theme="2"] { padding: 40px 80px 40px 48px; }
    .themes-panel-state[data-theme="3"] { padding: 40px 90px 40px 48px; }
    .themes-panel-state[data-theme="4"] { padding: 40px 48px 40px 90px; }

    .factsheet { grid-template-columns: 1fr; }
    .factsheet-img { min-height: 360px; }
    .factsheet-content { padding: 80px 32px; }

    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-top > div:first-child { grid-column: span 2; }
  }

  @media (max-width: 720px) {
    .wrap { padding: 0 24px; }
    :root { --gutter: 24px; }

    .nav-primary { display: none; }
    .nav-toggle { display: flex; }

    .hero-text { padding: 90px 24px 60px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }

    .impact-text, .reasons-text, .themes-text, .factsheet-content { padding: 64px 24px; }
    .gradient-section, .faculty, .voices, .news { padding: 80px 0; }

    .voice-slide { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .voice-portrait { width: 140px; height: 140px; margin: 0 auto; }

    .footer-top { grid-template-columns: 1fr; }
    .footer-top > div:first-child { grid-column: 1; }

    .faculty-header, .news-header {
      flex-direction: column; align-items: flex-start; gap: 32px;
    }
    .faculty-card, .achievement-card { flex: 0 0 240px; }
    .achievement-card { margin-bottom: 47px; }

    .news-card.featured, .news-card.wide { flex: 0 0 280px; aspect-ratio: 4/5; }
    .news-card.wide { grid-template-columns: 1fr; aspect-ratio: 4/5; }
    .news-card.wide .news-img-half { display: none; }
    .news-card.standard, .news-card.text-led { flex: 0 0 260px; }

    .themes-panel { width: calc(100% - 32px); aspect-ratio: 5/3.5; max-width: 380px; }
    .themes-panel-state {
      padding: 28px 24px;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
    .themes-panel-state[data-theme="0"] { padding: 70px 24px 28px 28px; }
    .themes-panel-state[data-theme="1"] { padding: 70px 28px 28px 24px; }
    .themes-panel-state[data-theme="2"] { padding: 28px 60px 28px 24px; }
    .themes-panel-state[data-theme="3"] { padding: 28px 28px 70px 24px; }
    .themes-panel-state[data-theme="4"] { padding: 28px 24px 70px 28px; }
    .themes-num { font-size: 56px; }
    .themes-img-col { min-height: 420px; }
  }

  /* SUB-NAV */
  .sub-nav {
    position: sticky;
    top: 76px;
    z-index: 50;
    background: var(--off-white);
    border-bottom: 1px solid var(--rule);
    transition: top var(--transition);
  }
  body.scrolled .sub-nav { top: 64px; }
  .sub-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .sub-nav-inner::-webkit-scrollbar { display: none; }
  .sub-nav-label {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--ink-soft);
    margin-right: 24px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sub-nav a {
    display: inline-block;
    padding: 22px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: color var(--transition);
    white-space: nowrap;
    position: relative;
  }
  .sub-nav a:hover { color: var(--marble-red); }
  .sub-nav a.current { color: var(--marble-red); }
  .sub-nav a.current::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 24px; right: 24px;
    height: 2px;
    background: var(--marble-red);
  }