:root {
  --black: #0c0c0c;
  --ink: #121820;
  --muted: #5d6672;
  --blue: #58b9f2;
  --blue-dark: #137dbd;
  --paper: #f4f7f9;
  --line: #dce4ea;
  --white: #ffffff;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 5vw;
  background: var(--black);
  color: var(--white);
}

.brand-logo {
  width: clamp(190px, 23vw, 330px);
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  font-size: 0.98rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  color: var(--white);
}

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

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide {
  opacity: 0;
  transform: scale(1);
  animation: heroSlideshow 18s infinite;
}

.slide-one {
  opacity: 1;
}

.slide-two {
  animation-delay: 6s;
}

.slide-three {
  animation-delay: 12s;
}

@keyframes heroSlideshow {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: scale(1.08);
  }
  42% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.78), rgba(5, 6, 7, 0.52) 38%, rgba(5, 6, 7, 0.12)),
    linear-gradient(0deg, rgba(5, 6, 7, 0.42), rgba(5, 6, 7, 0.02) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 90vw);
  padding: 0 0 8.5vw 5vw;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8.6vw, 8.6rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5.2vw, 5.6rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.hero-content p:not(.eyebrow) {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-links a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
}

.hero-links a::after,
.text-link::after,
.service-row::after {
  content: "->";
  color: var(--blue);
  font-weight: 900;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-strip a {
  min-height: 210px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease;
}

.fact-strip a:hover,
.fact-strip a:focus-visible {
  background: #10151a;
}

.fact-strip strong {
  display: block;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.05;
}

.fact-strip span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.section {
  padding: clamp(76px, 9vw, 140px) 5vw;
}

.section-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.statement-section {
  background: var(--paper);
}

.statement-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
}

.statement-grid h2 {
  max-width: 1000px;
}

.statement-grid p:not(.section-kicker) {
  max-width: 760px;
  font-size: 1.16rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 48px;
}

.section-heading.wide {
  max-width: 1100px;
}

.services-section {
  background: var(--white);
}

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

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  gap: 28px;
  align-items: center;
  min-height: 148px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-row > span {
  color: var(--blue-dark);
  font-weight: 900;
}

.service-row h3 {
  margin-bottom: 8px;
}

.service-row p {
  max-width: 760px;
  margin-bottom: 0;
}

.service-row:hover h3,
.service-row:focus-visible h3 {
  color: var(--blue-dark);
}

.service-row::after {
  justify-self: end;
  font-size: 1.5rem;
}

.feature-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 680px;
  background: var(--black);
  color: var(--white);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw 5vw;
}

.feature-copy h2,
.feature-copy p {
  color: var(--white);
}

.feature-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.clients-section {
  background: var(--paper);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.client-grid article {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
}

.client-grid h3 {
  color: var(--ink);
}

.insight-section {
  background: var(--white);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-grid article {
  border: 1px solid var(--line);
  background: var(--white);
}

.insight-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.insight-grid div {
  padding: 28px;
}

.insight-grid article p {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-section {
  background: var(--black);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
}

.about-section h2,
.about-section p {
  color: var(--white);
}

.about-section p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-section {
  padding: 5vw;
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px);
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-details a {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #aeb9c3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(88, 185, 242, 0.28);
  border-color: var(--blue-dark);
}

.full-span {
  grid-column: 1 / -1;
}

.button {
  min-height: 54px;
  border: 0;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: clamp(56px, 7vw, 90px) 5vw 32px;
  background: var(--black);
  color: var(--white);
}

.footer-top,
.footer-links {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  width: min(360px, 78vw);
}

.footer-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.4rem, 3vw, 3rem);
  line-height: 1.1;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding: 46px 0;
}

.footer-links h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.site-footer small {
  display: block;
  width: min(1240px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.54);
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  padding: 14px 19px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--black);
  box-shadow: 0 14px 30px rgba(19, 125, 189, 0.32);
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 54svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.page-hero img,
.page-hero::after {
  position: absolute;
  inset: 0;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.page-hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.78), rgba(12, 12, 12, 0.24));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 90vw);
  padding: 0 0 7vw 5vw;
}

.page-hero-content h1 {
  font-size: clamp(3rem, 7vw, 7.2rem);
}

.page-hero-content p:not(.section-kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.content-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.content-band + .content-band {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.detail-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: var(--paper);
  font-weight: 800;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  display: block;
  border: 1px solid var(--line);
  background: var(--white);
}

.project-card:hover h3,
.project-card:focus-visible h3 {
  color: var(--blue-dark);
}

.text-page {
  max-width: 920px;
}

.text-page h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.two-column-list li {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  margin-top: 42px;
}

.case-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.case-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 538px;
}

.page-cta {
  margin-top: 54px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--black);
  color: var(--white);
}

.page-cta h2,
.page-cta p {
  color: var(--white);
}

.page-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.page-cta .text-link {
  color: var(--white);
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-card div {
  padding: 26px;
}

.project-card p:first-child {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .site-header {
    min-height: 76px;
    padding: 0 24px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--black);
  }

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

  .main-nav a {
    padding: 14px 0;
  }

  .brand-logo {
    width: 210px;
  }

  .hero {
    min-height: calc(100svh - 76px);
  }

  .fact-strip,
  .client-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .statement-grid,
  .feature-section,
  .about-grid,
  .contact-panel,
  .content-band,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .feature-image img {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    width: 178px;
  }

  .hero-content {
    width: auto;
    padding: 0 22px 58px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(5, 6, 7, 0.94), rgba(5, 6, 7, 0.72));
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .section,
  .contact-section {
    padding: 64px 22px;
  }

  .fact-strip,
  .client-grid,
  .insight-grid,
  .project-showcase,
  .case-gallery,
  .two-column-list,
  .contact-form,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .fact-strip a {
    min-height: auto;
    padding: 26px 22px;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .service-row::after {
    display: none;
  }

  .feature-image img,
  .insight-grid img {
    min-height: 0;
    height: 260px;
  }

  .case-gallery img,
  .case-gallery img:first-child {
    min-height: 0;
    height: 240px;
  }

  .contact-panel {
    padding: 24px;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}
