:root {
  --red: #c80f19;
  --red-dark: #93070d;
  --ink: #17191d;
  --graphite: #2b2f36;
  --muted: #686f78;
  --line: #e7e9ee;
  --soft: #f5f6f8;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(18, 21, 26, 0.12);
  --header: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 930px;
  font-size: clamp(2.7rem, 6.6vw, 6.6rem);
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header);
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(231, 233, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 58px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 12px 0;
  transition: color 180ms ease;
}

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

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

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}

.menu-toggle:focus-visible,
.btn:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.page-hero.compact {
  min-height: 620px;
}

.hero-image,
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
}

.hero-shade,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.96) 0%, rgba(17, 19, 23, 0.76) 48%, rgba(17, 19, 23, 0.2) 100%),
    linear-gradient(135deg, rgba(200, 15, 25, 0.72) 0 11%, transparent 11.2% 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 12vw, 150px);
}

.hero-home h1 {
  max-width: 690px;
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
}

.hero-collage {
  position: absolute;
  z-index: 1;
  top: clamp(104px, 15vh, 160px);
  right: clamp(26px, 4.2vw, 62px);
  width: min(38vw, 560px);
  height: min(66vh, 620px);
  min-height: 500px;
  pointer-events: none;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 8% 7% 9% 5%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.collage-item {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transition: transform 500ms ease;
}

.collage-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  color: white;
  background: rgba(17, 19, 23, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-collage:hover .collage-item img {
  transform: scale(1.035);
}

.collage-main {
  left: 0;
  top: 16%;
  width: 64%;
  height: 54%;
}

.collage-top {
  right: 0;
  top: 0;
  width: 42%;
  height: 34%;
}

.collage-mid {
  right: 7%;
  top: 39%;
  width: 38%;
  height: 30%;
}

.collage-low {
  left: 11%;
  bottom: 0;
  width: 48%;
  height: 30%;
}

.collage-accent {
  right: 0;
  bottom: 8%;
  width: 34%;
  height: 24%;
}

.page-hero-content h1 {
  max-width: 960px;
  font-size: clamp(2.2rem, 5.6vw, 5.8rem);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.banner-cta .eyebrow,
.section-dark .eyebrow {
  color: white;
}

.lead {
  max-width: 700px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

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

.btn-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: white;
}

.metric {
  min-height: 178px;
  padding: 32px clamp(20px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric span,
.feature-row span,
.value-card span,
.timeline-item span,
.download-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: white;
  background: var(--red);
  font-weight: 900;
}

.metric strong {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
}

.metric p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-soft {
  background: var(--soft);
}

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

.section-split {
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(200, 15, 25, 0.08) 70% 100%);
}

.split-layout,
.editorial-grid,
.download-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.copy-block p:not(.eyebrow),
.text-stack p,
.feature-row p,
.contact-note p {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.statement-panel {
  min-height: 330px;
  display: grid;
  align-items: end;
  padding: clamp(28px, 4vw, 46px);
  color: white;
  background:
    linear-gradient(135deg, var(--ink) 0 66%, var(--red) 66.2% 100%);
  box-shadow: var(--shadow);
}

.statement-panel p {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

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

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.value-card,
.client-card,
.timeline-item {
  min-height: 270px;
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(20, 23, 28, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.value-card:hover,
.client-card:hover,
.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 15, 25, 0.28);
  box-shadow: var(--shadow);
}

.icon-line {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border: 2px solid var(--red);
}

.icon-line::before,
.icon-line::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.icon-line::before {
  left: 12px;
  top: 12px;
  width: 26px;
  height: 2px;
}

.icon-line::after {
  left: 12px;
  top: 23px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--red);
  background: transparent;
}

.service-card p,
.value-card p,
.client-card p,
.timeline-item p {
  margin-top: 16px;
  color: var(--muted);
}

.value-card span,
.timeline-item span {
  color: var(--red);
  background: rgba(200, 15, 25, 0.08);
}

.banner-cta {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.banner-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.banner-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 19, 23, 0.96), rgba(17, 19, 23, 0.68));
}

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

.banner-content h2 {
  max-width: 980px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-intro {
  padding-bottom: clamp(48px, 7vw, 90px);
}

.service-detail-section {
  padding-top: clamp(54px, 8vw, 96px);
}

.service-detail-grid {
  display: grid;
  gap: 22px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(20, 23, 28, 0.06);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-card img,
.service-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.service-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 42px) 0;
}

.service-detail-copy p:not(.eyebrow),
.service-feature-copy p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: white;
  background: var(--red);
  font-size: 1.25rem;
  font-weight: 900;
}

.service-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-checks li {
  position: relative;
  padding-left: 25px;
  color: var(--graphite);
  font-weight: 750;
}

.service-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 15, 25, 0.1);
}

.service-checks.compact {
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 18px;
}

.service-checks.light li {
  color: rgba(255, 255, 255, 0.84);
}

.service-feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.service-feature-block.reverse {
  direction: rtl;
}

.service-feature-block.reverse > * {
  direction: ltr;
}

.service-feature-media {
  height: 100%;
}

.service-feature-copy h3 {
  margin-top: 0;
}

.section-dark .service-feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.application-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.application-tags span {
  padding: 10px 14px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-preview,
.gallery-grid {
  display: grid;
  gap: 18px;
}

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

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

.gallery-intro {
  padding-bottom: 32px;
}

.gallery-intro h1 {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(18px, 4vw, 52px) clamp(72px, 10vw, 132px);
}

.gallery-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.gallery-grid figure.wide {
  grid-column: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 14px;
  color: white;
  background: rgba(17, 19, 23, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.download-card {
  display: grid;
  min-height: 270px;
  align-content: end;
  padding: 34px;
  color: white;
  background:
    linear-gradient(135deg, var(--red) 0 58%, var(--ink) 58.3% 100%);
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.download-card:hover {
  transform: translateY(-4px);
}

.download-card strong {
  display: block;
  max-width: 330px;
  font-size: 1.55rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.download-card small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-hero {
  padding: clamp(88px, 12vw, 152px) 0;
  background:
    linear-gradient(90deg, white 0 58%, var(--soft) 58.2% 100%);
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel a,
.contact-panel p {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.1rem;
  font-weight: 850;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.contact-note {
  max-width: 860px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: white;
  background: #101216;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  justify-items: end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .nav {
    gap: 14px;
    font-size: 0.73rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header: 78px;
  }

  .brand img {
    width: auto;
    height: 54px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

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

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .metric-strip,
  .card-grid.three,
  .card-grid.four,
  .timeline,
  .client-grid,
  .gallery-preview,
  .split-layout,
  .editorial-grid,
  .download-layout,
  .contact-layout,
  .feature-row,
  .service-detail-card,
  .service-feature-block,
  .service-columns {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse,
  .service-feature-block.reverse,
  .service-detail-card:nth-child(even) {
    direction: ltr;
  }

  .metric {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .service-detail-card img,
  .service-feature-media img {
    min-height: 360px;
  }

  .contact-hero {
    background: white;
  }

  .hero-home {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-home h1 {
    max-width: 900px;
  }

  .hero-collage {
    position: relative;
    top: auto;
    right: auto;
    width: min(720px, calc(100% - 40px));
    height: 430px;
    min-height: 0;
    margin: -28px auto 0;
  }
}

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

  .site-header {
    padding-inline: 16px;
  }

  .hero,
  .page-hero {
    min-height: 720px;
  }

  .hero-home {
    min-height: auto;
  }

  .page-hero.compact {
    min-height: 560px;
  }

  h1,
  .page-hero-content h1,
  .gallery-intro h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.45rem);
  }

  .lead {
    font-size: 1rem;
  }

  .actions,
  .btn {
    width: 100%;
  }

  .service-card,
  .value-card,
  .client-card,
  .timeline-item {
    min-height: auto;
    padding: 26px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .gallery-grid figure,
  .gallery-grid figure.wide {
    grid-column: auto;
    min-height: 320px;
  }

  .hero-collage {
    width: min(100% - 32px, 430px);
    height: 350px;
    margin-top: -18px;
  }

  .collage-item figcaption {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 0.6rem;
  }

  .collage-main {
    left: 0;
    top: 12%;
    width: 68%;
    height: 52%;
  }

  .collage-top {
    width: 44%;
    height: 31%;
  }

  .collage-mid {
    right: 0;
    top: 40%;
    width: 42%;
    height: 28%;
  }

  .collage-low {
    left: 5%;
    width: 50%;
    height: 28%;
  }

  .collage-accent {
    width: 36%;
    height: 22%;
  }

  .service-checks {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    padding: 14px;
  }

  .service-detail-copy {
    padding: 12px;
  }

  .service-detail-card img,
  .service-feature-media img {
    min-height: 300px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-items: start;
  }
}
