@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --paper: #f2f3ef;
  --ink: #0e0f11;
  --green: #458407;
  --container: 1280px;
  /* Theme tokens: dark is the default, the light values follow below. */
  --bg: #0e0f11;
  --fg: #f2f3ef;
  --fg-soft: #c2c8bd;
  --muted: #b8beb4;
  --faint: #a8b39e;
  --accent: #9bcb68;
  --focus: #9bcb68;
  --line: #353b32;
  --header-line: #2b3029;
  --control-line: #6a7562;
  --region-line: #5b6554;
  --solutions-bg: #171e14;
  --solutions-line: #35442a;
  --card-line: #3d4c34;
  --panel: #171b16;
  --panel-accent: #192015;
  --photo-bg: #242922;
  --code-bg: #26321f;
  --code-fg: #dbebc8;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbfcf9;
  --fg: #14170f;
  --fg-soft: #36402f;
  --muted: #434d3c;
  --faint: #444e3d;
  --accent: #2f6305;
  --focus: #2f6305;
  --line: #cdd3c6;
  --header-line: #d5dacd;
  --control-line: #7a8570;
  --region-line: #a3ad99;
  --solutions-bg: #e9efe1;
  --solutions-line: #cbd7bd;
  --card-line: #b4c3a4;
  --panel: #edf0e7;
  --panel-accent: #e6eede;
  --photo-bg: #dfe4d8;
  --code-bg: #e3ebd9;
  --code-fg: #26400f;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    400 17px/1.75 "Instrument Sans",
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
p + p {
  margin-top: 1em;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h1 {
  font-size: clamp(3rem, 5.4vw, 5.5rem);
}
h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
}
h3 {
  font-size: 1.65rem;
}
ul {
  padding-left: 1.15em;
}
li + li {
  margin-top: 0.65em;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
}
/* Fixed light surfaces need a dark focus ring in both themes. */
.references,
.partners,
.contact,
.vcard-sheet {
  --focus: #2f6305;
}
.container {
  width: min(calc(100% - 104px), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: 105px;
  scroll-margin-top: 88px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  margin-bottom: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  color: #fff;
  padding: 15px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.button:hover {
  background: #376c05;
  border-color: #639d2d;
}
.button span {
  font-size: 1.2rem;
}
.button-small {
  padding: 11px 18px;
  gap: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-block: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}

/* The original charcoal, CSS green and contour artwork set the tone. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--header-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 94px;
}
.brand {
  width: 248px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.82rem;
  font-weight: 500;
}
.main-nav > a {
  padding-block: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav > a:not(.button):hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid var(--control-line);
  border-radius: 3px;
  background: none;
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle:hover {
  border-color: var(--accent);
}
.theme-icon {
  display: block;
  width: 16px;
  height: 16px;
}
.hero {
  background: url("../images/hero-bg.svg") no-repeat center 35%;
  background-size: cover;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 7%;
  padding-block: 85px 80px;
  min-height: 760px;
}
.hero-copy {
  padding-block: 18px;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--green);
}
.hero h1 {
  max-width: 640px;
  font-weight: 700;
  font-size: clamp(3.4rem, 5.7vw, 5.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero-promise {
  margin-top: 22px;
  color: var(--accent);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
}
.hero-intro {
  color: var(--fg-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 490px;
  margin-top: 25px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
  margin-top: 48px;
  font-size: 0.82rem;
  color: var(--fg-soft);
}
.hero-footnote > span:first-child {
  color: var(--accent);
}
.hero-region {
  border-left: 1px solid var(--region-line);
  padding-left: 12px;
  color: var(--faint);
}
.hero-visual {
  position: relative;
  min-width: 0;
  height: 590px;
}
.hero-photo-frame {
  position: absolute;
  inset: 12px 10px 38px 22%;
  transform: rotate(3deg);
  padding: 8px;
  background: #e5e8df;
  box-shadow: 8px 18px 35px #0005;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-detail {
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 38%;
  height: 265px;
  object-fit: cover;
  object-position: center;
  transform: rotate(-8deg);
  border: 7px solid #e5e8df;
  box-shadow: 0 12px 26px #0005;
}
.hero-photo-label {
  position: absolute;
  right: 12px;
  bottom: 0;
  color: var(--faint);
  font-size: 0.8rem;
}

.section-heading {
  margin-bottom: 50px;
}
.split-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12%;
  align-items: end;
}
.section-intro {
  color: var(--muted);
  max-width: 470px;
  font-size: 1rem;
}
#leistungen {
  border-top: 1px solid var(--line);
}
.services,
.contact {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.ambient-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-photo img {
  position: absolute;
  top: -32px;
  width: 100%;
  height: calc(100% + 64px);
  object-fit: cover;
}
.services .ambient-photo img {
  opacity: 0.21;
  object-position: center 52%;
  filter: saturate(0.35);
}
.ambient-photo::after {
  content: "";
  position: absolute;
  inset: 0;
}
.services .ambient-photo::after {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 20%, transparent) 28%,
    color-mix(in srgb, var(--bg) 33%, transparent) 72%,
    var(--bg) 100%
  );
}
@supports (animation-timeline: view()) {
  @media (min-width: 1051px) and (prefers-reduced-motion: no-preference) {
    .services,
    .contact {
      view-timeline-name: --ambient-section;
      view-timeline-axis: block;
    }
    .ambient-photo img {
      animation: ambient-drift linear both;
      animation-timeline: --ambient-section;
      animation-range: cover 0% cover 100%;
    }
    @keyframes ambient-drift {
      from { transform: translateY(-24px); }
      to { transform: translateY(24px); }
    }
  }
}
.services-grid {
  border-bottom: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 55px 0.85fr 1.25fr;
  gap: 35px;
  align-items: start;
  padding-block: 38px;
  border-top: 1px solid var(--line);
}
.index-number {
  color: var(--accent);
  font-size: 0.85rem;
  padding-top: 5px;
}
.service h3 {
  font-size: 2rem;
}
.service-subtitle {
  color: var(--faint);
  font-size: 0.84rem;
  line-height: 1.7;
  margin-top: 13px;
  max-width: 240px;
}
.service-content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--fg-soft);
  font-size: 0.88rem;
}
.service-content li {
  position: relative;
  margin: 0;
  padding-left: 19px;
}
.service-content li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.team-panorama {
  position: relative;
  height: clamp(340px, 36vw, 620px);
  overflow: hidden;
  background: var(--bg);
}
.team-panorama img {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.team-panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 76%, var(--solutions-bg) 100%);
}
@media (max-width: 760px) {
  .team-panorama {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* The solutions form a library beside a real project photograph. */
.solutions {
  background: var(--solutions-bg);
  border-block: 1px solid var(--solutions-line);
}
.solutions-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 12%;
  align-items: start;
}
.solutions-aside {
  position: sticky;
  top: 130px;
}
.solutions-aside h2 {
  max-width: 425px;
}
.solutions-aside .section-intro {
  margin-top: 28px;
}
.solutions-visual {
  width: 84%;
  margin: 42px 0 0 8px;
  transform: rotate(-3deg);
}
.solutions-visual img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center 35%;
  border: 6px solid #e0e8d8;
}
.solutions-visual figcaption {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: 12px;
  color: var(--faint);
}
.products-grid {
  border-bottom: 1px solid var(--card-line);
}
.product-card {
  display: block;
  position: relative;
  padding: 26px 44px 28px 0;
  border-top: 1px solid var(--card-line);
  text-decoration: none;
}
.product-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.product-card-meta > span + span {
  color: var(--faint);
}
.product-card h3 {
  font-size: 1.65rem;
  transition: color 0.2s;
}
.product-card p {
  color: var(--fg-soft);
  font-size: 0.87rem;
  line-height: 1.7;
  margin-top: 9px;
  max-width: 440px;
}
.product-card-arrow {
  position: absolute;
  right: 0;
  top: 47px;
  color: var(--accent);
  font-size: 1.7rem;
  transition: transform 0.2s;
}
.product-card:hover h3 {
  color: var(--accent);
}
.product-card:hover .product-card-arrow {
  transform: translate(3px, -3px);
}

.references,
.partners {
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}
.references {
  background-image: url("../images/hero-bg-black-1.svg");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 600px;
}
.references .eyebrow,
.partners .eyebrow {
  color: #2d5805;
}
.references .section-intro,
.partners .section-intro {
  color: #3f493a;
}
.references-grid {
  border-bottom: 1px solid #cad0c3;
}
.reference {
  display: grid;
  grid-template-columns: 155px 0.85fr 1.6fr;
  align-items: start;
  gap: 38px;
  border-top: 1px solid #cad0c3;
  padding-block: 40px;
}
.reference-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 115px;
}
.reference-logo img {
  width: auto;
  height: auto;
  max-width: 145px;
  max-height: 100px;
  object-fit: contain;
}
.reference-index {
  color: #435039;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 15px;
}
.reference h3 {
  font-size: 1.7rem;
}
.reference-subtitle {
  color: #365224;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 13px;
}
.reference-story {
  color: #3b4535;
  font-size: 0.92rem;
}
.reference-story .text-link {
  color: #305e08;
  margin-top: 24px;
}

.about {
  background: var(--bg);
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: start;
  margin-bottom: 60px;
}
.about-copy {
  color: var(--muted);
  font-size: 0.96rem;
}
.about-copy ul {
  padding-left: 18px;
}
.about-copy li::marker {
  color: var(--accent);
}
.team-photo {
  margin-bottom: 65px;
}
.team-photo figcaption {
  color: var(--faint);
  font-size: 0.8rem;
  margin-top: 14px;
}
.photo-switch {
  display: block;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background: var(--photo-bg);
  line-height: 0;
  text-align: start;
  cursor: pointer;
}
.photo-static {
  width: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.photo-switch .photo-original,
.photo-switch .photo-alternate {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.photo-switch .photo-alternate {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.photo-switch[aria-pressed="true"] .photo-alternate {
  opacity: 1;
}
.photo-switch-cue {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #eef3e5;
  color: #315a14;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s;
}
.photo-switch[aria-pressed="true"] .photo-switch-cue {
  transform: rotate(180deg);
}
.team-photo-switch {
  aspect-ratio: 2;
}
.team-photo-switch .photo-original,
.team-photo-switch .photo-alternate {
  object-position: center 46%;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 35px;
  scroll-margin-top: 125px;
}
.team-grid .person:nth-child(even) {
  padding-top: 38px;
}
.person-photo {
  aspect-ratio: 3 / 4;
  margin-bottom: 24px;
}
.person h3 {
  font-size: 1.42rem;
}
.person-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 8px;
}
.person > div {
  color: var(--faint);
  font-size: 0.85rem;
  line-height: 1.85;
  margin-top: 17px;
}
.person-contact {
  display: inline-block;
  margin-top: 12px;
  padding-block: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
}
.person-contact:hover {
  text-decoration: underline;
}
.external-team {
  margin-top: 35px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.external-team > h3 {
  font-size: 1.15rem;
  margin-bottom: 25px;
}
.external-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
.person-external,
.person-external:nth-child(even) {
  padding: 24px 28px;
  border-left: 2px solid var(--green);
  background: var(--panel);
}
.person-external h4 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin: 6px 0 0;
  line-height: 1.2;
}
.person-external .person-role {
  margin-top: 0;
}
.contact-card-link {
  display: inline-block;
  margin-top: 24px;
  padding-block: 6px;
  font-size: 0.9rem;
  color: #376c05;
}

.vcard-page,
.vcard-overview {
  padding-block: 65px 95px;
}
.vcard-page {
  max-width: 780px;
}
.vcard-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}
.vcard-back:hover {
  color: var(--accent);
}
.vcard-sheet {
  color-scheme: light;
  padding: 46px;
  color: var(--ink);
  background: var(--paper);
  border-top: 5px solid var(--green);
  border-radius: 4px;
}
.vcard-sheet .eyebrow {
  color: #376c05;
  margin-bottom: 14px;
}
.vcard-sheet h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  overflow-wrap: anywhere;
}
.vcard-role {
  color: #376c05;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 15px;
}
.vcard-company {
  color: #5b6256;
  font-size: 0.85rem;
  margin-top: 6px;
}
.vcard-save {
  display: flex;
  width: 100%;
  margin-top: 30px;
  min-height: 52px;
}
.vcard-details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.vcard-details a {
  padding-block: 6px;
  overflow-wrap: anywhere;
}
.vcard-details span {
  color: #5b6256;
  font-size: 0.8rem;
  margin-left: 8px;
}
.vcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
  font-size: 0.85rem;
}
.vcard-actions a {
  padding-block: 8px;
  color: #376c05;
}
.vcard-locations {
  border-top: 1px solid #cbd1c6;
  padding-top: 26px;
  margin-top: 30px;
}
.vcard-locations h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.vcard-locations > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vcard-locations h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.vcard-locations address {
  font-size: 0.9rem;
  font-style: normal;
}
.vcard-locations a {
  display: inline-block;
  color: #376c05;
  font-size: 0.85rem;
  margin-top: 10px;
  padding-block: 6px;
}
.vcard-sheet > .text-link {
  margin-top: 25px;
}
.vcard-qr {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #cbd1c6;
  font-size: 0.8rem;
}
.vcard-qr summary {
  cursor: pointer;
  padding-block: 8px;
}
.vcard-qr img {
  background: #fff;
  padding: 14px;
  margin-block: 15px;
}
.vcard-overview h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}
.vcard-intro {
  max-width: 650px;
  color: var(--muted);
  margin-top: 25px;
}
.vcard-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 50px;
  margin-top: 45px;
}
.vcard-list-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 25px;
  text-decoration: none;
}
.vcard-list-item strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.3;
}
.vcard-list-item > span > span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}
.vcard-list-item > span + span,
.vcard-list-item:hover strong {
  color: var(--accent);
}
.vcard-related {
  display: flex;
  gap: 15px 30px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--accent);
}

.arcade-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
  max-height: min(92vh, 900px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 24px 80px #0009;
}
.arcade-dialog::backdrop {
  background: #080a08d9;
  backdrop-filter: blur(5px);
}
.arcade-shell {
  padding: clamp(20px, 4vw, 36px);
}
.arcade-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.arcade-header .eyebrow {
  margin-bottom: 10px;
}
.arcade-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.arcade-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--fg);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.arcade-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.arcade-restart {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--control-line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.arcade-status {
  min-height: 1.8em;
  margin-block: 22px 12px;
  color: var(--accent);
  font-weight: 600;
}
.arcade-restart {
  display: block;
  margin: 15px auto 0;
}
.hangman-drawing {
  display: block;
  width: 160px;
  height: 150px;
  margin: 0 auto 14px;
  fill: none;
  stroke: var(--fg);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}
.hangman-drawing [data-hang-part="6"] {
  stroke-width: 2;
}
.hangman-word {
  margin-block: 10px 24px;
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}
.hangman-letters {
  display: grid;
  grid-template-columns: repeat(7, minmax(36px, 1fr));
  gap: 7px;
  max-width: 560px;
  margin-inline: auto;
}
.hangman-letters button {
  min-width: 36px;
  min-height: 42px;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--fg);
  font-weight: 600;
  cursor: pointer;
}
.hangman-letters button:disabled {
  opacity: 0.45;
  cursor: default;
}
.arcade-restart:hover,
.hangman-letters button:not(:disabled):hover {
  border-color: var(--accent);
}
.arcade-mobile-trigger {
  display: none;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .external-team-grid,
  .vcard-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .person-external,
  .person-external:nth-child(even) {
    padding: 24px;
  }
  .vcard-page,
  .vcard-overview {
    padding-block: 35px 55px;
  }
  .vcard-sheet {
    padding: 28px 22px;
  }
  .vcard-locations > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .arcade-dialog {
    width: calc(100% - 16px);
    max-height: 96vh;
  }
  .arcade-shell {
    padding: 18px 14px;
  }
  .hangman-letters {
    grid-template-columns: repeat(6, minmax(34px, 1fr));
    gap: 5px;
  }
  .arcade-mobile-trigger {
    display: inline-flex;
    align-items: center;
    padding-inline: 8px;
  }
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 45px;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid #c5cdbe;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
.partner-logo {
  display: grid;
  place-items: center;
  height: 155px;
  background: #fff;
  border: 1px solid #e0e4db;
  border-radius: 3px;
}
.partner-logo img {
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 115px;
  object-fit: contain;
}
.partner-label {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.partner-label > span + span {
  color: #47712b;
  font-size: 1.5rem;
}
.partner-description {
  margin-top: -8px;
  color: #3f493a;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}
.partner:hover {
  color: #376d07;
}
.partner:hover .partner-logo {
  border-color: #7d9b64;
}
.partner-access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #cad0c3;
}
.partner-access h3 {
  font-size: 1.4rem;
}
.partner-access p {
  margin-top: 10px;
  color: #3f493a;
}
/* Contact follows the original photograph and three-part navigation. */
.contact {
  color-scheme: light;
  background: #fff;
  color: var(--ink);
  padding-block: 95px;
  scroll-margin-top: 90px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 11%;
  align-items: start;
}
.contact .ambient-photo img {
  object-position: right center;
  opacity: 0.22;
  filter: saturate(0.25);
}
.contact .ambient-photo::after {
  background: linear-gradient(90deg, #fff 0%, #ffffff55 40%, #ffffffaa 65%, #ffffff44 100%);
}
.contact-content {
  background: #ffffffed;
  box-shadow: 0 0 30px 30px #ffffffed;
}
.contact-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 5px;
}
.contact .eyebrow {
  color: #458407;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.contact h2 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  margin-bottom: 22px;
}
.contact-tabs {
  display: none;
}
.contact-content[data-tabs-ready] .contact-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e4e9dd;
}
.contact-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: #edf3e5;
  color: #20251c;
  padding: 13px 8px;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 600;
  cursor: pointer;
}
.contact-tabs button + button {
  border-left: 1px solid #fff;
}
.contact-tabs button[aria-selected="true"] {
  background: #fff;
  border-bottom-color: #458407;
  color: #386d06;
}
.contact-tabs button:hover {
  color: #386d06;
  background: #f6f8f1;
}
.contact-panels {
  padding-top: 30px;
}
.contact-panel {
  margin: 0;
  color: #4a5442;
  font-size: 1rem;
  min-height: 0;
}
.contact-panel[hidden] {
  display: none;
}
.contact-panel + .contact-panel {
  margin-top: 30px;
}
.contact-content[data-tabs-ready] .contact-panel {
  margin-top: 0;
  min-height: 350px;
}
.contact-panel-title {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 22px;
}
.contact-content[data-tabs-ready] .contact-panel-title {
  display: none;
}
.contact-intro {
  font-size: 1rem;
  color: #4a5442;
  max-width: 500px;
  margin: 0 0 30px;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-direct p {
  font-size: 0.83rem;
  color: #536848;
  margin-bottom: 6px;
}
.contact-primary {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #376d06;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-phone {
  font-size: 1.5rem;
  color: #182410;
  text-decoration: none;
}
.contact-primary:hover,
.contact-phone:hover {
  text-decoration: underline;
}
.support-heading {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
}
.support-actions .text-link {
  color: #376d06;
}
.contact-locations {
  display: grid;
  gap: 18px;
  margin-top: 25px;
}
.location-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 20px;
  padding: 23px;
  background: #edf3e5;
  border-radius: 5px;
}
.location-card h4 {
  font-size: 1.07rem;
  font-weight: 600;
  color: #376d06;
  margin: 0 0 6px;
}
.location-card address {
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.7;
  color: #3d5928;
}
.location-pin {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #458407;
  border-radius: 50%;
  color: #fff;
  margin-top: 4px;
}
.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
}
.location-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #315f06;
  text-decoration: none;
}
.location-links a:hover {
  text-decoration: underline;
}
.site-footer {
  padding-block: 55px 25px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 35px;
}
.footer-name {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-top p {
  color: var(--faint);
  font-size: 0.85rem;
  margin-top: 9px;
}
.footer-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  font-size: 0.85rem;
}
.footer-shortcuts a {
  display: inline-block;
  padding-block: 6px;
  text-decoration: none;
}
.footer-shortcuts a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.82rem;
  color: var(--faint);
}
.footer-bottom small {
  font-size: inherit;
}
.footer-bottom nav {
  display: flex;
  gap: 23px;
}
.footer-bottom a {
  display: inline-block;
  padding-block: 6px;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-note {
  margin-block: 0;
  padding-bottom: 18px;
  font-size: 0.78rem;
  color: var(--faint);
}
.footer-note a {
  display: inline-block;
  padding-block: 6px;
  text-decoration: none;
}
.footer-note a:hover {
  text-decoration: underline;
}

/* Content pages retain the same typography and contrast. */
.page-heading,
.product-heading {
  padding-block: 65px 45px;
}
.page-heading h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  overflow-wrap: anywhere;
}
.back-link {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}
.prose {
  font-size: 1rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.4em;
}
.prose h2 {
  font-size: 1.8rem;
  margin: 1.8em 0 0.8em;
}
.prose h3 {
  font-size: 1.35rem;
  margin: 1.8em 0 0.8em;
}
.prose h4 {
  font-size: 1.05rem;
  margin: 1.6em 0 0.7em;
}
.prose a {
  color: var(--accent);
}
.prose code {
  font-size: 0.88em;
  background: var(--code-bg);
  color: var(--code-fg);
  padding: 2px 5px;
  border-radius: 3px;
}
.legal-prose {
  max-width: 850px;
  margin-left: max(52px, calc((100% - var(--container)) / 2));
  padding-bottom: 90px;
}
.product-heading h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  max-width: 1050px;
}
.lead {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 750px;
  margin-top: 25px;
}
.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 10%;
  align-items: start;
  padding-bottom: 45px;
}
.product-contact {
  position: sticky;
  top: 125px;
  border-top: 3px solid var(--green);
  padding: 30px;
  background: var(--panel-accent);
}
.product-contact h2 {
  font-size: 1.7rem;
}
.product-contact > p:not(.eyebrow) {
  font-size: 0.9rem;
  margin-block: 20px 25px;
  color: var(--muted);
}
.product-contact .button {
  width: 100%;
}
.product-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.product-facts div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 12px;
}
.product-facts dt {
  color: var(--muted);
}
.product-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.product-links {
  list-style: none;
  margin: 12px 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}
.prose > ul {
  padding-left: 1.1em;
}
.prose > ul li + li {
  margin-top: 0.55em;
}
.product-back {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-block: 20px 80px;
}
.product-phone {
  margin-top: 16px;
}
.products-more {
  margin-block: 26px 10px;
}
.related-products {
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.related-products h2 {
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.related-products ul,
.solution-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.related-products li,
.solution-index li {
  margin: 0;
}
.hangman-drawing [hidden] {
  display: none;
}
.related-products a,
.solution-index a {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  text-decoration: none;
}
.related-products a:hover,
.solution-index a:hover {
  border-color: var(--accent);
}
.related-products a:hover strong,
.solution-index a:hover strong {
  color: var(--accent);
}
.related-products a > span:last-child,
.solution-index a > span {
  color: var(--muted);
  font-size: 0.9rem;
}
.related-category,
.solution-status {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.solution-status {
  margin-left: 6px;
}
.solution-index {
  display: grid;
  gap: 46px;
  padding-bottom: 50px;
}
.solution-index h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.main-nav > a[aria-current]:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.not-found {
  padding-block: 110px 130px;
  max-width: 850px;
}
.mcp-hero {
  padding-block: 60px 48px;
}
.mcp-hero h1 {
  max-width: 17ch;
  margin-block: 20px 28px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}
.mcp-hero .lead {
  max-width: 52rem;
}
.mcp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  margin-top: 30px;
}
.mcp-product .mcp-caption {
  max-width: 65rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}
.mcp-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
  font-size: 0.9rem;
}
.mcp-jump-links a {
  padding-block: 6px;
}
.mcp-section {
  padding-block: 64px;
}
.mcp-section-heading {
  max-width: 52rem;
  margin-bottom: 36px;
}
.mcp-section-heading h2 {
  margin-block: 14px 22px;
}
.mcp-section-heading > p:not(.eyebrow),
.mcp-example > p:not(.eyebrow),
.mcp-steps p,
.mcp-features dd,
.mcp-columns p,
.mcp-next > p:not(.eyebrow),
.mcp-note p {
  color: var(--fg-soft);
}
.mcp-examples,
.mcp-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.mcp-example {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mcp-example h3 {
  margin-block: 12px 18px;
}
.mcp-product blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--panel-accent);
  color: var(--fg);
  font-size: 1.08rem;
  line-height: 1.6;
}
.mcp-example .mcp-takeaway {
  margin-top: 22px;
  font-size: 0.92rem;
}
.mcp-band {
  background: var(--solutions-bg);
  border-block: 1px solid var(--solutions-line);
}
.mcp-product .mcp-request {
  max-width: 52rem;
  font-size: 1.3rem;
}
.mcp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-left: 24px;
  margin-block: 36px;
}
.mcp-steps li::marker {
  color: var(--accent);
  font-weight: 600;
}
.mcp-steps li + li {
  margin-top: 0;
}
.mcp-steps h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.mcp-steps p {
  font-size: 0.94rem;
}
.mcp-note,
.mcp-next {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  background: var(--panel);
}
.mcp-features {
  margin: 0;
}
.mcp-features > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 30px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.mcp-features dt {
  font-weight: 600;
}
.mcp-features dd {
  margin: 0;
}
.mcp-next {
  margin-top: 32px;
}
.mcp-next h3 {
  margin-top: 14px;
}
.mcp-columns h3 {
  margin-bottom: 18px;
}
.mcp-columns + .mcp-note {
  margin-top: 32px;
}
@media (max-width: 1000px) {
  .mcp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .mcp-hero,
  .mcp-section {
    padding-block: 40px;
  }
  .mcp-examples,
  .mcp-columns,
  .mcp-steps,
  .mcp-features > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .mcp-features > div {
    gap: 8px;
  }
  .mcp-actions .button {
    white-space: normal;
  }
}

.not-found p:not(.eyebrow) {
  margin-block: 30px;
  max-width: 650px;
}
.not-found h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

@media (hover: hover) and (pointer: fine) {
  .photo-switch:hover .photo-alternate {
    opacity: 1;
  }
  .photo-switch:hover .photo-switch-cue {
    transform: rotate(180deg);
  }
}

@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .brand {
    width: 215px;
  }
  .main-nav {
    gap: 19px;
    font-size: 0.8rem;
  }
  .hero-inner {
    gap: 5%;
    min-height: 700px;
    padding-block: 60px;
  }
  .hero-visual {
    height: 540px;
  }

  .hero-photo-frame {
    left: 21%;
  }
  .hero-detail {
    height: 235px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-region {
    border: 0;
    padding-left: 0;
    flex-basis: 100%;
  }
  .service {
    grid-template-columns: 35px 0.8fr 1.3fr;
    gap: 25px;
  }
  .solutions-layout {
    gap: 8%;
  }
  .reference {
    grid-template-columns: 130px 0.85fr 1.4fr;
    gap: 25px;
  }
  .reference-logo img {
    max-width: 125px;
  }
  .legal-prose {
    margin-left: 32px;
  }
}

@media (max-width: 1050px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 82px;
    gap: 0;
  }
  .brand {
    margin-block: 22px;
  }
  .theme-toggle {
    order: 2;
    margin-left: auto;
  }
  .has-menu-js .menu-toggle {
    order: 3;
    margin-left: 10px;
  }
  .main-nav {
    order: 4;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 22px;
  }
  .has-menu-js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    color: var(--fg);
    border: 1px solid var(--control-line);
    border-radius: 3px;
    padding: 9px 13px;
    font-size: 0.8rem;
    cursor: pointer;
  }
  .has-menu-js .menu-toggle[hidden] {
    display: none;
  }
  .has-menu-js .main-nav {
    display: none;
  }
  .has-menu-js .menu-toggle[aria-expanded="true"] ~ .main-nav {
    display: flex;
  }
  .menu-icon {
    display: block;
    position: relative;
    width: 17px;
    height: 11px;
    border-block: 1.5px solid currentColor;
  }
  .menu-icon:after {
    content: "";
    position: absolute;
    width: 17px;
    border-top: 1.5px solid currentColor;
    top: 4px;
  }
  .hero-inner {
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero-visual {
    height: 500px;
  }
  .hero-intro {
    font-size: 0.97rem;
  }
  .hero-photo-frame {
    inset: 12px 0 38px 18%;
  }
  .hero-detail {
    width: 42%;
    height: 220px;
  }

  .hero-photo-label {
    right: 0;
  }
  .section {
    padding-block: 85px;
  }
  .service h3 {
    font-size: 1.75rem;
  }
  .service-content ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .reference {
    grid-template-columns: 110px 0.8fr 1.4fr;
  }
  .reference-logo img {
    max-width: 105px;
  }
  .team-grid {
    gap: 20px;
  }
  .person h3 {
    font-size: 1.2rem;
  }
  .partners-grid {
    gap: 0 30px;
  }
  .partner {
    font-size: 1rem;
  }
  .product-body {
    gap: 6%;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 76px;
  }
  .brand {
    width: 205px;
    margin-block: 19px;
  }
  .main-nav,
  .has-menu-js .menu-toggle[aria-expanded="true"] ~ .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .main-nav > a {
    border-top: 1px solid var(--line);
    padding: 12px 0;
    font-size: 0.95rem;
  }
  .main-nav > a.button {
    padding: 12px;
    margin-top: 12px;
  }
  .hero {
    background-size: auto 1000px;
    background-position: 40% 100%;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 45px 50px;
    min-height: 0;
  }
  .hero-copy {
    padding-block: 0;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 10vw, 4.5rem);
    max-width: 550px;
  }
  .hero .eyebrow {
    font-size: 0.8rem;
    margin-bottom: 23px;
  }
  .hero-promise {
    margin-top: 20px;
    font-size: 1.4rem;
  }
  .hero-intro {
    margin-top: 22px;
    font-size: 1rem;
    max-width: 530px;
  }
  .hero-actions {
    margin-top: 26px;
    gap: 22px;
  }
  .hero-footnote {
    margin-top: 30px;
    font-size: 0.8rem;
  }
  .hero-region {
    flex-basis: auto;
    border-left: 1px solid var(--region-line);
    padding-left: 12px;
  }
  .hero-visual {
    width: min(100%, 480px);
    height: 480px;
    margin-inline: auto;
  }
  .hero-photo-frame {
    inset: 8px 12px 34px 22%;
  }
  .hero-detail {
    width: 39%;
    height: 220px;
    left: 5px;
    bottom: 25px;
  }

  .hero-photo-label {
    right: 8px;
  }
  .section {
    padding-block: 65px;
  }
  .split-heading,
  .about-intro,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.8rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  .section-intro {
    max-width: 570px;
  }
  .service {
    grid-template-columns: 30px 1fr;
    gap: 16px;
    padding-block: 27px;
  }
  .index-number {
    padding-top: 3px;
    font-size: 0.8rem;
  }
  .service h3 {
    font-size: 1.8rem;
  }
  .service-subtitle {
    max-width: none;
    margin-top: 8px;
  }
  .service-content {
    grid-column: 2;
  }
  .service-content ul {
    gap: 11px;
  }
  .solutions-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .solutions-aside {
    position: static;
  }
  .solutions-aside h2 {
    max-width: 570px;
  }
  .solutions-aside .section-intro {
    margin-top: 22px;
  }
  .solutions-visual {
    width: min(75%, 330px);
    margin: 35px 0 0 8px;
  }
  .product-card {
    padding-block: 23px;
  }
  .product-card h3 {
    font-size: 1.5rem;
  }
  .product-card-arrow {
    top: 43px;
  }
  .reference {
    grid-template-columns: 115px 1fr;
    gap: 24px;
    padding-block: 30px;
  }
  .reference-logo {
    min-height: 85px;
  }
  .reference-logo img {
    max-width: 105px;
    max-height: 85px;
  }
  .reference-index {
    margin-bottom: 10px;
  }
  .reference h3 {
    font-size: 1.55rem;
  }
  .reference-subtitle {
    font-size: 0.82rem;
    margin-top: 10px;
  }
  .reference-story {
    grid-column: 1/-1;
    font-size: 0.9rem;
  }
  .reference-story .text-link {
    margin-top: 18px;
  }
  .about-intro {
    margin-bottom: 35px;
  }
  .team-photo {
    margin-bottom: 40px;
  }
  .team-photo-switch {
    aspect-ratio: 1.5;
  }
  .team-photo figcaption {
    font-size: 0.8rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    padding-bottom: 0;
  }
  .team-grid .person:nth-child(even) {
    padding-top: 0;
  }
  .person h3 {
    font-size: 1.18rem;
  }
  .person-role {
    font-size: 0.8rem;
  }
  .person > div {
    font-size: 0.81rem;
    margin-top: 12px;
  }
  .person-photo {
    margin-bottom: 18px;
  }
  .photo-switch-cue {
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 25px;
  }
  .partner {
    font-size: 0.95rem;
    padding-block: 25px;
    gap: 15px;
  }
  .contact {
    padding-block: 65px 45px;
  }
  .contact h2 {
    font-size: 2.55rem;
  }
  .contact-primary {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
  }
  .contact-phone {
    font-size: 1.3rem;
  }
  .site-footer {
    padding-top: 40px;
  }

  .footer-bottom {
    gap: 17px;
    font-size: 0.8rem;
  }
  .footer-bottom > small {
    flex-basis: 100%;
  }
  .footer-bottom nav {
    gap: 19px;
  }
  .page-heading,
  .product-heading {
    padding-block: 40px 35px;
  }
  .page-heading h1 {
    font-size: 2.6rem;
  }
  .back-link {
    margin-bottom: 30px;
  }
  .prose {
    font-size: 0.96rem;
  }
  .prose h2 {
    font-size: 1.6rem;
  }
  .legal-prose {
    margin-left: 20px;
    padding-bottom: 55px;
  }
  .product-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-heading h1 {
    font-size: 3rem;
  }
  .lead {
    font-size: 1.1rem;
  }
  .product-contact {
    position: static;
    padding: 25px;
  }
  .product-back {
    padding-block: 0 50px;
  }
  .not-found {
    padding-block: 65px 85px;
  }
  .not-found h1 {
    font-size: 3rem;
  }
}

@media (max-width: 380px) {
  .brand {
    width: 180px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-footnote {
    font-size: 0.78rem;
  }
  .hero-region {
    flex-basis: 100%;
    border: 0;
    padding: 0;
  }
  .hero-visual {
    height: 420px;
  }

  .hero-detail {
    height: 190px;
  }
  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .person h3 {
    font-size: 1.05rem;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .reference {
    grid-template-columns: 85px 1fr;
    gap: 17px;
  }
  .reference-logo img {
    max-width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }
  body,
  .solutions,
  .about,
  .contact {
    background: #fff;
    color: #000;
  }
  .site-header,
  .site-footer,
  .hero-actions,
  .hero-visual,
  .product-contact,
  .product-back,
  .back-link,
  .photo-switch-cue,
  .solutions-visual {
    display: none;
  }
  .container {
    width: 100%;
  }
  .section,
  .contact {
    padding-block: 25px;
  }
  .hero {
    background: none;
  }
  .hero-inner,
  .product-body,
  .solutions-layout {
    display: block;
    min-height: 0;
  }
  .solutions-aside {
    position: static;
    margin-bottom: 25px;
  }
  .prose {
    font-size: 11pt;
  }
  .eyebrow,
  .hero-intro,
  .hero-promise,
  .section-intro,
  .service-content ul,
  .product-card p,
  .about-copy,
  .person > div,
  .contact-intro,
  .contact-options p,
  .person-role {
    color: #222;
  }
  .photo-switch .photo-alternate {
    display: none;
  }
  .team-grid .person:nth-child(even) {
    padding-top: 0;
  }
  .product-card,
  .person {
    break-inside: avoid;
  }
  a {
    text-decoration: underline;
  }
}

@media (max-width: 1050px) {
  .contact-inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6%;
  }
  .contact-tabs button {
    font-size: 1.15rem;
  }
  .location-card {
    padding: 20px;
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-photo {
    max-width: 360px;
  }
  .contact-photo img {
    aspect-ratio: 4 / 3;
    object-position: center 37%;
  }
  .contact-content[data-tabs-ready] .contact-panel {
    min-height: 0;
  }
  .contact-tabs button {
    font-size: 1.05rem;
    padding: 13px 6px;
  }
  .contact-primary {
    font-size: clamp(1rem, 4.6vw, 1.5rem);
  }
  .contact-phone {
    font-size: 1.3rem;
  }
  .location-card {
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding: 20px 16px;
  }
  .location-pin {
    width: 32px;
    height: 32px;
  }
  .location-pin svg {
    width: 19px;
    height: 19px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
}
@media print {
  .contact-photo,
  .ambient-photo,
  .contact-tabs {
    display: none !important;
  }
  .contact-inner {
    display: block;
  }
  .contact-panel[hidden] {
    display: block;
  }
  .contact-content[data-tabs-ready] .contact-panel {
    min-height: 0;
    margin-bottom: 25px;
  }
  .contact-content[data-tabs-ready] .contact-panel-title {
    display: block;
  }
}

/* Light theme: swap artwork and logo, tokens come from :root[data-theme="light"]. */
.logo-light,
.logo-forced {
  display: none;
}
:root[data-theme="light"] .logo-dark {
  display: none;
}
:root[data-theme="light"] .logo-light {
  display: block;
}
:root[data-theme="light"] .hero {
  background-image: url("../images/hero-bg-black-1.svg");
}
:root[data-theme="light"] .hero-photo-frame,
:root[data-theme="light"] .hero-detail {
  box-shadow: 8px 18px 35px #1b261214, 0 2px 6px #1b261226;
}

@media (max-width: 760px) {
  .theme-toggle {
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 7px 10px;
  }
  .theme-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Windows high contrast: the system picks the page colours, so show the
   black logo on a white plate and mark the pressed theme switch. */
@media (forced-colors: active) {
  /* :root[data-theme] outranks the light-theme rule that shows .logo-light. */
  .brand img,
  :root[data-theme] .brand img {
    display: none;
  }
  .brand .logo-forced,
  :root[data-theme] .brand .logo-forced {
    display: block;
    forced-color-adjust: none;
    background: #fff;
    padding: 6px 10px;
  }
}

@media print {
  :root[data-theme="dark"] {
    --bg: #fff;
    --fg: #000;
    --fg-soft: #222;
    --muted: #222;
    --faint: #222;
    --accent: #2f6305;
    --line: #ccc;
  }
  .theme-toggle,
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .brand {
    width: 165px;
  }
}

/* Long German compounds must wrap instead of widening the page (reflow at 320 px). */
h1,
h2,
h3 {
  hyphens: auto;
  /* Only hyphenate long compounds; short words and names such as "mesonic" stay whole. */
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: break-word;
}
.split-heading > *,
.solutions-layout > *,
.contact-inner > * {
  min-width: 0;
}
@media (max-width: 340px) {
  .brand {
    width: 125px;
  }
}
