:root {
  --swiss-red: #e30613;
  --swiss-red-dark: #b8000d;
  --graphite: #171a1f;
  --graphite-soft: #2e343b;
  --alpine-blue: #d9edf7;
  --ice: #f4f8fb;
  --steel: #74808c;
  --line: #dce3ea;
  --white: #ffffff;
  --sage: #dfeee7;
  --shadow: 0 18px 48px rgba(23, 26, 31, 0.12);
  --shadow-strong: 0 28px 70px rgba(23, 26, 31, 0.2);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  background: rgba(4, 5, 7, 0.54);
  opacity: 0;
  backdrop-filter: blur(0);
  transition:
    opacity 220ms var(--ease-soft),
    backdrop-filter 220ms var(--ease-soft);
}

body.nav-open::before {
  opacity: 1;
  backdrop-filter: blur(8px);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--swiss-red), #ff6b72);
  box-shadow: 0 0 18px rgba(227, 6, 19, 0.42);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 32px;
  background: rgba(8, 10, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition:
    min-height 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(4, 5, 7, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  width: 286px;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    filter 220ms ease,
    transform 220ms var(--ease-out);
}

.brand:hover img,
.brand:focus-visible img {
  filter: drop-shadow(0 0 18px rgba(227, 6, 19, 0.26));
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease-out);
}

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

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  position: relative;
  display: none;
  z-index: 60;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease-out);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.nav-toggle:active {
  transform: scale(0.96);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  transition:
    transform 220ms var(--ease-out),
    opacity 160ms ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 42%, transparent 78%);
  animation: gridDrift 18s linear infinite;
}

.hero::after {
  top: 0;
  bottom: 0;
  left: -35%;
  z-index: 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.2), transparent);
  transform: skewX(-18deg);
  animation: heroScan 7.5s ease-in-out infinite;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/reger-home-hero-branded.jpg");
  background-position: center center;
  background-size: cover;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(var(--hero-scale, 1.035));
  transition: transform 120ms linear;
  will-change: transform;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.96) 0%, rgba(4, 5, 7, 0.82) 38%, rgba(4, 5, 7, 0.28) 72%, rgba(4, 5, 7, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 5, 7, 0.48), rgba(4, 5, 7, 0.04) 45%);
}

.hero-layout {
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 88px 0 132px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100vw - 32px));
  min-width: 0;
  animation: heroCopyIn 760ms ease both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -28px -30px;
  z-index: -1;
  pointer-events: none;
  border-left: 3px solid rgba(227, 6, 19, 0.72);
  background: linear-gradient(90deg, rgba(4, 5, 7, 0.2), transparent 68%);
  opacity: 0.78;
}

.hero-stats div,
.signal-grid,
.service-card,
.work-card,
.workforce-grid article,
.jobs-preview-grid article,
.knowledge-grid article {
  transform-style: preserve-3d;
}

.kicker,
.section-eyebrow {
  margin: 0 0 14px;
  color: var(--swiss-red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--white);
}

.hero h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  margin: 24px 0 18px;
  max-width: min(610px, calc(100vw - 32px));
  color: var(--alpine-blue);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
}

.hero p:not(.kicker):not(.hero-lead) {
  width: min(610px, calc(100vw - 32px));
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(610px, calc(100vw - 32px));
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(680px, calc(100vw - 32px));
  margin-top: 28px;
}

.hero-stats div {
  position: relative;
  min-height: 96px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transform: translateZ(0);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.hero-stats div:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.hero-stats div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--swiss-red);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.hero-stats strong span {
  display: inline;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.34) 50%, transparent 64% 100%);
  transform: translateX(-130%);
  transition: transform 520ms var(--ease-out);
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(130%);
}

.button > * {
  position: relative;
  z-index: 1;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--swiss-red);
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--swiss-red-dark);
  box-shadow: 0 18px 38px rgba(227, 6, 19, 0.34);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.button-light {
  color: var(--swiss-red);
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.signal-band {
  margin-top: -82px;
  position: relative;
  z-index: 5;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: cardRise 680ms ease 220ms both;
}

.signal-grid div {
  position: relative;
  min-height: 132px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(217, 237, 247, 0.52), rgba(255, 255, 255, 0)),
    var(--white);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.signal-grid div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--swiss-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.signal-grid div:hover {
  transform: translateY(-2px);
  background-color: var(--white);
}

.signal-grid div:hover::before {
  transform: scaleX(1);
}

.signal-grid div:last-child {
  border-right: 0;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
}

.signal-grid span {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 104px 0;
}

.section-muted {
  background: var(--ice);
}

.intro-section {
  padding-top: 130px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: start;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.section-heading.compact {
  width: min(680px, 100%);
}

.section-heading.row-heading {
  display: flex;
  width: 100%;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--swiss-red);
  font-weight: 900;
  white-space: nowrap;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

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

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

p {
  margin: 0;
}

.copy-block {
  color: var(--graphite-soft);
}

.copy-block p + p {
  margin-top: 18px;
}

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

.service-card,
.work-card,
.reason-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background-color 220ms ease;
}

.service-card::after,
.work-card::after,
.reason-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.jobs-preview-grid article::after,
.knowledge-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.72) 50%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 180ms ease,
    transform 620ms var(--ease-out);
}

.jobs-preview-grid article:hover::after,
.knowledge-grid article:hover::after,
.jobs-preview-grid article.is-pressed::after,
.knowledge-grid article.is-pressed::after {
  opacity: 0.5;
  transform: translateX(120%);
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(227, 6, 19, 0.18),
    transparent 34%
  );
  opacity: 0;
  transition: opacity 180ms ease;
}

.tilt-card:hover::before,
.tilt-card.is-tilting::before {
  opacity: 1;
}

.tilt-card > * {
  position: relative;
  z-index: 2;
}

.service-card:hover,
.work-card:hover,
.reason-grid article:hover,
.tilt-card.is-pressed {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: var(--shadow);
  --lift: -5px;
}

.service-card:hover::after,
.work-card:hover::after,
.reason-grid article:hover::after {
  opacity: 1;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 20px;
  align-items: start;
  padding: 30px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  color: var(--swiss-red);
  background: #fff0f1;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 220ms ease;
}

.service-card:hover .service-icon {
  color: var(--white);
  background: var(--swiss-red);
  transform: rotate(-3deg) scale(1.04);
}

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

.service-card h3,
.service-card p,
.service-card ul {
  grid-column: 2;
}

.service-card p,
.work-card p,
.reason-grid p,
.people-copy p,
.career-layout p,
.contact-layout p,
.site-footer p,
.site-footer span {
  color: var(--graphite-soft);
}

.service-card ul,
.work-card ul {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.work-card li {
  position: relative;
  padding-left: 22px;
  color: var(--graphite-soft);
  font-size: 15px;
}

.service-card li + li,
.work-card li + li {
  margin-top: 8px;
}

.service-card li::before,
.work-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--swiss-red);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  padding: 30px;
}

.work-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 32px;
  color: var(--swiss-red);
  font-weight: 900;
}

.work-card h3 {
  margin-bottom: 12px;
}

.work-card p {
  min-height: 78px;
  margin-bottom: 20px;
}

.people-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 26, 31, 0.92), rgba(23, 26, 31, 0.82)),
    linear-gradient(135deg, var(--graphite), #203747);
}

.people-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 42% 43%, transparent 43%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, 0.08) 58px 59px);
  animation: gridDrift 24s linear infinite reverse;
}

.people-section > .container {
  position: relative;
  z-index: 1;
}

.people-section .section-eyebrow,
.people-section h2 {
  color: var(--white);
}

.people-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.people-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 70px;
  align-items: center;
}

.people-feature {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.people-feature img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04);
  transition: transform 520ms ease;
}

.people-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(4, 5, 7, 0.84), rgba(4, 5, 7, 0) 48%),
    linear-gradient(135deg, rgba(227, 6, 19, 0.22), transparent 42%);
}

.people-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 50%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 180ms ease,
    transform 760ms var(--ease-out);
}

.people-feature:hover img {
  transform: scale(1.035);
}

.people-feature:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.people-feature div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  padding: 18px 20px;
  border-left: 4px solid var(--swiss-red);
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(10px);
}

.people-feature strong,
.people-feature span {
  display: block;
}

.people-feature strong {
  color: var(--white);
  font-size: 20px;
}

.people-feature span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.quality-list {
  display: grid;
  gap: 12px;
}

.quality-list div {
  position: relative;
  overflow: hidden;
  min-height: 86px;
  padding: 18px 20px;
  border-left: 4px solid var(--swiss-red);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.quality-list div::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(227, 6, 19, 0.22), transparent 52%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.quality-list div:hover {
  border-left-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.quality-list div:hover::after {
  opacity: 1;
}

.quality-list strong,
.quality-list span {
  display: block;
}

.quality-list strong {
  margin-bottom: 4px;
  color: var(--white);
}

.quality-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.reason-grid article {
  min-height: 190px;
  padding: 24px;
  border-top: 4px solid var(--swiss-red);
}

.reason-grid h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.workforce-grid,
.jobs-preview-grid,
.knowledge-grid {
  display: grid;
  gap: 18px;
}

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

.workforce-grid article,
.jobs-preview-grid article,
.knowledge-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background-color 220ms ease;
}

.workforce-grid article {
  min-height: 240px;
  padding: 0 28px 28px;
}

.workforce-photo {
  width: calc(100% + 56px);
  height: 190px;
  margin: 0 -28px 24px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.08);
  transition: transform 420ms ease, filter 220ms ease;
}

.workforce-grid article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 190px;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(23, 26, 31, 0.12), transparent 42%),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 50%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 180ms ease,
    transform 680ms var(--ease-out);
}

.workforce-grid article::before,
.jobs-preview-grid article::before,
.knowledge-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.12), transparent 35%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.workforce-grid article:hover,
.jobs-preview-grid article:hover,
.knowledge-grid article:hover {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: var(--shadow);
  --lift: -5px;
}

.workforce-grid article:hover .workforce-photo {
  filter: grayscale(0.85) contrast(1.08);
  transform: scale(1.035);
}

.workforce-grid article:hover::after,
.workforce-grid article.is-pressed::after {
  opacity: 1;
  transform: translateX(120%);
}

.workforce-grid article:hover::before,
.jobs-preview-grid article:hover::before,
.knowledge-grid article:hover::before {
  opacity: 1;
}

.availability,
.status-pill,
.knowledge-grid article > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 24px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--swiss-red);
  background: #fff0f1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.workforce-grid h3,
.jobs-preview-grid h3,
.knowledge-grid h3 {
  margin-bottom: 12px;
}

.workforce-grid p,
.jobs-preview-grid p,
.knowledge-grid p {
  color: var(--graphite-soft);
}

.industries-section {
  background:
    linear-gradient(90deg, rgba(223, 238, 231, 0.72), rgba(255, 255, 255, 0) 48%),
    var(--white);
}

.chip-grid,
.job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-grid span,
.job-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--graphite-soft);
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.chip-grid span:hover {
  border-color: var(--swiss-red);
  color: var(--swiss-red);
  transform: translateY(-2px);
}

.chip-grid span:active,
.job-list span:active,
.button:active,
.text-link:active {
  transform: scale(0.98);
}

.career-section {
  background: var(--graphite);
  color: var(--white);
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 74px;
  align-items: center;
}

.career-section .section-eyebrow,
.career-section h2 {
  color: var(--white);
}

.career-layout p {
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.76);
}

.job-list span {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.job-list span:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.jobs-preview-section {
  padding-top: 88px;
}

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

.jobs-preview-grid article {
  min-height: 220px;
  padding: 28px;
}

.jobs-preview-grid article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.jobs-preview-grid article > div span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.references-section {
  padding-top: 80px;
}

.reference-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reference-strip span {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--graphite-soft);
  font-weight: 900;
  text-align: center;
}

.reference-strip span:last-child {
  border-right: 0;
}

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

.knowledge-grid article {
  min-height: 260px;
  padding: 28px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.14), transparent 21%),
    linear-gradient(120deg, rgba(227, 6, 19, 0.94) 0 28%, rgba(185, 0, 14, 0.97) 28% 54%, rgba(89, 5, 13, 0.96) 54% 100%),
    var(--graphite);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  background:
    linear-gradient(135deg, transparent 0 16%, rgba(255, 255, 255, 0.08) 16% 17%, transparent 17% 100%),
    linear-gradient(42deg, transparent 0 47%, rgba(255, 255, 255, 0.09) 47% 48%, transparent 48% 100%),
    linear-gradient(154deg, rgba(255, 255, 255, 0.11) 0 8%, transparent 8% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
  transform: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  right: max(-70px, -6vw);
  bottom: -42px;
  width: min(420px, 58vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 17, 31, 0.48) 0 22%, transparent 22% 100%),
    linear-gradient(45deg, transparent 0 37%, rgba(255, 255, 255, 0.12) 37% 38%, transparent 38% 100%),
    linear-gradient(120deg, rgba(108, 0, 8, 0.34), rgba(227, 6, 19, 0.08));
  clip-path: polygon(0 13%, 68% 0, 100% 28%, 50% 100%, 15% 78%);
  transform: rotate(-18deg);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-layout::before {
  content: "";
  position: absolute;
  top: -34px;
  right: min(34vw, 360px);
  width: 170px;
  height: 126px;
  background:
    linear-gradient(145deg, rgba(255, 40, 50, 0.5) 0 46%, transparent 46%),
    linear-gradient(35deg, transparent 0 38%, rgba(12, 14, 18, 0.62) 38% 64%, transparent 64%),
    linear-gradient(90deg, rgba(255, 0, 18, 0.34), rgba(120, 0, 10, 0.18));
  clip-path: polygon(5% 20%, 78% 20%, 100% 44%, 74% 80%, 22% 80%, 0 55%);
  pointer-events: none;
  transform: rotate(-7deg);
  opacity: 0.72;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
}

.contact-section .section-eyebrow,
.contact-section h2 {
  color: var(--white);
}

.contact-layout p {
  width: min(640px, 100%);
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.site-footer {
  padding: 52px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 52px;
}

.site-footer img {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 18px;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span,
.site-footer p {
  font-size: 14px;
}

.site-footer a + a,
.site-footer a + span {
  margin-top: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--swiss-red);
  outline: none;
}

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

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

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScan {
  0%,
  52% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  100% {
    transform: translateX(410%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 112px 56px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    right: 24px;
    z-index: 55;
    display: grid;
    width: min(280px, calc(100vw - 48px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 220ms var(--ease-soft),
      transform 220ms var(--ease-out);
  }

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

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
    color: var(--graphite-soft);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    color: var(--swiss-red);
    background: var(--ice);
  }

  .hero,
  .hero-layout {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .signal-grid,
  .service-grid,
  .work-grid,
  .workforce-grid,
  .jobs-preview-grid,
  .knowledge-grid,
  .reference-strip,
  .reason-grid,
  .people-layout,
  .career-layout,
  .contact-layout,
  .footer-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .signal-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-grid div:last-child {
    border-bottom: 0;
  }

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

  .contact-actions {
    align-items: flex-start;
  }

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

  .section-heading.row-heading {
    align-items: start;
    flex-direction: column;
  }

  .reference-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reference-strip span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 32px);
    max-width: 1120px;
  }

  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .brand {
    width: min(214px, calc(100vw - 92px));
  }

  .site-nav {
    top: 67px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .hero {
    min-height: 680px;
  }

  .hero-media {
    background-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 17, 0.95), rgba(10, 13, 17, 0.76)),
      linear-gradient(0deg, rgba(10, 13, 17, 0.52), rgba(10, 13, 17, 0.1));
  }

  .hero-layout {
    min-height: 680px;
    padding: 48px 0 112px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    max-width: 100%;
  }

  .hero-lead {
    font-size: 18px;
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero-copy,
  .hero-copy > *,
  .hero p:not(.kicker):not(.hero-lead) {
    width: min(100%, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
    min-width: 0;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-lead,
  .hero p:not(.kicker):not(.hero-lead) {
    width: min(100%, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
  }

  .hero p:not(.kicker):not(.hero-lead) {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
  }

  .hero-stats div {
    min-height: 78px;
    padding: 16px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
  }

  .hero-copy::before {
    inset: -18px -16px;
  }

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

  .signal-grid div {
    min-height: 108px;
    padding: 20px;
  }

  .section,
  .contact-section {
    padding: 74px 0;
  }

  .intro-section {
    padding-top: 74px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .service-card h3,
  .service-card p,
  .service-card ul {
    grid-column: 1;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .work-card {
    padding: 22px;
  }

  .work-card p {
    min-height: auto;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid article {
    min-height: auto;
  }

  .people-feature,
  .people-feature img {
    min-height: 360px;
  }

  .people-feature div {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .workforce-grid article {
    min-height: auto;
    padding: 0 22px 22px;
  }

  .jobs-preview-grid article,
  .knowledge-grid article {
    min-height: auto;
    padding: 22px;
  }

  .workforce-photo {
    width: calc(100% + 44px);
    height: 176px;
    margin: 0 -22px 22px;
  }

  .people-layout,
  .career-layout,
  .contact-layout,
  .split-layout {
    gap: 34px;
  }

  .chip-grid span,
  .job-list span {
    width: 100%;
  }

  .footer-layout {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body.nav-open {
    overflow: hidden;
  }

  .scroll-progress {
    height: 2px;
  }

  .container {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

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

  .site-header.is-scrolled {
    min-height: 62px;
  }

  .brand {
    width: min(204px, calc(100% - 58px));
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 10px;
  }

  .site-nav a {
    min-height: 50px;
    padding: 0 13px;
    border-radius: 6px;
    font-size: 15px;
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero {
    padding-top: 0;
  }

  .hero-media {
    background-position: 64% center;
    inset: 0;
    transform: none !important;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 5, 7, 0.96), rgba(4, 5, 7, 0.82)),
      linear-gradient(0deg, rgba(4, 5, 7, 0.58), rgba(4, 5, 7, 0.12));
  }

  .hero-layout {
    display: block;
    padding: 52px 0 56px;
  }

  .hero-copy,
  .hero-copy > *,
  .hero h1,
  .hero-lead,
  .hero p:not(.kicker):not(.hero-lead),
  .hero-actions,
  .hero-stats {
    box-sizing: border-box;
    width: calc(100vw - 44px) !important;
    max-width: calc(100vw - 44px) !important;
    min-width: 0;
  }

  .hero-copy {
    margin: 0;
    animation: none;
    opacity: 1;
  }

  .hero-copy::before {
    inset: -18px -12px;
  }

  .hero .kicker {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(31px, 9vw, 36px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero-lead {
    margin: 20px 0 14px;
    font-size: 16px;
    line-height: 1.44;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .hero p:not(.kicker):not(.hero-lead) {
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.8);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    border-radius: 6px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-stats div {
    min-height: 76px;
    padding: 15px 16px;
    border-radius: 7px;
  }

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

  .signal-grid {
    border-radius: 0;
    box-shadow: none;
  }

  .signal-grid div {
    min-height: auto;
    padding: 18px;
  }

  .section,
  .jobs-preview-section,
  .references-section,
  .contact-section {
    padding: 64px 0;
  }

  .intro-section {
    padding-top: 64px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  h2 {
    font-size: clamp(28px, 9vw, 34px);
    line-height: 1.14;
  }

  h3 {
    font-size: 19px;
  }

  .service-card,
  .work-card,
  .reason-grid article,
  .jobs-preview-grid article,
  .knowledge-grid article {
    border-radius: 8px;
    padding: 20px;
  }

  .workforce-grid article {
    border-radius: 8px;
  }

  .people-feature,
  .people-feature img {
    min-height: 300px;
  }

  .people-feature div {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 14px 16px;
  }

  .people-feature strong {
    font-size: 17px;
  }

  .quality-list div {
    min-height: auto;
    padding: 16px 18px;
  }

  .contact-actions,
  .hero-actions {
    width: 100%;
  }

  .footer-layout img,
  .site-footer img {
    width: min(320px, 100%);
  }
}

.legal-section {
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.legal-card,
.privacy-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 26, 31, 0.07);
}

.legal-card {
  padding: 32px;
}

.legal-card h3,
.privacy-grid h3 {
  margin-top: 0;
}

.legal-card a,
.privacy-grid a {
  color: var(--swiss-red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 14px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.privacy-grid article {
  padding: 24px;
}

.privacy-grid p {
  margin-bottom: 0;
  color: var(--graphite-soft);
}

.footer-link {
  display: inline;
  width: fit-content;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
  outline: none;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(820px, calc(100% - 44px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(8, 10, 13, 0.96);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-actions a,
.cookie-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.cookie-actions a,
.cookie-actions button[data-cookie-decline] {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-actions button[data-cookie-accept] {
  border: 1px solid var(--swiss-red);
  color: var(--white);
  background: var(--swiss-red);
}

.cookie-actions button {
  cursor: pointer;
}

.cookie-actions a:hover,
.cookie-actions button:hover,
.cookie-actions a:focus-visible,
.cookie-actions button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(120deg, rgba(8, 10, 13, 0.96), rgba(60, 4, 9, 0.94) 52%, rgba(227, 6, 19, 0.88)),
    var(--graphite);
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18% 19%, transparent 19% 100%),
    linear-gradient(42deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 49%, transparent 49% 100%);
  pointer-events: none;
}

.subpage-hero.subpage-hero-image {
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.96) 0 42%, rgba(4, 5, 7, 0.78) 58%, rgba(4, 5, 7, 0.2) 100%),
    var(--subpage-image),
    var(--graphite);
  background-position: center;
  background-size: cover;
}

.subpage-hero.subpage-hero-image::before {
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(255, 255, 255, 0.06) 18% 19%, transparent 19% 100%),
    linear-gradient(42deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 49%, transparent 49% 100%);
}

.subpage-hero .container {
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  width: min(880px, 100%);
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  font-weight: 900;
}

.subpage-hero p {
  width: min(760px, 100%);
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.55;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--white);
  outline: none;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.52fr);
  gap: 48px;
  align-items: start;
}

.seo-copy {
  color: var(--graphite-soft);
}

.seo-copy h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.seo-copy h3 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.seo-copy p + p {
  margin-top: 18px;
}

.seo-copy ul,
.seo-panel ul,
.faq-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.seo-copy li,
.seo-panel li,
.faq-list li {
  margin-top: 8px;
}

.seo-panel {
  position: sticky;
  top: 92px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.seo-panel h2,
.seo-panel h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.seo-panel p {
  color: var(--steel);
}

.seo-panel .button {
  width: 100%;
  margin-top: 20px;
}

.seo-card-grid,
.job-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-card-grid article,
.job-detail-grid article,
.faq-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 26, 31, 0.07);
}

.seo-card-grid span,
.job-detail-grid span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--swiss-red);
  background: rgba(227, 6, 19, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.seo-card-grid p,
.job-detail-grid p {
  margin-top: 12px;
  color: var(--steel);
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card h3 {
  margin-bottom: 10px;
}

.faq-card p {
  color: var(--graphite-soft);
}

.job-meta-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.job-meta-list span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-weight: 800;
}

.job-meta-list strong {
  color: var(--graphite);
}

@media (max-width: 900px) {
  .seo-content,
  .faq-grid,
  .seo-card-grid,
  .job-detail-grid {
    grid-template-columns: 1fr;
  }

  .seo-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .subpage-hero {
    padding: 78px 0 64px;
  }

  .subpage-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .subpage-hero p {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .legal-layout,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .legal-card,
  .privacy-grid article {
    padding: 20px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    width: auto;
    gap: 16px;
    padding: 16px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions a,
  .cookie-actions button {
    flex: 1 1 140px;
  }
}
