:root {
  --navy-950: #031522;
  --navy-900: #041b2c;
  --navy-800: #08293c;
  --monitor-blue: #002878;
  --cyan: #25d8ff;
  --red: #f32837;
  --obana-red: #ff5364;
  --index-accent: var(--red);
  --gold: #f4bd38;
  --violet: #b58cff;
  --warm-red: #ed8e78;
  --paper: #f5f8fa;
  --muted: #9fb5c2;
}

* { box-sizing: border-box; }
html { background: var(--navy-950); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.landing-shell {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 46%, rgba(243, 40, 55, 0.08), transparent 31rem),
    linear-gradient(122deg, var(--navy-950) 0%, var(--navy-900) 54%, #061d2d 100%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(243, 40, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 40, 55, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.site-header {
  height: 116px;
  display: grid;
  grid-template-columns: minmax(260px, 390px) 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(159, 181, 194, 0.18);
  animation: reveal 0.8s ease both;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: clamp(1.25rem, 4vw, 5rem);
  width: 76px;
  height: 3px;
  background: var(--index-accent);
}

.brand {
  width: min(100%, 380px);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  background: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.brand img { display: block; width: 100%; height: auto; }

.header-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.header-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--index-accent); }

.corporate-link,
.delivery-strip > a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}
.corporate-link svg,
.delivery-strip > a svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}
.corporate-link:hover,
.corporate-link:focus-visible,
.delivery-strip > a:hover,
.delivery-strip > a:focus-visible { color: var(--index-accent); }
.corporate-link:hover svg,
.delivery-strip > a:hover svg { transform: translate(3px, -2px); }

.hero {
  min-height: calc(100svh - 266px);
  display: grid;
  grid-template-columns: minmax(380px, 0.72fr) minmax(560px, 1.28fr) 58px;
  align-items: stretch;
  position: relative;
}

.hero-copy {
  padding: clamp(3.25rem, 7vh, 6.5rem) 2.5rem 3.5rem clamp(1.25rem, 6vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  animation: rise 0.9s 0.12s ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow span { width: 38px; height: 2px; background: var(--index-accent); box-shadow: 0 0 14px rgba(243, 40, 55, 0.62); }

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6.8vw, 8rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.hero h1 strong { display: block; margin-top: 0.17em; color: white; font-weight: 800; }
.script-line {
  margin: 1.45rem 0 0;
  color: var(--index-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3vw, 3.45rem);
  font-style: italic;
  letter-spacing: -0.035em;
}
.hero-lede {
  max-width: 580px;
  margin: 1.55rem 0 0;
  color: #c6d4dc;
  font-size: clamp(1rem, 1.18vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 430px);
  margin-top: clamp(2rem, 3.8vh, 3.1rem);
}
.system-action {
  --system-accent: var(--index-accent);
  --system-accent-soft: rgba(243, 40, 55, 0.1);
  --system-accent-border: rgba(243, 40, 55, 0.52);
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.94rem 1.2rem 0.9rem 1.35rem;
  border: 1px solid var(--system-accent-border);
  border-left: 4px solid var(--system-accent);
  background: rgba(3, 21, 34, 0.66);
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.system-action span { display: grid; gap: 0.3rem; }
.system-action small { color: #c6d4dc; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; }
.system-action svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--system-accent); transition: transform 180ms ease; }
.system-action:hover,
.system-action:focus-visible {
  border-color: var(--system-accent);
  background: var(--system-accent-soft);
  box-shadow: inset 4px 0 0 var(--system-accent);
  color: var(--system-accent);
  transform: translateY(-2px);
}
.system-action:focus-visible { outline-color: var(--system-accent); }
.system-action:hover svg,
.system-action:focus-visible svg { transform: translateX(5px); }

.case-study-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
  position: relative;
  overflow: hidden;
  background: rgba(243, 40, 55, 0.24);
  animation: imageReveal 1.2s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-study-card {
  --system-accent: var(--index-accent);
  --system-accent-soft: rgba(243, 40, 55, 0.08);
  --system-accent-border: rgba(243, 40, 55, 0.66);
  min-height: 0;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}
.case-study-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.case-study-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.08) brightness(0.78);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}
.obana-card img { object-position: 50% 52%; }
.axima-card img { object-position: 50% 48%; }
.haeva-card img { object-position: 50% 54%; }
.rpd-card img { object-position: 50% 53%; }
.card-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 21, 34, 0.94) 0%, rgba(3, 21, 34, 0.58) 43%, rgba(3, 21, 34, 0.08) 78%),
    linear-gradient(0deg, rgba(3, 21, 34, 0.72), transparent 52%);
}
.case-study-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 32%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--system-accent), transparent);
  box-shadow: 0 0 14px var(--system-accent-soft);
  transition: opacity 220ms ease, transform 650ms ease;
}
.case-number {
  position: absolute;
  z-index: 3;
  top: 1.35rem;
  left: 1.5rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--system-accent);
  border-radius: 50%;
  background: rgba(3, 21, 34, 0.82);
  color: var(--system-accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 6px var(--system-accent-soft);
}
.case-card-copy {
  position: absolute;
  z-index: 3;
  left: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3.5vh, 2.5rem);
  display: grid;
  gap: 0.22rem;
}
.case-card-copy small {
  margin-bottom: 0.3rem;
  color: #c6d4dc;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.case-card-copy strong {
  color: white;
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.case-card-copy em {
  color: var(--system-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.65rem);
  letter-spacing: -0.02em;
}
.case-arrow {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3.5vh, 2.5rem);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--system-accent-border);
  background: rgba(3, 21, 34, 0.66);
  color: white;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.case-arrow svg { width: 22px; height: 22px; }
.case-study-card:hover img,
.case-study-card:focus-visible img { transform: scale(1.045); filter: saturate(0.96) contrast(1.08) brightness(0.88); }
.case-study-card:hover::before,
.case-study-card:focus-visible::before { opacity: 1; transform: translateY(90px); }
.case-study-card:hover::after,
.case-study-card:focus-visible::after { border-color: var(--system-accent-border); box-shadow: inset 0 0 36px var(--system-accent-soft); }
.case-study-card:hover .case-arrow,
.case-study-card:focus-visible .case-arrow { background: var(--system-accent); color: var(--navy-950); transform: translateX(4px); }
.case-study-card:focus-visible { outline-color: var(--system-accent); }

.project-index {
  border-left: 1px solid rgba(159, 181, 194, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
}
.project-index > span { color: var(--index-accent); font-size: 0.75rem; font-weight: 800; }
.project-index i { width: 1px; height: 72px; background: linear-gradient(var(--index-accent), transparent); }
.project-index p {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.delivery-strip {
  min-height: 150px;
  display: grid;
  grid-template-columns: 0.65fr 1.65fr 0.7fr;
  align-items: center;
  gap: 2.5rem;
  padding: 1.7rem clamp(1.25rem, 4vw, 5rem);
  background: rgba(2, 14, 24, 0.94);
  border-top: 1px solid rgba(243, 40, 55, 0.25);
  position: relative;
  z-index: 5;
}
.strip-intro {
  margin: 0;
  color: var(--index-accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.delivery-strip dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.delivery-strip dl div {
  padding-left: 1.25rem;
  border-left: 2px solid var(--system-accent, var(--monitor-blue));
}
.delivery-strip dt { color: white; font-size: clamp(1.45rem, 2vw, 2.2rem); font-weight: 800; line-height: 1; }
.delivery-strip dd {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.delivery-strip > a { justify-self: end; color: white; }
footer { display: none; }
a:focus-visible { outline: 2px solid var(--index-accent); outline-offset: 4px; }

.obana-action,
.obana-card,
.obana-metric {
  --system-accent: var(--obana-red);
  --system-accent-soft: rgba(255, 83, 100, 0.11);
  --system-accent-border: rgba(255, 83, 100, 0.58);
}
.axima-action,
.axima-card,
.axima-metric {
  --system-accent: var(--violet);
  --system-accent-soft: rgba(181, 140, 255, 0.11);
  --system-accent-border: rgba(181, 140, 255, 0.58);
}
.haeva-action,
.haeva-card,
.haeva-metric {
  --system-accent: var(--cyan);
  --system-accent-soft: rgba(37, 216, 255, 0.1);
  --system-accent-border: rgba(37, 216, 255, 0.55);
}
.rpd-action,
.rpd-card,
.rpd-metric {
  --system-accent: var(--gold);
  --system-accent-soft: rgba(244, 189, 56, 0.11);
  --system-accent-border: rgba(244, 189, 56, 0.58);
}

@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes imageReveal { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0); } }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: minmax(250px, 340px) 1fr; }
  .header-meta { display: none; }
  .corporate-link { justify-self: end; }
  .hero { grid-template-columns: minmax(340px, 0.82fr) minmax(460px, 1.18fr); }
  .project-index { display: none; }
  .hero-copy { padding-left: clamp(1.5rem, 4vw, 4rem); }
  .delivery-strip { grid-template-columns: 0.45fr 1.55fr; }
  .delivery-strip > a { display: none; }
}

@media (max-width: 820px) {
  .landing-shell { overflow: visible; }
  .site-header {
    height: 92px;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 0 1rem;
  }
  .brand { width: min(255px, 68vw); height: 58px; padding: 0.55rem 0.7rem; }
  .corporate-link {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid rgba(159, 181, 194, 0.32);
    font-size: 0;
  }
  .corporate-link svg { width: 19px; height: 19px; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { min-height: 0; padding: 3.7rem 1.25rem 3.4rem; justify-content: flex-start; }
  .eyebrow { margin-bottom: 1.45rem; font-size: 0.62rem; }
  .hero h1 { font-size: clamp(3.85rem, 19vw, 6.1rem); }
  .script-line { font-size: 2rem; }
  .hero-lede { margin-top: 1.3rem; font-size: 1rem; }
  .hero-actions { width: 100%; margin-top: 2.35rem; }
  .system-action { width: 100%; }
  .case-study-grid {
    min-height: 1520px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(243, 40, 55, 0.2);
  }
  .case-study-card { min-height: 380px; }
  .case-card-copy { left: 1.25rem; bottom: 1.55rem; }
  .case-card-copy strong { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .case-card-copy em { font-size: 1.25rem; }
  .case-number { left: 1.25rem; top: 1.25rem; }
  .case-arrow { right: 1.25rem; bottom: 1.55rem; width: 44px; height: 44px; }
  .delivery-strip { display: block; padding: 2.5rem 1.25rem 2.8rem; }
  .strip-intro { margin-bottom: 1.5rem; }
  .delivery-strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 0; }
  .delivery-strip dl div { padding-left: 0.7rem; }
  .delivery-strip dt { font-size: 1.35rem; }
  .delivery-strip dd { font-size: 0.48rem; line-height: 1.45; }
  footer {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.8rem 1.25rem;
    color: var(--muted);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-top: 1px solid rgba(159, 181, 194, 0.13);
  }
}

@media (max-width: 480px) {
  .case-study-grid { min-height: 1360px; }
  .case-study-card { min-height: 340px; }
  .case-card-copy small { max-width: 210px; line-height: 1.5; }
  .case-arrow { top: 1.15rem; right: 1rem; bottom: auto; }
}

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