/* TracknTray: Hybrid consulting clarity + dark neon accents.
   Fonts: local Roboto, fall back to Verdana/Arial. */

@font-face{
  font-family:"Roboto";
  src:url("fonts/roboto-regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Roboto";
  src:url("fonts/roboto-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --navy:#1F4E78;
  --black:#0a0f18;
  --black2:#1A1A1A;
  --cyan:#00ffff;
  --paper:#ffffff;
  --paper2:#f6f8fb;
  --ink:#0b1220;
  --muted:rgba(11,18,32,.70);
  --line:rgba(11,18,32,.12);
  --lineDark:rgba(255,255,255,.12);
  --shadow: 0 18px 70px rgba(2,10,22,.12);

  --max: 1180px;
  --pad: clamp(18px, 3vw, 34px);
  --section: clamp(60px, 7.5vw, 104px);
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 46%, #f6f8fb 100%);
  font-family: "Roboto", Verdana, Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Section rhythm */
section{ padding: var(--section) 0; }
.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(11,18,32,.14), transparent);
}
.divider.dark{
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}

/* Header */
.header{
  position:sticky; top:0; z-index:60;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(11,18,32,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner{
  min-height: 74px;
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
}
.brand{ display:flex; align-items:center; gap: 12px; min-width: 220px; }
.brand img{ height: 34px; width:auto; display:block; }
.brand .brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .brand-name strong{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(11,18,32,.96);
}
.brand .brand-name span{
  font-size: 12px;
  color: rgba(11,18,32,.58);
  margin-top: 3px;
  font-weight: 700;
}
.nav{
  display:flex; align-items:center; gap: 8px;
}
.nav a, .nav button{
  font: inherit;
  border:0;
  background:none;
  color: rgba(11,18,32,.84);
  cursor:pointer;
}
.nav-link{
  display:inline-flex;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-link:hover{ background: rgba(31,78,120,.08); color: rgba(11,18,32,.95); }
.nav-item{ position:relative; }
.nav-item.has-dd .nav-link::after{
  content:"";
  display:inline-block;
  margin-left: 8px;
  width:8px;height:8px;
  border-right:2px solid rgba(11,18,32,.55);
  border-bottom:2px solid rgba(11,18,32,.55);
  transform: translateY(-1px) rotate(45deg);
}
.dd{
  position:absolute;
  left:0; top: calc(100% + 10px);
  width: 340px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.12);
  box-shadow: 0 20px 70px rgba(2,10,22,.16);
  opacity:0; pointer-events:none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}
.dd::before{
  content:"";
  position:absolute;
  left:0; right:0; top:-14px;
  height: 16px;
}
.nav-item.has-dd:hover .dd,
.nav-item.has-dd:focus-within .dd{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}
.dd a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.85);
}
.dd a:hover{
  border-color: rgba(0,255,255,.18);
  box-shadow: 0 18px 60px rgba(31,78,120,.10);
}
.dd strong{ display:block; font-weight: 800; letter-spacing:-0.01em; }
.dd span{ display:block; margin-top: 4px; color: rgba(11,18,32,.62); font-size: 13px; }

.cta{ display:flex; align-items:center; gap: 10px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.14);
  background: rgba(255,255,255,.92);
  color: rgba(11,18,32,.92);
  font-weight: 800;
}
.btn:hover{ border-color: rgba(31,78,120,.22); box-shadow: 0 16px 60px rgba(31,78,120,.10); }
.btn.primary{
  background: linear-gradient(135deg, rgba(31,78,120,.16), rgba(0,255,255,.08)), rgba(255,255,255,.96);
  border-color: rgba(31,78,120,.18);
}
.btn.neon{
  background: rgba(0,255,255,.10);
  border-color: rgba(0,255,255,.26);
}
.btn.small{ padding: 10px 12px; border-radius: 12px; }

.menu-btn{
  display:none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.14);
  background: rgba(255,255,255,.92);
  font: inherit;
  cursor:pointer;
  font-weight: 800;
}

/* Mobile */
.mobile{
  display:none;
  border-top: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
}
body.nav-open .mobile{ display:block; }
.mobile .inner{
  padding: 14px var(--pad) 18px;
  display:grid;
  gap: 10px;
}
.mrow{
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.90);
}
.mrow button{
  border:0;
  background:none;
  font: inherit;
  cursor:pointer;
  font-weight: 800;
}
.mrow a{ font-weight: 800; color: rgba(11,18,32,.90); }
.maccordion{
  display:none;
  padding: 0 12px 12px;
  margin-left: 10px;
  border-left: 1px solid rgba(11,18,32,.10);
}
.maccordion a{
  display:block;
  padding: 10px 0;
  color: rgba(11,18,32,.78);
  font-weight: 700;
}
.maccordion a:hover{ color: rgba(11,18,32,.94); }

/* Headings */
.h1{
  margin: 14px 0 10px;
  font-size: clamp(40px, 4.9vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.h2{
  margin:0;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.h3{
  margin:0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 900;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head p{ margin:0; color: var(--muted); max-width: 70ch; }

/* Hero (dark) */
.hero-dark{
  background:
    radial-gradient(1100px 600px at 22% 15%, rgba(31,78,120,.40), transparent 62%),
    radial-gradient(900px 520px at 78% 22%, rgba(0,255,255,.22), transparent 60%),
    radial-gradient(900px 620px at 50% 120%, rgba(31,78,120,.28), transparent 58%),
    linear-gradient(180deg, #050913 0%, #060c18 42%, #0a0f18 100%);
  color: #f5fbff;
  padding: calc(var(--section) - 10px) 0 var(--section);
  position:relative;
  overflow:hidden;
}
.hero-dark::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity:.08;
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items:start;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(245,251,255,.88);
  font-size: 13px;
  font-weight: 800;
}
.eyebrow i{
  width:9px;height:9px;border-radius:50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(0,255,255,.10);
}
.lede{
  margin: 0 0 18px;
  color: rgba(245,251,255,.86);
  font-size: 18px;
  max-width: 62ch;
}
.accent{
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(0,255,255,.22);
}
.hero-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(245,251,255,.80);
}
.hero-dark .btn.neon{
  color: rgba(245,251,255,.94);
  border-color: rgba(0,255,255,.38);
  background: rgba(0,255,255,.12);
  box-shadow: 0 0 0 1px rgba(0,255,255,.10), 0 18px 70px rgba(0,255,255,.10);
}
.hero-dark .btn.neon:hover{
  border-color: rgba(0,255,255,.55);
  box-shadow: 0 0 0 1px rgba(0,255,255,.16), 0 22px 80px rgba(0,255,255,.14);
}
.dash-dark .btn.neon{
  color: rgba(245,251,255,.94);
  border-color: rgba(0,255,255,.38);
  background: rgba(0,255,255,.12);
  box-shadow: 0 0 0 1px rgba(0,255,255,.10), 0 18px 70px rgba(0,255,255,.10);
}
.dash-dark .btn.neon:hover{
  border-color: rgba(0,255,255,.55);
  box-shadow: 0 0 0 1px rgba(0,255,255,.16), 0 22px 80px rgba(0,255,255,.14);
}
.hero-media{
  border-radius: var(--r-xl);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  background: #0a0f18;
  position:relative;
}
.hero-media img{
  width:100%;
  height: 420px;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 460px at 25% 15%, rgba(0,255,255,.20), transparent 60%),
    linear-gradient(180deg, rgba(10,15,24,.10), rgba(10,15,24,.78));
  pointer-events:none;
}
.hero-media .cap{
  position:absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,15,24,.52);
  color: rgba(245,251,255,.86);
  font-size: 13px;
  z-index:2;
}

/* Light cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 4;
  border-radius: 22px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(31,78,120,.18);
  box-shadow: 0 22px 70px rgba(2,10,22,.12);
}
.card .media{ height: 160px; background: #0a0f18; }
.card .media img{ width:100%; height:100%; object-fit: cover; display:block; }
.card .in{ padding: 16px; display:grid; gap: 10px; }
.kicker{
  display:flex; align-items:center; gap: 10px;
  color: rgba(11,18,32,.70);
  font-size: 13px;
  font-weight: 800;
}
.kicker i{
  width:9px;height:9px;border-radius:50%;
  background: linear-gradient(135deg, var(--navy), #00ffff);
}
.card p{ margin:0; color: var(--muted); }
.chips{ display:flex; flex-wrap:wrap; gap: 10px; }
.chip{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(31,78,120,.06);
  color: rgba(11,18,32,.76);
  font-size: 13px;
  font-weight: 700;
}
.card .foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  margin-top: 4px;
}
.link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  color: rgba(11,18,32,.92);
}
.link:hover{ text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pill{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  color: rgba(11,18,32,.70);
  font-size: 12px;
  font-weight: 800;
}

/* Services + capabilities list */
.twocol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.panel{
  border-radius: 22px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 16px;
}
.panel ul{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.panel li{ margin: 7px 0; }
.panel p{ margin: 10px 0 0; color: var(--muted); }

/* Dashboard (dark) */
.dash-dark{
  background:
    radial-gradient(1100px 600px at 25% 0%, rgba(0,255,255,.20), transparent 62%),
    radial-gradient(1000px 620px at 80% 90%, rgba(31,78,120,.28), transparent 58%),
    linear-gradient(180deg, #070b14 0%, #0a0f18 100%);
  color: #f5fbff;
}
.dash-wrap{
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  box-shadow: 0 26px 90px rgba(0,0,0,.42);
  overflow:hidden;
}
.dash-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.dash-title{
  font-weight: 900;
  letter-spacing:-0.01em;
}
.dash-sub{ color: rgba(245,251,255,.74); font-size: 13px; margin-top: 4px; }
.dash-pills{ display:flex; gap: 10px; flex-wrap:wrap; }
.dpill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,15,24,.46);
  color: rgba(245,251,255,.84);
  font-size: 12px;
  font-weight: 800;
}
.dpill b{ color: var(--cyan); text-shadow: 0 0 18px rgba(0,255,255,.20); }

.dash-grid{
  display:grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 12px;
  padding: 16px;
}
.console{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,15,24,.52);
  overflow:hidden;
}
.console .screen{
  position:relative;
  height: 320px;
  background:
    radial-gradient(540px 240px at 30% 20%, rgba(0,255,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
}
.console .screen::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity:.10;
  pointer-events:none;
}
.route{
  position:absolute;
  left: 22px; right: 22px; top: 22px; bottom: 22px;
}
.route path{
  fill:none;
  stroke: rgba(0,255,255,.55);
  stroke-width: 2.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(0,255,255,.16));
}
.dot{
  position:absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0,255,255,.10);
  transform: translate(-50%,-50%);
}
.dot.secondary{
  width: 8px; height: 8px;
  opacity:.75;
  box-shadow: 0 0 0 7px rgba(0,255,255,.08);
}
.console .legend{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  color: rgba(245,251,255,.78);
  font-size: 13px;
}
.console .legend b{ color: var(--cyan); }
.filters{
  display:grid;
  gap: 12px;
  align-content:start;
}
.fcard{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,15,24,.52);
  padding: 14px;
}
.fcard strong{
  display:block;
  font-weight: 900;
  letter-spacing:-0.01em;
}
.fcard span{
  display:block;
  margin-top: 6px;
  color: rgba(245,251,255,.72);
  font-size: 13px;
}
.tagrow{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.tag{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(245,251,255,.82);
  font-size: 12px;
  font-weight: 800;
}
.tag.on{
  border-color: rgba(0,255,255,.22);
  background: rgba(0,255,255,.08);
  color: rgba(245,251,255,.92);
}

/* Insights */
.ins-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.ins{
  grid-column: span 4;
  border-radius: 22px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 16px;
}
.ins p{ margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer{ padding: calc(var(--section) - 12px) 0 56px; }
.footer-card{
  border-radius: var(--r-xl);
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.footer-card h2{
  margin:0;
  font-size: 20px;
  letter-spacing:-0.02em;
  font-weight: 900;
}
.footer-card p{ margin: 8px 0 0; color: var(--muted); max-width: 70ch; }
.footbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  margin-top: 16px;
  color: rgba(11,18,32,.58);
  font-size: 13px;
}
.footbar a{ color: rgba(11,18,32,.72); font-weight: 800; }
.footbar a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* Use-case pages */
.page-hero{ padding: calc(var(--section) - 10px) 0 calc(var(--section) - 10px); }
.crumb{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  color: rgba(11,18,32,.78);
  font-weight: 800;
}
.crumb:hover{ box-shadow: 0 16px 60px rgba(31,78,120,.10); }
.page{
  border-radius: var(--r-xl);
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.page .heroimg{ height: 280px; background: #0a0f18; }
.page .heroimg img{ width:100%; height:100%; object-fit: cover; display:block; }
.page .top{
  padding: 16px;
  border-bottom: 1px solid rgba(11,18,32,.10);
}
.page .top p{ margin:0; color: var(--muted); max-width: 82ch; font-size: 17.5px; }
.page h1{
  margin: 10px 0 8px;
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing:-0.03em;
  line-height: 1.03;
  font-weight: 900;
}
.page .body{
  padding: 16px;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 14px;
}
.callout{
  border-radius: 18px;
  border: 1px solid rgba(31,78,120,.16);
  background: rgba(31,78,120,.06);
  padding: 14px;
}
.callout strong{ font-weight: 900; }
.callout p{ margin: 8px 0 0; color: var(--muted); }
.arch{
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  padding: 12px;
  overflow:hidden;
}
.arch svg{ width:100%; height:auto; display:block; }

/* Reveal */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .dash-grid{ grid-template-columns: 1fr; }
  .twocol{ grid-template-columns: 1fr; }
  .card{ grid-column: span 12; }
  .ins{ grid-column: span 12; }
  .page .body{ grid-template-columns: 1fr; }
  .hero-media img{ height: 360px; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .menu-btn{ display:inline-flex; }
  .footer-card{ flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ scroll-behavior:auto !important; }
}
