/* ============================================================
   CLUB VALLELONGA-MONSERRATO — DESIGN SYSTEM
   ============================================================ */

/* Google Fonts loaded via HTML <link> */

/* ------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Brand Colors */
  --navy:        #1B3A6B;
  --navy-dark:   #122852;
  --navy-light:  #2A5298;
  --gold:        #C4982A;
  --gold-light:  #D9AE48;
  --gold-pale:   #F5EDD6;

  /* Italian flag accents (used as thin decorative stripes only) */
  --flag-green:  #009246;
  --flag-red:    #CE2B37;

  /* Neutrals */
  --cream:       #FAF7F2;
  --cream-dark:  #F0EAE0;
  --white:       #FFFFFF;
  --border:      #DDD5C8;
  --border-dark: #BFB5A5;

  /* Text */
  --text:        #1A1A1A;
  --text-mid:    #444444;
  --text-muted:  #767676;
  --text-light:  #999999;

  /* Status */
  --green:       #2D6A4F;
  --green-bg:    #EAF5EF;
  --red:         #9B1C1C;
  --red-bg:      #FEF2F2;
  --amber:       #92400E;
  --amber-bg:    #FEF3C7;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w:      1200px;
  --max-w-text:  720px;
  --nav-h:        70px;
  --radius:        8px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.15);

  /* Transitions */
  --ease:     0.2s ease;
  --ease-med: 0.3s ease;
}

/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Italian flag top stripe */
body::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right,
    var(--flag-green) 0%,
    var(--flag-green) 33.3%,
    var(--white) 33.3%,
    var(--white) 66.6%,
    var(--flag-red) 66.6%,
    var(--flag-red) 100%
  );
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

/* ------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { color: var(--text-mid); max-width: 70ch; }
p + p { margin-top: var(--sp-4); }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--sp-2);
}

/* ------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--sp-4); }
}

.section {
  padding: var(--sp-20) 0;
}

.section--sm {
  padding: var(--sp-12) 0;
}

.section--lg {
  padding: var(--sp-24) 0;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
}

.section-header {
  margin-bottom: var(--sp-12);
}

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

.section-header--center p {
  margin: var(--sp-4) auto 0;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: var(--sp-4) 0;
  border-radius: 2px;
}

.divider--center { margin-left: auto; margin-right: auto; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 4px; /* below flag stripe */
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  height: 46px;
  width: auto;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__logo-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.nav__logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.nav__link:hover, .nav__link.active {
  color: var(--navy);
  background: var(--cream);
}

.nav__cta {
  margin-left: var(--sp-3);
  background: var(--navy);
  color: var(--white) !important;
  padding: var(--sp-2) var(--sp-5) !important;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--ease), transform var(--ease);
}

.nav__cta:hover {
  background: var(--navy-dark) !important;
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--ease-med);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: calc(4px + var(--nav-h));
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: var(--sp-4) var(--sp-6);
  z-index: 99;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: var(--sp-1);
}

.nav__mobile.open { display: flex; }

.nav__mobile .nav__link {
  font-size: 1rem;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
}

.nav__mobile .nav__cta {
  margin: var(--sp-3) 0 var(--sp-2);
  text-align: center;
  display: block;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* Page offset for fixed nav */
.page-offset {
  padding-top: calc(4px + var(--nav-h));
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: var(--sp-3) var(--sp-6);
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #a87e22;
  border-color: #a87e22;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: var(--sp-2) var(--sp-4);
}

.btn--lg {
  font-size: 1rem;
  padding: var(--sp-4) var(--sp-8);
}

/* ------------------------------------------------------------
   BADGES / TAGS
   ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge--signature {
  background: var(--gold-pale);
  color: #7A5C0F;
}

.badge--social {
  background: var(--green-bg);
  color: var(--green);
}

.badge--community {
  background: #EEF2FF;
  color: #3730A3;
}

.badge--past {
  background: var(--cream-dark);
  color: var(--text-muted);
}

.badge--upcoming {
  background: var(--green-bg);
  color: var(--green);
}

/* ------------------------------------------------------------
   HERO (Homepage)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/about-gathering.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.32;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 40, 82, 0.85) 0%,
    rgba(27, 58, 107, 0.6) 60%,
    rgba(27, 58, 107, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-6) var(--sp-16);
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-5);
}

.hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  max-width: 13ch;
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  z-index: 2;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}

.page-hero.page-offset {
  padding-top: calc(4px + var(--nav-h) + var(--sp-8));
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent 60%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 55ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-4);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ------------------------------------------------------------
   EVENT CARDS
   ------------------------------------------------------------ */

/* Signature / featured event card */
.event-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 380px;
  transition: transform var(--ease-med), box-shadow var(--ease-med);
}
.event-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.event-featured__poster {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 320px;
}

.event-featured__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-featured__poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--sp-8);
}

.event-featured__poster-placeholder .placeholder-logo {
  opacity: 0.4;
  max-width: 140px;
}

.event-featured__body {
  padding: var(--sp-10) var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-featured__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}

.event-meta-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.event-meta-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.event-featured__actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .event-featured {
    grid-template-columns: 1fr;
  }
  .event-featured__poster { min-height: 220px; }
  .event-featured__body { padding: var(--sp-6); }
}

/* Standard event card (grid) */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--ease-med), box-shadow var(--ease-med);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.event-card__poster {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.event-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-card__poster img {
  transform: scale(1.04);
}

.event-card__poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  min-height: 200px;
}

.event-card__poster-placeholder img {
  max-width: 80px;
  opacity: 0.35;
}

.event-card__body {
  padding: var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card__date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.event-card__location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.event-card__desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-4);
}

.event-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

/* List-style event row (past events) */
.event-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--ease);
  text-decoration: none;
}

.event-list-item:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.event-list-item__date {
  flex-shrink: 0;
  text-align: center;
  width: 56px;
}

.event-list-item__date-day {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.event-list-item__date-mon {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.event-list-item__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.event-list-item__body { flex: 1; }

.event-list-item__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.event-list-item__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.event-list-item__arrow {
  color: var(--navy);
  font-size: 1.1rem;
  opacity: 0.4;
  transition: opacity var(--ease), transform var(--ease);
}

.event-list-item:hover .event-list-item__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   GALLERY
   ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.album-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--ease-med), box-shadow var(--ease-med);
  text-decoration: none;
  display: block;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.album-card__cover {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.album-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card:hover .album-card__cover img {
  transform: scale(1.05);
}

.album-card__count {
  position: absolute;
  bottom: var(--sp-3);
  right: var(--sp-3);
  background: rgba(0,0,0,0.65);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.album-card__body {
  padding: var(--sp-4) var(--sp-5);
}

.album-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.album-card__date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Photo grid (inside album) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

.photo-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  background: var(--cream-dark);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.photo-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(0.9);
}

.photo-thumb::after {
  content: '⤢';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-thumb:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--ease);
  background: none;
  border: none;
  line-height: 1;
  padding: var(--sp-2);
}
.lightbox__close:hover { opacity: 1; }

.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--ease);
  background: rgba(255,255,255,0.08);
  border: none;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  line-height: 1;
}

.lightbox__prev { left: var(--sp-4); }
.lightbox__next { right: var(--sp-4); }
.lightbox__prev:hover, .lightbox__next:hover { opacity: 1; background: rgba(255,255,255,0.15); }

.lightbox__counter {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* ------------------------------------------------------------
   CARDS (general purpose)
   ------------------------------------------------------------ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card--padded { padding: var(--sp-8); }
.card--hover { transition: transform var(--ease-med), box-shadow var(--ease-med); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Donation cards */
.donation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease-med), box-shadow var(--ease-med);
}
.donation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.donation-card__header {
  background: var(--navy);
  padding: var(--sp-6) var(--sp-6);
  text-align: center;
}

.donation-card__header h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--sp-1);
}

.donation-card__header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin: 0;
  max-width: none;
}

.donation-card__body {
  padding: var(--sp-6);
}

.donation-card__step {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.donation-card__step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-card__step-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.donation-card__step-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

/* Info boxes */
.info-box {
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  border-left: 4px solid;
}

.info-box--gold {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.info-box--navy {
  background: #EEF2FF;
  border-color: var(--navy);
}

.info-box p { margin: 0; font-size: 0.9rem; }

/* ------------------------------------------------------------
   FORMS
   ------------------------------------------------------------ */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.form-label span {
  color: var(--gold);
  margin-left: 2px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.12);
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Ad rate table */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.rate-table th {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
}

.rate-table td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.rate-table tr:last-child td { border-bottom: none; }

.rate-table tr:nth-child(even) td { background: var(--cream); }

.rate-table .rate-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

/* ------------------------------------------------------------
   QUICK LINKS / TILES
   ------------------------------------------------------------ */
.quick-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 900px) { .quick-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .quick-tiles { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); } }

.quick-tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  transition: all var(--ease-med);
  box-shadow: var(--shadow-sm);
}

.quick-tile:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.quick-tile__icon {
  font-size: 2rem;
  line-height: 1;
}

.quick-tile__label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.quick-tile__sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ------------------------------------------------------------
   STATS BAR
   ------------------------------------------------------------ */
.stats-bar {
  background: var(--navy);
  padding: var(--sp-8) 0;
}

.stats-bar__inner {
  display: flex;
  justify-content: space-around;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ------------------------------------------------------------
   FILTER TABS
   ------------------------------------------------------------ */
.filter-tabs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.filter-tab {
  font-size: 0.875rem;
  font-weight: 600;
  padding: var(--sp-2) var(--sp-5);
  border-radius: 100px;
  border: 2px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--ease);
  background: var(--white);
}

.filter-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ------------------------------------------------------------
   COMMITTEE / PEOPLE
   ------------------------------------------------------------ */
.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.person-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cream-dark);
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.person-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.person-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Past presidents table */
.presidents-list {
  display: grid;
  gap: var(--sp-3);
}

.president-row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.president-row__years {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 110px;
  flex-shrink: 0;
}

.president-row__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand { }

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer__logo img { height: 50px; width: auto; filter: brightness(1.2); }

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.3;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 30ch;
  margin-bottom: var(--sp-5);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--ease);
}
.footer__social a:hover { background: var(--gold); }

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
  text-decoration: none;
}
.footer__link:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-3);
}
.footer__contact-item strong { color: var(--white); }

.footer__bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-5);
}
.footer__bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--ease);
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ------------------------------------------------------------
   SINGLE EVENT PAGE
   ------------------------------------------------------------ */
.event-single__poster-wrap {
  background: var(--navy);
  display: flex;
  justify-content: center;
  padding: var(--sp-8) 0;
}

.event-single__poster-img {
  max-height: 600px;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.event-single__poster-placeholder {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-single__poster-placeholder img {
  max-height: 180px;
  opacity: 0.3;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-10);
  align-items: start;
}

@media (max-width: 860px) {
  .event-detail-grid { grid-template-columns: 1fr; }
}

.event-sidebar {
  position: sticky;
  top: calc(4px + var(--nav-h) + var(--sp-6));
}

.event-sidebar__box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
}

.event-sidebar__box h4 {
  font-size: 1rem;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.ticket-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.ticket-price:last-of-type { border-bottom: none; }

.ticket-price__label { color: var(--text-mid); }

.ticket-price__amount {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.recap-section {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin-top: var(--sp-8);
  border-left: 4px solid var(--gold);
}

.recap-section h3 { margin-bottom: var(--sp-4); }

/* ------------------------------------------------------------
   MEMBERSHIP PAGE
   ------------------------------------------------------------ */
.membership-highlight {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.membership-highlight::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.membership-highlight__price {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.membership-highlight__period {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-6);
}

.membership-highlight h2 { color: white; margin-bottom: var(--sp-3); }
.membership-highlight p { color: rgba(255,255,255,0.75); max-width: 45ch; margin: 0 auto; }

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-mid);
}

.benefits-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ------------------------------------------------------------
   LOADING / STATES
   ------------------------------------------------------------ */
.loading {
  text-align: center;
  padding: var(--sp-16);
  color: var(--text-muted);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--sp-4);
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  color: var(--text-muted);
}

.empty-state__icon { font-size: 3rem; margin-bottom: var(--sp-4); opacity: 0.5; }

/* ------------------------------------------------------------
   UTILITIES
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.w-full { width: 100%; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Year group headings in events/gallery */
.year-group { margin-bottom: var(--sp-12); }

.year-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.year-heading::after {
  content: '';
  display: block;
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* Notice banner */
.notice {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  color: #6B4C0E;
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  transition: color var(--ease);
  text-decoration: none;
}
.back-link:hover { color: var(--navy); }
