/* ==========================================================================
   AL MUSAAB Contracting — main stylesheet
   Brand: logo blue + cream, with a safety-amber accent.
   ========================================================================== */

/* Bundled fonts (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.woff") format("woff"); }

:root {
	--navy-950: #070f24;
	--navy-900: #0c1838;
	--navy-800: #13245a;
	--blue:     #2a43a6;
	--blue-500: #3553c4;
	--blue-100: #e6ebfb;
	--cream:    #f5eedb;
	--cream-50: #fbf8ef;
	--amber:    #f2a614;
	--amber-600:#d98f05;
	--ink:      #121a30;
	--body:     #3c4459;
	--muted:    #6a7187;
	--line:     #e4e1d6;
	--white:    #ffffff;

	--f-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--f-body: "Barlow", "Segoe UI", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 4px;
	--radius-lg: 10px;
	--shadow: 0 18px 40px -22px rgba(12, 24, 56, .45);
	--shadow-sm: 0 6px 18px -10px rgba(12, 24, 56, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
	--photo-fallback: repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 18px), linear-gradient(135deg, #13245a 0%, #2a43a6 100%);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; font-weight: 700; letter-spacing: .005em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--amber); color: var(--navy-900); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.am-ico { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Photo blocks — branded gradient shows if the image cannot load */
.am-photo {
	background-color: var(--navy-800);
	background-image: var(--photo-fallback);
	background-size: cover; background-position: center;
}

/* ---------- Typography helpers ---------- */
.eyebrow { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: 15px; color: var(--blue); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber); }
.eyebrow--light { color: var(--cream); }
.eyebrow .dot { display: none; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); text-transform: uppercase; letter-spacing: .01em; }
.h2--light { color: var(--white); }
.lead { font-size: 19px; color: var(--ink); line-height: 1.6; }
.on-dark { color: #c5cbe0; }
.small { font-size: 15px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); line-height: 1.1; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .am-ico { transition: transform .2s var(--ease); }
.btn:hover .am-ico { transform: translateX(3px); }
.btn--lg { padding: 16px 30px; font-size: 18px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--navy-800); color: var(--white); }
.btn--accent { background: var(--amber); color: var(--navy-900); }
.btn--accent:hover { background: #ffb829; color: var(--navy-900); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); border-bottom: 2px solid var(--amber); padding-bottom: 4px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #b7bfd9; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__right { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #b7bfd9; }
.topbar__item .am-ico { color: var(--amber); }
a.topbar__item:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(12,24,56,.45); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 60px; height: 60px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 27px; letter-spacing: .04em; color: var(--blue); }
.brand__sub { font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); position: relative; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav .menu > li:hover > a::after,
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current-menu-ancestor > a::after,
.main-nav .menu > li.current_page_item > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a::before { content: ""; order: 2; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 2px; }
.main-nav .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white); border-top: 3px solid var(--amber); box-shadow: var(--shadow); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); }
.main-nav .menu > li:hover > .sub-menu, .main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 22px; color: var(--body); font-size: 15.5px; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--cream-50); color: var(--blue); padding-left: 26px; }
.main-nav__cta-mobile { display: none; }
.site-header__cta { flex: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; margin-left: auto; }
.nav-toggle .am-ico { width: 30px; height: 30px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: var(--white); padding: clamp(70px, 10vw, 130px) 0 0; overflow: hidden; isolation: isolate; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; z-index: -3; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(7,15,36,.95) 0%, rgba(12,24,56,.86) 42%, rgba(19,36,90,.45) 100%), linear-gradient(0deg, rgba(7,15,36,.9) 0%, rgba(7,15,36,0) 35%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.hero__title { color: var(--white); font-size: clamp(46px, 7vw, 92px); text-transform: uppercase; line-height: .95; margin-bottom: 22px; letter-spacing: 0; }
.hero__title span, .hl { color: var(--amber); }
.h2:not(.h2--light) .hl, .page-hero__title .hl { color: var(--blue); }
.page-hero__title .hl { color: var(--amber); }
.lead p { margin-bottom: .7em; }
.stat:nth-child(4n) { border-right: 0; }
.hero__tagline { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--cream); font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hero__tagline i { width: 6px; height: 6px; background: var(--amber); transform: rotate(45deg); display: inline-block; }
.hero__text { max-width: 600px; font-size: 19px; color: #d3d8ea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__card { background: rgba(245,238,219,.08); border: 1px solid rgba(245,238,219,.22); backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: 28px 28px 18px; }
.hero__card-label { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .14em; color: var(--amber); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.hero__card ul { list-style: none; }
.hero__card li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--f-head); font-size: 21px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.hero__card li:last-child { border-bottom: 0; }
.hero__card .am-ico { width: 26px; height: 26px; color: var(--cream); }

.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); margin: clamp(56px, 7vw, 90px) 0 0; background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow); position: relative; }
.stat { padding: 28px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.stat:last-child { border-right: 0; }
.stat dd { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(42px, 5vw, 60px); line-height: 1; color: var(--blue); }
.stat dt { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--cream-50); }
.section--dark { background: var(--navy-900); color: #c5cbe0; overflow: hidden; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; max-width: 720px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__text { max-width: 720px; margin: 18px auto 0; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__media { position: relative; min-height: 540px; }
.intro__img { position: absolute; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.intro__img--a { inset: 0 18% 22% 0; }
.intro__img--b { inset: 46% 0 0 34%; border: 8px solid var(--white); }
.intro__badge { position: absolute; left: 6%; bottom: 4%; background: var(--amber); color: var(--navy-900); padding: 20px 22px; border-radius: var(--radius); font-family: var(--f-head); text-transform: uppercase; box-shadow: var(--shadow-sm); }
.intro__badge strong { display: block; font-size: 34px; line-height: .95; font-weight: 800; }
.intro__badge span { font-size: 13px; letter-spacing: .14em; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 30px; }
.chips li { background: var(--blue-100); color: var(--blue); padding: 6px 14px; border-radius: 40px; font-size: 14.5px; font-weight: 600; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--body); transition: transform .3s var(--ease), box-shadow .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--body); }
.svc-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card__img { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__img { transform: scale(1.06); }
.svc-card__num { position: absolute; top: 14px; right: 16px; font-family: var(--f-head); font-weight: 800; font-size: 40px; color: rgba(255,255,255,.9); line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.svc-card__body { padding: 0 26px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.svc-card__icon { width: 58px; height: 58px; border-radius: var(--radius); background: var(--blue); color: var(--white); display: grid; place-items: center; margin-top: -29px; margin-bottom: 18px; position: relative; box-shadow: var(--shadow-sm); transition: background .3s; }
.svc-card:hover .svc-card__icon { background: var(--amber); color: var(--navy-900); }
.svc-card__icon .am-ico { width: 30px; height: 30px; }
.svc-card__title { font-size: 26px; text-transform: uppercase; }
.svc-card p { font-size: 15.5px; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); text-transform: uppercase; font-weight: 600; letter-spacing: .1em; color: var(--blue); font-size: 15px; }

/* Why (dark) */
.why__pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.why__pattern::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(53,83,196,.45), transparent 65%); }
.why__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 36px; color: var(--white); font-size: 17.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1838' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks--dark li { color: var(--ink); }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 30px; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.07); border-color: rgba(242,166,20,.5); transform: translateY(-4px); }
.why-card:nth-child(2), .why-card:nth-child(4) { transform: translateY(28px); }
.why-card:nth-child(2):hover, .why-card:nth-child(4):hover { transform: translateY(24px); }
.why-card__icon { color: var(--amber); display: block; margin-bottom: 16px; }
.why-card__icon .am-ico { width: 38px; height: 38px; }
.why-card h3 { color: var(--white); font-size: 24px; text-transform: uppercase; }
.why-card p { font-size: 15.5px; margin: 0; }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 0; counter-reset: p; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.process__step { text-align: center; padding: 0 22px; position: relative; }
.process__n { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--white); border: 2px solid var(--blue); color: var(--blue); font-family: var(--f-head); font-weight: 800; font-size: 26px; position: relative; transition: background .3s, color .3s; }
.process__step:hover .process__n { background: var(--blue); color: var(--white); }
.process__step h3 { font-size: 24px; text-transform: uppercase; }
.process__step p { font-size: 15.5px; }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { position: relative; min-height: 280px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.sector-grid--lg .sector { min-height: 340px; }
.sector__img { position: absolute; inset: 0; z-index: -2; transition: transform .7s var(--ease); }
.sector:hover .sector__img { transform: scale(1.07); }
.sector__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,15,36,.92) 0%, rgba(7,15,36,.35) 55%, rgba(7,15,36,.1) 100%); }
.sector__body { padding: 26px 28px; }
.sector__body h3 { color: var(--white); font-size: 30px; text-transform: uppercase; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.sector__body h3::before { content: ""; width: 4px; height: 26px; background: var(--amber); }
.sector__body p { color: #cfd5e8; margin: 0; font-size: 15.5px; }

/* CTA band */
.cta-band { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px); }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--amber) 0 18px, var(--navy-900) 18px 36px); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 64px; padding-bottom: 72px; flex-wrap: wrap; }
.cta-band__title { color: var(--white); font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; margin-bottom: 8px; }
.cta-band__text { color: #dbe1f7; margin: 0; font-size: 18px; max-width: 620px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); color: var(--white); overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(7,15,36,.94) 0%, rgba(12,24,56,.8) 50%, rgba(19,36,90,.5) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--amber) 0 16px, var(--navy-900) 16px 32px); }
.page-hero__title { color: var(--white); font-size: clamp(44px, 6.5vw, 82px); text-transform: uppercase; max-width: 900px; line-height: .95; }
.page-hero__text { max-width: 680px; color: #d3d8ea; font-size: 19px; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: #a9b2cf; margin-bottom: 26px; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; flex-wrap: wrap; }
.crumbs a { color: var(--cream); }
.crumbs a:hover { color: var(--amber); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split__media { position: relative; padding-bottom: 60px; }
.split__img { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote-card { position: absolute; left: -40px; right: 40px; bottom: 0; background: var(--navy-900); color: #c5cbe0; padding: 28px 30px; border-radius: var(--radius-lg); border-left: 5px solid var(--amber); box-shadow: var(--shadow); }
.quote-card h3 { color: var(--white); text-transform: uppercase; font-size: 24px; }
.quote-card p { margin: 0; font-size: 15.5px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 48px); box-shadow: var(--shadow-sm); border-top: 4px solid var(--blue); }
.mv-card--dark { background: var(--navy-900); border-top-color: var(--amber); }
.mv-card__icon { display: block; color: var(--blue); margin-bottom: 18px; }
.mv-card--dark .mv-card__icon { color: var(--amber); }
.mv-card__icon .am-ico { width: 44px; height: 44px; }
.mv-card__text { font-family: var(--f-head); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; color: var(--ink); font-weight: 500; margin: 0; }
.mv-card--dark .mv-card__text { color: var(--white); }
.values { margin-top: 24px; background: var(--white); border-radius: var(--radius-lg); padding: 24px 32px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.values__label { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); margin: 0; }
.values ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; flex: 1; justify-content: space-between; }
.values li { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 24px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.values .am-ico { color: var(--amber); width: 26px; height: 26px; }

.commit-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.commit { padding: 36px 30px; border-right: 1px solid var(--line); transition: background .3s; }
.commit:last-child { border-right: 0; }
.commit:hover { background: var(--cream-50); }
.commit span { font-family: var(--f-head); font-weight: 800; font-size: 54px; color: var(--blue-100); display: block; line-height: 1; margin-bottom: 14px; -webkit-text-stroke: 1px var(--blue); }
.commit h3 { font-size: 28px; text-transform: uppercase; }
.commit p { margin: 0; font-size: 15.5px; }

.manpower { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.manpower__total { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.manpower__total strong { font-family: var(--f-head); font-size: 88px; line-height: .9; color: var(--amber); font-weight: 800; }
.manpower__total span { color: var(--white); font-size: 16px; line-height: 1.4; }
.manpower__table-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 10px 26px; }
.manpower__table { width: 100%; border-collapse: collapse; }
.manpower__table th, .manpower__table td { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; }
.manpower__table tr:last-child th, .manpower__table tr:last-child td { border-bottom: 0; }
.manpower__table thead th { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--amber); font-weight: 600; }
.manpower__table tbody th { color: var(--white); font-weight: 500; font-size: 16px; }
.manpower__table .num { text-align: right; width: 55%; }
.manpower__table .mp { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.manpower__table td b { font-family: var(--f-head); font-size: 22px; color: var(--white); min-width: 28px; text-align: right; }
.manpower__table .bar { height: 6px; border-radius: 6px; width: calc(var(--w) * .85); min-width: 6px; background: var(--blue-500); }
.manpower__table .disc-elv .bar { background: #6f8cff; }
.manpower__table .disc-gen .bar { background: var(--amber); }
.manpower__table .disc-mech .bar { background: #8fa6ec; }
.manpower__table .disc-elec .bar { background: #c9d3f6; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 34px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feature:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--cream); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.feature__icon .am-ico { width: 28px; height: 28px; }
.feature h3 { font-size: 25px; text-transform: uppercase; }
.feature p { margin: 0; font-size: 15.5px; }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px -18px rgba(12,24,56,.5); }
.admin-bar .svc-nav { top: calc(var(--header-h) + 32px); }
.svc-nav__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.svc-nav__inner::-webkit-scrollbar { display: none; }
.svc-nav a { display: flex; align-items: center; gap: 10px; padding: 18px 18px; white-space: nowrap; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--body); border-bottom: 3px solid transparent; font-size: 16px; }
.svc-nav a .am-ico { color: var(--blue); width: 22px; height: 22px; }
.svc-nav a:hover, .svc-nav a.is-active { color: var(--ink); border-bottom-color: var(--amber); }
html:has(.svc-nav) { scroll-padding-top: calc(var(--header-h) + 80px); }

.division__head { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: 48px; }
.division__head--flip .division__copy { order: 2; }
.division__media { position: relative; }
.division__img { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.division__icon { position: absolute; left: -22px; bottom: -22px; width: 84px; height: 84px; border-radius: var(--radius-lg); background: var(--amber); color: var(--navy-900); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.division__head--flip .division__icon { left: auto; right: -22px; }
.division__icon .am-ico { width: 42px; height: 42px; }
.groups { display: grid; gap: 22px; }
.groups--multi { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 22px; }
.section--tint .group { border-color: transparent; box-shadow: var(--shadow-sm); }
.group__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 24px; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.group__count { font-size: 14px; background: var(--cream); color: var(--navy-800); border-radius: 30px; padding: 3px 11px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.group__list { list-style: none; display: grid; gap: 2px; }
.groups--single .group__list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 30px; }
.group__list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--line); font-size: 16px; color: var(--ink); }
.group__list li:last-child { border-bottom: 0; }
.group__list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; background: var(--amber); transform: rotate(45deg); }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { background: var(--white); border: 1px solid var(--line); padding: 8px 18px; border-radius: 30px; font-weight: 600; color: var(--body); font-size: 15px; }
.filter.is-active, .filter:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--body); transition: transform .3s var(--ease), box-shadow .3s; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--body); }
.project-card.is-hidden { display: none; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 16px; top: 16px; background: var(--amber); color: var(--navy-900); padding: 4px 12px; border-radius: var(--radius); font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 13px; }
.project-card__body { padding: 22px 24px 26px; }
.project-card__body h3 { font-size: 25px; text-transform: uppercase; }
.project-card__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.project-card__body p:last-child { margin: 0; font-size: 15.5px; }
.portfolio-note { display: flex; align-items: center; gap: 26px; margin-top: 40px; padding: 30px 34px; background: var(--white); border: 2px dashed #cfcab8; border-radius: var(--radius-lg); flex-wrap: wrap; }
.portfolio-note__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); color: var(--blue); display: grid; place-items: center; flex: none; }
.portfolio-note__icon .am-ico { width: 30px; height: 30px; }
.portfolio-note > div { flex: 1; min-width: 240px; }
.portfolio-note h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 4px; }
.portfolio-note p { margin: 0; }
.project-single { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.project-facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--cream-50); border-radius: var(--radius-lg); padding: 28px; }
.project-facts dl { margin: 0 0 22px; }
.project-facts dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.project-facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.project-facts .footer-h { color: var(--ink); }
.prose { max-width: 820px; }
.prose img { height: auto; border-radius: var(--radius-lg); margin: 24px 0; }
.prose h2 { font-size: 34px; text-transform: uppercase; margin-top: 1.2em; }
.prose ul { padding-left: 20px; margin-bottom: 1.1em; }

/* ---------- HSE ---------- */
.policy-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.policy-strip span { border: 1px solid var(--line); padding: 6px 14px; border-radius: 30px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--cream-50); }
.safety-badge { position: absolute; right: -20px; bottom: 20px; display: flex; align-items: center; gap: 14px; background: var(--amber); color: var(--navy-900); padding: 20px 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.safety-badge .am-ico { width: 44px; height: 44px; }
.safety-badge strong { display: block; font-family: var(--f-head); text-transform: uppercase; font-size: 24px; line-height: 1; }
.safety-badge span { font-size: 14px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.focus { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 18px; overflow: hidden; transition: transform .3s var(--ease); }
.focus:hover { transform: translateY(-4px); }
.focus::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); transform: scaleY(0); transition: transform .3s var(--ease); }
.focus:hover::before { transform: scaleY(1); }
.focus__icon { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--navy-900); color: var(--amber); display: grid; place-items: center; }
.focus__icon .am-ico { width: 26px; height: 26px; }
.focus h3 { font-size: 23px; text-transform: uppercase; margin: 0; }
.focus__n { position: absolute; right: 18px; top: 12px; font-family: var(--f-head); font-weight: 800; font-size: 34px; color: var(--cream); line-height: 1; }
.quality { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 70px); align-items: center; }
.quality__card { display: flex; gap: 26px; align-items: flex-start; }
.quality__icon { width: 74px; height: 74px; flex: none; border-radius: var(--radius-lg); background: var(--blue); color: var(--white); display: grid; place-items: center; }
.quality__icon .am-ico { width: 38px; height: 38px; }
.quality__list { list-style: none; border-left: 3px solid var(--amber); }
.quality__list li { padding: 16px 0 16px 26px; border-bottom: 1px solid var(--line); }
.quality__list li:last-child { border-bottom: 0; }
.quality__list strong { display: block; font-family: var(--f-head); text-transform: uppercase; font-size: 22px; color: var(--ink); letter-spacing: .02em; }
.quality__list span { font-size: 15.5px; }

/* ---------- Careers ---------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role { display: flex; align-items: center; gap: 16px; padding: 22px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: background .3s, border-color .3s; }
.role:hover { background: var(--navy-900); border-color: var(--navy-900); }
.role:hover h3 { color: var(--white); }
.role__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--cream); color: var(--blue); display: grid; place-items: center; }
.role__icon .am-ico { width: 24px; height: 24px; }
.role h3 { font-size: 21px; text-transform: uppercase; margin: 0; transition: color .3s; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 5vw, 70px); align-items: start; }
.form-layout__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); border-top: 5px solid var(--blue); }
.am-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.req { color: #c2410c; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; width: 100%; padding: 13px 15px; border: 1px solid #d6d3c7; border-radius: var(--radius); background: var(--cream-50); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121a30' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,67,166,.15); background: var(--white); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 20px; border: 2px dashed #cfcab8; border-radius: var(--radius-lg); background: var(--cream-50); text-align: center; transition: border-color .2s, background .2s; }
.dropzone.is-over, .dropzone:hover { border-color: var(--blue); background: var(--blue-100); }
.dropzone .am-ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 6px; }
.dropzone__text { color: var(--ink); }
.dropzone__text strong { color: var(--blue); }
.dropzone__hint { font-size: 13.5px; color: var(--muted); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; }
.dropzone__list { font-size: 14px; color: var(--ink); font-weight: 600; margin-top: 6px; }
.am-form__note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 15.5px; }
.notice .am-ico { width: 24px; height: 24px; }
.notice--ok { background: #e7f6ec; color: #14532d; border-left: 4px solid #16a34a; }
.notice--err { background: #fdecea; color: #7f1d1d; border-left: 4px solid #dc2626; }
.tabs { display: flex; gap: 6px; background: var(--cream-50); padding: 6px; border-radius: var(--radius-lg); margin-bottom: 28px; }
.tab { flex: 1; border: 0; background: transparent; padding: 13px 16px; border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 17px; color: var(--muted); transition: background .2s, color .2s; }
.tab.is-active { background: var(--navy-900); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-intro { color: var(--muted); }
.anchor { display: block; position: relative; top: -140px; }
.hours { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 20px 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.hours .am-ico { width: 28px; height: 28px; color: var(--amber); }
.hours strong { display: block; color: var(--ink); font-family: var(--f-head); text-transform: uppercase; font-size: 20px; letter-spacing: .03em; }
.hours span { font-size: 15.5px; }

/* Contact */
.contact-cards-wrap { padding-bottom: 0; margin-top: -70px; z-index: 2; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px 26px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); border-bottom: 4px solid transparent; transition: border-color .3s, transform .3s var(--ease); min-width: 0; }
.contact-card:hover { border-bottom-color: var(--amber); transform: translateY(-4px); color: var(--ink); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card__icon .am-ico { width: 24px; height: 24px; }
.contact-card__label { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-card strong { font-size: 17.5px; overflow-wrap: anywhere; }
.contact-card a { color: var(--ink); }
.contact-card__sub { font-size: 15px; color: var(--muted) !important; overflow-wrap: anywhere; }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* 404 */
.notfound__inner { text-align: center; max-width: 640px; }
.notfound__code { font-family: var(--f-head); font-size: 160px; font-weight: 800; line-height: 1; color: var(--blue); margin: 0; -webkit-text-stroke: 2px var(--blue); color: transparent; }
.notfound .btn { margin: 6px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #a9b2cf; padding-top: 80px; font-size: 15.5px; overflow: hidden; }
.site-footer__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.site-footer__top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 44px; padding-bottom: 56px; }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__sub { color: #8b94b3; }
.site-footer .brand__mark { background: var(--white); border-radius: 50%; padding: 2px; }
.footer-tag { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; color: var(--amber); font-weight: 600; margin: 22px 0 10px; }
.footer-about { margin: 0; max-width: 360px; }
.footer-h { font-size: 18px; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 22px; font-weight: 600; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #a9b2cf; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; background: var(--amber); transform: rotate(45deg); opacity: .7; }
.footer-links a:hover { color: var(--white); }
.footer-contact { list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .am-ico { color: var(--amber); width: 20px; height: 20px; margin-top: 3px; }
.footer-contact a { color: #d3d8ea; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--white); }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float .am-ico { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .why-card.reveal.is-in:nth-child(2), .js .why-card.reveal.is-in:nth-child(4) { transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.site-header__cta { display: none; }
	.main-nav .menu > li > a { padding: 10px 10px; font-size: 16px; }
	.svc-grid { grid-template-columns: repeat(2, 1fr); }
	.roles { grid-template-columns: repeat(2, 1fr); }
	.contact-cards { grid-template-columns: repeat(2, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
	:root { --header-h: 74px; }
	.topbar { display: none; }
	.brand__mark { width: 52px; height: 52px; }
	.brand__name { font-size: 24px; }
	.nav-toggle { display: block; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
	.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 18px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); margin: 0; z-index: 59; }
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { padding: 16px 4px; font-size: 21px; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 12px 8px; min-width: 0; display: none; }
	.main-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.main-nav .menu-item-has-children > a { justify-content: space-between; }
	.main-nav .menu-item-has-children.is-open > a::before { transform: rotate(-135deg); }
	.main-nav .sub-menu a { padding: 9px 12px; font-size: 16.5px; }
	.main-nav__cta-mobile { display: flex; margin-top: 26px; width: 100%; }

	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__card { display: none; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

	.intro__grid, .why__grid, .split, .manpower, .quality, .form-layout, .project-single, .division__head { grid-template-columns: 1fr; }
	.division__head--flip .division__copy { order: 0; }
	.intro__media { min-height: 420px; }
	.form-layout__aside, .project-facts { position: static; }
	.quote-card { left: 20px; right: 20px; }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.process::before { display: none; }
	.sector-grid, .feature-grid, .focus-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
	.mv-grid { grid-template-columns: 1fr; }
	.commit-grid { grid-template-columns: repeat(2, 1fr); }
	.commit:nth-child(2) { border-right: 0; }
	.commit:nth-child(1), .commit:nth-child(2) { border-bottom: 1px solid var(--line); }
	.why-card:nth-child(2), .why-card:nth-child(4), .js .why-card.reveal.is-in:nth-child(2), .js .why-card.reveal.is-in:nth-child(4) { transform: none; }
	.safety-badge { right: 16px; }
	.division__icon { left: 16px; bottom: -22px; }
	.division__head--flip .division__icon { right: auto; left: 16px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.brand__sub { font-size: 10.5px; letter-spacing: .1em; }
	.hero__actions .btn { width: 100%; }
	.stat { padding: 20px 18px; }
	.svc-grid, .sector-grid, .feature-grid, .focus-grid, .project-grid, .roles, .contact-cards, .commit-grid, .why__cards { grid-template-columns: 1fr; }
	.commit { border-right: 0 !important; border-bottom: 1px solid var(--line); }
	.process { grid-template-columns: 1fr; }
	.am-form__grid { grid-template-columns: 1fr; }
	.intro__media { min-height: 340px; }
	.values ul { justify-content: flex-start; }
	.values li { font-size: 20px; }
	.cta-band__actions .btn { width: 100%; }
	.site-footer__top { grid-template-columns: 1fr; }
	.tabs { flex-direction: column; }
	.contact-cards-wrap { margin-top: -40px; }
	.manpower__total strong { font-size: 68px; }
	.manpower__table-wrap { padding: 6px 16px; }
	.quality__card { flex-direction: column; }
	.hero__tagline { font-size: 13.5px; }
}
.nav-open .wa-float { display: none; }

/* Footer credit */
.credit { display: inline-flex; align-items: center; gap: 6px; }
.credit__heart { width: 15px; height: 15px; fill: #e5484d; animation: heartBeat 1.6s ease-in-out infinite; }
.credit a { color: var(--white); font-weight: 600; border-bottom: 1px solid var(--amber); }
.credit a:hover { color: var(--amber); }
@keyframes heartBeat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.2); } }
.site-footer__bottom { padding-right: calc(var(--gutter) + 72px); }
@media (max-width: 640px) { .site-footer__bottom { padding-right: var(--gutter); padding-bottom: 96px; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.filters--gallery { justify-content: center; margin-bottom: 40px; }
.filters--gallery .filter span { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 20px; background: var(--cream); color: var(--navy-800); font-size: 12.5px; line-height: 20px; }
.filters--gallery .filter.is-active span { background: var(--amber); color: var(--navy-900); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); isolation: isolate; cursor: zoom-in; }
.gal-item.is-hidden { display: none; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,15,36,.85) 0%, rgba(7,15,36,0) 55%); opacity: 0; transition: opacity .3s; }
.gal-item__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: var(--white); font-size: 14.5px; font-weight: 600; line-height: 1.3; transform: translateY(8px); opacity: 0; transition: .3s var(--ease); }
.gal-item__zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--navy-900); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: .3s var(--ease); }
.gal-item__zoom .am-ico { width: 20px; height: 20px; }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.07); }
.gal-item:hover::after, .gal-item:focus-visible::after { opacity: 1; }
.gal-item:hover .gal-item__cap, .gal-item:focus-visible .gal-item__cap { transform: none; opacity: 1; }
.gal-item:hover .gal-item__zoom, .gal-item:focus-visible .gal-item__zoom { transform: none; opacity: 1; }
@media (hover: none) { .gal-item::after { opacity: .9; } .gal-item__cap { opacity: 1; transform: none; font-size: 13px; } }

/* Photo strip under each service division */
.div-gallery { margin-top: 30px; }
.div-gallery__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.div-gallery__title { display: flex; align-items: center; gap: 10px; font-size: 22px; text-transform: uppercase; margin: 0; }
.div-gallery__title .am-ico { color: var(--amber); }
.div-gallery__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.div-gallery__strip .gal-item__cap { font-size: 13px; left: 12px; right: 12px; bottom: 10px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(5,10,24,.96); display: none; align-items: center; justify-content: center; padding: 70px 80px 30px; }
.lb.is-open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-open, .lb-open body { overflow: hidden; }
.lb__stage { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lb__img { max-width: 100%; max-height: calc(100% - 50px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); transition: opacity .25s; user-select: none; }
.lb.is-loading .lb__img { opacity: .25; }
.lb__cap { color: var(--white); font-size: 16px; margin-top: 16px; text-align: center; min-height: 24px; }
.lb__top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: #a9b2cf; font-size: 14px; }
.lb__count { font-family: var(--f-head); font-weight: 600; letter-spacing: .1em; color: var(--white); font-size: 17px; }
.lb__cat { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: var(--amber); font-weight: 600; }
.lb__btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--white); border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lb__btn:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-900); }
.lb__btn svg { width: 24px; height: 24px; }
.lb__close { margin-left: auto; width: 46px; height: 46px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; }
.lb__prev { left: 14px; }
.lb__next { right: 14px; }
.lb.is-single .lb__nav { display: none; }

@media (max-width: 1100px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } .div-gallery__strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
	.gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.div-gallery__strip { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.div-gallery__strip .gal-item__cap { display: none; }
	.filters--gallery { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
	.filters--gallery .filter { white-space: nowrap; flex: none; }
	.lb { padding: 64px 8px 24px; }
	.lb__nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
	.lb__prev { left: calc(50% - 60px); } .lb__next { right: calc(50% - 60px); }
	.lb__img { max-height: calc(100% - 120px); }
	.lb__cap { font-size: 14px; padding: 0 12px; }
}
@media (max-width: 1400px) and (min-width: 981px) {
	.site-header__cta { display: none; }
	.main-nav .menu > li > a { padding: 10px 9px; font-size: 16px; letter-spacing: .06em; }
}
