/* ============================================================
   reload.rs — redizajn
   Paleta i tipografija
   ============================================================ */

:root {
  /* Surfaces — brend grafit (Vizuelni identitet) */
  --ink:        #1E1F24;   /* primarna tamna (ink-deep) */
  --ink-2:      #2C2E35;   /* grafit — površine/kartice */
  --ink-3:      #3A3C44;   /* uzdignuto */
  --ink-900:    #17181C;   /* najdublja */
  --ink-line:   rgba(255,255,255,0.10);
  --ink-line-2: rgba(255,255,255,0.16);

  --paper:      #FFFFFF;
  --paper-2:    #F4F3EF;   /* topli papir (identitet) */
  --paper-3:    #EAE8E2;
  --line:       rgba(44,46,53,0.12);
  --line-2:     rgba(44,46,53,0.20);

  /* Accent — Reload žuta (#FFC735) */
  --teal:       #FFC735;
  --teal-deep:  #A07B12;
  --teal-dark:  #6E5400;
  --teal-soft:  #FFE49C;
  --teal-glow:  rgba(255,199,53,0.42);

  /* Text */
  --text:       #2C2E35;
  --muted:      #5A5A62;
  --muted-2:    #9C9CA3;
  --on-dark:    #FFFFFF;
  --on-dark-2:  rgba(255,255,255,0.70);
  --on-dark-3:  rgba(255,255,255,0.46);

  /* Type (Vizuelni identitet: Space Grotesk + IBM Plex Mono) */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Space Grotesk", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* Motion */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 56px);
  --nav-h: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Reading-progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--teal); z-index: 200;
  box-shadow: 0 0 12px var(--teal-glow);
  transition: width 0.05s linear;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--teal);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--teal); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }

.section-title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.0;
  margin: 18px 0 0;
}
.section-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 56ch;
  margin: 22px 0 0;
}
.on-dark-block .section-lead { color: var(--on-dark-2); }
.on-dark-block .section-title { color: var(--on-dark); }

mark.hl {
  background: linear-gradient(transparent 58%, var(--teal-glow) 58%);
  color: inherit; padding: 0 2px;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }
.pad-y { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px); }

.dark { background: var(--ink); color: var(--on-dark); }
.light { background: var(--paper); color: var(--text); }
.light-2 { background: var(--paper-2); color: var(--text); }

/* ============================================================
   NAV
   ============================================================ */
/* ===================== NAV BAR (Mega Menu design) ===================== */
.nav.rlbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 3vw, 36px);
  background: rgba(12,15,20,0.72); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--ink-line);
  transition: background 0.4s var(--ease);
}
.nav.rlbar.open { background: rgba(12,15,20,0.96); }
.brand { display: inline-flex; align-items: center; }
.rl-logo { display: flex; align-items: center; z-index: 2; }
.rl-logo img { height: 60px; width: auto; display: block; }

.navitems { display: flex; align-items: center; gap: 2px; height: 100%; }
.navitem { position: relative; height: 100%; display: flex; align-items: center; }
.navitem > button {
  height: 100%; background: none; border: 0; color: #d7d7db;
  font-family: var(--font-display); font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  position: relative; transition: color 0.25s var(--ease);
}
.navitem > button .car { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.35s var(--ease); }
.navitem > button .car svg { width: 100%; height: 100%; display: block; }
.navitem:hover > button, .navitem.active > button { color: #fff; }
.navitem.active > button .car { transform: rotate(90deg); opacity: 1; color: var(--teal); }
.navitem > button::after, .navlink::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--teal);
  transform: scaleX(0); transition: transform 0.35s var(--ease);
}
.navitem.active > button::after { transform: scaleX(1); }
.navitem.cur > button { color: #fff; }
.navitem.cur > button::after { transform: scaleX(1); }
.navlink {
  font-family: var(--font-display); font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  color: #d7d7db; padding: 0 18px; height: 100%; display: inline-flex; align-items: center; position: relative;
  transition: color 0.25s var(--ease);
}
.navlink:hover, .navlink.active { color: #fff; }
.navlink.active::after { transform: scaleX(1); }
.nav-sheet a.active { color: var(--teal); }

.cta { display: flex; align-items: center; gap: 12px; z-index: 2; }
.live {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #cfcfd4;
  padding: 7px 13px; border: 1px solid var(--ink-line); border-radius: 999px;
}
.live .ld { width: 8px; height: 8px; border-radius: 50%; background: #46d17e; position: relative; flex: none; }
.live .ld::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: rgba(70,209,126,0.5); animation: rlping 1.8s var(--ease) infinite; }
@keyframes rlping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.phone {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 14px;
  font-weight: 600; color: #fff; white-space: nowrap; padding: 8px 15px 8px 8px;
  border: 1px solid var(--ink-line); border-radius: 999px; transition: border-color 0.25s, background 0.25s;
}
.phone .pic { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; transition: transform 0.3s var(--ease); }
.phone .pic svg { width: 15px; height: 15px; color: var(--ink); }
.phone:hover { border-color: var(--teal); background: rgba(255,199,53,0.07); }
.phone:hover .pic { transform: rotate(-12deg) scale(1.06); }
.pill {
  background: var(--teal); color: var(--ink); font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; padding: 11px 18px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.pill svg { width: 21px; height: auto; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,199,53,0.32); }
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--ink-line);
  color: var(--on-dark); align-items: center; justify-content: center;
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-sheet {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(12,15,20,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px; padding: 24px var(--pad);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-sheet.open { opacity: 1; transform: none; pointer-events: auto; }
.nav-sheet a { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--on-dark); padding: 14px 0; border-bottom: 1px solid var(--ink-line); letter-spacing: -0.02em; }
.nav-sheet a:last-of-type { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: -8% 0 0 0; z-index: 0;
  background-image: url("team.jpg");
  background-size: cover; background-position: center 28%;
  filter: grayscale(100%) contrast(1.04) brightness(0.62);
  will-change: transform;
}
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,15,20,0.55) 0%, rgba(12,15,20,0.30) 32%, rgba(12,15,20,0.86) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(255,199,53,0.18) 0%, transparent 46%);
}
.hero-grain { position: absolute; inset: 0; z-index: 2; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero .wrap { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(56px, 9vh, 120px); padding-top: calc(var(--nav-h) + 40px); }

.hero h1 {
  color: var(--on-dark);
  font-size: clamp(44px, 8.2vw, 116px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
  max-width: 17ch;
  margin: 22px 0 0;
  transform-origin: left center;
}
/* Hero zoom-out reveal: huge outline letters → solid white */
@media (prefers-reduced-motion: no-preference) {
  .hero h1.zoom-reveal {
    animation: heroZoom 1.25s var(--ease) 0.12s both;
  }
  @keyframes heroZoom {
    0% {
      opacity: 0;
      transform: scale(3.4);
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(243,246,248,0.7);
    }
    14% { opacity: 1; }
    50% {
      color: transparent;
      -webkit-text-stroke: 2px var(--teal);
    }
    100% {
      opacity: 1;
      transform: scale(1);
      color: var(--on-dark);
      -webkit-text-stroke: 0px rgba(243,246,248,0);
    }
  }
  .hero h1.zoom-reveal mark.hl {
    background-repeat: no-repeat;
    animation: heroMark 0.55s var(--ease) 1.0s both;
  }
  @keyframes heroMark {
    0% { background-size: 0% 100%; }
    100% { background-size: 100% 100%; }
  }
}
.hero p.sub {
  color: var(--on-dark-2);
  font-size: clamp(17px, 1.8vw, 22px);
  max-width: 46ch; margin: 26px 0 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  padding: 16px 26px; border-radius: 13px; border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, border-color 0.22s, color 0.22s;
}
.btn-primary { background: var(--teal); color: #2B2200; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px var(--teal-glow); background: #FFD466; }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--on-dark); border-color: var(--ink-line-2); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.32); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(12,15,20,0.28); }

.hero-meta {
  position: absolute; right: var(--pad); bottom: clamp(56px, 9vh, 120px); z-index: 3;
  text-align: right; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--on-dark-3); line-height: 1.9;
}
.hero-meta b { color: var(--teal); font-weight: 500; }

.scroll-cue {
  position: absolute; left: var(--pad); bottom: 22px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark-3); display: flex; align-items: center; gap: 10px;
}
.scroll-cue .line { width: 1.5px; height: 30px; background: linear-gradient(var(--teal), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.3); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Marquee (tools / claims) ---------- */
.marquee { background: var(--ink-2); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em;
  color: var(--on-dark-3); padding: 22px 38px; display: inline-flex; align-items: center; gap: 38px;
}
.marquee-item::after { content: "—"; color: var(--teal); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   USLUGE
   ============================================================ */











/* faint reload-icon watermark bottom-right */



/* ============================================================
   JAVNI SOFTVER
   ============================================================ */
.gov { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.gov-copy .price-tag {
  display: inline-flex; align-items: baseline; gap: 8px; margin-top: 26px;
  font-family: var(--font-display); font-weight: 700;
}
.gov-copy .price-tag .num { font-size: clamp(38px, 5vw, 56px); color: var(--teal); letter-spacing: -0.04em; }
.gov-copy .price-tag .unit { font-size: 16px; color: var(--on-dark-2); font-family: var(--font-mono); }
.gov-copy .note { font-family: var(--font-mono); font-size: 12.5px; color: var(--on-dark-3); margin-top: 6px; letter-spacing: 0.04em; }
.gov-feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.gov-feats li { display: flex; gap: 12px; color: var(--on-dark-2); font-size: 15.5px; }
.gov-feats li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }





/* mini browser frame */














@media (max-width: 460px) { .gc-frame { width: 120px; } }

/* ============================================================
   CENOVNIK
   ============================================================ */







.plan-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--teal); color: #2B2200; font-family: var(--font-mono); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 16px 0 4px; }
.plan-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 46px; letter-spacing: -0.04em; }
.plan-price .per { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

.plan-desc { color: var(--muted); font-size: 14.5px; min-height: 66px; margin-top: 6px; }


.feats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.feats li { display: flex; gap: 11px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.feats li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--teal-deep); margin-top: 2px; }






.price-note { margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-align: center; }

/* ============================================================
   PORTFOLIO
   ============================================================ */






/* monogram watermark (always present, behind screenshot) */


/* optional screenshot — sits above monogram, below label bar */



/* label bar — ALWAYS visible */







/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { position: relative; padding-left: 22px; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--teal); border-radius: 3px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 6vw, 78px); letter-spacing: -0.05em; color: var(--on-dark); line-height: 1; }
.stat .num .plus { color: var(--teal); }
.stat .label { font-size: 15px; color: var(--on-dark-2); margin-top: 12px; max-width: 22ch; }
.stat .sub { font-family: var(--font-mono); font-size: 11.5px; color: var(--on-dark-3); margin-top: 4px; letter-spacing: 0.03em; }

/* ============================================================
   O NAMA
   ============================================================ */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-body p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
.about-body p:first-child { color: var(--text); font-size: clamp(20px, 2.2vw, 26px); font-family: var(--font-display); font-weight: 500; line-height: 1.32; letter-spacing: -0.01em; }
.awards { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.award {
  display: flex; gap: 16px; align-items: flex-start; background: transparent; border: none;
  border-bottom: 1px solid var(--line); border-radius: 0; padding: 22px 0;
}
.award .a-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.award .a-ico svg { width: 22px; height: 22px; }
.award .a-title { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.award .a-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.about-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.founded {
  background: transparent; color: var(--text);
  border: none; border-radius: 0; padding: 0;
  position: relative;
}
.founded .f-top {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2);
}
.founded .f-top .f-rule { flex: 1; height: 1.5px; background: var(--line-2); }
.founded .f-year {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; line-height: 0.86;
  font-size: clamp(76px, 11vw, 132px); margin: 14px 0 0; display: inline-block;
}
.founded .f-year .f-2 {
  color: transparent; -webkit-text-stroke: 2px var(--ink); text-stroke: 2px var(--ink);
}
.founded .f-year .f-1 { color: var(--teal); }
.founded .f-ladder { margin: 26px 0 0; display: grid; }
.founded .f-stat {
  display: flex; align-items: baseline; gap: 12px; padding: 13px 0;
  border-top: 1.5px solid var(--line);
}
.founded .f-stat:first-child { border-top: none; }
.founded .f-stat b {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em;
  color: var(--text); min-width: 62px;
}
.founded .f-stat span { font-size: 14px; color: var(--muted); }
.founded > p { color: var(--muted); font-size: 14.5px; margin: 24px 0 0; line-height: 1.55; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(34px, 5.5vw, 68px); color: var(--on-dark); letter-spacing: -0.04em; line-height: 0.98; }
.cta-band p { color: var(--on-dark-2); font-size: 19px; margin: 22px auto 0; max-width: 50ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

.footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--ink-line); }
.footer .wrap { padding-top: 70px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand-img img { height: 40px; }
.foot-brand p { color: var(--on-dark-2); font-size: 15px; margin: 18px 0 0; max-width: 34ch; }
.foot-brand .foot-social { margin-top: 22px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 500; margin: 0 0 18px; }
.foot-col a, .foot-col span { display: block; color: var(--on-dark-2); font-size: 15px; padding: 5px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--teal); }
/* giant centered brand mark */
.foot-mark { margin-top: clamp(48px, 7vw, 84px); display: flex; justify-content: center; overflow: hidden; }
.foot-mark img { height: clamp(54px, 8vw, 104px); width: auto; opacity: 0.9; }
/* modernized bottom row */
.foot-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }
.foot-bot b { color: var(--teal); font-weight: 500; }
.foot-bot a { color: inherit; transition: color 0.2s; }
.foot-bot a:hover b { color: var(--on-dark); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--ink-line); display: grid; place-items: center; color: var(--on-dark-2); transition: all 0.22s var(--ease); }
.foot-social a:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.foot-social svg { width: 19px; height: 19px; }

/* ============================================================
   EXPAND SHOWCASE (Apple-style scroll zoom)
   ============================================================ */
.expand { position: relative; height: 240vh; background: var(--ink); }
.expand-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.expand-label {
  position: absolute; top: clamp(80px, 14vh, 150px); left: 0; right: 0; z-index: 1; text-align: center;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-3);
}
.expand-frame {
  position: absolute; inset: 0; overflow: hidden; will-change: transform, border-radius;
  transform: scale(0.46); border-radius: 60px;
  box-shadow: 0 60px 140px -50px rgba(0,0,0,0.7);
}
.expand-bg {
  position: absolute; inset: 0;
  background: url("team.jpg") center 26% / cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.62);
}
.expand-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,15,20,0.15) 0%, rgba(12,15,20,0.25) 45%, rgba(12,15,20,0.85) 100%); }
.expand-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 6vw, 96px); will-change: opacity, transform;
}
.expand-overlay .eyebrow { margin-bottom: 16px; }
.expand-overlay h2 {
  color: var(--on-dark); font-size: clamp(30px, 6vw, 88px); letter-spacing: -0.04em; line-height: 0.98; max-width: 18ch;
}
.expand-overlay .ex-sub { color: var(--on-dark-2); font-size: clamp(16px, 1.8vw, 21px); margin: 20px 0 0; max-width: 44ch; }

/* generic scroll-zoom settle */
[data-zoom] { will-change: transform; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: 0.08s; }
[data-reveal][data-d="2"] { transition-delay: 0.16s; }
[data-reveal][data-d="3"] { transition-delay: 0.24s; }
[data-reveal][data-d="4"] { transition-delay: 0.32s; }
[data-reveal][data-d="5"] { transition-delay: 0.40s; }
[data-reveal.scale], [data-reveal="scale"] { transform: translateY(34px) scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none !important; }
  .scroll-cue .line, .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .expand { height: auto; }
  .expand-sticky { position: static; height: 70vh; }
  .expand-frame { transform: none !important; border-radius: 0 !important; }
  .expand-overlay { opacity: 1 !important; transform: none !important; }
  [data-zoom] { transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .navitem > button, .navlink { padding: 0 12px; font-size: 14.5px; }
  .live { display: none; }
}
@media (max-width: 980px) {
  .svc-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .gov, .about { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .hero-meta { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pf-item, .pf-item.wide, .pf-item.tall { grid-column: span 6; aspect-ratio: 4/3; }
}
@media (max-width: 900px) {
  .navitems { display: none; }
  .phone .pnum { display: none; }
  .phone { padding: 7px; gap: 0; }
  .nav-burger { display: inline-flex; }
  .mega, .scrim { display: none !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pill { display: none; }
  .nav-burger { display: inline-flex; }
  .svc-grid, .price-grid, .stats, .foot-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-item, .pf-item.wide, .pf-item.tall { grid-column: span 1; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 10px; }
}
