:root {
  --red: #e24034;
  --red-dark: #c93329;
  --ink: #111111;
  --muted: #696969;
  --line: #e7e7e7;
  --soft: #f4f1ee;
  --white: #ffffff;
  --container: 1104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 28px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  font-size: 20px;
  line-height: 1;
}

.brand span span {
  display: inline-block;
  margin-left: 2px;
  color: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  transition: color 180ms ease;
}

.home-generated-link {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav a:hover,
.text-link:hover {
  color: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(226, 64, 52, 0.16);
  white-space: nowrap;
}

.nav-cta:hover,
.button:hover {
  color: #fff;
  background: var(--red-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(640px, calc(100svh - 72px), 760px);
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-bottom: 5px solid var(--red);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  overflow: hidden;
  background: #171717;
}

.hero-fallback,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-fallback {
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 700ms ease;
}

.hero-video {
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero.is-video-ready .hero-video {
  opacity: 1;
}

.hero.is-video-ready .hero-fallback {
  opacity: 0;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.91) 0%, rgba(10, 10, 10, 0.72) 50%, rgba(10, 10, 10, 0.34) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.36), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 190px;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  min-height: inherit;
  padding: 72px 0;
}

.hero-copy-block {
  align-self: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 21px;
}

.hero-territory {
  align-self: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-territory span,
.hero-territory strong,
.hero-territory small {
  display: block;
}

.hero-territory span {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-territory strong {
  font-size: 15px;
  line-height: 1.65;
}

.hero-territory small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 750;
}

.stats {
  padding: 0;
  color: #fff;
  background: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid #303030;
}

.stat-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 166px;
  padding: 34px 24px 30px;
  border-left: 1px solid #303030;
  text-align: center;
}

.stat-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 4px;
  background: var(--red);
  transform: translateX(-50%);
}

.stat-number {
  display: inline-flex;
  align-items: flex-start;
  color: var(--red);
  font-size: 58px;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}

.stat-number sup {
  margin: 4px 0 0 2px;
  font-size: 24px;
  line-height: 1;
}

.stat-label {
  min-height: 18px;
  margin-top: 16px;
  color: #d3d3d3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin: 36px 0;
}

.feature-grid p,
.sector-card p,
.cta-panel p,
.footer-grid p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--red);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.office-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
}

.office-gallery .gallery-main {
  grid-column: 1 / -1;
  height: 350px;
  object-position: center 48%;
}

.office-gallery img:nth-child(2) {
  object-position: center 42%;
}

.office-gallery img:nth-child(3) {
  object-position: center center;
}

.territory-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #171717;
}

.territory-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(64px, 8vw, 112px);
  align-items: center;
}

.territory-copy h2 {
  max-width: 520px;
  margin-bottom: 26px;
}

.territory-lead {
  max-width: 530px;
  margin-bottom: 0;
  color: #b9b9b9;
  font-size: 20px;
}

.territory-address {
  max-width: 480px;
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  font-style: normal;
}

.territory-address span,
.territory-address strong {
  display: block;
}

.territory-address span {
  margin-bottom: 9px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.territory-address strong {
  margin-bottom: 6px;
  font-size: 23px;
}

.territory-address p {
  margin: 0;
  color: #9b9b9b;
  font-size: 14px;
}

.territory-map {
  min-width: 0;
  margin: 0;
}

.territory-map-visual {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
}

.territory-map-visual > img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.map-marker {
  position: absolute;
  z-index: 2;
  top: var(--marker-y);
  left: var(--marker-x);
  transform: translate(-50%, -50%);
}

.map-marker-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(226, 64, 52, 0.14), 0 9px 24px rgba(0, 0, 0, 0.34);
  cursor: default;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.map-marker-trigger > span {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  overflow: hidden;
  font-size: 0;
}

.map-marker-trigger > span::before,
.map-marker-trigger > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.map-marker-trigger > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.map-marker:hover .map-marker-trigger {
  color: var(--ink);
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(226, 64, 52, 0.2), 0 12px 30px rgba(0, 0, 0, 0.42);
  transform: scale(1.08);
}

.map-marker-info {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  width: 218px;
  padding: 14px 16px 15px;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translate(-50%, 8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
  pointer-events: none;
}

.map-marker-info::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 7px solid transparent;
  border-top-color: var(--white);
  transform: translateX(-50%);
}

.map-marker-info strong,
.map-marker-info span {
  display: block;
}

.map-marker-info strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.map-marker-info span {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.map-marker:hover .map-marker-info {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.territory-map figcaption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #444;
}

.territory-map figcaption div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
}

.territory-map figcaption span {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(226, 64, 52, 0.14);
}

.territory-map figcaption strong,
.territory-map figcaption small {
  display: block;
}

.territory-map figcaption strong {
  font-size: 14px;
}

.territory-map figcaption small {
  color: #888;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sectors {
  border-top: 1px solid var(--line);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.sector-card {
  min-width: 0;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sector-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #171717;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
  transition: box-shadow 420ms ease;
}

.sector-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-position: center;
  background-size: 34px 34px;
  opacity: 0.14;
  transition: opacity 420ms ease, background-position 700ms ease;
  pointer-events: none;
}

.sector-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.26), rgba(12, 12, 12, 0.7));
  transition: background-color 420ms ease;
  pointer-events: none;
}

.sector-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.58;
  transition: filter 600ms ease, opacity 600ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sector-card:hover {
  transform: translateY(-8px);
}

.sector-card:hover .sector-image {
  box-shadow: 0 24px 52px rgba(17, 17, 17, 0.22);
}

.sector-card:hover .sector-image > img:first-child {
  filter: grayscale(0.15) contrast(1.12) saturate(0.88);
  opacity: 0.76;
  transform: scale(1.09);
}

.sector-card:hover .sector-image::before {
  background-position: 17px 17px;
  opacity: 0.42;
}

.sector-visual {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(104px, 46%, 128px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(226, 64, 52, 0.22), rgba(226, 64, 52, 0.22)) center / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(226, 64, 52, 0.22), rgba(226, 64, 52, 0.22)) center / 100% 1px no-repeat,
    rgba(10, 10, 10, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
  transition: border-color 420ms ease, box-shadow 420ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.sector-reticle {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  transition: border-color 420ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sector-symbol {
  position: relative;
  z-index: 2;
  width: 68%;
  height: 68%;
  overflow: visible;
  stroke: #fff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  transition: filter 420ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sector-symbol .accent,
.sector-symbol .node {
  fill: var(--red);
  stroke: var(--red);
}

.sector-symbol .accent-ring,
.sector-symbol .accent-rays {
  stroke: var(--red);
}

.sector-symbol .joint {
  fill: #171717;
}

.sector-scan {
  position: absolute;
  z-index: 4;
  right: 10px;
  left: 10px;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(226, 64, 52, 0.9);
  opacity: 0;
  transform: translateY(-58px);
}

.sector-card:hover .sector-visual {
  border-color: rgba(226, 64, 52, 0.94);
  box-shadow: 0 0 0 1px rgba(226, 64, 52, 0.22), 0 22px 54px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%) scale(1.08);
}

.sector-card:hover .sector-reticle {
  border-color: rgba(226, 64, 52, 0.52);
  transform: rotate(135deg) scale(0.88);
}

.sector-card:hover .sector-symbol {
  filter: drop-shadow(0 0 9px rgba(226, 64, 52, 0.72));
  transform: scale(1.06);
}

.sector-card:hover .sector-symbol .trace,
.sector-card:hover .sector-symbol .joint,
.sector-card:hover .sector-symbol .accent-ring,
.sector-card:hover .sector-symbol .accent-rays {
  animation: circuit-draw 900ms ease both;
}

.sector-card:hover .sector-scan {
  animation: sector-scan 1.25s ease-in-out infinite;
}

.sector-card h3 {
  position: relative;
  margin-top: 24px;
  padding-left: 28px;
}

.sector-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 9px 0 0 rgba(226, 64, 52, 0.7);
}

@keyframes circuit-draw {
  0% {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
  }
  100% {
    stroke-dasharray: 180;
    stroke-dashoffset: 0;
  }
}

@keyframes sector-scan {
  0% {
    opacity: 0;
    transform: translateY(-58px);
  }
  18%,
  82% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(58px);
  }
}

.hiring {
  padding: 36px 0;
  color: #fff;
  background: var(--red);
}

.hiring-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.hiring h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 38px);
}

.button-light {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.button-light:hover {
  color: var(--ink);
  background: #f7f7f7;
}

.video-section h2 {
  max-width: 720px;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #111;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.partners {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head h2 {
  max-width: 640px;
  margin: 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 112px;
  padding: 26px 24px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.partner-item img {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.partner-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.partner-item.is-generated {
  flex-direction: column;
  gap: 10px;
}

.partner-item.is-generated span {
  overflow: hidden;
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-head-actions,
.news-controls {
  display: flex;
  align-items: center;
}

.news-head-actions {
  gap: 24px;
}

.news-controls {
  gap: 8px;
}

.news-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.news-controls button span {
  position: relative;
  display: block;
  width: 16px;
  height: 14px;
  overflow: hidden;
  font-size: 0;
}

.news-controls button span::before,
.news-controls button span::after {
  content: "";
  position: absolute;
  top: 50%;
}

.news-controls button span::before {
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.news-controls button span::after {
  right: 1px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.news-controls button[data-news-prev] span::after {
  right: auto;
  left: 1px;
  transform: translateY(-50%) rotate(-135deg);
}

.news-controls button:hover,
.news-controls button:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.news-controls button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.news-controls button:disabled {
  color: #aaa;
  background: #f4f4f4;
  border-color: #e7e7e7;
  cursor: default;
  transform: none;
}

.news-carousel {
  min-width: 0;
}

.news-track {
  display: grid;
  grid-auto-columns: calc((100% - 64px) / 3);
  grid-auto-flow: column;
  gap: 32px;
  overflow-x: auto;
  padding: 4px 3px 30px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.news-track::-webkit-scrollbar {
  display: none;
}

.news-track:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.news-card {
  position: relative;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.news-card-media {
  display: grid;
  width: 100%;
  aspect-ratio: 1.65 / 1;
  overflow: hidden;
  place-items: center;
  border-radius: 8px;
  background: #f7f6f4;
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.news-card p {
  margin: 24px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: 22px;
  transition: color 180ms ease;
}

.news-card-action {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.news-card-action:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.news-card:hover .news-card-media,
.news-card:focus-within .news-card-media {
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.13);
  transform: translateY(-5px);
}

.news-card:hover h3,
.news-card:focus-within h3 {
  color: var(--red);
}

.news-progress {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: #e4e4e4;
}

.news-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  background: var(--red);
  transition: left 180ms ease, width 180ms ease;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 58px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.cta-panel h2 {
  margin-bottom: 16px;
}

.cta-panel p {
  max-width: 560px;
  margin: 0;
  color: #c7c7c7;
}

.site-footer {
  color: #c7c7c7;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.9fr 1fr;
  gap: 64px;
  padding: 66px 0;
}

.footer-logo {
  width: 170px;
  margin-bottom: 20px;
}

.footer-grid h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: #c7c7c7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  color: #fff;
  border: 1px solid #3b3b3b;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 800;
}

.copyright {
  padding: 26px 0;
  border-top: 1px solid #252525;
  font-size: 12px;
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 68px;
    padding: 0 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    z-index: 20;
    top: 68px;
    right: 0;
    left: 0;
    height: calc(100vh - 68px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 18px 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(17, 17, 17, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
  }

  .home-generated-link {
    max-width: none;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .about-grid,
  .territory-grid,
  .hiring-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 44px;
  }

  h1 {
    max-width: 760px;
    font-size: 50px;
  }

  .hero-copy {
    max-width: 710px;
  }

  .about-grid {
    gap: 52px;
  }

  .territory-grid {
    gap: 60px;
  }

  .territory-copy,
  .territory-map {
    max-width: 680px;
    margin-inline: auto;
  }

  .sector-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-track {
    grid-auto-columns: calc((100% - 24px) / 2);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    display: block;
    padding: 74px 0;
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.56));
  }

  .hero-territory {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .hero-copy {
    font-size: 19px;
  }

  .stats-grid,
  .feature-grid,
  .sector-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 0;
    border-right: 1px solid #303030;
  }

  .stat-item {
    min-height: 138px;
    border-bottom: 1px solid #303030;
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .stat-number {
    font-size: 52px;
  }

  .about-grid {
    gap: 48px;
  }

  .territory-grid {
    gap: 44px;
  }

  .territory-lead {
    font-size: 18px;
  }

  .territory-address {
    margin-top: 34px;
  }

  .territory-map figcaption {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-marker-trigger {
    width: 34px;
    height: 34px;
  }

  .map-marker-info {
    width: 196px;
  }

  .office-gallery .gallery-main,
  .office-gallery img {
    height: 240px;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    margin-top: 18px;
  }

  .news-head-actions {
    justify-content: space-between;
    margin-top: 20px;
  }

  .news-head-actions .text-link {
    margin-top: 0;
  }

  .news-track {
    grid-auto-columns: 86%;
    gap: 16px;
    padding-bottom: 24px;
  }

  .news-card h3 {
    font-size: 20px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-item {
    min-height: 96px;
    padding: 22px 16px;
  }

  .partner-item img {
    max-width: 126px;
    max-height: 44px;
  }

  .cta-panel {
    padding: 34px 24px;
  }

  .button {
    width: 100%;
    padding-inline: 18px;
  }
}

@media (max-width: 480px) {
  .stats .container,
  #progetti .container {
    width: 100%;
  }

  .stats-grid {
    border-right: 0;
  }

  .stat-item {
    border-left: 0;
  }

  .map-marker-trigger {
    width: 26px;
    height: 26px;
    border-width: 1.5px;
    box-shadow: 0 0 0 3px rgba(226, 64, 52, 0.14), 0 7px 18px rgba(0, 0, 0, 0.32);
  }

  .map-marker-trigger > span {
    width: 10px;
    height: 10px;
  }

  .map-marker-trigger > span::before,
  .map-marker-trigger > span::after {
    width: 10px;
  }

  .map-marker:hover .map-marker-trigger {
    box-shadow: 0 0 0 4px rgba(226, 64, 52, 0.18), 0 9px 22px rgba(0, 0, 0, 0.36);
  }

  .partners .partner-grid {
    width: calc(100% + 32px);
    margin-left: -16px;
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .partner-item {
    min-height: 88px;
  }

  .cta-panel {
    min-width: 0;
    gap: 28px;
    padding: 38px 24px;
    border-radius: 0;
  }

  .cta-panel > *,
  .cta-panel > div {
    min-width: 0;
    max-width: 100%;
  }

  .cta-panel h2 {
    font-size: 28px;
  }

  .cta-panel p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cta-panel .button {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 26px;
  }

  .brand span {
    font-size: 19px;
  }

  .eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 18px;
  }
}
