/* =========================================================
   AL WATIRA — Design system and section compositions
   Two typefaces only: Newsreader (display) and Manrope (text/UI).
   One shape language: square corners everywhere. The ribbon
   motif is the only curved element on the site.
   ========================================================= */

:root {
  /* Color */
  --color-navy: #0C2D52;
  --color-navy-deep: #071B33;
  --color-azure: #2A9BD8;
  --color-azure-soft: #8ACDF0;
  --color-ice: #EAF5FC;
  --color-ice-strong: #D3E9F7;
  --color-white: #FFFFFF;
  --color-slate: #4F5F72;
  --color-ink: #0E1A2B;
  --color-line: rgba(12, 45, 82, 0.14);

  /* Bootstrap bridge */
  --bs-primary: var(--color-navy);
  --bs-primary-rgb: 12, 45, 82;
  --bs-link-color: var(--color-navy);
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--color-ink);
  --bs-body-bg: var(--color-white);

  /* Typography: two families */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale */
  --fs-hero: clamp(3.4rem, 9.4vw, 9.2rem);
  --fs-display: clamp(2.6rem, 6vw, 5.6rem);
  --fs-h2: clamp(2.2rem, 4.4vw, 4rem);
  --fs-lead: clamp(1.125rem, 1.35vw, 1.3rem);

  /* Shape: one radius system, zero everywhere */
  --radius: 0;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 8.5vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 84px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.2, 1);
  --dur-fast: 0.25s;
  --dur-base: 0.5s;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
}
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-azure);
}

p { color: var(--color-slate); margin: 0; }
.lead-text { font-size: var(--fs-lead); color: var(--color-ink); line-height: 1.6; }

:focus-visible {
  outline: 2px solid var(--color-azure);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Primitives ---------- */
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-azure);
  margin-bottom: 1.5rem;
}
.eyebrow--light { color: var(--color-azure-soft); }

.section-title {
  font-size: var(--fs-h2);
  text-wrap: balance;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 1.5px solid var(--color-azure);
  transition: gap var(--dur-base) var(--ease-out), color var(--dur-fast);
}
.text-link:hover { gap: 0.9rem; color: var(--color-azure); }
.text-link--light { color: var(--color-white); border-color: var(--color-azure-soft); }
.text-link--light:hover { color: var(--color-azure-soft); }

/* ---------- Buttons: one style, square, consistent ---------- */
.btn {
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition:
    background-color var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-base) var(--ease-out);
  will-change: transform;
}
.btn i { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover i { transform: translate(3px, -3px); }
.btn-lg { font-size: 1rem; padding: 1.05rem 1.9rem; }

.btn-primary {
  --bs-btn-bg: var(--color-azure);
  --bs-btn-border-color: var(--color-azure);
  --bs-btn-hover-bg: var(--color-navy);
  --bs-btn-hover-border-color: var(--color-navy);
  --bs-btn-active-bg: var(--color-navy-deep);
  --bs-btn-active-border-color: var(--color-navy-deep);
  --bs-btn-color: var(--color-white);
  --bs-btn-hover-color: var(--color-white);
}

.btn-nav-cta {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.7rem 1.3rem;
  font-size: 0.92rem;
}
.btn-nav-cta:hover { background: var(--color-azure); color: var(--color-white); }

.btn-whatsapp {
  background: var(--color-azure);
  color: var(--color-white);
  border: 1.5px solid var(--color-azure);
}
.btn-whatsapp:hover { background: var(--color-white); border-color: var(--color-white); color: var(--color-navy); }

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--color-white); background: rgba(255, 255, 255, 0.08); color: var(--color-white); }

.btn-light-cta {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid var(--color-white);
}
.btn-light-cta:hover { background: var(--color-azure); border-color: var(--color-azure); color: var(--color-white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur-base) var(--ease-soft);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--color-line), 0 12px 30px -24px rgba(12, 45, 82, 0.5); }
.site-header .navbar { height: 100%; }

.brand-mark img {
  height: 50px;
  width: auto;
  transition: transform var(--dur-base) var(--ease-out);
}
.brand-mark:hover img { transform: scale(1.04); }

.nav-link {
  position: relative;
  color: var(--color-navy) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--color-azure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--color-azure) !important; }

.nav-toggle {
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  box-shadow: none !important;
}
.nav-toggle-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-navy);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle-line:nth-child(1) { top: 16px; }
.nav-toggle-line:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--color-azure);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Loader ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  place-items: center;
  background: var(--color-white);
  transition: opacity 0.5s var(--ease-soft), visibility 0.5s;
}
.site-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ribbon { width: 120px; height: 120px; overflow: visible; }

/* ---------- Ribbon motif ---------- */
.ribbon-path {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.ribbon-path--navy { stroke: var(--color-navy); }
.ribbon-path--azure { stroke: var(--color-azure); }

/* =========================================================
   SHARED — image frames (parallax and missing-image fallback)
   Frames are overflow-hidden. Images are 116% tall and offset by
   -8%, so a parallax shift of +/-8% of the frame never exposes an
   edge. GSAP moves the image by the matching percentage.
   ========================================================= */
.parallax-frame { position: relative; overflow: hidden; }
.parallax-frame > img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  max-width: none;
  will-change: transform;
}
/* A missing file never shows a broken image: the frame keeps its brand background */
.is-missing > img { display: none; }
.media-optional.is-missing { display: none; }

/* =========================================================
   HERO — full-width photograph, navy scrim, large type
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--color-navy-deep);
  color: var(--color-white);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media > img { object-position: 60% 40%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.94) 0%, rgba(7, 27, 51, 0.7) 42%, rgba(7, 27, 51, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 27, 51, 0.92) 0%, rgba(7, 27, 51, 0) 48%);
}
.hero-content {
  position: relative;
  padding-top: clamp(3rem, 10vh, 7rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 8.2vw, 8.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
}
.hero-line { display: block; }
.hero-line--accent { color: var(--color-azure-soft); }
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 28rem;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-credentials {
  position: relative;
  list-style: none;
  margin: 0;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-credentials li {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
/* =========================================================
   ABOUT — asymmetric editorial with layered genuine photographs
   ========================================================= */
.about {
  padding-block: var(--section-pad);
  background: var(--color-white);
}
.about-grid { align-items: center; }
.about-visual {
  position: relative;
  min-height: clamp(420px, 60vw, 640px);
  margin-bottom: 3rem;
}
.about-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 84%;
  height: 78%;
  margin: 0;
}
.about-image-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 8px solid var(--color-white);
  box-shadow: 0 30px 60px -30px rgba(12, 45, 82, 0.45);
  z-index: 1;
}
.about-copy { padding-inline-start: clamp(0rem, 3vw, 3.5rem); }
.about-copy .section-title { margin-bottom: 2rem; }
.about-copy .lead-text { margin-bottom: 1.25rem; }
.about-copy p:not(.lead-text):not(.eyebrow) { margin-bottom: 1rem; }
.about-facts {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--color-line);
}
.about-facts > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-line);
}
.about-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy);
  padding-top: 0.2rem;
}
.about-facts dd { margin: 0; font-size: 0.97rem; color: var(--color-slate); }
/* =========================================================
   VISION — full-width navy statement, lines fill on scroll
   ========================================================= */
.statement {
  position: relative;
  background: var(--color-navy);
  padding-block: clamp(5rem, 11vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}
.statement-media { position: absolute; inset: 0; z-index: -2; }
.statement-media > img { opacity: 0.28; filter: grayscale(0.35); }
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 45, 82, 0.96) 30%, rgba(12, 45, 82, 0.6) 100%);
  pointer-events: none;
}
.statement .container-fluid { position: relative; }
.statement .eyebrow { margin-bottom: 2.5rem; }
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-white);
  display: block;
  max-width: none;
}
.statement-line { display: block; color: var(--color-white); }
.statement-line em { color: var(--color-azure-soft); }
/* =========================================================
   ACTIVITIES — native horizontal scroller with snap points.
   The page scrolls vertically at all times: the scroller is
   never pinned and never captures the mouse wheel. Touch,
   trackpad, and keyboard all use the browser's own scrolling.
   ========================================================= */
.activities {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--color-white);
}
.activities-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.activities-head .section-title { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.activities-controls { display: flex; gap: 0.6rem; }
.activities-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--color-navy);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 1.1rem;
  transition: background-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft), opacity var(--dur-fast);
}
.activities-btn:hover:not(:disabled) { background: var(--color-navy); color: var(--color-white); }
.activities-btn:disabled { opacity: 0.3; cursor: default; }

.activities-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-azure) var(--color-ice);
}
.activities-track {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}
.activity-panel {
  position: relative;
  flex: 0 0 min(64vw, 860px);
  height: clamp(440px, 62vh, 640px);
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  color: var(--color-white);
  background: linear-gradient(160deg, #1A5C8F 0%, var(--color-navy) 58%, var(--color-navy-deep) 100%);
}
.activity-media { position: absolute; inset: 0; margin: 0; z-index: -2; }
.activity-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.activity-panel:hover .activity-media > img,
.activity-panel:focus-within .activity-media > img { transform: scale(1.05); }
.activity-media--brand {
  display: grid;
  place-items: center;
  background: var(--color-ice);
}
.activity-media--brand > img {
  width: min(60%, 420px);
  height: auto;
  object-fit: contain;
}
.activity-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 27, 51, 0.96) 0%, rgba(7, 27, 51, 0.6) 42%, rgba(7, 27, 51, 0.1) 100%);
  pointer-events: none;
}
.activity-panel--light { background: var(--color-ice); color: var(--color-navy); }
.activity-panel--light::after { display: none; }
.activity-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  max-width: 34rem;
}
.activity-roman {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-azure-soft);
  margin-bottom: 0.5rem;
}
.activity-panel--light .activity-roman { color: var(--color-azure); }
.activity-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: inherit;
  margin-bottom: 0.9rem;
}
.activity-body p { color: inherit; opacity: 0.82; font-size: 0.98rem; max-width: 30rem; margin: 0; }

.activities-progress {
  height: 2px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--color-line);
}
.activities-progress-bar {
  display: block;
  height: 100%;
  background: var(--color-azure);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s linear;
}
/* =========================================================
   EXPERIENCE — one editorial statement on ice
   ========================================================= */
.decade {
  position: relative;
  background: var(--color-ice);
  padding-block: var(--section-pad);
  overflow: hidden;
}
.timeline-ribbon {
  position: absolute;
  right: 0;
  top: 50%;
  width: 52%;
  height: 240px;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
  opacity: 0.7;
}
.timeline-ribbon .ribbon-path { stroke-width: 3; }
.decade-title {
  font-size: clamp(3rem, 9vw, 8.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
}
.decade-text {
  font-size: var(--fs-lead);
  max-width: 40rem;
  color: var(--color-ink);
  line-height: 1.6;
}

/* =========================================================
   NETWORK — typographic rows with rules, not cards
   ========================================================= */
.network {
  padding-block: var(--section-pad);
  background: var(--color-white);
}
.network-sticky {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}
.network-sticky p:not(.eyebrow) { margin-top: 1.75rem; }
.network-sticky .section-title { font-size: clamp(2.2rem, 4vw, 3.8rem); }

.facility-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--color-navy);
}
.facility-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--color-line);
  transition: padding-inline-start var(--dur-base) var(--ease-out);
}
.facility-row:hover { padding-inline-start: 1rem; }
.facility-kicker {
  grid-row: 1 / span 2;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-azure);
  padding-top: 0.6rem;
}
.facility-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--color-navy);
  transition: color var(--dur-fast);
}
.facility-row:hover .facility-name { color: var(--color-azure); font-style: italic; }
.facility-place {
  grid-column: 2;
  font-size: 0.97rem;
  margin-top: 0.4rem;
}
.facility-place i { color: var(--color-azure); }
.facility-note {
  margin-top: 2rem;
  font-size: 0.98rem;
  max-width: 36rem;
}

/* =========================================================
   BRANDS — OLAND as an editorial feature panel
   ========================================================= */
.brands { background: var(--color-white); }
.brand-stage {
  position: relative;
  min-height: clamp(380px, 52vw, 620px);
  height: 100%;
  background: var(--color-ice);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-stage::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border: 1px solid rgba(12, 45, 82, 0.12);
  pointer-events: none;
}
.brand-logo {
  width: min(62%, 540px);
  height: auto;
  will-change: transform;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
}
.brand-copy .section-title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-bottom: 0.5rem; }
.brand-copy .mt-4 { margin-top: 1.5rem !important; max-width: 30rem; }
.brand-next {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px dashed rgba(12, 45, 82, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.brand-next-text { font-style: italic; font-family: var(--font-display); font-size: 1.25rem; color: var(--color-navy); }

/* =========================================================
   PARTNERSHIPS — photographic, full-bleed, horizontal process
   ========================================================= */
.partnerships {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--color-navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.partnerships::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.85) 0%, rgba(7, 27, 51, 0.6) 50%, rgba(7, 27, 51, 0.95) 100%);
}
.partnerships-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-wrap: balance;
}
.partnerships-title em { color: var(--color-azure-soft); }
.partnerships-lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.85);
  max-width: 40rem;
  line-height: 1.6;
}

.process-line {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  position: relative;
}
.process-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(138, 205, 240, 0.4);
}
.process-line li {
  position: relative;
  padding-top: 2rem;
}
.process-line li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--color-azure-soft);
}
.process-step {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.process-line p { color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; max-width: 22rem; }

.partnerships-cta { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* =========================================================
   WHY — four identical stacked panels
   One rule set for all four. The only per-card value is the
   --stack-index variable, which sets its sticky offset and
   z-index, so the stack is a single calculation.
   ========================================================= */
.why {
  padding-block: var(--section-pad);
  background: var(--color-ice);
}
.stack { display: flex; flex-direction: column; }
.stack-card {
  --stack-index: 0;
  position: sticky;
  top: calc(var(--header-h) + 2rem + var(--stack-index) * 1.25rem);
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  min-height: clamp(16rem, 36vh, 20rem);
  padding: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 1.25rem;
  background: var(--color-white);
  border-top: 2px solid var(--color-navy);
  box-shadow: 0 -18px 40px -26px rgba(12, 45, 82, 0.4);
  transform-origin: top center;
  will-change: transform;
}
.stack-card--1 { --stack-index: 0; z-index: 1; }
.stack-card--2 { --stack-index: 1; z-index: 2; }
.stack-card--3 { --stack-index: 2; z-index: 3; }
.stack-card--4 { --stack-index: 3; z-index: 4; }
.stack-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin: 0;
}
.stack-card p { max-width: 40rem; font-size: 1.02rem; margin: 0; }
.why-figure {
  margin: 2rem 0 0;
  aspect-ratio: 4 / 3;
  background: var(--color-ice-strong);
}
/* Partnerships backdrop (shared frame rules apply) */
.partnerships-media { position: absolute; inset: 0; z-index: -2; }
.partnerships-media > img { opacity: 0.4; }

/* =========================================================
   CONTACT — high-contrast close with large ribbon
   ========================================================= */
.contact {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--color-navy);
  overflow: hidden;
  isolation: isolate;
}
.contact-ribbon {
  position: absolute;
  top: -4%;
  right: -2%;
  width: 56%;
  height: 72%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}
.contact-ribbon .ribbon-path { stroke-width: 2.5; }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.contact-title em { color: var(--color-azure-soft); }
.contact-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lead);
  max-width: 30rem;
  margin-bottom: 2.25rem;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1rem;
  align-items: center;
}
.contact-details {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-details > div {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-details dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-azure-soft);
  margin-bottom: 0.35rem;
}
.contact-details dd {
  margin: 0;
  color: var(--color-white);
  font-size: 1.02rem;
  line-height: 1.6;
}
.contact-tag {
  display: inline-block;
  margin-inline-start: 0.5rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-azure);
  color: var(--color-white);
  vertical-align: middle;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}
.footer-logo {
  width: 88px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: flex-end;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--color-azure-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.footer-links a:hover { color: var(--color-white); }
.footer-links a:hover::after { transform: scaleX(1); }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--color-azure);
  color: var(--color-white);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-out), visibility var(--dur-base), background-color var(--dur-fast);
  text-decoration: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-navy); color: var(--color-white); }


/* Optional network photograph (collapses while the file is absent) */
.network-figure {
  margin: 2.5rem 0 0;
  aspect-ratio: 4 / 3;
  background: var(--color-ice);
}
