:root {
  --red: #ef001c;
  --red-dark: #b90016;
  --ink: #081321;
  --ink-2: #111d2b;
  --muted: #697586;
  --line: rgba(255, 255, 255, 0.18);
  --paper: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 19, 33, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 6vw, 86px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 10, 18, 0.78), rgba(4, 10, 18, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(239, 0, 28, 0.26), 0 8px 18px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, background 220ms ease;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-4deg);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links a:hover {
  color: var(--white);
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.band-image {
  position: absolute;
  inset: 0;
  background-image: url("assets-tinified/hseq-industrial-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 25, 0.94), rgba(5, 14, 25, 0.62) 48%, rgba(5, 14, 25, 0.18)),
    linear-gradient(180deg, rgba(5, 14, 25, 0.28), rgba(5, 14, 25, 0.78));
}

.hero-cut {
  position: absolute;
  top: 0;
  right: -12vw;
  width: 46vw;
  height: 100%;
  background: linear-gradient(135deg, rgba(239, 0, 28, 0.92), rgba(239, 0, 28, 0.54));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  padding: 106px 0 0 clamp(20px, 11vw, 150px);
}

.eyebrow {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

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

h1,
h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(64px, 9.2vw, 118px);
  line-height: 0.86;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.94;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 38px rgba(239, 0, 28, 0.35);
}

.button.ghost {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary:hover {
  background: #ff2036;
  box-shadow: 0 22px 48px rgba(239, 0, 28, 0.45);
}

.button.ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.hero-status {
  position: absolute;
  right: clamp(20px, 7vw, 86px);
  bottom: 40px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-status span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  background: rgba(5, 14, 25, 0.42);
  backdrop-filter: blur(12px);
}

.section {
  position: relative;
  padding: 98px clamp(20px, 8vw, 112px);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(42px, 8vw, 104px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(239, 0, 28, 0.08), transparent 34%),
    var(--paper);
}

.section-copy p {
  max-width: 700px;
  color: #3d4654;
  line-height: 1.75;
}

.metrics-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metrics-grid::before {
  position: absolute;
  inset: -38px 12%;
  z-index: 0;
  content: "";
  background: linear-gradient(145deg, transparent 10%, rgba(239, 0, 28, 0.86) 10% 44%, transparent 44% 58%, rgba(239, 0, 28, 0.64) 58% 74%, transparent 74%);
  clip-path: polygon(44% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}

.metric-card {
  position: relative;
  z-index: 1;
  min-height: 166px;
  padding: 26px;
  border: 1px solid rgba(8, 19, 33, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.metric-card strong {
  display: block;
  margin-bottom: 15px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  color: var(--ink);
  font-size: 48px;
  line-height: 0.9;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.metric-card:hover {
  border-color: rgba(239, 0, 28, 0.26);
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(8, 19, 33, 0.3);
}

.band {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.band-image {
  filter: saturate(0.78) contrast(1.12);
  transform: scale(1.03);
}

.band-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.16), transparent 23%),
    linear-gradient(90deg, rgba(8, 19, 33, 0.92), rgba(8, 19, 33, 0.72) 54%, rgba(8, 19, 33, 0.45)),
    linear-gradient(180deg, rgba(8, 19, 33, 0.24), rgba(8, 19, 33, 0.92));
}

.band-content {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 40px));
  padding: 104px 0 96px clamp(20px, 8vw, 112px);
}

.band-content h2 {
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
}

.service-card,
.sector-card {
  border-radius: 8px;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card {
  min-height: 196px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.service-card.active {
  color: var(--white);
  background: var(--red);
}

.service-card p {
  margin-bottom: 0;
  color: currentColor;
  font-size: 14px;
  line-height: 1.62;
  opacity: 0.78;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.service-card:not(.active):hover {
  background: var(--white);
  border-color: rgba(239, 0, 28, 0.5);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.sector-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sector-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(8, 19, 33, 0.08);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(8, 19, 33, 0.08);
}

.sector-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  font-weight: 800;
  background: rgba(239, 0, 28, 0.09);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.sector-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.sector-card:hover {
  transform: translateY(-10px);
  border-color: rgba(239, 0, 28, 0.25);
  box-shadow: 0 28px 62px rgba(8, 19, 33, 0.16);
}

.sector-card:hover .icon {
  color: var(--white);
  background: var(--red);
  transform: rotate(-8deg) scale(1.04);
}

.approach {
  position: relative;
  padding: 116px clamp(20px, 8vw, 112px);
  background:
    linear-gradient(126deg, rgba(239, 0, 28, 0.96) 0 22%, transparent 22% 100%),
    linear-gradient(180deg, #f5f6f8, #e9ebef);
}

.approach-panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 62px);
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.approach-panel h2 {
  max-width: 760px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.timeline div {
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.timeline div:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 0, 28, 0.62);
  background: rgba(239, 0, 28, 0.12);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px clamp(20px, 8vw, 112px);
  color: rgba(255, 255, 255, 0.7);
  background: #07111f;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-cut {
    width: 62vw;
    opacity: 0.76;
  }

  .hero-content {
    padding-top: 130px;
  }

  .about,
  .service-grid,
  .sector-row,
  .timeline {
    grid-template-columns: 1fr;
  }

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

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

  .brand small {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 14, 25, 0.82), rgba(5, 14, 25, 0.92));
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 132px 0 0 20px;
  }

  h1 {
    font-size: clamp(54px, 18vw, 76px);
  }

  .hero-status {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .section,
  .approach {
    padding: 76px 20px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .band {
    min-height: 820px;
  }

  .band-content {
    width: calc(100% - 40px);
    padding: 76px 0 76px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
