/* =========================================================
   EVERSTAFF — design tokens
   ========================================================= */
:root{
  --bg:            #ffffff;
  --bg-alt:        #f2f5fb;
  --bg-card:       #ffffff;
  --bg-card-hover: #fbfcff;
  --border:        rgba(16,26,51,.10);
  --border-strong: rgba(16,26,51,.20);

  --teal:  #16b892;
  --blue:  #3d63d6;
  --gradient: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);

  --text:        #10192f;
  --text-muted:  #5a6478;
  --text-faint:  #8992a6;

  --navy:        #101a33;
  --navy-soft:   #16264a;
  --on-navy:        #f5f8ff;
  --on-navy-muted:  #aab8db;
  --on-navy-border: rgba(255,255,255,.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-card: 0 20px 40px -24px rgba(16,26,51,.18);

  --container: 1180px;

  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  max-width:100vw;
  overflow-wrap:break-word;
  word-break:break-word;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0;
  line-height:1.15;
  font-weight:600;
  letter-spacing:-0.01em;
}
p{ margin:0; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

@media (max-width:640px){
  .container{ padding:0 20px; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--teal);
  outline-offset:3px;
  border-radius:6px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* =========================================================
   Eyebrow / labels
   ========================================================= */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal);
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--gradient);
  border-radius:2px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  border:1px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--gradient);
  color:#04101f;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(42,214,171,.45); }
.btn-secondary{
  background:var(--bg-alt);
  color:var(--text);
  border-color:var(--border);
}
.btn-secondary:hover{ border-color:var(--teal); color:var(--teal); background:#fff; transform:translateY(-2px); box-shadow:0 10px 24px -14px rgba(16,26,51,.2); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:13px; }

/* text-style "more" toggle button */
.more-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:none;
  border:none;
  color:var(--teal);
  font-weight:700;
  font-size:14px;
  padding:4px 0;
  margin-top:14px;
}
.more-btn svg{ transition:transform .3s ease; width:14px; height:14px; }
.more-btn[aria-expanded="true"] svg{ transform:rotate(180deg); }
.more-btn:hover{ color:var(--blue); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:88px;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand img{ height:72px; width:auto; }

.main-nav ul{ display:flex; align-items:center; gap:8px; }
.main-nav a{
  display:block;
  padding:10px 18px;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  color:var(--text-muted);
  transition:color .2s ease, background .2s ease;
}
.main-nav a:hover{ color:var(--text); }
.main-nav a.active{
  color:var(--navy);
  background:var(--bg-alt);
  border:1px solid var(--border);
  box-shadow:0 6px 16px -10px rgba(16,26,51,.25);
  position:relative;
}
.main-nav a.active::after{
  content:"";
  position:absolute;
  left:18px; right:18px; bottom:5px;
  height:2px;
  border-radius:2px;
  background:var(--gradient);
}

.header-actions{ display:flex; align-items:center; gap:14px; }

/* language switcher (visual only, no logic wired) */
.lang-switch{ position:relative; }
.lang-switch button{
  display:flex; align-items:center; gap:8px;
  background:var(--bg-card);
  border:1px solid var(--border);
  color:var(--text);
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
}
.lang-switch svg{ width:11px; height:11px; transition:transform .2s ease; }
.lang-switch[data-open="true"] svg{ transform:rotate(180deg); }
.lang-switch-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:150px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:6px;
  box-shadow:var(--shadow-card);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.lang-switch[data-open="true"] .lang-switch-menu{
  opacity:1; visibility:visible; transform:translateY(0);
}
.lang-switch-menu a{
  display:block;
  padding:9px 12px;
  border-radius:8px;
  font-size:14px;
  color:var(--text-muted);
}
.lang-switch-menu a:hover{ background:var(--bg-card-hover); color:var(--text); }
.lang-switch-menu a.active{ color:var(--teal); }

.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:10px;
  background:var(--bg-card);
  border:1px solid var(--border);
  align-items:center; justify-content:center;
}
.nav-toggle span{
  display:block; width:18px; height:2px; background:var(--text);
  position:relative;
}
.nav-toggle span::before,.nav-toggle span::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:var(--text);
}
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }

/* =========================================================
   Mobile menu — isolated full-screen overlay (own markup,
   no shared selectors with desktop nav, no specificity fights)
   ========================================================= */
.mobile-menu{
  display:none;
}

@media (max-width:900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-actions .btn{ display:none; }

  .mobile-menu{
    display:block;
    position:fixed;
    inset:0;
    z-index:500;
    background:var(--bg);
    opacity:0;
    visibility:hidden;
    transform:translateY(-16px);
    transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
    overflow-y:auto;
  }
  .mobile-menu.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  .mobile-menu-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:88px;
    padding:0 32px;
    border-bottom:1px solid var(--border);
  }
  .mobile-menu-close{
    width:44px; height:44px;
    border-radius:10px;
    background:var(--bg-card);
    border:1px solid var(--border);
    display:flex; align-items:center; justify-content:center;
    color:var(--text);
  }
  .mobile-menu-close svg{ width:18px; height:18px; }

  .mobile-menu-body{ padding:32px; display:flex; flex-direction:column; }
  .mobile-menu-links{ display:flex; flex-direction:column; gap:4px; }
  .mobile-menu-links a{
    padding:18px 6px;
    font-family:var(--font-display);
    font-size:24px;
    font-weight:600;
    color:var(--text);
    border-bottom:1px solid var(--border);
  }
  .mobile-menu-links a.active{ color:var(--teal); }

  .mobile-menu-cta{ margin-top:28px; }
  .mobile-menu-lang{ display:flex; gap:8px; margin-top:16px; }
  .mobile-menu-lang a{
    flex:1;
    text-align:center;
    padding:13px;
    border-radius:12px;
    border:1px solid var(--border);
    font-weight:600;
    font-size:14px;
    color:var(--text-muted);
  }
  .mobile-menu-lang a.active{ color:var(--navy); background:var(--bg-alt); border-color:var(--border-strong); }
}

@media (max-width:480px){
  .site-header .container{ height:76px; gap:12px; }
  .brand img{ height:44px; }
  .header-actions{ gap:8px; }
  .lang-switch button{ padding:9px 12px; font-size:0; gap:0; }
  .lang-switch button::before{
    content:"🌐";
    font-size:16px;
  }
  .lang-switch svg{ display:none; }
  .nav-toggle{ width:40px; height:40px; }
  .mobile-menu-top{ height:76px; padding:0 20px; }
  .mobile-menu-body{ padding:24px; }
  .mobile-menu-links a{ font-size:21px; padding:15px 6px; }
}

/* body scroll lock while mobile menu is open */
body.menu-open{ overflow:hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  padding:96px 0 110px;
  overflow:hidden;
}
.hero-glow::before{
  content:"";
  position:absolute;
  top:-160px; right:-160px;
  width:440px; height:440px;
  background:radial-gradient(circle, rgba(22,184,146,.12), transparent 70%);
  filter:blur(50px);
  pointer-events:none;
}
.hero-glow::after{
  content:"";
  position:absolute;
  bottom:-180px; left:-160px;
  width:400px; height:400px;
  background:radial-gradient(circle, rgba(61,99,214,.10), transparent 70%);
  filter:blur(50px);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:64px;
  align-items:center;
}
.hero h1{
  font-size:clamp(34px, 4.4vw, 54px);
  margin-bottom:24px;
}
.hero h1 .accent{
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-lead{
  font-size:18px;
  color:var(--text-muted);
  max-width:520px;
  margin-bottom:36px;
}
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

/* signature graphic: network of nodes representing people <> business */
.hero-graphic{
  position:relative;
  aspect-ratio:1/1;
  max-width:460px;
  justify-self:end;
}
.hero-graphic svg{ width:100%; height:100%; }
.node{ animation:pulse 3.6s ease-in-out infinite; transform-origin:center; }
.node-b{ animation-delay:.5s; }
.node-c{ animation-delay:1.1s; }
.node-d{ animation-delay:1.7s; }
.node-e{ animation-delay:2.2s; }
@keyframes pulse{
  0%,100%{ opacity:.6; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.18); }
}
.orbit-slow{ transform-origin:230px 230px; animation:spin 34s linear infinite; }
.orbit-fast{ transform-origin:230px 230px; animation:spin 20s linear infinite reverse; }
@keyframes spin{ to{ transform:rotate(360deg); } }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-graphic{ justify-self:center; max-width:320px; order:-1; }
  .hero{ padding:56px 0 72px; }
}

/* =========================================================
   Sections
   ========================================================= */
.section{ padding:104px 0; position:relative; }
.section-alt{ background:var(--bg-alt); }
.section-head{ max-width:680px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(26px,3vw,38px); margin-bottom:16px; }
.section-head p{ color:var(--text-muted); font-size:17px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow::before{ display:none; }

@media (max-width:640px){
  .section{ padding:64px 0; }
}

/* =========================================================
   Cards
   ========================================================= */


.icon-tile img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* делает иконку белой, если она была тёмной */
}

.card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:32px;
  box-shadow:var(--shadow-card);
  transition:border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 26px 44px -22px rgba(16,26,51,.22); border-color:var(--border-strong); }

.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:900px){
  .grid-3{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .grid-3,.grid-2{ grid-template-columns:1fr; }
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #16b892, #3d63d6); /* тот самый бирюзово-синий градиент */
}
.icon-tile svg{ width:24px; height:24px; stroke:#04101f; }

.card h3{ font-size:20px; margin-bottom:12px; }
.card-text{ color:var(--text-muted); font-size:15px; }

/* expandable content block */
.expand{
  max-height:0;
  overflow:hidden;
  transition:max-height .45s ease;
}
.expand-inner{ padding-top:16px; }
.expand p + p, .expand ul + p, .expand p + ul{ margin-top:14px; }
.expand ul{ margin-top:6px; }
.expand li{
  position:relative;
  padding-left:20px;
  color:var(--text-muted);
  font-size:15px;
  margin-bottom:8px;
}
.expand li::before{
  content:"";
  position:absolute; left:0; top:9px;
  width:6px; height:6px;
  border-radius:2px;
  background:var(--gradient);
}
.expand strong{ color:var(--text); }

/* numbered step list — used only for genuine sequences */
.steps{ counter-reset:step; display:flex; flex-direction:column; gap:20px; }
.step{ display:flex; gap:20px; }
.step-num{
  counter-increment:step;
  flex-shrink:0;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-weight:600;
  color:var(--teal);
}
.step-num::before{ content:counter(step, decimal-leading-zero); }
.step-body h4{ font-size:16px; margin-bottom:6px; }
.step-body p{ color:var(--text-muted); font-size:14.5px; }

/* tag pill list (industries / position levels) */
.pill-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--bg-card);
  font-size:14px;
  font-weight:600;
  color:var(--text-muted);
}

/* two-column info block with media */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media img{ border-radius:var(--radius-md); }
@media (max-width:900px){
  .split{ grid-template-columns:1fr; }
  .split.reverse .split-media{ order:0; }
}

/* stat row */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.stat{ text-align:left; }
.stat strong{
  display:block;
  font-family:var(--font-display);
  font-size:clamp(28px,3vw,40px);
  background:var(--gradient);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom:6px;
}
.stat span{ color:var(--text-muted); font-size:14px; }
@media (max-width:640px){ .stats{ grid-template-columns:1fr 1fr; } }

/* =========================================================
   Team cards
   ========================================================= */
.team-card img{ border-radius:var(--radius-md); border:1px solid var(--border); margin-bottom:22px; aspect-ratio:4/5; object-fit:cover; }
.team-card h3{ margin-bottom:2px; }
.team-role{ color:var(--teal); font-size:14px; font-weight:700; margin-bottom:14px; display:block; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner{
  position:relative;
  border-radius:var(--radius-lg);
  padding:64px;
  background:var(--navy);
  color:var(--on-navy);
  border:1px solid var(--navy);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.cta-banner::before{
  content:"";
  position:absolute; inset:0;
  background:var(--gradient);
  opacity:.16;
}
.cta-banner-text{ position:relative; max-width:560px; }
.cta-banner h2{ font-size:clamp(24px,2.6vw,32px); margin-bottom:12px; color:var(--on-navy); }
.cta-banner p{ color:var(--on-navy-muted); }
.cta-banner-actions{ position:relative; display:flex; gap:16px; flex-wrap:wrap; }
.cta-banner .btn-secondary{ background:rgba(255,255,255,.06); color:var(--on-navy); border-color:var(--on-navy-border); }
.cta-banner .btn-secondary:hover{ border-color:var(--teal); color:var(--teal); background:rgba(255,255,255,.1); box-shadow:none; }

@media (max-width:640px){
  .cta-banner{ padding:36px 28px; }
}

/* =========================================================
   Django messages — floating toast notifications
   ========================================================= */
.toast-messages{
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  z-index:1000;
  display:flex;
  flex-direction:column;
  gap:10px;
  width:min(420px, calc(100vw - 32px));
  pointer-events:none;
}
.toast-message{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border-radius:14px;
  font-size:14.5px;
  font-weight:600;
  border:1px solid transparent;
  background:#fff;
  box-shadow:0 20px 40px -14px rgba(16,26,51,.28);
  pointer-events:auto;
  animation:toast-in .35s ease forwards, toast-out .35s ease forwards 4.5s;
}
.toast-message span{ flex:1; }
.toast-close{
  background:none; border:none; cursor:pointer;
  font-size:20px; line-height:1; color:inherit; opacity:.6;
  padding:0 2px;
}
.toast-close:hover{ opacity:1; }

.toast-message.success{ color:#0d7a5f; border-color:rgba(22,184,146,.30); }
.toast-message.error{ color:#b3261e; border-color:rgba(214,61,61,.28); }
.toast-message.warning{ color:#8a5a10; border-color:rgba(214,158,61,.30); }
.toast-message.info{ color:#2b4aa8; border-color:rgba(61,99,214,.28); }

@keyframes toast-in{
  from{ opacity:0; transform:translateY(-16px) scale(.96); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
@keyframes toast-out{
  to{ opacity:0; transform:translateY(-10px) scale(.98); }
}

@media (max-width:640px){
  .toast-messages{ top:12px; }
}

/* =========================================================
   Forms
   ========================================================= */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-grid .full{ grid-column:1/-1; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }

.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--text-muted);
  margin-bottom:8px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.field input, .field select, .field textarea{
  width:100%;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 16px;
  color:var(--text);
  font-family:inherit;
  font-size:15px;
  transition:border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--teal); outline:none; }
.field textarea{ resize:vertical; min-height:120px; }

/* contact info blocks */
.contact-info-list{ display:flex; flex-direction:column; gap:24px; }
.contact-info-item{ display:flex; gap:16px; align-items:flex-start; }
.contact-info-item .icon-tile{ margin-bottom:0; width:44px; height:44px; }
.contact-info-item h4{ font-size:15px; margin-bottom:4px; }
.contact-info-item p, .contact-info-item a{ color:var(--text-muted); font-size:14.5px; width: 350px; }
.contact-info-item a:hover{ color:var(--teal); }

.map-placeholder{
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  overflow:hidden;
  aspect-ratio:16/9;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--navy); border-top:1px solid var(--navy); color:var(--on-navy-muted); }
.footer-top{ padding:72px 0 48px; display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
.footer-brand .brand{ margin-bottom:18px; }
.footer-brand p{ color:var(--on-navy-muted); font-size:14.5px; max-width:320px; margin-bottom:20px; }
.footer-col h4{ font-size:14px; text-transform:uppercase; letter-spacing:.08em; color:var(--on-navy-muted); opacity:.7; margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:var(--on-navy-muted); font-size:14.5px; }
.footer-col a:hover{ color:var(--teal); }
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:40px; height:40px; border-radius:10px;
  background:rgba(255,255,255,.06); border:1px solid var(--on-navy-border);
  color:var(--on-navy);
  display:flex; align-items:center; justify-content:center;
}
.social-row a:hover{ border-color:var(--teal); color:var(--teal); }
.social-row svg{ width:18px; height:18px; }

.partners{ padding:40px 0; border-top:1px solid var(--on-navy-border); }
.partners-label{ text-align:center; color:var(--on-navy-muted); opacity:.7; font-size:13px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:28px; }
.partners-row{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:40px;
  color:var(--on-navy-muted);
}
.partners-row img{ height:50px; width:auto; opacity:.55; transition:opacity .2s ease; filter:brightness(0) invert(1); }
.partners-row img:hover{ opacity:.9; }

.footer-bottom{
  border-top:1px solid var(--on-navy-border);
  padding:24px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:13.5px;
  color:var(--on-navy-muted);
  opacity:.75;
}

@media (max-width:900px){
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .footer-top{ grid-template-columns:1fr; padding:56px 36px 36px; }
}

/* =========================================================
   Orbit — industries arranged around the animated brand mark.
   Item count is data-driven: JS (orbit.js) reads however many
   <li> are inside .orbit-items and distributes them evenly,
   so adding or removing industries later needs no CSS changes.
   ========================================================= */
.orbit{
  position:relative;
  width:100%;
  max-width:520px;
  margin:0 auto;
  aspect-ratio:1/1;
}
.orbit-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.orbit-dash-ring{
  transform-origin:310px 310px;
  animation:orbit-spin 40s linear infinite;
}
@keyframes orbit-spin{ to{ transform:rotate(360deg); } }

.orbit-center{
    position:absolute;
    left:50%;
    top:53%;
    transform:translate(-50%,-50%);

    width:150px;
    height:150px;

    display:flex;
    align-items:center;
    justify-content:center;

    pointer-events:none;

    width: 150px;
}

.orbit-center img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.orbit-nodes{ position:absolute; inset:0; pointer-events:none; }
.orbit-node{
  position:absolute;
  width:8px; height:8px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  transition:transform .25s ease;
}
.orbit-node.active{ transform:translate(-50%,-50%) scale(1.6); }

.orbit-items{
  position:absolute;
  inset:0;
  padding:0;
  margin:0;
  list-style:none;
}
.orbit-items .pill{
  position:absolute;
  transform:translate(-50%,-50%);
  width:max-content;
  max-width:none;
  white-space:nowrap;
  transition:transform .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, background .25s ease;
  cursor:default;
}
.orbit-items .pill:hover{
  transform:translate(-50%,-50%) scale(1.12);
  border-color:var(--teal);
  color:var(--text);
  background:var(--bg-card-hover);
  box-shadow:0 10px 24px -12px rgba(22,184,146,.4);
}

/* below the breakpoint the orbit degrades to the original flex pill list —
   a circle with many short-lived labels is unreadable on a narrow screen */
@media (max-width:900px){
  .orbit{ max-width:none; aspect-ratio:auto; height:auto; }
  .orbit-bg,
  .orbit-center,
  .orbit-nodes{ display:none; }
  .orbit-items{
    position:static;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .orbit-items .pill{
    position:static;
    transform:none;
    width:auto;
    max-width:100%;
    white-space:normal;
  }
  .orbit-items .pill:hover{
    transform:translateY(-2px);
  }
}

