/* ==========================================================================
   Components and motion. Each idea has exactly one home on the site, so
   nothing here is a second rendering of something stated elsewhere.
   ========================================================================== */

/* ---- hero: canvas lattice behind live type ---------------------------- */
/* the header is sticky, so it occupies flow: pull the dark opening up under
   it, and pad the content back down, so the bar floats over the artwork */
.hero,.phead{margin-top:calc(-1 * var(--header-h))}
.hero{position:relative;min-height:clamp(560px,92vh,980px);display:flex;align-items:center;
  background:radial-gradient(130% 110% at 72% 18%,#0d3b40 0%,#072026 42%,#031216 100%);
  color:var(--on-dark);overflow:hidden;
  padding:calc(var(--header-h) + clamp(3rem,7vh,5rem)) 0 clamp(3rem,7vh,5rem)}
.hero canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;
  transition:opacity 1.6s ease .3s}
.hero canvas.on{opacity:1}
.hero-in{position:relative;z-index:2;width:100%}
.hero h1{font-size:clamp(2.6rem,6.6vw,5.4rem);color:#fff;letter-spacing:-.025em;
  line-height:1.02;max-width:17em}
.hero h1 em{color:var(--aqua);font-style:italic}
.hero .lede{margin-top:1.9rem;max-width:33rem;color:rgba(238,243,242,.74);
  font-size:clamp(1.08rem,1.5vw,1.3rem)}
.hero .eyebrow{color:var(--champ)}

/* a soft horizon glow at the foot of the hero */
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40%;
  background:linear-gradient(to top,rgba(3,18,22,.85),transparent);z-index:1;pointer-events:none}

/* ---- figures with counting numbers ------------------------------------ */
.figs{display:grid;grid-template-columns:repeat(4,1fr);
  margin-top:clamp(3rem,6vw,5rem);border-top:1px solid var(--rule-dark)}
.figs div{padding:1.8rem 1.4rem 0;border-right:1px solid var(--rule-dark-soft);position:relative}
.figs div::before{content:"";position:absolute;top:-1px;left:0;height:1px;width:0;
  background:var(--aqua);transition:width 1.1s var(--ease-out)}
.figs.in div::before{width:100%}
.figs div:nth-child(2)::before{transition-delay:.12s}
.figs div:nth-child(3)::before{transition-delay:.24s}
.figs div:nth-child(4)::before{transition-delay:.36s}
.figs div:last-child{border-right:0}
.figs div:first-child{padding-left:0}
.figs b{display:block;font:300 clamp(1.7rem,3vw,2.5rem)/1 var(--serif);color:#fff;
  letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.figs span{display:block;margin-top:.7rem;font:400 .7rem/1.5 var(--sans);
  letter-spacing:.12em;text-transform:uppercase;color:var(--on-dark-faint)}
@media (max-width:760px){
  .figs{grid-template-columns:1fr 1fr}
  .figs div{padding:1.4rem 1.1rem;border-bottom:1px solid var(--rule-dark-soft)}
  .figs div:nth-child(2n){border-right:0}
  .figs div:nth-child(2n+1){padding-left:0}
}

/* ---- page head -------------------------------------------------------- */
.phead{position:relative;overflow:hidden;color:var(--on-dark);
  background:radial-gradient(120% 140% at 80% 0%,#0d3b40 0%,#072026 45%,#04151a 100%);
  padding:calc(var(--header-h) + clamp(2.6rem,6vw,4.6rem)) 0 clamp(2.8rem,5vw,4.4rem)}
.phead canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;
  transition:opacity 1.6s ease .2s}
.phead canvas.on{opacity:.75}
.phead>.wrap{position:relative;z-index:2}
.phead .crumb{font:400 .7rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;
  color:var(--on-dark-faint);margin-bottom:2.4rem}
.phead .crumb a:hover{color:var(--aqua)}
.phead h1{color:#fff;max-width:19em}
.phead h1 em{color:var(--aqua);font-style:italic}
.phead .lede{margin-top:1.5rem;max-width:var(--measure);color:rgba(238,243,242,.74)}
.phead-grid{display:grid;grid-template-columns:1fr auto;gap:2.5rem;align-items:end}
@media (max-width:860px){.phead-grid{grid-template-columns:1fr;align-items:start}}
.phead-meta{list-style:none;margin:0;padding:0;min-width:15rem}
.phead-meta li{display:flex;justify-content:space-between;gap:1.5rem;padding:.66rem 0;
  border-top:1px solid var(--rule-dark-soft);font:400 .78rem/1.4 var(--sans)}
.phead-meta .k{color:var(--on-dark-faint)}
.phead-meta .v{color:var(--on-dark);text-align:right}

/* ---- THE PILLAR SYSTEM — the site's signature figure, used once -------- */
.psys{position:relative;margin:0}
.psys svg{width:100%;height:auto;overflow:visible}
.psys .p-base{stroke:var(--rule-dark);stroke-width:1}
/* each column grows from the baseline when the figure arrives */
.psys .p-col{fill:url(#colGrad);transform:scaleY(0);transform-origin:center bottom;
  transition:transform 1.15s var(--ease-out)}
.psys.in .p-col{transform:scaleY(1)}
.psys.in .p-col:nth-of-type(2){transition-delay:.1s}
.psys.in .p-col:nth-of-type(3){transition-delay:.2s}
.psys.in .p-col:nth-of-type(4){transition-delay:.3s}
.psys.in .p-col:nth-of-type(5){transition-delay:.4s}
/* the tie-beam that proves they hold each other up */
.psys .p-tie{fill:none;stroke:var(--champ);stroke-width:1.2;
  stroke-dasharray:var(--tie);stroke-dashoffset:var(--tie);
  transition:stroke-dashoffset 1.6s var(--ease-out) .55s}
.psys.in .p-tie{stroke-dashoffset:0}
.psys .p-cap{fill:var(--aqua);opacity:0;transition:opacity .6s ease}
.psys.in .p-cap{opacity:1}
.psys.in .p-cap:nth-of-type(n){transition-delay:.8s}
.psys .p-name{font:500 11px/1 Plex,sans-serif;letter-spacing:.14em;
  text-transform:uppercase;fill:var(--on-dark)}
.psys .p-no{font:500 9px/1 Plex,sans-serif;letter-spacing:.14em;fill:var(--champ)}

/* the readable half: a row per pillar, revealed with the column */
.pdefs{display:grid;grid-template-columns:repeat(5,1fr);gap:0;
  border-top:1px solid var(--rule-dark);margin-top:2.6rem}
@media (max-width:1040px){.pdefs{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.pdefs{grid-template-columns:1fr}}
.pdef{padding:1.6rem 1.3rem 1.8rem;border-right:1px solid var(--rule-dark-soft)}
.pdef:last-child{border-right:0}
.pdef:first-child{padding-left:0}
@media (max-width:1040px){
  .pdef{border-bottom:1px solid var(--rule-dark-soft)}
  .pdef:nth-child(2n){border-right:0}
}
.pdef h3{font-size:1.06rem;margin-bottom:.6rem;color:var(--on-dark)}
.pdef p{font-size:.91rem;line-height:1.6;color:var(--on-dark-dim);margin:0}

/* ---- prosperity chain with a travelling pulse ------------------------- */
.chain{position:relative;margin:0;padding:0;list-style:none;
  display:grid;grid-template-columns:repeat(7,1fr);gap:.5rem}
@media (max-width:1040px){.chain{grid-template-columns:repeat(4,1fr)}}
@media (max-width:680px){.chain{grid-template-columns:repeat(2,1fr)}}
.chain li{position:relative;padding:1.15rem 1rem 1.25rem;
  background:rgba(238,243,242,.035);border:1px solid var(--rule-dark-soft);
  font:400 .9rem/1.38 var(--serif);color:var(--on-dark);
  transition:background .5s var(--ease),border-color .5s,transform .5s var(--ease)}
.chain li .num{display:block;margin-bottom:.6rem}
.chain li.lit{background:rgba(95,217,192,.12);border-color:rgba(95,217,192,.45);
  transform:translateY(-3px)}
.chain li:last-child{background:linear-gradient(150deg,var(--sea),#0a4c43);
  border-color:var(--jade)}
.chain li:last-child.lit{background:linear-gradient(150deg,var(--jade),var(--sea))}
.chain-note{margin-top:1.6rem;max-width:44rem}

/* ---- mechanisms ------------------------------------------------------- */
.mechs{counter-reset:m;border-top:1px solid var(--rule)}
.mech{display:grid;grid-template-columns:4rem 1fr 1.15fr;gap:2rem;align-items:start;
  padding:2rem 0;border-bottom:1px solid var(--rule-soft);position:relative}
.mech::after{content:"";position:absolute;left:0;bottom:-1px;height:1px;width:0;
  background:var(--jade);transition:width .9s var(--ease-out)}
.mech.in::after{width:100%}
@media (max-width:820px){
  .mech{grid-template-columns:2.6rem 1fr;gap:1.1rem}
  .mech p{grid-column:2}
}
.mech::before{counter-increment:m;content:counter(m,decimal-leading-zero);
  font:500 .72rem/1 var(--sans);letter-spacing:.1em;color:var(--champ-deep);padding-top:.55rem}
.mech h3{font-size:1.2rem}
.mech p{margin:0;font-size:.97rem;line-height:1.66;color:var(--on-light-dim)}

/* ---- ventures --------------------------------------------------------- */
.vlist{border-top:1px solid var(--rule)}
.venture{display:grid;grid-template-columns:3.4rem 1fr 14rem auto;gap:2rem;align-items:center;
  padding:2.1rem 0;border-bottom:1px solid var(--rule);position:relative;
  transition:padding-left .5s var(--ease)}
.venture::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;
  background:var(--jade);transform:scaleY(0);transform-origin:top;
  transition:transform .5s var(--ease-out)}
.venture:hover{padding-left:1.2rem}
.venture:hover::before{transform:scaleY(1)}
@media (max-width:980px){
  .venture{grid-template-columns:2.6rem 1fr;gap:.4rem 1.2rem}
  .venture .v-sector,.venture .v-go{grid-column:2}
  .venture .v-go{margin-top:.9rem}
}
.venture .num{padding-top:.1rem}
.venture h3{font-size:clamp(1.3rem,2.2vw,1.75rem);font-weight:300}
.venture h3 a{transition:color .3s}
.venture:hover h3 a{color:var(--sea)}
.venture .v-note{margin:.5rem 0 0;font-size:.94rem;color:var(--on-light-dim);line-height:1.58}
.venture .v-sector{font:400 .76rem/1.5 var(--sans);letter-spacing:.11em;
  text-transform:uppercase;color:var(--on-light-faint)}
.v-tag{display:inline-block;font:500 .6rem/1 var(--sans);letter-spacing:.17em;
  text-transform:uppercase;padding:.45rem .75rem;border:1px solid var(--rule);
  color:var(--on-light-faint)}
.v-tag.live{border-color:var(--jade);color:var(--sea);background:rgba(22,161,137,.08)}
.v-tag.dev{border-color:var(--champ);color:var(--champ-deep)}

/* ---- venture detail blocks ------------------------------------------- */
.vdetail{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,5vw,4.5rem);
  align-items:start;padding:clamp(2.6rem,5vw,4rem) 0;border-bottom:1px solid var(--rule)}
.vdetail:last-of-type{border-bottom:0}
@media (max-width:860px){.vdetail{grid-template-columns:1fr}}
.vdetail .vd-no{font:500 .7rem/1 var(--sans);letter-spacing:.15em;color:var(--champ-deep);
  display:block;margin-bottom:1.1rem}

/* ---- ladder figure (raw -> processed), drawn ------------------------- */
.ladder{display:flex;flex-direction:column;gap:.45rem;margin:1.6rem 0 0}
.ladder li{list-style:none;display:flex;align-items:center;gap:1rem;
  padding:.78rem 1rem;border:1px solid var(--rule);background:var(--stone-3);
  font:400 .92rem/1.3 var(--serif);opacity:0;transform:translateX(-14px);
  transition:opacity .7s var(--ease-out),transform .7s var(--ease-out),
             background .4s,border-color .4s}
.ladder.in li{opacity:1;transform:none}
.ladder.in li:nth-child(2){transition-delay:.12s}
.ladder.in li:nth-child(3){transition-delay:.24s}
.ladder.in li:nth-child(4){transition-delay:.36s}
.ladder.in li:nth-child(5){transition-delay:.48s}
.ladder li .step{font:500 .62rem/1 var(--sans);letter-spacing:.14em;color:var(--champ-deep);
  flex:none;width:2rem}
.ladder li:last-child{background:linear-gradient(120deg,var(--sea),#0a4c43);
  border-color:var(--jade);color:#fff}
.ladder li:last-child .step{color:var(--aqua)}

/* ---- data table ------------------------------------------------------- */
.dtable{width:100%;border-collapse:collapse;font-size:.95rem}
.dtable caption{text-align:left;font:400 .76rem/1.5 var(--sans);letter-spacing:.12em;
  text-transform:uppercase;color:var(--on-light-faint);padding-bottom:1rem}
.dtable th{text-align:left;font:500 .68rem/1.4 var(--sans);letter-spacing:.14em;
  text-transform:uppercase;color:var(--on-light-faint);padding:0 1.2rem .8rem 0;
  border-bottom:1px solid var(--on-light)}
.dtable td{padding:.95rem 1.2rem .95rem 0;border-bottom:1px solid var(--rule-soft);
  vertical-align:top;line-height:1.55}
.dtable tbody tr{transition:background .3s}
.dtable tbody tr:hover{background:rgba(22,161,137,.05)}
.dtable tr:last-child td{border-bottom:1px solid var(--rule)}
.dtable .t-num{font-family:var(--sans);font-size:.82rem;color:var(--champ-deep);
  font-variant-numeric:tabular-nums;white-space:nowrap}
.band-dark .dtable th{color:var(--on-dark-faint);border-bottom-color:var(--rule-dark)}
.band-dark .dtable td{border-bottom-color:var(--rule-dark-soft);color:var(--on-dark-dim)}
.band-dark .dtable tbody tr:hover{background:rgba(95,217,192,.07)}
.band-dark .dtable strong{color:var(--on-dark)}
.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---- roadmap ---------------------------------------------------------- */
.phases{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--rule-dark-soft);border:1px solid var(--rule-dark-soft)}
@media (max-width:880px){.phases{grid-template-columns:1fr}}
.phase{background:linear-gradient(170deg,rgba(238,243,242,.045),transparent);
  padding:2.3rem 1.8rem 2.6rem;position:relative;overflow:hidden}
.phase .yr{font:500 .7rem/1 var(--sans);letter-spacing:.17em;color:var(--champ);
  display:block;margin-bottom:1.5rem}
.phase h3{font-size:1.22rem;color:#fff;margin-bottom:1.1rem}
.phase ul{margin:0;padding:0;list-style:none}
.phase li{position:relative;padding-left:1.15rem;margin-bottom:.68rem;
  font-size:.92rem;line-height:1.55;color:var(--on-dark-dim)}
.phase li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:1px;
  background:var(--champ)}
.phase .bar{position:absolute;left:0;bottom:0;height:2px;width:0;
  background:linear-gradient(90deg,var(--sea),var(--aqua));
  transition:width 1.5s var(--ease-out)}
.phase.in .bar{width:100%}
.phase:nth-child(2) .bar{transition-delay:.25s}
.phase:nth-child(3) .bar{transition-delay:.5s}

/* ---- map figure, corridors draw themselves ---------------------------- */
.mapfig{margin:0;position:relative;
  background:radial-gradient(120% 120% at 70% 20%,#0b3338,#06212700 70%),var(--abyss);
  padding:clamp(1.4rem,3vw,2.6rem);border:1px solid var(--rule-dark-soft)}
.mapfig svg{width:100%;height:auto}
/* the corridors keep their dashes — the caption calls them dashed, and the
   freight markers now supply the movement the draw-on used to */
.mapfig .cor{opacity:0;transition:opacity 1.3s var(--ease-out)}
.mapfig.in .cor{opacity:1}
.mapfig.in .cor:nth-of-type(2){transition-delay:.15s}
.mapfig.in .cor:nth-of-type(3){transition-delay:.3s}
.mapfig.in .cor:nth-of-type(4){transition-delay:.45s}
.mapfig.in .cor:nth-of-type(2){transition-delay:.2s}
.mapfig.in .cor:nth-of-type(3){transition-delay:.4s}
.mapfig.in .cor:nth-of-type(4){transition-delay:.6s}
.mapfig .pt-r{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.4)}
.mapfig.in .pt-r{animation:ping 2.6s var(--ease-out) infinite}
.mapfig .c-som{opacity:0;transition:opacity 1.2s ease}
.mapfig.in .c-som{opacity:1}
@keyframes ping{
  0%{opacity:.9;transform:scale(.45)}
  70%{opacity:0;transform:scale(1.5)}
  100%{opacity:0;transform:scale(1.5)}
}
.mapfig figcaption{margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--rule-dark-soft);
  font:400 .78rem/1.58 var(--sans);color:var(--on-dark-faint)}

/* On a phone the whole of East Africa has to fit in about 300 pixels, so the
   645-unit drawing is shown at well under half size and every mark set for a
   desktop reading — hairline corridors, 9.5px labels, a 20-unit hull —
   collapses into texture. The caption underneath stays at 13px and the map
   ends up the quietest thing in its own figure. So the figure takes the full
   width of the screen and each mark is drawn up to roughly twice its size;
   --m carries the same factor into the ships, and main.js applies it to the
   lorries, which are positioned frame by frame and cannot read CSS. */
@media (max-width:760px){
  .mapfig{--m:2.05;
    padding:1rem .5rem 1.3rem;
    margin-left:calc(-1 * var(--gut));margin-right:calc(-1 * var(--gut));
    border-left:0;border-right:0}
  .mapfig .cor{stroke-width:2.1;stroke-dasharray:7 7}
  .mapfig .lane{stroke-width:2;stroke-dasharray:5 10}
  .mapfig .c-som{stroke-width:2.4}
  .mapfig .c-hint{stroke-width:1.4}
  .mapfig .c-neigh{stroke-width:1.2}
  .mapfig .lp{font-size:18px}
  .mapfig .li{font-size:16px}
  .mapfig .pt{r:5}
  .mapfig .pt-r{r:11;stroke-width:1.6}
  .mapfig .ipt{stroke-width:1.8;transform:scale(1.9)}
  .mapfig .sh-wake{stroke-width:1.2}
  .mapfig figcaption{padding-left:var(--gut);padding-right:var(--gut)}
}

/* ---- prose blocks ----------------------------------------------------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
@media (max-width:860px){.split{grid-template-columns:1fr}}
.split-7{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,5vw,4.5rem);
  align-items:start}
@media (max-width:860px){.split-7{grid-template-columns:1fr}}
.pull{margin:2.5rem 0;padding:1.5rem 0 1.5rem 1.9rem;position:relative;
  font:300 italic clamp(1.14rem,1.8vw,1.42rem)/1.5 var(--serif);color:var(--on-light)}
.pull::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;
  background:linear-gradient(var(--jade),var(--sea));transform:scaleY(0);transform-origin:top;
  transition:transform .9s var(--ease-out)}
.pull.in::before{transform:scaleY(1)}
.band-dark .pull,.band-sea .pull{color:#fff}
.deff{background:linear-gradient(120deg,rgba(22,161,137,.09),rgba(22,161,137,.02));
  border-left:2px solid var(--jade);padding:1.6rem 1.8rem;margin:2.2rem 0}
.deff p{margin:0;font-size:1.01rem;line-height:1.66}
.deff .label{display:block;font-size:.64rem;font-weight:500;letter-spacing:.18em;
  text-transform:uppercase;color:var(--sea);margin-bottom:.75rem}

/* ---- contact ---------------------------------------------------------- */
.cgrid{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
@media (max-width:900px){.cgrid{grid-template-columns:1fr}}
.cblock{margin-bottom:2.2rem}
.cblock h4{font:500 .66rem/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;
  color:var(--on-light-faint);margin-bottom:.9rem}
.cblock p{margin:0;line-height:1.7}
.cblock a{transition:color .3s}
.cblock a:hover{color:var(--sea)}
.band-dark .cblock h4{color:var(--champ)}
.band-dark .cblock,.band-dark .cblock p{color:var(--on-dark-dim)}
.band-dark .cblock a:hover{color:var(--aqua)}
form .frow{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}
@media (max-width:620px){form .frow{grid-template-columns:1fr}}
form label{display:block;font:400 .7rem/1 var(--sans);letter-spacing:.14em;
  text-transform:uppercase;color:var(--on-light-faint);margin-bottom:.55rem}
form .fld{margin-bottom:1.3rem}
input,select,textarea{width:100%;font:400 1rem/1.5 var(--serif);color:var(--on-light);
  background:var(--stone-3);border:1px solid var(--rule);padding:.85rem .95rem;
  border-radius:0;transition:border-color .3s,box-shadow .3s,background .3s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--jade);
  background:#fff;box-shadow:0 0 0 3px rgba(22,161,137,.12)}
textarea{min-height:9.5rem;resize:vertical}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233c5c60' fill='none' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center}
.band-dark form label{color:var(--on-dark-faint)}
.band-dark input,.band-dark select,.band-dark textarea{
  background:rgba(238,243,242,.05);border-color:var(--rule-dark);color:var(--on-dark)}
.band-dark input:focus,.band-dark select:focus,.band-dark textarea:focus{
  background:rgba(238,243,242,.09);border-color:var(--aqua)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.fmsg{display:none;padding:1rem 1.2rem;margin-bottom:1.4rem;font-size:.95rem;
  border-left:2px solid var(--jade);background:rgba(22,161,137,.1)}
.fmsg.show{display:block}
.fmsg.bad{border-color:#c0674f;background:rgba(192,103,79,.12)}

/* On a phone the figure's own labels would render at a few pixels, so the
   drawing goes abstract and the names below it do the work. */
@media (max-width:720px){
  .psys .p-name,.psys .p-no{display:none}
  .psys svg{overflow:visible}
}

/* ---- the seam above the footer ---------------------------------------
   The last section of every page is dark and the footer is darker still,
   so without an edge they read as one endless block. A hairline, a lift in
   tone and a short jade tick give the footer its own beginning. */
.site-footer{border-top:1px solid var(--rule-dark);padding-top:clamp(4rem,7vw,6.5rem);
  background:linear-gradient(180deg,#0a272e 0%,#061a20 55%,#04151a 100%)}
.site-footer::before{content:"";position:absolute;top:-1px;left:0;width:clamp(90px,14vw,200px);
  height:2px;background:linear-gradient(90deg,var(--jade),transparent)}
/* a touch of air under the last band so the seam is not crowded */
.band-dark:last-of-type,.band-sea:last-of-type{padding-bottom:clamp(5rem,9vw,8rem)}

/* anchors land clear of the sticky header rather than under it */
[id]{scroll-margin-top:calc(var(--header-h) + 1.5rem)}

/* ---- the closing national band ----------------------------------------
   This is the seam. Dark content above, a luminous sea band here, the dark
   footer below — so the footer plainly begins somewhere instead of running
   on from the last section. It also carries the sovereign framing, which is
   what a ministry or a regional body looks for first. */
.natband{
  position:relative;overflow:hidden;color:var(--on-dark);
  background:linear-gradient(145deg,#0f4a44 0%,var(--sea) 42%,#07332f 100%);
  padding:clamp(3.4rem,6vw,5.6rem) 0;
  border-top:1px solid rgba(95,217,192,.35);
}
/* a slow sheen crossing the band, so it reads as lit rather than printed */
/* a directional sheen rather than a radial one: a large soft circle sitting
   behind the mark read as a disc of its own, which is not wanted here */
.natband::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(118deg,rgba(95,217,192,.15) 0%,rgba(95,217,192,.04) 38%,transparent 62%);
}
.nat-in{position:relative;z-index:1}
.nat-head{display:flex;align-items:baseline;gap:2rem;flex-wrap:wrap}
.nat-lede{max-width:46rem;margin-top:1.2rem}
.nat-sov{margin:clamp(1.8rem,3vw,2.6rem) 0 0;padding-top:1.3rem;
  border-top:1px solid rgba(238,243,242,.18);
  font:500 .64rem/1.9 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#fff}
.nat-sov span{display:block;color:rgba(238,243,242,.55);letter-spacing:.17em}

/* --- the body ---
   These were scoped to .nat-body, which went with the star. Without them the
   lede fell back to the light-background colour and rendered dark teal on
   teal, which is close to unreadable. */
.natband .eyebrow{color:var(--aqua);margin-bottom:0}
.natband h2{color:#fff;max-width:16em}
.natband h2 em{color:var(--aqua);font-style:italic}
.natband .lede{color:rgba(238,243,242,.85)}
.nat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0;
  margin-top:clamp(1.8rem,3vw,2.6rem);border-top:1px solid rgba(238,243,242,.22)}
@media (max-width:1040px){.nat-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:620px){.nat-grid{grid-template-columns:repeat(2,1fr)}}
.nat-item{padding:1.4rem 1.1rem 0 0;border-right:1px solid rgba(238,243,242,.14);
  opacity:0;transform:translateY(16px);
  transition:opacity .8s var(--ease-out),transform .8s var(--ease-out)}
.nat-item:last-child{border-right:0}
.natband.in .nat-item{opacity:1;transform:none}
.natband.in .nat-item:nth-child(2){transition-delay:.1s}
.natband.in .nat-item:nth-child(3){transition-delay:.2s}
.natband.in .nat-item:nth-child(4){transition-delay:.3s}
.natband.in .nat-item:nth-child(5){transition-delay:.4s}
.nat-item .num{color:var(--aqua);display:block;margin-bottom:.7rem}
.nat-item h3{font-size:1.02rem;color:#fff;margin-bottom:.45rem}
.nat-item p{font-size:.86rem;line-height:1.55;color:rgba(238,243,242,.7);margin:0;
  padding-right:.6rem}
@media (max-width:620px){
  .nat-item{padding-right:.8rem}
  .nat-item:nth-child(2n){border-right:0}
}

/* the footer no longer needs to shout its own edge: the band above does it */
.site-footer::before{display:none}

@media (prefers-reduced-motion:reduce){
    .nat-item{opacity:1!important;transform:none!important}
}

/* ---- the growth-versus-capability schematic ---------------------------
   Both curves draw themselves left to right when the figure arrives, then a
   marker runs each line so the eye follows the shape rather than reading it
   as a static picture. */
.curves{margin:clamp(2.6rem,5vw,4rem) 0 0;max-width:860px}
.curves svg{width:100%;height:auto;overflow:visible}
.cv-axis line{stroke:var(--rule);stroke-width:1}
.cv-ax{font:400 .66rem/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;
  fill:var(--on-light-faint)}
.cv-line{fill:none;stroke-width:2;stroke-linecap:round;
  stroke-dasharray:var(--len,1400);stroke-dashoffset:var(--len,1400);
  transition:stroke-dashoffset 2.1s var(--ease-out)}
.curves.in .cv-line{stroke-dashoffset:0}
.cv-com{stroke:var(--champ-deep)}
.cv-cap{stroke:var(--jade)}
.curves.in .cv-cap{transition-delay:.35s}
.cv-lab{font:500 .7rem/1 var(--sans);letter-spacing:.1em;opacity:0;
  paint-order:stroke;stroke:var(--stone);stroke-width:5px;stroke-linejoin:round;
  transition:opacity .7s var(--ease-out) 1.8s}
.curves.in .cv-lab{opacity:1}
.cv-lab-com{fill:var(--champ-deep)}
.cv-lab-cap{fill:var(--sea)}
.cv-dot{opacity:0}
.cv-dot circle{fill:currentColor}
.cv-dot-com{color:var(--champ-deep)}
.cv-dot-cap{color:var(--jade)}
@supports (offset-path:path("M0 0 L1 1")){
  .curves.in .cv-dot{opacity:1;animation:cvRun 7s linear infinite;
    animation-delay:2.1s}
  .curves.in .cv-dot-cap{animation-delay:2.45s}
}
@keyframes cvRun{
  0%{offset-distance:0%;opacity:0}
  6%{opacity:1}
  94%{opacity:1}
  100%{offset-distance:100%;opacity:0}
}
.curves figcaption{margin-top:1.3rem;padding-top:1.1rem;border-top:1px solid var(--rule-soft);
  font:400 .82rem/1.6 var(--sans);color:var(--on-light-faint);max-width:46rem}
@media (prefers-reduced-motion:reduce){
  .cv-line{stroke-dashoffset:0!important}
  .cv-lab{opacity:1!important}
  .cv-dot{opacity:0!important;animation:none!important}
}

/* a band that carries the same drifting lattice as the hero */
.has-lattice{overflow:hidden}
.has-lattice>canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;
  transition:opacity 1.6s ease .2s;pointer-events:none}
.has-lattice>canvas.on{opacity:.55}
.has-lattice>.wrap{position:relative;z-index:1}

/* ======================= THE ASCENT ====================================
   A tall section with a pinned viewport inside it. The canvas paints the
   water column; the type sits above it in the DOM so it stays crisp,
   selectable and readable by a screen reader. */
/* Default is the plain readable stack. JavaScript adds .asc-live to opt
   into the pinned scene, so no-JS visitors never meet 560vh of nothing. */
/* ---- the threshold: a sill between the page head and the climb --------
   The head and the climb are both dark, and on a phone, where each fills a
   screen on its own, they read as one hero that would not end. This band
   draws the line: a champagne rule across the top, the section named, and a
   tick pointing down into the water. */
.thresh{position:relative;background:#041419;
  border-top:1px solid rgba(195,179,147,.42);
  padding:clamp(2.6rem,6vw,4.2rem) 0 clamp(2.8rem,6vw,4.4rem)}
.thresh-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  gap:clamp(1.4rem,4vw,3rem);align-items:start}
.thresh-no{font:500 .62rem/1.4 var(--sans);letter-spacing:.26em;text-transform:uppercase;
  color:var(--champ);padding-top:.45rem;white-space:nowrap}
.thresh-h{font:300 clamp(1.35rem,3.2vw,1.95rem)/1.22 var(--serif);
  color:#fff;letter-spacing:-.015em;margin:0 0 .6rem}
.thresh-p{margin:0;max-width:34rem;
  font:400 clamp(.93rem,1.15vw,1rem)/1.62 var(--sans);color:rgba(238,243,242,.66)}
/* the tick: a short stroke that falls, so the eye is handed downward */
.thresh-tick{display:block;width:1px;height:46px;align-self:center;
  background:linear-gradient(rgba(195,179,147,.8),rgba(195,179,147,0));
  animation:threshFall 2.8s var(--ease) infinite}
@keyframes threshFall{0%{transform:scaleY(.25);transform-origin:top;opacity:0}
  45%{transform:scaleY(1);opacity:1}
  100%{transform:scaleY(1);transform-origin:bottom;opacity:0}}
@media (max-width:700px){
  .thresh-row{grid-template-columns:1fr;gap:.9rem}
  .thresh-no{padding-top:0}
  .thresh-tick{justify-self:start;height:38px;margin-top:.4rem}
}
@media (prefers-reduced-motion:reduce){.thresh-tick{animation:none;opacity:.8}}

.ascent{position:relative;background:linear-gradient(180deg,#030e12,#0b3a36 60%,#1d5f52)}
.ascent.asc-live{height:560vh;background:#030e12}
.asc-pin{position:static;padding:clamp(3rem,7vw,6rem) 0}
.asc-live .asc-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;
  display:flex;align-items:center;padding:0}
.asc-pin>canvas{display:none}
.asc-live .asc-pin>canvas{display:block;position:absolute;inset:0;width:100%;height:100%;display:block}

/* a fine grain over the whole scene — the thing that separates a rendered
   gradient from something that looks printed */
.asc-grain{position:absolute;inset:0;pointer-events:none;opacity:.16;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  /* no mix-blend-mode: compositing a full-screen blend over a repainting
     canvas cost more frames than the texture was worth */
  }

.asc-stage{position:relative;z-index:2;display:grid;
  grid-template-columns:minmax(0,1fr);gap:clamp(2rem,6vw,6rem);
  align-items:center;width:100%}
.asc-live .asc-stage{grid-template-columns:auto minmax(0,1fr)}
@media (max-width:820px){
  .asc-live .asc-stage{grid-template-columns:1fr;gap:1.6rem}
}

/* --- the rail: where you are in the climb --- */
.asc-rail{display:none}
.asc-live .asc-rail{list-style:none;margin:0;padding:0;display:flex;
  flex-direction:column-reverse;gap:1.15rem}
@media (max-width:820px){
  /* .asc-live .asc-rail above is two classes to this rule's one, so the
     column it sets won a declaration this rule was meant to overturn and
     the rail stayed a vertical stack of dashes floating above the heading.
     Matching the specificity lays it out as a row of progress marks. */
  .asc-live .asc-rail{flex-direction:row;gap:.55rem;align-items:center;
    justify-content:flex-start;margin-bottom:.4rem}
}
.asc-tick{display:flex;align-items:center;gap:.9rem;
  font:500 .62rem/1 var(--sans);letter-spacing:.19em;text-transform:uppercase;
  color:rgba(238,243,242,.3);transition:color .6s var(--ease)}
.asc-tick i{display:block;width:30px;height:1px;background:rgba(238,243,242,.25);
  transition:background .6s var(--ease),width .6s var(--ease)}
.asc-tick.on{color:rgba(238,243,242,.6)}
.asc-tick.on i{background:var(--aqua);width:38px}
.asc-tick.now{color:#fff}
.asc-tick.now i{background:var(--champ);width:54px;height:2px}
@media (max-width:820px){
  .asc-tick span{display:none}
  .asc-tick i{width:18px}
  .asc-tick.on i{width:22px}
  .asc-tick.now i{width:34px}
}

/* --- the panels: one visible at a time, the others waiting --- */
.asc-panels{display:grid;gap:3.2rem}
.asc-live .asc-panels{position:relative;display:block;min-height:clamp(300px,42vh,400px)}
.asc-panel{max-width:40rem}
.asc-live .asc-panel{position:absolute;inset:0;
  opacity:0;transform:translateY(26px);pointer-events:none;
  transition:opacity .75s var(--ease-out),transform .75s var(--ease-out)}
.asc-panel.on{opacity:1;transform:none;pointer-events:auto}
.asc-no{display:block;font:500 .68rem/1 var(--sans);letter-spacing:.3em;
  color:var(--champ);margin-bottom:1.5rem}
.asc-panel h2{font-size:clamp(2.4rem,6vw,4.6rem);color:#fff;letter-spacing:-.025em;
  line-height:.98;margin-bottom:.9rem}
.asc-kicker{font:400 italic clamp(1.05rem,1.6vw,1.3rem)/1.45 var(--serif);
  color:var(--aqua);margin-bottom:1.3rem}
.asc-body{font-size:clamp(1rem,1.3vw,1.14rem);line-height:1.68;
  color:rgba(238,243,242,.8);max-width:34rem;margin:0}

/* the surface stratum reads warm, so its accent warms with it; the canvas
   scrim keeps the body text legible, so it does not need to invert */
.asc-kicker,.asc-body,.asc-no{transition:color .8s var(--ease)}
.ascent[data-stratum="4"] .asc-kicker{color:#e8dcb4}
.ascent[data-stratum="4"] .asc-no{color:#f0e6c8}

/* --- the scroll cue, which retires once you start --- */
/* It was set at 9.6px and half-transparent, sitting on the very bottom edge
   of the screen: on a phone that is the one instruction the whole section
   depends on, and it was the least visible thing on the page. Bigger, nearly
   opaque, and lifted clear of the edge — on a phone clear of the home
   indicator as well. */
.asc-cue{display:none}
.asc-live .asc-cue{display:flex;position:absolute;left:50%;
  bottom:calc(2.6rem + env(safe-area-inset-bottom,0px));transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.8rem;z-index:3;
  font:500 .78rem/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;
  white-space:nowrap;
  color:rgba(238,243,242,.9);text-shadow:0 1px 10px rgba(3,14,18,.75);
  transition:opacity .6s}
.asc-cue i{display:block;width:2px;height:42px;border-radius:2px;
  background:linear-gradient(var(--aqua),transparent);
  animation:ascCue 2.4s var(--ease) infinite}
@keyframes ascCue{0%{transform:scaleY(.2);transform-origin:top;opacity:0}
  40%{transform:scaleY(1);opacity:1}
  100%{transform:scaleY(1);transform-origin:bottom;opacity:0}}
.ascent:not([data-stratum="0"]) .asc-cue{opacity:0}

/* reduced motion keeps the readable stack, which is now the default */
.asc-static .asc-panel{opacity:1;transform:none}

/* ---- the country, in the hero ----------------------------------------
   The coastline draws itself once, then the five ports light along it in
   sequence. It sits to the right of the headline on a wide screen and
   behind it, much fainter, on a narrow one. */
/* clear of the figures strip at the foot of the hero */
.hero-map{position:absolute;top:46%;right:-3%;transform:translateY(-52%);
  width:min(41vw,540px);z-index:1;pointer-events:none;opacity:.9}
.hero-map svg{width:100%;height:auto;overflow:visible}
.hm-line{fill:rgba(95,217,192,.045);stroke:var(--aqua);stroke-width:2.4;
  stroke-linejoin:round;stroke-dasharray:4200;stroke-dashoffset:4200;
  animation:hmDraw 3.4s cubic-bezier(.16,1,.3,1) .5s forwards}
@keyframes hmDraw{to{stroke-dashoffset:0}}
.hm-port{opacity:0;animation:hmPort .9s cubic-bezier(.16,1,.3,1) forwards}
@keyframes hmPort{to{opacity:1}}
.hm-dot{fill:var(--champ)}
.hm-ring{fill:none;stroke:var(--champ);stroke-width:1.5;opacity:.55;
  transform-origin:center;animation:hmPing 3.2s cubic-bezier(.16,1,.3,1) infinite}
@keyframes hmPing{0%{transform:scale(.5);opacity:.7}
  70%{transform:scale(1.5);opacity:0}100%{transform:scale(1.5);opacity:0}}

@media (max-width:1100px){
  .hero-map{right:-16%;width:min(62vw,560px);opacity:.42}
}
@media (max-width:760px){
  .hero-map{right:-24%;top:58%;width:94vw;opacity:.22}
}
@media (prefers-reduced-motion:reduce){
  .hm-line{stroke-dashoffset:0;animation:none}
  .hm-port{opacity:1;animation:none}
  .hm-ring{animation:none}
}

/* =========================================================================
   Opening splash
   A brand moment, nothing more: it blocks nobody, verifies nothing, and
   says nothing it does not do. It sits in the markup from the first byte so
   it paints without waiting for script, which is why it has three ways out
   rather than one — main.js removes it the moment the page is usable, the
   usFail animation clears it a few seconds later if that script never ran,
   and a browser with scripting switched off never sees it at all.
   ========================================================================= */
.usplash{position:fixed;inset:0;z-index:200;display:grid;place-items:center;
  background:
    radial-gradient(ellipse at 50% 40%,#0b3a36 0%,#072026 48%,#030e12 100%);
  /* clear of the 3s hold: the net for a script failure, not the timer */
  animation:usFail 0s linear 9s forwards}
.usplash.is-out{animation:usOut .3s cubic-bezier(.4,0,.2,1) forwards}
@keyframes usFail{to{opacity:0;visibility:hidden;pointer-events:none}}
@keyframes usOut{to{opacity:0;visibility:hidden;pointer-events:none}}
/* no script, no splash: nothing would ever take it down but the timer */
@media (scripting:none){.usplash{display:none}}
@media print{.usplash{display:none!important}}

.usplash-in{display:grid;justify-items:center;text-align:center;padding:24px}
.usplash-ring{width:min(40vw,196px);aspect-ratio:1;margin-bottom:clamp(24px,4vw,40px)}
.usplash-ring svg{width:100%;height:100%;overflow:visible}
.us-ring{fill:none;stroke:rgba(217,196,154,.16);stroke-width:1}
.us-r2{stroke:rgba(217,196,154,.1)}
.us-sweep{fill:none;stroke:var(--aqua);stroke-width:2;stroke-linecap:round;
  stroke-dasharray:118 460;transform-origin:100px 100px;
  /* one full turn inside the hold, so the arc is seen to go round */
  animation:usSweep 1.5s cubic-bezier(.5,0,.5,1) infinite}
@keyframes usSweep{to{transform:rotate(360deg)}}

/* the group's mark: five rungs rising, drawn in turn, the top one teal */
.us-rung{fill:none;stroke:var(--champ);stroke-width:5;stroke-linecap:square;
  stroke-dasharray:90;stroke-dashoffset:90;
  /* Over a three-second hold a looping draw restarts in front of the
     viewer, which reads as a stutter. So the rungs are drawn once and
     left standing: the last lands at about 1.9s and the finished mark
     holds for the rest, with the sweep carrying the movement. */
  animation:usDraw 1.4s cubic-bezier(.3,0,.2,1) forwards}
.us-g2{animation-delay:.12s}
.us-g3{animation-delay:.24s}
.us-g4{animation-delay:.36s}
.us-top{stroke:var(--aqua);animation-delay:.48s}
@keyframes usDraw{
  from{stroke-dashoffset:90;opacity:.25}
  to{stroke-dashoffset:0;opacity:1}}

.usplash-name{margin:0;font-family:var(--serif);font-weight:300;letter-spacing:-.015em;
  font-size:clamp(1.45rem,4.2vw,2.05rem);color:#fff;line-height:1.12}
.usplash-name em{font-style:italic;color:var(--aqua)}
.usplash-bars{display:flex;gap:7px;margin:clamp(15px,2.4vw,22px) 0 clamp(24px,4vw,40px)}
.usplash-bars i{display:block;width:26px;height:3px;background:rgba(217,196,154,.2);
  animation:usBar 1.25s ease-in-out infinite}
.usplash-bars i:nth-child(2){animation-delay:.18s}
.usplash-bars i:nth-child(3){animation-delay:.36s}
@keyframes usBar{0%,100%{background:rgba(217,196,154,.2)}40%{background:var(--champ)}}
.usplash-foot{margin:0;font-family:var(--sans);font-size:.56rem;font-weight:500;
  letter-spacing:.3em;text-transform:uppercase;color:rgba(238,243,242,.45)}

@media (prefers-reduced-motion:reduce){
  .us-sweep,.us-rung,.usplash-bars i{animation:none}
  .us-rung{stroke-dashoffset:0;opacity:1}
  .usplash{animation:usFail 0s linear 1.2s forwards}
}

/* ---- phone: lift the dark surfaces --------------------------------------
   base.css raises the dark end of the palette for small screens, but these
   surfaces are painted with gradients whose stops were written as literal
   values, so they do not follow the variables. Same stops, same hues, same
   geometry — each one lifted by the same amount, so the sections still sit
   in the right order against each other and nothing flattens out.
   See the matching block at the foot of base.css. */
@media (max-width:760px){
  .hero{background:radial-gradient(130% 110% at 72% 18%,#154d53 0%,#0e2f37 42%,#09262c 100%)}
  .phead{background:radial-gradient(120% 140% at 80% 0%,#154d53 0%,#0e2f37 45%,#0a2329 100%)}
  .thresh{background:#0a2127}
  .mapfig{background:radial-gradient(120% 120% at 70% 20%,#12444a,#0a232900 70%),var(--abyss)}
  .ascent{background:linear-gradient(180deg,#0a2329,#144944 60%,#24685c)}
  .site-footer{background:linear-gradient(180deg,#113a42 0%,#0d2b32 55%,#0a2329 100%)}
}

/* =========================================================================
   Ask us — the on-site assistant
   A bubble in the corner. It answers from these three pages and hands
   anything else to a person; see assets/js/assistant.js.
   ========================================================================= */
.uask{position:fixed;right:clamp(14px,2vw,26px);
  bottom:calc(clamp(14px,2vw,26px) + env(safe-area-inset-bottom,0px));
  z-index:80;font-family:var(--sans)}
.uask-fab{position:relative;display:inline-flex;align-items:center;gap:.6rem;
  padding:.85em 1.25em;background:var(--deep);color:#fff;border:1px solid var(--jade);
  cursor:pointer;font-family:var(--sans);font-size:.6rem;font-weight:500;letter-spacing:.24em;
  text-transform:uppercase;box-shadow:0 14px 34px -14px rgba(3,14,18,.7);
  transition:background-color .45s var(--ease),color .45s var(--ease),
             border-color .45s var(--ease)}
.uask-fab:hover{background:var(--jade);border-color:var(--jade);color:#04151a}
.uask-fab svg{width:17px;height:17px}
.uask-fab-x{display:none;font-size:1.3rem;line-height:1;margin:-2px 0}
.uask.is-open .uask-fab-ico{display:none}
.uask.is-open .uask-fab-x{display:inline-block}
.uask.is-open .uask-fab{background:var(--jade);border-color:var(--jade);color:#04151a}

.uask-panel{position:absolute;right:0;bottom:calc(100% + 12px);
  width:min(382px,calc(100vw - 28px));
  max-height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;
  background:var(--stone);border:1px solid var(--stone-4);
  box-shadow:0 30px 70px -28px rgba(3,14,18,.55);
  opacity:0;visibility:hidden;transform:translateY(10px) scale(.985);
  transition:opacity .4s var(--ease),transform .4s var(--ease),visibility .4s}
.uask.is-open .uask-panel{opacity:1;visibility:visible;transform:none}

.uask-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;
  /* a step darker than the visitor's own bubble below it, which is
     --deep: identical tones made the head and a scrolled message read
     as one block */
  padding:1.05rem 1.2rem;background:var(--abyss);color:#fff}
.uask-title{display:block;font-family:var(--serif);font-weight:300;font-size:1.15rem;line-height:1.1}
.uask-sub{display:block;margin-top:.34rem;font-size:.52rem;font-weight:500;letter-spacing:.2em;
  text-transform:uppercase;color:var(--champ)}
.uask-close{background:none;border:0;color:rgba(238,243,242,.6);font-size:1.5rem;line-height:1;
  cursor:pointer;padding:0 .1rem;transition:color .35s var(--ease)}
.uask-close:hover{color:var(--aqua)}

.uask-log{flex:1 1 auto;overflow-y:auto;padding:1.1rem 1.2rem;display:grid;gap:.85rem;
  background:var(--stone)}
.uask-msg{display:flex}
.uask-me{justify-content:flex-end}
.uask-bub{max-width:88%;padding:.7rem .9rem;font-size:.87rem;line-height:1.55;
  color:var(--on-light-dim);background:#fff;border:1px solid var(--stone-4)}
.uask-me .uask-bub{background:var(--deep);border-color:var(--deep);color:#eef3f2}
.uask-bub b{font-weight:500;color:var(--on-light)}
.uask-me .uask-bub b{color:#fff}
.uask-bub ul{margin:.5rem 0 0;padding:0;list-style:none;display:grid;gap:.4rem}
.uask-bub li{padding-left:.85rem;position:relative}
.uask-bub li::before{content:"";position:absolute;left:0;top:.52em;width:4px;height:4px;
  background:var(--jade)}
.uask-links{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}
.uask-links a{font-size:.54rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;
  padding:.5em .75em;border:1px solid var(--stone-4);color:var(--on-light);
  transition:background-color .35s var(--ease),border-color .35s var(--ease),color .35s}
.uask-links a:hover{background:var(--jade);border-color:var(--jade);color:#fff}

.uask-dots{display:inline-flex;gap:4px}
.uask-dots i{width:5px;height:5px;background:var(--jade);border-radius:50%;
  animation:uaskDot 1.1s ease-in-out infinite}
.uask-dots i:nth-child(2){animation-delay:.16s}
.uask-dots i:nth-child(3){animation-delay:.32s}
@keyframes uaskDot{0%,60%,100%{opacity:.25}30%{opacity:1}}
@media (prefers-reduced-motion:reduce){.uask-dots i{animation:none;opacity:.6}}

.uask-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 1.2rem 1rem;background:var(--stone)}
.uask-chips[hidden]{display:none}
.uask-chip{font-family:var(--sans);font-size:.6rem;letter-spacing:.04em;padding:.55em .8em;
  background:#fff;border:1px solid var(--stone-4);color:var(--on-light-dim);cursor:pointer;
  transition:border-color .35s var(--ease),color .35s var(--ease)}
.uask-chip:hover{border-color:var(--jade);color:var(--on-light)}

.uask-form{display:flex;gap:0;border-top:1px solid var(--stone-4);background:#fff}
.uask-input{flex:1 1 auto;border:0;background:transparent;padding:.95rem 1.2rem;
  font-family:var(--sans);font-size:.88rem;color:var(--on-light)}
.uask-input:focus{outline:none}
.uask-send{width:52px;border:0;border-left:1px solid var(--stone-4);background:none;
  cursor:pointer;color:var(--jade);display:grid;place-items:center;
  transition:background-color .4s var(--ease),color .4s var(--ease)}
.uask-send:hover{background:var(--jade);color:#fff}
.uask-send svg{width:17px;height:17px}
.uask-foot{margin:0;padding:.7rem 1.2rem .9rem;font-size:.66rem;line-height:1.5;
  color:var(--on-light-faint);background:var(--stone-2);border-top:1px solid var(--stone-4)}
.uask-foot a{color:var(--sea);text-decoration:underline;text-underline-offset:2px}

/* --- phone and tablet: a bubble, not a bar ------------------------------
   A floating assistant should ask for a corner and nothing more. The panel
   still opens to nearly the full width, because that is where the reading
   happens. */
@media (max-width:1024px){
  .uask{right:16px;left:auto;bottom:calc(16px + env(safe-area-inset-bottom,0px))}
  .uask-fab{width:56px;height:56px;padding:0;gap:0;border-radius:50%;justify-content:center}
  .uask-fab-label{display:none}
  .uask-fab svg{width:23px;height:23px}
  .uask-fab-x{font-size:1.6rem;margin:0}
  .uask-panel{width:min(382px,calc(100vw - 32px));max-height:calc(100svh - 150px)}
}
@media (max-width:420px){
  .uask-fab{width:52px;height:52px}
  .uask-fab svg{width:21px;height:21px}
}
@media print{.uask{display:none}}
