:root {
  --red: #d62828;
  --red-hover: #b82121;
  --black: #0a0a0a;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f4f4f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #52525b;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --header-h: 4.25rem;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 2.5rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--black);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-header.nav-open .nav-toggle-bar {
  background: transparent;
}

.site-header.nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-list a:hover {
  color: var(--red);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius);
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--red-hover);
  color: var(--white) !important;
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-list a {
    padding: 0.5rem 0;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 52rem);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 10vw, 6rem);
  border-bottom: 1px solid var(--gray-200);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: saturate(0.35) contrast(1.15) brightness(0.55);
  transform: translate3d(var(--hero-parallax-x, 0px), var(--hero-parallax-y, 0px), 0) scale(1.04);
  transition: transform 0.6s ease-out;
}

.hero-media-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 15% 40%, rgba(214, 40, 40, 0.12), transparent 55%),
    radial-gradient(ellipse 90% 70% at 85% 60%, rgba(10, 10, 10, 0.2), transparent 50%),
    linear-gradient(160deg, var(--gray-100) 0%, var(--white) 45%, var(--gray-200) 100%);
  z-index: 1;
}

.hero-video + .hero-media-fallback {
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.hero-media--no-video .hero-media-fallback {
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 38%,
    rgba(255, 255, 255, 0.55) 72%,
    rgba(255, 255, 255, 0.2) 100%
  );
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.06;
  background-image:
    linear-gradient(var(--black) 1px, transparent 1px),
    linear-gradient(90deg, var(--black) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black 0%, black 50%, transparent 85%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 40rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-media-fallback {
    opacity: 1;
    mix-blend-mode: normal;
  }

  .hero-grid {
    opacity: 0.04;
  }
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.ring {
  width: 14px;
  height: 14px;
  border: 2px solid var(--gray-400);
  border-radius: 50%;
  flex-shrink: 0;
}

.ring--dark {
  border-color: var(--black);
  border-width: 3px;
  width: 16px;
  height: 16px;
}

.bar {
  width: 3px;
  height: 14px;
  background: var(--gray-400);
  border-radius: 1px;
  flex-shrink: 0;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--black);
  letter-spacing: -0.02em;
  max-width: 22em;
}

.hero-taglines {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0 0.65rem 1rem;
  border-left: 3px solid var(--red);
  max-width: 36rem;
}

.hero-tagline {
  margin: 0 0 0.5rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.015em;
}

.hero-tagline:last-child {
  margin-bottom: 0;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--black);
  color: var(--black);
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-muted {
  background: var(--gray-100);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.section-title--sm {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.section-title--spaced {
  margin-top: 2rem;
}

.section-intro {
  margin: -0.25rem 0 2rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--red);
}

.card-text {
  margin: 0;
  color: var(--text-muted);
}

.list-plain {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.list-plain li {
  margin-bottom: 0.35rem;
}

/* CEO message */
.section-ceo {
  border-top: 1px solid var(--gray-200);
}

.ceo-inner .section-title {
  margin-bottom: 1.25rem;
}

.ceo-card {
  max-width: 48rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.ceo-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.ceo-body p:last-child {
  margin-bottom: 0;
}

.ceo-signature {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  background: var(--white);
  transition: border-color 0.15s ease;
}

.service-card:hover {
  border-color: var(--gray-400);
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(214, 40, 40, 0.09);
  color: var(--red);
}

.service-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0;
}

.service-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card li {
  margin-bottom: 0.35rem;
}

/* Why / industries */
.grid-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .grid-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: transparent;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags li {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
}

.approach {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.approach li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.approach span {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
}

/* Contact */
.section-contact {
  border-top: 1px solid var(--gray-200);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 3rem;
  }
}

.contact-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.contact-details {
  margin: 0;
}

.contact-details > div {
  margin-bottom: 1.25rem;
}

.contact-details dt {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.contact-details dd {
  margin: 0;
  color: var(--text);
}

.contact-details a {
  font-weight: 500;
}

.contact-sep {
  margin: 0 0.35rem;
  color: var(--gray-400);
}

.contact-card {
  background: var(--gray-100);
  border-left: 3px solid var(--red);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-card-quote {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
  opacity: 0.85;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
