/* ==========================================================================
   RAWASI CAPITAL — Industrial Editorial
   1. Font & tokens      6. Header / menu      11–13. Inner pages → inner.css
   2. Base               7. Hero (home)        14. Motion
   3. Layout             8. Home sections      15. Responsive
   4. Type & motif       9. CTA / footer
   5. Buttons & links   10. Floating contact
   ========================================================================== */

/* 1. Font & tokens ------------------------------------------------------- */
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/alexandria-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #f58223;
  --orange-dark: #f58223;
  --orange-soft: #f58223; /* orange for text on navy surfaces */
  --orange-ink: #f58223; /* orange for small text on light surfaces */

  --navy: #0c3460;
  --navy-deep: #0c3460; /* photo shades: rgba(12, 52, 96, …) */
  --navy-soft: #0c3460;
  --navy-mid: #0c3460;

  --surface: #f5f6f8;
  --surface-alt: #eceff3;
  --surface-deep: #dde2e9;

  --text-dark: #0c3460;
  --text-light: #f5f7fa;
  --muted-dark: #5b6678;
  --muted-light: rgba(245, 247, 250, 0.66);
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(12, 52, 96, 0.12);
  --error: #b3261e;
  --shadow-1: 0 4px 16px rgba(0, 0, 0, 0.08); /* light black shadow for boxes */
  --shadow-2: 0 10px 28px rgba(0, 0, 0, 0.12); /* same, on hover / active */

  --font: "Alexandria", "Segoe UI", Tahoma, system-ui, sans-serif;

  --fs-mega: clamp(46px, 8vw, 146px);
  --fs-h2: clamp(32px, 4vw, 68px);
  --fs-h3: clamp(22px, 2vw, 34px);
  --fs-statement: clamp(24px, 3vw, 50px);
  --fs-lead: clamp(17px, 1.35vw, 21px);
  --fs-body: clamp(16px, 1.06vw, 17.5px);
  --fs-code: 11px;

  --container: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --sp-1: clamp(64px, 8vw, 112px);
  --sp-2: clamp(72px, 10vw, 144px);
  --sp-3: clamp(88px, 12.5vw, 184px);

  --hh: 92px;
  --hh-s: 70px;
  --logo-h: 68px;
  --cut: clamp(18px, 2.4vw, 40px);

  --ease: cubic-bezier(0.215, 0.61, 0.355, 1); /* power3.out */
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1); /* mechanical in-out */
  --t1: 0.6s;
  --t2: 0.8s;
  --t3: 1s;
}

/* 2. Base ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hh-s) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-dark);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.45;
  text-wrap: balance;
} /* Alexandria's Arabic ascenders/descenders need the room */
p {
  text-wrap: pretty;
}

::selection {
  background: var(--orange);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
}

.skip {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

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

/* 3. Layout -------------------------------------------------------------- */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* Split header shared by many sections: heading (right) + intro (left). */
.split-head {
  align-items: end;
}

/* 4. Type & motif -------------------------------------------------------- */
.code {
  font-size: var(--fs-code);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted-dark);
}
.marker__no {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
}
.marker__rule {
  width: clamp(40px, 5vw, 72px);
  height: 9px;
  color: var(--orange-dark);
  background:
    linear-gradient(currentColor, currentColor) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(to left, currentColor 0 1px, transparent 1px 8px)
      bottom / 100% 4px no-repeat,
    repeating-linear-gradient(to left, currentColor 0 1px, transparent 1px 32px)
      bottom / 100% 9px no-repeat;
}
.marker--light {
  color: var(--muted-light);
}
.marker--light .marker__no {
  color: var(--orange-soft);
}
.marker--light .marker__rule {
  color: var(--orange);
  opacity: 0.7;
}

/* Measurement ruler — the core motif. */
.ruler {
  display: block;
  height: 10px;
  color: var(--orange);
  opacity: 0.7;
  background:
    linear-gradient(currentColor, currentColor) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(to left, currentColor 0 1px, transparent 1px 8px)
      bottom / 100% 4px no-repeat,
    repeating-linear-gradient(to left, currentColor 0 1px, transparent 1px 40px)
      bottom / 100% 10px no-repeat;
}

/* Refined safety marking: orange hairlines, never loud stripes. */
.hatch {
  display: block;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 1.5px,
    transparent 1.5px 9px
  );
  opacity: 0.85;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13px;
  line-height: 1.6;
}
.crumbs li {
  opacity: 0.7;
}
.crumbs li + li::before {
  content: "/";
  margin-inline-end: 10px;
  opacity: 0.5;
}
.crumbs [aria-current] {
  opacity: 1;
}

/* 5. Buttons & links ----------------------------------------------------- */
.btn {
  --bc: currentColor;
  --fill: var(--orange);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 26px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid var(--bc);
  border-radius: 2px;
  overflow: hidden;
  transition:
    color var(--t1) var(--ease),
    border-color var(--t1) var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--t1) var(--ease);
}
.btn .i {
  width: 18px;
  height: 18px;
  transition: transform var(--t1) var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
}
.btn:hover .i--arrow,
.btn:focus-visible .i--arrow {
  transform: translateX(-5px);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  --bc: var(--orange);
  --fill: var(--text-light);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--navy);
  --bc: var(--text-light);
}
.btn--line {
  color: var(--text-light);
  --bc: rgba(245, 247, 250, 0.34);
}
.btn--line:hover,
.btn--line:focus-visible {
  color: #fff;
  --bc: var(--orange);
}
.btn--dark {
  background: var(--navy);
  color: var(--text-light);
  --bc: var(--navy);
}
.btn--dark:hover,
.btn--dark:focus-visible {
  color: #fff;
  --bc: var(--orange);
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  gap: 10px;
}
.btn--sm .i {
  width: 16px;
  height: 16px;
}
.btn--lg {
  min-height: 64px;
  padding: 0 34px;
  font-size: 17px;
}

.link-u {
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px
    no-repeat;
  padding-bottom: 2px;
  transition:
    background-size var(--t1) var(--ease),
    color 0.3s;
}
.link-u:hover,
.link-u:focus-visible {
  background-size: 100% 1px;
}

/* Hover rail used by list rows: orange line sweeping in from the right. */
.reason::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--t2) var(--ease);
  pointer-events: none;
}

/* 6. Header / menu ------------------------------------------------------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--hh);
  color: var(--text-light);
  border-bottom: 1px solid transparent;
  transition:
    height var(--t2) var(--ease),
    background-color var(--t2) var(--ease),
    border-color var(--t2) var(--ease),
    color 0.4s;
}
.hdr__in {
  height: 100%;
  max-width: 1760px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.hdr__logo {
  position: relative;
  justify-self: start;
  display: block;
}
.hdr__logo-img {
     width: auto;
    height: 50px;
    transition: height var(--t2) var(--ease);
}

.hdr.is-scrolled,
.hdr.is-menu {
  --logo-h: 50px;
  height: var(--hh-s);
  background: var(--navy);
  border-bottom-color: var(--border-dark);
}

[data-tone="light"] .hdr:not(.is-scrolled):not(.is-menu) {
  color: var(--text-dark);
}
[data-tone="light"]
  .hdr:not(.is-scrolled):not(.is-menu)
  :is(.btn--primary:hover, .btn--primary:focus-visible) {
  --fill: var(--navy);
  color: var(--text-light);
  --bc: var(--navy);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 12px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.82;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  background: var(--orange);
  transform: translateX(50%) scaleX(0);
  transition: transform var(--t1) var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link.is-current,
.nav__btn[aria-expanded="true"] {
  opacity: 1;
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__link.is-current::after {
  transform: translateX(50%) scaleX(1);
}
.i--chev {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
.nav__btn[aria-expanded="true"] .i--chev {
  transform: rotate(180deg);
}

.nav__drop {
  position: relative;
}
.nav__drop::after {
  content: "";
  position: absolute;
  inset: 100% -20px auto;
  height: 24px;
}

.drop {
  position: absolute;
  top: calc(100% + 20px);
  right: 50%;
  width: min(540px, 90vw);
  padding: 8px;
  color: var(--text-light);
  background: var(--navy-soft);
  border: 1px solid var(--border-dark);
  border-top: 2px solid var(--orange);
  transform: translateX(50%);
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path var(--t1) var(--ease),
    opacity 0.3s,
    visibility 0s linear var(--t1);
}
.nav__drop.is-open .drop {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0);
  transition:
    clip-path var(--t1) var(--ease),
    opacity 0.2s,
    visibility 0s;
}
.drop__head {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 12px;
  margin-bottom: 6px;
  color: var(--muted-light);
  border-bottom: 1px solid var(--border-dark);
}
.drop__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  transition: background-color 0.3s;
}
.drop__item::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 0;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transition: transform var(--t1) var(--ease);
}
.drop__item:hover,
.drop__item:focus-visible {
  background: rgba(255, 255, 255, 0.045);
}
.drop__item:hover::before,
.drop__item:focus-visible::before,
.drop__item[aria-current="page"]::before {
  transform: scaleY(1);
}
.drop__no {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange-soft);
}
.drop__txt {
  display: grid;
  gap: 4px;
}
.drop__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.drop__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-light);
}
.drop__item .i {
  width: 18px;
  color: var(--orange);
  transition: transform var(--t1) var(--ease);
}
.drop__item:hover .i {
  transform: translateX(-5px);
}

.hdr__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hdr__tel {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.82;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s;
}
.hdr__tel:hover {
  opacity: 1;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 2px;
}
.burger__bar {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--t1) var(--ease);
}
.burger[aria-expanded="true"] .burger__bar:first-child {
  transform: translateY(4.25px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__bar:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  padding-top: calc(var(--hh-s) + 20px);
  padding-bottom: 32px;
  overflow-y: auto;
  color: var(--text-light);
  background: var(--navy);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path var(--t2) var(--ease-io),
    visibility 0s linear var(--t2);
}
.menu.is-open {
  visibility: visible;
  clip-path: inset(0);
  transition:
    clip-path var(--t2) var(--ease-io),
    visibility 0s;
}
.menu__in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.menu__list > li {
  border-top: 1px solid var(--border-dark);
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 600;
  line-height: 1.4;
}
.menu__link[aria-current="page"] {
  color: var(--orange-soft);
}
.menu__no {
  min-width: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange-soft);
}
.menu__sub {
  display: grid;
  gap: 2px;
  padding: 0 44px 18px 0;
}
.menu__sub a {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 18px;
  font-weight: 500;
  color: rgba(245, 247, 250, 0.84);
}
.menu__sub a[aria-current="page"] {
  color: var(--orange-soft);
}
.menu__subno {
  padding-top: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange-soft);
}
.menu__foot {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  font-size: 16px;
  border-top: 1px solid var(--border-dark);
}
.menu__foot a:first-child {
  font-size: 22px;
  font-weight: 600;
  text-align: right;
}

@media (prefers-reduced-motion: no-preference) {
  .menu__list > li {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.5s var(--ease),
      transform 0.6s var(--ease);
  }
  .menu.is-open .menu__list > li {
    opacity: 1;
    transform: none;
  }
  .menu.is-open .menu__list > li:nth-child(1) {
    transition-delay: 0.18s;
  }
  .menu.is-open .menu__list > li:nth-child(2) {
    transition-delay: 0.24s;
  }
  .menu.is-open .menu__list > li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .menu.is-open .menu__list > li:nth-child(4) {
    transition-delay: 0.36s;
  }
}

body.menu-open {
  overflow: hidden;
}

/* 7. Hero (home) --------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(640px, 100svh, 1200px);
  overflow: hidden;
  color: var(--text-light);
  background: var(--navy);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
/* Hero shade: strong on the right (RTL copy), transparent toward the left. */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to left, rgba(12, 52, 96, .93) 0%, rgba(12, 52, 96, .77) 34%, rgba(12, 52, 96, .34) 66%, rgba(12, 52, 96, 0) 100%);
}

.hero__in {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 48px);
  padding-top: calc(var(--hh) + clamp(24px, 4vh, 48px));
  padding-bottom: clamp(24px, 4vh, 40px);
}
.hero__content {
  max-width: 600px;
  margin-block: auto;
}
.hero__org {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  color: white;
}
.hero__org::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero__title {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.45;
}
.hero__accent {
  color: var(--orange);
}
.hero__lead {
  max-width: 36em;
  margin-bottom: clamp(24px, 3.4vh, 36px);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.9;
  color: rgba(245, 247, 250, 0.86);
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--glass {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
  --bc: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass:hover,
.btn--glass:focus-visible {
  color: #fff;
  --bc: var(--orange);
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .btn--glass {
    background-color: rgba(12, 52, 96, 0.88);
  }
}

/* 8. Home sections ------------------------------------------------------- */

/* Story (about): text column + photo collage */
.story {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-3) var(--sp-2);
  background: var(--surface-alt);
}
.story__word {
  position: absolute;
  top: clamp(40px, 6vw, 100px);
  left: -3vw;
  font-size: clamp(160px, 30vw, 520px);
  font-weight: 800;
  line-height: 0.8;
  white-space: nowrap;
  color: var(--navy);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}
.story .grid {
  position: relative;
  align-items: center;
}
.story__text {
  grid-column: 1 / span 5;
}
.story__kicker {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-ink);
}
.story__title {
  margin-bottom: clamp(22px, 2.6vw, 36px);
  font-size: clamp(32px, 3.6vw, 58px);
  line-height: 1.45;
}
.story__body {
  display: grid;
  gap: 18px;
  max-width: 36em;
  margin-bottom: 36px;
  color: var(--muted-dark);
}
.story__body p:first-child {
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--text-dark);
}

.collage {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 13.5vw, 212px);
  grid-template-areas:
    "a a b"
    "a a c"
    "d e e";
  gap: clamp(10px, 1vw, 14px);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-deep);
  isolation: isolate;
}
.tile--a {
  grid-area: a;
}
.tile--b {
  grid-area: b;
}
.tile--c {
  grid-area: c;
}
.tile--d {
  grid-area: d;
}
.tile--e {
  grid-area: e;
}
.tile__media {
  position: absolute;
  inset: 0;
}
.tile__media[data-parallax] > img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.2);
  transition: scale 1.2s var(--ease);
}
.tile:hover .tile__media > img {
  scale: 1.06;
}

/* Chapters (services) */
.chapters {
  padding-block: var(--sp-2) var(--sp-1);
  color: var(--text-light);
  background: var(--navy);
  transition: background-color var(--t3) var(--ease);
}
.chapters[data-active="1"] {
  background: #0c3460;
}
.chapters[data-active="2"] {
  background: #0c3460;
}
.chapters__head {
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 96px);
}
.chapters__heading {
  grid-column: 1 / span 7;
}
.chapters__title {
  font-size: var(--fs-h2);
}
.chapters__intro {
  grid-column: 1 / span 6;
  max-width: 36em;
  margin-top: 14px;
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--muted-light);
}
.chapters__list {
  grid-column: 1 / span 6;
}
.chapters__aside {
  grid-column: 8 / span 5;
}
.chapters__sticky {
  position: sticky;
  top: calc(var(--hh-s) + 32px);
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 20px;
  height: calc(100svh - var(--hh-s) - 64px);
  max-height: 860px;
}
.chapters__plate {
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
  border-radius: 12px;
}
.chapters__frame {
  position: absolute;
  inset: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.chapters__frame.is-prev {
  z-index: 0;
  visibility: visible;
  clip-path: inset(0);
}
.chapters__frame.is-active {
  z-index: 1;
  visibility: visible;
  clip-path: inset(0);
  transition: clip-path var(--t3) var(--ease-io);
}
.chapters__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.08);
  transition: transform 1.6s var(--ease);
}
.chapters__frame.is-active img {
  transform: scale(1);
}
.chapters__index {
  position: relative;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 250, 0.34);
}
.chapters__index::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--border-dark);
}
.chapters__index::after {
  content: "";
  position: absolute;
  top: 0;
  left: -0.5px;
  width: 2px;
  height: 33.333%;
  background: var(--orange);
  transition: transform var(--t2) var(--ease);
}
.chapters[data-active="1"] .chapters__index::after {
  transform: translateY(100%);
}
.chapters[data-active="2"] .chapters__index::after {
  transform: translateY(200%);
}
.chapters__index li {
  padding-inline-end: 12px;
  text-align: left;
  transition: color 0.4s;
}
.chapters__index li.is-active {
  color: var(--orange-soft);
}

.chapter {
  display: flex;
  align-items: center;
  min-height: min(78svh, 760px);
  border-top: 1px solid var(--border-dark);
}
.chapter:last-child {
  border-bottom: 1px solid var(--border-dark);
}
.chapter__link {
  position: relative;
  display: block;
  width: 100%;
  padding-block: clamp(40px, 6vw, 72px);
}
.chapter__rail {
  position: absolute;
  top: -1px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--t3) var(--ease);
}
.chapter.is-active .chapter__rail {
  transform: scaleX(0.32);
}
.chapter__link:hover .chapter__rail,
.chapter__link:focus-visible .chapter__rail {
  transform: scaleX(1);
}
.chapter__no {
  display: block;
  margin-bottom: clamp(18px, 3vw, 36px);
  font-size: clamp(84px, 10.5vw, 184px);
  font-weight: 300;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 250, 0.22);
  transition: -webkit-text-stroke-color var(--t2) var(--ease);
}
.chapter.is-active .chapter__no {
  -webkit-text-stroke-color: var(--orange);
}
.chapter__media {
  display: none;
}
.chapter__title {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.3vw, 54px);
  transition: transform var(--t1) var(--ease);
}
.chapter__link:hover .chapter__title {
  transform: translateX(-8px);
}
.chapter__text {
  display: block;
  max-width: 34em;
  margin-bottom: 28px;
  line-height: 1.9;
  color: var(--muted-light);
}
.chapter__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--orange-soft);
}
.chapter__more .i {
  transition: transform var(--t1) var(--ease);
}
.chapter__link:hover .chapter__more .i {
  transform: translateX(-6px);
}

/* Manifesto (why) */
.manifesto {
  padding-block: var(--sp-3);
  background: var(--surface);
}
.manifesto__statement {
  grid-column: 1 / span 5;
  align-self: start;
  position: sticky;
  top: calc(var(--hh-s) + 56px);
}
.manifesto__title {
  margin-bottom: 28px;
  font-size: var(--fs-h2);
}
.manifesto__text {
  max-width: 30em;
  color: var(--muted-dark);
}
.manifesto__list {
  grid-column: 7 / span 6;
  border-bottom: 1px solid var(--border-light);
}
.reason {
  position: relative;
  display: grid;
  grid-template-columns: 52px 28px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  padding-block: 30px;
  border-top: 1px solid var(--border-light);
}
.reason:hover::before {
  transform: scaleX(1);
}
.reason__no {
  padding-top: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange-ink);
}
.reason__icon {
  width: 26px;
  height: 26px;
  margin-top: 4px;
  color: var(--muted-dark);
  transition: color 0.4s;
}
.reason:hover .reason__icon {
  color: var(--orange-dark);
}
.reason__title {
  margin-bottom: 6px;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  transition: transform var(--t1) var(--ease);
}
.reason:hover .reason__title {
  transform: translateX(-6px);
}
.reason__text {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted-dark);
}
.reason--key {
  padding-block: 40px 44px;
}
.reason--key::before {
  transform: scaleX(1);
}
.reason--key .reason__title {
  margin-bottom: 12px;
  font-size: clamp(34px, 3.6vw, 60px);
  font-weight: 700;
  line-height: 1.4;
}
.reason--key .reason__icon {
  width: 30px;
  height: 30px;
  color: var(--orange-dark);
}
.reason--key .reason__text {
  max-width: 28em;
  font-size: var(--fs-lead);
  color: var(--text-dark);
}
.reason__hatch {
  grid-column: 3;
  display: block;
  width: min(240px, 70%);
  height: 8px;
  margin-top: 26px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange-dark) 0 1.5px,
    transparent 1.5px 9px
  );
}

/* Sectors: glass slider over a dimmed field photograph */
.sectors {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--sp-2);
  color: var(--text-light);
  background: var(--navy-soft);
}
.sectors__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sectors__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  filter: saturate(0.8) brightness(0.42);
}
.sectors__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 52, 96, 0.5);
}
.sectors__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sectors__heading {
  max-width: 640px;
}
.sectors__title {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.5;
}
.sectors__intro {
  font-size: 16px;
  color: var(--muted-light);
}

.slider-ctrl {
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.slider-ctrl__count {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  font-variant-numeric: tabular-nums;
}
.slider-ctrl__count span {
  color: var(--text-light);
}
.slider-ctrl__count i {
  width: 14px;
  height: 1px;
  background: var(--muted-light);
}
.slider-ctrl__bar {
  position: relative;
  width: 120px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
}
.slider-ctrl__bar span {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: 100% 50%;
  transform: scaleX(var(--sp, 0.125));
  transition: transform 0.5s var(--ease);
}
.slider-ctrl__btns {
  display: flex;
  gap: 8px;
}
.slider-ctrl__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s,
    opacity 0.3s;
}
.slider-ctrl__btn .i {
  width: 18px;
  height: 18px;
  transition: transform var(--t1) var(--ease);
}
.slider-ctrl__btn--prev .i {
  transform: scaleX(-1);
}
.slider-ctrl__btn:hover:not(:disabled) {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}
.slider-ctrl__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.sectors__track {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex;
  gap: clamp(14px, 1.4vw, 20px);
  padding-inline: var(--edge);
  padding-block: 6px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  cursor: grab;
}
.sectors__track::-webkit-scrollbar {
  display: none;
}
.sectors__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.sectors__track:focus-visible {
  outline-offset: -2px;
}

.scard {
  position: relative;
  flex: 0 0 clamp(260px, 23vw, 330px);
  display: flex;
  flex-direction: column;
  padding: 10px;
  scroll-snap-align: start;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  transition:
    border-color 0.4s,
    box-shadow var(--t1) var(--ease),
    transform var(--t1) var(--ease),
    background-color 0.4s;
}
.scard:hover,
.scard:focus-within {
  border-color: rgba(245, 130, 35, 0.55);
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}
.scard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
}
.scard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1s var(--ease);
  pointer-events: none;
}
.scard:hover .scard__media img {
  transform: scale(1.04);
}
.scard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 10px 8px;
}
.scard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.scard__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--orange);
  background: rgba(245, 130, 35, 0.1);
  border: 1px solid rgba(245, 130, 35, 0.3);
  border-radius: 10px;
}
.scard__icon .i {
  width: 22px;
  height: 22px;
}
.scard__no {
  color: var(--muted-light);
}
.scard__name {
  flex: 1;
  margin-bottom: 20px;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 600;
  line-height: 1.55;
}
.scard__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--orange-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.scard__link .i {
  width: 18px;
  height: 18px;
  transition: transform var(--t1) var(--ease);
}
.scard__link:hover .i,
.scard__link:focus-visible .i {
  transform: translateX(-5px);
}
.scard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .scard,
  .slider-ctrl__btn {
    background-color: rgba(12, 52, 96, 0.92);
  }
}

/* Operational track (process): scroll-driven route with step cards */
.track-sec {
  position: relative;
  background: var(--surface-alt);
}
.track-sec__pin {
  padding-block: var(--sp-2);
}
.track-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.track-sec__title {
  max-width: 13em;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.5;
}

/* Live stage panel */
.pstat {
  flex: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 18px;
  min-width: 280px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(12, 52, 96, 0.08);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.pstat__label {
  grid-column: 1 / -1;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted-dark);
}
.pstat__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.pstat__num b {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: var(--orange-dark);
}
.pstat__num i {
  font-style: normal;
  font-size: 14px;
  color: var(--muted-dark);
}
.pstat__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}
.pstat__bars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 12px;
}
.pstat__bars i {
  height: 4px;
  border-radius: 2px;
  background: rgba(12, 52, 96, 0.1);
  transition: background-color 0.5s var(--ease);
}
.pstat__bars i.on {
  background: var(--orange);
}
.pstat.is-swap .pstat__num b,
.pstat.is-swap .pstat__name {
  animation: stat-swap 0.5s var(--ease);
}
@keyframes stat-swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Route line + truck */
.track {
  position: relative;
  --p: 1;
  --rail-y: 23px;
}
.track__line {
  position: absolute;
  top: calc(var(--rail-y) - 1px);
  right: 0;
  left: 0;
  height: 2px;
  background: repeating-linear-gradient(
    to left,
    rgba(12, 52, 96, 0.22) 0 10px,
    transparent 10px 18px
  );
}
.track__fill {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(var(--p));
  transform-origin: 100% 50%;
}
.track__truck {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: calc(var(--p) * 100%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  background: var(--navy);
  border-radius: 12px;
  transform: translate(50%, -50%);
}
.track__truck .i {
  width: 24px;
  height: 24px;
  transform: scaleX(-1);
} /* face the direction of travel (RTL) */

.track__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.track__step {
  position: relative;
  padding-top: calc(var(--rail-y) * 2 + 22px);
}
.track__node {
  position: absolute;
  z-index: 1;
  top: calc(var(--rail-y) - 9px);
  right: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--surface-alt);
  border: 2px solid rgba(12, 52, 96, 0.25);
  border-radius: 50%;
  transition:
    background-color 0.4s,
    border-color 0.4s;
}
.track__node .i {
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.track__step.is-on .track__node {
  background: var(--orange);
  border-color: var(--orange);
}
.track__step.is-on:not(.is-current) .track__node .i {
  opacity: 1;
  transform: none;
}
.track__step.is-current .track__node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  animation: ping 1.6s var(--ease) infinite;
}
@keyframes ping {
  from {
    opacity: 0.8;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* Step card */
.pcard {
  position: relative;
  height: 100%;
  padding: 22px 22px 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(12, 52, 96, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform var(--t2) var(--ease),
    background-color 0.5s,
    border-color 0.5s,
    box-shadow 0.6s var(--ease),
    opacity 0.6s var(--ease);
}
.pcard__rail {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.8s var(--ease);
}
.pcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.pcard__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(12, 52, 96, 0.1);
  border-radius: 12px;
  transition:
    color 0.5s,
    background-color 0.5s,
    border-color 0.5s,
    transform 0.6s var(--ease);
}
.pcard__icon .i {
  width: 24px;
  height: 24px;
}
.pcard__no {
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: rgba(12, 52, 96, 0.16);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s;
}
.pcard__step {
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange-ink);
}
.pcard__title {
  margin-bottom: 10px;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 600;
  line-height: 1.45;
}
.pcard__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted-dark);
}

.js .track__step:not(.is-on) .pcard {
  opacity: 0.45;
  transform: translateY(18px);
}
.track__step.is-on .pcard__rail {
  transform: scaleX(1);
}
.track__step.is-on .pcard__icon {
  color: var(--orange-dark);
  border-color: rgba(245, 130, 35, 0.45);
}
.track__step.is-on .pcard__no {
    color: var(--navy-soft);
  }
.track__step.is-current .pcard {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(245, 130, 35, 0.5);
  box-shadow: var(--shadow-2);
  transform: translateY(-6px);
}
.track__step.is-current .pcard__icon {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-6deg);
}

/* Desktop pin: the section holds while the truck drives the route. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .js .track-sec {
    height: 210vh;
  }
  .js .track-sec__pin {
    position: sticky;
    top: var(--hh-s);
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--hh-s));
    padding-block: clamp(32px, 5vh, 64px);
  }
  .js .track-sec__pin > .wrap {
    width: min(100% - 2 * var(--gutter), var(--container));
  }
}

/* 9. CTA / footer -------------------------------------------------------- */
/* Contact CTA: one calm card — text & contact cards (right), blended photo (left). */
.cta {
  padding-block: var(--sp-1);
  color: var(--text-light);
  background: var(--navy);
}
.cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
}
.cta__body {
  padding: clamp(28px, 3.6vw, 56px);
}
.cta__body .marker {
  margin-bottom: 18px;
}
.cta__title {
  max-width: 18em;
  margin-bottom: 14px;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.5;
}
.cta__text {
  max-width: 34em;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted-light);
}
.cta__lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta__media {
  position: relative;
  min-height: 320px;
}
.cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

/* Footer: solid panel */
.ftr {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 120px);
  color: var(--text-light);
  background: var(--navy);
}
.ftr__panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.25fr 1.5fr;
  background: #042c51;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}
.fcol {
  padding: clamp(24px, 2.6vw, 40px);
}
.fcol + .fcol {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.07);
}
.fcol__logo {
  width: 210px;
  height: auto;
  margin-bottom: 20px;
}
.ftr__org {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--orange-soft);
}
.ftr__tag {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted-light);
}
.fcol__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-light);
}
.fcol__title::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.flinks {
  display: grid;
  gap: 2px;
}
.flink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(245, 247, 250, 0.86);
  transition: color 0.3s;
}
.flink__txt {
  transition: transform var(--t1) var(--ease);
}
.flink:hover,
.flink:focus-visible {
  color: var(--orange-soft);
}
.flink:hover .flink__txt,
.flink:focus-visible .flink__txt {
  transform: translateX(-6px);
}
.flink__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 247, 250, 0.3);
  transition:
    background-color 0.3s,
    transform 0.4s var(--ease);
}
.flink:hover .flink__dot {
  background: var(--orange);
  transform: scale(1.6);
}
.flink__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--orange);
  background: rgba(245, 130, 35, 0.08);
  border: 1px solid rgba(245, 130, 35, 0.22);
  border-radius: 8px;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.flink__ico .i {
  width: 16px;
  height: 16px;
}
.flink:hover .flink__ico {
  background: rgba(245, 130, 35, 0.16);
  border-color: rgba(245, 130, 35, 0.5);
}

.fcol--contact {
  display: grid;
  align-content: start;
  gap: 10px;
}
.fcol--contact .fcol__title {
  margin-bottom: 8px;
}
.fcontact {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform var(--t1) var(--ease);
}
.fcontact:hover,
.fcontact:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 130, 35, 0.5);
  transform: translateY(-2px);
}
.fcontact__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--orange);
  background: rgba(245, 130, 35, 0.1);
  border-radius: 10px;
}
.fcontact__ico .i {
  width: 20px;
  height: 20px;
}
.fcontact--wa .fcontact__ico {
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}
.fcontact__txt {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.fcontact__label {
  font-size: 12px;
  color: var(--muted-light);
}
.fcontact__val {
  font-size: 14.5px;
  font-weight: 500;
  text-align: right;
}

.ftr__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 22px 28px;
  font-size: 13.5px;
  color: var(--muted-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ftr__credit {
  color: rgba(245, 247, 250, 0.82);
}
.totop {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  transition:
    color 0.3s,
    background-color 0.3s;
}
.totop:hover,
.totop:focus-visible {
  color: var(--orange);
  background: rgba(245, 130, 35, 0.1);
}
.totop__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.totop__ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}
.totop__ring .totop__bar {
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-dasharray: 163.4;
  stroke-dashoffset: calc(163.4 * (1 - var(--sp, 0)));
  transition: stroke-dashoffset 0.2s linear;
}
.totop__icon {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform var(--t1) var(--ease);
}
.totop:hover .totop__icon {
  transform: rotate(90deg) translateX(-4px);
}

/* 10. Floating contact --------------------------------------------------- */
.fab {
  position: fixed;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    opacity 0.4s,
    transform 0.4s var(--ease);
}
.fab__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: var(--text-light);
    background: var(--navy);
    border: 1px solid rgba(245, 130, 35, 0.45);
    border-radius: 74px;
    transition: border-color 0.3s;
}
.fab__btn .i {
  width: 24px;
  height: 24px;
}
.fab__btn--wa .i {
  color: #ffff  ;
}
.fab__btn--tel .i {
  color: var(--orange);
}
.fab__btn:hover {
  border-color: var(--orange);
}
.fab__label {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: var(--navy);
  opacity: 0;
  transform: translate(-6px, -50%);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease);
}
.fab__btn:hover .fab__label,
.fab__btn:focus-visible .fab__label {
  opacity: 1;
  transform: translate(0, -50%);
}
.fab__btn--tel {
  display: none;
}
body.menu-open .fab {
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 901px) {
  /* On the home page the button waits until the hero (and its tab rail) is scrolled past. */
  .has-hero:not(.past-hero) .fab,
  .at-footer .fab {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }
}

/* 14. Motion ------------------------------------------------------------- */
[data-parallax] {
  overflow: hidden;
}
[data-parallax] > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
      opacity var(--t2) var(--ease) var(--d, 0ms),
      transform var(--t2) var(--ease) var(--d, 0ms);
  }
  .js [data-reveal="rise"] {
    opacity: 1;
    transform: translate3d(0, 24px, 0);
    clip-path: inset(
      0 0 calc(100% - 1px) 0
    ); /* 1px sliver keeps IntersectionObserver reporting */
    transition:
      clip-path var(--t3) var(--ease) var(--d, 0ms),
      transform var(--t3) var(--ease) var(--d, 0ms);
  }
  .js [data-reveal="wipe"] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 calc(100% - 1px));
    transition: clip-path var(--t3) var(--ease-io) var(--d, 0ms);
  }
  .js [data-reveal="wipe"] > img {
    transform: scale(1.08);
    transition: transform 1.4s var(--ease);
  }
  /* Bento tiles: rise + open from an inset window, photo settles from a deeper zoom. */
  .js [data-reveal="tile"] {
    opacity: 0;
    transform: translate3d(0, 64px, 0);
    clip-path: inset(9% 9% 9% 9% round 12px);
    transition:
      opacity 0.9s var(--ease) var(--d, 0ms),
      transform 1.1s var(--ease) var(--d, 0ms),
      clip-path 1.2s var(--ease-io) var(--d, 0ms);
  }
  .js [data-reveal="tile"] .tile__media > img {
    scale: 1.25;
    transition: scale 1.6s var(--ease) var(--d, 0ms);
  }
  .js [data-reveal="tile"].is-in {
    clip-path: inset(0 round 12px);
  }
  .js [data-reveal="tile"].is-in .tile__media > img {
    scale: 1;
  }
  .js [data-reveal="tile"].is-in:hover .tile__media > img {
    scale: 1.06;
    transition-delay: 0ms;
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal="rise"].is-in {
    clip-path: inset(-0.4em -0.4em -0.5em -0.4em);
  }
  .js [data-reveal="wipe"].is-in {
    clip-path: inset(0);
  }
  .js [data-reveal="wipe"].is-in > img {
    transform: none;
  }

  /* Hero photo: mechanical wipe from the seam on load, then a slow push-in. */
  .hero__media {
    animation: plate-in 1.3s var(--ease-io) both;
  }
  .hero__img {
    animation: push 7.4s linear both;
  }

  /* Hero content: one-time entrance on load. */
  .js .hero__content > * {
    animation: rise-in var(--t3) var(--ease) both;
  }
  .js .hero__content > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .js .hero__content > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .js .hero__content > :nth-child(4) {
    animation-delay: 0.22s;
  }
}

@keyframes plate-in {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes push {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes title-in {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 28px, 0);
  }
  to {
    clip-path: inset(-0.4em -0.4em -0.5em -0.4em);
    transform: none;
  }
}

/* 15. Responsive --------------------------------------------------------- */
@media (max-width: 1280px) {
  .hdr__tel {
    display: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --hh: 76px;
    --hh-s: 64px;
    --logo-h: 50px;
  }
  .hdr.is-scrolled,
  .hdr.is-menu {
    --logo-h: 42px;
  }
  .hdr__in {
    grid-template-columns: 1fr auto;
  }
  .nav,
  .hdr__cta {
    display: none;
  }
  .burger {
    display: inline-flex;
  }

  .manifesto__statement {
    position: static;
  }
  .manifesto__statement {
    grid-column: 1 / span 5;
  }
  .manifesto__list {
    grid-column: 6 / span 7;
  }
}

@media (max-width: 900px) {

  .hdr__logo-img {
    height: 45px;
  }

  :root {
    --cut: 18px;
  }

  /* Narrow screens wrap display titles more often: give Arabic marks extra room. */
  .hero__title,
  .cta__title,
  .story__title {
    line-height: 1.55;
  }
  /* Phone: one full-bleed hero. The photograph fills the whole composition
     and every control/content block sits on top of it. */
  .hero {
    min-height: 85svh !important;
  }
  .hero__media {
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    background: var(--navy);
  }
  .hero__img {
    object-fit: cover;
    object-position: var(--pos-m, 42% 50%);
  }
  .hero__img {
    animation: none;
  }
  .hero__shade {
    inset: 0;
    height: auto;
    background: linear-gradient(to left, rgba(12, 52, 96, .94) 0%, rgba(12, 52, 96, .83) 42%, rgba(12, 52, 96, .52) 73%, rgba(12, 52, 96, .14) 100%);
  }
  .hero__in {
    gap: 26px;
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 100svh;
    margin-inline: 0;
    padding-inline: max(20px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-left));
    padding-top: calc(var(--hh) + 46px);
    padding-bottom: 24px;
  }
  .hero__content {
    order: 1;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-block: 0;
    overflow-wrap: break-word;
  }
  .hero__content > * {
    max-width: 100%;
  }
  .hero__org {
    margin-bottom: 12px;
  }
  .hero__title {
    margin-bottom: 14px;
  }
  .hero__lead {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.75;
  }
  .hero__btns {
    gap: 8px;
  }
  .hero__btns .btn {
    flex: 0 0 auto;
    min-height: 48px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .grid > * {
    grid-column: 1 / -1 !important;
  } /* single column below tablet: every grid child spans the row */
  .chapters__head {
    row-gap: 20px;
  }

  .story__text {
    margin-bottom: 48px;
  }
  .story__word {
    top: auto;
    bottom: 0;
    font-size: 56vw;
  }
  .collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 42vw;
    grid-template-areas: "a a" "b c" "d e";
  }

  .chapters__aside {
    display: none;
  }
  .chapter {
    min-height: 0;
  }
  .chapter__no {
    font-size: 72px;
    margin-bottom: 20px;
  }
  .chapter__media {
    display: block;
    margin-bottom: 28px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
  }
  .chapter__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
  }
  .chapter .chapter__rail {
    transform: scaleX(0.32);
  }

  .manifesto__statement {
    margin-bottom: 48px;
  }

  .sectors__head {
    flex-direction: column;
    align-items: stretch;
  }
  .slider-ctrl {
    justify-content: space-between;
  }
  .slider-ctrl__bar {
    flex: 1;
    width: auto;
  }
  .scard {
    flex-basis: min(78vw, 320px);
  }

  /* Vertical route: rail on the right, truck drives down it. */
  .track-sec__head {
    flex-direction: column;
    align-items: stretch;
  }
  .pstat {
    min-width: 0;
  }
  .track {
    --rail-x: 20px;
  }
  .track__line {
    top: 0;
    bottom: 0;
    right: calc(var(--rail-x) - 1px);
    left: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      rgba(12, 52, 96, 0.22) 0 10px,
      transparent 10px 18px
    );
  }
  .track__fill {
    background: var(--orange);
    transform: scaleY(var(--p));
    transform-origin: 50% 0;
  }
  .track__truck {
    top: calc(var(--p) * 100%);
    right: 50%;
    width: 40px;
    height: 40px;
  }
  .track__truck .i {
    transform: rotate(90deg);
  }
  .track__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .track__step {
    padding-top: 0;
    padding-inline-start: 56px;
  }
  .track__node {
    top: 26px;
    right: calc(var(--rail-x) - 9px);
  }

  .cta__card {
    grid-template-columns: 1fr;
  }
  .cta__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .ftr__panel {
    grid-template-columns: 1fr 1fr;
  }
  .fcol--brand,
  .fcol--contact {
    grid-column: 1 / -1;
  }
  .fcol + .fcol {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .fcol:nth-child(3) {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Mobile contact rail: stacked round icons. */
  body {
    padding-bottom: 0;
  }
  .fab {
    top: auto;
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    flex-direction: column;
    gap: 9px;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
  }
  .fab__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  .fab__btn .i {
    width: 21px;
    height: 21px;
  }
  .fab__btn--tel {
    display: grid;
  }
  .fab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 1;
    transform: none;
  }
  .ftr__base {
    padding-bottom: 32px;
  }
}

@media (max-width: 560px) {
  :root {
    --fs-h2: 30px;
    --fs-h3: 22px;
    --fs-statement: 24px;
    --fs-lead: 16px;
  }
  .ftr__panel {
    grid-template-columns: 1fr;
  }
  .fcol:nth-child(3) {
    border-inline-start: 0;
  }
  .hero__title {
    font-size: clamp(28px, 8vw, 34px);
  }
  /* Phone hero hugs its content instead of filling the screen. */
  .hero,
  .hero__in {
    min-height: 0;
  }
  .hero__in {
    padding-top: calc(var(--hh) + 60px);
    padding-bottom: 48px;
  }
  /* Stacked, compact buttons sharing the widest one's width. */
  .hero__btns {
    display: flex;
    justify-content: start;
  }
  .story__title {
    font-size: 29px;
  }
  .chapter__no {
    font-size: 54px;
  }
  .chapter__title {
    font-size: 28px;
  }
  .reason--key .reason__title {
    font-size: 30px;
  }
  .sectors__title {
    font-size: 27px;
  }
  .track-sec__title {
    font-size: 28px;
  }
  .cta__title {
    font-size: 25px;
  }
  .cta__btns .btn {
    flex: 1 1 100%;
  }

  /* Compact phone menu typography — clear hierarchy without oversized type. */
  .menu {
    padding-top: calc(var(--hh-s) + 12px);
    padding-bottom: 20px;
  }
  .menu__in {
    gap: 24px;
  }
  .menu__link {
    gap: 12px;
    padding-block: 11px;
    font-size: clamp(22px, 6vw, 25px);
    line-height: 1.45;
  }
  .menu__no {
    min-width: 24px;
    font-size: 10px;
  }
  .menu__sub {
    gap: 0;
    padding: 0 36px 10px 0;
  }
  .menu__sub a {
    gap: 10px;
    padding-block: 6px;
    font-size: 14px;
    line-height: 1.65;
  }
  .menu__subno {
    padding-top: 4px;
    font-size: 9px;
  }
  .menu__foot {
    gap: 4px;
    padding-top: 16px;
    font-size: 13px;
  }
  .menu__foot a:first-child {
    font-size: 17px;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .hero__content > * {
    animation: hero-mobile-in 0.78s var(--ease) both;
  }
  .js .hero__content > :nth-child(1) {
    animation-delay: 0.12s;
  }
  .js .hero__content > :nth-child(2) {
    animation-delay: 0.24s;
  }
  .js .hero__content > :nth-child(3) {
    animation-delay: 0.36s;
  }
  .js .hero__content > :nth-child(4) {
    animation-delay: 0.48s;
  }
  .js .fab__btn {
    animation: hero-mobile-fab-in 0.65s var(--ease) both;
  }
  .js .fab__btn:nth-child(1) {
    animation-delay: 0.72s;
  }
  .js .fab__btn:nth-child(2) {
    animation-delay: 0.82s;
  }

  @keyframes hero-mobile-in {
    from {
      opacity: 0;
      transform: translate3d(28px, 14px, 0);
      filter: blur(5px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: blur(0);
    }
  }
  @keyframes hero-mobile-fab-in {
    from {
      opacity: 0;
      transform: translate3d(-20px, 0, 0) scale(0.84);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-parallax] > img {
    transform: none;
  }
}
