<style>
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --primary: #002545;
    --primary-mid: #1a3b5d;
    --primary-light: #426084;
    --accent: #c69d60;
    --accent-light: #f0d9ac;
    --surface: #f7f9fb;
    --surface-low: #eceef0;
    --surface-card: #ffffff;
    --on-surface: #191c1e;
    --on-surface-muted: #43474e;
    --outline: #c3c6cf;
    --radius-card: 16px;
    --shadow-card: 0 4px 24px rgba(25,28,30,0.08), 0 1px 4px rgba(25,28,30,0.04);
  }

  body {
    padding: 0px;
    background: var(--surface);
    font-family: 'Roboto', sans-serif;
    color: var(--on-surface);
    min-height: 100vh;
  }

  /* ── FILTER NAV (sticky) — FIXED FOR MOBILE ── */
  .filter-wrap {
    background: #f7f9fb;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--outline);
  }

  .filter-nav {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
    justify-content: center;
    align-items: center;
  }

  .filter-btn {
    padding: 8px 22px;
    border-radius: 999px;
    border: 1px solid #2a4a6a;
    background: transparent;
    color: #2a4a6a;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .filter-btn:hover {
    background: rgba(42, 74, 106, 0.08);
    color: #2a4a6a;
    border-color: #2a4a6a;
  }

  .filter-btn.active {
    background: #2a4a6a;
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  /* Mobile: 2-column grid for filter buttons */
  @media (max-width: 768px) {
    .filter-wrap { 
      padding: 0 12px; 
    }

    .filter-nav {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      padding: 10px 0;
      justify-items: stretch;
      width: 100%;
    }

    .filter-btn {
      width: 100%;
      text-align: center;
      padding: 10px 6px;
      font-size: 0.75rem;
      font-weight: 600;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  @media (max-width: 540px) {
    .filter-wrap { 
      padding: 0 10px; 
    }

    .filter-nav {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      padding: 8px 0;
      justify-items: center;
      width: 100%;
    }

    .filter-btn {
      width: 100%;
      padding: 9px 4px;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0px;
    }
  }

  /* ── MAIN CONTENT ── */
  .content { max-width: 1240px; margin: 0 auto; padding: 56px 24px 80px; }

  /* ── YEAR SECTION ── */
  .year-section { display: none; }
  .year-section.visible { display: block; animation: fadeUp 0.4s ease both; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .batch-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 36px; padding-bottom: 16px;
    border-bottom: 1px solid var(--outline);
    flex-wrap: wrap;
  }
  .batch-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    font-family: 'Roboto', sans-serif; font-size: 1rem; font-weight: 700;
    padding: 8px 24px; border-radius: 999px;
    letter-spacing: 0.3px;
  }
  .batch-count {
    margin-left: auto; font-size: 0.8rem; color: var(--on-surface-muted);
    background: var(--surface-low); padding: 5px 16px; border-radius: 999px; font-weight: 500;
  }

  /* ── CARD GRID ── */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;
  }

  /* ── CARD ── */
  .card {
    background: var(--surface-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(195,198,207,0.4);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(25,28,30,0.12), 0 3px 10px rgba(0,0,0,0.05);
  }
  .card-img-wrap {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden;
    background: var(--surface-low);
    cursor: pointer;
  }
  .card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  }
  .card:hover .card-img-wrap img { transform: scale(1.07); }
  .card-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,37,69,0.2));
    opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
  }
  .card:hover .card-img-wrap::after { opacity: 1; }

  .card-img-wrap .zoom-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0,0,0,0.5);
    color: #fff; border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: transform 0.25s ease;
    z-index: 2; pointer-events: none;
  }
  .card-img-wrap:hover .zoom-icon { transform: translate(-50%, -50%) scale(1); }

  .avatar-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-light));
    color: rgba(255,255,255,0.85); font-size: 2.8rem; font-family: 'Roboto', sans-serif; font-weight: 700;
  }

  .card-body { padding: 16px 14px 18px; flex-grow: 1; display: flex; flex-direction: column; }
  .card-role {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent); background: var(--accent-light);
    display: inline-block; padding: 2px 8px; border-radius: 20px; width: fit-content;
    margin-bottom: 10px;
  }
  .card-name {
    font-family: 'Roboto', sans-serif; font-size: 0.95rem; font-weight: 700;
    color: var(--primary); line-height: 1.3; margin-bottom: 6px;
  }
  .card-org { font-size: 0.7rem; font-weight: 500; color: var(--on-surface-muted); line-height: 1.45; }
  .card-loc {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.64rem; color: var(--accent); font-weight: 600; margin-top: 10px;
    border-top: 1px dashed var(--outline); padding-top: 8px;
  }
  .card-loc svg { flex-shrink: 0; opacity: 0.8; }

  /* ── GALLERY SECTION (CM photos) ── */
  .placement-img { width:100%; max-width:700px; display:block; margin:0 auto 16px; border-radius:10px; object-fit:cover; }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin: 24px 0 0;
  }
  @media(max-width:600px){ .gallery-grid { grid-template-columns: repeat(2,1fr); } }
  .gallery-tile {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid rgba(195,198,207,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .gallery-tile:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
  .gallery-tile img { width:100%; aspect-ratio:1; object-fit:cover; display:block; }
  .gallery-tile figcaption { font-size:12px; text-align:center; padding:6px; color: var(--on-surface-muted); background: var(--surface-low); }

  @media (max-width: 640px) {
    .card-grid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));}
    .batch-header { flex-direction: column; align-items: flex-start; gap: 10px;}
    .batch-count { margin-left: 0; }
    .content { padding: 40px 16px 80px; }
  }

  /* ════════════════════════════════════
     LIGHTBOX POPUP
  ════════════════════════════════════ */
  .lb-wrap {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.90);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .lb-wrap.lb-active {
    opacity: 1;
    pointer-events: all;
  }
  .lb-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
  }
  .lb-img {
    max-width: 82vw;
    max-height: 72vh;
    border-radius: 14px;
    object-fit: contain;
    display: block;
    transition: opacity 0.22s ease;
    box-shadow: 0 12px 48px rgba(0,0,0,0.7);
  }
  .lb-caption {
    color: #fff;
    font-size: 15px;
    font-family: Roboto, sans-serif;
    margin-top: 14px;
    text-align: center;
    letter-spacing: 0.3px;
  }
  .lb-sub {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    margin-top: 4px;
    font-family: Roboto, sans-serif;
    text-align: center;
  }
  .lb-counter {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    margin-top: 5px;
    font-family: Roboto, sans-serif;
  }
  .lb-close {
    position: fixed;
    top: 16px; right: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff; font-size: 20px;
    width: 44px; height: 44px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 100000; transition: background 0.2s;
    font-family: Arial, sans-serif; line-height: 1;
  }
  .lb-close:hover { background: rgba(255,255,255,0.30); }
  .lb-prev, .lb-next {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff; font-size: 30px;
    width: 52px; height: 52px;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 100000; transition: background 0.2s;
    font-family: Arial, sans-serif; line-height: 1;
  }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
  .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.30); }
  @media (max-width: 480px) {
    .lb-prev { left: 6px; width: 40px; height: 40px; font-size: 22px; }
    .lb-next { right: 6px; width: 40px; height: 40px; font-size: 22px; }
    .lb-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 16px; }
    .lb-img { max-width: 92vw; max-height: 65vh; }
  }
</style>
