:root{
    --black:#000000;
    --navy:#262452;
    --navy-deep:#262452;
    --navy-mid:#262452;
    --burgundy:#941730;
    --burgundy-light:#b5233f;
    --gold:#ad832f;
    --white:#ffffff;
    --ivory:#f6f4ee;
    --mist:rgba(255,255,255,0.08);
    --line:rgba(255,255,255,0.14);
    --display: "Resonay Solid", serif;
    --body: "Rapor", sans-serif;
  }
  @font-face {
    font-family: "Resonay Solid";
    src: url("fonts/resonay-solid.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: "Rapor";
    src: url("fonts/rapor-regular.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family: var(--body);
    background: var(--white);
    color: var(--navy);
    line-height:1.6;
    overflow-x:hidden;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit; cursor:pointer; border:none; background:none;}

  /* ===== Utility ===== */
  .eyebrow{ font-family:var(--body); font-size:1rem; color:var(--gold); }
  .section-wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
  .hidden{display:none !important;}

  /* ===== Nav ===== */
  header{
    position:sticky; top:0; z-index:200;
    background: var(--navy);
    border-bottom:2px solid var(--line);
  }
  .nav-inner{
    max-width:1280px; margin:0 auto; padding:14px 28px;
    display:flex; align-items:center; justify-content:space-between; gap:20px;
  }
  .brand{ display:flex; align-items:center; gap:12px; }
  .brand-mark{ width:42px; height:42px; flex-shrink:0; }
  .brand-text{ font-family:var(--display); color:var(--white); line-height:1.05; }
  .brand-text .full{ font-size:.92rem; font-weight:600; letter-spacing:.03em; display:block; }
  .brand-text .sub{ font-family:var(--body); font-size:.62rem; letter-spacing:.18em; color:var(--gold); text-transform:uppercase; }

  nav.primary{ display:flex; align-items:center; gap:4px; }
  .nav-item{ position:relative; }
  .nav-link{
    color:var(--white); font-size:.86rem; font-weight:500; padding:10px 16px;
    display:flex; align-items:center; gap:6px; border-radius:3px; transition:background .2s, color .2s;
    letter-spacing:.02em;
  }
  .nav-link:hover, .nav-link.active{ background:var(--mist); color:var(--burgundy-light); }
  .caret{ width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .2s; }
  .nav-item.open .caret{ transform:rotate(225deg) translateY(2px); }

  .dropdown{
    position:absolute; top:calc(100% + 10px); left:0; min-width:250px;
    background:var(--navy-mid); border:1px solid var(--line); border-radius:8px;
    box-shadow:0 18px 40px rgba(0,0,0,.35);
    padding:8px; opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .18s, transform .18s, visibility .18s;
  }
  .nav-item.open .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
  .dropdown a{
    display:block; padding:10px 14px; color:var(--white); font-size:.84rem; border-radius:5px;
    transition:background .15s, color .15s; font-weight:400;
  }
  .dropdown a:hover{ background:var(--burgundy); color:var(--white); }
  .dropdown .dgroup-label{ padding:8px 14px 2px; font-size:.65rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); }

  .nav-actions{ display:flex; align-items:center; }

  .burger{ display:none; width:26px; height:20px; position:relative; }
  .burger span{ position:absolute; left:0; width:100%; height:2px; background:var(--white); transition:.2s; }
  .burger span:nth-child(1){top:0;} .burger span:nth-child(2){top:9px;} .burger span:nth-child(3){top:18px;}

  /* ===== HERO ===== */
  .hero{
  position: relative;
  background-image: url('https://res.cloudinary.com/lmuef0zx/image/upload/v1789285381/elgouna.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.hero-logo{
  width:840px; 
  margin-bottom:35px;
  margin-top:40px;
}
    .hero-beam{
    position:absolute;
    top: calc(-47% - 750px);
    right: calc(36% - 750px);
    width:2400px;
    height:2400px;
    background:conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(255,214,140,.05) 5deg,
            rgba(255,214,140,.35) 9deg,
            rgba(255,238,200,.55) 10deg,
            rgba(255,214,140,.35) 11deg,
            rgba(255,214,140,.05) 15deg,
            transparent 22deg,

            transparent 178deg,
            rgba(255,214,140,.04) 183deg,
            rgba(255,214,140,.22) 187deg,
            rgba(255,238,200,.36) 188deg,
            rgba(255,214,140,.22) 189deg,
            rgba(255,214,140,.04) 193deg,
            transparent 200deg,
            transparent 360deg
    );
    filter: blur(2px);
    animation: sweep 9s linear infinite;
  }
  @keyframes sweep{ to{ transform:rotate(360deg); } }
  @keyframes lampPulse{
    0%, 100%{ opacity:.6; transform:scale(1); }
    50%{ opacity:1; transform:scale(1.15); }
  }
  .hero-inner{ position:relative; z-index:2; text-align:center; max-width:820px; margin:0 auto; padding:0 28px; }
  .hero-mark{ width:74px; height:74px; margin:0 auto 26px; }

  /* ---- Rising entrance animation (hero elements fade + rise up on load) ---- */
  .hero-inner > *{
    opacity:0;
    transform:translateY(36px);
    animation:heroRise .9s cubic-bezier(.16,1,.3,1) forwards;
  }
  .hero-inner > *:nth-child(1){ animation-delay:.1s; }
  .hero-inner > *:nth-child(2){ animation-delay:.28s; }
  .hero-inner > *:nth-child(3){ animation-delay:.46s; }
  .hero-inner > *:nth-child(4){ animation-delay:.64s; }
  @keyframes heroRise{
    to{ opacity:1; transform:translateY(0); }
  }
  .hero h1{
    font-family:var(--display); font-weight:700; font-size:clamp(2.4rem, 6vw, 4.2rem);
    letter-spacing:.01em; margin-bottom:14px;
  }
  .hero h1 span{ color:var(--gold); font-weight:600; }
  .hero .lead{ font-size:1.05rem; color:var(--white); max-width:560px; margin:0 auto 40px; font-weight:300; }

  .info-row{
    display:flex; flex-wrap:wrap; align-items:stretch; justify-content:center; gap:16px; margin-bottom:36px;
  }
  .date-card{
    border:1px solid var(--line); background:var(--mist); backdrop-filter:blur(6px);
    border-radius:10px; padding:18px 30px; min-width:230px;
    display:flex; flex-direction:column; align-items:center; gap:4px;
  }

  .btn{
    display:inline-flex; align-items:center; gap:10px; padding:15px 34px;
    font-weight:600; font-size:.88rem; letter-spacing:.04em; border-radius:40px;
    transition:transform .2s, box-shadow .2s, background .2s;
  }
  .btn-primary{ background:var(--burgundy); color:var(--white); }
  .btn-primary:hover{ background:var(--burgundy-light); transform:translateY(-2px); }
  .btn-ghost{ border:1px solid var(--line); color:var(--white); }
  .btn-ghost:hover{ background:var(--mist); }
  .btn-gold{ background:var(--gold); color:var(--navy-deep); }
  .btn-gold:hover{ transform:translateY(-2px);}

  /* ===== Back buttons (delegate resource pages, committees hub, committee pages) ===== */
  .back-btn{
    display:inline-flex; align-items:center; gap:8px; padding:9px 20px 9px 16px;
    border-radius:30px; font-size:.78rem; font-weight:600; letter-spacing:.02em;
    border:1px solid var(--line); color:var(--white); background:transparent;
    transition:background .2s, color .2s, border-color .2s, transform .2s;
    margin-bottom:24px;
  }
  .back-btn:hover{ background:var(--mist); transform:translateX(-2px); }
  .back-btn svg{ width:14px; height:14px; flex-shrink:0; }

  .back-btn-dark{ border-color:rgba(28,26,74,.18); color:var(--navy); }
  .back-btn-dark:hover{ background:var(--navy); color:var(--white); border-color:var(--navy); transform:translateX(-2px); }
  .back-btn-bottom{ text-align:center; margin-top:48px; }
  .back-btn-bottom .back-btn{ margin-bottom:0; }

  .countdown{ display:flex; gap:14px; justify-content:center; margin-bottom:10epx; }
  .cd-box{
  background:var(--mist); border:1px solid var(--line); border-radius:10px;
  padding:14px 18px; min-width:70px; text-align:center; backdrop-filter:blur(6px);
  }
  .cd-box span{ display:block; font-family:var(--display); font-size:1.6rem; color:var(--white); }
  .cd-box small{ font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.6); }

  .cd-live{
    display:flex; align-items:center; gap:10px; padding:14px 26px;
    font-family:var(--display); font-size:1.15rem; font-weight:600; color:var(--gold);
    border:1px solid rgba(224,178,90,.4); border-radius:10px; background:rgba(54, 45, 28, 0.8);
    backdrop-filter:blur(6px); letter-spacing:.01em;
  }
  .cd-live::before{
    content:''; width:9px; height:9px; border-radius:50%; background:var(--gold);
    box-shadow:0 0 0 0 rgba(224,178,90,.6); animation:cd-pulse 1.6s infinite;
    flex-shrink:0;
  }
  @keyframes cd-pulse{
    0%{ box-shadow:0 0 0 0 rgba(224,178,90,.55); }
    70%{ box-shadow:0 0 0 8px rgba(224,178,90,0); }
    100%{ box-shadow:0 0 0 0 rgba(224,178,90,0); }
  }

  .wave-divider{
    display:block;
    width:100%;
    height:60px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    margin-bottom: -4px;
    color: var(--navy);
  }

  /* ===== Video Section ===== */
  .video-section{ background:var(--ivory); padding:90px 0 70px; }
  .section-heading{ text-align:center; max-width:640px; margin:0 auto 46px; }
  .section-heading h2{ font-family:var(--display); font-size:clamp(1.8rem,3.4vw,2.6rem); margin:10px 0 12px; color:var(--navy); }
  .section-heading p{ color:#5a5876; font-size:.95rem; }

  .video-holder{
    max-width:860px; margin:0 auto; aspect-ratio:16/9; border-radius:16px; overflow:hidden;
    background:var(--navy); position:relative; border:1px solid rgba(28,26,74,.1);
    box-shadow:0 30px 60px -20px rgba(28,26,74,.35);
    display:flex; align-items:center; justify-content:center; flex-direction:column; gap:14px; color:#fff;
  }
  .video-holder .play{
    width:70px; height:70px; border-radius:50%; background:var(--burgundy);
    display:flex; align-items:center; justify-content:center; box-shadow:0 12px 26px rgba(148,23,48,.45);
  }
  .video-holder .play::after{ content:''; border-left:16px solid #fff; border-top:10px solid transparent; border-bottom:10px solid transparent; margin-left:4px; }
  .video-holder .caption{ font-size:.8rem; color:rgba(255,255,255,.55); letter-spacing:.05em; }
  .video-holder iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

    /* ===== Venue: map + carousel split ===== */
  .venue-split{
    display:grid; grid-template-columns:1fr 1fr; gap:24px;
    max-width:1000px; margin:0 auto; align-items:stretch;
  }
  .venue-map-holder{
    position:relative; border-radius:16px; overflow:hidden;
    border:1px solid rgba(28,26,74,.1); box-shadow:0 30px 60px -20px rgba(28,26,74,.35);
    aspect-ratio:4/3;
  }
  .venue-map-holder iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

  .venue-carousel{
    position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/3;
    background:var(--navy); box-shadow:0 30px 60px -20px rgba(28,26,74,.35);
  }
  .venue-carousel-track{
    display:flex; height:100%; transition:transform .5s cubic-bezier(.16,1,.3,1);
  }
  .venue-slide{ min-width:100%; height:100%; }
  .venue-slide img{ width:100%; height:100%; object-fit:cover; display:block; }

  .venue-carousel-arrow{
    position:absolute; top:50%; transform:translateY(-50%); z-index:2;
    width:38px; height:38px; border-radius:50%; background:rgba(10,9,28,.55);
    color:var(--white); display:flex; align-items:center; justify-content:center;
    backdrop-filter:blur(4px); transition:background .2s;
  }
  .venue-carousel-arrow:hover{ background:var(--burgundy); }
  .venue-carousel-arrow svg{ width:18px; height:18px; }
  .venue-carousel-arrow.prev{ left:12px; }
  .venue-carousel-arrow.next{ right:12px; }

  .venue-carousel-dots{
    position:absolute; bottom:14px; left:0; right:0; z-index:2;
    display:flex; justify-content:center; gap:8px;
  }
  .venue-dot{
    width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.4);
    cursor:pointer; transition:background .2s, transform .2s;
  }
  .venue-dot.active{ background:var(--gold); transform:scale(1.3); }

  @media (max-width:800px){
    .venue-split{ grid-template-columns:1fr; }
    .venue-map-holder, .venue-carousel{ aspect-ratio:16/10; }
  }

  /* ===== Document Viewer (Rules of Procedure / Handbook / Schedule) ===== */
  .doc-viewer-card{
    max-width:820px; margin:0 auto; background:var(--white); border-radius:16px; overflow:hidden;
    border:1px solid rgba(28,26,74,.08);
    box-shadow:0 30px 60px -20px rgba(28,26,74,.3);
  }
  .doc-viewer-toolbar{
    display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
    padding:16px 24px; border-bottom:1px solid rgba(28,26,74,.08);
  }
  .doc-title{
    display:flex; align-items:center; gap:10px; font-family:var(--display); font-size:1rem; color:var(--navy);
  }
  .doc-badge{
    font-family:var(--body); font-size:.62rem; font-weight:700; letter-spacing:.09em;
    background:rgba(148,23,48,.1); color:var(--burgundy); padding:4px 9px; border-radius:6px; text-transform:uppercase;
  }
  .doc-action-link{
    font-size:.78rem; font-weight:600; color:var(--navy); padding:8px 16px; border:1px solid rgba(28,26,74,.14);
    border-radius:30px; transition:background .2s, color .2s, border-color .2s; white-space:nowrap;
  }
  .doc-action-link:hover{ background:var(--navy); color:var(--white); border-color:var(--navy); }

  .doc-viewer-frame-wrap{
    position:relative; width:100%; aspect-ratio:8.5/11; max-height:82vh; background:var(--navy);
  }
  .doc-viewer-frame-wrap iframe{
    position:absolute; inset:0; width:100%; height:100%; border:0; opacity:0; transition:opacity .45s ease;
  }
  .doc-viewer-frame-wrap.loaded iframe{ opacity:1; }
  .doc-viewer-loader{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    background:var(--navy); transition:opacity .35s ease; z-index:1;
  }
  .doc-viewer-frame-wrap.loaded .doc-viewer-loader{ opacity:0; pointer-events:none; }
  .doc-viewer-loader span{
    width:32px; height:32px; border-radius:50%; border:3px solid rgba(255,255,255,.22); border-top-color:var(--gold);
    animation:docSpin .8s linear infinite;
  }
  @keyframes docSpin{ to{ transform:rotate(360deg); } }

  @media (max-width:600px){
    .doc-viewer-frame-wrap{ aspect-ratio:3/4; max-height:72vh; }
    .doc-viewer-toolbar{ padding:14px 18px; }
  }

  /* ===== Sec Gen word ===== */
  .word-section{ background:var(--navy-mid); color:var(--white); padding:90px 0; position:relative; overflow:hidden; box-shadow:
        0 -10px 30px rgba(0,0,0,.25),
        0 -2px 8px rgba(0,0,0,.15);
    border-top: 1px solid rgba(255,255,255,.08); }
  .word-grid{ display:grid; grid-template-columns:1fr; gap:40px; position:relative; z-index:1; max-width:1160px; margin:0 auto; text-align:left; }
  .word-grid .eyebrow{ display:block; text-align:center; margin-bottom:16px; }
  .word-grid blockquote{ font-family:var(--display); font-style:italic; font-size:20px; color:rgba(255, 255, 255); }
  .word-attrib{ margin-top:26px; display:flex; align-items:center; justify-content:center; gap:14px; }
  .word-attrib .avatar-sm{ width:46px; height:46px; border-radius:50%; }
  .word-attrib .who b{ display:block; font-size:.92rem; color:var(--white); font-family:var(--display); }
  .word-attrib .who span{ font-size:.75rem; color:rgba(255,255,255,.55); letter-spacing:.05em; }

  /* ===== PAGE HEADER (used for About/Committees/Team) ===== */
  .page-header{
    background:var(--navy); color:var(--white); padding:70px 0 56px; text-align:center;
    position:relative; overflow:hidden;
  }
  .page-header .eyebrow{ display:block; }
  .page-header h1{ font-family:var(--display); font-size:clamp(2rem,4vw,3rem); margin-top:10px; }
  .page-header p{ max-width:600px; margin:14px auto 0; color:rgba(255,255,255,.7); font-size:.95rem; }

  /* ---- Page header with media background (About pages) ---- */
  .page-header.has-media{
    min-height:clamp(420px, 62vh, 640px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 0;
  }
  .page-header-media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:0;
  }
  .page-header-overlay{
    position:absolute;
    inset:0;
    background:rgba(10,9,28,.6);
    z-index:1;
    pointer-events:none;
  }
  .page-header-content{
    position:relative;
    z-index:2;
    width:100%;
  }

    /* ===== Packages ===== */
  .packages-body{ background:var(--ivory); padding:60px 0 100px; }
  .packages-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1000px; margin:0 auto 50px;
  }
  .package-card{
    position:relative; background:var(--white); border:1px solid rgba(28,26,74,.1); border-radius:16px;
    padding:30px 26px; display:flex; flex-direction:column; gap:12px;
    box-shadow:0 20px 40px -24px rgba(28,26,74,.25); transition:transform .2s;
  }
  .package-card:hover{ transform:translateY(-4px); }
  .package-card.package-featured{
    background:var(--navy); color:var(--white); border-color:var(--navy);
  }
  .package-num{ font-family:var(--display); font-size:1.3rem; color:var(--gold); }
  .package-card h3{ font-family:var(--display); font-size:1.25rem; color:var(--navy); }
  .package-featured h3{ color:var(--white); }
  .package-price{ font-size:.85rem; font-weight:600; letter-spacing:.05em; color:var(--burgundy); text-transform:uppercase; }
  .package-featured .package-price{ color:var(--gold); }
  .package-badge{
    position:absolute; top:-12px; right:22px; background:var(--gold); color:var(--navy);
    font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
    padding:5px 12px; border-radius:20px;
  }
  .package-list{ display:flex; flex-direction:column; gap:8px; margin-top:6px; }
  .package-list li{
    font-size:.9rem; color:#4c4a68; padding-left:22px; position:relative;
  }
  .package-featured .package-list li{ color:rgba(255,255,255,.85); }
  .package-list li::before{
    content:'✓'; position:absolute; left:0; color:var(--burgundy); font-weight:700;
  }
  .package-featured .package-list li::before{ color:var(--gold); }

  .dorm-notice{
    display:flex; gap:20px; max-width:840px; margin:0 auto 40px;
    background:rgba(148,23,48,.06); border:1px solid rgba(148,23,48,.18); border-radius:14px; padding:26px 28px;
  }
  .dorm-notice-txt h4{ font-family:var(--display); font-size:1.1rem; color:var(--navy); margin-bottom:8px; }
  .dorm-notice-txt p{ font-size:.9rem; color:#4c4a68; }

  .packages-note{ text-align:center; font-size:.88rem; color:#6a6884; max-width:600px; margin:0 auto; }

  @media (max-width:900px){
    .packages-grid{ grid-template-columns:1fr; max-width:480px; }
    .dorm-notice{ flex-direction:column; }
  }

  /* ===== About page ===== */
  .about-tabs{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin:34px 0 0; }
  .tab-btn{
    padding:10px 20px; border-radius:30px; font-size:.82rem; font-weight:500;
    border:1px solid var(--line); color:var(--white); background:transparent; transition:.2s;
  }
  .tab-btn.active, .tab-btn:hover{ background:var(--burgundy-light); color:var(--white); border-color:var(--burgundy-light); }

  .about-body{ background:var(--ivory); padding:70px 0 100px; }
  .about-panel{ max-width:820px; margin:0 auto; }
  .about-panel .tag{ display:inline-block; background:rgba(148,23,48,.09); color:var(--burgundy); font-size:.7rem;
    letter-spacing:.14em; text-transform:uppercase; font-weight:600; padding:6px 14px; border-radius:20px; margin-bottom:18px; }
  .about-panel h2{ font-family:var(--display); font-size:2rem; margin-bottom:18px; color:var(--navy); }
  .about-panel p{ color:#4c4a68; margin-bottom:16px; font-size:.98rem; }
  .about-panel p:last-child{ margin-bottom:0; }
  .pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
  .pillar-card{ background:var(--white); border:1px solid rgba(28,26,74,.08); border-radius:12px; padding:22px; }
  .pillar-card .num{ font-family:var(--display); font-style:italic; color:var(--gold); font-size:1.2rem; margin-bottom:8px; }
  .pillar-card h4{ font-family:var(--display); font-size:1.05rem; margin-bottom:6px; color:var(--navy); }
  .pillar-card p{ font-size:.85rem; color:#5a5876; margin:0; }

  /* ===== Committees ===== */
  .committee-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:34px; }
  .committee-card{
    background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:12px; padding:20px;
    text-align:left; color:var(--white); transition:.2s; cursor:pointer;
    width:100%; font:inherit; margin:0; appearance:none; -webkit-appearance:none;
  }
  .committee-card:hover{ background:var(--burgundy-light); color:var(--white); transform:translateY(-3px); }
  .committee-card .abbr{ font-family:var(--display); font-size:1.5rem; margin-bottom:4px; display:block; }
  .committee-card .full{ font-size:.78rem; opacity:.75; }

  .committee-body{ background:var(--ivory); padding:70px 0 100px; }
  .committee-panel{ max-width:900px; margin:0 auto; }
  .committee-title-row{ text-align:center; margin-bottom:44px; }
  .committee-title-row .eyebrow{ color:var(--burgundy); }
  .committee-title-row h2{ font-family:var(--display); font-size:2.3rem; margin-top:8px; color:var(--navy); }
  .committee-title-row .full-name{ color:#6a6886; font-size:.9rem; margin-top:6px; }

  /* Description + Chair's Word: side by side once a chair's word exists,
     description alone (centered) until then. */
  .desc-word-row{
    display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start;
    max-width:900px; margin:0 auto 50px; text-align:left;
  }
  .desc-word-row.centered{ grid-template-columns:1fr; max-width:680px; text-align:center; }
  .committee-desc .eyebrow{ font-family:var(--display); display:block; margin-bottom:10px; color:var(--burgundy); }
  .committee-desc p{ font-size:.95rem; color: var(--navy); line-height:1.75; }
  .committee-chairword{ border-left:2px solid #cfcce4; padding-left:28px; }
  .committee-chairword .eyebrow{ font-family:var(--display); display:block; margin-bottom:10px; color:var(--burgundy); }
  .committee-chairword blockquote{ font-family:var(--body); font-style:italic; font-size:.95rem; color:var(--navy); line-height:1.7; }

  .chairs-row{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:26px; max-width:800px; margin:0 auto 50px; }
  .person-card{ text-align:center;}
  .avatar-hold{
  width:100%;
  aspect-ratio:1/1;
  border-radius:16px;
  background:linear-gradient(160deg,#e7e4f2,#f3f1e9);
  border:1.5px dashed #b9b6d8;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  color:#9391b5;
  position:relative;
  overflow:hidden;
}
.avatar-hold img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  display:block;
}
  .avatar-hold svg{ width:38%; opacity:.55; }
  .avatar-hold .tag-corner{ position:absolute; bottom:8px; font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:#9391b5; }
  .person-card .name-hold{ font-family:var(--display); font-size:1.05rem; color:var(--navy); border-bottom:1px dashed #cfcce4; display:inline-block; padding-bottom:3px; }
  .person-card .role{ font-size:.76rem; color:var(--burgundy); letter-spacing:.06em; text-transform:uppercase; margin-top:5px; }
  .team-photo{ 
    width:100%;
    height:320px;
    object-fit:cover;
    object-position:top;
    border-radius:10%;
    display:block;
    image-rendering: auto;
  }

  .topics-box{
    background:var(--navy); color:var(--white); border-radius:16px; padding:34px 30px;
    display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px;
  }
  .topics-box .txt h4{ font-family:var(--display); font-size:1.2rem; margin-bottom:6px; }
  .topics-box .txt p{ font-size:.83rem; color:rgba(255,255,255,.65); max-width:340px; }
  .topics-list{ display:flex; flex-direction:column; gap:8px; }
  .topics-list a{ font-size:.82rem; padding:9px 16px; border:1px solid var(--line); border-radius:8px; display:flex; align-items:center; gap:8px; }
  .topics-list a:hover{ background:var(--mist); }
  .topics-list .topic-pending{ font-size:.82rem; padding:9px 16px; border:1px dashed var(--line); border-radius:8px; display:flex; align-items:center; gap:8px; color:#8a8794; cursor:default; }

  .committee-nav{ display:flex; justify-content:center; gap:10px; margin-top:56px; flex-wrap:wrap; }

  /* ===== Delegate's Brief Posts ===== */
  .posts-body{ background:var(--ivory); padding:70px 0 110px; }
  .posts-feed{ max-width:820px; margin:0 auto; }
  .posts-loading, .posts-empty{ text-align:center; color:#5a5876; font-size:.95rem; }
  .post{
    overflow:hidden;
    padding-bottom:44px; margin-bottom:44px;
    border-bottom:1px solid var(--line);
  }
  .post:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
  .post-photo{
    float:left; width:260px; max-width:40%; height:auto;
    border-radius:12px; margin:4px 24px 12px 0;
  }
  .post-text{ color:#3d3b58; font-size:.98rem; line-height:1.7; white-space:pre-line; }
  .post-meta{
    clear:left; margin-top:14px; font-size:.8rem; color:#9391b5;
  }

    /* ===== Important Contacts ===== */
  .contacts-body{ background:var(--ivory); padding:60px 0 100px; }
  .contacts-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1000px; margin:0 auto 34px;
  }
  .contact-card{
    background:var(--white); border:1px solid rgba(28,26,74,.1); border-radius:16px;
    padding:30px 26px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:8px;
    box-shadow:0 20px 40px -24px rgba(28,26,74,.25); transition:transform .2s;
  }
  .contact-card:hover{ transform:translateY(-4px); }
  .contact-icon{
    width:52px; height:52px; border-radius:50%; background:rgba(148,23,48,.08); color:var(--burgundy);
    display:flex; align-items:center; justify-content:center; margin-bottom:6px;
  }
  .contact-icon svg{ width:24px; height:24px; }
  .contact-label{ font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); font-weight:700; }
  .contact-name{ font-family:var(--display); font-size:1.1rem; color:var(--navy); }
  .contact-value{ font-size:.92rem; color:#4c4a68; word-break:break-word; }

  .contacts-note{ text-align:center; font-size:.88rem; color:#6a6884; max-width:560px; margin:0 auto; }

  @media (max-width:900px){
    .contacts-grid{ grid-template-columns:1fr; max-width:420px; }
  }

  /* ===== Team ===== */
  .team-body{ background:var(--ivory); padding:70px 0 110px; }
  .team-block{ max-width:1000px; margin:0 auto 76px; }
  .team-block:last-child{ margin-bottom:0; }
  .team-block-head{ text-align:center; margin-bottom:34px; }
  .team-block-head .eyebrow{ color:var(--burgundy); }
  .team-block-head h2{ font-family:var(--display); font-size:1.9rem; color:var(--navy); margin-top:8px; }

  .grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:30px; max-width:671.05px; margin:0 auto; }
  .grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; max-width:980px; margin:0 auto; }
  .grid-centered-2{ display:grid;
    grid-template-columns:310px;
    justify-content:center; }
  .grid-6{ display:grid; grid-template-columns:repeat(6,1fr); gap:20px; max-width:1100px; margin:0 auto; }
  .grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; max-width:980px; margin:0 auto; }

  .chairs-cluster{ display:flex; flex-direction:column; gap:44px; }
  .chairs-cluster .cluster-item{ text-align:center; }
  .cluster-item .cluster-label{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:16px; }

  footer{
    position: relative;
    z-index: 10;
    background: var(--navy);
    color: rgba(255,255,255,.55);
    padding: 50px 0 26px;
    margin-top: -20px;
    box-shadow:
        0 -10px 30px rgba(0,0,0,.25),
        0 -2px 8px rgba(0,0,0,.15);
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
  }
  footer .brand{ justify-content:center; margin-bottom:18px; }
  footer .footer-row{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin-bottom:26px; }
  footer .foot-links{ display:flex; justify-content:center; align-items:center; gap:22px; flex-wrap:wrap; font-size:.82rem; }
  footer .foot-links a:hover{ color:var(--burgundy); }
  footer .fine{ font-size:.74rem; border-top:1px solid var(--line); padding-top:20px; max-width:600px; margin:0 auto; }

.social-icons{
  display:flex;
  align-items:center;
  gap:16px;
}
.social-icons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  opacity:.85;
  transition:opacity .15s ease, transform .15s ease;
}
.social-icons a:hover{
  opacity:1;
  transform:translateY(-1px);
}
.social-icons svg{
  width:20px;
  height:20px;
  display:block;
}
header .social-icons{
  margin-left:18px;
  padding-left:18px;
  border-left:1px solid var(--line);
}

  /* Mobile */
 @media (max-width:900px){
  nav.primary{
    position:fixed;
    top:73px;
    left:0; right:0;
    bottom:0;
    background:var(--navy);
    flex-direction:column;
    align-items:stretch;
    padding:10px 18px 24px;
    border-bottom:1px solid var(--line);
    transform:translateY(-130%);
    transition:transform .25s ease;
    overflow-y:auto;
    z-index:150;
  }

  nav.primary.open{ transform:translateY(0); }

  .burger.open span:nth-child(1){ top:9px; transform:rotate(45deg); }
  .burger.open span:nth-child(2){ opacity:0; }
  .burger.open span:nth-child(3){ top:9px; transform:rotate(-45deg); }

  .nav-item{ width:100%; }
  .nav-link{ justify-content:space-between; padding:14px 10px; }
  .dropdown{
  position:static; opacity:1; visibility:visible; transform:none; box-shadow:none;
  border:none; max-height:0; padding:0; overflow:hidden; margin:0;
  transition:max-height .35s ease, margin .35s ease, padding .35s ease;}
  .nav-item.open .dropdown{ max-height:400px; margin:4px 0 10px; padding:8px; border:1px solid var(--line); }
  .burger{ display:block; }

  /* Delegate's Brief button + social icons sit together as one row */
  .nav-actions{
    width:100%;
    justify-content:center;
    gap:14px;
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--line);
  }
  .nav-actions .nav-item{ width:auto; }
  header .social-icons{ margin-left:0; }
  .committee-grid{ grid-template-columns:1fr 1fr; }
  .pillars{ grid-template-columns:1fr; }
  .grid-3, .grid-4, .grid-6{ grid-template-columns:repeat(2,1fr); }
  .chairs-row{ grid-template-columns:1fr 1fr; }
  .grid-centered-2{ grid-template-columns:1fr 1fr; }
  .desc-word-row{ grid-template-columns:1fr; text-align:center; gap:30px; }
  .committee-chairword{ border-left:none; padding-left:0; }
  .page-header.has-media{ padding:90px 0; min-height:clamp(360px, 56vh, 520px); }
  }

  body.menu-open{ overflow:hidden; }

  @media (max-width:520px){
    .committee-grid{ grid-template-columns:1fr; }
    .grid-3, .grid-4, .grid-6, .grid-2, .grid-centered-2{ grid-template-columns:1fr 1fr; }
    .topics-box{ flex-direction:column; align-items:flex-start; }
    .post-photo{ float:none; width:100%; max-width:100%; margin:0 0 16px; }
    .post-meta{ clear:none; }
    .page-header.has-media{ padding:70px 0; min-height:clamp(320px, 52vh, 460px); }
  }


  @media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

  /* ===== MMUN at a Glance (homepage) ===== */
  .glance-section{ background:var(--navy); padding:70px 0 20px; }
  .glance-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:20px; max-width:980px; margin:0 auto;
  }
  .glance-stat{
    text-align:center; padding:28px 14px; border:1px solid rgba(28,26,74,.08); border-radius:14px;
    background:var(--ivory);
  }
  .glance-num{ display:block; font-family:var(--display); font-size:1.9rem; color:var(--burgundy); line-height:1.1; }
  .glance-label{ display:block; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--navy); margin-top:6px; font-weight:700; }
  .glance-sub{ display:block; font-size:.78rem; color:#6a6884; margin-top:4px; }
  .glance-actions{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin:38px 0 10px; }
  .btn-ghost-dark{ border:1px solid rgba(28,26,74,.18); color:var(--navy); }
  .btn-ghost-dark:hover{ background:var(--navy); color:var(--white); border-color:var(--navy); }
  @media (max-width:720px){ .glance-grid{ grid-template-columns:1fr 1fr; } }

  /* ===== Committees Hub ===== */
  .committees-hub-body{ padding:60px 0 100px; }
  .committees-hub-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:980px; margin:0 auto; }
  .hub-card{
    display:flex; flex-direction:column; gap:10px; padding:26px 22px; border-radius:14px;
    border:1px solid rgba(28,26,74,.1); background:var(--ivory); transition:.2s;
  }
  .hub-card:hover{ background:var(--navy); transform:translateY(-3px); box-shadow:0 20px 40px -18px rgba(28,26,74,.35); }
  .hub-card:hover .hub-card-name, .hub-card:hover .hub-card-go{ color:var(--white); }
  .hub-card:hover .hub-card-diff{ color:var(--gold); }
  .hub-card-diff{ font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); font-weight:700; }
  .hub-card-name{ font-family:var(--display); font-size:1.2rem; color:var(--navy); }
  .hub-card-go{ font-size:.8rem; color:var(--burgundy); margin-top:auto; }
  @media (max-width:720px){ .committees-hub-grid{ grid-template-columns:1fr; } }

  /* ===== Delegate's Center hub ===== */
  .dc-body{ padding:60px 0 100px; }
  .dc-portal-card{
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    background:var(--navy); color:var(--white); border-radius:16px; padding:28px 32px; margin-bottom:50px;
  }
  .dc-portal-txt h3{ font-family:var(--display); font-size:1.3rem; margin-bottom:6px; }
  .dc-portal-txt p{ font-size:.9rem; color:rgba(255,255,255,.75); max-width:480px; }
  .dc-group{ margin-bottom:46px; }
  .dc-group:last-child{ margin-bottom:0; }
  .dc-group-title{
    font-family:var(--display); font-size:1.3rem; color:var(--navy); margin-bottom:18px;
    padding-bottom:10px; border-bottom:1px solid rgba(28,26,74,.1);
  }
  .dc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
  .dc-card{
    display:flex; align-items:center; gap:12px; padding:16px 18px; border-radius:12px;
    border:1px solid rgba(28,26,74,.1); background:var(--ivory); font-size:.9rem; font-weight:600; color:var(--navy);
    transition:.2s;
  }
  .dc-card:hover{ background:var(--burgundy); color:var(--white); transform:translateY(-2px); }
  .dc-icon{ font-size:1.3rem; flex-shrink:0; }
  .dc-card.dc-disabled{ opacity:.55; cursor:default; }
  .dc-card.dc-disabled:hover{ background:var(--ivory); color:var(--navy); transform:none; }
  .dc-card.dc-disabled small{ font-weight:400; opacity:.8; }
  @media (max-width:900px){ .dc-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .dc-grid{ grid-template-columns:1fr; } .dc-portal-card{ flex-direction:column; align-items:flex-start; } }

  /* ===== Footer sitemap ===== */
  .footer-sitemap{
    display:grid; grid-template-columns:repeat(4,1fr); gap:28px; max-width:900px; margin:0 auto 30px; text-align:left;
  }
  .foot-col{ display:flex; flex-direction:column; gap:10px; }
  .foot-col h5{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:2px; }
  .foot-col a, .foot-col .foot-dates{ font-size:.83rem; color:rgba(255,255,255,.78); }
  .foot-col a:hover{ color:var(--white); }
  @media (max-width:720px){ .footer-sitemap{ grid-template-columns:1fr 1fr; text-align:center; } }
  @media (max-width:480px){ .footer-sitemap{ grid-template-columns:1fr; } }