/* ==========================================================================
   SRACA NSW - Master Modern Design System
   Sterilizing Research and Advisory Council of Australia (NSW) Inc.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Color Palette */
  --red-primary: #C8102E;
  --red-hover: #A80D26;
  --red-dark: #7A0C1C;
  --red-light: #FFF0F2;
  --red-glow: rgba(200, 16, 46, 0.22);

  /* Modern Dark Palette */
  --dark-bg: #0B0F15;
  --dark-surface: #121822;
  --dark-card: #1A2330;
  --dark-text: #0F172A;

  /* Neutrals & Surfaces */
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border-light: rgba(226, 232, 240, 0.8);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-red: 0 12px 30px -6px rgba(200, 16, 46, 0.3);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.03);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 28px;
}

/* Modern Layout Sections */
section {
  padding: 80px 0;
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .badge-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(200, 16, 46, 0.08);
  color: var(--red-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.45);
}

.btn-secondary {
  background: var(--dark-bg);
  color: #FFFFFF !important;
}

.btn-secondary:hover {
  background: var(--dark-card);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--dark-text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--dark-text);
  background: var(--dark-text);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--dark-bg) !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Site Header & Navigation */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

header.site.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

nav.primary {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav.primary a {
  text-decoration: none;
  font-size: 0.96rem;
  color: var(--text-primary);
  font-weight: 600;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

nav.primary a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--red-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

nav.primary a.active,
nav.primary a:hover {
  color: var(--red-primary);
}

nav.primary a.active::after,
nav.primary a:hover::after {
  width: 100%;
}

.nav-drop {
  position: relative;
}

.drop-menu {
  display: opacity;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 10px 0;
  transition: all var(--transition-fast);
}

.nav-drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.drop-menu a::after {
  display: none;
}

.drop-menu a:hover {
  background: var(--red-light);
  color: var(--red-primary);
}

.join-btn {
  background: var(--red-primary);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
  transition: all var(--transition-fast);
}

.join-btn:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-text);
  cursor: pointer;
  padding: 8px;
}

/* Dynamic Banner Header Overhaul */
.hero-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 90px 0;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 21, 0.88) 0%, rgba(20, 26, 35, 0.82) 40%, rgba(200, 16, 46, 0.75) 100%);
  z-index: 1;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.25) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-banner .wrap {
  position: relative;
  z-index: 2;
}

.hero-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFD1D7;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: #FFFFFF;
  margin: 0 0 20px;
  line-height: 1.1;
  max-width: 22ch;
  letter-spacing: -0.02em;
}

.hero-banner p {
  max-width: 58ch;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  line-height: 1.6;
}

/* Feature Overlay Tiles on Homepage */
.tile-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -64px;
  position: relative;
  z-index: 10;
}

.tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 24px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 21, 0.1) 0%, rgba(200, 16, 46, 0.85) 100%);
  transition: opacity var(--transition-fast);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-red);
  border-color: rgba(200, 16, 46, 0.4);
}

.tile span.icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.tile:hover span.icon {
  transform: scale(1.15) rotate(5deg);
}

.tile span.title {
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

/* SUBTLE & ELEGANT MEMBERSHIP PAGE STYLING */
.subtle-hero {
  background-image: url('../images/membership_banner.png');
}

.membership-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.subtle-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.subtle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red-primary);
  opacity: 0.6;
  transition: opacity var(--transition-fast), width var(--transition-fast);
}

.subtle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, 0.2);
}

.subtle-card:hover::before {
  opacity: 1;
  width: 6px;
}

.subtle-card .card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: var(--red-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.subtle-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.subtle-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.subtle-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subtle-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.subtle-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--red-primary);
  font-weight: 800;
}

/* Subtle Pricing Cards Grid */
.subtle-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.price-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.price-card.featured {
  border-color: rgba(200, 16, 46, 0.4);
  box-shadow: 0 12px 36px -6px rgba(200, 16, 46, 0.12);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9FA 100%);
}

.price-card.featured .popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-header h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--red-primary);
  line-height: 1;
  margin: 16px 0;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Subtle Banner CTA Box */
.subtle-cta-banner {
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-card) 100%);
  border-radius: var(--radius-md);
  padding: 48px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.subtle-cta-banner::before {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.subtle-cta-banner h3 {
  color: #FFFFFF;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.subtle-cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin: 0;
}

/* Event Cards Grid */
.event-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.25);
}

.event-card .banner-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.event-card .banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.6) 100%);
}

.event-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card h4 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.event-card .meta {
  font-size: 0.86rem;
  color: var(--red-primary);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-card .desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.55;
  flex-grow: 1;
}

/* Split Section (About) */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-split .copy {
  padding: 60px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split .copy .tag {
  color: #FFB3BD;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-split .copy h3 {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.about-split .copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.about-split .art {
  background-size: cover;
  background-position: center;
  min-height: 320px;
  position: relative;
}

.about-split .art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark-surface) 0%, transparent 60%);
}

/* Committee Members Grid */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

.member-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.2);
}

.member-card .avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--red-primary);
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.2);
  display: block;
}

.life-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.life-member-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark-text);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.life-member-chip:hover {
  border-color: var(--red-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.life-member-chip .medal {
  color: var(--red-primary);
  font-size: 1.1rem;
}

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

.partner-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.partner-card:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.member-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.member-card .role {
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Resource Layout & Side Subnav */
.resource-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.subnav-sticky {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.subnav-sticky a {
  display: block;
  padding: 16px 20px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.subnav-sticky a:last-child {
  border-bottom: none;
}

.subnav-sticky a:hover,
.subnav-sticky a.active {
  background: var(--red-light);
  color: var(--red-primary);
  padding-left: 26px;
}

.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  transition: all var(--transition-fast);
}

.download-box:hover {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-icon {
  width: 42px;
  height: 42px;
  background: var(--red-light);
  color: var(--red-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Event Rows List */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.event-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.2);
}

.event-date-badge {
  text-align: center;
  background: var(--red-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--red-primary);
  border: 1px solid rgba(200, 16, 46, 0.15);
}

.event-date-badge .day {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-date-badge .mon {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Footer Styling */
footer.site-footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 32px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

footer h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

footer a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .tile-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }
  .subtle-pricing-grid,
  .event-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header */
  header.site { position: sticky; top: 0; z-index: 100; }

  .nav-row {
    height: 70px;
  }
  nav.primary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  /* Full-width mobile menu drawer */
  .mobile-nav-active nav.primary {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    z-index: 99;
    gap: 0;
  }

  /* Mobile nav links - larger touch targets */
  .mobile-nav-active nav.primary > a,
  .mobile-nav-active .nav-drop > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem;
    width: 100%;
    display: block;
  }

  /* Mobile dropdown - show inline below parent */
  .mobile-nav-active .nav-drop {
    width: 100%;
  }

  .mobile-nav-active .drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--bg-alt);
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    min-width: 100%;
    border-radius: 0;
  }

  .mobile-nav-active .drop-menu a {
    padding: 12px 12px;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  /* Hide join-btn on very small screens */
  .join-btn { display: none; }

  /* Hero / banner */
  .hero-banner {
    min-height: 300px;
    padding: 60px 0;
  }
  .hero-banner h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    max-width: 100%;
  }
  .hero-banner p {
    font-size: 1rem;
  }

  /* Tile row */
  .tile-row {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  /* Section text */
  .section-head h2 {
    font-size: 1.7rem;
  }
  .section-head p {
    font-size: 1rem;
  }

  /* About split */
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-split .art { min-height: 220px; }

  /* Grids - single column */
  .membership-perks-grid,
  .subtle-pricing-grid,
  .event-card-grid,
  .committee-grid,
  .life-members-grid,
  .partners-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  /* Resource layout */
  .resource-layout {
    grid-template-columns: 1fr;
  }
  .subnav-sticky { position: static; }

  /* Event rows */
  .event-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .event-date-badge {
    width: 100px;
    margin: 0 auto;
  }

  /* CTA banner */
  .subtle-cta-banner {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .foot-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Contact page grid */
  div[style*="grid-template-columns: 1fr 1.3fr"] {
    grid-template-columns: 1fr !important;
  }
}
