/* Polished, responsive stylesheet inspired by alphaxialumni.org */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');

:root{
	--accent:#3c2985; /* deep purple */
	--accent-2:#6f58c8; /* lighter purple */
	--bg:#fbfbfd;
	--muted:#6b6b6b;
	--card:#ffffff;
	--max-width:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial; margin:0; color:#222; background:var(--bg); line-height:1.6}
.container{max-width:var(--max-width);margin:0 auto;padding:1rem}

/* Header */
.site-header{background:#fff;position:sticky;top:0;z-index:60;border-bottom:1px solid #eee}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:0.75rem 0}
.brand{display:flex;align-items:center;gap:0.75rem;text-decoration:none;color:var(--accent)}
.brand img{width:56px;height:56px;border-radius:8px;object-fit:cover}
.brand span{font-family:'EB Garamond',serif;font-size:1.15rem;color:var(--accent);font-weight:600}

.site-nav{display:flex;gap:0.5rem;align-items:center}
.site-nav a{padding:0.5rem 0.9rem;color:var(--accent);text-decoration:none;border-radius:8px;font-weight:600}
.site-nav a:hover{background:var(--accent);color:#fff}
.site-nav a.active{background:var(--accent);color:#fff}

.nav-toggle{display:none;background:none;border:0;font-size:1.25rem}

/* Hero */
.hero{padding:4rem 0 3rem;background:linear-gradient(180deg,rgba(108,81,199,0.06),transparent)}
.hero .hero-inner{display:flex;align-items:center;gap:2rem}
.hero h1{font-family:'EB Garamond',serif;font-size:2.8rem;margin:0;color:var(--accent)}
.hero p.lede{max-width:700px;color:#444;margin:0.5rem 0 1.25rem;font-size:1.05rem}
.cta-row{margin-top:1rem}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:0.7rem 1.1rem;border-radius:8px;text-decoration:none;font-weight:700}
.btn.ghost{background:transparent;border:2px solid var(--accent);color:var(--accent)}

/* Site hero / about banner */
.site-hero{background:linear-gradient(180deg, rgba(108,81,199,0.06), transparent);padding:3rem 0;margin-bottom:1rem}
.site-hero .hero-inner{display:flex;align-items:center;gap:1.25rem}
.site-hero .hero-content h1{font-family:'EB Garamond',serif;font-size:2.4rem;margin:0;color:var(--accent)}
.site-hero .hero-content p{color:#444;margin-top:0.5rem}
.site-hero .crest{width:96px;height:96px;border-radius:12px;object-fit:cover}

/* Nav tweaks */
.site-nav a { padding:0.55rem 0.9rem; }
.site-nav .donate{background:var(--accent-2);color:#fff;border-radius:8px;padding:0.45rem 0.75rem;margin-left:0.5rem}

/* About copy styles */
.about-copy{max-width:900px;margin-top:1rem}
.about-copy p{margin-bottom:1rem;color:#333}
.about-copy .muted{color:#666;font-style:italic;margin-top:1rem}

/* contact result message */
#contact-result{display:none;padding:0.5rem 0;color:var(--accent)}

/* Cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}
.home-cards article{background:var(--card);border-radius:12px;padding:1.35rem;box-shadow:0 6px 20px rgba(24,24,24,0.06);border:1px solid rgba(0,0,0,0.03)}
.home-cards h3{font-family:'EB Garamond',serif;margin-top:0;margin-bottom:0.5rem;color:var(--accent)}
.home-cards p{color:#555;margin:0}

.content{padding:2.25rem 0}

/* Footer */
.site-footer{border-top:1px solid rgba(0,0,0,0.06);padding:2rem 0;background:#fff;margin-top:2rem}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.footer-col{flex:1}
.footer-col h4{font-family:'EB Garamond',serif;margin-bottom:0.5rem;color:var(--accent)}
.footer-col p,a{color:#444}
.socials a{color:var(--accent);margin-right:0.75rem;text-decoration:none}

/* Tabs */
.tabs{margin-top:1rem}
.tab-list{display:flex;gap:0.5rem;flex-wrap:wrap}
.tab{padding:0.5rem 0.9rem;border-radius:8px;border:1px solid #eee;background:#fff}
.tab.active{background:var(--accent);color:#fff}
.tab-panels{margin-top:1rem}
.tab-panel{display:none}
.tab-panel.active{display:block}

.officer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.card{background:#fff;border-radius:10px;padding:1rem;box-shadow:0 6px 18px rgba(24,24,24,0.06)}
.avatar{width:64px;height:64px;border-radius:999px;background:var(--accent-2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:0.5rem}

.iframe-wrap iframe{width:100%;height:640px;border:0;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,0.06)}

.contact-form{display:grid;gap:0.75rem;max-width:640px}
.contact-form label{display:flex;flex-direction:column;font-size:0.95rem}
.contact-form input,.contact-form textarea{padding:0.6rem;border:1px solid #e6e6e9;border-radius:8px}

/* Contact page: center content and constrain form width */
.contact-page{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2.25rem 0}
.contact-page .contact-form{margin-top:1rem;max-width:640px;width:100%}
.contact-page .contact-form input,.contact-page .contact-form textarea{width:100%}

/* On the contact page place label text to the left of the fields on wider screens */
.contact-page .contact-form label{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:0.75rem;font-size:0.95rem;text-align:left}
.contact-page .contact-form label input,.contact-page .contact-form label textarea{width:100%}

@media (max-width:520px){
	/* stack label above field on small screens for readability */
	.contact-page .contact-form label{grid-template-columns:1fr;grid-auto-rows:auto}
}

/* Contact card visuals and spacing */
.contact-card{background:var(--card);padding:2rem;border-radius:12px;box-shadow:0 10px 30px rgba(24,24,24,0.06);border:1px solid rgba(0,0,0,0.04);max-width:720px;width:100%}
.contact-card h1{font-family:'EB Garamond',serif;font-size:1.9rem;margin:0 0 0.5rem;color:var(--accent)}
.contact-card p{color:#444;margin:0 0 1rem}
.contact-card .contact-form{margin-top:0;display:grid;gap:0.75rem}

/* button alignment inside the grid (right on desktop, centered on mobile) */
.contact-card .contact-form .btn{justify-self:end;margin-top:0.5rem}
.contact-card .contact-form .btn:disabled{opacity:0.6}

/* input focus state */
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--accent-2);box-shadow:0 6px 18px rgba(111,88,200,0.08)}

/* make the result message visible space-wise */
#contact-result{display:block;margin-top:0.25rem;color:var(--accent)}

@media (max-width:520px){
	.contact-card{padding:1rem}
	.contact-card .contact-form .btn{justify-self:center;width:100%}
}

/* modal small tweaks */
#site-modal .modal{border-radius:12px}

@media (max-width:900px){
	.hero .hero-inner{flex-direction:column;align-items:flex-start}
	.site-nav{display:none}
	.nav-toggle{display:inline-block}
}

	/* hero image utility */
	.hero-image{width:220px;height:auto;border-radius:12px;box-shadow:0 10px 30px rgba(60,41,133,0.08);object-fit:cover}

@media (max-width:520px){
	.brand img{width:44px;height:44px}
	.hero h1{font-size:1.9rem}
}

/* Roster styles and filter */
.tabs .filter-row{display:flex;gap:0.75rem;align-items:center;margin:1rem 0}
.filter-input{flex:1;padding:0.6rem 0.8rem;border-radius:8px;border:1px solid #e6e6e9}
.roster{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0.65rem}
.roster li{background:var(--card);padding:0.75rem 1rem;border-radius:8px;border:1px solid rgba(0,0,0,0.03);display:flex;justify-content:space-between;align-items:center}
.roster li strong{display:block;font-weight:700;color:var(--accent)}
.roster li .year{color:#666;font-size:0.95rem}
.roster-empty{display:none;color:#777;padding:0.75rem 0}
@media (max-width:720px){
	.roster{grid-template-columns:1fr}
}

/* Alumni page layout tweaks */
.alumni-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-top:1rem}
.alumni-card h2{margin-top:0;font-size:1.25rem;color:var(--accent);font-family:'EB Garamond',serif}
.simple-list{list-style:none;padding:0;margin:0 0 0.5rem 0;color:#333}
.simple-list li{padding:0.25rem 0}
.simple-list li strong{display:inline-block;width:120px;color:#222}

@media (max-width:520px){
  .simple-list li strong{display:block;width:auto;margin-bottom:0.25rem}
}
