/* ==========================================================================
   Standwell Structures Limited — site styles
   Brand: royal blue + gold from the SW emblem, grounded in deep navy & concrete.
   ========================================================================== */

:root {
  --navy-950: #060d26;
  --navy-900: #0a1640;
  --navy-800: #102061;
  --navy-700: #182d86;
  --blue: #2340e0;          /* logo blue, softened */
  --gold: #f6c21c;
  --gold-600: #dca707;
  --gold-50: #fff8dc;
  --ink: #0f1626;
  --body: #3d4659;
  --muted: #6b7386;
  --paper: #f7f6f2;
  --concrete: #ebe8e0;
  --line: #dcd8cd;
  --white: #ffffff;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -20px rgba(6, 13, 38, .35);
  --shadow-sm: 0 6px 20px -10px rgba(6, 13, 38, .3);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title {
  font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; margin: 14px 0 18px;
}
.section-title em { font-style: normal; color: var(--blue); }
.on-dark .section-title { color: var(--white); }
.on-dark .section-title em { color: var(--gold); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.on-dark .lead { color: rgba(255,255,255,.72); }

.btn {
  --bg: var(--gold); --fg: var(--navy-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 700 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(246, 194, 28, .7); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: var(--white); color: var(--navy-950); box-shadow: none; }
.btn-dark { --bg: var(--navy-900); --fg: var(--white); }
.btn-dark:hover { box-shadow: 0 12px 28px -12px rgba(10, 22, 64, .6); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); box-shadow: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.75); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar-list a, .topbar-list span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-list a:hover { color: var(--gold); }
.topbar svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-tag { color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(6,13,38,.35); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 21px/1 var(--font-display); font-stretch: 118%; color: var(--blue); letter-spacing: .02em; }
.brand-sub { font: 700 10.5px/1 var(--font-display); font-stretch: 112%; color: var(--blue); letter-spacing: .2em; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink);
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.active { color: var(--blue); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; min-height: 46px; padding: 0 22px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (video) ---------- */
.hero {
  position: relative; min-height: clamp(600px, calc(100vh - 118px), 900px); min-height: clamp(600px, calc(100svh - 118px), 900px);
  display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy-950);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,13,38,.92) 0%, rgba(6,13,38,.70) 38%, rgba(6,13,38,.15) 75%),
    linear-gradient(0deg, rgba(6,13,38,.85) 0%, rgba(6,13,38,0) 45%);
}
.hero .container { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 96px); padding-top: 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.hero-badge b { background: var(--gold); color: var(--navy-950); padding: 4px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .1em; }
.hero h1 {
  color: var(--white); font-weight: 900; font-stretch: 115%; text-transform: uppercase;
  font-size: clamp(36px, 5.4vw, 74px); line-height: 1; margin: 22px 0 20px; max-width: 16ch;
}
.hero h1 span { color: var(--gold); display: block; }
.hero-sub { max-width: 560px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot {
  margin-top: clamp(40px, 7vh, 72px); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px;
}
.now-showing { display: flex; align-items: center; gap: 14px; min-width: 0; }
.now-showing .label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; flex: none; }
.now-showing .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }
.hero-progress { flex: 1; max-width: 260px; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; }
.hero-progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.hero-pause {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(6,13,38,.35); color: var(--white); display: grid; place-items: center;
}
.hero-pause:hover { background: var(--white); color: var(--navy-950); }
.hero-pause svg { width: 16px; height: 16px; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -1px; background: var(--navy-900); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font: 900 clamp(36px, 4vw, 52px)/1 var(--font-display); font-stretch: 112%; color: var(--gold); }
.stat-num small { font-size: .5em; margin-left: 4px; color: var(--white); }
.stat-label { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.7); max-width: 22ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; padding: 0 0 70px 0; }
.about-media .img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; }
.about-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .img-sub {
  position: absolute; right: -6%; bottom: 0; width: 52%; border-radius: var(--radius); overflow: hidden;
  border: 8px solid var(--paper); box-shadow: var(--shadow); aspect-ratio: 4/3;
}
.about-media .img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-media .year-tag {
  position: absolute; left: 24px; bottom: 30px; background: var(--gold); color: var(--navy-950);
  padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.year-tag strong { display: block; font: 900 40px/1 var(--font-display); font-stretch: 112%; }
.year-tag span { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.mv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mv-card h3 { font-size: 15px; font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.mv-card h3 svg { width: 22px; height: 22px; color: var(--gold-600); }
.mv-card p { margin: 0; font-size: 15px; }

/* ---------- Values ---------- */
.values { background: var(--navy-950); color: rgba(255,255,255,.75); overflow: hidden; }
.values::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.value-card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); transition: transform .35s var(--ease), border-color .35s;
}
.value-card:hover { transform: translateY(-6px); border-color: rgba(246,194,28,.5); }
.value-num { position: absolute; top: 22px; right: 26px; font: 900 56px/1 var(--font-display); color: rgba(255,255,255,.06); }
.value-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gold); color: var(--navy-950); display: grid; place-items: center; margin-bottom: 22px; }
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { color: var(--white); font-size: 26px; font-stretch: 112%; text-transform: uppercase; margin-bottom: 6px; }
.value-card .tagline { color: var(--gold); font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }
.value-card ul { display: grid; gap: 8px; font-size: 14.5px; }
.value-card li { padding-left: 18px; position: relative; }
.value-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--gold-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; transition: background .3s, color .3s; }
.service-card:hover .service-icon { background: var(--blue); color: var(--gold); }
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 21px; font-stretch: 108%; margin-bottom: 10px; }
.service-card p { font-size: 15px; margin-bottom: 14px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card .tags li { font-size: 12.5px; font-weight: 600; color: var(--navy-800); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ---------- Featured project ---------- */
.featured { background: var(--white); }
.feature-block { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-block + .feature-block { margin-top: clamp(64px, 9vw, 110px); }
.feature-block.flip { grid-template-columns: 1fr 1.25fr; }
.feature-block.flip .feature-gallery { order: 2; }
.feature-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 12px; }
.feature-gallery button { border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--concrete); }
.feature-gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; border-radius: var(--radius); }
.feature-gallery button:not(:first-child) { aspect-ratio: 1/1; }
.feature-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-gallery button:hover img { transform: scale(1.06); }
.feature-gallery .more { position: absolute; inset: 0; background: rgba(10,22,64,.7); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold-50); color: var(--gold-600); border: 1px solid #f3dd8a; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.status-pill.done { background: #e8f5ec; color: #1d7a43; border-color: #b9e0c6; }
.status-pill.done::before { animation: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.feature-copy h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; font-stretch: 110%; text-transform: uppercase; margin: 16px 0 14px; }
.feature-copy .loc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.feature-copy .loc svg { width: 18px; height: 18px; color: var(--gold-600); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 24px 0 28px; }
.facts div { background: var(--paper); padding: 14px 16px; }
.facts dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; font-size: 15px; }

/* ---------- Portfolio grid ---------- */
.portfolio { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .25s; }
.filter-btn:hover { border-color: var(--navy-900); }
.filter-btn.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); aspect-ratio: 4/4.6;
  border: 0; padding: 0; text-align: left; color: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s, opacity .4s;
}
.project-card.wide { grid-column: span 2; aspect-ratio: auto; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,38,0) 35%, rgba(6,13,38,.92) 100%); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card:hover img { transform: scale(1.07); }
.project-card .pc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.pc-cat { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pc-title { display: block; font: 800 22px/1.15 var(--font-display); font-stretch: 106%; margin: 8px 0 6px; color: var(--white); }
.pc-meta { font-size: 14px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; }
.pc-meta svg { width: 15px; height: 15px; color: var(--gold); }
.pc-view {
  position: absolute; z-index: 2; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy-950); display: grid; place-items: center;
  transform: scale(.6); opacity: 0; transition: all .35s var(--ease);
}
.pc-view svg { width: 18px; height: 18px; }
.project-card:hover .pc-view, .project-card:focus-visible .pc-view { transform: scale(1); opacity: 1; }
.pc-count { position: absolute; z-index: 2; top: 18px; left: 18px; font-size: 12px; font-weight: 700; background: rgba(6,13,38,.6); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 999px; }
.project-card.hide { display: none; }

/* ---------- Site film ---------- */
.film { background: var(--navy-950); color: rgba(255,255,255,.75); }
.film-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.film-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.1); aspect-ratio: 16/9; background: #000; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-frame .play {
  position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(6,13,38,.55), rgba(6,13,38,.15));
  border: 0; color: var(--white); transition: opacity .3s;
}
.film-frame .play span { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--navy-950); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(246,194,28,.25); transition: transform .3s var(--ease); }
.film-frame .play:hover span { transform: scale(1.08); }
.film-frame .play svg { width: 30px; height: 30px; margin-left: 4px; }
.film-frame.playing .play { opacity: 0; pointer-events: none; }
.film-points { display: grid; gap: 14px; margin-top: 26px; }
.film-points li { display: flex; gap: 14px; align-items: center; color: var(--white); font-weight: 500; }
.film-points li b { font: 900 22px/1 var(--font-display); color: var(--gold); width: 40px; flex: none; }

/* ---------- Track record ---------- */
.record { background: var(--white); }
.record-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.record-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.sector-bars { display: grid; gap: 14px; margin-top: 28px; }
.sector-bars li { font-size: 14px; font-weight: 600; color: var(--ink); }
.sector-bars .bar { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.sector-bars .bar i { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--navy-700)); }
.sector-bars .bar span { font-size: 13px; color: var(--muted); font-weight: 700; }
.timeline { position: relative; }
.tl-year { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl-year:first-child { border-top: 0; padding-top: 0; }
.tl-year h3 { font-size: 30px; font-weight: 900; font-stretch: 112%; color: var(--blue); position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.tl-items { display: grid; gap: 12px; }
.tl-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid transparent; transition: border-color .25s, background .25s; }
.tl-item:hover { border-color: var(--line); background: var(--white); }
.tl-tag { align-self: start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--navy-900); color: var(--white); white-space: nowrap; }
.tl-tag.t-build { background: var(--blue); }
.tl-tag.t-road { background: #3a3f4b; }
.tl-tag.t-supply { background: var(--gold); color: var(--navy-950); }
.tl-tag.t-agric { background: #2f7a48; }
.tl-tag.t-power { background: #c0570b; }
.tl-item p { margin: 0; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.5; }
.tl-item small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; font-weight: 500; }
.timeline.collapsed .tl-year:nth-child(n+5) { display: none; }
.record-more { margin-top: 24px; }

/* ---------- Clients ---------- */
.clients { background: var(--paper); padding: clamp(56px, 7vw, 84px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-title { text-align: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-chip { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); white-space: nowrap; font-weight: 700; color: var(--navy-900); font-size: 15px; }
.client-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Compliance ---------- */
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cert-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; }
.cert-icon svg { width: 22px; height: 22px; }
.cert h3 { font-size: 16px; font-stretch: 104%; margin-bottom: 4px; }
.cert p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.team-strip { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-pill { padding: 20px 22px; border-radius: var(--radius); background: var(--navy-900); color: rgba(255,255,255,.75); font-size: 14px; }
.team-pill strong { display: block; color: var(--white); font: 800 17px/1.2 var(--font-display); margin-bottom: 6px; }

/* ---------- Process ---------- */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 2px solid var(--navy-900);
  font: 900 24px/1 var(--font-display); color: var(--navy-900); transition: all .3s;
}
.step:hover .step-num { background: var(--gold); border-color: var(--gold); }
.step h3 { font-size: 20px; font-stretch: 110%; text-transform: uppercase; margin-bottom: 10px; }
.step p { font-size: 15px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); padding: clamp(64px, 8vw, 100px) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/heptagon-drone-2.jpg") center/cover; opacity: .18; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 20%, rgba(10,22,64,.6)); }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 4vw, 48px); font-weight: 900; font-stretch: 112%; text-transform: uppercase; max-width: 18ch; }
.cta-band h2 span { color: var(--gold); }
.cta-band p { color: rgba(255,255,255,.75); margin: 14px 0 0; max-width: 540px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 8px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .ci { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--gold); color: var(--navy-950); display: grid; place-items: center; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink); font-weight: 600; }
.contact-card a { display: block; }
.contact-card a:hover { color: var(--blue); }
.map { margin-top: 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--concrete); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.form-card { background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.form-card h3 { font-size: 28px; font-weight: 800; font-stretch: 110%; text-transform: uppercase; margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 15.5px/1.4 var(--font-body); color: var(--ink);
  padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(35,64,224,.12); }
.hp { position: absolute; left: -9999px; }
.form-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #1d7a43; }
.form-status.err { display: block; background: #fdecea; color: #a12a1b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.65); padding-top: clamp(56px, 7vw, 84px); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand .brand-name, .footer-brand .brand-sub { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-stretch: 110%; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-quote { font: italic 600 18px/1.4 var(--font-display); color: var(--gold); margin-top: 18px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 70px 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-950); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,8,22,.97); backdrop-filter: blur(8px); display: none; flex-direction: column; color: var(--white); }
.lightbox.open { display: flex; }
.lb-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px var(--gutter); }
.lb-top h3 { color: var(--white); font-size: clamp(18px, 2.2vw, 26px); font-stretch: 108%; }
.lb-top p { margin: 4px 0 0; color: rgba(255,255,255,.65); font-size: 14.5px; max-width: 760px; }
.lb-close, .lb-nav { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); display: grid; place-items: center; flex: none; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 var(--gutter); }
.lb-stage figure { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lb-thumbs { display: flex; gap: 8px; padding: 16px var(--gutter) 20px; overflow-x: auto; justify-content: center; }
.lb-thumbs button { flex: none; width: 76px; height: 56px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .55; background: none; }
.lb-thumbs button.active { border-color: var(--gold); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-counter { font-size: 13px; color: rgba(255,255,255,.6); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .topbar-tag { display: none; }
  .nav { position: fixed; inset: calc(var(--header-h)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
  .menu-toggle { display: inline-flex; }
  .services-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid, .team-strip { grid-template-columns: repeat(2, 1fr); }
  .record-layout { grid-template-columns: 1fr; }
  .record-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .feature-block, .feature-block.flip, .film-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-block.flip .feature-gallery { order: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-grid::before { display: none; }
  .about-media .img-sub { right: 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .topbar-list .hide-sm, .topbar-tag { display: none; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9px; }
  .hero-progress { display: none; }
  .services-grid, .project-grid, .compliance-grid, .team-strip, .mv-grid { grid-template-columns: 1fr; }
  .project-card.wide { grid-column: auto; aspect-ratio: 4/4.6; }
  .stat { padding: 24px 14px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .tl-year { grid-template-columns: 1fr; gap: 12px; }
  .tl-year h3 { position: static; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-tag { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 92px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .process-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
