/* =====================================================================
   PT. Alpha Logistics Prakarsa — BASE (shared by every section)
   Owned by the orchestrator. Section files must NOT redefine tokens or
   restyle the utilities below; scope section styles under the section's
   own root class (e.g. .hero …, .services …).
   ===================================================================== */

:root {
  /* Brand (from logo + company profile) */
  --red: #EE3237;          /* logo red — accents, highlights, NOT for small text on white */
  --red-ui: #D4242A;       /* buttons / interactive red (white text passes AA) */
  --red-ui-hover: #B01A20;
  --red-deep: #9E1211;     /* profile deep red — large blocks */
  --red-soft: #FF6166;     /* red text/eyebrows on dark backgrounds */
  --navy: #3F4198;         /* logo navy */
  --navy-2: #2B2D72;
  --ink: #0A0C24;          /* deepest navy — dark sections */
  --ink-2: #12153A;        /* raised surfaces on dark */
  --ink-3: #1C2050;

  /* Neutrals */
  --paper: #F4F1EA;        /* warm off-white — default page bg */
  --paper-2: #E9E4D8;
  --white: #FFFFFF;
  --text: #191B33;
  --muted: #5D6079;
  --line: rgba(10, 12, 36, .12);

  /* On dark */
  --on-dark: #ECEDF7;
  --on-dark-muted: #A3A6C8;
  --line-dark: rgba(255, 255, 255, .12);

  /* Type */
  --font-display: "MuseoModerno", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.7rem, 7.4vw, 6.6rem);
  --fs-h2: clamp(2.1rem, 4.8vw, 4rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.65rem);
  --fs-lead: clamp(1.06rem, 1.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(88px, 12vw, 168px);
  --header-h: 76px;

  /* Shape / depth / motion */
  --r-sm: 8px;
  --r: 18px;
  --r-lg: 30px;
  --shadow: 0 30px 60px -30px rgba(10, 12, 36, .35);
  --shadow-lg: 0 50px 100px -40px rgba(10, 12, 36, .5);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }

/* ---------- Layout utilities ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }

.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 700 var(--fs-eyebrow)/1.2 var(--font-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red-ui);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.section--dark .eyebrow { color: var(--red-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 28px;
  font: 700 .95rem/1 var(--font-body); letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--primary { --btn-bg: var(--red-ui); --btn-fg: #fff; --btn-bd: var(--red-ui); }
.btn--primary:hover { --btn-bg: var(--red-ui-hover); --btn-bd: var(--red-ui-hover); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--paper-2); --btn-bd: var(--paper-2); }
.btn--ghost { --btn-fg: var(--text); --btn-bd: currentColor; }
.btn--ghost:hover { --btn-bg: var(--text); --btn-fg: var(--paper); --btn-bd: var(--text); }
.section--dark .btn--ghost, .btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.section--dark .btn--ghost:hover, .btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn .btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--red-soft); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Reveal-on-scroll (driven by core.js) ----------
   Usage: data-reveal            -> fade up
          data-reveal="fade"     -> fade only
          data-reveal="scale"    -> fade + scale up
          data-reveal="left"     -> slide in from left
          data-reveal="right"    -> slide in from right
          data-reveal="clip"     -> wipe up (good for images)
   Stagger: style="--i: 2" adds 2 × 80ms delay. */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* QA mode (?static) and reduced motion: show everything, no animation */
.is-static [data-reveal], .is-static [data-reveal].is-in { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Hide content briefly while a saved English preference is applied */
.i18n-pending body { visibility: hidden; }


/* ===== header ===== */
/* =====================================================================
   HEADER — fixed bar, theme-adaptive, mobile full-screen menu,
   scroll progress line, floating WhatsApp button.
   Root classes: .site-header, .site-menu, .site-progress, .site-wa
   ===================================================================== */

/* ---------- Scroll progress ---------- */
.site-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120;
  pointer-events: none;
}
.site-progress .site-progress__bar {
  display: block; height: 100%; width: 100%;
  background: var(--red);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 10px rgba(238, 50, 55, .55);
}

/* ---------- Bar ---------- */
.site-header {
  --hdr-fg: #fff;
  --hdr-muted: rgba(255, 255, 255, .72);
  --hdr-bg: rgba(10, 12, 36, 0);
  --hdr-line: rgba(255, 255, 255, 0);
  position: fixed; inset: 0 0 auto 0; z-index: 110;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--hdr-fg);
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.site-header::before {               /* the solid bar (fades in) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--hdr-line);
  opacity: 0; transition: opacity .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid { --hdr-bg: rgba(10, 12, 36, .86); --hdr-line: rgba(255, 255, 255, .08); }
.site-header.is-light {
  --hdr-fg: var(--ink);
  --hdr-muted: rgba(10, 12, 36, .68);
}
.site-header.is-light.is-solid { --hdr-bg: rgba(244, 241, 234, .9); --hdr-line: rgba(10, 12, 36, .08); }
.site-header.is-hidden { transform: translateY(-110%); }

.site-header .site-header__inner {
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto;
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
}

/* Brand */
.site-header .site-header__brand {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  min-height: 44px; text-decoration: none; color: inherit;
}
.site-header .site-header__logo { position: relative; display: block; width: 74px; height: 38px; flex: none; }
.site-header .site-header__logo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transition: opacity .4s var(--ease);
}
.site-header .site-header__logo-color { opacity: 0; }
.site-header.is-light .site-header__logo-color { opacity: 1; }
.site-header.is-light .site-header__logo-white { opacity: 0; }
.site-header .site-header__word { display: flex; flex-direction: column; line-height: 1; border-left: 1px solid currentColor; padding-left: 12px; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.site-header .site-header__word strong { font: 600 1.02rem/1.05 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.site-header .site-header__word small {
  margin-top: 4px; font: 700 .62rem/1 var(--font-body); letter-spacing: .38em; text-transform: uppercase;
  color: var(--red-soft);
}
.site-header.is-light .site-header__word small { color: var(--red-ui); }

/* Desktop nav */
.site-header .site-header__nav { position: relative; margin-left: auto; }
.site-header .site-header__links { display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); }
.site-header .site-header__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 clamp(6px, .7vw, 12px);
  font: 600 .9rem/1 var(--font-body); letter-spacing: .005em;
  color: var(--hdr-muted); text-decoration: none; white-space: nowrap;
  transition: color .3s var(--ease);
}
.site-header .site-header__link:hover,
.site-header .site-header__link.is-active { color: var(--hdr-fg); }
.site-header .site-header__ink {
  position: absolute; left: 0; bottom: 6px; height: 2px; width: 100px;
  background: var(--red); border-radius: 2px;
  transform-origin: 0 50%;
  transform: translateX(var(--ink-x, 0px)) scaleX(var(--ink-s, 0));
  opacity: var(--ink-o, 0);
  transition: transform .6s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}

.site-header .site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.site-header .site-header__cta { min-height: 46px; padding: 0 22px; font-size: .88rem; }

/* Language pill (shared look for header + menu) */
.site-header .lang-pill, .site-menu .lang-pill {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 3px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  isolation: isolate;
}
.site-header .lang-pill__ind, .site-menu .lang-pill__ind {
  position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--red-ui);
  transition: transform .5s var(--ease);
}
html[lang="en"] .site-header .lang-pill__ind,
html[lang="en"] .site-menu .lang-pill__ind { transform: translateX(100%); }
.site-header .lang-pill__btn, .site-menu .lang-pill__btn {
  min-width: 40px; min-height: 34px; padding: 0 10px; border: 0; background: none; border-radius: 999px;
  font: 700 .74rem/1 var(--font-body); letter-spacing: .12em;
  color: var(--hdr-muted, rgba(255,255,255,.7)); transition: color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.site-header .lang-pill__btn[aria-pressed="true"], .site-menu .lang-pill__btn[aria-pressed="true"] { color: #fff; }

/* Toggle */
.site-header .site-header__toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: none; border-radius: 50%; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.site-header .site-header__bars { position: absolute; inset: 0; }
.site-header .site-header__bars span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.site-header .site-header__bars span:first-child { top: 19px; }
.site-header .site-header__bars span:last-child { top: 27px; left: 19px; }
.menu-open .site-header .site-header__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .site-header .site-header__bars span:last-child { left: 13px; transform: translateY(-4px) rotate(-45deg); }

/* While menu is open the bar sits over the ink overlay */
.menu-open .site-header { --hdr-fg: #fff; --hdr-muted: rgba(255,255,255,.72); transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .site-header__logo-white { opacity: 1; }
.menu-open .site-header .site-header__logo-color { opacity: 0; }
.menu-open .site-header .site-header__lang,
.menu-open .site-header .site-header__cta { opacity: 0; visibility: hidden; }

/* Wordmark: hidden only where space is tight (narrow desktop nav, tiny phones) */
@media (min-width: 1140px) and (max-width: 1279px) {
  .site-header .site-header__word { display: none; }
}
@media (max-width: 419px) {
  .site-header .site-header__word { display: none; }
}
@media (max-width: 1139px) {
  .site-header .site-header__nav { display: none; }
  .site-header .site-header__actions { margin-left: auto; }
  .site-header .site-header__toggle { display: inline-block; }
}
@media (max-width: 767px) {
  .site-header .site-header__cta { display: none; }
  .site-header .site-header__lang .lang-pill__btn { min-width: 44px; min-height: 40px; }
  .site-header .site-header__logo { width: 66px; height: 34px; }
  .site-header .site-header__actions { gap: 6px; }
}

/* ---------- Full-screen mobile menu ---------- */
.site-menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px)
           calc(var(--gutter) + env(safe-area-inset-right, 0px))
           calc(24px + env(safe-area-inset-bottom, 0px))
           calc(var(--gutter) + env(safe-area-inset-left, 0px));
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden;
  clip-path: circle(0px at calc(100% - var(--gutter) - 16px) calc(var(--header-h) / 2 + env(safe-area-inset-top, 0px)));
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
}
.site-menu.is-open {
  visibility: visible;
  clip-path: circle(150vmax at calc(100% - var(--gutter) - 16px) calc(var(--header-h) / 2 + env(safe-area-inset-top, 0px)));
  transition: clip-path .8s var(--ease-in-out), visibility 0s;
}
.site-menu .site-menu__swoosh {           /* red swoosh motif, bottom-right */
  position: absolute; right: -30vmin; bottom: -34vmin; width: 95vmin; height: 95vmin; pointer-events: none;
  border-radius: 50%; border: 2px solid rgba(238, 50, 55, .5);
  border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(-20deg);
}
.site-menu .site-menu__body {
  position: relative; width: min(100%, 720px); margin-inline: auto;
  display: flex; flex-direction: column; flex: 1; gap: 20px;
}
.site-menu .site-menu__label {
  font: 700 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--on-dark-muted);
}
.site-menu .site-menu__list { display: flex; flex-direction: column; }
.site-menu .site-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.site-menu .site-menu__link {
  display: flex; align-items: baseline; gap: 16px; min-height: 52px; padding: 8px 0;
  text-decoration: none; color: #fff;
  transform: translateY(105%); opacity: 0;
  transition: transform .7s var(--ease), opacity .5s var(--ease), color .3s;
}
.site-menu.is-open .site-menu__link {
  transform: none; opacity: 1;
  transition-delay: calc(.22s + var(--i, 0) * 55ms);
}
.site-menu .site-menu__list li:nth-child(1) .site-menu__link { --i: 0; }
.site-menu .site-menu__list li:nth-child(2) .site-menu__link { --i: 1; }
.site-menu .site-menu__list li:nth-child(3) .site-menu__link { --i: 2; }
.site-menu .site-menu__list li:nth-child(4) .site-menu__link { --i: 3; }
.site-menu .site-menu__list li:nth-child(5) .site-menu__link { --i: 4; }
.site-menu .site-menu__list li:nth-child(6) .site-menu__link { --i: 5; }
.site-menu .site-menu__list li:nth-child(7) .site-menu__link { --i: 6; }
.site-menu .site-menu__num {
  font: 600 .78rem/1 var(--font-body); letter-spacing: .1em; color: var(--red-soft);
  min-width: 2ch; transform: translateY(-.6em);
}
.site-menu .site-menu__txt {
  font: 600 clamp(2rem, 8.6vw, 3.4rem)/1.08 var(--font-display); letter-spacing: -.02em;
}
.site-menu .site-menu__link.is-active .site-menu__txt { color: var(--red-soft); }
@media (hover: hover) {
  .site-menu .site-menu__link:hover .site-menu__txt { color: var(--red-soft); }
}
@media (max-height: 640px) {
  .site-menu .site-menu__txt { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .site-menu .site-menu__link { min-height: 44px; padding: 4px 0; }
}

.site-menu .site-menu__foot {
  margin-top: auto; padding-top: 12px;
  display: grid; gap: 18px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.site-menu.is-open .site-menu__foot { opacity: 1; transform: none; transition-delay: .62s; }
.site-menu .site-menu__cta { width: 100%; }
.site-menu .site-menu__contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; }
.site-menu .site-menu__contact-link {
  display: flex; flex-direction: column; gap: 5px; min-height: 56px; justify-content: center;
  padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: var(--r-sm); background: var(--ink-2);
  text-decoration: none; color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.site-menu .site-menu__contact-link small {
  font: 700 .66rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted);
}
.site-menu .site-menu__lang { justify-self: start; color: #fff; --hdr-muted: rgba(255,255,255,.7); }
.site-menu .site-menu__lang .lang-pill__btn { min-width: 56px; min-height: 44px; font-size: .8rem; }
@media (max-width: 359px) {
  .site-menu .site-menu__contact { grid-template-columns: 1fr; }
}
@media (min-width: 1140px) {
  .site-menu { display: none; }
}

/* ---------- Floating WhatsApp ---------- */
.site-wa {
  position: fixed; z-index: 90;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(10, 12, 36, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: transform .6s var(--ease), opacity .45s var(--ease), visibility 0s, background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.site-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(31, 168, 85, .45);
  animation: site-wa-ping 3.2s var(--ease) 1.2s infinite;
}
.js .site-wa:not(.is-shown) {
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.8);
  transition: transform .6s var(--ease), opacity .45s var(--ease), visibility 0s linear .6s;
}
.is-static .site-wa { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.menu-open .site-wa { opacity: 0; visibility: hidden; }
@media (hover: hover) {
  .site-wa:hover { background: #178A45; transform: translateY(-3px); }
}
@keyframes site-wa-ping {
  0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .45); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .site-wa::after { animation: none; }
}


/* ===== hero ===== */
/* =====================================================================
   HERO — living dot-matrix map of Asia, routes radiating from Batam.
   Root: .hero (data-theme="dark")
   ===================================================================== */
.hero {
  --hero-pad-b: clamp(28px, 4.5vh, 48px);
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  background: var(--ink); color: var(--on-dark);
  overflow: clip;
}

/* ---------- Stage (canvas + scrim) ---------- */
.hero .hero__stage {
  position: absolute; inset: 0; z-index: 0;
  transform-origin: 66% 60%;
  will-change: transform, opacity;
}
.hero .hero__map {
  width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero .hero__map.is-on { opacity: 1; }
.no-js .hero .hero__map, .is-static .hero .hero__map { opacity: 1; transition: none; }
.hero .hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 12, 36, .94) 0%, rgba(10, 12, 36, .78) 28%, rgba(10, 12, 36, .22) 52%, rgba(10, 12, 36, 0) 66%),
    linear-gradient(0deg, rgba(10, 12, 36, .9) 0%, rgba(10, 12, 36, 0) 22%),
    linear-gradient(180deg, rgba(10, 12, 36, .55) 0%, rgba(10, 12, 36, 0) 16%);
}

/* ---------- Content ---------- */
.hero .hero__content {
  position: relative; z-index: 1; flex: 1;
  width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: var(--hero-pad-b);
  will-change: transform, opacity;
}
.hero .hero__copy { max-width: min(45rem, 54vw); }
.hero .hero__eyebrow { color: var(--red-soft); margin-bottom: clamp(18px, 2.4vh, 28px); }
.hero .hero__title {
  font-size: clamp(2.6rem, 4.2vw + 1rem, 5.4rem);
  line-height: 1.02; letter-spacing: -.025em;
  color: #fff; font-weight: 600;
  text-wrap: balance;
}
.hero .hero__title .hl { color: var(--red); }
.hero .hero__lead {
  margin-top: clamp(20px, 3vh, 30px);
  max-width: 36rem;
  font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark-muted);
}
.hero .hero__actions { margin-top: clamp(26px, 3.6vh, 38px); display: flex; flex-wrap: wrap; gap: 12px; }

/* Base row: service tags + fact chip */
.hero .hero__base {
  margin-top: clamp(36px, 6vh, 64px);
  padding-top: 20px; border-top: 1px solid var(--line-dark);
  padding-right: 84px; /* room for the floating WhatsApp button */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.hero .hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero .hero__tags li {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font: 600 .82rem/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-dark);
}
.hero .hero__tags li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none;
}
.hero .hero__fact {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  font: 600 .8rem/1.2 var(--font-body); letter-spacing: .04em; color: var(--on-dark);
  white-space: nowrap;
}
.hero .hero__fact-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(238, 50, 55, .22);
}

/* Scroll cue */
.hero .hero__cue {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 44px; min-height: 44px; padding: 0 4px;
  text-decoration: none; color: var(--on-dark-muted);
  font: 700 .66rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase;
}
.hero .hero__cue-txt { padding-left: .3em; }
.hero .hero__cue-line {
  position: relative; display: block; width: 1px; height: 34px; overflow: hidden;
  background: rgba(255, 255, 255, .18);
}
.hero .hero__cue-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%;
  background: var(--red);
  animation: hero-cue 2.2s var(--ease-in-out) infinite;
}
@keyframes hero-cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(230%); }
}
.is-static .hero .hero__cue-line::after { animation: none; transform: translateY(60%); }
@media (hover: hover) {
  .hero .hero__cue:hover { color: #fff; }
}

/* ---------- Kinetic entrance ----------
   Words are wrapped by hero.js in .hero__w > .hero__wi (re-done after every
   language switch). Other bits use .hero__in with --d (step index). */
.hero .hero__w {
  display: inline-block; vertical-align: top; overflow: hidden;
  padding: 0 .04em .14em; margin: 0 -.04em -.14em;
}
.hero .hero__wi { display: inline-block; will-change: transform; }
.js .hero:not(.is-ready) .hero__wi { transform: translateY(112%) rotate(4deg); }
.js .hero.is-ready .hero__wi {
  transform: none;
  transition: transform 1.15s var(--ease);
  transition-delay: calc(240ms + var(--wi, 0) * 75ms);
}
.js .hero.is-instant .hero__wi,
.js .hero.is-instant .hero__in,
.js .hero.is-instant .hero__cue,
.hero.is-instant .hero__map { transition: none; }
.js .hero .hero__title.is-replay .hero__wi { transform: translateY(112%) rotate(4deg); transition: none; }

.js .hero:not(.is-ready) .hero__in { opacity: 0; transform: translateY(26px); }
.js .hero.is-ready .hero__in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms + 120ms);
}
.js .hero:not(.is-ready) .hero__cue { opacity: 0; }
.js .hero.is-ready .hero__cue { opacity: 1; transition: opacity 1s var(--ease) 1.6s; }

.is-static .hero .hero__wi,
.is-static .hero .hero__in,
.is-static .hero .hero__cue { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Layouts ---------- */
@media (max-width: 1279px) {
  .hero .hero__copy { max-width: min(42rem, 58vw); }
}
/* Stacked (tablet + phone): map band on top, copy below */
@media (max-width: 1023px) {
  .hero .hero__content { padding-top: calc(var(--header-h) + max(150px, 24svh)); }
  .hero .hero__copy { max-width: 40rem; }
  .hero .hero__scrim {
    background:
      linear-gradient(0deg, rgba(10, 12, 36, .96) 0%, rgba(10, 12, 36, .9) 42%, rgba(10, 12, 36, .35) 64%, rgba(10, 12, 36, 0) 80%),
      linear-gradient(180deg, rgba(10, 12, 36, .6) 0%, rgba(10, 12, 36, 0) 14%);
  }
  .hero .hero__stage { transform-origin: 50% 25%; }
  .hero .hero__cue { display: none; }
}
@media (max-width: 767px) {
  .hero { --hero-pad-b: 28px; }
  .hero .hero__lead { font-size: 1.04rem; }
  .hero .hero__actions .btn { flex: 1 1 auto; padding: 0 22px; }
  .hero .hero__base { margin-top: 32px; }
  .hero .hero__tags { gap: 8px 20px; }
  .hero .hero__tags li { font-size: .74rem; }
}
@media (max-width: 440px) {
  .hero .hero__eyebrow { letter-spacing: .1em; font-size: .7rem; gap: .55em; }
  .hero .hero__eyebrow::before { width: 18px; }
  .hero .hero__tags { gap: 6px 16px; }
  .hero .hero__tags li { letter-spacing: .04em; }
}
@media (max-width: 380px) {
  .hero .hero__title { font-size: 2.35rem; }
}
/* Short desktop windows: tighten vertical rhythm */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero .hero__title { font-size: clamp(2.6rem, 3.6vw + 1rem, 4.6rem); }
  .hero .hero__base { margin-top: 32px; }
}


/* ===== about ===== */
/* =====================================================================
   ABOUT + VISION & MISSION (Agent B)
   ===================================================================== */
.about {
  --ab-ink: var(--ink);
  background: var(--paper);
  color: var(--text);
  overflow: clip;
}

/* ---------- A. Editorial statement ---------- */
.about .about-intro { max-width: 1120px; }
.about .about-statement {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ab-ink);
  text-wrap: pretty;
}
.about .about-statement .w {
  opacity: var(--o, 1);
  transition: opacity .25s linear;
}
.about .about-statement.is-split .w { --o: .16; }
.about .about-statement.is-split .w.is-on { --o: 1; }
.about .about-statement .w--brand { color: var(--red-ui); }
.is-static .about .about-statement .w { --o: 1 !important; }

/* ---------- B. Image composition + copy ---------- */
.about .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  margin-top: clamp(72px, 10vw, 140px);
}
.about .about-media {
  position: relative;
  margin: 0;
  padding: 0 14% 12% 0;
}
.about .about-block {
  position: absolute;
  right: 0; bottom: 0;
  width: 58%; height: 64%;
  background: var(--red-deep);
  z-index: 0;
  will-change: transform;
}
.about .about-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom-right-radius: 72% 78%;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}
.about .about-photo-in { position: absolute; inset: -8% 0; will-change: transform; }
.about .about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about .about-photo2 {
  position: absolute;
  z-index: 2;
  left: -6%;
  bottom: -2%;
  width: 30%;
  will-change: transform;
}
.about .about-photo2-in {
  border: 6px solid var(--paper);
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about .about-photo2 img { width: 100%; height: 100%; object-fit: cover; }

.about .about-title {
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  color: var(--ink);
}
.about .about-p2 {
  margin-top: 24px;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--muted);
}

/* Batam <-> Singapore callout */
.about .about-geo {
  margin-top: 40px;
  padding: 24px 26px 22px;
  background: var(--white);
  border-left: 4px solid var(--red);
  box-shadow: 0 20px 40px -28px rgba(10, 12, 36, .35);
}
.about .about-geo-label {
  font: 700 var(--fs-eyebrow)/1.2 var(--font-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.about .about-geo-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px;
}
.about .about-geo-place {
  font: 600 clamp(1.15rem, 1.7vw, 1.4rem)/1 var(--font-display);
  color: var(--ink);
  flex: none;
}
.about .about-geo-line { position: relative; flex: 1; height: 34px; min-width: 60px; }
.about .about-geo-line svg { width: 100%; height: 100%; overflow: visible; }
.about .about-geo-line path {
  fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: .03 .025;
}
.about .about-geo-line i {
  position: absolute; bottom: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy);
}
.about .about-geo-line i:first-of-type { left: -3px; }
.about .about-geo-line i:last-of-type { right: -3px; background: var(--red); }
.about .about-geo-dist { margin-top: 10px; color: var(--muted); }
.about .about-geo-dist strong {
  font: 700 clamp(1.5rem, 2.4vw, 2rem)/1 var(--font-display);
  color: var(--red-ui);
  margin-right: .3em;
}
.js .about .about-geo.is-in .about-geo-line path { animation: aboutDash 2.2s linear infinite; }
@keyframes aboutDash { to { stroke-dashoffset: -.11; } }
.is-static .about .about-geo-line path { animation: none !important; }

/* ---------- C. Vision & Mission ---------- */
.about .vm {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 40px;
  margin-top: clamp(96px, 12vw, 176px);
}
.about .vm-head { grid-column: 1 / -1; }
.about .vm-title { margin-top: 18px; font-size: var(--fs-h2); color: var(--ink); }

.about .vm-vision {
  position: relative;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: clamp(36px, 4vw, 56px);
  padding-top: clamp(40px, 5vw, 64px);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  border-top-right-radius: 120px;
}
.about .vm-swoosh {
  position: absolute; right: -14%; bottom: -14%;
  width: 80%; height: auto;
  pointer-events: none;
}
.about .vm-swoosh path { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; opacity: .9; }
.about .vm-swoosh path + path { stroke-width: 2; opacity: .45; stroke: #fff; }
.about .vm-label {
  font: 700 var(--fs-eyebrow)/1.2 var(--font-body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red-ui);
}
.about .vm-vision .vm-label { color: #fff; opacity: .8; }
.about .vm-quote {
  display: block;
  font: 700 7rem/.6 var(--font-display);
  color: var(--red);
  margin: 28px 0 0 -4px;
  height: .45em;
}
.about .vm-vision-text {
  position: relative;
  margin-top: 18px;
  font: 500 clamp(1.3rem, 2vw, 1.85rem)/1.35 var(--font-display);
  letter-spacing: -.01em;
  padding-bottom: clamp(64px, 7vw, 96px);
}

.about .vm-list { list-style: none; margin-top: 14px; border-top: 1px solid var(--line); }
.about .vm-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 116px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.about .vm-num {
  font: 600 clamp(2.4rem, 4.6vw, 4.25rem)/.9 var(--font-display);
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 12, 36, .35);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease), transform .6s var(--ease);
}
.about .vm-item-title {
  font: 600 var(--fs-h3)/1.2 var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  transition: transform .6s var(--ease);
}
.about .vm-item-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 56ch;
  transition: color .5s var(--ease);
}
.about .vm-line {
  position: absolute; left: 0; right: 0; bottom: -8px;
  width: 100%; height: 16px; overflow: visible;
  pointer-events: none;
}
.about .vm-line path {
  fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1 2; stroke-dashoffset: 1;
  transition: stroke-dashoffset .9s var(--ease);
}
/* active state (scroll-driven on all devices, hover/focus on desktop) */
.about .vm-item.is-active .vm-num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.about .vm-item.is-active .vm-line path { stroke-dashoffset: 0; }
.about .vm-item.is-active .vm-item-text { color: var(--text); }
@media (hover: hover) and (min-width: 1024px) {
  .about .vm-list:hover .vm-item:not(:hover) { opacity: .42; }
  .about .vm-list:hover .vm-item:not(:hover) .vm-num { color: transparent; -webkit-text-stroke-color: rgba(10, 12, 36, .35); }
  .about .vm-list:hover .vm-item:not(:hover) .vm-line path { stroke-dashoffset: 1; }
  .about .vm-item:hover .vm-num { color: var(--red); -webkit-text-stroke-color: var(--red); transform: translateX(6px); }
  .about .vm-item:hover .vm-item-title { transform: translateX(10px); }
  .about .vm-item:hover .vm-line path { stroke-dashoffset: 0; }
  .about .vm-item:hover .vm-item-text { color: var(--text); }
}
/* static: everything final */
.is-static .about .vm-item .vm-num { color: var(--red); -webkit-text-stroke-color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1023.98px) {
  .about .about-grid { grid-template-columns: 1fr; }
  .about .about-media { max-width: 620px; }
  .about .about-copy { max-width: 640px; }
  .about .vm { grid-template-columns: 1fr; }
  .about .vm-vision { position: relative; top: auto; }
}
@media (max-width: 600px) {
  .about .about-statement { font-size: clamp(1.45rem, 6.4vw, 1.9rem); line-height: 1.25; }
  .about .about-media { padding: 0 10% 12% 0; margin-left: 4%; }
  .about .about-photo2 { width: 34%; left: -5%; }
  .about .about-photo2-in { border-width: 4px; }
  .about .about-geo { padding: 20px; }
  .about .about-geo-row { gap: 10px; }
  .about .vm-vision { border-top-right-radius: 72px; }
  .about .vm-quote { font-size: 5.5rem; }
  .about .vm-item { grid-template-columns: 56px minmax(0, 1fr); padding: 22px 0 26px; }
  .about .vm-item-text { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .about .about-statement .w { --o: 1 !important; }
  .about .about-geo-line path { animation: none !important; }
}


/* ===== services ===== */
/* =====================================================================
   SERVICES (Agent B) — desktop: tablist + image stage (scroll-advanced
   when pinned); mobile: native scroll-snap carousel.
   ===================================================================== */
.services {
  --svc-frame: 430px;               /* keeps the small photos <= ~1.33x native */
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: clip;
  isolation: isolate;
}

/* Background layer: dimmed high-res port photo + ink gradient */
.services .svc-bg {
  position: absolute; inset: 0; z-index: -2;
  pointer-events: none;
}
.services .svc-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .16;
  filter: grayscale(1) contrast(1.1);
}
.services .svc-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(10, 12, 36, .55) 30%, rgba(10, 12, 36, .7) 70%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 12, 36, 0) 60%);
}

/* Outline watermark that drifts with scroll (desktop only) */
.services .svc-watermark {
  position: absolute; z-index: -1;
  left: 0; bottom: -.12em;
  white-space: nowrap;
  pointer-events: none;
  font: 700 clamp(6rem, 15vw, 15rem)/1 var(--font-display);
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  will-change: transform;
}

/* ---------- Head ---------- */
.services .svc-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.services .svc-title { margin-top: 20px; color: #fff; max-width: 15ch; }
.services .svc-intro { max-width: 52ch; }

/* ---------- Showcase (desktop) ---------- */
.services .svc-track { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.services .svc-pin { position: relative; padding-bottom: clamp(80px, 12vw, 200px); }
.services .svc-progress {
  position: absolute; left: 0; top: -40px;
  width: var(--svc-frame); height: 2px;
  background: var(--line-dark);
  overflow: hidden;
}
.services .svc-progress i {
  position: absolute; inset: 0;
  background: var(--red);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.services:not(.is-pinned) .svc-progress { display: none; }
.services .svc-show {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 4vw, 72px);
  align-items: center;
}

.services .svc-tabs {
  position: relative;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line-dark);
}
.services .svc-indicator {
  position: absolute; left: -2px; top: 0;
  width: 3px; height: 0;
  background: var(--red);
  border-radius: 3px;
  transition: transform .6s var(--ease), height .6s var(--ease);
}
.services .svc-tab {
  position: relative;
  display: flex; align-items: baseline; gap: 18px;
  width: 100%;
  min-height: 56px;
  padding: 12px 8px 12px 28px;
  background: none; border: 0;
  text-align: left;
  color: rgba(236, 237, 247, .42);
  transition: color .4s var(--ease);
}
.services .svc-tab-num {
  font: 600 .85rem/1 var(--font-body);
  letter-spacing: .12em;
  color: var(--on-dark-muted);
  opacity: .7;
  min-width: 2ch;
  transition: color .4s var(--ease), opacity .4s var(--ease);
}
.services .svc-tab-name {
  font: 600 clamp(1.4rem, 2.05vw, 1.95rem)/1.1 var(--font-display);
  white-space: nowrap;
  letter-spacing: -.015em;
  transition: transform .5s var(--ease);
}
.services .svc-tab[aria-selected="true"] { color: #fff; }
.services .svc-tab[aria-selected="true"] .svc-tab-num { color: var(--red-soft); opacity: 1; }
.services .svc-tab[aria-selected="true"] .svc-tab-name { transform: translateX(8px); }
@media (hover: hover) {
  .services .svc-tab:hover { color: rgba(255, 255, 255, .85); }
}
.services .svc-tab:focus-visible { outline-offset: -3px; }

/* Stage */
.services .svc-stage { position: relative; }
.services .svc-stage-block {
  position: absolute;
  left: calc(var(--svc-frame) * .32); top: 46px;
  width: calc(var(--svc-frame) * .78); height: calc(var(--svc-frame) * .62);
  background: var(--red-deep);
  z-index: 0;
}
.services .svc-panels { position: relative; display: grid; z-index: 1; }
.services .svc-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: var(--svc-frame) minmax(0, 1fr);
  gap: 0 clamp(28px, 3vw, 44px);
  align-items: end;
  visibility: hidden;
  transition: visibility 0s linear .7s;
}
.services .svc-panel.is-active { visibility: visible; transition-delay: 0s; }

.services .svc-media {
  position: relative;
  width: var(--svc-frame);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink-2);
  clip-path: inset(0 0 0 100%);
  transition: clip-path .9s var(--ease-in-out);
  box-shadow: var(--shadow-lg);
}
.services .svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.4s var(--ease);
  filter: saturate(.85) contrast(1.05);
}
/* duotone-ish ink wash */
.services .svc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10, 12, 36, 0) 35%, rgba(10, 12, 36, .55) 100%);
  mix-blend-mode: multiply;
}
.services .svc-media-num {
  position: absolute; right: 14px; bottom: 6px; z-index: 1;
  font: 700 3.6rem/1 var(--font-display);
  color: rgba(255, 255, 255, .92);
  letter-spacing: -.04em;
}
.services .svc-panel.is-active .svc-media { clip-path: inset(0 0 0 0); }
.services .svc-panel.is-active .svc-media img { transform: scale(1); }

.services .svc-info {
  padding-bottom: 6px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.services .svc-panel.is-active .svc-info {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s;
}
.services .svc-count {
  font: 700 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: .2em;
  color: var(--on-dark-muted);
}
.services .svc-count span { color: var(--red-soft); }
.services .svc-name {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: #fff;
}
.services .svc-text {
  margin-top: 12px;
  color: var(--on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.services .svc-cta {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 48px;
  margin-top: 14px;
  font-weight: 700; font-size: .95rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.services .svc-cta-arrow { transition: transform .35s var(--ease); }
.services .svc-cta:hover .svc-cta-arrow { transform: translateX(5px); }

.services .svc-mnav { display: none; }

/* Wide desktop: info sits beside the photo; mid desktop: info below photo */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .services { --svc-frame: 400px; }
  .services .svc-panel { grid-template-columns: var(--svc-frame); }
  .services .svc-show { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .services .svc-info { margin-top: 28px; max-width: 46ch; }
}

/* Pinned mode (desktop, motion allowed, tall enough): scroll advances services */
@media (min-width: 1024px) {
  .services.is-pinned .svc-track { height: calc(100vh + 6 * 42vh); }
  .services.is-pinned .svc-pin {
    position: sticky; top: 0;
    height: 100vh;
    display: flex; align-items: center;
    padding-top: calc(var(--header-h) * .6);
    padding-bottom: 0;
  }
  .services.is-pinned .svc-pin > .svc-show { width: min(100% - 2 * var(--gutter), var(--max)); }
}

/* ---------- Mobile / tablet: swipe carousel ---------- */
@media (max-width: 1023.98px) {
  .services .svc-watermark { display: none; }
  .services .svc-pin { padding-bottom: 0; }
  .services .svc-head { grid-template-columns: 1fr; gap: 20px; }
  .services .svc-title { max-width: 16ch; }
  .services .svc-intro { font-size: 1.05rem; }
  .services .svc-show { display: block; width: 100%; }
  .services .svc-tabs, .services .svc-stage-block { display: none; }

  .services .svc-panels {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding: 4px var(--gutter) 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .services .svc-panels::-webkit-scrollbar { display: none; }
  .services .svc-panel {
    flex: 0 0 min(84%, 420px);
    scroll-snap-align: start;
    display: flex; flex-direction: column;
    visibility: visible;
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    border-top: 3px solid var(--red);
  }
  .services .svc-media {
    width: 100%;
    clip-path: none;
    box-shadow: none;
  }
  .services .svc-media img { transform: none; }
  .services .svc-media-num { font-size: 2.6rem; }
  .services .svc-info {
    opacity: 1; transform: none;
    padding: 22px 22px 18px;
    display: flex; flex-direction: column; flex: 1;
  }
  .services .svc-name { margin-top: 10px; font-size: 1.4rem; }
  .services .svc-text { font-size: 1rem; flex: 1; }
  .services .svc-cta { align-self: flex-start; }

  .services .svc-mnav {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px;
    margin-top: 14px;
  }
  .services .svc-hint {
    font-size: .875rem; color: var(--on-dark-muted);
    transition: opacity .5s var(--ease);
  }
  .services .svc-hint.is-gone { opacity: 0; }
  .services .svc-hint-arrow { display: inline-block; color: var(--red-soft); animation: svcNudge 1.8s var(--ease) infinite; }
  .services .svc-dots { display: flex; margin-inline: -14px; }
  .services .svc-dot {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: none; border: 0;
  }
  .services .svc-dot span {
    width: 8px; height: 8px; border-radius: 99px;
    background: rgba(255, 255, 255, .3);
    transition: width .4s var(--ease), background-color .4s var(--ease);
  }
  .services .svc-dot[aria-current="true"] span { width: 22px; background: var(--red); }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .services .svc-panel { flex-basis: 380px; }
}
@keyframes svcNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------- Static / reduced motion ---------- */
.is-static .services .svc-media,
.is-static .services .svc-media img,
.is-static .services .svc-info,
.is-static .services .svc-indicator { transition: none !important; }
.is-static .services .svc-hint-arrow { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .services .svc-hint-arrow { animation: none; }
}


/* ===== innovation ===== */
/* ===================================================================
   INNOVATION — ascending growth path that draws itself on scroll
   =================================================================== */
.innovation {
  --rise: clamp(64px, 7.2vw, 112px);
  --node: 22px;
  background: var(--paper);
  color: var(--text);
  overflow: clip;
  isolation: isolate;
}

/* ---- background "system" motif ---- */
.innovation .innovation__net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 75% at 100% 0%, #000 0%, rgba(0,0,0,.5) 50%, transparent 100%);
          mask-image: radial-gradient(70% 75% at 100% 0%, #000 0%, rgba(0,0,0,.5) 50%, transparent 100%);
}
.innovation .innovation__net pattern circle { fill: rgba(63, 65, 152, .26); }
.innovation .innovation__links path {
  fill: none; stroke: rgba(63, 65, 152, .13); stroke-width: 1.2;
}
.innovation .innovation__pulses path {
  fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; opacity: .55;
  stroke-dasharray: 5 95; stroke-dashoffset: 100;
  animation: innov-pulse 7s linear infinite;
}
.innovation .innovation__pulses path:nth-child(2) { animation-duration: 9s; animation-delay: -3s; }
.innovation .innovation__pulses path:nth-child(3) { animation-duration: 8s; animation-delay: -5s; }
.innovation .innovation__nodes rect { fill: var(--paper); stroke: rgba(63, 65, 152, .32); stroke-width: 1.2; }
.innovation.is-off .innovation__pulses path { animation-play-state: paused; }
@keyframes innov-pulse { to { stroke-dashoffset: 0; } }
.is-static .innovation .innovation__pulses path { animation: none; stroke-dashoffset: 30; }

/* ---- head ---- */
.innovation .innovation__head {
  display: grid; gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(56px, 8vw, 120px);
}
.innovation .innovation__title {
  font-size: var(--fs-hero); line-height: .95; margin-top: .3em;
  color: var(--ink);
}
.innovation .innovation__tags {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
  font: 700 .8rem/1 var(--font-body); letter-spacing: .18em; color: var(--navy);
}
.innovation .innovation__tags span {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px;
  border: 1.5px solid rgba(63, 65, 152, .35); border-radius: 999px; background: rgba(255,255,255,.6);
}
.innovation .innovation__tags i { width: 36px; height: 1.5px; background: var(--red); position: relative; }
.innovation .innovation__tags i::after {
  content: ""; position: absolute; right: -2px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.innovation .innovation__intro { max-width: 60ch; color: var(--muted); font-size: max(1rem, var(--fs-lead)); }

@media (min-width: 1024px) {
  .innovation .innovation__head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
  .innovation .innovation__intro { padding-bottom: 10px; }
}

/* ---- path + steps ---- */
.innovation .innovation__path { position: relative; }
.innovation .innovation__line {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none; z-index: 0;
}
.innovation .innovation__line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.innovation .innovation__track { stroke: rgba(10, 12, 36, .12); stroke-width: 2; stroke-dasharray: 2 8; }
.innovation .innovation__draw {
  stroke: var(--red); stroke-width: 3;
  stroke-dasharray: 1 1; stroke-dashoffset: 0;
}
.innovation .innovation__tip {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--red); z-index: 1; pointer-events: none;
  box-shadow: 0 0 0 6px rgba(238, 50, 55, .16), 0 0 0 14px rgba(238, 50, 55, .07);
  opacity: 0; transition: opacity .4s var(--ease);
}
.innovation.is-drawing .innovation__tip { opacity: 1; }

.innovation .innovation__steps { position: relative; z-index: 2; list-style: none; display: grid; }
.innovation .innovation__step { position: relative; }
.innovation .innovation__node {
  position: absolute; left: 0; top: 0; width: var(--node); height: var(--node);
  border-radius: 50%; background: var(--paper); border: 2.5px solid var(--red);
  transition: transform .7s var(--ease), background-color .5s var(--ease), box-shadow .7s var(--ease);
}
.innovation .innovation__node::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--red);
  transform: scale(1); transition: transform .6s var(--ease);
}
.innovation .innovation__num {
  display: block;
  font: 600 clamp(2.6rem, 4.4vw, 4.2rem)/1 var(--font-display); letter-spacing: -.03em;
  color: var(--red-ui);
  transition: color .6s var(--ease), transform .8s var(--ease);
}
.innovation .innovation__stitle {
  font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); margin-top: 14px;
  hyphens: manual;
}
.innovation .innovation__stext { margin-top: 12px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.innovation .innovation__stitle, .innovation .innovation__stext {
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}

/* armed (JS + motion): steps wait for the line */
.innovation.is-armed .innovation__node { transform: scale(.55); }
.innovation.is-armed .innovation__node::after { transform: scale(0); }
.innovation.is-armed .innovation__num { color: rgba(10, 12, 36, .14); transform: translateY(10px); }
.innovation.is-armed .innovation__stitle,
.innovation.is-armed .innovation__stext { opacity: .22; transform: translateY(14px); }
.innovation.is-armed .innovation__stext { transition-delay: .08s; }
.innovation.is-armed .innovation__step.is-active .innovation__node {
  transform: scale(1); box-shadow: 0 0 0 8px rgba(238, 50, 55, .12);
}
.innovation.is-armed .innovation__step.is-active .innovation__node::after { transform: scale(1); }
.innovation.is-armed .innovation__step.is-active .innovation__num { color: var(--red-ui); transform: none; }
.innovation.is-armed .innovation__step.is-active .innovation__stitle,
.innovation.is-armed .innovation__step.is-active .innovation__stext { opacity: 1; transform: none; }

/* ---- mobile / tablet: vertical timeline down the left edge ---- */
@media (max-width: 1023.98px) {
  .innovation .innovation__steps { gap: clamp(44px, 9vw, 64px); max-width: 660px; padding-bottom: 8px; }
  .innovation .innovation__step { padding-left: clamp(52px, 12vw, 84px); }
  .innovation .innovation__node { top: 4px; }
  .innovation .innovation__num { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* ---- desktop: ascending diagonal, left → right ---- */
@media (min-width: 1024px) {
  .innovation .innovation__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(28px, 3vw, 48px);
    align-items: start;
  }
  .innovation .innovation__step { padding-top: calc((3 - var(--k)) * var(--rise) + var(--node) + 26px); }
  .innovation .innovation__node { top: calc((3 - var(--k)) * var(--rise)); }
  .innovation .innovation__stitle { min-height: 2.3em; }
}

/* ---- static / reduced motion: final state ---- */
.is-static .innovation .innovation__tip { display: none; }
@media (prefers-reduced-motion: reduce) {
  .innovation .innovation__pulses path { animation: none; stroke-dashoffset: 30; }
  .innovation .innovation__tip { display: none; }
}


/* ===== solutions ===== */
/* ===================================================================
   SOLUTIONS — deep red, big statement type, swoosh curves, two panels
   =================================================================== */
.solutions {
  --sol-ink: #6E0B0B;
  background: var(--red-deep);
  color: #fff;
  overflow: clip;
  isolation: isolate;
  padding-bottom: 0;
}

/* ---- swoosh curves ---- */
.solutions .solutions__swoosh {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
}
.solutions .solutions__curve {
  fill: none; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 0;
}
.solutions .solutions__curve--a { stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
.solutions .solutions__curve--b { stroke: var(--red); stroke-width: 54; opacity: .55; }
.solutions .solutions__curve--c { stroke: rgba(255, 255, 255, .08); stroke-width: 1.2; }
.solutions .solutions__fill { fill: rgba(0, 0, 0, .12); transition: opacity 1.2s var(--ease); }
.solutions.is-armed .solutions__fill { opacity: 0; }
.solutions.is-armed.is-swept .solutions__fill { opacity: 1; }

/* ---- head ---- */
.solutions .solutions__inner { position: relative; }
.solutions .solutions__head {
  display: grid; gap: clamp(18px, 2.4vw, 32px);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.solutions .solutions__eyebrow { color: #fff; }
.solutions .solutions__eyebrow::before { background: var(--red); height: 3px; }
.solutions .solutions__title {
  font-size: clamp(2.3rem, 5.6vw, 5.2rem); line-height: 1; color: #fff;
  max-width: 15ch; letter-spacing: -.03em;
}
.solutions .solutions__intro {
  max-width: 54ch; font-size: max(1rem, var(--fs-lead)); line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}
@media (min-width: 1024px) {
  .solutions .solutions__head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; column-gap: 56px; }
  .solutions .solutions__eyebrow { grid-column: 1 / -1; }
  .solutions .solutions__intro { padding-bottom: .6em; }
}

/* ---- panels (shared) ---- */
.solutions .solutions__panels { display: grid; gap: 16px; }
.solutions .solutions__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: clamp(26px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 60%), var(--sol-ink);
  border: 1px solid rgba(255, 255, 255, .14);
  outline-offset: 4px;
}
.solutions .solutions__panel:focus-visible { outline: 3px solid #fff; }
.solutions .solutions__pnum {
  position: absolute; top: clamp(20px, 2.6vw, 34px); left: clamp(26px, 3.4vw, 48px);
  font: 600 clamp(3.4rem, 7vw, 6.6rem)/1 var(--font-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .4);
}
.solutions .solutions__pmark {
  position: absolute; right: -8px; top: 22px; width: clamp(140px, 22vw, 260px); height: auto; z-index: -1;
  overflow: visible;
}
.solutions .solutions__pmark path { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; opacity: .9; }
.solutions .solutions__pbody { position: relative; margin-top: clamp(96px, 12vw, 150px); }
.solutions .solutions__ptitle {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem); line-height: 1.08; color: #fff; max-width: 16ch;
}
.solutions .solutions__ptext {
  margin-top: 16px; max-width: 46ch; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .84);
}
.solutions .solutions__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .13), transparent 60%);
  transition: opacity .5s var(--ease);
}

/* ---- desktop: expanding panels ---- */
@media (min-width: 1024px) {
  .solutions .solutions__panels { display: flex; gap: 20px; min-height: 470px; }
  .solutions .solutions__panel {
    flex: 1 1 0; min-width: 0;
    transition: flex-grow .9s var(--ease), background-color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease);
  }
  .solutions .solutions__panel.is-open { flex-grow: 1.75; border-color: rgba(255, 255, 255, .3); }
  .solutions .solutions__ptitle { transition: opacity .6s var(--ease); }
  .solutions .solutions__pbody {
    display: grid; grid-template-rows: auto 1fr;
    transition: grid-template-rows .8s var(--ease);
  }
  .solutions .solutions__panel:not(.is-open) .solutions__pbody { grid-template-rows: auto 0fr; }
  .solutions .solutions__ptext { min-height: 0; overflow: hidden; }
  .solutions .solutions__ptext {
    width: min(46ch, 100%);
    transition: opacity .5s var(--ease), transform .7s var(--ease);
  }
  .solutions .solutions__pmark path { transition: opacity .6s var(--ease); }
  .solutions .solutions__pnum { transition: -webkit-text-stroke-color .6s var(--ease), color .6s var(--ease); }
  .solutions .solutions__panel.is-open .solutions__pnum { color: rgba(255, 255, 255, .08); -webkit-text-stroke-color: rgba(255, 255, 255, .7); }
  .solutions .solutions__panel:not(.is-open) .solutions__ptext { opacity: 0; transform: translateY(16px); }
  .solutions .solutions__panel:not(.is-open) .solutions__ptitle { opacity: .62; }
  .solutions .solutions__panel:not(.is-open) .solutions__pmark path { opacity: .3; }
  .solutions .solutions__panel.is-open .solutions__ptext { transition-delay: .18s; }
  .solutions .solutions__panel:not(.is-open)::after {
    content: "+"; position: absolute; right: 28px; bottom: 26px;
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; font: 500 1.4rem/1 var(--font-body);
  }
}
@media (min-width: 1024px) and (hover: hover) {
  .solutions .solutions__panel { cursor: default; }
  .solutions .solutions__panel:hover .solutions__glow { opacity: 1; }
}
/* static: both panels open, equal */
@media (min-width: 1024px) {
  .is-static .solutions .solutions__panel { flex-grow: 1; }
  .is-static .solutions .solutions__panel .solutions__ptext { opacity: 1; transform: none; }
  .is-static .solutions .solutions__panel .solutions__pbody { grid-template-rows: auto 1fr; }
  .is-static .solutions .solutions__panel .solutions__ptitle { opacity: 1; }
  .is-static .solutions .solutions__panel::after { content: none; }
}

/* ---- tablet: side by side, both open ---- */
@media (min-width: 720px) and (max-width: 1023.98px) {
  .solutions .solutions__panels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023.98px) {
  .solutions .solutions__panel { justify-content: flex-start; }
}

/* ---- marquee ---- */
.solutions .solutions__marquee {
  position: relative; margin-top: clamp(72px, 10vw, 140px);
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-block: clamp(22px, 3vw, 36px);
  overflow: hidden;
  background: rgba(0, 0, 0, .1);
}
.solutions .solutions__track { display: flex; width: max-content; will-change: transform; }
.solutions .solutions__group { display: flex; list-style: none; flex: none; }
.solutions .solutions__group li {
  display: flex; align-items: center; flex: none; white-space: nowrap;
  font: 600 clamp(1.7rem, 3.6vw, 3.2rem)/1.1 var(--font-display); letter-spacing: -.02em; color: #fff;
}
.solutions .solutions__group li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .75); }
.solutions .solutions__group li::after {
  content: ""; flex: none; width: clamp(34px, 4vw, 56px); height: 14px; margin-inline: clamp(20px, 2.6vw, 40px);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 14'%3E%3Cpath d='M2 12 C 18 14, 34 10, 54 2' fill='none' stroke='%23EE3237' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}


/* ===== hse ===== */
/* ===================================================================
   HSE + FINANCIAL — EV "charging" block and stable-foundation block
   =================================================================== */
.hse {
  --charge: 0;
  background: var(--white);
  color: var(--text);
  overflow: clip;
}
.hse .hse__block {
  display: grid; gap: clamp(36px, 6vw, 96px); align-items: center;
}
.hse .hse__block + .hse__block { margin-top: clamp(96px, 13vw, 190px); }

.hse .hse__title {
  font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; color: var(--ink);
  margin-top: 18px; max-width: 16ch;
}
.hse .hse__p { margin-top: 18px; color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 56ch; }
.hse .hse__p--lead { margin-top: 26px; font-size: max(1rem, var(--fs-lead)); line-height: 1.6; color: var(--text); }

/* ---- media + offset red block ---- */
.hse .hse__media { position: relative; margin: 0; isolation: isolate; }
.hse .hse__block-red {
  position: absolute; z-index: -1; background: var(--red-deep); pointer-events: none;
}
.hse .hse__frame { position: relative; overflow: hidden; background: var(--paper-2); }
.hse .hse__frame img { width: 100%; height: 100%; object-fit: cover; }

/* EV image: arch on the left like the profile, red block bleeding right */
.hse .hse__media--ev { max-width: 760px; margin-left: auto; width: 100%; }
.hse .hse__frame--arch {
  aspect-ratio: 735 / 490;
  border-radius: 33.4% 0 0 33.4% / 50% 0 0 50%;
  clip-path: inset(0 0 0 calc((1 - var(--reveal, 1)) * 100%));
  will-change: clip-path;
}
.hse .hse__frame--arch img { transform: scale(calc(1.12 - .12 * var(--reveal, 1))); transform-origin: 70% 50%; }
.hse .hse__media--ev .hse__block-red {
  top: -9%; bottom: -9%; left: 34%; right: calc(-1 * var(--gutter) - 200px);
  transform-origin: right center;
  transform: scaleX(calc(.55 + .45 * var(--reveal, 1)));
}

/* charging ring on the image corner */
.hse .hse__ring {
  position: absolute; left: clamp(-10px, -1vw, 0px); bottom: -34px;
  width: clamp(84px, 9vw, 116px); height: auto;
  border-radius: 50%; background: var(--white); box-shadow: var(--shadow);
  transform: rotate(-90deg);
}
.hse .hse__ring circle { fill: none; stroke-width: 6; }
.hse .hse__ring-bg { stroke: rgba(10, 12, 36, .08); }
.hse .hse__ring-fg {
  stroke: var(--red); stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--charge));
}
.hse .hse__ring-bolt {
  fill: var(--ink); transform: rotate(90deg); transform-origin: 60px 60px;
  opacity: calc(.35 + .65 * var(--charge));
}

/* charge bar under the HSE text */
.hse .hse__charge {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 44px);
}
.hse .hse__plug {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); flex: none;
}
.hse .hse__plug svg { width: 18px; height: 18px; fill: #fff; }
.hse .hse__cells {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px;
  width: min(260px, 60vw); height: 18px; padding: 3px;
  border: 1.5px solid rgba(10, 12, 36, .25); border-radius: 6px; position: relative;
}
.hse .hse__cells::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 4px; height: 8px; margin-top: -4px;
  border-radius: 0 2px 2px 0; background: rgba(10, 12, 36, .25);
}
.hse .hse__cells i {
  display: block; border-radius: 2px; background: rgba(10, 12, 36, .07);
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.hse .hse__cells i.is-on { background: var(--red); }
.hse .hse__cells i.is-on:nth-child(n+9) { background: var(--red-deep); }
.hse .hse__chargelabel {
  font: 700 .75rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ---- financial: big team frame with parallax ---- */
.hse .hse__media--team { width: 100%; }
.hse .hse__frame--team {
  aspect-ratio: 3 / 2; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hse .hse__frame--team img {
  height: 116%; position: absolute; left: 0; top: -8%;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.hse .hse__block-red--fin {
  left: calc(-1 * var(--gutter) - 200px); right: 22%; top: 16%; bottom: -10%;
}
.hse .hse__base { width: min(320px, 70%); height: auto; margin-top: clamp(28px, 4vw, 44px); overflow: visible; }
.hse .hse__base path {
  fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 520; stroke-dashoffset: 0;
}
.js .hse .hse__block--fin .hse__base path { stroke-dashoffset: 520; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js .hse .hse__block--fin.is-in .hse__base path { stroke-dashoffset: 0; }

/* ---- layout ---- */
@media (min-width: 900px) {
  .hse .hse__block--hse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .hse .hse__block--fin { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (max-width: 899.98px) {
  /* mobile: image first, then text */
  .hse .hse__block--hse .hse__media { order: -1; }
  .hse .hse__media--ev { margin-right: 0; width: calc(100% - 8px); }
  .hse .hse__media--ev .hse__block-red { right: calc(-1 * var(--gutter)); left: 30%; }
  .hse .hse__block-red--fin { left: calc(-1 * var(--gutter)); right: 18%; }
  .hse .hse__ring { left: -6px; bottom: -26px; width: 80px; }
  .hse .hse__frame--team { aspect-ratio: 4 / 3; }
  .hse .hse__media { margin-bottom: 18px; }
}

/* ---- static / reduced motion ---- */
.is-static .hse { --charge: 1; }
.is-static .hse .hse__frame--arch, .is-static .hse .hse__media--ev { --reveal: 1; }
.is-static .hse .hse__frame--team img { --py: 0px; }
.is-static .hse .hse__base path { stroke-dashoffset: 0 !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hse { --charge: 1; }
  .hse .hse__base path { stroke-dashoffset: 0 !important; }
}


/* ===== partners ===== */
/* =====================================================================
   PARTNERS — ink section, marquee rows of logo tiles + full grid
   ===================================================================== */
.partners {
  --tile-r: 16px;
  overflow: clip;
  background:
    radial-gradient(60% 50% at 88% 0%, rgba(63, 65, 152, .28), transparent 70%),
    var(--ink);
}

/* ---------- Heading ---------- */
.partners .partners-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.partners .partners-title { margin-top: 22px; max-width: 16ch; color: #fff; }
.partners .partners-count {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-end;
  line-height: 1;
}
.partners .partners-count-num {
  font: 600 clamp(6.5rem, 15vw, 13.5rem)/.8 var(--font-display);
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .38);
  background: linear-gradient(180deg, transparent 52%, var(--red) 52%) no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.partners .partners-count-label {
  margin-top: 14px;
  font: 700 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---------- Tiles (shared by marquee + grid) ---------- */
.partners .partner-logo,
.partners .pm-logo {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: var(--tile-r);
}
.partners .partner-logo img,
.partners .pm-logo img {
  height: calc(var(--box) * var(--h, .8));
  width: auto; max-width: 100%;
  object-fit: contain;
}

/* ---------- Marquee ---------- */
.partners .partners-marquee {
  display: none;               /* only shown once JS has built it */
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.partners.has-marquee .partners-marquee { display: flex; }
.partners .partners-row { overflow: hidden; padding-block: 12px 10px; }
.partners .pm-track {
  display: flex; width: max-content;
  animation: partners-marquee var(--dur, 40s) linear infinite;
  will-change: transform;
}
.partners .partners-row[data-dir="rev"] .pm-track { animation-direction: reverse; }
.partners .pm-set { display: flex; gap: var(--gap); padding-right: var(--gap); list-style: none; }
@keyframes partners-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-100% / var(--n, 2)), 0, 0); }
}
.partners .partners-row { --gap: clamp(12px, 1.4vw, 20px); --tw: 244px; --th: 132px; --box: 100px; }
.partners .partners-row[data-row="1"] { --tw: 204px; --th: 108px; --box: 80px; }
.partners .pm-tile {
  position: relative; flex: none;
  width: var(--tw);
  transition: transform .5s var(--ease);
}
.partners .pm-logo {
  height: var(--th);
  padding: 14px 22px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
  transition: box-shadow .5s var(--ease);
}
.partners .pm-name {
  display: block;
  margin-top: 10px;
  font: 600 .8125rem/1.3 var(--font-body);
  letter-spacing: .02em;
  color: var(--on-dark-muted);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.partners .partners-row[data-row="0"] .pm-tile:nth-child(-n+8) .pm-logo { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8), inset 0 -3px 0 var(--red); }

@media (hover: hover) and (pointer: fine) {
  .partners .pm-name {
    opacity: 0; transform: translateY(-6px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .partners .pm-tile:hover { transform: translateY(-8px); }
  .partners .pm-tile:hover .pm-name { opacity: 1; transform: none; color: #fff; }
  .partners .pm-tile:hover .pm-logo { box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .9), 0 0 0 2px var(--red); }
}

/* ---------- Controls ---------- */
.partners .partners-controls {
  display: none;
  flex-wrap: wrap; align-items: center; gap: 12px 22px;
  margin-top: clamp(32px, 4vw, 52px);
}
.partners.has-marquee .partners-controls { display: flex; }
.partners .partners-toggle-icon { transition: transform .45s var(--ease); }
.partners .partners-toggle[aria-expanded="true"] .partners-toggle-icon { transform: rotate(180deg); }
.partners .partners-pause {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 6px;
  background: none; border: 0;
  font: 600 .875rem/1 var(--font-body);
  color: var(--on-dark-muted);
  transition: color .3s var(--ease);
}
.partners .partners-pause:hover { color: #fff; }
.partners .partners-pause .ico-play,
.partners .partners-pause[aria-pressed="true"] .ico-pause { display: none; }
.partners .partners-pause[aria-pressed="true"] .ico-play { display: inline; }

/* ---------- Full grid ---------- */
.partners .partners-grid-wrap { margin-top: clamp(28px, 4vw, 48px); }
.partners .partners-grid {
  --box: 84px;
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  list-style: none;
}
.partners .partner { grid-column: span 4; min-width: 0; }
.partners .partner.is-key { grid-column: span 5; --box: 104px; }
.partners .partner-logo {
  height: 124px;
  padding: 12px 18px;
}
.partners .partner.is-key .partner-logo { height: 148px; box-shadow: inset 0 -3px 0 var(--red); }
.partners .partner-name {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 12px;
  font: 600 .9375rem/1.3 var(--font-body);
  color: var(--on-dark);
}
.partners .partner-idx {
  font: 600 .75rem/1 var(--font-display);
  letter-spacing: .06em;
  color: var(--red-soft);
}
/* staggered reveal when opened via the toggle */
.partners.has-marquee .partner {
  opacity: 0; transform: translateY(24px) scale(.97);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i) * 35ms);
}
.partners.has-marquee .partners-grid-wrap.is-open .partner { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .partners .partner-logo { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .partners .partner:hover .partner-logo { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .9), 0 0 0 2px var(--red); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .partners .partners-grid { --box: 72px; }
  .partners .partner.is-key { --box: 92px; }
  .partners .partner-logo { height: 104px; padding: 10px 12px; }
  .partners .partner.is-key .partner-logo { height: 128px; }
  .partners .partner-name { font-size: .875rem; }
}
@media (max-width: 767px) {
  .partners .partners-head { grid-template-columns: 1fr; align-items: start; gap: 8px; }
  .partners .partners-count { flex-direction: row; align-items: baseline; gap: 14px; order: -1; }
  .partners .partners-count-num { font-size: 6.5rem; }
  .partners .partners-count-label { margin-top: 0; }
  .partners .partners-row { --tw: 184px; --th: 104px; --box: 78px; }
  .partners .partners-row[data-row="1"] { --tw: 160px; --th: 88px; --box: 64px; }
  .partners .pm-logo { padding: 12px 16px; }
  .partners .partners-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .partners .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --box: 66px; }
  .partners .partner, .partners .partner.is-key { grid-column: span 1; }
  .partners .partner.is-key { --box: 76px; }
  .partners .partner-logo { height: 96px; padding: 10px 12px; }
  .partners .partner.is-key .partner-logo { height: 112px; }
  .partners .partner-name { font-size: .875rem; }
}

/* Reduced motion / ?static: no marquee, full grid visible */
.partners.is-reduced .partners-marquee,
.partners.is-reduced .partners-controls { display: none; }
.partners.is-reduced .partner { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .partners .pm-track { animation: none; }
}


/* ===== contact ===== */
/* =====================================================================
   CONTACT — paper section: closing statement, contact rows, map, form
   ===================================================================== */
.contact {
  overflow: clip;
  background: var(--paper);
  color: var(--text);
}
.contact::before {               /* faint ascending lines motif, top-right */
  content: ""; position: absolute; right: -6%; top: 0;
  width: 46%; height: 70%;
  background: repeating-linear-gradient(-58deg, transparent 0 46px, rgba(10, 12, 36, .045) 46px 47px);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
          mask-image: linear-gradient(200deg, #000, transparent 70%);
  pointer-events: none;
}

/* ---------- Statement ---------- */
.contact .contact-head { position: relative; max-width: 1080px; margin-bottom: clamp(56px, 7vw, 104px); }
.contact .contact-title {
  margin-top: 24px;
  font-size: clamp(2.15rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  color: var(--ink);
}
.contact .contact-title em {
  font-style: normal;
  color: var(--red-ui);
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 92% / 100% .07em;
}

/* ---------- Grid ---------- */
.contact .contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* ---------- Contact rows ---------- */
.contact .contact-rows { list-style: none; border-top: 1px solid var(--line); }
.contact .contact-row {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line);
}
.contact .contact-link {
  position: relative; flex: 1; min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label arrow" "value arrow";
  align-items: center; column-gap: 16px; row-gap: 4px;
  padding: 22px 0;
  text-decoration: none; color: inherit;
  isolation: isolate;
}
.contact .contact-link::before {          /* sliding highlight */
  content: ""; position: absolute; inset: 6px -14px; z-index: -1;
  border-radius: 14px; background: var(--white);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease);
}
.contact .contact-label {
  grid-area: label;
  font: 700 var(--fs-eyebrow)/1.2 var(--font-body);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.contact .contact-value {
  grid-area: value;
  font: 600 clamp(1.2rem, 1.9vw, 1.6rem)/1.25 var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact .contact-value--addr { font-size: clamp(1.1rem, 1.55vw, 1.32rem); }
.contact .contact-arrow {
  grid-area: arrow;
  width: 22px; height: 22px; color: var(--red-ui);
  transition: transform .45s var(--ease);
}
.contact .contact-copy {
  flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.contact .contact-copy svg { width: 20px; height: 20px; }
.contact .contact-copy:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact .contact-copy:active { transform: scale(.92); }
.contact .contact-copy.is-done { background: var(--red-ui); border-color: var(--red-ui); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .contact .contact-link:hover::before { transform: scaleX(1); }
  .contact .contact-link:hover .contact-arrow { transform: translate(3px, -3px); }
}
.contact .contact-link:focus-visible { outline-offset: 0; }

/* ---------- Map ---------- */
.contact .contact-map {
  position: relative;
  margin-top: clamp(32px, 4vw, 48px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.contact .contact-map-ph {
  position: absolute; left: 0; right: 0; top: 0; height: clamp(260px, 26vw, 340px);
  display: grid; place-items: center;
  background:
    linear-gradient(90deg, rgba(10, 12, 36, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(10, 12, 36, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper-2);
  transition: opacity .6s var(--ease);
}
.contact .contact-map-ph-pin {
  width: 18px; height: 18px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 10px rgba(238, 50, 55, .18), 0 0 0 22px rgba(238, 50, 55, .08);
}
.contact .contact-map.is-loaded .contact-map-ph { opacity: 0; }
.contact .contact-map iframe {
  position: relative;
  display: block; width: 100%; height: clamp(260px, 26vw, 340px); border: 0;
  filter: grayscale(.35) contrast(1.02);
}
.contact .contact-map-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  padding: 12px 14px 12px 20px;
  background: var(--ink); color: var(--on-dark);
}
.contact .contact-map-pin {
  width: 10px; height: 10px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 5px rgba(238, 50, 55, .25);
}
.contact .contact-map-place { flex: 1; font-weight: 600; font-size: .9375rem; }
.contact .contact-map-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: .875rem; text-decoration: none;
  transition: background-color .3s var(--ease);
}
.contact .contact-map-link:hover { background: var(--paper-2); }

/* ---------- Form card ---------- */
.contact .contact-form-col { position: relative; padding: 0 0 0 0; }
.contact .contact-block {               /* offset red colour block (profile motif) */
  position: absolute; z-index: 0;
  top: -28px; right: -28px; width: 62%; height: 46%;
  border-radius: var(--r-lg);
  background: var(--red-deep);
}
.contact .quote {
  position: relative; z-index: 1;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.contact .quote-title { font-size: var(--fs-h3); color: var(--ink); }
.contact .quote-note { margin-top: 10px; color: var(--muted); font-size: 1rem; max-width: 46ch; }
.contact .quote-head { margin-bottom: 30px; }
.contact .quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

/* Floating-label fields */
.contact .field { position: relative; margin-bottom: 22px; padding-top: 18px; }
.contact .field input,
.contact .field textarea {
  display: block; width: 100%;
  padding: 12px 0 10px;
  font-size: 1.0625rem; line-height: 1.4;   /* ≥16px: no iOS zoom */
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(10, 12, 36, .22);
  border-radius: 0;
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.contact .field textarea { resize: vertical; min-height: 120px; }
.contact .field label {
  position: absolute; left: 0; top: 30px;
  font-size: 1.0625rem; color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s var(--ease);
}
.contact .field .req { color: var(--red-ui); }
.contact .field .opt { font-size: .85em; opacity: .8; }
.contact .field input:focus + label,
.contact .field input:not(:placeholder-shown) + label,
.contact .field textarea:focus + label,
.contact .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-28px) scale(.8);
  color: var(--ink);
  font-weight: 600;
}
.contact .field textarea::placeholder { color: transparent; transition: color .3s var(--ease); }
.contact .field textarea:focus::placeholder { color: rgba(93, 96, 121, .75); }
.contact .field-line {
  position: absolute; left: 0; right: 0; height: 2px;
  bottom: auto; margin-top: -2px;
  background: var(--red-ui);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.contact .field input:focus ~ .field-line,
.contact .field textarea:focus ~ .field-line { transform: scaleX(1); }
.contact .field input:focus-visible,
.contact .field textarea:focus-visible { outline: none; }
.contact .field-err {
  display: none;
  margin-top: 8px;
  font-size: .875rem; font-weight: 600; color: var(--red-ui-hover);
}
.contact .field.is-invalid .field-err { display: block; }
.contact .field.is-invalid input,
.contact .field.is-invalid textarea { border-bottom-color: var(--red-ui); }
.contact .field.is-invalid label { color: var(--red-ui-hover); }
.contact .field.is-valid input,
.contact .field.is-valid textarea { border-bottom-color: rgba(10, 12, 36, .45); }
.contact .field-count {
  position: absolute; right: 0; bottom: -22px;
  font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.contact .field--area { margin-bottom: 30px; }

/* Service chips */
.contact .field-chips { border: 0; margin: 4px 0 26px; min-width: 0; }
.contact .field-chips legend {
  margin-bottom: 12px;
  font-size: .85rem; font-weight: 600; color: var(--ink);
}
.contact .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .chip { position: relative; display: inline-flex; cursor: pointer; }
.contact .chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.contact .chip span {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid rgba(10, 12, 36, .18);
  border-radius: 999px;
  font-size: .9rem; font-weight: 600; line-height: 1.2;
  color: var(--text);
  background: var(--paper);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.contact .chip:hover span { border-color: var(--ink); }
.contact .chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact .chip input:checked + span::before {
  content: ""; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%;
  background: var(--red-soft);
}
.contact .chip input:focus-visible + span { outline: 3px solid var(--red-ui); outline-offset: 2px; }
.contact .chip:active span { transform: scale(.96); }

.contact .form-error {
  margin: -6px 0 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--red-ui);
  background: rgba(212, 36, 42, .07);
  color: var(--red-ui-hover);
  font-weight: 600; font-size: .9375rem;
  border-radius: 0 10px 10px 0;
}
.contact .quote-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .quote-actions .btn { min-height: 54px; }
.contact .quote-wa { padding-left: 24px; }

/* Success micro-animation */
.contact .quote-success {
  display: flex; align-items: center; gap: 12px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: opacity .5s var(--ease), margin .5s var(--ease), max-height .5s var(--ease);
}
.contact .quote.is-sent .quote-success { max-height: 120px; opacity: 1; margin-top: 20px; }
.contact .quote-check { flex: none; width: 40px; height: 40px; color: #1E8A4C; }
.contact .quote-check circle { stroke-dasharray: 107; stroke-dashoffset: 107; }
.contact .quote-check path { stroke-dasharray: 26; stroke-dashoffset: 26; }
.contact .quote.is-sent .quote-check circle { animation: contact-draw .7s var(--ease) forwards; }
.contact .quote.is-sent .quote-check path { animation: contact-draw .45s .45s var(--ease) forwards; }
@keyframes contact-draw { to { stroke-dashoffset: 0; } }
.contact .quote-success-text { font-weight: 600; color: var(--ink); font-size: .9375rem; }

/* Toast */
.contact .contact-toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: .9375rem;
  box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.contact .contact-toast:empty { visibility: hidden; }
.contact .contact-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .contact .contact-grid { grid-template-columns: 1fr; }
  .contact .contact-form-col { order: -1; margin-right: 18px; }
  .contact .contact-block { right: -18px; top: -18px; }
}
@media (max-width: 767px) {
  .contact .contact-title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .contact .quote-row { grid-template-columns: 1fr; }
  .contact .contact-form-col { margin-right: 10px; }
  .contact .contact-block { right: -10px; top: -14px; width: 70%; }
  .contact .quote { padding: 26px 18px 28px; }
  .contact .chips { gap: 7px 6px; }
  .contact .chip span { padding: 0 13px; font-size: .875rem; }
  .contact .quote-actions .btn { flex: 1 1 100%; }
  .contact .contact-link::before { inset: 6px -10px; }
  .contact .contact-map-bar { padding: 12px; }
  .contact .contact-map-place { flex-basis: calc(100% - 30px); }
}


/* ===== footer ===== */
/* =====================================================================
   FOOTER — #06071A, nav columns, giant clipped "ALP" wordmark
   ===================================================================== */
.site-footer {
  position: relative;
  overflow: clip;
  padding-top: clamp(72px, 9vw, 120px);
  background: #06071A;
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}
.site-footer::before {           /* red swoosh hairline across the top */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 55%, transparent);
  opacity: .7;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.site-footer .footer-logo { display: inline-block; border-radius: 6px; }
.site-footer .footer-logo img { width: 210px; height: auto; }
.site-footer .footer-blurb {
  margin-top: 22px; max-width: 38ch;
  color: var(--on-dark-muted); font-size: 1rem; line-height: 1.7;
}
.site-footer .footer-cta { margin-top: 28px; }

.site-footer .footer-h {
  margin-bottom: 18px;
  font: 700 var(--fs-eyebrow)/1.2 var(--font-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red-soft);
}
.site-footer .footer-col ul { list-style: none; }
.site-footer .footer-col li + li { margin-top: 2px; }
.site-footer .footer-col a,
.site-footer address p {
  font-size: .975rem; line-height: 1.5;
}
.site-footer .footer-col ul a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 40px; min-width: 44px;
  color: var(--on-dark);
  text-decoration: none;
  transition: color .3s var(--ease), transform .35s var(--ease);
}
.site-footer .footer-col ul a::before {
  content: ""; width: 0; height: 2px; margin-right: 0;
  background: var(--red);
  transition: width .35s var(--ease), margin .35s var(--ease);
}
@media (hover: hover) {
  .site-footer .footer-col ul a:hover { color: #fff; }
  .site-footer .footer-col ul a:hover::before { width: 14px; margin-right: 10px; }
}
.site-footer address { font-style: normal; color: var(--on-dark-muted); }
.site-footer address p + p { margin-top: 6px; }
.site-footer address a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--on-dark); text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 85% / 0 1.5px;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
.site-footer address a:hover { color: #fff; background-size: 100% 1.5px; }

/* ---------- Bottom bar ---------- */
.site-footer .footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.site-footer .footer-copy { font-size: .875rem; color: var(--on-dark-muted); }
.site-footer .footer-tools { display: flex; align-items: center; gap: 14px; }
.site-footer .footer-lang {
  display: inline-flex; padding: 4px; gap: 2px;
  border: 1px solid var(--line-dark); border-radius: 999px;
}
.site-footer .footer-lang button {
  min-width: 44px; min-height: 40px; padding: 0 12px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--on-dark-muted);
  font: 700 .8125rem/1 var(--font-body); letter-spacing: .08em;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.site-footer .footer-lang button:hover { color: #fff; }
.site-footer .footer-lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.site-footer .footer-top {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 8px 0 20px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  background: transparent; color: var(--on-dark);
  font: 700 .875rem/1 var(--font-body);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-footer .footer-top svg {
  width: 34px; height: 34px; padding: 8px;
  border-radius: 50%; background: var(--red-ui); color: #fff;
  transition: transform .45s var(--ease);
}
.site-footer .footer-top:hover { border-color: rgba(255, 255, 255, .4); }
.site-footer .footer-top:hover svg { transform: translateY(-3px); }

/* ---------- Giant wordmark ---------- */
.site-footer .footer-wordmark {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  height: clamp(110px, 21vw, 300px);       /* clips the bottom of the letters */
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.site-footer .footer-wordmark-text {
  display: block;
  font: 700 clamp(13rem, 37vw, 34rem)/.8 var(--font-display);
  letter-spacing: -.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 62%);
  -webkit-background-clip: text; background-clip: text;
  transform: translate3d(0, var(--wm-y, 0px), 0);
  will-change: transform;
}
.site-footer .footer-swoosh {
  position: absolute; left: 12%; right: 10%; top: 6%;
  width: 78%; height: 32%;
  color: var(--red);
  opacity: .55;
  transform: translate3d(0, calc(var(--wm-y, 0px) * .6), 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .site-footer .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .site-footer .footer-contact { grid-column: 1 / -1; }
  .site-footer .footer-logo img { width: 180px; }
  .site-footer .footer-col a, .site-footer address p { font-size: 1rem; }
  .site-footer .footer-col ul a, .site-footer address a { min-height: 44px; }
  .site-footer .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .site-footer .footer-tools { width: 100%; justify-content: space-between; }
  .site-footer .footer-lang button { min-height: 44px; }
  /* clear the floating WhatsApp button (bottom-right) */
  .site-footer .footer-wordmark { margin-top: 28px; height: calc(30vw + 20px + env(safe-area-inset-bottom)); }
  .site-footer .footer-wordmark-text { font-size: 44vw; }
}
@media (max-width: 380px) {
  .site-footer .footer-main { grid-template-columns: 1fr; }
}
.is-static .site-footer .footer-wordmark-text,
.is-static .site-footer .footer-swoosh { transform: none; }
