:root {
  --blue: #415a84;
  --blue-dark: #2f4262;
  --yellow: #ffdf57;
  --ink: #33343a;
  --muted: #62656d;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --shadow: 0 20px 45px rgba(31, 44, 65, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 222, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--blue);
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-dark);
  background: var(--soft);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

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

.hero-bg {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 27, 38, 0.82), rgba(20, 27, 38, 0.44), rgba(20, 27, 38, 0.12));
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 92px;
  height: 38%;
  background: var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 4.6rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
}

.button-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.76);
}

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

.overview-section,
.categories-section,
.contact-section {
  padding: 86px 0;
}

.process-section,
.clients-section {
  padding: 86px 0;
  background: var(--soft);
}

.overview-grid,
.process-grid,
.clients-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 48px;
  align-items: center;
}

.section-copy p,
.process-copy p,
.contact-grid p {
  color: var(--muted);
  font-size: 1rem;
}

.image-panel,
.client-panel,
.process-image {
  margin: 0;
  position: relative;
}

.image-panel::before,
.client-panel::before {
  content: "";
  position: absolute;
  width: 32%;
  height: 34%;
  background: var(--yellow);
  z-index: 0;
}

.image-panel::before {
  right: -18px;
  bottom: -18px;
}

.client-panel::before {
  left: -18px;
  top: -18px;
}

.image-panel img,
.client-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
}

.process-image {
  height: 560px;
  overflow: hidden;
  border-radius: 8px;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-list {
  display: grid;
  gap: 18px;
}

.statement-list article {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-left: 6px solid var(--yellow);
  border-radius: 8px;
}

.statement-list p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--blue-dark);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 44, 65, 0.08);
}

.category-card.is-hidden {
  display: none;
}

.category-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 10px;
  background: #f1f4f7;
  border-bottom: 1px solid var(--line);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.category-content h3 {
  margin-bottom: 10px;
}

.category-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.item-list li {
  padding: 6px 9px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  background: var(--soft);
  border-radius: 8px;
}

.clients-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.2fr);
}

.contact-section {
  color: white;
  background: var(--blue-dark);
}

.contact-section h2,
.contact-section .eyebrow {
  color: white;
}

.contact-section .eyebrow {
  color: var(--yellow);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 10px;
  padding: 26px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
}

.contact-details a {
  display: block;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-details address {
  color: var(--muted);
  font-style: normal;
}

.site-footer {
  padding: 26px 0;
  background: #101722;
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .overview-grid,
  .process-grid,
  .clients-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-image {
    height: 420px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero::after {
    width: 52px;
    height: 28%;
  }

  .hero-content,
  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .overview-section,
  .categories-section,
  .contact-section,
  .process-section,
  .clients-section {
    padding: 62px 0;
  }

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

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

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 calc(50% - 10px);
  }

  .contact-details {
    padding: 20px;
  }
}
