/* ---------- Font: Open Sans (Google Font, self-hosted for speed, privacy and the site's security policy) ---------- */
@font-face {
  font-family: "Open Sans";
  src: url("../vendor/fonts/open-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #111c2b;          /* deep navy: text, dark surfaces (reference palette) */
  --ink-2: #2b4866;        /* structural blue */
  --sky: #00b1fd;          /* ACBL blue: highlights on dark backgrounds */
  --serif: var(--font); /* headings use Open Sans too */
  --concrete: #e7e8e4;     /* section background */
  --paper: #fafaf8;        /* page background */
  --rule: #c9ccc6;
  --muted: #59616a;
  --accent: #fe7a01;       /* ACBL orange (from the logo): actions + focus */
  --accent-hover: #ff9433;
  --brand-blue: #00b1fd;   /* ACBL blue (from the logo) */
  --accent-ink: #18222d;
  --on-dark: #eef0ec;
  --on-dark-muted: #b4bcc4;
  --ok: #2f6b3f;
  --warn: #8a5a00;
  --danger: #a12a1f;

  --font: "Open Sans", "Segoe UI", Arial, system-ui, sans-serif;
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.2vw, 4.1rem);

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-s: 3px;
  --radius-m: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 52ch; }
.lede-sm { font-size: var(--step-1); line-height: 1.45; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 42rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  min-height: 2.9rem; padding: 0.65rem 1.25rem; border: 2px solid transparent; border-radius: var(--radius-s); background: transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); color: var(--paper); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-ghost-light:hover { background: var(--on-dark); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 650; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--on-dark); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #263342; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: #fff; }
.brand-logo { height: 3.3rem; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 2.7rem; } }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: var(--accent); color: var(--ink); font-weight: 900; font-size: 0.95rem; }
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.01em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav a { color: var(--on-dark); text-decoration: none; padding: 0.5rem 0.65rem; display: block; font-weight: 550; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.site-nav .btn-accent { color: var(--accent-ink); padding: 0.55rem 1rem; }
.site-nav .btn-accent:hover { color: var(--accent-ink); box-shadow: none; }
.nav-phone { white-space: nowrap; font-weight: 650; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-phone { display: none !important; }
}
@media (max-width: 920px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--on-dark);
    border: 1px solid #3a4858; border-radius: var(--radius-s); padding: 0.5rem 0.8rem; font: inherit; font-weight: 650; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; content: ""; }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .header-row { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 0.8rem 0.25rem; border-bottom: 1px solid #2a3746; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-phone { display: block !important; padding: 0.75rem 0.25rem; }
}

/* ---------- Hero with skyline ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,34,45,.82) 0%, rgba(24,34,45,.72) 55%, rgba(24,34,45,.95) 100%); }
.hero-inner { padding-top: clamp(2.5rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); max-width: 18ch; color: #fff; font-weight: 700; }
.hero .lede { color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 2.5rem; }

.skyline { margin: 0; }
.skyline-scroll { overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.skyline-svg { min-width: 640px; width: 100%; height: auto; font-family: var(--font); overflow: visible; }
.sk-ground { stroke: var(--on-dark-muted); stroke-width: 1.5; }
.sk-body { fill: #3a5672; }
.sk-residential .sk-body { fill: #5b7a96; }
.sk-hospitality .sk-body { fill: #46637f; }
.sk-healthcare .sk-body { fill: #6d8aa4; }
.sk-slab { fill: rgba(255,255,255,.10); }
.sk-bar { cursor: pointer; outline: none; }
.sk-bar rect { transform-box: fill-box; transform-origin: 50% 100%; transition: fill .15s; }
.sk-bar:hover .sk-body, .sk-bar:focus-visible .sk-body { fill: var(--accent); }
.sk-bar:focus-visible .sk-body { stroke: #fff; stroke-width: 2; }
.sk-label { opacity: 0; transition: opacity .15s; pointer-events: none; }
.sk-bar:hover .sk-label, .sk-bar:focus-visible .sk-label { opacity: 1; }
.sk-name { fill: #fff; font-size: 13px; font-weight: 700; paint-order: stroke; stroke: var(--ink); stroke-width: 4px; }
.sk-floors { fill: var(--accent); font-size: 12px; font-weight: 650; paint-order: stroke; stroke: var(--ink); stroke-width: 4px; }
.sk-city { fill: var(--on-dark-muted); font-size: 12px; font-weight: 600; }
.skyline figcaption { color: var(--on-dark-muted); font-size: var(--step--1); padding: 0.75rem 0 1.5rem; max-width: 60ch; }

/* Single orchestrated motion: the skyline rises once on load */
@media (prefers-reduced-motion: no-preference) {
  .js .skyline .sk-bar rect { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .js .skyline g[role="listitem"]:nth-of-type(2) rect { animation-delay: .04s; }
  .js .skyline g[role="listitem"]:nth-of-type(3) rect { animation-delay: .08s; }
  .js .skyline g[role="listitem"]:nth-of-type(4) rect { animation-delay: .12s; }
  .js .skyline g[role="listitem"]:nth-of-type(5) rect { animation-delay: .16s; }
  .js .skyline g[role="listitem"]:nth-of-type(6) rect { animation-delay: .20s; }
  .js .skyline g[role="listitem"]:nth-of-type(7) rect { animation-delay: .24s; }
  .js .skyline g[role="listitem"]:nth-of-type(8) rect { animation-delay: .28s; }
  .js .skyline g[role="listitem"]:nth-of-type(9) rect { animation-delay: .32s; }
  .js .skyline g[role="listitem"]:nth-of-type(10) rect { animation-delay: .36s; }
  .js .skyline g[role="listitem"]:nth-of-type(11) rect { animation-delay: .40s; }
  .js .skyline g[role="listitem"]:nth-of-type(12) rect { animation-delay: .44s; }
  .js .skyline g[role="listitem"]:nth-of-type(13) rect { animation-delay: .48s; }
  .js .skyline g[role="listitem"]:nth-of-type(14) rect { animation-delay: .52s; }
  .js .skyline g[role="listitem"]:nth-of-type(n+15) rect { animation-delay: .56s; }
  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---------- Cinematic hero (photo / optional video) ---------- */
.hero-cinema { min-height: calc(100svh - 4.75rem); display: flex; align-items: flex-end; }
.hero-cinema::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,28,43,.88) 0%, rgba(17,28,43,.55) 45%, rgba(17,28,43,.1) 75%), linear-gradient(0deg, rgba(17,28,43,.75) 0%, rgba(17,28,43,0) 40%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .8s ease; }
.hero-video.is-playing { opacity: 1; }
/* YouTube cover video: cropped to fill, never clickable, faded in only while really playing */
.yt-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: transparent; }
.yt-bg iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); border: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.yt-bg.is-playing iframe { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .yt-bg { display: none; } }
.hero-cinema .hero-inner { padding-bottom: clamp(3rem, 9vh, 6rem); }
.hero-cinema .hero-actions { margin-bottom: 0; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); color: var(--on-dark-muted); font-size: var(--step--1); text-decoration: none; padding-bottom: 1.75rem; }
.hero-scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 1.25rem; background: currentColor; }
.hero-scroll:hover { color: #fff; }
.skyline-band { background: var(--ink); color: var(--on-dark); padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.skyline-band h2 { color: #fff; font-size: var(--step-3); }

/* ---------- Scroll story (featured projects) ---------- */
.story { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.story-media { position: sticky; top: 6rem; height: min(72vh, 40rem); border-radius: var(--radius-m); overflow: hidden; background: var(--ink-2); }
.story-frame { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform 1.2s ease; transform: scale(1.03); }
.story-frame.is-active { opacity: 1; transform: none; }
.story-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-frame .building-fallback { padding-top: 18%; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: min(72vh, 40rem); display: flex; flex-direction: column; justify-content: center; padding: 2rem 0 2rem 1.5rem; border-left: 3px solid var(--rule); transition: border-color .4s; }
.story-step.is-active { border-left-color: var(--accent); }
.story-step h3 { font-weight: 700; font-size: var(--step-2); margin: .25rem 0 .75rem; }
.story-step h3 a { color: var(--ink); text-decoration: none; }
.story-step h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.story-meta { color: var(--muted); font-size: var(--step--1); display: flex; gap: .5rem; align-items: center; margin: 0; }
.story-meta .tag { position: static; }
.story-scale { font-weight: 650; }
.story-inline { display: none; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .story-step { min-height: 0; padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .story-inline { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--ink-2); margin-bottom: 1rem; }
  .story-inline img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Building explorer ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.explorer { background: var(--ink); color: var(--on-dark); padding: clamp(3rem, 7vw, 5rem) 0; scroll-margin-top: 4.25rem; }
.explorer-grid { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.6fr) auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ex-title { color: #fff; font-size: var(--step-4); font-weight: 300; text-transform: uppercase; letter-spacing: .04em; }
.ex-meta { color: var(--on-dark-muted); }
.ex-plan h3 { color: #fff; font-size: var(--step-1); margin-bottom: .2rem; }
.ex-range { color: var(--sky); font-size: var(--step--1); margin-bottom: .75rem; }
.ex-plan p { color: var(--on-dark-muted); }
.ex-plan + .ex-plan { margin-top: 1.5rem; }
.ex-plan-static { margin: .75rem 0; border-radius: var(--radius-s); background: #fff; }
.js .ex-plan-static { display: none; }
.js .explorer .ex-plan:not(.ex-common) { display: none; }
.js .explorer .ex-plan.is-active { display: block; }
.ex-units { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ex-unit-btn { font: inherit; font-weight: 650; color: #fff; background: rgba(0,177,253,.12); border: 1px solid rgba(0,177,253,.5); border-radius: 99px; padding: .45rem .9rem; cursor: pointer; }
.ex-unit-btn span { color: var(--sky); font-weight: 500; }
.ex-unit-btn:hover, .ex-unit-btn[aria-pressed="true"] { background: var(--sky); color: var(--ink); }
.ex-unit-btn:hover span, .ex-unit-btn[aria-pressed="true"] span { color: var(--ink); }
.ex-noplan p { color: var(--on-dark-muted); }
.ex-ask { margin-top: 1.5rem; }
.explorer-stage { position: relative; min-height: 22rem; }
.ex-photo { position: relative; border-radius: var(--radius-m); overflow: hidden; }
.ex-photo img { width: 100%; height: auto; }
.ex-bands { position: absolute; display: flex; flex-direction: column; }
.ex-floor { flex: 1; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.ex-bands .ex-floor:hover { background: rgba(0,177,253,.35); }
.ex-bands .ex-floor.is-active { background: rgba(0,177,253,.55); box-shadow: inset 0 0 0 1px #fff; }
.ex-drawn { height: min(70vh, 34rem); width: min(100%, 16rem); margin: 0 auto; display: flex; flex-direction: column; justify-content: flex-end; }
.ex-drawn .ex-floor { flex: 1 1 0; min-height: 4px; max-height: 2.4rem; margin: 1px 0; background: #2b4866; display: flex; align-items: center; padding: 0 12%; border-radius: 2px; }
.ex-drawn .ex-floor i { display: block; width: 100%; height: 30%; background: rgba(255,255,255,.18); }
.ex-drawn .ex-floor:hover { background: #3f6487; }
.ex-drawn .ex-floor.is-active { background: var(--sky); }
.ex-drawn .ex-floor.is-active i { background: rgba(17,28,43,.25); }
.ex-ground { display: block; height: 6px; background: var(--on-dark-muted); margin: 0 -20%; }
.ex-planview { margin: 0; }
.ex-planview img { background: #fff; border-radius: var(--radius-m); width: 100%; max-height: 70vh; object-fit: contain; padding: 1rem; }
.ex-planview figcaption { color: var(--on-dark-muted); font-size: var(--step--1); margin-top: .75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ex-unitview { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem; align-items: start; }
.ex-unitview[hidden], .ex-planview[hidden], .ex-noplan[hidden], .ex-drawn[hidden], .ex-photo[hidden] { display: none; }
.ex-unit-head h3 { font-weight: 300; font-size: var(--step-4); color: #fff; margin: 0 0 .25rem; letter-spacing: .02em; }
.ex-area { color: var(--sky); font-weight: 650; }
.ex-unit-head p { color: var(--on-dark-muted); }
.ex-unit-img { background: #fff; border-radius: var(--radius-m); padding: 1rem; width: 100%; }
.no-js .ex-unitview { display: grid; margin-top: 1.5rem; }
.no-js .ex-unitview[hidden] { display: grid; }
.no-js [data-ex-back], .no-js .ex-unit-btn { pointer-events: none; }
.explorer-levels ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: min(70vh, 34rem); overflow-y: auto; scrollbar-width: thin; }
.ex-level { font: inherit; font-size: .8rem; font-weight: 650; width: 2.6rem; min-height: 1.6rem; background: transparent; color: var(--on-dark-muted); border: 0; border-right: 2px solid #2a3a50; cursor: pointer; text-align: right; padding: .1rem .6rem; }
.ex-level:hover { color: #fff; }
.ex-level[aria-pressed="true"] { color: var(--sky); border-right-color: var(--sky); }
.no-js .explorer-levels, .no-js [data-ex-tower] { display: none; }
@media (max-width: 900px) {
  .explorer-grid { grid-template-columns: 1fr auto; }
  .explorer-info { grid-column: 1 / -1; }
  .ex-unitview { grid-template-columns: 1fr; }
  .ex-drawn { height: 24rem; }
  .explorer-levels ol { max-height: 24rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-alt { background: var(--concrete); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head h2 { margin: 0; }
.section-cta { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 2rem; }

.page-head { background: var(--concrete); padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3.25rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: var(--step-4); max-width: 22ch; }
.page-head-dark { background: var(--ink); color: var(--on-dark); border: 0; }
.page-head-dark h1 { color: #fff; }
.page-head-dark .lede { color: var(--on-dark-muted); }
.page-head-dark .crumbs ol, .page-head-dark .crumbs a { color: var(--on-dark-muted); }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: .6; }
.crumbs a { color: inherit; }

/* Intro facts */
.intro-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.3fr 1fr; align-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.facts > div { padding: 1rem 0.25rem 1.1rem; border-bottom: 1px solid var(--rule); }
.facts > div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--rule); }
.facts > div:nth-child(even) { padding-left: 1rem; }
.facts dt { font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-size: var(--step-3); font-weight: 700; line-height: 1.1; }
.facts dd span { display: block; font-family: var(--font); font-size: var(--step--1); font-weight: 500; color: var(--muted); }

/* ---------- Project cards ---------- */
.card-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.featured-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: 1.4fr 1fr; align-items: start; }
.featured-grid .pcard-lg { grid-row: span 3; }
.featured-side { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.featured-grid .pcard-md .pcard-link { grid-template-columns: 10rem 1fr; display: grid; }
.featured-grid .pcard-md .pcard-media { aspect-ratio: 1 / 1; }
.featured-grid .pcard-md .pcard-sum { display: none; }
.featured-grid .pcard-md .pcard-body { align-self: center; }
.pcard { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; }
.pcard-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; }
.pcard-lg .pcard-media { aspect-ratio: 5 / 4; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard-link:hover .pcard-media img { transform: scale(1.03); }
.pcard-body { padding: 1rem 1.15rem 1.25rem; }
.pcard-cat { font-size: var(--step--1); color: var(--muted); margin: 0 0 0.25rem; }
.pcard-title { font-size: var(--step-1); margin: 0 0 0.4rem; }
.pcard-link:hover .pcard-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.pcard-sum { margin: 0; color: var(--muted); font-size: var(--step--1); }
.tag { position: absolute; left: 0.75rem; top: 0.75rem; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: var(--radius-s); background: #fff; color: var(--ink); }
.tag-ongoing { background: var(--accent); }
.tag-completed { background: #d8e7da; }
.tag-upcoming { background: #dfe6ee; }
.project-kicker .tag { position: static; margin-right: 0.5rem; }

.building-fallback { width: 100%; height: 100%; padding: 12% 0 0; }
.bf-ground { fill: #22303d; }
.bf-body { fill: #5b7a96; }
.bf-win { fill: rgba(255,255,255,.22); }

/* ---------- Browse / lists ---------- */
.browse-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.count-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.count-list a { display: flex; justify-content: space-between; padding: 0.7rem 0.1rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 600; }
.count-list a:hover { background: var(--concrete); padding-inline: 0.5rem; }
.count-list span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.count-list-inline { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0 2rem; margin-bottom: 2rem; border: 0; }

.services-band { background: var(--concrete); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0 2.5rem; }
.service-list li { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.service-list h3 { margin-bottom: 0.35rem; }
.service-list h3 a { color: var(--ink); text-decoration: none; }
.service-list h3 a:hover { text-decoration: underline; }
.service-list p { color: var(--muted); margin: 0; }

.why-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-grid h3 { margin-top: 1.5rem; }
.equip-card { background: var(--ink); color: var(--on-dark); padding: 1.5rem; border-radius: var(--radius-m); position: sticky; top: 6rem; }
.equip-card h3 { color: #fff; margin-top: 0; }
.equip-card table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.equip-card th, .equip-card td { padding: 0.6rem 0; border-bottom: 1px solid #33414f; text-align: left; font-weight: 500; }
.equip-card td { text-align: right; font-weight: 750; color: var(--accent); white-space: nowrap; }
.equip-card a { color: var(--on-dark); }

.people { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; }
.people li { border-left: 3px solid var(--ink-2); padding-left: 1rem; }
.person-name { font-weight: 780; font-size: var(--step-1); margin: 0; }
.person-role { margin: 0; }
.person-meta { color: var(--muted); font-size: var(--step--1); margin: 0.25rem 0 0; }

.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.quotes figure { margin: 0; background: #fff; padding: 1.5rem; border-left: 3px solid var(--accent); }
.quotes blockquote { margin: 0 0 1rem; font-size: var(--step-1); }
.quotes figcaption { color: var(--muted); font-size: var(--step--1); }

/* ---------- Enquiry CTA & forms ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); }
.cta-band a { color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cta-phone { font-size: var(--step-1); }
.cta-band .enquiry-form { background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-m); }
.cta-band .enquiry-form p, .cta-band .enquiry-form legend { color: var(--ink); }
.cta-band .enquiry-form a { color: var(--ink-2); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1rem; min-width: 0; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: 0.3rem; font-size: 0.95rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8d949b; border-radius: var(--radius-s);
  padding: 0.6rem 0.7rem; min-height: 2.9rem;
}
textarea { resize: vertical; min-height: 6rem; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: 0.9rem; margin: 0.3rem 0 0; font-weight: 600; }
.field-radios { border: 0; padding: 0; }
.radio, .check { display: inline-flex; gap: 0.45rem; align-items: center; margin-right: 1.25rem; font-weight: 500; cursor: pointer; }
.check { align-items: flex-start; margin: 0; font-size: 0.92rem; }
.check input { margin-top: 0.3rem; flex: none; width: 1.1rem; height: 1.1rem; }
.radio input { width: 1.1rem; height: 1.1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.form-alert { border: 2px solid var(--danger); background: #fdf0ee; padding: 0.9rem 1rem; margin-bottom: 1.25rem; border-radius: var(--radius-s); color: var(--ink); }
.form-alert ul { margin: 0.25rem 0 0; padding-left: 1.2rem; }
.form-alert a { color: var(--danger); }
.form-project { background: var(--concrete); padding: 0.6rem 0.8rem; border-radius: var(--radius-s); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Projects listing ---------- */
.filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: 0.75rem; align-items: end; padding: 1.25rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); margin-bottom: 1.25rem; }
.filters .field { margin: 0; }
.filter-actions { display: flex; gap: 1rem; align-items: center; }
.result-count { color: var(--muted); min-height: 1.6em; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--concrete); border-radius: var(--radius-m); }
.empty p { margin-inline: auto; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pager ol { display: flex; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 2.6rem; min-height: 2.6rem; padding: 0 0.6rem; border-radius: var(--radius-s); text-decoration: none; }
.pager span[aria-current] { background: var(--ink); color: #fff; font-weight: 700; }
.pager a { border: 1px solid var(--rule); color: var(--ink); }
.pager a:hover { border-color: var(--ink); }

/* ---------- Project page ---------- */
.project-hero { position: relative; background: var(--ink); color: var(--on-dark); min-height: clamp(22rem, 55vh, 36rem); display: flex; align-items: flex-end; isolation: isolate; }
.project-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.project-hero:not(.project-hero-drawn)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,34,45,.15) 20%, rgba(24,34,45,.9) 100%); }
.project-hero-inner { padding-block: 2rem clamp(2rem, 5vw, 3.5rem); position: relative; }
.project-hero h1 { color: #fff; max-width: 20ch; }
.project-hero .lede { color: var(--on-dark); }
.project-hero .crumbs ol, .project-hero .crumbs a { color: var(--on-dark-muted); }
.project-kicker { margin-bottom: 0.75rem; font-weight: 600; }
.project-hero-drawing { position: absolute; right: var(--gutter); bottom: 0; width: clamp(6rem, 16vw, 11rem); height: 85%; opacity: .9; }
.project-hero-drawn { min-height: 0; }
.project-hero-drawn .project-hero-inner { padding-right: clamp(7rem, 20vw, 13rem); }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.project-main > section { margin-bottom: 2.75rem; }
.project-main h2 { font-size: var(--step-2); }
.project-aside { position: sticky; top: 5.5rem; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--accent); padding: 1.25rem; border-radius: var(--radius-m); }
.project-aside h2 { font-size: var(--step-1); }
.project-aside .form-grid { grid-template-columns: 1fr; }
.fact-table { margin: 0; border-top: 2px solid var(--ink); }
.fact-table > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.fact-table dt { color: var(--muted); }
.fact-table dd { margin: 0; font-weight: 600; }
.count { color: var(--muted); font-weight: 500; font-size: 0.7em; }
/* ---------- Project gallery (works as a plain grid without JS; JS adds the mosaic) ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.6rem; }
.gallery a { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-m); background: var(--concrete); isolation: isolate; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
section:has(> .gallery) { position: relative; }
section:has(> .gallery) > h2 { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
section:has(> .gallery) > h2 .count { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(254,122,1,.1); border: 1px solid rgba(254,122,1,.35); padding: .2rem .6rem; border-radius: 99px; }
section:has(> .gallery) > h2::after { content: ""; flex: 1 1 4rem; align-self: center; height: 2px; min-width: 3rem; background: linear-gradient(90deg, var(--accent) 0 2.5rem, var(--rule) 2.5rem); }
.gallery.is-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(6.5rem, 11vw, 9.5rem); grid-auto-flow: dense; gap: .7rem; }
.gallery.is-mosaic.is-single { grid-template-columns: 1fr; grid-auto-rows: clamp(14rem, 34vw, 26rem); }
.gallery.is-mosaic a { aspect-ratio: auto; height: 100%; box-shadow: 0 1px 2px rgba(17,28,43,.08), 0 8px 24px -12px rgba(17,28,43,.35); transition: box-shadow .4s, transform .4s; }
.gallery.is-mosaic .g-feature { grid-column: span 2; grid-row: span 2; }
.gallery.is-mosaic .g-wide { grid-column: span 2; }
.gallery.is-mosaic .g-tall { grid-row: span 2; }
.gallery.is-mosaic .g-hidden { display: none; }
@media (max-width: 639px) { .gallery.is-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(7rem, 30vw, 10rem); gap: .5rem; } }
/* shade + photo number + "view" mark */
.gallery.is-mosaic a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17,28,43,0) 45%, rgba(17,28,43,.75) 100%); opacity: .55; transition: opacity .4s; }
.gallery.is-mosaic a::after { content: attr(data-num); position: absolute; left: .7rem; bottom: .55rem; z-index: 3; color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-shadow: 0 1px 6px rgba(0,0,0,.4); padding-left: 1.6rem; background: linear-gradient(var(--accent), var(--accent)) left center / 1.1rem 2px no-repeat; transition: padding .4s, background-size .4s; }
.gallery.is-mosaic .g-feature a::after { font-size: .95rem; }
/* blueprint corner brackets (drawn on the <li> so they sit inside the frame) */
.gallery.is-mosaic li { position: relative; }
.gallery.is-mosaic li::before { content: ""; position: absolute; inset: .5rem; z-index: 4; pointer-events: none; opacity: 0; transform: scale(1.06); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1);
  --c: var(--accent); --l: 1.1rem; --t: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l) no-repeat; }
.gallery.is-mosaic li::after { content: ""; position: absolute; top: 50%; left: 50%; z-index: 4; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1);
  background: linear-gradient(#fff, #fff) center / 1rem 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 1rem no-repeat, rgba(254,122,1,.92); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.gallery.is-mosaic li:hover a, .gallery.is-mosaic li:focus-within a { box-shadow: 0 2px 4px rgba(17,28,43,.1), 0 18px 40px -14px rgba(17,28,43,.55); transform: translateY(-3px); }
.gallery.is-mosaic li:hover img, .gallery.is-mosaic li:focus-within img { transform: scale(1.07); filter: saturate(1.1) contrast(1.04); }
.gallery.is-mosaic li:hover a::before, .gallery.is-mosaic li:focus-within a::before { opacity: 1; }
.gallery.is-mosaic li:hover a::after, .gallery.is-mosaic li:focus-within a::after { padding-left: 2.4rem; background-size: 1.9rem 2px; }
.gallery.is-mosaic li:hover::before, .gallery.is-mosaic li:focus-within::before { opacity: 1; transform: none; }
.gallery.is-mosaic li:hover::after, .gallery.is-mosaic li:focus-within::after { opacity: 1; transform: none; }
.gallery.is-mosaic li:hover, .gallery.is-mosaic li:focus-within { z-index: 2; }
/* "+N" tile */
.gallery.is-mosaic .g-more::before { opacity: 1; background: rgba(17,28,43,.68); }
.gallery.is-mosaic .g-more img { filter: blur(2px) saturate(.8); transform: scale(1.08); }
.gallery.is-mosaic .g-more::after { content: attr(data-more) " more"; left: 0; right: 0; bottom: auto; top: 50%; transform: translateY(-50%); text-align: center; font-size: var(--step-1); padding: 0; background: none; letter-spacing: .02em; }
.gallery.is-mosaic li:has(.g-more)::after { display: none; }
.gallery.is-mosaic li:hover .g-more::after { padding: 0; }
/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .gallery.g-anim li { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .gallery.g-anim li.is-in { opacity: 1; transform: none; }
}

/* ---------- Photo viewer ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); width: 100%; }
.lightbox::backdrop { background: rgba(10,15,20,.92); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox-caption { color: var(--on-dark); text-align: center; margin: 0.75rem auto; }
.lightbox-nav { display: flex; justify-content: center; gap: 0.5rem; }
.lightbox-nav button { font: inherit; background: var(--paper); color: var(--ink); border: 0; padding: 0.6rem 1rem; border-radius: var(--radius-s); cursor: pointer; font-weight: 650; }
.lightbox.lb[open] { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; color: var(--on-dark);
  background: radial-gradient(ellipse at 50% 40%, rgba(43,72,102,.35), rgba(8,13,20,0) 70%), rgba(8,13,20,.97); }
.lightbox.lb::backdrop { background: rgba(8,13,20,.9); }
.lb-top { display: flex; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2rem); padding-right: 5.75rem; min-height: 4.25rem; }
.lb-title { margin: 0; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-count { margin: 0; font-weight: 800; letter-spacing: .14em; font-size: var(--step--1); color: var(--accent); margin-left: auto; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(.5rem, 6vw, 5.5rem); }
.lightbox.lb .lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0; border-radius: var(--radius-m); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.lightbox.lb.is-swapping .lb-stage img { opacity: 0; transform: scale(.985); }
.lightbox.lb .lightbox-caption { margin: .7rem auto .2rem; padding: 0 1rem; color: var(--on-dark-muted); font-size: var(--step--1); }
.lightbox.lb .lightbox-nav { display: contents; }
.lightbox.lb .lightbox-nav button { position: fixed; z-index: 2; font-size: 0; width: 3.25rem; height: 3.25rem; padding: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
.lightbox.lb .lightbox-nav button::before { font-size: 1.6rem; line-height: 1; font-weight: 400; }
.lightbox.lb .lightbox-nav button:hover { background: var(--accent); border-color: var(--accent); }
.lightbox.lb .lightbox-nav button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lightbox.lb [data-prev] { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox.lb [data-next] { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox.lb [data-prev]::before { content: "\2039"; font-size: 2.2rem; }
.lightbox.lb [data-next]::before { content: "\203A"; font-size: 2.2rem; }
.lightbox.lb [data-close] { top: .75rem; right: clamp(.75rem, 2vw, 1.5rem); width: 2.75rem; height: 2.75rem; }
.lightbox.lb [data-close]::before { content: "\00D7"; font-size: 1.8rem; }
.lightbox.lb.lb-one [data-prev], .lightbox.lb.lb-one [data-next], .lightbox.lb.lb-one .lb-thumbs { display: none; }
.lb-thumbs { display: flex; gap: .45rem; overflow-x: auto; padding: .6rem clamp(1rem, 3vw, 2rem) 1rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; justify-content: safe center; }
.lb-thumbs button { flex: 0 0 auto; width: 4.5rem; height: 3.2rem; padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); overflow: hidden; background: #000; cursor: pointer; opacity: .5; transition: opacity .2s, border-color .2s, transform .2s; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button.is-active { opacity: 1; border-color: var(--accent); transform: translateY(-2px); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.lb-open { overflow: hidden; }
/* ---------- Gallery videos (YouTube, shown without the YouTube look) ---------- */
.gallery .g-video a { background: var(--ink); }
.g-vposter { position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(ellipse at 30% 20%, rgba(254,122,1,.28), transparent 60%),
    linear-gradient(135deg, #1b2c42, #0d1622); }
.gallery .g-video .g-vbg { z-index: 1; }
.gallery .g-video a::before { z-index: 2; opacity: .8; }
.g-vplay { position: absolute; top: 50%; left: 50%; z-index: 4; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 0 0 0 rgba(254,122,1,.55), 0 10px 30px rgba(0,0,0,.35); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.g-vplay svg { width: 1.6rem; height: 1.6rem; fill: currentColor; margin-left: .15rem; }
@media (prefers-reduced-motion: no-preference) { .g-vplay { animation: g-pulse 2.4s ease-out infinite; } }
@keyframes g-pulse { 0% { box-shadow: 0 0 0 0 rgba(254,122,1,.55), 0 10px 30px rgba(0,0,0,.35); } 70%, 100% { box-shadow: 0 0 0 1.1rem rgba(254,122,1,0), 0 10px 30px rgba(0,0,0,.35); } }
.gallery.is-mosaic li.g-video:hover .g-vplay, .gallery.is-mosaic li.g-video:focus-within .g-vplay { transform: scale(1.12); }
.gallery.is-mosaic li.g-video::after { display: none; }
.g-vlabel { position: absolute; top: .65rem; left: .7rem; z-index: 4; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(8,13,20,.55); backdrop-filter: blur(4px); padding: .25rem .55rem .25rem 1.35rem; border-radius: 99px; }
.g-vlabel::before { content: ""; position: absolute; left: .55rem; top: 50%; width: .45rem; height: .45rem; margin-top: -.225rem; border-radius: 50%; background: var(--accent); }
.g-vtitle { position: absolute; left: .7rem; right: .7rem; bottom: 2rem; z-index: 4; color: #fff; font-weight: 700; font-size: var(--step--1); line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,.5); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gallery.is-mosaic .g-video a::after { z-index: 4; }

/* Video in the viewer: our own controls; YouTube's player UI is cropped off and covered */
.lb-video { position: relative; width: min(100%, calc((100vh - 13.5rem) * 16 / 9)); width: min(100%, calc((100dvh - 13.5rem) * 16 / 9)); aspect-ratio: 16 / 9; max-height: 100%; border-radius: var(--radius-m); overflow: hidden; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lb-video[hidden], .lb-stage img[hidden] { display: none; }
.lb-vframe { position: absolute; inset: 0; overflow: hidden; cursor: pointer; }
.lb-vframe iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.lb-vcover { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #1b2c42, #070b11); transition: opacity .5s ease, visibility .5s; }
.lb-video.is-playing .lb-vcover { opacity: 0; visibility: hidden; }
.lb-video.is-error .lb-vcover { opacity: 1; visibility: visible; }
.lb-video.is-error .lb-vcover::after { content: attr(data-msg); color: var(--on-dark); font-weight: 600; }
.lb-video.is-error .lb-spinner, .lb-video.is-error .lb-vbar, .lb-video.is-error .lb-vbig { display: none; }
.lb-spinner { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .lb-spinner { animation: lb-spin .9s linear infinite; } }
@keyframes lb-spin { to { transform: rotate(360deg); } }
/* paused: blur over the frame hides YouTube's pause screen */
.lb-video::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgba(8,13,20,.45); backdrop-filter: blur(14px); opacity: 0; transition: opacity .3s; }
.lb-video.is-paused::after { opacity: 1; }
.lb-vbig { position: absolute; top: 50%; left: 50%; z-index: 4; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: scale(.8); transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.lb-vbig svg { width: 2rem; height: 2rem; fill: currentColor; margin-left: .2rem; }
.lb-video.is-paused .lb-vbig { opacity: 1; visibility: visible; transform: none; }
.lb-vbig:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lb-vbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; gap: .75rem; padding: 2.2rem 1rem .75rem; background: linear-gradient(transparent, rgba(8,13,20,.85)); color: #fff; opacity: 0; transition: opacity .3s; }
.lb-video.is-playing .lb-vbar { opacity: 1; }
@media (hover: hover) { .lb-video.is-playing:not(.is-paused):not(:hover):not(:focus-within) .lb-vbar { opacity: 0; transition-delay: 1.2s; } }
.lb-vbar button { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s; }
.lb-vbar button:hover { background: var(--accent); }
.lb-vbar button:focus-visible, .lb-vprog:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lb-vbar svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.lb-vsound.is-muted { background: var(--accent); }
.lb-vprog { position: relative; flex: 1 1 auto; height: .4rem; border-radius: 99px; background: rgba(255,255,255,.22); cursor: pointer; }
.lb-vprog::before { content: ""; position: absolute; inset: -.6rem 0; }
.lb-vfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--accent); }
.lb-vfill::after { content: ""; position: absolute; right: -.4rem; top: 50%; width: .8rem; height: .8rem; margin-top: -.4rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.lb-vtime { flex: 0 0 auto; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.lb-thumbs .lb-thumb-video { display: grid; place-items: center; background: linear-gradient(135deg, #1b2c42, #0d1622); color: var(--accent); }
.lb-thumbs .lb-thumb-video svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
@media (max-width: 639px) {
  .lb-vbar { gap: .5rem; padding: 1.6rem .6rem .5rem; }
  .lb-vtime { font-size: .72rem; }
  .lb-vbar button { width: 2.1rem; height: 2.1rem; }
  .g-vplay { width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; }
}
@media (max-width: 639px) {
  .lightbox.lb .lightbox-nav button { width: 2.6rem; height: 2.6rem; }
  .lightbox.lb [data-prev], .lightbox.lb [data-next] { background: rgba(8,13,20,.55); }
  .lb-stage { padding: 0 .5rem; }
}
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list a { display: flex; gap: 0.6rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); font-weight: 650; }
.doc-list span { color: var(--muted); font-weight: 400; }
.map-frame { aspect-ratio: 16 / 10; border-radius: var(--radius-m); overflow: hidden; background: var(--concrete); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.preview-bar { background: var(--accent); color: var(--ink); padding: 0.75rem var(--gutter); text-align: center; }

/* ---------- Generic content ---------- */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.callout { background: var(--ink); color: var(--on-dark); padding: 1.5rem; border-radius: var(--radius-m); }
.callout h2 { color: #fff; font-size: var(--step-2); }
.callout p { margin-bottom: 0; }
.values { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; }
.values dt { font-weight: 780; font-size: var(--step-1); border-top: 3px solid var(--ink); padding-top: 0.6rem; }
.values dd { margin: 0.35rem 0 0; color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table thead th { background: var(--ink); color: var(--on-dark); font-weight: 650; }
.data-table tbody th { font-weight: 550; }
.table-scroll { overflow-x: auto; }
.toc ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc a { display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid var(--rule); border-radius: 99px; text-decoration: none; color: var(--ink); background: #fff; font-size: var(--step--1); font-weight: 600; }
.toc a:hover { border-color: var(--ink); }
.service { padding: 2rem 0; border-top: 2px solid var(--ink); scroll-margin-top: 5.5rem; }
.service-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.95rem; width: 0.7rem; height: 0.35rem; border-left: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); }
.equip-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 2rem; }
.equip-groups h2 { font-size: var(--step-1); }
.equip-groups td { text-align: right; font-weight: 700; white-space: nowrap; }
.why-list > section { padding: 1.75rem 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; }
.why-list h2 { font-size: var(--step-2); }
.why-list .callout { margin-top: 1rem; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; font-size: 1.6rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary h2 { font-size: var(--step-1); margin: 0; display: inline; }
.faq-list .prose { padding-bottom: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-grid address { font-style: normal; margin-bottom: 1rem; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-lines li { padding: 0.5rem 0; display: flex; gap: 0.6rem; }
.legal { max-width: 46rem; }
.status-page { text-align: center; }
.status-page p { margin-inline: auto; }
.status-icon { font-size: 3.5rem; color: var(--ok); }
.status-code { font-size: var(--step-4); font-weight: 900; color: var(--ink-2); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #10181f; color: var(--on-dark-muted); padding-top: 3rem; font-size: var(--step--1); }
.site-footer a { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 2rem; padding-bottom: 2rem; }
.footer-name { color: #fff; font-weight: 800; font-size: var(--step-1); margin-bottom: 0.5rem; }
.footer-h { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-grid address { font-style: normal; margin-bottom: 0.75rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: 0.25rem 0; }
.footer-base { border-top: 1px solid #25313d; padding: 1.25rem 0; }
.footer-base p { margin: 0; }
.wa-float { position: fixed; right: 1rem; bottom: 1rem; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: #1f7a45; color: #fff; display: grid; place-items: center; font-size: 1.5rem; z-index: 50; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.wa-float:hover { color: #fff; background: #17633a; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid, .why-grid, .cta-grid, .project-layout, .two-col, .contact-grid, .service-cols, .why-list > section { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .pcard-lg { grid-row: auto; }
  .browse-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-aside, .equip-card { position: static; }
}
@media (max-width: 600px) {
  .form-grid, .browse-grid, .filters, .footer-grid { grid-template-columns: 1fr; }
  .featured-grid .pcard-md .pcard-link { grid-template-columns: 7.5rem 1fr; }
  .fact-table > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .facts dd { font-size: var(--step-1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .fx-reveal { opacity: 1 !important; transform: none !important; }
  .fx-cursor, .fx-brick, .fx-build, .fx-ring { display: none !important; }
  .site-header, .site-footer, .enquiry-form, .wa-float, .project-aside { display: none; }
  body { background: #fff; }
}
.ex-unit-head p:last-child { display: flex; flex-wrap: wrap; gap: .5rem; }

/* =====================================================================
   Interaction & effects (v1.3)
   Everything decorative is pointer-events:none and disabled for reduced motion.
   ===================================================================== */

/* Blueprint grid on dark sections */
.hero, .skyline-band, .explorer, .cta-band, .footer-cta {
  background-image:
    linear-gradient(rgba(0,177,253,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,177,253,.045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-cinema { background-image: none; }

/* Header: shadow only (no height change → no layout shift) */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.28); background-color: rgba(17,28,43,.97); }

/* Button shine sweep and press */
.btn { position: relative; overflow: hidden; transition: background-color .15s, color .15s, border-color .15s, transform .12s ease; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); pointer-events: none; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover::after { opacity: 1; animation: shine .7s ease; }
  .btn:active { transform: translateY(1px) scale(.98); }
  .pcard { transition: transform .25s ease, box-shadow .25s ease; }
  .pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,28,43,.14); }
  .count-list a { transition: padding .2s ease, background-color .2s ease; }
}
@keyframes shine { from { left: -60%; } to { left: 130%; } }

/* Sound toggle */
.sound-toggle { font: inherit; display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: var(--on-dark); border: 1px solid #3a4858; border-radius: 99px; min-height: 2.5rem; min-width: 2.5rem; justify-content: center; padding: 0 .6rem; cursor: pointer; }
.sound-toggle:hover { border-color: var(--accent); color: #fff; }
.sound-toggle[aria-pressed="false"] { color: var(--on-dark-muted); }
.no-js .sound-toggle { display: none; }

/* Scroll reveal (hidden state only exists when JS + motion are available) */
@media (prefers-reduced-motion: no-preference) {
  .fx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .fx-reveal.is-in { opacity: 1; transform: none; }
  .fx-reveal.d1 { transition-delay: .08s; } .fx-reveal.d2 { transition-delay: .16s; } .fx-reveal.d3 { transition-delay: .24s; }
  .fx-word { display: inline-block; opacity: 0; transform: translateY(.45em); animation: wordUp .7s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes wordUp { to { opacity: 1; transform: none; } }
}

/* ---------- Pointer: surveyor crosshair that becomes a building block over links ---------- */
.fx-cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(254,122,1,.85); border-radius: 50%; pointer-events: none; z-index: 9999; transition: width .18s, height .18s, margin .18s, border-radius .18s, background-color .18s, border-color .18s; mix-blend-mode: normal; }
.fx-cursor::before, .fx-cursor::after { content: ""; position: absolute; background: rgba(254,122,1,.85); }
.fx-cursor::before { left: 50%; top: -6px; bottom: -6px; width: 1px; transform: translateX(-.5px); }
.fx-cursor::after { top: 50%; left: -6px; right: -6px; height: 1px; transform: translateY(-.5px); }
.fx-cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 4px; background: rgba(254,122,1,.16); border-color: var(--accent); }
.fx-cursor.is-link::before, .fx-cursor.is-link::after { opacity: 0; }
.fx-cursor.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.fx-cursor.is-hidden { opacity: 0; }

/* Brick trail laid along the pointer path */
.fx-brick { position: fixed; left: 0; top: 0; width: 12px; height: 6px; margin: -3px 0 0 -6px; border-radius: 1px; pointer-events: none; z-index: 9998; animation: brick .75s ease-out forwards; }
@keyframes brick { 0% { opacity: .9; transform: var(--p) scale(1); } 100% { opacity: 0; transform: var(--p) translateY(10px) scale(.6); } }

/* Click: a small building rises floor by floor, with a ripple ring */
.fx-build { position: fixed; left: 0; top: 0; width: 26px; margin-left: -13px; pointer-events: none; z-index: 9999; display: flex; flex-direction: column-reverse; gap: 2px; animation: buildOut 1.15s ease forwards; }
.fx-build i { display: block; height: 5px; border-radius: 1px; transform: scaleY(0); transform-origin: bottom; animation: floorUp .16s ease-out forwards; }
.fx-build i:nth-child(2) { animation-delay: .07s; } .fx-build i:nth-child(3) { animation-delay: .14s; } .fx-build i:nth-child(4) { animation-delay: .21s; }
.fx-build i:nth-child(5) { animation-delay: .28s; } .fx-build i:nth-child(6) { animation-delay: .35s; } .fx-build i:nth-child(7) { animation-delay: .42s; }
.fx-build b { display: block; height: 3px; margin: 0 -6px; background: rgba(255,255,255,.55); border-radius: 1px; }
@keyframes floorUp { to { transform: scaleY(1); } }
@keyframes buildOut { 0%, 65% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -14px; } }
.fx-ring { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--accent); pointer-events: none; z-index: 9998; animation: ring .6s ease-out forwards; }
@keyframes ring { to { transform: var(--p) scale(6); opacity: 0; } }

/* ---------- Footer ---------- */
.footer-cta { background-color: #0b1420; padding: clamp(2.5rem, 6vw, 4rem) 0; border-bottom: 1px solid #1f2b3a; }
.footer-cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: var(--step-3); margin-bottom: .3rem; }
.footer-cta p { color: var(--on-dark-muted); margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.copy-group { display: inline-flex; align-items: stretch; }
.copy-group .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.copy-btn { font: inherit; background: transparent; color: var(--on-dark); border: 2px solid var(--on-dark); border-left: 0; border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 0 .8rem; cursor: pointer; }
.copy-btn:hover { background: var(--on-dark); color: var(--ink); }
.footer-skyline { background: #10181f; padding: 2.5rem var(--gutter) 2.5rem; overflow: hidden; }
.footer-skyline svg { display: block; width: min(100%, 60rem); height: auto; max-height: 12rem; margin: 0 auto; }
.fs-body { fill: #1d2a3a; transition: fill .2s; }
.fs-b:hover .fs-body { fill: #2b4866; }
.fs-win { fill: var(--accent); opacity: .15; }
.fs-b:hover .fs-win { opacity: .9; animation: none; }
.fs-ground { stroke: #2c3a4a; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .fs-win.tw0 { animation: twinkle 7s infinite 0s; } .fs-win.tw1 { animation: twinkle 9s infinite 1.3s; }
  .fs-win.tw2 { animation: twinkle 11s infinite 2.1s; } .fs-win.tw3 { animation: twinkle 8s infinite 3.7s; }
  .fs-win.tw4 { animation: twinkle 13s infinite .6s; } .fs-win.tw5 { animation: twinkle 10s infinite 4.4s; }
}
@keyframes twinkle { 0%, 100% { opacity: .15; } 40%, 60% { opacity: .85; } }
.footer-link { position: relative; text-decoration: none; }
.footer-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--accent); transition: right .25s ease; }
.footer-link:hover::after, .footer-link:focus-visible::after { right: 0; }
.footer-social { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #2c3a4a; border-radius: 50%; font-size: 1.1rem; transition: background-color .2s, border-color .2s, transform .2s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.to-top { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--on-dark); font-weight: 650; }
.to-top svg { width: 1.6rem; height: 2.6rem; overflow: visible; }
.tt-cable { stroke: var(--on-dark-muted); stroke-width: 2; }
.tt-hook { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.tt-block { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .to-top svg .tt-hook, .to-top svg .tt-block { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .to-top:hover .tt-hook, .to-top:hover .tt-block, .to-top:focus-visible .tt-hook, .to-top:focus-visible .tt-block { transform: translateY(-10px); }
  .to-top.is-lifting .tt-hook, .to-top.is-lifting .tt-block { transform: translateY(-30px); transition-duration: .6s; }
}
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sound-toggle-text { border-color: #2c3a4a; font-size: var(--step--1); }
.fx-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: var(--accent); color: var(--ink); font-weight: 700; padding: .6rem 1.1rem; border-radius: 99px; z-index: 10000; transition: transform .3s ease; margin: 0; pointer-events: none; }
.fx-toast.is-on { transform: translate(-50%, 0); }
.fx-toast:empty { visibility: hidden; }
@media (max-width: 600px) { .footer-cta-actions { flex-direction: column; align-items: stretch; } .copy-group .btn { flex: 1; } }


/* =====================================================================
   v1.4 — brand logo, one-screen skyline, eye-catching intro, 3D services, equipment backdrop
   ===================================================================== */
.footer-logo { height: 3.4rem; width: auto; margin-bottom: .75rem; }
.tag-ongoing { background: var(--accent); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }
html { scroll-padding-top: 5.5rem; }

/* ---------- 2. Skyline: fits one screen, card + dimmed skyline, one building lit ---------- */
.skyline-band { min-height: calc(100svh - 4.75rem); display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vh, 3rem) 0 1rem; }
.skyline-band h2 { margin-bottom: clamp(.75rem, 2.5vh, 1.75rem); }
.skyline-band figcaption { padding-bottom: 0; }
.sk-layout { display: grid; grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.sk-card { background: rgba(255,255,255,.04); border: 1px solid rgba(0,177,253,.25); border-top: 3px solid var(--accent); border-radius: var(--radius-m); padding: 1.25rem 1.25rem 1rem; color: var(--on-dark); backdrop-filter: blur(4px); }
.sk-card-k { color: var(--sky); font-size: var(--step--1); font-weight: 600; margin: 0 0 .35rem; }
.sk-card-title { font-size: var(--step-2); font-weight: 700; color: #fff; line-height: 1.15; margin: 0 0 .4rem; }
.sk-card-floors { color: var(--on-dark-muted); margin-bottom: 1rem; }
.sk-card-floors strong { font-size: var(--step-3); color: var(--accent); font-weight: 800; margin-right: .2rem; }
.sk-card-hint { font-size: .8rem; color: var(--on-dark-muted); margin: 1rem 0 0; }
.sk-card .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .sk-card.is-swap .sk-card-title, .sk-card.is-swap .sk-card-floors, .sk-card.is-swap .sk-card-k { animation: cardSwap .35s ease; }
  @keyframes cardSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.skyline-svg { width: 100%; height: clamp(220px, calc(100svh - 21rem), 520px); min-width: 0; }
.skyline-scroll { overflow: visible; }
.sk-bar .sk-body { fill: #2b4866; opacity: .55; transition: fill .2s, opacity .2s; }
.sk-bar .sk-windows { opacity: .5; transition: opacity .2s; }
.sk-roof { fill: transparent; transition: fill .2s; }
.sk-bar.is-active .sk-body, .sk-bar:hover .sk-body, .sk-bar:focus-visible .sk-body { fill: var(--accent); opacity: 1; }
.sk-bar.is-active .sk-windows, .sk-bar:hover .sk-windows { opacity: 1; }
.sk-bar.is-active .sk-roof { fill: var(--sky); }
.sk-bar.is-active .sk-slab, .sk-bar:hover .sk-slab { fill: rgba(17,28,43,.28); }
.sk-bar:focus-visible .sk-body { stroke: #fff; stroke-width: 2; }
@media (max-width: 900px) {
  .sk-layout { grid-template-columns: 1fr; }
  .skyline-scroll { overflow-x: auto; }
  .skyline-svg { min-width: 560px; height: 260px; }
  .skyline-band { min-height: 0; }
}

/* ---------- 3. Intro: blueprint draws itself, underline sweep, fact cards ---------- */
.intro { position: relative; overflow: hidden; }
.intro .wrap { position: relative; z-index: 1; }
.bp-art { position: absolute; right: -70px; bottom: -14px; width: 300px; height: auto; z-index: 0; pointer-events: none; }
@media (max-width: 1500px) { .bp-art { right: -150px; opacity: .7; } }
@media (max-width: 1200px) { .bp-art { display: none; } }
.bp-draw path { fill: none; stroke: var(--brand-blue); stroke-width: 1.6; opacity: .22; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bp-draw .bp-dim { stroke-dasharray: .02 .02; }
.h-underline { position: relative; padding-bottom: .35em; }
.h-underline::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 4.5rem; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--brand-blue)); }
.facts { border-top: 0; gap: 1rem; }
.facts > div { position: relative; background: #fff; border: 1px solid var(--rule) !important; border-radius: var(--radius-m); padding: 1.1rem 1.1rem 1.2rem !important; overflow: hidden; box-shadow: 0 1px 0 rgba(17,28,43,.04); }
.facts > div::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--brand-blue)); transform-origin: left; }
.fact-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(0,177,253,.1); color: #0077b3; font-size: 1.15rem; margin-bottom: .6rem; }
.facts dd { color: var(--ink); font-size: var(--step-2); }
@media (prefers-reduced-motion: no-preference) {
  .fx-on .bp-draw path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s ease; }
  .fx-on .bp-draw path:nth-child(2) { transition-delay: .2s; } .fx-on .bp-draw path:nth-child(3) { transition-delay: .5s; }
  .fx-on .bp-draw path:nth-child(4) { transition-delay: .8s; } .fx-on .bp-draw path:nth-child(5) { transition-delay: 1s; }
  .fx-on .bp-draw path:nth-child(6) { transition-delay: 1.3s; } .fx-on .bp-draw path:nth-child(7) { transition-delay: .4s; }
  .fx-on .bp-draw path:nth-child(8) { transition-delay: .9s; } .fx-on .bp-draw path:nth-child(9) { transition-delay: 1.5s; }
  .fx-on .intro.is-drawn .bp-draw path { stroke-dashoffset: 0; }
  .fx-on .h-underline::after { width: 0; transition: width 1s cubic-bezier(.2,.7,.2,1) .2s; }
  .fx-on .intro.is-drawn .h-underline::after { width: 4.5rem; }
  .fx-on .facts > div::before { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1) .3s; }
  .fx-on .intro.is-drawn .facts > div::before { transform: scaleX(1); }
  .facts > div { transition: transform .25s ease, box-shadow .25s ease; }
  .facts > div:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(17,28,43,.12); }
  .facts > div:hover .fact-icon { animation: iconPop .5s ease; }
  @keyframes iconPop { 40% { transform: scale(1.18) rotate(-6deg); } }
}

/* ---------- 4. Services: 3D tilt cards with depth layers and moving light ---------- */
.service-cards { gap: 1.25rem; perspective: 1100px; }
.svc { position: relative; background: #fff; border: 1px solid var(--rule) !important; border-radius: 10px; padding: 1.5rem 1.4rem 1.4rem !important; transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .3s ease; box-shadow: 0 2px 0 rgba(17,28,43,.04); will-change: transform; }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--brand-blue)); border-radius: 0 0 10px 10px; transition: width .4s ease; }
.svc:hover { box-shadow: 0 22px 40px -12px rgba(17,28,43,.28); }
.svc:hover::after { width: 100%; }
.svc-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 12px; margin-bottom: 1rem; color: #fff; font-size: 1.45rem;
  background: linear-gradient(135deg, var(--accent), #ff9b3f); box-shadow: 0 10px 18px -8px rgba(254,122,1,.7); transform: translateZ(40px); }
.svc:nth-child(even) .svc-icon { background: linear-gradient(135deg, #0094d6, var(--brand-blue)); box-shadow: 0 10px 18px -8px rgba(0,177,253,.7); }
.svc h3 { transform: translateZ(26px); }
.svc p { transform: translateZ(12px); }
.svc-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.65), transparent 55%); mix-blend-mode: soft-light; }
.svc.is-tilting .svc-glare { opacity: 1; }
.services-band { position: relative; background:
  linear-gradient(rgba(17,28,43,.035) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(17,28,43,.035) 1px, transparent 1px) 0 0 / 28px 28px, var(--concrete); }

/* ---------- 5. How we work: light construction-equipment backdrop ---------- */
.why-band { position: relative; overflow: hidden; }
.why-band > .wrap { position: relative; z-index: 1; }
.equip-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.equip-bg svg { position: absolute; }
.eq-line, .eq-line * { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.equip-bg { opacity: .11; }
.eq-crane { right: 1%; top: 2%; width: min(30vw, 380px); }
.eq-digger { left: 2%; bottom: 2%; width: min(26vw, 320px); }
.eq-mixer { left: 44%; bottom: 1%; width: min(22vw, 270px); }
@media (prefers-reduced-motion: no-preference) {
  .eq-trolley { animation: trolley 9s ease-in-out infinite; }
  .eq-hook { animation: hook 9s ease-in-out infinite; }
  .eq-cable { animation: cable 9s ease-in-out infinite; transform-origin: 332px 118px; }
  .eq-arm { transform-origin: 200px 100px; animation: dig 6s ease-in-out infinite; }
  .eq-drum { transform-origin: 120px 70px; animation: drum 4s linear infinite; }
  @keyframes trolley { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-150px); } }
  @keyframes hook { 0%, 100% { transform: translateY(0); } 25%, 50% { transform: translateY(70px); } 75% { transform: translateY(0); } }
  @keyframes cable { 0%, 100% { transform: scaleY(1); } 25%, 50% { transform: scaleY(1.58); } 75% { transform: scaleY(1); } }
  @keyframes dig { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
  @keyframes drum { 0% { transform: rotate(0); } 50% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
}
@media (max-width: 900px) { .eq-crane { width: 55vw; } .eq-digger, .eq-mixer { display: none; } }

/* General polish */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.equip-card { box-shadow: 0 20px 40px -18px rgba(17,28,43,.5); }
.equip-card td { color: var(--accent); }


/* =====================================================================
   v1.5 — sub-menus, certifications, equipment, about, pillars
   ===================================================================== */
/* ---------- Header sub-menus ---------- */
.site-nav .nav-list { display: flex; gap: .15rem; align-items: center; }
.site-nav .nav-list > li { position: relative; }
.site-nav .nav-list > li.is-active > a, .site-nav .nav-list > li.is-active > .nav-parent > a { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.nav-parent { display: flex; align-items: center; }
.nav-parent > a { padding-right: .2rem !important; }
.sub-toggle { background: transparent; border: 0; color: var(--on-dark-muted); padding: .5rem .35rem; cursor: pointer; display: grid; place-items: center; font-size: .75rem; border-radius: 4px; }
.sub-toggle:hover, .has-sub.open .sub-toggle { color: var(--accent); }
.sub-toggle .bi { transition: transform .2s; }
.has-sub.open .sub-toggle .bi { transform: rotate(180deg); }
.site-nav .sub { display: block; position: absolute; top: calc(100% + .35rem); left: -.5rem; min-width: 16rem; background: #fff; border-radius: 10px; padding: .45rem;
  box-shadow: 0 18px 40px -10px rgba(17,28,43,.45); border-top: 3px solid var(--accent); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; z-index: 60; }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; } /* hover bridge */
.has-sub:hover > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } /* visible at once so keyboard focus can enter */
.site-nav .sub a { color: var(--ink); padding: .55rem .75rem; border-radius: 6px; font-weight: 550; box-shadow: none !important; border-left: 3px solid transparent; white-space: nowrap; }
.site-nav .sub a:hover, .site-nav .sub a:focus-visible { background: var(--concrete); border-left-color: var(--accent); color: var(--ink); }
.site-nav .sub a[aria-current="page"] { border-left-color: var(--brand-blue); background: rgba(0,177,253,.08); }
@media (max-width: 920px) {
  .site-nav .nav-list { flex-direction: column; align-items: stretch; }
  .nav-parent { justify-content: space-between; border-bottom: 1px solid #2a3746; }
  .nav-parent > a { border-bottom: 0 !important; flex: 1; }
  .sub-toggle { width: 3rem; height: 3rem; font-size: 1rem; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: #0d1622; border-radius: 0; padding: 0; min-width: 0; display: none; }
  .site-nav .sub::before { display: none; }
  .has-sub.open > .sub, .no-js .site-nav .sub { display: block; }
  .has-sub:hover > .sub { display: none; } .has-sub.open:hover > .sub { display: block; }
  .no-js .has-sub:hover > .sub { display: block; }
  .site-nav .sub a { color: var(--on-dark); padding-left: 1.5rem; border-radius: 0; border-bottom: 1px solid #1f2b3a; white-space: normal; }
  .site-nav .sub a:hover { background: #142030; color: #fff; }
}

.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Equipment page ---------- */
.eq-hero { background-color: var(--ink); color: var(--on-dark); padding: clamp(1.5rem, 4vw, 3rem) 0 0; overflow: hidden;
  background-image: linear-gradient(rgba(0,177,253,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,177,253,.05) 1px, transparent 1px); background-size: 32px 32px; }
.eq-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: end; }
.eq-hero h1 { color: #fff; }
.eq-hero .lede { color: var(--on-dark-muted); }
.eq-hero .crumbs ol, .eq-hero .crumbs a { color: var(--on-dark-muted); }
.eq-chips-stats { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.eq-chips-stats li { border: 1px solid rgba(0,177,253,.35); border-radius: 99px; padding: .45rem 1rem; color: var(--on-dark); }
.eq-chips-stats strong { color: var(--accent); font-size: 1.15em; margin-right: .2rem; }
.eq-scene { width: 100%; height: auto; display: block; }
.eq-scene * { fill: none; stroke: rgba(0,177,253,.7); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.eq-scene .sc-ground { stroke: var(--on-dark-muted); }
.eq-scene .sc-thin, .eq-scene .sc-scaffold { stroke: rgba(0,177,253,.35); stroke-width: 1.2; }
.eq-scene .sc-new { stroke: var(--accent); stroke-dasharray: 6 4; }
.eq-scene .sc-beam { stroke: var(--accent); fill: rgba(254,122,1,.25); }
.eq-scene .sc-truck * { stroke: var(--accent); }
.eq-scene .sc-crane { stroke: rgba(255,255,255,.75); }
.eq-scene .sc-crane * { stroke: rgba(255,255,255,.75); }
@media (prefers-reduced-motion: no-preference) {
  .sc-trolley { animation: scTrolley 10s ease-in-out infinite; }
  .sc-load { animation: scLoad 10s ease-in-out infinite; }
  .sc-cable { transform-origin: 261px 80px; animation: scCable 10s ease-in-out infinite; }
  .sc-truck { animation: scTruck 14s linear infinite; }
  .sc-drum { transform-origin: 46px 250px; animation: drum 3s ease-in-out infinite; }
  .sc-new { animation: scNew 10s ease-in-out infinite; }
  @keyframes scTrolley { 0%, 100% { transform: translateX(0); } 40%, 60% { transform: translateX(-140px); } }
  @keyframes scLoad { 0%, 20% { transform: translateY(110px); } 40%, 60% { transform: translateY(-30px); } 80%, 100% { transform: translateY(110px); } }
  @keyframes scCable { 0%, 20% { transform: scaleY(3.75); } 40%, 60% { transform: scaleY(.25); } 80%, 100% { transform: scaleY(3.75); } }
  @keyframes scTruck { 0% { transform: translateX(-140px); } 100% { transform: translateX(640px); } }
  @keyframes scNew { 0%, 55% { opacity: .2; } 65%, 100% { opacity: 1; } }
}
.eq-featured { background: #fff; border-bottom: 1px solid var(--rule); }
.eq-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1rem; }
.eq-feat { border: 1px solid var(--rule); border-radius: 10px; padding: 1.1rem; position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #f6f7f5); }
.eq-feat .ico { width: 2.2rem; height: 2.2rem; color: var(--brand-blue); }
.eq-feat-q { font-size: var(--step-2); font-weight: 800; color: var(--ink); margin: .5rem 0 0; line-height: 1.1; }
.eq-feat-n { color: var(--muted); margin: .2rem 0 0; font-weight: 600; }
.eq-feat::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(var(--accent), var(--brand-blue)); }
.eq-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.eq-filter[hidden] { display: none; }
.eq-chip { font: inherit; font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 99px; padding: .45rem .9rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.eq-chip .ico { width: 1.1rem; height: 1.1rem; color: #0077b3; }
.eq-chip:hover { border-color: var(--ink); }
.eq-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.eq-chip[aria-pressed="true"] .ico { color: var(--accent); }
.eq-grid { columns: 3 20rem; column-gap: 1.25rem; }
.eq-card { break-inside: avoid; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; display: block; }
.eq-card[hidden] { display: none; }
.eq-card-head { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; background: var(--ink); color: #fff;
  background-image: linear-gradient(rgba(0,177,253,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,177,253,.08) 1px, transparent 1px); background-size: 16px 16px; }
.eq-card-head h2 { color: #fff; font-size: var(--step-1); margin: 0; }
.eq-card-head p { margin: 0; color: var(--on-dark-muted); font-size: var(--step--1); }
.eq-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #ff9b3f); color: #fff; flex: none; box-shadow: 0 8px 16px -8px rgba(254,122,1,.8); }
.eq-card:nth-child(even) .eq-icon { background: linear-gradient(135deg, #0094d6, var(--brand-blue)); box-shadow: 0 8px 16px -8px rgba(0,177,253,.8); }
.eq-icon .ico { width: 1.7rem; height: 1.7rem; }
.eq-items { list-style: none; margin: 0; padding: .35rem 1.1rem .6rem; }
.eq-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.eq-items li:last-child { border-bottom: 0; }
.eq-qty { font-weight: 700; white-space: nowrap; background: rgba(254,122,1,.12); color: #a14b00; border-radius: 99px; padding: .15rem .65rem; font-size: .92rem; }
@media (prefers-reduced-motion: no-preference) {
  .eq-card { transition: transform .25s ease, box-shadow .25s ease; }
  .eq-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(17,28,43,.35); }
  .eq-card:hover .eq-icon { animation: iconPop .5s ease; }
}
@media (max-width: 900px) { .eq-hero-grid { grid-template-columns: 1fr; } .eq-scene { margin-top: -1rem; } }

/* ---------- Certifications ---------- */
.cert-head-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cert-seal { width: clamp(5rem, 12vw, 9rem); height: auto; fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .cert-seal { animation: sealIn 1.2s cubic-bezier(.2,.7,.2,1) both; } @keyframes sealIn { from { opacity: 0; transform: rotate(-20deg) scale(.8); } } }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.5rem; }
.cert-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.cert-visual { position: relative; aspect-ratio: 4 / 3; background: var(--concrete); }
.cert-visual img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cert-frame { position: absolute; inset: 1rem; border: 2px solid var(--ink); outline: 1px solid var(--accent); outline-offset: -8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; text-align: center; background: #fff; }
.cert-frame .ico { width: 3.5rem; height: 3.5rem; color: var(--accent); }
.cert-frame span { font-weight: 700; color: var(--ink); }
.cert-badge { position: absolute; top: .75rem; right: .75rem; background: #1f7a45; color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; }
.cert-card.is-expired .cert-badge { background: var(--danger); }
.cert-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.cert-body h2 { font-size: var(--step-1); margin: 0; }
.cert-body dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; font-size: .92rem; }
.cert-body dl div { display: contents; }
.cert-body dt { color: var(--muted); }
.cert-body dd { margin: 0; font-weight: 600; }
.cert-body .btn { margin-top: auto; align-self: flex-start; }
.cert-size { font-weight: 400; opacity: .8; }

/* ---------- About page ---------- */
.about-hero { position: relative; background-color: var(--ink); color: var(--on-dark); overflow: hidden; padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 3rem); isolation: isolate; }
.about-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.about-scene * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.as-grid path { stroke: rgba(0,177,253,.07); stroke-width: 1; }
.as-b rect { stroke: rgba(0,177,253,.45); stroke-width: 1.5; fill: rgba(0,177,253,.05); }
.as-b3 rect { stroke: rgba(254,122,1,.55); fill: rgba(254,122,1,.05); }
.as-scaffold { stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.as-crane path, .as-crane rect { stroke: rgba(255,255,255,.35); stroke-width: 2; }
.as-trolley * { stroke: var(--accent); stroke-width: 2; }
.as-load { fill: rgba(254,122,1,.3) !important; }
.as-ground { stroke: rgba(255,255,255,.3); stroke-width: 2; }
.about-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,28,43,.96) 0%, rgba(17,28,43,.85) 45%, rgba(17,28,43,.2) 100%); }
.about-hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); }
.about-hero .lede { color: var(--on-dark-muted); max-width: 46ch; }
.about-hero .crumbs ol, .about-hero .crumbs a { color: var(--on-dark-muted); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin: 2rem 0 0; max-width: 54rem; }
.about-stats > div { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem 1rem; }
.about-stats dt { color: var(--on-dark-muted); font-size: var(--step--1); }
.about-stats dd { margin: .2rem 0 0; color: var(--on-dark); }
.about-stats strong { font-size: var(--step-3); color: #fff; font-weight: 800; margin-right: .25rem; }
@media (prefers-reduced-motion: no-preference) {
  .as-b rect { transform-box: fill-box; transform-origin: bottom; animation: floorRise .5s cubic-bezier(.2,.7,.2,1) both; }
  .as-b rect:nth-child(1) { animation-delay: 0.15s; }
  .as-b rect:nth-child(2) { animation-delay: 0.30s; }
  .as-b rect:nth-child(3) { animation-delay: 0.45s; }
  .as-b rect:nth-child(4) { animation-delay: 0.60s; }
  .as-b rect:nth-child(5) { animation-delay: 0.75s; }
  .as-b rect:nth-child(6) { animation-delay: 0.90s; }
  .as-b rect:nth-child(7) { animation-delay: 1.05s; }
  .as-b rect:nth-child(8) { animation-delay: 1.20s; }
  .as-b rect:nth-child(9) { animation-delay: 1.35s; }
  .as-b rect:nth-child(10) { animation-delay: 1.50s; }
  .as-b rect:nth-child(11) { animation-delay: 1.65s; }
  .as-b rect:nth-child(12) { animation-delay: 1.80s; }
  .as-trolley { animation: asTrolley 12s ease-in-out infinite; }
  @keyframes floorRise { from { transform: scaleY(0); opacity: 0; } }
  @keyframes asTrolley { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(160px); } }
}
.mission-card { position: relative; overflow: hidden; }
.mission-card > .bi { position: absolute; right: -1rem; bottom: -1.5rem; font-size: 7rem; color: rgba(254,122,1,.15); }
.avatar { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--accent), #ff9b3f); box-shadow: 0 10px 20px -10px rgba(254,122,1,.9); flex: none; }
.avatar-blue { background: linear-gradient(135deg, #0094d6, var(--brand-blue)); box-shadow: 0 10px 20px -10px rgba(0,177,253,.9); }
.avatar-lg { width: 5rem; height: 5rem; font-size: 1.6rem; }
.leader-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.leader-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 1.25rem; position: relative; overflow: hidden; }
.leader-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), var(--brand-blue)); }
.leader-card h3, .team-card h3 { margin: 0; font-size: var(--step-1); }
.exp-ring { position: relative; width: 4.4rem; height: 4.4rem; flex: none; }
.exp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--concrete); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.team-card:nth-child(even) .ring-fg, .leader-card:nth-child(even) .ring-fg { stroke: var(--brand-blue); }
.exp-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: .7rem; color: var(--muted); line-height: 1; }
.exp-ring strong { display: block; font-size: 1.15rem; color: var(--ink); }
.exp-ring-sm { width: 3.8rem; height: 3.8rem; margin: .75rem auto 0; }
.team-section { position: relative; background:
  linear-gradient(rgba(17,28,43,.03) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(17,28,43,.03) 1px, transparent 1px) 0 0 / 26px 26px, var(--paper); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.25rem; }
.team-card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 1.4rem 1rem 1.2rem; text-align: center; position: relative; overflow: hidden; }
.team-card .avatar { margin: 0 auto .8rem; }
.team-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--brand-blue)); transform: scaleX(0); transition: transform .35s ease; }
.team-card:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .team-card, .leader-card { transition: transform .25s ease, box-shadow .25s ease; }
  .team-card:hover, .leader-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px -16px rgba(17,28,43,.35); }
  .fx-on [data-anim] .ring-fg { opacity: 0; }
  .fx-on [data-anim].is-anim .ring-fg { opacity: 1; animation: ringFill 1.4s cubic-bezier(.2,.7,.2,1) .15s both; }
  @keyframes ringFill { from { stroke-dashoffset: 163.36; } } /* animates to each member's own value (SVG attribute) */
}
@media (max-width: 600px) { .leader-card { grid-template-columns: auto 1fr; } .leader-card .exp-ring { grid-column: 1 / -1; justify-self: start; } }

/* ---------- Pillars ---------- */
.pillars-section { background: var(--concrete); overflow: hidden; }
.pillars-lede { margin-top: -.25rem; }
.pillars { max-width: 64rem; margin: 2rem auto 0; }
.pl-slab { position: relative; height: 3.4rem; background: linear-gradient(180deg, #2b4866, var(--ink)); border-radius: 6px 6px 2px 2px; display: grid; place-items: center; box-shadow: 0 12px 24px -12px rgba(17,28,43,.6); z-index: 2; }
.pl-slab span { color: #fff; font-weight: 800; letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; }
.pl-slab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--brand-blue)); }
.pl-row { list-style: none; margin: 0; padding: 0 4%; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 3vw, 2.5rem); }
.pillar { display: flex; flex-direction: column; align-items: stretch; }
.pl-capital { height: 1.1rem; margin: 0 -10%; background: #c9ccc6; border-radius: 0 0 4px 4px; box-shadow: inset 0 -3px 0 rgba(17,28,43,.15); }
.pl-shaft { flex: 1; min-height: 16rem; padding: 1.4rem 1rem; text-align: center; color: var(--ink);
  background: linear-gradient(90deg, #d9dbd6 0%, #f4f5f2 35%, #fff 50%, #eceee9 70%, #cfd2cc 100%); position: relative;
  border-left: 1px solid rgba(17,28,43,.08); border-right: 1px solid rgba(17,28,43,.08); }
.pl-shaft::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 46px, rgba(17,28,43,.06) 46px 47px); pointer-events: none; } /* formwork lift lines */
.pl-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto .9rem; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 1.3rem; position: relative; }
.pillar h3 { font-size: var(--step-1); margin: 0 0 .5rem; position: relative; }
.pillar p { margin: 0; color: #414950; font-size: .95rem; position: relative; }
.pl-base { height: 1.3rem; margin: 0 -14%; background: #b9bdb6; border-radius: 3px 3px 0 0; }
.pl-foundation { height: 2.6rem; background: repeating-linear-gradient(45deg, #59616a 0 10px, #4b525a 10px 20px); border-radius: 0 0 6px 6px; display: grid; place-items: center; }
.pl-foundation span { color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(17,28,43,.7); padding: .15rem .7rem; border-radius: 3px; }
.pillar:hover .pl-shaft { box-shadow: inset 0 0 0 2px var(--accent); }
.pillar:hover .pl-icon { background: var(--accent); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .pl-shaft, .pl-icon { transition: box-shadow .25s, background-color .25s, color .25s; }
  .fx-on .pillars .pillar { transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .fx-on .pillars .pillar:nth-child(2) { transition-delay: .12s; } .fx-on .pillars .pillar:nth-child(3) { transition-delay: .24s; } .fx-on .pillars .pillar:nth-child(4) { transition-delay: .36s; }
  .fx-on .pillars .pl-slab { transform: translateY(-40px); opacity: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1) .9s, opacity .4s .9s; }
  .fx-on .pillars.is-anim .pillar { transform: none; }
  .fx-on .pillars.is-anim .pl-slab { transform: none; opacity: 1; }
}
@media (max-width: 800px) {
  .pl-row { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
  .pl-shaft { min-height: 13rem; }
}
@media print { .fx-on .pillars .pillar, .fx-on .pillars .pl-slab { transform: none !important; opacity: 1 !important; } }
.site-nav .sub a[aria-current="page"], .site-nav .sub a[aria-current="page"]:hover { color: var(--ink); box-shadow: none; }
.eq-feat-q { font-size: clamp(1.15rem, .95rem + .8vw, 1.55rem); }


/* =====================================================================
   v1.6 — calmer hero text, desktop phone panel, footer legal row, moving crane
   ===================================================================== */
/* Hero over photo/video: full-size headline bottom-left, description + buttons in a side column,
   upper part of the footage left clear */
.hero-cinema .hero-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-cinema h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.3rem); max-width: 15em; line-height: 1.06; margin: 0; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.hero-cinema .hero-copy { max-width: none; }
.hero-side { padding-bottom: .35rem; border-left: 3px solid var(--accent); padding-left: 1.25rem; }
.hero-cinema .lede { font-size: var(--step-1); line-height: 1.5; color: rgba(238,240,236,.92); margin: 0 0 1.25rem; max-width: 36ch; }
.hero-cinema .hero-actions { margin: 0; }
.hero-cinema::before { background: linear-gradient(0deg, rgba(17,28,43,.9) 0%, rgba(17,28,43,.6) 30%, rgba(17,28,43,.15) 58%, rgba(17,28,43,0) 75%), linear-gradient(90deg, rgba(17,28,43,.45) 0%, rgba(17,28,43,0) 55%); }
.hero-cinema .hero-inner { padding-bottom: clamp(3.5rem, 9vh, 6rem); }
@media (max-width: 900px) {
  .hero-cinema .hero-split { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-cinema h1 { font-size: clamp(2rem, 1.3rem + 3.6vw, 2.9rem); }
  .hero-side { border-left: 0; padding-left: 0; }
  .hero-cinema .lede { font-size: var(--step-0); }
  .hero-cinema::before { background: linear-gradient(0deg, rgba(17,28,43,.92) 0%, rgba(17,28,43,.7) 40%, rgba(17,28,43,.1) 75%); }
}

/* Phone panel (computers only; phones dial directly) */
.phone-wrap { position: relative; }
.phone-pop { position: absolute; right: -1rem; top: calc(100% + .6rem); width: 19rem; background: #fff; color: var(--ink); border-radius: 12px; padding: 1.1rem;
  box-shadow: 0 22px 44px -12px rgba(17,28,43,.55); border-top: 3px solid var(--accent); z-index: 70; display: grid; gap: .55rem; }
.phone-pop[hidden] { display: none; }
.phone-pop::before { content: ""; position: absolute; top: -9px; right: 2.2rem; border: 8px solid transparent; border-bottom-color: var(--accent); border-top: 0; }
.pp-k { margin: 0; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.pp-num { margin: 0 0 .3rem; font-size: 1.45rem; font-weight: 800; letter-spacing: .01em; }
.phone-pop .btn { width: 100%; min-height: 2.6rem; }
.phone-pop .btn-ghost { color: var(--ink); border-color: var(--rule); }
.phone-pop .btn-ghost:hover { background: var(--concrete); color: var(--ink); border-color: var(--ink); }
.pp-note { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 920px) { .phone-pop { position: static; width: auto; box-shadow: none; margin: .25rem 0 .75rem; } .phone-pop::before { display: none; } }

/* Footer bottom row: copyright · legal links · sound */
.footer-base { gap: .75rem 1.5rem; }
.footer-legal { list-style: none; margin: 0 auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-legal li + li::before { content: "·"; color: #4b5867; margin-right: 1.25rem; }
.footer-legal a { color: var(--on-dark-muted); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 700px) { .footer-legal { margin: 0; } }

/* Sitemap page */
.sitemap-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); }
.sitemap-grid h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.sitemap-grid h3 { font-size: var(--step-0); margin: 1.2rem 0 .4rem; color: var(--muted); }
.sitemap-list { list-style: none; padding: 0; margin: 0; columns: 2 14rem; column-gap: 2rem; }
.sitemap-list li { padding: .3rem 0; break-inside: avoid; }
@media (max-width: 800px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* Moving crane in the footer (decorative) */
.footer-track { position: relative; height: 104px; margin: .5rem var(--gutter) 0; max-width: calc(var(--wrap)); margin-inline: auto; width: min(100% - 2 * var(--gutter), var(--wrap)); pointer-events: none; overflow: hidden; }
.ft-rail { position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, #2c3a4a 0 18px, #1d2733 18px 26px); }
.ft-mover { position: absolute; left: 0; bottom: 6px; width: calc(100% - 150px); height: 96px; }
.ft-flip { width: 150px; height: 96px; transform-origin: 75px 50%; }
.ft-crane { width: 150px; height: 96px; display: block; overflow: visible; }
.ft-body { fill: var(--accent); }
.ft-counter { fill: #c25d00; }
.ft-cab { fill: var(--brand-blue); }
.ft-win { fill: #10181f; opacity: .55; }
.ft-boom path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ft-boom path:last-child { stroke-width: 1.5; opacity: .8; }
.ft-cable { stroke: #b4bcc4; stroke-width: 1.5; fill: none; }
.ft-hook path { fill: none; stroke: #b4bcc4; stroke-width: 2; stroke-linecap: round; }
.ft-hook rect { fill: #5b7a96; stroke: #8fa6bb; stroke-width: 1; }
.ft-wheel circle:first-child { fill: #1d2733; stroke: #4b5867; stroke-width: 2; }
.ft-wheel circle:last-child { fill: #8fa6bb; }
@media (prefers-reduced-motion: no-preference) {
  .ft-mover { animation: ftMove 30s ease-in-out infinite; }
  .ft-flip { animation: ftFlip 30s steps(1, end) infinite; }
  .ft-wheel { transform-box: fill-box; transform-origin: center; animation: ftWheel 1.6s linear infinite; }
  .ft-hook { transform-box: view-box; transform-origin: 130px 13px; animation: ftSway 3.2s ease-in-out infinite; }
  .ft-cable { transform-box: view-box; transform-origin: 130px 13px; animation: ftSway 3.2s ease-in-out infinite; }
  @keyframes ftMove { 0%, 4% { transform: translateX(0); } 46%, 54% { transform: translateX(100%); } 96%, 100% { transform: translateX(0); } }
  @keyframes ftFlip { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
  @keyframes ftWheel { to { transform: rotate(360deg); } }
  @keyframes ftSway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
}
@media print { .footer-track { display: none; } }
