:root {
  --cloud: #f6f4ed;
  --white: #ffffff;
  --mist: #ece9df;
  --charcoal: #302d2d;
  --slate: #474343;
  --muted: #6f6964;
  --jade: #2f6e5b;
  --jade-dark: #184638;
  --cyan: #00a6d6;
  --magenta: #cf2b7d;
  --yellow: #f2c94c;
  --black: #111111;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  background: var(--black);
  color: var(--white);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  z-index: 30;
}

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

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(246, 244, 237, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(71, 67, 67, 0.12);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.brand {
  align-items: center;
  color: var(--charcoal);
  display: inline-flex;
  gap: 0.8rem;
  min-width: 0;
  text-decoration: none;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 166, 214, 0.22), transparent 38%),
    linear-gradient(315deg, rgba(207, 43, 125, 0.18), transparent 40%),
    var(--black);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex: 0 0 42px;
  gap: 1px;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  padding: 7px 6px;
  position: relative;
  width: 42px;
}

.brand-mark::after {
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow), var(--white));
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.brand-mark span {
  color: var(--white);
  display: inline;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.primary-nav a {
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-color: transparent;
  text-underline-offset: 0.45rem;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--jade-dark);
  text-decoration-color: var(--jade);
}

.menu-toggle {
  align-items: center;
  background: var(--charcoal);
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

.menu-toggle__bars::before {
  transform: translateY(-7px);
}

.menu-toggle__bars::after {
  transform: translateY(5px);
}

.hero {
  align-items: flex-end;
  display: grid;
  min-height: 84svh;
  overflow: hidden;
  padding: 8.5rem 5vw 3.25rem;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center right;
  position: absolute;
  width: 100%;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(246, 244, 237, 0.98) 0%, rgba(246, 244, 237, 0.9) 33%, rgba(246, 244, 237, 0.34) 70%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.32), rgba(17, 17, 17, 0.02) 42%);
  inset: 0;
  position: absolute;
}

.hero__content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--jade-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--charcoal);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  letter-spacing: 0;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.hero__content p:not(.eyebrow) {
  color: var(--charcoal);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 660px;
}

.hero__actions,
.cta-band {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
}

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

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--black);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(47, 110, 91, 0.42);
  color: var(--jade-dark);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--jade-dark);
}

.trust-strip {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip div {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  padding: clamp(1.25rem, 3vw, 2rem) 5vw;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.2rem;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 5vw;
}

.section__intro {
  max-width: 850px;
}

.section__intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 690px;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(71, 67, 67, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
  min-height: 280px;
  overflow: hidden;
  padding: 1.4rem;
}

.service-card__accent {
  height: 5px;
  margin: -1.4rem -1.4rem 1.4rem;
}

.service-card__accent.cyan {
  background: var(--cyan);
}

.service-card__accent.magenta {
  background: var(--magenta);
}

.service-card__accent.yellow {
  background: var(--yellow);
}

.service-card p,
.about p,
.site-footer p {
  color: var(--muted);
}

.split {
  background:
    linear-gradient(135deg, rgba(47, 110, 91, 0.12), rgba(242, 201, 76, 0.1)),
    var(--mist);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.9fr 1.1fr;
}

.brand-panel {
  align-self: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(71, 67, 67, 0.12);
  border-radius: var(--radius);
  color: var(--charcoal);
  display: flex;
  justify-content: center;
  min-height: 112px;
  overflow: hidden;
  padding: 1rem;
}

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

.brand-logo--dark {
  background: #062d5e;
}

.brand-logo--dark img {
  max-height: 92px;
  width: 92%;
}

.brand-logo--heidelberg img {
  max-height: 70px;
}

.brand-logo--flint img {
  max-height: 82px;
}

.brand-logo--manroland img {
  max-height: 92px;
  width: 86%;
}

.brand-logo--imaf img {
  max-height: 86px;
  width: 58%;
}

.brand-logo--sun img {
  max-height: 84px;
  width: 82%;
}

.brand-logo--goss img {
  max-height: 74px;
  width: 68%;
}

.brand-logo--muller img {
  max-height: 78px;
}

.about {
  background: var(--white);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.15fr 0.85fr;
}

.about__copy {
  max-width: 800px;
}

.about__metrics {
  align-self: start;
  border-left: 1px solid rgba(71, 67, 67, 0.14);
}

.about__metrics div {
  padding: 1.25rem 0 1.25rem 1.5rem;
}

.about__metrics div + div {
  border-top: 1px solid rgba(71, 67, 67, 0.14);
}

.about__metrics strong {
  color: var(--jade-dark);
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.about__metrics span {
  color: var(--muted);
  font-weight: 700;
}

.cta-band {
  background: var(--charcoal);
  color: var(--white);
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem) 5vw;
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  margin-bottom: 0;
  max-width: 780px;
}

.cta-band .eyebrow {
  opacity: 0.76;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  padding: 3rem 5vw;
}

.site-footer a {
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.3rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-color: var(--yellow);
}

.site-footer > div > p,
.site-footer address span,
.site-footer address a,
.site-footer nav a,
.site-footer nav strong,
.site-footer address strong {
  display: block;
}

.site-footer address {
  font-style: normal;
}

.site-footer strong {
  margin-bottom: 0.7rem;
}

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

.brand--footer {
  color: var(--white);
  margin-bottom: 1rem;
}

.brand--footer small {
  color: rgba(255, 255, 255, 0.62);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    align-items: stretch;
    background: var(--cloud);
    border-bottom: 1px solid rgba(71, 67, 67, 0.14);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 5.5rem 5vw 1.2rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: -1;
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    border-top: 1px solid rgba(71, 67, 67, 0.12);
    padding: 1rem 0;
  }

  .hero {
    min-height: 86svh;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(246, 244, 237, 0.98) 0%, rgba(246, 244, 237, 0.8) 58%, rgba(246, 244, 237, 0.32) 100%),
      linear-gradient(0deg, rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0.02) 48%);
  }

  .service-grid,
  .split,
  .about,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .about__metrics {
    border-left: 0;
    border-top: 1px solid rgba(71, 67, 67, 0.14);
  }

  .about__metrics div {
    padding-left: 0;
  }
}

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

  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    flex-basis: 38px;
    height: 38px;
    width: 38px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 7.25rem;
  }

  h1 {
    font-size: 2.55rem;
    max-width: 11ch;
  }

  .button {
    width: 100%;
  }

  .brand-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
