/* =============================================================
   GOOD VIBRATIONS RUN & COFFEE CLUB
   style.css — single shared stylesheet
   ============================================================= */

/* 0. SELF-HOSTED FONTS */
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 1. CSS CUSTOM PROPERTIES */
:root {
  --bg:           #0a0a0a;
  --surface:      #111111;
  --surface-2:    #1a1a1a;
  --purple:       #7C3AED;
  --purple-light: #7c3aed;
  --purple-dark:  #4C1D95;
  --white:        #FFFFFF;
  --off-white:    #F1F5F9;
  --muted:        #94A3B8;
  --border:       rgba(124, 58, 237, 0.2);
}

/* 2. CSS RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
[hidden] { display: none !important; }

/* 3. BASE TYPOGRAPHY & BODY */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

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

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

/* 4. NOISE TEXTURE */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* 5. LAYOUT UTILITIES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--purple);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 10001;
  border-radius: 0 0 4px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-pad {
  padding: 5rem 0;
}

/* 6. NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a:focus {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.nav-mobile a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--white);
  background: var(--surface);
}

.nav-open .nav-mobile {
  max-height: 300px;
}

/* 7. HERO SECTIONS */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 3rem;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-logo {
  height: 200px;
  width: auto;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(0.875rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--off-white);
}

.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: var(--muted);
  letter-spacing: 0.08em;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Hero button overrides — scoped to hero only */
.hero .btn-primary {
  background: #7c3aed;
  color: #ffffff;
  border: none;
}

.hero .btn-primary:hover {
  background: #9333ea;
}

.hero .btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Short hero (gallery, testimonials, community) */
.hero-short {
  min-height: 50vh;
  padding: 8rem 1.5rem 4rem;
}

.hero-short .hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
}

/* 8. STAT BAR */
.stat-bar {
  background: #7c3aed;
  padding: 1rem 0;
  border-top: 1px solid rgba(168, 85, 247, 0.3);
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.stat-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  padding: 0.5rem 2rem;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* 9. SECTION LAYOUTS */

/* When & Where */
.when-where {
  background: #f9f6ff;
}

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

.when-where-text h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
  color: #1a1a2e;
}

.when-where-text p {
  font-size: 1.05rem;
  max-width: 40ch;
  color: #5a5a7a;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Full-width Welcome Banner */
.banner-welcome {
  background: #fff8f0;
  padding: 44px 32px;
  text-align: center;
}

.banner-welcome-emoji {
  font-size: 32px;
  margin-bottom: 6px;
  line-height: 1;
}

.banner-welcome-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #1a1a2e;
  letter-spacing: 0.02em;
}

.banner-welcome-accent {
  color: #7c3aed;
}

.banner-welcome-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #5a5a7a;
  margin-top: 10px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Group Photo */
.group-photo-section {
  position: relative;
}

.group-photo-wrap {
  max-height: 650px;
  overflow: hidden;
}

.group-photo-wrap img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center 30%;
}

.group-photo-caption {
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #8888aa;
  background: #f9f6ff;
  border-bottom: 1px solid #ede8f8;
}

/* About the Club — secondary section (white bg) */
.about-section {
  background: #ffffff;
  border-top: 1px solid #ede8f8;
  border-bottom: 1px solid #ede8f8;
}

.about-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.about-tag {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 10px;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #1a1a2e;
  line-height: 1.05;
  margin-bottom: 12px;
}

.about-header-right {
  padding-top: 0;
}

.about-header-right p {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a5a7a;
  margin-bottom: 0.75rem;
  max-width: none;
}

.about-header-right p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.about-stat-item {
  background: #f9f6ff;
  border: 1px solid #ede8f8;
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
}

.about-stat-item .stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #7c3aed;
  display: block;
  line-height: 1;
}

.about-stat-item .stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #8888aa;
  margin-top: 0.25rem;
  display: block;
}

/* Join CTA section — primary section (#f9f6ff bg) */
.join-section {
  background: #f9f6ff;
  border-top: 1px solid #ede8f8;
}

.join-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.join-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 10px;
}

.join-inner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: #1a1a2e;
}

.contact-block {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-radius: 14px;
  padding: 1.5rem;
  margin: 0 auto 2rem;
  max-width: 380px;
  text-align: center;
}

.contact-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.contact-block p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

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

.contact-block a {
  color: #7c3aed;
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.3);
  transition: color 0.2s ease;
}

.contact-block a:hover {
  color: #7c3aed;
}

.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #8888aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  display: block;
}

.join-section .btn-primary {
  background: #7c3aed;
  color: #ffffff;
  border: none;
}

.join-section .btn-primary:hover {
  background: #9333ea;
}

.join-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #aaaacc;
  font-family: 'JetBrains Mono', monospace;
}

/* 10. INFO CARDS */
.info-card {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-radius: 4px;
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.5);
}

.info-card-icon {
  color: var(--purple-light);
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c3aed;
  margin-bottom: 0.5rem;
}

.info-card .card-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: #1a1a2e;
  display: block;
  margin-bottom: 0.25rem;
}

.info-card .card-sub {
  font-size: 0.825rem;
  color: #8888aa;
}

.info-card a.card-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7c3aed;
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.4);
  transition: color 0.2s ease;
}

.info-card a.card-link:hover {
  color: var(--white);
}

/* 11. GALLERY GRID */
.gallery-section {
  background: #f9f6ff;
}

.gallery-section h2 {
  color: #1a1a2e;
}

.gallery-grid {
  columns: 1;
  column-gap: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
}

.gallery-tile {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gallery-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
  filter: brightness(0.82);
}

.gallery-tile:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.gallery-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-tile:hover .gallery-overlay {
  opacity: 1;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  border-top: 1px solid #ede8f8;
}

.gallery-cta p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #8888aa;
}

.gallery-cta a {
  color: var(--purple-light);
  text-decoration: underline;
}

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

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.lightbox-inner picture {
  display: block;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
}

.lightbox-caption {
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.lightbox-counter {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
}

.lightbox-close {
  top: 1.25rem;
  left: 1.25rem;
}

@media (min-width: 768px) {
  .lightbox-close {
    left: auto;
    right: 1.25rem;
  }
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

/* 12. TESTIMONIAL CARDS */
.testimonials-section {
  background: #f9f6ff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.5);
}

.quote-mark {
  color: var(--purple);
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.75;
  color: #5a5a7a;
  font-style: normal;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #8888aa;
  letter-spacing: 0.05em;
}

/* Testimonials CTA */
.testimonials-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-radius: 4px;
}

.testimonials-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: #1a1a2e;
}

/* 13. COMMUNITY / BLOG CARDS */
.community-section {
  background: #f9f6ff;
}

.community-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.community-intro-text h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: #1a1a2e;
}

.community-intro-text p {
  margin-bottom: 1rem;
  max-width: 52ch;
  color: #5a5a7a;
}

.community-intro-text p:last-child {
  margin-bottom: 0;
}

.community-highlight {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-left: 3px solid #7c3aed;
  border-radius: 4px;
  padding: 2rem;
}

.community-highlight p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--purple-light);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.community-ethos-line {
  margin-top: 2.5rem;
  color: #5a5a7a;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.ethos-dark {
  color: #1a1a2e;
}

.ethos-purple {
  color: #7c3aed;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-radius: 4px;
  border-top: 3px solid #7c3aed;
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.6);
  border-top-color: var(--purple-light);
}

.blog-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.blog-card p {
  font-size: 0.95rem;
  color: #5a5a7a;
  margin-bottom: 1.25rem;
}

.blog-card-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  transition: color 0.2s ease;
}

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

/* 14. BUTTONS */
.btn-primary {
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

.btn-primary:focus {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

.btn-ghost {
  border: 1px solid var(--purple);
  color: var(--purple-light);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-ghost:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost:focus {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

/* 15. FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-col-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 24ch;
}

.footer-col-nav h4,
.footer-col-social h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col-nav a {
  font-size: 0.9rem;
  color: var(--off-white);
  transition: color 0.2s ease;
}

.footer-col-nav a:hover {
  color: var(--purple-light);
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.social-icon-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-icon-link:hover {
  color: var(--white);
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.1);
}

.social-icon-link:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* SabByte Credit */
.sabbyte-credit {
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: inherit;
}

.sabbyte-credit .sab  { color: #F1F5F9; }
.sabbyte-credit .byte { color: #38BDF8; }
.sabbyte-credit:hover { opacity: 0.8; }

/* 16. REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 17. MEDIA QUERIES — mobile-first */

/* Tablet: 768px */
@media (min-width: 768px) {
  .nav-hamburger {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
  }

  .nav-mobile {
    display: none !important;
  }

  .when-where-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-header-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-header-right {
    padding-top: 28px;
  }

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

  .blog-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .community-intro-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-grid {
    columns: 2;
  }
}

/* Desktop: 1024px */
@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .gallery-grid {
    columns: 3;
  }
}

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

/* Contact form section — primary light section */
.contact-form-section {
  background: #f9f6ff;
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.contact-form-wrap h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

.contact-form-intro {
  font-size: 1rem;
  color: #5a5a7a;
  margin-bottom: 2.5rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a2e;
}

.form-required {
  color: #7c3aed;
}

.form-optional {
  font-weight: 400;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  color: #8888aa;
}

.form-input {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-radius: 4px;
  color: #1a1a2e;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: #aaaacc;
}

.form-input:focus {
  outline: 2px solid #7c3aed;
  outline-offset: 0;
  border-color: #7c3aed;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a7a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: #ffffff;
  padding-right: 2.5rem;
}

.form-select option {
  background: #ffffff;
  color: #1a1a2e;
}

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

/* Honeypot — visually hidden, not display:none (so bots fill it, users don't) */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Success card */
.contact-success {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid #7c3aed;
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-success svg {
  color: #7c3aed;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-success p {
  color: #1a1a2e;
  font-size: 1rem;
  line-height: 1.6;
}

/* Error message */
.contact-error {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-error p {
  color: #c0392b;
  font-size: 0.9rem;
}

.contact-error a {
  color: #c0392b;
  text-decoration: underline;
}

/* Contact info block — secondary light section */
.contact-info-section {
  background: #ffffff;
  border-top: 1px solid #ede8f8;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-info-card {
  background: #f9f6ff;
  border: 1px solid #ede8f8;
  text-align: center;
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: #7c3aed;
}

.contact-info-icon {
  color: #7c3aed;
  margin-bottom: 0.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8888aa;
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: #1a1a2e;
  display: block;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

a.contact-info-value {
  transition: color 0.2s ease;
}

a.contact-info-value:hover {
  color: #7c3aed;
}

.contact-info-sub {
  font-size: 0.825rem;
  color: #8888aa;
}

.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.contact-info-card .social-icon-link {
  border-color: #ede8f8;
  color: #8888aa;
}

.contact-info-card .social-icon-link:hover {
  color: #7c3aed;
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.06);
}

/* Contact page responsive */
@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

/* Bump mobile nav max-height to fit 6 links */
.nav-open .nav-mobile {
  max-height: 420px;
}

/* === END CONTACT PAGE === */

/* === ABOUT PAGE === */

.about-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 10px;
}

/* Story section — primary (#f9f6ff) */
.about-story-section {
  background: #f9f6ff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-story-left h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #1a1a2e;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.about-story-left p {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a5a7a;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.about-story-left p:last-child {
  margin-bottom: 0;
}

.about-story-left strong {
  color: #1a1a2e;
  font-weight: 700;
}

.about-story-coffee {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-left: 3px solid #7c3aed;
  border-radius: 4px;
  padding: 2rem;
}

.about-story-coffee p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5a5a7a;
  margin-bottom: 0.75rem;
}

.about-story-coffee p:last-child {
  margin-bottom: 0;
}

.about-pullquote {
  background: #ffffff;
  border: 1px solid #ede8f8;
  border-top: 3px solid #7c3aed;
  border-radius: 4px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-pullquote p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: #1a1a2e;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.about-pullquote cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #8888aa;
  font-style: normal;
  letter-spacing: 0.05em;
}

.about-closing {
  text-align: center;
  font-size: 1.05rem;
  color: #5a5a7a;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.about-story-cta {
  text-align: center;
}

/* Blog CTA section — secondary (#ffffff) */
.blog-cta-section {
  background: #ffffff;
  border-top: 1px solid #ede8f8;
  border-bottom: 1px solid #ede8f8;
}

.blog-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.blog-cta-text h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.blog-cta-text p {
  font-size: 1rem;
  color: #5a5a7a;
  line-height: 1.7;
  max-width: 48ch;
}

.blog-cta-card {
  background: #f9f6ff;
  border: 1px solid #ede8f8;
  border-top: 3px solid #7c3aed;
  border-radius: 4px;
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.blog-cta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.5);
  border-top-color: #7c3aed;
}

.blog-cta-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8888aa;
  margin-bottom: 0.6rem;
}

.blog-cta-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.blog-cta-card p {
  font-size: 0.85rem;
  color: #8888aa;
  margin-bottom: 1.25rem;
}

.blog-cta-btn {
  display: inline-block;
}

/* About page responsive */
@media (min-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-cta-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* === END ABOUT PAGE === */

/* Mobile nav display */
@media (max-width: 767px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile {
    display: flex;
  }

  .stat-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-item {
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-divider {
    display: none;
  }

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

  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .group-photo-wrap {
    max-height: none;
  }

  .group-photo-wrap img {
    height: auto;
    object-position: center center;
  }
}
