:root{
    --black:#000000;
    --navy:#262452;
    --navy-deep:#13123a;
    --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); letter-spacing:.1em; text-transform:uppercase;
    font-size:.72rem; 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); }

  .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: var(--navy);
    color:var(--white); overflow:hidden; 
  }
  .hero-beam{
    position:absolute; 

    top: calc(-47% - 750px);
    right: calc(36% - 750px);
    width:2400px;
    height:2400px;

    background:conic-gradient(
            from 00deg at 50% 50%,
            transparent 0deg,
            rgba(173,131,47,.16) 8deg,
            transparent 22deg,
            transparent 360deg
    );    
    animation:sweep 9s linear infinite; pointer-events:none;
  }
  @keyframes sweep{ to{ transform:rotate(360deg);} }
  .hero-logo{
    width:840px; 
    margin-bottom:80px;
    margin-top:40px;
  }
  .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; }
  .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;
  }
  .date-card .eyebrow{ margin-bottom:4px; }
  .date-card .dates{ font-family:var(--display); font-size:1.3rem; color:var(--white); }
  .date-card .place{ font-size:.78rem; color:rgba(255,255,255,.6); }

  .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);}

  .wave-divider{ display:block; width:100%; height:60px; }

  /* ===== 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; }

  /* ===== Sec Gen word ===== */
  .word-section{ background:var(--navy-mid); color:var(--white); padding:90px 0; position:relative; overflow:hidden; }
  .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, 0.825); }
  .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; }

  /* ===== 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;
  }
  .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; }

  .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 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:center;
    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); }

  .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; /* clearfix so the border/margin below sits under the floated image */
    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;
  }

  /* ===== 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 .foot-links{ display:flex; justify-content:center; gap:22px; flex-wrap:wrap; margin-bottom:26px; 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);
}
footer .social-icons{
  justify-content:center;
  gap:20px;
  margin:0 0 22px;
}
footer .social-icons svg{
  width:22px;
  height:22px;
}

  /* Mobile */
  @media (max-width:900px){
    nav.primary{ position:fixed; top:73px; left:0; right:0; background:var(--navy-deep); flex-direction:column;
      align-items:stretch; padding:10px 18px 24px; border-bottom:1px solid var(--line);
      transform:translateY(-130%); transition:transform .25s; max-height:80vh; overflow:auto; }
    nav.primary.open{ transform:translateY(0); }
    .nav-item{ width:100%; }
    .nav-link{ justify-content:space-between; padding:14px 10px; }
    .dropdown{ position:static; opacity:1; visibility:visible; transform:none; display:none; box-shadow:none; margin:4px 0 10px; }
    .nav-item.open .dropdown{ display:block; }
    .burger{ display:block; }
    .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; }
  }
  @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; }
  }