/* Goberera site stylesheet, generated by _build/build.py from style.css, v5.css, v6.css, v7.css, v8.css, v9.css, v10.css. Do not edit. */
/* ---- style.css ---- */
/* ==========================================================================
   Goberera Initiative Uganda — website design system v4 (October 2026)
   White paper, GIU blue #1B4596, navy #0F2A5F, sun yellow #F0B323.
   Signature: the contour lines from the report cover, drawn live in SVG.
   Type: Plus Jakarta Sans (headings) · Inter (text and labels).
   ========================================================================== */
:root {
  --blue: #1B4596; --blue-600: #163A80; --navy: #0F2A5F; --ink: #12192B; --text: #2B3447; --muted: #667085;
  --yellow: #F0B323; --yellow-50: #FFF8E6; --yellow-100: #FDEFC6;
  --paper: #FFFFFF; --mist: #F6F8FC; --mist-2: #EEF2F9; --line: #E3E8F1; --line-2: #D3DBE8;
  --ok: #187A4C; --ok-bg: #E4F4EB; --warn: #8A5A00; --warn-bg: #FFF3D4; --bad: #A4262C; --bad-bg: #FBE8E9;
  --official: #1B4596; --verified: #187A4C; --citizen: #6B46C1; --calculated: #667085; --disputed: #A4262C;
  --serif: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Inter", "Segoe UI", system-ui, Arial, sans-serif;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 1px rgba(15,42,95,.04), 0 8px 28px -10px rgba(15,42,95,.18);
  --shadow-lg: 0 30px 80px -30px rgba(15,42,95,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--navy); }
::selection { background: var(--yellow-100); color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .45em; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
h1, h2, .display { font-family: var(--serif); font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 4.9vw, 4.2rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.03em; }
h3 { font: 600 1.12rem/1.3 var(--sans); letter-spacing: -.01em; }
h1 em, h2 em, .display em { font-style: normal; color: var(--blue); font-weight: inherit; }
h1 em.sun, h2 em.sun { color: var(--navy); background: linear-gradient(transparent 62%, var(--yellow-100) 62%); }
p { margin: 0 0 1.1em; } strong, b { color: var(--ink); font-weight: 600; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; font-weight: 600; }
.kicker::before, .eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); opacity: 1; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .mono { font-family: var(--mono); }
.tbc { border-bottom: 1px dashed var(--yellow); color: inherit; font-size: inherit; }

/* ------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; flex: none; } .brand img { height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { position: relative; display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font: 500 .9rem var(--sans); border-radius: 8px; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--navy); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.kbtn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--muted); font: 500 .85rem var(--sans); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.kbtn:hover { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,69,150,.08); }
.kbtn kbd, kbd { font: 500 .7rem var(--mono); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 2px 5px; color: var(--muted); background: var(--mist); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: 600 .86rem var(--sans); transition: background .2s, transform .2s; }
.pill:hover { background: var(--blue); color: #fff; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(240,179,35,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,179,35,.6); } 70% { box-shadow: 0 0 0 9px rgba(240,179,35,0); } 100% { box-shadow: 0 0 0 0 rgba(240,179,35,0); } }
.burger { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; } .burger span::before { top: -5px; } .burger span::after { top: 5px; }
@media (max-width: 1120px) { .site-nav { display: none; } .hdr-actions { margin-left: auto; } }
@media (max-width: 560px) { .kbtn .lbl, .kbtn kbd { display: none; } .pill { padding: 0 12px; } .pill .txt { display: none; } }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 90; background: #fff; display: grid; grid-template-rows: auto 1fr; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow: auto; }
.menu.open { opacity: 1; visibility: visible; }
.menu .top { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.menu .close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.menu .body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 30px 0 60px; position: relative; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu ol li { counter-increment: m; border-bottom: 1px solid var(--line); overflow: hidden; }
.menu ol a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; text-decoration: none; color: var(--ink); font: 700 clamp(1.7rem, 3.8vw, 2.7rem)/1.1 var(--serif); letter-spacing: -.02em; transform: translateY(105%); transition: transform .6s var(--ease), color .2s; }
.menu.open ol a { transform: none; }
.menu ol li:nth-child(2) a { transition-delay: .04s; } .menu ol li:nth-child(3) a { transition-delay: .08s; } .menu ol li:nth-child(4) a { transition-delay: .12s; } .menu ol li:nth-child(5) a { transition-delay: .16s; } .menu ol li:nth-child(6) a { transition-delay: .2s; } .menu ol li:nth-child(7) a { transition-delay: .24s; } .menu ol li:nth-child(8) a { transition-delay: .28s; } .menu ol li:nth-child(9) a { transition-delay: .32s; }
.menu ol a::before { content: "0" counter(m); font: 500 .75rem var(--mono); color: var(--blue); letter-spacing: .1em; }
.menu ol a:hover { color: var(--blue); } .menu ol a:hover em { color: var(--yellow); }
.menu aside { font-size: .95rem; } .menu aside h4 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.menu aside p { margin-bottom: 26px; }
@media (max-width: 800px) { .menu .body { grid-template-columns: 1fr; } }

/* command palette */
.palette { position: fixed; inset: 0; z-index: 95; background: rgba(15,42,95,.28); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.palette.open { display: flex; animation: fade .2s var(--ease); }
.palette .box { width: min(640px, 100%); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; animation: pop .25s var(--ease); }
.palette input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; font: 400 1.05rem var(--sans); outline: none; border-radius: 0; }
.palette ul { list-style: none; margin: 0; padding: 8px; max-height: 52vh; overflow: auto; }
.palette li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.palette li a .k { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); min-width: 74px; }
.palette li a.on, .palette li a:hover { background: var(--mist); color: var(--navy); }
.palette .foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ------------------------------------------------------------- contour lines */
.contours { position: absolute; pointer-events: none; overflow: visible; }
.contours path { fill: none; stroke-width: 1.05; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 7vw, 90px); }
.hero .contours.c1 { right: -8%; top: -14%; width: 50%; height: 92%; }
.hero .contours.c2 { left: -18%; bottom: -78%; width: 26%; height: 80%; opacity: .6; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; } .hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; } .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; font: 600 .95rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn .arr { transition: transform .3s var(--ease); } .btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; } .btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; } .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-yellow { background: var(--yellow); color: var(--navy); } .btn-yellow:hover { background: #E5A616; color: var(--navy); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .85rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta-row span::before { content: "●"; color: var(--yellow); margin-right: 8px; font-size: .7em; vertical-align: 1px; }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 72px; gap: 12px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; background: var(--mist); border: 1px solid var(--line); animation: tileIn .9s var(--ease) both; }
.tile:nth-child(2) { animation-delay: .1s; } .tile:nth-child(3) { animation-delay: .2s; } .tile:nth-child(4) { animation-delay: .3s; } .tile:nth-child(5) { animation-delay: .4s; } .tile:nth-child(6) { animation-delay: .5s; }
@keyframes tileIn { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile .tag { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--ink); font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; }
.tile .tag::before { content: "→ "; color: var(--blue); }
.tile.blue { background: var(--blue); border-color: var(--blue); color: #dbe5f7; padding: 18px; }
.tile.navy { background: var(--navy); border-color: var(--navy); color: #c9d5ec; padding: 18px; }
.tile.sun { background: var(--yellow); border-color: var(--yellow); color: var(--navy); padding: 18px; }
.tile.paper { background: #fff; padding: 18px; }
.tile .big { font: 700 clamp(1.4rem, 2.1vw, 2rem)/1 var(--serif); white-space: nowrap; letter-spacing: -.02em; color: inherit; display: block; }
.tile.blue .big, .tile.navy .big { color: #fff; }
.tile .lbl { font: 500 .66rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; display: block; margin-top: 8px; }
.tile .contours { inset: -10% -20% auto auto; width: 120%; height: 120%; }
.t1 { grid-column: 1 / 4; grid-row: span 4; } .t2 { grid-column: 4 / 7; grid-row: span 2; padding: 14px 16px; } .t3 { grid-column: 4 / 7; grid-row: span 2; }
.t4 { grid-column: 1 / 3; grid-row: span 2; } .t5 { grid-column: 3 / 5; grid-row: span 2; } .t6 { grid-column: 5 / 7; grid-row: span 2; }
.live { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.live .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.live .name { font: 600 .9rem/1.3 var(--sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.livedot { display: inline-flex; align-items: center; gap: 6px; font: 500 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.livedot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s infinite; box-shadow: 0 0 0 0 rgba(24,122,76,.5); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .mosaic { grid-auto-rows: 64px; } }
@media (max-width: 620px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(104px, auto); gap: 10px; }
  .live { gap: 10px; }
  .t1 { grid-column: 1 / -1; grid-row: span 2; } .t2 { grid-column: 1 / -1; grid-row: span 1; }
  .t3, .t4, .t5, .t6 { grid-column: span 1; grid-row: span 1; }
  .kicker { line-height: 1.5; align-items: flex-start; } .kicker::before { margin-top: .7em; flex: none; }
  .hero .actions .btn { width: 100%; justify-content: center; }
}

/* ticker / stats band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.band .st { padding: 30px 24px; border-right: 1px solid var(--line); }
.band .st:first-child { padding-left: 0; } .band .st:last-child { border-right: 0; }
.band .n { font: 700 clamp(2rem, 3.6vw, 3rem)/1 var(--serif); color: var(--navy); letter-spacing: -.03em; }
.band .n small { font-size: .45em; color: var(--blue); margin-left: 4px; font-family: var(--mono); letter-spacing: 0; }
.band .l { margin-top: 10px; font-size: .86rem; color: var(--muted); max-width: 26ch; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr 1fr; } .band .st:nth-child(2) { border-right: 0; } .band .st:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .band .st:nth-child(3) { padding-left: 0; } }

/* chapters */
.chapter { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.chapter.mist { background: var(--mist); }
.chapter-mark { display: flex; align-items: center; gap: 18px; justify-content: center; margin-bottom: clamp(40px, 6vw, 70px); font: 500 .72rem var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.chapter-mark::before, .chapter-mark::after { content: ""; flex: 1; max-width: 340px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.chapter-mark::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.chapter-mark b { color: var(--blue); font-weight: 500; }
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.zig.flip > :first-child { order: 2; }
@media (max-width: 900px) { .zig { grid-template-columns: 1fr; } .zig.flip > :first-child { order: 0; } }
.quote { margin: 30px 0; padding-left: 22px; border-left: 2px solid var(--yellow); }
.quote p { font: 500 clamp(1.2rem, 1.9vw, 1.45rem)/1.45 var(--serif); color: var(--navy); margin-bottom: 10px; }
.quote cite { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.textlink { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.textlink:hover { border-color: var(--blue); }

/* route card: promises being followed */
.route { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 26px; overflow: hidden; }
.route .hd { display: flex; justify-content: space-between; align-items: center; font: 500 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.route svg { width: 100%; height: auto; }
.route .list { margin-top: 10px; border-top: 1px solid var(--line); }
.route .item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.route .item:last-child { border-bottom: 0; }
.route .item b { font-weight: 600; color: var(--ink); } .route .item span { font-size: .82rem; color: var(--muted); }
.route .item:hover b { color: var(--blue); }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; font-size: .84rem; max-width: 230px; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; font-size: .88rem; } .float-card .muted { font-size: .8rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* pathways stepper */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); margin-top: 48px; }
.steps4 > div { padding: 26px 22px 6px 0; position: relative; }
.steps4 > div::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px #fff; }
.steps4 .no { font: 700 2.6rem/1 var(--serif); color: var(--blue); }
.steps4 h3 { margin: 12px 0 8px; }
.steps4 p { font-size: .92rem; color: var(--muted); }
.when { display: inline-block; font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--mist-2); color: var(--blue); }
.when.later { background: var(--yellow-50); color: var(--warn); }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }

/* programme index (editorial list) */
.index-list { border-top: 1px solid var(--ink); }
.index-list a { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 40px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); position: relative; transition: padding .4s var(--ease); }
.index-list a:hover { padding-left: 14px; }
.index-list .no { font: 500 .78rem var(--mono); color: var(--blue); letter-spacing: .1em; }
.index-list .t { font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.index-list .d { color: var(--muted); font-size: .95rem; }
.index-list .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.index-list a:hover .go { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(-45deg); }
.index-list .peek { position: absolute; right: 80px; top: 50%; width: 180px; height: 120px; border-radius: 12px; overflow: hidden; transform: translateY(-50%) scale(.9) rotate(-3deg); opacity: 0; transition: opacity .3s, transform .5s var(--ease); pointer-events: none; box-shadow: var(--shadow); }
.index-list .peek img { width: 100%; height: 100%; object-fit: cover; }
.index-list a:hover .peek { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }
@media (max-width: 800px) { .index-list a { grid-template-columns: 44px 1fr 40px; } .index-list .d, .index-list .peek { display: none; } }

/* registry / receipt card */
.registry { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.registry .hd { background: var(--navy); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; position: relative; overflow: hidden; }
.registry dl { margin: 0; padding: 6px 20px 14px; }
.registry dl div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: .9rem; }
.registry dl div:last-child { border-bottom: 0; }
.registry dt { color: var(--muted); } .registry dd { margin: 0; font-family: var(--mono); font-size: .82rem; color: var(--ink); }

/* generic blocks used by inner pages */
section.block { padding: clamp(60px, 8vw, 110px) 0; } section.block.tint { background: var(--mist); } section.block.tight { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.card h3 { margin-bottom: 10px; } .card p:last-child { margin-bottom: 0; }
.card.link { display: block; text-decoration: none; color: inherit; } .card.link:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mist-2); display: grid; place-items: center; margin-bottom: 16px; } .card .icon img { width: 28px; height: 28px; }
.card .more { font-weight: 600; color: var(--blue); font-size: .9rem; }
.stat { padding: 24px 0; border-top: 1px solid var(--line-2); }
.stat b { display: block; font: 700 2.4rem/1 var(--serif); color: var(--navy); letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel-yellow { background: var(--yellow-50); border: 1px solid var(--yellow-100); border-radius: 20px; padding: 30px; }
.panel-blue { position: relative; overflow: hidden; background: var(--navy); color: #c9d5ec; border-radius: 26px; padding: clamp(30px, 5vw, 60px); }
.panel-blue h2, .panel-blue h3 { color: #fff; } .panel-blue h2 em { color: var(--yellow); }
.panel-blue > *:not(.contours) { position: relative; z-index: 1; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 1px solid var(--line-2); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px #fff; }
.timeline b { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.factlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.factlist li { position: relative; padding-left: 26px; }
.factlist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1.5px; background: var(--yellow); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
table.data th { text-align: left; font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--ink); background: #fff; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:hover td { background: var(--mist); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font: 700 1.25rem var(--serif); color: var(--ink); list-style: none; }
label { font: 600 .88rem var(--sans); color: var(--ink); }
input, select, textarea { font: inherit; font-size: .95rem; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,69,150,.45); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
form .field { display: grid; gap: 6px; margin-bottom: 16px; }

/* page head for inner pages */
.page-head { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-head .contours { right: -4%; top: -20%; width: 46%; height: 140%; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.crumbs { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--blue); }

/* CTA + ribbon + footer */
.cta { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.cta .contours.c1 { left: -16%; top: -20%; width: 30%; height: 140%; } .cta .contours.c2 { right: -16%; top: -20%; width: 30%; height: 140%; }
@media (max-width: 900px) { .cta .contours { opacity: .35; } }
.cta h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; margin-inline: auto; }
.cta form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta select { width: auto; min-width: 230px; height: 50px; border-radius: 999px; padding: 0 18px; }
.ribbon { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 70; width: min(760px, calc(100% - 24px)); background: var(--navy); color: #dbe4f5; border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); }
.ribbon.show { transform: translate(-50%, 0); }
.ribbon b { color: #fff; } .ribbon .txt { flex: 1; font-size: .9rem; }
.ribbon select { width: auto; height: 40px; border-radius: 999px; border: 0; padding: 0 14px; font-size: .85rem; }
.ribbon .btn { height: 40px; }
.ribbon .x { background: none; border: 0; color: #9fb0d3; font-size: 20px; cursor: pointer; padding: 0 8px; }
@media (max-width: 680px) { .ribbon { border-radius: 18px; flex-wrap: wrap; padding: 12px; } .ribbon .txt { flex-basis: 100%; } }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 70px 0 30px; position: relative; overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.site-footer .say { font: 600 clamp(1.5rem, 2.8vw, 2.2rem)/1.2 var(--serif); color: var(--ink); letter-spacing: -.02em; margin: 18px 0 0; }
.site-footer .say em { color: var(--blue); }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer h4 { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer ul a { color: var(--text); text-decoration: none; } .site-footer ul a:hover { color: var(--blue); }
.site-footer .legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .8rem; color: var(--muted); }
.site-footer .legal a { color: var(--muted); }
.site-footer .wordmark { font: 700 clamp(4rem, 15vw, 13rem)/.8 var(--serif); letter-spacing: -.05em; color: var(--mist-2); margin-top: 40px; white-space: nowrap; user-select: none; }
.site-footer .wordmark em { color: var(--yellow-100); }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr; } .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; } .contours path { stroke-dashoffset: 0; } .menu ol a { transform: none; }
}

/* ===================== Goberera Projects Explorer ===================== */
.ex-shell { padding: 30px 0 90px; }
.ex-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.ex-tabs { display: inline-flex; gap: 2px; background: var(--mist); padding: 4px; border-radius: 12px; border: 1px solid var(--line); flex-wrap: wrap; }
.ex-tabs a { text-decoration: none; padding: 8px 14px; border-radius: 9px; font: 500 .86rem var(--sans); color: var(--muted); transition: color .2s, background .2s; }
.ex-tabs a:hover { color: var(--ink); }
.ex-tabs a.on { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(15,42,95,.08), 0 0 0 1px var(--line); }
.demo-banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .84rem; color: var(--muted); padding: 10px 0 14px; border-bottom: 1px dashed var(--line-2); margin-bottom: 18px; }
.demo-banner b { color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 10px; font: 500 .84rem var(--sans); color: var(--ink); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; padding: 0; border: 0; cursor: pointer; transition: background .2s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch input:checked { background: var(--blue); } .switch input:checked::after { transform: translateX(16px); }
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.filters input, .filters select { padding: 10px 12px; font-size: .88rem; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters .search { grid-column: 1 / -1; } }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: #fff; }
.kpis .kpi { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.kpis .kpi:nth-child(4n) { border-right: 0; } .kpis .kpi:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:nth-child(2n) { border-right: 0; } .kpis .kpi:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); } .kpis .kpi:nth-last-child(-n+2) { border-bottom: 0; } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; position: relative; }
.kpi b { display: block; font: 700 1.65rem/1.1 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.kpi span { font-size: .8rem; color: var(--muted); }
.kpi .def { position: absolute; right: 12px; top: 12px; }
.info { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); font: 600 10px/16px var(--mono); text-align: center; cursor: help; background: #fff; display: inline-block; position: relative; }
.info:hover::after, .info:focus::after { content: attr(data-tip); position: absolute; right: 0; top: 24px; width: 270px; background: var(--ink); color: #fff; font: 400 .78rem/1.5 var(--sans); text-align: left; padding: 10px 12px; border-radius: 10px; z-index: 30; box-shadow: var(--shadow); text-transform: none; letter-spacing: 0; }
.ex-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
@media (max-width: 960px) { .ex-grid { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.box h3 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.box h3 a { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
#map { height: 440px; border-radius: 12px; background: var(--mist); z-index: 1; }
.plist { display: grid; gap: 8px; }
.pcard { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; background: #fff; transition: border-color .2s, background .2s; }
.pcard:hover { border-color: var(--blue); background: #FBFCFF; }
.pcard .t { font: 600 .95rem/1.35 var(--sans); color: var(--ink); }
.pcard .m { font-size: .8rem; color: var(--muted); grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pcard code, .idline code { font: 500 .72rem var(--mono); background: var(--mist); padding: 2px 6px; border-radius: 5px; color: var(--navy); }
.bar { height: 6px; background: var(--mist-2); border-radius: 99px; overflow: hidden; position: relative; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); border-radius: 99px; }
.bar i.v { background: var(--ok); height: 3px; top: auto; bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--mist-2); color: var(--navy); white-space: nowrap; }
.chip.demo { background: var(--yellow-50); color: var(--warn); border: 1px dashed #E8C66C; }
.chip.real { background: var(--ok-bg); color: var(--ok); }
.chip.official { background: #E8EEFA; color: var(--official); } .chip.verified { background: var(--ok-bg); color: var(--verified); }
.chip.citizen { background: #EFE9FB; color: var(--citizen); } .chip.calculated { background: #EEF0F4; color: var(--calculated); } .chip.disputed { background: var(--bad-bg); color: var(--disputed); }
.chip.flag { background: var(--bad-bg); color: var(--bad); } .chip.flag.amber { background: var(--warn-bg); color: var(--warn); } .chip.flag.ok { background: var(--ok-bg); color: var(--ok); }
.stage { font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--mist-2); color: var(--navy); white-space: nowrap; }
.stage.Completed, .stage.Operational { background: var(--ok-bg); color: var(--ok); }
.stage.Stalled, .stage.Cancelled { background: var(--bad-bg); color: var(--bad); }
.stage.Procurement, .stage.Preparation, .stage.Identification { background: var(--warn-bg); color: var(--warn); }
.sortable th { cursor: pointer; user-select: none; white-space: nowrap; } .sortable th:hover { color: var(--blue); }
.prof-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; margin: 8px 0 20px; }
.prof-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 10px; }
@media (max-width: 760px) { .prof-head { grid-template-columns: 1fr; } }
.idline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.money { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.money .kpi { border: 0; border-right: 1px solid var(--line); border-radius: 0; } .money .kpi:last-child { border-right: 0; }
@media (max-width: 800px) { .money { grid-template-columns: 1fr 1fr; } .money .kpi:nth-child(2) { border-right: 0; } .money .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.ptabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 6px 0 18px; overflow-x: auto; }
.ptabs button { border: 0; background: none; padding: 12px 14px; font: 500 .88rem var(--sans); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s; }
.ptabs button:hover { color: var(--ink); }
.ptabs button.on { color: var(--navy); border-bottom-color: var(--yellow); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ind .kpi b { font-size: 1.35rem; }
.formula { font: 500 .72rem/1.4 var(--mono); color: var(--muted); background: var(--mist); padding: 6px 8px; border-radius: 6px; margin-top: 8px; }
.svgchart text { font-family: var(--sans); }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: .88rem; z-index: 99; }
.compare { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }
.empty { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 14px; font-size: .9rem; }
.leaflet-container { font-family: var(--sans); }
@media print {
  .site-header, .site-footer, .ribbon, .ex-tabs, .ptabs, .demo-banner, .filters, .noprint, .menu, .palette { display: none !important; }
  .tabpane { display: block !important; } .rv { opacity: 1; transform: none; } body { font-size: 11pt; }
}

/* ---- v5.css ---- */
/* ==========================================================================
   Goberera website — v5 layer: glass header, iOS controls, big animated heroes,
   refined spacing and components. Loaded after style.css.
   ========================================================================== */
h1 { letter-spacing: -.025em; } h2 { letter-spacing: -.02em; }
.kicker, .eyebrow { letter-spacing: .08em; }
.chapter-mark { letter-spacing: .16em; }

/* ---------- floating glass navigation ---------- */
.site-header { position: sticky; top: 12px; background: transparent !important; border: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transition: transform .45s var(--ease); }
.site-header.hide { transform: translateY(-130%); }
.site-header .wrap { min-height: 64px; padding: 0 10px 0 18px; border-radius: 20px; background: rgba(255,255,255,.6);
  backdrop-filter: saturate(190%) blur(22px); -webkit-backdrop-filter: saturate(190%) blur(22px);
  border: 1px solid rgba(255,255,255,.75); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 34px -14px rgba(15,42,95,.25), 0 0 0 1px rgba(15,42,95,.05); transition: background .3s; }
.site-header.scrolled .wrap { background: rgba(255,255,255,.8); }
.brand img { height: 38px; }
.site-nav a { font-size: .88rem; padding: 7px 11px; }
.site-nav a::after { bottom: 3px; }
.kbtn { height: 38px; background: rgba(255,255,255,.5); border-color: rgba(15,42,95,.1); }
.burger { width: 38px; height: 38px; background: rgba(255,255,255,.5); border-color: rgba(15,42,95,.1); border-radius: 12px; }
.pill { height: 38px; padding: 0 16px 0 12px; gap: 9px; border-radius: 999px; background: rgba(27,69,150,.10); color: var(--navy);
  border: 1px solid rgba(27,69,150,.2); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset, 0 6px 16px -8px rgba(27,69,150,.45); font-weight: 600; }
.pill:hover { background: rgba(27,69,150,.18); color: var(--navy); transform: translateY(-1px); }
.pill .dot { width: 8px; height: 8px; background: var(--yellow); }

/* ---------- big animated heroes (all pages) ---------- */
.hero, .page-head { margin-top: -76px; }
.hero { padding-top: 150px; min-height: 100vh; display: flex; align-items: center; }
.hero > .wrap { width: min(1240px, 100% - 40px); }
.hero .contours.c1 { right: -6%; top: -6%; width: 50%; height: 96%; }
.hero .contours.c2 { left: -10%; bottom: -24%; width: 34%; height: 74%; }
.page-head { position: relative; overflow: hidden; min-height: min(86vh, 820px); display: flex; align-items: center; padding: 150px 0 110px; border-bottom: 0;
  background: radial-gradient(1100px 520px at 88% 0%, rgba(240,179,35,.10), transparent 60%), radial-gradient(900px 520px at 0% 100%, rgba(27,69,150,.08), transparent 60%), #fff; }
.page-head .contours.c1 { right: -5%; top: -8%; width: 48%; height: 104%; left: auto; bottom: auto; }
.page-head .contours.c2 { left: -9%; bottom: -26%; width: 36%; height: 82%; top: auto; right: auto; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(3.1rem, 8vw, 7rem); line-height: .96; max-width: 12ch; margin-bottom: 26px; letter-spacing: -.035em; }
.page-head h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.page-head h1 .line > span { display: inline-block; animation: rise 1.05s var(--ease) both; }
.page-head h1 .line:nth-child(2) > span { animation-delay: .14s; }
.page-head .lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 44ch; animation: fadeUp 1s var(--ease) .3s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.page-num { display: inline-flex; gap: 12px; align-items: center; font: 600 .82rem var(--sans); color: var(--blue); letter-spacing: .06em; margin-bottom: 22px; animation: fadeUp .9s var(--ease) both; }
.page-num b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(27,69,150,.08); border: 1px solid rgba(27,69,150,.16); font-weight: 700; }
.head-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; animation: fadeUp 1s var(--ease) .45s both; }
.head-chips a, .head-chips span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.72);
  border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); text-decoration: none; font: 500 .92rem var(--sans); transition: border-color .2s, transform .25s var(--ease), color .2s; }
.head-chips a:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--blue); }
.head-chips b { color: var(--blue); font-weight: 700; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; z-index: 1; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
/* contour lines: slow drift after they draw in */
.contours { animation: drift 16s ease-in-out 3s infinite alternate; }
@keyframes drift { to { transform: translate3d(-10px, 8px, 0) rotate(-.6deg); } }
@media (max-width: 700px) { .page-head { min-height: 78vh; padding-top: 130px; } .page-head .contours.c1 { width: 70%; opacity: .7; } .page-head .contours.c2 { width: 60%; opacity: .6; } .scroll-cue { display: none; } }

/* ---------- glass and spotlight cards ---------- */
.card, .glass { position: relative; overflow: hidden; }
.glass { background: rgba(255,255,255,.75); border: 1px solid rgba(15,42,95,.07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 22px; padding: 28px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 22px 50px -32px rgba(15,42,95,.4); transition: transform .4s var(--ease), box-shadow .4s; }
.glass:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -30px rgba(15,42,95,.45); }
.card::before, .glass::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, -300px) var(--my, -300px), rgba(240,179,35,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before, .glass:hover::before { opacity: 1; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .feature-grid, .feature-grid.g3 { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .feature-grid, .feature-grid.g3 { grid-template-columns: 1fr; } }
.feature-grid h3 { margin: 16px 0 8px; font-size: 1.1rem; } .feature-grid p { color: var(--muted); font-size: .95rem; margin: 0; }
.ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(27,69,150,.14), rgba(27,69,150,.04)); color: var(--blue); }
.ico.sun { background: linear-gradient(135deg, rgba(240,179,35,.28), rgba(240,179,35,.08)); color: #8A5A00; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- horizontal timeline ---------- */
.htl { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 36px; }
.htl::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--yellow)); opacity: .4; }
.htl > div { position: relative; padding: 48px 20px 0 0; }
.htl > div::before { content: ""; position: absolute; top: 10px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 5px #fff; }
.htl > div:nth-child(even)::before { border-color: var(--yellow); }
.htl b { display: block; font: 700 .82rem var(--sans); color: var(--blue); letter-spacing: .05em; margin-bottom: 6px; }
.htl p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 760px) { .htl { grid-template-columns: 1fr 1fr; row-gap: 26px; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 28px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font: 700 clamp(1.7rem, 3.6vw, 3rem)/1 var(--serif); letter-spacing: -.025em; color: transparent; -webkit-text-stroke: 1.2px rgba(15,42,95,.35); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }
.marquee span:nth-child(3n+1) { color: var(--navy); -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* ---------- frosted floating report capsule ---------- */
.ribbon { width: min(760px, calc(100% - 24px)); background: rgba(255,255,255,.72); color: var(--ink); border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: saturate(190%) blur(22px); -webkit-backdrop-filter: saturate(190%) blur(22px); border-radius: 22px; padding: 8px 8px 8px 10px; gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 26px 60px -24px rgba(15,42,95,.5), 0 0 0 1px rgba(15,42,95,.06); }
.ribbon .txt { font-size: .86rem; color: var(--muted); line-height: 1.35; } .ribbon b { color: var(--ink); display: block; font-size: .92rem; }
.ribbon .rib-ico { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(27,69,150,.16), rgba(27,69,150,.05)); color: var(--blue); }
.ribbon .rib-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ribbon select { height: 42px; border-radius: 13px; background: rgba(255,255,255,.85); border: 1px solid rgba(15,42,95,.12); padding: 0 12px; font-size: .86rem; min-width: 168px; color: var(--ink); }
.ribbon .btn { height: 42px; border-radius: 13px; padding: 0 16px; background: var(--blue); color: #fff; }
.ribbon .btn:hover { background: var(--navy); }
.ribbon .x { width: 32px; height: 32px; border-radius: 50%; color: var(--muted); background: rgba(15,42,95,.06); font-size: 18px; line-height: 1; padding: 0; flex: none; }
@media (max-width: 680px) { .ribbon .rib-ico { display: none; } .ribbon select { flex: 1; min-width: 0; } }

/* ---------- menu: accent words without italic gaps ---------- */
.menu { background: rgba(255,255,255,.88); backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%); }
.menu ol a em { font-style: normal; color: var(--blue); }
.menu ol a { letter-spacing: -.025em; }

/* ---------- misc ---------- */
.lead-big { font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.3 var(--serif); letter-spacing: -.02em; color: var(--ink); max-width: 30ch; }
.lead-big em { font-style: normal; color: var(--blue); }
.site-footer .legal { justify-content: space-between; }
.tracker-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; animation: fadeUp 1s var(--ease) .45s both; }
@media (prefers-reduced-motion: reduce) { .marquee .track, .contours { animation: none !important; } }

/* ---------- feminine touch: blush tones, organic shapes, hand-drawn underline ---------- */
:root { --blush: #FBE9EE; --blush-2: #F6D3DC; --rose: #C2577A; --peach: #FFF1E6; }
h1 em, h2 em { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 120 18, 180 9 S 270 6, 297 11' fill='none' stroke='%23F0B323' stroke-width='5' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E") left bottom / 100% .26em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .05em; animation: underline 1.2s var(--ease) .7s both; }
@keyframes underline { from { background-size: 0% .26em; } }
.page-head, .hero { background: radial-gradient(900px 480px at 90% 4%, rgba(240,179,35,.10), transparent 60%), radial-gradient(700px 420px at 4% 96%, rgba(27,69,150,.08), transparent 60%), radial-gradient(520px 380px at 70% 92%, rgba(232,165,180,.16), transparent 62%), #fff; }
.chapter.mist { background: linear-gradient(180deg, #F7F9FD 0%, #FDF5F7 100%); overflow: hidden; }
.chapter.mist::before, .chapter.mist::after { content: ""; position: absolute; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; filter: blur(2px); pointer-events: none; animation: blob 18s ease-in-out infinite alternate; }
.chapter.mist::before { width: 420px; height: 420px; right: -120px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(246,211,220,.7), rgba(246,211,220,0) 70%); }
.chapter.mist::after { width: 360px; height: 360px; left: -110px; bottom: -120px; background: radial-gradient(circle at 60% 60%, rgba(240,179,35,.18), rgba(240,179,35,0) 70%); animation-delay: -6s; }
.chapter.mist > .wrap, .chapter.mist > .narrow { position: relative; z-index: 1; }
@keyframes blob { to { border-radius: 58% 42% 44% 56% / 44% 58% 42% 56%; transform: translate(-20px, 16px) scale(1.06); } }
.ico.rose { background: linear-gradient(135deg, rgba(232,165,180,.38), rgba(232,165,180,.12)); color: var(--rose); }
.glass { border-radius: 26px; }
.glass .num { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--blush); color: var(--rose); font-weight: 700; }
.women .glass { background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(251,233,238,.7)); }
.mosaic .tile { border-radius: 26px; }
.mosaic .t1 { border-radius: 120px 26px 26px 26px; }
.mosaic .t4 { border-radius: 26px 26px 26px 80px; }
.zig img { border-radius: 140px 28px 28px 28px !important; box-shadow: 0 30px 60px -36px rgba(15,42,95,.45); }
.zig.flip img { border-radius: 28px 140px 28px 28px !important; }
.btn-primary { background: linear-gradient(135deg, #1B4596, #2A5BBE); box-shadow: 0 10px 24px -12px rgba(27,69,150,.7); }
.btn-primary:hover { background: linear-gradient(135deg, #0F2A5F, #1B4596); }
.btn-ghost { background: rgba(255,255,255,.7); backdrop-filter: blur(8px); }
.marquee span:nth-child(3n+2) { -webkit-text-stroke: 1.2px rgba(194,87,122,.45); }

/* ---------- floating tooltips (replaces clipped CSS tips) ---------- */
.info:hover::after, .info:focus::after { display: none !important; content: none !important; }
.info { cursor: help; transition: background .2s, color .2s, border-color .2s; }
.info:hover, .info:focus { background: var(--blue); color: #fff; border-color: var(--blue); outline: none; }
.ftip { position: fixed; z-index: 200; max-width: 280px; padding: 11px 14px; border-radius: 14px; font: 400 .82rem/1.5 var(--sans); color: var(--ink);
  background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(15,42,95,.08); box-shadow: 0 18px 40px -18px rgba(15,42,95,.45), 0 1px 0 rgba(255,255,255,.9) inset;
  pointer-events: none; opacity: 0; transform: translateY(4px) scale(.98); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.ftip.on { opacity: 1; transform: none; }
.ftip::before { content: ""; position: absolute; left: var(--ax, 50%); width: 10px; height: 10px; background: inherit; border: inherit; transform: translateX(-50%) rotate(45deg); }
.ftip.below::before { top: -6px; border-right: 0; border-bottom: 0; }
.ftip.above::before { bottom: -6px; border-left: 0; border-top: 0; }

/* ---------- line placement: yellow runs off the edge, blue sits low-left under the content ---------- */
.page-head .contours.c1 { top: -12%; height: 128%; width: 44%; right: -6%; }
.page-head .contours.c2 { left: -10%; bottom: -34%; width: 46%; height: 88%; opacity: .75; }
.hero .contours.c1 { top: -12%; height: 125%; }
.hero .contours.c2 { left: -10%; bottom: -30%; width: 44%; height: 80%; opacity: .75; }
.page-head .lead, .hero .lead { position: relative; }
@media (max-width: 700px) { .page-head .contours.c2, .hero .contours.c2 { bottom: -40%; width: 70%; } }

/* ---- v6.css ---- */
/* ==========================================================================
   Goberera website — v6 layer (loaded last)
   · Cover-corner line art from the report (yellow top-right, blue bottom-left), animated
   · Inter Tight display headings with correct punctuation spacing
   · Calm, distinctive buttons
   ========================================================================== */
:root { --serif: "Inter Tight", "Inter", "Segoe UI", system-ui, Arial, sans-serif; }
h1, h2, .display { font-family: var(--serif); font-weight: 700; letter-spacing: -.028em; font-kerning: normal; text-rendering: optimizeLegibility; }
h1 { letter-spacing: -.034em; }
.page-head h1 { letter-spacing: -.038em; line-height: .98; }
h3 { letter-spacing: -.012em; }

/* ---------- cover-corner line art ---------- */
.hero .contours, .page-head .contours { display: none !important; }
.cl { position: absolute; pointer-events: none; z-index: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; background-size: 260% 100%; }
.cl-y { top: 0; right: 0; width: min(46vw, 600px); aspect-ratio: 708 / 881; max-height: 100%;
  -webkit-mask-image: url(../img/waves_yellow.svg); mask-image: url(../img/waves_yellow.svg); -webkit-mask-position: top right; mask-position: top right;
  background-image: linear-gradient(110deg, #F0B323 0%, #F0B323 38%, #FFE7A3 48%, #F7C548 54%, #F0B323 64%, #F0B323 100%);
  animation: clRevealY 2.2s cubic-bezier(.2,.7,.2,1) both, clShine 9s linear 2.2s infinite, clFloatY 14s ease-in-out 2.2s infinite alternate; }
.cl-b { left: 0; bottom: 0; width: min(36vw, 470px); aspect-ratio: 734 / 923; max-height: 62%;
  -webkit-mask-image: url(../img/waves_blue.svg); mask-image: url(../img/waves_blue.svg); -webkit-mask-position: bottom left; mask-position: bottom left;
  background-image: linear-gradient(110deg, #1B4596 0%, #1B4596 38%, #7E9BDB 48%, #3C63B5 54%, #1B4596 64%, #1B4596 100%);
  opacity: .9; animation: clRevealB 2.4s cubic-bezier(.2,.7,.2,1) .25s both, clShine 11s linear 2.6s infinite reverse, clFloatB 16s ease-in-out 2.6s infinite alternate; }
@keyframes clRevealY { from { clip-path: inset(0 0 100% 0); opacity: 0; } 30% { opacity: 1; } to { clip-path: inset(0 0 0 0); } }
@keyframes clRevealB { from { clip-path: inset(100% 0 0 0); opacity: 0; } 30% { opacity: .9; } to { clip-path: inset(0 0 0 0); } }
@keyframes clShine { from { background-position: 100% 0; } to { background-position: -160% 0; } }
@keyframes clFloatY { to { transform: translate3d(6px, -8px, 0) rotate(.8deg); } }
@keyframes clFloatB { to { transform: translate3d(-6px, 8px, 0) rotate(-.8deg); } }
.hero > .wrap, .page-head > .wrap { position: relative; z-index: 1; }
.scroll-cue { display: none !important; }
@media (max-width: 900px) { .cl-y { width: 62vw; opacity: .75; } .cl-b { width: 52vw; max-height: 40%; opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .cl { animation: none !important; } }

/* ---------- buttons: calm, flat, brand-specific ---------- */
.btn { height: 48px; padding: 0 8px 0 20px; border-radius: 14px; font: 600 .95rem var(--sans); letter-spacing: -.005em; gap: 12px; box-shadow: none; transition: background .25s, color .25s, border-color .25s; }
.btn .arr { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: .95rem; transition: transform .3s cubic-bezier(.2,.7,.2,1), background .25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--navy) !important; color: #fff; box-shadow: none !important; }
.btn-primary .arr { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #142F66 !important; color: #fff; }
.btn-ghost { background: #fff !important; color: var(--ink); border: 1px solid var(--line-2); padding: 0 20px; backdrop-filter: none; }
.btn-ghost .arr { background: var(--mist-2); color: var(--blue); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn:not(:has(.arr)) { padding: 0 20px; }
.btn-sm { height: 40px; border-radius: 12px; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.ribbon .btn { height: 42px; border-radius: 12px; padding: 0 16px; background: var(--navy); }
.textlink { border-bottom-color: var(--yellow); }

/* ---------- v6.1: comfortable tracking; text sits on a soft glow above the lines ---------- */
h1, h2, .display { letter-spacing: -.018em; }
h1 { letter-spacing: -.022em; }
.page-head h1 { letter-spacing: -.024em; line-height: 1.02; }
.page-head .wrap::before, .hero .hero-grid > div:first-child::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -90px; top: -60px; width: min(900px, 75vw); height: calc(100% + 120px);
  background: radial-gradient(closest-side, rgba(255,255,255,.96), rgba(255,255,255,.82) 55%, rgba(255,255,255,0)); }
.hero .hero-grid > div:first-child { position: relative; z-index: 1; }
.cl-b { width: min(32vw, 440px); max-height: 66%; }

/* v6.2 */
h1, h2, .display { letter-spacing: -.008em; }
h1, .page-head h1 { letter-spacing: -.012em; }
.page-head .wrap::before, .hero .hero-grid > div:first-child::before { left: -340px; top: -80px; width: min(1250px, 100vw); height: calc(100% + 160px);
  background: radial-gradient(closest-side, rgba(255,255,255,.97), rgba(255,255,255,.9) 50%, rgba(255,255,255,.55) 75%, rgba(255,255,255,0)); }

/* ---- v7.css ---- */
/* ==========================================================================
   Goberera website — v7 layer (loaded last)
   · sharp image tiles · bold, consistent underline · one calm button style · editorial Tracker link
   ========================================================================== */

/* ---------- image tiles ---------- */
.mosaic .t1 { border-radius: 26px; }
.mosaic .t1 img { object-position: 32% 50%; }
.tile img, .zig img, .index-list .peek img { image-rendering: auto; }
.zig img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 28px !important; }

/* ---------- hand-drawn underline: same weight on every heading ---------- */
h1 em, h2 em {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 16 C 60 6, 120 21, 180 11 S 270 8, 297 13' fill='none' stroke='%23F0B323' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 96%; background-size: 100% max(.3em, 11px);
  padding-bottom: .08em; animation: underline2 1.2s cubic-bezier(.2,.7,.2,1) .6s both; }
@keyframes underline2 { from { background-size: 0% max(.3em, 11px); } }
h2 em { background-size: 100% max(.26em, 9px); }

/* ---------- one button style everywhere: white, fine border, navy text ---------- */
.btn, .btn-primary, .btn-ghost, .btn-yellow, .ribbon .btn {
  background: #fff !important; color: var(--navy) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important;
  height: 48px; padding: 0 22px !important; border-radius: 14px; font: 600 .95rem var(--sans); gap: 10px; }
.btn:hover, .btn-primary:hover, .btn-ghost:hover, .ribbon .btn:hover { border-color: var(--navy) !important; background: #fff !important; color: var(--navy) !important; }
.btn .arr { width: auto; height: auto; background: none !important; color: var(--blue) !important; border-radius: 0; font-size: 1rem; }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { height: 40px; border-radius: 12px; padding: 0 16px !important; }
.ribbon .btn { height: 42px; border-radius: 12px; padding: 0 16px !important; }

/* ---------- Tracker link: part of the navigation, with a quiet live tag ---------- */
.pill { display: none !important; }
.trk { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 4px 0 10px; color: var(--navy); text-decoration: none;
  font: 600 .88rem var(--sans); letter-spacing: -.005em; border-left: 1px solid var(--line); margin-left: 4px; white-space: nowrap; }
.trk:hover { color: var(--blue); }
.trk .lab { position: relative; }
.trk .lab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.trk:hover .lab::after, .trk[aria-current="page"] .lab::after { transform: scaleX(1); }
.trk-tag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 6px; background: #FFF6DC; color: #8A5A00;
  font: 700 .62rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.trk-tag i { width: 6px; height: 6px; border-radius: 50%; background: #E39A00; animation: trkpulse 2s ease-in-out infinite; }
@keyframes trkpulse { 50% { opacity: .25; } }
.trk .short { display: none; }
@media (max-width: 560px) { .trk .long { display: none; } .trk .short { display: inline; } .trk { border-left: 0; padding: 0 2px; } }

/* ---------- Tracker button: iOS tinted capsule (replaces the LIVE link) ---------- */
.trk { display: none !important; }
.ios-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px 0 12px; border-radius: 999px;
  background: rgba(27,69,150,.10); color: #1B4596; text-decoration: none; font: 600 .88rem/1 var(--sans); letter-spacing: -.01em; white-space: nowrap;
  border: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; transition: background .2s ease, transform .15s ease; }
.ios-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ios-pill .chev { width: 14px; height: 14px; stroke-width: 2.4; opacity: .55; margin-left: -1px; transition: transform .2s ease, opacity .2s; }
.ios-pill:hover { background: rgba(27,69,150,.16); color: #1B4596; }
.ios-pill:hover .chev { transform: translateX(2px); opacity: .9; }
.ios-pill:active { transform: scale(.96); background: rgba(27,69,150,.22); }
.ios-pill[aria-current="page"] { background: #1B4596; color: #fff; }
.ios-pill .short { display: none; }
@media (max-width: 560px) { .ios-pill .long { display: none; } .ios-pill .short { display: inline; } }

/* ---------- hero tile: dedicated portrait crop, button arrows off, firmer underline ---------- */
.mosaic .t1 img { object-position: 50% 50%; }
.btn .arr { display: none !important; }
h1 em, h2 em {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 14 C 70 8, 150 18, 220 11 S 280 10, 296 12' fill='none' stroke='%23F0B323' stroke-width='12' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: left 100%; background-size: 100% max(.22em, 10px); padding-bottom: .1em; }
@keyframes underline2 { from { background-size: 0% max(.22em, 10px); } }
h2 em { background-size: 100% max(.2em, 8px); }
/* the reveal mask was clipping the underline: give each line room below, without changing spacing */
.hero h1 .line, .page-head h1 .line { padding-bottom: .18em; margin-bottom: -.12em; }
h1 em, h2 em { background-size: 100% max(.2em, 10px); }

/* ---------- Discover button (after Obsidian UI "discover-button"), in GIU colours ---------- */
.disc { --h: 56px; position: relative; display: inline-flex; align-items: center; min-height: var(--h); max-width: 100%; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(27,69,150,.14); border-radius: 999px; background: rgba(27,69,150,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--navy); font: 600 1rem/1.1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; padding: 0;
  animation: discIn .5s cubic-bezier(.22,1,.36,1) both; -webkit-tap-highlight-color: transparent; }
.disc-fill { position: absolute; inset: 3px auto 3px 3px; width: calc(var(--h) - 8px); border-radius: inherit; background: #1B4596; z-index: -1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 -3px 0 #F0B323; transition: width .48s cubic-bezier(.65,0,.076,1); }
.disc-ico { display: grid; place-items: center; width: calc(var(--h) - 2px); height: calc(var(--h) - 2px); flex: none; color: #fff; transition: transform .48s cubic-bezier(.65,0,.076,1); }
.disc-txt { padding: 0 26px 0 12px; transition: color .32s ease; }
.disc:hover .disc-fill, .disc:focus-visible .disc-fill { width: calc(100% - 6px); }
.disc:hover .disc-ico, .disc:focus-visible .disc-ico { transform: translateX(7px); }
.disc:hover .disc-txt, .disc:focus-visible .disc-txt { color: #fff; }
.disc:active { transform: scale(.98); }
.disc:focus-visible { outline: 2px solid #F0B323; outline-offset: 4px; }
.disc-sm { --h: 42px; font-size: .9rem; }
.disc-sm .disc-txt { padding: 0 18px 0 6px; }
@keyframes discIn { from { opacity: 0; transform: scale(.92); } }
@media (prefers-reduced-motion: reduce) { .disc, .disc-fill, .disc-ico, .disc-txt { animation: none; transition: none; } }
.hero .actions, .tracker-hero-actions { align-items: center; }
.disc-fill { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.disc ~ .btn { height: 56px; border-radius: 999px; padding: 0 26px !important; }

/* ---- v8.css ---- */
/* ==========================================================================
   Goberera website — v8 layer: Tracker v2 components and the language switch
   Patterns after uiarc (segmented control, stepper, gauge, countdown, bottom sheet, copy button,
   chip group, timeline, donut) and Obsidian UI (discover button), drawn in GIU blue and yellow.
   ========================================================================== */

/* ---------- iOS segmented control with a gliding thumb ---------- */
.ex-tabs.seg { position: relative; display: inline-flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; gap: 0; padding: 3px; border-radius: 13px;
  background: rgba(118,118,128,.12); border: 0; scrollbar-width: none; }
.ex-tabs.seg::-webkit-scrollbar { display: none; }
.ex-tabs.seg .thumb { position: absolute; left: 0; top: 0; border-radius: 10px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04);
  transition: transform .38s cubic-bezier(.3,1.2,.4,1), width .38s cubic-bezier(.3,1.2,.4,1); pointer-events: none; z-index: 0; }
.ex-tabs.seg a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 10px; font: 600 .84rem var(--sans); letter-spacing: -.01em; color: #3C4458; white-space: nowrap; background: none !important; box-shadow: none !important; }
.ex-tabs.seg a.on { color: var(--navy); }
.ex-tabs.seg a:not(.on):hover { color: var(--ink); }
.ex-tabs .cnt { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: #1B4596; color: #fff; font: 700 .66rem var(--sans); font-style: normal; }

/* ---------- small chips and markers ---------- */
.chip.fol { background: #FFF6DC; color: #7A5200; border-color: #F5DE9A; }
.newdot { display: inline-block; padding: 2px 7px; border-radius: 999px; background: #F0B323; color: #3A2A00; font: 700 .64rem var(--sans); letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.unmapped { margin: 10px 0 0; }

/* ---------- donut ---------- */
.donut-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.donut .seg-arc { animation: arcIn 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes arcIn { from { stroke-dasharray: 0 400; } }
@media (max-width: 560px) { .donut-row { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- project actions: follow toggle ---------- */
.pacts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.folb { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy);
  font: 600 .88rem var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.folb .st { font-size: 1rem; color: #C9D3E6; transition: color .25s, transform .35s cubic-bezier(.3,1.6,.4,1); }
.folb .f-b { display: none; }
.folb:hover { border-color: var(--navy); }
.folb:active { transform: scale(.96); }
.folb.on { background: #1B4596; border-color: #1B4596; color: #fff; }
.folb.on .st { color: #F0B323; transform: rotate(72deg) scale(1.15); }
.folb.on .f-a { display: none; } .folb.on .f-b { display: inline; }

/* ---------- interest declared ---------- */
.coi { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px;
  background: #FFF9EA; border: 1px solid #F5DE9A; color: #4A3700; font-size: .9rem; }
.coi b { font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #7A5200; }
@media (max-width: 560px) { .coi { grid-template-columns: 1fr; } }

/* ---------- life bar: stepper + countdown ---------- */
.lifebar { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: stretch; margin: 0 0 18px; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 16px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; counter-reset: s; }
.stepper li { position: relative; display: grid; justify-items: center; gap: 7px; text-align: center; font-size: .74rem; color: var(--muted); }
.stepper li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 3px; background: #E6EBF4; z-index: 0; border-radius: 2px; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.cur::before { background: linear-gradient(90deg, #1B4596, #1B4596); }
.stepper .sd { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #D5DDEB; font: 700 .78rem var(--sans); color: #8A94A8; }
.stepper li.done .sd { background: #1B4596; border-color: #1B4596; color: #fff; }
.stepper li.cur .sd { background: #F0B323; border-color: #F0B323; color: #2B2000; box-shadow: 0 0 0 6px rgba(240,179,35,.22); animation: stepPulse 2.4s ease-in-out infinite; }
.stepper li.cur .sl { color: var(--navy); font-weight: 700; }
.stepper.off li.cur .sd { background: #A4262C; border-color: #A4262C; color: #fff; box-shadow: 0 0 0 6px rgba(164,38,44,.16); }
@keyframes stepPulse { 50% { box-shadow: 0 0 0 10px rgba(240,179,35,.08); } }
.cdown { display: grid; align-content: center; justify-items: center; min-width: 170px; padding: 14px 18px; border-radius: 18px; background: #0F2A5F; color: #fff; text-align: center; }
.cdown b { font: 800 2.1rem/1 "Inter Tight", var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cdown span { font-size: .78rem; opacity: .85; margin-top: 4px; }
.cdown small { font-size: .7rem; opacity: .6; margin-top: 2px; }
.cdown.late { background: #7E1D22; } .cdown.ok { background: #1E7B4F; } .cdown.muted { background: #EEF2F9; color: var(--muted); }
@media (max-width: 760px) {
  .lifebar { grid-template-columns: 1fr; }
  .stepper { overflow-x: auto; grid-template-columns: repeat(6, minmax(72px, 1fr)); }
}

/* ---------- gauge ---------- */
.gauge-row { display: flex; justify-content: center; margin: 4px 0 8px; }
.gauge .g-arc { stroke-dasharray: 200; stroke-dashoffset: 200; animation: gIn 1.2s cubic-bezier(.2,.7,.2,1) .15s forwards; }
@keyframes gIn { to { stroke-dashoffset: 0; } }

/* ---------- report form extras ---------- */
.geo { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- chip group (filter) ---------- */
.chipgroup { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.chipgroup button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: #3C4458; font: 600 .8rem var(--sans); cursor: pointer; transition: all .2s; }
.chipgroup button:hover { border-color: var(--navy); color: var(--navy); }
.chipgroup button.on { background: #1B4596; border-color: #1B4596; color: #fff; }

/* ---------- activity timeline ---------- */
.tl-month { font: 700 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 18px 0 8px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 6px; }
.tl-i { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding-bottom: 14px; }
.tl-i::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: #E6EBF4; }
.tl-i:last-child::before { display: none; }
.tl-dot { width: 14px; height: 14px; margin: 4px 0 0 4px; border-radius: 50%; background: #fff; border: 3px solid #1B4596; position: relative; z-index: 1; }
.k-money .tl-dot { border-color: #F0B323; } .k-milestone .tl-dot { border-color: #1E7B4F; } .k-evidence .tl-dot { border-color: #5B78B3; }
.k-citizen .tl-dot { border-color: #7A4FBF; } .k-change .tl-dot { border-color: #D08A00; } .k-record .tl-dot { border-color: #C9D3E6; }
.tl-b { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, transform .2s; }
.tl-b:hover { border-color: #B9C5DC; transform: translateX(2px); }
.tl-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.tl-k { font: 700 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.tl-h time { margin-left: auto; }
.tl-b p { margin: 6px 0 4px; font-size: .92rem; color: var(--ink); }

/* ---------- bottom sheet + copy button ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; background: rgba(15,42,95,0); transition: background .3s; }
.sheet-wrap.open { background: rgba(15,42,95,.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet { width: min(460px, 100%); max-height: 92vh; overflow: auto; background: rgba(255,255,255,.96); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 26px 26px 0 0; padding: 10px 20px 22px; box-shadow: 0 -10px 40px rgba(15,42,95,.18); transform: translateY(100%); transition: transform .42s cubic-bezier(.32,.72,0,1); }
.sheet-wrap.open .sheet { transform: none; }
@media (min-width: 700px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 26px; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .35s cubic-bezier(.32,.72,0,1), opacity .25s; } .sheet-wrap.open .sheet { transform: none; opacity: 1; } }
.sheet .grab { display: block; width: 38px; height: 5px; border-radius: 3px; background: #D5DDEB; margin: 0 auto 12px; }
.sheet h3 { font: 700 1.15rem "Inter Tight", var(--sans); margin: 0; color: var(--ink); text-transform: none; letter-spacing: -.01em; }
.sheet .qr { display: grid; place-items: center; width: 180px; height: 180px; margin: 14px auto 4px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sheet .qr svg { width: 100%; height: 100%; }
.sheet-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sheet-acts > * { display: grid; place-items: center; height: 46px; border-radius: 14px; background: rgba(118,118,128,.1); color: var(--navy); font: 600 .9rem var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .15s; }
.sheet-acts > *:hover { background: rgba(27,69,150,.12); }
.sheet-acts > *:active { transform: scale(.97); }
.sheet-acts .copyb { grid-column: 1 / -1; position: relative; overflow: hidden; background: #1B4596; color: #fff; }
.copyb .cb-a, .copyb .cb-b { grid-area: 1 / 1; transition: transform .35s cubic-bezier(.3,1.3,.4,1), opacity .25s; }
.copyb .cb-b { transform: translateY(120%); opacity: 0; }
.copyb.ok { background: #1E7B4F; }
.copyb.ok .cb-a { transform: translateY(-120%); opacity: 0; } .copyb.ok .cb-b { transform: none; opacity: 1; }
.sheet-x { display: block; width: 100%; height: 46px; margin-top: 8px; border: 0; border-radius: 14px; background: none; color: var(--muted); font: 600 .9rem var(--sans); cursor: pointer; }

/* ---------- community poster ---------- */
.poster-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.poster { max-width: 794px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 46px 52px; box-shadow: 0 20px 50px -30px rgba(15,42,95,.35);
  background-image: url("../img/waves_yellow.webp"); background-repeat: no-repeat; background-position: right -120px top -140px; background-size: 380px auto; }
.poster header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 3px solid #F0B323; }
.poster header img { height: 54px; width: auto; }
.poster header span { font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.poster h1 { font: 800 2.3rem/1.08 "Inter Tight", var(--sans); letter-spacing: -.02em; color: #0F2A5F; margin: 26px 0 6px; }
.poster .pz-id { color: var(--muted); margin: 0 0 22px; }
.pz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pz { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.pz:first-child { grid-column: 1 / -1; }
.pz h4 { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9A6400; margin: 0 0 6px; }
.pz p { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.45; }
.pz-foot { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-top: 22px; padding: 18px; border-radius: 16px; background: #0F2A5F; color: #fff; }
.pz-foot h2 { font: 800 1.5rem "Inter Tight", var(--sans); color: #F0B323; margin: 0 0 6px; }
.pz-foot p { margin: 0 0 6px; color: #DCE4F3; }
.pz-qr { background: #fff; border-radius: 12px; padding: 8px; width: 150px; height: 150px; }
.pz-qr svg { width: 100%; height: 100%; }
@media (max-width: 640px) { .poster { padding: 26px 20px; } .pz-grid, .pz-foot { grid-template-columns: 1fr; } .poster h1 { font-size: 1.7rem; } }
body.posterMode .page-head { display: none; }
@media print {
  body.posterMode .page-head, body.posterMode .cl, body.posterMode .poster-bar { display: none !important; }
  body.posterMode .ex-shell { padding: 0 !important; margin: 0 !important; max-width: none; }
  .poster { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .pz-foot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4 portrait; margin: 14mm; }
}

/* ---------- language switch (iOS segmented, compact) ---------- */
.lang { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(118,118,128,.12); }
.lang button { position: relative; z-index: 1; height: 30px; min-width: 38px; padding: 0 9px; border: 0; border-radius: 999px; background: none; color: #3C4458; font: 700 .72rem var(--sans); letter-spacing: .04em; cursor: pointer; transition: color .2s; }
.lang button[aria-pressed="true"] { color: var(--navy); background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.menu .lang { margin-top: 6px; }
.menu .lang button { height: 36px; min-width: 0; padding: 0 14px; font-size: .82rem; letter-spacing: 0; }
@media (max-width: 1180px) { .hdr-actions .lang { display: none; } }
.i18n-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }
html.i18n-wait body { opacity: 0; }
html body { transition: opacity .15s; }

/* header language dropdown */
.hdr-actions .lang { display: none; }
.lang-dd { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--navy); font: 700 .74rem var(--sans); letter-spacing: .04em; cursor: pointer; transition: border-color .2s, transform .15s; }
.lang-btn:hover { border-color: var(--navy); } .lang-btn:active { transform: scale(.96); }
.lang-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -12px rgba(15,42,95,.3); opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right; pointer-events: none; transition: opacity .18s, transform .22s cubic-bezier(.3,1.2,.4,1); z-index: 60; }
.lang-dd.open .lang-pop { opacity: 1; transform: none; pointer-events: auto; }
.lang-pop button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 500 .9rem var(--sans); cursor: pointer; text-align: left; }
.lang-pop button:hover { background: rgba(27,69,150,.08); }
.lang-pop button i { font: 700 .66rem var(--sans); font-style: normal; color: var(--muted); letter-spacing: .06em; }
.lang-pop button[aria-checked="true"] { color: var(--navy); } .lang-pop button[aria-checked="true"] b::after { content: " ✓"; color: #F0B323; }
.foot-lang { margin: 0 0 14px; }
.foot-lang .lang button { height: 34px; padding: 0 14px; font-size: .78rem; letter-spacing: 0; }
@media (max-width: 560px) { .lang-btn span { display: none; } .lang-btn { padding: 0 10px; } }

/* ---------- header: Discover-style Tracker button, nav never wraps ---------- */
.site-nav a { white-space: nowrap; }
.disc-hdr { --h: 42px; font-size: .88rem; animation: none; }
.disc-hdr .disc-txt { padding: 0 18px 0 6px; }
.disc-hdr .short { display: none; }
.disc-hdr[aria-current="page"] .disc-fill { width: calc(100% - 6px); }
.disc-hdr[aria-current="page"] .disc-txt { color: #fff; }
@media (max-width: 1500px) { .kbtn .lbl, .kbtn kbd { display: none; } .kbtn { padding: 0 11px; } }
@media (max-width: 560px) { .disc-hdr .long { display: none; } .disc-hdr .short { display: inline; } }
/* language switch in the menu: a full-width iOS segmented control */
.menu aside .lang { display: flex; width: 100%; max-width: 360px; }
.menu aside .lang button { flex: 1; }
/* countdown: a plain white card like the rest */
.cdown, .cdown.late, .cdown.ok, .cdown.muted { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cdown b { color: var(--navy); }
.cdown span { color: var(--muted); opacity: 1; }
.cdown small { color: var(--muted); opacity: .8; }
.cdown.late b { color: #A4262C; } .cdown.ok b { color: #1E7B4F; } .cdown.muted b { color: #9AA3B5; }
/* menu: language block with room around it */
.menu aside h4:first-child { margin-top: 0; }
.menu aside .lang { margin: 10px 0 34px; }

/* footer language: inside the brand column, clear of the divider */
.foot-lang { margin: 34px 0 0; }
.foot-lang h4 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.site-footer .i18n-note { max-width: 420px; margin: 12px 0 0; line-height: 1.5; }
/* segmented tabs: the active tab carries its own white pill (stays correct in every language and width) */
.ex-tabs.seg .thumb { display: none; }
.ex-tabs.seg a { transition: background .25s ease, box-shadow .25s ease, color .2s; }
.ex-tabs.seg a.on { background: #fff !important; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04) !important; animation: segIn .3s cubic-bezier(.3,1.2,.4,1); }
@keyframes segIn { from { transform: scale(.94); opacity: .6; } }
/* directory: IDs on one line */
table.data td:first-child a, table.data td:first-child code { white-space: nowrap; }

/* ---- v9.css ---- */
/* ==========================================================================
   Goberera website — v9 layer: phones and touch screens
   Hover effects get a touch equivalent: on devices without hover, site.js adds .focus to cards, image tiles,
   the programme list and Discover buttons while they sit in the middle of the screen, and .press while touched.
   ========================================================================== */

/* ---------- grids never push the page sideways ---------- */
.ex-grid > *, .compare > *, .kpis > *, .money > *, .filters > *, .lifebar > *, .donut-row > *, .pz-grid > * { min-width: 0; }
.box > table.data, .box .ind + table.data { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare select, .filters select, .filters input { width: 100%; max-width: 100%; }

/* ---------- touch equivalents of hover ---------- */
@media (hover: none) {
  /* image tiles: gentle zoom while centred, press feedback */
  .tile img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
  .tile.focus img { transform: scale(1.06); }
  .zig img { transition: transform 1s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
  .zig img.focus { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 30px 50px -30px rgba(15,42,95,.45); }
  /* glass cards and link cards: lift and spotlight from the centre */
  .glass.focus, .card.link.focus { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,42,95,.45); --mx: 50%; --my: 30%; }
  .glass.focus::before, .card.focus::before { opacity: 1; }
  .glass.press, .card.link.press, .pcard.press, .tile.press { transform: scale(.98); transition: transform .12s; }
  /* Discover buttons fill when centred, so the effect is seen without a mouse */
  .disc.focus .disc-fill { width: calc(100% - 6px); }
  .disc.focus .disc-ico { transform: translateX(7px); }
  .disc.focus .disc-txt { color: #fff; }
  .disc-hdr.focus .disc-fill { width: calc(var(--h) - 8px); } .disc-hdr.focus .disc-ico { transform: none; } .disc-hdr.focus .disc-txt { color: var(--navy); }
  .disc-hdr[aria-current="page"] .disc-txt { color: #fff; }
  /* Tracker cards and timeline */
  .pcard.focus { border-color: var(--blue); background: #FBFCFF; }
  .tl-b.focus { border-color: #B9C5DC; transform: translateX(2px); }
  /* no sticky hover after a tap */
  .btn:hover, .folb:hover, .chipgroup button:hover { border-color: var(--line-2); }
}

/* ---------- programme list on phones: image thumbnail instead of the hover peek ---------- */
@media (max-width: 800px) {
  .index-list a { grid-template-columns: 34px 1fr 76px; gap: 12px; padding: 18px 0; }
  .index-list .go { display: none; }
  .index-list .peek { display: block; position: static; width: 76px; height: 76px; border-radius: 16px; opacity: 1; transform: rotate(0); box-shadow: 0 10px 24px -14px rgba(15,42,95,.5); transition: transform .6s cubic-bezier(.3,1.3,.4,1); }
  .index-list a.focus .peek { transform: rotate(-4deg) scale(1.06); }
  .index-list a.focus { padding-left: 8px; }
  .index-list a.focus .t { color: var(--blue); }
}

/* ---------- phone layout polish ---------- */
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header .wrap { gap: 8px; }
  .hdr-actions { gap: 6px; }
  .disc-hdr { --h: 38px; font-size: .82rem; }
  .disc-hdr .disc-txt { padding: 0 12px 0 4px; }
  .kbtn { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .disc { --h: 52px; font-size: .95rem; }
  .disc ~ .btn { height: 52px; }
  .hero .actions, .tracker-hero-actions { gap: 10px; }
  .tracker-hero-actions > * { flex: 1 1 auto; justify-content: center; }
  /* Tracker */
  .ex-top { flex-direction: column; align-items: stretch; gap: 8px; }
  .ex-tabs.seg { width: 100%; }
  .ex-tabs.seg a { padding: 8px 12px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi b { font-size: 1.25rem; }
  .ind, .box .ind { grid-template-columns: 1fr 1fr !important; }
  .pacts { gap: 6px; }
  .pacts > * { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .pacts > .btn-primary { flex-basis: 100%; }
  .prof-head h2 { font-size: 1.6rem; }
  .stepper { padding: 14px 8px; grid-template-columns: repeat(6, 64px); }
  .stepper li { font-size: .66rem; }
  .cdown { min-width: 0; flex-direction: row; }
  .money .kpi b { font-size: 1.15rem; }
  .box { padding: 16px; }
  .tl-h time { margin-left: 0; width: 100%; }
  .chipgroup { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chipgroup::-webkit-scrollbar { display: none; }
  .chipgroup button { flex: none; }
  #map { height: 300px; }
  .sheet { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .sheet-acts > * { height: 50px; }
  /* ribbon above the home indicator */
  .ribbon { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .site-footer .cols { gap: 24px; }
}

/* touch targets of at least 44px */
@media (pointer: coarse) {
  .ptabs button { padding: 14px 14px; }
  .ex-tabs.seg a { min-height: 40px; display: inline-flex; align-items: center; }
  .lang button { min-height: 40px; }
  .info { min-width: 28px; min-height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile.focus img, .zig img.focus, .glass.focus, .card.link.focus, .index-list a.focus .peek { transform: none !important; }
}
@media (max-width: 560px) {
  .actions > .disc, .tracker-hero-actions > .disc, .zig .disc { width: 100%; }
  .actions > .disc .disc-txt, .tracker-hero-actions > .disc .disc-txt, .zig .disc .disc-txt { flex: 1; text-align: center; padding-right: calc(var(--h) - 4px); }
  .actions > .btn, .tracker-hero-actions > .btn { width: 100%; }
}
/* ribbon on phones: text and close on top, the select and button share the second row */
@media (max-width: 560px) {
  .ribbon { display: grid !important; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border-radius: 22px; }
  .ribbon .txt { grid-column: 1; grid-row: 1; align-self: center; }
  .ribbon .x { grid-column: 2; grid-row: 1; align-self: start; }
  .ribbon select { grid-column: 1; grid-row: 2; width: 100%; min-width: 0; }
  .ribbon .disc { grid-column: 2; grid-row: 2; }
}
@media (max-width: 560px) {
  .ribbon select { padding: 0 6px 0 10px; font-size: .82rem; }
  .ribbon .disc-sm .disc-txt { padding: 0 14px 0 2px; font-size: .84rem; }
}
/* menu links: block layout keeps the space in "About Goberera" (a flex row split the words) */
.menu ol a { display: block; }
.menu ol a::before { display: inline-block; min-width: 2.2em; margin-right: 10px; vertical-align: .35em; }
/* phones: vertical lifecycle stepper, and a fade showing the tab bar scrolls */
@media (max-width: 560px) {
  .stepper { display: grid; grid-template-columns: 1fr !important; gap: 0; padding: 14px 16px; overflow: visible; }
  .stepper li { grid-template-columns: 30px 1fr; justify-items: start; align-items: center; gap: 12px; text-align: left; font-size: .86rem; padding: 6px 0; }
  .stepper li::before { top: -50%; bottom: 50%; left: 14px; right: auto; width: 3px; height: auto; }
  .stepper li:first-child::before { display: none; }
  .ex-tabs.seg { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .ex-tabs.seg.end { -webkit-mask-image: none; mask-image: none; }
}
/* the "Projects near you" bar is not needed on the Tracker itself */
body:has(#explorer) .ribbon { display: none !important; }
/* money and measure tiles: figures never collide with the info button */
@media (max-width: 560px) {
  .kpi { position: relative; padding-right: 34px; }
  .kpi .def { position: absolute; top: 10px; right: 10px; }
  .money .kpi b, .kpis .kpi b { font-size: 1.05rem; word-break: break-word; }
  .kpi > span { font-size: .8rem; }
}
/* share sheet: buttons always fit the sheet */
.sheet { box-sizing: border-box; max-width: 100vw; }
.sheet-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sheet-acts > * { min-width: 0; padding: 0 8px; text-align: center; }
/* iPhone Safari zooms into fields smaller than 16px: keep them at 16px on phones */
@media (max-width: 560px) { input, select, textarea { font-size: 16px !important; } }
.mosaic a.tile { display: block; color: inherit; text-decoration: none; } .mosaic .t1 img { object-position: 50% 40%; }

/* ---- v10.css ---- */
/* ==========================================================================
   Goberera website — v10 layer: Gallery and Goberera Fellows
   Split showcase · chip filter · bento/grid "art gallery" · hover image with tilt and caption reveal ·
   lightbox with swipe and filmstrip · draggable marquee · fellow cards · application form
   ========================================================================== */

/* ---------- split showcase (featured photo) ---------- */
.showcase { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: #0F2A5F; color: #fff; margin-bottom: 34px; box-shadow: 0 40px 80px -40px rgba(15,42,95,.55); }
.sc-img { position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; min-height: 340px; background: #0F2A5F; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sc-img:hover img, .showcase.focus .sc-img img { transform: scale(1.04); }
.sc-txt { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.sc-txt::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; background: url("../img/waves_yellow_mask.png") center/contain no-repeat; opacity: .25; }
.sc-txt .kicker { color: #F0B323; }
.sc-txt h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; margin: 0; }
.sc-txt p { color: #DCE4F3; margin: 0; } .sc-txt .note { color: #AFC0DE; font-size: .86rem; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } .sc-img { min-height: 220px; aspect-ratio: 3 / 2; } .sc-txt { padding: 22px; } }

/* ---------- toolbar ---------- */
.gal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.gal-bar .chipgroup { margin: 0; }
.chipgroup button i { font-style: normal; font-size: .7rem; opacity: .65; margin-left: 2px; }
.gal-view { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(118,118,128,.12); }
.gal-view button { height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font: 600 .8rem var(--sans); color: #3C4458; cursor: pointer; }
.gal-view button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(0,0,0,.1); }

/* ---------- gallery layouts ---------- */
.gal[data-view="bento"] { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 14px; }
.gal[data-view="bento"] .gt { grid-row: span 1; }
.gal[data-view="bento"] .gt.big { grid-column: span 2; grid-row: span 2; }
.gal[data-view="bento"] .gt:nth-child(7n+4) { grid-row: span 2; }
.gal[data-view="grid"] { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal[data-view="grid"] .gt { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .gal[data-view="bento"] { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
@media (max-width: 480px) { .gal[data-view="bento"] { grid-auto-rows: 130px; gap: 10px; } .gal[data-view="grid"] { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ---------- hover image tile ---------- */
.gt { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #E9EEF7; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(18px) scale(.98); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .6s ease, box-shadow .4s; box-shadow: 0 18px 40px -28px rgba(15,42,95,.5); }
.gt.seen { opacity: 1; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.gt-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s; }
.gt::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 40%), rgba(255,255,255,.22), transparent 60%), linear-gradient(180deg, transparent 45%, rgba(10,24,56,.82)); }
.gt figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px 14px; color: #fff; display: grid; gap: 3px; transform: translateY(14px); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s; pointer-events: none; }
.gt figcaption b { font: 700 .98rem/1.25 "Inter Tight", var(--sans); }
.gt figcaption small { font-size: .74rem; opacity: .8; }
.gt-cat { display: inline-block; justify-self: start; font: 700 .64rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #2B2000; background: #F0B323; padding: 3px 8px; border-radius: 999px; }
.gt-ill { position: absolute; top: 10px; left: 10px; z-index: 2; font: 600 .64rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: rgba(255,255,255,.85); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 999px; }
.gt:hover, .gt:focus-within, .gt.focus { box-shadow: 0 34px 60px -30px rgba(15,42,95,.6); }
.gt:hover img, .gt:focus-within img, .gt.focus img { transform: scale(1.07); }
.gt:hover::after, .gt:focus-within::after, .gt.focus::after { opacity: 1; }
.gt:hover figcaption, .gt:focus-within figcaption, .gt.focus figcaption { transform: none; opacity: 1; }
.gt-btn:focus-visible { outline: 3px solid #F0B323; outline-offset: -3px; border-radius: 22px; }
@media (hover: none) { .gt figcaption { opacity: 1; transform: none; } .gt::after { opacity: .85; background: linear-gradient(180deg, transparent 55%, rgba(10,24,56,.78)); } .gt figcaption small { display: none; } .gt figcaption b { font-size: .84rem; } }
.gal-empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 22px; }
.gal-empty b { color: var(--ink); }
.gal-note { margin-top: 18px; font-size: .84rem; color: var(--muted); }

/* ---------- draggable marquee ---------- */
.marquee { overflow: hidden; padding: 14px 0 6px; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); user-select: none; }
.marquee.dragging { cursor: grabbing; }
.mq-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.mq-i { position: relative; flex: none; width: 260px; height: 180px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: #E9EEF7; box-shadow: 0 16px 34px -24px rgba(15,42,95,.5); transition: transform .35s cubic-bezier(.3,1.3,.4,1); }
.mq-i:nth-child(odd) { transform: rotate(-1.2deg); } .mq-i:nth-child(even) { transform: rotate(1.2deg) translateY(8px); }
.mq-i:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.mq-i img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.mq-i span { position: absolute; left: 10px; right: 10px; bottom: 8px; color: #fff; font: 600 .78rem/1.25 var(--sans); text-align: left; text-shadow: 0 1px 6px rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.mq-i:hover span { opacity: 1; }
.mq-i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,24,56,.7)); opacity: 0; transition: opacity .3s; }
.mq-i:hover::after { opacity: 1; }
@media (max-width: 560px) { .mq-i { width: 190px; height: 132px; } .mq-i span, .mq-i::after { opacity: 1; } }

/* ---------- lightbox ---------- */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr auto; background: rgba(8,16,36,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; animation: lbIn .25s ease both; }
.lb.out { animation: lbOut .2s ease forwards; }
@keyframes lbIn { from { opacity: 0; } } @keyframes lbOut { to { opacity: 0; } }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lb-count { font: 600 .82rem var(--sans); letter-spacing: .06em; opacity: .8; }
.lb-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.05rem; cursor: pointer; }
.lb-x:hover { background: rgba(255,255,255,.22); }
.lb-nav { align-self: center; justify-self: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .2s, transform .15s; }
.lb-nav:hover { background: rgba(255,255,255,.24); } .lb-nav:active { transform: scale(.92); }
.lb-stage { margin: 0; min-height: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 12px; padding: 0 0 8px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 250px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-stage img.in { animation: lbImg .38s cubic-bezier(.2,.7,.2,1) both; }
.lb-stage img.from-l { --dx: -30px; } .lb-stage img.from-r { --dx: 30px; }
@keyframes lbImg { from { opacity: 0; transform: translateX(var(--dx, 0)) scale(.98); } }
.lb-stage figcaption { text-align: center; display: grid; gap: 3px; max-width: 720px; padding: 0 12px; }
.lb-stage figcaption b { font: 700 1.02rem "Inter Tight", var(--sans); } .lb-stage figcaption span { opacity: .85; font-size: .9rem; } .lb-stage figcaption small { opacity: .6; font-size: .78rem; }
.lb-strip { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; padding: 10px 18px calc(16px + env(safe-area-inset-bottom)); justify-content: safe center; scrollbar-width: none; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { flex: none; width: 64px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; opacity: .5; cursor: pointer; background: none; transition: opacity .2s, border-color .2s, transform .2s; }
.lb-strip button.on { opacity: 1; border-color: #F0B323; transform: translateY(-3px); }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lb { grid-template-columns: 1fr; } .lb-nav { display: none; } .lb-stage img { max-height: calc(100vh - 230px); border-radius: 0; } }

/* ---------- home strip ---------- */
.home-gal .kicker-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

/* ---------- Fellows ---------- */
.fel-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; counter-reset: s; }
.fel-step { position: relative; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.fel-step span { font: 800 2.4rem/1 "Inter Tight", var(--sans); color: transparent; -webkit-text-stroke: 1.5px #C9D3E6; }
.fel-step h3 { margin: 12px 0 6px; font-size: 1.15rem; }
.fel-step p { margin: 0; color: var(--muted); font-size: .92rem; }
.fel-step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, #1B4596, #F0B323); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fel-step:hover, .fel-step.focus { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15,42,95,.5); }
.fel-step:hover::after, .fel-step.focus::after { transform: scaleX(1); }
.fel-step:hover span, .fel-step.focus span { -webkit-text-stroke-color: #F0B323; }
@media (max-width: 900px) { .fel-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fel-steps { grid-template-columns: 1fr; } }
.fel-list { margin: 14px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fel-list li { position: relative; padding-left: 28px; } .fel-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #FFF4D6; color: #8A5A00; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.fel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 22px; }
.fel-card { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.fel-card:hover, .fel-card.focus { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15,42,95,.5); }
.fel-ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1B4596, #0F2A5F); display: grid; place-items: center; overflow: hidden; }
.fel-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; } .fel-card:hover .fel-ph img { transform: scale(1.05); }
.fel-in { font: 800 2.6rem "Inter Tight", var(--sans); color: #F0B323; }
.fel-b { padding: 18px; display: grid; gap: 6px; align-content: start; } .fel-b h3 { margin: 4px 0 0; } .fel-b .note { margin: 0; }
.fel-b blockquote { margin: 6px 0; font-size: .92rem; color: #3C4458; border-left: 3px solid #F0B323; padding-left: 10px; }
.fel-empty { padding: 40px 20px; }
.fel-apply { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .fel-apply { grid-template-columns: 1fr; gap: 20px; } }
.fel-form { padding: 24px; display: grid; gap: 4px; }
.fel-form .field { display: grid; gap: 6px; margin-bottom: 12px; }
.fel-form .field.two { grid-template-columns: 1fr 1fr; gap: 12px; } .fel-form .field.two > div { display: grid; gap: 6px; }
@media (max-width: 480px) { .fel-form .field.two { grid-template-columns: 1fr; } }
.fel-form label { font: 600 .84rem var(--sans); color: var(--ink); }
.fel-form input, .fel-form select, .fel-form textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.9); font: 400 .95rem var(--sans); transition: border-color .15s, box-shadow .15s; }
.fel-form input:focus, .fel-form select:focus, .fel-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,69,150,.45); }
.fel-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fel-actions { margin-top: 10px; } .fel-actions .disc { width: 100%; } .fel-actions .disc .disc-txt { flex: 1; text-align: center; padding-right: calc(var(--h) - 4px); }
.fel-ok { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #E3F4EC; color: #145C3A; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* hero: the white glow behind the headline must never wash over the photos */
.hero .mosaic { position: relative; z-index: 2; }
.hero .hero-grid > div:first-child::before { width: min(980px, 72vw); left: -300px; }
.showcase { animation: scIn .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes scIn { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .showcase { animation: none; } }
/* gallery page: tight start below the hero, masonry mosaic with no gaps */
.chapter.gal-top { padding-top: 24px; }
.sc-txt b { color: #fff; } .sc-txt .note span { color: #AFC0DE; }
.gal[data-view="bento"] { display: block; columns: 3 280px; column-gap: 14px; }
.gal[data-view="bento"] .gt { break-inside: avoid; margin: 0 0 14px; aspect-ratio: var(--ar); width: 100%; display: block; }
.gal[data-view="bento"] .gt.big, .gal[data-view="bento"] .gt:nth-child(7n+4) { grid-row: auto; grid-column: auto; }
@media (max-width: 480px) { .gal[data-view="bento"] { columns: 2; column-gap: 10px; } .gal[data-view="bento"] .gt { margin-bottom: 10px; } }
.fa-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink); margin: 6px 0 4px; cursor: pointer; line-height: 1.45; }
.fa-consent input { width: 20px !important; height: 20px; flex: none; margin-top: 1px; padding: 0 !important; accent-color: #1B4596; }

/* every hero fills the screen on laptops and desktops; phones keep a tall but scrollable hero */
@media (min-width: 900px) {
  .hero, .page-head { min-height: 100vh !important; min-height: 100svh !important; box-sizing: border-box; }
  .hero { display: grid; align-content: center; }
}
@media (max-width: 899px) { .page-head { min-height: 86svh; } }

/* corner lines: vector masks, sized to the full-height hero, crisp float (no rotation, which softens edges) */
@media (min-width: 900px) {
  .cl-y { width: min(50vw, calc(80svh * 0.8036)); max-height: 82svh; }
  .cl-b { width: min(38vw, calc(62svh * 0.7952)); max-height: 64svh; }
}
.cl { will-change: transform; backface-visibility: hidden; }
@keyframes clFloatY { to { transform: translate3d(8px, -10px, 0); } }
@keyframes clFloatB { to { transform: translate3d(-8px, 10px, 0); } }
@keyframes clRevealY { from { clip-path: inset(0 0 100% 0); opacity: 0; } 25% { opacity: 1; } to { clip-path: inset(0 0 0 0); } }
@keyframes clRevealB { from { clip-path: inset(100% 0 0 0); opacity: 0; } 25% { opacity: .9; } to { clip-path: inset(0 0 0 0); } }

/* corner lines: soft, feathered draw-in (two mask layers: the vector lines, intersected with a moving gradient) */
.cl-y, .cl-b { -webkit-mask-composite: source-in; mask-composite: intersect; clip-path: none; }
.cl-y {
  -webkit-mask-image: url(../img/waves_yellow.svg), linear-gradient(180deg, #000 0 46%, transparent 54% 100%);
          mask-image: url(../img/waves_yellow.svg), linear-gradient(180deg, #000 0 46%, transparent 54% 100%);
  -webkit-mask-size: contain, 100% 220%; mask-size: contain, 100% 220%;
  -webkit-mask-position: top right, 0 0; mask-position: top right, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: clWipeY 2.6s cubic-bezier(.25,.6,.2,1) both, clShine 9s linear 2.6s infinite, clFloatY 14s ease-in-out 2.6s infinite alternate; }
.cl-b {
  -webkit-mask-image: url(../img/waves_blue.svg), linear-gradient(0deg, #000 0 46%, transparent 54% 100%);
          mask-image: url(../img/waves_blue.svg), linear-gradient(0deg, #000 0 46%, transparent 54% 100%);
  -webkit-mask-size: contain, 100% 220%; mask-size: contain, 100% 220%;
  -webkit-mask-position: bottom left, 0 100%; mask-position: bottom left, 0 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: clWipeB 2.8s cubic-bezier(.25,.6,.2,1) .2s both, clShine 11s linear 3s infinite reverse, clFloatB 16s ease-in-out 3s infinite alternate; }
@keyframes clWipeY { from { -webkit-mask-position: top right, 0 100%; mask-position: top right, 0 100%; opacity: .2; } to { -webkit-mask-position: top right, 0 0; mask-position: top right, 0 0; opacity: 1; } }
@keyframes clWipeB { from { -webkit-mask-position: bottom left, 0 0; mask-position: bottom left, 0 0; opacity: .2; } to { -webkit-mask-position: bottom left, 0 100%; mask-position: bottom left, 0 100%; opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .cl-y, .cl-b { animation: none !important; } }

/* ---------- Fellows application ---------- */
.fa-side { position: sticky; top: 110px; align-self: start; }
.fa-need { margin: 18px 0; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.fa-need h3 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fa-need ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fa-need li { display: grid; gap: 2px; padding-left: 30px; position: relative; } .fa-need li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #1B4596; color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 700; }
.fa-need span { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .fa-side { position: static; } }
.fel-form fieldset { border: 0; margin: 0 0 8px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.fel-form fieldset:last-of-type { border-bottom: 0; }
.fel-form legend { display: flex; align-items: center; gap: 10px; font: 700 1.02rem "Inter Tight", var(--sans); color: var(--ink); margin: 10px 0 14px; padding: 0; }
.fel-form legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #FFF4D6; color: #8A5A00; font: 800 .76rem var(--sans); }
.fel-form label i, .fel-form .lbl i { color: #A4262C; font-style: normal; }
.fel-form .lbl { font: 600 .84rem var(--sans); color: var(--ink); }
.fa-hint { margin: -6px 0 12px; color: var(--muted); font-size: .86rem; }
.fa-progress { position: sticky; top: 84px; z-index: 3; display: flex; align-items: center; gap: 10px; margin: -6px -6px 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fa-progress span { flex: 1; height: 8px; border-radius: 6px; background: #EEF2F9; overflow: hidden; }
.fa-progress i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #1B4596, #F0B323); transition: width .4s cubic-bezier(.2,.7,.2,1); }
.fa-progress b { font: 700 .78rem var(--sans); color: var(--navy); min-width: 38px; text-align: right; }
.fa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fa-chips label { position: relative; cursor: pointer; }
.fa-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fa-chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 .86rem var(--sans); color: #3C4458; transition: all .2s; }
.fa-chips input:checked + span { background: #1B4596; border-color: #1B4596; color: #fff; }
.fa-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(27,69,150,.25); }
.fa-count { display: block; text-align: right; font-size: .76rem; color: var(--muted); margin-top: 4px; } .fa-count.over { color: #A4262C; font-weight: 700; }
.fa-file { position: relative; margin-bottom: 12px; }
.fa-file input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.fa-file label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px dashed var(--line-2); border-radius: 18px; background: rgba(255,255,255,.8); cursor: pointer; transition: border-color .2s, background .2s; }
.fa-file svg { width: 34px; height: 34px; flex: none; fill: none; stroke: #1B4596; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fa-file label span { display: grid; gap: 2px; } .fa-file small { color: var(--muted); font-size: .8rem; }
.fa-file:hover label, .fa-file.over label, .fa-file input:focus-visible + label { border-color: var(--blue); background: #F1F5FD; }
.fa-file.has label { border-style: solid; border-color: #1E7B4F; background: #F0FAF4; }
.fa-file.bad label { border-color: #A4262C; background: #FBEFF0; }
.fa-file-name { font-size: .84rem; margin-top: 6px; color: #145C3A; } .fa-file.bad .fa-file-name { color: #A4262C; }
.fel-form.tried :is(input, select, textarea):invalid { border-color: #A4262C; }
.fel-form.tried .fa-file:has(input:invalid) label { border-color: #A4262C; }
.fa-err { color: #A4262C; font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 6px 0; }
.fel-form .fa-consent { margin: 8px 0; }

/* ---------- Apply page ---------- */
.fa-progress { position: static !important; margin: 0 0 18px !important; padding: 0 !important; background: none !important; backdrop-filter: none !important; }
.apply-hero { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; }
.apply-hero .fa-need { margin: 0; padding: 24px; border-radius: 24px; }
@media (max-width: 900px) { .apply-hero { grid-template-columns: 1fr; gap: 24px; } }
.apply-body { padding-top: 40px; }
.apply-wrap { max-width: 820px; }
.apply-wrap .fel-form { padding: 32px; }
@media (max-width: 560px) { .apply-wrap .fel-form { padding: 20px 16px; } }
body:has(#fel-form) .ribbon { display: none !important; }
.fa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 16px 34px -18px rgba(15,42,95,.45);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.3,1.3,.4,1); }
.fa-float.on { opacity: 1; transform: none; }
.fa-float span { width: 110px; height: 6px; border-radius: 4px; background: #EEF2F9; overflow: hidden; }
.fa-float i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1B4596, #F0B323); border-radius: 4px; transition: width .4s; }
.fa-float b { font: 700 .8rem var(--sans); color: var(--navy); }
/* Fellows page call to action */
.fel-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fel-cta-in h2 { margin: 6px 0 8px; }
.fa-need .note { margin: 16px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }

/* seamless language switch: a short fade while the words change */
html body { transition: opacity .14s ease; }
html.i18n-switch body { opacity: .25; }
@media (prefers-reduced-motion: reduce) { html.i18n-switch body { opacity: 1; } }
/* stage table beside the donut never pushes the page wider */
.donut-row { grid-template-columns: 150px minmax(0, 1fr); }
.donut-row > table.data { display: block; overflow-x: auto; max-width: 100%; }
@media (max-width: 1180px) { .donut-row { grid-template-columns: 1fr; justify-items: center; } .donut-row > table.data { width: 100%; } }
/* stage table: always fits inside its card, in every language */
.donut-row { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
.donut-row > table.data { display: table; width: 100%; max-width: 100%; table-layout: fixed; overflow: visible; }
.donut-row > table.data th { white-space: normal; letter-spacing: .06em; font-size: .68rem; line-height: 1.3; padding: 8px 6px; }
.donut-row > table.data td { padding: 10px 6px; }
.donut-row > table.data th:first-child, .donut-row > table.data td:first-child { width: 40%; }
.donut-row .stage { white-space: normal; }
@media (max-width: 1180px) { .donut-row { grid-template-columns: 1fr; } }
/* generic guard: card contents never spill past the card */
.box { min-width: 0; overflow-wrap: break-word; }   /* break only words longer than the box, never mid-word otherwise */
.box > * { max-width: 100%; }
.menu ol a::before { content: counter(m, decimal-leading-zero); }   /* 01…09, then 10 (not 010) */

/* ---- "Goberera Tracker" header button: light glossy pill, silver edge, rotating rainbow ring, silver lettering (Oct 2026) ---- */
@keyframes orbSpin { to { transform: rotate(360deg); } }
.disc-hdr { background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 48%, #e9edf2 100%); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(15,42,95,.06), 0 1px 2px rgba(15,42,95,.06); transition: box-shadow .3s ease, transform .2s ease; }
.disc-hdr::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 1;
  background: linear-gradient(160deg, #ffffff 0%, #c9ced6 22%, #8f96a1 48%, #e4e7ec 72%, #a8aeb7 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.disc-hdr::after { content: ""; position: absolute; left: 12%; right: 12%; top: 1px; height: 45%; border-radius: 999px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0)); }
.disc-hdr .disc-fill { display: none; }
.disc-hdr .disc-ico { position: relative; z-index: 2; width: calc(var(--h) - 10px); height: calc(var(--h) - 10px); margin: 0 2px 0 5px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #eef1f5 55%, #d9dee5 100%); color: #5b626d;
  box-shadow: inset 0 1px 2px rgba(15,42,95,.18), inset 0 -1px 0 #fff; transform: none !important; }
.disc-hdr .disc-ico svg { filter: drop-shadow(0 1px 0 #fff); }
.disc-hdr .disc-ico::before { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; padding: 2px; pointer-events: none;
  background: conic-gradient(from 0deg, #3d5bff, #00c2ff, #3ee89a, #ffd23f, #ff7b54, #c45cff, rgba(255,255,255,0) 72%, rgba(255,255,255,0) 88%, #3d5bff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 2px rgba(80,140,255,.45)); animation: orbSpin 3.2s linear infinite; }
.disc-hdr .disc-txt { position: relative; z-index: 2; font-weight: 700; color: #4b525c;
  background: linear-gradient(180deg, #8a919c 0%, #3e444d 48%, #6c737e 70%, #2f343b 100%); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.disc-hdr:hover, .disc-hdr:focus-visible { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(15,42,95,.12), 0 0 0 3px rgba(61,91,255,.08); }
.disc-hdr:hover .disc-ico::before, .disc-hdr:focus-visible .disc-ico::before { animation-duration: 1.4s; }
.disc-hdr:hover .disc-txt, .disc-hdr:focus-visible .disc-txt, .disc-hdr[aria-current="page"] .disc-txt, .disc-hdr.focus .disc-txt { color: #4b525c; -webkit-text-fill-color: transparent; }
.disc-hdr[aria-current="page"] .disc-ico::before { animation-duration: 2.2s; filter: drop-shadow(0 0 3px rgba(80,140,255,.6)); }
@media (prefers-reduced-motion: reduce) { .disc-hdr .disc-ico::before { animation: none; } }
@media (forced-colors: active) { .disc-hdr .disc-txt { -webkit-text-fill-color: currentColor; background: none; } }
.site-header .disc-hdr { --h: 38px; min-height: 38px; height: 38px; font-size: .86rem; }
.site-header .disc-hdr .disc-ico { width: 30px; height: 30px; margin: 0 1px 0 4px; }
.site-header .disc-hdr .disc-ico svg { width: 15px; height: 15px; }
.site-header .disc-hdr .disc-txt { padding: 0 14px 0 6px; }
/* smaller, and the same glass as the header bar so it blends in */
.site-header .disc-hdr { --h: 34px; min-height: 34px; height: 34px; font-size: .8rem;
  background: rgba(255,255,255,.5); box-shadow: none; }
.site-header .disc-hdr::before { padding: 1px; opacity: .7;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(170,177,187,.8) 45%, rgba(255,255,255,.9) 75%, rgba(185,191,200,.8)); }
.site-header .disc-hdr::after { opacity: .55; }
.site-header .disc-hdr .disc-ico { width: 26px; height: 26px; margin: 0 1px 0 4px; background: rgba(255,255,255,.7); box-shadow: inset 0 1px 1px rgba(15,42,95,.12); }
.site-header .disc-hdr .disc-ico::before { inset: -2px; padding: 1.6px; filter: none; opacity: .9; }
.site-header .disc-hdr .disc-ico svg { width: 13px; height: 13px; }
.site-header .disc-hdr .disc-txt { padding: 0 12px 0 5px; }
.site-header .disc-hdr:hover, .site-header .disc-hdr:focus-visible { transform: none; background: rgba(255,255,255,.75); box-shadow: none; }
/* ring: site colours, no rotation, a slow professional shimmer */
@keyframes ringShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.site-header .disc-hdr .disc-ico::before {
  animation: ringShimmer 5s ease-in-out infinite; transform: none;
  background: linear-gradient(120deg, #1B4596 0%, #3d63b8 22%, #F0B323 40%, #fff4d1 50%, #F0B323 60%, #3d63b8 78%, #1B4596 100%);
  background-size: 260% 260%; opacity: 1; }
.site-header .disc-hdr:hover .disc-ico::before, .site-header .disc-hdr:focus-visible .disc-ico::before { animation-duration: 2.4s; }
.site-header .disc-hdr[aria-current="page"] .disc-ico::before { animation-duration: 4s; filter: none; }
@media (prefers-reduced-motion: reduce) { .site-header .disc-hdr .disc-ico::before { animation: none; background-position: 30% 50%; } }

/* footer wordmark is decoration (WCAG 1.4.3 exempts it): drawn by CSS so it is not read or tested as text */
.site-footer .wordmark::before { content: attr(data-wm); }
.site-footer .wordmark::after { content: "."; color: var(--yellow-100); }

/* contrast: countdown date at full strength (WCAG 1.4.3) */
.cdown small { opacity: 1; }

/* ---- Tracker charts: money by sector (each sector on its own scale) and where projects stand */
.sx { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 18px; }
.sx-row { animation: sxIn .55s cubic-bezier(.2,.7,.2,1); }
@keyframes sxIn { from { opacity: 0; transform: translateY(6px); } }
.sx-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.sx-name { font-weight: 600; color: var(--ink); }
.sx-name small, .sx-amt small { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 4px; font-family: var(--sans); }
.sx-amt { font: 700 1rem "Inter Tight", var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-track { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(180deg, #EDF1F8, #E2E8F3); box-shadow: inset 0 1px 2px rgba(15,42,95,.08); overflow: hidden; }
.sx-track i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: inherit; animation: sxGrow 1.1s cubic-bezier(.2,.7,.2,1); }
.sx-track i.r { background: linear-gradient(90deg, #F7CF6A, #F0B323); }
.sx-track i.s { background: linear-gradient(90deg, #3d63b8, #1B4596); top: 3px; bottom: 3px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
@keyframes sxGrow { from { width: 0; } }
.sx-cap { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 7px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sx-cap b { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.sx-cap b.r { background: #F0B323; } .sx-cap b.s { background: #1B4596; }
.st-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 6px; }
.donut2 { filter: drop-shadow(0 8px 16px rgba(15,42,95,.10)); }
.donut2 .arc2 { animation: arcIn 1.2s cubic-bezier(.2,.7,.2,1); }
@keyframes arcIn { from { stroke-dasharray: 0 var(--C); } }
.st-list { list-style: none; margin: 0; padding: 0; }
.st-list li { display: grid; grid-template-columns: 10px minmax(0, 1.2fr) 30px minmax(40px, 1fr) auto; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.st-list li:last-child { border-bottom: 0; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent); }
.st-name { font-weight: 600; color: var(--ink); font-size: .9rem; }
.st-n { font: 700 1.05rem "Inter Tight", var(--sans); color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.st-bar { height: 6px; border-radius: 99px; background: #EEF2F9; overflow: hidden; }
.st-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c); animation: sxGrow 1s cubic-bezier(.2,.7,.2,1); }
.st-amt { font-size: .84rem; color: #4A5568; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; min-width: 78px; }
@media (max-width: 700px) { .st-wrap { grid-template-columns: 1fr; justify-items: center; } .st-list { width: 100%; } .st-list li { grid-template-columns: 10px minmax(0, 1fr) 26px 60px auto; gap: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .sx-row, .sx-track i, .st-bar i, .donut2 .arc2 { animation: none; opacity: 1; transform: none; }
  .sx-track i, .st-bar i { width: var(--w); } .donut2 .arc2 { stroke-dasharray: var(--len) var(--C); }
}
/* stage card: list never breaks words; stacks under the ring when the card is narrow */
.box:has(> .st-wrap) { container-type: inline-size; }
.st-list li { grid-template-columns: 10px max-content 28px minmax(36px, 1fr) max-content; }
.st-name { white-space: nowrap; }
@container (max-width: 600px) { .st-wrap { grid-template-columns: 1fr; justify-items: center; gap: 14px; } .st-list { width: 100%; } }
.sx-top { flex-wrap: wrap; row-gap: 2px; }
.sx-name { flex: 1 1 12rem; min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.sx-name small { white-space: nowrap; }
@media (max-width: 520px) { .sx-amt { font-size: .95rem; } }

/* ---- v2 Tracker charts: share strip + execution table; project pipeline */
.sh-strip, .pipe-strip { display: flex; gap: 2px; height: 14px; border-radius: 8px; overflow: hidden; margin: 8px 0 8px; background: #EEF2F9; }
.sh-strip i, .pipe-strip i { display: block; flex: 0 0 var(--w); background: var(--c); animation: shIn .9s cubic-bezier(.2,.7,.2,1); transform-origin: left; }
@keyframes shIn { from { transform: scaleX(0); } }
.sh-total { font-size: .85rem; color: var(--muted); margin-bottom: 14px; } .sh-total b { color: var(--navy); font: 700 1rem "Inter Tight", var(--sans); }
.bx { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bx th { font: 600 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bx th .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.bx td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; word-break: normal; overflow-wrap: normal; }
.bx tr:last-child td { border-bottom: 0; }
.bx .num { text-align: right; white-space: nowrap; }
.bx td.num small { display: block; font-size: .74rem; color: var(--muted); font-weight: 400; }
.bx-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 9px; vertical-align: 0; }
.bx-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.bx-n { margin-left: 7px; font-size: .72rem; color: var(--muted); background: #EEF2F9; border-radius: 99px; padding: 1px 7px; }
.bx td:nth-child(4) { width: 34%; min-width: 120px; }
.bx-bar { position: relative; height: 10px; border-radius: 99px; background: #EEF2F9; box-shadow: inset 0 1px 2px rgba(15,42,95,.07); }
.bx-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: inherit; animation: sxGrow 1s cubic-bezier(.2,.7,.2,1); }
.bx-bar i.r { background: #F5D27A; } .bx-bar i.s { background: linear-gradient(90deg, #3d63b8, #1B4596); top: 2px; bottom: 2px; }
.bx-bar .tick { position: absolute; top: -3px; bottom: -3px; width: 1.5px; background: #9AA7C2; opacity: .8; }
.pipe { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; counter-reset: none; }
.pipe li { position: relative; padding: 14px 12px 12px 16px; background: linear-gradient(180deg, #fff, #F6F8FC); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 12px; display: grid; gap: 2px; min-width: 0; animation: sxIn .5s cubic-bezier(.2,.7,.2,1); }
.pipe li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid #B9C4DA; border-right: 1.5px solid #B9C4DA; transform: translate(50%, -50%) rotate(45deg); background: none; z-index: 1; }
.pipe li.zero { background: repeating-linear-gradient(135deg, #fff 0 6px, #F4F6FA 6px 12px); border-top-color: #D5DCE8; }
.pipe li.zero b { color: #9AA7C2; }
.pipe-i { font: 600 .66rem var(--sans); color: var(--muted); letter-spacing: .08em; }
.pipe b { font: 800 1.9rem/1 "Inter Tight", var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; }
.pipe-l { font-weight: 600; font-size: .84rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe-m { font-size: .78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pipe-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .84rem; color: var(--muted); margin-top: 4px; }
.pipe-foot b { color: var(--navy); }
.pipe-flag { color: var(--c); font-weight: 600; } .pipe-flag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 6px; }
.box:has(> .pipe) { container-type: inline-size; }
@container (max-width: 560px) { .pipe { grid-template-columns: 1fr; } .pipe li { grid-template-columns: 22px 64px 1fr auto; align-items: center; padding: 10px 12px; border-top-width: 1px; border-left: 3px solid var(--c); }
  .pipe li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -6px; transform: translate(-50%, 50%) rotate(135deg); } .pipe b { font-size: 1.4rem; } }
@media (max-width: 640px) { .bx th:nth-child(3), .bx td:nth-child(3) { display: none; } .bx td:nth-child(4) { min-width: 90px; } .bx-n { display: none; } }
@media (prefers-reduced-motion: reduce) { .sh-strip i, .pipe-strip i, .bx-bar i, .pipe li { animation: none; } }

/* ---- Directory table: professional data grid (project cell carries ID, place and sector; meters for rates) */
.dt-wrap { border: 1px solid var(--line); border-radius: 14px; max-height: 72vh; overflow: auto; }
.dt { min-width: 1060px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.dt thead th { position: sticky; top: 0; z-index: 2; background: #F6F8FC; padding: 12px 14px; border-bottom: 1px solid var(--line); font: 600 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #4A5568; white-space: nowrap; cursor: pointer; user-select: none; }
.dt thead th:hover, .dt thead th:focus-visible { color: var(--navy); }
.dt thead th[aria-sort="ascending"], .dt thead th[aria-sort="descending"] { color: var(--navy); }
.dt .srt { margin-left: 6px; font-size: .7rem; opacity: .45; } .dt th[aria-sort$="ending"] .srt { opacity: 1; color: #C98E0C; }
.dt tbody td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; word-break: normal; overflow-wrap: normal; }
.dt tbody tr:nth-child(even) td { background: #FBFCFE; }
.dt tbody tr:hover td { background: #F2F6FD; }
.dt tbody tr:last-child td { border-bottom: 0; }
.dt td.num { white-space: nowrap; text-align: right; }
.dt-p { min-width: 300px; max-width: 380px; position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
.dt thead th:first-child { position: sticky; left: 0; z-index: 3; }
.dt-name { display: block; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; }
.dt-name:hover { color: var(--blue); text-decoration: underline; }
.dt-meta { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.dt-meta code { font-size: .74rem; color: var(--blue); background: #EEF2F9; padding: 1px 6px; border-radius: 5px; }
.dt .stage { white-space: nowrap; }
.dt-v { display: block; font-size: .74rem; color: #1E7B4F; margin-top: 2px; }
.dt-f { min-width: 170px; } .dt-f .chip { margin: 2px 4px 2px 0; }
.mtr { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mtr-b { width: 64px; height: 6px; border-radius: 99px; background: #E8EDF5; overflow: hidden; }
.mtr-b i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.mtr-v { font-size: .84rem; font-weight: 600; color: var(--ink); min-width: 34px; text-align: right; }
.m-exec .mtr-b i { background: linear-gradient(90deg, #3d63b8, #1B4596); }
.m-phys .mtr-b i { background: #1E7B4F; }
.m-rec .mtr-b i { background: #9AA7C2; }
.m-cost .mtr-b i { background: linear-gradient(90deg, #F5C451, #E0A21A); }
@media (max-width: 640px) { .dt-p { min-width: 220px; } .dt-wrap { max-height: none; } }
@media print { .dt-wrap { max-height: none; overflow: visible; border: 0; } .dt-p, .dt thead th { position: static; } }
/* sector execution table: fit the card without sideways scrolling */
.bx td:nth-child(4) { width: 30%; min-width: 90px; }
.bx th, .bx td { padding-left: 6px; padding-right: 6px; }

.dt { min-width: 980px; } .dt thead th, .dt tbody td { padding-left: 12px; padding-right: 12px; }
.dt-p { min-width: 280px; max-width: 330px; } .mtr-b { width: 50px; } .dt-f { min-width: 150px; }

/* directory table, calmer: tabular figures only in number cells (in Inter they also widen hyphens), sentence-case chips, one line per cell */
.dt { font-variant-numeric: normal; }
.dt td.num, .dt .mtr-v, .dt .dt-v { font-variant-numeric: tabular-nums; }
.dt tbody td { padding-top: 16px; padding-bottom: 16px; }
.dt .chip, .dt .stage { text-transform: none; letter-spacing: 0; font-size: .78rem; font-weight: 600; white-space: nowrap; padding: 4px 10px; border-radius: 99px; }
.dt .stage { display: inline-block; }
.dt-f { min-width: 200px; white-space: nowrap; }
.dt-more { display: inline-grid; place-items: center; min-width: 28px; height: 24px; margin-left: 6px; padding: 0 7px; border-radius: 99px; background: #EEF2F9; color: var(--navy); font-size: .76rem; font-weight: 700; cursor: help; vertical-align: middle; }
.dt-none { white-space: nowrap; font-size: .86rem; }
.dt-meta { line-height: 1.5; }
.dt-name { font-size: .98rem; }

/* ---- directory: long project names wrap inside their column (an older rule kept first-column links on one line) */
.dt td:first-child a.dt-name { white-space: normal; }
.dt-p { width: 320px; min-width: 300px; max-width: 340px; white-space: normal; }
.dt td { vertical-align: middle; }

/* ---- money trail */
.mt { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 14px; }
.mt li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 14px; animation: sxIn .5s cubic-bezier(.2,.7,.2,1); }
.mt-l { font-size: .9rem; color: var(--ink); font-weight: 500; }
.mt-bar { height: 12px; border-radius: 99px; background: #EEF2F9; overflow: hidden; box-shadow: inset 0 1px 2px rgba(15,42,95,.07); }
.mt-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c); animation: sxGrow 1s cubic-bezier(.2,.7,.2,1); }
.mt-v { font: 700 .92rem "Inter Tight", var(--sans); color: var(--navy); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; min-width: 96px; }
.mt-v small { display: block; font: 400 .74rem var(--sans); color: var(--muted); }
.mt-na { grid-column: 2 / -1; font-size: .82rem; color: var(--muted); border: 1px dashed #CFD8E8; border-radius: 99px; padding: 3px 12px; justify-self: start; }
@media (max-width: 560px) { .mt li { grid-template-columns: 1fr auto; } .mt-l { grid-column: 1 / -1; } .mt-na { grid-column: 1 / -1; } }

/* ---- financial events list */
.fev { list-style: none; margin: 0; padding: 0; }
.fev li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fev li:last-child { border-bottom: 0; }
.fev time { font-size: .82rem; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.fev-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.fev-a { font: 700 .92rem "Inter Tight", var(--sans); color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fev-b p { margin: 4px 0 0; }
.fev-s { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* ---- milestone timeline */
.mst { margin-top: 6px; }
.mst-row { display: grid; grid-template-columns: minmax(180px, 34%) minmax(0, 1fr); gap: 16px; align-items: center; }
.mst-head { height: 26px; }
.mst-name { font-size: .9rem; color: var(--ink); line-height: 1.35; padding: 8px 0; }
.mst-name b { color: var(--navy); margin-right: 4px; }
.mst-name small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.mst-lane { position: relative; height: 34px; }
.mst-axis { height: 26px; border-bottom: 1px solid var(--line); }
.mst-tick { position: absolute; bottom: 6px; transform: translateX(-50%); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.mst-today { position: absolute; bottom: -1px; top: 0; border-left: 2px solid #E0A21A; }
.mst-today b { position: absolute; left: 4px; top: 0; font-size: .68rem; color: #9A6400; font-weight: 600; }
.mst-body { position: relative; }
.mst-line { position: absolute; top: 0; bottom: 0; border-left: 1px dashed #E3E8F2; }
.mst-body .mst-row { border-bottom: 1px solid #F0F3F8; }
.mst-body .mst-row:last-child { border-bottom: 0; }
.mst-bar { position: absolute; top: 11px; height: 12px; border-radius: 99px; background: #1B4596; }
.mst-pt { position: absolute; top: 10px; width: 13px; height: 13px; margin-left: -6.5px; transform: rotate(45deg); border-radius: 2px; background: #1B4596; box-shadow: 0 0 0 3px #fff; }
.mst-bar.done, .mst-pt.done { background: #1E7B4F; } .mst-bar.late, .mst-pt.late { background: #A4262C; }
@media (max-width: 640px) { .mst-row { grid-template-columns: 1fr; gap: 0; } .mst-head .mst-name { display: none; } }

/* ---- citizen voice: space between the empty state and the button */
.cv-act { margin-top: 16px; }

/* ---- community poster: sober, print-friendly colours */
body.posterMode .cl { display: none !important; }
.poster header { border-bottom: 2px solid #D5DCE8; }
.poster header span { color: #5B6577; font-weight: 600; }
.poster h1 { font-weight: 700; color: #1C2433; letter-spacing: -.01em; }
.pz { background: #FBFCFE; border-color: #E3E8F2; }
.pz h4 { color: #5B6577; letter-spacing: .1em; font-weight: 600; }
.pz-foot { background: #1C2B4A; }
.pz-foot h2 { color: #fff; font-weight: 700; }
.pz-foot p { color: #D7DEEA; }
.pz-foot b, .pz-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mst-head, .mst-axis { height: 42px; }
.mst-tick { bottom: 6px; }
.mst-today b { top: 0; left: 0; transform: translateX(-50%); background: #fff; padding: 0 4px; line-height: 14px; }
.mst-today { top: 16px; }
.mst-today b { top: -16px; }
/* poster: the wave pattern stays as a faint grey tracery behind the header only */
.poster { background: #fff !important; position: relative; overflow: hidden; }
.poster::before { content: ""; position: absolute; top: 0; right: 0; width: 52%; height: 320px; background: url("../img/waves_yellow.webp") right top / contain no-repeat; filter: grayscale(1); opacity: .16; pointer-events: none; }
.poster > * { position: relative; z-index: 1; }
@media print { .poster::before { opacity: .12; } }

/* ---- UHD heroes: lines are re-rendered at the screen's own resolution (no cached layer), type rendered sharply */
.cl { will-change: auto; }
.page-head, .hero { text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.page-head h1, .hero h1 { font-optical-sizing: auto; }
.poster::before { background: #8C9AB8; -webkit-mask: url("../img/waves_yellow.svg") right top / contain no-repeat; mask: url("../img/waves_yellow.svg") right top / contain no-repeat; filter: none; opacity: .22; }

/* ---- one standard section size across the whole site: every content section fills the screen (like the hero), with its content
   centred; long sections simply grow. Phones keep natural height with even padding. */
main .chapter, main .cta, main .block { padding-top: clamp(72px, 7vw, 120px); padding-bottom: clamp(72px, 7vw, 120px); box-sizing: border-box; }
@media (min-width: 900px) {
  main .chapter, main .cta, main .block { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}

/* ---- hero lines fade into the page at the screen edge instead of stopping in a hard cut (third mask layer) */
.cl-y {
  -webkit-mask-image: url(../img/waves_yellow.svg), linear-gradient(180deg, #000 0 46%, transparent 54% 100%), linear-gradient(270deg, transparent 0, rgba(0,0,0,.12) 1.5%, rgba(0,0,0,.4) 3.5%, rgba(0,0,0,.75) 5.5%, #000 8%);
          mask-image: url(../img/waves_yellow.svg), linear-gradient(180deg, #000 0 46%, transparent 54% 100%), linear-gradient(270deg, transparent 0, rgba(0,0,0,.12) 1.5%, rgba(0,0,0,.4) 3.5%, rgba(0,0,0,.75) 5.5%, #000 8%);
  -webkit-mask-size: contain, 100% 220%, 100% 100%; mask-size: contain, 100% 220%, 100% 100%;
  -webkit-mask-position: top right, 0 0, 0 0; mask-position: top right, 0 0, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.cl-b {
  -webkit-mask-image: url(../img/waves_blue.svg), linear-gradient(0deg, #000 0 46%, transparent 54% 100%), linear-gradient(90deg, transparent 0, rgba(0,0,0,.12) 1.5%, rgba(0,0,0,.4) 3.5%, rgba(0,0,0,.75) 5.5%, #000 8%);
          mask-image: url(../img/waves_blue.svg), linear-gradient(0deg, #000 0 46%, transparent 54% 100%), linear-gradient(90deg, transparent 0, rgba(0,0,0,.12) 1.5%, rgba(0,0,0,.4) 3.5%, rgba(0,0,0,.75) 5.5%, #000 8%);
  -webkit-mask-size: contain, 100% 220%, 100% 100%; mask-size: contain, 100% 220%, 100% 100%;
  -webkit-mask-position: bottom left, 0 100%, 0 0; mask-position: bottom left, 0 100%, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@keyframes clWipeY { from { -webkit-mask-position: top right, 0 100%, 0 0; mask-position: top right, 0 100%, 0 0; opacity: .2; } to { -webkit-mask-position: top right, 0 0, 0 0; mask-position: top right, 0 0, 0 0; opacity: 1; } }
@keyframes clWipeB { from { -webkit-mask-position: bottom left, 0 0, 0 0; mask-position: bottom left, 0 0, 0 0; opacity: .2; } to { -webkit-mask-position: bottom left, 0 100%, 0 0; mask-position: bottom left, 0 100%, 0 0; opacity: .9; } }
.ex-tabs.seg a.on { transition: none; }   /* full-contrast at once (no colour fade on the current tab) */

/* ---- accessibility (23 Nov 2026): menu, footer and box headings are h2 for a correct heading order; same look as before */
.menu aside h2 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.menu aside h2:first-child { margin-top: 0; }
.site-footer h2 { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot-lang h2 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.fa-need h2 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.box h2.box-h { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ex-tabs a { color: #56647F; }
