@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #171717;
  --graphite: #252525;
  --graphite-2: #353535;
  --muted: #666a70;
  --soft: #f4f3f1;
  --paper: #fbfaf8;
  --white: #ffffff;
  --line: #dedad5;
  --line-dark: rgba(255, 255, 255, 0.16);
  --red: #b5121b;
  --red-strong: #d21d29;
  --red-deep: #790d13;
  --red-soft: rgba(181, 18, 27, 0.1);
  --shadow: 0 26px 80px rgba(36, 25, 25, 0.16);
  --shadow-soft: 0 14px 42px rgba(36, 25, 25, 0.1);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(181, 18, 27, 0.035), transparent 360px),
    var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.58;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(210, 29, 41, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  border-bottom: 1px solid rgba(222, 218, 213, 0.82);
  background: rgba(251, 250, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(36, 25, 25, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px 10px 10px 3px;
  background: linear-gradient(145deg, var(--red-strong), var(--red-deep));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(181, 18, 27, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  opacity: 0.7;
  font-size: 11px;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  position: relative;
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--red-strong);
  opacity: 1;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.94), rgba(25, 25, 25, 0.72) 48%, rgba(181, 18, 27, 0.28)),
    url("https://www.vectorcons.com/wp-content/uploads/2025/09/vektor-2048x1254.jpg") center / cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 120px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 144px 0 88px;
}

.hero-content::before {
  content: "";
  display: block;
  width: 86px;
  height: 7px;
  margin-bottom: 28px;
  background: var(--red-strong);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-content .eyebrow,
.inner-hero .eyebrow {
  color: #ff7178;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(46px, 9vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
  text-wrap: pretty;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 20px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(181, 18, 27, 0.24);
}

.button-primary:hover {
  background: var(--red-strong);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.button-dark {
  background: var(--graphite);
  color: var(--white);
}

.button-dark:hover {
  background: var(--red);
}

.metrics-band {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.18fr 1fr 1.18fr 1fr;
  gap: 1px;
  width: var(--container);
  margin: -44px auto 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 122px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.metric:nth-child(1),
.metric:nth-child(3) {
  background: var(--graphite);
  color: var(--white);
}

.metric strong {
  display: block;
  color: var(--red-strong);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.metric:nth-child(1) strong,
.metric:nth-child(3) strong {
  color: #ff5963;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.metric:nth-child(1) span,
.metric:nth-child(3) span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 106px 0 0;
  scroll-margin-top: 98px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2,
.contact-content h2,
.platform-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.7vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.76fr);
  gap: 54px;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 8px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 17px;
}

.about-grid,
.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.about-copy,
.about-panel,
.service-card,
.project-card,
.project-directory,
.service-detail-main,
.service-sidebar,
.clients-layout,
.contact-section,
.cta-band {
  border-radius: 10px;
}

.about-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 370px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--white);
  box-shadow: inset 7px 0 0 var(--red);
}

.about-copy p,
.platform-copy p,
.contact-content p {
  margin: 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 17px;
}

.about-panel {
  min-height: 370px;
  padding: clamp(30px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(181, 18, 27, 0.12), transparent 46%),
    var(--graphite);
  color: var(--white);
}

.about-panel h3 {
  margin: 0 0 24px;
  font-size: 26px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 10px;
  border-left: 3px solid #ff7178;
  border-bottom: 3px solid #ff7178;
  transform: rotate(-45deg);
}

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

.modern-service-grid {
  gap: 18px;
}

.service-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(222, 218, 213, 0.88);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--red);
  transform: scaleY(0.22);
  transform-origin: top;
  transition: transform 220ms ease;
}

.service-link {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-link:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-link:hover::before {
  transform: scaleY(1);
}

.service-link strong {
  align-self: end;
  display: inline-block;
  margin-top: 26px;
  color: var(--red);
  font-size: 14px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 12px 12px 12px 3px;
  background: var(--red-soft);
  color: var(--red);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.16;
  text-wrap: balance;
}

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

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: 18px;
}

.project-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.project-card.featured {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.project-card.featured img {
  aspect-ratio: 16 / 10;
}

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

.project-card span,
.project-directory-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

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

.project-list {
  display: grid;
  gap: 10px;
}

.project-list a {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-list a:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(181, 18, 27, 0.35), var(--shadow-soft);
}

.project-list strong {
  font-size: 18px;
}

.project-list span {
  color: var(--muted);
  font-size: 14px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.platform {
  width: 100%;
  max-width: none;
  margin-top: 106px;
  padding: 96px max(20px, calc((100vw - 1180px) / 2)) 104px;
  background:
    linear-gradient(135deg, rgba(181, 18, 27, 0.18), transparent 44%),
    var(--graphite);
  color: var(--white);
}

.platform-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  align-items: center;
}

.platform-copy {
  display: grid;
  gap: 22px;
}

.platform-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.phone-shell {
  width: min(100%, 360px);
  min-height: 590px;
  margin: 0 auto;
  padding: 24px;
  border: 10px solid #111111;
  border-radius: 34px;
  background: #f0efec;
  color: var(--ink);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
}

.phone-top {
  width: 92px;
  height: 6px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: #161616;
}

.app-card {
  padding: 24px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(36, 25, 25, 0.12);
}

.app-card-dark {
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: var(--white);
}

.app-card span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-card strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 28px;
  line-height: 1;
}

.app-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.mini-grid span {
  display: grid;
  min-height: 68px;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(36, 25, 25, 0.08);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.capability-list div {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}

.capability-list strong {
  display: block;
  color: #ff7178;
  font-size: 34px;
  line-height: 1;
}

.capability-list span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.clients {
  padding-top: 106px;
}

.clients-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.clients-copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

.clients-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  text-wrap: balance;
}

.clients-copy p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 17px;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-tags span {
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.logo-card {
  display: grid;
  place-items: center;
  min-height: 152px;
  padding: 22px;
  border-radius: 10px;
  background: var(--soft);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.logo-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.logo-card img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1px;
  width: var(--container);
  margin: 106px auto 0;
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-content {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(34px, 5vw, 62px);
  background:
    linear-gradient(135deg, rgba(181, 18, 27, 0.96), rgba(37, 37, 37, 0.92)),
    url("https://www.vectorcons.com/wp-content/uploads/2025/09/image_2025-09-04_112808417.png") center / cover;
}

.contact-content h2 {
  color: var(--white);
}

.contact-content p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-content .button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--graphite);
}

.contact-details div {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: #ff7178;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

address {
  color: rgba(255, 255, 255, 0.66);
  font-style: normal;
}

.inner-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 136px max(20px, calc((100vw - 1180px) / 2)) 68px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(23, 23, 23, 0.98), rgba(181, 18, 27, 0.72)),
    url("https://www.vectorcons.com/wp-content/uploads/2025/09/image_2025-09-04_112808417.png") center / cover;
}

.project-directory,
.service-detail-layout,
.contact-section {
  scroll-margin-top: 98px;
}

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

.inner-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1;
  text-wrap: balance;
}

.inner-hero p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: #ff9aa0;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.service-detail-main,
.service-sidebar,
.project-directory {
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-detail-main {
  padding: clamp(30px, 5vw, 58px);
}

.service-detail-panel {
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-detail-panel.is-changing {
  opacity: 0.2;
  transform: translateY(8px);
}

.service-detail-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-detail-icon {
  width: 50px;
  height: 50px;
  margin: 0;
  flex: 0 0 50px;
}

.service-detail-main h2,
.project-directory h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  text-wrap: balance;
}

.service-detail-main p {
  margin: 0 0 18px;
  max-width: 66ch;
  color: var(--muted);
  font-size: 17px;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.service-steps div {
  position: relative;
  min-height: 156px;
  padding: 20px;
  border-radius: 9px;
  background: var(--soft);
}

.service-step-mark {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--red-soft);
  position: relative;
}

.service-step-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid var(--red);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-steps h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.service-steps p {
  margin: 0;
  font-size: 15px;
}

.service-sidebar {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.service-sidebar h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--graphite);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-sidebar a:hover {
  transform: translateX(2px);
}

.service-sidebar a.is-active {
  background: var(--red);
  color: var(--white);
}

.service-page-cta {
  padding-top: 56px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 4vw, 46px);
  background: var(--graphite);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  text-wrap: balance;
}

.cta-band .button {
  flex: 0 0 auto;
  min-width: 180px;
  white-space: nowrap;
}

.project-directory {
  padding: clamp(28px, 4vw, 46px);
}

.project-directory-intro {
  max-width: 70ch;
  color: var(--muted);
}

.project-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.project-directory-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.project-directory-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.project-directory-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.project-directory-card div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.project-directory-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.16;
}

.project-directory-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  padding: 40px 0 48px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--graphite);
  font-weight: 800;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

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

  .nav-toggle {
    display: block;
    flex: 0 0 46px;
    position: fixed;
    top: 14px;
    right: 18px;
    z-index: 80;
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(181, 18, 27, 0.24);
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 12px;
    border-radius: 8px;
    background: var(--soft);
  }

  .nav a::after {
    display: none;
  }

  .metrics-band,
  .service-grid,
  .project-showcase,
  .about-grid,
  .platform-layout,
  .split-heading,
  .clients-layout,
  .contact-section,
  .service-detail-layout,
  .project-directory-grid {
    grid-template-columns: 1fr;
  }

  .metrics-band {
    margin-top: 0;
  }

  .metric {
    min-height: auto;
  }

  .project-card.featured {
    grid-row: auto;
  }

  .capability-list,
  .logo-grid,
  .service-steps {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .nav {
    top: 66px;
  }

  .hero {
    min-height: 86dvh;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 76px;
  }

  .section-heading h2,
  .contact-content h2,
  .platform-copy h2 {
    font-size: 31px;
  }

  .service-card {
    min-height: auto;
  }

  .capability-list,
  .logo-grid,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .clients-layout {
    padding: 22px;
  }

  .inner-hero {
    min-height: 360px;
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .phone-shell {
    min-height: 520px;
    padding: 18px;
  }

  .cta-band .button {
    min-width: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
