/* ZIAA — design tokens */
:root {
  --green: #0f5a3a;
  --green-deep: #0a3f29;
  --flag-green: #198a00;
  --orange: #e8871e;
  --red: #de2010;
  --ink: #222;
  --ink-2: #4a524d;
  --line: #dfe6e1;
  --mist: #f1f5f2;
  --paper: #fff;
  --ok: #17784a;
  --warn: #b25e00;
  --bad: #b3261e;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* The flag tricolour: the site's one recurring motif. It marks where you are and what matters. */
.tri { display: inline-flex; gap: 0; width: 18px; height: 22px; flex: none; }
.tri i { flex: 1; }
.tri i:nth-child(1) { background: var(--red); }
.tri i:nth-child(2) { background: #111; }
.tri i:nth-child(3) { background: var(--orange); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.05; }
.brand img { width: 46px; height: auto; }
.brand small { display: block; font: 500 .72rem/1.2 var(--body); color: var(--ink-2); letter-spacing: 0; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { position: relative; padding: 8px 12px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: linear-gradient(90deg, var(--red) 0 33%, #111 33% 66%, var(--orange) 66%); }
.member-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--green); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.member-btn:hover { background: var(--green-deep); }
.member-btn .av { width: 30px; height: 30px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .member-btn { justify-content: center; margin-top: 8px; padding: 12px; }
}

/* Avatars */
.av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--mist); display: inline-grid; place-items: center; font: 700 .9rem var(--display); color: var(--green); flex: none; overflow: hidden; }
.av.lg { width: 96px; height: 96px; font-size: 1.6rem; }
.av.xl { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-m); font-size: 2.6rem; }
.member-btn .av { background: rgba(255,255,255,.18); color: #fff; font-size: .75rem; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-s); border: 2px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--orange); color: #1c1205; }
.btn-primary:hover { background: #d47512; color: #1c1205; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--green); }
.btn-ghost:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-sm { padding: 7px 12px; font-size: .9rem; }
.btn-danger { background: none; color: var(--bad); border-color: #f0c9c6; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid #c9d3cc; border-radius: var(--r-s); font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(15,90,58,.15); }
textarea { min-height: 120px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.flash { padding: 14px 18px; border-radius: var(--r-s); margin: 20px 0; font-weight: 500; }
.flash.ok { background: #e3f3ea; color: #0b4d2d; }
.flash.error { background: #fde8e6; color: #7d1a13; }
.demo-bar { background: #fff4e5; color: #6a3a00; font-size: .85rem; text-align: center; padding: 6px 12px; }

/* Status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.active { background: #e3f3ea; color: var(--ok); }
.pill.due { background: #fff1dc; color: var(--warn); }
.pill.pending { background: #eef1ff; color: #3949a8; }
.pill.expired, .pill.unpaid { background: #fbe9e7; color: var(--bad); }
.pill.neutral { background: var(--mist); color: var(--ink-2); }
.pill.neutral::before { display: none; }

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.band { background: var(--mist); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; display: flex; align-items: center; gap: 14px; }
.sec-head p { margin: 8px 0 0; max-width: 560px; color: var(--ink-2); }
.page-head { padding: clamp(40px, 6vw, 72px) 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .3em; }
.page-head p { font-size: 1.15rem; color: var(--ink-2); max-width: 680px; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }

/* Home hero */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 span { display: block; color: var(--green); }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 520px; margin-bottom: 28px; }
.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.mosaic figure { margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 3/4.7; background: var(--mist); }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figure:nth-child(2) { margin-top: 56px; }
.mosaic figure:nth-child(3) { margin-top: 18px; }
.mosaic .caption { position: absolute; left: -14px; bottom: -18px; background: #fff; border-radius: var(--r-m); padding: 12px 16px; box-shadow: 0 10px 30px rgba(10,63,41,.16); display: flex; gap: 12px; align-items: center; font-size: .9rem; max-width: 280px; }
.mosaic .caption strong { display: block; font-family: var(--display); font-size: 1rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .mosaic .caption { left: 8px; }
}
.hero-load .mosaic figure { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-load .mosaic figure:nth-child(2) { animation-delay: .12s; }
.hero-load .mosaic figure:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Member area panel */
.member-area { background: var(--green-deep); color: #e9f2ec; border-radius: var(--r-l); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; position: relative; overflow: hidden; }
.member-area::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(180deg, var(--red) 0 33.3%, #111 33.3% 66.6%, var(--orange) 66.6%); }
.member-area h2 { color: #fff; display: flex; gap: 14px; align-items: center; }
.member-area p { color: #c7dccf; }
.member-area a:not(.btn) { color: #fff; }
.member-area .perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.member-area .perks li { display: flex; gap: 10px; }
.member-area .perks li::before { content: "✓"; color: var(--orange); font-weight: 700; }
.member-card { background: #fff; color: var(--ink); border-radius: var(--r-m); padding: 24px; align-self: start; }
.member-card label { color: var(--ink); }
.member-area .member-card p { color: var(--ink-2); }
.member-area .member-card a:not(.btn) { color: var(--green); }
.member-card .who { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.member-card .who strong { font-family: var(--display); font-size: 1.25rem; display: block; }
.member-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px; font-size: .95rem; }
.member-card dt { color: var(--ink-2); }
.member-card dd { margin: 0; font-weight: 600; }
.faces { display: flex; }
.faces .av { width: 34px; height: 34px; border: 2px solid #fff; margin-left: -8px; font-size: .7rem; }
.faces .av:first-child { margin-left: 0; }
@media (max-width: 860px) { .member-area { grid-template-columns: 1fr; } }

/* Purpose + offers (collapsible rows) */
.purpose { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.purpose .quote { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--green-deep); font-weight: 600; }
@media (max-width: 860px) { .purpose { grid-template-columns: 1fr; } }
.rows { border-top: 1px solid var(--line); }
details.row { border-bottom: 1px solid var(--line); }
details.row > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 18px 4px; }
details.row > summary::-webkit-details-marker { display: none; }
details.row > summary img { width: 64px; height: 64px; border-radius: var(--r-s); object-fit: cover; }
details.row > summary h3 { margin: 0 0 2px; }
details.row > summary p { margin: 0; color: var(--ink-2); font-size: .95rem; }
details.row > summary::after { content: "+"; font: 400 1.8rem/1 var(--display); color: var(--green); transition: transform .2s; width: 28px; text-align: center; }
details.row[open] > summary::after { transform: rotate(45deg); }
details.row > summary:hover h3 { color: var(--green); }
details.row .body { padding: 0 4px 24px 86px; color: var(--ink-2); }
details.row .body ul { margin: 0; padding-left: 1.1em; }
details.row .body li { margin-bottom: 8px; }
@media (max-width: 560px) {
  details.row > summary { grid-template-columns: 48px 1fr auto; gap: 12px; }
  details.row > summary img { width: 48px; height: 48px; }
  details.row .body { padding-left: 4px; }
}

/* Simple accordions (documents etc.) */
details.acc { border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 12px; background: #fff; }
details.acc > summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: "Show"; font-size: .85rem; color: var(--green); font-weight: 600; }
details.acc[open] > summary::after { content: "Hide"; }
details.acc > .body { padding: 0 20px 18px; }
details.acc ol, details.acc ul { padding-left: 1.3em; margin: 0 0 1em; }
details.acc li { margin-bottom: 6px; }
.note { background: #fff7ea; border-left: 4px solid var(--orange); padding: 12px 16px; border-radius: 0 var(--r-s) var(--r-s) 0; margin: 12px 0; font-size: .95rem; }

/* Events */
.ev-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ev:hover h3 { color: var(--green); }
.ev .date { text-align: center; border-radius: var(--r-m); background: var(--green); color: #fff; padding: 10px 6px; font-family: var(--display); line-height: 1; }
.ev .date b { display: block; font-size: 2.2rem; font-weight: 800; }
.ev .date span { display: block; font-size: .85rem; margin-top: 4px; }
.ev.past .date { background: var(--mist); color: var(--ink-2); }
.ev h3 { margin: 0 0 4px; }
.ev p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.ev .meta { font-size: .9rem; color: var(--ink-2); margin-bottom: 4px; }
@media (max-width: 640px) { .ev { grid-template-columns: 72px 1fr; } .ev > :last-child { grid-column: 2; } }
.empty { padding: 28px; border: 1.5px dashed #c9d3cc; border-radius: var(--r-m); display: grid; gap: 12px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; width: auto; }

.event-hero { position: relative; color: #fff; padding: 0; }
.event-hero img { width: 100%; height: min(56vh, 520px); object-fit: cover; }
.event-hero .over { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(5,35,22,.85)); display: flex; align-items: flex-end; }
.event-hero .over .wrap { width: 100%; padding-bottom: 36px; }
.event-hero h1 { color: #fff; margin-bottom: .15em; }
.event-hero p { margin: 0; font-size: 1.1rem; color: #e1ece5; }
.event-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .event-grid { grid-template-columns: 1fr; } }
.facts { display: grid; gap: 14px; margin: 0 0 28px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.facts dt { color: var(--ink-2); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.timeline li { padding: 0 0 22px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; }
.timeline strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.timeline span { color: var(--ink-2); }

/* Registration / stepper */
.panel { border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; background: #fff; }
.panel.sticky { position: sticky; top: 92px; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; }
.steps li { flex: 1; font-size: .85rem; font-weight: 600; color: var(--ink-2); padding-top: 10px; border-top: 4px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s) ". "; }
.steps li.on { color: var(--green); border-top-color: var(--green); }
.steps li.done { color: var(--ink); border-top-color: var(--flag-green); }
.step[hidden] { display: none; }
.ticket { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ticket .info { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); margin: 0; }
.ticket .price { font-weight: 700; }
.ticket .price s { color: var(--ink-2); font-weight: 400; margin-right: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #c9d3cc; border-radius: var(--r-s); overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: var(--mist); font-size: 1.2rem; cursor: pointer; color: var(--green-deep); }
.qty input { width: 48px; border: 0 !important; text-align: center; padding: 8px 0 !important; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 1.4rem; font-weight: 700; padding: 16px 0; }
.choice { display: grid; gap: 10px; margin: 12px 0 20px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; cursor: pointer; font-weight: 500; }
.choice label:has(input:checked) { border-color: var(--green); background: #f3f9f5; }
.choice label b { display: block; }
.choice label span { color: var(--ink-2); font-size: .9rem; }
.person-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 150px auto; gap: 8px; align-items: end; margin-bottom: 10px; }
.person-row .x { background: none; border: 0; color: var(--bad); font-size: 1.4rem; cursor: pointer; padding: 8px; }
@media (max-width: 820px) { .person-row { grid-template-columns: 1fr 1fr; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-s); } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.plan.feature { border-color: var(--green); box-shadow: inset 0 5px 0 var(--green); }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-family: var(--display); font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 16px 0 4px; }
.plan .price small { font: 500 1rem var(--body); color: var(--ink-2); letter-spacing: 0; }
.plan .btn { margin-top: auto; }
.benefits { columns: 2 260px; column-gap: 40px; padding: 0; list-style: none; margin: 0; }
.benefits li { break-inside: avoid; padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.benefits li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 10px; background: linear-gradient(90deg, var(--red) 0 33%, #111 33% 66%, var(--orange) 66%); border-radius: 2px; }

/* News */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.post-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-m); width: 100%; }
.post-card h3 { margin: 0; font-size: 1.25rem; }
.post-card:hover h3 { color: var(--green); }
.post-card .meta { font-size: .85rem; color: var(--ink-2); }
.post-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } .post-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; } .post-card img { grid-row: span 3; } }
.article { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.article h2 { font-size: 1.75rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .4em; }
.article table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.article th, .article td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article .lede { font-size: 1.2rem; color: var(--green-deep); font-weight: 600; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-l); margin: 0 0 40px; }

/* Gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.strip img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-m); scroll-snap-align: start; width: 100%; }

/* Team */
.team-grid { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 24px; }
.person { display: grid; gap: 10px; }
.person img, .person .av.xl { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); }
.person h3 { margin: 6px 0 0; font-size: 1.2rem; }
.person .role { color: var(--green); font-weight: 600; font-size: .95rem; margin: 0; }
.person details > summary { cursor: pointer; color: var(--green); font-weight: 600; font-size: .9rem; }
.person details p { font-size: .95rem; color: var(--ink-2); margin-top: 8px; }
.person .say { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* Services tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 999px; font: 600 .95rem var(--body); cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tabpanel { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabpanel img { border-radius: var(--r-l); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.tabpanel ul { padding-left: 1.2em; } .tabpanel li { margin-bottom: 10px; }
.tabpanel[hidden] { display: none; }
@media (max-width: 800px) { .tabpanel { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.socials a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { background: var(--green-deep); color: #c7dccf; padding: 56px 0 28px; margin-top: 0; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Account + admin */
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 40px 0 80px; align-items: start; }
.side { position: sticky; top: 92px; display: grid; gap: 2px; }
.side a { padding: 10px 12px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 500; }
.side a:hover { background: var(--mist); }
.side a[aria-current="page"] { background: var(--mist); color: var(--green); font-weight: 700; }
.side .badge { background: var(--orange); color: #1c1205; border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: 6px; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .side { position: static; display: flex; flex-wrap: wrap; } }
.card { border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; background: #fff; margin-bottom: 24px; }
.card h2 { font-size: 1.4rem; display: flex; gap: 10px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; text-decoration: none; color: inherit; }
.stat b { display: block; font: 800 2rem/1.1 var(--display); }
.stat span { color: var(--ink-2); font-size: .9rem; }
a.stat:hover { border-color: var(--green); }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.data th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: .82rem; padding: 8px 10px; border-bottom: 2px solid var(--line); }
table.data td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: #fafcfb; }
.scroll { overflow-x: auto; }
.person-line { display: flex; gap: 12px; align-items: center; }
.person-line .av { width: 36px; height: 36px; font-size: .78rem; }
.hh-person { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hh-person details > summary { cursor: pointer; color: var(--green); font-weight: 600; font-size: .9rem; list-style: none; }
.hh-person form { grid-column: 1 / -1; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar input, .toolbar select { width: auto; flex: 0 1 220px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px 6px; margin: 0 0 20px; }
legend { font-weight: 700; padding: 0 6px; font-family: var(--display); }

/* ===== Proposal: more Zambian colour ===== */
:root { --copper: #7a3410; --pat-o: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23e8871e' stroke-opacity='.22' stroke-width='1.5'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='2.5' fill='%23e8871e' fill-opacity='.35'/%3E%3Ccircle cx='0' cy='0' r='2.5' fill='%23de2010' fill-opacity='.35'/%3E%3Ccircle cx='56' cy='56' r='2.5' fill='%23de2010' fill-opacity='.35'/%3E%3C/svg%3E"); --pat-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%2337b24a' stroke-opacity='.25' stroke-width='1.5'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='2.5' fill='%23e8871e' fill-opacity='.5'/%3E%3C/svg%3E"); }

/* Flag rail: fixed on the right edge of every page, like the stripes on the flag */
body { padding-right: 18px; }
body::after { content: ""; position: fixed; top: 0; right: 0; bottom: 0; width: 18px; z-index: 40; pointer-events: none;
  background: linear-gradient(90deg, var(--red) 0 33.3%, #111 33.3% 66.6%, var(--orange) 66.6%); }
body::before { content: ""; position: fixed; top: 0; right: 0; width: 18px; height: 120px; z-index: 41; pointer-events: none; background: var(--flag-green); }
@media (max-width: 700px) { body { padding-right: 8px; } body::after, body::before { width: 8px; } body::before { height: 70px; } }

/* Coloured page headers with a chitenge-style pattern and photos */
.ph { position: relative; overflow: hidden; color: #fff; padding: clamp(44px, 6vw, 80px) 0; background-color: var(--green-deep); background-image: var(--pat-o); }
.ph-copper { background-color: var(--copper); background-image: var(--pat-g); }
.ph-ink { background-color: #1a1a1a; background-image: var(--pat-o); }
.ph-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.ph h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: .35em; }
.ph p { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; margin: 18px 0 0; }
.tri-line { display: flex; width: 132px; height: 6px; border-radius: 3px; overflow: hidden; }
.tri-line i { flex: 1; } .tri-line i:nth-child(1) { background: var(--flag-green); } .tri-line i:nth-child(2) { background: var(--red); } .tri-line i:nth-child(3) { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); } .tri-line i:nth-child(4) { background: var(--orange); }
.ph-pics { position: relative; height: 300px; }
.ph-pics img { position: absolute; object-fit: cover; border-radius: var(--r-l); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ph-a { right: 0; top: 0; width: 64%; height: 100%; }
.ph-b { left: 4%; bottom: -12px; width: 40%; height: 62%; border: 5px solid rgba(255,255,255,.95); transform: rotate(-3deg); }
@media (max-width: 820px) { .ph-grid { grid-template-columns: 1fr; } .ph-pics { height: 220px; } }

/* Warm band option + flag divider */
.band-warm { background: #fff4e7; }
.flag-divider { height: 8px; background: linear-gradient(90deg, var(--flag-green) 0 70%, var(--red) 70% 80%, #111 80% 90%, var(--orange) 90%); }

/* About mosaic */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-m); }
.gallery .g1 { grid-column: 1 / 4; grid-row: 1 / 4; }
.gallery .g2 { grid-column: 4 / 5; grid-row: 1 / 3; } .gallery .g3 { grid-column: 5 / 7; grid-row: 1 / 3; }
.gallery .g5 { grid-column: 4 / 5; grid-row: 3 / 6; } .gallery .g4 { grid-column: 5 / 7; grid-row: 3 / 6; }
.gallery .g6 { grid-column: 1 / 3; grid-row: 4 / 6; } .gallery .g7 { grid-column: 3 / 4; grid-row: 4 / 6; }
.gallery .tile { border-radius: var(--r-m); display: grid; place-items: center; text-align: center; padding: 16px; color: #fff; font: 700 1.3rem/1.2 var(--display); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } .gallery > * { grid-column: auto !important; grid-row: auto !important; } .gallery .g1 { grid-column: 1 / 3 !important; grid-row: span 2 !important; } }

/* Document cards: icon + coloured strip */
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 56px; }
.doc-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px 20px 20px; text-decoration: none; color: inherit; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.doc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--c); }
.doc-card .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); margin-bottom: 14px; }
.doc-card .ico svg { width: 32px; height: 32px; }
.doc-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.doc-card:hover { border-color: var(--c); }
.doc-sec { display: flex; align-items: center; gap: 14px; margin-top: 64px; padding: 14px 18px; border-radius: var(--r-m); background: color-mix(in srgb, var(--c) 10%, #fff); border-left: 8px solid var(--c); scroll-margin-top: 96px; }
.doc-sec h2 { margin: 0; font-size: 1.7rem; }
.doc-sec .ico { color: var(--c); flex: none; } .doc-sec .ico svg { width: 34px; height: 34px; }
.c-green { --c: #198a00; } .c-red { --c: #de2010; } .c-black { --c: #222; } .c-orange { --c: #d9730d; } .c-deep { --c: #0f5a3a; }

/* Side images on small pages */
.split-img { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-img > img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 820px) { .split-img { grid-template-columns: 1fr; } .split-img > img { aspect-ratio: 16/10; } }

.tabs button:nth-child(1)[aria-selected="true"] { background: var(--flag-green); border-color: var(--flag-green); }
.tabs button:nth-child(2)[aria-selected="true"] { background: var(--red); border-color: var(--red); }
.tabs button:nth-child(3)[aria-selected="true"] { background: #1a1a1a; border-color: #1a1a1a; }
.tabs button:nth-child(4)[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #1c1205; }
.tabs button:nth-child(5)[aria-selected="true"] { background: var(--green); border-color: var(--green); }
.plan:nth-child(2) { box-shadow: inset 0 5px 0 var(--red); } .plan:nth-child(3) { box-shadow: inset 0 5px 0 var(--orange); }
.ann-bar { background:var(--green-deep); color:#fff; font-weight:600; font-size:.92rem; padding:10px 0; text-align:center; } .ann-bar a { color:#f4b25f; font-weight:700; }
.ann-bar.tone-orange { background:var(--orange); color:#1c1205; } .ann-bar.tone-orange a { color:#1c1205; } .ann-bar.tone-red { background:var(--red); } .ann-bar.tone-red a { color:#fff; }
.db-count { display:block; padding:16px 18px; border-radius:16px; background:var(--orange); color:#1c1205; text-decoration:none; margin-bottom:6px; }
.db-count small { font-weight:700; opacity:.8; } .db-count strong { display:block; font:800 1.2rem var(--display); margin:2px 0 10px; }
.db-cd { display:flex; gap:8px; } .db-cd span { flex:1; text-align:center; background:rgba(255,255,255,.35); border-radius:10px; padding:6px 0; font-size:.75rem; font-weight:700; }
.db-cd b { display:block; font:800 1.5rem/1.1 var(--display); }
/* v002.C: sign-in tabs and confirmation screens */
.tabs2 { display:grid; grid-template-columns:1fr 1fr; background:var(--mist); border-radius:12px; padding:4px; margin-bottom:18px; }
.tabs2 button { border:0; background:transparent; padding:10px; border-radius:9px; font:700 .92rem var(--body); color:var(--ink-2); cursor:pointer; }
.tabs2 button[aria-selected=true] { background:var(--paper); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.12); }
.tabs2 button:focus-visible { outline:3px solid var(--orange); outline-offset:1px; }
.okic { width:68px; height:68px; border-radius:50%; background:var(--mist); color:var(--green); display:grid; place-items:center; margin:10px auto 14px; }
