/* ==========================================================================
   WUAVF Malaysia — Design System
   White + brand blue (#206EAC). Trust & Authority direction.
   ========================================================================== */

:root {
  /* Brand blue scale (derived from #206EAC) */
  --blue-50:  #eef5fb;
  --blue-100: #d8e8f5;
  --blue-200: #b3d0ea;
  --blue-300: #7fb0da;
  --blue-400: #4a90c9;
  --blue-500: #206eac; /* brand */
  --blue-600: #1b5e94;
  --blue-700: #174f7c;
  --blue-800: #134066;
  --blue-900: #0f3252;

  --brand: var(--blue-500);
  --brand-dark: var(--blue-700);

  /* Neutrals */
  --ink:    #16263a;  /* headings */
  --body:   #3c4d61;  /* paragraph text */
  --muted:  #6b7c8f;
  --line:   #e3e9f0;
  --line-2: #eef2f7;

  --bg:      #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eaf2f9;
  --white:   #ffffff;

  --success: #1e9e6a;
  --danger:  #d64545;
  --warning: #c9851f;

  /* Type */
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --radius:   12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(16,38,58,.06), 0 1px 3px rgba(16,38,58,.08);
  --shadow:    0 6px 18px rgba(16,38,58,.08);
  --shadow-md: 0 12px 30px rgba(16,38,58,.12);
  --shadow-lg: 0 24px 60px rgba(16,38,58,.16);

  --t-fast: .15s ease;
  --t:      .25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-dark); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--bg-tint); }
.section.brand { background: var(--brand); color: #dcebff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.lead { font-size: 1.2rem; color: var(--body); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: all var(--t); cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: #4caf50; color: #fff; box-shadow: 0 8px 20px rgba(76,175,80,.3); }
.btn-primary:hover { background: #43a047; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(76,175,80,.4); }
.btn-outline { border-color: #4caf50; color: #43a047; background: transparent; }
.btn-outline:hover { background: #4caf50; border-color: #4caf50; color: #fff; transform: translateY(-2px); }
.btn-green { background: #4caf50; color: #fff; box-shadow: 0 8px 20px rgba(76,175,80,.32); }
.btn-green:hover { background: #43a047; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(76,175,80,.42); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--blue-50); color: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--brand); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), padding var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand-link { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-link img { width: 52px; height: 52px; }
.brand-link .bt { line-height: 1.1; }
.brand-link .bt strong { font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink); display: block; }
.brand-link .bt span { font-size: .76rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  color: var(--ink); padding: 10px 14px; border-radius: 8px; position: relative;
}
.main-nav a:hover { color: var(--brand); background: var(--blue-50); }
.main-nav a.active { color: var(--brand); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1040px) {
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 80px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height var(--t);
  }
  .main-nav.open { max-height: 80vh; overflow:auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 22px 22px; gap: 2px; }
  .main-nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--blue-50); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600));
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 320px at 88% -10%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(420px 260px at 6% 120%, rgba(255,255,255,.10), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 640px; margin-top: 12px; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.78); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; margin: 0 8px; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.feature .ico {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--brand); margin-bottom: 20px;
}
.feature .ico svg { width: 30px; height: 30px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9cbdd; font-size: .98rem; }
.footer-top { padding: 72px 0 52px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer a { color: #b9cbdd; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand .badge { background: #fff; border-radius: 50%; padding: 8px; display: grid; place-items: center; }
.footer-brand .badge img { width: 46px; height: 46px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.footer-links li { margin-bottom: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #8fa6bd; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.badge-pill { display:inline-block; background: var(--blue-50); color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color:#fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color:#fff; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Home page
   ========================================================================== */
.home-hero {
  position: relative; overflow: hidden;
  min-height: clamp(430px, 44vw, 560px);
  background-color: #e9edf2;
  background-image:
    repeating-linear-gradient(60deg, rgba(20,40,70,.05) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-60deg, rgba(20,40,70,.05) 0 2px, transparent 2px 22px);
}
.hero-pattern-left {
  position: absolute; top: 0; bottom: 0; left: 0; width: 22%; z-index: 1;
  background-color: var(--blue-500);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 15px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 2px, transparent 2px 15px);
}
.hero-stage { position: absolute; top: 0; bottom: 0; left: 22%; right: 12%; z-index: 1; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center top; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.on { opacity: 1; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: background .2s, transform .2s; }
.hero-dot:hover { background: rgba(255,255,255,.9); }
.hero-dot.on { background: #4caf50; transform: scale(1.25); }
.hero-card-wrap { position: absolute; left: clamp(44px, 7vw, 150px); top: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 360px; max-width: calc(100% - 72px); }
.hero-card { position: relative; background: #fff; box-shadow: 0 26px 60px rgba(16,38,58,.22); width: 100%; max-width: 360px; padding: 30px 36px; text-align: left; }
.hero-card .eyebrow { color: var(--brand); margin-bottom: 10px; font-size: .72rem; }
.hero-card h1 { color: var(--ink); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.18; margin: 0; }
.hero-card-btn { align-self: center; background: #4caf50; border-radius: 0; box-shadow: 0 12px 26px rgba(76,175,80,.4); }
.hero-card-btn:hover { background: #43a047; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76,175,80,.5); }
@media (max-width: 900px) {
  .home-hero { min-height: 0; }
  .hero-pattern-left { display: none; }
  .hero-stage { position: relative; left: 0; right: 0; height: 280px; z-index: 1; }
  .hero-card-wrap { position: relative; z-index: 4; left: auto; width: auto; max-width: none; align-items: stretch; padding: 18px 18px 0; gap: 0; }
  .hero-card { margin: 0 auto; max-width: 100%; text-align: center; }
  .hero-card-btn { align-self: center; }
}

/* Feature cards with image header */
.feature-photo { padding: 0; overflow: hidden; }
.feature-photo .feature-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; }
.feature-photo .feature-body { padding: 26px 30px 30px; }

.about-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; gap: 30px; } }
.checklist { display: grid; gap: 14px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1.06rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px; box-shadow: var(--shadow-sm);
}
.checklist svg { width: 24px; height: 24px; color: #fff; background: #4caf50; border-radius: 50%; padding: 4px; flex: 0 0 auto; }

.stats-section { background: #fff; }
.stats { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--brand); line-height: 1; }
.stat .lbl { color: var(--muted); margin-top: 8px; font-weight: 500; }

.section.brand.cta-band { background: linear-gradient(120deg, #2e8b3d, #4caf50); color: #eafff0; }

/* ==========================================================================
   Inner pages: prose, lists, empty states
   ========================================================================== */
.prose { font-size: 1.1rem; color: var(--body); }
.prose h2 { margin: 1.6em 0 .5em; } .prose h3 { margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; }
.prose li { margin: .35em 0; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { text-decoration: underline; }
.prose blockquote { border-left: 4px solid var(--blue-200); padding: .4em 1.1em; color: var(--muted); margin: 1.2em 0; background: var(--blue-50); border-radius: 0 8px 8px 0; }
.article-meta { color: var(--muted); font-family: var(--font-head); font-weight: 600; margin-bottom: 14px; }
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow); }
.link-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-weight: 500; }
.link-list a:hover { color: var(--brand); }
.link-list time { color: var(--muted); font-weight: 500; white-space: nowrap; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state h3 { color: var(--ink); margin-bottom: 8px; }

/* Leadership cards */
.leadership { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.leader-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--t), box-shadow var(--t); }
.leader-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.leader-card .lc-role { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--brand); margin-bottom: 8px; }
.leader-card .lc-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.12rem; line-height: 1.35; }
.leader-card.lvl0, .leader-card.lvl1 { grid-column: 1 / -1; }
.leader-card.lvl0 { background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); border: 0; }
.leader-card.lvl0 .lc-role { color: #bcd8f3; } .leader-card.lvl0 .lc-name { color: #fff; font-size: 1.3rem; }
.leader-card.lvl1 { background: var(--blue-50); border-color: var(--blue-100); }
@media (max-width: 760px) { .leadership { grid-template-columns: 1fr; } }

/* Advisors */
.advisor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.advisor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.advisor:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.advisor .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; }
.advisor .avatar svg { width: 34px; height: 34px; }
.advisor .adv-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.advisor .adv-role { color: var(--muted); font-size: .85rem; margin-top: 4px; }
@media (max-width: 900px) { .advisor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .advisor-grid { grid-template-columns: repeat(2, 1fr); } }

/* Org chart */
.org-chart { max-width: 560px; margin: 0 auto; }
.org-level { position: relative; display: flex; justify-content: center; padding-top: 34px; }
.org-level.top { padding-top: 0; }
.org-level:not(.top)::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 34px; background: var(--blue-200); transform: translateX(-50%); }
.org-box { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); text-align: center; }
.org-box .ob-role { display: block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; color: var(--brand); margin-bottom: 5px; }
.org-box .ob-name { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.org-box.lvl0 { background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); border: 0; }
.org-box.lvl0 .ob-role { color: #bcd8f3; } .org-box.lvl0 .ob-name { color: #fff; }
.org-box.more { border-style: dashed; display: block; transition: all var(--t); }
.org-box.more:hover { border-color: var(--brand); background: var(--blue-50); }

/* Post cards (news + home) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); color: inherit; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pc-cover { aspect-ratio: 16 / 10; background: linear-gradient(120deg, var(--blue-100), var(--blue-50)); background-size: cover; background-position: center top; display: grid; place-items: center; }
.pc-cover .pc-ph { width: 74px; opacity: .5; }
.pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-date { color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.pc-source { color: #43a047; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.readmore { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-family: var(--font-head); font-weight: 600; margin-top: 14px; }
.readmore svg { width: 18px; height: 18px; transition: transform var(--t); }
.post-card:hover .readmore svg, .event-card:hover .readmore svg { transform: translateX(4px); }

/* Events */
.event-list { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
.event-card { display: grid; grid-template-columns: 110px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); color: inherit; transition: transform var(--t), box-shadow var(--t); }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ev-date { background: var(--blue-50); border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; text-align: center; }
.ev-date .d { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--brand); line-height: 1; }
.ev-date .m { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); font-size: .85rem; margin-top: 4px; }
.ev-date .y { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.ev-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.ev-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.ev-loc svg { width: 16px; height: 16px; }
.ev-body p { color: var(--muted); }
@media (max-width: 560px) { .event-card { grid-template-columns: 76px 1fr; gap: 16px; padding: 18px; } .ev-date .d { font-size: 1.5rem; } }
.event-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.em-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-50); color: var(--brand-dark); border-radius: 999px; padding: 9px 16px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.em-pill svg { width: 18px; height: 18px; color: var(--brand); }

/* Gallery albums */
/* Gallery — masonry of featured images at their natural orientation (muda style) */
.album-grid { column-count: 3; column-gap: 16px; }
@media (max-width: 820px) { .album-grid { column-count: 2; } }
@media (max-width: 520px) { .album-grid { column-count: 1; } }
.album-card { position: relative; display: block; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: #fff; }
.album-card .ac-img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.album-card:hover .ac-img { transform: scale(1.05); }
.album-card:hover { box-shadow: var(--shadow-md); }
.ac-ph-box { aspect-ratio: 4 / 3; background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); display: grid; place-items: center; }
.ac-ph-box img { width: 64px; opacity: .6; }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,22,38,.92), rgba(8,22,38,.4) 45%, rgba(8,22,38,0) 78%); pointer-events: none; }
.ac-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 18px; }
.ac-overlay .ac-count { display: inline-block; background: rgba(255,255,255,.22); color: #fff; font-size: .68rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; backdrop-filter: blur(4px); }
.ac-overlay h3 { color: #fff; font-size: 1.04rem; line-height: 1.25; margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.ac-overlay p { color: rgba(255,255,255,.82); font-size: .8rem; margin: 4px 0 0; }

/* Photo grid + lightbox */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-50); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.photo:hover img { transform: scale(1.06); }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(9,24,40,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s; }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #cfe0f2; font-size: .95rem; padding: 0 20px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background var(--t); }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 18px; right: 18px; }
@media (max-width: 560px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-btn { width: 44px; height: 44px; } }

/* Contact */
.contact-split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; gap: 30px; } }
.contact-form-wrap h2 { margin-bottom: 18px; }
.form .field { display: block; margin-bottom: 16px; }
.form .field > span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.form .field em { color: var(--danger); font-style: normal; }
.form input, .form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color var(--t), box-shadow var(--t); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--blue-100); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; font-size: .98rem; }
.alert.success { background: #e7f6ee; color: #176c47; border: 1px solid #b9e3cc; }
.alert.error { background: #fdeaea; color: #9c2b2b; border: 1px solid #f3c2c2; }
.contact-info { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-info h3 { margin-bottom: 18px; }
.ci-list { display: grid; gap: 18px; }
.ci-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-ico { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.ci-ico svg { width: 20px; height: 20px; }
.ci-l { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.ci-card { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.ci-card p { color: var(--muted); }
.ci-card strong { color: var(--ink); font-family: var(--font-head); }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.yt-facade { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; display: block; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity var(--t); }
.yt-facade:hover img { opacity: .82; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.yt-play svg { width: 68px; height: 48px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); transition: transform var(--t); }
.yt-facade:hover .yt-play svg { transform: scale(1.1); }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { padding: 16px 18px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.35; }
/* Self-hosted (vertical) video player */
.video-local { background: #000; display: flex; align-items: center; justify-content: center; height: 440px; }
.video-local video { max-width: 100%; max-height: 100%; display: block; }
@media (max-width: 600px) { .video-local { height: 70vh; max-height: 560px; } }
