:root {
  --ink: #101814;
  --charcoal: #10241c;
  --deep: #071811;
  --paper: #f7f5ef;
  --white: #ffffff;
  --surface: #0f2a20;
  --surface-soft: #15382b;
  --gold: #b89454;
  --forest: #123c2c;
  --moss: #5f765f;
  --muted: rgba(247, 245, 239, 0.68);
  --line: rgba(247, 245, 239, 0.14);
  --shadow: 0 22px 70px rgba(7, 24, 17, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--deep);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  color: var(--white);
  background: rgba(10, 31, 23, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--paper);
  background: rgba(7, 24, 17, 0.92);
  border-color: rgba(247, 245, 239, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: currentColor;
  opacity: 0.86;
  transition: opacity 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 24, 17, 0.9), rgba(7, 24, 17, 0.5) 50%, rgba(7, 24, 17, 0.28)),
    linear-gradient(0deg, rgba(7, 24, 17, 0.82), rgba(7, 24, 17, 0.1) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 120px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 11vw, 8.7rem);
  line-height: 0.88;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.96;
}

h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.hero-actions,
.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.button-outline {
  color: var(--paper);
  border-color: rgba(247, 245, 239, 0.24);
  background: transparent;
}

.hero-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-details span {
  padding: 18px 18px 20px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  color: var(--muted);
  font-size: 1.02rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.committee-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(150deg, var(--charcoal), #08120e 72%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.committee-card:nth-child(2) {
  background: linear-gradient(150deg, #173d2f, #08120e 74%);
}

.committee-card:nth-child(3) {
  background: linear-gradient(150deg, #1d4b37, #08120e 74%);
}

.committee-card span {
  width: fit-content;
  margin-bottom: auto;
  padding-bottom: 9px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  border-bottom: 1px solid rgba(184, 148, 84, 0.55);
}

.committee-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 62px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-section p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
}

.profile-stack,
.profile-grid {
  display: grid;
  gap: 14px;
}

.profile-grid {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.profile-stack article,
.profile-grid article {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}

.profile-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.profile-stack img,
.profile-grid img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
}

.profile-stack p,
.profile-grid p {
  margin: 4px 0 0;
  color: var(--muted);
}

.profile-grid h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0;
}

.profile-grid .name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 2px;
}

.profile-grid .desc {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.profile-grid .phone {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 550;
}

.profile-grid .phone a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 160ms ease;
}

.profile-grid .phone a:hover {
  opacity: 0.8;
}


.schedule {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 130px 240px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: var(--surface);
}

.timeline time {
  color: var(--gold);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.gallery img:nth-child(2) {
  margin-top: 42px;
}

.register {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
}

.register p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.register-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  width: 100%;
  margin: 0 auto;
  padding: 42px max(20px, calc((100% - 1180px) / 2)) 54px;
  color: rgba(255, 255, 255, 0.76);
  background: #06130e;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 470px;
  margin: 18px 0 0;
}

address {
  display: grid;
  gap: 8px;
  font-style: normal;
  text-align: right;
}

address a:hover {
  color: var(--gold);
}

/* Inner Page Layouts & Elements */
.inner-hero {
  position: relative;
  padding: 130px 0 50px;
  background: linear-gradient(180deg, var(--deep) 0%, var(--charcoal) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.inner-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 auto 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumbs a {
  transition: color 160ms ease;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumbs li.active {
  color: var(--gold);
}

.site-nav a.active {
  color: var(--gold);
  opacity: 1;
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
}

/* Form Styles */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 148, 84, 0.18);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23b89454'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 44px;
}

/* Inner Page Content Grids */
.welcome-letter {
  font-size: 1.05rem;
  color: var(--muted);
}

.welcome-letter p {
  margin-top: 0;
  margin-bottom: 24px;
}

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

.secretary-signature h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.secretary-signature p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.committee-detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}

.committee-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.committee-detail-header h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0;
}

.committee-badge {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 10px;
}

.committee-agenda {
  background: var(--surface-soft);
  border-left: 3px solid var(--gold);
  padding: 16px;
  margin: 18px 0;
}

.committee-agenda h4 {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.committee-agenda p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.committee-resources {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
  text-align: center;
}

.info-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-placeholder {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.map-placeholder svg {
  margin-bottom: 16px;
  color: var(--gold);
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    color: var(--paper);
    background: rgba(7, 24, 17, 0.98);
    border: 1px solid rgba(247, 245, 239, 0.14);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero-content {
    padding: 132px 0 84px;
  }

  .hero-details,
  .intro-grid,
  .card-grid,
  .split-section,
  .register,
  .site-footer,
  .info-cards {
    grid-template-columns: 1fr 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .gallery img,
  .gallery img:nth-child(2) {
    height: 280px;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .brand span {
    font-size: 1.12rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-content,
  .hero-details,
  .section,
  .gallery {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .hero-details,
  .intro-grid,
  .card-grid,
  .split-section,
  .register,
  .site-footer,
  .info-cards,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-details span {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding: 76px 0;
  }

  .profile-stack article,
  .profile-grid article {
    grid-template-columns: 86px 1fr;
  }

  .profile-stack img,
  .profile-grid img {
    width: 86px;
  }

  .register-actions {
    justify-content: flex-start;
  }

  address {
    text-align: left;
  }
}

/* =============================================
   DESIGN UPGRADE — Animations & Effects
   ============================================= */

/* ---- Keyframes ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerSlide {
  from { left: -80%; }
  to   { left: 120%; }
}

@keyframes gradientDrift {
  0%, 100% { background-position: 0% 60%; }
  50%       { background-position: 100% 40%; }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 0.12; }
  50%       { opacity: 0.35; }
}

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 148, 84, 0); }
  50%       { box-shadow: 0 0 18px 4px rgba(184, 148, 84, 0.12); }
}

/* ---- Particle Canvas ---- */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---- Animated Hero Background ---- */
.hero {
  background: linear-gradient(
    135deg,
    #030b07 0%,
    #071811 30%,
    #0c2218 55%,
    #071811 80%,
    #030b07 100%
  ) !important;
  background-size: 300% 300% !important;
  animation: gradientDrift 20s ease infinite;
}

/* ---- Hero Overlay — richer gradient ---- */
.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(3, 11, 7, 0.96) 0%,
      rgba(3, 11, 7, 0.65) 45%,
      rgba(3, 11, 7, 0.2) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3, 11, 7, 0.92) 0%,
      rgba(3, 11, 7, 0.05) 55%
    ),
    linear-gradient(
      180deg,
      rgba(3, 11, 7, 0.55) 0%,
      transparent 28%
    ) !important;
}

/* ---- Hero Text Entrance Animations ---- */
.hero-content .eyebrow {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero-content h1 {
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}
.hero-content .hero-copy {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}
.hero-actions {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.66s both;
}
.hero-details {
  opacity: 0;
  animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

/* ---- Hero Details — separator dots ---- */
.hero-details span:not(:last-child)::after {
  content: '·';
  margin-left: 14px;
  color: rgba(184, 148, 84, 0.35);
  font-weight: 400;
}

/* ---- Scroll Reveal System ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.34s; }

/* ---- Countdown Section ---- */
.countdown-section {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.countdown-header {
  text-align: center;
  margin-bottom: 32px;
}
.countdown-header p {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.countdown-strip {
  display: grid;
  grid-template-columns: 1fr max-content 1fr max-content 1fr max-content 1fr;
  align-items: center;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.countdown-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 2ch;
  text-align: center;
}

.countdown-label {
  display: block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.countdown-sep {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: rgba(184, 148, 84, 0.25);
  line-height: 1;
  padding: 0 4px;
  padding-bottom: 22px;
  user-select: none;
}

/* ---- Enhanced Committee Cards ---- */
.committee-card {
  position: relative;
  overflow: hidden;
  transition:
    transform  300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms ease,
    box-shadow   300ms ease;
}
.committee-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(184, 148, 84, 0.07) 0%,
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.committee-card:hover {
  transform: translateY(-8px) scale(1.005);
  border-color: rgba(184, 148, 84, 0.45);
  box-shadow:
    0 36px 90px rgba(3, 11, 7, 0.55),
    0 0 0 1px rgba(184, 148, 84, 0.18),
    inset 0 1px 0 rgba(184, 148, 84, 0.12);
}
.committee-card:hover::after { opacity: 1; }
.committee-card:hover span {
  text-shadow: 0 0 28px rgba(184, 148, 84, 0.5);
}

/* ---- Enhanced Buttons ---- */
.button {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
}
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  pointer-events: none;
}
.button:hover::before {
  animation: shimmerSlide 0.55s ease;
}

.button-primary {
  background: linear-gradient(130deg, #caa966, var(--gold) 55%) !important;
}
.button-primary:hover {
  background: linear-gradient(130deg, #d4b470, #caa966 55%) !important;
}

/* ---- Section Heading Decoration ---- */
.section-heading {
  position: relative;
}
.section-heading::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 148, 84, 0.1));
  margin-bottom: 6px;
}
.section-heading[style*="text-align: center"]::before,
.section-heading[style*="text-align:center"]::before {
  margin-inline: auto;
}

/* ---- Eyebrow refinement ---- */
.section-heading .eyebrow,
.inner-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-heading .eyebrow::after,
.inner-hero .eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

/* ---- Inner Hero Decorative Line ---- */
.inner-hero {
  position: relative;
}
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 84, 0.5), transparent);
}

/* ---- Committee Detail Card Hover ---- */
.committee-detail-card {
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}
.committee-detail-card:hover {
  border-color: rgba(184, 148, 84, 0.3);
  box-shadow: 0 24px 60px rgba(3, 11, 7, 0.35);
  transform: translateY(-2px);
}

/* ---- Timeline Row Hover ---- */
.timeline article {
  transition: background 180ms ease;
}
.timeline article:hover {
  background: var(--surface-soft);
}

/* ---- Gallery Images ---- */
.gallery {
  overflow: hidden;
}
.gallery img {
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), filter 400ms ease;
  filter: brightness(0.92) saturate(0.88);
}
.gallery img:hover {
  transform: scale(1.04);
  filter: brightness(1.05) saturate(1.1);
  position: relative;
  z-index: 1;
}

/* ---- Profile Card Hover ---- */
.profile-grid article {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.profile-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 148, 84, 0.4);
  box-shadow: 0 20px 55px rgba(3, 11, 7, 0.4);
}

/* ---- Info Cards Hover ---- */
.info-card {
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.info-card:hover {
  border-color: rgba(184, 148, 84, 0.3);
  box-shadow: 0 16px 45px rgba(3, 11, 7, 0.35);
  transform: translateY(-3px);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Footer link hover ---- */
address a:hover { color: var(--gold); transition: color 160ms ease; }

/* ---- Selection style ---- */
::selection {
  background: rgba(184, 148, 84, 0.28);
  color: var(--white);
}

/* ---- Countdown Responsive ---- */
@media (max-width: 640px) {
  .countdown-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    width: 100%;
  }
  .countdown-cell {
    background: var(--charcoal);
    padding: 28px 8px;
  }
  .countdown-sep { display: none; }
  .countdown-num { font-size: clamp(2.8rem, 16vw, 4rem); }
}
@media (min-width: 641px) and (max-width: 900px) {
  .countdown-num { font-size: clamp(2.5rem, 9vw, 4rem); }
  .countdown-sep { font-size: clamp(2rem, 7vw, 3rem); }
}

/* ---- Welcome Address Tabs ---- */
.welcome-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  transition: all 160ms ease;
}

.tab-btn:hover {
  color: var(--gold);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  animation: fadeInTabs 0.4s ease forwards;
}

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

