/* ==========================================================================
   NRDD public portal: Rural development in Fiji.
   The Ministry's palette (ruraldev.gov.fj) with masi cloth and the ocean.
   Loaded after nrdd.css on the public pages only.
   ========================================================================== */

.pt { background: #fbfbfb; color: var(--nr-ink); font-size: 15px; }
.pt main { overflow-x: clip; }
.pt h1, .pt h2, .pt h3 { color: var(--nr-navy); }
.pt-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: #fff; color: var(--nr-navy); padding: 8px 14px; border-radius: 8px; }
.pt-skip:focus { left: 12px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.pt-head { position: sticky; top: 0; z-index: 1000; background: var(--nr-navy); color: #fff; transition: box-shadow .35s var(--nr-ease); }
.pt-head::before {
  content: ''; position: absolute; inset: 0 0 10px; pointer-events: none; background: #efe7dd; opacity: .1;
  -webkit-mask-image: var(--nr-tapa), linear-gradient(90deg, transparent 30%, #000 90%);
  -webkit-mask-size: 260px 162px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in;
  mask-image: var(--nr-tapa), linear-gradient(90deg, transparent 30%, #000 90%);
  mask-size: 260px 162px, 100% 100%; mask-repeat: repeat, no-repeat; mask-composite: intersect;
}
/* Scrolling only adds a shadow. The header keeps its height: it sits in the page flow, so a header that
   shrank would move the page under the reader, and the browser's correction would undo the scroll. */
.pt-head.is-scrolled { box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .5); }
.pt-head-in { position: relative; display: flex; align-items: center; gap: 16px; height: 74px; }
.pt-brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; }
.pt-brand:hover { color: #fff; text-decoration: none; }
.pt-brand img { height: 48px; width: auto; background: #fff; border-radius: 50%; padding: 3px; transition: transform .5s var(--nr-ease); }
.pt-brand:hover img { transform: rotate(-6deg) scale(1.04); }
.pt-brand strong { display: block; font-family: var(--nr-serif); font-size: 19px; font-weight: 600; letter-spacing: .005em; line-height: 1.15; }
.pt-brand small { display: block; font-size: 12px; color: #c5d6d3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.pt-nav a { position: relative; color: #dce8e6; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: color .2s, background .2s; }
.pt-nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: #e29a80;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--nr-ease);
}
.pt-nav a:hover, .pt-nav a.is-active { color: #fff; text-decoration: none; }
.pt-nav a:hover::after, .pt-nav a.is-active::after { transform: scaleX(1); }
.pt-nav a.pt-signin {
  margin-left: 10px; background: var(--nr-ocean); color: #fff; border-radius: 999px; padding: 9px 18px;
  box-shadow: 0 8px 20px -10px rgba(179, 85, 58, .9); display: inline-flex; align-items: center; gap: 7px;
}
.pt-nav a.pt-signin::after { display: none; }
.pt-nav a.pt-signin:hover { background: var(--nr-ocean-d); transform: translateY(-1px); }
.pt-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; background: transparent; color: #fff; font-size: 22px; }
.pt-trim { height: 10px; background: #efe7dd var(--nr-trim-img) 0 0 / 30px 10px repeat-x; position: relative; }

/* ── Motion helpers ─────────────────────────────────────────────────────── */
.js-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--nr-ease), transform .75s var(--nr-ease); transition-delay: var(--d, 0s); }
.js-motion [data-reveal].is-visible { opacity: 1; transform: none; }
.js-motion [data-reveal="left"] { transform: translateX(-26px); }
.js-motion [data-reveal="zoom"] { transform: scale(.94); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.pt-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; transition: transform .25s var(--nr-ease), box-shadow .25s, background .25s, color .25s;
}
.pt-btn:hover { transform: translateY(-2px); text-decoration: none; }
.pt-btn .bi { transition: transform .25s var(--nr-ease); }
.pt-btn:hover .bi-arrow-right, .pt-btn:hover .bi-arrow-down { transform: translateX(3px); }
.pt-btn:hover .bi-arrow-down { transform: translateY(3px); }
.pt-btn-terra { background: var(--nr-ocean); color: #fff; box-shadow: 0 12px 26px -12px rgba(179, 85, 58, .95); }
.pt-btn-terra:hover { background: var(--nr-ocean-d); color: #fff; }
.pt-btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .3); }
.pt-btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.pt-btn-line { background: #fff; color: var(--nr-navy); border-color: #dccfc4; }
.pt-btn-line:hover { border-color: var(--nr-ocean); color: var(--nr-ocean-d); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.pt-hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 170px;
  background: radial-gradient(900px 520px at 78% 38%, rgba(67, 120, 128, .55) 0%, transparent 62%),
              linear-gradient(160deg, #13323a 0%, #17383e 45%, #22525a 100%);
}
.pt-hero-tapa {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(46vw, 640px); pointer-events: none; color: #efe7dd; opacity: .1;
  background: currentColor;
  -webkit-mask-image: var(--nr-tapa), linear-gradient(270deg, #000 25%, transparent);
  -webkit-mask-size: 320px 200px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in;
  mask-image: var(--nr-tapa), linear-gradient(270deg, #000 25%, transparent);
  mask-size: 320px 200px, 100% 100%; mask-repeat: repeat, no-repeat; mask-composite: intersect;
}
.pt-floaters { position: absolute; inset: 0; pointer-events: none; }
.pt-floaters span { position: absolute; border: 2px solid rgba(239, 231, 221, .16); border-radius: 6px; transform: rotate(45deg); animation: ptFloat 18s ease-in-out infinite; }
.pt-floaters span:nth-child(1) { width: 64px; height: 64px; top: 9%; left: 41%; }
.pt-floaters span:nth-child(2) { width: 30px; height: 30px; top: 74%; left: 45%; animation-delay: -5s; border-color: rgba(226, 154, 128, .32); }
.pt-floaters span:nth-child(3) { width: 22px; height: 22px; top: 6%; left: 2.5%; animation-delay: -9s; }
.pt-floaters span:nth-child(4) { width: 42px; height: 42px; top: 84%; left: 6%; animation-delay: -13s; border-color: rgba(226, 154, 128, .26); }
@keyframes ptFloat { 0%, 100% { transform: rotate(45deg) translate(0, 0); } 33% { transform: rotate(56deg) translate(10px, -18px); } 66% { transform: rotate(36deg) translate(-8px, 12px); } }

.pt-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 40px; align-items: center; }
.pt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(239, 231, 221, .09); border: 1px solid rgba(239, 231, 221, .22);
  color: #efe7dd; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}
.pt-eyebrow::before { content: ''; width: 8px; height: 8px; background: #e29a80; transform: rotate(45deg); flex: none; }
.pt-hero h1 { font-family: var(--nr-serif); font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; color: #fff; margin: 20px 0 18px; letter-spacing: -.02em; font-weight: 600; }
.pt-hero h1 em { font-style: normal; color: #eaa68d; position: relative; white-space: nowrap; }
.pt-hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -.16em; width: 100%; height: .3em; overflow: visible; }
.pt-hero h1 em svg path { fill: none; stroke: #d27c61; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ptDraw 1.4s .9s var(--nr-ease) forwards; }
.pt-lead { font-size: 17.5px; color: #d4e0de; max-width: 560px; line-height: 1.62; margin: 0; }
.pt-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Fiji, drawn from the province boundaries; every published project is a point. */
.pt-hero-art { position: relative; }
.pt-hero-art::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 154, 128, .18), transparent 65%); filter: blur(10px); }
.pt-hero-art svg { position: relative; width: 118%; margin: -6% -12% -8% -4%; height: auto; display: block; overflow: visible; }
.pt-isle { fill: rgba(239, 231, 221, .16); stroke: rgba(239, 231, 221, .8); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .pt-isle { stroke-dashoffset: 1; fill-opacity: 0; animation: ptDraw 2.2s var(--nr-ease) forwards, ptFill 1.2s 1.2s var(--nr-ease) forwards; animation-delay: calc(var(--i, 0) * 70ms), calc(1.2s + var(--i, 0) * 70ms); }
.pt-dot { transform-box: fill-box; transform-origin: center; }
.js-motion .pt-dot { animation: ptPop .55s var(--nr-ease) both; animation-delay: calc(1.4s + var(--i, 0) * 4ms); }
.pt-ring { fill: none; stroke: #eaa68d; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ptRing 2.8s ease-out infinite; animation-delay: calc(2.4s + var(--i, 0) * 230ms); opacity: 0; }
.pt-compass { color: rgba(239, 231, 221, .55); }
.pt-compass .pt-spin { transform-box: fill-box; transform-origin: center; animation: ptSpin 60s linear infinite; }
@keyframes ptDraw { to { stroke-dashoffset: 0; } }
@keyframes ptFill { to { fill-opacity: 1; } }
@keyframes ptPop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ptRing { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(4.2); opacity: 0; } }
@keyframes ptSpin { to { transform: rotate(360deg); } }

/* Ocean along the bottom of every banner: two layers drifting at different speeds. */
.pt-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; display: block; }
.pt-wave-back { fill: rgba(239, 231, 221, .14); animation: ptDrift 26s linear infinite; }
.pt-wave-mid { fill: rgba(210, 124, 97, .2); animation: ptDrift 18s linear infinite reverse; }
.pt-wave-front { fill: #fbfbfb; animation: ptDrift 34s linear infinite; }
@keyframes ptDrift { from { transform: translateX(0); } to { transform: translateX(-1440px); } }

/* ── Figures ────────────────────────────────────────────────────────────── */
.pt-stats { position: relative; z-index: 2; margin-top: -104px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pt-stat {
  background: #fff; border-radius: 20px; padding: 22px 22px 20px; border: 1px solid #ededef; display: flex; gap: 16px; align-items: center;
  box-shadow: 0 22px 44px -26px rgba(23, 56, 62, .45); transition: transform .3s var(--nr-ease), box-shadow .3s;
}
.pt-stat:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(23, 56, 62, .55); }
.pt-stat-ico { width: 56px; height: 56px; border-radius: 16px; flex: none; display: grid; place-items: center; font-size: 25px; background: #f8ece6; color: var(--nr-ocean); }
.pt-stat:nth-child(2) .pt-stat-ico { background: #e5eded; color: var(--nr-navy); }
.pt-stat:nth-child(3) .pt-stat-ico { background: #efe7dd; color: #6b4a2f; }
.pt-stat:nth-child(4) .pt-stat-ico { background: #e8f2ec; color: #2e7a4f; }
.pt-stat b { display: block; font-size: 34px; font-weight: 700; color: var(--nr-navy); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pt-stat div > span { display: block; color: var(--nr-muted); font-size: 13.5px; margin-top: 6px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.pt-sec { padding: 84px 0; position: relative; }
.pt-sec-tight { padding: 64px 0; }
.pt-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--nr-ocean); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.pt-kicker::before { content: ''; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
.pt-h2 { font-family: var(--nr-serif); font-size: clamp(28px, 3.3vw, 42px); color: var(--nr-navy); margin: 12px 0 12px; font-weight: 600; letter-spacing: -.015em; line-height: 1.12; }
.pt-intro { color: var(--nr-muted); font-size: 16.5px; max-width: 660px; line-height: 1.6; margin: 0; }
.pt-head-row { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }

/* What we build */
.pt-sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pt-sector {
  position: relative; overflow: hidden; background: #fff; border: 1px solid #ececee; border-radius: 18px; padding: 18px; text-align: left;
  display: flex; flex-direction: column; gap: 12px; color: inherit; cursor: pointer;
  transition: transform .3s var(--nr-ease), box-shadow .3s, border-color .3s;
}
.pt-sector::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; background: var(--nr-navy); opacity: .045; border-radius: 50%;
  -webkit-mask: var(--nr-tapa) 0 0 / 160px 100px repeat; mask: var(--nr-tapa) 0 0 / 160px 100px repeat; transition: opacity .3s;
}
.pt-sector:hover { transform: translateY(-5px); border-color: #e3c4b6; box-shadow: 0 22px 38px -26px rgba(23, 56, 62, .55); text-decoration: none; color: inherit; }
.pt-sector:hover::after { opacity: .1; }
.pt-sector-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #efe7dd; color: var(--nr-navy); transition: background .3s, color .3s, transform .4s var(--nr-ease); }
.pt-sector:hover .pt-sector-ico { background: var(--nr-ocean); color: #fff; transform: rotate(-6deg); }
.pt-sector .nr-si { width: 27px; height: 27px; }
.pt-sector b { font-size: 15px; color: var(--nr-navy); line-height: 1.3; font-weight: 650; }
.pt-sector-n { display: flex; align-items: baseline; gap: 6px; color: var(--nr-muted); font-size: 13px; margin-top: auto; }
.pt-sector-n strong { font-size: 22px; color: var(--nr-ink); font-variant-numeric: tabular-nums; }
.pt-sector-go { position: absolute; right: 16px; bottom: 16px; color: var(--nr-ocean); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--nr-ease); }
.pt-sector:hover .pt-sector-go { opacity: 1; transform: none; }

/* The map section sits on bark-cloth cream. */
.pt-cloth { background: #f3ede5; position: relative; overflow: hidden; }
.pt-cloth::before { content: ''; position: absolute; inset: 0; background: var(--nr-ocean); opacity: .045; -webkit-mask: var(--nr-tapa) 0 0 / 320px 200px repeat; mask: var(--nr-tapa) 0 0 / 320px 200px repeat; pointer-events: none; }
.pt-cloth > .container-xl { position: relative; }
.pt-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-select {
  appearance: none; -webkit-appearance: none; border: 1px solid #dccfc4; border-radius: 999px; padding: 10px 40px 10px 16px; font-weight: 600; font-size: 13.5px;
  color: var(--nr-navy); cursor: pointer; transition: border-color .2s, box-shadow .2s;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23b3553a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.pt-select:hover, .pt-select:focus { border-color: var(--nr-sky); box-shadow: 0 0 0 4px rgba(210, 124, 97, .16); outline: none; }
.pt-mapwrap { position: relative; border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 34px 70px -34px rgba(23, 56, 62, .6); background: #a8c8d2; }
#pubMap { height: 580px; background: #a8c8d2; }
.pt-mapcount {
  position: absolute; z-index: 500; left: 16px; top: 16px; background: rgba(23, 56, 62, .9); color: #fff; border-radius: 14px; padding: 10px 16px 11px;
  backdrop-filter: blur(6px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); pointer-events: none;
}
.pt-mapcount b { display: block; font-size: 24px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pt-mapcount span { font-size: 12px; color: #c5d6d3; }
.pt-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pt-legend button {
  border: 1px solid #e3d8cf; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--nr-ink-2);
  display: inline-flex; gap: 8px; align-items: center; transition: opacity .2s, transform .2s var(--nr-ease), border-color .2s;
}
.pt-legend button:hover { transform: translateY(-1px); border-color: var(--nr-sky); }
.pt-legend button i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .12); }
.pt-legend button.is-off { opacity: .5; }
.pt-legend button.is-off span { text-decoration: line-through; }
.pt-legend-note { font-size: 12.5px; color: var(--nr-muted); align-self: center; margin-left: 4px; }

/* Map furniture: clusters, pins and the project card that opens on a pin. */
.pt-clu { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; font-family: var(--nr-font);
  background: radial-gradient(circle at 35% 30%, #cf7457, var(--nr-ocean) 70%); box-shadow: 0 0 0 5px rgba(239, 231, 221, .75), 0 8px 18px -4px rgba(0, 0, 0, .45);
  transition: transform .25s var(--nr-ease); }
.pt-clu.is-big { background: radial-gradient(circle at 35% 30%, #2c5a62, var(--nr-navy) 72%); }
.pt-clu:hover { transform: scale(1.1); }
.marker-cluster { background: transparent !important; }
.pt-pin { position: relative; width: 100%; height: 100%; border-radius: 50%; background: var(--c, #395155); border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); transition: transform .2s var(--nr-ease); }
.pt-pin:hover { transform: scale(1.3); }
.pt-pin.is-live::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c); animation: ptPin 2.2s ease-out infinite; }
@keyframes ptPin { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.pt .leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(23, 56, 62, .6); }
.pt .leaflet-popup-content { margin: 0; min-width: 270px; font-size: 13.5px; }
.pt-pop-head { position: relative; overflow: hidden; background: linear-gradient(135deg, #17383e, #2a5961); color: #fff; padding: 14px 16px 14px 70px; min-height: 70px; }
.pt-pop-head .nr-tapa-tex { color: #efe7dd; opacity: .12; }
.pt-pop-ico { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 12px; background: var(--nr-ocean); color: #fff; display: grid; place-items: center; }
.pt-pop-ico .nr-si { width: 23px; height: 23px; }
.pt-pop-type { position: relative; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #eaa68d; font-weight: 700; }
.pt-pop-name { position: relative; font-weight: 650; font-size: 15px; line-height: 1.25; margin-top: 2px; }
.pt-pop-body { padding: 12px 16px 14px; }
.pt-pop-body .pt-pop-place { color: var(--nr-muted); margin-bottom: 8px; display: flex; gap: 6px; }
.pt-pop-grid { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin-bottom: 10px; }
.pt-pop-grid span:nth-child(odd) { color: var(--nr-muted); }
.pt-pop-body a { font-weight: 650; }
.pt .leaflet-popup-close-button { color: #fff !important; top: 6px !important; right: 6px !important; z-index: 2; }

/* Project cards */
.pt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.pt-card {
  position: relative; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #ececee; display: flex; flex-direction: column; color: inherit;
  transition: transform .35s var(--nr-ease), box-shadow .35s;
}
.pt-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(23, 56, 62, .6); text-decoration: none; color: inherit; }
.pt-card-top { position: relative; height: 104px; background: linear-gradient(135deg, #17383e 0%, #2b5a61 100%); overflow: hidden; }
.pt-card-top .nr-tapa-tex { color: #efe7dd; opacity: .13; transition: transform 6s linear; }
.pt-card:hover .pt-card-top .nr-tapa-tex { transform: translateY(-40px); }
.pt-card-ico {
  position: absolute; left: 18px; top: 76px; z-index: 1; width: 58px; height: 58px; border-radius: 17px; background: var(--nr-ocean); color: #fff;
  display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 12px 22px -10px rgba(179, 85, 58, .8); transition: transform .4s var(--nr-ease);
}
.pt-card:hover .pt-card-ico { transform: rotate(-8deg) scale(1.05); }
.pt-card-ico .nr-si { width: 28px; height: 28px; }
.pt-card-top-in { position: relative; display: flex; justify-content: flex-end; padding: 14px; }
.pt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); color: #fff; backdrop-filter: blur(4px); }
.pt-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, #fff); }
.pt-card-body { padding: 34px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pt-card-type { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nr-ocean); }
.pt-card h3 { font-size: 17px; margin: 6px 0 6px; line-height: 1.3; font-weight: 650; }
.pt-card-place { color: var(--nr-muted); font-size: 13.5px; display: flex; gap: 6px; align-items: flex-start; }
.pt-card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--nr-muted); }
.pt-card-foot b { color: var(--nr-ink); }
.pt-bar { height: 7px; background: #efe7dd; border-radius: 4px; overflow: hidden; margin-top: 14px; }
.pt-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #d27c61, var(--nr-ocean)); width: var(--w, 0); }
.pt-bar.is-done span { background: linear-gradient(90deg, #4ea974, #2e8b57); }
.js-motion [data-reveal] .pt-bar span, .js-motion .pt-bar[data-reveal] span { width: 0; transition: width 1.3s .2s var(--nr-ease); }
.js-motion .is-visible .pt-bar span, .js-motion .pt-bar.is-visible span { width: var(--w, 0); }

/* How a project reaches a village */
.pt-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; counter-reset: ptstep; margin-top: 40px; }
.pt-steps::before {
  content: ''; position: absolute; top: 37px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, #d27c61 0 12px, transparent 12px 22px); animation: ptMarch 1.6s linear infinite;
}
@keyframes ptMarch { to { background-position: 22px 0; } }
.pt-step { position: relative; text-align: center; }
.pt-step-ico {
  position: relative; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--nr-navy); color: #efe7dd;
  display: grid; place-items: center; font-size: 28px; box-shadow: 0 0 0 9px #fbfbfb, 0 0 0 10px #ead6cc; transition: transform .4s var(--nr-ease), background .3s;
}
.pt-step:hover .pt-step-ico { transform: translateY(-4px) rotate(-6deg); background: var(--nr-ocean); }
.pt-step-ico .nr-si { width: 32px; height: 32px; }
.pt-step-ico::after {
  counter-increment: ptstep; content: counter(ptstep); position: absolute; top: -2px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--nr-ocean); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; font-family: var(--nr-font);
}
.pt-step h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 650; }
.pt-step p { font-size: 14px; color: var(--nr-muted); line-height: 1.55; margin: 0; }

/* Provinces */
.pt-prov { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 44px; }
.pt-prov-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) 60px; gap: 14px; align-items: center; font-size: 14px; }
.pt-prov-row > span:first-child { font-weight: 600; color: var(--nr-ink-2); }
.pt-prov-bar { position: relative; height: 14px; background: #efe7dd; border-radius: 7px; overflow: hidden; }
.pt-prov-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; width: 0; transition: width 1.4s var(--nr-ease); }
.pt-prov-bar .is-all { background: #b9cccb; }
.pt-prov-bar .is-done { background: linear-gradient(90deg, #2a5961, var(--nr-navy)); transition-delay: .25s; }
.pt-prov-row.is-visible .is-all { width: var(--all); }
.pt-prov-row.is-visible .is-done { width: var(--done); }
.pt-prov-row > b { text-align: right; font-variant-numeric: tabular-nums; color: var(--nr-navy); }
.pt-prov-key { display: flex; gap: 18px; font-size: 13px; color: var(--nr-muted); margin-top: 18px; }
.pt-prov-key i { display: inline-block; width: 22px; height: 8px; border-radius: 4px; margin-right: 6px; vertical-align: middle; }

/* Closing band */
.pt-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 52px 56px; color: #fff;
  background: radial-gradient(600px 300px at 85% 20%, rgba(67, 120, 128, .6), transparent 70%), linear-gradient(135deg, #17383e, #22525a);
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 28px; align-items: center;
}
.pt-band .nr-tapa-tex { color: #efe7dd; opacity: .08; }
.pt-band > :not(.nr-tapa-tex) { position: relative; }
.pt-band h2 { color: #fff; font-family: var(--nr-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 600; margin: 0 0 10px; }
.pt-band p { color: #d4e0de; font-size: 16.5px; margin: 0; max-width: 620px; line-height: 1.6; }

/* ── Inner page banner ──────────────────────────────────────────────────── */
.pt-banner { position: relative; overflow: hidden; color: #fff; padding: 46px 0 118px; background: linear-gradient(160deg, #13323a 0%, #17383e 50%, #22525a 100%); }
.pt-banner .pt-hero-tapa { width: min(40vw, 520px); }
.pt-banner .container-xl { position: relative; z-index: 1; }
.pt-banner h1 { color: #fff; font-family: var(--nr-serif); font-size: clamp(32px, 4vw, 48px); font-weight: 600; margin: 10px 0 10px; letter-spacing: -.015em; line-height: 1.1; }
.pt-banner p { color: #d4e0de; font-size: 16.5px; max-width: 680px; margin: 0; line-height: 1.6; }
.pt-banner .pt-waves { height: 90px; }
.pt-crumbs { font-size: 13px; color: #c5d6d3; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pt-crumbs a { color: #efe7dd; }
.pt-crumbs .bi { font-size: 10px; }
.pt-lift { position: relative; z-index: 2; margin-top: -78px; }
.pt-panel { background: #fff; border: 1px solid #ececee; border-radius: 20px; box-shadow: 0 22px 44px -30px rgba(23, 56, 62, .45); padding: 20px; }

/* Project page */
.pt-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.pt-fact { background: #fbf8f5; border: 1px solid #efe5dc; border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.pt-fact > .bi { font-size: 20px; color: var(--nr-ocean); line-height: 1; margin-top: 2px; }
.pt-fact b { display: block; font-size: 17px; color: var(--nr-navy); line-height: 1.25; }
.pt-fact span { font-size: 12.5px; color: var(--nr-muted); }
.pt-ringbox { display: flex; gap: 18px; align-items: center; }
.pt-ringsvg { width: 132px; height: 132px; flex: none; transform: rotate(-90deg); }
.pt-ringsvg circle { fill: none; stroke-width: 3.4; }
.pt-ringsvg .bg { stroke: #efe7dd; }
.pt-ringsvg .fg { stroke: var(--nr-ocean); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 100); transition: stroke-dashoffset 1.8s .2s var(--nr-ease); }
.js-motion .pt-ringsvg .fg { stroke-dashoffset: 100; }
.js-motion .is-visible .pt-ringsvg .fg { stroke-dashoffset: var(--off, 100); }
.pt-ringsvg.is-done .fg { stroke: var(--nr-green); }
.pt-ringnum { font-size: 34px; font-weight: 700; color: var(--nr-navy); line-height: 1; font-variant-numeric: tabular-nums; }
.pt-map-small { height: 360px; border-radius: 18px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 24px 50px -30px rgba(23, 56, 62, .6); }
.pt-livepin { width: 100%; height: 100%; border-radius: 50%; background: var(--nr-ocean); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); position: relative; }
.pt-livepin::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid #eaa68d; animation: ptPin 2s ease-out infinite; }

/* Lists and forms on the public pages */
.pt-searchbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pt-searchbar .pt-input { flex: 1 1 260px; border: 1px solid #dccfc4; border-radius: 999px; padding: 10px 18px 10px 42px; font-size: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5' fill='none' stroke='%235b6d70' stroke-width='1.8'/%3E%3Cpath d='M11 11l3.5 3.5' stroke='%235b6d70' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") 16px center / 15px no-repeat; }
.pt-searchbar .pt-input:focus { outline: none; border-color: var(--nr-sky); box-shadow: 0 0 0 4px rgba(210, 124, 97, .16); }
.pt-count { color: var(--nr-muted); font-size: 14px; margin: 18px 2px 14px; }
.pt .nr-pager { border: 0; padding: 22px 0 0; }
.pt .pagination { --bs-pagination-border-radius: 999px; gap: 4px; }
.pt .page-link { border-radius: 999px !important; border-color: #e3d8cf; color: var(--nr-ink-2); }
.pt .page-item.active .page-link { background: var(--nr-ocean); border-color: var(--nr-ocean); color: #fff; }
.pt-prose { font-size: 16px; line-height: 1.7; color: var(--nr-ink); }
.pt-prose h2 { font-family: var(--nr-serif); font-size: 26px; margin: 36px 0 12px; font-weight: 600; }
.pt-prose li { margin: 6px 0; }
.pt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pt-tile { background: #fff; border: 1px solid #ececee; border-radius: 18px; padding: 22px; transition: transform .3s var(--nr-ease), box-shadow .3s; }
.pt-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(23, 56, 62, .55); }
.pt-tile-ico { width: 48px; height: 48px; border-radius: 14px; background: #f8ece6; color: var(--nr-ocean); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.pt-tile h3 { font-size: 17px; margin: 0 0 8px; font-weight: 650; }
.pt-tile p { color: var(--nr-muted); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.pt-code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: #f6f1ec; border: 1px solid #ece2d8; border-radius: 10px; padding: 9px 12px; width: 100%; color: var(--nr-ink-2); }
.pt-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; border: 1px solid #ececee; border-radius: 16px; overflow: hidden; }
.pt-table th { background: #f7f2ed; color: var(--nr-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 11px 16px; text-align: left; }
.pt-table td { padding: 10px 16px; border-top: 1px solid #f0ebe6; }
.pt-table td:first-child { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--nr-ocean-d); white-space: nowrap; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.pt-foot { position: relative; margin-top: 90px; background: #0f2a2f; color: #b9cbc9; font-size: 14px; }
.pt-foot .pt-trim { position: absolute; top: 0; left: 0; right: 0; }
.pt-foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 36px; padding: 58px 0 34px; }
.pt-foot .pt-brand small { color: #9fb6b4; }
.pt-foot h4 { color: #efe7dd; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.pt-foot a { color: #e6ddd2; }
.pt-foot a:hover { color: #fff; }
.pt-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pt-foot-small { border-top: 1px solid rgba(239, 231, 221, .12); padding: 18px 0 26px; font-size: 12.5px; color: #8fa6a4; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ── Small screens ──────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .pt-steps::before { display: none; }
}
@media (max-width: 991.98px) {
  .pt-burger { display: inline-grid; place-items: center; }
  .pt-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: #13323a;
    padding: 10px 16px 18px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6); display: none;
  }
  .pt-nav.is-open { display: flex; }
  .pt-nav a { padding: 12px 10px; }
  .pt-nav a::after { left: 10px; right: auto; width: 40px; }
  .pt-nav a.pt-signin { margin: 8px 0 0; justify-content: center; }
  .pt-hero { padding: 40px 0 150px; }
  .pt-hero-grid { grid-template-columns: 1fr; }
  .pt-hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .pt-prov { grid-template-columns: 1fr; }
  .pt-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .pt-foot-in { grid-template-columns: 1fr 1fr; }
  .pt-foot-in > :first-child { grid-column: 1 / -1; }
  #pubMap { height: 480px; }
}
@media (max-width: 575.98px) {
  .pt-head-in { height: 64px; }
  .pt-brand img { height: 40px; }
  .pt-brand strong { font-size: 16px; }
  .pt-brand small { display: none; }
  .pt-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pt-stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .pt-stat b { font-size: 26px; }
  .pt-sectors { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pt-sector { padding: 14px; gap: 9px; border-radius: 14px; }
  .pt-sector-ico { width: 42px; height: 42px; border-radius: 12px; }
  .pt-sector .nr-si { width: 23px; height: 23px; }
  .pt-sector b { font-size: 13.5px; }
  .pt-sector-n strong { font-size: 19px; }
  .pt-sec { padding: 60px 0; }
  .pt-steps { grid-template-columns: 1fr; }
  .pt-prov-row { grid-template-columns: 96px minmax(0, 1fr) 48px; gap: 10px; font-size: 13px; }
  .pt-foot-in { grid-template-columns: 1fr; }
  #pubMap { height: 420px; }
  .pt-cta .pt-btn { flex: 1 1 auto; justify-content: center; }
}

/* One switch turns every animation off for people who asked their device to cut motion. */
@media (prefers-reduced-motion: reduce) {
  .pt *, .pt *::before, .pt *::after { animation: none !important; transition: none !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
  .js-motion .pt-isle { stroke-dashoffset: 0; fill-opacity: 1; }
  .pt-hero h1 em svg path { stroke-dashoffset: 0; }
  .js-motion .pt-bar span, .js-motion .pt-prov-bar span { width: var(--w, var(--all)); }
  .pt-prov-bar .is-done { width: var(--done); }
  .pt-ring { display: none; }
  .js-motion .pt-ringsvg .fg { stroke-dashoffset: var(--off, 100); }
}
