@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --background: hsl(222 47% 5%);
  --foreground: hsl(210 40% 96%);
  --card: hsl(221 39% 8%);
  --primary: hsl(187 92% 45%);
  --primary-foreground: hsl(222 47% 6%);
  --muted-foreground: hsl(215 20% 62%);
  --border: hsl(220 26% 15%);
  --input: hsl(220 26% 18%);
  --destructive: hsl(0 72% 51%);
  --max: 1152px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.font-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }

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

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

/* ---------------- geo grid + backdrop ---------------- */
.bg-geo-grid {
  background-image:
    linear-gradient(to right, hsl(217 30% 65% / 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(217 30% 65% / 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
}

.geo-route { stroke-dasharray: 7 11; animation: sg-geo-dash 36s linear infinite; }
.geo-route-slow { stroke-dasharray: 4 14; animation: sg-geo-dash 55s linear infinite reverse; }
@keyframes sg-geo-dash { to { stroke-dashoffset: -720; } }

.geo-node-dot { animation: sg-geo-pulse 3.4s ease-in-out infinite; }
@keyframes sg-geo-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.geo-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.geo-backdrop.dim .bg-geo-grid { opacity: .5; }
.geo-backdrop .fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, hsl(222 47% 5%) 78%);
}
.geo-backdrop svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  .geo-route, .geo-route-slow, .geo-node-dot, .marquee-track { animation: none !important; }
}

/* ---------------- header ---------------- */
header.site {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
header.site.scrolled {
  background: hsl(222 47% 5% / 0.9);
  backdrop-filter: blur(10px);
  border-color: var(--border);
}
header.site .barinner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 48px; width: 48px;
  flex-shrink: 0;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name { font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.brand-text .sub { margin-top: 4px; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-foreground); }

nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a.navlink {
  font-size: 14px;
  color: var(--muted-foreground);
  transition: color .2s;
}
nav.primary a.navlink:hover, nav.primary a.navlink.active { color: var(--primary); }
.btn-demo-nav {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 16px;
  border: 1px solid hsl(187 92% 45% / 0.6);
  background: hsl(187 92% 45% / 0.1);
  color: var(--primary);
  font-size: 13.5px; font-weight: 500;
  transition: background-color .2s, color .2s;
}
.btn-demo-nav:hover { background: var(--primary); color: var(--primary-foreground); }

.nav-toggle {
  display: none;
  height: 40px; width: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: hsl(222 47% 5% / 0.97);
  backdrop-filter: blur(10px);
  padding: 16px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a.navlink {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid hsl(220 26% 15% / .6);
  font-size: 16px;
}
.mobile-nav a.navlink.active { color: var(--primary); }
.mobile-nav .btn-demo-nav { margin-top: 14px; width: 100%; height: 44px; justify-content: center; }

@media (max-width: 860px) {
  nav.primary { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px;
  font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent;
  transition: filter .2s, transform .2s, border-color .2s, color .2s, background-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline { border-color: var(--border); color: var(--foreground); font-weight: 500; }
.btn-outline:hover { border-color: hsl(187 92% 45% / 0.6); color: var(--primary); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.hero .wrap { position: relative; padding: 140px 24px 64px; width: 100%; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
  background: hsl(221 39% 8% / .6);
  padding: 7px 14px;
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted-foreground);
}
.pulse-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--primary); }
h1.hero-h1 {
  margin: 28px 0 0;
  max-width: 780px;
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h1.hero-h1 .accent { color: var(--primary); }
.hero-lede { margin: 24px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--muted-foreground); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.stat-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
.stat-cell { background: hsl(221 39% 8% / .7); padding: 20px 24px; backdrop-filter: blur(4px); }
.stat-cell .val { font-size: 30px; font-weight: 600; }
.stat-cell .lbl { margin-top: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-foreground); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- generic section ---------------- */
.section { padding: 88px 0; }
.section.bordered { border-bottom: 1px solid var(--border); }
.section.tinted { background: hsl(221 39% 8% / .3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--primary); }
.section-head h2, h2.std {
  margin: 14px 0 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
}
.section-head p, .section-desc { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--muted-foreground); }

/* ---------------- client marquee ---------------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: hsl(221 39% 8% / .3); padding: 40px 0; }
.strip-label { text-align: center; margin: 0 0 32px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--muted-foreground); }
.marquee-mask { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 56px; padding-right: 56px; animation: sg-marquee 46s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes sg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-mark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: hsl(215 20% 62% / .65); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; transition: color .3s; }
.client-mark:hover { color: var(--foreground); }
.client-mark .diamond { height: 8px; width: 8px; transform: rotate(45deg); border: 1px solid currentColor; flex-shrink: 0; }
.marquee-item { display: inline-flex; align-items: center; flex-shrink: 0; }
.marquee-logo { height: 26px; max-width: 130px; object-fit: contain; filter: grayscale(1) brightness(1.7) opacity(0.5); transition: filter .3s; }
.marquee-item:hover .marquee-logo { filter: grayscale(0) opacity(0.9); }

/* ---------------- dossier / numbered list ---------------- */
.dossier-list { border-top: 1px solid var(--border); }
.dossier-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color .2s;
}
.dossier-item .idx { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--primary); }
.dossier-item h3 { margin: 0; font-size: 20px; font-weight: 600; transition: color .2s; }
.dossier-item:hover h3 { color: var(--primary); }
.dossier-item p { margin: 8px 0 0; max-width: 560px; font-size: 14.5px; line-height: 1.6; color: var(--muted-foreground); }
.dossier-item .arrow { color: var(--muted-foreground); transition: transform .2s, color .2s; }
.dossier-item:hover .arrow { color: var(--primary); transform: translate(3px, -3px); }
@media (max-width: 700px) { .dossier-item { grid-template-columns: 1fr; gap: 6px; } .dossier-item .arrow { display: none; } }

/* ---------------- fact list ---------------- */
.fact-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fact-row { display: grid; grid-template-columns: 128px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.fact-row:last-child { border-bottom: none; }
.fact-row .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--primary); }
.fact-row .v { font-size: 14.5px; line-height: 1.6; color: var(--muted-foreground); }
@media (max-width: 640px) { .fact-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------------- card grid (bordered) ---------------- */
.card-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card-cell { background: hsl(221 39% 8% / .7); padding: 30px 26px; transition: background-color .3s; }
.card-cell:hover { background: hsl(221 39% 8% / .95); }
.card-icon { display: flex; align-items: center; justify-content: center; height: 44px; width: 44px; border: 1px solid hsl(187 92% 45% / 0.4); background: hsl(187 92% 45% / 0.1); }
.card-cell h4, .card-cell h3 { margin: 18px 0 0; font-size: 18px; font-weight: 600; }
.card-cell p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }

/* ---------------- timeline ---------------- */
.timeline { margin-top: 12px; border-left: 1px solid var(--border); }
.tl-item { position: relative; padding: 0 0 44px 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -5px; top: 6px; height: 9px; width: 9px; transform: rotate(45deg); border: 1px solid var(--primary); background: var(--background); }
.tl-item .era { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--primary); }
.tl-item h3 { margin: 8px 0 0; font-size: 19px; font-weight: 600; }
.tl-item p { margin: 8px 0 0; max-width: 620px; font-size: 14.5px; line-height: 1.6; color: var(--muted-foreground); }

/* ---------------- mission band ---------------- */
.mission { text-align: center; }
.mission .wrap { max-width: 760px; padding: 76px 24px; }
.mission blockquote { margin: 22px 0 0; font-size: clamp(21px,2.6vw,29px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--border); text-align: center; }
.cta-band .wrap { max-width: 640px; padding: 88px 24px; position: relative; }
.cta-band h2 { font-size: clamp(26px,3.6vw,36px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.cta-band p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--muted-foreground); }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------------- watchpoint mock ---------------- */
.wp-mock { border: 1px solid var(--border); background: hsl(221 39% 8% / .8); }
.wp-mock .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.wp-mock .dot { height: 8px; width: 8px; border-radius: 50%; background: hsl(220 26% 22%); }
.wp-mock .bar .title { margin-left: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.wp-mock .screen { padding: 20px; }
.wp-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--border); margin-bottom: 10px; font-size: 12.5px; }
.wp-row .l { display: flex; align-items: center; gap: 10px; color: var(--foreground); }
.wp-row .l .led { height: 7px; width: 7px; border-radius: 50%; background: var(--primary); }
.wp-row .r { color: var(--muted-foreground); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.wp-map { margin-top: 4px; height: 150px; border: 1px solid var(--border); position: relative; overflow: hidden; }

/* ---------------- pages: split section ---------------- */
.split { display: grid; gap: 56px; align-items: center; }
.split.two { grid-template-columns: 1fr 1fr; }
.split.wide-left { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .split.two, .split.wide-left { grid-template-columns: 1fr; } }

/* ---------------- services detail rows ---------------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 76px 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail.flip .txt { order: 2; }
.svc-detail.flip .box { order: 1; }
.svc-detail .idx { font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--primary); }
.svc-detail h2 { margin: 12px 0 0; font-size: clamp(24px,3vw,32px); font-weight: 600; letter-spacing: -0.015em; }
.svc-detail p { margin-top: 18px; max-width: 460px; font-size: 15px; line-height: 1.65; color: var(--muted-foreground); }
.svc-box { border: 1px solid var(--border); background: hsl(221 39% 8% / .6); }
.svc-box .hd { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.svc-box .hd .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-foreground); }
.svc-box ul { }
.svc-box li { display: flex; align-items: flex-start; gap: 10px; padding: 14px 24px; font-size: 14px; border-bottom: 1px solid var(--border); }
.svc-box li:last-child { border-bottom: none; }
.svc-box li .check { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; gap: 28px; } .svc-detail.flip .txt, .svc-detail.flip .box { order: unset; } }

/* ---------------- callout ---------------- */
.callout { border-left: 2px solid var(--primary); padding-left: 26px; }
.callout h2 { margin: 0; font-size: clamp(22px,2.8vw,30px); font-weight: 600; letter-spacing: -.01em; }
.callout p { margin-top: 14px; max-width: 640px; font-size: 15px; line-height: 1.65; color: var(--muted-foreground); }

/* ---------------- steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.step { border-top: 2px solid hsl(187 92% 45% / 0.5); padding-top: 22px; }
.step .n { font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--primary); }
.step h3 { margin: 12px 0 0; font-size: 19px; font-weight: 600; }
.step p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- clients grid ---------------- */
.sector-block { margin-bottom: 56px; }
.sector-block:last-child { margin-bottom: 0; }
.sector-head { display: flex; align-items: center; gap: 16px; }
.sector-head h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; }
.sector-head .rule { flex: 1; height: 1px; background: var(--border); }
.sector-head .count { font-size: 12px; color: var(--muted-foreground); }
.sector-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.sector-grid .cell { background: hsl(221 39% 8% / .6); height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px 20px; transition: background-color .3s; }
.sector-grid .cell:hover { background: hsl(221 39% 8% / .9); }
.client-logo { height: 38px; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(1.6) opacity(0.55); transition: filter .3s; }
.sector-grid .cell:hover .client-logo { filter: grayscale(0) opacity(1); }
.cell-name { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: hsl(215 20% 62% / .55); text-align: center; transition: color .3s; }
.sector-grid .cell:hover .cell-name { color: var(--muted-foreground); }
.sector-grid .cell.text-only { flex-direction: row; }
@media (max-width: 760px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sector-grid { grid-template-columns: 1fr; } }

.note-box { display: flex; align-items: flex-start; gap: 12px; border: 1px dashed var(--border); padding: 16px 20px; font-size: 14px; color: var(--muted-foreground); margin-bottom: 48px; }
.note-box svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

.quote-block { margin-top: 76px; border: 1px dashed var(--border); padding: 44px 32px; text-align: center; }
.quote-block blockquote { margin: 20px auto 0; max-width: 640px; font-size: 21px; font-weight: 500; line-height: 1.55; }
.quote-block figcaption { margin-top: 20px; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-foreground); }

/* ---------------- contact ---------------- */
.contact-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 8px; }
.contact-path { background: hsl(221 39% 8% / .7); padding: 34px 32px; cursor: pointer; transition: background-color .3s; border: none; text-align: left; width: 100%; color: var(--foreground); font-family: inherit; }
.contact-path.active, .contact-path:hover { background: hsl(221 39% 8% / .95); }
.contact-path h2 { margin: 18px 0 0; font-size: 19px; font-weight: 600; color: var(--foreground); }
.contact-path p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.contact-path .picked { margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--primary); display: none; align-items: center; gap: 6px; }
.contact-path.active .picked { display: inline-flex; }
@media (max-width: 760px) { .contact-paths { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; margin-top: 64px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

form.inquiry { border: 1px solid var(--border); background: hsl(221 39% 8% / .5); padding: 32px 34px; }
form.inquiry h2 { margin: 0; font-size: 19px; font-weight: 600; }
.field-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span2 { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-foreground); }
.field input, .field select, .field textarea {
  height: 44px; width: 100%;
  border: 1px solid var(--input);
  background: var(--background);
  color: var(--foreground);
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field .err { font-size: 12px; color: var(--destructive); }
.form-submit { margin-top: 28px; }
.form-success { border: 1px solid hsl(187 92% 45% / 0.4); background: hsl(187 92% 45% / 0.06); padding: 48px 32px; text-align: center; }
.form-success .tick { margin: 0 auto; display: flex; align-items: center; justify-content: center; height: 48px; width: 48px; border: 1px solid hsl(187 92% 45% / 0.5); background: hsl(187 92% 45% / 0.15); }
.form-success h2 { margin: 22px 0 0; font-size: 22px; font-weight: 600; }
.form-success p { margin: 12px auto 0; max-width: 380px; font-size: 14.5px; line-height: 1.6; color: var(--muted-foreground); }
.form-success p a { color: var(--primary); }
.form-success p a:hover { text-decoration: underline; }
.form-success.hidden, form.inquiry.hidden { display: none; }

aside.direct h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; }
.detail-list { margin-top: 22px; display: flex; flex-direction: column; gap: 20px; }
.detail-item { display: flex; align-items: flex-start; gap: 12px; }
.detail-item svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.detail-item .lbl { font-size: 14px; font-weight: 500; }
.detail-item .val { margin-top: 2px; font-size: 14px; color: var(--muted-foreground); }
.detail-item .val a { transition: color .2s; }
.detail-item .val a:hover { color: var(--primary); }
.aside-note { margin-top: 30px; border: 1px solid var(--border); background: hsl(221 39% 8% / .5); padding: 18px 20px; font-size: 13.5px; line-height: 1.6; color: var(--muted-foreground); }

/* ---------------- footer ---------------- */
footer.site { border-top: 1px solid var(--border); background: hsl(221 39% 8% / .4); }
.footer-top { padding: 64px 0 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .name { font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.footer-about { margin-top: 18px; max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.footer-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags span { border: 1px solid var(--border); padding: 5px 10px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-foreground); }
.footer-col h3 { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.footer-col ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--muted-foreground); transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-col .fitem { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--muted-foreground); }
.footer-col .fitem svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; color: var(--muted-foreground); }
.footer-bottom .tag { text-transform: uppercase; letter-spacing: .14em; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------------- reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- misc ---------------- */
.icon { width: 20px; height: 20px; }
.icon-sm { width: 16px; height: 16px; }
