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

:root {
  --color-bg: #1a1a1a;
  --color-bg-alt: #111111;
  --color-bg-card: rgba(20, 20, 20, 0.85);
  --color-text: #d4d4d4;
  --color-text-muted: #8a8a8a;
  --color-white: #ffffff;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-solid: #333;
  --font-heading: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Libre Franklin', 'Inter', sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

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

body {
  font-family: var(--font-body);
  background-color: #0d0d0d;
  background-image: url('images/texture-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
}

.nav_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav_brand {
  display: flex;
  align-items: center;
}

.nav_brand img {
  height: 40px;
  width: auto;
  filter: invert(1);
}

.nav_links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav_links li {
  list-style: none;
}

.nav_link {
  display: block;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.nav_link:hover,
.nav_link.is-current {
  color: var(--color-white);
}

/* Dropdown */
.nav_dropdown {
  position: relative;
}

.nav_dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.nav_dropdown-trigger:hover { color: var(--color-white); }

.nav_dropdown-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s;
}

.nav_dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0;
  background: #1a1a1a;
  border: 1px solid var(--color-border-solid);
  min-width: 180px;
  z-index: 100;
}

.nav_dropdown:hover .nav_dropdown-menu {
  display: block;
}

/* Bridge element to prevent hover gap */
.nav_dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  display: none;
}

.nav_dropdown:hover::after {
  display: block;
}

.nav_dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav_dropdown-menu a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

/* Hamburger */
.nav_toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
}

body.menu-open .menu-overlay { display: block; }

/* ===== EVENT BANNER ===== */
.event-banner {
  position: relative;
  background: #1a1a1a;
  border-bottom: 1px solid var(--color-border-solid);
  overflow: hidden;
}

.event-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.event-banner-date {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1;
  text-transform: uppercase;
  min-width: 80px;
}

.event-banner-date span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.event-banner-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.event-banner-content a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  padding-bottom: 2px;
  transition: color 0.3s;
}

.event-banner-content a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* ===== HERO (stacked: video → event banner → words, all same width) ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: var(--nav-height);
  background: var(--color-bg-alt, #0d0d0d);
}

/* Responsive 16:9 video — full section width, scales at every breakpoint,
   natural aspect ratio so the frame is never cropped (top, bottom or sides) */
.hero_video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  pointer-events: none;   /* non-interactive: no YouTube play button/controls on hover */
  background: #000 url('images/hero.jpg') center / cover no-repeat;
}

.hero_video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;                       /* hidden until actually playing */
  transition: opacity 2.4s ease;    /* starts at 3.3s → fully in by ~5.7s */
}

.hero_video.is-playing iframe {
  opacity: 1;
}

.hero_content h1,
.hero_label,
.hero_subtitle {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Navbar "Get Connected" CTA */
.nav_cta {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav_cta:hover {
  background: var(--color-white);
  color: #111;
}

/* Mobile menu: Get Connected as a clean, centered, proportionate button */
@media (max-width: 768px) {
  body.menu-open .nav_links .nav_cta {
    display: block !important;
    width: fit-content !important;
    max-width: 78%;
    margin: 1.5rem auto 0 !important;
    padding: 0.75rem 1.75rem !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 4px;
  }
  body.menu-open .nav_links li:last-child {
    border-bottom: none;
  }
}

.hero_content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  text-align: center;
}

.hero_label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero_subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero_subtitle strong {
  color: var(--color-text);
  font-weight: 400;
}

.hero_actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-white);
  color: #0d0d0d;
}

.btn-primary:hover {
  background: var(--color-text);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--color-white);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial_photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem;
}

.testimonial_text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial_author {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  transition: background 0.3s;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--color-white);
}

.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
}

.slider-arrow:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 0.9375rem;
}

.contact-detail {
  margin-bottom: 1.25rem;
}

.contact-detail .label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-detail a {
  color: var(--color-white);
  font-size: 0.9375rem;
  transition: opacity 0.3s;
}

.contact-detail a:hover {
  opacity: 0.7;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-solid);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-white);
}

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

.btn-submit {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-white);
  color: #0d0d0d;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: var(--color-text);
}

.success-message {
  color: var(--color-white);
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* ===== PILLARS (Cathedral-style vertical list) ===== */
.pillars {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.pillars-list {
  max-width: 800px;
  margin: 0 auto;
}

.pillar-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.pillar-item:first-child {
  border-top: 1px solid var(--color-border);
}

.pillar-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  min-width: 120px;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ===== PAST EVENTS (Cathedral-style rows) ===== */
.past-events {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.events-list {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left 0.3s;
}

.event-item:first-child {
  border-top: 1px solid var(--color-border);
}

.event-item:hover {
  padding-left: 0.5rem;
}

.event-date {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  min-width: 130px;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-white);
  flex: 1;
}

.event-arrow {
  color: var(--color-text-muted);
  transition: color 0.3s, transform 0.3s;
}

.event-item:hover .event-arrow {
  color: var(--color-white);
  transform: translateX(3px);
}

/* ===== UPCOMING EVENTS ===== */
.upcoming-events {
  padding: 5rem 0;
}

.upcoming-event-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-solid);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.upcoming-event-date {
  text-align: center;
  min-width: 100px;
}

.upcoming-event-date .month {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.upcoming-event-date .day {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-white);
  line-height: 1;
  margin-top: 0.15rem;
}

.upcoming-event-info h3 {
  margin-bottom: 0.75rem;
}

.upcoming-event-info .location,
.upcoming-event-info .date-full {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== ABOUT / PAGE HEADER ===== */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

/* About Content */
.about-content {
  padding: 3rem 0 5rem;
}

.about-block {
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.about-block:last-child {
  margin-bottom: 0;
}

/* Full-width image break (Cathedral style) */
.about-image-break {
  width: 100%;
  margin: 3rem 0;
  overflow: hidden;
}

.about-image-break img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 3rem 0;
}

.about-image-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .about-image-break img {
    height: 250px;
  }
  .about-image-grid {
    grid-template-columns: 1fr;
  }
  .about-image-grid img {
    height: 220px;
  }
}

.about-block h2 {
  margin-bottom: 1.25rem;
}

.about-block p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.about-block ul {
  margin: 0.75rem 0 1rem;
}

.about-block li {
  color: var(--color-text-muted);
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.about-block li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-white);
}

/* ===== TEAM ===== */
.team-section {
  padding: 2rem 0 5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  margin-bottom: 1rem;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.team-photo:hover {
  filter: grayscale(0%);
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--color-white);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.faq-section h2 {
  margin-bottom: 3rem;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--color-text);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

.faq-answer p,
.faq-answer li {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.875rem;
}

.faq-answer ul {
  margin: 0.5rem 0;
}

.faq-answer li {
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}

.faq-answer li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-white);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

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

.footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 0.65rem 0.875rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-solid);
  border-right: none;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-family: var(--font-body);
}

.newsletter-form input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-white);
}

.newsletter-form button {
  padding: 0.65rem 1.25rem;
  background: var(--color-white);
  color: #0d0d0d;
  border: 1px solid var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--color-text);
  border-color: var(--color-text);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-solid);
  color: var(--color-text-muted);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===== REVEAL ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESIDENCIES (EMPTY STATE) ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav_links { display: none !important; }
  .nav_toggle {
    display: flex;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  body.menu-open .nav_links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background-color: #1a1a1a;
    background-image: url('images/texture-bg.jpg');
    background-size: cover;
    padding: 5rem 2rem 2rem;
    z-index: 999;
    box-shadow: -4px 0 30px rgba(0,0,0,0.5);
    gap: 0;
    overflow-y: auto;
  }

  body.menu-open .nav_links li {
    list-style: none;
    border-bottom: 1px solid var(--color-border);
  }

  body.menu-open .nav_links li:last-child {
    border-bottom: none;
  }

  body.menu-open .nav_links .nav_link,
  body.menu-open .nav_links .nav_dropdown-trigger {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    padding: 1rem 0;
    width: 100%;
    text-align: left;
  }

  body.menu-open .nav_dropdown-menu {
    display: block;
    position: static;
    background: transparent;
    border: none;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
    min-width: auto;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .upcoming-event-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
  }

  .hero_actions {
    flex-direction: column;
    align-items: center;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .pillar-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .event-banner-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .container { padding: 0 1.25rem; }
  .nav_container { padding: 0 1rem; }
}
