/* UNION — Al-Etehad Company · website
   Layout concept: navy-and-white industrial grid; photos and colour blocks cut at 45° on opposite corners
   (from the Union Link symbol); Safety Amber used only as a signal — eyebrow bars, big numbers, rules. */
:root {
  --navy: #0D2B45;
  --amber: #F4A11D;
  --gulf: #1F5F82;
  --steel: #5C6B7A;
  --sand: #F3EEE6;
  --ink: #091B2C;
  --white: #FFFFFF;
  --sand-2: #E9E2D6;
  --line: rgba(13, 43, 69, .14);
  --line-strong: rgba(13, 43, 69, .28);
  --line-inv: rgba(255, 255, 255, .14);
  --text: #0D2B45;
  --text-soft: #4A5867;
  --text-inv: rgba(255, 255, 255, .78);

  --f-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-ar: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;

  --fs-display: clamp(44px, 6.6vw, 108px);
  --fs-h1: clamp(42px, 5.6vw, 88px);
  --fs-h2: clamp(34px, 4.2vw, 62px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-lead: clamp(17px, 1.35vw, 20px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-eyebrow: 13px;

  --cut-s: 14px;
  --cut: 28px;
  --cut-l: 56px;

  --wrap: 1320px;
  --gutter: 24px;
  --section: clamp(80px, 9vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: .95; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ar { font-family: var(--f-ar); direction: rtl; unicode-bidi: isolate; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-white { background: var(--white); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-text); font-weight: 600; font-size: var(--fs-eyebrow);
  letter-spacing: .24em; text-transform: uppercase; color: var(--steel);
}
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--amber); flex: none; }
.bg-navy .eyebrow, .bg-ink .eyebrow, .on-dark .eyebrow { color: rgba(255, 255, 255, .72); }
.h1 { font-size: var(--fs-h1); font-weight: 800; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.05; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); max-width: 60ch; }
.bg-navy .lead, .bg-ink .lead, .on-dark .lead { color: var(--text-inv); }
.prose { color: var(--text-soft); max-width: 62ch; display: grid; gap: 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.bg-navy .prose, .bg-ink .prose { color: var(--text-inv); }
.bg-navy .prose strong, .bg-ink .prose strong { color: var(--white); }
.amber { color: var(--amber); }
.display { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .95; text-wrap: balance; }
.muted { color: var(--steel); }
.caps-tag { font-family: var(--f-text); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.num { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; line-height: .9; }

.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head__title { display: grid; gap: 22px; }
.section-head__aside { display: grid; gap: 22px; justify-items: start; }

/* ---------- 45° cut ---------- */
.cut { clip-path: polygon(var(--c, var(--cut)) 0, 100% 0, 100% calc(100% - var(--c, var(--cut))), calc(100% - var(--c, var(--cut))) 100%, 0 100%, 0 var(--c, var(--cut))); }
.cut-s { --c: var(--cut-s); }
.cut-l { --c: var(--cut-l); }
.cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c, var(--cut))), calc(100% - var(--c, var(--cut))) 100%, 0 100%); }
.cut-tl { clip-path: polygon(var(--c, var(--cut)) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c, var(--cut))); }
.photo { position: relative; overflow: hidden; background: var(--sand-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--navy) 12px 24px); }
.stripe--light { background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--white) 12px 24px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--navy); --ibg: var(--navy); --ifg: var(--amber);
  display: inline-flex; align-items: center; gap: 18px;
  height: 56px; padding-left: 24px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background-color .25s, color .25s;
  white-space: nowrap;
}
.btn__ico { display: grid; place-items: center; width: 56px; height: 56px; background: var(--ibg); color: var(--ifg); }
.btn__ico .icon { width: 22px; height: 22px; transition: transform .45s var(--ease-out); }
.btn:hover .btn__ico .icon { transform: translate(2px, -2px) rotate(45deg); }
.btn--light { --bg: var(--white); --fg: var(--navy); --ibg: var(--amber); --ifg: var(--navy); }
.btn--navy { --bg: var(--navy); --fg: var(--white); --ibg: var(--amber); --ifg: var(--navy); }
.btn--sm { height: 46px; font-size: 15px; padding-left: 18px; gap: 14px; }
.btn--sm .btn__ico { width: 46px; height: 46px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 2px solid var(--amber);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(9, 27, 44, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line-inv); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; color: var(--white); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 30px; }
.nav__link { position: relative; font-weight: 500; font-size: 15.5px; color: rgba(255, 255, 255, .84); padding-block: 8px; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 48px; height: 48px; place-items: center; color: var(--white); border: 1px solid var(--line-inv); }
.menu-btn .icon { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-inv); }
.mobile-menu__list { display: grid; padding-block: 28px; }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 8vw, 44px); text-transform: uppercase; padding-block: 12px; border-bottom: 1px solid var(--line-inv); }
.mobile-menu__list a[aria-current="page"] { color: var(--amber); }
.mobile-menu__list .icon { width: 26px; height: 26px; color: var(--amber); }
.mobile-menu__foot { margin-top: auto; padding-block: 28px; display: grid; gap: 8px; color: var(--text-inv); font-size: 15px; }
body.menu-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, min(100vh, 1000px));
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column;
}
.hero__media, .hero__blinds, .hero__shade, .hero__grid { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img.is-current { z-index: 1; }
.hero__blinds { z-index: 2; pointer-events: none; }
.blind { position: absolute; top: 0; bottom: 0; overflow: hidden; clip-path: inset(0 100% 0 0); }
.blind img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; }
.blind.is-run { animation: blind-in .95s var(--ease) forwards; }
@keyframes blind-in { to { clip-path: inset(0 0 0 0); } }
.hero__shade { z-index: 3; background:
  linear-gradient(90deg, rgba(9, 27, 44, .92) 0%, rgba(9, 27, 44, .66) 38%, rgba(9, 27, 44, .18) 72%, rgba(9, 27, 44, .30) 100%),
  linear-gradient(180deg, rgba(9, 27, 44, .55) 0%, rgba(9, 27, 44, 0) 22%, rgba(9, 27, 44, 0) 55%, rgba(9, 27, 44, .85) 100%); }
.hero__grid { z-index: 4; pointer-events: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__grid span { border-right: 1px solid rgba(255, 255, 255, .09); }
.hero__grid span:last-child { border-right: 0; }
.hero__body { position: relative; z-index: 5; flex: 1; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + clamp(28px, 5.5vh, 80px)); }
.hero__copies { display: grid; }
.hero__copy { grid-area: 1 / 1; display: grid; gap: 22px; align-content: start; max-width: 860px; visibility: hidden; }
.hero__copy.is-active { visibility: visible; }
.hero__copy > * { transition: transform .9s var(--ease-out), opacity .7s; transform: translateY(36px); opacity: 0; }
.hero__copy.is-active > * { transform: none; opacity: 1; }
.hero__copy.is-active > *:nth-child(2) { transition-delay: .08s; }
.hero__copy.is-active > *:nth-child(3) { transition-delay: .16s; }
.hero__copy.is-active > *:nth-child(4) { transition-delay: .24s; }
.hero__title { font-size: var(--fs-display); font-weight: 800; line-height: .92; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__text { font-size: var(--fs-lead); color: rgba(255, 255, 255, .86); max-width: 60ch; }
.hero__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 22px; }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .74); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 18px; height: 18px; color: var(--amber); }
.hero__ctrl { display: flex; align-items: center; gap: 18px; }
.hero__count { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--amber); font-weight: 700; }
.hero__bars { display: flex; gap: 8px; }
.hero__bar { width: 44px; height: 3px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done i { transform: scaleX(1); }
.hero__bar.is-active i { animation: bar 6.5s linear forwards; }
.hero.is-paused .hero__bar.is-active i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.ctrl-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); transition: background-color .2s, border-color .2s, color .2s; }
.ctrl-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.ctrl-btn .icon { width: 20px; height: 20px; }
.hero__words { position: relative; z-index: 5; display: grid; margin-top: 14px; pointer-events: none; }
.hero__word {
  grid-area: 1 / 1; display: block; width: max-content; max-width: none; white-space: nowrap; text-align: left;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .78; letter-spacing: -.005em;
  font-size: 12vw; margin-bottom: -.05em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(18%); transition: opacity .8s, transform 1.1s var(--ease-out);
}
.hero__word.is-active { opacity: 1; transform: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(9, 27, 44, .94) 0%, rgba(9, 27, 44, .72) 45%, rgba(9, 27, 44, .25) 100%),
  linear-gradient(180deg, rgba(9, 27, 44, .6) 0%, rgba(9, 27, 44, 0) 30%); }
.page-hero__body { padding-top: calc(var(--header-h) + clamp(64px, 10vw, 140px)); padding-bottom: clamp(64px, 8vw, 112px); display: grid; gap: 24px; max-width: 920px; }
.page-hero .lead { color: rgba(255, 255, 255, .84); }
.page-hero .eyebrow { color: rgba(255, 255, 255, .74); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { color: var(--amber); }
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { flex: none; font-weight: 600; font-size: 14px; color: var(--text-soft); padding: 9px 14px; border: 1px solid var(--line); white-space: nowrap; transition: all .2s; }
.subnav__list a:hover, .subnav__list a.is-active { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---------- About intro (home) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__text { display: grid; gap: 26px; align-content: start; }
.intro__media { position: relative; }
.intro__media .photo { aspect-ratio: 4 / 4.4; }
.badge-year { position: absolute; left: -28px; bottom: 44px; background: var(--navy); color: var(--white); padding: 22px 26px; display: grid; gap: 6px; }
.badge-year .num { font-size: 64px; color: var(--amber); }
.badge-year span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .8); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-top: clamp(56px, 7vw, 96px); }
.stat { padding: 28px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .num { font-size: clamp(54px, 6vw, 88px); color: var(--navy); }
.stat .num sup { font-size: .45em; color: var(--amber); vertical-align: top; position: relative; top: .25em; }
.stat p { font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 56px; }
.glance li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.glance .icon { color: var(--gulf); margin-top: 2px; }
.glance b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--steel); margin-bottom: 4px; }
.glance span { font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ---------- Clients (navy) ---------- */
.clients__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.progress-line { position: relative; height: 1px; background: var(--line-inv); margin-block: clamp(40px, 5vw, 64px); }
.progress-line::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 160px; background: var(--amber); }
.clients__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: start; }
.client-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.client-tile {
  --c: 22px; min-height: 210px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: rgba(255, 255, 255, .045); position: relative; transition: background-color .3s;
}
.client-tile::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-inv); pointer-events: none; }
.client-tile:hover { background: rgba(255, 255, 255, .08); }
.client-tile__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: .95; letter-spacing: .01em; }
.client-tile__sector { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--amber); }
.client-tile__sector .icon { color: rgba(255, 255, 255, .5); }
.sector-list li { display: flex; align-items: center; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line-inv); font-family: var(--f-display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.sector-list li:first-child { border-top: 1px solid var(--line-inv); }
.sector-list .icon { color: var(--amber); }
.quote { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; text-transform: none; }
.fineprint { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 22px; }

/* ---------- People mask ---------- */
.mask-scroll { position: relative; height: 260vh; background: var(--sand); }
.mask-scroll__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.mask-scroll svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mask-scroll__start { position: absolute; left: 0; right: 0; bottom: clamp(32px, 7vh, 80px); z-index: 2; pointer-events: none; }
.mask-scroll__start .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.mask-scroll__start h2 { font-size: clamp(28px, 3.2vw, 46px); max-width: 16ch; }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--steel); }
.scroll-hint i { width: 1px; height: 38px; background: var(--steel); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: hint 1.8s infinite var(--ease); }
@keyframes hint { to { top: 100%; } }
.mask-scroll__end { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; color: var(--white); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 27, 44, 0) 30%, rgba(9, 27, 44, .9) 100%); }
.mask-scroll__end .wrap { padding-bottom: clamp(40px, 8vh, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; }
.mask-scroll.is-static { height: auto; }
.mask-scroll.is-static .mask-scroll__sticky { position: relative; height: clamp(520px, 80vh, 820px); }
.mask-scroll.is-static .mask-scroll__start { display: none; }
.mask-scroll.is-static .mask-scroll__end { opacity: 1; pointer-events: auto; }

/* ---------- Service stack ---------- */
.stack { display: grid; gap: 28px; }
.stack-card {
  --c: var(--cut-l);
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 24px + var(--i, 0) * 16px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 3.6vw, 52px); min-height: 520px;
  background: var(--sand); color: var(--navy);
  box-shadow: 0 -18px 50px rgba(9, 27, 44, .10);
}
.stack-card--navy { background: var(--navy); color: var(--white); }
.stack-card__text { display: flex; flex-direction: column; gap: 22px; }
.stack-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.stack-card__icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--white); color: var(--navy); }
.stack-card--navy .stack-card__icon { background: rgba(255, 255, 255, .08); color: var(--amber); }
.stack-card__icon .icon { width: 28px; height: 28px; }
.stack-card .num { font-size: 64px; color: var(--amber); }
.stack-card h3 { font-size: clamp(30px, 3vw, 44px); }
.stack-card p { color: var(--text-soft); max-width: 46ch; font-size: 18px; }
.stack-card--navy p { color: var(--text-inv); }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.checks .icon { width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }
.stack-card .link-arrow { margin-top: auto; align-self: flex-start; }
.stack-card__media { --c: var(--cut); min-height: 300px; }

/* ---------- Workforce levels (navy, hover list) ---------- */
.marquee { overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; flex: none; padding-right: 12px; animation: marquee var(--dur, 48s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.pill { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line-inv); font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.bg-sand .pill, .bg-white .pill { border-color: var(--line-strong); color: var(--navy); }
.levels { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-inv); }
.level { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 24px 32px; align-items: center; padding-block: 34px; border-bottom: 1px solid var(--line-inv); transition: padding .4s var(--ease-out); }
.level .num { font-size: 22px; color: var(--amber); letter-spacing: .06em; }
.level h3 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; transition: color .3s; }
.level__desc { display: grid; gap: 8px; color: var(--text-inv); }
.level__desc small { font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.5; }
.level__go { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-inv); color: var(--white); transition: all .3s; }
.level:hover .level__go { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.level:hover h3 { color: var(--amber); }
.level__thumb { display: none; }
.level-float { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease-out); --c: 22px; }
.level-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.level-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Recruitment sticky ---------- */
.recruit { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.recruit__aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 32px); display: grid; gap: 24px; }
.recruit__frames { position: relative; aspect-ratio: 4 / 3.1; --c: var(--cut); }
.recruit__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease-out); }
.recruit__frames img.is-active { opacity: 1; transform: none; }
.recruit__frames img:first-child { opacity: 1; }
.recruit__frames.has-active img:first-child:not(.is-active) { opacity: 0; }
.frame-label { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--navy); color: var(--white); padding: 12px 18px; font-family: var(--f-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; display: flex; gap: 12px; }
.frame-label b { color: var(--amber); }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding-block: clamp(32px, 5vh, 56px); border-top: 1px solid var(--line-strong); }
.step:last-of-type { border-bottom: 1px solid var(--line-strong); }
.step .num { font-size: 72px; color: var(--sand-2); -webkit-text-stroke: 1.5px var(--steel); transition: color .4s, -webkit-text-stroke-color .4s; }
.step.is-active .num { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.step h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.step p { color: var(--text-soft); max-width: 46ch; }
.result-box { --c: var(--cut); margin-top: 40px; background: var(--navy); color: var(--white); padding: 34px; display: grid; gap: 12px; }
.result-box h3 { font-size: clamp(28px, 2.6vw, 38px); }
.tagline-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.tagline-row span { display: inline-flex; gap: 10px; align-items: center; font-family: var(--f-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 16px; }
.tagline-row .icon { width: 18px; height: 18px; color: var(--amber); }

/* ---------- Big marquee band ---------- */
.band { background: var(--navy); color: var(--white); overflow: hidden; }
.band__track { display: flex; align-items: center; gap: 48px; padding-block: clamp(28px, 4vw, 52px); }
.band .marquee__track { gap: 48px; padding-right: 48px; align-items: center; animation-duration: 38s; }
.band__item { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 8vw, 132px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); }
.band__item--fill { color: var(--white); -webkit-text-stroke: 0; }
.band__sym { width: clamp(40px, 5vw, 72px); height: auto; flex: none; }

/* ---------- Quality ---------- */
.quality { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.quality__media { --c: var(--cut-l); aspect-ratio: 4 / 4.6; }
.habits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 12px; }
.habit { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.habit__top { display: flex; align-items: center; gap: 12px; }
.habit__top .num { font-size: 22px; color: var(--amber); }
.habit h3 { font-size: 22px; }
.habit p { color: var(--text-soft); font-size: 16px; }
.objective { --c: var(--cut-s); margin-top: 32px; background: var(--sand); padding: 22px 26px; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; }
.objective small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--steel); }
.objective strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; line-height: 1.05; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 20px; }
.card__media { --c: var(--cut); aspect-ratio: 4 / 3; }
.card__media img { transition: transform 1s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gulf); }
.card h3 { font-size: clamp(26px, 2.2vw, 32px); }
.card p { color: var(--text-soft); }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy); }
.cta__img { position: absolute; inset: 0; z-index: -2; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 43, 69, .95) 0%, rgba(13, 43, 69, .82) 50%, rgba(13, 43, 69, .45) 100%); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; padding-block: clamp(88px, 10vw, 150px); }
.cta__main { display: grid; gap: 26px; }
.cta .lead { color: var(--text-inv); }
.cta .eyebrow { color: rgba(255, 255, 255, .72); }
.cta__contact { display: grid; gap: 0; border-top: 1px solid var(--line-inv); }
.cta__contact li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line-inv); }
.cta__contact .icon { color: var(--amber); }
.cta__contact b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .6); }
.cta__contact span { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding-block: clamp(64px, 7vw, 100px) 48px; }
.footer__brand { display: grid; gap: 24px; align-content: start; }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { color: var(--text-inv); max-width: 36ch; }
.footer__tag { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); }
.footer__col h4 { font-family: var(--f-text); font-size: 12px; letter-spacing: .22em; font-weight: 600; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: rgba(255, 255, 255, .86); transition: color .2s; }
.footer__col a:hover { color: var(--amber); }
.footer__col address { font-style: normal; display: grid; gap: 10px; color: rgba(255, 255, 255, .86); }
.footer__col address span { overflow-wrap: anywhere; }
.footer__word { display: block; width: max-content; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; white-space: nowrap; line-height: .8; font-size: 22vw; margin-bottom: -.08em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__bottom { border-top: 1px solid var(--line-inv); }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.footer__bottom a { color: rgba(255, 255, 255, .8); }
.footer__bottom a:hover { color: var(--amber); }
.footer__bottom .ar { font-size: 15px; color: rgba(255, 255, 255, .8); margin-left: 10px; }
.footer__bottom .wrap { align-items: center; }
.credit { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5) !important; transition: color .25s; }
.credit img { height: 14px; width: auto; opacity: .82; transition: opacity .25s; }
.credit:hover { color: rgba(255, 255, 255, .85) !important; }
.credit:hover img { opacity: 1; }
.contact-card a, .cta__contact a { font-weight: 600; color: inherit; overflow-wrap: anywhere; }
.contact-card a { font-size: 18px; color: var(--navy); }
.cta__contact a { font-size: 17px; }
.contact-card a:hover, .cta__contact a:hover { color: var(--amber); }
.mobile-menu__foot a { color: inherit; }

/* ---------- Inner-page blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { --c: var(--cut-l); aspect-ratio: 4 / 3.6; }
.stack-text { display: grid; gap: 24px; align-content: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding-block: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-content: start; }
.feature .icon { grid-row: span 2; color: var(--gulf); margin-top: 2px; }
.feature h3 { font-size: 21px; line-height: 1.1; }
.feature p { color: var(--text-soft); font-size: 16px; }
.bg-navy .feature, .bg-ink .feature { border-color: var(--line-inv); }
.bg-navy .feature .icon, .bg-ink .feature .icon { color: var(--amber); }
.bg-navy .feature p, .bg-ink .feature p { color: var(--text-inv); }
.aside-box { --c: var(--cut); background: var(--navy); color: var(--white); padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.aside-box--sand { background: var(--sand); color: var(--navy); }
.aside-box h3 { font-size: 15px; letter-spacing: .2em; font-family: var(--f-text); font-weight: 600; color: var(--amber); }
.aside-box--sand h3 { color: var(--steel); }
.aside-box .checks li { color: inherit; }
.aside-box p { color: var(--text-inv); }
.aside-box--sand p { color: var(--text-soft); }
.pull { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: var(--navy); border-left: 4px solid var(--amber); padding-left: 22px; }
.bg-navy .pull, .aside-box .pull { color: var(--white); }
.aside-box--sand .pull { color: var(--navy); }
.note { --c: var(--cut-s); background: var(--sand); padding: 22px 26px; color: var(--navy); font-weight: 500; display: flex; gap: 16px; align-items: flex-start; }
.note .icon { color: var(--gulf); }
.bg-sand .note { background: var(--white); }
.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line-strong); }
.tags span { padding: 16px 18px; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 16px; line-height: 1.15; border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line); }
.tags span:last-child { border-right: 0; }
.tags .icon { width: 18px; height: 18px; color: var(--amber); }
.bg-navy .tags, .bg-navy .tags span { border-color: var(--line-inv); }

.service-block { display: grid; gap: clamp(32px, 4vw, 56px); }
.service-block + .service-block { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }
.service-block__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.service-block__head .num { font-size: clamp(64px, 7vw, 104px); color: var(--amber); }
.service-block__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

.numbered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; counter-reset: n; }
.numbered--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numbered li { padding-block: 26px; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; align-content: start; }
.numbered .num { font-size: 40px; color: var(--amber); }
.numbered h3 { font-size: 23px; line-height: 1.05; }
.numbered p { color: var(--text-soft); font-size: 16px; }
.bg-navy .numbered li { border-color: var(--line-inv); }
.bg-navy .numbered p { color: var(--text-inv); }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); }
.timeline li { padding: 26px 26px 0 0; display: grid; gap: 8px; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 14px; height: 14px; background: var(--amber); transform: rotate(45deg); }
.timeline b { font-family: var(--f-display); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.timeline b span { color: var(--steel); font-weight: 600; font-size: .7em; letter-spacing: .1em; }

.founders { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.letter { display: grid; gap: 22px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--navy); max-width: 62ch; }
.letter__mark { font-family: var(--f-display); font-weight: 800; font-size: 120px; line-height: .6; color: var(--amber); height: 52px; }
.signatures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.signatures b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 26px; text-transform: uppercase; }
.signatures span { font-size: 12px; letter-spacing: .2em; font-weight: 600; color: var(--steel); text-transform: uppercase; }

.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm__card { --c: var(--cut); padding: clamp(28px, 3.4vw, 48px); background: var(--white); display: grid; gap: 18px; align-content: start; }
.vm__card--navy { background: var(--navy); color: var(--white); }
.vm__card h3 { font-size: 14px; letter-spacing: .24em; font-family: var(--f-text); font-weight: 600; color: var(--steel); }
.vm__card--navy h3 { color: var(--amber); }
.vm__card p { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.12; text-transform: uppercase; text-wrap: pretty; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.value { --c: 18px; background: rgba(255, 255, 255, .05); padding: 30px; display: grid; gap: 14px; align-content: start; position: relative; }
.value::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-inv); pointer-events: none; }
.value .icon { color: var(--amber); width: 30px; height: 30px; }
.value h3 { font-size: 24px; }
.value p { color: var(--text-inv); font-size: 16px; }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.reasons li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; padding-block: 30px; border-top: 1px solid var(--line-inv); }
.reasons .num { grid-row: span 2; font-size: 44px; color: var(--amber); }
.reasons h3 { font-size: 24px; }
.reasons p { color: var(--text-inv); font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--navy); }
.chip::before { content: ""; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); flex: none; }
.bg-white .chip { background: var(--sand); border-color: transparent; }
.chip--more { background: transparent !important; border-style: dashed; border-color: var(--line-strong); color: var(--steel); }
.chip--more::before { display: none; }

.table-rows { border-top: 1px solid var(--line-strong); }
.table-rows li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 32px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.table-rows b { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.table-rows span { color: var(--text-soft); }

.symbol-panel { --c: var(--cut-l); background: var(--navy); color: var(--white); padding: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.symbol-panel svg { width: clamp(84px, 9vw, 130px); height: auto; }
.symbol-panel h3 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 14px; }
.symbol-panel p { color: var(--text-inv); max-width: 44ch; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow li { padding: 28px 24px 28px 0; border-top: 3px solid var(--navy); display: grid; gap: 10px; position: relative; align-content: start; }
.flow li + li { padding-left: 24px; }
.flow li::after { content: ""; position: absolute; top: -9px; right: -1px; width: 14px; height: 14px; background: var(--amber); transform: rotate(45deg); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 28px; }
.flow p { color: var(--text-soft); font-size: 16px; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.form legend { padding: 0; margin-bottom: 4px; font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.form legend .num { font-size: 22px; color: var(--amber); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; color: var(--navy); }
.field label small { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 0; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(244, 161, 29, .45); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.field .err { font-size: 13px; color: #B3261E; }
.form .divider { height: 1px; background: var(--line); }
.form-panel { --c: var(--cut); background: var(--sand); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; }
.result { --c: var(--cut); background: var(--navy); color: var(--white); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.result h3 { font-size: 28px; }
.result p { color: var(--text-inv); }
.result pre { margin: 0; white-space: pre-wrap; font-family: var(--f-text); font-size: 14.5px; line-height: 1.55; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-inv); padding: 16px; max-height: 320px; overflow: auto; color: var(--white); }
.copyline { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.copyline code { font-family: var(--f-text); font-weight: 600; font-size: 17px; color: var(--amber); user-select: all; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-inv); font-weight: 600; font-size: 14px; color: var(--white); }
.copy-btn:hover { border-color: var(--amber); color: var(--amber); }
.copy-btn .icon { width: 18px; height: 18px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { --c: 18px; background: var(--white); padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; }
.bg-white .contact-card { background: var(--sand); }
.contact-card .icon { grid-row: span 2; color: var(--gulf); margin-top: 2px; }
.contact-card b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--steel); }
.contact-card span { font-weight: 600; font-size: 18px; color: var(--navy); overflow-wrap: anywhere; user-select: text; }
.contact-card em { font-style: normal; font-size: 13px; color: var(--steel); grid-column: 2; }
.next-steps { display: grid; gap: 0; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); align-items: start; }
.next-steps .num { width: 44px; height: 44px; display: grid; place-items: center; background: var(--amber); color: var(--navy); font-size: 22px; }

/* ---------- Scroll reveal (transform only; content always visible) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes rise { from { transform: translateY(48px); } to { transform: none; } }
    .parallax img { animation: par linear both; animation-timeline: view(); scale: 1.14; }
    @keyframes par { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 22px; }
  .nav__link { font-size: 15px; }
  .level { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 56px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .section-head, .clients__top, .clients__grid, .intro, .quality, .recruit, .split, .service-block__body, .founders, .form-wrap, .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .recruit__aside { position: relative; top: 0; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .values, .reasons, .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mask-scroll__end .wrap { grid-template-columns: minmax(0, 1fr); }
  .intro__media .photo { aspect-ratio: 4 / 3; }
  .badge-year { left: 0; bottom: 0; }
  .quality__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; --gutter: 20px; }
  .brand img { height: 40px; }
  .stack-card { position: relative; top: 0; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stack-card__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .level { grid-template-columns: minmax(0, 1fr) 48px; gap: 14px 16px; padding-block: 28px; }
  .level .num { grid-column: 1 / -1; }
  .level__desc { grid-column: 1 / -1; grid-row: 3; }
  .level__go { width: 48px; height: 48px; grid-row: 2; grid-column: 2; }
  .level__thumb { display: block; grid-column: 1 / -1; grid-row: 4; --c: 16px; aspect-ratio: 16 / 9; }
  .level__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .level-float { display: none; }
  .timeline, .flow { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .timeline li { border-top: 3px solid var(--navy); padding-bottom: 24px; }
  .flow li, .flow li + li { padding-left: 0; }
  .flow li::after { display: none; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .vm { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .glance, .cards, .values, .reasons, .numbered, .numbered--2, .feature-grid, .feature-grid--3, .habits, .form-row, .signatures, .client-tiles { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .step .num { font-size: 56px; }
  .table-rows li { grid-template-columns: minmax(0, 1fr); }
  .symbol-panel { grid-template-columns: minmax(0, 1fr); }
  .client-tile { min-height: 150px; }
  .btn { height: 52px; font-size: 16px; }
  .btn__ico { width: 52px; height: 52px; }
  .hero__ctrl { width: 100%; justify-content: space-between; }
  .hero__bars { display: none; }
  .badge-year { position: relative; margin-top: -2px; }
  .service-block__head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mask-scroll { height: 220vh; }
  .objective { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Additions ---------- */
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numbered .icon { color: var(--gulf); width: 30px; height: 30px; }
.bg-navy .numbered .icon, .bg-ink .numbered .icon { color: var(--amber); }
.bg-navy .numbered h3 { color: var(--white); }
.why-list { border-bottom: 1px solid var(--line-strong); }
.why-list li { display: grid; grid-template-columns: 110px minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px 40px; align-items: baseline; padding-block: 30px; border-top: 1px solid var(--line-strong); }
.why-list .num { font-size: 56px; color: var(--amber); }
.why-list h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.02; }
.why-list p { color: var(--text-soft); }
.form-panel .contact-card { background: var(--white); }
@media (max-width: 860px) {
  .why-list li { grid-template-columns: 70px minmax(0, 1fr); }
  .why-list li p { grid-column: 2; }
  .why-list .num { font-size: 40px; grid-row: span 2; }
}
@media (max-width: 640px) {
  .cards--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track[aria-hidden="true"] { display: none; }
}
