/* T.R.A.C.K.E.R. Information Technology Solutions - site styles (tile / bento layout) */
:root {
  --navy-950: #060f1e;
  --navy-900: #0a1628;
  --navy-800: #11223b;
  --navy-700: #1b3152;
  --ink: #0f172a;
  --body: #334155;
  --muted: #5b6b80;
  --line: #e1e7ef;
  --paper: #ffffff;
  --canvas: #eef2f7;
  --mist: #f5f8fb;
  --teal-700: #0b6b74;
  --teal-600: #0e7c86;
  --teal-500: #14a3a8;
  --teal-50: #e8f6f7;
  --cyan-300: #67e8f9;
  --amber: #f5a524;
  --r-tile: 22px;
  --r-sm: 12px;
  --gap: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 20px rgba(15,23,42,.05);
  --shadow-hover: 0 2px 6px rgba(15,23,42,.06), 0 18px 40px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 60px rgba(6,15,30,.28);
  --max: 1240px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--body); background: var(--canvas); }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .55em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header: floating bar ---------- */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 66px; padding: 0 .75rem 0 1.1rem;
  background: rgba(10,22,40,.94); border-radius: 18px; border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 10px 30px rgba(6,15,30,.18); }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none !important; }
.brand img { width: 38px; height: 38px; flex: none; animation: logo-spin 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(103,232,249,.55)); }
.brand-name i { font-style: normal; color: var(--cyan-300); text-shadow: 0 0 8px rgba(103,232,249,.6); }
.brand-sub { position: relative; padding-bottom: 3px; }
.brand-sub::after { content: ""; position: absolute; left: 0; right: 10%; bottom: -2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-300) 40%, transparent); opacity: .8; }
.brand:hover img { animation-duration: 1.5s; }
@keyframes logo-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: .95rem; }
.brand-sub { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #9fb3cc; margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav a { color: #cbd5e1; font-weight: 600; font-size: .93rem; padding: .5rem .8rem; border-radius: 10px; text-decoration: none; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { color: #fff; background: rgba(20,163,168,.22); }
.nav .btn { margin-left: .5rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.18); color: #fff;
  border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { margin: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; border-radius: 12px;
  padding: .8rem 1.25rem; border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal-600); color: #fff !important; box-shadow: 0 6px 18px rgba(14,124,134,.30); }
.btn-primary:hover { background: var(--teal-700); }
.btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { color: var(--ink) !important; border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--teal-500); }
.btn-light { background: #fff; color: var(--navy-900) !important; }
.btn-light:hover { background: #e6fbfd; }
.btn-sm { padding: .55rem .95rem; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ---------- Bento grid ---------- */
main { padding: var(--gap) 0 0; }
.block { margin-bottom: var(--gap); }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 2.6rem .4rem 1rem; }
.block-head h2 { margin: 0; max-width: 40rem; }
.block-head p { margin: .5rem 0 0; color: var(--muted); max-width: 36rem; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); grid-auto-flow: dense; }
.s-3 { grid-column: span 3; } .s-4 { grid-column: span 4; } .s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; }
.s-7 { grid-column: span 7; } .s-8 { grid-column: span 8; } .s-9 { grid-column: span 9; } .s-12 { grid-column: span 12; }
.r-2 { grid-row: span 2; }

.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-tile); padding: 1.75rem; box-shadow: var(--shadow); }
.tile > :last-child { margin-bottom: 0; }
.tile p { color: var(--muted); }
a.tile { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.tile:hover { transform: translateY(-3px); border-color: #c7e2e5; box-shadow: var(--shadow-hover); text-decoration: none; }
.tile .more { margin-top: auto; padding-top: 1.1rem; font-weight: 700; font-size: .92rem; color: var(--teal-600); display: inline-flex; align-items: center; gap: .35rem; }
.tile .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.tile:hover .more svg { transform: translateX(3px); }

.tile-dark { background: radial-gradient(700px 380px at 100% 0, rgba(20,163,168,.22), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-color: rgba(255,255,255,.06); color: #b8c6d8; }
.tile-dark h1, .tile-dark h2, .tile-dark h3 { color: #fff; }
.tile-dark p { color: #a9bbd0; }
.tile-teal { background: radial-gradient(600px 300px at 100% 0, rgba(103,232,249,.25), transparent 60%), linear-gradient(135deg, var(--teal-600), var(--teal-700));
  border-color: transparent; color: #e0f4f5; }
.tile-teal h2, .tile-teal h3 { color: #fff; }
.tile-teal p { color: #d4eef0; }
.tile-mist { background: var(--mist); box-shadow: none; }
.tile-grid::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 75% 20%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 75% 20%, #000 25%, transparent 75%); }
.tile-grid > * { position: relative; }
.tile-img { padding: 0; background: var(--navy-900); border-color: rgba(255,255,255,.06); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tile-img.light { background: var(--mist); border-color: var(--line); }
.banner-tile { aspect-ratio: 3 / 1; background: #071a33; }
.banner-tile img { object-position: center; }
.tile-img.pad { padding: 1.4rem 1.4rem 0; justify-content: flex-end; }
.tile-img.pad img { height: auto; border-radius: 12px 12px 0 0; box-shadow: 0 -6px 30px rgba(6,15,30,.25); }

/* icon chip inside tiles */
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; margin-bottom: 1.1rem;
  background: var(--teal-50); color: var(--teal-600); }
.icon svg { width: 23px; height: 23px; }
.tile-dark .icon { background: rgba(20,163,168,.16); color: var(--cyan-300); }
.tile-teal .icon { background: rgba(255,255,255,.16); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.tile-dark .eyebrow { color: var(--cyan-300); }
.tile-teal .eyebrow { color: #c9f4f7; }
.tag { align-self: flex-start; display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 7px; background: rgba(245,165,36,.16); color: var(--amber); margin-bottom: 1rem; }
.num { font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--teal-600); }
.tile-dark .num { color: var(--cyan-300); }

/* ---------- Hero tiles ---------- */
.hero-tile { padding: clamp(1.8rem, 4vw, 3.2rem); justify-content: center; min-height: 460px; }
.hero-tile h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan-300), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tile .lead { font-size: 1.1rem; max-width: 40rem; color: #b8c6d8; }
.page-tile { padding: clamp(1.8rem, 4vw, 3rem); }
.page-tile h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 46rem; }
.page-tile p { font-size: 1.08rem; max-width: 44rem; }
.page-tile::after { content: ""; position: absolute; right: -110px; top: -110px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(103,232,249,.16); box-shadow: 0 0 0 56px rgba(103,232,249,.04), 0 0 0 112px rgba(103,232,249,.025); pointer-events: none; }
.crumbs { font-size: .84rem; color: #7f95b2; margin-bottom: 1rem; }
.crumbs a { color: #9fb3cc; }

/* stat / trust tiles */
.stat { flex-direction: row; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; }
.stat .icon { margin: 0; }
.stat strong { display: block; color: var(--ink); font-size: 1rem; }
.stat small { color: var(--muted); font-size: .88rem; }

/* console (hero visual) */
.console-top { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.1rem; }
.console-top i { width: 10px; height: 10px; border-radius: 50%; background: #334a6b; }
.console-top b { margin-left: auto; font-weight: 600; font-size: .74rem; letter-spacing: .12em; color: #8ea3bd; text-transform: uppercase; }
.console-row { display: flex; align-items: center; gap: .85rem; padding: .8rem .85rem; border-radius: 14px; background: rgba(6,15,30,.45);
  border: 1px solid rgba(255,255,255,.05); margin-bottom: .55rem; font-size: .9rem; }
.console-row .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(20,163,168,.14); color: var(--cyan-300); flex: none; }
.console-row .ico svg { width: 19px; height: 19px; }
.console-row strong { display: block; color: #fff; font-weight: 600; }
.console-row small { color: #8ea3bd; }
.pill { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: .3rem .6rem; border-radius: 999px;
  background: rgba(34,197,94,.14); color: #86efac; white-space: nowrap; }
.pill.info { background: rgba(103,232,249,.12); color: var(--cyan-300); }
.console-note { font-size: .74rem; color: #6b819e; margin: auto 0 0; padding-top: .5rem; text-align: right; }

/* lists */
.ticks { list-style: none; display: grid; gap: .5rem; margin-top: .9rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--teal-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/70% no-repeat; }
.tile-dark .ticks li { color: #cbd5e1; }
.tile-dark .ticks li::before { background-color: var(--teal-500); }

/* step tiles */
.step .big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--teal-600); opacity: .9; margin-bottom: 1rem; }
.tile-dark.step .big { color: var(--cyan-300); }
.step p { margin: 0; font-size: .95rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: 999px; background: var(--mist); border: 1px solid var(--line);
  font-weight: 600; color: var(--ink); font-size: .92rem; }
.chip svg { width: 18px; height: 18px; color: var(--teal-600); }

/* phone overlay on product image tile */
.shot-tile { min-height: 380px; }
.shot-tile .phone { position: absolute; width: 24%; right: 5%; bottom: -6%; height: auto; border-radius: 18px; border: 4px solid var(--navy-800); box-shadow: var(--shadow-lg); }

/* service detail tile */
.svc-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.svc-head .icon { margin: 0; }
.svc-head h2 { font-size: 1.4rem; margin: .15rem 0 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: auto; padding-top: .6rem; }
.cols > div { background: var(--mist); border-radius: 14px; padding: 1rem 1.1rem; }
.cols h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.cols .ticks { font-size: .94rem; margin-top: .5rem; }

/* CTA tile */
.cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(1.8rem, 4vw, 3rem); }
.cta h2 { margin-bottom: .3rem; }
.cta p { margin: 0; max-width: 36rem; }

/* registration badge */
.reg { display: flex; align-items: center; gap: .9rem; }
.reg svg { width: 34px; height: 34px; color: var(--teal-600); flex: none; }
.tile-dark .reg svg { color: var(--cyan-300); }
.reg small { display: block; color: var(--muted); font-size: .8rem; }
.tile-dark .reg small { color: #8ea3bd; }
.reg strong { color: var(--ink); font-size: 1.05rem; }
.tile-dark .reg strong { color: #fff; }

/* ---------- Contact ---------- */
.contact-tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.contact-tiles li { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-tile);
  padding: 1.4rem; box-shadow: var(--shadow); min-width: 0; }
.contact-tiles li:first-child, .contact-tiles li:last-child:nth-child(even) { grid-column: 1 / -1; }
.contact-tiles .icon { margin-bottom: .9rem; }
.contact-tiles small { display: block; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .2rem; }
.contact-tiles a, .contact-tiles span { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact-side { display: grid; gap: var(--gap); align-content: start; }
form.quote h3 { font-size: 1.35rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; color: var(--ink); font-size: .92rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--mist); border: 1px solid #d3dce7; border-radius: 12px; padding: .75rem .9rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20,163,168,.18); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
form.quote .btn { align-self: flex-start; }

/* ---------- Footer: dark tile ---------- */
.site-footer { padding: var(--gap) 0; font-size: .93rem; }
.site-footer .foot { background: var(--navy-950); color: #8ea3bd; border-radius: var(--r-tile); padding: clamp(1.8rem, 4vw, 3rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: #b8c6d8; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; }

/* ---------- Pop-out details ---------- */
.tile[data-pop] { cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile[data-pop]:hover { transform: translateY(-3px); border-color: #c7e2e5; box-shadow: var(--shadow-hover); }
.tile[data-pop]:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; }
.tile[data-pop]:hover .more svg { transform: translateX(3px); }
.tile-dark .more { color: var(--cyan-300); }
.tile-teal .more { color: #fff; }
.tile-img[data-pop]::after { content: "View details +"; position: absolute; right: 14px; bottom: 14px; padding: .45rem .8rem; border-radius: 999px;
  background: rgba(10,22,40,.82); color: #fff; font-size: .82rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.tile-img[data-pop]:hover::after, .tile-img[data-pop]:focus-visible::after { opacity: 1; transform: none; }

dialog.pop { width: min(760px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--r-tile);
  background: var(--paper); color: var(--body); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
dialog.pop::backdrop { background: rgba(6,15,30,.62); backdrop-filter: blur(3px); }
dialog.pop[open] { animation: pop-in .22s ease-out; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pop-close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.pop-close:hover { background: #fff; border-color: var(--teal-500); }
.pop-media { background: var(--mist); border-bottom: 1px solid var(--line); }
.pop-media img { display: block; width: 100%; height: auto; }
.pop-body { padding: clamp(1.4rem, 4vw, 2.2rem); }
.pop-body .svc-head { padding-right: 3rem; }
.pop-body > h2 { font-size: 1.5rem; padding-right: 3rem; }
.pop-body > p { color: var(--muted); }
.pop-body .cols { margin-top: 1.2rem; }
.pop-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
body.pop-lock { overflow: hidden; }
html { scroll-padding-top: 96px; } /* keep #links clear of the floating header */
.pop-big { font-size: 1.3rem; font-weight: 700; color: var(--ink) !important; overflow-wrap: anywhere; margin: .2rem 0 .8rem; }
.pop-big a { color: var(--teal-600); }
.pop-links a { font-weight: 600; color: var(--teal-600); }
.demo-note { margin: .9rem 0 0; font-size: .88rem; max-width: 34rem; }
.contact-tiles li[data-pop] { cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-tiles li[data-pop]:hover { transform: translateY(-3px); border-color: #c7e2e5; box-shadow: var(--shadow-hover); }
.contact-tiles li[data-pop]:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; }
.contact-tiles li[data-pop]::after { content: "View details \2192"; margin-top: .7rem; font-size: .85rem; font-weight: 700; color: var(--teal-600); }
html:not(.no-js) .tile > .pop-more { display: none; }
.pop-body .pop-more { display: block; }
.pop-body > .svc-head h2 { font-size: 1.5rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.tile, .tile .more svg, .tile[data-pop] { transition: none; }
  dialog.pop[open] { animation: none; }
  .brand img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .s-3, .s-4 { grid-column: span 3; }
  .s-5, .s-6, .s-7, .s-8, .s-9, .s-12 { grid-column: span 6; }
  .r-2 { grid-row: auto; }
  .hero-tile { min-height: 0; }
  .console-tile { grid-column: span 6; }
  .stat.s-4 { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .trio > .s-4 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem;
    background: var(--navy-900); border-radius: 18px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px rgba(6,15,30,.3); display: none; }
  .site-header .wrap { position: relative; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem .9rem; }
  .nav .btn { margin: .4rem 0 0; justify-content: center; }
}
@media (max-width: 640px) {
  :root { --gap: 12px; --r-tile: 18px; }
  .bento, .contact-tiles { grid-template-columns: 1fr; }
  .bento > *, .stat.s-4, .console-tile, .trio > .s-4 { grid-column: auto; }
  .stat.s-4 { flex-direction: row; align-items: center; }
  .pop-body .cols { grid-template-columns: 1fr; gap: .8rem; }
  .pop-actions .btn { width: 100%; justify-content: center; }
  .tile { padding: 1.4rem; }
  .cols, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .block-head { padding-top: 2rem; }
  .shot-tile { min-height: 240px; }
  .stat { padding: 1.1rem 1.2rem; }
}
