/* Frame and Fire — shared marketing site styles.
   Linked by every page under site/. Keep one copy so the pages cannot drift
   apart.

   Type is set the way techforce.gov sets it, and the way the Hotspots tracker
   does: one family, Inter; headings at 500 with tight negative tracking;
   sentence case everywhere; plain body. No monospace and no letter-spaced
   capitals — tracked mono labels are the house style of every generated
   dashboard, and they read that way. Numbers use tabular figures where they
   need to line up. */
:root{
  --black:#08090a;
  --panel:#101214;
  --panel-2:#15181b;
  --line:rgba(255,255,255,.13);
  --line-soft:rgba(255,255,255,.07);
  --white:#f1f2f3;
  --dim:rgba(241,242,243,.6);
  --faint:rgba(241,242,243,.4);
  --signal:#cb7a4f;          /* flame orange, sampled from the logo */
  --font:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  /* the three old names all point at the one family, so an inline style on any
     page that still says var(--mono) becomes Inter instead of breaking */
  --display:var(--font);
  --body:var(--font);
  --mono:var(--font);
  /* tracking eases off as size drops: -.075em suits 64px, not 15px */
  --track-xl:-.05em;
  --track-l:-.035em;
  --track-m:-.015em;
  --gutter:40px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;scroll-padding-top:86px}
body{background:var(--black);color:var(--white);font-family:var(--font);font-optical-sizing:auto;line-height:1.5;overflow-x:hidden}
a{color:inherit;text-decoration:none}
:focus-visible{outline:1px solid var(--signal);outline-offset:4px}
img{display:block;max-width:100%}

/* ---------- NAV ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:70;
  display:flex;align-items:center;justify-content:space-between;
  padding:22px var(--gutter);
  /* solid bar so page content scrolls behind the lockup instead of through it.
     This replaces mix-blend-mode:difference, which was only there to keep the
     nav legible over the hero and would have inverted the logo's orange. */
  background:var(--black);
  border-bottom:1px solid var(--line-soft);
}
.logo-slot{
  display:flex;align-items:center;gap:11px;
}
.logo-mark{width:auto;height:26px;flex:none;display:block}
.logo-word{
  font-weight:600;font-size:17px;letter-spacing:-.025em;white-space:nowrap;
}
.logo-word span{color:var(--signal)}
/* the footer's generic `.foot-col span{display:block}` would break the wordmark
   onto two lines and recolor it — pin the lockup back down with higher specificity */
.logo-slot .logo-word{display:inline-block;margin:0;font-size:17px;color:var(--white)}
.logo-slot .logo-word span{display:inline;margin:0;font-size:inherit;color:var(--signal)}
/* right-hand nav cluster: sign in for returning planner customers, then menu */
.nav-right{display:flex;align-items:center;gap:24px}
.nav-signin{
  font-size:14px;font-weight:500;letter-spacing:var(--track-m);
  color:var(--dim);white-space:nowrap;transition:color .2s;
}
.nav-signin:hover{color:var(--white)}
@media (max-width:420px){.nav-right{gap:16px}}
.menu-btn{
  font:inherit;font-size:14px;font-weight:500;letter-spacing:var(--track-m);
  background:none;border:none;color:inherit;
  cursor:pointer;display:flex;align-items:center;gap:9px;padding:4px;
}
.menu-btn .bars{display:flex;flex-direction:column;gap:3px}
.menu-btn .bars i{display:block;width:15px;height:1px;background:currentColor}

/* ---------- MENU OVERLAY ---------- */
.overlay{
  position:fixed;inset:0;z-index:65;background:var(--black);
  display:flex;flex-direction:column;justify-content:center;
  padding:100px var(--gutter) 60px;
  opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s;
}
.overlay.open{opacity:1;visibility:visible}
.overlay-list{display:flex;flex-direction:column;border-top:1px solid var(--line-soft)}
.overlay-item{
  border-bottom:1px solid var(--line-soft);padding:22px 0;
  display:flex;align-items:baseline;gap:26px;transition:padding-left .3s ease;
}
.overlay-item:hover{padding-left:14px}
.overlay-item h3{font-weight:500;font-size:clamp(24px,4vw,40px);letter-spacing:var(--track-l);min-width:270px}
.overlay-item p{font-size:14px;color:var(--dim);max-width:340px}
@media (max-width:700px){
  .overlay-item{flex-direction:column;gap:6px}
  .overlay-item h3{min-width:0}
}

/* ---------- HERO ---------- */
.hero{position:relative;height:100svh;min-height:600px;display:flex;flex-direction:column;justify-content:flex-end}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% 45%}
.hero-scrim{position:absolute;inset:0;background:
  linear-gradient(to top,rgba(8,9,10,.95) 0%,rgba(8,9,10,.72) 26%,rgba(8,9,10,.18) 58%,rgba(8,9,10,.5) 100%),
  linear-gradient(to right,rgba(8,9,10,.7) 0%,rgba(8,9,10,.15) 52%,transparent 78%)}
@media (max-width:700px){.hero-img{object-position:64% 42%}}
.hero-inner{position:relative;padding:0 var(--gutter) 56px;width:100%}
.hero h1{
  font-weight:500;
  font-size:clamp(40px,6.4vw,86px);line-height:1;letter-spacing:var(--track-xl);max-width:15ch;
}
.hero p{margin-top:20px;font-size:clamp(16px,1.4vw,19px);color:var(--dim);max-width:46ch}
.hero-actions{margin-top:38px;display:flex;gap:14px;flex-wrap:wrap}
/* Black fill on a black page, so the border carries the shape — which is also
   what lets hover read as the button lighting up rather than repainting.
   inline-block because transform is ignored on inline elements, and these are
   anchors: outside a flex row the scale would silently do nothing. */
.btn{
  font-size:15px;font-weight:500;letter-spacing:var(--track-m);
  padding:12px 22px;display:inline-block;
  background:var(--black);color:var(--white);border:1px solid var(--line);
  transition:color .25s,border-color .25s,transform .25s;
}
/* Hierarchy now comes from border weight, since both fills are black. */
.btn-solid{border-color:var(--white)}

.btn:hover,.btn:focus-visible,
.btn-solid:hover,.btn-solid:focus-visible{
  color:var(--signal);border-color:var(--signal);transform:scale(1.04);
}
/* Keyboard users get the same affordance as the mouse, not just a focus ring. */
.btn:focus-visible,.btn-solid:focus-visible{outline:none}

@media (prefers-reduced-motion:reduce){
  .btn{transition:color .25s,border-color .25s}
  .btn:hover,.btn:focus-visible,
  .btn-solid:hover,.btn-solid:focus-visible{transform:none}
}

/* ---------- SHARED SECTION SHELL ---------- */
.sec{padding:110px var(--gutter);border-top:1px solid var(--line-soft)}
.eyebrow{
  font-size:15px;font-weight:500;letter-spacing:var(--track-m);
  color:var(--faint);margin-bottom:18px;
}
.headline{
  font-weight:500;
  font-size:clamp(30px,4.4vw,56px);line-height:1.02;letter-spacing:var(--track-xl);max-width:18ch;
}
.sec-top{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;flex-wrap:wrap;margin-bottom:34px}
.lede{font-size:17px;color:var(--dim);max-width:52ch;line-height:1.6}

/* ---------- FEATURE / NEWS BAND ---------- */
.band{display:grid;grid-template-columns:1fr 1.15fr;gap:0;border:1px solid var(--line-soft);align-items:stretch}
.band-copy{padding:52px 44px;display:flex;flex-direction:column;justify-content:center;background:var(--panel)}
.band-copy h3{font-weight:500;font-size:clamp(22px,2.6vw,32px);letter-spacing:var(--track-l);line-height:1.1;margin-bottom:14px}
.band-copy p{font-size:16px;color:var(--dim);line-height:1.62;margin-bottom:26px}
.band-img,.band-media{width:100%;height:100%;min-height:340px;object-fit:cover;display:block;background:var(--panel);border-left:1px solid var(--line-soft)}
.inline-link{font-size:15px;font-weight:500;letter-spacing:var(--track-m);display:inline-flex;gap:9px;align-items:center;align-self:flex-start;border-bottom:1px solid var(--line);padding-bottom:4px;transition:border-color .25s,color .25s}
.inline-link:hover{border-color:var(--signal);color:var(--signal)}
.inline-link::after{content:'→'}
@media (max-width:860px){
  .band{grid-template-columns:1fr}
  .band-img,.band-media{border-left:none;border-top:1px solid var(--line-soft);min-height:250px}
}

/* ---------- PRODUCT LINES ---------- */
.lines{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:14px}
@media (max-width:860px){.lines{grid-template-columns:1fr}}
.line{border:1px solid var(--line-soft);background:var(--panel);display:flex;flex-direction:column;transition:border-color .3s}
.line:hover{border-color:var(--line)}
/* Both card media blocks share the brief's 3:2 so the pair stays visually matched
   while slot 03 is still a placeholder. */
.line .line-img{aspect-ratio:3/2;min-height:250px;border:none;border-bottom:1px solid var(--line-soft)}
.line .line-img{width:100%;height:auto;object-fit:cover;display:block;background:var(--panel)}
.line-body{padding:32px 30px 34px;display:flex;flex-direction:column;flex:1}
.line-kicker{font-size:14px;font-weight:500;color:var(--faint);margin-bottom:12px}
.line-body h3{font-weight:600;font-size:24px;letter-spacing:var(--track-l);margin-bottom:10px}
.line-body p{font-size:15.5px;color:var(--dim);line-height:1.62;margin-bottom:22px}
.line-specs{list-style:none;margin-top:auto;border-top:1px solid var(--line-soft);padding-top:16px;display:flex;flex-direction:column;gap:9px}
.line-specs li{font-size:14.5px;color:var(--dim);display:flex;gap:11px}
.line-specs li::before{content:'/';color:var(--signal)}
/* in a card the list sits at the foot (margin-top:auto); in the band the copy
   is centred as one block, and auto margin would open a hole above the list */
.band-copy .line-specs{margin-top:0}

/* ---------- LIVE CARD (Hotspots) ---------- */
/* One large clickable thumbnail into the tracker at /hotspots/, which is a
   separate project served on the same domain. The live line under the title is
   filled from that project's own data file, so the card says something true
   about right now — and falls back to static copy if the fetch fails. */
.live{display:block;position:relative;border:1px solid var(--line-soft);background:var(--panel);overflow:hidden;transition:border-color .3s}
.live:hover,.live:focus-visible{border-color:var(--signal);outline:none}
/* capped so the whole card, title included, fits one screen on wide monitors,
   where 2:1 alone would run past the fold; the crop holds on the globe */
.live-img{width:100%;aspect-ratio:2/1;max-height:80svh;object-fit:cover;object-position:68% 45%;display:block;transition:transform .9s cubic-bezier(.2,.7,.3,1)}
.live:hover .live-img{transform:scale(1.025)}
.live-scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,9,10,.94) 0%,rgba(8,9,10,.55) 34%,transparent 64%)}
.live-copy{position:absolute;left:0;right:0;bottom:0;padding:40px 44px}
.live-status{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:500;color:var(--dim);font-variant-numeric:tabular-nums}
.live-dot{width:8px;height:8px;border-radius:50%;background:#3ecf8e;animation:livePulse 2.4s infinite}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(62,207,142,.55)}70%{box-shadow:0 0 0 9px rgba(62,207,142,0)}100%{box-shadow:0 0 0 0 rgba(62,207,142,0)}}
.live h3{margin-top:12px;font-weight:500;font-size:clamp(34px,5.4vw,72px);line-height:1;letter-spacing:var(--track-xl)}
.live p{margin-top:12px;font-size:clamp(15px,1.4vw,18px);color:var(--dim);max-width:52ch}
.live-leaders{margin-top:6px;color:var(--white)}
.live .inline-link{margin-top:22px}
.live:hover .inline-link{border-color:var(--signal);color:var(--signal)}
@media (max-width:860px){
  /* the render puts the globe right of centre to leave the desktop text clear;
     a 4:5 crop of it must follow the globe, not the empty space */
  .live-img{aspect-ratio:4/5;object-position:74% 50%}
  .live-copy{padding:26px 22px}
}

/* ---------- FULL BLEED STATEMENT ---------- */
.statement{position:relative;height:78svh;min-height:460px;display:flex;align-items:flex-end;border-top:1px solid var(--line-soft)}
/* the section is wider than the image's 1.71:1 on most desktops, so it crops
   vertically — bias upward to keep the lit ridge in frame */
.statement-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:55% 40%}
.statement .scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,9,10,.9),rgba(8,9,10,.25))}
.statement-inner{position:relative;padding:0 var(--gutter) 56px}

/* ---------- CONTACT ---------- */
.contact{padding:120px var(--gutter);border-top:1px solid var(--line-soft);text-align:left}
.contact .headline{max-width:20ch}
.contact p{margin-top:18px;font-size:16px;color:var(--dim);max-width:48ch}

/* ---------- FOOTER ---------- */
footer{border-top:1px solid var(--line-soft);padding:64px var(--gutter) 34px}
.foot-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px;margin-bottom:60px}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.foot-grid{grid-template-columns:1fr}}
.foot-col h5{font-size:14px;font-weight:500;color:var(--faint);margin-bottom:16px}
.foot-col a,.foot-col span{display:block;font-size:15px;color:var(--dim);margin-bottom:11px;transition:color .2s}
.foot-col a:hover{color:var(--white)}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--faint);border-top:1px solid var(--line-soft);padding-top:26px}

/* ---------- MOTION ---------- */
.rv{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.7,.3,1),transform .7s cubic-bezier(.2,.7,.3,1)}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .rv{opacity:1;transform:none}
  .live:hover .live-img{transform:none}
  html{scroll-behavior:auto}
}
@media (max-width:640px){:root{--gutter:22px}.sec{padding:76px var(--gutter)}}

/* ---------- IAMD PLANNER WALKTHROUGH ---------- */
/* object-fit:contain, not the cover the hero loop uses: cropping a UI
   walkthrough would cut off the panels it exists to show. */
.demo-figure{margin:34px 0 0;border:1px solid var(--line-soft);background:var(--panel)}
.demo-kicker{
  padding:14px 18px;border-bottom:1px solid var(--line-soft);
  font-size:14px;font-weight:500;color:var(--signal);
}
.demo-video{display:block;width:100%;height:auto;aspect-ratio:1920/954;object-fit:contain;background:var(--black)}
.demo-figure figcaption{
  padding:14px 18px;border-top:1px solid var(--line-soft);
  font-size:14px;line-height:1.6;color:var(--dim);
}
