:root{
  --ns-bg: #f4faf5;
  --ns-bg-alt: #ecf7ec;
  --ns-ink: #1f2623;
  --ns-muted: #6b7c73;
  --ns-border: #d3e0d5;

  /* Your palette */
  --ns-brand: #228B22;
  --ns-brand-dark: #306b4d;
  --ns-brand-soft: #70C247;
  --ns-brand-soft-2: #8DD06C;
  --ns-deep: #344E41;

  --ns-header: #ffffffcc;
  --ns-chip-bg: #ecf8ea;
  --ns-chip-border: #b8e4b0;

  --ns-shadow-sm: 0 8px 24px rgba(0,0,0,.06);
  --ns-shadow-md: 0 18px 40px rgba(0,0,0,.08);

  --ns-radius-lg: 1.25rem;
  --ns-radius-md: .9rem;
  --ns-radius-pill: 999px;

  --ns-green-hunter:   #3A5A40;
  --ns-green-fern:     #588157;
  --ns-green-shamrock: #5A9F68;
  --ns-green-pistachio:#BBD58E;
}

/* ========== Reset & base ========== */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
}

body{
    font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 208, 108, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(52, 78, 65, 0.16), transparent 50%),
    var(--ns-bg);
  color:var(--ns-ink);
  line-height:1.5;
  text-rendering:optimizeLegibility;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:var(--ns-brand-dark);
  text-decoration:none;
}
a:hover{
  color:var(--ns-brand);
  text-decoration:underline;
}

h1,h2,h3,h4,h5,h6{
  font-family: Arial, sans-serif;
  margin-top:0;
  color:var(--ns-deep);
}

p{
  margin-top:0;
  margin-bottom:.75rem;
}

.container{
  max-width:1120px; /* plays nicely with Bootstrap's container */
}

/* Utilities */

.muted{
  color:var(--ns-muted);
}
.small{
  font-size:.85rem;
}

/* Skip link */

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  z-index:2000;
}
.skip-link:focus{
  left:12px;
  top:12px;
  width:auto;
  height:auto;
  padding:.5rem .75rem;
  border-radius:.75rem;
  background:#fff;
  box-shadow:0 0 0 3px rgba(34,139,34,.25);
}

/* Layout */

.site-main{
  min-height:60vh;
}

/* ========== Header & navigation ========== */

.site-header{
  position:sticky;
  top:0;
  z-index:1030;
}

.navbar-norman{
  background:var(--ns-header);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(211,224,213,.7);
  box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.brand-logo{
  height:46px;
  width:auto;
}

.brand-text{
  font-weight:600;
  font-size:.95rem;
  color:var(--ns-ink);
}

.navbar-norman .navbar-nav .nav-link{
  font-weight:500;
  font-size:.95rem;
  color:var(--ns-ink);
  padding:.35rem .85rem;
  border-radius:var(--ns-radius-pill);
  transition:background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.navbar-norman .navbar-nav .nav-link:hover{
  background-color:rgba(141,208,108,.18);
  color:var(--ns-brand-dark);
  text-decoration:none;
}

.navbar-norman .navbar-nav .nav-link.active{
  background:linear-gradient(120deg, var(--ns-brand-soft), var(--ns-brand-soft-2));
  color:#0f2011;
  box-shadow:0 0 0 1px rgba(17,93,51,.08), var(--ns-shadow-sm);
}

/* Custom burger icon */
.navbar-norman .navbar-toggler{
  border:none;
  padding:.35rem .6rem;
}
.navbar-norman .navbar-toggler:focus{
  box-shadow:0 0 0 2px rgba(34,139,34,.35);
}
.navbar-norman .navbar-toggler-icon{
  background-image:none;
  position:relative;
  width:1.25rem;
  height:1.25rem;
}
.navbar-norman .navbar-toggler-icon::before,
.navbar-norman .navbar-toggler-icon::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  border-radius:999px;
  background:var(--ns-ink);
}
.navbar-norman .navbar-toggler-icon::before{
  top:3px;
}
.navbar-norman .navbar-toggler-icon::after{
  bottom:3px;
  box-shadow:0 -6px 0 var(--ns-ink); /* middle bar */
}

/* Navbar dropdown (About submenu) */

.navbar-norman .dropdown-menu{
  border-radius: var(--ns-radius-lg);
  border:1px solid rgba(211,224,213,.9);
  box-shadow: var(--ns-shadow-md);
  padding:.4rem 0;
  min-width:220px;
  background:#ffffff;
}

.navbar-norman .dropdown-item{
  font-size:.9rem;
  padding:.45rem 1rem;
  color:var(--ns-ink);
}

.navbar-norman .dropdown-item:hover,
.navbar-norman .dropdown-item:focus{
  background:rgba(141,208,108,.12);
  color:var(--ns-brand-dark);
}

/* make dropdown fill width nicely in mobile collapse */
@media (max-width: 991.98px){
  .navbar-norman .dropdown-menu{
    border-radius:0 0 .9rem .9rem;
    box-shadow:none;
    border-top:none;
    margin-top:0;
  }
}


/* ========== Buttons & chips ========== */

.btn-primary{
  --bs-btn-bg: var(--ns-brand-dark);
  --bs-btn-border-color: var(--ns-brand-dark);
  --bs-btn-hover-bg: var(--ns-brand);
  --bs-btn-hover-border-color: var(--ns-brand);
  --bs-btn-active-bg: var(--ns-brand);
  --bs-btn-active-border-color: var(--ns-brand);
  --bs-btn-disabled-bg: var(--ns-brand-soft);
  --bs-btn-disabled-border-color: var(--ns-brand-soft);
  font-weight:600;
  border-radius:var(--ns-radius-md);
  box-shadow:var(--ns-shadow-sm);
}

.btn-ghost{
  border-radius:var(--ns-radius-pill);
  background:rgba(255,255,255,.8);
  border:1px solid rgba(107,124,115,.16);
  color:var(--ns-muted);
  font-weight:500;
}
.btn-ghost:hover{
  background:rgba(141,208,108,.1);
  border-color:rgba(141,208,108,.7);
  color:var(--ns-brand-dark);
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.25rem .8rem;
  border-radius:var(--ns-radius-pill);
  border:1px solid var(--ns-chip-border);
  background:var(--ns-chip-bg);
  font-size:.85rem;
  font-weight:500;
  color:var(--ns-brand-dark);
  cursor:pointer;
  transition:background-color .16s ease, border-color .16s ease, transform .12s ease;
}
.chip-ghost{
  background:rgba(255,255,255,.85);
  border-color:rgba(193,221,187,.9);
  color:var(--ns-ink);
}
.chip:hover{
  background:#ffffff;
  border-color:var(--ns-brand-soft);
  transform:translateY(-1px);
}

/* ========== Hero ========== */

.hero{
  position:relative;
  padding:2.5rem 0 3.2rem;
  overflow:hidden;
}

.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.25rem .9rem;
  border-radius:var(--ns-radius-pill);
  background:rgba(141,208,108,.22);
  color:var(--ns-brand-dark);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.75rem;
  font-weight:600;
}

.hero-title{
  margin:.9rem 0 .5rem;
  line-height:1.08;
  font-size: clamp(2.3rem, 2.3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.hero-lead{
  max-width:32rem;
  font-size:1rem;
  color:var(--ns-muted);
}

.hero-search{
  margin-top:1.6rem;
  padding:.7rem;
  border-radius:var(--ns-radius-lg);
  background:rgba(255,255,255,.96);
  box-shadow:var(--ns-shadow-md);
  border:1px solid rgba(228,238,228,.9);
}
.hero-search .form-control{
  border:none;
  box-shadow:none;
  background:transparent;
  font-size:.98rem;
}
.hero-search .form-control:focus{
  box-shadow:none;
  outline:none;
}
.hero-search .btn{
  white-space:nowrap;
}

.quick-keywords{
  margin-top:.75rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.45rem;
}
.quick-keywords .muted{
  margin-right:.25rem;
}

/* Right-side hero card */

.hero-sidecard{
  background:rgba(255,255,255,.96);
  border-radius:var(--ns-radius-lg);
  border:1px solid var(--ns-border);
  box-shadow:var(--ns-shadow-sm);
  padding:1.3rem 1.4rem;
  max-width:360px;
  margin-left:auto;
}
.hero-sidecard .sidecard-title{
  font-size:1.05rem;
  margin-bottom:.4rem;
}
.hero-sidecard .sidecard-text{
  font-size:.9rem;
  color:var(--ns-muted);
}
.hero-sidecard .sidecard-list{
  padding-left:1.1rem;
  margin: .55rem 0 0;
  color:var(--ns-ink);
  font-size:.9rem;
}
.hero-sidecard .sidecard-list li + li{
  margin-top:.25rem;
}



/* ========== KPI strip ========== */

.section-kpis{
  background:rgba(255,255,255,.9);
  border-top:1px solid rgba(219,229,213,.8);
  border-bottom:1px solid rgba(219,229,213,.8);
  backdrop-filter:blur(4px);
}


.structure{
  margin-top:.4rem;
  max-height:100px;
  border-radius:.75rem;
  border:1px solid #edf4ec;
  background:#f9fbf8;
  padding:.3rem;
}

/* ========== Sections & cards ========== */

.section{
  padding:2.75rem 0;
}

.section-head{
  margin-bottom:1.5rem;
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}

.section-title{
  font-size:1.4rem;
  margin-bottom:.2rem;
}
.section-subtitle{
  margin:0;
  font-size:.9rem;
  color:var(--ns-muted);
  max-width:32rem;
}

/* Card surfaces for plots/cloud */

.card-surface{
  background:#ffffff;
  border-radius:var(--ns-radius-lg);
  border:1px solid var(--ns-border);
  padding:1.1rem 1.15rem;
  box-shadow:var(--ns-shadow-sm);
  height:100%;
}
.card-surface.plot{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.9rem;
  color:var(--ns-muted);
}
.card-surface.cloud{
  position:relative;
}

#wordcloud{
  width:100% !important;
  height:240px !important;
  background:transparent !important;
}
.error-msg{
  margin-top:.5rem;
  font-size:.85rem;
  color:var(--ns-muted);
}
#keyword-table{
  margin-top:.75rem;
  max-height:260px;
  overflow:auto;
}
#keyword-table table{
  width:100%;
  border-collapse:collapse;
  font-size:.86rem;
}
#keyword-table th,
#keyword-table td{
  padding:.45rem .55rem;
  border-bottom:1px solid #eef3ef;
  text-align:left;
}
#keyword-table th{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--ns-muted);
  background:#f8fbf8;
  position:sticky;
  top:0;
  z-index:1;
}

/* Hide empty table card by default (for future use) */
.card-surface.table{
  display:none;
}



/* ========== Footer (gpart-style curved card) ========== */

/* abilities row above footer */
.footer-abilities{
  margin-top:3.2rem;
}

.footer-abilities-list{
  list-style:none;
  margin:0;
  padding:.85rem 1.8rem;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:1.25rem;
}

.footer-abilities-list li{
  flex:1 1 18%;
  min-width:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  font-size:.85rem;
  color:var(--ns-muted);
}

.footer-abilities-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(52,78,65,.18);
  background:#f7faf7;
  color:var(--ns-brand-dark);
  font-size:1.2rem;
  margin-bottom:.35rem;
}

/* smaller / stacked on mobile */
@media (max-width: 767.98px){
  .footer-abilities-list{
    border-radius:24px;
    padding:1rem 1.3rem;
  }
  .footer-abilities-list li{
    flex:1 1 45%;
    align-items:flex-start;
  }
}

/* main curved white panel */
.site-footer{
  margin-top: 0;           /* was 1.8rem – we now use footer-curve spacing */
  border-top: none;
  background: transparent;
  font-size: .9rem;
  color: var(--ns-muted);
  position: relative;
  z-index: 1;
}

.footer-shell{
  background:#ffffff;
  box-shadow:0 -18px 50px rgba(0,0,0,.08);
  padding:0.0rem 0 0.0rem;
}

.footer-top{
  border-bottom:1px solid #e3ece2;
  padding-bottom:0.6rem;
  margin-bottom:0.1rem;
}

/* Left block (logos + socials) */

.footer-brand-block{
  max-width:260px;
  margin-inline:auto;
  text-align:center;
}

.footer-logo-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1.25rem;
  margin-bottom:.75rem;
}

.footer-logo-main{
  max-height:42px;
  width:auto;
    filter: brightness(0) invert(1);
}

.footer-bar{
  width:130px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    var(--ns-brand-dark),
    var(--ns-brand-soft),
    var(--ns-deep)
  );
  margin-inline:auto;
}

.footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  justify-content:center;
    filter: brightness(0) invert(1);
}

.footer-social-link{
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(52,78,65,.18);
  background:#f7faf7;
  color:#4b5960;
  font-size:.9rem;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .12s ease;
}

.footer-social-link:hover{
  background:var(--ns-brand-soft);
  border-color:var(--ns-brand-dark);
  color:#0f2011;
  text-decoration:none;
  transform:translateY(-1px);
}

.footer-social-img{
  height:18px;
  width:auto;
  display:block;
}

/* Middle block (quick links) */

.footer-links-block{
  max-width:260px;
  margin-inline:auto;
  text-align:left;
}

.footer-links-title{
  font-size:1.05rem;
  font-weight:700;
  margin-bottom:.4rem;
  color:var(--ns-deep);
  position:relative;
  display:inline-block;
}

.footer-links-title::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  border-radius:999px;
  margin-top:.25rem;
  background:linear-gradient(
    90deg,
    var(--ns-brand-soft),
    var(--ns-brand)
  );
}

.footer-links{
  list-style:none;
  padding:0;
  margin:.55rem 0 0;
}

.footer-links li + li{
  margin-top:.3rem;
}

.footer-links a{
  color:var(--ns-muted);
  text-decoration:none;
}

.footer-links a:hover{
  color:var(--ns-brand-dark);
  text-decoration:underline;
}

/* Right block (NORMAN logo) */

.footer-norman{
  max-width:260px;
  margin-left:auto;
}

.footer-norman-logo{
  max-height:70px;
  width:auto;
  margin-bottom:.4rem;
    filter: brightness(0) invert(1);
}

.footer-norman-tag{
  font-size:.85rem;
  color:var(--ns-muted);
  text-align:left;
}

/* Bottom bar */

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  font-size:.8rem;
  color:var(--ns-muted);
  margin-top:.5rem;
}

.footer-bottom a{
  color:var(--ns-brand-dark);
  text-decoration:none;
}

.footer-bottom a:hover{
  text-decoration:underline;
}

.footer-bottom-links{
  display:flex;
  gap:1.25rem;
}

/* Responsive footer */

@media (max-width: 767.98px){
  .footer-brand-block,
  .footer-norman{
    max-width:none;
    text-align:center;
    margin:0 auto;
  }

  .footer-links-block{
    max-width:260px;
    margin-inline:auto;
    text-align:left;
  }

  .footer-shell{
    border-radius:32px 32px 0 0;
    padding-top:2.3rem;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-bottom-links{
    display:flex !important;
  }
}




/* ========== Responsive tweaks ========== */

@media (max-width: 991.98px){
  .hero{
    padding-top:2rem;
  }
  .hero-search{
    padding:.6rem;
  }
}

@media (max-width: 767.98px){
  .brand-text{
    display:none;
  }

  .hero{
    padding-top:1.6rem;
    padding-bottom:2.3rem;
  }

  .hero-sidecard{
    margin-top:1.5rem;
    max-width:none;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}




.footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}



.footer-social-link{
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(52,78,65,.18);
  background:#f7faf7;
  color:#4b5960;
  font-size:.9rem;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .12s ease;
}

.footer-social-link:hover{
  background:var(--ns-brand-soft);
  border-color:var(--ns-brand-dark);
  color:#0f2011;
  text-decoration:none;
  transform:translateY(-1px);
}

.footer-social-img{
  height:18px;
  width:auto;
  display:block;
}





/* ===== Wave strip above footer (gpart-style) ===== */

.footer-curve{
  margin-top: 2rem;
  margin-bottom: 2.5rem;   /* NEW: space before the SVG/footer */
  background: transparent;
  position: relative;
}

.footer-curve-svg{
  display:block;
  width:100%;
  height:80px;                         /* height of the wave */
}

/* white area under the wave (same white as footer card) */
.footer-curve-inner{
  margin-top:-2px;                     /* hide any seam from SVG */
  background:#ffffff;
  padding:0.9rem 0 1.6rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}

/* left CTA button (similar pill as gpart) */
.footer-curve-cta{
  border-radius:999px;
  padding:0.55rem 1.7rem;
  font-weight:600;
  font-size:.9rem;
  background:#e53935;                  /* red like screenshot */
  border:none;
  color:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  display:inline-flex;
  align-items:center;
  gap:.3rem;
}

.footer-curve-cta:hover{
  background:#c62828;
  color:#fff;
}

/* center menu items */
.footer-curve-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex:1;
  justify-content:center;
  gap:3.5rem;
  font-size:.9rem;
}

.footer-curve-menu li a{
  color:var(--ns-muted);
  text-decoration:none;
  white-space:nowrap;
}

.footer-curve-menu li a:hover{
  color:var(--ns-brand-dark);
  text-decoration:underline;
}

/* responsive: stack on small screens */
@media (max-width: 767.98px){
  .footer-curve-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:1.1rem 0 1.7rem;
  }

  .footer-curve-cta{
    width:100%;
    justify-content:center;
    
  }

  .footer-curve-menu{
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:1.2rem 2.2rem;
  }
}



/* --- Modern KPI Cards --- */
/* --- Modern KPI Cards --- */

.k-card{
  position:relative;
  background:#ffffff;
  border-radius:var(--ns-radius-lg);
  border:1px solid var(--ns-border);
  padding:1.35rem 1.4rem 1.5rem;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.6rem;
  overflow:hidden;
}

.k-structure{
  margin-top:.3rem;
  border-radius:.75rem;
  border:1px solid #edf4ec;
  background:#f9fbf8;
  padding:.3rem;
}

.k-structure svg{
  width:100%;
  height:auto;
  display:block;
}


.k-card.k-animate:hover{
  transform:translateY(-4px) scale(1.04);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}

.k-animate{
  animation:kpiFadeIn .7s ease forwards;
  opacity:0;
}

@keyframes kpiFadeIn {
  to {
    opacity:1;
  }
}

.k-header{
  display:flex;
  align-items:center;
  gap:.6rem;  
  margin-bottom:.1rem;       
}


.k-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  background:rgba(34,139,34,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ns-brand-dark);
  font-size:1.4rem;
  margin-bottom:0;  
  flex-shrink:0; 
}

.k-green{ background:rgba(34,139,34,.15); color:#306b4d; }
.k-blue{ background:rgba(60,120,255,.15); color:#1354c0; }
.k-orange{ background:rgba(255,140,50,.15); color:#c8651b; }

.k-label{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.72rem;
  font-weight:600;
  color:var(--ns-muted);
  margin:0;    
}
.k-name{
  font-size:0.70rem;
  font-weight:500;
  color:var(--ns-deep);
}
.k-name--clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  min-height: 2.4em; 
}

.k-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}


.k-sub{
  font-size:.88rem;
  color:var(--ns-muted);
}



.hero--compact{
  padding:2.2rem 0 2.8rem;
}

.hero-lead-small{
  font-size:.95rem;
  color:var(--ns-muted);
  margin-bottom:1.1rem;
}

/* animated hex / molecule grid */
.hero-hex-bg{
  position:absolute;
  right:0;
  top:0;
  width:340px;
  height:340px;
  background-image:url("/static/img/hex-pattern.svg");
  background-size:220px;
  opacity:.18;
  animation:floatHex 12s linear infinite;
}

@keyframes floatHex{
  0%{ transform:translateY(0px); }
  50%{ transform:translateY(-18px); }
  100%{ transform:translateY(0px); }
}


/* ==============================
   HEX KPI STRIP – pointy-top layout
   ============================== */

.section-kpis.section-kpis--hex{
  background: radial-gradient(circle at top, var(  --ns-chip-bg), var(   --ns-chip-bg));
  border-top:none;
  border-bottom:none;
  color:#f4faf5;
}


.section-kpis--hex .container{
  max-width:800px;
}

/* Layout: honeycomb (4 + 3) */

.hex-grid{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0;
}

.hex-row{
  display:flex;
  justify-content:center;
  gap:1.4rem;
}

/* bottom row sits between top hexes, but no overlap */
.hex-row-bottom{
  margin-top:-30px;          /* vertical offset */
}

/* Pointy-top hexagon */
.hex-card{
  position:relative;
  width:150px;
  height:165px;
  clip-path:polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
  background:linear-gradient(150deg, var(--ns-deep), var(--ns-green-hunter));
  border:1px solid rgba(187,213,142,.55); 
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:1.2rem 1rem;
  text-align:center;
  text-decoration:none;
  color:#f4faf5;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease,
    color .25s ease;
}

/* subtle inner highlight */
.hex-card::before{
  content:"";
  position:absolute;
  inset:10%;
  clip-path:inherit;
  background:linear-gradient(145deg,
    rgba(187,213,142,.22),   
    rgba(255,255,255,0));
  pointer-events:none;
}


.hex-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.65);
  background:linear-gradient(150deg, var(--ns-green-fern), var(--ns-deep));
  border-color:var(--ns-green-pistachio);
}

/* Accent hex (like the green TOTAL LISTS tile) */
.hex-card--accent{
  background:linear-gradient(140deg, var(--ns-green-shamrock), var(--ns-green-pistachio));
  color:#062110;
  border-color:rgba(255,255,255,.9);
}

.hex-card--accent::before{
  background:linear-gradient(145deg,
    rgba(255,255,255,.35),
    rgba(255,255,255,0));
}


/* Icon + text */

.hex-icon{
  font-size:1.6rem;
  margin-bottom:.45rem;
}

.hex-label{
  text-transform:uppercase;
  letter-spacing:.10em;
  font-size:.62rem;
  font-weight:600;
  opacity:.9;
}

.hex-value{
  margin-top:.12rem;
  font-size:0.7rem;
  font-weight:700;
}

.hex-value.small-value{
  font-size:.85rem;
  word-break:break-all;
}

.hex-sub{
  margin-top:.15rem;
  font-size:.78rem;
  color:rgba(228,236,232,.85);
}

/* Fade-in animation */

.hex-card{
  opacity:0;
  transform:translateY(14px);
  animation:hexFadeIn .7s ease forwards;
}


.hex-row-top .hex-card:nth-child(2){ animation-delay:.05s; }
.hex-row-top .hex-card:nth-child(3){ animation-delay:.1s; }
.hex-row-top .hex-card:nth-child(4){ animation-delay:.15s; }
.hex-row-bottom .hex-card:nth-child(1){ animation-delay:.2s; }
.hex-row-bottom .hex-card:nth-child(2){ animation-delay:.25s; }
.hex-row-bottom .hex-card:nth-child(3){ animation-delay:.3s; }

@keyframes hexFadeIn{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Responsive tweaks */

@media (max-width: 991.98px){
  .hex-row{
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hex-card{
    width:44vw;
    max-width:200px;
    height:auto;
    aspect-ratio:1/1.05;
  }
    .hex-row-bottom{
    margin-top: 1.25rem;   /* IMPORTANT: no space, valid value */
  }
}

@media (max-width: 575.98px){
  .hex-card{
    width: calc(50% - 0.75rem);  
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1.05;
  }
}



.hex-card:hover,
.hex-card:hover .hex-label,
.hex-card:hover .hex-value,
.hex-card:hover .hex-sub,
.hex-card:hover .hex-icon{
  color:#e4f1e4;
}

/* -----------------------------
   Minimal hero
   ----------------------------- */

.hero{
  position:relative;
  padding:2.8rem 0 3.4rem;
  overflow:hidden;
  background:
    radial-gradient(circle at top left, rgba(187,213,142,.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(90,159,104,.25), transparent 55%),
    #f5fbf5;
}

/* Small eyebrow + title can stay as you already have */


/* -----------------------------
   Minimal search shell
   ----------------------------- */

.hero-search-shell{
  margin-top:1.8rem;
  max-width:640px;
  background:rgba(255,255,255,.96);
  border-radius:1.6rem;
  border:1px solid rgba(211,224,213,.9);
  padding:.8rem .9rem .7rem;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* line with input + button */
.hero-searchline{
  display:flex;
  align-items:stretch;
  gap:.5rem;
  padding:.2rem;
  border-radius:999px;
  background:#f4faf5;
}

.hero-searchline .form-control{
  border:none;
  box-shadow:none;
  background:transparent;
  font-size:.98rem;
  padding:.45rem .8rem;
}

.hero-searchline .form-control:focus{
  outline:none;
  box-shadow:none;
}

.hero-searchline .btn{
  border-radius:999px;
  padding:.45rem 1.5rem;
}

/* meta row under input */
.hero-search-meta{
  margin-top:.45rem;
  padding:0 .2rem;
  display:flex;
  align-items:center;
  gap:.5rem;
  flex-wrap:wrap;
}

/* identifier chips row */
.quick-identifiers{
  display:flex;
  align-items:center;
  gap:.35rem;
  flex:0 0 auto;      /* was 1 1 auto */
  flex-wrap:wrap;
  min-width:0;
}

.quick-identifiers .muted.small{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.7rem;
  font-weight:600;
}

/* reuse your .chip styles, just tighten for identifiers */
.chip-type{
  padding:.16rem .65rem;
  font-size:.78rem;
  white-space:nowrap;
}

.chip-type.chip-active{
  background:#ffffff;
  border-color:var(--ns-brand-soft);
  color:var(--ns-brand-dark);
  box-shadow:0 0 0 1px rgba(187,213,142,.7);
}

/* Try link on the right */


.hero-example-link{
  font-weight:500;
  color:var(--ns-brand-soft);
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size: 13px;
}


.hero-example-link:hover{
  color:var(--ns-brand);
  text-decoration:underline;
}

.hero-search-try{
  display:flex;
  align-items:center;
  gap:.25rem;
  flex:0 0 auto;
  white-space:nowrap;
}

/* mobile tweaks */
@media (max-width: 575.98px){
  .hero-search-shell{
    margin-top:1.4rem;
    border-radius:1.2rem;
    padding:.7rem .75rem .6rem;
  }
  .hero-searchline{
    flex-direction:column;
    border-radius:1rem;
  }
  .hero-searchline .btn{
    width:100%;
    justify-content:center;
  }
  .hero-search-meta{
    flex-direction:column;
    align-items:flex-start;
  }
  .quick-identifiers{
    flex-wrap:wrap;
  }
  .hero-search-try{
    max-width:100%;
  }
}


/* ensure the trace is behind content */
.hero .container{
  position:relative;
}

/* minimal chromatogram under the search */
.trace-bg{
  position:absolute;
  left:0;
  right:0;
  bottom:0.6rem;                       /* move line slightly down */
  height:90px;
  background-image:var(--trace);
  background-repeat:no-repeat;
  background-position:left bottom;     /* start near left, run across */
  background-size:100% auto;           /* fill header width */
  opacity:.6;
  pointer-events:none;
  z-index:-1;                          /* behind text & search box */
}



/* ---------- Quick search cards under Explore section ---------- */
.section-quicksearch{
  padding: 1.5rem 0 3rem;
}

.qs-shell{
  background:
    radial-gradient(circle at top left,  rgba(187,213,142,.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(90,159,104,.16), transparent 55%),
    rgba(255,255,255,.96);
  border-radius:1.6rem;
  border:1px solid rgba(211,224,213,.95);
  box-shadow:0 14px 32px rgba(0,0,0,.06);
  padding:1.4rem 1.6rem 1.6rem;
}
@media (max-width: 991.98px){
  .qs-shell{
    border-radius:1.2rem;
    padding:1rem 1rem 1.2rem;
  }
}

.qs-card{
  position:relative;
  height:100%;
  border-radius:1.2rem;
  border:1px solid rgba(211,224,213,.9);
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(242,249,243,.98));
  box-shadow:0 8px 20px rgba(0,0,0,.04);
  padding:1rem 1.1rem 1.1rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  overflow:hidden;              /* مهم: نگذارد هاله از کارت بیرون بزند */
  z-index:0;
}
.qs-card::before{
  content:"";
  position:absolute;
  inset:0;                      /* دیگر منفی نیست که بیرون بزند */
  border-radius:inherit;
  background:
    radial-gradient(circle at 0 0, rgba(112,194,71,.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(52,78,65,.08), transparent 60%);
  opacity:0;
  transition:opacity .2s ease;
  z-index:-1;
}
.qs-card:hover{
  border-color:rgba(141,208,108,.9);
  box-shadow:0 12px 26px rgba(44,79,52,.18);  /* سایه نرم‌تر و طبیعی‌تر */
  transform:translateY(-3px);
}
.qs-card:hover::before{
  opacity:.45;                  /* در حد یک درخشش ملایم */
}

.qs-badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.18rem .6rem;
  border-radius:999px;
  font-size:.78rem;
  background:rgba(187,213,142,.2);
  color:var(--ns-green-hunter);
  font-weight:600;
}

.qs-title{
  margin:0;
  font-size:1.05rem;
  font-weight:600;
  color:var(--ns-deep);
}
.qs-text{
  margin:0;
  font-size:.86rem;
  color:var(--ns-muted);
}

.qs-search-row{
  display:flex;
  gap:.5rem;
  align-items:center;
  margin-top:.25rem;
}
.qs-search-row .form-control{
  font-size:.9rem;
  padding:.4rem .55rem;
  border-radius:.7rem;
}
.qs-search-row .btn{
  white-space:nowrap;
  border-radius:.8rem;
  padding:.38rem .9rem;
  font-size:.9rem;
  font-weight:600;
}

.qs-meta{
  font-size:.78rem;
  color:var(--ns-muted);
  margin-top:auto;
}

/* Chips for compound search card */
.qs-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  margin-top:.1rem;
}
.qs-chip{
  border-radius:999px;
  border:1px solid var(--ns-chip-border, rgba(181,204,182,.9));
  background:var(--ns-chip-bg, #f5faf6);
  font-size:.78rem;
  padding:.16rem .6rem;
  cursor:pointer;
  user-select:none;
  transition:background-color .16s ease, border-color .16s ease,
             transform .12s ease, box-shadow .16s ease;
}
.qs-chip-active{
  background:#fff;
  border-color:var(--ns-brand-soft);
  box-shadow:0 0 0 1px rgba(187,213,142,.7);
  transform:translateY(-1px);
}

.qs-try{
  font-size:.8rem;
  margin-top:.25rem;
}
.qs-try a{
  text-decoration:none;
  color:var(--ns-green-hunter);
  font-weight:600;
}
.qs-try a:hover{
  color:var(--ns-brand-dark);
}


/* =========================
   ITAP-style teal footer + map background (English / LTR)
   ========================= */

/* Make the wave sit flush on the footer (no big gap) */
.footer-curve{
  margin-bottom: 0 !important;
  line-height: 0;
}
.footer-curve svg{
  display:block;
  width:100%;
  height:70px; /* close to screenshot */
}

/* Teal area with map background */
.footer-details{
  padding-bottom: 30px;
  direction: ltr;
  text-align: left;
  background: #306b4d;
  color: #fff;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Map overlay (put file at static/img/map.png; if your CSS is in static/css/, this path works) */
.footer-details::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../img/map.png") center no-repeat;
  background-size: 35% auto;
  opacity: .93;
  pointer-events:none;
}

/* Content above the map */
.footer-details > *{
  position: relative;
  z-index: 1;
}

/* Remove the old white card look */
.site-footer{
  background: transparent !important;
  color: #fff;
}
.footer-shell{
  background: transparent !important;
  box-shadow: none !important;
}

/* Borders / dividers on teal */
.footer-top{
  border-bottom: 1px dashed rgba(255,255,255,.35) !important;
}

/* Headings & links in white */
.footer-links-title{
  color:#fff !important;
}
.footer-links a,
.footer-bottom a{
  color: rgba(255,255,255,.88) !important;
}
.footer-links a:hover,
.footer-bottom a:hover{
  color:#fff !important;
}

/* Social icons */
.footer-social-link{
  border-color: rgba(255,255,255,.35) !important;
  color: #ffffff !important;
  background: rgba(0,0,0,.06) !important;
}
.footer-social-link:hover{
  color: #ffffff !important;
  border-color: rgba(255,255,255,.55) !important;
  background: rgba(0,0,0,.10) !important;
}

/* NORMAN logo tag text */
.footer-norman-tag{
  color: rgba(255,255,255,.85) !important;
}

/* If you want the bottom bar darker (optional) */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.18) !important;
}

/* --- Footer wave size fix --- */
.footer-shape{
  height: 95px;         
  overflow: hidden;
  line-height: 0;
}

.footer-shape svg{
  width: 100%;
  height: 100%;
  display: block;
}




@media (max-width: 767.98px){
  .itap-footer .footer-bottom-inner{
    justify-content: center;
    text-align: center;
  }
}


/* Footer links: subtle move to the right on hover (LTR) */
.footer-links a,
.footer-bottom a{
  display: inline-block;
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
  will-change: transform;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible{
  transform: translateX(6px); 
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .footer-links a,
  .footer-bottom a{
    transition: none;
  }
  .footer-links a:hover,
  .footer-links a:focus-visible,
  .footer-bottom a:hover,
  .footer-bottom a:focus-visible{
    transform: none;
  }
}



/* Contributors / supporters: blur other logos on hover */
.swiper-supporters .swiper-slide a img{
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
  will-change: filter, opacity, transform;
}

/* When hovering the whole slider, blur all logos */
.swiper-supporters:hover .swiper-slide a img{
  filter: blur(2px);
  opacity: .45;
  transform: scale(.96);
}

/* Keep the hovered (or focused) logo sharp */
.swiper-supporters:hover .swiper-slide:hover a img,
.swiper-supporters:hover .swiper-slide:focus-within a img{
  filter: none;
  opacity: 1;
  transform: scale(1);
}

/* On touch devices, don't apply hover blur */
@media (hover: none){
  .swiper-supporters:hover .swiper-slide a img{
    filter: none;
    opacity: 1;
    transform: none;
  }
}


/* Contributors strip: compact + distinct background */
.contributors-strip{
  padding: 14px 0;               
  margin: 18px 0 10px;
  background: linear-gradient(180deg, #f4fbf8 0%, #eef7f4 100%);
  border-top: 1px solid rgba(18,91,102,.12);
  border-bottom: 1px solid rgba(18,91,102,.12);
  position: relative;
  overflow: hidden;
}

/* subtle pattern (nice but not noisy) */
.contributors-strip::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(rgba(18,91,102,.08) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .35;
  pointer-events:none;
}

.contributors-strip > .container{
  position: relative;
  z-index: 1;
}

/* make swiper row compact */
.contributors-strip .swiper-supporters{
  padding: 6px 0;
}

/* logo sizing: compact + centered */
.contributors-strip .swiper-slide{
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributors-strip .swiper-slide a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 6px 10px;
  border-radius: 12px;
 }
.contributors-strip .swiper-slide img{
  max-height: 74px;  
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===========================
   Stats pages
   =========================== */
.stats-hero{
  background: linear-gradient(180deg, rgba(112,194,71,0.14), rgba(112,194,71,0.02));
  border-bottom: 1px solid var(--ns-border, #d3e0d5);
  padding: 28px 0 16px;
}
.stats-hero-inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.stats-title{ margin:0; font-size: 1.9rem; letter-spacing:-0.01em; }
.stats-subtitle{ margin:6px 0 0; color: var(--ns-muted, #5f6f64); }

.stats-tabs{
  display:flex;
  gap:10px;
  margin-top:16px;
  flex-wrap:wrap;
}
.stats-tab{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--ns-border, #d3e0d5);
  border-radius: 999px;
  background: #fff;
  color: var(--ns-ink, #1f2623);
  text-decoration:none;
  font-weight:600;
}
.stats-tab:hover{ border-color: var(--ns-brand, #228B22); }
.stats-tab.active{
  background: rgba(34,139,34,0.10);
  border-color: rgba(34,139,34,0.35);
}

.stats-wrap{ padding: 22px 0 40px; }

.kpi-grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:12px;
  margin-bottom: 16px;
}
@media (max-width: 1200px){
  .kpi-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .kpi-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kpi-grid--compact{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px){
  .kpi-grid--compact{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kpi-card{
  background: #fff;
  border:1px solid var(--ns-border, #d3e0d5);
  border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.kpi-label{
  font-size: 0.82rem;
  color: var(--ns-muted, #5f6f64);
  margin-bottom: 6px;
}
.kpi-value{
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ns-deep, #344E41);
  line-height: 1.1;
}

.chart-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 18px;
}
@media (max-width: 980px){
  .chart-grid{ grid-template-columns: 1fr; }
}
.chart-card{
  background:#fff;
  border:1px solid var(--ns-border, #d3e0d5);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
  overflow:hidden;
}
.chart-head{
  padding: 12px 14px;
  border-bottom: 1px solid var(--ns-border, #d3e0d5);
  background: linear-gradient(180deg, rgba(141,208,108,0.28), rgba(141,208,108,0.08));
}
.chart-head h2{ margin:0; font-size: 1.05rem; }
.chart-head p{ margin:5px 0 0; color: var(--ns-muted, #5f6f64); font-size: 0.92rem; }
.chart-body{
  padding: 10px 14px 14px;
  height: 290px;
}

.stats-two-col{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .stats-two-col{ grid-template-columns: 1fr; }
}
.stats-panel{
  background:#fff;
  border:1px solid var(--ns-border, #d3e0d5);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
  overflow:hidden;
  margin-top: 14px;
}
.panel-head{
  padding: 12px 14px;
  border-bottom: 1px solid var(--ns-border, #d3e0d5);
  background: linear-gradient(180deg, rgba(141,208,108,0.22), rgba(141,208,108,0.06));
}
.panel-head h2{ margin:0; font-size: 1.05rem; }
.panel-body{ padding: 12px 14px; }

.stats-table-wrap{ overflow:auto; }
.stats-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}
.stats-table thead th{
  position: sticky;
  top: 0;
  z-index: 1;
  text-align:left;
  padding: 10px 10px;
  background: rgba(34,139,34,0.10);
  color: var(--ns-ink, #1f2623);
  border-bottom: 1px solid var(--ns-border, #d3e0d5);
  font-weight: 800;
}
.stats-table tbody td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(211,224,213,0.7);
  vertical-align: middle;
}
.stats-table tbody tr:nth-child(even) td{
  background: rgba(112,194,71,0.05);
}
.stats-table .num{ text-align:right; white-space:nowrap; }
.stats-table .tight{ width: 120px; }

.stats-link{ color: var(--ns-brand, #228B22); text-decoration:none; font-weight: 650; }
.stats-link:hover{ text-decoration: underline; }

.stats-mol{
  width: 110px;
  height: 70px;
  display:block;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(211,224,213,0.8);
  border-radius: 12px;
  padding: 6px;
}
.mol-link{ display:inline-block; }
.muted{ color: var(--ns-muted, #5f6f64); }


/* ==============================
   ABOUT ILLUSTRATION – ORBIT
   (pure CSS; scoped to about page)
   ============================== */

/* Keep the existing about-illustration "card" as the container */
.about-illustration{
  display:flex;
  align-items:center;
  justify-content:center;
}

.about-illustration .orbit{
  position:relative;
  width:100%;
  max-width:420px;
  aspect-ratio: 1 / 1;
  border-radius:1.1rem;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px; /* scales em-based rings */
  background:transparent;
}

.about-illustration .orbit::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(rgba(34,139,34,.10) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity:.22;
  pointer-events:none;
}

.about-illustration .orbit-wrap{
  position:relative;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  list-style:none;
}

.about-illustration .orbit-wrap > li{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
}

.about-illustration .orbit-center{
  z-index:5;
  width:5.2em;
  height:5.2em;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--ns-brand-soft), var(--ns-brand-dark));
  color:#fff;
  box-shadow:0 22px 50px rgba(0,0,0,.18);
}

.about-illustration .orbit-center__icon{
  font-size:2.0em;
  transition:transform .25s ease;
}
.about-illustration .orbit:hover .orbit-center__icon{
  transform:rotate(-12deg) scale(1.03);
}

.about-illustration .orbit-icon{
  width:2.8em;
  height:2.8em;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border:1px solid rgba(211,224,213,.95);
  color:var(--ns-brand-dark);
  box-shadow:0 14px 28px rgba(0,0,0,.10);
  font-size:1.2em;
}

.about-illustration ul[class^="ring-"]{
  position:relative;
  margin:0;
  padding:0;
  list-style:none;
  border-radius:50%;
  border:1px solid rgba(34,139,34,.28);
  box-sizing:content-box;
  transition:border-color .2s ease, border-width .2s ease;
}

.about-illustration ul[class^="ring-"] > li{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:2.8em;
  height:2.8em;
  margin:-1.4em;
}

/* Ring sizes + rotation speeds */
.about-illustration .ring-0{ width:25em; height:25em; animation:aboutClockwiseRotate 34s linear infinite; }
.about-illustration .ring-1{ width:20em; height:20em; animation:aboutClockwiseRotate 28s linear infinite; }
.about-illustration .ring-2{ width:15em; height:15em; animation:aboutClockwiseRotate 22s linear infinite; }
.about-illustration .ring-3{ width:10em; height:10em; animation:aboutClockwiseRotate 16s linear infinite; }

/* Counter-rotate icons so they stay upright */
.about-illustration .ring-0 .orbit-icon{ animation:aboutCounterClockwiseRotate 34s linear infinite; }
.about-illustration .ring-1 .orbit-icon{ animation:aboutCounterClockwiseRotate 28s linear infinite; }
.about-illustration .ring-2 .orbit-icon{ animation:aboutCounterClockwiseRotate 22s linear infinite; }
.about-illustration .ring-3 .orbit-icon{ animation:aboutCounterClockwiseRotate 16s linear infinite; }

/* Place items around each ring */
/* ring-0 (4 items) radius = 12.5em */
.about-illustration .ring-0 > li:nth-child(1){ transform:rotate(0deg) translate(12.5em) rotate(0deg); }
.about-illustration .ring-0 > li:nth-child(2){ transform:rotate(90deg) translate(12.5em) rotate(-90deg); }
.about-illustration .ring-0 > li:nth-child(3){ transform:rotate(180deg) translate(12.5em) rotate(-180deg); }
.about-illustration .ring-0 > li:nth-child(4){ transform:rotate(270deg) translate(12.5em) rotate(-270deg); }

/* ring-1 (3 items) radius = 10em */
.about-illustration .ring-1 > li:nth-child(1){ transform:rotate(0deg) translate(10em) rotate(0deg); }
.about-illustration .ring-1 > li:nth-child(2){ transform:rotate(120deg) translate(10em) rotate(-120deg); }
.about-illustration .ring-1 > li:nth-child(3){ transform:rotate(240deg) translate(10em) rotate(-240deg); }

/* ring-2 (8 items) radius = 7.5em */
.about-illustration .ring-2 > li:nth-child(1){ transform:rotate(0deg) translate(7.5em) rotate(0deg); }
.about-illustration .ring-2 > li:nth-child(2){ transform:rotate(45deg) translate(7.5em) rotate(-45deg); }
.about-illustration .ring-2 > li:nth-child(3){ transform:rotate(90deg) translate(7.5em) rotate(-90deg); }
.about-illustration .ring-2 > li:nth-child(4){ transform:rotate(135deg) translate(7.5em) rotate(-135deg); }
.about-illustration .ring-2 > li:nth-child(5){ transform:rotate(180deg) translate(7.5em) rotate(-180deg); }
.about-illustration .ring-2 > li:nth-child(6){ transform:rotate(225deg) translate(7.5em) rotate(-225deg); }
.about-illustration .ring-2 > li:nth-child(7){ transform:rotate(270deg) translate(7.5em) rotate(-270deg); }
.about-illustration .ring-2 > li:nth-child(8){ transform:rotate(315deg) translate(7.5em) rotate(-315deg); }

/* ring-3 (3 items) radius = 5em */
.about-illustration .ring-3 > li:nth-child(1){ transform:rotate(0deg) translate(5em) rotate(0deg); }
.about-illustration .ring-3 > li:nth-child(2){ transform:rotate(120deg) translate(5em) rotate(-120deg); }
.about-illustration .ring-3 > li:nth-child(3){ transform:rotate(240deg) translate(5em) rotate(-240deg); }

/* Hover accent */
.about-illustration .orbit:hover ul[class^="ring-"]{
  border-color: rgba(34,139,34,.55);
  border-width:2px;
}
.about-illustration .orbit:hover .orbit-icon{
  box-shadow:0 18px 34px rgba(0,0,0,.14);
}

/* Animations */
@keyframes aboutClockwiseRotate{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
@keyframes aboutCounterClockwiseRotate{ from{ transform:rotate(0deg); } to{ transform:rotate(-360deg); } }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .about-illustration .ring-0,
  .about-illustration .ring-1,
  .about-illustration .ring-2,
  .about-illustration .ring-3,
  .about-illustration .orbit-icon{
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 575.98px){
  .about-illustration .orbit{
    max-width: 360px;
    font-size:11px;
  }
}
