/* ====== THEME ====== */
:root{
  --ink: #1f2a30;                 /* deep charcoal for text */
  --ink-2: #3a4a52;               /* secondary text */
  --p-600: rgb(137,168,178);      /* accent */
  --p-400: rgb(179,200,207);      /* surface alt */
  --p-200: rgb(229,225,218);      /* soft surface */
  --p-100: rgb(241,240,232);      /* page bg */
  --white: #ffffff;

  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 42px rgba(0,0,0,.12);
  --speed: 280ms;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html, body { height: 100%; scroll-behavior: smooth; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji;
  color: var(--ink);
  background: var(--p-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== NAVBAR ====== */
.navbar{
  position: sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding: .8rem 1rem;
  background: color-mix(in srgb, var(--p-600) 85%, #0000 15%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(120%) blur(6px);
}
.nav-left{ display:flex; align-items:center; gap:.8rem; }
.brand{ display:flex; align-items:center; gap:.6rem; color: var(--white); text-decoration:none; }
.brand-mark{
  width: 34px; height: 34px; display:grid; place-items:center;
  background: var(--white); color: var(--p-600); border-radius: 10px; font-weight:700;
  box-shadow: var(--shadow-sm);
}
.brand-name{ font-weight:700; letter-spacing:.2px; }

.hamburger{ display:none; background:none; border:none; cursor:pointer; padding:.25rem; }
.hamburger span{ display:block; width:24px; height:2px; background:var(--white); margin:5px 0; transition:transform var(--speed), opacity var(--speed); }

.nav-links{ list-style:none; display:flex; align-items:center; gap:1rem; }
.nav-link{ color: var(--white); text-decoration:none; position:relative; padding:.25rem .35rem; }
.nav-link::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px;
  background: currentColor; transform: scaleX(0); transform-origin:left; transition: transform var(--speed);
  opacity:.6;
}
.nav-link:hover::after{ transform: scaleX(1); }

.btn{ display:inline-block; border-radius: 999px; padding:.6rem 1rem; text-decoration:none; font-weight:600; box-shadow: var(--shadow-sm); }
.btn-ghost{ background: rgba(255,255,255,.18); color: var(--white); border:1px solid rgba(255,255,255,.35); }
.btn-accent{ background: var(--white); color: var(--p-600); }
.btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); transition: transform var(--speed), box-shadow var(--speed); }
.btn-block{ width:100%; }

/* ====== HERO ====== */
.hero{
  position: relative;
  display:grid; place-items:center;
  min-height: 72vh;
  text-align:center;
  padding: 6rem 1rem 4rem;
  overflow:hidden;
}
.hero-inner{
  max-width: 900px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.35));
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.04);
  backdrop-filter: blur(8px);
}
.hero-title{
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: .3px;
  margin-bottom: .5rem;
}
.hero-title span{ color: var(--p-600); }
.motto{
  margin: .35rem auto 1.4rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ink-2);
  min-height: 1.6em;
}

/* decorative shapes */
.shape{ position:absolute; pointer-events:none; opacity:.18; }
.dot-grid{
  width: 520px; height: 520px; background: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 18px 18px; color: var(--p-400);
  top: -80px; left: -80px; transform: rotate(8deg);
}
.ring{
  width: 520px; height: 520px; border-radius: 50%; border: 24px solid var(--p-200);
  bottom: -140px; right: -120px;
}

/* ====== SECTIONS ====== */
.section{ max-width: 1100px; margin: 4rem auto; padding: 0 1rem; }
.section-header{ text-align:center; margin-bottom: 1.4rem; }
.section-header h2{ font-size: clamp(1.4rem, 3.2vw, 2rem); margin-bottom:.35rem; }
.section-header p{ color: var(--ink-2); max-width: 720px; margin: 0 auto; }

.about{ background: var(--p-200); border-radius: var(--radius); padding: 2rem 1rem; box-shadow: var(--shadow-sm); }
.about-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.about-card{
  background: var(--white); border: 1px solid rgba(0,0,0,.05);
  border-radius: 14px; padding: 1rem; box-shadow: var(--shadow-sm);
}
.about-card h3{ margin-bottom:.35rem; font-size:1.05rem; }

.stats{ display:flex; gap:1rem; justify-content:center; margin-top: 1.25rem; flex-wrap: wrap; }
.stat{ background: var(--white); border:1px solid rgba(0,0,0,.05); border-radius: 14px; padding: 1rem 1.25rem; min-width: 160px; text-align:center; box-shadow: var(--shadow-sm); }
.stat-num{ font-weight:800; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--p-600); }
.stat-label{ color: var(--ink-2); font-weight:600; }

.events .cards, .staff .cards{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.card{
  background: var(--white);
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 14px; overflow:hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--speed), box-shadow var(--speed);
}
.card-body{ padding: 1rem 1.1rem; }
.card h3{ margin-bottom:.35rem; }
.card time{ display:block; margin-top:.4rem; color: var(--p-600); font-weight:700; font-size:.95rem; }

.hover-lift:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.person{ display:flex; align-items:center; gap:.9rem; }
.avatar{
  width: 46px; height: 46px; display:grid; place-items:center; font-weight:800;
  background: var(--p-400); color: var(--ink); border-radius: 50%;
}

/* ====== MODAL ====== */
.modal{ position: fixed; inset:0; display:none; place-items:center; background: rgba(0,0,0,.25); padding: 1rem; z-index:100; }
.modal.show{ display:grid; animation: fadeIn var(--speed) ease-out; }
.modal-dialog{
  width: 100%; max-width: 520px; background: var(--white); border-radius: 16px; padding: 1.25rem;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,.05);
}
.modal-close{ position:absolute; transform: translate(240px, -14px); background: var(--p-200); border:none; width:34px; height:34px; border-radius:50%; cursor:pointer; }
.field{ margin: .75rem 0; }
label{ display:block; font-weight:700; margin-bottom:.35rem; }
input, select, textarea{
  width:100%; border-radius: 10px; border:1px solid rgba(0,0,0,.12); padding:.65rem .8rem; font: inherit; background: var(--p-100);
}
input:focus, select:focus, textarea:focus{ outline: none; border-color: var(--p-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p-600) 30%, transparent); }

/* ====== FOOTER ====== */
.footer{ background: var(--p-600); color: var(--white); padding: 1rem; text-align: center; }
.footer a{ color: var(--white); text-decoration: none; }
.footer .social{ margin-top: .5rem; display:flex; gap:.6rem; justify-content:center; }
.social-link svg{ transition: transform var(--speed); }
.social-link:hover svg{ transform: scale(1.15); }

/* ====== ANIMATIONS ====== */
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .8s ease-out, transform .8s ease-out; }
.reveal.show{ opacity:1; transform: none; }

  
  