:root{
    --bg: #e6eaea;
    --ink: #1c2b2b;
    --teal: #2fd5ac;
    --teal-dark: #17b492;
    --teal-deep: #0e9a7c;
    --line: rgba(28,43,43,0.14);
  }

  :root{
    --bg: linear-gradient(135deg, #bed5d0 0%, #e6eaea 50%);
    --ink: #1c2b2b;
    --teal: #2fd5ac;
    --teal-dark: #17b492;
    --teal-deep: #0e9a7c;
    --line: rgba(28,43,43,0.14);
}

  *{ box-sizing: border-box; }

  html,body{
    margin:0;
    padding:0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }

  .page{
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
  }

  .first-view{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  /* ---------- Header ---------- */
  header{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 40px 56px 0;
  }

  .mark{
    width: 44px;
    height: 44px;
    position: relative;
    flex-shrink: 0;
  }
  .mark svg{ width: 100%; height: 100%; display:block; }

  .wordmark{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.28em;
    color: var(--ink);
  }

  /* ---------- Hero ---------- */
  .hero{
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 56px;
    min-height: 560px;
  }

  .copy{
    position: relative;
    z-index: 3;
    max-width: 620px;
    padding-top: 40px;
  }

  h1{
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 6.5vw, 80px);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.01em;
  }
  h1 em{
    font-style: italic;
    font-weight: 500;
    color: var(--teal-dark);
  }

  .subtitle{
    margin: 14px 0 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.85;
  }

  .cta{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  }
  .cta:hover{
    background: var(--ink);
    transform: translateY(-2px);
    color: white;
  }
  .cta .arrow{
    display: inline-block;
    transition: transform 0.25s ease;
  }
  .cta:hover .arrow{ transform: translateY(3px); }

  /* ---------- Floating F logo ---------- */
  .logo-stage{
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    width: min(46vw, 630px);   /* <-- change this to resize the logo */
    aspect-ratio: 1083 / 1073; /* matches the trimmed PNG's true shape */
    z-index: 2;
    pointer-events: none;
  }

  .logo-float{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: floaty 2.5s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(14, 154, 124, 0.28));
  }

  .shadow-ellipse{
    position: absolute;
    left: 50%;
    bottom: 1%;
    width: 110%;
    height: 15%;
    background: radial-gradient(ellipse at center, rgba(10, 14, 14, 0.35) 5%, rgba(6, 8, 8, 0) 72%);
    transform: translateX(-50%);
    animation: shadowpulse 2.5s ease-in-out infinite;
    z-index: 1;
    filter: blur(5px);
  }

  @keyframes floaty{
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(-1.2deg); }
  }
  @keyframes shadowpulse{
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.55; }
    50% { transform: translateX(-50%) scale(0.82); opacity: 0.32; }
  }

  @media (prefers-reduced-motion: reduce){
    .logo-float, .shadow-ellipse{ animation: none; }
  }

  /* ---------- Marquee ribbon ---------- */
  .ribbon{
    position: relative;
    z-index: 3;
    width: 100%;
    overflow: hidden;
    background: #dde3e3;
    border-top: 1px solid var(--line);
    padding: 5px 0;
  }

  .ribbon-track{
    display: flex;
    width: max-content;
    animation: scroll-left 26s linear infinite;
  }

  .ribbon-track:hover{
    animation-play-state: paused;
  }

  .ribbon-item{
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 0 34px;
    /*font-family: 'Playfair Display', serif;*/
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--ink);
    white-space: nowrap;
  }
  .ribbon-item em{
    font-style: italic;
    font-weight: 500;
  }
  .ribbon-item .dot{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal-dark);
    display: inline-block;
    margin-left: 18px;
  }

  @keyframes scroll-left{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
  }

  @media (prefers-reduced-motion: reduce){
    .ribbon-track{ animation: none; }
  }

  /* ================================================================
     NEW SECTIONS
     ================================================================ */

  /* ---------- Alumni section wrapper ---------- */
  .alumni-section{
    position: relative;
    z-index: 3;
    padding: 90px 56px 100px;
    background: #dfe4e4;
    border-top: 1px solid var(--line);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .alumni-title{
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 44px);
    margin: 0 0 40px;
    letter-spacing: -0.01em;
  }
  .alumni-title em{
    font-style: italic;
    font-weight: 500;
    color: var(--teal-dark);
  }
  .alumni-title.participants-heading{
    margin-top: 80px;
  }

  /* ---------- Student Leadership grid ---------- */
  .leadership-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .leadership-card{
    background: #ffffff;
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    animation: alumniFadeIn 0.45s ease both;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  }
  .leadership-card:hover{
    box-shadow: 0px 10px 30px color-mix(in srgb, var(--hover-color, var(--teal-dark)) 55%, transparent);
    transform: translateY(-5px);
  }

  @keyframes alumniFadeIn{
    from{ opacity: 0; transform: translateY(10px); }
    to{ opacity: 1; transform: translateY(0); }
  }

  .leadership-photo{
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    border: 1.5px solid rgba(28,43,43,0.25);
    background: #f6f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}
.leadership-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% top;
    display: block;
}
  .leadership-photo-placeholder{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--teal-dark);
    background: rgba(47,213,172,0.15);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .leadership-name{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .leadership-school{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    margin: 0 0 2px;
    color: var(--ink);
  }
  .leadership-degree{
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin: 0;
    color: var(--ink);
    opacity: 0.7;
  }
  .leadership-secondary{
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    margin: 8px 0 0;
    color: var(--ink);
    opacity: 0.5;
  }

  /* ---------- Participants, grouped by year ---------- */
  .participants-nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 36px;
  }

  .participants-year-label{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    min-width: 90px;
    text-align: center;
  }

  .participants-grid{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 28px 16px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .participant{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: alumniFadeIn 0.45s ease both;
  }

  .participant-avatar{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .participant-name{
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    text-align: center;
    color: var(--ink);
    opacity: 0.8;
  }

  /* ---------- Shared: arrow buttons (used by participants year nav) ---------- */
  /* ---------- Shared: arrow buttons + dots (leadership nav, participants year nav) ---------- */
  .leadership-nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
  }

  .alumni-dots{
    display: flex;
    gap: 8px;
  }
  .alumni-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .alumni-dot.active{
    background: var(--teal-dark);
    transform: scale(1.25);
  }

  .alumni-arrow{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  }
  .alumni-arrow:hover{
    background: var(--ink);
    color: #dfe4e4;
    transform: translateY(-2px);
  }

  @media (max-width: 860px){
    .alumni-section{ padding: 64px 24px 80px; }
    .leadership-grid{ grid-template-columns: repeat(2, 1fr); }
    .participants-grid{ grid-template-columns: repeat(4, 1fr); }
  }

  @media (max-width: 480px){
    .leadership-grid{ grid-template-columns: 1fr; max-width: 340px; }
    .participants-grid{ grid-template-columns: repeat(3, 1fr); }
  }

  /* ---------- Impact / donate section ---------- */
  .impact-section{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: row;          /* back to side-by-side */
    align-items: center;
    justify-content: space-between;  /* restored — this spaces text and image apart */
    gap: 40px;
    padding: 100px 56px;
    min-height: 100vh;            /* kept — this is what fills the screen height */
    background: var(--bg);
    border-top: 1px solid var(--line);
}

  .impact-copy{
    max-width: 520px;
  }

  .impact-title{
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    margin: 0 0 30px;
    letter-spacing: -0.01em;
  }
  .impact-title em{
    font-style: italic;
    font-weight: 500;
    color: var(--teal-dark);
  }

  .cta--filled{
    background: var(--teal);
    border-color: var(--teal);
    color: var(--ink);
  }
  .cta--filled:hover{
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: white;
  }

  .donation-stage{
    position: relative;
    width: min(46vw, 600px);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }

  .donation-float{
    width: 100%;
    height: 100%;
    animation: floaty 2.5s ease-in-out infinite;
    filter: drop-shadow(0 24px 30px rgba(14, 154, 124, 0.26));
  }

  .shadow-ellipse--donation{
    width: 60%;
    height: 8%;
    bottom: 10%;
  }

  @media (max-width: 860px){
    .impact-section{
      flex-direction: column;
      text-align: center;
      padding: 72px 24px;
      gap: 56px;
    }
    .impact-copy{ max-width: 100%; }
    .donation-stage{ width: 60vw; }
  }

  /* ---------- Scholarship signup ---------- */
  .scholarship-section{
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;              /* ← fills viewport, same pattern as before */
    padding: 100px 24px 120px;
    background: #dfe4e4;
    border-top: 1px solid var(--line);   /* ← matching divider line */
}

  .scholarship-card{
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 52px 44px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(20,30,30,0.08);
  }

  .scholarship-title{
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 38px);
    margin: 0 0 34px;
    letter-spacing: -0.01em;
  }
  .scholarship-title em{
    font-style: italic;
    font-weight: 500;
  }

  .scholarship-label{
    display: block;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.75;
    margin-bottom: 10px;
  }

  .scholarship-input{
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--teal-dark);
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 26px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .scholarship-input:focus{
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(23,180,146,0.18);
  }

  .scholarship-submit{
    width: 100%;
    padding: 15px 26px;
    border-radius: 999px;
    border: none;
    background: var(--ink);
    color: var(--teal);
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
  }
  .scholarship-submit:hover{
    background: #0f1919;
    transform: translateY(-2px);
  }

  .scholarship-fineprint{
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: var(--ink);
    opacity: 0.6;
    margin: 18px 0 0;
  }

  @media (max-width: 860px){
    .scholarship-card{ padding: 40px 26px; }
  }

  /* ---------- Responsive (hero / logo) ---------- */
  @media (max-width: 860px){
    header{ padding: 28px 24px 0; }
    .hero{ padding: 0 24px; min-height: 460px; }
    .copy{ padding-top: 100px; }
    .logo-stage{
      width: 60vw;
      right: -10%;
      top: 38%;
      opacity: 0.55;
    }
  }