/* ==========================================================================
   Mind Sports Association of Tamilians
   MAIN STYLESHEET
   ========================================================================== */


/* ==========================================================================
   ROOT VARIABLES
   ========================================================================== */

:root {

  --charcoal: #333333;
  --charcoal-deep: #1c1c1c;

  --gold: #d4a843;
  --gold-light: #e9c876;
  --gold-dark: #a9822f;

  --white: #ffffff;
  --off-white: #f7f5f0;

  --line: #e4e0d8;

  --text: #333333;
  --text-soft: #6b6b66;

  --bg: #ffffff;
  --bg-alt: #f7f5f0;
  --surface: #ffffff;

  --shadow: 0 10px 30px rgba(0,0,0,0.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --nav-h: 90px;

  --radius: 4px;

  --gap: 1.5rem;

  --max: 1180px;

  --ease: cubic-bezier(.22,.9,.35,1);
}


/* ==========================================================================
   DARK MODE
   ========================================================================== */

[data-theme="dark"] {

  --charcoal: #f2efe8;

  --text: #ece8e0;
  --text-soft: #b3ada0;

  --bg: #1c1c1c;
  --bg-alt: #262625;
  --surface: #232322;

  --line: #3a3a38;

  --shadow: 0 10px 34px rgba(0,0,0,0.45);
}


/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {

  font-family: var(--font-body);

  color: var(--text);

  background: var(--bg);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  transition:
    background .35s var(--ease),
    color .35s var(--ease);

  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {

  font-family: var(--font-display);

  font-weight: 600;

  line-height: 1.12;

  letter-spacing: -0.01em;
}

:focus-visible {

  outline: 2px solid var(--gold);

  outline-offset: 3px;
}

.container {

  max-width: var(--max);

  margin-inline: auto;

  padding-inline: 1.5rem;
}


/* ==========================================================================
   EYEBROW
   ========================================================================== */

.eyebrow {

  display: inline-flex;

  align-items: center;

  gap: .6rem;

  font-family: var(--font-mono);

  font-size: .78rem;

  letter-spacing: .14em;

  text-transform: uppercase;

  color: var(--gold-dark);

  margin-bottom: .9rem;
}

[data-theme="dark"] .eyebrow {
  color: var(--gold);
}

.eyebrow::before {

  content: "";

  width: 22px;

  height: 1px;

  background: var(--gold);

  display: inline-block;
}


/* ==========================================================================
   SECTION
   ========================================================================== */

.section-head {

  max-width: 640px;

  margin-bottom: 2.4rem;
}

.section-head h2 {

  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.section-head p {

  color: var(--text-soft);

  margin-top: .7rem;

  font-size: 1.02rem;
}

.section-head.center {

  margin-inline: auto;

  text-align: center;
}

section {
  padding-block: 3.2rem;
}

.section-alt {
  background: var(--bg-alt);
}


/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  width: 100%;
  height: var(--nav-h);

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid transparent;

  transition:
    background .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease);
}

[data-theme="dark"] .navbar {
  background: rgba(28, 28, 28, .94);
}

.navbar.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}


/* ==========================================================================
   NAV INNER
   ========================================================================== */

.nav-inner {
  width: 100%;
  max-width: var(--max);
  height: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}


/* ==========================================================================
   LOGO
   ========================================================================== */

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: 220px;
  object-fit: contain;
}


/* ==========================================================================
   DESKTOP NAVIGATION
   ========================================================================== */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav-links > a {
  position: relative;

  font-size: .92rem;
  font-weight: 500;

  padding-block: .3rem;

  color: var(--text);
}

.nav-links > a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -2px;

  width: 0;
  height: 2px;

  background: var(--gold);

  transition: width .3s var(--ease);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
  width: 100%;
}

.nav-links > a.active {
  color: var(--gold-dark);
}

[data-theme="dark"] .nav-links > a.active {
  color: var(--gold);
}


/* ==========================================================================
   EVENT GALLERY DROPDOWN
   ========================================================================== */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: .3rem 0;

  color: var(--text);
  background: transparent;
  border: none;

  font: inherit;
  font-size: .92rem;
  font-weight: 500;

  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 10px;
  transition: transform .3s ease;
}


/* ==========================================================================
   DESKTOP DROPDOWN
   ========================================================================== */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;

  min-width: 220px;
  padding: 8px;

  transform: translateX(-50%) translateY(10px);

  background: #0f1419;
  border: 1px solid rgba(169, 130, 47, .35);
  border-radius: 10px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .25s ease,
    visibility .25s ease,
    transform .25s ease;

  z-index: 10001;
}


/* Desktop: HOVER ONLY */

@media (min-width: 992px) {

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
  }

}


/* ==========================================================================
   DROPDOWN LINKS
   ========================================================================== */

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  padding: 11px 13px;

  color: rgba(255, 255, 255, .88);

  border-radius: 7px;

  font-size: .88rem;

  transition:
    background .25s ease,
    color .25s ease;
}

.dropdown-menu a i {
  width: 18px;
  color: var(--gold);
}

.dropdown-menu a:hover {
  background: rgba(169, 130, 47, .13);
  color: var(--gold);
}


/* ==========================================================================
   NAV ACTIONS
   ========================================================================== */

.nav-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
}


/* ==========================================================================
   BUTTON
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  padding: .75rem 1.5rem;

  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;

  border: 1.5px solid var(--charcoal);
  border-radius: var(--radius);

  transition: all .3s var(--ease);

  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #221a08;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: .55rem 1.1rem;
  font-size: .8rem;
}


/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */

.theme-toggle {
  width: 40px;
  height: 40px;

  border: 1px solid var(--line);
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: var(--text);

  transition:
    border-color .3s,
    color .3s,
    transform .3s;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: rotate(20deg);
}

.theme-toggle .fa-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
  display: block;
}


/* ==========================================================================
   HAMBURGER
   ========================================================================== */

.hamburger {
  display: none;

  width: 42px;
  height: 42px;
  padding: 8px;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  background: transparent;
  border: none;

  position: relative;
  z-index: 10003;

  cursor: pointer;
}

.hamburger span {
  display: block;

  width: 25px;
  height: 2px;

  background: var(--text);
  border-radius: 2px;

  transition: all .3s var(--ease);
}


/* Hamburger X */

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

@media (max-width: 991px) {

  .navbar {
    height: var(--nav-h);
  }

  .nav-inner {
    padding-inline: 1rem;
  }


  /* Logo */

  .brand-logo {
    height: 65px;
    max-width: 180px;
  }


  /* Actions */

  .nav-actions {
    margin-left: auto;
    gap: .3rem;
  }


  /* Hide Theme */

  .theme-toggle {
    display: none;
  }


  /* Hide Join Button */

  .nav-actions .btn {
    display: none;
  }


  /* Show Hamburger */

  .hamburger {
    display: flex;
  }


  /* ========================================================================
     MOBILE MENU
     ======================================================================== */

  .nav-links {
    position: fixed;

    top: var(--nav-h);
    right: 0;
    left: 0;

    width: 100%;
    height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;

    padding: 1rem 1.5rem 3rem;

    background: var(--bg);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transform: translateX(100%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      transform .35s var(--ease),
      opacity .25s ease,
      visibility .35s ease;

    z-index: 10001;
  }


  /* Mobile Menu OPEN */

  .nav-links.active {
    transform: translateX(0);

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }


  /* ========================================================================
     MOBILE MAIN LINKS
     ======================================================================== */

  .nav-links > a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 52px;

    padding: 14px 0;

    border-bottom: 1px solid var(--line);

    font-size: 1rem;
    color: var(--text);
  }

  .nav-links > a::after {
    display: none;
  }

  .nav-links > a.active {
    color: var(--gold-dark);
  }

  [data-theme="dark"] .nav-links > a.active {
    color: var(--gold);
  }


  /* ========================================================================
     MOBILE EVENT DROPDOWN
     ======================================================================== */

  .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .dropdown-toggle {
    width: 100%;
    min-height: 52px;

    padding: 14px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-align: left;

    color: var(--text);

    font-size: 1rem;
    font-weight: 500;
  }

  .dropdown-toggle i {
    font-size: 11px;
    transition: transform .3s ease;
  }


  /* Mobile submenu CLOSED */

  .dropdown-menu {
    position: static;

    width: 100%;
    min-width: 0;

    padding: 0 0 0 18px;
    margin: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    transform: none;

    max-height: 0;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      max-height .35s ease,
      opacity .25s ease,
      visibility .25s ease;
  }


  /* Mobile submenu OPEN */

  .nav-dropdown.active .dropdown-menu {
    max-height: 200px;

    padding-bottom: 8px;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }


  /* Mobile Arrow */

  .nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }


  /* Mobile Submenu Links */

  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;

    padding: 11px 0;

    color: var(--text-soft);

    background: transparent;
    border-radius: 0;

    font-size: .9rem;
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--gold);
  }

  .dropdown-menu a i {
    width: 18px;
    color: var(--gold-dark);
  }

  [data-theme="dark"] .dropdown-menu a i {
    color: var(--gold);
  }


  /* ========================================================================
     MOBILE OVERLAY
     ======================================================================== */

  body.menu-open::before {
    content: "";

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .55);

    z-index: 9999;

    pointer-events: auto;
  }

}


/* ==========================================================================
   DESKTOP HAMBURGER HIDE
   ========================================================================== */

@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
}

/* =========================================
   PAGE HERO BREADCRUMB
========================================= */

.page-hero {
  position: relative;
  overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-bottom: 28px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: all .3s ease;
}

.breadcrumb a:hover {
  color: #e9c876;
}

.breadcrumb span {
  color: rgba(255,255,255,.45);
}

.breadcrumb span:last-child {
  color: #e9c876;
}

.breadcrumb i {
  font-size: 9px;
  color: #e9c876;
}


/* Decorative line around breadcrumb */
.breadcrumb::before,
.breadcrumb::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(233,200,118,.65)
  );
}

.breadcrumb::after {
  background: linear-gradient(
    90deg,
    rgba(233,200,118,.65),
    transparent
  );
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .breadcrumb {
    gap: 8px;
    margin-bottom: 22px;
    font-size: 11px;
  }

  .breadcrumb::before,
  .breadcrumb::after {
    width: 20px;
  }

  .breadcrumb i {
    font-size: 8px;
  }

}
/* ==========================================================================
   HERO
   ========================================================================== */

.hero {

  position: relative;

  min-height: 100svh;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  overflow: hidden;

  background: var(--charcoal-deep);
}

.hero-bg {

  position: absolute;

  inset: 0;

  background-size: cover;

  background-position: center;

  filter: saturate(.35) brightness(.42);

  transform: scale(1.06);
}

.hero-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(17,17,16,.55) 0%,
      rgba(17,17,16,.78) 65%,
      rgba(17,17,16,.95) 100%
    );
}

.hero-grid {

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(212,168,67,.09) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(212,168,67,.09) 1px,
      transparent 1px
    );

  background-size: 64px 64px;

  mask-image:
    radial-gradient(
      circle at 50% 40%,
      black 10%,
      transparent 72%
    );
}

.hero-content {

  position: relative;

  z-index: 2;

  padding: 0 1.5rem;

  max-width: 860px;
}

.hero-content .eyebrow {

  color: var(--gold-light);

  justify-content: center;
}

.hero-content .eyebrow::before {

  display: none;
}

.hero h1 {

  color: var(--white);

  font-size: clamp(2.5rem,6.2vw,4.6rem);

  letter-spacing: -.015em;
}

.hero h1 em {

  font-style: italic;

  color: var(--gold);
}

.hero p.lead {

  color: #d8d5cc;

  font-size: clamp(1.02rem,1.6vw,1.2rem);

  max-width: 600px;

  margin: 1.25rem auto 2.1rem;
}

.hero-cta {

  display: flex;

  gap: 1rem;

  justify-content: center;

  flex-wrap: wrap;
}

.hero-cta .btn-outline {

  border-color: rgba(255,255,255,.35);

  color: var(--white);
}

.hero-cta .btn-outline:hover {

  border-color: var(--gold);

  color: var(--gold);
}

.hero-scroll {

  position: absolute;

  bottom: 1.8rem;

  left: 50%;

  transform: translateX(-50%);

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: .5rem;

  color: #c9c6bc;

  font-family: var(--font-mono);

  font-size: .68rem;

  letter-spacing: .2em;

  text-transform: uppercase;
}

.hero-scroll i {

  animation: bob 1.8s ease-in-out infinite;

  color: var(--gold);
}

@keyframes bob {

  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}


/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.page-hero {

  position: relative;

  padding-top: calc(var(--nav-h) + 5rem);

  padding-bottom: 3.4rem;

  background: var(--charcoal-deep);

  text-align: center;

  overflow: hidden;
}

.page-hero .hero-grid {

  opacity: .6;
}

.page-hero-content {

  position: relative;

  z-index: 2;
}

.page-hero h1 {

  color: var(--white);

  font-size: clamp(2.1rem,4.6vw,3.2rem);
}

.page-hero p {

  color: #c9c6bc;

  max-width: 560px;

  margin: .9rem auto 0;
}


/* ==========================================================================
   FULL WIDTH IMAGE
   ========================================================================== */

.full-width-image {

  width: 100%;

  overflow: hidden;

  text-align: center;
}

.image-content {

  width: 100%;

  text-align: center;

  margin-bottom: 25px;
}

.image-content span {

  display: block;

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 3px;

  margin-bottom: 8px;
}

.image-content h2 {

  margin: 0;

  font-size: 42px;

  font-weight: 700;

  line-height: 1.2;
}

.full-width-image img {

  display: block;

  width: 100%;

  height: auto;

  max-width: 100%;
}


/* ==========================================================================
   STATS
   ========================================================================== */

.stats-strip {

  display: grid;

  grid-template-columns: repeat(4,1fr);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  background: var(--surface);
}

.stat {

  padding: 1.8rem 1rem;

  text-align: center;

  border-right: 1px solid var(--line);
}

.stat:last-child {

  border-right: none;
}

.stat .num {

  font-family: var(--font-display);

  font-size: clamp(1.7rem,3vw,2.3rem);

  color: var(--gold-dark);

  font-weight: 600;
}

[data-theme="dark"] .stat .num {

  color: var(--gold);
}

.stat .label {

  font-family: var(--font-mono);

  font-size: .72rem;

  letter-spacing: .08em;

  text-transform: uppercase;

  color: var(--text-soft);

  margin-top: .35rem;
}


/* ==========================================================================
   GRID
   ========================================================================== */

.grid {

  display: grid;

  gap: var(--gap);
}

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

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

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


/* ==========================================================================
   CARDS
   ========================================================================== */

.card {

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 1.9rem;

  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    border-color .35s var(--ease);

  position: relative;
}

.card:hover {

  transform: translateY(-6px);

  box-shadow: var(--shadow);

  border-color: var(--gold);
}

.card .tag {

  font-family: var(--font-mono);

  font-size: .68rem;

  letter-spacing: .1em;

  text-transform: uppercase;

  color: var(--gold-dark);

  display: inline-block;

  margin-bottom: .9rem;
}

[data-theme="dark"] .card .tag {

  color: var(--gold);
}

.card h3 {

  font-size: 1.28rem;

  margin-bottom: .6rem;
}

.card p {

  color: var(--text-soft);

  font-size: .94rem;
}

.card-icon {

  width: 50px;

  height: 50px;

  border: 1px solid var(--line);

  border-radius: 50%;

  display: grid;

  place-items: center;

  margin-bottom: 1.1rem;

  color: var(--gold-dark);

  font-size: 1.15rem;

  transition:
    background .3s,
    color .3s,
    border-color .3s;
}

[data-theme="dark"] .card-icon {

  color: var(--gold);
}

.card:hover .card-icon {

  background: var(--gold);

  border-color: var(--gold);

  color: #221a08;
}

.card-media {

  border-radius: var(--radius);

  overflow: hidden;

  margin-bottom: 1.2rem;
}

.card-media img {

  object-fit: cover;

  transition: transform .55s var(--ease);
}

.card:hover .card-media img {

  transform: scale(1.07);
}

.card-link {

  margin-top: 1rem;

  display: inline-flex;

  align-items: center;

  gap: .5rem;

  font-size: .85rem;

  font-weight: 600;

  color: var(--charcoal);
}

.card-link i {

  transition: transform .3s var(--ease);

  font-size: .75rem;
}

.card:hover .card-link i {

  transform: translateX(4px);
}


/* ==========================================================================
   SPLIT
   ========================================================================== */

.split {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 3.2rem;

  align-items: center;
}

.split img {

  border-radius: var(--radius);

  width: 100%;
}

.split .frame {

  position: relative;
}

.split .frame::after {

  content: "";

  position: absolute;

  inset: -16px -16px auto auto;

  width: 60%;

  height: 60%;

  border: 2px solid var(--gold);

  z-index: -1;

  border-radius: var(--radius);
}

.split h2 {

  font-size: clamp(1.7rem,3vw,2.3rem);

  margin-bottom: 1rem;
}

.split p {

  color: var(--text-soft);

  margin-bottom: 1rem;
}

.check-list li {

  display: flex;

  gap: .7rem;

  margin-bottom: .65rem;

  color: var(--text);

  font-size: .96rem;
}

.check-list i {

  color: var(--gold-dark);

  margin-top: .28rem;
}

[data-theme="dark"] .check-list i {

  color: var(--gold);
}


/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline {

  position: relative;

  max-width: 760px;

  margin-inline: auto;
}

.timeline::before {

  content: "";

  position: absolute;

  left: 20px;

  top: 6px;

  bottom: 6px;

  width: 1px;

  background: var(--line);
}

.t-item {

  position: relative;

  padding-left: 56px;

  margin-bottom: 2.1rem;
}

.t-item:last-child {

  margin-bottom: 0;
}

.t-item .dot {

  position: absolute;

  left: 11px;

  top: 2px;

  width: 19px;

  height: 19px;

  border-radius: 50%;

  background: var(--surface);

  border: 2px solid var(--gold);
}

.t-item .year {

  font-family: var(--font-mono);

  font-size: .78rem;

  color: var(--gold-dark);

  letter-spacing: .08em;
}

[data-theme="dark"] .t-item .year {

  color: var(--gold);
}

.t-item h3 {

  font-size: 1.15rem;

  margin: .3rem 0 .4rem;
}

.t-item p {

  color: var(--text-soft);

  font-size: .94rem;
}


/* ==========================================================================
   COMMITTEE
   ========================================================================== */

.person {

  text-align: center;
}

.person .photo {

  width: 100%;

  aspect-ratio: 1/1;

  border-radius: 50%;

  overflow: hidden;

  margin-bottom: 1rem;

  border: 1px solid var(--line);
}

.person .photo img {

  width: 100%;

  height: 100%;

  object-fit: cover;
}

.person h3 {

  font-size: 1.05rem;
}

.person .role {

  font-family: var(--font-mono);

  font-size: .72rem;

  letter-spacing: .06em;

  text-transform: uppercase;

  color: var(--gold-dark);

  margin: .3rem 0 .5rem;
}

[data-theme="dark"] .person .role {

  color: var(--gold);
}

.person p {

  font-size: .88rem;

  color: var(--text-soft);
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {

  max-width: 760px;

  margin-inline: auto;
}

.faq-item {

  border-bottom: 1px solid var(--line);
}

.faq-q {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 1.3rem 0;

  text-align: left;

  font-family: var(--font-display);

  font-size: 1.05rem;

  font-weight: 600;

  color: var(--text);
}

.faq-q i {

  color: var(--gold-dark);

  transition: transform .35s var(--ease);

  flex-shrink: 0;

  margin-left: 1rem;
}

[data-theme="dark"] .faq-q i {

  color: var(--gold);
}

.faq-item.open .faq-q i {

  transform: rotate(135deg);
}

.faq-a {

  max-height: 0;

  overflow: hidden;

  transition: max-height .4s var(--ease);
}

.faq-a-inner {

  padding-bottom: 1.3rem;

  color: var(--text-soft);

  font-size: .95rem;

  max-width: 640px;
}


/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-filters {

  display: flex;

  gap: .7rem;

  flex-wrap: wrap;

  margin-bottom: 2rem;
}

.filter-btn {

  padding: .55rem 1.15rem;

  border: 1px solid var(--line);

  border-radius: 999px;

  font-size: .82rem;

  font-weight: 600;

  color: var(--text-soft);

  transition: all .3s var(--ease);
}

.filter-btn:hover {

  border-color: var(--gold);

  color: var(--gold-dark);
}

.filter-btn.active {

  background: var(--charcoal);

  color: var(--white);

  border-color: var(--charcoal);
}

[data-theme="dark"] .filter-btn.active {

  background: var(--gold);

  color: #221a08;

  border-color: var(--gold);
}

.masonry {

  columns: 4 220px;

  column-gap: 1rem;
}

.masonry .g-item {

  break-inside: avoid;

  margin-bottom: 1rem;

  position: relative;

  border-radius: var(--radius);

  overflow: hidden;

  cursor: pointer;
}

.masonry .g-item img {

  width: 100%;

  display: block;

  transition: transform .5s var(--ease);
}

.masonry .g-item:hover img {

  transform: scale(1.08);
}

.g-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(20,18,12,.82),
      transparent 60%
    );

  display: flex;

  align-items: flex-end;

  padding: .9rem;

  opacity: 0;

  transition: opacity .35s var(--ease);
}

.masonry .g-item:hover .g-overlay {

  opacity: 1;
}

.g-overlay span {

  color: var(--white);

  font-size: .82rem;

  font-weight: 600;
}

.g-overlay i {

  color: var(--gold-light);

  margin-left: auto;
}


/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {

  position: fixed;

  inset: 0;

  z-index: 2000;

  background: rgba(17,16,14,.94);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity .35s var(--ease),
    visibility .35s var(--ease);
}

.lightbox.open {

  opacity: 1;

  visibility: visible;
}

.lightbox img {

  max-width: 88vw;

  max-height: 80vh;

  border-radius: 4px;

  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-caption {

  color: #d8d5cc;

  text-align: center;

  margin-top: 1rem;

  font-family: var(--font-mono);

  font-size: .8rem;

  letter-spacing: .05em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {

  position: absolute;

  color: var(--white);

  width: 46px;

  height: 46px;

  border: 1px solid rgba(255,255,255,.25);

  border-radius: 50%;

  display: grid;

  place-items: center;

  transition: all .3s var(--ease);
}

.lightbox-close {

  top: 1.6rem;

  right: 1.6rem;
}

.lightbox-prev {

  left: 1.6rem;

  top: 50%;

  transform: translateY(-50%);
}

.lightbox-next {

  right: 1.6rem;

  top: 50%;

  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {

  border-color: var(--gold);

  color: var(--gold);
}


/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */

.quote-strip {

  background: var(--charcoal-deep);

  color: var(--off-white);

  padding: 3.4rem 0;

  text-align: center;

  position: relative;

  overflow: hidden;
}

.quote-strip::before {

  content: "“";

  position: absolute;

  top: -2rem;

  left: 50%;

  transform: translateX(-50%);

  font-family: var(--font-display);

  font-size: 14rem;

  color: rgba(212,168,67,.08);

  line-height: 1;
}

.quote-strip blockquote {

  font-family: var(--font-display);

  font-size: clamp(1.25rem,2.6vw,1.8rem);

  max-width: 760px;

  margin-inline: auto;

  position: relative;

  z-index: 1;

  font-style: italic;
}

.quote-strip cite {

  display: block;

  margin-top: 1.2rem;

  font-family: var(--font-mono);

  font-style: normal;

  font-size: .8rem;

  color: var(--gold-light);

  letter-spacing: .06em;
}


/* ==========================================================================
   CTA
   ========================================================================== */

.cta-band {

  background: var(--charcoal);

  color: var(--white);

  border-radius: var(--radius);

  padding: 3rem 2.5rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  flex-wrap: wrap;

  position: relative;

  overflow: hidden;
}

.cta-band::after {

  content: "";

  position: absolute;

  right: -40px;

  top: -40px;

  width: 180px;

  height: 180px;

  border: 1px solid rgba(212,168,67,.35);

  border-radius: 50%;
}

.cta-band h2 {

  font-size: clamp(1.5rem,2.8vw,2.1rem);

  max-width: 480px;

  position: relative;

  z-index: 1;
}

.cta-band .btn-primary {

  position: relative;

  z-index: 1;
}


/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-wrap {

  display: grid;

  grid-template-columns: 1.1fr 1fr;

  gap: 3rem;

  align-items: start;
}

.form-group {

  margin-bottom: 1.3rem;
}

.form-group label {

  display: block;

  font-size: .82rem;

  font-weight: 600;

  margin-bottom: .5rem;

  letter-spacing: .02em;
}

.form-group input,
.form-group textarea,
.form-group select {

  width: 100%;

  padding: .85rem 1rem;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: var(--surface);

  color: var(--text);

  transition: border-color .3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

  border-color: var(--gold);
}

.form-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1.3rem;
}

.form-note {

  font-size: .78rem;

  color: var(--text-soft);

  margin-top: .8rem;
}

#formStatus {

  margin-top: 1rem;

  font-size: .88rem;

  font-weight: 600;

  display: none;
}

#formStatus.show {

  display: block;
}

.info-card {

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 1.8rem;

  margin-bottom: 1.2rem;
}

.info-card h3 {

  font-size: 1rem;

  margin-bottom: .9rem;
}

.info-row {

  display: flex;

  gap: .9rem;

  align-items: flex-start;

  margin-bottom: .9rem;

  font-size: .9rem;

  color: var(--text-soft);
}

.info-row:last-child {

  margin-bottom: 0;
}

.info-row i {

  color: var(--gold-dark);

  margin-top: .2rem;

  width: 16px;
}

.map-frame {

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  aspect-ratio: 16/10;
}

.map-frame iframe {

  width: 100%;

  height: 100%;

  border: 0;

  filter: grayscale(.4);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {

  background: var(--charcoal-deep);

  color: #c9c6bc;

  padding-top: 3.6rem;
}

.footer-grid {

  display: grid;

  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;

  gap: 2.4rem;

  padding-bottom: 2.6rem;

  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {

  margin-top: 1rem;

  font-size: .88rem;

  line-height: 1.7;

  color: #a9a59c;

  max-width: 280px;
}

.footer-social {

  display: flex;

  gap: .7rem;

  margin-top: 1.3rem;
}

.footer-social a {

  width: 36px;

  height: 36px;

  border: 1px solid rgba(255,255,255,.15);

  border-radius: 50%;

  display: grid;

  place-items: center;

  transition: all .3s var(--ease);

  color: #c9c6bc;
}

.footer-social a:hover {

  border-color: var(--gold);

  color: var(--gold);

  transform: translateY(-3px);
}

footer h4 {

  font-family: var(--font-mono);

  font-size: .76rem;

  letter-spacing: .1em;

  text-transform: uppercase;

  color: var(--gold-light);

  margin-bottom: 1.2rem;
}

footer ul li {

  margin-bottom: .7rem;
}

footer ul a {

  font-size: .9rem;

  color: #c9c6bc;

  transition:
    color .25s,
    padding-left .25s;
}

footer ul a:hover {

  color: var(--gold);

  padding-left: 4px;
}

.footer-contact li {

  display: flex;

  gap: .65rem;

  font-size: .88rem;

  color: #a9a59c;

  margin-bottom: .9rem;

  align-items: flex-start;
}

.footer-contact i {

  color: var(--gold);

  margin-top: .2rem;

  width: 14px;
}

.footer-bottom {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1.6rem 0;

  font-size: .8rem;

  color: #8f8b81;

  flex-wrap: wrap;

  gap: .6rem;
}

.footer-bottom a {

  color: #8f8b81;
}

.footer-bottom a:hover {

  color: var(--gold);
}


/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

#backToTop {

  position: fixed;

  bottom: 1.8rem;

  right: 1.8rem;

  z-index: 900;

  width: 46px;

  height: 46px;

  border-radius: 50%;

  background: var(--charcoal);

  color: var(--white);

  display: grid;

  place-items: center;

  box-shadow: 0 8px 24px rgba(0,0,0,.25);

  opacity: 0;

  visibility: hidden;

  transform: translateY(12px);

  transition: all .35s var(--ease);
}

#backToTop.show {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

#backToTop:hover {

  background: var(--gold);

  color: #221a08;
}


/* ==========================================================================
   FADE
   ========================================================================== */

.fade-up {

  opacity: 1;

  transform: none;

  visibility: visible;
}

.fade-up.visible {

  opacity: 1;

  transform: none;

  visibility: visible;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

.mt-lg {
  margin-top: 2.5rem;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {

  .grid-4 {

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

  .grid-3 {

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

  .split {

    grid-template-columns: 1fr;

    gap: 2rem;
  }

  .contact-wrap {

    grid-template-columns: 1fr;
  }

  .footer-grid {

    grid-template-columns: 1fr 1fr;
  }

  .masonry {

    columns: 3 200px;
  }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

  .grid-4,
  .grid-3,
  .grid-2 {

    grid-template-columns: 1fr;
  }

  .stats-strip {

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

  .stat {

    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2),
  .stat:nth-child(4) {

    border-right: none;
  }

  .footer-grid {

    grid-template-columns: 1fr;

    gap: 2rem;
  }

  .form-row {

    grid-template-columns: 1fr;
  }

  .masonry {

    columns: 2 160px;
  }

  .cta-band {

    flex-direction: column;

    text-align: center;
  }

  section {

    padding-block: 2.4rem;
  }

  .image-content h2 {

    font-size: 30px;
  }
}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

  .masonry {

    columns: 1;
  }

  .nav-links {

    padding-inline: 1.2rem;
  }

  .brand-logo {

    height: 58px;

    max-width: 160px;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {

    animation-duration: .001ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .001ms !important;

    scroll-behavior: auto !important;
  }
}
/* =========================================
   RESPONSIVE GALLERY GRID
========================================= */

.gallery-section {
  width: 100%;
  padding: 70px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Gallery Item */
.gallery-grid .g-item {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  cursor: pointer;
}

/* Image */
.gallery-grid .g-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Zoom */
.gallery-grid .g-item:hover img {
  transform: scale(1.08);
}

/* Overlay */
.gallery-grid .g-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  padding: 22px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.15),
    transparent
  );

  color: #fff;

  opacity: 0;
  visibility: hidden;

  transition: all 0.35s ease;
}

/* Show Overlay */
.gallery-grid .g-item:hover .g-overlay {
  opacity: 1;
  visibility: visible;
}

/* Overlay Text */
.gallery-grid .g-overlay span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Expand Icon */
.gallery-grid .g-overlay i {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);

  backdrop-filter: blur(8px);

  transition: all 0.3s ease;
}

.gallery-grid .g-item:hover .g-overlay i {
  transform: rotate(90deg);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .gallery-grid .g-item {
    height: 300px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .gallery-section {
    padding: 50px 0;
  }

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

  .gallery-grid .g-item {
    height: 280px;
    border-radius: 12px;
  }

  /* Always show overlay slightly on mobile */
  .gallery-grid .g-overlay {
    opacity: 1;
    visibility: visible;
    padding: 18px;
  }

  .gallery-grid .g-overlay span {
    font-size: 14px;
  }

}
/* =========================================
   CONTACT PAGE RESPONSIVE FIX
========================================= */

.contact-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: start;
}

/* Prevent grid children from overflowing */
.contact-wrap > div {
  min-width: 0;
}

/* Form */
#contactForm {
  width: 100%;
  max-width: 100%;
}

.form-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-group {
  width: 100%;
  min-width: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Information Cards */
.info-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.info-row i {
  flex: 0 0 20px;
  margin-top: 4px;
}

.info-row span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.7;
}

/* Long email/address protection */
.info-row span,
.footer-contact li {
  overflow-wrap: anywhere;
  word-break: break-word;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .contact-wrap {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .form-group input,
  .form-group textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .info-card {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .info-row {
    gap: 12px;
    align-items: flex-start;
  }

  .info-row span {
    font-size: 14px;
    line-height: 1.65;
  }

  .footer-contact li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

}