/* PROME Consultants Ltd: v2 site styles
   Direction: "Survey line". Brand red and steel from the logo, a deep ink navy,
   warm paper backgrounds, and engineering details (chainage marks, coordinates,
   blueprint grid) used sparingly as accents. */
:root {
  --red: #bb0a0a;
  --red-dark: #8f0606;
  --red-soft: #fbeceb;
  --steel: #6f6f6f;
  --ink: #07111f;
  --ink-2: #0e1d31;
  --text: #1d222a;
  --muted: #5a616b;
  --line: #e3e1dc;
  --paper: #f5f3ef;
  --white: #ffffff;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 108%; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 780; letter-spacing: -.025em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
ul { padding-left: 1.15em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Small technical label: "01 / SERVICES" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: #ff6b5e; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }

/* Heading marker from v1, kept for inner pages */
.bar-title::after {
  content: ""; display: block; width: 84px; height: 7px; margin-top: .5em; border-radius: 4px;
  background: linear-gradient(90deg, var(--red) 0 30px, var(--steel) 30px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7,17,31,.5); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--display); font-weight: 600; font-size: .97rem;
  color: var(--ink); text-decoration: none; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--red);
}
.head-cta { display: flex; align-items: center; gap: 10px; }
.portal {
  position: relative; display: grid; place-items: center;
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--ink); color: var(--ink); background: var(--white);
  transition: background .15s, color .15s, border-color .15s;
}
.portal::before { content: ""; position: absolute; inset: -10px; } /* keeps a comfortable tap area */
.portal svg { width: 13px; height: 13px; }
.portal:hover, .portal:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.portal .tip {
  position: absolute; top: calc(100% + 14px); right: 0; white-space: nowrap;
  padding: 6px 10px; background: var(--ink); color: #fff; font-size: .8rem; border-radius: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .15s, transform .15s;
}
.portal:hover .tip, .portal:focus-visible .tip { opacity: 1; transform: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 1.5px solid var(--red); border-radius: 999px;
  background: var(--red); color: #fff; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn::after { content: "→"; font-family: var(--body); transition: transform .2s var(--ease); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn:hover::after { transform: translateX(4px); }
.btn.small { padding: 10px 16px; font-size: .92rem; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.plain::after { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,17,31,.96) 0%, rgba(7,17,31,.82) 38%, rgba(7,17,31,.28) 72%, rgba(7,17,31,.15) 100%),
    linear-gradient(0deg, rgba(7,17,31,.85) 0%, transparent 35%);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; padding: clamp(80px, 12vw, 160px) 0 clamp(120px, 12vw, 150px); min-height: min(88vh, 860px); }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
.hero .lede { color: rgba(255,255,255,.86); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.coords { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.coords b { color: #ff6b5e; font-weight: 500; }

.hero-card {
  justify-self: end; width: min(100%, 360px);
  background: rgba(7,17,31,.55); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 24px;
}
.hero-card h2 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0 0 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; }
.stats div { background: var(--ink-2); padding: 16px; }
.stats strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; }
.stats span { display: block; margin-top: 6px; font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.35; }
.hero-card .iso { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .84rem; color: rgba(255,255,255,.75); }
.hero-card .iso::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }

/* Chainage ruler: road stationing marks, slowly drifting */
.chainage {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px; overflow: hidden;
  border-top: 2px solid var(--red); background: rgba(7,17,31,.88);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: rgba(255,255,255,.62);
}
.chainage-track { display: flex; height: 100%; width: max-content; animation: chainage 60s linear infinite; }
.chainage span {
  flex: none; width: 120px; height: 100%; padding: 0 0 8px 8px; display: flex; align-items: flex-end;
  border-left: 1.5px solid rgba(255,255,255,.6);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 24px) top left / 100% 9px no-repeat;
}
@keyframes chainage { to { transform: translateX(-50%); } }

/* ---------- Inner page banner ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 10%, #000 70%); -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 70%);
}
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 30%, var(--steel) 30%); }
.page-head .wrap { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-head .crumb { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.page-head .crumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.page-head .crumb a:hover { color: #fff; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.page-head p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 60ch; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.mist, .section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.section.dark .section-head p { color: rgba(255,255,255,.7); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.split.flip > :first-child { order: 2; }

/* Intro statement */
.statement { font-family: var(--display); font-stretch: 104%; font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.35rem); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); max-width: 30ch; margin: 0 0 28px; }
.statement mark { background: none; color: var(--red); }
.intro-media { position: relative; }
.intro-media img { aspect-ratio: 4 / 3.4; }
.intro-media .tag {
  position: absolute; left: -18px; bottom: 28px; background: var(--white); border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 18px 40px -20px rgba(7,17,31,.45); max-width: 240px;
}
.intro-media .tag strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--red); line-height: 1; }
.intro-media .tag span { font-size: .86rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; border: 2px solid var(--red); border-radius: 2px; transform: translateY(1px) rotate(45deg); }

/* Why choose us */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reasons > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s; }
.reasons > div:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(7,17,31,.4); }
.reasons .num { font-family: var(--mono); font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.reasons h3 { margin: 14px 0 12px; font-size: 1.3rem; }
.reasons ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.reasons li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .97rem; }

/* Services: numbered index with a live preview */
.svc-index { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; counter-reset: svc; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  padding: 18px 4px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 650; font-size: clamp(1.05rem, 1.6vw, 1.32rem); letter-spacing: -.01em;
  transition: color .2s, padding .25s var(--ease);
}
.svc-list a::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--steel); }
.svc-list a::after { content: "→"; font-family: var(--body); color: var(--red); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .25s var(--ease); }
.svc-list a:hover, .svc-list a.active, .svc-list a:focus-visible { color: var(--red); padding-left: 14px; }
.svc-list a:hover::after, .svc-list a.active::after, .svc-list a:focus-visible::after { opacity: 1; transform: none; }
.svc-list img { display: none; }
.svc-preview { position: sticky; top: calc(var(--header-h) + 32px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--paper); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .45s var(--ease), transform .8s var(--ease); }
.svc-preview img.show { opacity: 1; transform: none; }
.svc-preview figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  padding: 14px 18px; border-radius: 10px; background: rgba(7,17,31,.78); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--display); font-weight: 650; display: flex; justify-content: space-between; gap: 12px;
}
.svc-preview figcaption span { font-family: var(--mono); font-weight: 500; font-size: .8rem; color: #ff6b5e; }

/* Process: survey to handover */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 10px, transparent 10px 18px); }
.process li { position: relative; padding: 44px 22px 0 0; }
.process li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid #ff6b5e; box-shadow: 0 0 0 6px var(--ink); }
.process .ch { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: #ff6b5e; }
.process h3 { margin: 8px 0 8px; font-size: 1.2rem; }
.process p { font-size: .95rem; color: rgba(255,255,255,.68); margin: 0; }

/* Sectors */
.sector-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sector-strip a { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.sector-strip img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.sector-strip a:hover img, .sector-strip a:focus-visible img { transform: scale(1.06); opacity: .75; }
.sector-strip .cap { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(7,17,31,.94)); }
.sector-strip .cap strong { display: block; font-family: var(--display); font-weight: 750; font-size: 1.3rem; }
.sector-strip .cap small { display: block; margin-top: 4px; font-size: .84rem; color: rgba(255,255,255,.72); line-height: 1.4; }
.sector-strip .cap::after { content: "→"; position: absolute; right: 18px; top: 22px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); font-size: .95rem; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.sector-strip a:hover .cap::after, .sector-strip a:focus-visible .cap::after { opacity: 1; transform: none; }

/* Projects teaser with a coordinate plot */
.proj-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.type-bars { display: grid; gap: 16px; margin: 28px 0 34px; }
.type-bars div { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: .95rem; }
.type-bars b { font-family: var(--mono); font-weight: 500; color: #fff; }
.type-bars i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.type-bars i::before { content: ""; display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--red), #ff6b5e); border-radius: inherit; transition: width 1.2s var(--ease); }
.plot { position: relative; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); padding: 18px; }
.plot svg { width: 100%; height: auto; display: block; }
.plot .grid line { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.plot .grid text { fill: rgba(255,255,255,.4); font-family: var(--mono); font-size: 9px; }
.plot .dot { fill: #ff6b5e; stroke: var(--ink-2); stroke-width: 1.5; transition: r .2s; }
.plot .dot.cs { fill: #ff6b5e; } .plot .dot.df { fill: #ffffff; } .plot .dot.oa { fill: #8fa3bf; }
.plot .dot:hover { r: 7; }
.plot .city text { fill: rgba(255,255,255,.75); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.plot .city circle { fill: none; stroke: rgba(255,255,255,.5); }
.plot-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .82rem; color: rgba(255,255,255,.7); }
.plot-legend span { display: inline-flex; align-items: center; gap: 7px; }
.plot-legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.plot-tip { position: absolute; pointer-events: none; max-width: 280px; padding: 8px 12px; border-radius: 8px; background: #fff; color: var(--ink); font-size: .82rem; line-height: 1.35; box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); opacity: 0; transition: opacity .15s; }
.plot-tip.show { opacity: 1; }

.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.featured a { display: block; padding: 22px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.featured a:hover { background: rgba(255,255,255,.05); border-color: rgba(255,107,94,.6); color: #fff; }
.featured small { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #ff6b5e; }
.featured strong { display: block; margin: 10px 0 8px; font-family: var(--display); font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.featured span { font-size: .88rem; color: rgba(255,255,255,.6); }

/* Memberships */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.logos a { display: grid; place-items: center; height: 104px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s var(--ease); }
.logos a:hover { border-color: var(--red); transform: translateY(-2px); }
.logos img { max-height: 60px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logos a:hover img { filter: none; opacity: 1; }
.logo-group + .logo-group { margin-top: 36px; }
.logo-group h3 { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.logo-cols { display: grid; grid-template-columns: 3fr 1.1fr; gap: 40px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 22px; background: var(--red); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(110deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000); }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.88); margin: 0; }
.cta .contact-lines { display: grid; gap: 10px; justify-items: start; }
.cta .contact-lines a { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.15rem; }
.cta .contact-lines a:hover { text-decoration: underline; }
.cta .contact-lines .btn { background: #fff; border-color: #fff; color: var(--red); margin-bottom: 8px; font-size: 1rem; }
.cta .contact-lines .btn:hover { text-decoration: none; }
.cta .contact-lines .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Inner page components (shared with v1 markup) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.svc-card { background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.svc-card h3 { margin: 0; padding: 16px; font-size: 1rem; }

.sector-list { display: grid; gap: 18px; }
.sector { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: calc(var(--header-h) + 24px); }
.sector img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.sector h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.sector ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sector li { padding: 7px 14px; background: var(--paper); border-radius: 999px; font-size: .94rem; }
.sector li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: middle; }

.divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.division { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.division p { color: var(--muted); margin: 0; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm > div { background: var(--paper); padding: clamp(28px, 4vw, 52px); border-radius: 18px; }
.vm > div:first-child { background: var(--ink); color: #fff; }
.vm > div:first-child h2 { color: #fff; }
.vm h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.vm p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin: 0; line-height: 1.5; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values > div { padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.values > div::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--red); margin-bottom: 18px; }
.values p, .objectives p { color: var(--muted); margin: 0; }
.objectives { display: grid; gap: 0; counter-reset: obj; border-top: 1px solid var(--line); }
.objectives > div { display: grid; grid-template-columns: 56px 280px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.objectives > div::before { counter-increment: obj; content: counter(obj, decimal-leading-zero); font-family: var(--mono); font-size: .82rem; color: var(--red); }
.objectives h3 { margin: 0; }
.org img { border: 1px solid var(--line); width: 100%; height: auto; border-radius: var(--radius); background: #fff; box-shadow: 0 24px 50px -36px rgba(7,17,31,.5); }
.org a { display: block; }

.svc-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-nav .wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; }
.svc-nav a { flex: none; padding: 7px 14px; font-size: .88rem; line-height: 1.3; color: var(--ink); text-decoration: none; background: var(--paper); border-radius: 999px; transition: background .15s, color .15s; }
.svc-nav a:hover { background: #e9e6e0; color: var(--ink); }
.svc-nav a.active, .svc-nav a[aria-current="true"] { background: var(--ink); color: #fff; }
.service { display: grid; grid-template-columns: 420px 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 110px); }
.service:first-child { border-top: 0; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 80px); }
.service h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.service h3 { margin-top: 1.3em; font-size: 1.05rem; }
.service li { margin-bottom: .4em; max-width: 66ch; }

.proj-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.proj-tools input { flex: 1 1 280px; padding: 14px 18px; font: inherit; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.proj-tools input:focus { outline: none; border-color: var(--ink); background: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { padding: 11px 16px; font: inherit; font-size: .9rem; cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#map { height: min(78vh, 760px); min-height: 460px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); z-index: 1; }
.proj-count { margin: 0 0 12px; color: var(--muted); font-family: var(--mono); font-size: .85rem; }
.proj-list { list-style: none; padding: 0; margin: 0; }
.proj-list li { display: grid; grid-template-columns: 200px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.proj-list .type { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.proj-list .title { font-weight: 500; }
.proj-list button, .proj-list a { font: inherit; font-size: .9rem; }
.proj-list button { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; margin-right: 14px; }
.proj-list button:hover { color: var(--red); }
.proj-empty { padding: 28px 0; color: var(--muted); }
.leaflet-popup-content { font-family: var(--body); font-size: .92rem; }
.leaflet-popup-content strong { display: block; margin-bottom: 6px; color: var(--ink); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office { background: #fff; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 18px; }
.office dl { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; }
.office dt { color: var(--muted); font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.office dd { margin: 0; }
.office a { text-decoration: none; }
.office a:hover { text-decoration: underline; }
.map-frame { width: 100%; height: 440px; border: 0; display: block; border-radius: 18px; }
.mail-line { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -.02em; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer .wrap { padding: clamp(56px, 7vw, 88px) 0 28px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-top p { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; max-width: 22ch; margin: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-logo { display: inline-block; background: #fff; padding: 12px 14px; border-radius: 10px; }
.foot-logo img { height: 42px; width: auto; }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .about { margin: 1em 0 0; max-width: 34ch; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55); }
.foot-base .mono { font-family: var(--mono); letter-spacing: .06em; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: grid; place-items: center; order: 3; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(7,17,31,.35); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; margin-top: -2.5px; }
  .head-cta { margin-left: auto; }
  .svc-nav .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-padding-inline: 20px; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 40px; }
  .service { scroll-margin-top: calc(var(--header-h) + 70px); }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-card { justify-self: start; width: 100%; max-width: 520px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .sector-strip { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .proj-teaser, .logo-cols, .cta { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; }
  .service img { position: static; max-height: 340px; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .split, .vm, .divisions, .offices, .svc-index { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .reasons { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .svc-preview { display: none; }
  .svc-list a { grid-template-columns: 40px 64px 1fr auto; padding: 12px 2px; }
  .svc-list img { display: block; width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
  .svc-list a::after { opacity: 1; transform: none; }
  .sector-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sector-strip a { scroll-snap-align: start; }
  .sector-strip .cap::after { opacity: 1; transform: none; }
  .sector { grid-template-columns: 1fr; }
  .objectives > div { grid-template-columns: 40px 1fr; gap: 6px 16px; }
  .objectives > div p { grid-column: 2; }
  .proj-list li { grid-template-columns: 1fr; gap: 4px; }
  .intro-media .tag { left: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .stats { grid-template-columns: 1fr 1fr; }
  .values, .foot-grid, .process { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  #map { height: 62vh; min-height: 380px; }
  .portal .tip { display: none; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- About: expertise rows with looping video ---------- */
.xp-rows { display: grid; gap: clamp(20px, 3vw, 32px); }
.xp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(14px, 2vw, 20px); }
.xp:nth-child(even) .xp-media { order: 2; }
.xp-media { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--ink); isolation: isolate; }
.xp-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(200deg, transparent 55%, rgba(7,17,31,.55)); }
.xp.red .xp-media { box-shadow: inset 0 -4px 0 var(--red); }
.xp-video, .xp-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xp-still { background-size: cover; background-position: center; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-3%, -2%); } }
.xp-num { position: absolute; left: 18px; bottom: 14px; z-index: 2; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; letter-spacing: -.04em; text-shadow: 0 6px 24px rgba(0,0,0,.35); }
.xp.red .xp-num { color: #fff; }
.xp-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(7,17,31,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; }
.xp-toggle:hover { background: var(--red); }
.xp-toggle span { width: 12px; height: 12px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.xp-toggle.paused span { border-right: 0; border-left: 0; width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent #fff; border-width: 7px 0 7px 12px; margin-left: 3px; }
.xp-body { padding: clamp(4px, 1.5vw, 16px) clamp(4px, 2vw, 24px) clamp(4px, 1.5vw, 16px) 0; }
.xp:nth-child(even) .xp-body { padding-left: clamp(4px, 2vw, 24px); padding-right: 0; }
.xp-body .eyebrow { margin-bottom: 12px; }
.xp.ink .xp-body .eyebrow { color: var(--ink); }
.xp-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.xp-body > p { color: var(--muted); margin-bottom: 18px; }
.xp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.xp-list li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; color: var(--ink); padding: 8px 0; border-top: 1px solid var(--line); }
.xp-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; transform: translateY(-1px) rotate(45deg); background: var(--red); }
.xp.ink .xp-list li::before { background: var(--ink); }
@media (max-width: 860px) {
  .xp { grid-template-columns: 1fr; }
  .xp:nth-child(even) .xp-media { order: 0; }
  .xp-body, .xp:nth-child(even) .xp-body { padding: 4px 6px 8px; }
}
@media (max-width: 480px) { .xp-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .xp-still { animation: none; } }

/* Projects map: pins and popups */
.prome-pin { background: none; border: 0; filter: drop-shadow(0 4px 4px rgba(7,17,31,.35)); transition: transform .15s; }
.prome-pin:hover { transform: translateY(-3px); }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(7,17,31,.55); }
.leaflet-popup-content { margin: 14px 16px; }
.project-popup .pp-type { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.project-popup strong { display: block; font-family: var(--display); font-size: .98rem; line-height: 1.3; color: var(--ink); margin-bottom: 12px; }
.project-popup .pp-more { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--red); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .85rem; }
.project-popup .pp-more::after { content: "→"; }
.project-popup .pp-more:hover { background: var(--red-dark); }

/* ---------- Projects: immersive full-screen map ---------- */
.map-page { background: var(--ink); }
.map-stage { position: relative; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); min-height: 560px; }
.map-stage #map { position: absolute; inset: 0; height: 100%; min-height: 0; border: 0; border-radius: 0; }
.map-stage:fullscreen { height: 100vh; }
.map-panel {
  position: absolute; z-index: 500; top: 24px; left: max(24px, calc((100% - var(--wrap)) / 2));
  width: 380px; max-height: calc(100% - 48px); overflow: auto;
  padding: 24px; border-radius: 18px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 30px 60px -30px rgba(7,17,31,.55);
}
.map-panel .crumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.map-panel .crumb a { color: var(--muted); text-decoration: none; }
.map-panel .crumb a:hover { color: var(--red); }
.map-panel h1 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: 8px; }
.map-panel h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--red) 0 24px, var(--steel) 24px); }
.map-intro { font-size: .95rem; color: var(--muted); margin: 0 0 16px; }
.map-panel .proj-tools { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 12px; }
.map-panel .proj-tools input { flex: none; background: #fff; }
.map-panel .filters button { padding: 8px 12px; font-size: .84rem; }
.map-panel .proj-count { margin: 0; }
/* map controls */
.map-stage .leaflet-bottom.leaflet-right { margin: 0 14px 22px 0; display: flex; flex-direction: column; align-items: flex-end; }
.map-stage .leaflet-control-zoom, .map-stage .leaflet-control-layers, .map-fs { border: 0 !important; border-radius: 12px !important; box-shadow: 0 10px 24px -12px rgba(7,17,31,.5) !important; overflow: hidden; }
.map-stage .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; color: var(--ink); }
.map-stage .leaflet-control-layers { padding: 8px 12px; font-family: var(--body); font-size: .85rem; background: rgba(255,255,255,.95); }
.map-stage .leaflet-control-layers label { margin: 2px 0; cursor: pointer; }
.map-stage .leaflet-control-layers input { accent-color: var(--red); }
.map-fs { width: 38px; height: 38px; display: grid; place-items: center; background: #fff; color: var(--ink); cursor: pointer; }
.map-fs:hover { color: var(--red); }
.map-stage .leaflet-control-attribution { font-size: 10px; max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* pins drop in */
.prome-pin svg { animation: pinDrop .5s var(--ease) both; transform-origin: 50% 100%; }
@keyframes pinDrop { from { transform: translateY(-14px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.map-page + .site-footer .foot-top { display: none; }
@media (max-width: 860px) {
  .map-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .map-panel { order: -1; position: relative; inset: auto; width: auto; max-height: none; margin: 0; border-radius: 0; background: #fff; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); padding: 20px 16px; }
  .map-stage #map { position: relative; height: 72vh; height: 72dvh; min-height: 420px; }
  .map-panel .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .map-panel .filters button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .prome-pin svg { animation: none; } }

/* Projects: search bar (consistent in Safari, Chrome and Firefox) */
.search-box { position: relative; display: flex; align-items: center; gap: 6px; width: 100%; margin: 0; padding: 5px 5px 5px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(7,17,31,.08); }
.search-box svg { flex: none; color: var(--muted); }
.search-box input, .map-panel .proj-tools .search-box input {
  -webkit-appearance: none; appearance: none; flex: 1 1 auto; min-width: 0; width: auto; height: 40px;
  margin: 0; padding: 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  font: inherit; font-size: .95rem; color: var(--ink); outline: none;
}
.search-box input::-webkit-search-decoration { -webkit-appearance: none; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-go { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: .9rem; cursor: pointer; }
.search-go:hover { background: var(--red-dark); }
