/* palette: bg=#070A12 fg=#F4F6FB accent=#2D7FF9 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #070A12;          /* dominant near-black navy background */
  --bg-alt: #0E1626;      /* alternating section background */
  --bg-panel: #111C30;    /* card / panel surface */
  --fg: #F4F6FB;          /* primary off-white text */
  --fg-soft: #C7CEDB;     /* slightly softer foreground */
  --muted: #7E899C;       /* secondary grey-blue text */
  --accent: #2D7FF9;      /* electric brand blue from reference hero/labs */
  --accent-deep: #1B63D6; /* darker accent for hover */
  --accent-soft: rgba(45, 127, 249, 0.12);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead { color: var(--fg-soft); font-size: clamp(1rem, 2.4vw, 1.18rem); line-height: 1.72; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border: 1px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light { background: var(--fg); color: var(--bg); }
.btn--light:hover { transform: translateY(-2px); opacity: .9; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link:hover { gap: 14px; color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  background: rgba(7, 10, 18, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(7, 10, 18, 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand__mark { color: var(--accent); font-size: 20px; line-height: 1; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
  }
  .nav a {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--fg-soft);
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
  .nav a.is-active { color: #fff; background: var(--accent); }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 11px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,18,0.55) 0%, rgba(7,10,18,0.25) 35%, rgba(7,10,18,0.92) 100%),
    linear-gradient(90deg, rgba(7,10,18,0.55) 0%, rgba(7,10,18,0.05) 60%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 120px; }
.hero__eyebrow { color: #cfe0ff; }
.hero__eyebrow::before { background: #cfe0ff; }
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero h1 .soft { color: var(--fg-soft); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__body { max-width: 46ch; margin: 28px 0 34px; color: var(--fg-soft); font-size: clamp(1rem, 2.4vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- section head ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p { margin-top: 22px; }
.section-head--split { display: grid; gap: 28px; max-width: none; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
  .section-head--split p { margin-top: 0; }
}

/* ---------- work / case study cards ---------- */
.work-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 820px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { display: block; }
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-card__meta .tag { color: var(--fg-soft); }
.work-card h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.08; margin-bottom: 12px; transition: color .3s var(--ease); }
.work-card:hover h3 { color: var(--accent); }
.work-card p { color: var(--muted); max-width: 46ch; }

/* ---------- manifesto (statement band) ---------- */
.manifesto { background: var(--bg-alt); text-align: left; }
.manifesto__inner { max-width: 1000px; }
.manifesto blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.manifesto blockquote em { font-style: normal; color: var(--accent); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(4rem, 10vw, 8rem); line-height: 0.6; color: var(--accent); display: block; margin-bottom: 8px; }
.manifesto__cite { margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- labs / feature statement + tiles ---------- */
.labs__head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 80px); }
@media (min-width: 900px) { .labs__head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; } }
.labs__head h2 { font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: 0.98; letter-spacing: -0.03em; }
.labs__head h2 em { font-style: normal; color: var(--accent); }
.labs__head p { color: var(--fg-soft); }

.tile-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.tile__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.tile h3 { font-size: 1.3rem; margin: 20px 0 10px; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- services list ---------- */
.svc-list { border-top: 1px solid var(--border); }
.svc-row {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .4s var(--ease);
}
@media (min-width: 860px) { .svc-row { grid-template-columns: 80px 1fr 1.2fr; gap: 40px; align-items: baseline; } }
.svc-row:hover { padding-left: 12px; }
.svc-row__idx { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.svc-row h3 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); letter-spacing: -0.02em; }
.svc-row p { color: var(--muted); }
.svc-row__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row__tags span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }

/* ---------- stats band ---------- */
.stats { background: var(--accent); color: #fff; }
.stats__grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.stat__label { margin-top: 14px; color: rgba(255,255,255,0.86); font-size: 15px; line-height: 1.5; }
.stats .eyebrow { color: rgba(255,255,255,0.9); }
.stats .eyebrow::before { background: rgba(255,255,255,0.9); }

/* ---------- testimonial ---------- */
.quote__inner { max-width: 940px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.24; letter-spacing: -0.02em; }
.quote blockquote em { font-style: normal; color: var(--accent); }
.quote__by { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: #fff;
  flex: none;
}
.quote__by-text strong { display: block; font-weight: 600; }
.quote__by-text span { color: var(--muted); font-size: 14px; }

/* ---------- team / principles cards ---------- */
.people-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 28px;
  background: var(--bg-panel);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.person:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.person .avatar { width: 56px; height: 56px; margin-bottom: 22px; }
.person h3 { font-size: 1.2rem; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 6px 0 14px; }
.person p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 26px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; transition: transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq__item[data-open="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 0 26px; color: var(--muted); max-width: 62ch; }

/* ---------- cta band ---------- */
.cta { background: var(--bg-alt); }
.cta__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.0; letter-spacing: -0.03em; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { margin: 24px auto 34px; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.contact-info dl { margin: 0; display: grid; gap: 26px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; color: var(--fg-soft); font-size: 17px; line-height: 1.6; }
.contact-info dd a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--fg);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(45,127,249,0.06); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.form__consent input { margin-top: 3px; accent-color: var(--accent); }
.form .btn { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: #05070C; border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { font-size: 22px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 15px; }
.footer__col h4 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 15px; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.footer__bottom .mono { font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- legal / article pages ---------- */
.page-hero { padding: clamp(120px, 16vw, 180px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.0; letter-spacing: -0.03em; }
.page-hero p { margin-top: 20px; max-width: 60ch; color: var(--muted); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.prose p { color: var(--fg-soft); margin-bottom: 18px; }
.prose ul { color: var(--fg-soft); padding-left: 22px; margin-bottom: 18px; display: grid; gap: 8px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--fg); }

/* ---------- thanks ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px 20px 80px; }
.thanks__inner { max-width: 620px; }
.thanks__mark { width: 76px; height: 76px; border-radius: 22px; background: var(--accent-soft); border: 1px solid var(--accent); display: grid; place-items: center; margin: 0 auto 32px; color: var(--accent); }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; }
.thanks p { margin: 22px auto 34px; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
}

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); border: 1px solid var(--border); padding: 30px 32px; max-width: 460px; border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; font-size: 14px; transition: background .25s var(--ease), color .25s var(--ease); }
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { background: rgba(255,255,255,0.05); }
.cookie-popup__actions button:last-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- misc ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(7,10,18,0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; color: var(--fg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 90; }
.to-top[data-show="true"] { opacity: 1; pointer-events: all; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }
