/* GCIIT Society - base styles shared by every page (reset, header, mobile menu, footer, logo). */
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.65 Figtree,system-ui,sans-serif}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
h1,h2,h3{font-family:Fraunces,Georgia,serif;line-height:1.1;margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

/* Header, mobile menu and footer */
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:#1F1610;color:#fff}
header .wrap{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 16px;min-height:64px;height:auto;padding-top:0;padding-bottom:0}
header .brand{font:800 20px/1.1 Fraunces,Georgia,serif;text-decoration:none;color:#fff}
header .brand small{display:block;font:400 12px Figtree,sans-serif;opacity:.8;margin-top:2px}
header .site-nav{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:500}
header .site-nav a{display:inline-block;margin:0;padding:4px 0;color:#fff;text-decoration:none;opacity:.85;border-bottom:2px solid transparent;background:none;border-radius:0;font-weight:500}
header .site-nav a:hover{opacity:1}header .site-nav a[aria-current]{opacity:1;color:#D9A441;border-bottom-color:#D9A441}
.burger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;padding:0;background:none;border:1.5px solid rgba(255,255,255,.5);border-radius:8px;cursor:pointer}
.burger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
header.open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}header.open .burger span:nth-child(2){opacity:0}header.open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
footer{background:#1F1610;color:#D9C9AE;padding:44px 0;font-size:15px}
footer .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
footer h3{font-size:17px;color:#fff;margin-bottom:10px}footer a{display:block;text-decoration:none;margin:4px 0;color:inherit}footer a:hover{color:#fff}footer p{margin:0 0 10px}
@media(max-width:820px){header .wrap{flex-direction:row;align-items:center;padding-top:8px;padding-bottom:8px}.burger{display:flex}
header .site-nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;margin-top:8px;padding:4px 0 8px;border-top:1px solid rgba(255,255,255,.18);font-size:17px}
header.open .site-nav{display:flex}header .site-nav a{padding:13px 4px;border-bottom:1px solid rgba(255,255,255,.1)}header .site-nav a[aria-current]{border-bottom-color:rgba(255,255,255,.1)}
footer .wrap{grid-template-columns:1fr}}

/* Logo */
:root{--logo:url("../img/logo.webp")}
.brand{display:flex;align-items:center;gap:12px}
.logo{display:block;flex:none;width:46px;height:46px;border-radius:50%;background:var(--logo) center/cover no-repeat}
.logo.big{width:72px;height:72px;margin-bottom:14px}

/* Footer brand and copyright line */
.fbrand{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.fbrand .logo.big{width:64px;height:64px;margin:0}
.fbrand h3{margin:0;font-size:26px}
footer .copy{grid-column:1/-1;margin:14px 0 0;padding-top:22px;border-top:1px solid rgba(255,255,255,.22);text-align:center;font-size:14px}
