@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-display: swap;
  font-style: normal;
  font-weight: 200 800;
}

:root {
  color-scheme: light;
  --brand: #d3222a;
  --brand-dark: #a9151c;
  --brand-soft: #fff0f1;
  /* Red that still clears AA as text on light surfaces. */
  --brand-ink: #b3191f;
  /* Red used as a filled background under white text — must stay dark enough
     for AA in both themes, so it does not follow --brand's dark-mode lift. */
  --brand-cta: #d3222a;
  --brand-cta-hover: #a9151c;
  --ink: #10202a;
  --ink-soft: #4b585f;
  --ink-muted: #5f6b71;
  --deep: #183543;
  --deep-2: #244858;
  --footer-deep: #0c1b24;
  --surface: #fff;
  --surface-soft: #f2f4f5;
  --surface-raised: #fff;
  --line: #dde3e4;
  --line-strong: #c8d1d3;
  /* Neutral chip colours so red stays an accent instead of the default. */
  --steel: #33505f;
  --steel-soft: #eaeff1;
  --font-heading: "Manrope", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --shell: 1500px;
  --header-offset: 120px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --ease: 200ms ease;
  --shadow-soft: 0 12px 34px rgba(12, 27, 36, 0.07);
  --shadow-high: 0 20px 56px rgba(12, 27, 36, 0.13);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #f0444c;
  --brand-dark: #d3222a;
  --brand-soft: #351d22;
  --brand-ink: #ff7a80;
  --brand-cta: #cc1f27;
  --brand-cta-hover: #ad161d;
  --ink: #f3f6f7;
  --ink-soft: #b9c3c8;
  --ink-muted: #93a0a6;
  --deep: #102a36;
  --deep-2: #183b49;
  --footer-deep: #071118;
  --surface: #10161a;
  --surface-soft: #171e22;
  --surface-raised: #1c2429;
  --line: #303b41;
  --line-strong: #3d4a51;
  --steel: #b9c9d2;
  --steel-soft: #1f2a30;
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.24);
  --shadow-high: 0 20px 56px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

::selection {
  background: var(--brand);
  color: #fff;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

/*
 * Subtle below-the-fold motion. JavaScript adds these classes only after the
 * document is ready, so content stays fully visible when JS is unavailable.
 */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 460ms ease-out var(--reveal-delay, 0ms),
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

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

  .scroll-reveal,
  .scroll-reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

/*
 * German compound nouns run long and carry umlauts, so the display type stays
 * on a restrained scale with near-neutral tracking — tight display tracking
 * collides diacritics and reads as consumer-app styling rather than Fachbetrieb.
 */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  hyphens: auto;
}

h1 {
  font-size: 4.1rem;
  line-height: 1.06;
}

h2 {
  font-size: 2.95rem;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  font-weight: 700;
}

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

.site-shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(4.75rem, 6.5vw, 7rem);
}

/* Label + short rule: a quieter section marker than a floating red caps line. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--brand-ink) !important;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--brand);
  content: "";
}

.prose p {
  color: var(--ink-soft);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform var(--ease), background-color var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.button svg {
  width: 17px;
  height: 17px;
  transition: transform var(--ease);
}

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

.button:hover svg {
  transform: translateX(3px);
}

.button--primary {
  background: var(--brand-cta);
  color: #fff;
  box-shadow: 0 6px 16px rgba(140, 18, 24, 0.22);
}

.button--primary:hover {
  background: var(--brand-cta-hover);
  box-shadow: 0 10px 22px rgba(140, 18, 24, 0.28);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(10, 26, 35, 0.32);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button--glass:hover {
  border-color: #fff;
  background: rgba(10, 26, 35, 0.48);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  transition: box-shadow var(--ease);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 36px rgba(12, 27, 36, 0.09);
}

.header-contact {
  min-height: 38px;
  background: var(--deep);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.81rem;
  font-weight: 500;
}

.header-contact__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-contact__location,
.header-contact__links {
  display: flex;
  align-items: center;
}

.header-contact__links {
  gap: 1.6rem;
}

.header-contact a,
.header-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color var(--ease);
}

.header-contact a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-contact svg {
  width: 14px;
  height: 14px;
  color: #ff8085;
}

.site-notice {
  padding: 0.5rem;
  background: var(--brand-cta);
  color: #fff;
  text-align: center;
}

.header-main {
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  backdrop-filter: blur(18px);
  transition: background-color var(--ease), border-color var(--ease);
}

.header-main__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2rem);
}

.site-logo {
  display: grid;
  width: 220px;
  min-height: 82px;
  margin-right: auto;
  padding: 5px;
  align-items: center;
  justify-items: start;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.site-logo img {
  width: 100%;
  height: 72px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav__list,
.sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.05rem, 1.55vw, 1.65rem);
}

.primary-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.primary-nav__item > a {
  position: relative;
  padding-block: 1.8rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  transition: color var(--ease);
}

.primary-nav__item > a::after {
  position: absolute;
  right: 0;
  bottom: 1.32rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 99px;
  background: var(--brand);
  content: "";
  transition: transform var(--ease);
}

.primary-nav__item > a:hover,
.primary-nav__item > a:focus-visible {
  color: var(--brand-ink);
}

.primary-nav__item > a:hover::after,
.primary-nav__item > a:focus-visible::after {
  transform: scaleX(1);
}

/* Marks the page you are on, not just the one you are pointing at. */
.primary-nav__item.current-menu-item > a,
.primary-nav__item.current_page_item > a,
.primary-nav__item.current-menu-ancestor > a {
  color: var(--brand-ink);
}

.primary-nav__item.current-menu-item > a::after,
.primary-nav__item.current_page_item > a::after,
.primary-nav__item.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.primary-nav__item--cta {
  margin-left: 0.15rem;
}

.primary-nav__item--cta > a,
.home .site-header:not(.is-scrolled) .primary-nav__item--cta > a {
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--brand-cta);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(140, 18, 24, 0.22);
}

.primary-nav__item--cta > a::after {
  display: none;
}

.primary-nav__item--cta > a:hover,
.primary-nav__item--cta > a:focus-visible,
.home .site-header:not(.is-scrolled) .primary-nav__item--cta > a:hover,
.home .site-header:not(.is-scrolled) .primary-nav__item--cta > a:focus-visible {
  background: var(--brand-dark);
  color: #fff;
}

.submenu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  margin-left: 0;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.submenu-toggle svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
  transition: transform var(--ease);
}

@media (min-width: 1181px) {
  .submenu-toggle {
    width: 24px;
    margin-right: -0.5rem;
    margin-left: 0.5rem;
    place-items: center start;
  }
}

.sub-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% - 1px);
  left: -1rem;
  min-width: 240px;
  padding: 0.65rem;
  transform: translateY(9px);
  visibility: hidden;
  opacity: 0;
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--surface-raised);
  box-shadow: var(--shadow-high);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.sub-menu a {
  display: block;
  padding: 0.72rem 0.8rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration: none;
}

.sub-menu a:hover,
.sub-menu a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand);
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.is-open > .sub-menu {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

.menu-item-has-children:hover > .submenu-toggle svg,
.menu-item-has-children:focus-within > .submenu-toggle svg,
.menu-item-has-children.is-open > .submenu-toggle svg {
  transform: rotate(180deg);
}

/* Full-width services menu on larger screens. */
.primary-nav__item--mega {
  position: static;
}

.sub-menu--mega {
  right: auto;
  left: 50%;
  display: grid;
  width: min(calc(100vw - 48px), 1140px);
  min-width: 0;
  padding: 1rem 2.5rem 1.25rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  transform: translate(-50%, 10px);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.menu-item-has-children:hover > .sub-menu--mega,
.menu-item-has-children:focus-within > .sub-menu--mega,
.menu-item-has-children.is-open > .sub-menu--mega {
  transform: translate(-50%, 0);
}

.sub-menu--mega .sub-menu__item {
  min-width: 0;
}

.sub-menu--mega a {
  height: 100%;
  padding: 0 0 0.65rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: color var(--ease), background-color var(--ease), transform var(--ease);
}

.sub-menu--mega a:hover,
.sub-menu--mega a:focus-visible,
.sub-menu--mega .current-menu-item > a {
  transform: translateY(-2px);
  background: var(--brand-cta);
  color: #fff;
}

.sub-menu__media {
  display: block;
  height: 174px;
  margin-bottom: 0.65rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.sub-menu__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.sub-menu--mega a:hover .sub-menu__media img,
.sub-menu--mega a:focus-visible .sub-menu__media img {
  transform: scale(1.035);
}

.sub-menu__label {
  display: block;
  padding-inline: 0.35rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle,
.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--ink);
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.theme-toggle > span,
.menu-toggle > span {
  grid-area: 1 / 1;
}

.theme-toggle svg,
.menu-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle__sun,
.menu-toggle__close {
  display: none;
}

:root[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle__moon,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.menu-toggle {
  display: none;
}

/* Hero */
/*
 * Taller frame plus bottom-anchored copy. Height alone would not help: the
 * photo is centre-cropped, so growing the hero moves the building's WER sign
 * down at the same rate as centred text and they never separate. Anchoring the
 * copy to the foot is what clears the sign.
 */
.hero-modern {
  position: relative;
  display: grid;
  min-height: min(880px, calc(100svh - var(--header-offset)));
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

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

.hero-modern__image {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  animation: hero-image-in 1200ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/*
 * Deliberately light so the building stays visible. Instead of washing the
 * whole frame, the darkening is a soft pool behind the centred copy, with the
 * type carrying its own shadow — that holds contrast without dulling the photo.
 */
.hero-modern__overlay {
  background:
    radial-gradient(86% 62% at 50% 64%, rgba(8, 24, 33, 0.52) 0%, rgba(8, 24, 33, 0.44) 46%, rgba(8, 24, 33, 0.2) 76%, rgba(8, 24, 33, 0.04) 92%, rgba(8, 24, 33, 0) 100%),
    linear-gradient(180deg, rgba(9, 27, 37, 0.18) 0%, rgba(9, 27, 37, 0.02) 24%, rgba(9, 27, 37, 0.14) 62%, rgba(9, 27, 37, 0.34) 100%);
}

.hero-modern__grid {
  --hero-grid-lift: 0px;

  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 0 calc(clamp(7.5rem, 15vh, 12rem) + var(--hero-grid-lift));
  text-align: center;
}

@media (min-width: 901px) {
  .hero-modern__grid {
    --hero-grid-lift: 20px;
  }
}

.hero-modern__copy {
  display: flex;
  max-width: 900px;
  align-items: center;
  flex-direction: column;
}


.hero-service-card__label span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(211, 34, 42, 0.2);
}

.hero-modern h1 {
  max-width: 20ch;
  margin-bottom: 1.35rem;
  color: #fff;
  font-size: 4.15rem;
  line-height: 1.06;
  text-shadow: 0 1px 3px rgba(6, 18, 26, 0.5), 0 4px 26px rgba(6, 18, 26, 0.45);
  animation: hero-copy-in 700ms 220ms ease both;
}

.hero-modern__intro {
  max-width: 54ch;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.68;
  text-shadow: 0 1px 2px rgba(6, 18, 26, 0.75), 0 2px 12px rgba(6, 18, 26, 0.7);
  animation: hero-copy-in 700ms 300ms ease both;
}

.hero-modern__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  animation: hero-copy-in 700ms 380ms ease both;
}

.google-proof {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  background: rgba(10, 26, 35, 0.42);
  color: #fff;
  font-size: 0.76rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  animation: hero-copy-in 700ms 120ms ease both;
  transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}

.google-proof:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(10, 26, 35, 0.6);
}

.google-proof__brand {
  font-family: Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
}

.google-proof__stars {
  color: #fbbc04;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.google-proof strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
}

.google-proof > span:nth-last-of-type(1) {
  color: rgba(255, 255, 255, 0.78);
}

.google-proof svg {
  width: 15px;
  height: 15px;
  margin-left: 0.2rem;
}

.hero-modern__eyebrow {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(6, 18, 26, 0.65);
}

.hero-service-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: #14242e;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  animation: hero-card-in 800ms 260ms ease both;
}

.hero-service-card__label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  color: #7c858a;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-service-card__label span {
  width: 8px;
  height: 8px;
  border-color: #fff;
}

.hero-service-card h2 {
  margin-bottom: 1.35rem;
  color: #10202a;
  font-size: 1.75rem;
  line-height: 1.13;
}

.hero-service-card ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dfe4e3;
  list-style: none;
}

.hero-service-card li {
  border-bottom: 1px solid #dfe4e3;
}

.hero-service-card li a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #26363f;
  font-family: var(--font-heading);
  font-size: 0.81rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--ease), padding var(--ease);
}

.hero-service-card li a:hover {
  padding-left: 0.35rem;
  color: var(--brand);
}

.hero-service-card li svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.hero-service-card__note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.25rem;
  color: #69747a;
  font-size: 0.76rem;
  line-height: 1.5;
}

.hero-service-card__note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--brand);
}

@keyframes hero-image-in {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes hero-copy-in {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes hero-card-in {
  from { transform: translateX(28px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Trust rail */
/*
 * The row is pulled up over the hero, so the section box straddles the seam.
 * One variable drives both the lift and where the grey starts, otherwise the
 * body background shows through as a white stripe under the cards.
 */
.strength-row {
  --rail-overlap: 54px;
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * var(--rail-overlap));
  background: linear-gradient(to bottom, transparent var(--rail-overlap), var(--surface) var(--rail-overlap));
}

/* Only this row is wider: overriding --shell keeps .site-shell's responsive
   gutters intact instead of hardcoding a width per breakpoint. */
.strength-row__inner {
  --shell: 1600px;
  display: grid;
  /* margin-block only: a blanket `margin: 0` would kill .site-shell's auto
     inline margins and shove the row against the viewport edge. */
  margin-block: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.strength-card {
  position: relative;
  min-width: 0;
  height: clamp(132px, 10.5vw, 168px);
  overflow: hidden;
  /* Frame in the section's own colour so the cards read as cut out of it.
     Follows the theme, so it stays correct in dark mode too. No shadow: it
     would ring the frame in dark and make the white read as a separate band
     instead of blending into the section. */
  border: 5px solid var(--surface);
  border-radius: var(--radius-md);
}

.strength-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.strength-card:hover img {
  transform: scale(1.06);
}

/* These photos run from bright offices to dark plant rooms, so the label sits
   on a deep foot rather than on the picture itself. */
.strength-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 25, 0.18) 0%, rgba(7, 18, 25, 0.34) 45%, rgba(7, 18, 25, 0.78) 78%, rgba(7, 18, 25, 0.92) 100%);
}

/* Outlined so it reads as a quiet marker and never competes with the label. */
.strength-card__index {
  position: absolute;
  top: 0.7rem;
  left: 1rem;
  color: transparent;
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
}

.strength-card__title {
  position: absolute;
  right: 1rem;
  bottom: 0.95rem;
  left: 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(6, 18, 26, 0.55);
}

/* Shared split heading */
.split-heading {
  display: grid;
  align-items: end;
  margin-bottom: clamp(2.75rem, 4.5vw, 4rem);
  padding-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.split-heading h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: 2.8rem;
}

.split-heading__text {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.split-heading__text p:last-child {
  margin-bottom: 0;
}

.hero-modern__intro,
.split-heading__text,
.modern-about__lead,
.team-proof__intro,
.modern-process__intro > p {
  text-wrap: pretty;
}

/* Services */
.modern-services {
  background: var(--surface);
}

/* The column gap also has to clear the 16px image breakout on the next card,
   otherwise the photo crowds its neighbour. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.6rem, 3.4vw, 3.4rem) clamp(1.9rem, 2.6vw, 2.6rem);
}

/*
 * Service copy sits on a solid card rather than on the photo. Text over a
 * light, unpredictable photo needed heavy scrims to stay legible; on a card it
 * simply reads, which suits a trade business better.
 */
.service-card {
  --card-pad: clamp(1.35rem, 1.7vw, 1.7rem);
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background-color var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: transparent;
  background: var(--brand-cta);
  box-shadow: var(--shadow-high);
}

.service-card__title {
  margin-bottom: 1.1rem;
  font-size: 1.32rem;
  transition: color var(--ease);
}

/*
 * The image breaks out past the card's left edge and stops short of the right
 * one. The asymmetry is the point — it gives the grid a hand-placed look
 * instead of five identical boxes.
 */
.service-card__media {
  margin-right: calc(16px - var(--card-pad));
  margin-bottom: 1.2rem;
  margin-left: calc(-16px - var(--card-pad));
  overflow: hidden;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-soft);
}

.service-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card:hover .service-card__media img,
.service-card:focus-within .service-card__media img {
  transform: scale(1.05);
}

.service-card__text {
  display: -webkit-box;
  margin-bottom: 1.35rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.66;
  transition: color var(--ease);
}

.service-card__link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: color var(--ease);
}

.service-card__link svg {
  width: 17px;
  height: 17px;
  transition: transform var(--ease);
}

/* Makes the whole card clickable while the link keeps a real accessible name. */
.service-card__link::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.service-card:hover .service-card__title,
.service-card:hover .service-card__link,
.service-card:focus-within .service-card__title,
.service-card:focus-within .service-card__link {
  color: #fff;
}

.service-card:hover .service-card__text,
.service-card:focus-within .service-card__text {
  color: rgba(255, 255, 255, 0.92);
}

.service-card:hover .service-card__link svg,
.service-card:focus-within .service-card__link svg {
  transform: translateX(3px);
}

/* Sixth cell of the grid: the standing promise, echoing the old layout. */
.service-promise {
  --card-pad: clamp(1.35rem, 1.7vw, 1.7rem);
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--card-pad);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--brand-cta);
  color: #fff;
}

.service-promise__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.service-promise__icon svg {
  width: 21px;
  height: 21px;
}

.service-promise__lead {
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.service-promise ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1.05rem;
  list-style: none;
}

.service-promise li {
  position: relative;
  padding-left: 1.1rem;
}

.service-promise li::before {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.service-promise li strong,
.service-promise li span {
  display: block;
}

.service-promise li strong {
  margin-bottom: 0.25rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 700;
}

.service-promise li span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* About */
.modern-about {
  position: relative;
  background: var(--surface);
}

.modern-about__header {
  display: grid;
  align-items: end;
  margin-bottom: clamp(2.75rem, 4.5vw, 4rem);
  padding-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line-strong);
}

.modern-about__title h2 {
  max-width: 14ch;
  margin: 0;
  font-size: 3.75rem;
  hyphens: none;
}

.modern-about__lead {
  max-width: 54ch;
  margin: 0;
  color: var(--ink-soft) !important;
  font-size: 1.08rem;
  line-height: 1.75;
}

.modern-about__layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(2.75rem, 5vw, 5rem);
}

.modern-about__media {
  position: relative;
  height: clamp(520px, 43vw, 650px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.modern-about__media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 4px;
  background: var(--brand);
  content: "";
}

.modern-about__primary {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.modern-about__copy {
  min-width: 0;
}

.modern-about__experience {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-strong);
}

.modern-about__experience strong {
  color: var(--brand);
  font-family: var(--font-heading);
  font-size: 5.75rem;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
}

.modern-about__experience span {
  max-width: 13ch;
  padding-bottom: 0.2rem;
  color: var(--ink-muted);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modern-about__summary {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.modern-about__values {
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-about__values li {
  display: grid;
  padding: 1.05rem 0;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.modern-about__values li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius-xs);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.modern-about__values svg {
  width: 19px;
  height: 19px;
}

.modern-about__values h3 {
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.modern-about__values p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.modern-about__signature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.modern-about__signature > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-xs);
  background: var(--steel-soft);
  color: var(--steel);
}

.modern-about__signature svg {
  width: 20px;
  height: 20px;
}

.modern-about__signature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.modern-about__signature strong {
  color: var(--ink);
}

/* Team proof */
.team-proof {
  position: relative;
  background: var(--surface);
}

.team-proof--no-image {
  background: var(--surface);
}

.team-proof__content {
  position: relative;
  overflow: hidden;
}

.team-proof__content.section-space {
  padding-block: clamp(3.75rem, 5vw, 5.5rem);
}

.team-proof__header {
  display: grid;
  align-items: end;
  margin-bottom: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.team-proof__heading h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: 3.15rem;
  hyphens: none;
}

.team-proof__intro {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.team-proof__benefits {
  display: grid;
  margin: 0;
  padding: 0;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #b71f24;
  list-style: none;
}

.team-proof__benefits li {
  display: grid;
  min-width: 0;
  min-height: 156px;
  padding: 1.5rem;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  text-align: center;
}

.team-proof__benefits li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.team-proof__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
}

.team-proof__icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

.team-proof__benefits h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  hyphens: none;
}

.team-proof__media {
  width: 100%;
  height: clamp(420px, 27vw, 540px);
  margin: 0;
  overflow: hidden;
  background: var(--line);
}

.team-proof__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.text-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.65rem;
  color: var(--brand);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}


/* Process */
.modern-process {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
  color: #fff;
}

.modern-process__background,
.modern-process__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.modern-process__background {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.modern-process__overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 31, 40, 0.82), rgba(7, 25, 33, 0.93)),
    linear-gradient(90deg, rgba(6, 26, 34, 0.22), rgba(6, 26, 34, 0.08));
}

.modern-process__grid {
  position: relative;
  z-index: 1;
}

.modern-process__intro {
  max-width: 760px;
  margin: 0 auto clamp(2.75rem, 4.5vw, 4rem);
  text-align: center;
}

.modern-process__intro .eyebrow {
  justify-content: center;
  color: #ff858a !important;
}

.modern-process__intro h2 {
  max-width: none;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 3.15rem;
  line-height: 1.05;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.modern-process__intro > p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.modern-process__steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.35vw, 1.25rem);
  list-style: none;
  counter-reset: none;
}

.modern-process__steps li {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: clamp(1.5rem, 2vw, 2rem);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.modern-process__steps li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.modern-process__number {
  position: absolute;
  z-index: 2;
  top: 1.05rem;
  left: 4.55rem;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-cta);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.modern-process__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.8rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-cta);
  color: #fff;
}

.modern-process__icon svg {
  width: 25px;
  height: 25px;
}

.modern-process__step-copy {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.modern-process__steps h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.modern-process__steps p {
  max-width: 38ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.66;
}

/* The process photo stays atmospheric in light mode without turning the
   section into a second dark-theme panel. */
:root[data-theme="light"] .modern-process {
  background: var(--deep);
  color: #fff;
}

:root[data-theme="light"] .modern-process__background {
  filter: saturate(1.02) contrast(1.01) brightness(1.06);
}

:root[data-theme="light"] .modern-process__overlay {
  background:
    linear-gradient(180deg, rgba(7, 25, 33, 0.28) 0%, rgba(7, 25, 33, 0.34) 44%, rgba(7, 25, 33, 0.48) 100%),
    radial-gradient(70% 52% at 50% 20%, rgba(7, 25, 33, 0.2), transparent 72%);
}

:root[data-theme="light"] .modern-process__intro .eyebrow {
  color: #ff656c !important;
}

:root[data-theme="light"] .modern-process__intro h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(5, 20, 29, 0.34);
}

:root[data-theme="light"] .modern-process__intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 10px rgba(5, 20, 29, 0.42);
}

:root[data-theme="light"] .modern-process__steps li {
  border-color: color-mix(in srgb, var(--ink) 12%, transparent);
  background: color-mix(in srgb, var(--surface-raised) 84%, transparent);
  box-shadow: 0 16px 38px rgba(12, 27, 36, 0.1);
  backdrop-filter: blur(10px);
}

:root[data-theme="light"] .modern-process__steps li:hover {
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  box-shadow: 0 20px 44px rgba(12, 27, 36, 0.15);
}

:root[data-theme="light"] .modern-process__number {
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  background: var(--surface-raised);
  box-shadow: 0 4px 12px rgba(12, 27, 36, 0.09);
}

:root[data-theme="light"] .modern-process__steps h3 {
  color: var(--ink);
}

:root[data-theme="light"] .modern-process__steps p {
  color: var(--ink-soft);
}

/* Projects */
.modern-gallery {
  background: var(--surface);
}

.split-heading--gallery {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.split-heading--gallery h2 {
  max-width: 20ch;
  font-size: 2.8rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.gallery-filters button {
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--surface-raised);
  color: var(--ink-soft);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.gallery-filters button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.gallery-filters button.is-active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.project-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-auto-rows: 230px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.project-grid li {
  min-width: 0;
  grid-column: span 4;
}

.project-grid li:first-child {
  grid-column: span 7;
  grid-row: span 2;
}

.project-grid li:nth-child(2),
.project-grid li:nth-child(3) {
  grid-column: span 5;
}

.project-grid li[hidden] {
  display: none;
}

.project-grid figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
}

.project-grid figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 18, 25, 0.5) 72%, rgba(7, 18, 25, 0.88) 100%);
  content: "";
  pointer-events: none;
  transition: background var(--ease);
}

.project-grid__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--surface-soft);
  cursor: zoom-in;
}

.project-grid__open:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-grid figure:hover img {
  transform: scale(1.055);
}

.project-grid figcaption {
  position: absolute;
  z-index: 1;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}

.project-grid figcaption svg {
  width: 18px;
  height: 18px;
  transition: transform var(--ease);
}

.project-grid figure:hover figcaption svg {
  transform: translateX(3px);
}

/* Region CTA — one centred message on the photo, nothing else. The contact
   details it used to carry are already in the footer. */
.region-cta {
  position: relative;
  display: grid;
  min-height: clamp(380px, 42vw, 470px);
  place-items: center;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

.region-cta__background,
.region-cta__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.region-cta__background {
  object-fit: cover;
  object-position: center 46%;
}

.region-cta__overlay {
  background:
    radial-gradient(86% 74% at 50% 50%, rgba(8, 24, 33, 0.52) 0%, rgba(8, 24, 33, 0.44) 46%, rgba(8, 24, 33, 0.2) 76%, rgba(8, 24, 33, 0.04) 92%, rgba(8, 24, 33, 0) 100%),
    linear-gradient(180deg, rgba(9, 27, 37, 0.18) 0%, rgba(9, 27, 37, 0.04) 34%, rgba(9, 27, 37, 0.14) 66%, rgba(9, 27, 37, 0.3) 100%);
}

.region-cta__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: clamp(3.75rem, 7vw, 5.5rem);
  text-align: center;
}

.region-cta__content h2 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 2.95rem;
  text-shadow: 0 1px 3px rgba(6, 18, 26, 0.45), 0 4px 24px rgba(6, 18, 26, 0.4);
}

/* Thin rule under the heading, as in the reference. */
.region-cta__content h2::after {
  display: block;
  width: 62px;
  height: 2px;
  margin: 1.25rem auto 0;
  background: rgba(255, 255, 255, 0.85);
  content: "";
}

.region-cta__content p {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.68;
  text-shadow: 0 1px 2px rgba(6, 18, 26, 0.6), 0 2px 14px rgba(6, 18, 26, 0.5);
  text-wrap: pretty;
}

.region-cta__content .region-cta__eyebrow {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Footer and shared CTA for inner pages */
.footer-cta {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.footer-cta__image,
.footer-cta__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-cta__image {
  object-fit: cover;
  filter: saturate(0.75);
}

.footer-cta__overlay {
  background: rgba(6, 18, 25, 0.76);
}

.footer-cta__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-block: 4rem;
  text-align: center;
}

.footer-cta h2 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-cta p {
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.site-footer__grid {
  --shell: 1600px;

  display: grid;
  align-items: start;
  padding-block: clamp(2.75rem, 3.6vw, 3.5rem);
  grid-template-columns: minmax(190px, 1fr) minmax(130px, 0.8fr) minmax(180px, 1fr) minmax(165px, 0.9fr) minmax(260px, 1.25fr);
  gap: clamp(2.5rem, 4vw, 5rem);
}

.site-footer__grid > * {
  min-width: 0;
}

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

.footer-logo {
  display: grid;
  width: 190px;
  min-height: 58px;
  margin-bottom: 1.1rem;
  padding: 0;
  align-items: center;
  justify-items: start;
  background: transparent;
}

.footer-logo img {
  width: auto;
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand__social {
  display: block;
}

.footer-brand__social .footer-heading {
  margin-bottom: 0.75rem;
}

.footer-heading {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.footer-nav ul,
.footer-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.6rem;
}

.footer-nav a,
.footer-contact a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--ease), transform var(--ease);
}

.footer-nav a {
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--brand-ink);
  transform: translateX(3px);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact a:hover {
  color: var(--brand-ink);
}

.footer-contact__icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
}

.footer-contact__icon svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--steel);
  color: #fff;
  transition: background-color var(--ease), transform var(--ease);
}

.social-links a:hover {
  transform: translateY(-2px);
  background: var(--brand);
  color: #fff;
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.social-links a[aria-label="Facebook"] {
  background: #3b5998;
}

.social-links a[aria-label="Instagram"] {
  background: #262626;
}

.site-footer__bottom {
  padding-block: 0.8rem;
  border-top: 0;
  background: var(--footer-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 14px;
}

.floating-toggle {
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand-cta);
  color: #fff;
  box-shadow: 0 12px 28px rgba(111, 10, 16, 0.3);
  cursor: pointer;
  transition: transform var(--ease), background-color var(--ease);
}

.floating-toggle:hover {
  transform: scale(1.06);
  background: var(--brand-cta-hover);
}

.floating-toggle .icon {
  width: 27px;
  height: 27px;
}

.floating-toggle__close,
.floating-toggle[aria-expanded="true"] .floating-toggle__open {
  display: none;
}

.floating-toggle[aria-expanded="true"] .floating-toggle__close {
  display: block;
}

.floating-panel {
  width: min(350px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-raised);
  box-shadow: 0 22px 60px rgba(12, 27, 36, 0.24);
}

.floating-panel[hidden] {
  display: none;
}

.floating-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 14px;
}

.floating-panel__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.floating-panel__icon .icon {
  width: 21px;
  height: 21px;
}

.floating-panel__header strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.floating-panel__header small {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.floating-panel__rows {
  display: grid;
  gap: 8px;
  padding: 0 14px 16px;
}

.floating-row {
  display: grid;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  gap: 12px;
  transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}

.floating-row:hover,
.floating-row:focus-visible {
  transform: translateX(-2px);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  background: var(--surface-raised);
}

.floating-row__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  color: var(--brand-ink);
}

.floating-row__icon .icon {
  width: 20px;
  height: 20px;
}

.floating-row__body {
  display: grid;
  min-width: 0;
}

.floating-row__body small {
  color: var(--brand-ink);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-row__body strong {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.floating-row__arrow {
  color: var(--brand-ink);
}

.floating-row__arrow .icon {
  width: 18px;
  height: 18px;
}

/* Generic pages and forms */
.page-main {
  min-height: 55vh;
  padding-block: clamp(5rem, 8vw, 8rem);
}

.content-entry {
  max-width: 920px;
}

.content-entry--centered {
  text-align: center;
}

.entry-header {
  margin-bottom: 2.5rem;
}

.entry-content > * {
  max-width: 100%;
}

.forminator-ui.forminator-custom-form {
  font-family: var(--font-body) !important;
}

@media (max-width: 1180px) {
  :root {
    --header-offset: 76px;
  }

  .header-contact {
    display: none;
  }

  .header-main {
    /* A filtered ancestor becomes the containing block for position: fixed.
       Keeping the mobile bar opaque lets the menu fill the actual viewport. */
    background: var(--surface-raised);
    backdrop-filter: none;
  }

  .site-header.is-scrolled .header-main {
    border-bottom-color: var(--line-strong);
    background: var(--surface-raised);
  }

  .header-main__inner {
    min-height: 76px;
  }

  .site-logo {
    width: 155px;
    min-height: 54px;
  }

  .site-logo img {
    height: 48px;
    max-height: 48px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    z-index: 100;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    background: var(--surface-raised);
    transition: transform 240ms ease, visibility 240ms ease;
  }

  body.admin-bar .primary-nav {
    top: 108px;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav__list {
    display: block;
    width: min(calc(100% - 48px), 680px);
    margin: 2rem auto;
  }

  .primary-nav__item {
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav__item > a,
  .home .site-header:not(.is-scrolled) .primary-nav__item > a {
    padding: 1.05rem 0;
    color: var(--ink);
  }

  .primary-nav__item > a::after {
    display: none;
  }

  .primary-nav__item--cta {
    margin: 1rem 0 0;
    border-bottom: 0;
  }

  .primary-nav__item--cta > a,
  .home .site-header:not(.is-scrolled) .primary-nav__item--cta > a {
    display: inline-flex;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    color: #fff;
  }

  .submenu-toggle,
  .home .site-header:not(.is-scrolled) .submenu-toggle {
    width: 48px;
    color: var(--ink);
  }

  .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0.75rem 1rem;
    grid-column: 1 / -1;
    transform: none;
    visibility: visible;
    opacity: 1;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .sub-menu--mega {
    width: auto;
    padding: 0 0 0.9rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    transform: none;
    border-radius: 0;
  }

  .menu-item-has-children:hover > .sub-menu--mega,
  .menu-item-has-children:focus-within > .sub-menu--mega,
  .menu-item-has-children.is-open > .sub-menu--mega {
    transform: none;
  }

  .menu-item-has-children.is-open > .sub-menu--mega {
    display: grid;
  }

  .sub-menu--mega a {
    display: grid;
    min-height: 66px;
    padding: 0.35rem;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.93rem;
    text-align: left;
  }

  .sub-menu--mega a:hover,
  .sub-menu--mega a:focus-visible,
  .sub-menu--mega .current-menu-item > a {
    transform: none;
  }

  .sub-menu__media {
    height: 54px;
    margin: 0;
    border-radius: 7px;
  }

  .sub-menu__label {
    padding: 0;
  }

  .hero-modern {
    min-height: 760px;
  }

  .hero-modern__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-modern h1 {
    font-size: 4rem;
  }

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

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

  .modern-about__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 3rem;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .team-proof__header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .team-proof__heading h2 {
    max-width: 18ch;
  }

  .team-proof__media {
    height: clamp(340px, 48vw, 460px);
  }

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

  .team-proof__benefits li + li {
    border-left: 0;
  }

  .team-proof__benefits li:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }

  .team-proof__benefits li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .hero-modern {
    min-height: 740px;
  }

  /* Narrower frame concentrates the pool a little more, still light. */
  .hero-modern__overlay {
    background:
      radial-gradient(130% 70% at 50% 60%, rgba(8, 24, 33, 0.58) 0%, rgba(8, 24, 33, 0.5) 46%, rgba(8, 24, 33, 0.26) 76%, rgba(8, 24, 33, 0.06) 92%, rgba(8, 24, 33, 0) 100%),
      linear-gradient(180deg, rgba(9, 27, 37, 0.2) 0%, rgba(9, 27, 37, 0.03) 26%, rgba(9, 27, 37, 0.12) 62%, rgba(9, 27, 37, 0.32) 100%);
  }

  .hero-modern__grid {
    grid-template-columns: 1fr;
  }

  .hero-service-card {
    display: none;
  }

  .hero-modern__copy {
    max-width: 720px;
  }

  .split-heading,
  .split-heading--gallery {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .gallery-filters {
    justify-content: flex-start;
  }

  .modern-process__grid {
    min-height: 0;
  }

  .modern-about__header,
  .modern-about__layout {
    grid-template-columns: 1fr;
  }

  .modern-about__header {
    align-items: start;
    gap: 1.35rem;
  }

  .modern-about__layout {
    gap: 2.75rem;
  }

  .modern-about__media,
  .modern-about__primary {
    width: 100%;
    height: clamp(430px, 68vw, 570px);
    min-height: 0;
  }

  .modern-about__copy {
    max-width: none;
  }

  .modern-process__intro {
    max-width: 660px;
    padding-top: 0;
  }

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

  .modern-process__steps li {
    min-height: 285px;
  }

  .project-grid {
    grid-auto-rows: 250px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid li,
  .project-grid li:first-child,
  .project-grid li:nth-child(2),
  .project-grid li:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-grid li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .region-cta__overlay {
    background:
      radial-gradient(130% 76% at 50% 50%, rgba(8, 24, 33, 0.58) 0%, rgba(8, 24, 33, 0.5) 46%, rgba(8, 24, 33, 0.26) 76%, rgba(8, 24, 33, 0.06) 92%, rgba(8, 24, 33, 0) 100%),
      linear-gradient(180deg, rgba(9, 27, 37, 0.2) 0%, rgba(9, 27, 37, 0.04) 30%, rgba(9, 27, 37, 0.14) 64%, rgba(9, 27, 37, 0.32) 100%);
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .primary-nav {
    top: 122px;
  }

  .section-space {
    padding-block: 5rem;
  }

  .hero-modern h1 {
    font-size: 3.7rem;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section-space {
    padding-block: 4.25rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  body.admin-bar .site-header {
    top: 0;
  }

  body.admin-bar .primary-nav {
    top: 76px;
  }

  .header-main__inner {
    gap: 0.55rem;
  }

  .site-logo {
    width: 145px;
    min-height: 52px;
    padding: 0;
  }

  .site-logo img {
    height: 50px;
    max-height: 50px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .primary-nav__list {
    width: calc(100% - 28px);
  }

  .sub-menu--mega {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-modern {
    min-height: 690px;
  }

  .hero-modern__image {
    object-position: center;
  }

  .hero-modern__grid {
    padding-block: 4rem 7rem;
  }

  .hero-modern h1 {
    margin-bottom: 1.35rem;
    font-size: 2.65rem;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-modern__intro {
    margin-bottom: 1.6rem;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .hero-modern__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-modern__actions .button {
    width: 100%;
  }

  /* Keep the rating next to its stars instead of stretching the row apart. */
  .google-proof {
    width: max-content;
    max-width: 100%;
    min-height: 52px;
    flex-wrap: wrap;
    padding: 0.6rem 0.8rem;
    gap: 0.4rem;
  }

  .google-proof svg {
    display: none;
  }

  .strength-row {
    --rail-overlap: 40px;
  }

  .strength-row__inner {
    gap: 12px;
  }

  .strength-card {
    height: clamp(112px, 30vw, 132px);
    border-width: 4px;
  }

  .strength-card__index {
    top: 0.5rem;
    left: 0.75rem;
    font-size: 1.7rem;
  }

  .strength-card__title {
    right: 0.75rem;
    bottom: 0.7rem;
    left: 0.75rem;
    font-size: 0.86rem;
  }

  .split-heading {
    margin-bottom: 2.5rem;
  }

  .split-heading h2,
  .split-heading--gallery h2,
  .team-proof__heading h2,
  .modern-process__intro h2,
  .region-cta__copy h2 {
    font-size: 2.2rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* Narrow gutters cannot absorb a 16px breakout, so square the image off. */
  .service-card__media {
    margin-right: calc(-1 * var(--card-pad));
    margin-left: calc(-1 * var(--card-pad));
    border-radius: 0;
  }

  .modern-about__experience {
    margin-bottom: 1.1rem;
    padding-bottom: 1.35rem;
  }

  .modern-about__experience strong {
    font-size: 3.5rem;
  }

  .modern-about__header {
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    gap: 1.1rem;
  }

  .modern-about__title h2 {
    font-size: 2.4rem;
  }

  .modern-about__layout {
    gap: 2rem;
  }

  .modern-about__media,
  .modern-about__primary {
    width: 100%;
    height: 360px;
  }

  .modern-about__copy {
    padding: 0;
  }

  .modern-about__summary {
    font-size: 0.93rem;
  }

  .team-proof__header {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .team-proof__heading h2 {
    font-size: 2.1rem;
  }

  .team-proof__media {
    height: clamp(280px, 72vw, 340px);
  }

  .team-proof__benefits {
    grid-template-columns: 1fr;
  }

  .team-proof__benefits li {
    min-height: 104px;
    padding: 1.25rem 1.5rem;
    grid-template-columns: 44px minmax(0, 1fr);
    place-items: center start;
    align-content: center;
    gap: 1.15rem;
    text-align: left;
  }

  .team-proof__benefits li:nth-child(even) {
    border-left: 0;
  }

  .team-proof__benefits li:nth-child(n + 2) {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .modern-process__intro {
    display: block;
    min-height: 0;
    margin-bottom: 2.4rem;
    padding: 0;
  }

  .modern-process__steps {
    grid-template-columns: 1fr;
  }

  .modern-process__steps li {
    min-height: 260px;
    padding: 1.6rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .modern-process__number {
    top: 1rem;
    right: auto;
    left: 4.1rem;
    width: 25px;
    height: 25px;
    font-size: 0.62rem;
  }

  .modern-process__icon {
    width: 52px;
    height: 52px;
  }

  .modern-process__step-copy {
    padding-top: 0;
  }

  .modern-process__steps h3 {
    padding-top: 0;
    font-size: 1.08rem;
  }

  .project-grid {
    grid-auto-rows: 270px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-grid li,
  .project-grid li:first-child,
  .project-grid li:nth-child(2),
  .project-grid li:nth-child(3) {
    grid-column: 1;
    grid-row: span 1;
  }

  .project-grid li:first-child {
    grid-row: span 2;
  }

  /* Bleed the scroller to both screen edges so a clipped chip reads as
     "there is more", not as a broken layout. */
  .gallery-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -14px;
    padding-inline: 14px;
    padding-bottom: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-filters button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-block: 2.25rem;
    text-align: center;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    width: 100%;
    grid-column: 1;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-logo {
    margin-inline: auto;
    justify-items: center;
  }

  .footer-logo img {
    object-position: center;
  }

  .footer-brand__social {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .footer-nav ul,
  .footer-contact ul {
    display: grid;
    justify-items: center;
  }

  .footer-nav--legal {
    grid-column: 1;
  }

  .footer-nav--legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.25rem;
  }

  .footer-contact {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-contact a {
    justify-content: center;
    text-align: center;
  }

  .footer-contact li {
    width: 100%;
  }

  .footer-consent-button {
    text-align: center;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .floating-toggle {
    width: 52px;
    height: 52px;
  }
}

/*
 * On short viewports the hero is capped by the visible height, so the copy and
 * the building's sign compete for the same ~640px. Tightening the copy's
 * rhythm buys back the space the sign needs instead of shrinking the type.
 */
@media (max-height: 900px) and (min-width: 901px) {
  .hero-modern__grid {
    padding-bottom: calc(clamp(5rem, 13.4vh, 8rem) + var(--hero-grid-lift));
  }

  .google-proof {
    margin-bottom: 1rem;
  }

  .hero-modern h1 {
    margin-bottom: 1rem;
  }

  .hero-modern__intro {
    margin-bottom: 1.4rem;
  }
}

/* Under ~820px tall there is no spare room: keep the copy tight so it still
   clears the building's sign. */
@media (max-height: 819px) and (min-width: 901px) {
  .hero-modern__grid {
    padding-bottom: calc(clamp(4.8rem, 11vh, 6.8rem) + var(--hero-grid-lift));
  }
}

/* Below ~780px the hero is so compressed that the total free space halves;
   a flatter value keeps the copy off the sign. */
@media (max-height: 779px) and (min-width: 901px) {
  .hero-modern__grid {
    padding-bottom: calc(clamp(4.5rem, 10vh, 6.2rem) + var(--hero-grid-lift));
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Homepage hero — left-aligned composition from the approved 2026 concept. */
.home-redesign .hero-modern {
  min-height: clamp(680px, calc(100svh - var(--header-offset)), 800px);
  align-items: center;
}

.home-redesign .hero-modern__image {
  object-position: center center;
}

.home-redesign .hero-modern__overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 29, 0.94) 0%, rgba(5, 20, 29, 0.86) 27%, rgba(5, 20, 29, 0.48) 49%, rgba(5, 20, 29, 0.08) 73%, rgba(5, 20, 29, 0.02) 100%),
    linear-gradient(0deg, rgba(5, 20, 29, 0.42) 0%, rgba(5, 20, 29, 0.08) 35%, transparent 64%);
}

:root[data-theme="light"] .home-redesign .hero-modern__image {
  filter: saturate(1.03) contrast(1.01) brightness(1.06);
}

:root[data-theme="light"] .home-redesign .hero-modern__overlay {
  background: linear-gradient(90deg, rgba(5, 20, 29, 0.9) 0%, rgba(5, 20, 29, 0.76) 25%, rgba(5, 20, 29, 0.4) 42%, rgba(5, 20, 29, 0.12) 56%, rgba(5, 20, 29, 0.025) 69%, transparent 80%);
}

.home-redesign .hero-modern__grid {
  justify-items: start;
  padding-block: clamp(4.5rem, 8vh, 6.5rem) clamp(7rem, 14vh, 9rem);
  text-align: left;
}

.home-redesign .hero-modern__copy {
  width: min(100%, 700px);
  max-width: none;
  align-items: flex-start;
}

.home-redesign .hero-modern__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  color: #f04a50;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
}

.home-redesign .hero-modern__eyebrow::before {
  width: 28px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.home-redesign .hero-modern h1 {
  max-width: 720px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.15rem, 4.2vw, 4.25rem);
  line-height: 1.01;
  text-wrap: balance;
}

/* The hero accent sits on the photo, so it keeps its lighter red and its own
   line; the colour of every other accent comes from the shared rule below. */
.hero-modern h1 .wer-accent {
  display: block;
  color: #ef4048;
}

.home-redesign .hero-modern__intro {
  max-width: 55ch;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 450;
  line-height: 1.58;
}

.home-redesign .hero-modern__actions {
  justify-content: flex-start;
  gap: 0.85rem;
}

.home-redesign .hero-modern__actions .button {
  min-height: 58px;
  padding-inline: 1.55rem;
}

.hero-modern__facts {
  display: flex;
  align-items: stretch;
  margin-top: 2.5rem;
  animation: hero-copy-in 700ms 460ms ease both;
}

.hero-fact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  padding-inline: 1.35rem;
  color: #fff;
}

.hero-fact:first-child {
  padding-left: 0;
}

.hero-fact + .hero-fact {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-fact--google {
  text-decoration: none;
  transition: opacity var(--ease), transform var(--ease);
}

.hero-fact--google:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero-fact .google-proof__brand {
  font-size: 1.05rem;
}

.hero-fact__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
}

.hero-fact__icon svg {
  width: 29px;
  height: 29px;
}

.hero-fact__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-fact__copy strong {
  color: #fff;
  font-size: 0.82rem;
}

.hero-fact .google-proof__stars {
  font-size: 0.7rem;
  line-height: 1;
}

.home-redesign .strength-row {
  --rail-overlap: 56px;
}

.home-redesign .strength-row__inner {
  --shell: 1500px;
  gap: 18px;
}

.home-redesign .strength-card {
  display: grid;
  height: 94px;
  padding: 0 1rem 0 0;
  overflow: hidden;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(12, 34, 46, 0.08);
  border-radius: 12px;
  background: var(--surface-raised);
  box-shadow: 0 14px 34px rgba(8, 24, 33, 0.1);
}

.home-redesign .strength-card__media {
  display: block;
  width: 94px;
  height: 100%;
  overflow: hidden;
  border-radius: 11px 0 0 11px;
  background: var(--brand-soft);
}

.home-redesign .strength-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-redesign .strength-card:hover .strength-card__media img {
  transform: scale(1.07);
}

.home-redesign .strength-card__title {
  position: static;
  color: var(--ink);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  line-height: 1.25;
  text-shadow: none;
}

.home-redesign .strength-card__index {
  position: static;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 0;
}

@media (max-width: 1180px) {
  .home-redesign .hero-modern {
    min-height: 720px;
  }

  .home-redesign .hero-modern__grid {
    padding-block: 4.5rem 7rem;
  }

  .hero-modern__facts {
    margin-top: 2rem;
  }
}

@media (max-width: 900px) {
  .home-redesign .hero-modern {
    min-height: 760px;
  }

  .home-redesign .hero-modern__image {
    object-position: 61% center;
  }

  .home-redesign .hero-modern__overlay {
    background: linear-gradient(90deg, rgba(5, 20, 29, 0.94) 0%, rgba(5, 20, 29, 0.83) 52%, rgba(5, 20, 29, 0.4) 100%);
  }

  :root[data-theme="light"] .home-redesign .hero-modern__overlay {
    background: linear-gradient(90deg, rgba(5, 20, 29, 0.9) 0%, rgba(5, 20, 29, 0.73) 52%, rgba(5, 20, 29, 0.18) 100%);
  }

  .home-redesign .hero-modern__copy {
    max-width: 650px;
  }

  .home-redesign .strength-row__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-redesign .hero-modern {
    min-height: 800px;
  }

  .home-redesign .hero-modern__image {
    object-position: 64% center;
  }

  .home-redesign .hero-modern__overlay {
    background: linear-gradient(90deg, rgba(5, 20, 29, 0.94), rgba(5, 20, 29, 0.72));
  }

  :root[data-theme="light"] .home-redesign .hero-modern__overlay {
    background: linear-gradient(90deg, rgba(5, 20, 29, 0.92), rgba(5, 20, 29, 0.64));
  }

  .home-redesign .hero-modern__grid {
    padding-block: 3.5rem 6rem;
  }

  .home-redesign .hero-modern__eyebrow {
    margin-bottom: 1rem;
    font-size: 0.68rem;
  }

  .home-redesign .hero-modern h1 {
    max-width: 12ch;
    margin-bottom: 1.15rem;
    font-size: clamp(2.55rem, 13vw, 3.45rem);
    overflow-wrap: normal;
  }

  .home-redesign .hero-modern__intro {
    margin-bottom: 1.4rem;
    font-size: 0.92rem;
  }

  .home-redesign .hero-modern__actions {
    width: 100%;
  }

  .hero-modern__facts {
    display: grid;
    width: 100%;
    margin-top: 1.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0;
  }

  .hero-fact {
    padding-inline: 0.75rem;
    gap: 0.55rem;
  }

  .hero-fact--google {
    padding: 0 0 0.85rem;
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .hero-fact--google + .hero-fact {
    padding-left: 0;
    border-left: 0;
  }

  .hero-fact__copy {
    font-size: 0.66rem;
  }

  .hero-fact__copy strong {
    font-size: 0.73rem;
  }

  .home-redesign .strength-row {
    --rail-overlap: 40px;
  }

  .home-redesign .strength-row__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .home-redesign .strength-card {
    height: 84px;
    padding: 0 1rem 0 0;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .home-redesign .strength-card__media {
    width: 84px;
    height: 100%;
    border-radius: 10px 0 0 10px;
  }

  .home-redesign .strength-card__title {
    font-size: 0.9rem;
    white-space: normal;
  }

  .home-redesign .strength-card__index {
    display: none;
  }
}

/* Leistungen — image-led cards and red promise panel from the 2026 concept. */
.home-redesign .modern-services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface) 62%, var(--surface-soft) 100%);
}

.home-redesign .modern-services::before {
  position: absolute;
  z-index: 0;
  top: -3rem;
  right: -2rem;
  color: color-mix(in srgb, var(--ink) 3%, transparent);
  font-family: var(--font-heading);
  font-size: clamp(10rem, 22vw, 25rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.14em;
  content: "W";
  pointer-events: none;
}

.home-redesign .modern-services > .site-shell {
  position: relative;
  z-index: 1;
}

.services-heading {
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
  padding-bottom: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  border-bottom: 0;
}

.services-heading h2 {
  max-width: none;
  font-size: clamp(2.8rem, 4.2vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.services-heading .split-heading__text {
  padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
  border-left: 2px solid var(--line-strong);
  font-size: 1rem;
  line-height: 1.55;
}

.home-redesign .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 1.8vw, 1.75rem);
}

.home-redesign .service-card {
  --card-pad: 0;
  overflow: hidden;
  padding: 0;
  border-color: color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: 0 12px 30px rgba(8, 24, 33, 0.07);
}

.home-redesign .service-card:hover,
.home-redesign .service-card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  background: var(--surface-raised);
  box-shadow: 0 20px 42px rgba(8, 24, 33, 0.12);
}

.home-redesign .service-card__media {
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-redesign .service-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.18 / 1;
  object-fit: cover;
}

.home-redesign .service-card__body {
  display: grid;
  min-height: 158px;
  padding: 1.25rem 1.45rem 1.3rem;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.home-redesign .service-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--brand);
}

.home-redesign .service-card__icon svg {
  width: 43px;
  height: 43px;
  stroke-width: 1.7;
}

.home-redesign .service-card__content {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.home-redesign .service-card__title {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  line-height: 1.25;
}

.home-redesign .service-card__text {
  display: -webkit-box;
  margin-bottom: 0.75rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.48;
}

.home-redesign .service-card__link {
  gap: 0.65rem;
  margin-top: auto;
  color: var(--brand);
  font-size: 0.86rem;
  text-decoration: none;
}

.home-redesign .service-card:hover .service-card__title,
.home-redesign .service-card:hover .service-card__link,
.home-redesign .service-card:focus-within .service-card__title,
.home-redesign .service-card:focus-within .service-card__link {
  color: var(--ink);
}

.home-redesign .service-card:hover .service-card__link,
.home-redesign .service-card:focus-within .service-card__link {
  color: var(--brand);
}

.home-redesign .service-card:hover .service-card__text,
.home-redesign .service-card:focus-within .service-card__text {
  color: var(--ink-soft);
}

.home-redesign .service-promise {
  position: relative;
  min-height: 0;
  padding: clamp(1.6rem, 2.4vw, 2.25rem);
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #e21d2a 0%, #c61521 68%, #ad1019 100%);
  box-shadow: 0 16px 36px rgba(153, 12, 20, 0.2);
}

.home-redesign .service-promise::before {
  position: absolute;
  right: -2.5rem;
  bottom: -4rem;
  color: rgba(122, 0, 8, 0.2);
  font-family: var(--font-heading);
  font-size: 15rem;
  font-weight: 800;
  line-height: 1;
  content: "W";
  pointer-events: none;
}

.service-promise__eyebrow,
.home-redesign .service-promise h3,
.home-redesign .service-promise__lead,
.home-redesign .service-promise ul {
  position: relative;
  z-index: 1;
}

.service-promise__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-promise__eyebrow::before {
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.home-redesign .service-promise h3 {
  max-width: 11ch;
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: clamp(1.85rem, 2.6vw, 2.65rem);
  line-height: 1.03;
}

.home-redesign .service-promise__lead {
  max-width: 34ch;
  margin-bottom: 1.15rem;
  padding-bottom: 0;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.45;
}

.home-redesign .service-promise ul {
  gap: 0.7rem;
}

.home-redesign .service-promise li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0;
}

.home-redesign .service-promise li::before {
  display: none;
}

.home-redesign .service-promise li svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  stroke-width: 2.5;
}

.home-redesign .service-promise li strong {
  margin-bottom: 0;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .services-heading {
    gap: 3rem;
  }

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

@media (max-width: 900px) {
  .services-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-heading .split-heading__text {
    max-width: 64ch;
  }
}

@media (max-width: 700px) {
  .services-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .services-heading .split-heading__text {
    padding-left: 1rem;
  }

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

  .home-redesign .service-card__body {
    min-height: 150px;
    padding: 1.15rem;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .home-redesign .service-card__icon {
    width: 44px;
    height: 44px;
  }

  .home-redesign .service-card__icon svg {
    width: 38px;
    height: 38px;
  }

  .home-redesign .service-promise {
    min-height: 330px;
  }
}

/* Team — wide restored photo, left overlay and supporting benefit cards. */
.home-redesign .team-proof {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.home-redesign .team-proof::before {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -5rem;
  left: -3rem;
  transform: rotate(-5deg);
  color: color-mix(in srgb, var(--ink) 3%, transparent);
  font-family: var(--font-heading);
  font-size: clamp(10rem, 22vw, 25rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.14em;
  content: "W";
  pointer-events: none;
}

.home-redesign .team-proof__content {
  position: relative;
  overflow: visible;
}

.home-redesign .team-proof__content.section-space {
  padding-block: clamp(5rem, 7vw, 7.25rem);
}

.home-redesign .team-proof__header {
  display: grid;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.home-redesign .team-proof__heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 4.2vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-redesign .team-proof__intro {
  max-width: 58ch;
  margin: 0;
  padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
  border-left: 2px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.team-proof__stage {
  position: relative;
}

.home-redesign .team-proof__media {
  width: 100%;
  height: clamp(490px, 35vw, 590px);
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--line);
  box-shadow: 0 18px 42px rgba(8, 24, 33, 0.1);
}

.home-redesign .team-proof__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.team-proof__spotlight {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(1.25rem, 2.5vw, 2.5rem);
  width: min(390px, calc(100% - 3rem));
  padding: clamp(1.5rem, 2.2vw, 2rem);
  transform: translateY(-50%);
  border: 1px solid rgba(12, 34, 46, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #10202a;
  box-shadow: 0 22px 48px rgba(8, 24, 33, 0.18);
  backdrop-filter: blur(14px);
}

.team-proof__spotlight-label {
  margin-bottom: 1.25rem;
  color: #d3222a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-proof__spotlight ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.team-proof__spotlight li {
  display: grid;
  min-width: 0;
  padding-block: 0.95rem;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}

.team-proof__spotlight li + li {
  border-top: 1px solid #e5e9ea;
}

.team-proof__spotlight-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #d3222a;
}

.team-proof__spotlight-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.8;
}

.team-proof__spotlight li > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
}

.team-proof__spotlight strong {
  color: #10202a;
  font-size: 0.94rem;
  line-height: 1.3;
}

.team-proof__spotlight small {
  color: #5f6b71;
  font-size: 0.78rem;
  line-height: 1.4;
}

:root[data-theme="dark"] .team-proof__spotlight {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-raised) 96%, transparent);
  color: var(--ink);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .team-proof__spotlight-label,
:root[data-theme="dark"] .team-proof__spotlight-icon {
  color: var(--brand);
}

:root[data-theme="dark"] .team-proof__spotlight li + li {
  border-top-color: var(--line);
}

:root[data-theme="dark"] .team-proof__spotlight strong {
  color: var(--ink);
}

:root[data-theme="dark"] .team-proof__spotlight small {
  color: var(--ink-soft);
}

.home-redesign .team-proof__benefits {
  display: grid;
  margin: 1.5rem 0 0;
  padding: 0;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
  list-style: none;
}

.home-redesign .team-proof__benefits li {
  display: grid;
  min-width: 0;
  min-height: 118px;
  padding: 1.2rem 1.3rem;
  grid-template-columns: 54px minmax(0, 1fr);
  place-items: center start;
  align-content: center;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 12px;
  background: var(--surface-raised);
  text-align: left;
  box-shadow: 0 12px 30px rgba(8, 24, 33, 0.07);
}

.home-redesign .team-proof__benefits li + li,
.home-redesign .team-proof__benefits li:nth-child(even),
.home-redesign .team-proof__benefits li:nth-child(n + 2),
.home-redesign .team-proof__benefits li:nth-child(n + 3) {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.home-redesign .team-proof__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--brand);
}

.home-redesign .team-proof__icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.8;
}

.home-redesign .team-proof__benefits h3 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: clamp(0.88rem, 1vw, 1.02rem);
  line-height: 1.3;
}

.home-redesign .team-proof__benefits p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .home-redesign .team-proof__header {
    gap: 3rem;
  }

  .team-proof__spotlight {
    width: 350px;
  }

  .home-redesign .team-proof__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-redesign .team-proof__header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-redesign .team-proof__intro {
    max-width: 64ch;
  }

  .home-redesign .team-proof__media {
    height: 500px;
  }

  .team-proof__spotlight {
    top: auto;
    bottom: 1.25rem;
    width: 330px;
    transform: none;
  }
}

@media (max-width: 700px) {
  .home-redesign .team-proof__heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .home-redesign .team-proof__intro {
    padding-left: 1rem;
  }

  .team-proof__stage {
    display: flex;
    flex-direction: column;
  }

  .home-redesign .team-proof__media {
    height: clamp(300px, 62vw, 390px);
  }

  .home-redesign .team-proof__image {
    object-position: 62% bottom;
  }

  .team-proof__spotlight {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 0.8rem;
    transform: none;
    backdrop-filter: none;
  }

  .home-redesign .team-proof__benefits {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-redesign .team-proof__benefits li {
    min-height: 104px;
  }
}

/* Technik — image-led trust section with experience and working principles. */
.home-redesign .modern-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
}

.home-redesign .modern-about::before {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: -1.5rem;
  width: 250px;
  height: 190px;
  opacity: 0.35;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 18%, transparent) 1.2px, transparent 1.2px);
  background-size: 13px 13px;
  clip-path: polygon(27% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.home-redesign .modern-about::after {
  position: absolute;
  z-index: -1;
  bottom: -9rem;
  left: -8rem;
  width: min(55vw, 760px);
  height: 330px;
  transform: rotate(-5deg);
  background: color-mix(in srgb, var(--steel-soft) 48%, transparent);
  clip-path: polygon(0 22%, 100% 0, 73% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.home-redesign .modern-about.section-space {
  padding-block: clamp(5rem, 7vw, 7.5rem);
}

.home-redesign .modern-about > .site-shell {
  position: relative;
}

.home-redesign .modern-about__header {
  display: grid;
  margin-bottom: clamp(2.75rem, 4.5vw, 4.25rem);
  padding-bottom: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  border-bottom: 0;
}

.home-redesign .modern-about__title h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.8rem, 4.2vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* Two-tone headings: the editor marks the coloured part with a <span>, and
   wer_accent_heading() attaches this class to it. */
.wer-accent {
  color: var(--brand);
}

.home-redesign .modern-about__lead {
  max-width: 58ch;
  margin: 0;
  padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
  border-left: 2px solid var(--line-strong);
  color: var(--ink-soft) !important;
  font-size: 1rem;
  line-height: 1.55;
}

.home-redesign .modern-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: stretch;
  gap: clamp(2.5rem, 4vw, 4rem);
}

.home-redesign .modern-about__media {
  position: relative;
  height: auto;
  min-height: 610px;
  margin: 0;
  overflow: visible;
  border-radius: 16px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.home-redesign .modern-about__media::before {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: -12px;
  width: 76px;
  height: 76px;
  border-top: 4px solid var(--brand);
  border-left: 4px solid var(--brand);
  content: "";
  pointer-events: none;
}

.home-redesign .modern-about__media::after {
  display: none;
}

.home-redesign .modern-about__primary {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.modern-about__caption {
  position: absolute;
  z-index: 2;
  bottom: clamp(1.25rem, 2.2vw, 2rem);
  left: clamp(1.25rem, 2.2vw, 2rem);
  width: min(390px, calc(100% - 2.5rem));
  padding: 1.4rem 1.5rem 1.4rem 2.5rem;
  border-radius: 10px;
  background: rgba(11, 29, 39, 0.88);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 14px 32px rgba(8, 24, 33, 0.22);
  backdrop-filter: blur(10px);
}

.modern-about__caption::before {
  position: absolute;
  top: 1.55rem;
  bottom: 1.55rem;
  left: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: var(--brand);
  content: "";
}

.home-redesign .modern-about__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-redesign .modern-about__experience {
  display: flex;
  min-height: 122px;
  margin: 0 0 1.55rem;
  padding: 1.3rem clamp(1.5rem, 2.4vw, 2.25rem);
  align-items: center;
  gap: clamp(1.25rem, 2.3vw, 2rem);
  border: 0;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 9%, var(--line));
  background: color-mix(in srgb, var(--brand-soft) 82%, var(--surface-raised));
}

.home-redesign .modern-about__experience strong {
  color: var(--brand);
  font-size: clamp(4.5rem, 5.5vw, 5.65rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
}

.home-redesign .modern-about__experience span {
  max-width: 10ch;
  padding: 0 0 0 clamp(1.25rem, 2vw, 1.8rem);
  border-left: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  color: var(--ink);
  font-size: 0.73rem;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.home-redesign .modern-about__summary {
  margin: 0;
  padding: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.62;
}

.home-redesign .modern-about__values {
  margin: 0;
  padding: 0;
}

.home-redesign .modern-about__values li {
  display: grid;
  padding: 0.95rem 0;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 1.15rem;
  border-top: 1px solid var(--line);
}

.home-redesign .modern-about__values li > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand-soft) 82%, var(--surface-raised));
  color: var(--brand);
}

.home-redesign .modern-about__values svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}

.home-redesign .modern-about__values h3 {
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.home-redesign .modern-about__values p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.45;
}

.home-redesign .modern-about__signature {
  display: flex;
  margin-top: auto;
  padding: 1.15rem 1.25rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--steel) 9%, var(--line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--steel-soft) 82%, var(--surface-raised));
}

.home-redesign .modern-about__signature > span {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-raised) 84%, transparent);
  color: var(--steel);
}

.home-redesign .modern-about__signature svg {
  width: 27px;
  height: 27px;
}

.home-redesign .modern-about__signature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

:root[data-theme="dark"] .home-redesign .modern-about {
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in srgb, var(--surface-soft) 42%, var(--surface)) 100%);
}

:root[data-theme="dark"] .home-redesign .modern-about::before {
  opacity: 0.22;
}

:root[data-theme="dark"] .home-redesign .modern-about::after {
  background: color-mix(in srgb, var(--steel-soft) 62%, transparent);
}

:root[data-theme="dark"] .home-redesign .modern-about__media {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .modern-about__caption {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 17, 24, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

:root[data-theme="dark"] .home-redesign .modern-about__experience,
:root[data-theme="dark"] .home-redesign .modern-about__values li > span {
  background: color-mix(in srgb, var(--brand-soft) 76%, var(--surface-raised));
}

:root[data-theme="dark"] .home-redesign .modern-about__signature {
  background: color-mix(in srgb, var(--steel-soft) 72%, var(--surface-raised));
}

:root[data-theme="dark"] .home-redesign .modern-about__signature > span {
  background: color-mix(in srgb, var(--surface-raised) 82%, var(--steel-soft));
}

@media (max-width: 1100px) {
  .home-redesign .modern-about__header {
    gap: 3rem;
  }

  .home-redesign .modern-about__layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
    gap: 2.25rem;
  }

  .home-redesign .modern-about__media,
  .home-redesign .modern-about__primary {
    min-height: 590px;
  }
}

@media (max-width: 900px) {
  .home-redesign .modern-about__header,
  .home-redesign .modern-about__layout {
    grid-template-columns: 1fr;
  }

  .home-redesign .modern-about__header {
    gap: 1.5rem;
  }

  .home-redesign .modern-about__lead {
    max-width: 64ch;
  }

  .home-redesign .modern-about__media,
  .home-redesign .modern-about__primary {
    min-height: 540px;
  }

  .home-redesign .modern-about__signature {
    margin-top: 0.75rem;
  }
}

@media (max-width: 640px) {
  .home-redesign .modern-about__title h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .home-redesign .modern-about__lead {
    padding-left: 1rem;
  }

  .home-redesign .modern-about__media,
  .home-redesign .modern-about__primary {
    min-height: clamp(390px, 112vw, 500px);
  }

  .home-redesign .modern-about__primary {
    object-position: 58% center;
  }

  .modern-about__caption {
    padding: 1.15rem 1.15rem 1.15rem 2rem;
    font-size: 1rem;
  }

  .modern-about__caption::before {
    top: 1.2rem;
    bottom: 1.2rem;
    left: 1.15rem;
  }

  .home-redesign .modern-about__experience {
    min-height: 104px;
    padding-inline: 1.15rem;
  }

  .home-redesign .modern-about__experience strong {
    font-size: clamp(3.8rem, 19vw, 4.6rem);
  }

  .home-redesign .modern-about__experience span {
    padding-left: 1rem;
  }

  .home-redesign .modern-about__values li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .home-redesign .modern-about__values li > span {
    width: 50px;
    height: 50px;
  }
}

/* Arbeitsprozess — bright showroom, exact site logo and connected steps. */
.home-redesign .modern-process {
  min-height: 0;
}

.home-redesign .modern-process.section-space {
  padding-block: clamp(4.25rem, 5.5vw, 5.5rem);
}

.home-redesign .modern-process__background {
  object-position: center;
  transform: scale(1.008);
}

.home-redesign .modern-process__grid {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.home-redesign .modern-process__intro {
  max-width: 800px;
  margin-bottom: clamp(1.75rem, 2.8vw, 2.5rem);
}

.home-redesign .modern-process__intro h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.15rem);
  letter-spacing: -0.035em;
}

.home-redesign .modern-process__steps {
  --process-gap: clamp(1rem, 1.6vw, 1.6rem);

  position: relative;
  gap: var(--process-gap);
}

.home-redesign .modern-process__steps li {
  min-height: clamp(300px, 21vw, 335px);
  padding: clamp(1.75rem, 2.2vw, 2.2rem);
  overflow: visible;
  border-radius: 16px;
}

.home-redesign .modern-process__steps li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 74px;
  right: calc(-1 * var(--process-gap) - 44px);
  left: 88px;
  height: 1px;
  background: color-mix(in srgb, var(--ink-muted) 34%, transparent);
  content: "";
  pointer-events: none;
}

.home-redesign .modern-process__steps li:not(:last-child)::before {
  position: absolute;
  z-index: 3;
  top: 65px;
  right: -22px;
  width: 20px;
  height: 20px;
  border: 5px solid var(--surface-raised);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink-muted) 18%, transparent), 0 4px 12px rgba(12, 27, 36, 0.12);
  content: "";
  pointer-events: none;
}

.home-redesign .modern-process__number {
  top: 1.4rem;
  left: 5.85rem;
  width: 32px;
  height: 32px;
  font-size: 0.72rem;
}

.home-redesign .modern-process__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 1.65rem;
  border-radius: 11px;
  box-shadow: 0 12px 24px rgba(211, 34, 42, 0.2);
}

.home-redesign .modern-process__icon svg {
  width: 30px;
  height: 30px;
}

.home-redesign .modern-process__steps h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.16rem, 1.45vw, 1.35rem);
}

.home-redesign .modern-process__steps p {
  font-size: 0.91rem;
  line-height: 1.65;
}

:root[data-theme="light"] .home-redesign .modern-process {
  background: var(--deep);
  color: #fff;
}

:root[data-theme="light"] .home-redesign .modern-process__background {
  filter: saturate(0.98) contrast(1.01) brightness(1.02) blur(0.6px);
}

:root[data-theme="light"] .home-redesign .modern-process__overlay {
  background:
    linear-gradient(180deg, rgba(7, 23, 31, 0.38) 0%, rgba(7, 23, 31, 0.25) 40%, rgba(7, 23, 31, 0.38) 100%),
    radial-gradient(70% 46% at 50% 15%, rgba(7, 23, 31, 0.24), transparent 72%);
}

:root[data-theme="light"] .home-redesign .modern-process__intro .eyebrow {
  color: #ff656c !important;
  text-shadow: 0 1px 10px rgba(5, 20, 29, 0.38);
}

:root[data-theme="light"] .home-redesign .modern-process__intro h2 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(5, 20, 29, 0.46);
}

:root[data-theme="light"] .home-redesign .modern-process__intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(5, 20, 29, 0.48);
}

:root[data-theme="light"] .home-redesign .modern-process__steps li {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(20, 43, 53, 0.82), rgba(12, 30, 39, 0.72));
  box-shadow: 0 22px 46px rgba(5, 20, 29, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.1);
}

:root[data-theme="light"] .home-redesign .modern-process__steps li:hover {
  background: linear-gradient(145deg, rgba(24, 49, 60, 0.88), rgba(14, 34, 44, 0.8));
  box-shadow: 0 28px 54px rgba(5, 20, 29, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .home-redesign .modern-process__steps h3 {
  color: #fff;
}

:root[data-theme="light"] .home-redesign .modern-process__steps p {
  color: rgba(255, 255, 255, 0.76);
}

:root[data-theme="light"] .home-redesign .modern-process__steps li:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.32);
}

:root[data-theme="light"] .home-redesign .modern-process__steps li:not(:last-child)::before {
  border-color: #eef2f3;
}

:root[data-theme="dark"] .home-redesign .modern-process__background {
  filter: saturate(0.82) contrast(1.02) brightness(0.55) blur(0.6px);
}

:root[data-theme="dark"] .home-redesign .modern-process__overlay {
  background: linear-gradient(180deg, rgba(7, 20, 28, 0.36), rgba(7, 20, 28, 0.62));
}

:root[data-theme="dark"] .home-redesign .modern-process__steps li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(17, 32, 40, 0.84);
  backdrop-filter: blur(12px);
}

:root[data-theme="dark"] .home-redesign .modern-process__steps li:hover {
  background: rgba(23, 42, 52, 0.92);
}

:root[data-theme="dark"] .home-redesign .modern-process__steps li:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 900px) {
  .home-redesign .modern-process__grid {
    min-height: 0;
  }

  .home-redesign .modern-process__steps li:nth-child(2)::after,
  .home-redesign .modern-process__steps li:nth-child(2)::before {
    display: none;
  }

  .home-redesign .modern-process__steps li {
    min-height: 300px;
  }

}

@media (max-width: 640px) {
  .home-redesign .modern-process.section-space {
    padding-block: 4.5rem 3rem;
  }

  .home-redesign .modern-process__steps li {
    min-height: 0;
    padding: 1.6rem 1.4rem;
  }

  .home-redesign .modern-process__steps li::before,
  .home-redesign .modern-process__steps li::after {
    display: none;
  }

  .home-redesign .modern-process__number {
    top: 1rem;
    left: 4.55rem;
    width: 28px;
    height: 28px;
  }

  .home-redesign .modern-process__icon {
    width: 58px;
    height: 58px;
  }

}

/* Native subpages */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, calc(100svh - var(--header-offset) - 80px), 720px);
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

.page-hero__image,
.page-hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__image {
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 22, 31, 0.9) 0%, rgba(8, 27, 37, 0.75) 49%, rgba(8, 27, 37, 0.22) 100%),
    linear-gradient(0deg, rgba(6, 22, 31, 0.72), transparent 50%);
}

.page-hero__inner {
  position: relative;
  display: grid;
  min-height: inherit;
  align-content: center;
  padding-block: clamp(4rem, 8vw, 7rem) 7.5rem;
}

.breadcrumbs {
  position: absolute;
  top: 2rem;
  display: flex;
  max-width: min(90vw, 800px);
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  white-space: nowrap;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-hero__copy {
  width: min(780px, 72%);
}

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero__eyebrow::before {
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  background: #fff;
  content: "";
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.35rem;
  color: #fff;
  font-size: 4.5rem;
  letter-spacing: 0;
  hyphens: none;
}

.primary-nav__item--cta.current-menu-item > a,
.primary-nav__item--cta.current-menu-ancestor > a {
  color: #fff;
}

.page-hero__lead {
  max-width: 720px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
  line-height: 1.65;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button--ghost-light,
.button--secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(8, 27, 37, 0.4);
  color: #fff;
}

.button--ghost-light:hover {
  border-color: #fff;
  background: rgba(8, 27, 37, 0.64);
}

.button--secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  background: var(--surface-raised);
}

.page-hero__facts {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(720px, 66%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  background: rgba(10, 31, 42, 0.9);
  list-style: none;
  backdrop-filter: blur(12px);
}

.page-hero__facts li {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.page-hero__facts strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.15;
}

.page-hero__facts span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.anchor-nav {
  position: sticky;
  z-index: 40;
  top: var(--header-offset);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(12, 27, 36, 0.04);
}

.anchor-nav__inner {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease);
}

.anchor-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.page-section {
  padding-block: clamp(4.5rem, 7vw, 7.5rem);
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2 {
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.section-heading--split > p {
  color: var(--ink-soft);
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.section-heading--split h2,
.section-heading--split p {
  margin-bottom: 0;
}

.section-heading--centered {
  margin-inline: auto;
}

.section-heading--centered .eyebrow {
  justify-content: center;
}

.service-page section[id] {
  scroll-margin-top: calc(var(--header-offset) + 70px);
}

.service-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.service-intro__media {
  position: relative;
}

.service-intro__media img {
  width: 100%;
  aspect-ratio: 6 / 5;
  border-radius: 8px;
  object-fit: cover;
}

.service-intro__marker {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  display: flex;
  width: 160px;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: var(--brand-cta);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.service-intro__marker strong {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
}

.service-intro__copy h2 {
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}

.service-intro__copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 650;
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--brand);
}

.service-offers {
  position: relative;
  overflow: hidden;
}

.service-offers::before {
  position: absolute;
  top: -170px;
  right: -130px;
  width: 390px;
  height: 390px;
  border: 70px solid color-mix(in srgb, var(--brand) 7%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.service-offers .site-shell {
  position: relative;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.offer-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.offer-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  transform: scaleX(0.22);
  transform-origin: left;
  background: var(--brand);
  content: "";
  transition: transform var(--ease);
}

.offer-item:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  box-shadow: var(--shadow-high);
}

.offer-item:hover::before {
  transform: scaleX(1);
}

.offer-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity 220ms ease;
  margin-bottom: 2.4rem;
  color: var(--ink-muted);
  font-weight: 800;
}

.offer-item__top > span {
  color: color-mix(in srgb, var(--ink) 32%, transparent);
  font-size: 2rem;
  line-height: 1;
}

.offer-item__top svg {
  width: 58px;
  height: 58px;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.offer-item h3 {
  margin-bottom: 0.9rem;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.offer-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.service-proof {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--deep-2) 78%, transparent), transparent 42%),
    var(--deep);
  color: rgba(255, 255, 255, 0.76);
}

.service-proof::before {
  position: absolute;
  bottom: -210px;
  left: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.service-proof__grid {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.service-proof__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 6vw, 6rem) clamp(4rem, 7vw, 7rem) 0;
}

.service-proof__copy h2 {
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: 0;
}

.service-proof__copy > p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 1rem;
}

.service-proof__points {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.service-proof__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
}

.service-proof__points svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.service-proof__copy .button {
  align-self: flex-start;
}

.service-proof__media {
  position: relative;
  width: calc(100% + (100vw - min(100vw - 64px, var(--shell))) / 2);
  overflow: hidden;
}

.service-proof__media img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.service-proof__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 53, 67, 0.38), transparent 45%);
  content: "";
  pointer-events: none;
}

.service-proof__badge {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  max-width: 250px;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(12, 27, 36, 0.84);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.service-proof__badge strong {
  color: #fff;
  font-size: 1.35rem;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-process .section-heading--centered {
  max-width: 900px;
  text-align: center;
}

.service-process .section-heading--centered > p:last-child {
  max-width: 760px;
  margin-inline: auto;
}

.process-line li {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--surface-raised), color-mix(in srgb, var(--surface-soft) 58%, var(--surface-raised)));
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease);
}

.process-line li::after {
  position: absolute;
  right: -35px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border: 24px solid color-mix(in srgb, var(--brand) 6%, transparent);
  border-radius: 50%;
  content: "";
}

.process-line li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-high);
}

.process-line__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.25rem;
}

.process-line__number {
  color: color-mix(in srgb, var(--ink) 34%, transparent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.process-line__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: #fff;
}

.process-line__icon svg {
  width: 25px;
  height: 25px;
}

.process-line h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.process-line p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.area-band {
  padding-block: clamp(3rem, 5vw, 5rem);
  background: var(--brand-cta);
  color: #fff;
}

.area-band__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.area-band .eyebrow,
.area-band h2 {
  color: #fff !important;
}

.area-band .eyebrow::before {
  background: #fff;
}

.area-band h2 {
  margin-bottom: 0;
  font-size: 2.7rem;
  letter-spacing: 0;
}

.area-band ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-band li,
.area-band li a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.area-band li {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.area-band li a {
  color: #fff;
  text-decoration: none;
}

.area-band svg {
  width: 16px;
  height: 16px;
}

.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.faq-section .section-heading {
  position: sticky;
  top: calc(var(--header-offset) + 80px);
  margin-bottom: 0;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.1), transparent 38%),
    var(--deep);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-high);
}

.faq-section .section-heading .eyebrow,
.faq-section .section-heading h2 {
  color: #fff !important;
}

.faq-section .section-heading .eyebrow::before {
  background: #fff;
}

.faq-section .section-heading > p:last-of-type {
  color: rgba(255, 255, 255, 0.74);
}

.faq-section .section-heading .button {
  margin-top: 1.6rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.faq-list details[open] {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: var(--shadow-high);
}

.faq-list summary {
  display: flex;
  min-height: 86px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.35rem;
  color: var(--ink);
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 10px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  transition: transform var(--ease);
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details > div {
  padding: 0 5rem 1.5rem 1.35rem;
}

.faq-list details p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.related-services {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.related-services__inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.related-services__heading .eyebrow {
  margin-bottom: 0.85rem;
}

.related-services__heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.related-services nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.related-services a {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.related-services a:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand-ink);
  box-shadow: var(--shadow-high);
}

.related-services svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  transition: transform var(--ease);
}

.related-services a:hover svg {
  transform: translateX(3px);
}

/* References and gallery */
.references-reviews {
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.references-intro .section-heading {
  margin-bottom: 0;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.reference-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
}

.reference-card__media {
  position: relative;
  overflow: hidden;
}

.reference-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms ease;
}

.reference-card:hover .reference-card__media img {
  transform: scale(1.025);
}

.reference-card__media > span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-cta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.reference-card__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.reference-card__body h3 {
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.reference-card__body > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.portfolio-link-band {
  padding-block: clamp(3rem, 5vw, 5rem);
  background: var(--deep);
}

.portfolio-link-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.portfolio-link-band .eyebrow,
.portfolio-link-band h2 {
  color: #fff !important;
}

.portfolio-link-band h2 {
  margin-bottom: 0;
  letter-spacing: 0;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-toolbar button {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.gallery-toolbar button:hover,
.gallery-toolbar button.is-active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.project-gallery__item {
  margin: 0;
}

.project-gallery__item[hidden] {
  display: none;
}

.project-gallery__item button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--surface-soft);
  color: #fff;
  cursor: zoom-in;
}

.project-gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 220ms ease, transform 450ms ease;
}

.project-gallery__caption {
  transition: opacity 220ms ease;
}

[data-gallery-item].is-loading img,
[data-gallery-category].is-loading img,
[data-gallery-item].is-loading figcaption,
[data-gallery-category].is-loading .project-gallery__caption {
  opacity: 0;
}

.project-gallery__item button:hover img {
  transform: scale(1.035);
}

.project-gallery__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 62px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(7, 20, 28, 0.84));
  font-size: 0.72rem;
  font-weight: 750;
  text-align: left;
}

.project-gallery__caption svg {
  width: 16px;
  height: 16px;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-more[hidden] {
  display: none;
}

.gallery-more .button {
  cursor: pointer;
}

.gallery-dialog {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.gallery-dialog::backdrop {
  background: rgba(4, 13, 18, 0.92);
  backdrop-filter: blur(8px);
}

.gallery-dialog img {
  width: 100%;
  max-height: 88vh;
  border-radius: 6px;
  object-fit: contain;
}

.gallery-dialog__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  width: 48px;
  height: 48px;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 0 6px 0 6px;
  background: var(--brand-cta);
  color: #fff;
}

.gallery-dialog__close svg {
  width: 22px;
  height: 22px;
}

/* Careers */
.career-intro__grid,
.application-section__grid,
.contact-main__grid,
.visit-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.career-intro__copy h2,
.application-section__copy h2,
.contact-main__copy h2,
.visit-section h2 {
  letter-spacing: 0;
}

.career-intro__copy > p:not(.eyebrow),
.application-section__copy > p:not(.eyebrow),
.contact-main__copy > p:not(.eyebrow),
.visit-section p {
  color: var(--ink-soft);
}

.career-intro {
  position: relative;
  overflow: hidden;
}

.career-intro::before {
  position: absolute;
  top: -180px;
  left: -160px;
  width: 420px;
  height: 420px;
  border: 70px solid color-mix(in srgb, var(--brand) 6%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.career-intro__grid {
  position: relative;
}

.career-intro__copy .button {
  margin-top: 1.25rem;
}

.career-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-benefits li {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.career-benefits li::after {
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border: 25px solid color-mix(in srgb, var(--brand) 6%, transparent);
  border-radius: 50%;
  content: "";
}

.career-benefits li:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  box-shadow: var(--shadow-high);
}

.career-benefits li > svg {
  width: 54px;
  height: 54px;
  margin-bottom: 1.4rem;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.career-benefits strong,
.career-benefits span {
  display: block;
}

.career-benefits span {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.jobs-section__grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.jobs-section .section-heading {
  position: sticky;
  top: calc(var(--header-offset) + 2rem);
  margin-bottom: 0;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.1), transparent 40%),
    var(--deep);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-high);
}

.jobs-section .section-heading .eyebrow,
.jobs-section .section-heading h2 {
  color: #fff !important;
}

.jobs-section .section-heading .eyebrow::before {
  background: #fff;
}

.jobs-section .section-heading > p {
  color: rgba(255, 255, 255, 0.74);
}

.jobs-section__count {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.jobs-section__count strong {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
}

.jobs-section__count span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.4;
}

.job-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.job-card:has(details[open]) {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: var(--shadow-high);
}

.job-card summary {
  display: grid;
  min-height: 112px;
  cursor: pointer;
  grid-template-columns: 54px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.35rem;
  list-style: none;
}

.job-card summary::-webkit-details-marker {
  display: none;
}

.job-card__index {
  color: var(--ink-muted);
  font-size: 1.7rem;
  font-weight: 800;
}

.job-card__title strong,
.job-card__title small {
  display: block;
}

.job-card__title strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.35;
}

.job-card__title small {
  margin-top: 0.45rem;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.job-card__toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.job-card__toggle svg {
  width: 17px;
  height: 17px;
  transition: transform var(--ease);
}

.job-card details[open] .job-card__toggle svg {
  transform: rotate(45deg);
}

.job-card__body {
  padding: 0 1.35rem 2rem;
  border-top: 1px solid var(--line);
}

.job-card__lead {
  max-width: 780px;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.job-card__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 2rem;
}

.job-card__columns > div {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.job-card__columns h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.job-card__columns h3 svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--brand-ink);
}

.job-card__columns ul {
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  list-style: none;
}

.job-card__columns li {
  position: relative;
  padding-left: 1rem;
}

.job-card__columns li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.job-card__columns li + li {
  margin-top: 0.55rem;
}

.application-section__copy {
  position: sticky;
  top: calc(var(--header-offset) + 2rem);
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.1), transparent 40%),
    var(--deep);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-high);
}

.application-section__copy .eyebrow,
.application-section__copy h2 {
  color: #fff !important;
}

.application-section__copy .eyebrow::before {
  background: #fff;
}

.application-section__copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.application-promise {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.application-promise li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 650;
}

.application-promise svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.application-contact {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.application-contact > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.application-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.application-contact svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

/* Contact */
.contact-strip {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--surface);
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-strip a {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.contact-strip a:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: var(--shadow-high);
}

.contact-strip a > svg {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.contact-strip small,
.contact-strip strong {
  display: block;
}

.contact-strip small {
  margin-bottom: 0.15rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.contact-strip strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.contact-main {
  position: relative;
  overflow: hidden;
}

.contact-main::before {
  position: absolute;
  top: -170px;
  right: -140px;
  width: 390px;
  height: 390px;
  border: 70px solid color-mix(in srgb, var(--brand) 6%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact-main__grid {
  position: relative;
}

.contact-main__copy {
  position: sticky;
  top: calc(var(--header-offset) + 2rem);
}

.contact-expect {
  margin-top: 2rem;
}

.contact-expect h3 {
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.contact-expect ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-expect li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.contact-expect li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.contact-expect li p,
.contact-expect li strong {
  display: block;
}

.contact-expect li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.contact-expect li strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.form-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-high);
}

.form-panel__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.form-panel__heading > span {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: #fff;
}

.form-panel__heading svg {
  width: 25px;
  height: 25px;
}

.form-panel__heading p,
.form-panel__heading h3 {
  margin-bottom: 0;
}

.form-panel__heading p {
  color: var(--brand-ink);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-panel__heading h3 {
  margin-top: 0.2rem;
  font-size: 1.25rem;
}

.visit-section {
  background:
    radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--deep-2) 78%, transparent), transparent 42%),
    var(--deep) !important;
  color: rgba(255, 255, 255, 0.76);
}

.visit-section__grid {
  align-items: center;
}

.visit-section__copy .eyebrow,
.visit-section__copy h2 {
  color: #fff !important;
}

.visit-section__copy .eyebrow::before {
  background: #fff;
}

.visit-section__copy > p {
  color: rgba(255, 255, 255, 0.74);
}

.visit-address {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.6rem 0;
  padding: 1rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.17);
}

.visit-address > svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.visit-address small,
.visit-address strong {
  display: block;
}

.visit-address small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
}

.visit-address strong {
  color: #fff;
  font-size: 0.88rem;
}

.opening-hours {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-high);
}

.opening-hours h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0;
}

.opening-hours h3 svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.opening-hours dl {
  margin: 0;
}

.opening-hours dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.opening-hours dt {
  color: var(--ink-soft);
}

.opening-hours dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

/* Forminator follows the theme instead of shipping a second visual system. */
.form-panel .forminator-ui.forminator-custom-form {
  margin: 0 !important;
}

.form-panel .forminator-ui .forminator-label {
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
}

.form-panel .forminator-ui input:not([type="checkbox"]):not([type="radio"]),
.form-panel .forminator-ui textarea,
.form-panel .forminator-ui select,
.form-panel .forminator-ui .select2-selection {
  min-height: 54px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  box-shadow: none !important;
}

.form-panel .forminator-ui textarea {
  min-height: 150px !important;
}

.form-panel .forminator-ui .forminator-multi-upload-message a {
  color: var(--brand-ink) !important;
}

.form-panel .forminator-ui input:focus,
.form-panel .forminator-ui textarea:focus,
.form-panel .forminator-ui select:focus {
  border-color: var(--brand) !important;
  outline: 2px solid color-mix(in srgb, var(--brand) 25%, transparent) !important;
}

.form-panel .forminator-ui .forminator-button-submit {
  min-height: 52px !important;
  padding: 0.9rem 1.5rem !important;
  border-radius: var(--radius-sm) !important;
  background: var(--brand-cta) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 750 !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-cta) 24%, transparent) !important;
  transition: transform var(--ease), background-color var(--ease) !important;
}

.form-panel .forminator-ui .forminator-button-submit:hover {
  transform: translateY(-2px) !important;
  background: var(--brand-cta-hover) !important;
}

/* Legal pages */
.legal-page {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 820px);
  align-items: start;
  justify-content: space-between;
  gap: clamp(3rem, 9vw, 8rem);
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-offset) + 2rem);
}

.legal-nav > p {
  margin-bottom: 1rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-nav nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

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

.legal-content h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
  font-size: 1.65rem;
  letter-spacing: 0;
}

.legal-content h2:first-child,
.legal-content .legal-updated + h2 {
  margin-top: 0;
}

.legal-content h3 {
  margin: 2rem 0 0.65rem;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.legal-content h4 {
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.legal-content a {
  color: var(--brand-ink);
}

.legal-updated {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  background: var(--steel-soft);
  color: var(--steel) !important;
  font-size: 0.72rem !important;
  font-weight: 750;
}

@media (max-width: 1000px) {
  .page-hero__copy {
    width: min(820px, 88%);
  }

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

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .project-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .job-card__columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .page-hero {
    min-height: 590px;
  }

  .page-hero__inner {
    padding-bottom: 8rem;
  }

  .page-hero__copy {
    width: 100%;
  }

  .page-hero__facts {
    width: 100%;
  }

  .service-intro__grid,
  .service-proof__grid,
  .section-heading--split,
  .area-band__inner,
  .faq-section__grid,
  .career-intro__grid,
  .jobs-section__grid,
  .application-section__grid,
  .contact-main__grid,
  .visit-section__grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    align-items: start;
    gap: 1rem;
  }

  .service-intro__media {
    max-width: 720px;
  }

  .service-proof__grid {
    width: 100%;
  }

  .service-proof__copy {
    width: min(calc(100% - 64px), var(--shell));
    margin-inline: auto;
    padding-right: 0;
  }

  .service-proof__media {
    width: 100%;
  }

  .service-proof__media img {
    min-height: 430px;
  }

  .service-proof__badge {
    left: clamp(1.25rem, 5vw, 2.5rem);
  }

  .faq-section .section-heading,
  .jobs-section .section-heading,
  .application-section__copy,
  .contact-main__copy,
  .legal-nav {
    position: static;
  }

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

  .portfolio-link-band__inner,
  .related-services__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-services__inner {
    grid-template-columns: 1fr;
  }

  .related-services nav {
    justify-content: flex-start;
  }

  .contact-strip__grid {
    grid-template-columns: 1fr;
  }

  .contact-strip a:not(:last-child) {
    border: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .page-hero {
    min-height: 650px;
  }

  .page-hero__overlay {
    background: linear-gradient(0deg, rgba(5, 20, 29, 0.94) 0%, rgba(7, 25, 35, 0.72) 68%, rgba(7, 25, 35, 0.35) 100%);
  }

  .page-hero__inner {
    align-content: end;
    padding-block: 4.5rem 10rem;
  }

  .breadcrumbs {
    top: 1.25rem;
    max-width: calc(100vw - 36px);
  }

  .page-hero h1 {
    overflow-wrap: normal;
    font-size: 2.25rem;
  }

  .page-hero__lead {
    font-size: 0.96rem;
  }

  .page-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero__actions .button {
    width: 100%;
  }

  .page-hero__facts li {
    min-height: 90px;
    padding: 0.9rem;
  }

  .page-hero__facts strong {
    font-size: 1rem;
  }

  .page-hero__facts span {
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .anchor-nav {
    top: 76px;
  }

  .anchor-nav__inner {
    width: 100%;
    padding-inline: 18px;
  }

  .page-section {
    padding-block: 4rem;
  }

  .service-intro__marker {
    right: 0.75rem;
    bottom: -1rem;
    width: 135px;
    min-height: 92px;
  }

  .service-intro__marker strong {
    font-size: 1.8rem;
  }

  .offer-grid,
  .process-line,
  .career-benefits {
    grid-template-columns: 1fr;
  }

  .offer-item {
    min-height: 0;
  }

  .process-line {
    gap: 1rem;
  }

  .process-line li,
  .process-line li:not(:last-child) {
    min-height: 0;
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--line);
  }

  .process-line__top {
    margin-bottom: 2.25rem;
  }

  .process-line__icon {
    width: 48px;
    height: 48px;
  }

  .service-proof__copy {
    width: min(calc(100% - 36px), var(--shell));
  }

  .service-proof__badge {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
  }

  .faq-section .section-heading {
    padding: 1.75rem;
  }

  .faq-section .section-heading .button {
    width: 100%;
  }

  .faq-list summary {
    min-height: 76px;
    padding: 1rem;
  }

  .faq-list details > div {
    padding: 0 1rem 1.25rem;
  }

  .related-services nav {
    grid-template-columns: 1fr;
  }

  .related-services a {
    min-height: 88px;
  }

  .area-band__inner {
    gap: 1.5rem;
  }

  .area-band li {
    flex: 1 1 calc(50% - 0.65rem);
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .project-gallery__caption {
    min-height: 54px;
    padding-inline: 0.65rem;
    font-size: 0.62rem;
  }

  .portfolio-link-band__inner {
    align-items: stretch;
  }

  .portfolio-link-band .button {
    width: 100%;
  }

  .job-card summary {
    grid-template-columns: 40px minmax(0, 1fr) 38px;
    gap: 0.75rem;
    padding: 1rem;
  }

  .job-card__body {
    padding: 0 1rem 1.25rem;
  }

  .job-card__columns > div {
    padding: 1rem;
  }

  .contact-strip a {
    min-height: 104px;
    padding: 1rem;
  }

  .contact-strip a > svg {
    width: 46px;
    height: 46px;
    padding: 12px;
  }

  .contact-expect li {
    grid-template-columns: 42px 1fr;
    padding: 0.85rem;
  }

  .contact-expect li > span {
    width: 38px;
    height: 38px;
  }

  .opening-hours dl > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }

  .opening-hours dd {
    text-align: left;
  }

  .form-panel {
    padding: 1.25rem;
  }

  .form-panel__heading {
    align-items: flex-start;
  }

  .form-panel__heading > span {
    width: 48px;
    height: 48px;
  }

  .legal-layout {
    gap: 2rem;
  }

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

  .legal-nav a {
    padding-inline: 0.35rem;
    font-size: 0.68rem;
    text-align: center;
  }
}

/* Global footer — structured light layout with a raised contact card. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--line) 62%, transparent);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface) 52%, var(--surface-soft) 100%);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  top: -11rem;
  right: -1.5rem;
  color: color-mix(in srgb, var(--ink) 3.5%, transparent);
  font-family: var(--font-heading);
  font-size: clamp(18rem, 31vw, 35rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.16em;
  content: "W";
  pointer-events: none;
}

.site-footer__grid {
  --shell: 1500px;

  position: relative;
  z-index: 1;
  padding-block: clamp(3.75rem, 5vw, 5rem);
  grid-template-columns: minmax(210px, 1.15fr) minmax(125px, 0.72fr) minmax(170px, 0.95fr) minmax(170px, 0.92fr) minmax(315px, 1.5fr);
  gap: 0;
}

.site-footer__grid > .footer-nav {
  min-height: 330px;
  padding-inline: clamp(1.5rem, 2.6vw, 2.8rem);
  border-left: 1px solid var(--line);
}

.footer-brand {
  min-height: 330px;
  padding-right: clamp(1.5rem, 2.6vw, 2.8rem);
}

.footer-logo {
  width: 220px;
  min-height: 0;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 100%;
  height: auto;
  max-height: 86px;
}

.footer-brand__text {
  max-width: 22ch;
  margin: 0 0 1.55rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-brand__text::before {
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 0.8rem;
  border-radius: 99px;
  background: var(--brand);
  content: "";
}

.footer-heading {
  margin-bottom: 1.45rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.footer-nav .footer-heading::before,
.footer-contact .footer-heading::before {
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: var(--brand);
  content: "";
}

.footer-nav li {
  margin-bottom: 0.95rem;
}

.footer-nav a,
.footer-consent-button {
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-consent-button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 450;
  text-align: left;
  cursor: pointer;
  transition: color var(--ease), transform var(--ease);
}

.footer-consent-button:hover {
  transform: translateX(3px);
  color: var(--brand-ink);
}

.footer-brand__social {
  margin-top: 0;
}

.footer-brand__social .footer-heading {
  margin-bottom: 0.8rem;
  font-size: 0.94rem;
}

.social-links {
  gap: 0.7rem;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  box-shadow: 0 9px 20px rgba(12, 27, 36, 0.14);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-brand__signature {
  position: relative;
  max-width: 260px;
  margin: auto 0 0;
  padding-top: 1.5rem;
  color: color-mix(in srgb, var(--ink-muted) 62%, transparent);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(0.92rem, 1.25vw, 1.18rem);
  font-style: italic;
  line-height: 1.35;
  transform: rotate(-2deg);
}

.footer-brand__signature::after {
  display: block;
  width: 34px;
  height: 2px;
  margin: 0.65rem 0 0 1.75rem;
  transform: rotate(-9deg);
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.footer-contact {
  align-self: start;
  margin: -0.5rem 0 0 clamp(1.25rem, 2.5vw, 2.5rem);
  padding: clamp(1.65rem, 2.3vw, 2.2rem);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  box-shadow: 0 20px 50px rgba(12, 27, 36, 0.1);
  backdrop-filter: blur(14px);
}

.footer-contact .footer-heading {
  margin-bottom: 0.5rem;
}

.footer-contact li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.footer-contact a {
  min-height: 66px;
  gap: 1rem;
  color: var(--ink);
  font-size: 0.83rem;
  line-height: 1.4;
}

.footer-contact__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.footer-contact__icon svg {
  width: 22px;
  height: 22px;
  color: currentColor;
}

.footer-contact__note {
  margin: 1.2rem 0 0;
  color: color-mix(in srgb, var(--ink-muted) 62%, transparent);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.footer-contact__note::after {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.6rem auto 0;
  transform: rotate(-8deg);
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.site-footer__bottom {
  min-height: 48px;
  padding-block: 0.95rem;
  background: linear-gradient(90deg, var(--footer-deep), color-mix(in srgb, var(--footer-deep) 86%, var(--deep-2)));
}

:root[data-theme="dark"] .site-footer {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface) 50%, var(--surface-soft) 100%);
}

:root[data-theme="dark"] .site-footer::before {
  color: color-mix(in srgb, var(--ink) 2.5%, transparent);
}

:root[data-theme="dark"] .footer-logo img {
  filter: brightness(1.12);
}

:root[data-theme="dark"] .footer-contact {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1180px) {
  .site-footer__grid {
    grid-template-columns: minmax(210px, 1.15fr) repeat(3, minmax(150px, 1fr));
    row-gap: 2.5rem;
  }

  .footer-contact {
    display: block;
    grid-column: 1 / -1;
    margin: 0;
  }

  .footer-contact ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .footer-contact li {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 0;
  }

  .footer-brand {
    min-height: 0;
    grid-column: 1 / -1;
  }

  .footer-brand__signature {
    margin-top: 1.5rem;
  }

  .site-footer__grid > .footer-nav {
    min-height: 0;
  }

  .site-footer__grid > .footer-nav:nth-of-type(3) {
    border-right: 1px solid var(--line);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 3rem;
    text-align: center;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    width: 100%;
    grid-column: 1;
  }

  .footer-brand {
    padding: 0 0 2.25rem;
    align-items: center;
  }

  .footer-logo {
    margin-inline: auto;
    justify-items: center;
  }

  .footer-logo img {
    object-position: center;
  }

  .footer-brand__social {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .site-footer__grid > .footer-nav {
    padding: 1.75rem 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-left: 0;
  }

  .footer-nav ul,
  .footer-nav--legal ul,
  .footer-contact ul {
    display: grid;
    justify-items: center;
  }

  .footer-nav--legal ul {
    gap: 0;
  }

  .footer-contact {
    margin-top: 1.5rem;
    padding: 1.4rem;
    border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  }

  .footer-contact ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-contact a {
    justify-content: center;
    text-align: center;
  }

  .footer-brand__text {
    margin-inline: auto;
  }

  .footer-brand__text::before,
  .footer-nav .footer-heading::before,
  .footer-contact .footer-heading::before {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-brand__signature {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-brand__signature::after {
    margin-right: auto;
    margin-left: auto;
  }

  .site-footer::before {
    top: -4rem;
    right: -5rem;
    font-size: 20rem;
  }
}

@media (max-width: 640px) {
  .region-cta__content h2 {
    max-width: 16ch;
    margin-inline: auto;
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.08;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Theme control — an explicit two-state switch instead of a lone icon. */
.theme-toggle {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 72px;
  height: 38px;
  padding: 3px;
  grid-template-columns: repeat(2, 30px);
  place-items: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-muted);
  box-shadow: inset 0 1px 2px rgba(12, 27, 36, 0.05);
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.theme-toggle::before {
  position: absolute;
  z-index: 0;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  transform: translateX(0);
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow: 0 3px 10px rgba(12, 27, 36, 0.16);
  content: "";
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), background-color var(--ease);
}

.theme-toggle > span,
:root[data-theme="dark"] .theme-toggle__sun,
:root[data-theme="dark"] .theme-toggle__moon {
  z-index: 1;
  display: grid;
  grid-area: auto;
  place-items: center;
  transition: color var(--ease), transform var(--ease);
}

.theme-toggle__sun {
  color: var(--brand);
}

.theme-toggle__moon {
  color: var(--ink-muted);
}

:root[data-theme="dark"] .theme-toggle::before {
  transform: translateX(34px);
}

:root[data-theme="dark"] .theme-toggle__sun {
  color: var(--ink-muted);
}

:root[data-theme="dark"] .theme-toggle__moon {
  color: var(--brand);
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line-strong));
  background: var(--surface-soft);
  color: inherit;
  box-shadow: 0 5px 16px rgba(12, 27, 36, 0.1);
}

.theme-toggle:hover > span {
  transform: scale(1.08);
}

.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 32%, transparent);
  outline-offset: 3px;
}

/* Homepage typography — denser section titles and a clearer upper label. */
.home-redesign .eyebrow {
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.home-redesign .eyebrow::before {
  width: 27px;
  height: 2px;
}

.home-redesign .services-heading h2,
.home-redesign .team-proof__heading h2,
.home-redesign .modern-about__title h2,
.home-redesign .modern-process__intro h2 {
  font-size: clamp(2.5rem, 3.5vw, 3.55rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.home-redesign .split-heading--gallery h2,
.home-redesign .region-cta__content h2 {
  font-size: clamp(2.35rem, 3.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

@media (max-width: 700px) {
  .home-redesign .services-heading h2,
  .home-redesign .team-proof__heading h2,
  .home-redesign .modern-about__title h2,
  .home-redesign .modern-process__intro h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    line-height: 1.07;
    letter-spacing: -0.035em;
  }

  .home-redesign .split-heading--gallery h2,
  .home-redesign .region-cta__content h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .home-redesign .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.02em;
  }
}

/* --------------------------------------------------------------------------
 * Subpages 2026 — bring the service, portfolio, career, contact and legal
 * pages into the visual system established by the redesigned homepage.
 * -------------------------------------------------------------------------- */

body:not(.home) .page-hero {
  min-height: clamp(540px, calc(82svh - var(--header-offset)), 680px);
  background: #122b38;
}

body:not(.home) .page-hero__image {
  transform: scale(1.005);
  filter: saturate(1.01) contrast(1.01);
}

body:not(.home) .page-hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 29, 0.92) 0%, rgba(5, 20, 29, 0.78) 28%, rgba(5, 20, 29, 0.42) 48%, rgba(5, 20, 29, 0.08) 70%, transparent 86%),
    linear-gradient(0deg, rgba(5, 20, 29, 0.34), transparent 42%);
}

:root[data-theme="light"] body:not(.home) .page-hero__image {
  filter: saturate(1.05) contrast(1.01) brightness(1.07);
}

/* In light mode the photograph stays visible; contrast is concentrated only
   behind the copy instead of washing the complete image in a dark veil. */
:root[data-theme="light"] body:not(.home) .page-hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 29, 0.82) 0%, rgba(5, 20, 29, 0.63) 24%, rgba(5, 20, 29, 0.27) 43%, rgba(5, 20, 29, 0.035) 62%, transparent 76%),
    linear-gradient(0deg, rgba(5, 20, 29, 0.18), transparent 36%);
}

body:not(.home) .page-hero__inner {
  padding-block: clamp(4rem, 7vw, 6rem) clamp(7.5rem, 13vw, 9.5rem);
}

body:not(.home) .breadcrumbs {
  top: 1.5rem;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 650;
}

body:not(.home) .breadcrumbs a {
  transition: opacity var(--ease);
}

body:not(.home) .breadcrumbs a:hover {
  opacity: 0.72;
}

body:not(.home) .page-hero__copy {
  width: min(760px, 60%);
}

body:not(.home) .page-hero__eyebrow {
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  color: #f04a50;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

body:not(.home) .page-hero__eyebrow::before {
  width: 29px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

body:not(.home) .page-hero h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 4vw, 4.05rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

body:not(.home) .page-hero h1 .wer-accent {
  color: #ef4048;
}

body:not(.home) .page-hero__lead {
  max-width: 59ch;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  font-weight: 450;
  line-height: 1.58;
}

body:not(.home) .page-hero__actions .button {
  min-height: 56px;
}

body:not(.home) .page-hero__facts {
  right: 0;
  bottom: 1.35rem;
  width: min(660px, 61%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(9, 29, 39, 0.82);
  box-shadow: 0 20px 48px rgba(4, 15, 21, 0.2);
}

body:not(.home) .page-hero__facts li {
  min-height: 90px;
  padding: 1rem clamp(1rem, 2vw, 1.45rem);
}

body:not(.home) .page-hero__facts strong {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

body:not(.home) .page-hero__facts span {
  font-size: 0.68rem;
  line-height: 1.35;
}

:root[data-theme="light"] body:not(.home) .page-hero__facts {
  border-color: rgba(12, 34, 46, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 46px rgba(8, 24, 33, 0.16);
  backdrop-filter: blur(16px);
}

:root[data-theme="light"] body:not(.home) .page-hero__facts li {
  border-color: var(--line);
}

:root[data-theme="light"] body:not(.home) .page-hero__facts strong {
  color: var(--ink);
}

:root[data-theme="light"] body:not(.home) .page-hero__facts span {
  color: var(--ink-muted);
}

body:not(.home) .anchor-nav {
  border-color: color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: 0 12px 30px rgba(12, 27, 36, 0.06);
}

body:not(.home) .anchor-nav__inner {
  min-height: 66px;
  gap: 0.55rem;
}

body:not(.home) .anchor-nav a {
  padding: 0.58rem 0.95rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 750;
}

body:not(.home) .anchor-nav a:hover {
  border-color: color-mix(in srgb, var(--brand) 15%, var(--line));
}

/* Shared inner-page rhythm and typography. */
:is(.service-page, .portfolio-page, .career-page, .contact-page, .page-main) .page-section {
  padding-block: clamp(5rem, 7vw, 7.25rem);
}

:is(.service-page, .portfolio-page, .career-page, .contact-page, .page-main) .page-section--soft {
  background: linear-gradient(145deg, var(--surface-soft), color-mix(in srgb, var(--surface) 78%, var(--surface-soft)));
}

body:not(.home) :is(.section-heading, .service-intro__copy, .career-intro__copy, .application-section__copy, .contact-main__copy, .visit-section__copy) h2 {
  font-size: clamp(2.45rem, 3.45vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.043em;
}

body:not(.home) .section-heading {
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

body:not(.home) .section-heading--split {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-bottom: 0;
  border-bottom: 0;
}

body:not(.home) .section-heading--split > p {
  padding-left: clamp(1.4rem, 2.4vw, 2.4rem);
  border-left: 2px solid var(--line-strong);
  font-size: 0.98rem;
  line-height: 1.58;
}

body:not(.home) .eyebrow {
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

body:not(.home) .eyebrow::before {
  width: 27px;
  border-radius: 999px;
}

/* Service introductions: generous image geometry with a precise red detail. */
.service-page .service-intro__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.service-page .service-intro__media::before {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 34%;
  height: 42%;
  border-top: 3px solid var(--brand);
  border-left: 3px solid var(--brand);
  border-radius: 18px 0 0;
  content: "";
  pointer-events: none;
}

.service-page .service-intro__media img {
  aspect-ratio: 1.16 / 1;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(8, 24, 33, 0.12);
}

.service-page .service-intro__marker {
  right: -1.25rem;
  bottom: -1.25rem;
  width: 168px;
  min-height: 116px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e21d2a, #bd131d);
  box-shadow: 0 16px 32px rgba(153, 12, 20, 0.24);
}

.service-page .service-intro__copy > p:not(.eyebrow) {
  max-width: 57ch;
  font-size: 1rem;
  line-height: 1.65;
}

.service-page .check-list {
  gap: 0.72rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
}

.service-page .check-list li {
  font-size: 0.9rem;
}

.service-page .check-list svg {
  width: 25px;
  height: 25px;
  padding: 5px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

/* Service cards reuse the homepage's softer surfaces and tighter typography. */
.service-page .service-offers::before,
.career-page .career-intro::before,
.contact-page .contact-main::before {
  border-width: 0;
  border-radius: 0;
  color: color-mix(in srgb, var(--ink) 3%, transparent);
  background: transparent;
  font-family: var(--font-heading);
  font-size: clamp(11rem, 23vw, 25rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.15em;
  content: "W";
}

.service-page .offer-grid {
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.service-page .offer-item {
  min-height: 288px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-color: color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(8, 24, 33, 0.07);
}

.service-page .offer-item::before {
  height: 3px;
  transform: scaleX(0.18);
}

.service-page .offer-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(8, 24, 33, 0.12);
}

.service-page .offer-item__top {
  margin-bottom: 2rem;
}

.service-page .offer-item__top > span {
  color: color-mix(in srgb, var(--ink) 23%, transparent);
  font-size: 1.55rem;
}

.service-page .offer-item__top svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 50%;
}

.service-page .offer-item h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.25;
}

.service-page .offer-item p {
  font-size: 0.88rem;
  line-height: 1.58;
}

/* The proof photo is deliberately clear in light mode. The textual half becomes
   a calm editorial surface; dark mode retains the original deep treatment. */
:root[data-theme="light"] .service-page .service-proof {
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  color: var(--ink-soft);
}

:root[data-theme="light"] .service-page .service-proof::before {
  border-color: color-mix(in srgb, var(--brand) 8%, transparent);
}

:root[data-theme="light"] .service-page .service-proof__copy h2 {
  color: var(--ink);
}

:root[data-theme="light"] .service-page .service-proof__copy .eyebrow {
  color: var(--brand-ink) !important;
}

:root[data-theme="light"] .service-page .service-proof__copy .eyebrow::before {
  background: var(--brand);
}

:root[data-theme="light"] .service-page .service-proof__copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

:root[data-theme="light"] .service-page .service-proof__points {
  border-color: var(--line);
}

:root[data-theme="light"] .service-page .service-proof__points li {
  color: var(--ink);
}

:root[data-theme="light"] .service-page .service-proof__points svg {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.service-page .service-proof__grid {
  min-height: 620px;
}

.service-page .service-proof__media {
  margin-block: clamp(2.25rem, 4vw, 3.5rem);
  border-radius: 16px 0 0 16px;
  box-shadow: 0 18px 44px rgba(8, 24, 33, 0.12);
}

.service-page .service-proof__media img {
  min-height: 520px;
  filter: saturate(1.03) contrast(1.01);
}

:root[data-theme="light"] .service-page .service-proof__media::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 32%);
}

.service-page .process-line {
  gap: clamp(1rem, 1.6vw, 1.4rem);
}

.service-page .process-line li {
  min-height: 300px;
  padding: clamp(1.5rem, 2.2vw, 1.9rem);
  border-color: color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 12px 30px rgba(8, 24, 33, 0.07);
}

.service-page .process-line__top {
  margin-bottom: 2.5rem;
}

.service-page .process-line__icon {
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.service-page .process-line h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-page .process-line p {
  font-size: 0.87rem;
  line-height: 1.58;
}

.service-page .faq-list details,
.career-page .job-card {
  border-color: color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(8, 24, 33, 0.065);
}

.service-page .related-services a {
  min-height: 112px;
  border-color: color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(8, 24, 33, 0.065);
}

/* Portfolio imagery gets the same confident radius and quiet depth as the new
   homepage image cards. */
.portfolio-page .reference-card {
  border-color: color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(8, 24, 33, 0.08);
}

.portfolio-page .reference-card__media img {
  aspect-ratio: 1.72 / 1;
}

.portfolio-page .reference-card__media > span {
  top: 1.25rem;
  left: 1.25rem;
  width: 42px;
  height: 42px;
  box-shadow: 0 8px 18px rgba(153, 12, 20, 0.24);
}

.portfolio-page .reference-card__body h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.portfolio-page .project-gallery {
  gap: clamp(0.7rem, 1.2vw, 1rem);
}

.portfolio-page .project-gallery__item button {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(8, 24, 33, 0.08);
}

.portfolio-page .project-gallery__item img {
  aspect-ratio: 1.08 / 1;
}

.portfolio-page .project-gallery__caption {
  min-height: 70px;
  padding: 1.75rem 1rem 0.85rem;
}

.portfolio-page .gallery-toolbar {
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.portfolio-page .gallery-toolbar button {
  min-height: 44px;
  padding-inline: 1rem;
  border-radius: 999px;
}

.portfolio-page .portfolio-link-band {
  background: linear-gradient(120deg, #d91f29, #b5121b);
}

/* Career and contact cards now share one surface language. */
.career-page .career-benefits li,
.contact-page .contact-strip a,
.contact-page .contact-expect li,
.contact-page .form-panel,
.contact-page .opening-hours,
.career-page .form-panel {
  border-color: color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 12px 30px rgba(8, 24, 33, 0.07);
}

.career-page .career-benefits li {
  min-height: 205px;
}

.career-page .career-benefits li > svg,
.contact-page .contact-strip a > svg,
.contact-page .opening-hours h3 svg {
  border-radius: 50%;
}

.career-page .jobs-section .section-heading,
.career-page .application-section__copy,
.service-page .faq-section .section-heading {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(145deg, #1d4353, #102a36);
  box-shadow: 0 20px 48px rgba(8, 24, 33, 0.16);
}

.career-page .job-card summary {
  min-height: 106px;
}

.career-page .job-card__index {
  color: color-mix(in srgb, var(--brand) 72%, var(--ink-muted));
  font-size: 1.45rem;
}

.contact-page .contact-strip {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}

.contact-page .contact-strip a {
  min-height: 116px;
}

.contact-page .contact-strip a:hover,
.career-page .career-benefits li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(8, 24, 33, 0.12);
}

.contact-page .contact-expect li {
  box-shadow: none;
}

.contact-page .contact-expect li > span {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.contact-page .form-panel,
.career-page .form-panel {
  box-shadow: 0 20px 48px rgba(8, 24, 33, 0.1);
}

.contact-page .form-panel__heading > span,
.career-page .form-panel__heading > span {
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.contact-page .visit-section {
  background: linear-gradient(135deg, #1d4353, #102a36) !important;
}

/* Long-form pages read as an intentional editorial layout instead of a bare
   document dropped onto the page. */
.legal-page {
  position: relative;
  padding-block: 0;
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}

.legal-page::before {
  display: none;
}

.legal-page .legal-layout::before {
  position: absolute;
  z-index: -1;
  top: -7rem;
  right: -5rem;
  color: color-mix(in srgb, var(--ink) 3%, transparent);
  font-family: var(--font-heading);
  font-size: clamp(14rem, 28vw, 30rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.15em;
  content: "W";
  pointer-events: none;
}

.legal-page .legal-layout {
  position: relative;
  isolation: isolate;
  margin-block: clamp(5rem, 7vw, 7.25rem);
  grid-template-columns: 230px minmax(0, 900px);
}

.legal-page .legal-nav {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: 0 12px 30px rgba(8, 24, 33, 0.07);
}

.legal-page .legal-nav nav {
  border-top: 0;
  gap: 0.35rem;
}

.legal-page .legal-nav a {
  padding: 0.7rem 0.8rem;
  border: 0;
  border-radius: 8px;
}

.legal-page .legal-nav a:hover,
.legal-page .legal-nav a[aria-current="page"] {
  background: var(--brand-soft);
}

.legal-page .legal-content {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 16px 38px rgba(8, 24, 33, 0.075);
}

.legal-page .legal-content h2 {
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.page-main .content-entry {
  max-width: 940px;
  margin-block: clamp(4.5rem, 7vw, 7rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 16px 38px rgba(8, 24, 33, 0.075);
}

@media (max-width: 1000px) {
  body:not(.home) .page-hero__copy {
    width: min(720px, 78%);
  }

  body:not(.home) .section-heading--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  body:not(.home) .page-hero {
    min-height: 610px;
  }

  body:not(.home) .page-hero__overlay,
  :root[data-theme="light"] body:not(.home) .page-hero__overlay {
    background:
      linear-gradient(90deg, rgba(5, 20, 29, 0.86), rgba(5, 20, 29, 0.47) 70%, rgba(5, 20, 29, 0.12)),
      linear-gradient(0deg, rgba(5, 20, 29, 0.26), transparent 44%);
  }

  body:not(.home) .page-hero__copy {
    width: min(680px, 88%);
  }

  body:not(.home) .page-hero__facts {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 1rem;
  }

  body:not(.home) .section-heading--split {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  body:not(.home) .section-heading--split > p {
    max-width: 64ch;
    padding-left: 1.15rem;
  }

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

  .service-page .service-proof__media {
    width: calc(100% - 64px);
    margin: 0 auto clamp(2.5rem, 6vw, 4rem);
    border-radius: 16px;
  }

  .service-page .service-proof__media img {
    min-height: 420px;
  }

  .legal-page .legal-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 640px) {
  body:not(.home) .page-hero {
    min-height: 660px;
  }

  body:not(.home) .page-hero__image {
    object-position: 60% center;
  }

  body:not(.home) .page-hero__overlay,
  :root[data-theme="light"] body:not(.home) .page-hero__overlay {
    background:
      linear-gradient(90deg, rgba(5, 20, 29, 0.88), rgba(5, 20, 29, 0.52)),
      linear-gradient(0deg, rgba(5, 20, 29, 0.28), transparent 48%);
  }

  body:not(.home) .page-hero__inner {
    align-content: center;
    padding-block: 4.25rem 9.25rem;
  }

  body:not(.home) .breadcrumbs {
    top: 1.1rem;
  }

  body:not(.home) .page-hero__copy {
    width: 100%;
  }

  body:not(.home) .page-hero h1 {
    max-width: 14ch;
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 10.5vw, 2.9rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  body:not(.home) .page-hero__lead {
    margin-bottom: 1.35rem;
    font-size: 0.91rem;
    line-height: 1.52;
  }

  body:not(.home) .page-hero__facts {
    width: 100%;
    right: 0;
    bottom: 0.8rem;
    border-radius: 11px;
  }

  body:not(.home) .page-hero__facts li {
    min-height: 82px;
    padding: 0.75rem;
  }

  body:not(.home) .page-hero__facts strong {
    font-size: 0.96rem;
  }

  body:not(.home) .page-hero__facts span {
    font-size: 0.58rem;
  }

  :is(.service-page, .portfolio-page, .career-page, .contact-page, .page-main) .page-section {
    padding-block: 4.25rem;
  }

  body:not(.home) :is(.section-heading, .service-intro__copy, .career-intro__copy, .application-section__copy, .contact-main__copy, .visit-section__copy) h2 {
    font-size: clamp(2rem, 8.5vw, 2.55rem);
    line-height: 1.07;
    letter-spacing: -0.035em;
  }

  .service-page .service-intro__media::before {
    top: -8px;
    left: -8px;
  }

  .service-page .service-intro__media img {
    border-radius: 12px;
  }

  .service-page .service-intro__marker {
    right: 0.75rem;
    bottom: -1rem;
    width: 140px;
    min-height: 94px;
    border-radius: 11px;
  }

  .service-page .offer-item,
  .service-page .process-line li {
    border-radius: 13px;
  }

  .service-page .service-proof__media {
    width: calc(100% - 36px);
    border-radius: 12px;
  }

  .service-page .service-proof__media img {
    min-height: 360px;
  }

  .portfolio-page .project-gallery__item button,
  .portfolio-page .reference-card {
    border-radius: 10px;
  }

  .legal-page {
    padding-block: 0;
  }

  .legal-page .legal-layout {
    margin-block: 4.25rem;
  }

  .legal-page .legal-nav,
  .legal-page .legal-content,
  .page-main .content-entry {
    border-radius: 12px;
  }
}

/* Inner-page closing CTA: keep the company photograph bright in light mode
   and move contrast responsibility to a compact translucent content panel. */
:root[data-theme="light"] body:not(.home) .footer-cta__image {
  filter: saturate(1.04) contrast(1.01) brightness(1.08);
}

:root[data-theme="light"] body:not(.home) .footer-cta__overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0.18)),
    linear-gradient(0deg, rgba(12, 27, 36, 0.08), transparent 45%);
}

:root[data-theme="light"] body:not(.home) .footer-cta__content {
  max-width: 820px;
  margin-block: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 56px rgba(8, 24, 33, 0.14);
  backdrop-filter: blur(14px);
}

:root[data-theme="light"] body:not(.home) .footer-cta h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 3.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

:root[data-theme="light"] body:not(.home) .footer-cta p {
  max-width: 68ch;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink-soft);
  text-shadow: none;
}

@media (max-width: 640px) {
  :root[data-theme="light"] body:not(.home) .footer-cta {
    min-height: 500px;
  }

  :root[data-theme="light"] body:not(.home) .footer-cta__content {
    width: min(calc(100% - 36px), 820px);
    padding: 1.6rem 1.25rem;
    border-radius: 14px;
  }

  :root[data-theme="light"] body:not(.home) .footer-cta h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }
}
