@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #1e2b41;
  --orange: oklch(0.6516 0.1811 36.54);
  --ivory: oklch(0.956 0.0115 84.58);
  --graphite: oklch(0.262 0.0134 253.06);
  --white: oklch(1 0 0);
  --ink-muted: oklch(0.72 0.015 255);
  --line-dark: oklch(1 0 0 / 0.18);
  --line-light: oklch(0.2217 0.0389 259.89 / 0.18);
  --header-height: 5rem;
  --content-max: 80rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 40;
  --z-rail: 30;
  --z-consent: 60;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--navy);
}

body {
  margin: 0;
  color: var(--ivory);
  background: var(--navy);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

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

::selection {
  color: var(--white);
  background: var(--orange);
}

.skip-link {
  position: fixed;
  z-index: calc(var(--z-consent) + 1);
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--navy);
  background: var(--ivory);
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

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

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

h1,
h2,
h3 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-header {
  position: fixed;
  z-index: var(--z-header);
  inset: 0 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem clamp(1rem, 3vw, 3rem);
  background: transparent;
  transition: background-color 240ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: clamp(1rem, 4vw, 3rem);
  right: clamp(1rem, 4vw, 3rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(244, 240, 232, 0.25) 15%,
    rgba(244, 240, 232, 0.4) 50%,
    rgba(244, 240, 232, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.site-header.is-scrolled {
  background: transparent;
}

.site-header.is-menu-open {
  background: var(--navy);
}

.brand {
  flex: 0 0 auto;
  width: clamp(9.5rem, 15vw, 13.5rem);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav a {
  text-decoration: none;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 0.5rem;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

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

.nav-cta,
.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ease-out);
}

.nav-cta,
.button--primary {
  color: var(--white);
  background: var(--orange);
}

.nav-cta:hover,
.button--primary:hover {
  background: oklch(0.60 0.18 36.54);
  transform: translateY(-2px);
}

.button--light {
  color: var(--navy);
  background: var(--ivory);
}

.button--light:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.button--outline-light {
  color: var(--ivory);
  border: 1px solid oklch(1 0 0 / 0.62);
  background: transparent;
}

.button--outline-light:hover {
  color: var(--navy);
  background: var(--ivory);
}

.menu-toggle {
  display: none;
  min-width: 4.5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.4rem 0;
  border: 0;
  color: var(--ivory);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 650;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  width: 1.3rem;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__lines::before { top: -0.4rem; }
.menu-toggle__lines::after { top: 0.4rem; }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.journey-rail {
  position: fixed;
  z-index: var(--z-rail);
  top: 50%;
  right: clamp(1rem, 2.4vw, 2.5rem);
  width: 8.5rem;
  padding: 0.8rem 0.6rem 0.6rem 0;
  color: var(--ivory);
  background: linear-gradient(90deg, transparent, rgb(30 43 65 / 0.74));
  transform: translateY(-50%);
  transition: opacity 180ms ease;
}

.journey-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-rail li {
  min-height: 2.1rem;
}

.journey-rail a {
  display: block;
  padding-right: 0.4rem;
  color: oklch(1 0 0 / 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.journey-rail a.is-active {
  color: var(--white);
  transform: translateX(-0.15rem);
}

.journey-rail__line {
  position: absolute;
  top: 0.85rem;
  right: 0;
  bottom: 1.45rem;
  width: 2px;
  overflow: hidden;
  background: oklch(1 0 0 / 0.25);
}

.journey-rail__line span {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
}

.immersive-journey {
  position: relative;
  background: var(--navy);
}

.journey__viewport {
  position: relative;
}

.immersive-journey.is-enhanced {
  height: 860svh;
}

.is-enhanced .journey__viewport {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.journey-3d {
  display: none;
}

.is-enhanced .journey-3d {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--navy);
  opacity: var(--webgl-opacity, 0);
  pointer-events: none;
}

.journey-3d__canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 700ms ease;
}

.webgl-ready .journey-3d__canvas {
  opacity: 1;
}

.journey-3d__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  color: oklch(1 0 0 / 0.78);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: opacity 320ms ease;
}

.journey-3d__loader span {
  width: 2rem;
  height: 2rem;
  border: 2px solid oklch(1 0 0 / 0.18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: webgl-spin 900ms linear infinite;
}

.journey-3d__loader p {
  margin: 0;
}

.webgl-ready .journey-3d__loader {
  opacity: 0;
}

.journey-3d__hint {
  position: absolute;
  z-index: 2;
  bottom: clamp(4.7rem, 8vh, 6.5rem);
  left: 50%;
  margin: 0;
  color: oklch(1 0 0 / 0.78);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: var(--webgl-hint-opacity, 0);
  transform: translateX(-50%);
}

.journey-3d__hint span {
  display: inline-grid;
  width: 1.9rem;
  height: 1.9rem;
  margin-right: 0.55rem;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.48);
  border-radius: 50%;
  color: var(--orange);
  animation: webgl-nudge 1.8s var(--ease-out) infinite;
}

.webgl-ready .is-enhanced .scene[data-step="0"],
.webgl-ready .is-enhanced .scene[data-step="1"],
.webgl-ready .is-enhanced .scene[data-step="0"] .scene__sticky,
.webgl-ready .is-enhanced .scene[data-step="1"] .scene__sticky {
  background: transparent;
}

.webgl-ready .is-enhanced .scene[data-step="0"],
.webgl-ready .is-enhanced .scene[data-step="1"] {
  clip-path: none;
}

.webgl-ready .is-enhanced .scene[data-step="0"] .scene__image,
.webgl-ready .is-enhanced .scene[data-step="1"] .scene__image {
  opacity: var(--photographic-layer-opacity, 1);
  mix-blend-mode: normal;
  filter: brightness(var(--scene-brightness, 1)) saturate(var(--scene-saturation, 1)) blur(var(--scene-blur, 0px));
  transform: scale(var(--scene-scale)) translate3d(var(--photo-pan-x, 0%), var(--photo-pan-y, 0%), 0);
}

.webgl-ready .is-enhanced .journey-3d {
  visibility: hidden;
  mix-blend-mode: normal;
  opacity: var(--webgl-opacity, 0);
}

.webgl-ready .is-enhanced .journey-3d__canvas {
  filter: saturate(0.72) contrast(1.08);
}

.webgl-ready .is-enhanced .scene[data-step="0"] .scene__shade--hero {
  background:
    linear-gradient(90deg, oklch(0.1 0.03 260 / 0.72) 0%, oklch(0.1 0.03 260 / 0.3) 43%, transparent 68%),
    linear-gradient(to top, oklch(0.1 0.03 260 / 0.28), transparent 46%);
}

.webgl-ready .is-enhanced .scene[data-step="1"] .scene__shade--left {
  background: linear-gradient(90deg, oklch(0.1 0.03 260 / 0.73) 0%, oklch(0.1 0.03 260 / 0.46) 34%, transparent 67%);
}

.webgl-ready .is-enhanced .scene[data-step="0"] .scene__shade::after,
.webgl-ready .is-enhanced .scene[data-step="1"] .scene__shade::after {
  opacity: 0.45;
}

.webgl-ready .is-enhanced .journey__portal {
  opacity: 0;
}

@keyframes webgl-spin {
  to { transform: rotate(1turn); }
}

@keyframes webgl-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.35rem); }
}

.scene {
  --scene-scale: 1.04;
  --scene-clip: 0%;
  --scene-opacity: 1;
  --content-opacity: 1;
  position: relative;
  height: 138svh;
  background: var(--navy);
}

.scene--hero {
  height: 125svh;
}

.is-enhanced .scene {
  position: absolute;
  z-index: calc(2 + var(--step, 0));
  inset: 0;
  height: 100%;
  opacity: var(--scene-opacity);
  pointer-events: none;
}

.is-enhanced .scene[data-step="0"] { --step: 0; }
.is-enhanced .scene[data-step="1"] { --step: 1; }
.is-enhanced .scene[data-step="2"] { --step: 2; }
.is-enhanced .scene[data-step="3"] { --step: 3; }
.is-enhanced .scene[data-step="4"] { --step: 4; }
.is-enhanced .scene[data-step="5"] { --step: 5; }

.scene__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  isolation: isolate;
}

.is-enhanced .scene__sticky {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}

.scene__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--scene-brightness, 1)) saturate(var(--scene-saturation, 1)) blur(var(--scene-blur, 0px));
  transform: scale(var(--scene-scale)) translate3d(var(--photo-pan-x, 0%), var(--photo-pan-y, 0%), 0);
  transform-origin: center;
  will-change: transform, filter;
}

.is-enhanced .scene__image {
  transform: scale(var(--scene-scale)) translate3d(var(--photo-pan-x, 0%), var(--photo-pan-y, 0%), 0);
}

.scene__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.scene__shade::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(to top, oklch(0.1 0.025 260 / 0.72), transparent);
}

.scene__shade--hero {
  background:
    linear-gradient(90deg, oklch(0.1 0.03 260 / 0.88) 0%, oklch(0.1 0.03 260 / 0.52) 44%, transparent 72%),
    linear-gradient(to top, oklch(0.1 0.03 260 / 0.58), transparent 48%);
}

.scene__shade--left {
  background: linear-gradient(90deg, oklch(0.1 0.03 260 / 0.78) 0%, oklch(0.1 0.03 260 / 0.52) 34%, oklch(0.1 0.03 260 / 0.06) 64%, transparent 76%);
}

.scene__shade--right {
  background: linear-gradient(270deg, oklch(0.1 0.03 260 / 0.78) 0%, oklch(0.1 0.03 260 / 0.52) 34%, oklch(0.1 0.03 260 / 0.06) 64%, transparent 76%);
}

.scene__content {
  position: absolute;
  top: 50%;
  width: min(38rem, calc(100% - 3rem));
  transform: translateY(calc(-50% + var(--content-shift, 0px)));
  will-change: transform;
}

.is-enhanced .scene__content {
  opacity: var(--content-opacity);
  pointer-events: none;
}

.is-enhanced .scene.is-active .scene__content {
  pointer-events: auto;
}

.journey__portal,
.journey__vignette {
  display: none;
}

.is-enhanced .journey__portal,
.is-enhanced .journey__vignette {
  position: absolute;
  z-index: 18;
  inset: 0;
  display: block;
  pointer-events: none;
}

.is-enhanced .journey__portal {
  opacity: var(--portal-opacity, 0);
  background:
    radial-gradient(ellipse 32% 70% at 50% 50%, oklch(1 0 0 / 0.2), transparent 72%),
    linear-gradient(90deg, transparent, oklch(0.6516 0.1811 36.54 / 0.1) 50%, transparent);
  mix-blend-mode: screen;
}

.is-enhanced .journey__vignette {
  z-index: 19;
  box-shadow: inset 0 0 11vw oklch(0.08 0.02 260 / 0.54);
}

.journey__hud,
.journey__skip {
  display: none;
}

.is-enhanced .journey__hud {
  position: absolute;
  z-index: 22;
  right: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(15rem, 34vw);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.8rem;
  color: var(--ivory);
  font-size: 0.72rem;
  line-height: 1.3;
  text-shadow: 0 1px 10px oklch(0 0 0 / 0.55);
}

.journey__chapter-number {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--orange);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.journey__hud strong {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

.journey__hud-line {
  height: 2px;
  overflow: hidden;
  background: oklch(1 0 0 / 0.28);
}

.journey__hud-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.is-enhanced .journey__skip {
  position: absolute;
  z-index: 22;
  left: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.9rem;
  color: oklch(1 0 0 / 0.78);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}

.journey__stops {
  display: none;
}

.is-enhanced .journey__stops {
  display: block;
}

.immersive-journey.is-enhanced .journey__stops {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.immersive-journey.is-enhanced .journey__stops span {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 0;
}


.scene__content--left {
  left: max(1.5rem, calc((100vw - var(--content-max)) / 2));
}

.scene__content--right {
  right: max(8.5rem, calc((100vw - var(--content-max)) / 2));
}

.scene__content--hero {
  top: 53%;
  left: clamp(1.25rem, 7vw, 8rem);
  width: min(56rem, calc(100% - 3rem));
}

.hero-label,
.scene__marker {
  margin-bottom: 1.3rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-label {
  color: var(--ivory);
}

.hero-label::before {
  content: "";
  width: 2.5rem;
  height: 3px;
  display: inline-block;
  margin: 0 0.75rem 0.2rem 0;
  background: var(--orange);
}

.scene__content h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 6.2vw, 5.8rem);
}

.hero-copy {
  max-width: 62ch;
  margin-bottom: 2rem;
  color: oklch(1 0 0 / 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.text-link {
  padding: 0.7rem 0;
  font-weight: 650;
  text-underline-offset: 0.35rem;
}

.text-link span {
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--orange);
}

.time-status {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 1.4rem;
  margin: 0;
  color: oklch(1 0 0 / 0.72);
  font-size: 0.75rem;
}

.journey-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(20rem, 1.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - var(--content-max)) / 2));
  color: var(--navy);
  background: var(--ivory);
}

.journey-intro p {
  max-width: 30ch;
  font-weight: 600;
}

.journey-intro h2 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
}

.scene__marker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: oklch(1 0 0 / 0.76);
}

.scene__marker span {
  min-width: 2rem;
  color: var(--orange);
  font-size: 1rem;
}

.scene__content h2 {
  max-width: 14ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.25rem, 4.6vw, 4.7rem);
}

.scene__content > p:not(.scene__marker):not(.scene__statement) {
  max-width: 58ch;
  color: oklch(1 0 0 / 0.86);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.scene__statement {
  max-width: 48ch;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 3px solid var(--orange);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 650;
  line-height: 1.45;
}

.scene__legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  max-width: 54ch;
  margin: 1.8rem 0 2.2rem;
  border-top: 1px solid rgba(244, 240, 232, 0.35);
  border-bottom: 1px solid rgba(244, 240, 232, 0.35);
}

.scene__legend-item {
  padding: 0.9rem 0;
  color: var(--white);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 500;
  line-height: 1.35;
}

.scene__legend-item:nth-child(1),
.scene__legend-item:nth-child(2) {
  border-bottom: 1px solid rgba(244, 240, 232, 0.25);
}

.scene__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.scene__tags li {
  padding: 0.5rem 0.8rem;
  border: 1px solid oklch(1 0 0 / 0.42);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.solutions {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--content-max)) / 2));
  color: var(--navy);
  background: var(--ivory);
}

.solutions__heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(20rem, 1.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.solutions__heading > p {
  max-width: 25ch;
  font-weight: 700;
}

.solutions__heading h2 {
  max-width: 23ch;
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.7rem);
}

.solution-row {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.45fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(2.2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line-light);
}

.solution-row:last-of-type {
  border-bottom: 1px solid var(--line-light);
}

.solution-row__name span,
.solution-row__name strong {
  display: block;
}

.solution-row__name span {
  margin-bottom: 0.45rem;
  color: var(--orange);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.solution-row__name strong {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.solution-row > p {
  max-width: 65ch;
  margin: 0;
  align-self: center;
  color: oklch(0.33 0.025 258);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.territories {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.45fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-top: clamp(5rem, 10vw, 9rem);
}

.territories h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
}

.territories ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: territory;
}

.territories li {
  counter-increment: territory;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
  font-weight: 650;
}

.territories li::before {
  content: "0" counter(territory);
  color: var(--orange);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact {
  position: relative;
  z-index: 2;
  min-height: 85svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(6rem, 11vw, 10rem) max(1.5rem, calc((100vw - var(--content-max)) / 2));
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.contact__media {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.22) contrast(1.12) grayscale(0.15);
}

.contact__orange-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--orange);
  mix-blend-mode: multiply;
  opacity: 0.90;
  pointer-events: none;
}

.contact__content {
  position: relative;
  z-index: 3;
  max-width: 48rem;
}

.contact h2 {
  max-width: 20ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.contact__content > p {
  max-width: 60ch;
  margin-bottom: 2.2rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1.5fr auto auto auto;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  padding: 2.4rem max(1.5rem, calc((100vw - var(--content-max)) / 2));
  color: var(--navy);
  background: var(--ivory);
  font-size: 0.84rem;
}

.site-footer > img {
  width: clamp(9.5rem, 14vw, 12rem);
  height: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer > p:first-of-type {
  max-width: 55ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(16, 27, 45, 0.08);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}

.footer-social a:hover {
  color: var(--white);
  background: var(--orange);
  transform: translateY(-2px);
}

.consent {
  position: fixed;
  z-index: var(--z-consent);
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 70rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin: auto;
  padding: 1.4rem;
  color: var(--ivory);
  background: var(--graphite);
  box-shadow: 0 6px 8px oklch(0 0 0 / 0.26);
}

.consent[hidden] {
  display: none;
}

.consent h2 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.consent p {
  max-width: 70ch;
  margin: 0;
  color: oklch(1 0 0 / 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}

.consent__actions {
  display: flex;
  gap: 0.75rem;
}

.privacy-main {
  min-height: 100svh;
  padding: calc(var(--header-height) + 4rem) max(1.5rem, calc((100vw - 52rem) / 2)) 6rem;
  color: var(--navy);
  background: var(--ivory);
}

.privacy-main h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.privacy-main h2 {
  margin: 3rem 0 0.8rem;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}

.privacy-main p,
.privacy-main li {
  max-width: 72ch;
}

.privacy-main a {
  color: oklch(0.48 0.17 36.54);
  font-weight: 650;
}

@media (max-width: 70rem) {
  .journey-rail {
    display: none;
  }

  .scene__content--right {
    right: max(1.5rem, calc((100vw - var(--content-max)) / 2));
  }

  .site-footer {
    grid-template-columns: 0.7fr 1.8fr auto;
  }

  .site-footer > p:last-child {
    grid-column: 3;
  }
}

@media (max-width: 52rem) {
  :root {
    --header-height: 4.6rem;
  }

  .site-header {
    align-items: center;
  }

  .brand {
    width: 9.8rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .scene__legend-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .scene__legend-item:nth-child(3) {
    border-bottom: 1px solid rgba(244, 240, 232, 0.25);
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 1.5rem;
    background: var(--navy);
    transform: translateX(100%);
    transition: transform 280ms var(--ease-out);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .main-nav .nav-cta {
    margin-top: 1.5rem;
    padding-inline: 1rem;
    border-bottom: 0;
    font-size: 1rem;
  }

  .scene,
  .scene--hero {
    height: 118svh;
  }

  .immersive-journey.is-enhanced {
    height: 700svh;
  }

  .is-enhanced .scene,
  .is-enhanced .scene--hero {
    height: 100%;
  }

  .scene__sticky {
    min-height: 36rem;
  }

  .scene__image {
    object-position: center;
  }

  .scene__shade--hero,
  .scene__shade--left,
  .scene__shade--right {
    background: linear-gradient(to top, oklch(0.1 0.03 260 / 0.96) 2%, oklch(0.1 0.03 260 / 0.72) 54%, oklch(0.1 0.03 260 / 0.08) 84%);
  }

  .scene__content,
  .scene__content--hero,
  .scene__content--left,
  .scene__content--right {
    top: auto;
    right: 1.25rem;
    bottom: clamp(2rem, 7vh, 5rem);
    left: 1.25rem;
    width: auto;
    transform: translateY(var(--content-shift, 0px));
  }

  .scene__content h1 {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

  .scene__content h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-copy {
    max-width: 48ch;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-actions .text-link {
    text-align: center;
  }

  .time-status {
    display: none;
  }

  .is-enhanced .journey__skip {
    bottom: 1rem;
    left: 0.5rem;
  }

  .is-enhanced .journey__hud {
    right: 1rem;
    bottom: 1.25rem;
    width: min(13rem, 53vw);
  }

  .journey-intro,
  .solutions__heading,
  .solution-row,
  .territories,
  .contact {
    grid-template-columns: 1fr;
  }

  .journey-intro,
  .solutions {
    padding-inline: 1.25rem;
  }

  .solution-row,
  .territories {
    gap: 1.2rem;
  }

  .contact {
    min-height: auto;
    padding: 6rem 1.25rem;
  }

  .contact__symbol {
    position: absolute;
    top: 2rem;
    right: -4rem;
    width: 13rem;
    opacity: 0.22;
  }

  .contact__content {
    position: relative;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding-inline: 1.25rem;
  }

  .site-footer > p:last-child {
    grid-column: auto;
  }

  .consent {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .consent__actions {
    flex-direction: column-reverse;
  }
}

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

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

  .scene,
  .scene--hero {
    height: auto;
    min-height: 100svh;
  }

  .immersive-journey,
  .immersive-journey.is-enhanced {
    height: auto;
  }

  .journey__viewport,
  .is-enhanced .journey__viewport {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .is-enhanced .scene {
    position: relative;
    height: auto;
    min-height: 100svh;
    opacity: 1;
    clip-path: none;
  }

  .is-enhanced .scene__sticky {
    position: relative;
    min-height: 100svh;
  }

  .journey__portal,
  .journey__vignette,
  .journey__hud,
  .journey__skip,
  .journey__stops {
    display: none !important;
  }

  .scene__sticky {
    position: relative;
  }

  .scene__image,
  .scene__content {
    transform: none;
  }
}
