/* Progresíve homepage header · round 5.2 (progresive-site 1.4.3) — pairs with assets/js/pe-hero5.js.
   Wide screens: a compact band, 2.4 : 1 (at least 560 px tall). The picture fills the width and is never stretched: at
   rest the band shows the sky (less 64 units of empty sky, --peh5-top) down to the top of the underwater scene, and while
   the page scrolls the picture pans down until the sea floor meets the band's bottom edge (--peh5-pan, read by the script).
   The words sit nearer the left edge than the site's 1440 px column on wide screens (--peh5-cx), clear of the towers.
   Phones, portrait tablets and narrow windows (under 760 px wide, or taller than wide): the picture fills the whole first
   screen and the words sit on it, panned to the PE towers. Two phone layouts, chosen in Team Portal → Website (the class
   comes from the page settings): peh5-phone-sky (default: the words on the sky, the towers right under the buttons) and
   peh5-phone-city (the picture larger, the city rising behind the words).
   The site art keeps fixed colours (it is a picture, not themed); the card follows the scene's day or night. */
.pe-hero.pe-hero5{--peh5-layout:wide;--peh5-s:1;--peh5-top:64;--peh5-over:0;--peh5-minw:0;--peh5-pan:.5;
  --peh5-gx:max(clamp(20px,3vw,36px),calc((100% - 1440px) / 2 + clamp(20px,3vw,36px)));
  --peh5-cx:max(clamp(20px,3vw,36px),min(var(--peh5-gx),6.5vw));
  height:41.67vw;height:max(560px,41.67vw);min-height:0;aspect-ratio:auto;
  background-color:#032A40;color:#fff;transition:background-color 1.2s ease}
.pe-hero5.is-night{background-color:#02121B}

/* the scene's area (the scene itself and the points use the same box) */
.pe-hero5 .peh5-box{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}
.pe-hero5 .peh5-scene{z-index:0}
.pe-hero5 .peh5-stage{position:absolute;left:0;top:0;width:100%;height:100%}
.pe-hero5 .peh5-poster{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;max-height:none;display:block;object-fit:cover;object-position:60% 100%}
.pe-hero5 .peh5-poster.is-gone{visibility:hidden}
.pe-hero5 .peh5-stack{position:absolute;left:0;top:0;width:100%;height:100%}
.pe-hero5 .peh5-layers{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;transition:opacity .6s ease}
.pe-hero5 .peh5-stack.is-live .peh5-layers{opacity:1}
.pe-hero5 .peh5-layer{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform;pointer-events:none}
.pe-hero5 .peh5-layer>img{position:absolute;display:block;max-width:none;max-height:none;-webkit-user-drag:none}
.pe-hero5 .peh5-sp{position:absolute;will-change:transform,opacity;pointer-events:none}
.pe-hero5 .peh5-sp>img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;max-height:none;display:block}
.pe-hero5 .peh5-sp>img.off{visibility:hidden}
/* the PE sign lights up while pointed at (frame 2 fades in over frame 1) */
.pe-hero5 .peh5-sp--hov>img:nth-of-type(2){visibility:visible;opacity:0;transition:opacity var(--fade,.35s) ease}
.pe-hero5 .peh5-sp--hov.is-lit>img:nth-of-type(2){opacity:1}
.pe-hero5 .peh5-zone{position:absolute;pointer-events:auto;cursor:help;border-radius:40%}
.pe-hero5 .peh5-hz{position:absolute;pointer-events:auto;cursor:pointer;border-radius:6px}
.pe-hero5.is-night .peh5-stack--day .peh5-zone,.pe-hero5.is-night .peh5-stack--day .peh5-hz,
.pe-hero5:not(.is-night) .peh5-stack--night .peh5-zone,.pe-hero5:not(.is-night) .peh5-stack--night .peh5-hz{pointer-events:none}

/* header text: over the scene, without blocking it (links and buttons still work) */
.pe-hero5 .pe-hero__scrim{z-index:1;background:linear-gradient(180deg,rgba(4,16,21,.5) 0,rgba(4,16,21,0) calc(var(--pe-nav-h,76px) + 64px))}
.pe-hero5 .pe-hero__content{z-index:3;pointer-events:none;max-width:none;padding-left:var(--peh5-cx);padding-right:var(--peh5-cx)}
.pe-hero5 .pe-hero__content a,.pe-hero5 .pe-hero__content button{pointer-events:auto}
.pe-hero5 .pe-hero__inner{position:relative}
/* the outline button takes the dark glass of the header's own controls, so it reads over bright parts of the city too */
.pe-hero5 .pe-hero__ctas .pe-btn--glass{background:rgba(4,16,21,.42)}
.pe-hero5 .pe-hero__ctas .pe-btn--glass:hover{background:rgba(4,16,21,.62)}
.pe-hero5 .pe-hero__inner::before{content:"";position:absolute;z-index:-1;left:-14%;top:-18%;width:128%;height:140%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(4,16,21,.38),rgba(4,16,21,0))}

/* the Learn more points */
.pe-hero5 .peh5-pins{z-index:2}
.pe-hero5 .peh5-pinstack,.pe-hero5 .peh5-pinlayer{position:absolute;left:0;top:0;width:100%;height:100%}
.pe-hero5 .peh5-pinlayer{will-change:transform}
.pe-hero5.is-night .peh5-pinstack--day,.pe-hero5:not(.is-night) .peh5-pinstack--night{visibility:hidden}
.pe-hero5 .peh5-pz{position:absolute;border-radius:50%;pointer-events:auto;cursor:pointer}
.pe-hero5.is-night .peh5-pinstack--day .peh5-pz,.pe-hero5:not(.is-night) .peh5-pinstack--night .peh5-pz{pointer-events:none}
.pe-hero5 .peh5-poi{position:absolute;z-index:1;width:26px;height:26px;margin:-13px 0 0 -13px;padding:0;border-radius:50%;border:2px solid #fff;background:#3A9446;color:#fff;
  font:800 11.5px/1 var(--pe-font,"Montserrat"),system-ui,sans-serif;cursor:pointer;display:grid;place-items:center;box-shadow:0 2px 10px rgba(4,16,21,.35);
  opacity:0;transform:scale(.45);visibility:hidden;pointer-events:none;transition:opacity .25s ease,transform .25s cubic-bezier(.3,1.6,.5,1),visibility 0s linear .25s}
.pe-hero5 .peh5-poi::before{content:"";position:absolute;left:-9px;top:-9px;right:-9px;bottom:-9px;border-radius:50%;border:2px solid rgba(121,191,130,.8)}
/* 1.4.6 (speed): the ring pulses only around dots that are showing (it used to run on all ~40 hidden ones too) */
.pe-hero5:not(.is-night) .peh5-pinstack--day .peh5-poi.is-shown::before,.pe-hero5.is-night .peh5-pinstack--night .peh5-poi.is-shown::before,
.pe-hero5.peh5-learn-on:not(.is-night) .peh5-pinstack--day .peh5-poi::before,.pe-hero5.peh5-learn-on.is-night .peh5-pinstack--night .peh5-poi::before{animation:peh5-ping 2.4s ease-out infinite}
.pe-hero5 .peh5-poi[aria-expanded="true"]{background:#26A3D0}
.pe-hero5:not(.is-night) .peh5-pinstack--day .peh5-poi.is-shown,.pe-hero5.is-night .peh5-pinstack--night .peh5-poi.is-shown,
.pe-hero5.peh5-learn-on:not(.is-night) .peh5-pinstack--day .peh5-poi,.pe-hero5.peh5-learn-on.is-night .peh5-pinstack--night .peh5-poi{
  opacity:1;transform:scale(1);visibility:visible;pointer-events:auto;transition:opacity .25s ease,transform .25s cubic-bezier(.3,1.6,.5,1),visibility 0s}
@keyframes peh5-ping{0%{transform:scale(.7);opacity:.9}100%{transform:scale(1.5);opacity:0}}
.pe-hero5.is-paused .peh5-poi::before{animation-play-state:paused}

/* Learn more button and clock */
.pe-hero5 .peh5-learn{position:absolute;z-index:5;left:var(--peh5-cx);bottom:calc(22px * var(--peh5-s));display:inline-flex;align-items:center;gap:9px;
  height:max(32px,calc(34px * var(--peh5-s)));margin:0;padding:0 16px 0 13px;border-radius:999px;border:1.2px solid #79BF82;background:rgba(4,16,21,.55);color:#fff;
  font:600 max(12px,calc(13px * var(--peh5-s)))/1 var(--pe-font,"Montserrat"),system-ui,sans-serif;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.pe-hero5 .peh5-learn svg{width:15px;height:15px;flex:none}
.pe-hero5 .peh5-learn:hover{background:rgba(4,16,21,.72)}
.pe-hero5 .peh5-learn[aria-pressed="true"]{background:#3A9446;border-color:#3A9446}
.pe-hero5 .peh5-clock{position:absolute;z-index:5;right:var(--peh5-cx);bottom:calc(22px * var(--peh5-s));display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:12px;
  background:rgba(4,16,21,.6);border:1px solid rgba(95,189,223,.35);font-family:var(--pe-font,"Montserrat"),system-ui,sans-serif;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.pe-hero5 .peh5-digits{display:block;height:max(18px,calc(22px * var(--peh5-s)));width:auto;overflow:visible;fill:#8CC994;filter:drop-shadow(0 0 4px rgba(140,201,148,.55))}
.pe-hero5 .peh5-ap{display:grid;gap:2px;font-size:9px;font-weight:700;letter-spacing:.08em;color:#8CC994;line-height:1;white-space:nowrap}
.pe-hero5 .peh5-ap span+span{color:#B6E1F1;opacity:.75;font-weight:600;font-size:7.5px}
.pe-hero5 .peh5-modes{display:flex;gap:2px;padding:2px;border-radius:999px;background:rgba(255,255,255,.06)}
.pe-hero5 .peh5-mode{display:inline-flex;align-items:center;gap:5px;margin:0;border:1px solid transparent;background:transparent;color:#B6E1F1;font-family:inherit;font-size:10.5px;font-weight:600;line-height:1.2;
  padding:4px 9px;border-radius:999px;cursor:pointer}
.pe-hero5 .peh5-mode:first-child{gap:0}
.pe-hero5 .peh5-mode b{font-weight:inherit}
.pe-hero5 .peh5-mode:hover{color:#fff}
.pe-hero5 .peh5-mode[aria-pressed="true"]{background:rgba(95,189,223,.3);border-color:#5FBDDF;color:#fff}
.pe-hero5 .peh5-mode svg{width:11px;height:11px;flex:none}

/* the point's card and the animal name tag */
.pe-hero5 .peh5-card{position:absolute;z-index:6;width:min(320px,86%);padding:14px 16px 16px;border-radius:14px;background:#fff;color:#0B313F;border:1px solid #79BF82;
  box-shadow:0 16px 40px rgba(4,16,21,.35);font:500 12.5px/1.5 var(--pe-font,"Montserrat"),system-ui,sans-serif;text-align:left;text-shadow:none}
.pe-hero5.is-night .peh5-card{background:#0A1F28;color:#E6F5FA}
.pe-hero5 .peh5-card__head{display:flex;align-items:center;gap:9px}
.pe-hero5 .peh5-card__n{flex:none;width:22px;height:22px;border-radius:50%;background:#3A9446;color:#fff;display:grid;place-items:center;font-weight:800;font-size:11px}
.pe-hero5 .peh5-card p{margin:0}
.pe-hero5 .peh5-card .peh5-card__t{margin:0;flex:1;min-width:0;font-size:14.5px;font-weight:700;line-height:1.3;color:inherit;text-wrap:balance}
.pe-hero5 .peh5-card__x{flex:none;border:0;background:transparent;color:inherit;font:400 20px/1 system-ui,sans-serif;cursor:pointer;padding:2px 6px;border-radius:6px}
.pe-hero5 .peh5-card__x:hover{background:rgba(11,49,63,.08)}
.pe-hero5.is-night .peh5-card__x:hover{background:rgba(255,255,255,.1)}
.pe-hero5 .peh5-card__credit{display:inline-block;margin:9px 0 6px;padding:3px 9px;border-radius:999px;background:#E5F4E7;color:#286831;font-weight:600;font-size:11px}
.pe-hero5.is-night .peh5-card__credit{background:#173B27;color:#A0D4A7}
.pe-hero5 .peh5-card .peh5-card__lbl{margin-top:8px;font-size:10.5px;font-weight:800;letter-spacing:.08em;color:#1E83A7;text-transform:uppercase}
.pe-hero5.is-night .peh5-card .peh5-card__lbl{color:#5FBDDF}
.pe-hero5 .peh5-card .peh5-card__more{margin-top:8px}
.pe-hero5 .peh5-card .peh5-card__more a{color:#1E83A7;font-weight:700;text-decoration:none}
.pe-hero5.is-night .peh5-card .peh5-card__more a{color:#5FBDDF}
.pe-hero5 .peh5-card .peh5-card__more a:hover{text-decoration:underline}
.pe-hero5 .peh5-tip{position:absolute;z-index:7;pointer-events:none;transform:translate(-50%,-100%);background:rgba(4,16,21,.88);color:#fff;
  font:600 12px/1.3 var(--pe-font,"Montserrat"),system-ui,sans-serif;padding:5px 11px;border-radius:999px;white-space:nowrap;text-shadow:none}
.pe-hero5 .peh5-tip::after{content:"";position:absolute;left:50%;bottom:-5px;margin-left:-5px;border:5px solid transparent;border-bottom:0;border-top-color:rgba(4,16,21,.88)}
.pe-hero5 .peh5-poi:focus-visible,.pe-hero5 .peh5-learn:focus-visible,.pe-hero5 .peh5-mode:focus-visible,.pe-hero5 .peh5-card__x:focus-visible{outline:2px solid #89CFE8;outline-offset:2px}

/* phones, portrait tablets, narrow windows */
@media (max-width:759.98px),(max-aspect-ratio:1/1){
  /* the picture fills the first screen and the words sit on it. Its bottom is the header's bottom; it is enlarged to
     reach the top with the sky painted above it (--peh5-over, scene units), but never so far that less than --peh5-minw
     of its 1600 units stay in view.
     Layout 'sky' (default): the words on the sky and the towers right under the buttons. The header is at least the
     screen's height, and taller when the words plus the picture below its roofs (765 of 900 units) need it. */
  .pe-hero.pe-hero5{--peh5-layout:narrow;--peh5-top:0;--peh5-over:319;--peh5-minw:900;--peh5-pan:0;height:auto;min-height:max(560px,100vh);background-color:#031D2F!important}
  .pe-hero5.is-night{background-color:#020A10!important}
  .pe-hero5 .pe-hero__content{padding-bottom:calc(85vw + 8px)}
  .pe-hero5 .pe-hero__scrim{background:linear-gradient(180deg,rgba(3,18,28,.55) 0,rgba(3,18,28,.4) 30%,rgba(3,18,28,.16) 44%,rgba(3,18,28,0) 54%)}
  /* layout 'city': exactly one screen, the towers rising just behind the buttons (on phones, behind the words) */
  .pe-hero5.peh5-phone-city .pe-hero__content{padding-bottom:calc(64px + 7vh)}
  .pe-hero5.peh5-phone-city .pe-hero__scrim{background:linear-gradient(180deg,rgba(3,18,28,.62) 0,rgba(3,18,28,.5) 32%,rgba(3,18,28,.26) 46%,rgba(3,18,28,0) 58%)}
  .pe-hero5 .pe-hero__inner::before{left:-10%;top:-8%;width:120%;height:118%;background:radial-gradient(closest-side,rgba(3,18,28,.42),rgba(3,18,28,0))}
  .pe-hero5 .pe-hero__title{font-size:clamp(1.7rem,7.2vw,2.9rem);text-shadow:0 2px 16px rgba(3,18,28,.55)}
  .pe-hero5 .pe-hero__lede{font-size:clamp(.86rem,3.5vw,1rem);margin-bottom:clamp(14px,2.4vh,22px);text-shadow:0 1px 10px rgba(3,18,28,.75)}

  .pe-hero5 .peh5-learn{left:14px;bottom:26px;height:32px;font-size:12px;padding:0 12px 0 10px}
  .pe-hero5 .peh5-clock{right:14px;bottom:26px;gap:8px;padding:7px 9px}
  .pe-hero5 .peh5-digits{height:17px}
  .pe-hero5 .peh5-mode{padding:4px 6px}
  .pe-hero5 .peh5-mode span{display:none}
}
@supports (height:100svh){
  @media (max-width:759.98px),(max-aspect-ratio:1/1){
    .pe-hero.pe-hero5{min-height:max(560px,100svh)}
  }
}
@media (max-width:559.98px){
  /* phones: layout 'sky' shows a bit more of the picture's width; layout 'city' enlarges it further, so the city rises
     behind the words (a deeper shade keeps them readable) */
  .pe-hero.pe-hero5{--peh5-minw:640}
  .pe-hero5 .pe-hero__content{padding-bottom:calc(119.5vw + 8px)}
  .pe-hero.pe-hero5.peh5-phone-city{--peh5-over:100;--peh5-minw:480}
  .pe-hero5.peh5-phone-city .pe-hero__content{padding-bottom:calc(64px + 7vh)}
  .pe-hero5.peh5-phone-city .pe-hero__scrim{background:linear-gradient(180deg,rgba(3,18,28,.72) 0,rgba(3,18,28,.62) 34%,rgba(3,18,28,.38) 48%,rgba(3,18,28,0) 62%)}
  .pe-hero5 .pe-hero__ctas{flex-wrap:nowrap;gap:10px}
  .pe-hero5 .pe-hero__ctas .pe-btn{flex:1 1 0;min-width:0;justify-content:center;padding-left:8px;padding-right:8px;font-size:clamp(.78rem,3.3vw,.92rem)}
  .pe-hero5 .pe-hero__ctas .pe-btn .pe-i{display:none}
}
@media (max-width:359.98px){
  .pe-hero5 .peh5-ap{display:none}.pe-hero5 .peh5-learn{padding:0 10px}
  .pe-hero5 .pe-hero__ctas{flex-wrap:wrap}.pe-hero5 .pe-hero__ctas .pe-btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){
  .pe-hero.pe-hero5,.pe-hero5 .peh5-layers,.pe-hero5 .peh5-poi,.pe-hero5 .peh5-sp--hov>img:nth-of-type(2){transition:none}
  .pe-hero5 .peh5-poi::before{animation:none!important}
}
@media print{
  .pe-hero.pe-hero5{aspect-ratio:auto;height:auto;min-height:0;background:#fff!important;color:#000}
  .pe-hero5 .peh5-box,.pe-hero5 .peh5-learn,.pe-hero5 .peh5-clock,.pe-hero5 .peh5-expand,.pe-hero5 .peh5-card,.pe-hero5 .peh5-tip{display:none!important}
}

/* 1.4.2: a see-through panel behind the header's words (the words stay where they were) */
.pe-hero5 .pe-hero__inner{position:relative;background:rgba(4,16,21,.42);-webkit-backdrop-filter:blur(6px) saturate(1.1);backdrop-filter:blur(6px) saturate(1.1);
  border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:clamp(12px,1vw,18px) clamp(14px,1.2vw,22px) clamp(14px,1.1vw,20px);
  margin-left:calc(-1 * clamp(14px,1.2vw,22px));margin-top:calc(-1 * clamp(12px,1vw,18px));width:fit-content;max-width:min(680px,100%);box-sizing:border-box}
.pe-hero5 .pe-hero__inner>:last-child{margin-bottom:0}
@media (max-width:759.98px),(max-aspect-ratio:1/1){
  .pe-hero5 .pe-hero__inner{border-radius:12px;padding:12px 14px 14px;margin:-12px -14px 0}
}

/* 1.4.2: Full screen button, always shown above the clock */
.pe-hero5 .peh5-expand{position:absolute;z-index:5;right:var(--peh5-cx);bottom:calc(22px * var(--peh5-s) + max(44px,calc(48px * var(--peh5-s))) + 10px);
  display:inline-flex;align-items:center;gap:8px;height:max(32px,calc(34px * var(--peh5-s)));margin:0;padding:0 14px 0 12px;border-radius:999px;
  border:1.2px solid rgba(95,189,223,.55);background:rgba(4,16,21,.6);color:#fff;font:600 max(12px,calc(13px * var(--peh5-s)))/1 var(--pe-font,"Montserrat"),system-ui,sans-serif;
  cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.pe-hero5 .peh5-expand svg{width:15px;height:15px;flex:none}
.pe-hero5 .peh5-expand:hover{background:rgba(4,16,21,.78)}
@media (max-width:759.98px),(max-aspect-ratio:1/1){
  .pe-hero5 .peh5-expand{right:14px;bottom:76px;height:32px;font-size:12px;padding:0 12px 0 10px}
}
/* full screen: the picture alone, filling the screen, sea floor at the bottom; no scroll pan */
html.peh5-full-page,html.peh5-full-page body{overflow:hidden!important}
.pe-hero.pe-hero5.peh5-full{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100vh!important;height:100dvh!important;
  min-height:0!important;max-height:none!important;margin:0!important;aspect-ratio:auto!important;
  --peh5-top:900!important;--peh5-over:319!important;--peh5-minw:1600!important;--peh5-pan:0!important}
/* the blur behind the buttons is costly over a whole screen: plain shading instead while full screen */
.pe-hero5.peh5-full .peh5-learn,.pe-hero5.peh5-full .peh5-clock,.pe-hero5.peh5-full .peh5-expand{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(4,16,21,.78)}
.pe-hero5.peh5-full .pe-hero__content,.pe-hero5.peh5-full .pe-hero__scrim{display:none!important}
@media (max-aspect-ratio:1/1){ .pe-hero.pe-hero5.peh5-full{--peh5-minw:900!important} }
