/* Layout: corporate engineering site after TCE / NK India: utility bar, sticky header with mega menus,
   full-width hero slider on dark survey "plates", alternating white / drawing-sheet bands, indigo stats + footer.
   Colours come from the STBL logo: indigo field, signal yellow lettering, maroon and salmon compass rose. */
:root {
  --bg: #FBFBFD;
  --surface: #F1F0F7;
  --card: #FFFFFF;
  --ink: #16132F;
  --muted: #57546F;
  --line: #DCDAE9;
  --blue: #2E2585;
  --blue-ink: #FFFFFF;
  --amber: #FCE500;
  --amber-ink: #1B1450;
  --maroon: #8A1717;
  --salmon: #C87070;
  --navy: #241860;
  --navy-2: #2E2276;
  --on-navy: #EEEDF8;
  --on-navy-muted: #B4B0DA;
  --focus: #E0B800;
  --plate: #1A1349;
  --paper: #F4F3FA; --tag: #57546F;
  --grid: rgba(46, 37, 133, .055);
  --chip: #FFFFFF; --chip-ink: #16132F; --chip-muted: #57546F;
  /* theme roles */
  --hi: #FCE500; --btn-hi-bg: #FCE500; --btn-hi-ink: #1B1450; --icon-bg: #FCE500; --icon-ink: #241860; --key: #241860;
  --strip-bg: #FCE500; --strip-ink: #1B1450; --shade: 16, 11, 52; --shade2: 27, 20, 80;
  --on-dark-1: #E6E4F6; --on-dark-2: #D4D1EC; --on-dark-3: #ADA9D6;
  --art-bg: #17114A; --art-bg2: #271B66; --art-line: rgba(176,170,236,0.42); --art-faint: rgba(176,170,236,0.16); --art-strong: rgba(226,224,252,0.86); --art-hi: #FCE500;
  --shadow: 0 1px 2px rgba(22, 19, 47, .06), 0 8px 24px rgba(22, 19, 47, .08);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.1875rem; --step-2: 1.5rem; --step-3: 2rem; --step-4: clamp(2.1rem, 4.2vw, 3.1rem); --step-5: clamp(2.4rem, 5.6vw, 4.1rem);
  --wrap: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0C1F; --surface: #141130; --card: #1A1738; --ink: #ECEBF6; --muted: #A9A6C6; --line: #2D2952;
    --blue: #B2ABF5; --blue-ink: #120E33; --amber: #FCE500; --amber-ink: #1B1450; --maroon: #E59A9A; --salmon: #D98C8C;
    --navy: #19134A; --navy-2: #221A5E; --on-navy: #EEEDF8; --on-navy-muted: #ADA9D6; --focus: #FCE500; --plate: #130F38;
    --grid: rgba(178, 171, 245, .05);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0C1F; --surface: #141130; --card: #1A1738; --ink: #ECEBF6; --muted: #A9A6C6; --line: #2D2952;
  --blue: #B2ABF5; --blue-ink: #120E33; --amber: #FCE500; --amber-ink: #1B1450; --maroon: #E59A9A; --salmon: #D98C8C;
  --navy: #19134A; --navy-2: #221A5E; --on-navy: #EEEDF8; --on-navy-muted: #ADA9D6; --focus: #FCE500; --plate: #130F38;
  --grid: rgba(178, 171, 245, .05);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--card); }
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 92%; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-5); font-weight: 800; }
h2 { font-size: var(--step-4); font-weight: 750; }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font: 600 var(--step--1)/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--salmon); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: .92em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1 var(--f-body); padding: 13px 20px; border-radius: 3px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--btn-hi-bg); color: var(--btn-hi-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--btn-hi-bg) 88%, #fff); }
.btn-primary { background: var(--blue); color: var(--blue-ink); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost-light { border-color: rgba(233, 239, 246, .55); color: var(--on-navy); background: transparent; }
.btn-ghost-light:hover { border-color: var(--on-navy); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-out::after { content: "↗"; }

/* utility bar */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: var(--step--1); }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: var(--on-navy); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.tb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.tb-portal { color: var(--hi) !important; font-weight: 600; }
@media (max-width: 720px) { .tb-tag, .tb-hide-sm { display: none; } .topbar-in { justify-content: flex-start; } }

/* header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand img.logo-img { height: 44px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font: 800 1.45rem/1 var(--f-display); font-stretch: 88%; letter-spacing: .02em; }
.brand-txt small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-list > li { position: static; }
.nav-link, .nav-btn { display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem/1 var(--f-body); color: var(--ink); text-decoration: none; padding: 27px 12px; background: none; border: 0; cursor: pointer; border-bottom: 3px solid transparent; }
.nav-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.nav-link:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--blue); }
.nav-link[aria-current="page"], .nav-btn.is-current { border-bottom-color: var(--amber); }
.hdr-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 3px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mega-in { display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; padding-block: 32px 36px; }
.mega-intro h3 { font-size: var(--step-2); margin: 10px 0 10px; }
.mega-intro p { color: var(--muted); max-width: 40ch; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; align-content: start; list-style: none; margin: 0; padding: 0; }
.mega-links a { display: block; padding: 10px 12px; border-radius: 3px; text-decoration: none; color: var(--ink); }
.mega-links a:hover { background: var(--surface); }
.mega-links b { display: block; font-weight: 600; }
.mega-links span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.portal-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-cta .btn-accent { display: none; }
  .hdr-in { justify-content: space-between; min-height: 66px; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--card); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; min-height: 66px; border-bottom: 1px solid var(--line); }
.drawer nav { padding-block: 8px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer .d-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 700 1.15rem/1.2 var(--f-display); cursor: pointer; list-style: none; color: var(--ink); text-decoration: none; }
.drawer .d-link { border-bottom: 1px solid var(--line); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; }
.drawer details[open] summary::after { content: "–"; }
.drawer details ul { list-style: none; margin: 0 0 14px; padding: 0; }
.drawer details a { display: block; padding: 9px 0 9px 12px; color: var(--ink); text-decoration: none; border-left: 2px solid var(--line); }
.drawer-cta { display: grid; gap: 10px; margin-top: 22px; }
.drawer-cta .btn { justify-content: center; }

/* hero slider */
.hero { position: relative; background: var(--plate); color: #EEF3F8; overflow: hidden; isolation: isolate; }
.hero-slides { position: relative; display: grid; }
.slide { position: relative; grid-area: 1 / 1; display: grid; align-items: end; min-height: clamp(480px, 62vh, 640px); }
.slide > .wrap { width: 100%; }
.slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide .media { position: absolute; inset: 0; z-index: -1; }
.slide .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .72) 42%, rgba(var(--shade), .12) 100%), linear-gradient(0deg, rgba(var(--shade), .7) 0%, transparent 45%); }
.slide-body { padding-block: 72px 112px; max-width: 760px; }
.slide-body .eyebrow { color: var(--hi); }
.slide-body .eyebrow::before { background: var(--hi); }
.slide h1, .slide h2 { color: #FFFFFF; font-size: var(--step-5); font-weight: 800; margin: 16px 0 18px; }
.slide h1 em, .slide h2 em { font-style: normal; color: var(--hi); }
.slide p { color: var(--on-dark-2); font-size: var(--step-1); max-width: 56ch; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.hero-ctrl-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-top: 1px solid rgba(233, 239, 246, .18); }
.dots { display: flex; gap: 6px; flex-wrap: wrap; }
.dot { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--on-dark-3); font: 500 .85rem/1.2 var(--f-body); cursor: pointer; padding: 6px 8px 6px 0; text-align: left; }
.dot i { width: 34px; height: 3px; background: rgba(233, 239, 246, .28); position: relative; overflow: hidden; flex: 0 0 auto; }
.dot.is-on { color: #FFFFFF; }
.dot.is-on i::after { content: ""; position: absolute; inset: 0; background: var(--hi); transform-origin: left; animation: fill var(--dur, 7s) linear forwards; }
.hero.is-paused .dot.is-on i::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.titleblock { font: 500 .72rem/1.4 var(--f-mono); color: #A39FCD; text-align: right; letter-spacing: .03em; white-space: nowrap; }
.titleblock b { color: var(--on-dark-1); font-weight: 500; }
@media (max-width: 760px) {
  .dot span { display: none; }
  .titleblock { display: none; }
  .slide-body { padding-block: 56px 96px; }
  .slide .media::after { background: linear-gradient(0deg, rgba(var(--shade), .95) 10%, rgba(var(--shade), .55) 100%); }
}

/* media plates */
.media { position: relative; background: var(--plate); overflow: hidden; }
.media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.media.has-photo { background-size: cover; background-position: center; }
.media.has-photo canvas { display: none; }
.media-tag { position: absolute; left: 12px; bottom: 10px; font: 500 .7rem/1 var(--f-mono); color: var(--on-dark-1); letter-spacing: .04em; z-index: 1; background: rgba(var(--shade), .72); padding: 4px 6px; border-radius: 2px; }
.media.has-photo .media-tag { display: none; }

/* sections */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band.tint { background-color: var(--surface); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.band.navy { background: var(--navy); color: var(--on-navy); }
.band.navy h2, .band.navy h3 { color: #FFFFFF; }
.band.navy .eyebrow { color: var(--hi); }
.band.navy .lede, .band.navy .muted { color: var(--on-navy-muted); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head > div { display: grid; gap: 14px; max-width: 760px; min-width: 0; }

/* page header (inner pages) */
.phead { background: var(--plate); color: #EEF3F8; position: relative; isolation: isolate; overflow: hidden; }
.phead .media { position: absolute; inset: 0; z-index: -1; }
.phead .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .94) 0%, rgba(var(--shade), .74) 50%, rgba(var(--shade), .3) 100%); }
.phead-in { padding-block: 56px 60px; display: grid; gap: 16px; }
.phead-in > * { max-width: 820px; }
.phead h1 { color: #FFFFFF; font-size: var(--step-5); }
.phead p { color: var(--on-dark-2); font-size: var(--step-1); max-width: 60ch; }
.phead .eyebrow { color: var(--hi); }
.phead .eyebrow::before { background: var(--hi); }
.crumbs { font-size: var(--step--1); color: var(--on-dark-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark-1); }

/* about split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .media { aspect-ratio: 4 / 3; border-radius: 2px; max-width: 100%; }
.split-text { display: grid; gap: 18px; min-width: 0; }
.split-text h2 { margin-top: 2px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.regs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.reg { border: 1px solid var(--line); background: var(--card); padding: 9px 12px; border-radius: 3px; display: grid; gap: 2px; min-width: 0; }
.reg b { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.reg span { font-family: var(--f-mono); font-size: .9rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid rgba(233, 239, 246, .18); display: grid; gap: 8px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--f-display); font-stretch: 86%; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .45em; color: var(--hi); margin-left: 4px; font-weight: 700; }
.stat span { color: var(--on-navy-muted); font-size: .95rem; max-width: 26ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 420px) { .stat { padding: 4px 14px; } }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--card); padding: 28px 26px 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--ink); position: relative; transition: background .2s; }
.svc:hover { background: var(--surface); }
.svc-ic { width: 46px; height: 46px; color: var(--blue); }
.svc h3 { font-size: var(--step-1); }
.svc p { color: var(--muted); }
.svc .link-arrow { color: var(--blue); margin-top: 4px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* sector cards */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sector { position: relative; display: block; min-height: 250px; color: #FFFFFF; text-decoration: none; border-radius: 2px; overflow: hidden; isolation: isolate; }
.sector .media { position: absolute; inset: 0; z-index: -1; transition: transform .5s ease; }
.sector .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .35) 60%, rgba(var(--shade), .15) 100%); }
.sector:hover .media { transform: scale(1.04); }
.sector-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 6px; }
.sector h3 { color: #FFFFFF; font-size: var(--step-2); }
.sector p { color: var(--on-dark-2); font-size: .95rem; }
.sector .link-arrow { color: var(--hi); }
@media (max-width: 980px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sec-grid { grid-template-columns: 1fr; } .sector { min-height: 210px; } }

/* project cards */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.proj { background: var(--card); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; min-width: 0; scroll-margin-top: 110px; }
.proj .media { aspect-ratio: 16 / 9; max-width: 100%; }
.proj-body { padding: 18px 18px 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.proj-body h3 { font: 600 1.02rem/1.4 var(--f-body); color: var(--ink); overflow-wrap: anywhere; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.proj-meta span { display: inline-flex; align-items: center; gap: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .72rem/1 var(--f-body); letter-spacing: .03em; padding: 5px 8px; border-radius: 2px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.chip.c-sector { color: var(--blue); }
.proj-id { font: 500 .75rem/1 var(--f-mono); color: var(--muted); }
.proj.flash { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (max-width: 980px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .proj-grid { grid-template-columns: 1fr; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { padding: 22px 20px 6px 0; border-top: 3px solid var(--line); position: relative; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 600 .8rem/1 var(--f-mono); color: var(--blue); }
.steps li:first-child { border-top-color: var(--amber); }
.steps b { font: 700 1.08rem/1.25 var(--f-display); }
.steps span { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps li { border-top: 0; border-left: 3px solid var(--line); padding: 4px 0 18px 18px; } .steps li:first-child { border-left-color: var(--amber); } }

/* portal band */
.portal { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.portal .media { aspect-ratio: 16 / 11; max-width: 100%; border: 1px solid rgba(233, 239, 246, .12); }
.portal-txt { display: grid; gap: 18px; min-width: 0; }
.bm-figs { display: flex; gap: 28px; flex-wrap: wrap; }
.bm-figs div { display: grid; gap: 4px; }
.bm-figs b { font: 800 2.2rem/1 var(--f-display); color: #FFFFFF; font-variant-numeric: tabular-nums; }
.bm-figs span { color: var(--on-navy-muted); font-size: .88rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border: 2px solid var(--amber); border-radius: 50%; }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 5px); width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translate(-1px, -1px) scale(.7); }
@media (max-width: 880px) { .portal { grid-template-columns: 1fr; } }

/* clients wall */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 14px; display: grid; gap: 4px; align-content: center; text-align: center; min-height: 104px; background: var(--card); min-width: 0; }
.client b { font: 800 1.15rem/1.1 var(--f-display); font-stretch: 88%; letter-spacing: .02em; color: var(--ink); overflow-wrap: anywhere; }
.client span { font-size: .74rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA + people */
.cta-band { background: var(--strip-bg); color: var(--strip-ink); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 44px; }
.cta-in h2 { color: var(--strip-ink); font-size: var(--step-3); max-width: 24ch; }
.cta-in p { color: #2A2160; margin-top: 8px; max-width: 58ch; }
.cta-in .btn-dark { background: var(--navy); color: #FFFFFF; }
.people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.people .media { aspect-ratio: 5 / 4; max-width: 100%; }
.people-txt { display: grid; gap: 18px; min-width: 0; }
.team-mix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.team-mix div { border: 1px solid var(--line); background: var(--card); padding: 12px 14px; display: flex; align-items: baseline; gap: 10px; }
.team-mix b { font: 800 1.6rem/1 var(--f-display); color: var(--blue); font-variant-numeric: tabular-nums; min-width: 2ch; }
@media (max-width: 880px) { .people { grid-template-columns: 1fr; } }

/* footer */
.ftr { background: var(--navy); color: var(--on-navy-muted); padding-top: 64px; font-size: .94rem; }
.ftr a { color: var(--on-navy); text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 44px; }
.ftr h4 { color: #FFFFFF; font: 700 .82rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr-brand { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ftr-brand .brand { color: #FFFFFF; }
.ftr-brand .brand small { color: var(--on-navy-muted); }
.ftr-addr { font-style: normal; display: grid; gap: 6px; }
.ftr-bot { border-top: 1px solid rgba(233, 239, 246, .14); padding-block: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 1000px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }

/* inner page blocks */
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p { color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.leader { background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 20px; align-items: start; }
.avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font: 800 1.5rem/1 var(--f-display); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader h3 { font-size: 1.08rem; }
.leader .role { color: var(--blue); font-weight: 600; font-size: .9rem; margin-top: 3px; }
.leader p { color: var(--muted); font-size: .9rem; margin-top: 8px; }
@media (max-width: 980px) { .leaders { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline time { font: 700 1.25rem/1.2 var(--f-display); color: var(--blue); }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail .media { aspect-ratio: 4 / 3; max-width: 100%; }
.svc-detail-txt { display: grid; gap: 16px; align-content: start; min-width: 0; }
.svc-detail-txt h2 { font-size: var(--step-3); }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc-cols h4 { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.svc-cols ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc-cols { grid-template-columns: 1fr; } }
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-nav a { border: 1px solid var(--line); padding: 8px 12px; border-radius: 2px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; background: var(--card); }
.svc-nav a:hover { border-color: var(--blue); color: var(--blue); }
.note { border-left: 3px solid var(--amber); background: var(--surface); padding: 12px 16px; color: var(--muted); font-size: .93rem; }

/* equipment */
.fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fleet div { background: var(--card); padding: 22px 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.fleet b { font: 800 2.4rem/1 var(--f-display); color: var(--blue); font-variant-numeric: tabular-nums; }
.fleet h3 { font-size: 1.05rem; }
.fleet span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sw > div { border-top: 3px solid var(--blue); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.sw ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) { .sw { grid-template-columns: 1fr; } }

/* projects directory */
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--f-body); padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--ink); width: 100%; min-width: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
@media (max-width: 860px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters .f-q { grid-column: 1 / -1; } }
@media (max-width: 480px) { .filters { grid-template-columns: 1fr; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.result-bar b { color: var(--ink); }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.dir-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.dir-side { position: sticky; top: 100px; display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); padding: 20px; }
.dir-side h3 { font-size: 1.1rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.bars button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink); text-align: left; font: inherit; font-size: .9rem; }
.bars button:hover span:first-child, .bars button[aria-pressed="true"] span:first-child { color: var(--blue); font-weight: 600; }
.bars i { grid-column: 1 / -1; height: 6px; background: var(--surface); border-radius: 3px; overflow: hidden; display: block; }
.bars i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: 3px; }
.bars em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); }
@media (max-width: 1000px) { .dir-layout { grid-template-columns: 1fr; } .dir-side { position: static; } }
.empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 3px; font-weight: 500; }
.form-status.ok { background: color-mix(in srgb, #1E8E5A 14%, var(--card)); color: var(--ink); border: 1px solid #1E8E5A; }
.form-status.err { background: color-mix(in srgb, #C0392B 12%, var(--card)); color: var(--ink); border: 1px solid #C0392B; }
.form-status.info { background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.office { border: 1px solid var(--line); background: var(--card); padding: 22px; display: grid; gap: 10px; }
.office h3 { font-size: 1.1rem; }
.office address { font-style: normal; }
.kv { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 6px 12px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.side-stack { display: grid; gap: 18px; }
.copy-btn { font: 600 .78rem/1 var(--f-body); border: 1px solid var(--line); background: var(--card); color: var(--muted); padding: 4px 7px; border-radius: 3px; cursor: pointer; margin-left: 6px; }
.fourohfour { min-height: 50vh; display: grid; place-items: center; text-align: center; }

/* brand logo */
.brand .logo-img { height: 52px; width: auto; display: block; }
.ftr .logo-img { height: 58px; width: auto; display: block; }
@media (max-width: 1120px) { .brand .logo-img { height: 44px; } }

/* band with faint generated drawing behind */
.band.has-art { position: relative; isolation: isolate; overflow: hidden; }
.band-art { position: absolute; inset: 0; z-index: -1; opacity: .28; pointer-events: none; }
.band-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* studies & design */
.studies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.study { background: var(--card); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.study .media { aspect-ratio: 4 / 3; max-width: 100%; }
.study-body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.study-body h3 { font-size: var(--step-2); }
.study-body p { color: var(--muted); }
.study-body ul { margin: 2px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: .93rem; }
@media (max-width: 980px) { .studies { grid-template-columns: 1fr; } .study { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: none; } .study .media { aspect-ratio: auto; min-height: 220px; } }
@media (max-width: 620px) { .study { grid-template-columns: 1fr; } .study .media { aspect-ratio: 16 / 10; min-height: 0; } }

/* organisation logos */
.org-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.org-logos { display: flex; gap: 6px; flex: 0 0 auto; }
.org-logo { height: 40px; min-width: 40px; max-width: 96px; padding: 3px; border-radius: 4px; background: var(--chip); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.org-logo img { max-height: 32px; max-width: 88px; width: auto; height: auto; display: block; }
.org-mono { height: 40px; min-width: 40px; padding: 0 8px; border-radius: 4px; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font: 800 .72rem/1 var(--f-display); letter-spacing: .04em; white-space: nowrap; }
.org-name { font-size: .82rem; color: var(--muted); line-height: 1.3; min-width: 0; }
.client { gap: 10px; }
.client .c-logo { height: 64px; display: grid; place-items: center; }
.client .c-logo img { max-height: 60px; max-width: 120px; width: auto; height: auto; display: block; }
.client .c-img { display: grid; place-items: center; }
.client .c-logo .org-mono { height: 52px; min-width: 52px; font-size: .95rem; border-radius: 50%; padding: 0 10px; }
.client b { font-size: 1rem; }
.client { background: var(--chip); }
.client b { color: var(--chip-ink); }
.client span { color: var(--chip-muted); }
.client .org-mono, .org-row .org-mono { color: var(--on-navy); }


/* ===== Simple layout (after joprobas.com.bd): white page, plain nav, photo-tile services ===== */
.topbar { font-size: .78rem; }
.hdr { box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.hdr-in { min-height: 78px; }
.nav { justify-content: flex-end; }
.nav-list > li { position: relative; }
.nav-link, .nav-btn { font: 600 .82rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 30px 12px; color: var(--ink); }
.nav-btn::after { width: 6px; height: 6px; }
.nav-link[aria-current="page"], .nav-btn.is-current { border-bottom-color: var(--navy); color: var(--blue); }
.dd { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px 0; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--amber); box-shadow: var(--shadow); z-index: 60; }
.dd a { display: block; padding: 9px 18px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.dd a:hover { background: var(--surface); color: var(--blue); }
.dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dd-all a { font-weight: 600; color: var(--blue); }
.btn-portal { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; padding: 10px 14px; font-size: .82rem; letter-spacing: .04em; }
.btn-portal:hover { background: var(--navy); color: #FFFFFF; }
@media (max-width: 1120px) { .hdr-cta .btn-portal { display: none; } }
:root[data-theme="dark"] .btn-portal { border-color: var(--blue); color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-portal { border-color: var(--blue); color: var(--blue); } }

/* hero */
.hero2 { background-color: var(--surface); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; padding-bottom: 96px; }
.hero2-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: 56px 24px; }
.hero2-text { display: grid; gap: 18px; min-width: 0; }
.hero2 h1 { color: var(--navy); font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
.hero2 h1 .hl { display: block; color: var(--maroon); }
.hero2-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero2-media { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 4px; box-shadow: var(--shadow); }
:root[data-theme="dark"] .hero2 h1 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero2 h1 { color: var(--ink); } }
@media (max-width: 880px) { .hero2-in { grid-template-columns: 1fr; padding-top: 36px; } .hero2 { padding-bottom: 72px; } }

/* service tiles box overlapping the hero */
.tiles-wrap { margin-top: -80px; position: relative; z-index: 2; }
.tiles-box { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; text-decoration: none; isolation: isolate; border-radius: 2px; }
.tile .media { position: absolute; inset: 0; border: 0; transition: transform .4s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade2), .88) 0%, rgba(var(--shade2), .35) 45%, rgba(var(--shade2), 0) 70%); z-index: 1; transition: background .3s; }
.tile:hover .media { transform: scale(1.05); }
.tile:hover::after { background: linear-gradient(0deg, rgba(var(--shade2), .94) 0%, rgba(var(--shade2), .5) 55%, rgba(var(--shade2), .1) 80%); }
.tile .media-tag { display: none; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* about + registrations */
.about2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about2 .split-text p { max-width: 62ch; }
.reg-card { border: 1px solid var(--line); border-top: 4px solid var(--navy); background: var(--card); padding: 22px 24px; display: grid; gap: 12px; }
.reg-card h3 { font-size: 1.15rem; }
.reg-list { margin: 0; display: grid; gap: 0; }
.reg-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.reg-list dt { color: var(--muted); font-size: .9rem; }
.reg-list dd { margin: 0; font-family: var(--f-mono); font-size: .86rem; text-align: right; }
@media (max-width: 880px) { .about2 { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .reg-list div { grid-template-columns: 1fr; gap: 2px; } .reg-list dd { text-align: left; } }

/* stats, simpler */
.stats-band { padding-block: 44px; }
.stats-band .stat b { font-size: clamp(2rem, 4vw, 2.8rem); }

/* clients grouped */
.client-group { display: grid; gap: 12px; margin-bottom: 26px; }
.client-group h3 { font: 700 .82rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.client-group .clients { display: flex; flex-wrap: wrap; gap: 12px; border: 0; }
.client-group .client { width: calc((100% - 60px) / 6); min-height: 0; border: 1px solid var(--line); border-radius: 4px; padding: 14px 10px 12px; }
@media (max-width: 900px) { .client-group .client { width: calc((100% - 24px) / 3); } }
.client-group .client .c-desc { display: none; }
.client-group .client b { font-size: .86rem; font-weight: 700; }
@media (max-width: 560px) { .client-group .client { width: calc(50% - 6px); } }

/* contact strip */
.contact-strip { background: var(--strip-bg); color: var(--strip-ink); }
.contact-strip-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 34px; }
.contact-strip h2 { color: var(--strip-ink); font-size: var(--step-3); }
.contact-strip p { margin-top: 6px; color: var(--strip-ink); }
.contact-strip .btn-accent { background: var(--navy); color: #FFFFFF; }

/* simpler inner page header */
.phead { background-color: var(--surface); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; color: var(--ink); border-bottom: 1px solid var(--line); }
.phead .media { display: none; }
.phead-in { padding-block: 40px 44px; }
.phead h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 2.9rem); }
.phead p { color: var(--muted); }
.phead .eyebrow { color: var(--maroon); }
.phead .eyebrow::before { background: var(--salmon); }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--blue); }
.phead .svc-nav a { background: var(--card); }
:root[data-theme="dark"] .phead h1 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phead h1 { color: var(--ink); } }
.portal .media { border-radius: 4px; }
.band.tint .portal .lede, .band.tint .portal .ticks { color: var(--ink); }
.band.tint .ticks li::before { border-color: var(--navy); }
.band.tint .ticks li::after { background: var(--navy); }

/* ===== More visual home ===== */
.hero3 { position: relative; isolation: isolate; overflow: hidden; background: var(--plate); color: #FFFFFF; min-height: clamp(520px, 72vh, 660px); display: grid; align-items: center; }
.hero3-bg { position: absolute; inset: 0; z-index: -1; }
.hero3-layer { position: absolute; inset: -3%; opacity: 0; transition: opacity 1.2s ease; animation: drift 24s ease-in-out infinite alternate; }
.hero3-layer.is-on { opacity: 1; }
.hero3-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .9) 0%, rgba(var(--shade), .62) 45%, rgba(var(--shade), .1) 100%), linear-gradient(0deg, rgba(var(--shade), .55) 0%, transparent 35%); }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -1%); } }
.hero3-in { display: grid; gap: 18px; padding-block: 64px 140px; width: 100%; }
.hero3-in > * { max-width: 720px; }
.hero3 .eyebrow { color: var(--hi); }
.hero3 .eyebrow::before { background: var(--hi); }
.hero3 h1 { color: #FFFFFF; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero3 h1 .hl { color: var(--hi); }
.hero3 p { color: var(--on-dark-2); font-size: var(--step-1); max-width: 56ch; }
.hero3-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero3-cap { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 104px; font: 500 .72rem/1 var(--f-mono); color: var(--on-dark-3); display: flex; gap: 10px; align-items: center; }
.hero3-dots { display: flex; gap: 5px; }
.hero3-dots i { width: 18px; height: 3px; background: rgba(255, 255, 255, .3); }
.hero3-dots i.is-on { background: var(--hi); }
@media (max-width: 720px) { .hero3-cap { display: none; } .hero3-in { padding-block: 48px 120px; } .hero3-bg::after { background: linear-gradient(0deg, rgba(var(--shade), .92) 15%, rgba(var(--shade), .55) 100%); } }
@media (prefers-reduced-motion: reduce) { .hero3-layer { animation: none; } }

.tiles-wrap { margin-top: -96px; }
.tile-ic { position: absolute; top: 10px; left: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--icon-bg); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.tile-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--icon-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile { box-shadow: 0 1px 2px rgba(22, 19, 47, .1); transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 19, 47, .22); }
@media (max-width: 420px) { .tile-ic { width: 30px; height: 30px; top: 8px; left: 8px; } .tile-ic svg { width: 17px; height: 17px; } }

.logo-strip { padding-block: 30px 6px; }
.logo-strip-in { display: flex; align-items: center; gap: 22px; }
.logo-strip-label { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee { overflow: hidden; flex: 1 1 auto; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-logo { height: 58px; min-width: 70px; padding: 6px 12px; background: var(--chip); border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; }
.m-logo img { max-height: 44px; max-width: 120px; width: auto; height: auto; display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 620px) { .logo-strip-label { display: none; } }

.about3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about3-media { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, 54px); min-width: 0; }
.about3-media .a1 { grid-column: 1 / 6; grid-row: 1 / 5; border-radius: 4px; box-shadow: var(--shadow); }
.about3-media .a2 { grid-column: 3 / 7; grid-row: 3 / 7; border-radius: 4px; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.about3-badge { position: absolute; left: 0; bottom: 0; background: var(--amber); color: var(--amber-ink); padding: 14px 16px; display: grid; gap: 2px; max-width: 46%; border-radius: 4px; box-shadow: var(--shadow); z-index: 2; }
.about3-badge b { font: 800 1.3rem/1.1 var(--f-display); }
.about3-badge span { font-size: .8rem; line-height: 1.3; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid var(--hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 880px) { .about3 { grid-template-columns: 1fr; } .about3-media { grid-template-rows: repeat(6, 44px); } }

.stat-ic { display: block; width: 36px; height: 36px; margin-bottom: 4px; }
.stat-ic svg { width: 100%; height: 100%; fill: none; stroke: var(--hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feat-grid .proj .media { aspect-ratio: 16 / 10; }
.feat-grid .proj { transition: transform .25s ease, box-shadow .25s ease; }
.feat-grid .proj:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.fleet2 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.fleet2 > div { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px 14px 18px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.fleet2 i { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin-bottom: 4px; }
.fleet2 svg { width: 38px; height: 38px; fill: none; stroke: var(--hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fleet2 b { font: 800 1.9rem/1 var(--f-display); color: var(--blue); font-variant-numeric: tabular-nums; }
.fleet2 span { font-size: .86rem; color: var(--muted); }
@media (max-width: 980px) { .fleet2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fleet2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.portal-band .media { border-radius: 4px; border: 1px solid rgba(255, 255, 255, .14); }

/* design drawing gallery + lightbox */
.dwg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dwg { display: grid; grid-template-rows: auto 1fr; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--chip); cursor: zoom-in; text-align: left; overflow: hidden; font: inherit; color: var(--chip-ink); transition: transform .2s ease, box-shadow .2s ease; min-width: 0; }
.dwg:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dwg img { width: 100%; height: auto; aspect-ratio: 640 / 453; object-fit: cover; display: block; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.dwg span { padding: 10px 12px 12px; font-size: .84rem; line-height: 1.35; color: var(--chip-ink); }
.dwg-hero { grid-column: span 2; grid-row: span 2; }
.dwg-hero img { aspect-ratio: 900 / 505; height: 100%; }
.dwg-hero span { font-weight: 600; font-size: .95rem; }
@media (max-width: 980px) { .dwg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dwg-grid { grid-template-columns: 1fr; } .dwg-hero { grid-column: auto; grid-row: auto; } }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 9, 36, .94); display: grid; grid-template-rows: auto 1fr auto; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #FFFFFF; padding: 4px 4px 10px; }
.lb-cap { font-size: .95rem; }
.lb-body { position: relative; overflow: auto; display: grid; place-items: center; min-height: 0; }
.lb-body img { max-width: 100%; max-height: 100%; background: #FFFFFF; border-radius: 2px; }
.lb-btn { background: rgba(255, 255, 255, .12); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; padding: 9px 14px; font: 600 .9rem/1 var(--f-body); cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-nav { display: flex; justify-content: center; gap: 10px; padding-top: 10px; }
.fleet2 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .fleet2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fleet2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.media.has-photo { background-color: #FFFFFF; }
.fleet2 > div { align-content: start; }
.lb-body img { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; object-fit: contain; }
.dwg-hero { grid-template-rows: 1fr auto; }
.dwg-hero img { height: 100%; aspect-ratio: auto; min-height: 0; }

/* drawings inside the Feasibility and Detail design service blocks */
.svc-detail > .svc-gallery { grid-column: 1 / -1; }
.svc-detail > .svc-gallery-note { grid-column: 1 / -1; margin-top: -40px; font-size: .88rem; }
.dwg-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .dwg-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dwg-grid.g3 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .svc-detail > .svc-gallery-note { margin-top: -24px; } }
.dwg.fit img { object-fit: contain; padding: 8px; }

/* ---------- hover slideshow (Feasibility / Detail design) ---------- */
.media .slides { position: absolute; inset: 0; z-index: 0; }
.slide-l { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #FFFFFF; opacity: 0; transition: opacity .55s ease; }
.slide-l.is-on { opacity: 1; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; opacity: .8; transition: opacity .3s ease; }
.media.is-playing .slide-dots { opacity: 1; }
.slide-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(20, 14, 60, .45); transition: background .3s ease, transform .3s ease; }
.slide-dots i.is-on { background: var(--hi); transform: scale(1.25); }
.tile .slide-dots { top: 10px; bottom: auto; justify-content: flex-end; padding-right: 12px; }
.svc-detail .media.has-slides { cursor: default; }
.svc-detail .media.has-slides::after { content: "Hover to see more"; position: absolute; right: 10px; top: 10px; z-index: 2; font: 500 .7rem/1 var(--f-mono); color: #FFFFFF; background: rgba(var(--shade), .72); padding: 5px 7px; border-radius: 2px; transition: opacity .3s ease; }
.svc-detail .media.has-slides.is-playing::after { opacity: 0; }
@media (hover: none) { .svc-detail .media.has-slides::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .slide-l { transition: none; } }

/* ---------- project tabs ---------- */
.ptabs [role="tablist"] { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.ptab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; color: var(--muted); font: 600 1rem/1.2 var(--f-body); cursor: pointer; white-space: nowrap; }
.ptab:hover { color: var(--ink); }
.ptab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--maroon); }
.ptab .n { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); font: 600 .78rem/1 var(--f-mono); color: var(--ink); }
.ptab[aria-selected="true"] .n { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

/* ---------- certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cert { display: grid; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--chip); color: var(--chip-ink); text-align: left; font: inherit; cursor: zoom-in; overflow: hidden; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.cert:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cert img { width: 100%; height: auto; display: block; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.cert span { padding: 10px 12px 12px; font-size: .86rem; line-height: 1.4; color: var(--chip-ink); }
.cert b { display: block; font-size: .95rem; }
.certs.is-mini { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; }
.certs.is-mini .cert img { height: 96px; width: auto; border-bottom: 0; }
.certs.is-mini .cert span { display: none; }
@media (max-width: 760px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .certs .cert.is-wide { grid-column: 1 / -1; } }
@media (max-width: 420px) { .certs.is-mini .cert img { height: 76px; } }
.filters { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filters .f-q { grid-column: 1 / -1; } }
@media (max-width: 860px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .filters { grid-template-columns: 1fr; } }
.slide-l.fit { background-size: contain; background-repeat: no-repeat; }

/* feasibility gallery: wide profiles beside the master plan */
.dwg-grid.g3 .dwg.fit img { aspect-ratio: 2 / 1; }
.dwg-grid.g3 .dwg-hero img { object-fit: cover; object-position: center; }

/* certificates row: two portrait ISO certificates + the landscape SoB certificate at similar heights */
.certs:not(.is-mini) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.05fr); }
.cert code { font: 500 .8rem/1.6 var(--f-mono); color: var(--chip-muted); }
@media (max-width: 760px) { .certs:not(.is-mini) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- calmer project lists ---------- */
.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.pc { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.pc-logo { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 6px; background: var(--chip); overflow: hidden; }
.pc-logo .org-logo { border: 0; background: none; height: 50px; min-width: 0; max-width: 50px; padding: 0; }
.pc-logo .org-logo img { max-width: 46px; max-height: 40px; }
.pc-logo .org-mono { width: 100%; height: 100%; border-radius: 0; padding: 0 4px; font-size: .62rem; color: var(--on-navy); }
.pc-txt { display: grid; gap: 4px; min-width: 0; }
.pc h3 { font: 600 1rem/1.4 var(--f-body); color: var(--ink); overflow-wrap: anywhere; }
.pc h3 a { color: inherit; text-decoration: none; }
.pc h3 a:hover { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.pc-meta { font-size: .86rem; color: var(--muted); }
.pc-scope { font-size: .84rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { grid-template-columns: minmax(0, 1fr) auto; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.pc-more i { font-style: normal; font-size: 1.3rem; color: var(--maroon); }
.pc-more:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .pc-grid { grid-template-columns: 1fr; } .pc { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; } .pc-logo { width: 44px; height: 44px; } .pc-logo .org-logo img { max-width: 36px; max-height: 32px; } }

/* directory cards without artwork */
.proj { grid-template-rows: auto; }
.proj-body { gap: 10px; }
.proj-tags { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.p-tag { display: inline-flex; align-items: center; gap: 5px; font: 600 .68rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 4px 6px; border-radius: 2px; }
.p-tag.is-ongoing { background: var(--amber); color: var(--amber-ink); }
.p-tag.is-key { background: var(--key); color: #FFFFFF; }
.proj.is-ongoing { border-top: 3px solid var(--amber); }
.proj.is-key { border-top: 3px solid var(--key); }
:root[data-theme="dark"] .proj.is-key, :root[data-theme="dark"] .p-tag.is-key { border-top-color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .proj.is-key { border-top-color: var(--blue); } }

/* quieter details */
.tile .slide-dots { opacity: 0; }
.tile:hover .slide-dots, .tile .media.is-playing .slide-dots { opacity: 1; }
.hero3-bg::after { background: linear-gradient(90deg, rgba(var(--shade), .94) 0%, rgba(var(--shade), .78) 42%, rgba(var(--shade), .25) 100%), linear-gradient(0deg, rgba(var(--shade), .6) 0%, transparent 35%); }
.pc-logo .org-mono { white-space: normal; text-align: center; line-height: 1.1; }
/* lighter instrument list */
.fleet2 { gap: 0 24px; border-top: 1px solid var(--line); }
.fleet2 > div { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 4px; grid-template-columns: 44px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; column-gap: 12px; row-gap: 2px; align-content: center; }
.fleet2 i { width: 44px; height: 44px; grid-row: span 2; margin: 0; }
.fleet2 svg { width: 26px; height: 26px; }
.fleet2 b { font-size: 1.45rem; }
.fleet2 span { font-size: .82rem; line-height: 1.3; }
@media (max-width: 520px) { .fleet2 { gap: 0 14px; } }

/* =====================================================================
   PALETTE: deep maroon & ash (from the maroon compass rose in the STBL logo).
   Delete this block to return to the indigo & yellow palette.
   ===================================================================== */
:root {
  --bg: #FAFAF8; --surface: #EEEEEB; --card: #FFFFFF; --ink: #1F2022; --muted: #5D6165; --line: #D9D9D4;
  --blue: #7A1C2B; --blue-ink: #FFFFFF; --amber: #7A1C2B; --amber-ink: #FFFFFF; --maroon: #7A1C2B; --salmon: #B47A82;
  --navy: #4A0F1B; --navy-2: #5E1524; --on-navy: #F3EFEF; --on-navy-muted: #CDBFC2; --focus: #A52A3C; --plate: #2A1519;
  --paper: #F4F4F1; --tag: #5D6165; --grid: rgba(70, 70, 66, .05);
  --chip: #FFFFFF; --chip-ink: #1F2022; --chip-muted: #5D6165;
  --shadow: 0 1px 2px rgba(30, 20, 22, .06), 0 8px 24px rgba(30, 20, 22, .08);
  --hi: #D9D5D1; --btn-hi-bg: #F1EFEC; --btn-hi-ink: #4A0F1B; --icon-bg: #7A1C2B; --icon-ink: #FFFFFF; --key: #45484B;
  --strip-bg: #E5E4E0; --strip-ink: #1F2022; --shade: 36, 10, 16; --shade2: 62, 16, 26;
  --on-dark-1: #EFEBEB; --on-dark-2: #DED7D8; --on-dark-3: #BFB5B7;
  --ftr-bg: #2A2C2E; --ftr-ink: #C9CBCD;
  --art-bg: #2A1519; --art-bg2: #43202A; --art-line: rgba(222, 210, 212, .40); --art-faint: rgba(222, 210, 212, .14); --art-strong: rgba(242, 236, 237, .86); --art-hi: #D9D5D1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121011; --surface: #1B1819; --card: #221E1F; --ink: #EEEAEA; --muted: #ABA4A5; --line: #363031;
    --blue: #E3A0AA; --blue-ink: #2A0B12; --amber: #9C2A3D; --amber-ink: #FFFFFF; --maroon: #E3A0AA; --salmon: #D49099;
    --navy: #3A0D16; --navy-2: #4A1220; --on-navy: #F3EFEF; --on-navy-muted: #C9BBBE; --focus: #E3A0AA; --plate: #1E1013; --grid: rgba(222, 210, 212, .04);
    --icon-bg: #9C2A3D; --key: #5A5E62; --strip-bg: #2A2526; --strip-ink: #EEEAEA; --ftr-bg: #1A1B1C;
  }
}
:root[data-theme="dark"] {
  --bg: #121011; --surface: #1B1819; --card: #221E1F; --ink: #EEEAEA; --muted: #ABA4A5; --line: #363031;
  --blue: #E3A0AA; --blue-ink: #2A0B12; --amber: #9C2A3D; --amber-ink: #FFFFFF; --maroon: #E3A0AA; --salmon: #D49099;
  --navy: #3A0D16; --navy-2: #4A1220; --on-navy: #F3EFEF; --on-navy-muted: #C9BBBE; --focus: #E3A0AA; --plate: #1E1013; --grid: rgba(222, 210, 212, .04);
  --icon-bg: #9C2A3D; --key: #5A5E62; --strip-bg: #2A2526; --strip-ink: #EEEAEA; --ftr-bg: #1A1B1C;
}
.ftr { background: var(--ftr-bg); color: var(--ftr-ink); border-top: 4px solid var(--navy); }
.ftr a { color: #ECEDEE; }
.contact-strip .btn-accent { background: var(--navy); color: #FFFFFF; }

/* ---------- client orbit ---------- */
.clients-band { overflow: hidden; background: var(--surface); }
.clients-orbit { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.co-text { display: grid; gap: 16px; align-content: center; }
.co-legend { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.co-legend li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink); cursor: default; }
.co-legend i { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed var(--rc); flex: 0 0 auto; position: relative; }
.co-legend i::after { content: ""; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--rc); }
.co-legend li[data-ring="1"], .o-ring.r1 { --rc: var(--maroon); }
.co-legend li[data-ring="2"], .o-ring.r2 { --rc: #6B6F73; }
.co-legend li[data-ring="3"], .o-ring.r3 { --rc: #A3A6A9; }
.co-hint { font-size: .85rem; color: var(--muted); }
@media (hover: none) { .co-hint { display: none; } }

.orbit { position: relative; width: min(100%, 680px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbit::before, .orbit::after { content: ""; position: absolute; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); pointer-events: none; }
.orbit::before { left: 0; right: 0; top: 50%; height: 1px; }
.orbit::after { top: 0; bottom: 0; left: 50%; width: 1px; background: repeating-linear-gradient(0deg, var(--line) 0 6px, transparent 6px 12px); }
.orbit-sweep { position: absolute; inset: 2%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(122, 28, 43, .14) 46deg, rgba(122, 28, 43, 0) 47deg, transparent 360deg); animation: o-spin 10s linear infinite; pointer-events: none; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--chip); border: 1px solid var(--line); box-shadow: 0 8px 26px rgba(30, 20, 22, .12); display: grid; place-items: center; z-index: 2; }
.orbit-core img { width: 84%; height: auto; display: block; }
.o-ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed var(--rc); transition: opacity .3s ease; }
.o-ring.r1 { width: 40%; --t: 60s; }
.o-ring.r2 { width: 67%; --t: 110s; }
.o-ring.r3 { width: 94%; --t: 160s; }
.o-rot { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; animation: o-spin var(--t) linear infinite; }
.o-ring.r2 .o-rot { animation-direction: reverse; }
.o-chip { position: absolute; width: 56px; width: clamp(34px, 10.4cqw, 72px); aspect-ratio: 1; transform: translate(-50%, -50%); outline: none; }
.o-chip:hover, .o-chip:focus-visible { z-index: 5; }
.o-in { position: absolute; inset: 0; animation: o-spin var(--t) linear infinite reverse; }
.o-ring.r2 .o-in { animation-direction: normal; }
.o-face { position: absolute; inset: 0; border-radius: 50%; background: var(--chip); border: 1.5px solid var(--line); box-shadow: 0 2px 8px rgba(30, 20, 22, .10); display: grid; place-items: center; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.o-face .c-img { display: grid; place-items: center; width: 100%; height: 100%; }
.o-face img { max-width: 72%; max-height: 64%; width: auto; height: auto; display: block; }
.o-face .org-mono { width: 100%; height: 100%; border-radius: 50%; padding: 0 4px; font-size: .62rem; color: #FFFFFF; white-space: normal; text-align: center; line-height: 1.1; }
.o-in em { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font: 600 .72rem/1 var(--f-body); font-style: normal; background: var(--navy); color: #FFFFFF; padding: 5px 8px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.o-chip:hover .o-face, .o-chip:focus-visible .o-face { transform: scale(1.22); border-color: var(--maroon); box-shadow: 0 10px 24px rgba(30, 20, 22, .2); }
.o-chip:hover em, .o-chip:focus-visible em { opacity: 1; }
.orbit:hover .o-rot, .orbit:hover .o-in, .orbit:focus-within .o-rot, .orbit:focus-within .o-in { animation-play-state: paused; }
.orbit[data-hl] .o-ring { opacity: .25; }
.orbit[data-hl="1"] .o-ring.r1, .orbit[data-hl="2"] .o-ring.r2, .orbit[data-hl="3"] .o-ring.r3 { opacity: 1; }
@keyframes o-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .clients-orbit { grid-template-columns: 1fr; } .co-text { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .o-rot, .o-in, .orbit-sweep { animation: none; } }
.all-clients { margin-top: 26px; }
.all-clients summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); list-style: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.all-clients summary::-webkit-details-marker { display: none; }
.all-clients summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.all-clients[open] summary::after { content: "–"; }
.all-clients[open] summary { margin-bottom: 22px; }
.o-ring, .o-rot { pointer-events: none; }
.o-chip { pointer-events: auto; }

/* ---------- project detail dialog ---------- */
.proj { cursor: pointer; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.proj:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: color-mix(in srgb, var(--maroon) 40%, var(--line)); }
.proj-open { justify-self: start; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--blue); font: 600 .86rem/1.2 var(--f-body); cursor: pointer; }
.proj-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.pc { cursor: pointer; }
.pc:hover h3 a { color: var(--maroon); }
.p-tag.is-done { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.pm { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(var(--shade), .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: pm-in .18s ease; }
.pm-card { width: min(760px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; background: var(--card); color: var(--ink); border-radius: 10px; border-top: 4px solid var(--maroon); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: grid; grid-template-rows: auto 1fr auto; outline: none; }
.pm-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; background: var(--card); border-bottom: 1px solid var(--line); }
.pm-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pm-ref { font: 500 .75rem/1 var(--f-mono); color: var(--muted); margin-left: 4px; }
.pm-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .95rem; cursor: pointer; }
.pm-x:hover { border-color: var(--maroon); color: var(--maroon); }
.pm-body { padding: 20px 22px 8px; display: grid; gap: 14px; align-content: start; }
.pm-body h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.25; }
.pm-body h3 { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.pm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.pm-facts > div { padding: 10px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; }
.pm-facts > div:nth-child(2n) { border-right: 0; }
.pm-facts dt { font: 600 .72rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pm-facts dd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.pm-scope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.pm-scope li { position: relative; padding-left: 22px; font-size: .95rem; line-height: 1.4; }
.pm-scope li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 8px; height: 5px; border-left: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon); transform: rotate(-45deg); }
.pm-full { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.pm-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: var(--card); border-top: 1px solid var(--line); }
.pm-nav { display: inline-flex; align-items: center; gap: 10px; }
.pm-nav .btn { padding: 9px 12px; font-size: .85rem; }
.pm-count { font: 500 .8rem/1 var(--f-mono); color: var(--muted); }
@keyframes pm-in { from { opacity: 0; } }
@media (max-width: 620px) { .pm { padding: 0; place-items: end stretch; } .pm-card { width: 100%; max-height: 92dvh; border-radius: 14px 14px 0 0; } .pm-facts, .pm-scope { grid-template-columns: 1fr; } .pm-facts > div { border-right: 0; } .pm-foot .btn-primary { flex: 1 1 100%; text-align: center; } .pm-nav { width: 100%; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .pm { animation: none; } .proj:hover { transform: none; } }
.o-face img { max-width: 78%; max-height: 66%; }
.o-face .org-mono { font-size: .6rem; font-size: clamp(.46rem, 1.5cqw, .66rem); }
.pm-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.pm-facts > div:last-child, .pm-facts > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
@media (max-width: 620px) { .pm-facts > div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); } }

/* ---------- hero: LiDAR scan line ---------- */
.hero3-in { position: relative; z-index: 1; }
.hero3-cap { z-index: 1; }
.hero3-scan { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero3-scan::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 26%; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(230, 216, 218, .05) 70%, rgba(255, 255, 255, .16) 99%, rgba(255, 255, 255, .85) 100%); mix-blend-mode: screen; animation: scan 9s cubic-bezier(.45, 0, .55, 1) infinite; }
.hero3-scan::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.3px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); -webkit-mask-size: 30% 100%; mask-size: 30% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: scanmask 9s cubic-bezier(.45, 0, .55, 1) infinite; opacity: .6; }
@keyframes scan { 0% { transform: translateX(-30%); } 55%, 100% { transform: translateX(400%); } }
@keyframes scanmask { 0% { -webkit-mask-position: -40% 0; mask-position: -40% 0; } 55%, 100% { -webkit-mask-position: 140% 0; mask-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .hero3-scan { display: none; } }

/* ---------- Bangladesh map ---------- */
.map-band { background: var(--bg); }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.map-text { display: grid; gap: 16px; align-content: center; }
.map-top { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; max-width: 460px; }
.map-top button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: 500 .95rem/1.2 var(--f-body); text-align: left; cursor: pointer; }
.map-top em { font: 700 .95rem/1 var(--f-display); font-style: normal; color: var(--maroon); }
.map-top i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--surface); position: relative; overflow: hidden; }
.map-top i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--maroon); border-radius: 2px; transition: width .6s ease; }
.map-top button:hover span { color: var(--maroon); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .86rem; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--maroon); }
.lg-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 4px color-mix(in srgb, var(--maroon) 25%, transparent); }
.map-note { font-size: .85rem; color: var(--muted); }
.bd-map { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.bd-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.bd-map pattern circle { fill: color-mix(in srgb, var(--ink) 24%, transparent); }
.mk { cursor: pointer; outline: none; }
.mk-dot { fill: var(--maroon); fill-opacity: .82; stroke: var(--card); stroke-width: 1.6; transition: fill-opacity .2s ease, transform .2s ease; transform-box: fill-box; transform-origin: center; }
.mk:hover .mk-dot, .mk:focus-visible .mk-dot, .mk.is-hl .mk-dot { fill-opacity: 1; transform: scale(1.18); }
.mk:focus-visible .mk-dot { stroke: var(--ink); stroke-width: 2; }
.mk-pulse { fill: var(--maroon); fill-opacity: .35; transform-box: fill-box; transform-origin: center; animation: mkpulse 2.4s ease-out infinite; }
@keyframes mkpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.mk-lab { font: 600 11px/1 var(--f-body); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.bd-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 10px)); background: var(--navy); color: #FFFFFF; font: 600 .78rem/1.2 var(--f-body); padding: 6px 9px; border-radius: 4px; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.bd-map.is-mini { max-width: 260px; margin: 6px 0 4px; }
.bd-map.is-mini .mk-lab { display: none; }
.dir-side .bd-map.is-mini .mk-dot { stroke-width: 1.2; }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } .bd-map { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .mk-pulse { animation: none; opacity: .4; transform: scale(1.6); } }

/* ---------- gentle reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
@media print { .rv { opacity: 1; transform: none; } }
.bd-dots { pointer-events: none; }

/* ---------- hero: every work sample, one after another ---------- */
.hero3-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(460px, 40vw)); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 56px 136px; }
.hero3-grid .hero3-in { padding-block: 0; }
.hero3-grid h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.hero3-layer.soft { filter: blur(4px) brightness(.92); }
.hdeck { position: relative; --acc: #E3A0AA; }
.hdeck-stack { position: relative; aspect-ratio: 4 / 3; margin: 30px 30px 0 0; }
.hd-card { position: absolute; inset: 0; display: block; border-radius: 14px; overflow: hidden; background: #191A1B; box-shadow: 0 30px 60px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .16); transform-origin: 50% 100%; opacity: 0; transform: translate(30px, -16px) rotate(9deg) scale(.9); transition: transform .9s cubic-bezier(.2, .75, .2, 1), opacity .7s ease, filter .7s ease; pointer-events: none; z-index: 1; }
.hd-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-card.fit { background: #FFFFFF; }
.hd-card.fit img { object-fit: contain; padding: 12px; box-sizing: border-box; }
.hd-card[data-pos="0"] { opacity: 1; transform: none; z-index: 5; pointer-events: auto; }
.hd-card[data-pos="0"]:not(.fit) img { animation: hd-kb 6.5s ease-out both; }
.hd-card[data-pos="1"] { opacity: .95; transform: translate(12px, -6px) rotate(3deg) scale(.97); filter: brightness(.5); z-index: 4; }
.hd-card[data-pos="2"] { opacity: .85; transform: translate(22px, -12px) rotate(6deg) scale(.94); filter: brightness(.32); z-index: 3; }
.hd-card[data-pos="out"] { opacity: 0; transform: translate(-60px, 36px) rotate(-6deg) scale(1.03); z-index: 6; transition: transform .85s cubic-bezier(.55, 0, .45, 1), opacity .7s ease .1s; }
@keyframes hd-kb { from { transform: scale(1.07); } to { transform: scale(1); } }
.hdeck-ticks { position: absolute; inset: -9px; z-index: 7; pointer-events: none; }
.hdeck-ticks i { position: absolute; width: 20px; height: 20px; border: 0 solid var(--acc); }
.hdeck-ticks i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.hdeck-ticks i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.hdeck-ticks i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.hdeck-ticks i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.hdeck-bar { position: relative; display: flex; align-items: center; gap: 8px; margin: 18px 30px 0 0; padding-bottom: 12px; }
.hdeck-n { font: 500 .78rem/1 var(--f-mono); color: var(--on-dark-3); letter-spacing: .06em; white-space: nowrap; }
.hdeck-n b { color: #FFFFFF; font-weight: 600; }
.hdeck-cap { flex: 1; min-width: 0; margin-left: 6px; color: #FFFFFF; font: 600 .95rem/1.3 var(--f-body); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdeck-cap::after { content: " \2192"; color: var(--acc); }
.hdeck-cap:hover { text-decoration: underline; text-underline-offset: 3px; }
.hdeck-btn, .spot-btn { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); color: #FFFFFF; cursor: pointer; padding: 0; transition: background .2s ease, border-color .2s ease; }
.hdeck-btn:hover, .spot-btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.hdeck-btn svg, .spot-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.i-play { display: none; }
.i-play path { fill: currentColor; stroke: none; }
.is-paused .i-play { display: block; }
.is-paused .i-pause { display: none; }
.hdeck-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .16); border-radius: 2px; overflow: hidden; }
.hdeck-prog i, .spot-bar i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 1023px) { .hero3-grid { grid-template-columns: 1fr; } .hdeck { display: none; } }
@media (max-width: 720px) { .hero3-grid { padding-block: 48px 116px; } }
@media (prefers-reduced-motion: reduce) { .hd-card { transition: none; } .hd-card img { animation: none !important; } }

/* ---------- service spotlight: one service after another, grouped index ---------- */
.svc-num { display: inline-flex; align-items: center; justify-content: center; font: 600 .78rem/1 var(--f-mono); letter-spacing: .06em; color: var(--maroon); }
.spot { --acc: #E3A0AA; display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 336px); gap: clamp(14px, 2vw, 22px); padding: clamp(10px, 1.4vw, 16px); border-radius: 16px; align-items: stretch; }
.spot-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--plate); isolation: isolate; }
.spot-slide { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.spot-slide.is-on { visibility: visible; z-index: 2; }
.spot-slide.is-leave { visibility: visible; z-index: 1; }
.spot-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), 0) 45%), linear-gradient(180deg, rgba(var(--shade), .35) 0%, rgba(var(--shade), 0) 22%); }
.spot-m { position: absolute; inset: 0; }
.spot-m.fit.has-photo { background-size: contain; background-repeat: no-repeat; background-color: #FFFFFF; }
.spot-slide.is-on .spot-m:not(.fit) { animation: spot-kb 8s ease-out both; }
.spot-slide.is-leave .spot-m { filter: brightness(.6); transition: filter .9s ease; }
.spot-slide.is-enter { animation: spot-wipe-f 1s cubic-bezier(.65, 0, .35, 1) both; }
.spot-stage[data-dir="b"] .spot-slide.is-enter { animation-name: spot-wipe-b; }
@keyframes spot-kb { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes spot-wipe-f { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes spot-wipe-b { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.spot-m .slide-dots { top: 16px; left: 16px; right: auto; bottom: auto; justify-content: flex-start; opacity: 1; z-index: 3; }
.spot-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 150px; margin-left: -150px; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(227, 160, 170, .12) 62%, rgba(255, 255, 255, .4) 97%, #FFFFFF 100%); mix-blend-mode: screen; }
.spot-scan::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1.4px); background-size: 10px 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); opacity: .55; }
.spot-stage.is-scan .spot-scan { animation: spot-scan-f 1s cubic-bezier(.65, 0, .35, 1) both; }
.spot-stage.is-scan[data-dir="b"] .spot-scan { margin-left: 0; transform: scaleX(-1); animation-name: spot-scan-b; }
@keyframes spot-scan-f { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes spot-scan-b { 0% { left: 100%; opacity: 1; } 88% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.spot-cap { position: absolute; left: clamp(12px, 2vw, 22px); bottom: clamp(14px, 2vw, 24px); z-index: 2; width: min(500px, calc(100% - 28px)); padding: 18px 20px 16px; border-radius: 12px; background: rgba(var(--shade), .74); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .14); color: #FFFFFF; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.spot-grp { display: flex; align-items: center; gap: 8px; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.spot-grp b { font-weight: 600; padding: 3px 6px; border-radius: 5px; background: rgba(227, 160, 170, .16); }
.spot-cap h3 { margin-top: 8px; font: 800 clamp(1.3rem, 2.3vw, 1.9rem)/1.15 var(--f-display); font-stretch: 92%; color: #FFFFFF; }
.spot-cap h3 a { color: inherit; text-decoration: none; }
.spot-cap p { margin: 6px 0 0; font-size: .95rem; line-height: 1.45; color: var(--on-dark-2); }
.spot-more { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; color: #FFFFFF; font: 600 .88rem/1.2 var(--f-body); text-decoration: none; padding-bottom: 2px; border-bottom: 1.5px solid var(--acc); }
.spot-more:hover { color: var(--acc); }
.spot-slide.is-on .spot-cap > * { animation: spot-cap .6s cubic-bezier(.2, .7, .2, 1) both; }
.spot-slide.is-on .spot-cap > :nth-child(1) { animation-delay: .25s; }
.spot-slide.is-on .spot-cap > :nth-child(2) { animation-delay: .32s; }
.spot-slide.is-on .spot-cap > :nth-child(3) { animation-delay: .39s; }
.spot-slide.is-on .spot-cap > :nth-child(4) { animation-delay: .46s; }
.spot-slide.is-leave .spot-cap { opacity: 0; transition: opacity .25s ease; }
@keyframes spot-cap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.spot-ui { position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 13px; border-radius: 999px; background: rgba(var(--shade), .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.spot-count { font: 500 .78rem/1 var(--f-mono); color: var(--on-dark-3); letter-spacing: .05em; margin-right: 4px; white-space: nowrap; }
.spot-count b { color: #FFFFFF; font-weight: 600; }
.spot-btn { width: 30px; height: 30px; border: 0; background: rgba(255, 255, 255, .1); }
.spot-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: rgba(255, 255, 255, .14); }
.spot-index { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-block: 2px; }
.spot-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 14px 8px; font: 600 var(--step--1)/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.spot-title span { font: 500 .74rem/1 var(--f-mono); letter-spacing: .04em; text-transform: none; color: var(--muted); }
.spot-g { border-radius: 12px; border: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.spot-g.is-open { background: var(--surface); border-color: var(--line); }
.spot-gh { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: none; border: 0; border-radius: 12px; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.spot-g:not(.is-open) .spot-gh:hover { background: var(--surface); }
.spot-gh .svc-num { width: 30px; height: 30px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); transition: background .3s ease, color .3s ease; }
.spot-g.is-open .spot-gh .svc-num { background: var(--maroon); border-color: var(--maroon); color: #FFFFFF; }
.spot-gt b { display: block; font: 800 1rem/1.2 var(--f-display); font-stretch: 92%; }
.spot-gt small { display: block; font-size: .8rem; line-height: 1.35; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
.spot-g.is-open .spot-gt small { max-height: 3em; opacity: 1; margin-top: 2px; }
.spot-gd { width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s ease; }
.spot-g.is-open .spot-gd { transform: rotate(-135deg) translate(-2px, -2px); }
.spot-g ul { list-style: none; margin: 0; padding: 0 8px; max-height: 0; overflow: hidden; transition: max-height .45s ease, padding .45s ease; }
.spot-g.is-open ul { max-height: 260px; padding-bottom: 8px; }
.spot-it { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px 9px; border-radius: 9px; text-decoration: none; color: var(--ink); font: 500 .9rem/1.25 var(--f-body); transition: background .2s ease; }
.spot-it:hover { background: var(--card); }
.spot-ic { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); transition: background .25s ease, border-color .25s ease; }
.spot-ic svg { width: 17px; height: 17px; fill: none; stroke: var(--maroon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spot-it.is-on { background: var(--card); font-weight: 600; box-shadow: 0 1px 2px rgba(30, 20, 22, .08), 0 6px 16px rgba(30, 20, 22, .08); }
.spot-it.is-on .spot-ic { background: var(--maroon); border-color: var(--maroon); }
.spot-it.is-on .spot-ic svg { stroke: #FFFFFF; }
.spot-fill { position: absolute; left: 48px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; overflow: hidden; }
.spot-fill::after { content: ""; position: absolute; inset: 0; background: var(--maroon); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.spot-it.is-on .spot-fill { opacity: 1; }
.spot-chips { display: none; }
@media (max-width: 1100px) { .spot { grid-template-columns: minmax(0, 1fr) minmax(250px, 290px); } .spot-stage { aspect-ratio: 4 / 3; } .spot-cap p { font-size: .88rem; } }
@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; gap: 10px; }
  .spot-index { display: none; }
  .spot-stage { aspect-ratio: 16 / 10.5; }
  .spot-chips { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px 2px 4px; }
  .spot-chips::-webkit-scrollbar { display: none; }
  .spot-chip { position: relative; flex: 0 0 auto; display: inline-flex; gap: 8px; align-items: center; padding: 10px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 .84rem/1 var(--f-body); white-space: nowrap; overflow: hidden; }
  .spot-chip b { font: 600 .7rem/1 var(--f-mono); color: var(--maroon); }
  .spot-chip.is-on { background: var(--maroon); border-color: var(--maroon); color: #FFFFFF; }
  .spot-chip.is-on b { color: rgba(255, 255, 255, .8); }
  .spot-chip.is-on::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: rgba(255, 255, 255, .6); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
}
@media (max-width: 760px) {
  .tiles-wrap { margin-top: -64px; }
  .spot { padding: 8px; border-radius: 14px; }
  .spot-stage { aspect-ratio: auto; height: clamp(330px, 92vw, 420px); }
  .spot-cap { left: 10px; bottom: 12px; width: calc(100% - 20px); padding: 14px 15px 13px; }
  .spot-cap h3 { font-size: 1.28rem; margin-top: 6px; }
  .spot-cap p { font-size: .86rem; }
  .spot-more { margin-top: 8px; }
  .spot-ui { top: 8px; right: 8px; padding-left: 10px; }
  .spot-btn { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .spot-slide, .spot-m, .spot-cap > *, .spot-scan { animation: none !important; } .spot-g ul, .spot-gt small { transition: none; } }

/* ---------- office location ---------- */
.find-map { position: relative; border-radius: 16px; overflow: hidden; min-height: 440px; border: 1px solid var(--line); background: var(--plate); box-shadow: var(--shadow); }
.find-ph { position: absolute; inset: 0; }
.find-frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s ease; }
.find-map.has-map .find-frame { opacity: 1; }
.find-pin { position: absolute; left: 64%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #C8384E; box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 6px 18px rgba(0, 0, 0, .4); z-index: 1; }
.find-pin i { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: find-pulse 2.2s ease-out infinite; }
@keyframes find-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.find-card { position: absolute; left: 20px; top: 20px; z-index: 2; width: min(370px, calc(100% - 40px)); display: grid; gap: 8px; padding: 22px 22px 20px; border-radius: 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(0, 0, 0, .2); }
.find-badge { justify-self: start; font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; color: #FFFFFF; background: var(--maroon); padding: 5px 8px; border-radius: 5px; }
.find-card b { font: 800 1.15rem/1.25 var(--f-display); font-stretch: 92%; }
.find-card address { font-style: normal; color: var(--muted); line-height: 1.5; }
.find-ll { margin: 0; font: 500 .8rem/1.2 var(--f-mono); color: var(--muted); }
.find-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 640px) {
  .find-map { min-height: 0; }
  .find-ph { position: relative; height: 260px; }
  .find-frame { height: 260px; }
  .find-card { position: relative; left: auto; top: auto; width: auto; margin: -36px 10px 10px; }
  .find-act .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .find-pin i { animation: none; } }
.split .media.is-wide { aspect-ratio: 16 / 10; }
.spot-slide:has(> .spot-m.fit)::after { background: linear-gradient(0deg, rgba(var(--shade), .3) 0%, rgba(var(--shade), 0) 40%), linear-gradient(180deg, rgba(var(--shade), .28) 0%, rgba(var(--shade), 0) 18%); }

/* ---------- feasibility studies band (home) ---------- */
.fs-band { --acc: #E3A0AA; position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.fs-band::before { content: ""; position: absolute; inset: 0; z-index: -1; 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: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 85%); }
.fs-band::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -240px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 160, 170, .16), transparent 65%); }
.fs-band .eyebrow { color: var(--acc); }
.fs-band .eyebrow::before { background: var(--acc); }
.fs-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(26px, 4vw, 44px); }
.fs-head h2 { color: #FFFFFF; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 10px; }
.fs-lede p { color: var(--on-navy-muted); font-size: 1.04rem; line-height: 1.6; margin: 0; }
.fs-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }
.fs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fs-card { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.fs-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(227, 160, 170, .5); box-shadow: 0 20px 40px rgba(0, 0, 0, .28); }
.fs-ill { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .08)), repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 18px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 18px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fs-ill svg { position: absolute; inset: 8px 10px 4px; width: calc(100% - 20px); height: calc(100% - 12px); fill: none; stroke: #EFE7E8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fs-ill .acc { stroke: var(--acc); }
.fs-ill .soft { stroke: rgba(239, 231, 232, .35); }
.fs-ill .dash { stroke: rgba(227, 160, 170, .8); stroke-dasharray: 4 4; }
.fs-ill .d { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1); }
.fs-grid.rv:not(.in) .fs-ill .d { stroke-dashoffset: 1; }
.fs-card:nth-child(2) .d { transition-delay: .15s; } .fs-card:nth-child(3) .d { transition-delay: .3s; } .fs-card:nth-child(4) .d { transition-delay: .45s; }
.fs-sector { position: absolute; left: 12px; top: 12px; font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 8px; border-radius: 6px; }
.fs-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.fs-fig { font: 800 clamp(1.5rem, 2.1vw, 1.85rem)/1.05 var(--f-display); font-stretch: 88%; color: var(--acc); letter-spacing: -.01em; }
.fs-body h3 { font: 600 .98rem/1.38 var(--f-body); color: #FFFFFF; }
.fs-body h3 a { color: inherit; text-decoration: none; }
.fs-body h3 a::after { content: ""; position: absolute; inset: 0; }
.fs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 0; font-size: .82rem; color: var(--on-navy-muted); }
.fs-org { display: inline-flex; align-items: center; gap: 7px; }
.fs-org .org-logo { height: 28px; min-width: 28px; max-width: 64px; padding: 2px; border-radius: 5px; background: #FFFFFF; border: 0; }
.fs-org .org-logo img { max-height: 24px; max-width: 60px; }
.fs-org .org-mono { height: 28px; min-width: 28px; font-size: .62rem; background: rgba(255, 255, 255, .15); }
.fs-org b { color: #FFFFFF; font-weight: 600; }
.fs-meta .p-tag { margin-left: auto; }
.fs-scope { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; }
.fs-scope li { position: relative; padding-left: 16px; font-size: .84rem; line-height: 1.4; color: var(--on-dark-2); }
.fs-scope li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); opacity: .85; }
.fs-go { margin-top: auto; padding-top: 8px; font: 600 .86rem/1 var(--f-body); color: #FFFFFF; display: inline-flex; gap: 6px; align-items: center; }
.fs-go i { font-style: normal; color: var(--acc); transition: transform .2s ease; }
.fs-card:hover .fs-go i { transform: translateX(4px); }
.fs-flow { margin-top: clamp(26px, 4vw, 40px); padding: clamp(18px, 2.4vw, 26px); border-radius: 14px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .1); }
.fs-flow-h { font: 600 .74rem/1.2 var(--f-mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted) !important; margin-bottom: 18px; }
.fs-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.fs-flow ol::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: linear-gradient(90deg, var(--acc), rgba(227, 160, 170, .25)); }
.fs-flow li { position: relative; display: grid; gap: 4px; align-content: start; }
.fs-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid var(--acc); color: #FFFFFF; font: 600 .78rem/1 var(--f-mono); margin-bottom: 8px; }
.fs-flow li b { color: #FFFFFF; font: 700 .95rem/1.25 var(--f-body); }
.fs-flow li > span:last-child { font-size: .82rem; line-height: 1.4; color: var(--on-navy-muted); }
.fs-more { margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; }
.fs-more-h { font: 600 .74rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); }
.fs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-chip { font: 500 .82rem/1.2 var(--f-body); color: #FFFFFF; text-decoration: none; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); transition: background .2s ease, border-color .2s ease; }
.fs-chip:hover { background: rgba(255, 255, 255, .12); border-color: var(--acc); }
.fs-all { color: #FFFFFF; white-space: nowrap; }
.fs-all span { color: var(--acc); }
@media (max-width: 1180px) { .fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fs-flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; } .fs-flow ol::before { display: none; } .fs-more { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .fs-head { grid-template-columns: 1fr; align-items: start; }
  .fs-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 6px; scroll-padding-left: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .fs-grid::-webkit-scrollbar { display: none; }
  .fs-card { scroll-snap-align: start; }
  .fs-card:hover { transform: none; }
  .fs-flow ol { grid-template-columns: 1fr; gap: 12px; }
  .fs-flow li { grid-template-columns: 36px 1fr; column-gap: 12px; }
  .fs-flow li .fs-n { grid-row: span 2; margin: 0; }
  .fs-cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fs-ill .d { transition: none; } .fs-grid.rv:not(.in) .fs-ill .d { stroke-dashoffset: 0; } .fs-card { transition: none; } }

/* services page: sector chips under feasibility, single master plan, geophysical gallery */
.fs-sectors { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fs-sectors a { display: inline-block; font: 600 .82rem/1.2 var(--f-body); color: var(--maroon); text-decoration: none; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.fs-sectors a:hover { background: var(--maroon); border-color: var(--maroon); color: #FFFFFF; }
.dwg-grid.g1 { grid-template-columns: 1fr; }
.dwg-grid.g1 .dwg-hero { grid-column: auto; grid-row: auto; }
.dwg-grid.g1 .dwg-hero img { aspect-ratio: 900 / 420; object-fit: cover; }
.geo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto auto; }
.geo-grid .dwg-tall { grid-row: span 2; }
.geo-grid .dwg-tall img { aspect-ratio: auto; height: 100%; min-height: 0; object-fit: contain; background: #FFFFFF; }
.geo-grid .dwg.fit img { aspect-ratio: 2.6 / 1; object-fit: contain; background: #FFFFFF; padding: 8px; box-sizing: border-box; }
@media (max-width: 640px) { .geo-grid { grid-template-columns: 1fr; } .geo-grid .dwg-tall { grid-row: auto; } .geo-grid .dwg-tall img { height: auto; aspect-ratio: 560 / 792; } }
.fs-st { position: absolute; right: 12px; top: 12px; z-index: 1; }
.fs-st .p-tag { margin: 0; }
.fs-band .p-tag.is-ongoing { background: var(--acc); color: #3A0D16; }
.fs-band .p-tag.is-done { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.fs-more { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.fs-more-h { grid-column: 1 / -1; }
@media (max-width: 1180px) { .fs-more { grid-template-columns: 1fr; } }
.fs-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fs-foot .fs-go { margin: 0; padding: 0; }
.fs-ill svg { inset: 26px 10px 4px; height: calc(100% - 30px); }
.geo-grid .dwg-tall { grid-template-rows: minmax(0, 1fr) auto; }
.geo-grid .dwg-tall img { height: 100%; }
.geo-grid .dwg.fit img { aspect-ratio: 3.2 / 1; }
@media (max-width: 640px) { .geo-grid .dwg-tall { grid-template-rows: auto auto; } .geo-grid .dwg.fit img { aspect-ratio: 2.4 / 1; } }
.dwg img:last-child { border-bottom: 0; }

/* ---------- remote services ---------- */
.tb-remote { font-weight: 600; }
.phead-link { color: var(--maroon); font-weight: 600; text-underline-offset: 3px; }
.rm-hero, .rm-band { --acc: #E3A0AA; }
.rm-hero::before { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -160px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(122, 28, 43, .55), transparent 65%); }
.rm-hero-grid { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, #000 30%, transparent 80%); }
.rm-hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 44px 52px; }
.rm-hero-txt { display: grid; gap: 16px; }
.rm-hero .eyebrow, .rm-band .eyebrow { color: var(--acc); }
.rm-hero .eyebrow::before, .rm-band .eyebrow::before { background: var(--acc); }
.rm-hero h1 { color: #FFFFFF; font-size: clamp(2.1rem, 4.1vw, 3.3rem); }
.rm-hero h1 .hl { color: var(--acc); }
.rm-hero-txt > p { color: var(--on-dark-2); font-size: 1.06rem; line-height: 1.6; max-width: 58ch; margin: 0; }
.rm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rm-promise { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rm-promise li { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.rm-promise b { font: 800 1.3rem/1 var(--f-display); font-stretch: 90%; color: #FFFFFF; }
.rm-promise span { font-size: .78rem; line-height: 1.35; color: var(--on-dark-3); }
.rm-globe { margin: 0; display: grid; justify-items: center; gap: 10px; min-width: 0; }
.rm-globe canvas { display: block; max-width: 100%; touch-action: pan-y; cursor: grab; }
.rm-globe canvas:active { cursor: grabbing; }
.rm-globe figcaption { width: 100%; max-width: 540px; }
.rm-globe-k { display: block; margin-bottom: 8px; text-align: center; font: 600 .68rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.rm-globe-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rm-globe-legend li { font-size: .76rem; color: var(--on-dark-2); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
.rm-globe-legend b { color: #FFFFFF; font-weight: 600; margin-right: 3px; }
@media (max-width: 960px) { .rm-hero-in { grid-template-columns: 1fr; } .rm-promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rm-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rm-card:hover { transform: translateY(-3px); border-color: rgba(122, 28, 43, .35); box-shadow: 0 16px 34px rgba(30, 20, 22, .12); }
.rm-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--icon-bg); }
.rm-ic svg { width: 24px; height: 24px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-card h3 { font: 800 1.12rem/1.25 var(--f-display); font-stretch: 92%; }
.rm-io { margin: 0; display: grid; gap: 10px; }
.rm-io > div { display: grid; gap: 3px; padding-left: 12px; border-left: 2px solid var(--line); }
.rm-io > div + div { border-left-color: var(--maroon); }
.rm-io dt { font: 600 .68rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rm-io dd { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink); }
.rm-fmt { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rm-fmt li { font: 500 .72rem/1 var(--f-mono); padding: 5px 7px; border-radius: 5px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.rm-ask { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--maroon); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.rm-ask::after { content: "\2192"; transition: transform .15s ease; }
.rm-ask:hover::after { transform: translateX(3px); }
@media (max-width: 1000px) { .rm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rm-grid { grid-template-columns: 1fr; } }
.rm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.rm-steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: linear-gradient(90deg, var(--maroon), rgba(122, 28, 43, .15)); }
.rm-steps li { position: relative; display: grid; gap: 6px; align-content: start; }
.rm-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--maroon); color: var(--maroon); font: 600 .8rem/1 var(--f-mono); margin-bottom: 8px; position: relative; }
.rm-steps b { font: 700 1rem/1.25 var(--f-body); color: var(--ink); }
.rm-steps li > span:last-child { font-size: .88rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) {
  .rm-steps { grid-template-columns: 1fr; gap: 16px; }
  .rm-steps::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(180deg, var(--maroon), rgba(122, 28, 43, .15)); }
  .rm-steps li { grid-template-columns: 40px 1fr; column-gap: 14px; }
  .rm-n { grid-row: span 2; margin: 0; }
}
.rm-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.rm-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rm-why-list li { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.rm-why-list b { font: 700 .98rem/1.3 var(--f-body); color: var(--ink); }
.rm-why-list span { font-size: .88rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) { .rm-why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rm-why-list { grid-template-columns: 1fr; } }
.rm-formats { display: grid; gap: 16px; }
.rm-formats .chip { font-size: .8rem; padding: 7px 10px; border-radius: 6px; background: var(--card); }
.rm-sw { font-size: .9rem; margin: 0; }
.rm-checks { display: grid; gap: 8px; }
.rm-checks label { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink); cursor: pointer; }
.rm-checks input { width: 18px; height: 18px; accent-color: var(--maroon); flex: 0 0 auto; }
.field small { font-size: .78rem; line-height: 1.4; }
.rm-faq { border-top: 1px solid var(--line); padding: 10px 0; }
.rm-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.rm-faq summary::-webkit-details-marker { display: none; }
.rm-faq summary::after { content: "+"; color: var(--maroon); font-weight: 700; }
.rm-faq[open] summary::after { content: "\2013"; }
.rm-faq p { margin: 8px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
/* home band */
.rm-band { position: relative; isolation: isolate; overflow: hidden; background: var(--plate); color: var(--on-navy); }
.rm-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 50%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 25% 50%, #000 25%, transparent 75%); }
.rm-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.rm-band-txt { display: grid; gap: 14px; }
.rm-band h2 { color: #FFFFFF; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.rm-band-txt > p { color: var(--on-navy-muted); margin: 0; line-height: 1.6; }
.rm-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-tags li { font: 500 .84rem/1.2 var(--f-body); color: #FFFFFF; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); }
.rm-band-note { font: 500 .78rem/1.4 var(--f-mono) !important; letter-spacing: .04em; color: var(--acc) !important; }
@media (max-width: 900px) { .rm-band-in { grid-template-columns: 1fr; } .rm-band .rm-globe { order: 2; } }
@media (max-width: 560px) { .rm-actions .btn { flex: 1 1 auto; justify-content: center; } }
.phead.rm-hero { background: var(--plate); background-image: none; color: var(--on-navy); border-bottom: 0; }
.rm-hero .crumbs, .rm-hero .crumbs span { color: var(--on-dark-3); }
.rm-hero .crumbs a { color: var(--on-dark-1); }
:root[data-theme="dark"] .rm-hero h1 { color: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rm-hero h1 { color: #FFFFFF; } }

/* ---------- WhatsApp links ---------- */
.wa-btn, .wa-mini { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.wa-btn svg, .wa-mini svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-btn { padding: 11px 16px; border-radius: 10px; background: #1E8E4E; color: #FFFFFF; font-size: .95rem; transition: background .2s ease, transform .2s ease; }
.wa-btn:hover { background: #17723E; transform: translateY(-1px); }
.wa-btn svg { width: 20px; height: 20px; }
.wa-mini { margin-left: 8px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(30, 142, 78, .1); border: 1px solid rgba(30, 142, 78, .35); color: #1E7A45; font-size: .78rem; }
.wa-mini:hover { background: #1E8E4E; border-color: #1E8E4E; color: #FFFFFF; }
.wa-mini svg { width: 14px; height: 14px; }
.wa-card .wa-btns { display: grid; gap: 10px; margin-top: 4px; }
.wa-card .wa-btn { justify-content: center; }
.kv .wa-mini { margin-left: 8px; }
.kv dd > .wa-mini:first-child { margin-left: 0; }
.ftr-tel { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ftr .wa-mini { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #DFF3E7; }
.ftr .wa-mini:hover { background: #1E8E4E; border-color: #1E8E4E; color: #FFFFFF; }
.tb-wa { font-weight: 600; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wa-mini { color: #8BD8A9; } }
:root[data-theme="dark"] .wa-mini { color: #8BD8A9; }
.svc-detail .media.is-diagram { aspect-ratio: 16 / 10; }
.media.is-diagram.has-photo { background-size: cover; background-color: #2A1519; }

/* ---------- search pages: one per service, remote service and district ---------- */
.sp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sp-badges { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-badges li { font: 600 .78rem/1.2 var(--f-body); padding: 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.sp-detail { border-top: 0; padding-block: 0; }
.media.sp-fit.has-photo { background-size: contain; background-repeat: no-repeat; background-color: #FFFFFF; }
.sp-cert { font-size: .86rem; margin-top: 14px; }
.sp-h2 { font-size: var(--step-2); margin: 28px 0 14px; }
.sp-h2:first-child { margin-top: 0; }
.sp-h4 { margin: 18px 0 8px; font: 600 .72rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sp-who { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-who li { font-size: .88rem; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.sp-dist { margin-bottom: 18px; }
.sp-proj { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.sp-proj li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.sp-proj a { font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; }
.sp-proj a:hover { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.sp-proj span { font-size: .82rem; color: var(--muted); }
.sp-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sp-faq h2 { margin: 8px 0 14px; font-size: var(--step-3); }
.sp-faq .rm-faq summary { font-size: 1rem; }
.sp-side { display: grid; gap: 16px; }
.sp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-links a { font-weight: 600; color: var(--maroon); text-decoration: none; }
.sp-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sp-stats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sp-stats li { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.sp-stats b { font: 800 2rem/1 var(--f-display); color: var(--maroon); }
.sp-stats span { font-size: .86rem; color: var(--muted); }
.ww-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ww-list a { position: relative; display: grid; gap: 2px; padding: 14px 16px 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.ww-list a:hover { border-color: var(--maroon); transform: translateY(-2px); }
.ww-list b { font: 700 1.02rem/1.25 var(--f-body); }
.ww-list em { font-style: normal; font: 600 .8rem/1.2 var(--f-mono); color: var(--maroon); }
.ww-list span { font-size: .82rem; color: var(--muted); }
.ww-list i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--maroon); opacity: .7; }
.rm-acts { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rm-acts .rm-ask { margin-top: 0; padding-top: 0; }
.rm-more { font-weight: 600; color: var(--muted); text-decoration: none; }
.rm-more:hover { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .sp-two { grid-template-columns: 1fr; } .sp-proj { grid-template-columns: 1fr; } .ww-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ww-list { grid-template-columns: 1fr; } .sp-cta .btn, .sp-cta .wa-btn { flex: 1 1 auto; justify-content: center; } }

/* about: at-a-glance figures and "what we do" cards */
.ab-stats { list-style: none; margin: 22px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ab-stats li { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.ab-stats b { font: 800 1.9rem/1 var(--f-display); font-stretch: 86%; color: var(--maroon); font-variant-numeric: tabular-nums; }
.ab-stats span { font-size: .84rem; line-height: 1.35; color: var(--muted); }
.ab-do { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-do li { display: flex; }
.ab-do a { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ab-do a:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(42, 21, 25, .08); }
.ab-do em { font: 600 .78rem/1 var(--f-mono); font-style: normal; letter-spacing: .08em; color: var(--maroon); }
.ab-do b { font: 700 1.12rem/1.3 var(--f-body); }
.ab-do span { flex: 1; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.ab-do i { font-style: normal; font-weight: 600; font-size: .86rem; color: var(--maroon); }
.ab-do i::after { content: " \2192"; }
.rm-why-list span a { color: var(--maroon); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .ab-do { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ab-do { grid-template-columns: 1fr; } .ab-stats { gap: 8px; } .ab-stats li { padding: 12px; } .ab-stats b { font-size: 1.55rem; } }
@media (prefers-reduced-motion: reduce) { .ab-do a { transition: none; } .ab-do a:hover { transform: none; } }

/* feasibility card with the admin's own picture instead of a drawing */
.fs-ill.fs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.fs-ill.fs-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 10, 18, .5), rgba(46, 10, 18, .1) 45%, rgba(46, 10, 18, .55)); }
.fs-ill.fs-photo .fs-sector { z-index: 2; }
