*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --black:#000;--white:#fff;--offwhite:#F8F8F6;
  --g1:#B0B0B0;--g2:#777;--g3:#444;--g4:#222;--g5:#E8E8E8;
  --green:#2AFF00;--green-deep:#1A9B00;--blue:#38618C;--beige:#E5E5B1;
  --fh:'Outfit',sans-serif;--fb:'Inter',sans-serif;--fn:'Exo 2',sans-serif;
}
html{font-size:16px;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
body{font-family:var(--fb);background:var(--white);color:var(--black);overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ════ NAV ════ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 clamp(20px,3vw,40px);height:56px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px) saturate(180%);
  -webkit-backdrop-filter:blur(16px) saturate(180%);
  border-bottom:1px solid var(--g5);
}
.nav-logo{display:flex;align-items:center;height:100%}
.nav-logo img{height:80px;width:auto;display:block}
@media(max-width:768px){.nav-logo img{height:80px}}
.nav-links{display:flex;gap:clamp(24px,3vw,40px);list-style:none}
.nav-links a{font-family:var(--fh);font-size:.78rem;font-weight:500;color:var(--g3);letter-spacing:.01em;transition:color .2s}
.nav-links a:hover{color:var(--black)}

/* ════ HERO — COROS-style split: image left, text right ════ */
.blog-hero{
  margin-top:56px;
  display:grid;
  grid-template-columns:1fr 1fr;
  /* definite, capped height — the image can no longer stretch the hero past this */
  height:min(calc(100vh - 56px), 800px);
}
.blog-hero-img{position:relative;overflow:hidden;background:var(--offwhite)}
.blog-hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.blog-hero-text{
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(40px,6vw,80px) clamp(32px,5vw,72px);
  max-width:640px;
}
.blog-hero-category{
  display:flex;align-items:center;gap:10px;
  font-family:var(--fh);font-size:.72rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--black);
  margin-bottom:clamp(20px,3vh,36px);
}
.blog-hero-category::before{
  content:'';display:block;width:3px;height:16px;
  background:var(--green);border-radius:1px;flex-shrink:0;
}
.blog-hero-title{
  font-family:var(--fh);
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:800;letter-spacing:-.04em;
  line-height:1.08;color:var(--black);
  margin-bottom:clamp(16px,2.5vh,28px);
}
.blog-hero-subtitle{
  font-family:var(--fb);font-size:.95rem;font-weight:400;
  color:var(--g2);line-height:1.55;
  margin-bottom:clamp(24px,3.5vh,40px);
}
.blog-hero-divider{width:100%;max-width:360px;height:1px;background:var(--g5);margin-bottom:clamp(16px,2vh,24px)}
.blog-hero-meta{font-family:var(--fb);font-size:.82rem;color:var(--g2);letter-spacing:.01em}

@media(max-width:900px){
  .blog-hero{grid-template-columns:1fr;height:auto}
  .blog-hero-img{aspect-ratio:16/10;max-height:50vh}
  .blog-hero-text{max-width:none;padding:clamp(32px,5vw,48px) clamp(20px,3vw,32px)}
}

/* ════ ARTICLE BODY ════ */
.article{
  max-width:740px;margin:0 auto;
  padding:clamp(48px,7vh,80px) clamp(20px,3vw,40px) clamp(60px,8vh,100px);
}
.article p{font-family:var(--fb);font-size:.92rem;color:var(--g3);line-height:1.75;margin-bottom:20px}
.article h2{
  font-family:var(--fh);font-size:clamp(1.4rem,2.5vw,1.8rem);
  font-weight:800;letter-spacing:-.03em;color:var(--black);
  line-height:1.15;margin:clamp(40px,6vh,64px) 0 16px;
}
.article h3{
  font-family:var(--fh);font-size:1.1rem;font-weight:700;
  letter-spacing:-.02em;color:var(--black);margin:32px 0 12px;
}
.article strong{color:var(--black);font-weight:600}
.article a{color:var(--black);border-bottom:1px solid var(--g5);transition:border-color .2s}
.article a:hover{border-color:var(--black)}
.article hr{border:none;height:1px;background:var(--g5);margin:clamp(36px,5vh,56px) 0}
.article blockquote{
  margin:24px 0;padding:20px 24px;
  border-left:3px solid var(--green);
  background:var(--offwhite);border-radius:0 6px 6px 0;
  font-family:var(--fb);font-style:italic;
  font-size:.88rem;color:var(--g3);line-height:1.7;
}
.article ul,.article ol{margin:12px 0 20px 20px;font-family:var(--fb);font-size:.92rem;color:var(--g3);line-height:1.75}
.article li{margin-bottom:6px;padding-left:4px}
.article li::marker{color:var(--g2)}

/* Insight card (reused from base) */
.insight-card{background:var(--offwhite);border:1px solid var(--g5);border-radius:8px;padding:clamp(20px,3vw,28px);margin:28px 0}
.insight-title{font-family:var(--fh);font-size:.82rem;font-weight:700;color:var(--black);margin-bottom:6px}
.insight-text{font-family:var(--fb);font-size:.85rem;color:var(--g3);line-height:1.65}

/* ════════════════════════════════════════════════════════════
   MAP-STYLES BLOG — page-specific additions below.
   All values derived from base tokens above.
   ════════════════════════════════════════════════════════════ */

/* Full-bleed section wrapper for the live map (breaks out of .article width) */
.map-live{
  max-width:1100px;margin:clamp(40px,6vh,72px) auto 0;
  padding:0 clamp(20px,3vw,40px);
}
.map-live-eyebrow{
  display:flex;align-items:center;gap:10px;
  font-family:var(--fh);font-size:.72rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--black);
  margin-bottom:14px;
}
.map-live-eyebrow::before{content:'';display:block;width:3px;height:16px;background:var(--green);border-radius:1px;flex-shrink:0}
.map-live-h{
  font-family:var(--fh);font-size:clamp(1.4rem,2.5vw,1.8rem);
  font-weight:800;letter-spacing:-.03em;color:var(--black);line-height:1.15;margin-bottom:10px;
}
.map-live-sub{font-family:var(--fb);font-size:.9rem;color:var(--g2);line-height:1.6;max-width:640px;margin-bottom:22px}

/* Map frame */
.map-frame{
  position:relative;width:100%;
  aspect-ratio:16/10;
  border:1px solid var(--g5);border-radius:14px;overflow:hidden;
  background:var(--offwhite);
  box-shadow:0 1px 0 rgba(0,0,0,.02),0 8px 30px rgba(0,0,0,.06);
}
@media(max-width:600px){.map-frame{aspect-ratio:3/4}}
#liveMap{position:absolute;inset:0;width:100%;height:100%}

/* Control cluster overlaid on the map */
.map-controls{
  position:absolute;top:14px;left:14px;z-index:5;
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
}
.map-segment{
  display:inline-flex;background:rgba(0,0,0,.55);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:3px;gap:2px;
}
.map-btn{
  font-family:var(--fh);font-size:.72rem;font-weight:600;letter-spacing:.01em;
  color:rgba(255,255,255,.78);background:transparent;border:none;cursor:pointer;
  padding:7px 13px;border-radius:7px;transition:background .18s,color .18s;
  white-space:nowrap;
}
.map-btn:hover{color:#fff}
.map-btn.active{background:var(--green);color:#001a00}
.map-btn.active:hover{color:#001a00}

/* 2D / 3D toggle sits as its own segment */
.map-segment.toggle .map-btn.active{background:var(--green);color:#001a00}

/* Loading veil + token-missing notice */
.map-veil{
  position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;text-align:center;
  background:#0c0c0c;color:#fff;padding:32px;
}
.map-veil[hidden]{display:none}
.map-veil .spin{
  width:34px;height:34px;border-radius:50%;
  border:3px solid rgba(255,255,255,.18);border-top-color:var(--green);
  animation:mapspin .8s linear infinite;
}
@keyframes mapspin{to{transform:rotate(360deg)}}
.map-veil-label{font-family:var(--fh);font-size:.82rem;font-weight:500;color:rgba(255,255,255,.72)}
.map-veil-note{font-family:var(--fb);font-size:.78rem;color:rgba(255,255,255,.5);max-width:380px;line-height:1.55}
.map-veil-note code{font-family:var(--fn);color:var(--green);font-size:.74rem}

/* Attribution caption under any map image/canvas */
.map-attrib{
  font-family:var(--fb);font-size:.72rem;color:var(--g2);
  margin-top:10px;line-height:1.5;
}
.map-attrib a{color:var(--g2);border-bottom:1px solid var(--g5)}
.map-attrib a:hover{color:var(--black);border-color:var(--g2)}

/* ════ STYLE SHOWCASE SECTIONS (the three static shots) ════ */
.style-section{
  max-width:1100px;margin:0 auto;
  padding:clamp(36px,5vh,56px) clamp(20px,3vw,40px) 0;
  display:grid;grid-template-columns:0.95fr 1.05fr;gap:clamp(28px,4vw,56px);align-items:center;
}
.style-section.reverse .style-shot{order:2}
.style-section.reverse .style-copy{order:1}
@media(max-width:860px){
  .style-section,.style-section.reverse{grid-template-columns:1fr;gap:24px}
  .style-section.reverse .style-shot,.style-section.reverse .style-copy{order:initial}
}
.style-shot{
  position:relative;border-radius:16px;overflow:hidden;
  background:var(--offwhite);border:1px solid var(--g5);
}
.style-shot img{width:100%;height:auto;display:block}
.style-copy-eyebrow{
  font-family:var(--fh);font-size:.68rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--g2);margin-bottom:10px;
  display:flex;align-items:center;gap:8px;
}
.style-copy-eyebrow .swatch{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.style-copy h2{
  font-family:var(--fh);font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800;
  letter-spacing:-.03em;color:var(--black);line-height:1.12;margin-bottom:14px;
}
.style-copy p{font-family:var(--fb);font-size:.9rem;color:var(--g3);line-height:1.7;margin-bottom:14px}
.style-copy .meta-row{
  display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--g5);
}
.style-copy .meta-item{display:flex;flex-direction:column;gap:3px}
.style-copy .meta-k{font-family:var(--fh);font-size:.6rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--g2)}
.style-copy .meta-v{font-family:var(--fn);font-size:.84rem;font-weight:600;color:var(--black)}

/* ════ FINDRR SECTION ════ */
.findrr-band{
  background:var(--offwhite);border-top:1px solid var(--g5);border-bottom:1px solid var(--g5);
  margin-top:clamp(56px,8vh,96px);
  padding:clamp(48px,7vh,88px) clamp(20px,3vw,40px);
}
.findrr-inner{max-width:740px;margin:0 auto}
.findrr-eyebrow{
  display:flex;align-items:center;gap:10px;
  font-family:var(--fh);font-size:.72rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--black);margin-bottom:16px;
}
.findrr-eyebrow::before{content:'';display:block;width:3px;height:16px;background:var(--green);border-radius:1px;flex-shrink:0}
.findrr-band h2{
  font-family:var(--fh);font-size:clamp(1.5rem,2.8vw,2.1rem);font-weight:800;
  letter-spacing:-.03em;color:var(--black);line-height:1.12;margin-bottom:16px;
}
.findrr-band p{font-family:var(--fb);font-size:.92rem;color:var(--g3);line-height:1.75;margin-bottom:18px}
.findrr-band a.inline{color:var(--black);border-bottom:1px solid var(--g5);transition:border-color .2s}
.findrr-band a.inline:hover{border-color:var(--black)}
.findrr-cta{
  display:inline-flex;align-items:center;gap:8px;margin-top:8px;
  font-family:var(--fh);font-size:.78rem;font-weight:600;letter-spacing:.04em;
  color:#001a00;background:var(--green);padding:12px 24px;border-radius:8px;
  transition:transform .15s,box-shadow .2s;
}
.findrr-cta:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(42,255,0,.28)}

/* ════ BACK CTA ════ */
.back-cta{text-align:center;padding:clamp(40px,6vh,72px) 20px clamp(48px,6vh,80px)}
.back-cta a{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--fh);font-size:.78rem;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;
  color:var(--g3);padding:12px 28px;
  border:1px solid var(--g5);border-radius:6px;transition:all .2s;
}
.back-cta a:hover{border-color:var(--g2);color:var(--black)}

/* ════ FOOTER ════ */
.footer{background:var(--white);color:var(--black);padding:0 clamp(20px,3vw,40px) clamp(32px,4vh,48px)}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:24px;padding-top:24px;border-top:1px solid var(--g5)}
.footer-col-head{font-family:var(--fh);font-size:.82rem;font-weight:600;margin-bottom:20px}
.footer-col a,.footer-col span{display:block;font-family:var(--fb);font-size:.78rem;color:var(--g3);margin-bottom:6px;transition:color .2s}
.footer-col a:hover{color:var(--black)}
.footer-clock{font-family:var(--fn);font-size:.78rem;color:var(--g3)}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr 1fr;gap:32px}}

/* ════ MOBILE NAV ════ */
.hb{display:none;position:fixed;top:14px;right:20px;z-index:102;cursor:pointer;width:28px;height:28px;flex-direction:column;justify-content:center;gap:5px;align-items:flex-end}
.hb span{display:block;height:2px;background:var(--black);border-radius:1px;transition:all .3s cubic-bezier(.16,1,.3,1)}
.hb span:nth-child(1){width:22px}.hb span:nth-child(2){width:16px}.hb span:nth-child(3){width:22px}
.hb.open span:nth-child(1){transform:rotate(45deg) translate(2.5px,4.5px)}
.hb.open span:nth-child(2){opacity:0}
.hb.open span:nth-child(3){transform:rotate(-45deg) translate(2.5px,-4.5px)}
.mob{position:fixed;inset:0;z-index:99;background:var(--white);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;opacity:0;pointer-events:none;transition:opacity .4s}
.mob.open{opacity:1;pointer-events:all}
.mob a{font-family:var(--fh);font-size:clamp(2rem,7vw,3.5rem);font-weight:800;letter-spacing:-.03em;color:var(--g2);transition:color .2s}
.mob a:hover{color:var(--black)}
@media(max-width:768px){.hb{display:flex}.nav-links{display:none}}

/* Mapbox attribution/logo — required by Mapbox ToS, keep visible */
.mapboxgl-ctrl-logo{display:block !important}
.mapboxgl-ctrl-attrib{font-family:var(--fb) !important}
