:root {
  --ink: #08090d;
  --muted: #626674;
  --paper: #f7f7f7;
  --white: #ffffff;
  --csun-red: #d22030;
  --deep-red: #8f1220;
  --line: rgba(8, 9, 13, 0.14);
  --shadow: 0 24px 80px rgba(8, 9, 13, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 24%, rgba(210, 32, 48, 0.1), transparent 24rem),
    radial-gradient(circle at 10% 46%, rgba(210, 32, 48, 0.07), transparent 22rem),
    radial-gradient(circle at 78% 68%, rgba(143, 18, 32, 0.08), transparent 28rem),
    radial-gradient(circle at 18% 84%, rgba(210, 32, 48, 0.08), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: blur(0);
  transition: background 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 178px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 184px;
  max-width: 42vw;
  height: auto;
  display: block;
  border-radius: 7px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--csun-red);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #131722;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(1.04) contrast(1.04) brightness(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.5) 0%, rgba(5, 6, 10, 0.28) 34%, rgba(5, 6, 10, 0.04) 74%),
    linear-gradient(0deg, rgba(5, 6, 10, 0.5) 0%, rgba(5, 6, 10, 0.1) 48%, rgba(5, 6, 10, 0.02) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  padding: 54px 0 152px;
  color: var(--white);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--csun-red);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 8px;
  font-size: clamp(3.25rem, 9vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.38), 0 0 18px rgba(255, 255, 255, 0.24);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro h2 {
  font-size: clamp(1.8rem, 3.8vw, 3.25rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.44);
}

.hero-copy {
  display: none;
}

.hero .eyebrow {
  display: none;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.38), 0 0 18px rgba(255, 255, 255, 0.24);
}

.hero-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button.primary {
  background: var(--csun-red);
  color: var(--white);
  min-width: 168px;
}

.section {
  position: relative;
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 92px 0;
}

#what-we-do {
  border-top: 0;
}

#what-we-do::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.section::before,
.industry-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(210, 32, 48, 0.12), rgba(210, 32, 48, 0) 68%);
}

.intro::before {
  width: 360px;
  height: 360px;
  top: 8%;
  right: -16%;
}

#what-we-do::before {
  width: 300px;
  height: 300px;
  left: -14%;
  bottom: 12%;
}

.intro-grid,
.section-heading,
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.intro-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 42px;
  text-align: center;
}

.intro-grid > div {
  max-width: 880px;
}

.about-strip {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}

.about-strip img {
  width: min(980px, 100%);
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 26px 42px rgba(8, 9, 13, 0.24));
}

.intro-grid p,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-grid p {
  font-size: 1.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.feature-card {
  min-height: 292px;
  padding: 28px;
  border: 1px solid rgba(210, 32, 48, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(8, 9, 13, 0.08);
  position: relative;
  overflow: hidden;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.card-top img {
  width: auto;
  height: 164px;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(8, 9, 13, 0.18);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--csun-red), var(--ink));
}

.feature-card:nth-child(2) .icon {
  background: var(--ink);
}

.feature-card:nth-child(3) .icon {
  background: var(--deep-red);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--csun-red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.industry-section {
  position: relative;
  z-index: 0;
  padding: 88px max(22px, calc((100vw - 1120px) / 2));
  background:
    radial-gradient(circle at 14% 20%, rgba(210, 32, 48, 0.13), transparent 18rem),
    radial-gradient(circle at 86% 76%, rgba(143, 18, 32, 0.1), transparent 22rem),
    rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--line);
}

.industry-section::before {
  width: 420px;
  height: 420px;
  top: -20%;
  right: 8%;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 28px;
  margin-top: 34px;
  align-items: center;
}

.logo-tile {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.05;
  box-shadow: none;
}

.logo-tile img {
  display: block;
  width: 100%;
  max-width: 164px;
  max-height: 86px;
  object-fit: contain;
}

.logo-tile-dark {
  background: transparent;
}

.logo-tile-dark img {
  max-width: 182px;
  max-height: 104px;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 92px max(22px, calc((100vw - 1120px) / 2));
  background: var(--csun-red);
  color: var(--white);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 32px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--ink);
}

.contact-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(8, 9, 13, 0.14);
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card a img {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px max(22px, calc((100vw - 1120px) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-self: start;
}

.footer img {
  width: 168px;
  max-width: 42vw;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3;
  justify-self: end;
  gap: 10px;
  color: var(--ink);
}

.copyright {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-social span {
  margin-right: 4px;
  color: var(--muted);
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: transparent;
  transition: transform 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-social img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .site-header {
    inset: 12px 12px auto;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 8px;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
  }

  .site-header.nav-open .nav-links {
    display: grid;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-image {
    object-position: center 58%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 6, 10, 0.7) 0%, rgba(5, 6, 10, 0.2) 58%, rgba(5, 6, 10, 0.04) 100%),
      linear-gradient(90deg, rgba(5, 6, 10, 0.48), rgba(5, 6, 10, 0.1));
  }

  .hero-content {
    width: min(100% - 28px, 660px);
    align-content: start;
    padding: 210px 0 78px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
    margin-bottom: 6px;
  }

  .hero .eyebrow {
    font-size: 0.68rem;
  }

  .hero-copy {
    max-width: 360px;
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .section {
    width: min(100% - 28px, 660px);
    padding: 68px 0;
  }

  .intro-grid,
  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .intro-grid,
  .section-heading,
  .contact {
    gap: 26px;
  }

  .about-strip img {
    width: 100%;
  }

  .industry-section {
    padding-block: 66px;
  }

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

  .card-top {
    margin-bottom: 28px;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

  .footer-social {
    justify-self: end;
    justify-content: flex-end;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-image {
    object-position: center bottom;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    bottom: 4px;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }

  .card-top img {
    width: auto;
    height: 144px;
  }
}
