/* FLS · Federal Logistics Services landing page */
:root {
  --night: #03060c;
  --ink: #07090d;
  --ink-2: #0c1017;
  --ink-3: #141a23;
  --line-d: rgba(255, 255, 255, 0.10);
  --line-d2: rgba(255, 255, 255, 0.16);
  --paper: #f4f2ed;
  --paper-2: #ebe7df;
  --line-l: rgba(16, 19, 24, 0.12);
  --text-d: #101318;
  --muted-d: #555b65;
  --text-l: #f5f6f8;
  --muted-l: #a9afba;
  --red: #c10e1a;
  --red-hi: #df1f2b;
  --white-seg: #e9ecf1;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --font-d: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-b: "Barlow", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-d);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.footer-legal::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--line-d); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* Type */
.eyebrow {
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #ff5a63;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 14px);
  transform: skewX(-24deg);
}
.eyebrow.dark { color: var(--red); }

.display {
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  color: var(--text-l);
}
.display span { display: block; }
.display em { font-style: italic; color: var(--red-hi); }

.display-2 {
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -.003em;
  color: var(--text-d);
  max-width: 18ch;
}
.display-2.light { color: var(--text-l); }

.lead { color: #c9ced7; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 54ch; margin-top: 26px; }
.section-lead { color: var(--muted-d); font-size: 1.08rem; max-width: 60ch; margin-top: 18px; }
.section-lead.light { color: var(--muted-l); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-d); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 8px; border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a50b15; }
.btn-ghost { color: var(--text-l); border-color: rgba(255, 255, 255, .34); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2230; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 16px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(5, 7, 11, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-d);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { width: 152px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: #d5d9e0; text-decoration: none; font-weight: 500; font-size: 15.5px; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red-hi);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-d2); color: #fff;
  width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ico { width: 22px; height: 22px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--night);
  padding: 150px 0 36px;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: center;
  isolation: isolate;
}
.hero-photo { position: absolute; inset: auto 0 0 0; height: 78%; z-index: -2; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  animation: drift 24s var(--ease) both;
}
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(3, 6, 12, .55) 38%, rgba(3, 6, 12, .15) 62%, rgba(3, 6, 12, .75) 100%),
    linear-gradient(90deg, rgba(3, 6, 12, .9) 0%, rgba(3, 6, 12, .55) 45%, rgba(3, 6, 12, 0) 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.desk-card {
  background: linear-gradient(180deg, rgba(20, 26, 35, .78), rgba(10, 13, 19, .82));
  border: 1px solid var(--line-d2);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  color: var(--text-l);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.desk-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.desk-title { font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.desk-tag {
  margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #ff8a91; border: 1px solid rgba(223, 31, 43, .5); padding: 2px 8px; border-radius: 999px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 0 rgba(223, 31, 43, .6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(223, 31, 43, .55); }
  70% { box-shadow: 0 0 0 10px rgba(223, 31, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 31, 43, 0); }
}
.zones li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px dashed var(--line-d);
}
.zone { font-weight: 600; font-size: 15.5px; display: flex; flex-direction: column; line-height: 1.25; }
.zone small { color: var(--muted-l); font-weight: 400; font-size: 13px; }
.zones time {
  font-family: var(--font-d); font-weight: 600; font-size: 30px; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; color: #fff;
}
.zones time .ampm { font-size: 15px; color: var(--muted-l); margin-left: 4px; letter-spacing: .08em; }
.zones time .day { font-size: 13px; color: var(--muted-l); margin-right: 8px; font-family: var(--font-b); font-weight: 500; letter-spacing: 0; }
.desk-foot { padding-top: 14px; }
.on-duty { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.on-duty .ico { color: var(--red-hi); }
.handover { color: var(--muted-l); font-size: 14px; margin-top: 4px; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 72px; border-top: 1px solid var(--line-d2);
}
.facts li {
  display: flex; align-items: flex-start; gap: 14px; padding: 22px 18px 6px 0; color: var(--muted-l); font-size: 14.5px; line-height: 1.4;
}
.facts li + li { padding-left: 22px; border-left: 1px solid var(--line-d); }
.facts .ico { color: var(--red-hi); width: 26px; height: 26px; margin-top: 2px; }
.facts b { display: block; color: #fff; font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }

/* Sections */
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.ink { background: var(--ink-2); color: var(--text-l); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .display-2 { max-width: 22ch; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius);
  padding: 30px 28px 32px; position: relative; overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { border-color: rgba(16, 19, 24, .22); box-shadow: 0 18px 40px -28px rgba(16, 19, 24, .45); }
.card:hover::before { transform: scaleX(1); }
.card-ico {
  display: inline-flex; width: 50px; height: 50px; border-radius: 12px; align-items: center; justify-content: center;
  background: #f6e7e8; color: var(--red); margin-bottom: 22px;
}
.card-ico .ico { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 25px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin-bottom: 10px; }
.card p { color: var(--muted-d); font-size: 16px; }

/* Relay */
.relay-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
.checks { margin-top: 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #dfe3ea; font-size: 16.5px; }
.checks .ico { color: #fff; background: var(--red); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.6; margin-top: 1px; }

.handbook {
  margin: 0; position: relative;
  background:
    linear-gradient(160deg, #1a2130 0%, #0b0e14 70%);
  border: 1px solid var(--line-d2);
  border-radius: 6px 16px 16px 6px;
  padding: 32px 30px 28px 40px;
  box-shadow: inset 8px 0 0 var(--red), 0 40px 70px -40px rgba(0, 0, 0, .9);
  transform: rotate(-1.5deg);
}
.handbook-top { display: flex; align-items: center; gap: 10px; color: #ff8a91; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.handbook-title { font-family: var(--font-d); font-style: italic; font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: .98; text-transform: uppercase; margin: 22px 0 26px; color: #fff; }
.handbook-meta { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.handbook-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-d); font-size: 15px; }
.handbook-meta dt { color: var(--muted-l); }
.handbook-meta dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.handbook figcaption { color: var(--muted-l); font-size: 14.5px; margin-top: 18px; line-height: 1.5; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--text-d); }
.step { padding: 26px 26px 0 0; position: relative; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line-l); }
.step-no { font-family: var(--font-d); font-style: italic; font-weight: 800; font-size: 54px; line-height: 1; color: var(--red); display: block; margin-bottom: 18px; }
.step h3 { font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.step p { color: var(--muted-d); font-size: 16px; }

/* Night desk */
.night { background: var(--night); color: var(--text-l); overflow: hidden; isolation: isolate; }
.night-photo { position: absolute; inset: 0; z-index: -2; }
.night-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .85; }
.night-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 6, 12, .95) 0%, rgba(3, 6, 12, .74) 42%, rgba(3, 6, 12, .3) 100%), linear-gradient(0deg, rgba(3, 6, 12, .7), rgba(3, 6, 12, 0) 45%); }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.day-bar {
  background: rgba(12, 16, 23, .78); border: 1px solid var(--line-d2); border-radius: var(--radius);
  padding: 26px 24px 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.day-bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-l); margin-bottom: 18px; }
.now-label { color: #fff; font-weight: 600; }
.bar { position: relative; height: 54px; border-radius: 8px; background: rgba(255, 255, 255, .05); overflow: visible; }
.seg { position: absolute; top: 0; bottom: 0; }
.seg-a { background: linear-gradient(180deg, #e5222f, #b10d18); }
.seg-b { background: repeating-linear-gradient(135deg, #dfe3ea 0 8px, #c9ced8 8px 16px); }
.seg.l { border-radius: 8px 0 0 8px; }
.seg.r { border-radius: 0 8px 8px 0; }
.now {
  position: absolute; top: -10px; bottom: -10px; width: 2px; background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 0 3px rgba(3, 6, 12, .9);
}
.now::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translateX(-50%); }
.ticks { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12.5px; color: var(--muted-l); font-variant-numeric: tabular-nums; }
.legend { display: grid; gap: 8px; margin-top: 20px; font-size: 14.5px; color: #dfe3ea; }
.legend li { display: flex; align-items: center; gap: 10px; }
.sw { width: 22px; height: 12px; border-radius: 3px; flex: none; }
.sw-a { background: var(--red-hi); }
.sw-b { background: repeating-linear-gradient(135deg, #dfe3ea 0 4px, #c9ced8 4px 8px); }

/* Careers */
.careers { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.careers .display-2 { max-width: none; }
.section.paper-2 { padding: clamp(64px, 8vw, 96px) 0; }

/* Jobs */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.job { background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.job h3 { font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.job p { color: var(--muted-d); font-size: 16px; margin-bottom: 26px; flex: 1; }
.job-drive { background: var(--ink-2); border-color: var(--ink-2); color: var(--text-l); }
.job-drive p { color: var(--muted-l); }
.job-drive .card-ico { background: rgba(223, 31, 43, .16); color: #ff6b73; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 18px; justify-content: center; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 22px 22px; text-decoration: none;
  background: var(--ink-3); border: 1px solid var(--line-d2); border-radius: var(--radius);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.contact-card:hover { border-color: var(--red-hi); background: #18202b; }
.contact-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-ico .ico { width: 24px; height: 24px; }
.contact-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-text b { font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.contact-text span { font-size: 21px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.contact-card .go { margin-left: auto; color: var(--muted-l); transition: transform .25s var(--ease), color .25s; }
.contact-card:hover .go { transform: translateX(4px); color: #fff; }

/* Footer */
.footer { background: var(--ink); color: var(--muted-l); padding: 56px 0 36px; border-top: 1px solid var(--line-d); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer-grid img { width: 152px; }
.footer-note { margin-top: 14px; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a { color: #d5d9e0; text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { margin-top: 40px; padding-top: 22px; position: relative; display: grid; gap: 6px; font-size: 13px; line-height: 1.5; color: #8a919c; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(3n+2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3n), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .desk-card { max-width: 560px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .relay-grid, .desk-grid { grid-template-columns: 1fr; gap: 48px; }
  .handbook { max-width: 480px; }
  .steps { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 32px 0; }
  .step { border-top: 2px solid var(--text-d); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 7, 11, .97); padding: 8px 24px 24px; border-bottom: 1px solid var(--line-d);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-d); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; }
  .site-header.menu-open { background: rgba(5, 7, 11, .97); }
  .careers { flex-direction: column; align-items: flex-start; }
  .jobs { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .footer-legal::before { left: 20px; right: 20px; }
  .brand img { width: 132px; }
  .hero { padding-top: 120px; }
  .hero-photo { height: 60%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .job .btn { width: 100%; }
  .job { padding: 26px 22px; }
  .facts { grid-template-columns: 1fr; margin-top: 52px; }
  .facts li, .facts li + li { padding: 16px 0 4px; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line-d); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .zones time { font-size: 26px; }
  .handbook { transform: none; }
  .day-bar-head { flex-direction: column; gap: 4px; }
  .footer-grid { flex-direction: column; gap: 28px; }
  .footer-nav { gap: 12px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
