@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --blue: #21176f;
  --blue-deep: #15104d;
  --blue-bright: #2d2586;
  --gold: #bd9308;
  --gold-deep: #9d7800;
  --ivory: #f7f4ea;
  --cream: #ece7d9;
  --ink: #17162a;
  --muted: #686577;
  --line: rgba(33, 23, 111, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}

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

button,
a {
  outline-color: var(--gold);
}

[hidden] {
  display: none !important;
}

.desktop-nav a.active {
  color: var(--gold);
}

.lightbox-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Header */
.site-header {
  height: 104px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 36px;
  background: rgba(247, 244, 234, 0.97);
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(189, 147, 8, 0.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
}

.brand-mark {
  width: 66px;
  height: 76px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 58px;
  height: 66px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a {
  padding: 12px 0;
  position: relative;
}

.desktop-nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s;
}

.desktop-nav a:hover:after {
  right: 0;
}

/* Buttons */
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-outline {
  border-color: var(--gold);
  color: var(--blue);
}

.button-outline:hover {
  background: var(--gold);
  color: #fff;
}

.button-gold {
  background: var(--gold);
  color: #17120a;
  box-shadow: 0 10px 30px rgba(189, 147, 8, 0.18);
}

.button-gold:hover {
  background: #d0a617;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(21, 16, 77, 0.22);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  height: calc(100vh - 104px);
  min-height: 660px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/heritage-hero.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(21, 16, 77, 0.98) 0%,
    rgba(27, 19, 91, 0.92) 37%,
    rgba(25, 19, 80, 0.38) 66%,
    rgba(15, 10, 50, 0.08) 100%
  );
}

.survey-lines {
  position: absolute;
  inset: 0 46% 0 0;
  opacity: 0.13;
  background-image: linear-gradient(
      30deg,
      transparent 44%,
      rgba(189, 147, 8, 0.7) 45%,
      transparent 46%
    ),
    linear-gradient(
      120deg,
      transparent 48%,
      rgba(189, 147, 8, 0.55) 49%,
      transparent 50%
    );
  background-size: 120px 140px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(75px, 10vh, 120px) 80px 160px;
}

.eyebrow {
  margin: 0 0 24px;
  color: #d7b441;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.eyebrow.dark {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(64px, 6.5vw, 100px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  gap: 18px;
}

.proof-bar {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 72vw);
  min-height: 112px;
  padding: 20px 34px;
  background: var(--ivory);
  color: var(--blue);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 -8px 35px rgba(10, 7, 45, 0.12);
}

.proof-bar div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 38px;
  border-left: 1px solid rgba(189, 147, 8, 0.35);
}

.proof-bar div:first-child {
  border-left: 0;
}

.proof-bar strong {
  font: 700 36px/1 'Cormorant Garamond', serif;
  color: var(--blue);
}

.proof-bar span {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 120px clamp(24px, 8vw, 130px);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}

.section-heading h2,
.event-copy h2,
.membership h2 {
  font: 600 clamp(48px, 5vw, 76px) / 0.98 'Cormorant Garamond', serif;
  letter-spacing: -0.025em;
  color: var(--blue);
  margin-bottom: 0;
}

.about-copy {
  padding-top: 42px;
}

.about-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.about-copy .lead {
  font: 600 27px/1.4 'Cormorant Garamond', serif;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  gap: 20px;
  margin-top: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

/* Legacy strip */
.legacy-strip {
  padding: 70px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  align-items: center;
  background: var(--blue);
  color: white;
}

.legacy-year {
  font: 600 110px/1 'Cormorant Garamond', serif;
  color: var(--gold);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.legacy-strip h3 {
  max-width: 800px;
  margin: 0;
  font: 600 37px/1.25 'Cormorant Garamond', serif;
}

.legacy-strip .eyebrow {
  margin-bottom: 15px;
}

/* Projects */
.projects {
  background: #fff;
}

.section-heading.compact {
  max-width: 630px;
}

.section-intro {
  max-width: 560px;
  margin: 25px 0 60px;
  color: var(--muted);
  line-height: 1.75;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-card {
  padding: 40px 38px 50px;
  border-right: 1px solid var(--line);
  transition: 0.25s;
}

.project-card:last-child {
  border-right: 0;
}

.project-card:hover {
  background: var(--ivory);
  transform: translateY(-5px);
}

.project-card > span {
  font: 600 16px 'Cormorant Garamond', serif;
  color: var(--gold);
}

.project-card h3 {
  margin: 50px 0 20px;
  font: 600 30px/1.12 'Cormorant Garamond', serif;
  color: var(--blue);
}

.project-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* Event section */
.event-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 690px;
  background: var(--blue-deep);
  color: white;
}

.event-visual {
  min-height: 580px;
  padding: 50px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
      0deg,
      rgba(21, 16, 77, 0.5),
      rgba(21, 16, 77, 0.1)
    ),
    radial-gradient(circle at 30% 30%, #4d44a6, transparent 36%),
    linear-gradient(145deg, #21176f, #0e0a3d);
  position: relative;
  overflow: hidden;
}

.event-visual:before,
.event-visual:after {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(189, 147, 8, 0.3);
  border-radius: 50%;
  top: 10%;
  left: 15%;
}

.event-visual:after {
  width: 300px;
  height: 300px;
  top: 24%;
  left: 28%;
}

.event-visual span {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.8;
  color: #e2c461;
}

.event-copy {
  padding: 90px clamp(40px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-copy h2 {
  color: #fff;
}

.event-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.85;
}

.event-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
}

.event-note span {
  color: rgba(255, 255, 255, 0.6);
}

.event-copy .button {
  align-self: flex-start;
}

/* Leadership */
.leadership {
  background: var(--ivory);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.portrait-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #e2ddcd, #f5f0e5);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border-bottom: 4px solid var(--gold);
}

.portrait-placeholder span {
  font: 600 54px 'Cormorant Garamond', serif;
  color: rgba(33, 23, 111, 0.18);
}

.leadership-grid h3 {
  margin: 20px 0 5px;
  font: 600 24px 'Cormorant Garamond', serif;
  color: var(--blue);
}

.leadership-grid p,
.leadership-note {
  font-size: 12px;
  color: var(--muted);
}

.leadership-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Membership */
.membership {
  padding: 100px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: end;
  background: #fff;
  border-top: 5px solid var(--gold);
}

.membership p:not(.eyebrow) {
  max-width: 700px;
  margin: 25px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.membership-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.membership-actions small {
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */
footer {
  padding: 70px clamp(24px, 8vw, 130px) 28px;
  background: #0d0a37;
  color: white;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  display: flex;
  gap: 18px;
}

.footer-brand img {
  width: 54px;
  height: 64px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.footer-brand span,
.footer-contact span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: 48px;
  row-gap: 12px;
  font-size: 13px;
}

.footer-contact {
  font-size: 13px;
}

.footer-contact a {
  display: inline-block;
  margin-top: 10px;
  color: #d9b847;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

@media (max-width: 1050px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    list-style: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 23px;
    height: 2px;
    background: var(--blue);
  }

  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 52px;
    width: 240px;
    padding: 20px;
    background: var(--ivory);
    box-shadow: 0 16px 40px rgba(21, 16, 77, 0.18);
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .hero-content {
    padding-left: 50px;
  }

  .proof-bar {
    width: 86vw;
  }

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

@media (max-width: 720px) {
  .site-header {
    height: 84px;
    padding: 0 20px;
  }

  .brand-mark {
    width: 45px;
    height: 55px;
  }

  .brand-mark img {
    width: 42px;
    height: 50px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 8px;
  }

  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(21, 16, 77, 0.97), rgba(21, 16, 77, 0.78));
  }

  .hero-content {
    padding: 90px 24px 220px;
  }

  .hero h1 {
    font-size: 58px;
    line-height: 0.91;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-bar {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    padding: 10px 20px;
    min-height: 150px;
  }

  .proof-bar div {
    padding: 8px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
  }

  .proof-bar div:last-child {
    border-bottom: 0;
  }

  .proof-bar strong {
    font-size: 27px;
  }

  .proof-bar span {
    margin: 0;
  }

  .section {
    padding: 80px 24px;
  }

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

  .about-copy {
    padding-top: 34px;
  }

  .section-heading h2,
  .event-copy h2,
  .membership h2 {
    font-size: 48px;
  }

  .legacy-strip {
    padding: 55px 24px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legacy-year {
    font-size: 80px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
  }

  .legacy-strip h3 {
    font-size: 28px;
  }

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

  .project-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-card h3 {
    margin-top: 25px;
  }

  .event-section {
    grid-template-columns: 1fr;
  }

  .event-visual {
    min-height: 360px;
  }

  .event-copy {
    padding: 70px 24px;
  }

  .event-note {
    flex-direction: column;
  }

  .leadership-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .leadership-grid h3 {
    font-size: 20px;
  }

  .membership {
    padding: 75px 24px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  footer {
    padding: 60px 24px 28px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .project-card {
    transition: none;
  }
}


/* Inner pages */
.page-hero{
  min-height:470px;
  padding:105px clamp(24px,8vw,130px);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:linear-gradient(125deg,var(--blue-deep),var(--blue) 68%,#332994);
  color:#fff;
}
.page-hero:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.15;
  background-image:
    linear-gradient(30deg,transparent 44%,var(--gold) 45%,transparent 46%),
    linear-gradient(120deg,transparent 48%,var(--gold) 49%,transparent 50%);
  background-size:160px 180px;
}

.page-hero-inner{
  position:relative;
  z-index:1;
  max-width:820px;
}
.page-hero h1,
.event-hero h1{
  margin:0 0 24px;
  font:600 clamp(58px,7vw,96px)/.92 "Cormorant Garamond",serif;
  letter-spacing:-.035em;
}
.page-hero-inner > p:last-child{
  max-width:700px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:17px;
  line-height:1.75;
}

.page-hero-mark{
  position:absolute;
  right:-35px;
  bottom:-36px;
  font:700 clamp(90px,14vw,220px)/1 Manrope,sans-serif;
  letter-spacing:-.08em;
  color:rgba(255,255,255,.035);
}

.spaced-link{ margin-top:45px; }

.secretariat-note{
  margin-top:70px;
  padding:32px 36px;
  border-left:4px solid var(--gold);
  background:#fff;
  display:grid;
  grid-template-columns:1fr 1.5fr auto;
  gap:28px;
  align-items:center;
}
.secretariat-note p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.secretariat-note a{
  color:var(--blue);
  font-weight:700;
  font-size:13px;
}

.leadership-content{
  width:100%;
  max-width:1440px;
  margin:0 auto;
}
.leadership-page-grid{
  width:100%;
  min-width:0;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:48px clamp(18px,2.2vw,32px);
  margin-top:0;
}
.executive-card{
  min-width:0;
  padding:15px;
  background:#fff;
  border:1px solid rgba(33,23,111,.08);
  box-shadow:0 10px 30px rgba(33,23,111,.06);
}
.portrait-frame{
  width: 100%;
  background: #fff;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  aspect-ratio: 1 / 1;      
}

.portrait-frame img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;        
  object-position: center; 
}

.image-placeholder{
  background:linear-gradient(145deg,#dcd8cc,#f7f4ea);
  color:rgba(33,23,111,.35);
  display:grid;
  place-items:center;
  text-align:center;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  line-height:1.7;
}
.card-kicker{
  padding:10px 0 0px;
  color:var(--gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
}
.executive-card h2{
  margin:0 0 0px;
  color:var(--blue);
  font:600 clamp(22px,2.1vw,28px)/1.1 "Cormorant Garamond",serif;
  overflow-wrap:anywhere;
}
.executive-role{
  margin:0;
  color:var(--muted);
  font-size:13px;
  overflow-wrap:anywhere;
}

.form-layout{
  display:grid;
  grid-template-columns:minmax(260px,.65fr) minmax(520px,1.35fr);
  gap:8vw;
  align-items:start;
}
.form-layout aside{
  position:sticky;
  top:35px;
}
.form-layout aside h2,
.project-section-head h2,
.gallery-toolbar h2,
.video-heading h2,
.archive-submit h2,
.project-cta h2{
  margin:0;
  font:600 clamp(42px,5vw,68px)/1 "Cormorant Garamond",serif;
  color:var(--blue);
}
.form-layout aside > p:not(.eyebrow){
  margin-top:25px;
  color:var(--muted);
  line-height:1.75;
}

.benefit-list{
  list-style:none;
  margin:35px 0 0;
  padding:0;
}
.benefit-list li{
  padding:15px 0 15px 26px;
  border-bottom:1px solid var(--line);
  position:relative;
  font-size:13px;
}
.benefit-list li:before{
  content:"";
  position:absolute;
  left:0;
  top:22px;
  width:8px;
  height:8px;
  background:var(--gold);
}

.heritage-form{
  padding:45px;
  background:#fff;
  border-top:4px solid var(--gold);
  box-shadow:0 16px 60px rgba(33,23,111,.08);
}
.form-section{
  display:flex;
  align-items:center;
  gap:15px;
  margin:42px 0 22px;
  padding-top:34px;
  border-top:1px solid var(--line);
}
.form-section:first-of-type{
  margin-top:0;
  padding-top:0;
  border-top:0;
}
.form-section span{
  color:var(--gold);
  font:600 20px "Cormorant Garamond",serif;
}
.form-section h3{
  margin:0;
  color:var(--blue);
  font:600 26px "Cormorant Garamond",serif;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px 18px;
}
.form-grid label,
.consent{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--ink);
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
}
.form-grid label.full{ grid-column:1/-1; }

.form-grid input,
.form-grid select,
.form-grid textarea{
  width:100%;
  padding:14px 15px;
  border:1px solid rgba(33,23,111,.2);
  border-radius:0;
  background:#fbfaf6;
  color:var(--ink);
  font:400 14px Manrope,sans-serif;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus{
  border-color:var(--gold);
  outline:2px solid rgba(189,147,8,.14);
}

.consent{
  margin:30px 0;
  display:grid;
  grid-template-columns:18px 1fr;
  line-height:1.6;
  font-weight:500;
}
.consent input{
  width:16px;
  height:16px;
  accent-color:var(--gold);
}

.heritage-form .button{
  border:0;
  cursor:pointer;
}
.form-note{
  margin:18px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.6;
}

.event-hero{
  min-height:620px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:var(--blue-deep);
  color:#fff;
}
.event-hero-copy{
  padding:100px 6vw;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.event-hero-copy > p:not(.eyebrow){
  max-width:620px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
}

.event-hero-placeholder{
  display:grid;
  place-items:center;
  background:
    linear-gradient(135deg,rgba(33,23,111,.2),rgba(21,16,77,.85)),
    linear-gradient(45deg,#d8d3c5,#f5f1e7);
  color:rgba(255,255,255,.5);
  font-size:11px;
  font-weight:700;
  letter-spacing:.2em;
  text-align:center;
}

.events-list{ background:#fff; }

/* Ensure the featured card is 2 columns */
.featured-event{
  display:grid;
  grid-template-columns: 1fr 1fr; /* left image, right content */
  align-items:stretch;
}

/* Fixed image column height */
.featured-event .event-card-image{
  height:430px;     
  min-height:430px;
  overflow:hidden; 
}

/* Prevent distortion; fill the box */
.featured-event .event-card-image img{
  width:100%;
  height:100%;
  object-fit:cover; 
  display:block;
}

/* Make the right column not collapse */
.featured-event > div:last-child{
  align-self:stretch;
  padding:55px;
}

.featured-event h3{
  font:600 38px/1.1 "Cormorant Garamond",serif;
  color:var(--blue);
}
.featured-event p:not(.card-kicker){
  color:var(--muted);
  line-height:1.7;
}
.featured-event dl{
  margin:30px 0;
  display:grid;
  grid-template-columns:1fr 1fr;
}
.featured-event dl div{
  padding:15px 0;
  border-top:1px solid var(--line);
}
.featured-event dt{
  font-size:10px;
  color:var(--gold);
  font-weight:700;
  letter-spacing:.15em;
}
.featured-event dd{
  margin:7px 0 0;
  font-size:13px;
}

.compact-events{
  margin-top:20px;
  border-top:1px solid var(--line);
}
.compact-events article{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:30px;
  align-items:center;
  padding:26px;
  border-bottom:1px solid var(--line);
}
.compact-events time{
  color:var(--gold);
  font-size:11px;
  letter-spacing:.14em;
}
.compact-events time strong{ font-size:20px; }
.compact-events p{
  margin:0 0 5px;
  color:var(--gold);
  font-size:9px;
  font-weight:700;
  letter-spacing:.15em;
}
.compact-events h3{
  margin:0 0 5px;
  color:var(--blue);
  font:600 23px/1 "Cormorant Garamond",serif;
}
.compact-events span{
  font-size:11px;
  color:var(--muted);
}

.event-register{
  padding:100px clamp(24px,8vw,130px);
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:8vw;
  background:var(--blue-deep);
  color:#fff;
}
.event-register h2{
  font:600 clamp(48px,6vw,76px)/1 "Cormorant Garamond",serif;
}
.event-register > div > p:not(.eyebrow){
  color:rgba(255,255,255,.65);
  line-height:1.8;
}

.dark-form{
  background:rgba(255,255,255,.06);
  box-shadow:none;
}
.dark-form label{ color:#fff; }
.dark-form input,
.dark-form select,
.dark-form textarea{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.2);
  color:#fff;
}
.dark-form select option{ color:var(--ink); }

.archive-preview{
  padding:100px clamp(24px,8vw,130px);
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:7vw;
  align-items:center;
  background: var(--blue-bright);
  color:#fff;
}
.archive-preview h2{
  font:600 58px/1 "Cormorant Garamond",serif;
}
.archive-preview > div:first-child > p:not(.eyebrow){
  color:rgba(255,255,255,.7);
  line-height:1.7;
}

.archive-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.archive-mini-grid div{
  aspect-ratio:3/4;
  background:linear-gradient(145deg,#0375c2,#033886);
  color:rgba(255,255,255,.4);
}

.project-showcase{ background:#fff; }
.ongoing-projects{ background:var(--ivory); }

.project-section-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:end;
  margin-bottom:55px;
}
.project-section-head > p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.horizontal-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.project-showcase-card{
  background:#fff;
  border:1px solid var(--line);
  transition:.25s;
}
.project-showcase-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 50px rgba(33,23,111,.1);
}
.project-image{ aspect-ratio:4/3; }
.project-card-body{ padding:28px; }
.project-card-body > div{
  display:flex;
  justify-content:space-between;
}
.status,
.project-card-body small{
  font-size:9px;
  font-weight:700;
  letter-spacing:.14em;
}
.status.done{ color:#386c4f; }
.status.ongoing{ color:var(--gold); }
.project-card-body small{ color:var(--muted); }

.project-card-body h3{
  margin:25px 0 13px;
  color:var(--blue);
  font:600 28px/1.1 "Cormorant Garamond",serif;
}
.project-card-body p{
  font-size:12px;
  color:var(--muted);
  line-height:1.7;
}
.project-card-body a{
  font-size:11px;
  color:var(--blue);
  font-weight:700;
}

.project-cta,
.archive-submit{
  padding:80px clamp(24px,8vw,130px);
  display:grid;
  grid-template-columns:1fr 1fr auto;
  align-items:center;
  gap:50px;
  background:var(--blue);
  color:#fff;
}
.project-cta h2,
.archive-submit h2{ color:#fff; }
.project-cta p,
.archive-submit p{
  margin:0;
  color:rgba(255,255,255,.65);
  line-height:1.7;
}

.gallery-section{ background:#fff; }

.gallery-toolbar{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:end;
  margin-bottom:55px;
}
.gallery-toolbar > p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px 18px;
}
.gallery-grid figure{
  min-width:0;
  margin:0;
}
.gallery-grid figure.wide{ grid-column:span 2; }

.gallery-trigger{
  width:100%;
  padding:0;
  border:0;
  background:none;
  display:block;
  position:relative;
  cursor:zoom-in;
}
.gallery-placeholder{
  display:grid;
  aspect-ratio:4/3;
}
.gallery-grid figure.wide .gallery-placeholder{
  aspect-ratio:2/1;
}

.gallery-zoom{
  position:absolute;
  right:14px;
  bottom:14px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--blue);
  font-size:20px;
  box-shadow:0 8px 24px rgba(21,16,77,.18);
  transition:.2s;
}
.gallery-trigger:hover .gallery-zoom,
.gallery-trigger:focus-visible .gallery-zoom{
  background:var(--gold);
  color:#fff;
  transform:scale(1.08);
}

.gallery-grid figcaption{
  display:flex;
  justify-content:space-between;
  margin-top:14px;
}
.gallery-grid figcaption strong{
  font:600 21px/1 "Cormorant Garamond",serif;
  color:var(--blue);
}
.gallery-grid figcaption span{
  font-size:9px;
  color:var(--muted);
  text-transform:uppercase;
}

.lightbox-open{ overflow:hidden; }

.lightbox{
  position:fixed;
  z-index:1000;
  inset:0;
  padding:70px clamp(58px,8vw,130px);
  display:grid;
  place-items:center;
  background:rgba(7,5,30,.92);
  backdrop-filter:blur(8px);
}
.lightbox-content{
  width:min(1100px,82vw);
  max-height:82vh;
  display:flex;
  flex-direction:column;
}
.lightbox-placeholder{
  width:100%;
  min-height:0;
  aspect-ratio:16/9;
  display:grid;
  place-items:center;
  background:#f2f0e8;
  color:rgba(33,23,111,.35);
  font:600 clamp(22px,3vw,42px)/1.4 "Cormorant Garamond",serif;
  letter-spacing:.12em;
  text-align:center;
  border:12px solid #fff;
}
.lightbox-content > div:last-child{
  padding:14px 4px 0;
  display:flex;
  justify-content:space-between;
  color:#fff;
}
.lightbox-content strong{
  font:600 24px/1.1 "Cormorant Garamond",serif;
}
.lightbox-content span{
  font-size:10px;
  color:rgba(255,255,255,.55);
  text-transform:uppercase;
}

.lightbox-close,
.lightbox-nav{
  position:absolute;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
}
.lightbox-close{
  right:28px;
  top:25px;
  width:48px;
  height:48px;
  font-size:30px;
}
.lightbox-nav{
  top:50%;
  width:52px;
  height:70px;
  font-size:42px;
  transform:translateY(-50%);
}
.lightbox-nav.prev{ left:24px; }
.lightbox-nav.next{ right:24px; }
.lightbox-close:hover,
.lightbox-nav:hover{ background:var(--gold); }

.video-archive{
  padding:100px clamp(24px,8vw,130px);
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:7vw;
  background:var(--blue);
  color:#fff;
}
.video-heading h2{ color:#fff; }
.video-heading > p:not(.eyebrow){
  color:rgba(255,255,255,.65);
  line-height:1.75;
}
.video-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.video-placeholder{
  aspect-ratio:16/10;
  background:linear-gradient(145deg,#0375c2,#033886);
  display:grid;
  place-items:center;
  position:relative;
}
.video-placeholder span{
  width:60px;
  height:60px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--gold);
  color:#fff;
}
.video-placeholder small{
  position:absolute;
  bottom:16px;
  font-size:8px;
  letter-spacing:.15em;
  color:rgba(255,255,255,.5);
}
.video-grid h3{
  margin:16px 0 5px;
  font:600 24px/1.1 "Cormorant Garamond",serif;
  color:#fff;
}
.video-grid p{
  font-size:10px;
  color:rgba(255,255,255,.5);
}

@media (max-width:1050px){
  .leadership-page-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .form-layout,
  .event-register,
  .video-archive{ grid-template-columns:1fr; }
  .form-layout aside{ position:static; }
  .horizontal-cards{ grid-template-columns:1fr 1fr; }
  .project-cta,
  .archive-submit{ grid-template-columns:1fr 1fr; }
  .project-cta .button,
  .archive-submit .button{
    grid-column:1/-1;
    justify-self:start;
  }
  .event-hero{ grid-template-columns:1fr; }
  .event-hero-placeholder{ min-height:320px; }
  .secretariat-note{ grid-template-columns:1fr 1fr; }
  .secretariat-note a{ grid-column:1/-1; }
}

@media (max-width:720px){
  .page-hero{
    min-height:390px;
    padding:80px 24px;
  }
  .page-hero h1,
  .event-hero h1{ font-size:54px; }

  .leadership-page-grid{
    grid-template-columns:1fr;
    gap:38px;
  }
  .leadership-content{ padding-left:20px; padding-right:20px; }
  .executive-card{ padding:10px; }
  .portrait-frame{ padding:0; }
  .executive-card .portrait-placeholder{
    aspect-ratio:1/1;
    max-height:380px;
  }

  .secretariat-note,
  .featured-event,
  .archive-preview,
  .project-section-head,
  .gallery-toolbar,
  .video-archive,
  .project-cta,
  .archive-submit{ grid-template-columns:1fr; }

  .form-layout{ grid-template-columns:1fr; }
  .heritage-form{ padding:28px 20px; }
  .form-grid{ grid-template-columns:1fr; }
  .form-grid label.full{ grid-column:auto; }

  .event-hero-copy{ padding:80px 24px; }
  .featured-event > div:last-child{ padding:35px 24px; }

  .compact-events article{
    grid-template-columns:70px 1fr;
    padding:22px 0;
  }

  .event-register,
  .archive-preview{ padding:80px 24px; }

  .archive-mini-grid{
    grid-template-columns:1fr 1fr;
  }
  .archive-mini-grid div:last-child{ display:none; }

  .horizontal-cards{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:15px;
  }
  .project-showcase-card{
    min-width:85vw;
    scroll-snap-align:start;
  }

  .gallery-grid{ grid-template-columns:1fr; }
  .gallery-grid figure.wide{ grid-column:auto; }
  .gallery-grid figure.wide .gallery-placeholder{ aspect-ratio:4/3; }

  .gallery-grid figcaption{
    flex-direction:column;
    gap:5px;
  }

  .lightbox{
    padding:65px 18px 90px;
  }
  .lightbox-content{ width:100%; }
  .lightbox-placeholder{
    border-width:7px;
    aspect-ratio:4/3;
  }
  .lightbox-nav{
    top:auto;
    bottom:18px;
    width:56px;
    height:52px;
    transform:none;
  }
  .lightbox-nav.prev{ left:calc(50% - 64px); }
  .lightbox-nav.next{ right:calc(50% - 64px); }
  .lightbox-close{ right:16px; top:14px; }

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

  .footer-contact small{
    display:block;
    margin-top:8px;
  }
}


/* Premium interaction refinements */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(247,244,234,.94);
  backdrop-filter:blur(14px);
  transition:height .35s ease,box-shadow .35s ease,background .35s ease;
}
.site-header.is-scrolled{
  height:88px;
  background:rgba(247,244,234,.985);
  box-shadow:0 12px 35px rgba(21,16,77,.1);
}

.desktop-nav{ font-weight:700; }
.desktop-nav a{ transition:color .25s ease; }
.desktop-nav a:after{ transition:right .3s cubic-bezier(.16,1,.3,1); }
.desktop-nav a:hover:after,
.desktop-nav a.active:after{ right:0; }

.header-cta{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
  box-shadow:0 10px 25px rgba(33,23,111,.18);
}
.header-cta:hover{
  background:var(--gold);
  border-color:var(--gold);
  color:#17120a;
}

.event-visual{
  background:#0e0a3d;
  isolation:isolate;
}
.event-visual:before{
  content:"";
  position:absolute;
  inset:0;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  top:0;
  left:0;
  z-index:-2;
  background:url('../assets/images/event.png') center/cover no-repeat;
  filter:saturate(.75) contrast(1.04);
  transform:scale(1.015);
  transition:transform .8s cubic-bezier(.16,1,.3,1),filter .7s ease;
}
.event-visual:after{
  content:"";
  position:absolute;
  inset:0;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  top:0;
  left:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(21,16,77,.18),rgba(21,16,77,.86));
  transition:background .5s ease;
}
.event-visual:hover:before{
  transform:scale(1.075);
  filter:saturate(1) contrast(1.02);
}
.event-visual:hover:after{
  background:linear-gradient(180deg,rgba(21,16,77,.08),rgba(21,16,77,.78));
}
.event-visual span{
  padding:12px 15px;
  border-left:3px solid var(--gold);
  background:rgba(13,10,55,.45);
  backdrop-filter:blur(5px);
  letter-spacing:.2em;
  color:#efd778;
}

footer{
  padding-top:76px;
  background:linear-gradient(145deg,#0d0a37,#15104d);
  grid-template-columns:1.35fr .8fr 1fr;
  gap:70px;
  border-top:4px solid var(--gold);
}

.footer-brand{ gap:20px; }
.footer-brand img{
  width:58px;
  height:68px;
}
.footer-brand span{
  max-width:340px;
  line-height:1.7;
}

.footer-column h3,
.footer-contact h3{
  margin:0 0 18px;
  color:#fff;
  font:600 20px "Cormorant Garamond",serif;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer-links a{
  width:max-content;
  color:rgba(255,255,255,.66);
  transition:color .2s,transform .2s;
}
.footer-links a:hover{
  color:#e0bf4b;
  transform:translateX(4px);
}

.footer-contact a{ font-weight:700; }
.footer-contact small{
  display:block;
  margin-top:12px;
  color:rgba(255,255,255,.4);
}

.footer-actions{
  display:flex;
  gap:10px;
  margin-top:22px;
}

.footer-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  transition: 0.25s ease;
}

.footer-icon .material-symbols-outlined {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 20px;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 20;
}

.footer-icon:hover,
.footer-icon.copied {
  border-color: var(--gold);
  background: var(--gold);
  color: #16102f;
  transform: translateY(-3px);
}

.footer-bottom{
  align-items:center;
  gap:22px;
}
.footer-bottom > span:nth-child(2){
  margin-left:auto;
}

.back-to-top{
  width:36px;
  height:36px;
  border:1px solid rgba(255,255,255,.22);
  display:grid;
  place-items:center;
  color:#fff;
  transition:.2s;
}
.back-to-top:hover{
  background:var(--gold);
  border-color:var(--gold);
  color:#15104d;
  transform:translateY(-3px);
}

.motion-ready .scroll-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .8s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0ms),
    transform .8s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0ms);
}
.motion-ready .scroll-reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (max-width:720px){
  .site-header,
  .site-header.is-scrolled{ height:84px; }

  footer{
    grid-template-columns:1fr;
    gap:36px;
  }
  .footer-bottom > span:nth-child(2){ margin-left:0; }
  .footer-bottom{ align-items:flex-start; }
}

@media (prefers-reduced-motion:reduce){
  *,
  *:before,
  *:after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
  }
}

footer .footer-links {
  display: grid !important;
  grid-template-columns: repeat(2, max-content) !important;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 48px;
  row-gap: 12px;
  align-items: start;
}

footer .footer-links a {
  width: auto;
}

@media (max-width: 480px) {
  footer .footer-links {
    grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
    column-gap: 24px;
  }
}

.gallery-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-trigger {
  overflow: hidden;
}

.gallery-trigger:hover .gallery-image {
  transform: scale(1.05);
}


/* Form loading state */
.absuemaa-form.is-submitting {
  pointer-events: none;
  opacity: 0.72;
}

.absuemaa-form button[type="submit"]:disabled {
  cursor: wait;
}

.form-spinner {
  font-size: 19px;
  animation: form-spinner 0.8s linear infinite;
}

@keyframes form-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Native submission dialog */
.submission-dialog {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 56px 44px 44px;
  border: 0;
  border-top: 5px solid var(--gold);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(7, 5, 30, 0.45);
  text-align: center;
  overflow-y: auto;
}

.submission-dialog:not([open]) {
  display: none;
}

.submission-dialog[open] {
  animation: submission-dialog-enter 0.45s
    cubic-bezier(0.16, 1, 0.3, 1);
}

.submission-dialog::backdrop {
  background: rgba(7, 5, 30, 0.88);
  backdrop-filter: blur(8px);
}

/* Close icon at top-right */
.submission-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  width: 42px;
  height: 42px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(33, 23, 111, 0.18);
  background: transparent;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}

.submission-dialog-close .material-symbols-outlined {
  display: block;
  margin: 0;
  font-size: 22px;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 22;
}

.submission-dialog-close:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.submission-dialog-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submission-dialog-icon .material-symbols-outlined {
  font-size: 34px;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 34;
}

.submission-dialog-label {
  margin: 0 0 16px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.submission-dialog h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font: 600 42px/1 "Cormorant Garamond", Georgia, serif;
}

.submission-dialog-message {
  max-width: 420px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.submission-dialog.submission-modal-error {
  border-top-color: #a43b3b;
}

.submission-dialog.submission-modal-error
  .submission-dialog-icon {
  background: #a43b3b;
}

@keyframes submission-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

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

@media (max-width: 560px) {
  .submission-dialog {
    width: calc(100% - 24px);
    padding: 54px 24px 32px;
  }

  .submission-dialog h2 {
    font-size: 34px;
  }

  .submission-dialog-close {
    top: 12px;
    right: 12px;
  }
}
