:root {
  --eu-navy: #111b24;
  --eu-blue: #003399;
  --eu-blue-light: #1756ad;
  --eu-yellow: #ffcc00;
  --eu-orange: #ef6f3c;
  --eu-text: #18232d;
  --eu-muted: #5c6671;
  --eu-surface: rgba(255, 255, 255, 0.82);
  --eu-line: rgba(24, 35, 45, 0.1);
  --eu-shadow: 0 24px 70px rgba(24, 35, 45, 0.13);
  --eu-container: min(1200px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--eu-text);
  font-family: "Manrope", sans-serif;
  background:
    linear-gradient(rgba(24, 35, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, #d7dde2 0%, #eef1f3 42%, #ffffff 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

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

button {
  font: inherit;
}

.eu-page {
  min-height: 100vh;
  overflow: clip;
}

.eu-container {
  width: var(--eu-container);
  margin: 0 auto;
}

.eu-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 18, 25, 0.76), rgba(10, 18, 25, 0.46));
  backdrop-filter: blur(18px);
}

.eu-header-inner {
  width: min(1380px, calc(100vw - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.eu-brand {
  margin-right: auto;
}

.eu-brand img {
  display: block;
  width: 100px;
  height: auto;
}

.eu-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.eu-nav a {
  position: relative;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 700;
}

.eu-nav a:not(.eu-nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.eu-nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.eu-lang-switcher {
  position: relative;
}

.eu-lang-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 4px;
  color: #fff;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.eu-lang-switcher summary::-webkit-details-marker {
  display: none;
}

.eu-lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  min-width: 124px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(10, 18, 25, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.eu-lang-switcher[open] .eu-lang-menu {
  display: grid;
  gap: 6px;
}

.eu-lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  cursor: pointer;
}

.eu-lang-option:hover,
.eu-lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.eu-lang-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

.eu-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 150px 0 76px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 46%, rgba(33, 91, 173, 0.7), transparent 30%),
    linear-gradient(116deg, rgba(0, 51, 153, 0.98) 0%, rgba(17, 27, 36, 0.98) 63%, #0d151d 100%);
}

.eu-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -55%;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(255, 204, 0, 0.24);
  border-radius: 50%;
}

.eu-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.eu-orbit {
  position: absolute;
  border: 1px solid rgba(255, 204, 0, 0.28);
  border-radius: 50%;
}

.eu-orbit-one {
  top: 18%;
  right: 8%;
  width: 280px;
  height: 280px;
}

.eu-orbit-two {
  top: 26%;
  right: 12%;
  width: 150px;
  height: 150px;
}

.eu-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 72px;
  align-items: center;
}

.eu-hero-copy {
  max-width: 800px;
}

.eu-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--eu-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eu-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.eu-hero .eu-eyebrow {
  color: #ffb089;
}

.eu-hero h1,
.eu-section-heading h2,
.eu-project-card h3,
.eu-contact-card h2,
.eu-hero-mark strong {
  font-family: "Sora", sans-serif;
}

.eu-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.eu-lead {
  max-width: 64ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.eu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.eu-button-primary {
  margin-top: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--eu-orange), #ff8b52);
  box-shadow: 0 18px 38px rgba(239, 111, 60, 0.28);
}

.eu-button-secondary {
  color: var(--eu-text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--eu-line);
}

.eu-hero-mark {
  justify-self: end;
  width: min(100%, 410px);
  padding: 28px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(6, 18, 39, 0.52);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.eu-hero-mark img {
  display: block;
  width: 132px;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

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

.eu-hero-mark span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eu-hero-mark strong {
  font-size: 1.3rem;
  line-height: 1.25;
}

.eu-section {
  position: relative;
  padding: 88px 0;
}

.eu-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: 42%;
  height: 100%;
  background: linear-gradient(145deg, transparent 22%, rgba(255, 255, 255, 0.48) 22% 74%, transparent 74%);
  pointer-events: none;
}

.eu-section-heading {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 34px;
}

.eu-section-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.eu-section-heading > p:last-child {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--eu-muted);
  line-height: 1.7;
}

.eu-project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.eu-project-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--eu-line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 245, 0.72)),
    var(--eu-surface);
  box-shadow: var(--eu-shadow);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.eu-project-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 111, 60, 0.11), transparent 68%);
  pointer-events: none;
}

.eu-project-card:hover,
.eu-project-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(239, 111, 60, 0.3);
  box-shadow: 0 30px 82px rgba(24, 35, 45, 0.2);
}

.eu-project-card-featured {
  grid-column: 1 / -1;
  min-height: 320px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(120deg, rgba(0, 51, 153, 0.97), rgba(17, 27, 36, 0.97)),
    var(--eu-blue);
}

.eu-project-card-featured::before {
  content: "";
  position: absolute;
  top: -92px;
  right: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 204, 0, 0.28);
  border-radius: 50%;
}

.eu-project-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.eu-project-code {
  color: var(--eu-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eu-project-card-featured .eu-project-code {
  color: #ffb089;
}

.eu-project-status {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--eu-blue);
  background: var(--eu-yellow);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eu-project-card h3 {
  position: relative;
  z-index: 1;
  max-width: 24ch;
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.eu-project-card > p {
  position: relative;
  z-index: 1;
  max-width: 72ch;
  margin: 0;
  color: var(--eu-muted);
  line-height: 1.72;
}

.eu-project-card-featured > p {
  color: rgba(255, 255, 255, 0.76);
}

.eu-project-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.eu-project-meta-item {
  padding: 10px 13px;
  border-radius: 14px;
  color: var(--eu-muted);
  background: rgba(35, 69, 95, 0.07);
  font-size: 0.85rem;
  font-weight: 700;
}

.eu-project-meta-item strong {
  color: var(--eu-text);
}

.eu-project-card-featured .eu-project-meta-item {
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
}

.eu-project-card-featured .eu-project-meta-item strong {
  color: #fff;
}

.eu-project-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--eu-orange);
  font-weight: 900;
}

.eu-project-link::after {
  content: " →";
  display: inline-block;
  transition: transform 180ms ease;
}

.eu-project-link:hover::after,
.eu-project-link:focus-visible::after {
  transform: translateX(5px);
}

.eu-project-card-featured .eu-project-link {
  color: #ffb089;
}

.eu-source-note {
  position: relative;
  z-index: 1;
  margin: 26px 0 0;
  color: var(--eu-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.eu-source-note a {
  margin-left: 6px;
  color: var(--eu-orange);
  font-weight: 800;
}

.eu-contact-section {
  padding-top: 22px;
}

.eu-contact-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px;
  border: 1px solid var(--eu-line);
  border-radius: 30px;
  background: var(--eu-surface);
  box-shadow: var(--eu-shadow);
  backdrop-filter: blur(14px);
}

.eu-contact-card h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.eu-contact-card > div > p:last-child {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--eu-muted);
  line-height: 1.7;
}

.eu-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.eu-contact-actions .eu-button {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .eu-hero-layout,
  .eu-project-grid {
    grid-template-columns: 1fr;
  }

  .eu-hero-mark {
    justify-self: start;
  }

  .eu-project-card-featured {
    grid-column: auto;
  }

  .eu-contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .eu-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --eu-container: min(1200px, calc(100vw - 28px));
  }

  .eu-header {
    padding: 15px 0;
  }

  .eu-header-inner {
    width: calc(100vw - 28px);
    gap: 14px;
  }

  .eu-brand img {
    width: 84px;
  }

  .eu-nav a:not(:first-child) {
    display: none;
  }

  .eu-nav a {
    font-size: 0.88rem;
  }

  .eu-lang-flag {
    width: 22px;
    height: 15px;
  }

  .eu-hero {
    min-height: 780px;
    padding: 132px 0 54px;
  }

  .eu-hero-layout {
    gap: 42px;
  }

  .eu-hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .eu-lead {
    font-size: 0.98rem;
  }

  .eu-hero-mark {
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .eu-hero-mark img {
    width: 96px;
  }

  .eu-hero-mark strong {
    font-size: 1.05rem;
  }

  .eu-section {
    padding: 58px 0;
  }

  .eu-section-heading h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .eu-project-card {
    min-height: 0;
    padding: 22px;
    border-radius: 23px;
  }

  .eu-project-topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .eu-project-link {
    margin-top: 12px;
  }

  .eu-contact-card {
    padding: 24px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Shared light background used across LARISA product subpages. */
body {
  background: linear-gradient(90deg, #d6dbe0 0%, #eceff2 35%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(24, 35, 45, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 35, 45, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 78%);
}

.eu-page {
  background: transparent;
}

.eu-section::before {
  display: none;
}

/* Softer header-to-hero transition across LARISA pages. */
.topbar,
.ramp-header,
.mirror-header,
.equip-header,
.legal-header,
.eu-header {
  border-bottom-color: transparent !important;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 54, 0.74) 0%,
    rgba(15, 37, 54, 0.66) 52%,
    rgba(15, 37, 54, 0.44) 78%,
    rgba(15, 37, 54, 0.08) 100%
  ) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) saturate(118%);
}

.topbar::after,
.ramp-header::after,
.mirror-header::after,
.equip-header::after,
.legal-header::after,
.eu-header::after {
  bottom: -48px !important;
  height: 72px !important;
  background: linear-gradient(180deg, rgba(15, 37, 54, 0.3), rgba(15, 37, 54, 0.1) 42%, transparent) !important;
  filter: blur(20px) !important;
}

/* Seamless extended header fade into hero. */
.topbar,
.ramp-header,
.mirror-header,
.equip-header,
.legal-header,
.eu-header {
  border-bottom: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 54, 0.76) 0%,
    rgba(15, 37, 54, 0.7) 54%,
    rgba(15, 37, 54, 0.5) 100%
  ) !important;
  box-shadow: none !important;
  backdrop-filter: blur(22px) saturate(120%);
}

.topbar::after,
.ramp-header::after,
.mirror-header::after,
.equip-header::after,
.legal-header::after,
.eu-header::after {
  top: 100% !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  height: 104px !important;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 54, 0.5) 0%,
    rgba(15, 37, 54, 0.34) 24%,
    rgba(15, 37, 54, 0.16) 54%,
    rgba(15, 37, 54, 0.045) 78%,
    transparent 100%
  ) !important;
  filter: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
