/* Conference pages: Garissa University student portal palette. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green: #14432c;
  --green-2: #1f7a4d;
  --green-soft: #eaf3ed;
  --gold: #c9a227;
  --gold-2: #e2c25c;
  --navy: #12305c;
  --ink: #1d2a21;
  --muted: #5f6d63;
  --line: #e3e8e1;
  --sand: #f7f8f4;
  --white: #fff;
  --ok: #1e7e34; --ok-bg: #e6f4ea;
  --warn: #8a5a0b; --warn-bg: #fdf3e1;
  --bad: #b3261e; --bad-bg: #fdecea;
  --info: #1c5a96; --info-bg: #e7f1fb;
  --radius: 16px;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--sand); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
.hidden { display: none !important; }
.small { font-size: .85rem; color: var(--muted); }
.mono { font-family: Consolas, 'Cascadia Mono', monospace; font-size: .9em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Loading bar for page changes and form submits */
#routeBar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); background-size: 200% 100%; opacity: 0; }
#routeBar.run { opacity: 1; width: 100%; animation: bar 1.1s linear infinite; }
@keyframes bar { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: .02em; color: var(--green); line-height: 1; text-transform: uppercase; }
.brand small { display: block; font-size: .72rem; color: #6b7b2c; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--green-soft); color: var(--green); }
.nav a.btn { color: #2b2210; margin-left: 6px; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 1.1rem; color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .95rem var(--body); padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:active { transform: scale(.98); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #a9860f); color: #2b2210; box-shadow: 0 8px 18px -8px rgba(201,162,39,.7); }
.btn-gold:hover { box-shadow: 0 12px 22px -8px rgba(201,162,39,.8); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-line { background: #fff; color: var(--green); border-color: #cfd8d1; }
.btn-line:hover { background: var(--green-soft); }
.btn-mute { background: #e9ece8; color: var(--muted); cursor: default; }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn-xs { padding: 5px 9px; font-size: .75rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .7; cursor: progress; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(201,162,39,.35), transparent 60%),
  radial-gradient(800px 500px at -10% 110%, rgba(31,122,77,.65), transparent 60%),
  linear-gradient(135deg, #0f3522 0%, var(--green) 55%, #0e2c4f 100%); }
.hero::after { content: ""; position: absolute; inset: auto -10% -60px -10%; height: 120px; background: var(--sand); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: 56px 0 96px; }
.eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 4.9rem); line-height: .92; letter-spacing: .01em; text-wrap: balance; }
.hero h1 .ord { color: var(--gold-2); }
.hero h1 sup { font-size: .45em; vertical-align: super; }
.hero h1 em { font-style: normal; display: inline-block; background: var(--green-2); padding: 0 .18em; border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.hero .sub { margin: 14px 0 22px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; color: rgba(255,255,255,.88); }
.theme-card { position: relative; background: rgba(255,255,255,.08); border: 1px solid rgba(226,194,92,.55); border-radius: var(--radius); padding: 22px 20px 16px; margin-bottom: 20px; }
.theme-tag { position: absolute; top: -12px; left: 18px; background: var(--gold); color: #2b2210; font-weight: 800; letter-spacing: .3em; font-size: .72rem; padding: 4px 14px; border-radius: 99px; }
.theme-card p { margin: 0; font-size: 1.06rem; font-weight: 600; line-height: 1.45; }
.facts { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.facts li { display: flex; align-items: center; gap: 12px; }
.facts i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #8cc63f; color: var(--green); font-size: 1.1rem; }
.facts b { display: block; font-size: 1rem; }
.facts span { font-size: .85rem; color: rgba(255,255,255,.8); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.countdown { display: flex; gap: 10px; margin-top: 22px; }
.countdown div { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 8px 14px; min-width: 78px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-art img { width: 100%; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: rotate(1.5deg); border: 6px solid rgba(255,255,255,.9); }

/* Sections */
.band { padding: 56px 0; }
.band.alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2, .page-head h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: var(--green); letter-spacing: .01em; }
.sec-head p { margin: 0; color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px -4px rgba(20,67,44,.08); }

.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -12px rgba(20,67,44,.25); }
.pi { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.35rem; background: var(--green-2); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.pillar:nth-child(even) .pi { background: #1f5fae; }
.pillar h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; }
.pillar p { margin: 0; font-size: .86rem; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--green-soft); }
.timeline li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 0 0 18px 20px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.timeline li.past::before { background: #c9d0ca; box-shadow: 0 0 0 2px #c9d0ca; }
.timeline time { font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.timeline li.past time, .timeline li.past b { color: #8a958d; }
.timeline p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.how { padding: 22px 24px; }
.how h3 { margin: 0 0 10px; color: var(--green); }
.how ol { margin: 0 0 10px; padding-left: 20px; }
.how li { margin-bottom: 6px; }

.fees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fee { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green-2); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.fee h3 { margin: 0; font-size: 1rem; }
.fee .amt { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.fee .tbc { font-size: 1.15rem; color: var(--warn); }
.fee p { margin: 0 0 6px; font-size: .86rem; color: var(--muted); flex: 1; }
.fee .btn { align-self: flex-start; }
.lead { font-size: 1.05rem; }
.poster img { border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); max-height: 560px; margin-inline: auto; width: auto; height: auto; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact .c { display: flex; gap: 14px; align-items: center; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.contact .c i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 1.1rem; }
.contact .c b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact .c:hover { border-color: var(--green-2); }

/* Inner page header */
.page-head { color: #fff; background: linear-gradient(135deg, #0f3522, var(--green) 60%, #0e2c4f); padding: 34px 0 30px; }
.page-head.slim { padding: 22px 0; }
.page-head h1 { color: #fff; }
.page-head p { margin: 0; color: rgba(255,255,255,.85); }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.who { font-size: .88rem; }
.who a { color: var(--gold-2); }

/* Forms */
.form { padding: 24px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; color: var(--green); margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; }
.f.s1 { grid-column: span 1; } .f.s2 { grid-column: span 2; } .f.s3 { grid-column: span 3; } .f.s4 { grid-column: span 4; }
.f small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.req { color: var(--bad); }
input, select, textarea { font: 400 1rem var(--body); color: var(--ink); background: #fbfcfb; border: 1px solid #d5ddd6; border-radius: 10px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.2); background: #fff; }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat { position: relative; display: block; cursor: pointer; }
.cat input { position: absolute; opacity: 0; }
.cat span { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; transition: border-color .12s ease, background .12s ease; height: 100%; }
.cat b { display: block; }
.cat em { display: block; font-style: normal; font-weight: 700; color: var(--green-2); margin: 2px 0; }
.cat small { color: var(--muted); }
.cat input:checked + span { border-color: var(--green-2); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-2); }
.cat input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.form-foot .small { margin: 0; max-width: 420px; }

/* Notices and pills */
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-size: .92rem; }
.notice i { margin-top: 3px; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.info { background: var(--info-bg); color: var(--info); }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.mute { background: #eef1f4; color: #556069; }
.ok-t { color: var(--ok); }

/* Pay page */
.summary { padding: 20px 22px; margin-bottom: 16px; }
.sum-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.sum-head small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.sum-head b { font-size: 1.15rem; }
dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; }
dl .wide { grid-column: 1 / -1; }
dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pay { padding: 22px; margin-bottom: 16px; border: 2px solid var(--green-2); }
.pay-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pay-head img { border-radius: 50%; }
.pay-head b { display: block; }
.pay-head small { color: var(--muted); }
.pay-head .amt { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--green); }
.pay .f { margin-bottom: 8px; }
.hint { min-height: 1.2em; margin: 0 0 10px; color: var(--bad); font-size: .88rem; font-weight: 600; }
.waiting { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px; background: var(--info-bg); color: var(--info); border-radius: 12px; }
.waiting small { display: block; color: inherit; opacity: .85; }
.spin { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; border: 3px solid rgba(28,90,150,.2); border-top-color: var(--info); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { display: flex; gap: 16px; align-items: flex-start; padding: 22px; margin-bottom: 16px; border: 2px solid var(--ok); background: #f4fbf6; }
.done > i { font-size: 2.2rem; color: var(--ok); }
.done h2 { margin: 0 0 4px; color: var(--ok); }
.done p { margin: 0 0 12px; }
.keep { padding: 16px 20px; }
.keep p { margin: 4px 0 10px; }
.copy { display: flex; gap: 8px; }
.copy input { font-size: .82rem; }

/* Staff page */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.tile b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--green); line-height: 1.05; font-variant-numeric: tabular-nums; }
.tile span { font-size: .78rem; color: var(--muted); }
.tile.warn b { color: var(--warn); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters input { flex: 1 1 260px; max-width: 420px; padding: 9px 12px; }
.filters select { width: auto; padding: 9px 12px; }
.table-wrap { overflow-x: auto; margin-bottom: 26px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbf9; white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid #f0f2ee; vertical-align: top; }
.tbl td small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.tbl td small.paper { color: var(--green-2); max-width: 280px; }
.tbl .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .empty { text-align: center; color: var(--muted); padding: 26px; }
.acts form { display: flex; flex-wrap: wrap; gap: 4px; }
.h-sm { font-size: 1rem; color: var(--green); margin: 0 0 10px; }

/* Footer */
.foot { background: #0f2a1c; color: rgba(255,255,255,.85); padding: 34px 0 16px; font-size: .9rem; }
.foot a { color: #fff; text-decoration: none; margin-right: 12px; }
.foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.social span { display: flex; gap: 12px; margin-top: 8px; font-size: 1.15rem; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 12px; font-size: .8rem; color: rgba(255,255,255,.6); }
.foot-note a { color: var(--gold-2); }

@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .nav.open { display: flex; }
  .nav a.btn { margin: 6px 0 0; }
  .hero-in { grid-template-columns: 1fr; padding: 34px 0 84px; gap: 28px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .two, .contact, .foot-in { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f.s3, .f.s4 { grid-column: span 2; }
  .cats { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pillars, .fees { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: 1fr; }
  .f.s1, .f.s2, .f.s3, .f.s4 { grid-column: span 1; }
  dl { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .countdown div { min-width: 0; flex: 1; }
  .pay-head .amt { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition: none !important; }
}
@media print { .topbar, .foot, .cta, .countdown { display: none; } }

/* Presenting toggle and word count */
.toggle { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; cursor: pointer; margin-bottom: 14px; }
.toggle input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--green-2); }
.toggle b { display: block; }
.toggle small { color: var(--muted); }
.toggle:has(input:checked) { border-color: var(--green-2); background: var(--green-soft); }
[data-wordcount-out].over { color: var(--bad); font-weight: 700; }
.cat em .kes { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }

/* Objectives, sub-themes, guidelines */
.objectives { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.objectives h3 { margin: 0 0 10px; color: var(--green); font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; }
.objectives ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.subthemes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.subthemes li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; font-weight: 500; }
.subthemes li span { flex: 0 0 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: .8rem; }
.timeline li.conf time { color: var(--gold); }
.fees { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fee .kes { font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: -4px; }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.guide h3 { margin: 0; color: var(--green); font-size: 1.05rem; }
.guide ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9rem; }
.guide p { margin: 0; }
.guide.accent { background: var(--green-soft); border-color: #cfe2d5; }
.contact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .subthemes, .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fees { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .subthemes, .guides, .contact { grid-template-columns: 1fr; } .fees { grid-template-columns: 1fr; } }

/* ===== Home page (v1.7): layout borrowed from the official flyer ===== */
:root { --orange: #f29312; --orange-2: #ffb03b; --deep: #0f3a25; --cream: #fffbef; }
.btn-orange { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #2a1a02; box-shadow: 0 8px 18px -8px rgba(242,147,18,.75); }
.btn-orange:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(242,147,18,.85); }

.h-hero { position: relative; color: #fff; background: var(--deep); padding: 46px 0 40px; overflow: hidden; }
.h-hero::before { content: ""; position: absolute; left: -5%; right: -5%; top: -70px; height: 110px; background: var(--white); border-bottom: 9px solid var(--orange); border-radius: 0 0 55% 45% / 0 0 100% 100%; }
.h-hero .wrap { position: relative; }
.h-title { display: flex; align-items: flex-start; gap: 18px; margin-top: 26px; }
.h-ord { font-family: var(--display); font-weight: 800; color: var(--orange); font-size: clamp(4.5rem, 12vw, 8.5rem); line-height: .78; flex: none; }
.h-ord sup { font-size: .42em; vertical-align: top; position: relative; top: .05em; margin-left: .04em; }
.h-title h1 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 5.8vw, 4.4rem); line-height: .95; letter-spacing: .01em; text-wrap: balance; }
.h-title h1 span { font-size: .78em; }
.h-sub { margin: 8px 0 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--orange); font-size: clamp(1.15rem, 2.6vw, 1.75rem); line-height: 1.12; letter-spacing: .02em; text-wrap: balance; }

.h-theme { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; margin: 26px 0 22px; padding: 14px 20px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 18px; }
.h-theme-tag { background: var(--orange); color: #2a1a02; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 9px 20px; border-radius: 10px; font-size: 1.05rem; }
.h-theme p { margin: 0; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.35); font-size: clamp(1rem, 1.8vw, 1.22rem); font-weight: 500; line-height: 1.45; }

.h-photo { margin: 0; border: 5px solid var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); background: #ddd; }
.h-photo img { width: 100%; aspect-ratio: 946 / 296; object-fit: cover; }

.h-date { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0 4px; }
.h-date i { color: var(--orange); font-size: clamp(2.4rem, 5vw, 3.4rem); }
.h-date p { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; letter-spacing: .01em; }
.h-date sup { font-size: .45em; vertical-align: top; }
.h-venue { text-align: center; margin: 4px 0 22px; color: rgba(255,255,255,.85); font-weight: 500; }
.h-venue i { color: var(--orange); margin-right: 4px; }
.h-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.h-count { justify-content: center; }

.h-board { background: var(--cream); padding: 40px 0 46px; }
.h-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.h-card { background: var(--white); border: 1px solid #f1e6c8; border-radius: 16px; padding: 20px 20px 18px; box-shadow: 0 2px 10px -6px rgba(15,58,37,.15); }
.h-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; color: var(--deep); letter-spacing: .01em; }
.h-card h2 i { color: var(--deep); font-size: 1.15em; }
.h-objs { list-style: none; counter-reset: o; margin: 0; padding: 0; display: grid; gap: 14px; }
.h-objs li { counter-increment: o; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; font-size: .92rem; }
.h-objs li::before { content: counter(o); width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: 800; }
.h-subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .86rem; }
.h-subs li { display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.h-subs span { color: var(--muted); font-variant-numeric: tabular-nums; }
.h-fees { width: 100%; border-collapse: separate; border-spacing: 0; background: #fdf3d9; border: 1px solid #f1e0b0; border-radius: 12px; overflow: hidden; }
.h-fees th, .h-fees td { padding: 11px 14px; border-bottom: 1px solid #f1e0b0; text-align: left; vertical-align: top; }
.h-fees tr:last-child th, .h-fees tr:last-child td { border-bottom: 0; }
.h-fees tr:nth-child(even) { background: #fff8e6; }
.h-fees th { font-weight: 500; font-size: .92rem; }
.h-fees th a { color: var(--ink); text-decoration: none; }
.h-fees th a:hover { color: var(--green-2); text-decoration: underline; }
.h-fees th small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.h-fees td { font-weight: 800; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.h-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.h-note i { color: var(--green-2); margin-right: 4px; }

.h-dark { background: var(--deep); border-color: var(--deep); color: #fff; }
.h-dark h2, .h-dark h2 i { color: #fff; }
.h-time { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h-time li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.h-time i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--orange-2); font-size: .85rem; }
.h-time time { display: block; color: var(--orange-2); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.h-time time sup { font-size: .6em; }
.h-time span { font-size: .9rem; color: rgba(255,255,255,.92); }
.h-time em { font-style: normal; font-size: .7rem; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.14); margin-left: 4px; }
.h-time li.past time, .h-time li.past span { opacity: .6; }

.h-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9rem; }
.h-stack { display: grid; gap: 18px; }
.h-banner { padding-top: 0; overflow: hidden; }
.h-banner h2 { margin: 0 -20px 12px; padding: 12px 20px; background: var(--deep); color: #fff; font-size: 1.3rem; }
.h-banner h2 i { color: #fff; }
.h-banner h2.h-orange { color: var(--orange-2); }
.h-banner h2.h-orange i { color: var(--orange-2); }
.h-small { margin: 0 0 6px; font-size: .88rem; }
.h-banner p { margin: 0 0 8px; font-size: .92rem; }
.h-mail { font-weight: 800; color: var(--deep); text-decoration: none; word-break: break-word; }
.h-mail:hover { text-decoration: underline; }

.h-how { background: var(--white); border-top: 1px solid var(--line); padding: 40px 0; }
.h-how-in h2 { margin: 0 0 18px; text-align: center; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; color: var(--deep); }
.h-how ol { list-style: none; counter-reset: s; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.h-how li { counter-increment: s; background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.h-how li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #2a1a02; display: grid; place-items: center; font-weight: 800; margin-bottom: 4px; }
.h-how li span { font-size: .88rem; color: var(--muted); }
.h-how-in > p { text-align: center; margin: 0; }

.h-closers { background: var(--white); border-top: 1px solid var(--line); }
.h-closers-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 26px 0; }
.h-closer { display: flex; align-items: center; gap: 14px; }
.h-closer + .h-closer { border-left: 1px solid var(--line); padding-left: 16px; }
.h-closer span { width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-size: 1.35rem; }
.h-closer p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.25; }
.h-closer b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; color: var(--deep); }
.h-strip { background: var(--deep); color: #fff; }
.h-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding: 12px 0; font-size: .9rem; }
.h-strip a { color: #fff; text-decoration: none; }
.h-strip a:hover { text-decoration: underline; }
.h-strip i { margin-right: 6px; color: var(--orange-2); }
.h-social i { margin-right: 8px; color: #fff; }

@media (max-width: 1000px) {
  .h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-how ol, .h-closers-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-closer:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .h-hero { padding-top: 34px; }
  .h-title { gap: 10px; }
  .h-theme { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .h-theme-tag { justify-self: start; }
  .h-theme p { padding-left: 0; border-left: 0; }
  .h-photo { border-width: 3px; border-radius: 12px; }
  .h-photo img { aspect-ratio: 4 / 3; object-position: 50% 40%; }
  .h-date { gap: 10px; }
  .h-grid, .h-how ol, .h-closers-in { grid-template-columns: 1fr; }
  .h-closer + .h-closer { border-left: 0; padding-left: 0; }
  .h-cta .btn { width: 100%; }
}
/* Three flyer-style columns; cards flow freely below 1000px. */
.h-col { display: grid; gap: 18px; align-content: start; }
@media (max-width: 1000px) { .h-col { display: contents; } }
@media (max-width: 640px) {
  .h-ord { font-size: 3.9rem; }
  .h-title h1 { font-size: clamp(1.35rem, 6.8vw, 2.3rem); }
  .h-sub { font-size: clamp(.95rem, 4.4vw, 1.15rem); overflow-wrap: anywhere; }
  .h-title > div { min-width: 0; }
}
.pay-slow { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.pay-slow p { margin: 0; }
/* Receipt verification page */
.verify { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; margin-bottom: 18px; border: 1px solid; }
.verify i { font-size: 2.4rem; line-height: 1; }
.verify b { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.verify p { margin: 0; }
.verify.ok { background: var(--ok-bg); color: var(--ok); border-color: #b9dfc4; }
.verify.bad { background: var(--bad-bg); color: var(--bad); border-color: #f2c4bf; }
.verify-form { padding: 20px 22px; display: grid; gap: 12px; } .verify-form p { margin: 0; }
