:root {
  --ke-blue: #d6a100;
  --ke-blue-deep: #8a6400;
  --ke-copper: #f2c94c;
  --ke-graphite: #101418;
  --ke-ink: #17202a;
  --ke-muted: #68727d;
  --ke-line: #d8dee5;
  --ke-paper: #f7f8fa;
  --ke-white: #ffffff;
  --ke-radius: 8px;
  --ke-header: 76px;
  --ke-max: 1180px;
  --ke-shadow: 0 28px 70px rgba(35, 29, 14, 0.2);
  --font-display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ke-ink);
  background: var(--ke-white);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--ke-blue);
}

p {
  margin: 0;
  line-height: 1.68;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.5rem, 9vw, 9.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 5rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-180%);
  background: var(--ke-white);
  color: var(--ke-ink);
  padding: 12px 16px;
  border: 1px solid var(--ke-line);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--ke-header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--ke-white);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  color: var(--ke-ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(17, 24, 31, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  min-width: 148px;
}

.brand-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
}

.brand-logo-light {
  display: none;
}

body.home .site-header:not(.is-scrolled) .brand-logo-dark {
  display: none;
}

body.home .site-header:not(.is-scrolled) .brand-logo-light {
  display: block;
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.86rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

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

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-language {
  color: var(--ke-blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: currentColor;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  margin: 5px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 3px;
  background: linear-gradient(90deg, var(--ke-blue), var(--ke-copper));
  transform: scaleX(0);
  transform-origin: left;
}

.ke-main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ke-graphite);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 42%, rgba(214, 161, 0, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(8, 12, 16, 0.94) 0%, rgba(8, 12, 16, 0.78) 38%, rgba(8, 12, 16, 0.20) 78%),
    linear-gradient(0deg, rgba(8, 12, 16, 0.58), transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 120px);
  padding-top: var(--ke-header);
  color: var(--ke-white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--ke-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero .eyebrow {
  color: #ffd867;
}

.hero-claim {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  line-height: 1.02;
  color: #fff3c4;
}

.hero-text {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-weight: 850;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: var(--ke-white);
  background: var(--ke-blue);
  border-color: var(--ke-blue);
}

.button.primary:hover {
  color: var(--ke-white);
  background: var(--ke-blue-deep);
  border-color: var(--ke-blue-deep);
}

.button.ghost {
  color: var(--ke-white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.55);
}

.button.ghost.dark {
  color: var(--ke-ink);
  border-color: rgba(17, 24, 31, 0.32);
}

.button.full {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero-scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ke-white);
  transform: translateX(-50%);
  animation: scroll-dot 1500ms ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.35; }
  50% { transform: translate(-50%, 12px); opacity: 1; }
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--ke-line);
  background: var(--ke-white);
}

.proof-band.inner {
  border-top: 1px solid var(--ke-line);
}

.proof-item {
  min-height: 156px;
  padding: clamp(22px, 3vw, 42px);
  border-right: 1px solid var(--ke-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  color: var(--ke-blue);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  line-height: 0.9;
}

.proof-item span:last-child {
  color: var(--ke-muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 780;
}

.section {
  width: min(var(--ke-max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) 0;
}

.section.compact {
  padding-top: calc(var(--ke-header) + 70px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 118px);
  align-items: start;
}

.two-column > * {
  min-width: 0;
}

.rich-text {
  color: var(--ke-muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.rich-text p + p {
  margin-top: 18px;
}

.image-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--ke-graphite);
  color: var(--ke-white);
}

.image-band img {
  width: 100%;
  height: min(620px, 72vw);
  object-fit: cover;
}

.image-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 7vw, 84px);
}

.image-band-copy p:last-child {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 22px;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(34px, 6vw, 72px);
}

.section-head.narrow {
  max-width: 720px;
}

.section-head p:last-child {
  margin-top: 18px;
  color: var(--ke-muted);
  font-size: 1.08rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ke-line);
  border-left: 1px solid var(--ke-line);
}

.capability-card {
  min-height: 330px;
  padding: clamp(22px, 2.4vw, 34px);
  border-right: 1px solid var(--ke-line);
  border-bottom: 1px solid var(--ke-line);
  background: var(--ke-white);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 180ms ease, transform 180ms ease;
}

.capability-card:hover {
  background: var(--ke-paper);
  transform: translateY(-4px);
}

.icon-wrap {
  width: 46px;
  height: 46px;
  color: var(--ke-blue);
}

.icon-wrap svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card h3,
.capability-card h2 {
  color: var(--ke-ink);
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
}

.capability-card p {
  color: var(--ke-muted);
  font-size: 0.98rem;
}

.products-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--ke-max)) / 2));
  padding-right: max(18px, calc((100vw - var(--ke-max)) / 2));
  background:
    linear-gradient(90deg, rgba(214, 161, 0, 0.08), transparent 55%),
    var(--ke-paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(240px, 1fr));
  gap: 1px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.product-card {
  min-height: 300px;
  padding: 28px;
  background: var(--ke-white);
  border: 1px solid transparent;
  scroll-snap-align: start;
  transform-style: preserve-3d;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  border-color: rgba(214, 161, 0, 0.32);
  box-shadow: var(--ke-shadow);
}

.product-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--ke-copper);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.product-card h3 {
  margin-bottom: 16px;
  color: var(--ke-ink);
}

.product-card p {
  color: var(--ke-muted);
  font-size: 0.96rem;
}

.location-section {
  position: relative;
}

.location-map {
  position: relative;
  height: 380px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(214, 161, 0, 0.13) 36px),
    repeating-linear-gradient(90deg, transparent 0 55px, rgba(214, 161, 0, 0.1) 56px);
  border: 1px solid var(--ke-line);
}

.map-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ke-blue), var(--ke-copper), transparent);
}

.location-pin {
  position: absolute;
  max-width: 150px;
  transform: translate(-50%, -50%);
  color: var(--ke-ink);
  font-size: 0.78rem;
}

.location-pin span {
  display: block;
  width: 15px;
  height: 15px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--ke-blue);
  box-shadow: 0 0 0 9px rgba(214, 161, 0, 0.16);
}

.location-pin strong,
.location-pin small {
  display: block;
}

.location-pin strong {
  font-weight: 900;
}

.location-pin small {
  color: var(--ke-muted);
}

.pin-1 { left: 17%; top: 43%; }
.pin-2 { left: 29%; top: 38%; }
.pin-3 { left: 36%; top: 50%; }
.pin-4 { left: 45%; top: 58%; }
.pin-5 { left: 74%; top: 47%; }
.pin-6 { left: 21%; top: 70%; }
.pin-7 { left: 12%; top: 34%; }

.location-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--ke-line);
}

.location-list article {
  background: var(--ke-white);
  padding: 24px;
}

.location-list h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.location-list p {
  color: var(--ke-muted);
  font-size: 0.94rem;
}

.career-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--ke-white);
}

.career-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.career-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 110px);
  background: var(--ke-paper);
}

.career-copy p:not(.section-kicker) {
  margin-top: 24px;
  color: var(--ke-muted);
  max-width: 620px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ke-line);
}

.news-list article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--ke-line);
  border-bottom: 1px solid var(--ke-line);
}

.news-list article:last-child {
  border-right: 0;
}

.news-list time {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--ke-copper);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.news-list h3,
.news-list h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.news-list p {
  color: var(--ke-muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
  border-top: 1px solid var(--ke-line);
}

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

.gallery-count {
  margin: -10px 0 18px;
  color: var(--ke-muted);
  font-size: 0.95rem;
}

.source-slider {
  width: min(100%, 980px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(242, 201, 76, 0.18), transparent 34%),
    var(--ke-ink);
  border: 1px solid rgba(214, 161, 0, 0.28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.source-slider-stage {
  position: relative;
  min-height: 330px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.source-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(26px) scale(1.045);
  transition: opacity 580ms ease, transform 760ms cubic-bezier(0.2, 0.9, 0.18, 1);
  pointer-events: none;
}

.source-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.source-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.42), transparent 44%),
    linear-gradient(0deg, rgba(8, 12, 16, 0.72), transparent 42%);
  pointer-events: none;
}

.source-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 4200ms ease;
}

.source-slide.is-active img {
  transform: scale(1.08);
}

.source-slide figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 4vw, 42px);
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 38px);
  max-width: 640px;
  color: var(--ke-white);
}

.source-slide figcaption span,
.source-slide figcaption small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-slide figcaption span {
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.source-slide figcaption small {
  max-width: 100%;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  white-space: nowrap;
}

.source-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 3vw, 24px);
  background: rgba(8, 12, 16, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.source-slider-button,
.source-slider-dot {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.source-slider-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ke-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.source-slider-button:hover,
.source-slider-button:focus-visible {
  color: var(--ke-ink);
  background: var(--ke-blue);
  transform: translateY(-2px);
}

.source-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 120px;
}

.source-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.source-slider-dot.is-active {
  width: 28px;
  background: var(--ke-blue);
  transform: translateY(-1px);
}

.gallery-more {
  margin-top: 28px;
}

.gallery-empty {
  padding: 22px;
  background: var(--ke-paper);
  border: 1px solid var(--ke-line);
}

.contact-section h2 {
  margin-bottom: 22px;
}

.contact-section a {
  color: var(--ke-blue);
  font-weight: 780;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3.4vw, 42px);
  background: var(--ke-graphite);
  color: var(--ke-white);
  border-radius: var(--ke-radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ke-white);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffd867;
  box-shadow: 0 0 0 3px rgba(214, 161, 0, 0.24);
}

.contact-form textarea {
  resize: vertical;
  min-height: 142px;
}

.privacy {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.privacy input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin-top: 3px;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: var(--ke-radius);
  margin-bottom: 14px;
  font-weight: 700;
}

.form-note.success {
  color: #0f4f2a;
  background: #dff7e7;
}

.form-note.error {
  color: #7a1f1f;
  background: #ffe3e3;
}

.page-hero {
  padding: calc(var(--ke-header) + 90px) max(18px, calc((100vw - var(--ke-max)) / 2)) clamp(70px, 10vw, 130px);
  background:
    radial-gradient(circle at 86% 25%, rgba(214, 161, 0, 0.24), transparent 27%),
    linear-gradient(135deg, #11171d, #202b34 58%, #101418);
  color: var(--ke-white);
}

.page-hero p:last-child {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(3rem, 7vw, 7.6rem);
}

.career-page {
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.92), rgba(16, 20, 24, 0.42)),
    url("../images/team-employer.png") center / cover;
}

.career-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ke-line);
}

.career-cards article {
  background: var(--ke-white);
  padding: clamp(24px, 4vw, 48px);
}

.career-cards img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 28px;
}

.career-cards h2 {
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  margin-bottom: 16px;
}

.career-cards p {
  color: var(--ke-muted);
  margin-bottom: 28px;
}

.site-footer {
  background: var(--ke-graphite);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(44px, 7vw, 86px) max(18px, calc((100vw - var(--ke-max)) / 2)) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
  gap: clamp(28px, 5vw, 68px);
}

.footer-logo {
  width: 178px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  color: var(--ke-white);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: #ffd867;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(42px, 7vw, 74px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.52);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 760ms ease forwards;
}

.js-ready .hero-content > *:nth-child(2) { animation-delay: 90ms; }
.js-ready .hero-content > *:nth-child(3) { animation-delay: 180ms; }
.js-ready .hero-content > *:nth-child(4) { animation-delay: 270ms; }
.js-ready .hero-content > *:nth-child(5) { animation-delay: 360ms; }

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

@media (max-width: 1120px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card {
    min-height: 260px;
  }

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

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

  .source-slider {
    width: 100%;
  }
}

@media (max-width: 860px) {
  :root {
    --ke-header: 66px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    width: 146px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--ke-header) 0 auto 0;
    display: grid;
    gap: 0;
    justify-items: stretch;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ke-ink);
    border-bottom: 1px solid var(--ke-line);
    transform: translateY(-120%);
    transition: transform 220ms ease;
    box-shadow: var(--ke-shadow);
  }

  .primary-nav.is-open {
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--ke-line);
  }

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

  .hero {
    min-height: 94svh;
    align-items: flex-end;
    padding-bottom: 76px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 12, 16, 0.94) 0%, rgba(8, 12, 16, 0.72) 52%, rgba(8, 12, 16, 0.32) 100%),
      radial-gradient(circle at 70% 38%, rgba(214, 161, 0, 0.24), transparent 32%);
  }

  .hero::after {
    background-size: 48px 48px;
    mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 78%);
  }

  .hero-content {
    margin-left: 18px;
    margin-right: 18px;
    width: auto;
  }

  .hero-text {
    max-width: 100%;
  }

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

  .proof-item {
    min-height: 136px;
  }

  .two-column,
  .contact-section,
  .career-section,
  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band img {
    height: 58vw;
    min-height: 320px;
  }

  .career-media img {
    min-height: 320px;
  }

  .location-map {
    display: none;
  }

  .news-list,
  .career-cards {
    grid-template-columns: 1fr;
  }

  .source-slider-stage {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .news-list article {
    border-right: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3.1rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.05rem, 12vw, 3.4rem);
  }

  .hero {
    min-height: 92svh;
  }

  .hero-actions,
  .career-actions {
    display: grid;
  }

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

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
  }

  .section {
    width: min(100% - 28px, var(--ke-max));
    padding: 64px 0;
  }

  .products-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(7, minmax(222px, 78vw));
  }

  .capability-grid,
  .location-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .source-slider-stage {
    min-height: 240px;
  }

  .source-slider-controls {
    gap: 10px;
  }

  .source-slider-button {
    width: 40px;
    height: 40px;
  }

  .source-slide figcaption small {
    white-space: normal;
  }

  .capability-card {
    min-height: 0;
  }

  .footer-bottom {
    display: grid;
  }
}

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