  /* ===================================================
    Dr. Manmohan Singh Trust — stylesheet
    =================================================== */
  @font-face {
    font-family: "IBM-plex";
    src: url("asset/image/static/IBMPlexSans-Medium.ttf") format("truetype");
    font-weight: 300 900;
    font-display: swap;
    font-style: normal;
  }

  @font-face {
    font-family: "IBM-plex2";
    src: url("asset/image/static/IBMPlexSans-Light.ttf") format("truetype");
    font-weight: 300 900;
    font-display: swap;
    font-style: normal;
  }

  @font-face {
    font-family: "IBM-plex3";
    src: url("asset/image/static/IBMPlexSans-Regular.ttf") format("truetype");
    font-weight: 300 500 900;
    font-display: swap;
    font-style: normal;
  }

  :root {
    --navy-deep: #131d45;
    --navy-mid: #0B1F63;
    --navy-soft: #24356f;
    --teal: #006E9D;
    --teal-dark: #055070;
    --teal-deep: #0f5568;
    --cream: #faf6ec;
    --cream-line: #e7e0d0;
    --ink: #000000;
    --ink-soft: rgba(0, 0, 0, 1);
    --sky: #DAE9F2;

    --white: #ffffff;
    --radius-md: 10px;
    --radius-pill: 9.99px;
    --shadow-card: 0 10px 30px rgba(19, 29, 69, 0.08);
    --font-display: 'Georgia', 'Iowan Old Style', serif;

  }

  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  /* Anchor targets (nav links like #about, #contact) land with this much
     clearance above them, so the fixed header never covers the section
     heading right after a smooth scroll. */
  section[id],
  .site-footer[id] {
    scroll-margin-top: 100px;
  }

  /* Respect users who've asked their OS/browser to reduce motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }

  body {
    margin: 0;
    font-family: "IBM-plex3";
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;

  }

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

  a {
    text-decoration: none;
    color: inherit;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: "IBM-plex3";
    margin: 0;
  }

  p {
    margin: 0;
  }

  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
  }

  .section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 2.5rem;
    font-family: "IBM-plex3";
  }

  .about-trust {
    font-family: "IBM-plex" !important;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 400 !important;
    white-space: nowrap;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  }

  /* .btn::before{
    content:"•";
    font-size:1rem;
    line-height:0;
  } */
  .btn:hover {
    transform: translateY(-1px);
    color: white !important;
  }

  .btn-teal {
    background: var(--teal);
    color: var(--white);
  }

  .btn-teal:hover {
    background: var(--teal-dark);
  }

  .btn-outline-light {
    background: white;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, .55);
  }

  .btn-outline-banner {
    background: transparent;
    color: var(--white);
  }

  .hero-cta-btn {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .55);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
  }

  .hero-cta-btn:hover {
    background: rgba(255, 255, 255, .12);
  }

  .hero-copy.dark-text .hero-cta-btn {
    background: var(--white);
    color: var(--ink);
    border-color: var(--ink);
  }

  .hero-copy.dark-text .hero-cta-btn:hover {
    background: rgba(0, 0, 0, .08);
  }

  .btn-outline-light:hover {
    background: var(--navy-mid);
    color: white;
  }

  /* ---------- Placeholder image blocks ---------- */
  .ph-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: .6rem .8rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9d3e6 0%, #9fb0cf 45%, #7488ab 100%);
    color: rgba(255, 255, 255, .85);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .02em;
    overflow: hidden;
    min-height: 100px;
  }

  .ph-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 10px, transparent 10px 20px);
  }

  .ph-image span {
    position: relative;
    z-index: 1;
  }

  .ph-mono {
    filter: grayscale(1);
    background: linear-gradient(135deg, #cfcfcf, #8a8a8a);
  }

  /* ---------- Header (absolutely positioned over the hero banner) ---------- */
  .site-header {
    margin: 20px 50px;
    /* border-radius: 10px; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-line);
    transition: all .3s ease;
  }

  /* ---------- Sticky header (after scrolling past hero) ---------- */
  .site-header.scrolled {
    position: fixed;
    top: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(19, 29, 69, 0.08);
    animation: headerSlideDown .35s ease;
  }

  @keyframes headerSlideDown {
    from {
      transform: translateY(-100%);
    }

    to {
      transform: translateY(0);
    }
  }

  /* push page content down when header becomes fixed, so nothing jumps */
  body.header-fixed {
    padding-top: 84px;
    /* roughly the header's rendered height — tweak if needed */
  }

  .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: .9rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-family: var(--font-display);
    flex-shrink: 0;
  }

  .logo-line1 {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .03em;
  }

  .logo-line2 {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 1rem;
    color: #2b2b33;
    justify-content: right;
  }

  .main-nav a.active {
    font-weight: 700;
    color: black;

  }

  .main-nav a:hover {
    color: black;
  }

  .header-cta {
    padding: .65rem 1.3rem;
    font-size: .8rem;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    display: block;
  }

  /* ---------- Hero: one full-bleed banner image, header floats on top ---------- */
  .hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
  }

  /* Carousel: a stack of full-cover slides, only .active is visible */
  .hero-banner {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--navy-deep);
    /* shows briefly if an image is missing/loading */
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
  }

  .hero-slide.active {
    opacity: 1;
  }

  /* ---------- Hero entrance animation (words-in, then portrait reveal) ---------- */
  /* The background photo (slide-1.JPG) shows immediately; only the Dr.
     Manmohan Singh cutout (slide-1.PNG) starts hidden. script.js removes
     .hero-portrait-hidden once the heading/paragraph finish animating in
     word-by-word, so the portrait fades/rises in right after the text. */
  .hero-portrait {
    position: absolute;
    right: 26%;
    bottom: 0;
    height: 80%;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
    transition: opacity 1.1s ease, transform 1.4s ease;
  }

  .hero-portrait.hero-portrait-hidden {
    opacity: 0 !important;
    transform: translateY(40px) scale(1.04);
  }

  .hero-copy h1,
  .hero-copy p {
    overflow: hidden;
  }

  .hero-copy .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    animation: heroWordIn .6s cubic-bezier(.25, .8, .25, 1) forwards;
    will-change: opacity, transform;
  }

  @keyframes heroWordIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Background photo fills the slide; the portrait (below) is sized/positioned
     separately so it isn't stretched. */
  .hero-slide>img:not(.hero-portrait) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Dark gradient so the header/text stay readable over any photo */
  .hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 2;
    pointer-events: none;
  }

  /* Text sits on top of the banner image, header sits above that */
  .hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 4rem;
  }

  .hero-copy {
    color: var(--white);
    max-width: 480px;
    transition: opacity .4s ease;
  }

  .hero-copy.fading {
    opacity: 0;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }

  .hero-copy p {
    font-size: .95rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }

  .hero-copy.dark-text h1 {
    color: var(--ink);
  }

  .hero-copy.dark-text p {
    color: rgba(0, 0, 0, .7);
  }

  .hero-controls {
    position: absolute;
    right: 2rem;
    top: 45%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-dots {
    display: flex;
    flex-direction: column;
    gap: .4rem;
  }

  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
  }

  .dot.active {
    background: #fff;
  }

  /* Hero dots flip to dark on slides with data-color="dark" */
  .hero-controls.dark-text .dot {
    background: rgba(0, 0, 0, .3);
    transition: background .3s ease;
  }

  .hero-controls.dark-text .dot.active {
    background: var(--ink);
  }

  /* Hero arrow icons flip from white to black on dark-text slides */
  .hero-controls .hero-arrow-up img,
  .hero-controls .hero-arrow-down img {
    transition: filter .3s ease;
  }

  .hero-controls.dark-text .hero-arrow-up img,
  .hero-controls.dark-text .hero-arrow-down img {
    filter: invert(1);
  }

  /* ---------- Ticker ---------- */
  .ticker-bar {
    display: flex;
    align-items: center;
    background: var(--sky);
    border-bottom: 1px solid #d7e0ee;
    margin: 2rem 6rem;
    border-radius: .4rem !important;
    margin-top: 0px !important;
  }

  .ticker-label {
    flex-shrink: 0;
    background: var(--sky);
    color: var(--ink);
    font-weight: 700;
    border-right: 1px solid rgb(197, 197, 197);
    font-size: .85rem;
    padding: .9rem 1.5rem;
    border-radius: .4rem 0rem 0rem .4rem;

  }

  .ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    padding: .9rem 0;
    -webkit-mask-image: linear-gradient(to right,
        transparent 0,
        #000 90px,
        #000 calc(100% - 40px),
        transparent 100%);
    mask-image: linear-gradient(to right,
        transparent 0,
        #000 90px,
        #000 calc(100% - 40px),
        transparent 100%);
  }

  .ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: scroll-left 28s linear infinite;
    font-size: .85rem;
    color: #40465c;
  }

  .ticker-track span::after {
    content: "•";
    margin-left: 3rem;
    color: var(--teal);
  }

  @keyframes scroll-left {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  /* ---------- About ---------- */
  .bac {
    background: rgba(138, 186, 255, 0.15);
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .about {
    /* max-width: 1300px; */
    /* padding: 0px 4.5rem 2rem 3rem; */
    padding-left: 0px;

  }

  .about-layout {
    display: grid;
    grid-template-columns: 110px 1fr;
    /* gap: 2.5rem; */
    /* margin-bottom: 4rem; */
    align-items: start;
  }

  .about-tabs {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: .8rem;
  }

  .about-tab {
    text-align: center;
    padding: .8rem .7rem .8rem 1rem;
    border-radius: 0px 30px 30px 0px;
    background: var(--sky);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 400;
    transition: background .2s ease, color .2s ease, transform .25s cubic-bezier(.25, .8, .25, 1);
  }

  .about-tab:hover {
    transform: scale(1.06);
  }

  .about-tab.active {
    background: var(--teal);
    color: #fff;
  }

  /* Tab panels — only the .active one is shown */
  .about-panels {
    min-width: 0;
    margin-left: -8%;
  }

  .about-panel {
    display: none;
    margin-top: .8rem;
  }

  .about-panel.active {
    display: block;
    animation: aboutFadeIn .35s ease;
    max-width: 1150px;
    margin: 0px auto;
  }

  .tab-trust {
    margin-top: -60px;
  }

  @keyframes aboutFadeIn {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .about-gallery {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: .9rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
  }

  .gallery-stack {
    display: flex;
    flex-direction: column;
    gap: .9rem;
  }

  .ph-sm {
    height: 130px;
  }

  .ph-lg {
    height: 280px;
  }

  /* Real <img> versions of the gallery blocks */
  .gallery-img {
    border-radius: 14px;
    overflow: hidden;
  }

  .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gallery-img-sm {
    height: 108px;
  }

  .gallery-img-lg {
    height: 225px;
  }

  .about-copy {
    max-width: 1034px;
    margin: 0rem auto 1rem;
    text-align: center;
  }

  .about-copy p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .about-copy-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .4s ease;
  }

  .about-copy-extra.open {
    max-height: 500px;
    /* large enough to fit your extra text */
    opacity: 1;
    margin-top: 1rem;
  }

  .about-cta {
    text-align: center;
    /* margin-right: 80px; */
  }

  /* Trustees tab — horizontal scrolling card row */
  .trustee-scroller {}

  .tust-card {
    background: linear-gradient(to bottom, #CDDFFB, white);
    min-height: 300px;
    position: relative;
    /* border-radius: 10px; */
  }

  .tust-card img {
    position: absolute;
    bottom: 0px;
  }

  .tust-card .daman {
    width: 85%;
    left: 10px;
  }

  .trustee-scroller::-webkit-scrollbar {
    height: 6px;
  }

  .trustee-scroller::-webkit-scrollbar-track {
    background: var(--sky);
    border-radius: 10px;
  }

  .trustee-scroller::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 10px;
  }

  .trustee-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.3rem;
  }

  .trustee-photo {
    height: 220px;
    overflow: hidden;
  }

  .trustee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .trustee-photo .ph-image {
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .trustee-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.1rem 1.1rem .2rem;
  }

  .trustee-card .trustee-role {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin: 0 1.1rem .6rem;
  }

  .trustee-card p {
    font-size: .8rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 1.1rem;
  }

  /* ---------- Trustee bio popup ---------- */
  .trustee-item {
    cursor: pointer;
  }

  .trustee-hover-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  .trustee-hover-overlay.open {
    display: flex;
  }

  .trustee-hover-card {
    position: relative;
    display: flex;
    max-width: 900px;
    width: 100%;
    max-height: 55vh;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }

  .trustee-hover-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .06);
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .trustee-hover-close:hover {
    background: rgba(0, 0, 0, .12);
  }

  .trustee-hover-photo {
    flex: 0 0 320px;
    background: linear-gradient(to bottom, #CDDFFB, white);
    border-radius: 10px;
  }

  .trustee-hover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .trustee-hover-info {
    padding: 2rem 2.2rem;
    overflow-y: auto;
    background: white;
    margin-left: 10px;
    border-radius: 10px;
  }

  .trustee-hover-info h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--cream-line);
  }

  .trustee-hover-info h3 .sep {
    color: var(--ink-soft);
    margin: 0 .4rem;
    font-weight: 400;
  }

  .trustee-hover-info h3 .role {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink-soft);
  }

  .trustee-hover-info p {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 1rem;
  }

  .trustee-hover-info p:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 700px) {
    .trustee-hover-card {
      flex-direction: column;
      max-height: 55vh;
    }

    .trustee-hover-photo {
      /* flex: 0 0 200px; */
      display: none;
    }
  }

  /* Vision tab — simple centered copy block */
  .vision-copy {
    max-width: 900px;
    margin: 1.5rem auto 0;
    text-align: center;
  }

  .vision-copy p {
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
  }

  /* ---------- Activities ---------- */
  .activities {
    background: var(--navy-mid);
    color: #fff;
    padding: 4.5rem 5rem;
  }

  .activities-header {
    max-width: 1300px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .activities-header h2 {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-body);
  }

  .view-all {
    font-size: .8rem;
    padding: .6rem 1.2rem;
    margin-left: auto;
  }

  /* only the View-all button of the active tab is visible */
  .view-all { display: none; }
  .view-all.active { display: inline-block; }

  .activity-tabs {
    max-width: 1300px;
    margin: 0 auto 3rem;
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
  }

  .activity-tabs-inner {
    background-color: white;
    border-radius: 20px;
  }

  .activity-tab {
    padding: .65rem 2.3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 300;
  }

  .activity-tab-last {
    padding-right: 40px !important;
  }

  .activity-tab.active {
    background: var(--teal);
    color: white;
  }

  .activity-cards {
    max-width: 1300px;
    margin: 0 auto;
  }

  /* Panels — only the .active panel is shown; each panel holds its own
    Bootstrap .row of cards, styled with act- prefixed classes below
    so nothing collides with the Trustees (.tust-card/.caption) styles. */
  .act-panel {
    display: none;
  }

  .act-panel.active {
    display: block;
    animation: aboutFadeIn .35s ease;
  }

  /* Media-style card: image + title/subtitle + play/arrow button
    (used by Lectures, Awards, Memorial tabs) */
  .act-card {
    background: #fff;
    /* border-radius: var(--radius-md); */
    overflow: hidden;
    isolation: isolate;
    color: var(--ink);
    box-shadow: var(--shadow-card);
    min-height: 489px !important;
  }

  .act-card-img {
    height: 375px;
    background: linear-gradient(135deg, #c9d3e6 0%, #9fb0cf 45%, #7488ab 100%);
    overflow: hidden;
    contain: paint;
    transform: translateZ(0);
  }

  .act-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1) translateZ(0);
    transition: transform .5s ease;
    will-change: transform;
    backface-visibility: hidden;
  }

  .act-card:hover .act-card-img img {
    transform: scale(1.08) translateZ(0);
  }

  .act-card-body {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 1.5rem 1.3rem;
  }

  .act-card-body h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: .2rem;
  }

  .act-card-body p {
    font-size: 1rem;
    color: var(--ink-soft);
  }



  .act-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    /* border: 1.5px solid var(--ink); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: white;

    background-color: #006E9D;
    padding-bottom: 3px;
  }


  /* Person-style card: photo + name + designation (used by Fellowships tab) */
  .act-person-card {
    background: linear-gradient(to bottom, #CDDFFB, white);
    min-height: 280px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    contain: paint;
    transform: translateZ(0);
    /* border-radius: 10px 10px 0px 0px; */
  }

  .act-person-card img {
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: scale(1) translateZ(0);
    transition: transform .5s ease;
    will-change: transform;
    backface-visibility: hidden;
  }

  .act-person-card-upp:hover .act-person-card img,
  .act-person-card:hover img {
    transform: scale(1.08) translateZ(0);
  }

  .act-person-card-upp {
    /* border-radius: 20px; */

  }

  .act-person-caption {
    text-align: center;
    padding-top: .8rem;
    background-color: white;
    padding: 10px;
    min-height: 130px;
    /* border-radius: 0px 0px 10px 10px; */

  }

  .act-person-caption p {
    font-size: .95rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    padding-bottom: 5 px;
  }

  .act-person-caption span:first-child {
    font-size: .95rem;
    background-color: #EBF2FD;
    color: #3C5272;
    padding: 0px 10px;
  }

  .act-person-caption p:last-child {
    font-size: .76rem;
    color: var(--ink);
  }

  .act-person-caption .act-person-role {
    font-size: .8rem;
    color: var(--ink);
  }

  .act-person-caption-aw {
    min-height: 100px;
  }

  /* ---------- Archives ---------- */
  .archives {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4.5rem 4rem;
  }

  .archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .archive-card {
    text-align: center;
    background: linear-gradient(to bottom, transparent 0%, transparent 70%, var(--sky) 100%);
    border-radius: 5px;
    border: 1px solid #dfdfdf;
    overflow: hidden;
    isolation: isolate;
    /* NEW — stops repaint bleed from the child */
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow .35s ease, transform .35s ease;
  }

  .archive-card:hover {
    box-shadow: var(--shadow-card);
  }

  .archive-img {
    height: 190px;
    overflow: hidden;
    contain: paint;
    /* NEW — isolates this clip region */
    transform: translateZ(0);
    /* NEW — promotes to its own layer */
  }

  .archive-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1) translateZ(0);
    transition: transform .5s ease;
    will-change: transform;
    backface-visibility: hidden;
  }

  .archive-card:hover .archive-img img {
    transform: scale(1.08) translateZ(0);
  }

  .ph-archive {
    height: 190px;
    border-radius: 0;
  }

  .archive-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.2rem 1.3rem .6rem;
  }

  .archive-card p {
    font-size: .82rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 1rem 1rem;
    flex: 1;
  }

  .archive-card .btn {
    margin: 0 1.3rem;
    align-self: flex-start;
    font-size: .75rem;
    padding: .4rem 2.1rem;
    margin: auto;
  }

  /* ---------- Quote ---------- */
  .quote-section {
    position: relative;
    /* background: linear-gradient(135deg, var(--teal-deep), #0a4351); */
    background-color: #006E9D;
    color: #fff;
    padding: 5rem 5rem 4rem;
    text-align: center;
    min-height: 420px;
  }

  /* only the active quote is visible */
  .quote-slide { display: none; }
  .quote-slide.active { display: block; }

  .quote-content blockquote {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 1.2rem;
    line-height: 1.35;
  }

  .quote-content cite {
    font-style: normal;
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
  }

  .quote-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quote-arrow-left {
    left: 2rem;
  }

  .quote-arrow-right {
    right: 2rem;
  }

  .quote-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
    display: none !important;
  }

  .quote-dots .dot {
    width: 7px;
    height: 7px;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    padding: 4rem 2rem 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-body);
  }

  .footer-col a {
    display: block;
    font-size: 1rem;
    color: var(--ink-soft);
    margin-bottom: .5rem;
  }

  .footer-col a:hover {
    color: black;
  }

  .social-row {
    display: flex;
    gap: .8rem;
    margin-top: .8rem;
  }

  .follow-us-fot {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
  }

  .footer-bottom {
    border-top: 1px solid var(--cream-line);
    padding-top: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .82rem;
    color: var(--ink-soft);
    flex-wrap: wrap;
    gap: .8rem;
  }

  .footer-legal {
    display: flex;
    gap: 2.5rem;
  }

  /* =========================================================
    Responsive
    ========================================================= */
  @media (max-width: 1080px) {
    .archive-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      padding-bottom: 2.5rem;
    }

    /* Row 2: Archives spans both columns, full width */
    .footer-col:nth-child(3) {
      grid-column: span 2;
    }

    /* Row 3: Connect spans both columns, full width */
    .footer-col:nth-child(4) {
      grid-column: span 2;
    }
  }

  @media (max-width: 900px) {
    .main-nav {
      display: none;
    }

    .nav-toggle {
      display: flex;
    }

    .header-cta {
      display: none;
    }

    .hero-overlay {
      position: relative;
      z-index: 2;
      max-width: 1400px;
      margin: 0 auto;
      min-height: 600px;
      display: flex;
      align-items: center;
      padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 4rem);

    }

    .hero-copy {
      color: var(--white);
      max-width: 480px;
      transition: opacity .4s ease;
    }

    .hero-copy h1 {
      font-size: clamp(1.6rem, 5vw, 2.6rem);
      font-weight: 400;
      line-height: 1.2;
      margin-bottom: 1.2rem;
    }

    .hero-copy p {
      font-size: clamp(.8rem, 2vw, .95rem);
      color: rgba(255, 255, 255, .8);
      line-height: 1.6;
      margin-bottom: 1.8rem;
    }

    .about-layout {
      grid-template-columns: 1fr;
    }

    .about-tabs {
      flex-direction: row;
      overflow-x: auto;
      position: static;
    }

    .about-gallery {
      grid-template-columns: 1fr;
    }

    .archive-grid {
      grid-template-columns: 1fr;
    }

    .quote-section {
      padding: 4rem 3rem;
    }

    .quote-content blockquote {
      font-size: 1.4rem;
    }

    .quote-arrow {
      display: block;
    }

    .site-header {
      margin: 12px 16px;
    }

    .hero-controls {
      right: 1rem;
    }
  }

  @media (max-width: 900px) {
    .main-nav.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--cream);
      padding: 1rem 2rem;
      gap: .9rem;
      border-bottom: 1px solid var(--cream-line);
    }

    .header-inner img {
      width: 200px !important;
      justify-content: space-between;
    }

    .header-inner {

      justify-content: space-between;
    }

    .about {
      padding: 2rem 2rem 2rem 2rem !important;
    }

    .about-trust {
      padding-left: 0px;
    }
  }

  @media (max-width: 425px) {
    .header-inner {
      padding: 0.5rem 1rem;
      justify-content: space-between;
    }

    .ticker-bar {
      margin: 0rem 0rem;
    }

  }

  @media (max-width: 767px) {
    .activities {
      padding: 2.5rem 2rem;
    }

    .archives {
      padding: 2.5rem 2rem;
      ;
    }
  }

  @media (max-width: 575px) {
    .act-person-card img {
      width: 250px !important;
    }

    .award-video-wrap-main {
      padding: 7.5rem 1.5rem !important;
      padding-bottom: 3.5rem !important;
    }
  }


  /* ===================================================
    Fellowship page — extra styles
    Loaded in addition to styles.css
    =================================================== */

  /* ---------- Inner-page hero (solid navy, centered text) ---------- */
  .sky-back {
    background: #EEF5FF;
  }

  .hero.hero-page {
    min-height: auto;
    background: var(--navy-mid);
  }

  .hero.hero-page .hero-overlay {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8.5rem 2rem 4.2rem;
  }

  .hero.hero-page .hero-copy {
    max-width: 920px;
  }

  .hero.hero-page .hero-copy h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: .6rem;
  }

  .hero.hero-page .hero-copy p {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .page-breadcrumb {
    margin-top: 1.4rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
  }

  .page-breadcrumb a {
    color: rgba(255, 255, 255, .65);
  }

  .page-breadcrumb a:hover {
    color: #fff;
  }

  .page-breadcrumb .sep {
    margin: 0 .5rem;
  }

  .page-breadcrumb .current {
    color: #fff;
    font-weight: 600;
  }

  /* ---------- Fellowship content wrapper ---------- */
  .fellowship-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 4rem 4.5rem;
  }

  /* ---------- Search + A-Z filter bar ---------- */
  .fellow-toolbar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    /* margin-bottom: 2.5rem; */
  }

  .fellow-search {
    position: relative;
    flex: 0 0 250px;
  }

  .fellow-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--ink-soft);
    pointer-events: none;
  }

  .fellow-search input {
    width: 100%;
    padding: .6rem 0rem .6rem 2rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(184, 184, 184, 1);
    /* background: var(--white); */
    background-color: transparent !important;
    font-family: inherit;
    font-size: .7rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease;
  }

  .fellow-search input:focus {
    border-color: var(--teal);
  }

  .fellow-search input::placeholder {
    color: var(--ink-soft);
  }



  /* ---------- Fellow grid ---------- */
  .fellow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.6rem;
  }

  .fellow-card {
    background: #fff;
    /* border-radius: var(--radius-md); */
    overflow: hidden;
    box-shadow: var(--shadow-card);
  }

  .fellow-photo {
    position: relative;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background: linear-gradient(to bottom, #CDDFFB, white);
    border-bottom: 1px solid rgba(205, 223, 251, 1);
  }

  .fellow-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* padding-top: 30px; */
  }

  .fellow-photo.img-error img {
    display: none;
  }

  .fellow-photo.img-error::after {
    content: "";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .02em;
  }

  .fellow-info {
    padding: 1.1rem 1.2rem 1.3rem;
    text-align: center;
  }

  .fellow-year {
    display: inline-block;
    background: var(--sky);
    color: var(--navy-mid);
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .75rem;
    /* border-radius: var(--radius-pill); */
    margin-bottom: .7rem;
  }

  .fellow-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .25rem;
  }

  .fellow-info p {
    font-size: .82rem;
    color: var(--ink-soft);
    white-space: normal;
    /* was nowrap: show the full role */
    overflow: visible;
    /* was hidden */
    text-overflow: clip;
    /* was ellipsis */
    overflow-wrap: break-word;
    line-height: 1.45;
  }

  .fellow-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ink-soft);
    font-size: .95rem;
  }

  /* ---------- Pagination ---------- */
  .fellow-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 2.8rem;
  }

  .fellow-pagination button {
    min-width: 32px;
    height: 32px;
    /* border-radius: 50%; */
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: transparent;
  }

  .fellow-pagination button.arrow {
    border: 1px solid var(--cream-line);
    color: var(--ink);
  }

  .fellow-pagination button.arrow:disabled {
    opacity: .35;
    pointer-events: none;
  }

  .fellow-pagination button.page.active {
    background: var(--teal);
    color: #fff;
  }

  .fellow-pagination button.page:hover:not(.active) {
    background: var(--sky);
    color: var(--ink);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 1080px) {
    .fellow-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .fellow-grid {
      grid-template-columns: 1fr;
    }

    .fellow-search {
      flex: 1 1 100%;
    }

    .hero.hero-page .hero-overlay {
      padding-top: 7rem;
    }
  }


  /* ===================================================
      About Us page — extra styles (page-scoped)
      Reuses the CSS variables / patterns already defined
      in styles.css so the look & feel matches the rest
      of the site.
      =================================================== */

  /* -- Person bio block (Dr. Manmohan Singh) -- */
  .about-sec {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem !important;
  }

  .person-bio {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4.5rem 4rem;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .person-bio-photo {
    /* border-radius: var(--radius-md); */
    overflow: hidden;
    background: linear-gradient(to bottom, #CDDFFB, white);
    min-height: 380px;
  }

  .person-bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .person-bio-copy h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
  }

  .person-bio-copy p {
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
  }

  .read-more-link {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: .4rem;
  }

  .read-more-link:hover {
    color: var(--teal-dark);
  }

  .bio-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .4s ease;
  }

  .bio-extra.open {
    max-height: 1200px;
    opacity: 1;
    margin-top: -.6rem;
    margin-bottom: 1.2rem;
  }

  /* -- Trust mission block (centered, light band) -- */
  .trust-mission {
    background: #EEF5FF;
    padding: 4.5rem 4rem 5rem;
  }

  .trust-mission-inner {
    max-width: 1110px;
    margin: 0 auto;
    text-align: center;
  }

  .trust-mission h2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  .trust-mission p {
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.85;
    margin-bottom: 1.2rem;
    text-align: justify !important;
  }

  .trust-mission .read-more-link {
    margin-top: .6rem;
  }

  /* -- Trustees section (navy band, 2-col cards) -- */
  .trustees-section {
    background: var(--navy-mid);
    padding: 4.5rem 4rem 5rem;
  }

  .trustees-section .section-title {
    color: #fff;
    margin-bottom: 3rem;
    font-weight: 900;
  }

  .trustee-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }

  .trustee-info-card {
    background: #fff;
    /* border-radius: var(--radius-md); */
    box-shadow: var(--shadow-card);
    padding: 0.8rem;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1.4rem;
    cursor: pointer;
  }

  .trustee-info-photo {
    /* border-radius: var(--radius-md); */
    overflow: hidden;
    background: linear-gradient(to bottom, #CDDFFB, white);
    aspect-ratio: 1 / 1.2;
  }

  .trustee-info-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .trustee-info-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(44, 46, 59, 1);
    margin-bottom: .5rem;
  }

  .trustee-info-role {
    display: inline-block;
    /* background: #EBF2FD; */
    color: rgba(60, 82, 114, 1);
    font-size: .72rem;
    font-weight: 700;
    /* padding: .3rem .75rem; */
    /* border-radius: var(--radius-pill); */
    margin-bottom: .7rem;
  }

  .trustee-info-body {
    padding: 20px 20px 0px 20px !important
  }

  .trustee-info-body p {
    font-size: .85rem;
    color: var(--ink-soft);
    line-height: 1.6;
    /* margin-bottom: .5rem; */

  }

  .trustee-info-body .read-more-link {
    margin-top: 0px;
    padding: 0px;
  }

  @media (max-width: 900px) {
    .person-bio {
      grid-template-columns: 1fr;
      padding: 3rem 2rem;
    }

    .trust-mission {
      padding: 3rem 2rem;
    }

    .trustees-section {
      padding: 3rem 2rem;
    }

    .trustee-grid {
      grid-template-columns: 1fr;
    }

    .trustee-info-card {
      grid-template-columns: 100px 1fr;
    }
  }


  /* ===================================================
    Awards page — additive styles only.
    Nothing here duplicates or overrides card/search/hero
    styling already defined in styles.css — it only adds
    the pieces the Fellowship page doesn't need:
    the institution dropdown, and the heading+search row.
    =================================================== */

  /* ---------- "Select institution" dropdown — floating label ----------
    Default state: no option is chosen, the select is visually empty, and
    the label sits centered inside the field like placeholder text.
    Once a real value is picked (.has-value on the wrapper, toggled by
    awards.js), the label animates up onto the border, white background
    "cutting" through the border line — matching the reference screenshot. */
  .award-select-row {
    max-width: 310px;
    margin-bottom: 0.5rem;
    position: relative !important;

  }

  .award-select-wrap {
    position: relative;
  }

  .award-select-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .85rem;
    color: var(--ink-soft);
    background: #EEF5FF;
    padding: 0 4px;
    pointer-events: none;
    white-space: nowrap;
    transition: top .18s ease, font-size .18s ease;
  }

  .award-select-wrap.has-value .award-select-label {
    top: 0;
    font-size: .72rem;
  }

  .award-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    font-size: .85rem;
    color: var(--ink);
    background: #EEF5FF;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    background-color: #EEF5FF;
    border: 1px solid rgba(184, 184, 184, 1);
    border-radius: var(--radius-pill);
    padding: .85rem 2.2rem .85rem 1rem;
    outline: none;
    cursor: pointer;
    transition: border-color .2s ease;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .award-select:focus {
    border-color: var(--teal);
  }

  /* ---------- "Select year" dropdown (Awards page) ----------
     Same "label cuts through the border" look as the Select institution
     field above. A year is always selected (there's no empty/placeholder
     state here), so the label sits permanently on the border — no
     centered/floating toggle needed. */
  .award-year-wrap {
    position: relative;
    min-width: 170px;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    display: inline-block;
  }

  .award-year-label {
    position: absolute;
    left: 16px;
    top: 0;
    transform: translateY(-50%);
    font-size: .72rem;
    color: var(--ink-soft);
    background: #EEF5FF;
    padding: 0 4px;
    pointer-events: none;
    white-space: nowrap;
  }

  .award-year-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    background: #EEF5FF;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    background-color: #EEF5FF;
    border: 1px solid rgba(184, 184, 184, 1);
    border-radius: var(--radius-pill);
    padding: .5rem 2.2rem .5rem 1rem;
    outline: none;
    cursor: pointer;
    transition: border-color .2s ease;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .award-year-select:focus {
    border-color: var(--teal);
  }

  /* ---------- Memorial lecture video (Awards page) ---------- */
  .award-video-wrap-main {
    background-color: #0B1F63;
    padding: 3.5rem 1.5rem;
    margin-top: 13%;
    padding-bottom: 8.5rem;
  }

  .award-video-wrap {
    max-width: 900px;

    background: #fff;
    border-radius: 18px;
    padding: 5px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    margin: -215px auto 0;
    /* pulls the card up so it overlaps the section above */
    position: relative;
    z-index: 1;
  }

  .award-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    border-radius: 10px;
    overflow: hidden;
  }

  .award-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* ---------- Institution name + year filter, same row ---------- */
  .award-panel-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    /* margin-bottom: 2rem; */
    margin-bottom: -2px;
  }

  .award-institution-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
  }

  .award-institution-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-soft);
  }

  /* ---------- Grid: awards lists per institution are short, so
    let cards fill the row width instead of the fixed 5-column
    layout used on the (much longer) Fellowship list ---------- */
  #awardsContent .fellow-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 640px) {
    .award-panel-head {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  }

  /* ---------- Scroll reveal ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.25, .8, .25, 1), transform 1s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-stagger.in-view>* {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger.in-view>*:nth-child(1) {
    transition-delay: .05s;
  }

  .reveal-stagger.in-view>*:nth-child(2) {
    transition-delay: .12s;
  }

  .reveal-stagger.in-view>*:nth-child(3) {
    transition-delay: .19s;
  }

  .reveal-stagger.in-view>*:nth-child(4) {
    transition-delay: .26s;
  }

  .reveal-stagger.in-view>*:nth-child(5) {
    transition-delay: .33s;
  }

  .reveal-stagger.in-view>*:nth-child(6) {
    transition-delay: .40s;
  }

  /* Directional variants of .reveal — same fade, but sliding in from the
     side instead of from below. Use on a pair of elements (e.g. an image
     and its copy) so one comes from the left and the other from the right. */
  .reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(.25, .8, .25, 1), transform 1s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(.25, .8, .25, 1), transform 1s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-right.in-view {
    opacity: 1;
    transform: translateX(0);
  }

  /* Alternating left/right stagger — put this on a grid/row container;
     odd children (1st, 3rd...) slide in from the left, even children
     (2nd, 4th...) from the right, each starting a beat after the last. */
  .reveal-lr-stagger>* {
    opacity: 0;
    transition: opacity .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-lr-stagger>*:nth-child(odd) {
    transform: translateX(-70px);
  }

  .reveal-lr-stagger>*:nth-child(even) {
    transform: translateX(70px);
  }

  .reveal-lr-stagger.in-view>* {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-lr-stagger.in-view>*:nth-child(1) {
    transition-delay: .05s;
  }

  .reveal-lr-stagger.in-view>*:nth-child(2) {
    transition-delay: .25s;
  }

  .reveal-lr-stagger.in-view>*:nth-child(3) {
    transition-delay: .45s;
  }

  .reveal-lr-stagger.in-view>*:nth-child(4) {
    transition-delay: .65s;
  }

  .reveal-lr-stagger.in-view>*:nth-child(5) {
    transition-delay: .85s;
  }

  .reveal-lr-stagger.in-view>*:nth-child(6) {
    transition-delay: 1.05s;
  }

  /* Like .reveal-stagger, but children slide in from the left instead of
     from below — use for a vertical stack (e.g. a list of tab buttons)
     where every item should enter from the same side, one after another. */
  .reveal-left-stagger>* {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-left-stagger.in-view>* {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-left-stagger.in-view>*:nth-child(1) {
    transition-delay: .05s;
  }

  .reveal-left-stagger.in-view>*:nth-child(2) {
    transition-delay: .3s;
  }

  .reveal-left-stagger.in-view>*:nth-child(3) {
    transition-delay: .55s;
  }

  .reveal-left-stagger.in-view>*:nth-child(4) {
    transition-delay: .8s;
  }

  /* First half of the row slides in from the left, second half from the
     right — a clean glide, no shake. Built for a 4-card row (e.g. the
     Archive cards): cards 1–2 come from the left, cards 3–4 from the
     right. They land in reverse order (4th first, then 3rd, 2nd, 1st). */
  .reveal-half-lr>*:nth-child(-n+2) {
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-half-lr>*:nth-child(n+3) {
    opacity: 0;
    transform: translateX(90px);
    transition: opacity .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-half-lr.in-view>* {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-half-lr.in-view>*:nth-child(4) {
    transition-delay: 0s;
  }

  .reveal-half-lr.in-view>*:nth-child(3) {
    transition-delay: .2s;
  }

  .reveal-half-lr.in-view>*:nth-child(2) {
    transition-delay: .4s;
  }

  .reveal-half-lr.in-view>*:nth-child(1) {
    transition-delay: .6s;
  }

  /* ---------- Photo grid: left images slide in from the left, right
     images slide in from the right, each one after the other. The
     center hero photo (lp-3) is left untouched so it stays put — no
     fade, no movement — while the side photos animate around it. ---------- */
  .reveal-photo-lr .lp-1,
  .reveal-photo-lr .lp-2 {
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-photo-lr .lp-4,
  .reveal-photo-lr .lp-5,
  .reveal-photo-lr .lp-6 {
    opacity: 0;
    transform: translateX(90px);
    transition: opacity .8s cubic-bezier(.25, .8, .25, 1), transform .8s cubic-bezier(.25, .8, .25, 1);
  }

  .reveal-photo-lr.in-view .lp-1,
  .reveal-photo-lr.in-view .lp-2,
  .reveal-photo-lr.in-view .lp-4,
  .reveal-photo-lr.in-view .lp-5,
  .reveal-photo-lr.in-view .lp-6 {
    opacity: 1;
    transform: translateX(0);
  }

  /* Left column: top image first, bottom-left image follows. */
  .reveal-photo-lr.in-view .lp-1 {
    transition-delay: .1s;
  }

  .reveal-photo-lr.in-view .lp-2 {
    transition-delay: .35s;
  }

  /* Right side: same staggered timing, mirrored from the right. */
  .reveal-photo-lr.in-view .lp-4 {
    transition-delay: .1s;
  }

  .reveal-photo-lr.in-view .lp-5 {
    transition-delay: .35s;
  }

  .reveal-photo-lr.in-view .lp-6 {
    transition-delay: .6s;
  }


  .footer-contact {
    display: flex;
    border: 1px solid #e3e2d8;
    /* padding: 10px; */
    border-radius: 5px;
    justify-content: center;
    align-items: center;
  }

  .footer-contact p {
    font-size: 12px;
    color: #61615C;
  }

  .footer-contact a {
    /* font-size: 12px; */
    color: #2C2E3B;
    margin: 0px;
  }

  .footer-col-2 {
    border-left: 1px solid #e3e2d8;
    padding: 8px;
  }

  .footer-col-1 {
    /* padding: 0px auto; */
    padding: 8px;
  }

  .des {
    font-size: 13px;
    color: #5f5f5f;
  }

  /* ===================================================
    Memorial Lectures page — additive styles only.
    Loaded after styles.css. Reuses existing tokens
    (--navy-mid, --teal, --ink-soft, --sky, --cream-line)
    and existing classes (.hero-page, .person-bio,
    .read-more-link, .sky-back) so it matches the rest
    of the site.
    =================================================== */

  /* ---------- Speaker profile section ---------- */
  .lecture-speaker {
    padding: 3.5rem 7rem 4.5rem;
  }

  .lecture-speaker-inner {
    max-width: 1300px;
    margin: 0 auto;
  }

  .lecture-year-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .5rem;
  }

  .lecture-year-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--cream-line);
    border-radius: 8px;
    background: var(--white);
    padding: .45rem 1rem;
    min-width: 130px;
  }

  .lecture-year-label {
    font-size: .68rem;
    color: var(--ink-soft);
    margin-bottom: .1rem;
  }

  .lecture-year-select {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 1.2rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
      linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
    background-position: calc(100% - 4px) 55%, calc(100% + 1px) 55%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
  }

  .lecture-person-bio {
    padding: 0;
  }

  .lecture-intro {
    font-size: 1rem !important;
    color: var(--ink-soft);
    margin-bottom: 1.4rem !important;
    line-height: 1.7 !important;
  }

  .lecture-intro-blur {
    color: rgba(0, 0, 0, 0.6) !important;
  }

  .lecture-bio-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .4s ease;
  }

  .lecture-bio-extra.open {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: .6rem;
  }

  /* ---------- Lecture detail section ---------- */
  .lecture-detail {
    background: var(--white);
    padding: 4.5rem 9rem 2rem;
    text-align: center;
  }

  .lecture-detail-inner {
    max-width: 900px;
    margin: 0 auto;
  }

  .lecture-detail-title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.4rem;
  }

  .lecture-date {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .lecture-detail p {
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 1.4rem;
    text-align: justify !important;
  }

  .lecture-subhead {
    font-weight: 700 !important;
    color: var(--ink) !important;
    text-align: center !important;
  }

  .lecture-cta {
    margin: 1.6rem 0 3rem;
  }

  .lecture-video-wrap {
    background: var(--navy-mid);
    padding: 0 4rem 4.5rem;
    margin-top: -3rem;
  }

  .lecture-video-frame {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: .7rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
  }

  .lecture-video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 8.2;
    background: #000;
  }

  .lecture-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }



  /* ---------- Photographs section ---------- */
  .lecture-photos {
    padding: 4rem 9rem 5.5rem;
  }

  .lecture-photos-inner {
    max-width: 1300px;
    margin: 0 auto;
  }

  .lecture-photos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.8rem;
  }

  .lecture-photos-header h2 {
    font-size: 2rem;
    font-weight: 700;
  }

  .lecture-photos-arrows {
    display: flex;
    gap: .6rem;
  }

  .lecture-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid black;
    /* background: var(--white); */
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
  }

  .lecture-arrow:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
  }

  .lecture-photo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 216px;
    gap: 1rem;
  }

  .lecture-photo {
    /* border-radius: 8px; */
    overflow: hidden;
    background: linear-gradient(135deg, #c9d3e6 0%, #9fb0cf 45%, #7488ab 100%);
  }

  .lecture-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .lp-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .lp-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .lp-3 {
    grid-column: 2 / 5;
    grid-row: 1 / 3;
  }

  .lp-4 {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
  }

  .lp-5 {
    grid-column: 5 / 7 !important;
    grid-row: 2 / 3;
  }

  .lp-6 {
    grid-column: 6 / 7;
    grid-row: 2 / 3;
  }

  /* ---------- Photo slider: only the .is-active slide is shown; the
     others stay in the DOM (so the prev/next arrows can flip straight
     to them) but hidden. Each slide reuses the exact same lp-1..lp-6
     layout above, so every slide looks identical in design. ---------- */
  .lecture-photos-slider {
    position: relative;
  }

  .lecture-slide {
    display: none;
  }

  .lecture-slide.is-active {
    display: grid;
  }

  /* Left/right entrance for each photo — replayed via JS every time a
     slide becomes active (not tied to scrolling anymore). */
  .lecture-slide.is-active .lp-1,
  .lecture-slide.is-active .lp-2 {
    animation: lecturePhotoInLeft .8s cubic-bezier(.25, .8, .25, 1) both;
  }

  .lecture-slide.is-active .lp-4,
  .lecture-slide.is-active .lp-5,
  .lecture-slide.is-active .lp-6 {
    animation: lecturePhotoInRight .8s cubic-bezier(.25, .8, .25, 1) both;
  }

  .lecture-slide.is-active .lp-1 {
    animation-delay: .1s;
  }

  .lecture-slide.is-active .lp-2 {
    animation-delay: .35s;
  }

  .lecture-slide.is-active .lp-4 {
    animation-delay: .1s;
  }

  .lecture-slide.is-active .lp-5 {
    animation-delay: .35s;
  }

  .lecture-slide.is-active .lp-6 {
    animation-delay: .6s;
  }

  @keyframes lecturePhotoInLeft {
    from {
      opacity: 0;
      transform: translateX(-90px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes lecturePhotoInRight {
    from {
      opacity: 0;
      transform: translateX(90px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* ---------- Photo slider dot indicators ---------- */
  .lecture-photo-dots {
    display: flex;
    justify-content: center;
    gap: .55rem;
    margin-top: 1.6rem;
    display: none;
  }

  .lecture-photo-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }

  .lecture-photo-dots .dot.active {
    background: var(--ink);
    transform: scale(1.15);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {

    .lecture-speaker,
    .lecture-detail,
    .lecture-photos {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    .lecture-video-wrap {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    .lecture-photo-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 160px;
    }

    .lp-1,
    .lp-2,
    .lp-3,
    .lp-4,
    .lp-5,
    .lp-6 {
      grid-column: auto;
      grid-row: auto;
    }
  }

  @media (max-width: 640px) {
    .lecture-detail-title {
      font-size: 1.5rem;
    }

    .lecture-photo img {
      height: ;
    }
  }

  /* ---- Small screens (<= 640px): ONE photo per slide ---- */
  @media (max-width: 640px) {

    /*
       The 5-photo grids are flattened (display: contents) so every photo
       becomes a direct child of the slider; script.js then shows them
       one at a time via .is-mobile-active. */
    .lecture-slide,
    .lecture-slide.is-active {
      display: contents;
    }

    .lecture-photos-slider .lecture-photo {
      display: none;
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 4;
    }

    .lecture-photos-slider .lecture-photo.is-mobile-active {
      display: block;
      animation: lecturePhotoInRight .6s cubic-bezier(.25, .8, .25, 1) both;
      animation-delay: 0s;
    }
  }

  /* ===================================================
   Useful Links page — additive styles only.
   Loaded after styles.css. Reuses existing tokens
   (--navy-mid, --teal, --ink, --ink-soft, --cream-line)
   and existing classes (.hero-page, .sky-back, .btn,
   .btn-teal, .reveal) so it matches the rest of the site.
   =================================================== */

  .useful-links-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 4rem 5rem;
  }

  .useful-links-panel {
    /* background: var(--white); */
    /* border-radius: var(--radius-md); */
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }

  .useful-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .useful-link-item {
    display: grid;
    grid-template-columns: 65% 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem 2.2rem;
    border-bottom: 1px solid var(--cream-line);
    background: white;
    position: relative;
    z-index: 1;
    transition: transform .35s cubic-bezier(.25, .8, .25, 1),
      box-shadow .35s ease;
  }

  .useful-link-item:hover,
  .useful-link-item:focus-within {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  }

  .useful-link-item:last-child {
    border-bottom: none;
  }

  /* ---------- Useful links: one-by-one reveal ----------
     Overrides the generic .reveal-stagger timing (which is tuned for
     card grids) with a slower fade + slide and a bigger gap between
     each item, so the list visibly builds itself line by line. */
  .useful-links-list.reveal-stagger>.useful-link-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .9s cubic-bezier(.25, .8, .25, 1),
      transform .9s cubic-bezier(.25, .8, .25, 1);
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item {
    opacity: 1;
    transform: translateY(0);
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item:nth-child(1) {
    transition-delay: .1s;
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item:nth-child(2) {
    transition-delay: .3s;
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item:nth-child(3) {
    transition-delay: .5s;
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item:nth-child(4) {
    transition-delay: .7s;
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item:nth-child(5) {
    transition-delay: .9s;
  }

  .useful-links-list.reveal-stagger.in-view>.useful-link-item:nth-child(6) {
    transition-delay: 1.1s;
  }

  .useful-link-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
  }

  .useful-link-text {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
    font-family: "i";
    font-family: "IBM-plex2" !important;
  }

  .useful-link-btn {
    justify-self: end;
    font-size: .8rem;
    padding: .6rem 0.5rem;
    border: 1px solid black;
    border-radius: 50%;
    padding-right: 0.3rem !important;
    transition: transform .3s cubic-bezier(.25, .8, .25, 1);
  }

  .useful-link-item:hover .useful-link-btn,
  .useful-link-item:focus-within .useful-link-btn {
    transform: translateX(8px);
  }

  .useful-link-btn img {
    width: 80%;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 767px) {
    .useful-links-content {
      padding: 2.5rem 1.5rem 3.5rem;
    }

    .useful-link-item {
      grid-template-columns: 40px 1fr;
      grid-template-areas:
        "text text"
        "btn btn";
      row-gap: 1rem;
      padding: 1.4rem 1.5rem;
    }

    .useful-link-num {
      grid-area: num;
    }

    .useful-link-text {
      grid-area: text;
    }

    .useful-link-btn {
      grid-area: btn;
      justify-self: start;
    }
  }


  /* ===================================================
   Archive page — additive styles only.
   Loaded after styles.css. Reuses existing tokens
   (--navy-mid, --teal, --ink, --ink-soft, --cream-line,
   --sky, --shadow-card, --radius-md) and existing classes
   (.hero-page, .sky-back, .fellow-search, .fellow-pagination,
   .fellow-empty, .ph-image, .btn, .btn-teal) so it matches
   the rest of the site.
   =================================================== */

  /* ---------- Hero: title + contact/follow side block ---------- */
  .archive-hero-overlay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    text-align: left;
    gap: 2rem;
  }

  .archive-hero-overlay .hero-copy {
    flex: 1;
    max-width: none;
    text-align: center;
  }

  .archive-hero-side {
    flex: 0 0 260px;
    color: #fff;
  }

  .archive-hero-contact {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .25);
  }

  .archive-hero-contact .footer-col-2 {
    border-left-color: rgba(255, 255, 255, .25);
  }

  .archive-hero-contact .footer-col-2 span,
  .archive-hero-contact .footer-col-2 p {
    color: rgba(255, 255, 255, .7);
  }

  .archive-hero-contact .footer-col-2 a {
    color: #fff;
  }

  .archive-hero-follow-label {
    margin-top: 1.4rem;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
  }

  .archive-hero-social {
    margin-top: .7rem;
  }

  /* ---------- Content wrapper ---------- */
  .archive-page-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 4rem 5rem;
  }

  /* ---------- Top-level tabs ---------- */
  .archive-tabs-row {
    display: flex;
    gap: 2.2rem;
    border-bottom: 1px solid rgba(11, 31, 99, 0.21);
    margin-bottom: 1.8rem;
  }

  .archive-tab {
    padding: .3rem 0 1rem;
    font-size: 1rem;
    color: var(--ink-soft);
    font-weight: 500;
    position: relative;
  }

  .archive-tab.active {
    color: var(--navy-mid);
    font-weight: 700;
  }

  .archive-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--navy-mid);
  }

  /* ---------- Year selector: awards-page style (.award-year-*), positioned top right of the tabs row ---------- */
  .archive-year-wrap {
    margin-left: auto;
    margin-top: .5rem;
    /* room for the label that sits on the border */
    align-self: flex-start;
    flex: 0 0 auto;
  }

  /* ---------- Panels ---------- */
  .archive-panel {
    display: none;
  }

  .archive-panel.active {
    display: block;
    animation: aboutFadeIn .35s ease;
  }

  /* ---------- Toolbar: filter pills + search ---------- */
  .archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
  }

  .archive-toolbar-single {
    justify-content: flex-end;
  }

  .archive-filter-group {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
  }

  .archive-filter-btn {
    padding: .7rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--cream-line);
    background: var(--white);
    color: var(--ink);
    font-size: .85rem;
    font-weight: 300;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }

  .archive-filter-btn.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
  }

  .archive-filter-btn:hover:not(.active) {
    border-color: var(--teal);
  }

  .archive-search {
    flex: 0 0 120px;
  }

  /* ---------- List panel ---------- */
  .archive-list-panel {
    background: var(--white);
    /* border-radius: var(--radius-md); */
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }

  .archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .archive-list-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 1.6rem;
    padding: 1.6rem 2rem;
    border-bottom: 1px solid var(--cream-line);
    background: var(--white);
    position: relative;
    z-index: 1;
    transition: box-shadow .35s ease;
  }

  .archive-list-item:hover,
  .archive-list-item:focus-within {
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  }

  .archive-list-item:hover .useful-link-btn,
  .archive-list-item:focus-within .useful-link-btn {
    transform: translateX(8px);
  }

  .archive-list-item:last-child {
    border-bottom: none;
  }

  .archive-item-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
  }

  .archive-item-date {
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .25rem;
  }

  .archive-item-text {
    font-size: .9rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
  }

  .archive-item-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .archive-item-btn {
    font-size: .78rem;
    padding: .6rem 1.3rem;
    white-space: nowrap;
  }

  /* ---------- Photographs grid ---------- */
  .archive-photo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    width: 100%;
  }

  .archive-photo-item {
    height: 399px;
    border-radius: 0;
    overflow: hidden;
  }

  .archive-photo-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }


  /* =========================
   ROW 1
   Image 1 = wide
   Image 2 = small
   Image 3 = small
   ========================= */

  .archive-photo-item:nth-child(1) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(2) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(3) {
    grid-column: span 6;
  }


  /* =========================
   ROW 2
   3 equal images
   ========================= */

  .archive-photo-item:nth-child(4) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(5) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(6) {
    grid-column: span 6;
  }


  /* =========================
   ROW 3
   Small + Small + Wide
   ========================= */

  .archive-photo-item:nth-child(7) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(8) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(9) {
    grid-column: span 6;
  }


  /* =========================
   ROW 4
   Repeat wide + small + small
   ========================= */

  .archive-photo-item:nth-child(10) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(11) {
    grid-column: span 6;

  }

  .archive-photo-item:nth-child(12) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(13) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(14) {
    grid-column: span 6;

  }

  .archive-photo-item:nth-child(15) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(16) {
    grid-column: span 6;

  }


  .archive-photo-item:nth-child(17) {
    grid-column: span 6;

  }


  .archive-photo-item:nth-child(18) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(19) {
    grid-column: span 6;

  }

  .archive-photo-item:nth-child(20) {
    grid-column: span 6;
  }

  .archive-photo-item:nth-child(21) {
    grid-column: span 6;
  }

  /* .archive-photo-item:nth-child(22),
  .archive-photo-item:nth-child(23),
  .archive-photo-item:nth-child(24) {
    grid-column: span 4;
    } */

  .archive-photo-item:nth-child(22) {
    grid-column: span 6;

  }

  .archive-photo-item:nth-child(23) {
    grid-column: span 6;

  }

  .archive-photo-item:nth-child(24) {
    grid-column: span 6;
  }



  /* .archive-photo-item:nth-child(25) {
    grid-column: span 6;
  } */


  .archive-photo-item .ph-image {
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0;
  }

  /* ---------- Press conference — single detail view ---------- */
  .press-conf-detail {
    display: none;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 2.5rem 3rem;
  }

  .press-conf-detail.active {
    display: block;
  }

  .press-conf-date {
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .3rem;
  }

  .press-conf-loc {
    font-size: .9rem;
    color: var(--ink-soft);
    margin-bottom: 1.6rem;
  }

  .press-conf-detail h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .9rem;
  }

  .press-conf-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.6rem 0 .9rem;
  }

  .press-conf-detail p {
    font-size: .92rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 1.1rem;
  }

  .press-conf-cta {
    margin-top: 1.6rem;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .archive-hero-overlay {
      flex-direction: column;
      text-align: center;
    }

    .archive-hero-side {
      align-items: center;
      display: flex;
      flex-direction: column;
    }

    .archive-page-content {
      padding: 2.5rem 1.5rem 3.5rem;
    }

    .archive-photo-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .about-tab {
      padding: .8rem 1rem .8rem 1rem;
    }
  }

  @media (max-width: 767px) {

    .archive-tabs-row {
      gap: 1.2rem;
      overflow-x: auto;
    }

    .archive-tab {
      white-space: nowrap;
    }

    .archive-toolbar {
      align-items: flex-start;
    }

    .archive-search {
      flex: 1 1 100%;
    }

    .archive-list-item {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: .3rem 1rem;
      padding: 1.3rem 1.4rem;
    }

    .archive-item-num {
      flex: 0 0 auto;
    }

    .archive-item-date,
    .archive-item-text {
      flex: 1 1 calc(100% - 3rem);
    }

    .archive-item-actions {
      flex: 0 0 100%;
      justify-content: flex-start;
      margin-top: .8rem;
    }

    .press-conf-detail {
      padding: 1.8rem 1.5rem;
    }
  }

  @media (max-width: 575px) {
    .archive-photo-item {
      height: 290px !important;
    }

    .quote-arrow-right {
      right: .5rem !important;
    }

    .quote-arrow-left {
      right: .5rem !important;
    }

    .archive-photo-grid {
      grid-template-columns: 1fr;
    }

    .award-year-wrap {
      margin-top: 24px;
    }
  }

  .act-card-body .btn {
    padding: .4rem 2rem !important;
  }

  /* #tab-history {
    padding-right: 40px;
  } */

  .main-nav a.active {
    color: black !important;
  }

  .main-nav a:hover {
    color: black !important;
  }

  @media (max-width: 400px) {
    .archive-photo-item {
      height: 220px !important;
    }
  }

  @media (max-width: 900px) {
    #tab-history {
      padding-right: 0px !important;
    }

    .about-panels {
      margin-left: 0;
    }
  }

  .footer-col a:hover {
    color: black;
  }

  /* .trustee-grid .trustee-info-card:nth-child(1) .trustee-info-photo {
    padding-top: 43px !important;
  } */

  .trustee-grid .trustee-info-card:nth-child(1) .trustee-info-body h4 {
    margin-bottom: 0px;
  }

  .trustee-grid .trustee-info-card:nth-child(1) .trustee-info-photo img {
    padding-top: 42px !important;
  }

  .trustee-grid .trustee-info-card:nth-child(2) .trustee-info-photo img {
    padding-top: 18px !important;
  }

  .trustee-grid .trustee-info-card:nth-child(3) .trustee-info-photo img {
    padding-top: 54px !important;
  }

  .trustee-grid .trustee-info-card:nth-child(4) .trustee-info-photo img {
    padding-top: 26px !important;
  }

  .drop-dn-1 {
    position: absolute;
    right: 15px;
    bottom: 41%;
    pointer-events: none;
  }

  .drop-dn-2 {
    position: absolute;
    right: 15px;
    bottom: 41%;
    pointer-events: none;
  }

  .lecture-sec {
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
  }