/* =========================================================================
   JP Cloud Systems — site stylesheet (black & red theme), v2
   No inline styles anywhere (strict CSP): all presentation lives here.
   ========================================================================= */
:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --surface: #131317;
  --surface-2: #19191e;
  --surface-3: #212127;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f6;
  --body: #d4d4d8;
  --muted: #a1a1aa;
  --red: #e11d2e;
  --red-deep: #c8102e;
  --red-hover: #ff4d5a;
  --red-text: #ff5a66; /* red used as text: ~6:1 on --bg */
  --red-soft: rgba(225, 29, 46, 0.12);
  --red-line: rgba(225, 29, 46, 0.38);
  --red-glow: rgba(225, 29, 46, 0.35);
  --ok: #4ade80;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  letter-spacing: -0.038em;
}
h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.22rem;
  letter-spacing: -0.012em;
  line-height: 1.25;
}
.h3 {
  font-size: 1.22rem;
  letter-spacing: -0.012em;
}
p {
  margin: 0 0 1em;
}

a {
  color: var(--red-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--red-hover);
}
ul {
  padding-left: 1.2em;
}

:focus-visible {
  outline: 3px solid var(--red-hover);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--red);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--red-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.2s var(--ease), border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg {
  transform: translateX(2px);
}
.btn--primary {
  background: linear-gradient(180deg, #ec2536, var(--red) 55%, #cf1627);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 12px 30px -12px var(--red-glow);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #f0303f, #d81a2b);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 38px -10px rgba(225, 29, 46, 0.6);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 90, 102, 0.7);
  background: var(--red-soft);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--red-text);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover svg,
.card:hover .link-arrow svg {
  transform: translateX(3px);
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.78);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}
.no-js .site-header {
  background: rgba(10, 10, 12, 0.92);
  border-bottom-color: var(--line);
}
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link,
.nav-drop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--body);
  font: 600 0.95rem/1.2 var(--font);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover,
.nav-drop-btn:hover,
.nav-drop.is-open .nav-drop-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-link[aria-current="page"],
.nav-drop-btn.is-current {
  color: #fff;
}
.nav-link[aria-current="page"]::after,
.nav-drop-btn.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.nav-drop-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.nav-drop.is-open .nav-drop-btn svg {
  transform: rotate(180deg);
}

/* services mega-menu (positioned against the header container) */
.nav-drop-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  width: min(900px, calc(100vw - 48px));
  transform: translate(-50%, 8px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 8px;
  padding: 10px;
  background: rgba(19, 19, 23, 0.97);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s;
}
.nav-drop.is-open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.mega-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--body);
  transition: background 0.18s ease;
}
.mega-item:hover,
.mega-item[aria-current="page"] {
  background: var(--surface-2);
  color: #fff;
}
.mega-item .ico,
.deliver-list .ico,
.nf-link .ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  border: 1px solid rgba(225, 29, 46, 0.3);
  color: var(--red-hover);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mega-item:hover .ico {
  background: rgba(225, 29, 46, 0.22);
  border-color: rgba(255, 90, 102, 0.55);
}
.mega-item .ico svg,
.deliver-list .ico svg,
.nf-link .ico svg {
  width: 19px;
  height: 19px;
}
.mega-item strong {
  display: block;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.3;
}
.mega-item small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: 2px;
}
.mega-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(225, 29, 46, 0.28), transparent 60%), var(--surface-2);
  border: 1px solid var(--line);
}
.mega-kicker {
  margin: 0;
  font: 700 1.05rem/1.25 var(--font-display);
  color: var(--text);
}
.mega-text {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.5;
}
.mega-cta {
  margin-top: 6px;
}
.mega-all {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red-text);
}
.mega-all svg,
.mega-cta svg {
  width: 16px;
  height: 16px;
}
.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.nav-toggle .close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .close {
  display: block;
}

@media (max-width: 1100px) and (min-width: 1021px) {
  .nav-link,
  .nav-drop-btn {
    padding: 10px 10px;
  }
  .nav-cta {
    margin-left: 4px;
  }
}

@media (max-width: 1020px) {
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header,
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--bg);
    border-bottom-color: var(--line);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    display: none;
  }
  .nav.is-open {
    display: flex;
    animation: menu-in 0.22s var(--ease);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-list > li {
    border-bottom: 1px solid var(--line);
  }
  .nav-link,
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 16px 8px;
    font: 600 1.12rem/1.2 var(--font-display);
    border-radius: 8px;
  }
  .nav-link[aria-current="page"]::after,
  .nav-drop-btn.is-current::after {
    left: 0;
    right: auto;
    top: 14px;
    bottom: 14px;
    width: 3px;
    height: auto;
  }
  .nav-drop-menu {
    position: static;
    transform: none;
    width: auto;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 12px;
    display: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav-drop.is-open .nav-drop-menu {
    display: grid;
    transform: none;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .mega-item {
    padding: 9px 8px;
  }
  .mega-item small {
    display: none;
  }
  .mega-side {
    background: none;
    border: 0;
    padding: 6px 8px 0;
  }
  .mega-kicker,
  .mega-text,
  .mega-cta {
    display: none;
  }
  .nav-cta {
    margin: 22px 0 0;
    width: 100%;
    padding: 15px 24px;
    font-size: 1rem;
  }
  body.nav-open {
    overflow: hidden;
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------- hero background */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* extend under the transparent sticky header */
  margin-top: calc(-1 * var(--header-h));
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 25%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 25%, #000 20%, transparent 72%);
}
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-bg .orb-1 {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.7), transparent 65%);
  animation: drift 20s ease-in-out infinite alternate;
}
.hero-bg .orb-2 {
  width: 440px;
  height: 440px;
  left: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.42), transparent 65%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
.hero-bg .beam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 102, 0.45) 50%, transparent);
}
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-50px, 36px) scale(1.08);
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding: calc(var(--header-h) + 88px) 0 96px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
.hero-inner {
  position: relative;
  min-width: 0;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.7rem);
  margin-bottom: 20px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 0.78rem/1.2 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-text);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--body);
  max-width: 600px;
  margin-bottom: 30px;
}
.rotator {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  font-weight: 600;
  color: var(--muted);
  margin: -4px 0 22px;
  min-height: 1.6em;
}
.rotator-word {
  color: #fff;
  position: relative;
  display: inline-block;
}
.rotator-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), rgba(255, 90, 102, 0.4));
}
.rotator-word.is-swapping {
  animation: swap 0.5s ease;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: var(--muted);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--red-hover);
}

/* "What we deliver" glass panel */
.deliver {
  position: relative;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.82), rgba(15, 15, 18, 0.78));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg), 0 -24px 70px -40px rgba(225, 29, 46, 0.75);
}
.deliver::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff5a66 50%, transparent);
}
.deliver::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 25%;
  right: 25%;
  height: 60px;
  background: radial-gradient(closest-side, rgba(225, 29, 46, 0.45), transparent);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}
.deliver-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 6px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.deliver-head img {
  width: 40px;
  height: 40px;
  flex: none;
}
.deliver-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.deliver-head h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.deliver-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.deliver-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px;
  border-radius: 14px;
  color: var(--body);
  transition: background 0.2s ease, transform 0.2s var(--ease);
}
.deliver-list a:hover,
.deliver-list a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.deliver-list .txt {
  flex: 1;
  min-width: 0;
}
.deliver-list strong {
  display: block;
  font: 600 0.98rem/1.3 var(--font-display);
  color: var(--text);
}
.deliver-list small {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.35;
}
.deliver-list .go {
  flex: none;
  color: var(--red-text);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
}
.deliver-list .go svg {
  width: 18px;
  height: 18px;
}
.deliver-list a:hover .go,
.deliver-list a:focus-visible .go {
  opacity: 1;
  transform: none;
}
.deliver-list a:hover .ico {
  background: rgba(225, 29, 46, 0.22);
  border-color: rgba(255, 90, 102, 0.55);
}
.deliver-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 6px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.deliver-foot svg {
  width: 16px;
  height: 16px;
  color: var(--red-hover);
  flex: none;
}

@media (max-width: 1023px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .deliver {
    max-width: 640px;
  }
}

/* inner-page hero */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-bg .orb-1 {
  width: 460px;
  height: 460px;
  top: -240px;
}
.page-hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  max-width: 900px;
  overflow-wrap: anywhere;
}
.page-hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  max-width: 760px;
  color: var(--body);
}
.page-hero .hero-actions {
  margin-top: 26px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.crumbs li {
  min-width: 0;
  overflow-wrap: anywhere;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #6b6b74;
}
.crumbs a {
  color: var(--muted);
}
.crumbs a:hover {
  color: #fff;
}

/* --------------------------------------------------------------- marquee */
.marquee-band {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.marquee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.marquee-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-toggle {
  font: 600 0.8rem/1 var(--font);
  color: var(--body);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}
.marquee-toggle:hover {
  color: #fff;
  border-color: rgba(255, 90, 102, 0.6);
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 44px;
  padding: 0 44px 0 0;
  margin: 0;
  list-style: none;
  animation: marquee 70s linear infinite;
}
.marquee-track li {
  position: relative;
  white-space: nowrap;
  font: 600 1.14rem/1.4 var(--font-display);
  color: #c4c4cc;
  letter-spacing: -0.01em;
}
.marquee-track li::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.8;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* --------------------------------------------------------------- sections */
.section {
  padding: 104px 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, var(--bg-2), #0b0b0e);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--tight {
  padding: 72px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head p {
  color: var(--body);
  font-size: 1.08rem;
}
.section-head p:last-child {
  margin-bottom: 0;
}
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.section-head--row > div {
  max-width: 720px;
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--top {
  align-items: start;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ----------------------------------------------------------------- cards */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1020px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(19, 19, 23, 0.72) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--body);
  font-size: 0.98rem;
}
.card p:last-child {
  margin-bottom: 0;
}
/* gradient border that fades in on hover */
.card--hover::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 90, 102, 0.95), rgba(225, 29, 46, 0.2) 40%, rgba(255, 255, 255, 0.1) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card--hover:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 28px 60px -28px rgba(225, 29, 46, 0.5), 0 12px 30px -16px rgba(0, 0, 0, 0.8);
}
.card--hover:hover::before,
.card--hover:focus-within::before {
  opacity: 1;
}
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(225, 29, 46, 0.24), rgba(225, 29, 46, 0.06));
  border: 1px solid rgba(225, 29, 46, 0.36);
  color: var(--red-hover);
  margin-bottom: 22px;
  box-shadow: 0 10px 24px -14px rgba(225, 29, 46, 0.6);
}
.icon-tile svg {
  width: 26px;
  height: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
}
.service-card p {
  flex: 1;
}
.service-card .link-arrow {
  margin-top: 18px;
}
.service-card .card-link::after,
.post-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.service-card h3 a,
.post-card h3 a {
  color: var(--text);
}
.service-card:hover h3 a,
.post-card:hover h3 a {
  color: #fff;
}
.service-card--cta {
  background: radial-gradient(120% 100% at 100% 0%, rgba(225, 29, 46, 0.3), transparent 60%), var(--surface);
  border-color: var(--red-line);
}

/* checklists */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ff5a66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 1px solid rgba(225, 29, 46, 0.35);
}
.checklist--cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}
@media (max-width: 640px) {
  .checklist--cols {
    grid-template-columns: 1fr;
  }
}

.feature-list {
  display: grid;
  gap: 16px;
}
.feature {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.feature .icon-tile {
  margin: 0;
  flex: none;
  width: 46px;
  height: 46px;
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.feature p {
  margin: 0;
  font-size: 0.97rem;
}

/* at a glance */
.glance {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 100% at 100% 0%, rgba(225, 29, 46, 0.22), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg));
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.glance-title {
  font: 700 0.78rem/1.2 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.glance ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.glance li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}
.glance li:first-child {
  border-top: 0;
}
.glance .ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  border: 1px solid rgba(225, 29, 46, 0.3);
  color: var(--red-hover);
}
.glance .ico svg {
  width: 20px;
  height: 20px;
}
.glance small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* engagement models */
.engage-card {
  display: flex;
  flex-direction: column;
}
.engage-card > p:not(.engage-fit) {
  flex: 1;
}
.engage-fit {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem !important;
  color: var(--muted) !important;
}
.engage-fit span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 4px;
}

/* process */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font: 700 2.4rem/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red-hover);
  margin-bottom: 18px;
}
.step::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -21px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--red-line), transparent);
}
.step:last-child::after {
  display: none;
}
.step h3 {
  font-size: 1.15rem;
}
.step p {
  margin: 0;
  font-size: 0.96rem;
}
@media (max-width: 1020px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* industries */
.industry {
  display: flex;
  flex-direction: column;
}
.industry .icon-tile {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}
.industry h3 {
  font-size: 1.12rem;
}
.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.industries-grid .industry .checklist {
  margin-bottom: 20px;
}
.industry-chips a.tag:hover {
  border-color: var(--red-hover);
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tag--red {
  color: #ffd5d8;
  background: var(--red-soft);
  border-color: rgba(225, 29, 46, 0.4);
}

/* why */
.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1020px) {
  .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .why {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}
.faq-layout .section-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-bottom: 0;
}
@media (max-width: 1020px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .faq-layout .section-head {
    position: static;
    margin-bottom: 32px;
  }
}
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq details:hover {
  border-color: var(--line-2);
}
.faq details[open] {
  border-color: rgba(225, 29, 46, 0.45);
  background: linear-gradient(180deg, rgba(225, 29, 46, 0.06), transparent 60%), var(--surface);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font: 600 1.05rem/1.4 var(--font-display);
  color: var(--text);
  border-radius: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  flex: none;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--red-hover);
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--red-soft);
  border-color: var(--red-line);
}
.faq .answer {
  padding: 0 22px 22px;
  color: var(--body);
}
.faq details[open] .answer {
  animation: faq-open 0.3s var(--ease);
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.faq .answer p:last-child {
  margin: 0;
}

/* CTA band */
.cta-section {
  padding-top: 88px;
  padding-bottom: 88px;
}
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  padding: 60px;
  border: 1px solid rgba(225, 29, 46, 0.42);
  background: radial-gradient(80% 140% at 100% 0%, rgba(225, 29, 46, 0.42), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(200, 16, 46, 0.2), transparent 60%), var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  box-shadow: 0 30px 80px -60px rgba(225, 29, 46, 0.4);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: url("/assets/img/mark.svg") center/contain no-repeat;
  opacity: 0.05;
  z-index: -1;
}
.cta-band h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}
.cta-band p {
  max-width: 620px;
}
.cta-main .hero-actions {
  margin-top: 26px;
}
.cta-band .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}
.cta-steps {
  border-radius: 18px;
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid var(--line-2);
  padding: 24px;
}
.cta-steps-title {
  margin: 0 0 12px;
  font: 700 0.76rem/1.2 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-steps ol {
  list-style: none;
  counter-reset: next;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.cta-steps li {
  counter-increment: next;
  position: relative;
  padding-left: 44px;
  font-size: 0.93rem;
}
.cta-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 0.85rem/1 var(--font-display);
  color: #fff;
  background: var(--red);
  box-shadow: 0 6px 16px -6px var(--red-glow);
}
.cta-steps strong {
  display: block;
  color: var(--text);
}
.cta-steps span {
  color: var(--muted);
}
@media (max-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr;
    padding: 44px 32px;
  }
}
@media (max-width: 640px) {
  .cta-band {
    padding: 34px 20px;
    border-radius: 22px;
  }
  .cta-main .hero-actions {
    flex-direction: column;
  }
  .cta-band .btn {
    width: 100%;
  }
}

/* service detail */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.detail-block + .detail-block {
  margin-top: 64px;
}
.detail-block h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.aside-card h3 {
  font-size: 1.05rem;
}
.aside-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.aside-card ul a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
}
.aside-card ul a:hover {
  background: var(--surface-3);
  color: #fff;
}
.aside-card ul a[aria-current="page"] {
  background: var(--red-soft);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--red);
}
@media (max-width: 960px) {
  .aside-card {
    position: static;
  }
}
.engage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 760px) {
  .engage {
    grid-template-columns: 1fr;
  }
}
.engage .card {
  padding: 24px;
}
.engage .card h3 {
  font-size: 1.05rem;
}
.engage .card p {
  font-size: 0.95rem;
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.note {
  font-size: 0.86rem;
  color: var(--muted);
}

/* services overview anchors */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.anchor-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
}
.anchor-nav a:hover {
  border-color: var(--red-hover);
  color: #fff;
}
.service-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.service-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.service-row .icon-tile {
  width: 60px;
  height: 60px;
}
.service-row h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------------------------------------------------------------- careers */
.jobs {
  display: grid;
  gap: 14px;
}
.job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}
.job:hover {
  border-color: rgba(225, 29, 46, 0.45);
}
.job-main {
  min-width: 0;
}
.job h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.job-link {
  color: var(--text);
}
.job-link:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.job-desc {
  margin: 14px 0 0;
  font-size: 0.96rem;
  white-space: pre-line;
  color: var(--body);
  overflow-wrap: anywhere;
}
.job-actions {
  display: flex;
  gap: 10px;
  flex: none;
}
@media (max-width: 700px) {
  .job {
    flex-direction: column;
    align-items: stretch;
  }
  .job-actions .btn {
    flex: 1;
  }
}
.job-empty {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--body);
  margin: 0;
}
.job-empty p {
  margin: 0 0 14px;
}
.job-empty .hero-actions {
  margin-top: 4px;
}
.job-loading {
  color: var(--muted);
}
.job-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 200px;
  gap: 12px;
  margin-bottom: 12px;
}
.job-tools input,
.job-tools select {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
}
.job-tools select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.job-tools input:focus,
.job-tools select:focus {
  outline: none;
  border-color: var(--red-hover);
  box-shadow: 0 0 0 3px rgba(255, 77, 90, 0.25);
}
.job-tools select option {
  background: var(--surface);
}
.job-search {
  position: relative;
}
.job-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--muted);
  pointer-events: none;
}
.job-search input {
  padding-left: 42px;
}
.job-count {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.4em;
}
@media (max-width: 760px) {
  .job-tools {
    grid-template-columns: 1fr 1fr;
  }
  .job-search {
    grid-column: 1 / -1;
  }
}
@media (max-width: 420px) {
  .job-tools {
    grid-template-columns: 1fr;
  }
}
.eeo {
  margin-top: 40px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.93rem;
}
.eeo p:last-child {
  margin: 0;
}
.meta-line {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 24px;
}
.meta-line .btn {
  margin-left: 8px;
  vertical-align: middle;
}

/* job detail */
.job-detail {
  min-width: 0;
}
.job-detail h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-top: 8px;
}
.job-detail .job-desc {
  margin: 0 0 1em;
  font-size: 1.02rem;
}
.job-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 40px;
}
.job-facts div {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.job-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.job-facts dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .job-facts {
    grid-template-columns: 1fr;
  }
}
.job-aside {
  display: grid;
  gap: 12px;
}
.job-aside h2 {
  margin: 0;
}
.job-aside .note {
  margin: 0;
}
.share-btn svg {
  width: 17px;
  height: 17px;
}
.share-status {
  margin: 0;
  min-height: 1.3em;
  font-size: 0.86rem;
  color: var(--ok);
}

/* ---------------------------------------------------------------- insights */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1020px) {
  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .posts {
    grid-template-columns: 1fr;
  }
}
.posts > .job-loading,
.posts > .job-empty,
.posts-empty {
  grid-column: 1 / -1;
}
.post-card {
  display: flex;
  flex-direction: column;
}
.post-card h3 {
  overflow-wrap: anywhere;
}
.post-card p:not(.post-date) {
  flex: 1;
}
.post-card .link-arrow {
  margin-top: 16px;
}
.post-date {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-text);
}
.posts-empty {
  text-align: center;
  padding: 64px 24px;
  border-radius: 22px;
  border: 1px dashed var(--line-2);
  background: radial-gradient(70% 120% at 50% 0%, rgba(225, 29, 46, 0.12), transparent 70%), rgba(255, 255, 255, 0.015);
}
.posts-empty h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.posts-empty p {
  max-width: 560px;
  margin: 0 auto 22px;
}
.posts-empty .hero-actions {
  justify-content: center;
}
.post-layout {
  max-width: 860px;
}
.post-body {
  max-width: none;
  font-size: 1.08rem;
}
.post-meta {
  color: var(--muted) !important;
  font-size: 0.92rem;
  padding-bottom: 18px;
  margin-bottom: 28px !important;
  border-bottom: 1px solid var(--line);
}
.post-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.back-link svg {
  transform: rotate(180deg);
}
.back-link:hover svg {
  transform: rotate(180deg) translateX(3px);
}

/* ------------------------------------------------------------------ forms */
.form-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 560px) {
  .form-card {
    padding: 24px 18px;
  }
}
.form-card .h3 {
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.field {
  margin-bottom: 16px;
  min-width: 0;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field select option {
  background: var(--surface);
  color: var(--text);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7d7d87;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.24);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red-hover);
  box-shadow: 0 0 0 3px rgba(255, 77, 90, 0.25);
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 6px;
}
.req {
  color: var(--red-text);
}
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 14px 0 0;
}
.alert {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.alert.is-visible {
  display: block;
}
.alert--ok {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #d1fae5;
}
.alert--err {
  background: var(--red-soft);
  border: 1px solid rgba(255, 77, 90, 0.45);
  color: #ffe4e6;
}
.alert a {
  color: #fff;
  text-decoration: underline;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.info-list {
  display: grid;
  gap: 14px;
}
.info-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.info-item:hover {
  border-color: var(--line-2);
}
.info-item .icon-tile {
  margin: 0;
  flex: none;
  width: 46px;
  height: 46px;
}
.info-item h3,
.info-item .h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.info-item p {
  margin: 0;
  overflow-wrap: anywhere;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.modal.is-open {
  display: flex;
}
.modal-box {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  animation: menu-in 0.25s var(--ease);
}
@media (max-width: 560px) {
  .modal {
    padding: 12px 8px;
  }
  .modal-box {
    padding: 22px 16px;
  }
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-head h2 {
  font-size: 1.4rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.modal-sub {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.modal-close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover {
  border-color: var(--red-hover);
}
body.modal-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------ prose */
.prose {
  max-width: 820px;
  overflow-wrap: break-word;
}
.prose h2 {
  font-size: 1.55rem;
  margin-top: 2em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.6em;
}
.prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose li::marker {
  color: var(--red-hover);
}
.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 90, 102, 0.5);
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--text);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  vertical-align: top;
}
.prose th {
  color: var(--text);
  background: var(--surface);
}
.table-scroll {
  overflow-x: auto;
}

/* values */
.value-num {
  font: 700 0.85rem/1 var(--font);
  color: var(--red-text);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 100% 0%, rgba(225, 29, 46, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2), #060607);
  padding: 80px 0 28px;
  font-size: 0.95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 102, 0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1.2fr 1.15fr;
  gap: 44px;
}
@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  color: var(--muted);
  max-width: 360px;
}
.footer-brand .btn {
  margin-top: 6px;
}
.site-footer h2 {
  font: 700 0.78rem/1.2 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact p {
  color: var(--muted);
  margin-bottom: 14px;
}
.fc-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.fc-row svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--red-hover);
}
.footer-contact a {
  color: var(--body);
  overflow-wrap: anywhere;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-bottom .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-bottom .legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: var(--muted);
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-bottom .disclaimer {
  margin: 0;
  font-size: 0.8rem;
  color: #8e8e98;
}

/* 404 */
.notfound {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 72px);
  text-align: center;
}
.notfound .container {
  max-width: 820px;
}
.nf-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 8px;
}
.notfound .code {
  font: 700 clamp(4.5rem, 14vw, 8rem)/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 2px var(--red-hover);
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}
.notfound .lede {
  color: var(--body);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.nf-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}
@media (max-width: 600px) {
  .nf-links {
    grid-template-columns: 1fr;
  }
}
.nf-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--body);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}
.nf-link:hover {
  border-color: var(--red-line);
  color: #fff;
  transform: translateY(-2px);
}
.nf-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.nf-link strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
}
.nf-link small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.nf-link > svg {
  width: 18px;
  height: 18px;
  color: var(--red-text);
  flex: none;
}
.notfound .hero-actions {
  justify-content: center;
}

/* ------------------------------------------------------------- reveal fx */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .section {
    padding: 76px 0;
  }
  .section--tight,
  .cta-section {
    padding: 56px 0;
  }
  .hero {
    padding: calc(var(--header-h) + 56px) 0 72px;
  }
  .page-hero {
    padding: calc(var(--header-h) + 48px) 0 48px;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .deliver {
    padding: 16px;
  }
}
@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }
  .brand img {
    height: 32px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .card {
    padding: 24px;
  }
  .deliver-list small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  /* static, wrapped technology list instead of a moving strip */
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track {
    animation: none !important;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 44px;
    padding: 0 24px;
  }
  .marquee-track[aria-hidden="true"] {
    display: none;
  }
}

/* ------------------------------------------------------------------ print */
@media print {
  .site-header,
  .site-footer,
  .hero-bg,
  .cta-section,
  .job-aside,
  .post-actions,
  .skip-link,
  .modal,
  .marquee-band,
  .nav {
    display: none !important;
  }
  html,
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }
  .page-hero,
  .hero,
  .notfound {
    margin-top: 0;
    padding: 0 0 12pt;
    border: 0;
  }
  .section {
    padding: 12pt 0;
  }
  h1,
  h2,
  h3,
  .crumbs,
  .eyebrow,
  .lede,
  p,
  li,
  dt,
  dd {
    color: #000 !important;
  }
  .detail-grid {
    display: block;
  }
  .job-facts div,
  .eeo,
  .card {
    background: #fff !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .prose a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #333;
  }
  a {
    color: #000 !important;
  }
}
