/* =========================================================
   Connect Links Networking — Stylesheet
   Colour scheme derived from brand logo (blue -> purple -> magenta)
   ========================================================= */

:root {
  --blue: #4fa3d1;
  --blue-light: #6fc2e8;
  --purple: #7b4b9e;
  --purple-deep: #6a3f8c;
  --magenta: #c13c8e;
  --ink: #22242e;
  --ink-soft: #4a4e5c;
  --muted: #7c8091;
  --line: #e9e6f0;
  --bg: #ffffff;
  --bg-alt: #f7f5fb;
  --bg-tint: #f3eefb;
  --grad: linear-gradient(120deg, #5ab0dd 0%, #8256a8 52%, #c13c8e 100%);
  --grad-soft: linear-gradient(120deg, #6fc2e8 0%, #8b63b3 100%);
  --shadow-sm: 0 6px 18px rgba(41, 30, 74, 0.08);
  --shadow-md: 0 18px 44px rgba(41, 30, 74, 0.12);
  --shadow-lg: 0 30px 70px rgba(41, 30, 74, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

svg.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: .96rem;
  padding: 14px 26px; border-radius: 50px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  line-height: 1; white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(123, 75, 158, 0.35); background-size: 160% 160%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(123, 75, 158, 0.45); background-position: right center; }
.btn-outline { background: #fff; color: var(--purple); border-color: rgba(123, 75, 158, 0.35); }
.btn-outline:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; justify-content: center; }
.btn.loading { opacity: .7; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--purple); }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .25s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,.9); }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head.left { text-align: left; margin: 0 0 30px; }
.section-head h2, h2 { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; color: var(--ink); letter-spacing: -.01em; }
.section-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }
h3 { font-family: var(--ff-head); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 4px 24px rgba(41,30,74,.08); padding: 6px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 62px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 50px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-weight: 500; font-size: .95rem; color: var(--ink); padding: 9px 14px; border-radius: 40px;
  position: relative; transition: color .2s ease, background .2s ease;
}
.main-nav a:not(.nav-cta):hover { color: var(--purple); }
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 10px 22px; margin-left: 8px; box-shadow: 0 8px 20px rgba(123,75,158,.3); }
.nav-cta:hover { transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-close { display: none; position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.nav-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-close:hover { background: var(--bg-tint); color: var(--purple); }
.nav-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(20,16,32,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.nav-overlay.show { opacity: 1; visibility: visible; }
/* When the mobile menu is open, remove the header's backdrop-filter so it does not
   create a containing block that would clip the fixed-position drawer. */
body.no-scroll .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; background: linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(111,194,232,.7), transparent 70%); top: -140px; right: -80px; animation: float1 14s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(193,60,142,.5), transparent 70%); bottom: -160px; left: -100px; animation: float2 16s ease-in-out infinite; }
.blob-3 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(130,86,168,.45), transparent 70%); top: 40%; left: 45%; animation: float1 18s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(28px,-34px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,26px)} }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.9rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.02em; text-transform: lowercase; }
.grad-text { font-style: italic; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { margin: 24px 0 34px; font-size: 1.15rem; color: var(--ink-soft); max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.net-svg { width: 100%; max-width: 460px; overflow: visible; }
.net-nodes .nd { animation: pulse 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.net-nodes .n2 { animation-delay: .4s; } .net-nodes .n3 { animation-delay: .8s; }
.net-nodes .n4 { animation-delay: 1.2s; } .net-nodes .n5 { animation-delay: 1.6s; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.92} 50%{transform:scale(1.12);opacity:1} }
.net-lines line { stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.hero-badge {
  position: absolute; bottom: 26px; left: 6px; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-md);
}
.hero-badge .ico { width: 34px; height: 34px; color: var(--purple); }
.hero-badge strong { display: block; font-size: .98rem; color: var(--ink); }
.hero-badge span { font-size: .82rem; color: var(--muted); }
.float-card { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ---------- Stats ---------- */
.stats { background: var(--bg-alt); padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat-num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.stat-label { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ---------- News / Charity Ball ---------- */
.news { background: var(--bg); }
.news-card {
  max-width: 900px; margin: 0 auto 48px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.news-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad); }
.news-card p { color: var(--ink-soft); margin-bottom: 16px; }
.news-card a { color: var(--purple); font-weight: 600; }
.news-card a:hover { text-decoration: underline; }
.news-lead { font-size: 1.2rem; font-weight: 500; color: var(--ink) !important; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.news-lead .star, .star { width: 20px; height: 20px; fill: #f5b301; stroke: #f5b301; flex: none; }
.raised-highlight {
  background: var(--bg-tint); border-left: 4px solid var(--magenta); border-radius: var(--radius-sm);
  padding: 18px 20px; color: var(--ink) !important; display: flex; gap: 12px; align-items: flex-start; font-weight: 500;
}
.raised-highlight .ico { color: var(--magenta); width: 24px; height: 24px; flex: none; margin-top: 3px; fill: var(--magenta); stroke: var(--magenta); }
.raised-highlight strong { color: var(--magenta); }
.news-outro { font-family: var(--ff-head); font-style: italic; font-size: 1.2rem; color: var(--purple) !important; text-align: center; margin-top: 8px; margin-bottom: 0 !important; }

/* ---------- Gallery grids ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ball-grid { grid-template-columns: repeat(5, 1fr); }
#eventGallery { grid-template-columns: repeat(4, 1fr); }
.g-item { border: 0; padding: 0; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); aspect-ratio: 1/1; position: relative; box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(123,75,158,.45)); opacity: 0; transition: opacity .3s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }

/* ---------- Events ---------- */
.events { background: var(--bg-alt); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.event-media { height: 220px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 26px; border-bottom: 1px solid var(--line); }
.event-media img { max-height: 100%; width: auto; object-fit: contain; }
.event-body { padding: 26px 28px 30px; }
.event-body h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 12px; }
.event-when { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); margin-bottom: 18px; }
.event-when .ico { color: var(--purple); flex: none; }

/* ---------- Members carousel ---------- */
.members { background: var(--bg); }
.carousel { position: relative; max-width: 940px; margin: 0 auto; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); background: #fff; border: 1px solid var(--line); }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.member-slide { min-width: 100%; display: grid; grid-template-columns: 300px 1fr; }
.member-photo { background: var(--bg-tint); min-height: 380px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo-contain { display: flex; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(140deg, #22242e 0%, #3a2c4a 60%, #4a2e52 100%); }
.member-photo-contain img { object-fit: contain; height: auto; max-height: 200px; }
.member-info { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.member-info h3 { font-size: 1.8rem; color: var(--ink); }
.member-role { display: inline-block; align-self: flex-start; font-size: .82rem; font-weight: 600; letter-spacing: .05em; color: var(--magenta); background: var(--bg-tint); padding: 5px 14px; border-radius: 40px; margin: 10px 0 18px; }
.member-info p { color: var(--ink-soft); margin-bottom: 18px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-md); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--purple); z-index: 3; transition: background .25s ease, color .25s ease, transform .25s ease; }
.carousel-btn:hover { background: var(--grad); color: #fff; }
.carousel-btn .ico { width: 22px; height: 22px; }
.carousel-btn.prev { left: 14px; } .carousel-btn.next { right: 14px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.carousel-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background .25s ease, transform .25s ease; padding: 0; }
.carousel-dots button.active { background: var(--grad); transform: scale(1.25); }
/* Join-us CTA slide */
.member-cta { display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #f3eefb 0%, #eaf4fb 100%); position: relative; overflow: hidden; }
.member-cta::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(193,60,142,.16), transparent 70%); top: -120px; right: -80px; }
.member-cta::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(90,176,221,.18), transparent 70%); bottom: -120px; left: -70px; }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 560px; margin: 0 auto; padding: 56px 48px; }
.cta-ico { width: 56px; height: 56px; margin: 0 auto 18px; display: block; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta-inner h3 { font-size: 1.9rem; color: var(--ink); margin-bottom: 14px; }
.cta-inner p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- Quote ---------- */
.quote-section { position: relative; padding: 110px 0; background: var(--grad); background-size: 180% 180%; overflow: hidden; text-align: center; animation: gradShift 12s ease infinite; }
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.quote-bg .blob-q1 { width: 400px; height: 400px; background: rgba(255,255,255,.16); top: -120px; left: -80px; }
.quote-bg .blob-q2 { width: 360px; height: 360px; background: rgba(255,255,255,.12); bottom: -140px; right: -60px; }
.quote-inner { position: relative; z-index: 1; max-width: 900px; color: #fff; }
.quote-mark { width: 60px; height: 60px; fill: rgba(255,255,255,.85); margin: 14px auto 10px; }
.quote-section blockquote { font-family: var(--ff-head); font-weight: 500; font-style: italic; font-size: clamp(1.5rem, 3.6vw, 2.4rem); line-height: 1.35; color: #fff; }
.quote-section cite { display: block; margin-top: 26px; font-family: var(--ff-body); font-style: normal; font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; color: rgba(255,255,255,.92); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 50px; align-items: start; }
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label span { color: var(--magenta); }
.field input, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: .98rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fdfcff;
  transition: border-color .2s ease, box-shadow .2s ease; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(123,75,158,.12); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: .95rem; font-weight: 500; min-height: 1em; }
.form-status.ok { color: #1f8a52; }
.form-status.err { color: #c0392b; }

.contact-info h3 { font-size: 1.7rem; color: var(--ink); margin-bottom: 24px; }
.info-block { display: flex; gap: 16px; margin-bottom: 26px; }
.info-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(123,75,158,.3); }
.info-ico .ico { width: 22px; height: 22px; }
.info-block h4 { font-family: var(--ff-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.info-block p { color: var(--ink-soft); }
.info-block a { color: var(--purple); font-weight: 500; word-break: break-word; }
.info-block a:hover { text-decoration: underline; }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a, .footer-socials a { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--line); color: var(--purple); transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.socials a svg, .footer-socials a svg { width: 20px; height: 20px; fill: currentColor; }
.socials a svg.ig, .footer-socials a svg.ig { fill: none; stroke: currentColor; stroke-width: 2; }
.socials a svg.ig .dot, .footer-socials a svg.ig .dot { fill: currentColor; stroke: none; }
.socials a:hover, .footer-socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 34px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.footer-brand img { height: 70px; filter: brightness(0) invert(1); opacity: .95; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer-nav a { color: rgba(255,255,255,.78); font-size: .95rem; font-weight: 500; transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.copyright { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: 6px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,32,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.14); border: 0; color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .25s ease; }
.lb-close svg, .lb-nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 24px; right: 24px; width: 50px; height: 50px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { order: -1; min-height: 320px; }
  .net-svg { max-width: 360px; }
  .gallery-grid, .ball-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; height: 100%; width: min(82vw, 330px);
    background: #ffffff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 84px 22px 40px; transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1); box-shadow: -20px 0 60px rgba(41,30,74,.22);
    z-index: 120; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; color: var(--ink); }
  .main-nav a:not(.nav-cta):hover { background: var(--bg-alt); }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; }
  .nav-close { display: flex; }
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .events-grid { grid-template-columns: 1fr; }
  .member-slide { grid-template-columns: 1fr; }
  .member-photo { min-height: 0; height: 230px; }
  .member-photo img { object-position: 50% 22%; }
  .member-photo-contain { height: auto; min-height: 180px; padding: 30px; }
  .member-photo-contain img { max-height: 130px; }
  .member-info { padding: 30px 28px 34px; }
  .member-cta .cta-inner { padding: 40px 28px; }
  .news-card { padding: 30px 24px; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .hero { padding: 140px 0 60px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .gallery-grid, .ball-grid, #eventGallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-num { font-size: 1.35rem; }
  .contact-form-wrap { padding: 26px 20px; }
  .quote-section { padding: 80px 0; }
  .brand-logo { height: 52px; }
}
@media (max-width: 400px) {
  .gallery-grid, .ball-grid, #eventGallery { grid-template-columns: repeat(2, 1fr); }
}
