/* Baby Mamas Organisation - stylesheet v4
   Styled after the Football Kenya Federation site: a dark editorial ground with
   warm cream interludes, DM Sans for UI text, Playfair Display serif for section
   and card headlines, green as the primary action colour, red kept for alerts
   and the one "featured" tag. Self-hosted fonts (no outbound requests). */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/dm-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/dm-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/dm-sans-800.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/playfair-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfair-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/playfair-600i.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/playfair-700i.woff2') format('woff2'); }

:root {
  --black: #050505;
  --panel: #171b19;
  --ink-dark: #101211;
  --line-dark: #303532;
  --line-dark-2: #262b28;
  --cream: #eee3d2;
  --cream-2: #eee5d7;
  --paper: #fdf9f2;
  --card-paper: #fff8ee;
  --card-paper-line: #d6c9b7;
  --ink: #211b17;
  --ink-2: #6d6359;
  --ink-3: #8c8273;
  --muted: #a9aaa7;
  --muted-2: #9b9f9c;
  --green: #00a66a;
  --green-deep: #007e53;
  --green-bright: #00d995;
  --red: #e30613;
  --red-deep: #b1030e;
  --maroon: #3b100d;
  --forest: #0e2c22;
  --yellow: #ffc928;
  --yellow-2: #ffdc40;
  --navy: #0a1446;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 10px;
  --r-pill: 30px;
  --wrap: 1220px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
  /* aliases used by the admin stylesheet */
  --black: #050505; --paper-alias: #eee3d2; --ink-soft: #6d6359; --line: #e4ddd0;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: .95rem; line-height: 1.65; color: #f7f7f5; background: var(--ink-dark); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.2rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--green); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 300; }
.skip:focus { left: 1rem; top: .5rem; }

/* ---------- Announcement banner ---------- */
.announcement-bar { background: var(--green-deep); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; }
.announcement-inner { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .65rem 2.4rem .65rem 1rem; position: relative; }
.announcement-bar a { color: #fff; text-decoration: underline; }
.announcement-close { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: .3rem .5rem; opacity: .85; }
.announcement-close:hover { opacity: 1; }
.announcement-bar.is-dismissed { display: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.015em; }
.h2 em { color: var(--green); font-style: italic; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.eyebrow { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.page-content .eyebrow, .page-hero .eyebrow { color: #86796a; }
.section { padding: 3.4rem 0 4.2rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-heading .section-sub { color: var(--muted); font-size: .95rem; max-width: 36rem; margin: .9rem 0 0; line-height: 1.6; }
.page-content .section-sub { color: var(--ink-2); }
.section-link { color: var(--green-bright); font-size: .8rem; font-weight: 700; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .8rem 1.7rem; border-radius: var(--r-sm); border: 0; font: 700 .82rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 38px; padding: .55rem 1.1rem; font-size: .76rem; }
.btn-lg { min-height: 52px; padding: .95rem 2rem; font-size: .86rem; }
.btn-block { display: flex; width: 100%; }
.btn-red { background: var(--green); color: #fff; }
.btn-red:hover { background: var(--green-deep); }
.btn-alert { background: var(--red); color: #fff; }
.btn-alert:hover { background: var(--red-deep); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cream); }
.btn-glass { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-outline:hover, .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; font-weight: 700; font-size: .82rem; color: var(--green-bright); text-decoration: none; }
.page-content .arrow-link { color: var(--green-deep); }
.arrow-link::after { content: "\2192"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }
.text-link { display: inline-block; padding: .5rem 0; color: var(--green-bright); font-weight: 700; font-size: .85rem; }
.page-content .text-link { color: var(--green-deep); }
.link-button { background: none; border: 0; padding: 0; font-weight: 600; color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:disabled { color: var(--muted); text-decoration: none; cursor: not-allowed; }
.round-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--card-paper-line); background: #fff; color: var(--ink); font-size: 1.05rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.round-btn:hover { border-color: var(--ink-3); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-pill { height: 100%; max-width: var(--wrap); width: min(100% - 2.2rem, var(--wrap)); margin: 0 auto; display: flex; align-items: center; gap: 1.1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: .98rem; margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid #d9d9d9; object-fit: contain; padding: 4px; }
.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav a:not(.btn) { text-decoration: none; font-size: .82rem; font-weight: 600; padding: .62rem .72rem; border-radius: var(--r-sm); transition: background-color .2s, color .2s; }
.site-nav a:not(.btn):hover { background: var(--panel); }
.site-nav a.nav-blink:not(.btn), .mobile-panel a.nav-blink { animation: nav-blink 1.3s ease-in-out infinite; }
@keyframes nav-blink {
  0%, 100% { color: var(--yellow); background-color: rgba(255, 201, 40, .16); box-shadow: 0 0 0 1px rgba(255, 201, 40, .45); }
  50%      { color: #fff; background-color: transparent; box-shadow: 0 0 0 1px rgba(255, 201, 40, 0); }
}
.site-nav a[aria-current="page"]:not(.btn) { color: var(--green-bright); background: rgba(0, 166, 106, .14); }
.nav-cta-mobile { display: none; }
.nav-cta { background: var(--green); color: #fff; border-radius: var(--r-pill); padding: .6rem 1.1rem !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--green-deep) !important; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid #333; background: var(--black); color: #fff; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-panel { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: clamp(480px, 68vh, 660px); overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transition: opacity .4s; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .4) 54%, rgba(0, 0, 0, .08) 100%), linear-gradient(0deg, var(--black) 0%, transparent 32%); }
.hero-content { position: absolute; z-index: 2; left: max(1.5rem, calc((100vw - var(--wrap)) / 2)); right: 1.5rem; bottom: clamp(60px, 9vw, 92px); max-width: 680px; }
.tags { display: flex; gap: .6rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 800; border-radius: var(--r-pill); padding: .4rem .85rem; background: var(--green-deep); color: #fff; }
.tag.red { background: var(--red); }
.hero h1 { font-family: var(--sans); font-size: clamp(2rem, 4.3vw, 3.6rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 1.1rem; font-weight: 800; max-width: 18ch; }
.hero-content p { font-size: 1.05rem; line-height: 1.5; max-width: 38rem; margin: 0 0 1.6rem; color: #f0f0ee; }
.hero-meta { display: flex; gap: 1.2rem; align-items: center; color: #d7d7d5; font-size: .8rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-arrow { position: absolute; z-index: 3; top: 46%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(40, 40, 40, .72); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.hero-arrow.left { left: clamp(10px, 2vw, 28px); }
.hero-arrow.right { right: clamp(10px, 2vw, 28px); }
.hero-dots { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; }
.hero-dots span { width: 32px; height: 5px; border-radius: var(--r-pill); background: #777; transition: background-color .2s, width .2s; }
.hero-dots span.on { background: #fff; width: 50px; }

/* ---------- Highlight strip ---------- */
.highlight-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: .6rem .9rem; background: var(--cream-2); }
.highlight { height: 66px; border-radius: var(--r-md); display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; color: #fff; overflow: hidden; position: relative; text-decoration: none; }
.highlight::after { content: ""; position: absolute; right: -20px; top: -28px; width: 130px; height: 110px; border: 22px solid rgba(255, 255, 255, .13); border-radius: 50%; }
.highlight.navy { background: var(--navy); }
.highlight.yellow { background: var(--yellow); color: #39277d; }
.highlight.green { background: var(--green-deep); }
.highlight-logo { height: 40px; width: 40px; background: #fff; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--navy); font-weight: 900; font-size: .78rem; flex-shrink: 0; }
.highlight strong { display: block; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.highlight small { display: block; margin-top: .25rem; font-size: .76rem; }

/* ---------- Programme cards (dark, table-like) ---------- */
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.programme-card { border: 1px solid var(--line-dark); background: var(--panel); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.programme-head { padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.programme-head strong { font-size: .95rem; font-family: var(--serif); font-weight: 700; }
.programme-tagline { color: var(--muted-2); font-size: .72rem; margin-top: .2rem; }
.programme-status { color: var(--green-bright); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.programme-rows { list-style: none; margin: 0; padding: 0; font-size: .82rem; flex: 1; }
.programme-rows li { padding: .75rem 1.2rem; border-top: 1px solid var(--line-dark-2); color: #d7d7d4; }
.programme-rows li:first-child { border-top: 0; }
.programme-foot { padding: .9rem 1.2rem; border-top: 1px solid var(--line-dark); color: var(--green-bright); font-size: .78rem; font-weight: 700; text-decoration: none; display: block; }

/* ---------- News / highlight cards (reused for homepage stories + programmes) ---------- */
.news-section { background: var(--cream); color: var(--ink); padding: 3rem 0 4rem; }
.news-section .eyebrow { color: #6a6054; margin-bottom: 1.1rem; }
.news-section .section-heading { max-width: 1050px; margin: 0 auto 2.6rem; padding-bottom: 2.4rem; border-bottom: 1px solid #c9bdac; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.news-card { border-radius: var(--r-sm); overflow: hidden; background: var(--forest); border: 1px solid #202d25; text-decoration: none; display: block; color: #fff; }
.news-card:nth-child(3n+2) { background: var(--maroon); border-color: #2a1512; }
.news-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.news-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow-2); font-weight: 800; margin-bottom: .9rem; }
.news-card h3 { font-size: 1.25rem; line-height: 1.16; margin: 0 0 .7rem; letter-spacing: -.01em; }
.news-card p { color: #d5d5d0; line-height: 1.55; font-size: .82rem; margin: 0 0 .9rem; }
.read-link { font-size: .78rem; font-weight: 800; color: var(--green-bright); }

/* ---------- Dark panel sections ---------- */
.dark-section { background: var(--ink-dark); padding: 3rem 0; }
.partner-panel { background: #242524; border: 1px solid #363836; border-radius: var(--r-md); padding: 1.1rem .9rem 2.4rem; }
.partner-title { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.8rem; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); align-items: center; justify-items: center; gap: .9rem; }
.partner-logo { width: 84px; height: 84px; background: #fff; border-radius: var(--r-md); display: grid; place-items: center; color: var(--navy); font-size: .76rem; font-weight: 800; text-align: center; padding: .5rem; overflow: hidden; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--panel); padding: 2.6rem 0 1.4rem; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: 50%; top: 40px; transform: translateX(-50%); background: radial-gradient(circle, #202320 0 35%, #1c1f1d 36% 55%, transparent 56%); opacity: .55; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.4rem; min-height: 180px; }
.footer-brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid #3a3d3a; object-fit: contain; padding: 4px; }
.site-footer > .wrap > p, .footer-grid p { font-size: .85rem; color: #b9bfbb; line-height: 1.6; max-width: 22rem; }
.site-footer h2 { font-family: var(--sans); margin: .2rem 0 1.1rem; font-size: .88rem; font-weight: 700; color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-links { font-size: .85rem; color: #b9bfbb; }
.footer-links li { margin: 0 0 .6rem; }
.footer-motto { display: none; }
.footer-top { display: none; }
.affiliation { position: relative; text-align: center; margin: 1.6rem 0 1.4rem; color: #bbb; font-size: .78rem; }
.partner-pill { margin: .6rem auto 0; background: var(--green-deep); border-radius: var(--r-sm); padding: .7rem 1.4rem; width: fit-content; color: #fff; font-size: .92rem; font-weight: 800; }
.footer-base { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.4rem; margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; color: #b8bcb9; font-size: .76rem; flex-wrap: wrap; gap: .6rem; }
.footer-base p { margin: 0; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: #2b2e2c; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .9rem; }
.socials a:hover { background: var(--green-deep); color: #fff; }

/* ---------- Floating WhatsApp chip ---------- */
.chat-float { position: fixed; z-index: 90; right: 18px; bottom: 20px; display: flex; align-items: center; gap: .5rem; background: #1c2b24; border: 1px solid #3c4a42; border-radius: var(--r-pill); padding: .75rem 1.1rem; font-size: .78rem; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); text-decoration: none; color: #fff; }
.chat-float:hover { background: #22362d; }
.fab-top { position: fixed; z-index: 90; right: 18px; bottom: 76px; width: 42px; height: 42px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-dark); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; cursor: pointer; }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top:hover { background: var(--green-deep); }
body.dialog-open .chat-float, body.dialog-open .fab-top { display: none; }

/* ---------- Page hero (inner pages: flat cream band) ---------- */
.page-hero { background: var(--cream); color: var(--ink); padding: 2.2rem 0 2.8rem; }
.page-hero .wrap { max-width: 1050px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 .7rem; letter-spacing: -.015em; }
.page-hero p { color: var(--ink-2); max-width: 42rem; line-height: 1.6; font-size: 1rem; }

/* ---------- Inner-page content: warm paper ground ---------- */
.page-content { background: var(--paper); color: var(--ink); }
.page-content .section { padding: 3.2rem 0; }
.page-content .section.tint { background: var(--cream); }

/* ---------- Home: statement ---------- */
.statement-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.2rem, 5vw, 5rem); align-items: center; }
.statement-text { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.26; color: #fff; margin-bottom: 1.3rem; }
.statement-sub { color: var(--muted); font-size: 1.02rem; max-width: 34rem; margin-bottom: 1.6rem; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); }
.photo-pair img:last-child { margin-top: 3rem; }

/* ---------- KTN feature (kept, restyled dark) ---------- */
.feature { background: var(--panel); color: #fff; padding: 3.4rem 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.feature-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.6rem; max-width: 28rem; }
.feature-media { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #000; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s var(--ease); }
.feature-media:hover img { opacity: 1; transform: scale(1.03); }
.play-disc { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; background: var(--red); color: #fff; box-shadow: 0 0 0 9px rgba(227, 6, 19, .22); transition: transform .3s var(--ease); }
.feature-media:hover .play-disc { transform: scale(1.08); }
.duration { position: absolute; right: 12px; bottom: 12px; font-size: .76rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--r-sm); background: rgba(0, 0, 0, .75); color: #fff; }

/* ---------- Home: CTA ---------- */
.cta { padding: 3.4rem 0 4.2rem; background: var(--ink-dark); }
.cta-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.cta-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.cta-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, .95) 0%, rgba(0, 126, 83, .82) 42%, rgba(0, 126, 83, 0) 78%); }
.cta-body { padding: clamp(1.8rem, 4vw, 3.4rem); max-width: 540px; }
.cta-body p { font-size: 1.05rem; color: rgba(255, 255, 255, .88); margin-bottom: 1.6rem; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.2rem, 5vw, 5rem); align-items: center; }
.prose p { color: var(--ink-2); max-width: 36rem; }
.prose .lead { color: var(--ink); }
.prose a { color: var(--green-deep); font-weight: 700; }
.stack { position: relative; min-height: 520px; }
.stack img { position: absolute; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); }
.stack-a { width: 72%; height: 78%; right: 0; top: 0; }
.stack-b { width: 52%; height: 52%; left: 0; bottom: 0; border: 7px solid var(--paper); }
.motto-band { background: var(--panel); color: #fff; border-radius: var(--r-lg); margin: 0; }
.motto-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.motto-grid img { width: clamp(120px, 15vw, 190px); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 255, 255, .08); }
.motto-grid .h2 { font-size: clamp(2.1rem, 5.4vw, 4rem); color: #fff; font-style: italic; }
.motto-grid p { font-size: 1.12rem; color: var(--muted); max-width: 32rem; margin: 0; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: .9rem; margin: 0; }
.values div { padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r-md); background: var(--card-paper); border: 1px solid var(--card-paper-line); }
.values dt { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.values dt::before { content: ""; display: block; width: 26px; height: 3px; background: var(--green); border-radius: 2px; margin-bottom: .9rem; }
.values dd { margin: 0; color: var(--ink-2); }
.preamble { margin-top: 1.8rem; padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--card-paper); border: 1px solid var(--card-paper-line); border-radius: var(--r-md); }
.preamble p { color: var(--ink-2); line-height: 1.8; }
.preamble-end { color: var(--ink) !important; font-weight: 700; margin: 0; }

/* ---------- Programmes (deep-dive page) ---------- */
.programs { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.program { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 4.5rem); align-items: center; scroll-margin-top: 100px; }
.program:nth-child(even) .program-media { order: 2; }
.program-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-md); }
.program-body h2 { color: var(--ink); }
.program-body .lead { margin-bottom: 1.3rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .5rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28rem; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.panel-dark .checklist li { color: rgba(255, 255, 255, .78); }

/* ---------- Gallery ---------- */
.filterbar, .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { border: 1px solid var(--card-paper-line); background: transparent; color: var(--ink); border-radius: var(--r-pill); padding: .55rem 1rem; font-weight: 600; font-size: .82rem; cursor: pointer; transition: all .2s; }
.chip span { color: var(--ink-3); font-weight: 400; margin-left: .2rem; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: #052e21; color: #fff; border-color: #052e21; }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .6); }
.masonry { columns: 3 300px; column-gap: .7rem; }
.masonry figure { margin: 0 0 .7rem; break-inside: avoid; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; }
.masonry img { width: 100%; transition: transform .6s var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry figcaption { font-size: .86rem; color: var(--ink-3); padding: .5rem .2rem 0; }
.credit { color: var(--ink-3); font-size: .86rem; margin-top: 1.4rem; }
.fb-block { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
.fb-block iframe { width: 100%; max-width: 480px; border-radius: var(--r-md); background: #fff; }

/* ---------- Dialogs: lightbox + video ---------- */
dialog { border: 0; padding: 0; background: transparent; color: #fff; max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(0, 0, 0, .94); backdrop-filter: blur(6px); }
.lightbox { width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 88vw; max-height: 80vh; border-radius: var(--r-sm); }
.lb-caption { margin-top: 1rem; color: rgba(255, 255, 255, .8); }
.lightbox .round-btn { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.lb-prev { left: 1.25rem; } .lb-next { right: 1.25rem; }
.modal-close { position: fixed; top: 1.25rem; right: 1.25rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.video-modal { width: min(1100px, 92vw); overflow: visible; }
.video-modal video { width: 100%; border-radius: var(--r-md); background: #000; }
.video-credit { font-size: .88rem; color: rgba(255, 255, 255, .6); margin: .8rem 0 0; }

/* ---------- Partners (page body) ---------- */
.partner-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: .9rem; }
.partner { display: grid; grid-template-columns: 76px 1fr; gap: 1.3rem; padding: 1.8rem; border-radius: var(--r-md); background: var(--card-paper); border: 1px solid var(--card-paper-line); }
.partner img, .partner-mark { width: 76px; height: 76px; border-radius: var(--r-md); }
.partner img { object-fit: contain; background: #fff; }
.partner-mark { display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 800; }
.partner h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
.partner p { color: var(--ink-2); }
.panel-dark { background: var(--panel); color: #fff; border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3.6rem); }
.panel-dark h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
.prose.light p, .prose.light li { color: rgba(255, 255, 255, .78); }
.panel-dark .checklist { margin-bottom: 1.3rem; }

/* ---------- Layout helpers ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }

/* ---------- Forms ---------- */
.form-card { background: var(--card-paper); color: var(--ink); padding: clamp(1.5rem, 3.2vw, 2.4rem); border-radius: var(--r-lg); border: 1px solid var(--card-paper-line); }
.panel-dark .form-card { background: var(--panel); border: 1px solid var(--line-dark); color: #fff; }
form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 1rem; }
form input[type=text], form input[type=email], form input[type=tel], form input[type=date], form input[type=password], form select, form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .85rem .95rem; font: 400 .95rem var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--card-paper-line); border-radius: var(--r-sm); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.panel-dark form input[type=text], .panel-dark form input[type=email], .panel-dark form input[type=tel], .panel-dark form select, .panel-dark form textarea { background: #fff; color: var(--ink); border-color: transparent; }
form input:hover, form select:hover, form textarea:hover { border-color: var(--ink-3); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(0, 126, 83, .12); }
form [aria-invalid="true"] { border-color: var(--red); background: #fff5f5; }
form input[type=file] { margin-top: .45rem; }
.opt { color: var(--ink-3); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; margin-bottom: .9rem; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1rem; }
.check { display: flex !important; gap: .65rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; margin: 0 !important; }
.checks .check { padding: .8rem .95rem; border-radius: var(--r-sm); background: rgba(0, 0, 0, .03); border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.panel-dark .checks .check { background: rgba(255, 255, 255, .06); }
.checks .check:has(input:checked) { border-color: var(--green-deep); background: #fff; }
.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--green-deep); flex: none; }
.consent { margin: 0 0 .4rem !important; }
.field-error { display: block; color: var(--red-deep); font-size: .85rem; font-weight: 500; margin-top: .4rem; }
.notice { padding: .95rem 1.1rem; margin-bottom: 1.4rem; border-radius: var(--r-sm); }
.notice ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.notice p { margin: 0; }
.notice.error { background: #fdecec; color: #6e0209; }
.notice.success { background: #e6f7ef; color: #0a4a32; }
.register-form .btn-block { margin-top: 1.3rem; }
.form-note { color: var(--ink-3); font-size: .88rem; margin: -.4rem 0 1.3rem; }
.field.is-invalid > input, .field.is-invalid > select, .field.is-invalid .input-wrap input { border-color: var(--red); background: #fff5f5; }
.field.is-valid > input, .field.is-valid > select, .field.is-valid .input-wrap input { border-color: var(--green-deep); background: #fff; }
.field.is-invalid .checks .check { border-color: rgba(227, 6, 19, .35); }
.field.is-invalid .consent { color: var(--red-deep); }
.input-wrap { position: relative; display: block; }
.input-wrap input { padding-right: 2.7rem !important; }
.input-status { position: absolute; right: .85rem; top: calc(50% + .22rem); width: 17px; height: 17px; margin-top: -8px; border-radius: 50%; }
.field[data-status="checking"] .input-status { border: 2px solid var(--card-paper-line); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.field[data-status="ok"] .input-status { background: var(--green-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.field[data-status="bad"] .input-status { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.field-error:empty { display: none; }
div.field[data-group="consent"] { margin-bottom: .6rem; }
fieldset.field { margin-bottom: 1.3rem; }
.otp-status { text-align: center; color: var(--ink-3); font-size: .88rem; margin: -.4rem 0 1.1rem; min-height: 1.4em; }
.otp-form.is-checking .otp-input { border-color: var(--green-deep); background: #fff; opacity: .7; }
.otp-form.is-checking .otp-status { color: var(--ink); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Register + verify ---------- */
.register-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
.steps { position: sticky; top: 96px; background: var(--panel); color: #fff; border-radius: var(--r-lg); overflow: hidden; padding-bottom: 1.6rem; border: 1px solid var(--line-dark); }
.steps img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; margin-bottom: 1.5rem; }
.steps h2 { font-size: 1.4rem; font-weight: 700; padding: 0 1.7rem; }
.steps ol { list-style: none; counter-reset: s; padding: 0 1.7rem; margin: 0 0 1.1rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.1rem 2.6rem; color: var(--muted); font-size: .95rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--green-deep); color: #fff; font-weight: 700; font-size: .85rem; }
.steps li strong { display: block; color: #fff; }
.steps .muted { color: var(--muted); padding: 0 1.7rem; margin: 0; }
.steps .muted a { color: #fff; }
.verify-card { text-align: center; max-width: 520px; margin: 0 auto; }
.verify-card h2 { font-size: 1.7rem; font-weight: 700; }
.verify-card form { text-align: left; }
.verify-crest { width: 88px; margin: 0 auto 1.1rem; border-radius: 50%; }
.otp-input { text-align: center; font-family: var(--sans) !important; font-size: clamp(1.5rem, 6.5vw, 2.1rem) !important; font-weight: 700 !important; letter-spacing: .4em; padding-left: .4em !important; margin: 1.1rem 0 !important; }
.resend-form { margin: 1.4rem 0 .6rem; display: flex; justify-content: center; gap: .6rem; align-items: baseline; }
.member-no { font-family: var(--serif); font-size: clamp(1.9rem, 7.5vw, 2.6rem); font-weight: 800; color: var(--green-deep); margin: 0 0 1rem; letter-spacing: .02em; }

/* ---------- Contact ---------- */
.contact-details h2 { font-family: var(--sans); font-size: .76rem; font-weight: 700; color: var(--ink-3); margin: 0 0 .3rem; letter-spacing: .08em; text-transform: uppercase; }
.big-line { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.3; margin-bottom: 1.8rem; }
.big-line a { text-decoration: none; }
.big-line a:hover { color: var(--green-deep); }
.map-section { padding-top: 0; }
.map { border-radius: var(--r-lg); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Nav dropdown (Programmes) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-size: .82rem; font-weight: 600; padding: .62rem .72rem; border-radius: var(--r-sm); color: #fff; transition: background-color .2s, color .2s; }
.nav-dropdown-btn svg { transition: transform .2s var(--ease); flex-shrink: 0; }
.nav-dropdown-btn:hover { background: var(--panel); }
.nav-dropdown-btn[aria-current="page"] { color: var(--green-bright); background: rgba(0, 166, 106, .14); }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; background: var(--black); border: 1px solid #2b2e2c; border-radius: var(--r-md); padding: .5rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 150; }
.nav-dropdown.open .nav-dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown-panel a { display: block; padding: .65rem .8rem; border-radius: var(--r-sm); font-size: .85rem; font-weight: 600; text-decoration: none; color: #e9e9e6; white-space: nowrap; }
.nav-dropdown-panel a:hover { background: var(--panel); color: #fff; }
.nav-dropdown-panel a[aria-current="page"] { color: var(--green-bright); }
.nav-dropdown-panel a.nav-dropdown-all { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line-dark); border-radius: 0; margin-bottom: .35rem; padding-bottom: .7rem; }

/* Mobile accordion for Programmes inside the slide-out panel */
.mobile-group-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; cursor: pointer; text-align: left; padding: .9rem 1rem; border-radius: var(--r-sm); color: #fff; font-size: .95rem; font-weight: 600; font-family: inherit; }
.mobile-group-btn:hover { background: #17201b; }
.mobile-group[aria-current], .mobile-group.is-active > .mobile-group-btn { color: var(--green-bright); }
.mobile-submenu { display: grid; padding-left: .6rem; margin-bottom: .3rem; }
.mobile-submenu a { padding: .75rem 1rem; border-radius: var(--r-sm); text-decoration: none; color: #cfd2cf; font-size: .88rem; }
.mobile-submenu a:hover { background: #17201b; color: #fff; }
.mobile-submenu a[aria-current="page"] { color: var(--green-bright); }

/* ---------- Homepage: "next up" event strip ---------- */
.event-strip { background: var(--panel); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.event-strip-inner { display: flex; align-items: center; gap: 1.4rem; padding: 1.1rem 0; flex-wrap: wrap; }
.event-strip-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-md); background: var(--green-deep); color: #fff; }
.event-strip-date strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1; font-weight: 700; }
.event-strip-date span { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }
.event-strip-body { flex: 1; min-width: 200px; }
.event-strip-body .eyebrow { margin: 0 0 .25rem; font-size: .65rem; }
.event-strip-body h3 { margin: 0 0 .2rem; font-size: 1.15rem; color: #fff; }
.event-strip-body p { margin: 0; color: var(--muted); font-size: .86rem; }

/* ---------- Events: listing + detail ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.event-card { display: block; text-decoration: none; color: var(--ink); background: var(--card-paper); border: 1px solid var(--card-paper-line); border-radius: var(--r-md); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event-card img { width: 100%; height: 190px; object-fit: cover; }
.event-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.event-card-date { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-deep); margin-bottom: .6rem; }
.event-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.event-card-venue { color: var(--ink-3); font-size: .82rem; margin: 0 0 .5rem !important; }
.event-card p:not(.event-card-date):not(.event-card-venue) { color: var(--ink-2); font-size: .88rem; margin: 0 0 .9rem; }
.event-card .read-link { color: var(--green-deep); }
.event-card.is-past { opacity: .82; }
.read-link.light { color: var(--green-bright); }
.event-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
.event-detail-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); }
.event-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: .6rem; margin-top: .7rem; }
.event-gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.event-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .2s; }
.event-gallery-thumb:hover img { opacity: .9; }
.event-gallery-thumb.is-active { border-color: var(--green-deep); }
.event-gallery-thumb.is-active img { opacity: 1; }
.event-facts { display: grid; gap: .7rem; margin: 0 0 1.6rem; padding: 1.2rem 1.4rem; background: var(--card-paper); border: 1px solid var(--card-paper-line); border-radius: var(--r-md); }
.event-facts div { display: flex; justify-content: space-between; gap: 1rem; }
.event-facts dt { color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.event-facts dd { margin: 0; font-weight: 700; text-align: right; }
.event-detail .prose p { color: var(--ink-2); }

/* ---------- News: light-background variant for news.php ---------- */
.news-grid-light { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card.light { background: var(--card-paper); border: 1px solid var(--card-paper-line); color: var(--ink); }
.news-card.light .news-label { color: var(--green-deep); }
.news-card.light h3 { color: var(--ink); }
.news-card.light p { color: var(--ink-2); }
.news-card.light .read-link { color: var(--green-deep); }

/* ---------- "Other programmes" strip on a single programme page ---------- */
.program-solo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 4.5rem); align-items: center; }
.program-solo .program-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); }
.program-solo .program-body h2 { color: var(--ink); }
.programme-grid-light .programme-card { background: var(--card-paper); border-color: var(--card-paper-line); color: var(--ink); text-decoration: none; display: block; }
.programme-grid-light .programme-head, .programme-grid-light .programme-rows li, .programme-grid-light .programme-foot { border-color: var(--card-paper-line); }
.programme-grid-light .programme-head strong { color: var(--ink); }
.programme-grid-light .programme-rows li { color: var(--ink-2); }
.programme-grid-light .programme-foot { color: var(--green-deep); }

/* ---------- Baby Mamas Day & Gala Night ---------- */
.bmd-hero { background: var(--ink-dark); color: #fff; padding: 2.6rem 0; }
.bmd-hero .bmd-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center; max-width: 1220px; }
.bmd-hero .eyebrow { color: var(--green-bright); }
.bmd-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 .8rem; color: #fff; letter-spacing: -.015em; }
.bmd-hero-text p { color: #d7d7d5; max-width: 38rem; line-height: 1.6; }
.bmd-hero-poster { width: 100%; max-width: 360px; margin-inline: auto; border-radius: var(--r-md); box-shadow: var(--shadow); }

.bmd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.bmd-fact { background: var(--card-paper); border: 1px solid var(--card-paper-line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.bmd-fact .event-facts { background: transparent; border: 0; padding: 0; margin: 1rem 0 1.1rem; }

.fixture-list { display: flex; flex-direction: column; gap: .6rem; }
.fixture-row { display: grid; grid-template-columns: 100px 1fr 160px; align-items: center; gap: 1rem; background: var(--card-paper); border: 1px solid var(--card-paper-line); border-radius: var(--r-md); padding: .9rem 1.2rem; }
.fixture-time { font-weight: 800; font-size: .82rem; color: var(--green-deep); }
.fixture-teams { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .95rem; }
.fixture-teams span:not(.fixture-note) { color: var(--ink-3); font-weight: 600; }
.fixture-team-photo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fixture-note { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); background: rgba(227, 6, 19, .1); border-radius: var(--r-pill); padding: .2rem .6rem; }
.fixture-pitch { color: var(--ink-3); font-size: .82rem; text-align: right; }

.nominee-category { margin-bottom: 2.4rem; }
.nominee-category:last-child { margin-bottom: 0; }
.nominee-category h3 { font-size: 1.2rem; margin: 0 0 1rem; }
.nominee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.nominee-card { background: var(--card-paper); border: 1px solid var(--card-paper-line); border-radius: var(--r-md); overflow: hidden; }
.nominee-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.nominee-mark { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; background: var(--green-deep); color: #fff; font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.nominee-card-body { padding: .9rem 1rem 1.1rem; }
.nominee-card-body strong { display: block; font-size: .92rem; margin-bottom: .3rem; }
.nominee-card-body p { color: var(--ink-2); font-size: .8rem; margin: 0; line-height: 1.5; }

/* Homepage "Gala Night nominees" section -- sits directly below the (dark) hero, so it
   needs its own light background and text colours rather than inheriting the dark body. */
.home-nominees { background: #fff; color: var(--ink); }
.home-nominees .section-head p { color: var(--ink-2); }
.home-nominees .section-link { color: var(--green-deep); }

.bmd-poster-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; max-width: 420px; margin: 0 auto; box-shadow: var(--shadow); }
.bmd-poster-card img { width: 100%; display: block; }
.bmd-poster-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.4rem; background: linear-gradient(0deg, rgba(5, 5, 5, .92) 0%, rgba(5, 5, 5, .5) 60%, transparent 100%); display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.bmd-poster-overlay .eyebrow { color: var(--yellow-2); margin: 0; }
.bmd-poster-overlay .h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav, .nav-cta { display: none; }
  .mobile-panel.open { display: grid; position: fixed; z-index: 95; top: var(--header-h); left: 0; right: 0; background: var(--black); padding: .9rem; gap: .2rem; border-bottom: 1px solid #333; }
  .mobile-panel a { padding: .9rem 1rem; border-radius: var(--r-sm); text-decoration: none; color: #fff; font-size: .95rem; font-weight: 600; }
  .mobile-panel a:hover { background: #17201b; }
  .mobile-panel a.cta { background: var(--green); text-align: center; margin-top: .4rem; }
  .statement-grid, .split, .feature-grid, .program, .two-col, .register-grid, .fb-block, .event-detail, .program-solo { grid-template-columns: 1fr; }
  .program:nth-child(even) .program-media { order: 0; }
  .stack { min-height: 440px; }
  .steps { position: static; }
  .programme-grid, .news-grid, .news-grid-light, .event-grid { grid-template-columns: 1fr 1fr; }
  .nominee-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hero { height: 560px; }
  .hero-content { max-width: 90%; }
  .hero h1 { font-size: 2.1rem; }
  .hero-content p { font-size: .95rem; }
  .hero-arrow { top: 84px; width: 40px; height: 40px; font-size: 1.1rem; }
  .highlight-strip { grid-template-columns: 1fr; padding: .5rem; }
  .section-heading { display: block; }
  .section-link { display: inline-block; margin-top: 1rem; }
  .programme-grid, .news-grid, .news-grid-light, .event-grid, .table-grid { grid-template-columns: 1fr; }
  .event-strip-inner { gap: .9rem; }
  .news-section .section-heading { margin-bottom: 1.6rem; padding-bottom: 1.4rem; }
  .partner-logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-base { align-items: flex-start; gap: 1.1rem; flex-direction: column; }
  .motto-grid { grid-template-columns: 1fr; text-align: center; }
  .motto-grid img { margin: 0 auto; }
  .row2, .checks { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; }
  .cta-card { min-height: 420px; }
  .cta-card::after { background: linear-gradient(0deg, rgba(5, 5, 5, .96) 0%, rgba(0, 126, 83, .85) 45%, rgba(0, 126, 83, 0) 80%); }
  .bmd-hero .bmd-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .bmd-hero-text p { margin-inline: auto; }
  .bmd-hero-text .btn-row { justify-content: center; }
  .bmd-facts { grid-template-columns: 1fr; }
  .fixture-row { grid-template-columns: 1fr; text-align: left; gap: .3rem; }
  .fixture-pitch { text-align: left; }
  .nominee-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; column-gap: .6rem; }
  .masonry figure { margin-bottom: .6rem; }
  .fb-block iframe { height: 520px; }
  .page-hero { padding: 1.8rem 0 2.2rem; }
  .map iframe { height: 300px; }
  .chat-float span.chat-label { display: none; }
  /* keep inputs at 16px on phones so iOS doesn't zoom in when a field is tapped */
  form input[type=text], form input[type=email], form input[type=tel], form input[type=date], form input[type=password], form select, form textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .hero-arrow { display: none; }
}
@media (max-width: 420px) {
  .masonry { columns: 1; }
  .brand span { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav a.nav-blink:not(.btn), .mobile-panel a.nav-blink { animation: none; color: var(--yellow); background-color: rgba(255, 201, 40, .16); }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
fieldset[aria-invalid="true"] { background: none; }
