/* SKY I shared components. Depends on tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-l);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%) fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 600; letter-spacing: -.02em; line-height: 1.04; margin: 0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Label above a heading */
.eyebrow {
  font-family: var(--font-l); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Floating glass navigation */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: 18px;
  background: rgba(60, 74, 77, .42);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .35);
  max-width: calc(100vw - 32px);
}
.nav__brand { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; font-family: var(--font-h); font-weight: 600; font-size: .9375rem; letter-spacing: .04em; white-space: nowrap; }
.nav__brand img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0 8px; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: 12px;
  font-size: var(--fs-small); color: var(--text-2); white-space: nowrap; transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: var(--glass); }
.nav__cta {
  padding: 10px 18px; border-radius: 12px; background: var(--accent);
  font-size: var(--fs-small); font-weight: 500; color: #fff; white-space: nowrap; transition: background .25s;
}
.nav__cta:hover { background: var(--accent-2); }
.nav__dots {
  width: 38px; height: 38px; border-radius: 12px; background: var(--glass);
  display: grid; place-items: center;
}
.nav__dots span { display: grid; grid-template-columns: 4px 4px; gap: 4px; }
.nav__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-2); }
.nav__sheet {
  position: fixed; top: 76px; left: 16px; right: 16px; z-index: 49;
  padding: 12px; border-radius: var(--r);
  background: rgba(47, 58, 60, .86);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--glass-line);
  display: none;
}
.nav__sheet.is-open { display: block; }
.nav__sheet a { display: block; padding: 14px 16px; border-radius: 12px; font-family: var(--font-h); font-size: 1.25rem; }
.nav__sheet a:hover { background: var(--glass); }
@media (max-width: 767px) {
  .nav { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .nav__links { display: none; }
}
@media (min-width: 768px) { .nav__sheet, .nav__dots { display: none !important; } }

/* Buttons: dark pill with orange square and arrow */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 18px 6px 6px; border-radius: 14px;
  background: rgba(38, 48, 47, .72); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: var(--fs-small); font-weight: 500; color: var(--text);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn__ico {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--glass-2); transition: background .3s, transform .3s var(--ease);
}
.btn__ico svg { width: 14px; height: 14px; }
.btn:hover { background: rgba(38, 48, 47, .92); }
.btn:hover .btn__ico { transform: rotate(45deg); }
.btn--primary .btn__ico { background: var(--accent); }
.btn--primary:hover .btn__ico { background: var(--accent-2); }

/* Panels */
.panel {
  background: var(--panel); border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow: var(--shadow);
}
.glass {
  background: rgba(255, 255, 255, .12); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: var(--r-s);
}

/* Stats */
.stat {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.stat__n { white-space: nowrap; font-family: var(--font-h); font-size: var(--fs-stat); font-weight: 500; line-height: .9; letter-spacing: -.04em; }
.stat__l { font-size: var(--fs-small); color: var(--text-2); text-align: right; padding-bottom: 6px; }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%; padding: 22px 0; text-align: center;
  font-family: var(--font-h); font-size: var(--fs-h3); font-weight: 500;
  color: var(--text-3); transition: color .35s var(--ease);
}
.acc__head:hover, .acc__head[aria-expanded="true"] { color: var(--text); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__body > div { overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.acc__item.is-open .acc__body > div { visibility: visible; transition: none; }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__inner { padding: 0 0 26px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.acc__inner p { color: var(--text-2); font-size: var(--fs-small); max-width: 36ch; }
.acc__inner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-s); }

/* Hotspots */
.hot { position: absolute; width: 0; height: 0; }
.hot__dot {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25);
}
.hot__dot--accent { background: var(--accent); box-shadow: 0 0 0 6px rgba(242, 107, 42, .28); }
.hot__dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6); animation: hot-pulse 2.4s var(--ease) infinite;
}
@keyframes hot-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.hot__tag {
  position: absolute; white-space: nowrap; padding: 8px 14px;
  font-size: var(--fs-small); color: var(--text);
  background: rgba(60, 74, 77, .55); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 10px; top: -18px; left: 20px;
}
.hot--left .hot__tag { left: auto; right: 20px; }

/* Data circle (survey readings) */
.reading {
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: rgba(30, 38, 40, .55); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.reading small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.reading b { font-family: var(--font-h); font-weight: 500; font-size: 1.05rem; }

/* Chips */
.chip {
  display: inline-flex; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--glass-line); background: var(--glass);
  font-size: var(--fs-small); color: var(--text);
}

/* Footer */
.footer { padding: var(--s-5) 0 var(--s-4); color: var(--text-2); font-size: var(--fs-small); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer a:hover { color: var(--text); }

/* Reveal: visible by default; motion.js adds the hidden state only when it can animate */
.rv--hidden { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
