/* ==========================================================================
   Xylem Electromechanical — single-page site
   Direction: engineering drawing sheet. Ink navy + Xylem green, mono annotations.
   ========================================================================== */

:root {
  /* Brand colours: blue #274385, green #79B398 */
  --brand: #274385;
  --ink: #1B2F5E;
  --ink-2: #1F3A78;
  --green: #79B398;
  --green-deep: #356E55;
  /* Primary CTA: brand green -> teal -> logo blue. Stops sit in the first ~56% (background-size 180%) so the full range shows at rest; hover slides to the blue end. */
  --grad-cta: linear-gradient(100deg, #268A66 0%, #2A7C9F 30%, #2F6FD8 56%, #2B5BC8 100%);
  --amber: #F2B84B;
  --sky: #8DB8FF;
  --copper: #E08A5C;
  --paper: #F3F1EA;
  --white: #FFFFFF;
  --text: #1B2F5E;
  --muted: #566283;
  --muted-dark: #C0CBE0;
  --line-light: rgba(27, 47, 94, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --header-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--body);
  padding: 15px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  position: relative; overflow: hidden; isolation: isolate;
  background-image: var(--grad-cta);
  background-size: 180% 100%;
  background-position: 0% 50%;
  border-color: transparent;
  color: var(--white);
  text-shadow: 0 1px 1px rgba(10, 30, 60, .3);
  transition: background-position .6s var(--ease), border-color .3s, transform .15s;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover { background-position: 100% 50%; }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-primary .arr {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; margin: -6px -8px -6px 4px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: transform .25s var(--ease), background-color .25s;
}
.btn-primary:hover .arr { transform: translateX(3px); background: rgba(255, 255, 255, .26); }
.btn-primary.btn-sm .arr { width: 22px; height: 22px; margin: -4px -6px -4px 2px; font-size: 13px; }
.btn-ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 12px 18px; font-size: 14.5px; }

/* ---------- Discipline chips ---------- */
.code-chip {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 26px; padding: 0 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; line-height: 1;
  border: 1px solid currentColor; border-radius: 3px;
}
.d-e  { --c: var(--amber); }
.d-p  { --c: var(--green); }
.d-m  { --c: var(--sky); }
.d-ie { --c: var(--copper); }
.code-chip.d-e, .code-chip.d-p, .code-chip.d-m, .code-chip.d-ie { background: var(--c); border-color: var(--c); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(39, 67, 133, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark); box-shadow: 0 12px 30px -22px rgba(10, 20, 50, .6);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); padding-top: 12px; transition: padding-top .3s var(--ease); }
.site-header.is-scrolled .wrap { padding-top: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; height: 64px; width: auto; }
.site-footer .brand-logo { height: 76px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .dd > button {
  position: relative; display: flex; align-items: center; gap: 7px;
  font: 500 16.5px/1 var(--body); color: #CFD8E6; text-decoration: none;
  padding: 12px 14px; border: 0; background: none; cursor: pointer;
}
.nav > a:hover, .dd > button:hover, .nav > a.is-active, .dd.is-active > button { color: var(--white); }
.nav > a.is-active::after, .dd.is-active > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--green);
}
.dd { position: relative; }
.dd > button svg { transition: transform .2s; }
.dd.open > button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: -8px;
  width: 330px; padding: 8px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 5px; text-decoration: none; color: var(--white);
  font-weight: 600; font-size: 15px; line-height: 1.3;
}
.dd-menu a:hover { background: rgba(255,255,255,.06); }
.dd-icon {
  grid-row: span 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--c); color: var(--ink);
  transition: transform .25s var(--ease);
}
.dd-icon svg { width: 24px; height: 24px; }
.dd-icon.plain { background: rgba(255, 255, 255, .1); color: var(--green); }
.dd-menu a:hover .dd-icon { transform: scale(1.06); }
.dd-menu small { color: var(--muted-dark); font-weight: 400; font-size: 13px; }

.dd-menu--wide { width: 680px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.dd-col { display: grid; align-content: start; }
.dd-col + .dd-col { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .1); }
.dd-group { padding: 10px 12px 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--green); }

.header-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; white-space: nowrap; }
.phone-ic { flex-shrink: 0; color: var(--green); }
.phone-badge { display: inline-grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(121, 179, 152, .16); border: 1px solid rgba(121, 179, 152, .4); transition: background-color .25s, border-color .25s; }
.phone-badge .phone-ic { transition: color .25s; }
.header-phone:hover .phone-badge { background: var(--green); border-color: var(--green); }
.header-phone:hover .phone-badge .phone-ic { color: var(--ink); }
.menu-toggle { display: none; }
.nav-mobile-only { display: none !important; }

/* ---------- Dark grid backdrop ---------- */
.grid-bg { position: relative; overflow: hidden; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 35%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 85% 75% at 70% 35%, #000 25%, transparent 80%);
}
.grid-bg::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -320px; pointer-events: none;
  background: radial-gradient(circle, rgba(121,179,152,.16), transparent 65%);
}
.grid-bg > .wrap { position: relative; z-index: 1; }


/* ---------- Hero ---------- */
.hero { margin-top: calc(-1 * (var(--header-h) + 1px)); padding-top: calc(var(--header-h) + 1px + clamp(56px, 8vw, 104px)); background: var(--brand); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 4.7vw, 68px); margin: 0 0 28px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-lede { font-size: clamp(17px, 1.35vw, 20px); color: #B9C5D8; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.schematic .layer { transition: opacity .45s var(--ease); }
.schematic[data-active="electrical"] .layer:not([data-layer="electrical"]),
.schematic[data-active="plumbing"] .layer:not([data-layer="plumbing"]),
.schematic[data-active="hvac"] .layer:not([data-layer="hvac"]) { opacity: .12; }
.sch-panel { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.sch-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: transparent; color: #D5DDEA; cursor: pointer;
  font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s, border-color .2s, color .2s;
}
.sch-btn i { width: 14px; height: 3px; border-radius: 2px; background: var(--c, var(--white)); }
.sch-btn:hover { border-color: rgba(255,255,255,.4); color: var(--white); }
.sch-btn[aria-pressed="true"] { background: rgba(255,255,255,.1); border-color: var(--c, rgba(255,255,255,.6)); color: var(--white); }
.sch-caption { margin-top: 12px; min-height: 3.2em; max-width: 56ch; font-size: 14.5px; line-height: 1.55; color: #B9C5D8; }

@keyframes fadein { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark); }
.hero-stats > div { padding: 28px 24px 34px 0; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat-num { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.02em; }
.stat-label { display: block; margin-top: 10px; color: var(--muted-dark); }

/* ---------- Hero line drawing with MEP callouts ---------- */
.hero-art {
  position: relative; overflow: hidden; aspect-ratio: 600 / 495;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%);
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .flow-line { stroke-dasharray: 1 12; stroke-linecap: round; animation: flow-line 1.4s linear infinite; }
@keyframes flow-line { to { stroke-dashoffset: -26; } }
.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: flex; align-items: center; gap: 8px;
  transform: translate(-7px, -50%);
}
.pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.pin-dot {
  position: relative; flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
}
.pin-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--c); opacity: 0;
  animation: pin-pulse 2.2s var(--ease) infinite;
}
@keyframes pin-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.pin-label {
  padding: 6px 10px; border-radius: 6px;
  background: rgba(15, 28, 62, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .16);
  font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white);
  white-space: nowrap;
}
.pin-label small { display: block; margin-top: 3px; font: 400 11.5px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: #C9D3E6; }

/* ---------- Approvals strip ---------- */
.approvals { border-bottom: 1px solid var(--line-light); }
.approvals .wrap { display: grid; grid-template-columns: auto repeat(4, 1fr); }
.approvals .label { display: flex; align-items: center; padding: 24px 32px 24px 0; color: var(--muted); }
.approval { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 22px 24px; border-left: 1px solid var(--line-light); }
.approval strong { font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 17px; line-height: 1.2; }
.approval span { font-size: 13.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--rule { border-top: 1px solid var(--line-light); }
.section--ink { background: var(--brand); color: var(--white); }
.section--white { background: var(--white); }
.section--mint { background: linear-gradient(180deg, #EEF4F0 0%, #E9F1EC 100%); }
.section--mint .step-strip { background: var(--white); }
.section--mint .step::before { background: #EDF3EF; box-shadow: 0 0 0 6px #EDF3EF; }
.sec-head { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); }
.sec-num { align-self: start; padding-top: 14px; border-top: 1px solid currentColor; color: var(--muted); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 64px); max-width: 17ch; }
.sec-head p { margin-top: 22px; max-width: 58ch; font-size: 18px; color: var(--muted); }
.section--ink .sec-num, .section--ink .sec-head p { color: var(--muted-dark); }


.prose p { font-size: 18px; line-height: 1.65; max-width: 62ch; color: #2A3550; }
.prose p + p { margin-top: 1em; }
.prose p.lead { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.42; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

/* ---------- Why Xylem: bento grid ---------- */
.why-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.why-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: 18px; background: var(--white); border: 1px solid var(--line-light);
  transition: transform .3s var(--ease), border-color .3s;
}
.why-tile h3 { font-size: clamp(20px, 1.7vw, 24px); font-stretch: 106%; line-height: 1.12; letter-spacing: -0.01em; }
.why-tile p { font-size: 15.5px; color: var(--muted); }
.why-tile:not(.why-tile--intro):not(.why-tile--photo):hover { transform: translateY(-3px); border-color: rgba(39, 67, 133, .35); }
.why-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 12px; background: rgba(39, 67, 133, .08); color: var(--brand); }
.why-icon svg { width: 24px; height: 24px; }

.why-tile--intro {
  grid-column: span 2; grid-row: span 2; justify-content: space-between;
  padding: clamp(28px, 3.6vw, 48px);
  background: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%);
  border-color: transparent; color: var(--white);
}
.why-tile--intro::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, #000 20%, transparent 75%);
}
.why-tile--intro > * { position: relative; }
.why-tile--intro h2 { font-size: clamp(34px, 4vw, 58px); max-width: 12ch; }
.why-tile--intro p { max-width: 46ch; font-size: 17.5px; color: #C9D3E6; }
.why-intro-photo { position: relative; flex: 1 1 0; min-height: 120px; margin: 28px 0; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.why-intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-intro-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.why-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.why-badges span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #E6ECF5; }


.why-tile--photo { padding: 0; border: 0; background: var(--ink); min-height: 240px; }
.why-tile--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.why-tile--spaces { background: #E8EEF9; border-color: transparent; }
.why-chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.why-chips li { padding: 5px 10px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 500; color: var(--ink); }

.why-tile--name { grid-column: span 2; flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 40px); }
.why-tile--name .mono { color: var(--green-deep); }
.why-tile--name h3 { margin: 8px 0 10px; }
.xylem-art { flex-shrink: 0; width: clamp(96px, 11vw, 136px); height: auto; color: var(--green-deep); }
.xylem-art .sap { animation: sap-rise 1.6s linear infinite; }
@keyframes sap-rise { to { stroke-dashoffset: -14; } }

.why-tile--quote { grid-column: span 2; justify-content: center; background: transparent; border: 1.5px dashed rgba(27, 47, 94, .25); }
.why-tile--quote blockquote { margin: 0; font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: clamp(20px, 2vw, 27px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.why-tile--quote blockquote::before { content: "\201C"; display: block; margin-bottom: 10px; font-size: 56px; line-height: .6; color: var(--green); }
.why-tile--quote cite { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Services overview links ---------- */
.svc-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-link { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px clamp(20px, 2vw, 26px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.section--white .svc-link { background: var(--paper); }
.svc-link:hover { border-color: rgba(121, 179, 152, .6); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .45); }
.svc-link-photo { margin: 0 0 4px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--paper); }
.svc-link-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-link:hover .svc-link-photo img { transform: scale(1.05); }
.svc-link > :not(.svc-link-photo) { margin-left: clamp(10px, 1vw, 14px); margin-right: clamp(10px, 1vw, 14px); }
.svc-link:hover { transform: translateY(-3px); background: #E8EEF9; }
.svc-link .dd-icon { width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: var(--white); color: var(--brand); }
.svc-link h3 { font-size: clamp(18px, 1.5vw, 20px); font-stretch: 106%; line-height: 1.18; letter-spacing: -0.01em; }
.svc-link p { font-size: 14.5px; color: var(--muted); }
.svc-link .more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--green-deep); }
.svc-link .arr { display: inline-block; transition: transform .25s var(--ease); }
.svc-link:hover .arr { transform: translateX(5px); }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.mv { padding-left: clamp(20px, 2vw, 28px); border-left: 2px solid var(--green); }
.mv-label { display: block; margin-bottom: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.mv p { font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: clamp(20px, 2vw, 27px); line-height: 1.32; letter-spacing: -0.01em; color: var(--white); }
.mv-purpose { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-top: clamp(32px, 4vw, 52px); padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line-dark); font-size: 17.5px; color: #C9D3E6; }
.mv-purpose .mono { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 60%; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); }
.about-visual { position: relative; margin-bottom: 36px; padding: 0 14px 0 0; }
.av-main { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px 22px 96px 22px; overflow: hidden; background: var(--paper); }
.av-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-visual::before {
  content: ""; position: absolute; inset: -12px 0 12px 12px; z-index: -1;
  border: 1.5px solid rgba(121, 179, 152, .55); border-radius: 26px 26px 104px 26px; pointer-events: none;
}
.fact-rail { margin-top: clamp(32px, 4vw, 52px); border: 1px solid var(--line-light); border-radius: 16px; overflow: hidden; background: var(--white); }
.fact-rail dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact-rail::before { content: "Company facts"; display: block; padding: 13px 18px; background: var(--ink); color: var(--white); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.fact-rail dl { margin: 0; }
.fact-rail div { padding: 18px 22px; border-bottom: 1px dotted rgba(27, 47, 94, .28); border-right: 1px dotted rgba(27, 47, 94, .28); }
.fact-rail div:nth-child(3n) { border-right: 0; }
.fact-rail div:nth-last-child(-n+3) { border-bottom: 0; }

.fact-rail div:last-child { border-bottom: 0; }
.fact-rail dt { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact-rail dd { margin: 8px 0 0; font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.about-copy p { max-width: 68ch; }
.about-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.about-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-deep); }
.av-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; padding: 10px 14px; border-radius: 12px; background: rgba(15, 28, 60, .72); backdrop-filter: blur(6px); color: var(--white); font-size: 13.5px; font-weight: 500; }
.std-head { margin-bottom: clamp(28px, 3vw, 44px); }
.std-head h2 { font-size: clamp(28px, 3vw, 44px); max-width: 20ch; }
.std-head p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.std-cols { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.auth-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 4px 14px; padding: 18px 20px; border-radius: 14px; background: var(--paper); }
.auth-ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(121, 179, 152, .22); color: var(--green-deep); }
.auth-ico svg { width: 20px; height: 20px; }
.auth-grid strong { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; }
.auth-grid span { font-size: 14.5px; color: var(--muted); }
.dev-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dev-pills li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--paper); font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; color: var(--ink); }
.std-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.about-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.about-steps li { padding-top: 20px; border-top: 2px solid var(--ink); }
.about-steps .num { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .12em; color: var(--green-deep); }
.about-steps h3 { font-size: clamp(19px, 1.7vw, 23px); font-stretch: 106%; letter-spacing: -0.01em; }
.about-steps p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.quote-band { display: block; max-width: 1000px; margin: 0 auto; text-align: center; }
.about-quote { position: relative; margin: 0; padding: 0; max-width: none; }
.about-quote::before { content: "\201C"; display: block; margin: 0 auto 10px; font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: clamp(56px, 6vw, 88px); line-height: .8; color: var(--green-deep); }
.about-quote p { font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: clamp(24px, 3vw, 40px); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); max-width: none; }
.about-quote cite { display: block; margin-top: 22px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--green-deep); }
.quote-aside { max-width: 520px; margin: clamp(30px, 4vw, 46px) auto 0; padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line-light); }
.quote-aside p { margin: 0 auto; max-width: 46ch; font-size: 17px; color: var(--muted); }
.quote-aside .btn { margin-top: 20px; }

/* ---------- Inner page hero ---------- */
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.page-hero-copy { min-width: 0; }
.page-hero.page-hero--slim { padding: calc(var(--header-h) + 1px + clamp(22px, 2.4vw, 36px)) 0 clamp(24px, 2.8vw, 40px); }
.page-hero.page-hero--slim .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero.page-hero--slim h1 { margin-top: 16px; font-size: clamp(30px, 3.6vw, 48px); }
.page-hero.page-hero--slim .page-lede { margin-top: 14px; }
.page-hero.page-hero--slim .page-hero-actions { margin-top: 22px; }
.page-hero-photo { position: relative; margin: 0 calc(-1 * (max(0px, (100vw - 1440px) / 2) + clamp(20px, 4vw, 56px))) calc(-1 * clamp(64px, 7vw, 104px)) 0; height: clamp(300px, 30vw, 420px); isolation: isolate; }
.page-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; transform: rotate(-3deg) scale(1.03); box-shadow: 0 32px 60px -34px rgba(5, 15, 40, .75); }
.page-hero-photo::before {
  content: ""; position: absolute; z-index: -1; inset: -22px -4px 22px -30px;
  border: 1.5px solid rgba(121, 179, 152, .5); border-radius: 36px;
  transform: rotate(-3deg); pointer-events: none;
}
.page-hero { margin-top: calc(-1 * (var(--header-h) + 1px)); padding: calc(var(--header-h) + 1px + clamp(48px, 6vw, 88px)) 0 clamp(64px, 7vw, 104px); background: linear-gradient(150deg, #1B2F5E 0%, #274385 58%, #2F5FB0 100%); color: var(--white);  overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9FB2D4; }
.crumbs a { color: #C9D3E6; text-decoration: none; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--white); }
.page-hero h1 { margin-top: 20px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; max-width: 20ch; }
.page-lede { margin-top: 20px; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); color: #C9D3E6; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.page-hero .btn-ghost:hover { border-color: var(--white); }
.panel-more { margin-top: 26px; }

/* ---------- Credentials cards ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 16px; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%); }
.cred { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 2.6vw, 38px); color: var(--white); border-right: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s; }
.cred:last-child { border-right: 0; }
.cred:hover { background: rgba(255, 255, 255, .05); }
.cred-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 6px; border-radius: 14px; background: rgba(255, 255, 255, .13); color: var(--green); }
.cred-icon svg { width: 24px; height: 24px; }
.cred h3 { font-size: clamp(18px, 1.6vw, 21px); font-stretch: 106%; line-height: 1.16; letter-spacing: -0.01em; }
.cred p { font-size: 15px; color: #C9D3E6; }
.cred-stat { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 600; color: var(--green) !important; }

/* ---------- Split section heading (tag + title | intro) ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.split-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-light); color: var(--ink); }
.section--white .split-tag { background: var(--paper); border-color: transparent; }
.section--ink .split-tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.section--ink .split-tag span { background: var(--green); color: var(--ink); }
.section--ink .split-side > p { color: #C9D3E6; }
.split-tag span { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--white); }
.split-head h2 { font-size: clamp(32px, 3.8vw, 54px); max-width: 18ch; }
.split-side > p { max-width: 46ch; font-size: 17.5px; color: var(--muted); }
.step-strip { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: fit-content; max-width: 100%; margin: 22px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line-light); }
.step-strip li { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.step-strip li + li::before { content: "\2192"; color: var(--green-deep); }

/* ---------- Services: card tabs + bento sheet ---------- */
.svc-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.svc-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 22px 22px 24px; text-align: left; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, color .3s;
}
.svc-tab:hover { transform: translateY(-3px); border-color: rgba(39, 67, 133, .35); }
.svc-tab[aria-selected="true"] { background: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%); border-color: transparent; color: var(--white); }
.svc-tab-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 12px; background: rgba(39, 67, 133, .08); color: var(--brand); transition: background-color .3s, color .3s; }
.svc-tab[aria-selected="true"] .svc-tab-icon { background: rgba(255, 255, 255, .12); color: var(--green); }
.svc-tab:hover .svc-tab-icon { background: var(--brand); color: var(--white); }
.svc-tab[aria-selected="true"]:hover .svc-tab-icon { background: rgba(255, 255, 255, .18); color: var(--white); }
.svc-icon { width: 30px; height: 30px; }
.svc-tab strong { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.15; letter-spacing: -0.01em; }
.svc-tab small { font-size: 13.5px; line-height: 1.35; color: var(--muted); transition: color .3s; }
.svc-tab[aria-selected="true"] small { color: #C9D3E6; }

.svc-panel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
/* each column sizes to its own content, and the card closes up under the photos */
.panel-main .svc-gallery { margin-top: 18px; }
.panel-main { padding-bottom: clamp(14px, 1.2vw, 18px); }
.svc-panel + .svc-panel { margin-top: 16px; }
.js .svc-panel { animation: panel-in .5s var(--ease); }
.js .svc-panel + .svc-panel { margin-top: 0; }
.panel-main { padding: clamp(28px, 4vw, 52px); background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; }
.svc-panel h3 { font-size: clamp(30px, 3.4vw, 48px); margin: 0 0 24px; }
.svc-panel .prose p { font-size: 17px; }
.svc-panel .prose p.lead { font-size: clamp(19px, 1.7vw, 23px); }
.panel-label { display: block; margin: 40px 0 14px; color: var(--muted); }

.scope-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.scope-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #F2F5FA; font-size: 15px; font-weight: 500; line-height: 1.4; }
.scope-list li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; background: var(--green-deep);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

.panel-side { display: flex; flex-direction: column; gap: 16px; }
.svc-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--ink); }
.svc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-photo:hover img { transform: scale(1.04); }
.svc-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.svc-gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #F2F5FA; }
.svc-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-gallery figure:hover img { transform: scale(1.05); }

.svc-tile { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 30px); border-radius: 18px; background: var(--white); border: 1px solid var(--line-light); }
.svc-tile > .mono, .svc-tile > .panel-label { margin: 0; color: var(--muted); }
.svc-tile--inhouse { background: #E7F2EC; border-color: transparent; }
.svc-tile--inhouse > .mono { color: var(--green-deep); }
.svc-tile--sectors { flex: 1; background: #E8EEF9; border-color: transparent; }
.svc-slider { position: relative; flex: 1 1 auto; min-height: 240px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.svc-slides { position: absolute; inset: 0; display: flex; animation: svc-slide 12s var(--ease) infinite; }
.svc-slider:hover .svc-slides, .svc-slider:hover .svc-dots span { animation-play-state: paused; }
@keyframes svc-slide {
  0%, 22% { transform: translateX(0); }
  33%, 55% { transform: translateX(-100%); }
  66%, 88% { transform: translateX(-200%); }
  100% { transform: translateX(-300%); }
}
.svc-slide { flex: 0 0 100%; height: 100%; margin: 0; }
.svc-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.svc-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); animation: svc-dot 12s var(--ease) infinite; }
.svc-dots span:nth-child(2) { animation-delay: -8s; }
.svc-dots span:nth-child(3) { animation-delay: -4s; }
@keyframes svc-dot {
  0%, 27% { width: 22px; background: var(--white); }
  33%, 100% { width: 8px; background: rgba(255, 255, 255, .55); }
}
.delivery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.delivery li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.delivery li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 3px rgba(121,179,152,.35); }

.exp-list { display: grid; gap: 10px; }
.exp { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #F2F5FA; }
.exp .mono { font-size: 10.5px; color: var(--muted); }
.exp strong { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }

.chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------- In-house ---------- */
.ih-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ih-card { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.2vw, 28px); border-radius: 18px; background: var(--paper); transition: transform .3s var(--ease); }
.ih-card:hover { transform: translateY(-3px); }
.ih-card-head { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.ih-icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; background: var(--white); color: var(--brand); }
.ih-icon .svc-icon { width: 30px; height: 30px; }
.ih-card h3 { font-size: clamp(18px, 1.5vw, 21px); font-stretch: 106%; line-height: 1.15; letter-spacing: -0.01em; }
.ih-card h3 a { text-decoration: none; }
.ih-card h3 a:hover { color: var(--green-deep); }
.ih-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ih-stages li { position: relative; padding: 10px 12px 10px 44px; border-radius: 10px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.ih-stages li::before { content: ""; position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; }
.ih-stages li.yes { background: var(--white); }
.ih-stages li.yes::before { background: rgba(121, 179, 152, .3) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23356E55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.ih-stages li.no { color: #9AA3B5; }
.ih-stages li.no::before { background: rgba(27, 47, 94, .06) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7h7' fill='none' stroke='%239AA3B5' stroke-width='2' stroke-linecap='round'/></svg>") center / 12px no-repeat; }
.ih-stages li small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--green-deep); }
.ih-note { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }

.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.caps-intro {
  grid-row: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  --pad: clamp(26px, 2.8vw, 36px); padding: var(--pad); border-radius: 18px;
  background: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%); color: var(--white);
}
.caps-intro::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 100% 100%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 100% 70% at 100% 100%, #000 20%, transparent 75%);
}
.caps-intro > * { position: relative; }
.caps-intro h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.06; max-width: 10ch; }
.caps-intro p { font-size: 16.5px; color: #C9D3E6; max-width: 26ch; }
.caps-intro .btn { margin-top: auto; }
.caps-intro-photo { position: relative; align-self: stretch; flex: 1 1 0; min-height: 180px; margin: 10px calc(-1 * var(--pad)) 6px; border-radius: 0; overflow: hidden; background: rgba(255, 255, 255, .06); }
.caps-intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.caps-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(121, 179, 152, .16); color: var(--green); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.caps-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(121, 179, 152, .25); }
.cap { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 10px clamp(20px, 2vw, 26px); border-radius: 18px; background: var(--paper); transition: transform .3s var(--ease); border: 1px solid var(--line-light); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.cap > :not(.cap-photo) { margin-left: clamp(12px, 1.2vw, 18px); margin-right: clamp(12px, 1.2vw, 18px); }
.cap-photo { align-self: stretch; margin: 0; aspect-ratio: 16 / 5; border-radius: 12px; overflow: hidden; background: var(--ink); }
.cap-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cap:hover .cap-photo img { transform: scale(1.04); }
.cap:hover { transform: translateY(-3px); }
.cap-icon { position: relative; box-sizing: border-box; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -38px; margin-bottom: 4px; border: 4px solid var(--paper); border-radius: 14px; background: var(--white); color: var(--brand); }
.cap-icon svg { width: 24px; height: 24px; }
.cap h3 { font-size: 20px; font-stretch: 106%; line-height: 1.15; letter-spacing: -0.01em; }
.cap p { font-size: 15px; color: var(--muted); }
.cap .scale { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 7px 12px; border-radius: 999px; background: var(--brand); font-size: 13.5px; font-weight: 600; color: var(--white); }
.cap p:not(.scale) { margin-bottom: 8px; }
.cap .scale span { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* ---------- Sectors ---------- */
.sectors { border-top: 1px solid var(--line-dark); }
.sector {
  display: grid; grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 290px; gap: 28px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line-dark);
}
.sector .n { color: var(--muted-dark); }
.sector h3 { font-size: clamp(24px, 2.9vw, 40px); font-weight: 600; transition: color .3s, transform .4s var(--ease); }
.sector:hover h3 { color: var(--green); transform: translateX(8px); }
.sector h3 a { color: inherit; text-decoration: none; }
.sector p { color: var(--muted-dark); font-size: 16px; }
.sector .codes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.disc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--white); font-size: 13px; font-weight: 500; line-height: 1; color: var(--ink); white-space: nowrap; transition: background-color .3s, border-color .3s; }
.section--ink .disc-pill, .sector .disc-pill { border-color: transparent; background: rgba(255, 255, 255, .08); color: #E6ECF5; }
.sec-card:hover .disc-pill { border-color: rgba(121, 179, 152, .5); }
.disc-pill svg { width: 14px; height: 14px; color: var(--c); }
.sector:hover .disc-pill { background: rgba(255, 255, 255, .14); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 18px); animation: pipe 1.1s linear infinite; }
@keyframes pipe { to { background-position: 18px 0; } }
@keyframes pipe-v { to { background-position: 0 18px; } }
.step { position: relative; padding-right: 22px; }
.step::before {
  content: ""; position: relative; z-index: 1; display: block;
  width: 24px; height: 24px; margin-bottom: 28px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 0 0 0 6px var(--paper);
}
.step:last-child::before { background: var(--green); border-color: var(--green); }
.step .mono { color: var(--muted); }
.step h3 { font-size: 20px; font-stretch: 106%; margin: 10px 0; letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- CTA card ---------- */
.cta-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 72px);
  border-radius: 20px; color: var(--white);
  background: radial-gradient(120% 140% at 85% 0%, #2E5AA8 0%, #274385 45%, #1B2F5E 100%);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(30px, 3.6vw, 50px); max-width: 20ch; }
.cta-card p { margin-top: 14px; font-size: 18px; color: #C9D3E6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn .phone-ic { color: currentColor; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter { font: 500 14.5px/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter .count { font-family: var(--mono); font-size: 11px; opacity: .6; margin-left: 6px; }
.result-count { display: block; margin-bottom: 28px; color: var(--muted); }

.proj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1240px) { .proj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proj-card { display: flex; flex-direction: column; gap: 10px; min-height: 170px; padding: 10px 10px clamp(18px, 1.8vw, 22px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--white); transition: transform .3s var(--ease), background-color .3s, border-color .3s var(--ease), box-shadow .3s var(--ease); }
.proj-card > :not(.proj-photo) { margin-left: clamp(12px, 1.2vw, 16px); margin-right: clamp(12px, 1.2vw, 16px); }
.proj-photo { margin: 0 0 4px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--ink); }
.proj-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj-card:hover .proj-photo img { transform: scale(1.05); }
.proj-card:hover { transform: translateY(-3px); background: #E8EEF9; border-color: rgba(121, 179, 152, .6); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .45); }
.p-num { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.proj-card h3 { font-size: clamp(18px, 1.6vw, 21px); font-stretch: 106%; line-height: 1.16; letter-spacing: -0.01em; }
.p-meta { font-size: 14.5px; color: var(--muted); }
.p-disc { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p-disc li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--white); font-size: 12.5px; font-weight: 500; line-height: 1; color: var(--ink); }
.p-disc i { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--green-deep)); }

/* ---------- Clients ---------- */
.client-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 0; row-gap: 0; }
.client { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; position: relative; min-height: 124px; padding: 18px 14px; border-radius: 18px; background: transparent; color: var(--ink); text-align: center; transition: transform .3s var(--ease); }
.client:hover { transform: translateY(-3px); }
.client::after { content: ""; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: var(--line-light); }
.client:nth-child(6n)::after, .client:nth-last-child(2)::after, .client--cta::after { display: none; }
.client-logo { display: block; width: auto; height: auto; max-height: clamp(52px, 5vw, 74px); max-width: 92%; object-fit: contain; mix-blend-mode: multiply; }
.client strong { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.15; letter-spacing: -0.01em; }
.client .mono { font-size: 10.5px; color: var(--muted); }
.client--cta { grid-column: span 1; align-items: flex-start; padding-left: clamp(24px, 3vw, 40px); background: var(--green); color: var(--ink); text-decoration: none; }
.client--cta:hover { background: #93C6AE; }
.client--cta .mono { color: var(--ink); opacity: .75; }
.client--cta strong { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }
.client--cta .arr { display: inline-block; transition: transform .25s var(--ease); }
.client--cta:hover .arr { transform: translateX(6px); }

/* ---------- Blogs ---------- */
.blog-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.post { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 230px; padding: 10px 10px clamp(20px, 2vw, 26px); border-radius: 18px; background: var(--paper); text-decoration: none; transition: transform .3s var(--ease), background-color .3s; }
.post:hover { transform: translateY(-3px); background: #E8EEF9; }
.post > :not(.post-photo) { margin-left: clamp(14px, 1.4vw, 20px); margin-right: clamp(14px, 1.4vw, 20px); }
.post-photo { margin: 0; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.post-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-photo img { transform: scale(1.05); }
.post-tag { display: inline-flex; align-self: flex-start; margin-top: 4px; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.post-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--green-deep)); }
.post h3 { font-size: clamp(19px, 1.6vw, 22px); font-stretch: 106%; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.post p { font-size: 16px; color: var(--muted); max-width: 44ch; }
.post .more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.post .more .arr { transition: transform .25s var(--ease); }
.post:hover .more .arr { transform: translateX(5px); }
.post--feature {
  grid-row: span 2; padding: clamp(24px, 2.6vw, 34px); color: var(--white);
  background-image: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%);
}
.post--feature > :not(.post-photo) { margin-left: 0; margin-right: 0; }
.post--feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 100% 100%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 100% 100%, #000 20%, transparent 75%);
}
.post--feature > * { position: relative; }
.post--feature:hover { background-image: linear-gradient(145deg, #22396F 0%, #2E4F9B 60%, #3A6CC4 100%); }
.post--feature .post-tag { background: rgba(255, 255, 255, .14); color: #E6ECF5; }
.post--feature p { color: #C9D3E6; }
.post--feature h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.08; }
.section-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.section-foot p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); } }
.info-list { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); border-radius: 18px; background: var(--paper); }
.info { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.info:first-child { padding-top: 0; }
.info:last-child { padding-bottom: 0; border-bottom: 0; }
.info .mono { color: var(--muted); padding-top: 4px; }
.info a { text-decoration: none; font-weight: 600; }
.info a:hover { color: var(--green-deep); }
.info .big { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
address { font-style: normal; line-height: 1.6; }

.enquiry { padding: clamp(24px, 3.5vw, 40px); background: var(--paper); border-radius: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field label abbr { text-decoration: none; color: var(--green-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--body); color: var(--ink);
  padding: 13px 14px; background: var(--white);
  border: 1px solid rgba(27,47,94,.2); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(121,179,152,.3); }
.field textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 520px) { .form-actions .btn { flex: 1 1 100%; justify-content: center; } }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(121,179,152,.16); border-left: 3px solid var(--green-deep); font-size: 15px; }

.map { margin-top: clamp(56px, 7vw, 96px); border-radius: 18px; overflow: hidden; background: var(--paper); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D3E3; padding: 72px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr .95fr .8fr minmax(260px, auto); gap: 40px clamp(32px, 5vw, 80px); padding-bottom: 48px; }
.footer-top > div:last-child { justify-self: end; }
.site-footer h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 20px; max-width: 34ch; color: var(--muted-dark); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; transition: border-color .2s; }
.socials a:hover { border-color: var(--green); }
.footer-contact { display: grid; gap: 11px; margin-bottom: 20px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: #E6ECF5; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--green); }
.site-footer address { font-style: normal; color: var(--muted-dark); line-height: 1.65; }
.footer-hours { margin-top: 10px; color: var(--muted-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.footer-copy { font-size: 14px; color: var(--muted-dark); }
.footer-legal { font-size: 14px; color: #C9D3E3; }
.legal { max-width: 74ch; }
.legal h2 { margin: 34px 0 10px; font-size: clamp(20px, 1.9vw, 25px); font-stretch: 106%; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.ticks-plain { margin: 12px 0; padding-left: 20px; display: grid; gap: 8px; font-size: 18px; line-height: 1.65; color: #2A3550; }
.legal a { color: var(--green-deep); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: #E6ECF5; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  box-shadow: 0 12px 30px rgba(27,47,94,.3);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
  .header-phone { display: none; }
  .nav > a, .dd > button { padding-left: 11px; padding-right: 11px; }
  .nav > a.is-active::after, .dd.is-active > button::after { left: 11px; right: 11px; }
}

@media (max-width: 1180px) {
  .client-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .client:nth-child(6n)::after { display: block; }
  .client:nth-child(4n)::after, .client:nth-last-child(2)::after { display: none; }
  .client--cta { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--feature { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 1320px) {
  .split-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
}

@media (max-width: 1240px) {
  .svc-photo { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled, .nav-open .site-header { background: var(--brand); }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; background: none; cursor: pointer;
    border: 1px solid var(--line-dark); border-radius: 6px;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .25s; }
  .nav-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px clamp(20px, 4vw, 48px) 40px; overflow-y: auto;
    background: var(--brand);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav > a, .dd > button {
    width: 100%; justify-content: space-between; padding: 20px 0;
    font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 24px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav > a.is-active::after, .dd.is-active > button::after { display: none; }
  .dd-menu { position: static; width: auto; display: none; padding: 8px 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dd.open .dd-menu { display: block; }
  .dd-menu a { padding: 12px 0; }
  .dd-menu--wide { width: auto; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dd-col + .dd-col { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 6px; }
  .dd-group { padding: 14px 0 6px; }
  .nav-mobile-only { display: flex !important; }
  .nav > a.nav-call { justify-content: flex-start; gap: 14px; }
  .nav-call .phone-badge { width: 44px; height: 44px; }
  .nav > a.btn.nav-mobile-only { margin-top: 28px; justify-content: center; padding: 18px; font-family: var(--body); font-size: 16px; font-weight: 600; border: 0; color: var(--white); background-image: var(--grad-cta); background-size: 180% 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .schematic { max-width: 640px; }
  .svc-panel { grid-template-columns: 1fr; }
  .ih-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-tile--sectors { grid-column: 1 / -1; }
  .svc-slider { flex: none; min-height: 0; aspect-ratio: 16 / 7; }
  .why-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-grid { grid-template-columns: 1fr; }
  .cred { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .cred:last-child { border-bottom: 0; }
  .why-tile--intro { grid-row: auto; }
  .why-intro-photo { flex: none; height: clamp(180px, 34vw, 280px); }
  .cta-card { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 16px; }
  .sector p, .sector .codes { grid-column: 2; }
  .sector .codes { justify-content: flex-start; margin-top: 6px; }
  .process { grid-template-columns: 1fr; gap: 34px; }
  .process::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--green) 0 10px, transparent 10px 18px); animation: pipe-v 1.1s linear infinite; }
}
@media (max-width: 860px) {
  .svc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .auth-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .std-cols { grid-template-columns: 1fr; }
  .about-steps { grid-template-columns: 1fr; }
  .fact-rail dl { grid-template-columns: 1fr; }
  .fact-rail div { border-right: 0 !important; }
  .fact-rail div:not(:last-child) { border-bottom: 1px dotted rgba(27, 47, 94, .28); }
  .fact-rail div:last-child { border-bottom: 0; }
  .svc-photo { aspect-ratio: 4 / 3; }
  .svc-links { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div { padding: 22px 16px 26px 0; }
  .hero-stats > div + div { padding-left: 16px; }
  .hero-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .approvals .wrap { grid-template-columns: repeat(2, 1fr); }
  .approvals .label { grid-column: 1 / -1; padding: 20px 0 8px; }
  .approval { padding: 16px 16px 16px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .approval:nth-of-type(even) { padding-left: 16px; border-left: 1px solid var(--line-light); }
  .sec-head { grid-template-columns: 1fr; }
  .sec-num { max-width: 200px; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .client--cta { grid-column: 1 / -1; }
  .client:nth-child(4n)::after { display: block; }
  .client:nth-child(2n)::after, .client:nth-last-child(2)::after { display: none; }
  .client { min-height: 104px; }
  .blog-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .post { min-height: 0; }
  .svc-tab { padding: 16px; }
  .svc-tab small { display: none; }
  .svc-tab-icon { width: 44px; height: 44px; margin-bottom: 8px; }
  .svc-icon { width: 26px; height: 26px; }
  .scope-list { grid-template-columns: 1fr; }
  .ih-grid { grid-template-columns: 1fr; }
  .panel-side { grid-template-columns: 1fr; }
  .svc-gallery { gap: 8px; }
  .svc-gallery figure { aspect-ratio: 1 / 1; }
  .svc-slider { aspect-ratio: 4 / 3; }
  .caps { grid-template-columns: 1fr; }
  .why-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .why-tile--intro, .why-tile--name, .why-tile--quote { grid-column: auto; }
  .why-tile--name { flex-direction: column; align-items: flex-start; }
  .pin-label { padding: 5px 8px; font-size: 9.5px; }
  .pin-label small { display: none; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .fields { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .sch-caption { font-size: 14px; min-height: 4.6em; }
  .map iframe { height: 320px; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1000px) {
  .fact-rail dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-rail div:nth-child(3n) { border-right: 1px dotted rgba(27, 47, 94, .28); }
  .fact-rail div:nth-child(2n) { border-right: 0; }
  .fact-rail div:nth-last-child(-n+3) { border-bottom: 1px dotted rgba(27, 47, 94, .28); }
  .fact-rail div:nth-last-child(-n+2) { border-bottom: 0; }
  .about-side { position: static; }
  .about-visual { max-width: 420px; }
  .page-hero .page-hero-photo { margin: 18px 0; height: clamp(180px, 34vw, 260px); }
  .page-hero-photo img { transform: rotate(-2deg) scale(1.03); border-radius: 22px; }
  .page-hero-photo::before { inset: -14px -4px 14px -18px; border-radius: 28px; transform: rotate(-2deg); }
  .about-grid { grid-template-columns: 1fr; }
  .about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
}

/* phone overrides that must win over the wider breakpoints above */
@media (max-width: 760px) {
  .about-steps { grid-template-columns: 1fr; }
  .std-cols { grid-template-columns: 1fr; }
  .fact-rail dl { grid-template-columns: 1fr; }
  .fact-rail div { border-right: 0 !important; }
  .fact-rail div:not(:last-child) { border-bottom: 1px dotted rgba(27, 47, 94, .28); }
  .fact-rail div:last-child { border-bottom: 0; }
}


/* ==========================================================================
   Blog: editorial listing rows + article pages
   ========================================================================== */
.section--tight { padding: clamp(44px, 5.4vw, 78px) 0; }
.section--flush-top { padding-top: 0; }
.section--near { padding-top: clamp(20px, 2.2vw, 34px); }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 26px); }
.bcard {
  display: flex; flex-direction: column; gap: 14px;
  padding: 10px 10px clamp(20px, 2vw, 26px); border: 1px solid var(--line-light); border-radius: 18px;
  background: var(--white); text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.section--white .bcard { background: var(--paper); }
.bcard:hover { transform: translateY(-3px); background: #F7F9FC; border-color: rgba(121, 179, 152, .6); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .45); }
.bcard-photo { margin: 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #E4E0D6; }
.bcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bcard:hover .bcard-photo img { transform: scale(1.05); }
.bcard-body { display: flex; flex-direction: column; gap: 10px; padding: 0 10px; }
.bcard-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.bcard-date { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bcard h2 { margin: 2px 0 0; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.25; letter-spacing: -0.015em; transition: color .25s var(--ease); }
.bcard:hover h2 { color: var(--brand); }
.bcard p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bcard .more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.bcard .arr { transition: transform .25s var(--ease); }
.bcard:hover .more .arr { transform: translateX(4px); }

.page-hero--article .page-hero-copy { max-width: none; }
.page-hero--article .post-tag { margin: 14px 0 0; background: rgba(255, 255, 255, .12); color: var(--white); }
.page-hero--article h1 { margin-top: 12px; font-size: clamp(27px, 3.3vw, 45px); max-width: 24ch; }
.page-hero--article .page-lede { max-width: 64ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #C2CEE2; }
.art-meta .art-read { position: relative; }
.art-meta .art-date + .art-read::before { content: ""; position: absolute; left: -11px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--green); }

.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 23vw, 320px); gap: clamp(30px, 4.4vw, 64px); align-items: start; }
.art-layout > .prose p, .art-layout > .prose ul { max-width: 70ch; }
.art-layout > .prose > p:first-of-type { font-size: clamp(19.5px, 1.7vw, 21px); line-height: 1.5; color: var(--ink); }
.prose h2 { margin: 38px 0 12px; font-size: clamp(22px, 2.05vw, 29px); font-stretch: 104%; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 6px; font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink); }
.prose ul { margin: 14px 0; padding-left: 20px; display: grid; gap: 8px; max-width: 62ch; font-size: 17.5px; line-height: 1.6; color: #2A3550; }
.prose ul li::marker { color: var(--green-deep); }
.art-layout > .prose { max-width: none; }
.art-foot { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.art-foot a { color: var(--green-deep); font-weight: 600; }

.art-side { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 14px; }
.art-toc { padding: 22px; border-radius: 18px; background: var(--paper); }
.art-toc h2, .art-help h2 { margin: 0 0 12px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.art-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; counter-reset: toc; }
.art-toc li { counter-increment: toc; display: flex; gap: 9px; font-size: 14.5px; line-height: 1.38; }
.art-toc li::before { content: counter(toc, decimal-leading-zero); flex: none; font: 500 11px/1.5 var(--mono); color: var(--muted); }
.art-toc a { color: var(--ink); text-decoration: none; }
.art-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.art-toc a:hover { color: var(--green-deep); }
.art-help { padding: 24px; border-radius: 18px; color: var(--white); background-image: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%); }
.art-help h2 { color: var(--green); }
.art-help p { font-size: 14.5px; line-height: 1.55; color: #D7E0EE; margin-bottom: 16px; }
.art-help-call { display: block; margin-top: 12px; font: 500 14px/1 var(--mono); color: var(--white); }
.art-help-call:hover { color: var(--green); }

.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.rel { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 22px; border-radius: 18px; background: var(--paper); transition: transform .3s var(--ease); }
.rel:hover { transform: translateY(-3px); }
.rel-thumb { margin: 0; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel .post-tag { margin-left: 8px; }
.rel h3 { margin: 0; padding: 0 8px; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }

@media (max-width: 1080px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  /* contents belong before the article on a phone, the contact card after it */
  .art-side { display: contents; }
  .art-toc { order: -1; margin-bottom: 4px; }
  .art-help { order: 1; margin-top: 22px; }
  .art-layout > .prose p, .art-layout > .prose ul { max-width: none; }
  .prose h2 { margin-top: 30px; }
}
@media (max-width: 1240px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-grid > .rel:nth-child(3) { display: none; }
}
@media (max-width: 700px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .art-side { grid-template-columns: minmax(0, 1fr); }
  .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .rel-grid > .rel:nth-child(3) { display: flex; }
}


/* ---------- In-house page ---------- */
.own-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.own-intro .lead { font-size: clamp(19px, 1.85vw, 25px); line-height: 1.42; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.own-intro > div:first-child p + p { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.fact-panel { border-radius: 18px; background: var(--paper); overflow: hidden; }
.fact-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(20px, 2vw, 26px); }
.fact-row + .fact-row { border-top: 1px solid rgba(27, 47, 94, .10); }
.fact-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--green-deep); }
.fact-ic svg { width: 22px; height: 22px; }
.fact-label { font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--green-deep); }
.fact-value { margin-top: 8px; font-size: clamp(27px, 2.5vw, 34px); line-height: 1; font-stretch: 106%; letter-spacing: -0.03em; color: var(--ink); }
.fact-value em { font-style: normal; color: var(--green-deep); }
.fact-value--word { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.fact-note { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.own-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(30px, 4vw, 70px); margin-top: clamp(26px, 3vw, 44px); }
.own-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 14px; padding: clamp(20px, 2vw, 26px) 0; border-top: 1px solid var(--line-light); }
.own-step .os-num { font: 500 12px/1.7 var(--mono); letter-spacing: .06em; color: var(--green-deep); }
.own-step h3 { margin: 0 0 6px; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.01em; }
.own-step p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.where-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); margin-top: clamp(24px, 2.6vw, 38px); }
.where-card { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px clamp(20px, 2vw, 26px); border-radius: 18px; background: var(--paper); }
.where-photo { margin: 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.where-photo img { width: 100%; height: 100%; object-fit: cover; }
.where-card h3 { margin: 4px 0 0; padding: 0 10px; font-size: clamp(18px, 1.55vw, 21px); letter-spacing: -0.01em; }
.where-card p { padding: 0 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.trade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(24px, 2.6vw, 38px); }
.trade-card { padding: clamp(22px, 2.2vw, 30px); border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.trade-card h3 { margin: 0 0 14px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; }
.trade-card h3 a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.trade-card h3 a:hover { color: var(--green); }
.trade-card h3 .arr { transition: transform .25s var(--ease); }
.trade-card h3 a:hover .arr { transform: translateX(4px); }
.trade-yes { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.trade-yes li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: #D9E2F0; }
.trade-yes li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 9px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.trade-no { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; line-height: 1.5; color: #A9B8D0; }

.badge-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(24px, 2.6vw, 38px); }
.badge { margin: 0; display: grid; gap: 12px; justify-items: center; text-align: center; }
.badge img { width: 100%; max-width: 190px; height: auto; }
.badge figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); }
.badge a { display: grid; gap: 12px; justify-items: center; text-decoration: none; }
.badge a figcaption { color: var(--green-deep); font-weight: 600; }
.badge a .arr { display: inline-block; transition: transform .25s var(--ease); }
.badge a:hover .arr { transform: translateX(4px); }

@media (max-width: 1080px) {
  .own-intro { grid-template-columns: minmax(0, 1fr); }
  .fact-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact-row + .fact-row { border-top: 0; border-left: 1px solid rgba(27, 47, 94, .10); }
  .where-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .own-steps, .where-grid, .trade-grid, .fact-panel { grid-template-columns: minmax(0, 1fr); }
  .fact-row + .fact-row { border-left: 0; border-top: 1px solid rgba(27, 47, 94, .10); }
}


/* ---------- Request a survey ---------- */
.survey-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.form-block { border: 0; margin: 0 0 clamp(24px, 2.6vw, 34px); padding: 0; }
.form-block legend { padding: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.form-block + .form-block { padding-top: clamp(22px, 2.4vw, 30px); border-top: 1px solid var(--line-light); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 20px; }
.check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-light); border-radius: 10px; font-size: 15.5px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.check:hover { border-color: var(--green); }
.check input { width: 18px; height: 18px; accent-color: var(--green-deep); flex: none; }
.check:has(input:checked) { border-color: var(--green-deep); background: rgba(121, 179, 152, .10); }
.form-note { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.survey-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 22px); }
.survey-steps, .survey-contact { padding: clamp(22px, 2.2vw, 28px); border-radius: 18px; background: var(--paper); }
.survey-steps h2, .survey-contact h2 { margin: 0 0 16px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.survey-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.survey-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.survey-steps li > span { font: 500 12px/1.5 var(--mono); color: var(--green-deep); }
.survey-steps strong { display: block; font-size: 16.5px; letter-spacing: -0.01em; color: var(--ink); }
.survey-steps p { margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.survey-contact { color: var(--white); background-image: linear-gradient(145deg, #1B2F5E 0%, #274385 60%, #2F5FB0 100%); }
.survey-contact h2 { color: var(--green); }
.sc-line { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 11px 0; font-size: 15.5px; color: var(--white); text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.sc-line:first-of-type { border-top: 0; }
.sc-line span { font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #A9BBD8; }
.sc-line:hover { color: var(--green); }
.survey-hours { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font: 500 12px/1 var(--mono); letter-spacing: .06em; color: #C5D2E6; }

@media (max-width: 980px) {
  .survey-grid { grid-template-columns: minmax(0, 1fr); }
  .survey-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .check-grid { grid-template-columns: minmax(0, 1fr); }
  .survey-side { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- Project detail pages ---------- */
.draft-note { margin-bottom: clamp(24px, 2.6vw, 36px); padding: 16px 20px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: rgba(121, 179, 152, .12); font-size: 15.5px; line-height: 1.55; color: #2A3550; }
.proj-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 25vw, 340px); gap: clamp(30px, 4.6vw, 70px); align-items: start; }
.ph-hint { margin: 0 0 10px !important; font: 500 12px/1.45 var(--mono); letter-spacing: .02em; color: var(--green-deep) !important; font-size: 12px !important; }
.proj-facts { padding: clamp(22px, 2.2vw, 28px); border-radius: 18px; background: var(--paper); }
.proj-facts h2 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.proj-facts dl { margin: 0; display: grid; }
.proj-facts dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(27, 47, 94, .1); }
.proj-facts dl > div:first-child { border-top: 0; }
.proj-facts dt { font: 500 11px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.proj-facts dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.proj-facts .p-disc { margin: 16px 0; }
.proj-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin-top: clamp(22px, 2.4vw, 34px); }
.pg-item { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pg-item:hover img { transform: scale(1.04); }
a.proj-card { text-decoration: none; color: inherit; }
.proj-card--plain { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 26px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--white); }
.section--white .proj-card, .section--white .proj-card--plain { background: var(--paper); }
.proj-card--plain .p-num { position: static; }

@media (max-width: 1080px) { .proj-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .proj-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .proj-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 0; margin-top: clamp(24px, 2.6vw, 38px); border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); background: transparent; overflow: hidden; }
.faq-item[open] { background: rgba(255, 255, 255, .55); }
.section--white .faq-item[open] { background: var(--paper); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 1.8vw, 24px) clamp(14px, 1.4vw, 18px);
  font-size: clamp(16.5px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  cursor: pointer; list-style: none; transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary i { position: relative; flex: none; width: 24px; height: 24px; border: 1px solid var(--line-light); border-radius: 50%; background: var(--white); }
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px;
  margin: -0.8px 0 0 -5px; background: var(--green-deep); transition: transform .25s var(--ease);
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item[open] summary { color: var(--brand); }
.faq-a { padding: 0 clamp(14px, 1.4vw, 18px) clamp(20px, 2vw, 26px); }
.faq-a p { max-width: 82ch; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.faq-item + .faq-item { margin-top: 0; }


/* ---------- Sectors overview ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(24px, 2.6vw, 38px); }
.sec-card { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px clamp(20px, 2vw, 26px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--paper); text-decoration: none; color: inherit; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.sec-card:hover { transform: translateY(-3px); border-color: rgba(121, 179, 152, .6); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .45); }
.sec-photo { margin: 0 0 4px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--ink); }
.sec-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sec-card:hover .sec-photo img { transform: scale(1.05); }
.sec-card > :not(.sec-photo) { margin-left: clamp(10px, 1vw, 14px); margin-right: clamp(10px, 1vw, 14px); }
.sec-card .n { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--green-deep); }
.sec-card h3 { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.2; letter-spacing: -0.015em; }
.sec-card p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.sec-card .codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sec-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.sec-card .arr { transition: transform .25s var(--ease); }
.sec-card:hover .more .arr { transform: translateX(4px); }

.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(30px, 4vw, 64px); margin-top: clamp(24px, 2.6vw, 38px); }
.why-row { padding: clamp(20px, 2vw, 26px) 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-row h3 { margin: 0 0 8px; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.01em; color: var(--white); }
.why-row p { font-size: 16px; line-height: 1.6; color: #C9D3E6; }

@media (max-width: 1080px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sec-grid, .why-list { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Mobile fixed action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1px;
    background: rgba(255, 255, 255, .12);
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -10px 28px rgba(5, 15, 40, .22);
  }
  .mb-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 58px; padding: 9px 6px;
    background: var(--ink); color: var(--white); text-decoration: none;
    font: 500 11px/1.1 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-align: center;
  }
  .mb-item svg { width: 20px; height: 20px; }
  .mb-item:active { background: #16264c; }
  .mb-wa { color: #9ff0bd; }
  .mb-cta { background: var(--green); color: var(--ink); }
  .mb-cta:active { background: #6aa98c; }
  /* keep the floating button and the bar from stacking on top of each other */
  .wa-float { display: none; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}


/* ---------- Workload split chart ---------- */
.mix-chart { display: grid; gap: 4px; margin-top: clamp(26px, 3vw, 42px); }
.mix-row { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr) 118px; gap: clamp(18px, 2.4vw, 40px); align-items: center; padding: clamp(16px, 1.8vw, 22px) 0; border-top: 1px solid var(--line-light); }
.mix-row:last-child { border-bottom: 1px solid var(--line-light); }
.mix-label h3 { font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.25; letter-spacing: -0.01em; }
.mix-label p { margin-top: 5px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mix-track { position: relative; height: 12px; border-radius: 999px; background: rgba(27, 47, 94, .08); overflow: hidden; }
.mix-bar { position: absolute; inset: 0 auto 0 0; width: var(--pct); border-radius: 999px; background: linear-gradient(90deg, var(--green-deep), var(--green)); }
.js .mix-row[data-reveal] .mix-bar { width: 0; transition: width 1.1s var(--ease) .15s; }
.js .mix-row[data-reveal].in .mix-bar { width: var(--pct); }
.mix-pct { text-align: right; }
.mix-pct strong { display: block; font-size: clamp(22px, 2.1vw, 29px); font-stretch: 106%; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.mix-pct span { display: block; margin-top: 5px; font: 500 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.mix-note { margin-top: 18px; font: 500 11.5px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }

@media (max-width: 860px) {
  .mix-row { grid-template-columns: minmax(0, 1fr) 90px; gap: 10px 16px; }
  .mix-label { grid-column: 1; }
  .mix-pct { grid-column: 2; grid-row: 1; }
  .mix-track { grid-column: 1 / -1; }
}


/* ---------- Request-a-survey modal ---------- */
.survey-modal { width: min(680px, calc(100vw - 32px)); max-height: min(88vh, 860px); padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 40px 90px -40px rgba(5, 15, 40, .6); overflow: auto; }
.survey-modal::backdrop { background: rgba(10, 20, 45, .55); backdrop-filter: blur(3px); }
.survey-modal[open] { animation: sm-in .25s var(--ease); }
@keyframes sm-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.sm-inner { position: relative; padding: clamp(26px, 3.4vw, 40px); }
.sm-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.sm-close:hover { background: var(--paper); border-color: var(--green); }
.sm-close svg { width: 17px; height: 17px; }
.sm-tag { display: inline-flex; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--paper); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.survey-modal h2 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.sm-lede { margin: 10px 0 22px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.sm-form .fields { gap: 14px; }
.sm-form textarea { min-height: 96px; }
.sm-alt { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sm-alt a { color: var(--green-deep); font-weight: 600; }
@media (max-width: 560px) { .survey-modal { width: 100vw; max-height: 100vh; border-radius: 0; } }


/* ---------- Clients, grouped ---------- */
.client-groups { margin-top: clamp(24px, 2.8vw, 40px); border-top: 1px solid var(--line-light); }
.cg-row { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line-light); }
.cg-label { display: flex; align-items: baseline; gap: 10px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--green-deep); }
.cg-label span { font-size: 11px; color: var(--muted); }
.cg-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3.4vw, 54px); }
.cg-logos .client-logo { width: auto; height: auto; max-height: 38px; max-width: 142px; object-fit: contain; opacity: .88; transition: opacity .25s var(--ease); }
.cg-logos .client-logo:hover { opacity: 1; }
.cg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: clamp(22px, 2.4vw, 32px); }
.cg-foot p { font-size: 16.5px; color: var(--muted); max-width: 56ch; }
.cg-foot strong { font-size: clamp(20px, 1.9vw, 25px); font-stretch: 106%; letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 760px) {
  .cg-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cg-logos { gap: 22px 32px; }
  .cg-logos .client-logo { max-height: 30px; max-width: 112px; }
}


/* ---------- Careers ---------- */
.role-list { margin-top: clamp(24px, 2.6vw, 38px); border-top: 1px solid var(--line-light); }
.role-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(14px, 3vw, 46px); padding: clamp(18px, 2vw, 24px) 0; border-bottom: 1px solid var(--line-light); }
.role-row h3 { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.01em; }
.role-row p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.look-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(24px, 2.6vw, 38px); }
.look-card { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2vw, 26px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--paper); }
.look-card .n { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--green-deep); }
.look-card h3 { font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.25; letter-spacing: -0.01em; }
.look-card p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.apply-lede { margin-top: 14px; font-size: 17.5px; line-height: 1.6; color: #D7E0EE; max-width: 46ch; }
.apply-lede a { color: var(--green); font-weight: 600; }
.apply-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.apply-list li { padding: 14px 0 14px 28px; position: relative; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 16px; line-height: 1.55; color: #D9E2F0; }
.apply-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.apply-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 1080px) { .look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .role-row, .apply-grid, .look-grid { grid-template-columns: minmax(0, 1fr); } }

.foot-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (max-width: 520px) { .foot-2col { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Footer improvements ---------- */
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 0 0 clamp(34px, 4vw, 52px); margin-bottom: clamp(34px, 4vw, 52px); border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { font-size: clamp(23px, 2.4vw, 33px); line-height: 1.12; letter-spacing: -0.025em; color: var(--white); }
.footer-cta p { margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: #C2CEE2; max-width: 52ch; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .footer-creds { list-style: none; display: flex; flex-wrap: nowrap; gap: 6px; margin: 18px 0 0; padding: 0; }
.site-footer .footer-creds li { width: auto; }
.footer-creds li { padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font: 500 10px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: #CFE0D6; white-space: nowrap; }
.footer-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; color: var(--green); }
.footer-map:hover { color: var(--white); }
@media (max-width: 760px) { .footer-cta { flex-direction: column; align-items: flex-start; } }


/* ---------- All services page ---------- */
.srv-list { display: grid; gap: clamp(28px, 3.4vw, 54px); margin-top: clamp(26px, 3vw, 42px); }
.srv-row { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(22px, 3.4vw, 54px); align-items: center; }
.srv-row:nth-child(even) .srv-photo { order: 2; }
.srv-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 46px -36px rgba(5, 15, 40, .5); }
.srv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.srv-row:hover .srv-photo img { transform: scale(1.03); }
.srv-num { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.srv-body h3 { margin: 12px 0 0; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.15; letter-spacing: -0.02em; }
.srv-lede { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 54ch; }
.srv-points { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; }
.srv-points li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: #2A3550; }
.srv-points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep); transform: rotate(-45deg); }

.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(24px, 2.6vw, 38px); }
.spec-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.2vw, 28px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--paper); text-decoration: none; color: inherit; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.spec-card:hover { transform: translateY(-3px); border-color: rgba(121, 179, 152, .6); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .45); }
.spec-card .n { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--green-deep); }
.spec-card h3 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.2; letter-spacing: -0.01em; }
.spec-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.spec-card li { position: relative; padding-left: 15px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.spec-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.spec-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.spec-card .arr { transition: transform .25s var(--ease); }
.spec-card:hover .more .arr { transform: translateX(4px); }

@media (max-width: 1080px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .srv-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .srv-row:nth-child(even) .srv-photo { order: 0; }
  .spec-grid { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- Home: simple blog cards ---------- */
.hp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(22px, 2.4vw, 34px); }
.hp-card { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px clamp(18px, 1.8vw, 24px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--white); text-decoration: none; color: inherit; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.section--white .hp-card { background: var(--paper); }
.hp-card:hover { transform: translateY(-3px); border-color: rgba(121, 179, 152, .6); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .45); }
.hp-card .post-tag, .hp-card h3 { margin-left: 8px; margin-right: 8px; }
.hp-photo { margin: 0 0 2px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--paper); }
.hp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hp-card:hover .hp-photo img { transform: scale(1.04); }
.hp-card .post-tag { align-self: flex-start; }
.hp-card h3 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; letter-spacing: -0.01em; transition: color .2s var(--ease); }
.hp-card:hover h3 { color: var(--brand); }
@media (max-width: 900px) { .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hp-grid { grid-template-columns: minmax(0, 1fr); } }

.cg-row--wide { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); align-items: center; }
.cg-note { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 34ch; }
.look-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .look-grid--3 { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Footer map ---------- */
.footer-mapbox { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--line-dark); }
.footer-mapbox h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.footer-mapbox address { font-style: normal; font-size: 15.5px; line-height: 1.6; color: #CFD8E6; }
.footer-mapframe { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-dark); background: #16264c; line-height: 0; }
.footer-mapframe iframe { display: block; width: 100%; height: clamp(200px, 20vw, 260px); filter: grayscale(.25) contrast(1.05); }
@media (max-width: 760px) { .footer-mapbox { grid-template-columns: minmax(0, 1fr); } }

.footer-address { font-style: normal; font-size: 15.5px; line-height: 1.65; color: #CFD8E6; margin: 14px 0 0; }


/* ---------- Service page: needs / handover lists ---------- */
.two-col-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.list-card { padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line-light); border-radius: 18px; background: var(--paper); }
.list-card .panel-label { margin-bottom: 16px; color: var(--green-deep); }
.list-card .srv-points { margin: 0; }
.list-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.scope-note { margin-top: clamp(20px, 2.2vw, 28px); padding: 16px 20px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: rgba(121, 179, 152, .12); font-size: 15.5px; line-height: 1.55; color: #2A3550; max-width: 86ch; }
@media (max-width: 760px) { .two-col-lists { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(24px, 2.6vw, 38px); }
.quote-card { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.8vw, 36px); border: 1px solid var(--line-light); border-top: 3px solid var(--green); border-radius: 18px; background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.quote-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(5, 15, 40, .4); }
.quote-mark { position: absolute; top: 14px; right: 22px; font: 700 76px/1 var(--display); color: rgba(121, 179, 152, .28); pointer-events: none; }
.quote-card blockquote { position: relative; margin: 0; font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.62; letter-spacing: -0.005em; color: var(--ink); }
.quote-card figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-light); }
.quote-card figcaption strong { display: block; font-size: 15.5px; letter-spacing: -0.01em; color: var(--ink); }
.quote-card figcaption span { display: block; margin-top: 5px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

.proj-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .proj-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .proj-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .proj-grid--home { grid-template-columns: minmax(0, 1fr); } }

.svc-link-ic { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.92); color: var(--c, var(--green-deep)); box-shadow: 0 6px 16px -8px rgba(5,15,40,.5); }
.svc-link-ic svg { width: 22px; height: 22px; }
.split-cta { margin-top: 18px; }


/* ---------- About: sectors chips + client strip ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 2.4vw, 32px); }
.chip { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line-light); border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.chip:hover { border-color: var(--green); background: rgba(121, 179, 152, .12); }
.client-strip { display: grid; gap: 18px; margin-top: clamp(28px, 3vw, 44px); padding-top: clamp(24px, 2.6vw, 34px); border-top: 1px solid var(--line-light); justify-items: start; }
.client-strip .mono { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.client-strip .cg-logos { gap: clamp(18px, 2.6vw, 40px); }
.client-strip .client-logo { max-height: 32px; max-width: 118px; }


/* ---------- Contact page map panel ---------- */
.map-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.map-copy h2 { margin: 12px 0 16px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.map-copy address { font-style: normal; font-size: 17px; line-height: 1.7; color: #2A3550; }
.map-hours { margin-top: 12px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.map-embed { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-light); line-height: 0; }
.map-embed iframe { display: block; width: 100%; height: clamp(280px, 30vw, 400px); }
@media (max-width: 860px) { .map-panel { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Sectors: projects by sector ---------- */
.ps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); margin-top: clamp(24px, 2.6vw, 38px); }
.ps-col { padding-top: 16px; border-top: 2px solid var(--green); }
.ps-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.ps-head a { color: var(--ink); text-decoration: none; }
.ps-head a:hover { color: var(--green-deep); }
.ps-count { font: 500 11px/1 var(--mono); color: var(--muted); }
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-list li { font-size: 15px; line-height: 1.35; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--line-light); }
.ps-list li:last-child { border-bottom: 0; }
.ps-list a { color: inherit; text-decoration: none; }
.ps-list a:hover { color: var(--green-deep); }
.ps-list span { display: block; margin-top: 3px; font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ps-more { font: 500 11.5px/1 var(--mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; }
@media (max-width: 1080px) { .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ps-grid { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Projects: figures band ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.stat-cell { padding-top: 16px; border-top: 2px solid var(--green); }
.stat-cell strong { display: block; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; font-stretch: 106%; letter-spacing: -0.03em; color: var(--ink); }
.stat-cell span { display: block; margin-top: 10px; font: 500 11.5px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); max-width: 22ch; }
.stat-note { margin-top: clamp(22px, 2.4vw, 32px); font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 78ch; }
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ---------- Home services: photo tiles ---------- */
.svc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(24px, 2.6vw, 38px); }
.svc-tile-link { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--ink); text-decoration: none; isolation: isolate; }
.svc-tile-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-tile-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 45, .05) 0%, rgba(10, 20, 45, .18) 38%, rgba(10, 20, 45, .72) 72%, rgba(8, 16, 38, .92) 100%); transition: background .3s var(--ease); }
.svc-tile-link:hover img { transform: scale(1.06); }
.svc-tile-link:hover::after { background: linear-gradient(180deg, rgba(10, 20, 45, .2) 0%, rgba(16, 38, 84, .62) 48%, rgba(16, 38, 84, .92) 100%); }
.stl-body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; gap: 8px; padding: clamp(20px, 2vw, 28px); color: var(--white); }
.stl-title { position: relative; padding-top: 14px; }
.stl-title::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 2px; background: var(--green); }
.stl-num { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(4px); font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--white); }
.stl-title { font: 700 clamp(19px, 1.7vw, 22px)/1.16 var(--display); font-stretch: 106%; letter-spacing: -0.015em; }
.stl-desc { font-size: 14.5px; line-height: 1.5; color: #DCE4F0; }
.stl-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.svc-tile-link .arr { transition: transform .25s var(--ease); }
.svc-tile-link:hover .arr { transform: translateX(4px); }
@media (max-width: 980px) { .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: minmax(0, 1fr); } .svc-tile-link { aspect-ratio: 16 / 10; } }


/* ---------- Hero photo slideshow (video-style background) ---------- */
.hero { position: relative; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 30s linear infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 6s; }
.hero-slides img:nth-child(3) { animation-delay: 12s; }
.hero-slides img:nth-child(4) { animation-delay: 18s; }
.hero-slides img:nth-child(5) { animation-delay: 24s; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(20, 38, 84, .94) 0%, rgba(27, 47, 94, .88) 42%, rgba(39, 67, 133, .80) 100%); }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.06); }
  5% { opacity: 1; }
  20% { opacity: 1; transform: scale(1); }
  25% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides img { animation: none; opacity: 0; }
  .hero-slides img:first-child { opacity: 1; }
}





.stl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stl-chips span { padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; font: 500 10.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #E4EBF6; white-space: nowrap; }
.svc-tile-link:hover .stl-chips span { border-color: rgba(121, 179, 152, .7); }
@media (max-width: 1240px) { .stl-chips span:nth-child(n+4) { display: none; } }

.art-back { margin-top: 26px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.art-back a { color: var(--green-deep); text-decoration: none; }
.art-back a:hover { text-decoration: underline; text-underline-offset: 3px; }

.is-beyond-limit { display: none !important; }
.load-more-wrap { display: flex; justify-content: center; margin-top: clamp(24px, 2.6vw, 36px); }
