@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --teal-deep: #3D6B7A;
    --teal-mid: #4E8296;
    --teal-light: #7AAEBB;
    --teal-pale: #B8D4DC;
    --teal-wash: #E4F0F3;
    --beige-dark: #9E8B6E;
    --beige-mid: #C4A882;
    --beige-light: #DDD0B8;
    --beige-cream: #EEE6D4;
    --beige-white: #F7F3EB;
    --slate: #5C7A87;
    --charcoal: #2C3E45;
    --white: #FFFFFF;
    --off-white: #F8F4EE;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-body); color:var(--charcoal); line-height:1.6; overflow-x:hidden; background:var(--off-white); }

nav { position:fixed; top:0; left:0; right:0; background:rgba(248,244,238,0.97); backdrop-filter:blur(12px); z-index:1000; padding:1rem 5%; border-bottom:1px solid var(--beige-light); transition:all .3s ease; }
nav.scrolled { padding:.6rem 5%; box-shadow:0 4px 30px rgba(61,107,122,.08); }
.nav-container { max-width:1400px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; }
.logo-container { display:flex; align-items:center; gap:.9rem; text-decoration:none; }
.logo { width:52px; height:52px; border-radius:50%; object-fit:cover; transition:transform .4s ease; box-shadow:0 2px 12px rgba(61,107,122,.18); }
.logo:hover { transform:scale(1.07); }
.logo-text { font-family:var(--font-display); font-weight:700; font-size:1.35rem; color:var(--teal-deep); letter-spacing:1px; }
.logo-subtext { font-size:.64rem; color:var(--beige-dark); font-weight:500; letter-spacing:3px; text-transform:uppercase; margin-top:2px; }
.nav-menu { display:flex; gap:2.2rem; list-style:none; align-items:center; }
.nav-menu a { text-decoration:none; color:var(--charcoal); font-weight:500; font-size:.88rem; letter-spacing:.3px; transition:color .3s; position:relative; }
.nav-menu a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:1.5px; background:var(--teal-mid); transition:width .3s ease; }
.nav-menu a:hover::after,.nav-menu a.active::after { width:100%; }
.nav-menu a:hover { color:var(--teal-deep); }
.nav-menu > li:not(.has-dropdown) .caret,
.nav-menu > li:not(.has-dropdown) .dropdown-mega { display:none !important; }
.nav-menu > li:not(.has-dropdown) .dropdown-toggle::after { display:block !important; }
.donate-btn { background:var(--teal-deep) !important; color:var(--beige-cream) !important; padding:.6rem 1.5rem; border:1.5px solid var(--teal-deep); font-weight:600; letter-spacing:1px; font-size:.78rem !important; text-transform:uppercase; transition:all .3s ease !important; }
.donate-btn::after { display:none !important; }
.donate-btn:hover { background:transparent !important; color:var(--teal-deep) !important; }
.mobile-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:5px; }
.mobile-toggle span { width:24px; height:2px; background:var(--teal-deep); transition:all .3s ease; border-radius:2px; }

.hero { margin-top:80px; min-height:92vh; background:var(--beige-white); position:relative; overflow:hidden; display:flex; align-items:center; padding:5rem 5%; }
.hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 700px 500px at 80% 40%,rgba(78,130,150,.07) 0%,transparent 70%),radial-gradient(ellipse 400px 300px at 8% 75%,rgba(196,168,130,.1) 0%,transparent 60%); pointer-events:none; }
.hero::after { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(196,168,130,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(196,168,130,.1) 1px,transparent 1px); background-size:64px 64px; pointer-events:none; }
.hero-content { max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1.1fr 1fr; gap:5rem; align-items:center; position:relative; z-index:1; }
.hero-text h1 { font-family:var(--font-display); font-size:5rem; font-weight:600; color:var(--charcoal); line-height:1.05; margin-bottom:1.8rem; animation:fadeUp .9s ease-out; }
.hero-text .highlight { color:var(--teal-deep); font-style:italic; }
.hero-text p { font-size:1.08rem; color:var(--charcoal); opacity:.7; margin-bottom:2.8rem; line-height:1.9; max-width:480px; font-weight:300; animation:fadeUp .9s ease-out .15s both; }
.hero-buttons { display:flex; gap:1.2rem; flex-wrap:wrap; animation:fadeUp .9s ease-out .3s both; }
.btn { padding:.88rem 2.2rem; font-weight:600; font-size:.82rem; text-decoration:none; transition:all .3s ease; display:inline-block; cursor:pointer; border:none; font-family:var(--font-body); letter-spacing:1.5px; text-transform:uppercase; }
.btn-primary { background:var(--teal-deep); color:var(--beige-cream); border:1.5px solid var(--teal-deep); }
.btn-primary:hover { background:transparent; color:var(--teal-deep); }
.btn-secondary { background:transparent; color:var(--charcoal); border:1.5px solid var(--beige-dark); }
.btn-secondary:hover { border-color:var(--teal-deep); color:var(--teal-deep); }
.hero-visual { position:relative; animation:fadeIn 1.2s ease-out .3s both; }
.geometric-shape { width:100%; height:420px; position:relative; }
.shape { position:absolute; animation:drift 18s ease-in-out infinite; }
.shape.shape-1 { width:270px; height:270px; background:linear-gradient(135deg,var(--teal-pale),var(--teal-light)); opacity:.45; top:5%; left:6%; border-radius:60% 40% 70% 30%/50% 60% 40% 50%; animation-duration:18s; }
.shape.shape-2 { width:180px; height:180px; background:linear-gradient(135deg,var(--beige-mid),var(--beige-cream)); opacity:.65; top:48%; right:5%; border-radius:40% 60% 30% 70%/60% 40% 70% 30%; animation-duration:22s; animation-direction:reverse; }
.shape.shape-3 { width:130px; height:130px; background:linear-gradient(135deg,var(--teal-mid),var(--slate)); opacity:.3; bottom:6%; left:30%; border-radius:50% 50% 30% 70%/40% 60% 40% 60%; animation-duration:15s; animation-delay:3s; }
@keyframes drift { 0%,100%{transform:translate(0,0) rotate(0deg)}33%{transform:translate(14px,-18px) rotate(4deg)}66%{transform:translate(-10px,10px) rotate(-3deg)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0}to{opacity:1} }

.impact-stats { background:var(--teal-deep); padding:3.5rem 5%; position:relative; overflow:hidden; }
.impact-stats::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 500px 300px at 20% 50%,rgba(255,255,255,.04) 0%,transparent 70%),radial-gradient(ellipse 400px 200px at 80% 50%,rgba(196,168,130,.07) 0%,transparent 70%); }
.stats-container { max-width:1400px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:2rem; position:relative; z-index:1; }
.stat { text-align:center; color:white; padding:1.5rem; border-left:1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left:none; }
.stat-number { font-family:var(--font-display); font-size:3.8rem; font-weight:600; color:var(--beige-cream); line-height:1; margin-bottom:.4rem; }
.stat-label { font-size:.72rem; opacity:.7; font-weight:500; letter-spacing:2.5px; text-transform:uppercase; color:var(--teal-pale); }

.programs { padding:7rem 5%; background:var(--off-white); }
.section-header { text-align:center; margin-bottom:4.5rem; }
.section-title { font-family:var(--font-display); font-size:3.2rem; font-weight:600; color:var(--charcoal); margin-bottom:1rem; line-height:1.1; }
.section-subtitle { font-size:1.02rem; color:var(--charcoal); opacity:.6; max-width:520px; margin:0 auto; font-weight:300; line-height:1.75; }
.programs-grid { max-width:1300px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:2rem; }
.program-card { background:var(--white); border-radius:3px; padding:2.8rem; border:1px solid var(--beige-light); transition:all .4s ease; position:relative; overflow:hidden; }
.program-branch[data-href] { cursor:pointer; }
.program-branch[data-href]:focus-visible { outline:3px solid rgba(78,130,150,.28); outline-offset:4px; }
.program-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--teal-light); transform:scaleX(0); transition:transform .4s ease; transform-origin:left; }
.program-card.tennis::after { background:var(--beige-mid); }
.program-card.coding::after { background:var(--slate); }
.program-card:hover::after { transform:scaleX(1); }
.program-card:hover { transform:translateY(-6px); box-shadow:0 16px 50px rgba(61,107,122,.1); border-color:var(--teal-pale); }
.program-icon { width:58px; height:58px; border-radius:3px; display:flex; align-items:center; justify-content:center; font-size:1.7rem; margin-bottom:1.5rem; background:var(--teal-wash); }
.athletic-branch .program-icon { background:var(--teal-wash); border:1px solid var(--teal-pale); }
.academic-branch .program-icon { background:rgba(196,168,130,.15); border:1px solid var(--beige-light); }
.program-card.tennis .program-icon { background:var(--beige-cream); }
.program-card.coding .program-icon { background:rgba(92,122,135,.1); }
.program-card h3 { font-family:var(--font-display); font-size:1.85rem; font-weight:600; color:var(--charcoal); margin-bottom:1rem; }
.program-card p { color:var(--charcoal); opacity:.68; margin-bottom:1.5rem; line-height:1.78; font-weight:300; }
.program-card .sub-branches { display:none; }
.branch-list { list-style:none; display:grid; gap:.65rem; margin:1.4rem 0 1.8rem; }
.branch-list li { padding:.65rem .8rem .65rem 2rem; background:var(--off-white); border:1px solid var(--beige-light); border-radius:3px; position:relative; color:var(--charcoal); font-size:.92rem; }
.branch-list li::before { content:''; position:absolute; left:.85rem; top:1.05rem; width:7px; height:7px; border-radius:50%; background:var(--teal-mid); }
.academic-branch .branch-list li::before { background:var(--beige-dark); }
.branch-event { display:grid; grid-template-columns:86px 1fr; gap:1rem; align-items:center; background:var(--teal-deep); color:var(--white); padding:1rem; border-radius:4px; }
.branch-event-date { font-family:var(--font-display); font-size:1.2rem; line-height:1.05; color:var(--beige-cream); text-align:center; border-right:1px solid rgba(255,255,255,.18); padding-right:.8rem; }
.branch-event strong { display:block; font-size:.96rem; margin-bottom:.15rem; }
.branch-event span { display:block; color:var(--teal-pale); font-size:.82rem; line-height:1.55; }
.branch-link { display:inline-flex; color:var(--teal-deep); font-weight:600; font-size:.78rem; letter-spacing:1.5px; text-transform:uppercase; text-decoration:none; border-bottom:1px solid var(--teal-pale); padding-bottom:2px; }
.branch-link::after { content:' ->'; }

.branch-page-grid { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:3rem; align-items:start; }
.branch-page-grid p { color:var(--charcoal); opacity:.72; line-height:1.88; font-weight:300; margin-bottom:1.1rem; }
.branch-summary-card { background:var(--white); border:1px solid var(--beige-light); border-radius:6px; padding:2rem; box-shadow:0 14px 42px rgba(61,107,122,.08); }
.branch-summary-card .inner-list { margin:1rem 0 1.5rem; }
.program-features { list-style:none; margin-bottom:2rem; }
.program-features li { padding:.45rem 0; color:var(--charcoal); opacity:.78; position:relative; padding-left:1.4rem; font-size:.9rem; }
.program-features li::before { content:'—'; position:absolute; left:0; color:var(--teal-mid); font-weight:300; }
.learn-more { color:var(--teal-deep); font-weight:600; font-size:.78rem; letter-spacing:1.5px; text-transform:uppercase; text-decoration:none; display:inline-flex; align-items:center; gap:.6rem; transition:gap .3s ease; border-bottom:1px solid var(--teal-pale); padding-bottom:2px; }
.learn-more:hover { gap:1.1rem; border-color:var(--teal-deep); }

.chapters-section { padding:5rem 5%; background:var(--beige-cream); }
.chapters-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; background:var(--white); border:1px solid var(--beige-light); border-radius:3px; padding:2.8rem; }
.section-kicker { font-size:.72rem; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--teal-deep); margin-bottom:.6rem; }
.chapters-inner .section-title { margin-bottom:.8rem; }
.chapters-inner p:not(.section-kicker) { max-width:660px; color:var(--charcoal); opacity:.68; line-height:1.78; font-weight:300; }
.chapters-inner .btn { white-space:nowrap; }

.partners-section { padding:5rem 5%; background:var(--white); }
.partners-inner { max-width:1100px; margin:0 auto; }
.partners-inner > div:first-child { max-width:760px; margin-bottom:2rem; }
.partners-inner > div:first-child p:not(.section-kicker) { color:var(--charcoal); opacity:.68; line-height:1.78; font-weight:300; }
.partners-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin:2rem 0; }
.partner-card { background:var(--off-white); border:1px solid var(--beige-light); border-radius:4px; padding:1.6rem; }
.partner-card h3 { font-family:var(--font-display); font-size:1.35rem; color:var(--charcoal); margin-bottom:.6rem; }
.partner-card p { color:var(--charcoal); opacity:.68; line-height:1.72; font-weight:300; font-size:.92rem; }


.events { padding:7rem 5%; background:var(--beige-cream); }
.events-container { max-width:1300px; margin:0 auto; }
.event-card { background:var(--white); border-radius:3px; overflow:hidden; border:1px solid var(--beige-light); display:grid; grid-template-columns:180px 1fr; margin-bottom:1.8rem; transition:all .3s ease; }
.event-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(61,107,122,.1); border-color:var(--teal-pale); }
.event-date { background:var(--teal-deep); color:white; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:2rem; }
.event-day { font-size:3.5rem; font-weight:700; font-family:var(--font-display); line-height:1; color:var(--beige-cream); }
.event-month { font-size:.72rem; font-weight:600; text-transform:uppercase; letter-spacing:3px; color:var(--teal-pale); margin-top:5px; }
.event-details { padding:2.2rem 2.5rem; }
.event-details h3 { font-family:var(--font-display); font-size:1.7rem; font-weight:600; color:var(--charcoal); margin-bottom:.8rem; }
.event-meta { display:flex; gap:1.8rem; margin-bottom:1rem; flex-wrap:wrap; }
.event-meta-item { display:flex; align-items:center; gap:.4rem; color:var(--charcoal); opacity:.58; font-size:.86rem; }
.event-description { color:var(--charcoal); opacity:.72; line-height:1.72; margin-bottom:1.5rem; font-weight:300; font-size:.94rem; }

.cta-section { background:var(--charcoal); padding:7rem 5%; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 600px 400px at 15% 50%,rgba(78,130,150,.14) 0%,transparent 70%),radial-gradient(ellipse 400px 300px at 85% 50%,rgba(196,168,130,.07) 0%,transparent 70%); }
.cta-content { max-width:900px; margin:0 auto; text-align:center; position:relative; z-index:1; }
.cta-content h2 { font-family:var(--font-display); font-size:3.8rem; font-weight:600; color:var(--beige-cream); margin-bottom:1.2rem; line-height:1.08; }
.cta-content p { font-size:1.08rem; color:var(--beige-light); opacity:.82; margin-bottom:3rem; font-weight:300; line-height:1.82; }
.donation-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:1.2rem; margin:0 0 3rem 0; }
.donation-card { display:block; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:3px; padding:2rem; text-align:center; color:white; text-decoration:none; transition:all .3s ease; cursor:pointer; }
.donation-card:hover { background:rgba(78,130,150,.14); border-color:var(--teal-light); transform:translateY(-4px); }
.donation-amount { font-family:var(--font-display); font-size:2.4rem; font-weight:600; color:var(--beige-cream); margin-bottom:.6rem; }
.donation-impact { font-size:.8rem; color:var(--teal-pale); line-height:1.55; }

.contact-form { background:var(--white); padding:3rem; border-radius:3px; border:1px solid var(--beige-light); max-width:580px; margin:0 auto; }
.form-group { margin-bottom:1.5rem; }
.form-group label { display:block; margin-bottom:.45rem; font-weight:500; color:var(--charcoal); font-size:.78rem; letter-spacing:1px; text-transform:uppercase; }
.form-group input,.form-group textarea,.form-group select { width:100%; padding:.85rem 1rem; border:1px solid var(--beige-light); border-radius:2px; font-family:var(--font-body); font-size:.94rem; transition:all .3s ease; background:var(--off-white); color:var(--charcoal); }
.form-group input:focus,.form-group textarea:focus,.form-group select:focus { outline:none; border-color:var(--teal-mid); background:var(--white); box-shadow:0 0 0 3px rgba(78,130,150,.08); }
.form-group textarea { resize:vertical; min-height:130px; }
.btn-submit { width:100%; background:var(--teal-deep); color:var(--beige-cream); padding:1rem; border:1.5px solid var(--teal-deep); border-radius:2px; font-weight:600; font-size:.82rem; cursor:pointer; transition:all .3s ease; letter-spacing:2px; text-transform:uppercase; font-family:var(--font-body); }
.btn-submit:hover { background:transparent; color:var(--teal-deep); }
.btn-submit:disabled { opacity:.65; cursor:not-allowed; }
.hidden-field { display:none; }
.form-status { min-height:1.4rem; margin-top:1rem; text-align:center; font-size:.9rem; color:var(--charcoal); }
.form-status.success { color:var(--teal-deep); }
.form-status.error { color:#8f2f2f; }

footer { background:var(--charcoal); color:white; padding:5rem 5% 2.5rem; border-top:3px solid var(--teal-deep); }
.footer-content { max-width:1400px; margin:0 auto 3.5rem; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3.5rem; }
.footer-about h3 { font-family:var(--font-display); font-size:1.5rem; font-weight:600; margin-bottom:1rem; color:var(--beige-cream); }
.footer-about p { opacity:.55; line-height:1.82; margin-bottom:1.8rem; font-weight:300; font-size:.9rem; }
.social-links { display:flex; gap:.75rem; }
.social-links a { width:36px; height:36px; border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:var(--teal-pale); text-decoration:none; font-size:.78rem; font-weight:500; transition:all .3s ease; }
.social-links a:hover { background:var(--teal-deep); border-color:var(--teal-deep); color:white; }
.social-links svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.footer-links h4 { font-family:var(--font-body); margin-bottom:1.2rem; font-size:.68rem; font-weight:600; letter-spacing:3px; text-transform:uppercase; color:var(--teal-pale); }
.footer-links ul { list-style:none; }
.footer-links ul li { margin-bottom:.65rem; }
.footer-links a { color:white; text-decoration:none; opacity:.5; transition:all .3s ease; font-size:.88rem; font-weight:300; }
.footer-links a:hover { opacity:1; color:var(--beige-cream); padding-left:4px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); padding-top:2rem; text-align:center; opacity:.38; font-size:.8rem; letter-spacing:.5px; }

@media (max-width:968px) {
    .nav-menu { position:fixed; top:80px; right:-100%; flex-direction:column; background:var(--off-white); width:100%; padding:2rem; border-top:1px solid var(--beige-light); box-shadow:0 10px 30px rgba(0,0,0,.08); transition:right .3s ease; gap:1.2rem; align-items:flex-start; }
    .nav-menu.active { right:0; }
    .mobile-toggle { display:flex; }
    .mobile-toggle.active span:nth-child(1) { transform:rotate(45deg) translate(6px,6px); }
    .mobile-toggle.active span:nth-child(2) { opacity:0; }
    .mobile-toggle.active span:nth-child(3) { transform:rotate(-45deg) translate(6px,-6px); }
    .hero-content { grid-template-columns:1fr; gap:2rem; }
    .hero-text h1 { font-size:3.2rem; }
    .branch-page-grid { grid-template-columns:1fr; }
    .geometric-shape { height:260px; }
    .programs-grid { grid-template-columns:1fr; }
    .chapters-inner { grid-template-columns:1fr; }
    .partners-grid { grid-template-columns:1fr; }
    .event-card { grid-template-columns:130px 1fr; }
    .footer-content { grid-template-columns:1fr 1fr; }
    .section-title { font-size:2.3rem; }
    .cta-content h2 { font-size:2.6rem; }
    .stat { border-left:none; border-top:1px solid rgba(255,255,255,.1); padding-top:1.5rem; }
    .stat:first-child { border-top:none; }
}
@media (max-width:600px) {
    .hero-text h1 { font-size:2.5rem; }
    .branch-event { grid-template-columns:1fr; }
    .branch-event-date { border-right:0; border-bottom:1px solid rgba(255,255,255,.18); padding:0 0 .7rem; text-align:left; }
    .footer-content { grid-template-columns:1fr; }
    .event-card { grid-template-columns:1fr; }
    .event-date { padding:1.2rem; flex-direction:row; gap:.7rem; justify-content:flex-start; }
    .event-day { font-size:2.5rem; }
    .donation-options { grid-template-columns:repeat(2,1fr); }
    .chapters-inner { padding:2rem; }
    .chapters-inner .btn { white-space:normal; text-align:center; }
    .cta-content h2 { font-size:2rem; }
}

/* ─── DROPDOWN NAV ─── */
.has-dropdown { position: relative; }
.has-dropdown .caret { font-size: .7rem; opacity: .7; margin-left: 2px; transition: transform .25s ease; display: inline-block; }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-toggle::after { display: none !important; }

.dropdown-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--beige-light);
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(61,107,122,.14);
    padding: 1.8rem 1.6rem 1.4rem;
    min-width: 460px;
    flex-direction: row;
    gap: 0;
    z-index: 2000;
    animation: dropFade .18s ease-out;
    /* invisible top padding creates a seamless hover bridge from nav link to panel */
    margin-top: 0;
    border-top: 12px solid transparent;
    background-clip: padding-box;
}
@keyframes dropFade { from { opacity:0; transform: translateX(-50%) translateY(-4px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

.has-dropdown:hover .dropdown-mega,
.dropdown-mega:hover { display: flex; }

.dropdown-col { flex: 1; padding: 0 .8rem; }
.dropdown-col:first-child { padding-left: 0; }
.dropdown-col:last-child { padding-right: 0; }

.dropdown-col-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--beige-dark);
    margin-bottom: .9rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--beige-light);
}

.dropdown-sep {
    width: 1px;
    background: var(--beige-light);
    margin: 0 .4rem;
    flex-shrink: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .8rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background .2s ease;
    margin-bottom: .3rem;
}
.dropdown-item:last-child { margin-bottom: 0; }
.dropdown-item::after { display: none !important; }
.dropdown-item:hover { background: var(--teal-wash); }
.dropdown-item.active-item { background: var(--teal-wash); }

.di-icon { font-size: 1.3rem; flex-shrink: 0; width: 32px; text-align: center; }
.di-text { display: flex; flex-direction: column; }
.di-text strong { font-size: .88rem; font-weight: 600; color: var(--charcoal); line-height: 1.3; }
.di-text em { font-size: .76rem; font-style: normal; color: var(--beige-dark); opacity: .85; margin-top: 1px; }

/* ─── INDEX PROGRAMS: TWO-COL BRANCH CARDS ─── */
.programs-two-col { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.program-branch { position: relative; }
.branch-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .28rem .75rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    background: var(--teal-wash);
    color: var(--teal-deep);
    border: 1px solid var(--teal-pale);
}
.academic-branch .branch-badge {
    background: rgba(196,168,130,.15);
    color: var(--beige-dark);
    border-color: var(--beige-light);
}

.sub-branches { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .75rem; }

.sub-branch-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    background: var(--off-white);
    border: 1px solid var(--beige-light);
    border-radius: 3px;
    text-decoration: none;
    transition: all .25s ease;
}
.sub-branch-card:hover {
    background: var(--teal-wash);
    border-color: var(--teal-pale);
    transform: translateX(4px);
}
.sb-icon { font-size: 1.4rem; flex-shrink: 0; }
.sb-body { display: flex; flex-direction: column; flex: 1; }
.sb-body strong { font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.sb-body span { font-size: .78rem; color: var(--charcoal); opacity: .6; margin-top: 2px; }
.sb-arrow { font-size: 1rem; color: var(--teal-mid); opacity: .6; transition: opacity .2s, transform .2s; }
.sub-branch-card:hover .sb-arrow { opacity: 1; transform: translateX(3px); }

/* ─── ABOUT SECTION (index) ─── */
.about-section { padding: 7rem 5%; background: var(--white); }
.about-body { max-width: 860px; margin: 0 auto; }
.about-body p { font-size: 1.05rem; line-height: 1.9; color: var(--charcoal); opacity: .8; font-weight: 300; margin-bottom: 1.6rem; }
.about-body p:last-child { margin-bottom: 0; }

/* ─── PAGE HERO (branch pages) ─── */
.page-hero {
    margin-top: 80px;
    padding: 5rem 5% 4rem;
    background: var(--beige-white);
    border-bottom: 1px solid var(--beige-light);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 85% 50%, rgba(78,130,150,.07) 0%, transparent 65%),
                radial-gradient(ellipse 350px 250px at 5% 80%, rgba(196,168,130,.09) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero-tournament::before {
    background: radial-gradient(ellipse 600px 400px at 85% 50%, rgba(196,168,130,.1) 0%, transparent 65%),
                radial-gradient(ellipse 350px 250px at 5% 80%, rgba(78,130,150,.07) 0%, transparent 60%);
}
.page-hero-academic::before {
    background: radial-gradient(ellipse 600px 400px at 85% 50%, rgba(196,168,130,.1) 0%, transparent 65%),
                radial-gradient(ellipse 350px 250px at 5% 80%, rgba(78,130,150,.07) 0%, transparent 60%);
}
.page-hero-content { max-width: 800px; position: relative; z-index: 1; }

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    opacity: .58;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}
.page-breadcrumb a { color: var(--charcoal); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--teal-deep); opacity: 1; }
.page-breadcrumb span { color: var(--charcoal); }
.breadcrumb-current { opacity: 1; font-weight: 500; color: var(--teal-deep); }

.page-hero-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .28rem .85rem;
    border-radius: 2px;
    margin-bottom: 1.2rem;
    background: var(--teal-wash);
    color: var(--teal-deep);
    border: 1px solid var(--teal-pale);
}
.page-hero-badge-academic {
    background: rgba(196,168,130,.18);
    color: var(--beige-dark);
    border-color: var(--beige-light);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.ph-icon { font-size: 2.6rem; }
.page-hero p {
    font-size: 1.08rem;
    color: var(--charcoal);
    opacity: .68;
    line-height: 1.82;
    font-weight: 300;
    max-width: 600px;
}

/* ─── INNER SECTIONS (branch pages) ─── */
.inner-section { padding: 5.5rem 5%; background: var(--off-white); }
.inner-section-alt { background: var(--beige-cream); }
.inner-container { max-width: 1200px; margin: 0 auto; }

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

.inner-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}
.inner-subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 2rem 0 .8rem;
}
.inner-main p { font-size: .98rem; color: var(--charcoal); opacity: .72; line-height: 1.85; font-weight: 300; margin-bottom: 1rem; }
.inner-list { list-style: none; margin-bottom: 1rem; }
.inner-list li { padding: .5rem 0; font-size: .95rem; color: var(--charcoal); opacity: .8; position: relative; padding-left: 1.4rem; border-bottom: 1px solid rgba(196,168,130,.25); }
.inner-list li:last-child { border-bottom: none; }
.inner-list li::before { content: '—'; position: absolute; left: 0; color: var(--teal-mid); font-weight: 300; }

/* Sidebar cards */
.inner-sidebar { position: sticky; top: 110px; }
.info-card {
    background: var(--white);
    border: 1px solid var(--beige-light);
    border-radius: 3px;
    padding: 1.6rem;
}
.info-card-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--beige-dark);
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--beige-light);
    margin-bottom: 1rem;
}
.info-row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--beige-light); }
.info-row:last-of-type { border-bottom: none; }
.info-label { font-size: .78rem; opacity: .58; font-weight: 400; }
.info-value { font-size: .82rem; font-weight: 600; color: var(--teal-deep); }

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: .6rem 0;
    border-bottom: 1px solid var(--beige-light);
    transition: color .2s, padding-left .2s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--teal-deep); padding-left: 4px; }
.sidebar-link span { color: var(--teal-mid); }

/* ─── MOBILE DROPDOWN ─── */
@media (max-width: 968px) {
    .dropdown-mega { position: static; transform: none; box-shadow: none; border: none; border-radius: 0; padding: .5rem 0 .5rem 1rem; min-width: 0; width: 100%; flex-direction: column; gap: .5rem; background: var(--beige-cream); display: none; animation: none; }
    .has-dropdown.mobile-open .dropdown-mega { display: flex; }
    .dropdown-sep { display: none; }
    .dropdown-col { padding: 0; }
    .dropdown-col-label { margin-bottom: .5rem; }
    .page-hero h1 { font-size: 2.6rem; }
    .inner-grid { grid-template-columns: 1fr; }
    .inner-sidebar { position: static; }
}
@media (max-width: 600px) {
    .page-hero h1 { font-size: 2rem; }
    .ph-icon { font-size: 1.8rem; }
    .programs-two-col { grid-template-columns: 1fr; }
}

/* ─── FULL-WIDTH INNER (no sidebar) ─── */
.inner-main-full { max-width: 820px; }
.inner-main-full p { font-size: .98rem; color: var(--charcoal); opacity: .72; line-height: 1.88; font-weight: 300; margin-bottom: 1.1rem; }

/* ─── PAGE HERO MISSION TEXT ─── */
.page-hero-mission { font-size: 1.08rem; color: var(--charcoal); opacity: .72; line-height: 1.85; font-weight: 300; max-width: 680px; margin-top: .6rem; }

/* ─── REMOVE BREADCRUMB & BADGE IN HERO (now bare) ─── */
.page-hero h1 { margin-bottom: .5rem; }

/* ─── EVENT CARD: date-less layout ─── */
.event-card-simple {
    background: var(--white);
    border: 1px solid var(--beige-light);
    border-radius: 3px;
    padding: 2rem 2.4rem;
    margin-bottom: 1.4rem;
    transition: all .3s ease;
    display: block;
}
.event-card-simple:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(61,107,122,.09); border-color: var(--teal-pale); }

/* Override standard event-card for branch pages: make them single-column */
.inner-section .event-card {
    grid-template-columns: 1fr;
    padding: 0;
}
.inner-section .event-date { display: none; }
.inner-section .event-details { padding: 1.8rem 2.2rem; }
.inner-section .event-details h3 { font-size: 1.5rem; margin-bottom: .6rem; }

/* ─── DETAIL BUTTON ─── */
.btn-detail {
    display: inline-block;
    margin-top: .8rem;
    padding: .55rem 1.6rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: transparent;
    border: 1.5px solid var(--teal-pale);
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all .25s ease;
}
.btn-detail:hover { background: var(--teal-wash); border-color: var(--teal-mid); }

/* ─── MODAL ─── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44,62,69,.55);
    backdrop-filter: blur(3px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
    background: var(--white);
    border-radius: 4px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.4rem 2.6rem;
    position: relative;
    animation: modalIn .22s ease-out;
    border-top: 3px solid var(--teal-deep);
}
@keyframes modalIn { from { opacity:0; transform: translateY(14px) scale(.98); } to { opacity:1; transform: translateY(0) scale(1); } }

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--charcoal);
    opacity: .45;
    line-height: 1;
    font-family: var(--font-body);
    transition: opacity .2s;
}
.modal-close:hover { opacity: .9; }

.modal-tag {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: var(--teal-wash);
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 1.4rem;
}

.modal-body p {
    font-size: .96rem;
    color: var(--charcoal);
    opacity: .72;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1rem;
}
.modal-subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 1.4rem 0 .6rem;
}
.modal-list {
    margin: 0 0 1.2rem 1.1rem;
    color: var(--charcoal);
    opacity: .75;
    font-size: .94rem;
    line-height: 1.75;
}
.modal-list li { margin-bottom: .35rem; }

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem .8rem;
    margin: 1.5rem 0 1.8rem;
    border-top: 1px solid var(--beige-light);
    padding-top: 1.2rem;
}
.modal-detail { display: flex; flex-direction: column; gap: .2rem; }
.md-label { font-size: .68rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; opacity: .5; }
.md-value { font-size: .9rem; font-weight: 600; color: var(--teal-deep); }

.modal-cta { display: block; text-align: center; margin-top: .5rem; }

@media (max-width: 600px) {
    .modal-box { padding: 1.8rem 1.4rem; }
    .modal-details-grid { grid-template-columns: 1fr; }
    .modal-title { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════
   PEOPLE PAGE
══════════════════════════════════════════ */
.people-section { padding: 5rem 5%; }

/* Compact 5-up grid */
.people-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.4rem;
    margin-bottom: 3.5rem;
}

.person-compact {
    background: var(--white);
    border: 1px solid var(--beige-light);
    border-radius: 3px;
    padding: 1.8rem 1.4rem 1.5rem;
    text-align: center;
    transition: all .3s ease;
}
.person-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(61,107,122,.09);
    border-color: var(--teal-pale);
}

.person-avatar-lg {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 auto 1rem;
}

.person-compact-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: .2rem;
    line-height: 1.2;
}
.person-compact-role {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--teal-mid);
    margin-bottom: .7rem;
    line-height: 1.4;
}
.person-compact-bio {
    font-size: .84rem;
    color: var(--charcoal);
    opacity: .62;
    line-height: 1.65;
    font-weight: 300;
    margin: 0;
}

/* Join CTA */
.people-cta { border-top: 1px solid var(--beige-light); padding-top: 2.5rem; }
.people-cta-inner {
    background: var(--charcoal);
    border-radius: 3px;
    padding: 2rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.people-cta-inner h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--beige-cream);
    margin-bottom: .3rem;
}
.people-cta-inner p {
    font-size: .88rem;
    color: var(--beige-light);
    opacity: .7;
    font-weight: 300;
    margin: 0;
}
.people-cta-inner .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 700px) {
    .people-compact-grid { grid-template-columns: repeat(2, 1fr); }
    .people-cta-inner { flex-direction: column; gap: 1.2rem; text-align: center; }
}
@media (max-width: 420px) {
    .people-compact-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   HERO JUMP BUTTON (inline in page hero)
══════════════════════════════════════════ */
.hero-jump-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: 1.6rem;
    padding: .7rem 1.6rem;
    background: rgba(61,107,122,.12);
    border: 1.5px solid var(--teal-mid);
    border-radius: 3px;
    color: var(--teal-deep);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background .2s, border-color .2s, transform .2s;
}
.hero-jump-btn:hover {
    background: rgba(61,107,122,.18);
    border-color: var(--teal-deep);
    transform: translateY(-1px);
}
.hero-jump-btn::after { display: none !important; }
.hero-jump-btn-academic {
    background: rgba(158,139,110,.1);
    border-color: var(--beige-dark);
    color: var(--beige-dark);
}
.hero-jump-btn-academic:hover {
    background: rgba(158,139,110,.18);
    border-color: var(--charcoal);
    color: var(--charcoal);
}
.jump-icon { font-size: 1rem; }

/* ══════════════════════════════════════════
   EVENT ROW (new date-visible layout)
══════════════════════════════════════════ */
.events-list { display: flex; flex-direction: column; gap: 0; }
.events-loading {
    background: var(--white);
    border: 1px solid var(--beige-light);
    border-radius: 3px;
    padding: 1.8rem 2rem;
    color: var(--charcoal);
    opacity: .62;
    font-size: .92rem;
    font-weight: 500;
}

.event-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    background: var(--white);
    border: 1px solid var(--beige-light);
    border-radius: 3px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: all .3s ease;
}
.event-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(61,107,122,.1);
    border-color: var(--teal-pale);
}

.event-row-date {
    background: var(--teal-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 1rem;
    gap: .3rem;
    text-align: center;
}
.erd-label {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal-pale);
    opacity: .8;
}
.erd-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--beige-cream);
    line-height: 1.2;
    text-align: center;
}

/* When a real date is set, show day large + month small */
.event-row-date.has-date .erd-value {
    font-size: 2.4rem;
    line-height: 1;
}
.event-row-date.has-date .erd-month {
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-pale);
    margin-top: .2rem;
}

.event-row-body {
    padding: 1.6rem 2rem;
}
.event-row-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: .55rem;
    line-height: 1.2;
}
.event-row-desc {
    font-size: .9rem;
    color: var(--charcoal);
    opacity: .68;
    line-height: 1.72;
    font-weight: 300;
    margin-bottom: .9rem;
}

/* Academic variant — beige date column */
.events-jump-bar-academic ~ #events .event-row-date,
.page-hero-academic ~ * .event-row-date,
.inner-section-alt .event-row-date {
    background: var(--beige-dark);
}

@media (max-width: 600px) {
    .event-row { grid-template-columns: 110px 1fr; }
    .event-row-body { padding: 1.2rem 1.2rem; }
    .erd-value { font-size: .95rem; }
    .events-jump-bar { top: 76px; }
}
