/* ==========================================================================
   Muaz Technical Solutions — main stylesheet
   ========================================================================== */

:root {
	--navy-950: #050f1e;
	--navy-900: #061426;
	--navy-850: #071d38;
	--navy-800: #0b1f34;
	--brand: #062c69;
	--brand-600: #0a3d8f;
	--blue: #2f6fe0;
	--sky: #9cc3ff;
	--sky-300: #c4dbff;
	--gold: #c9a24a;
	--ink: #102235;
	--muted: #5a6b7e;
	--line: #e2e8f0;
	--surface: #f4f7fb;
	--white: #fff;
	--green: #25d366;

	--font-head: "Manrope", "DM Sans", Arial, sans-serif;
	--font-body: "DM Sans", Arial, sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 18px;
	--radius-sm: 12px;
	--header-h: 84px;

	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.77, 0, .18, 1);
	--shadow-sm: 0 1px 2px rgba(16, 34, 53, .06), 0 2px 8px rgba(16, 34, 53, .05);
	--shadow-lg: 0 24px 60px -20px rgba(6, 28, 64, .28), 0 8px 20px -8px rgba(6, 28, 64, .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 140px); }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--brand-600); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); transform-origin: left; transition: transform 1s var(--ease-out) .2s; }
.js [data-reveal].eyebrow:not(.is-in)::before { transform: scaleX(0); }
.eyebrow--light { color: var(--sky-300); }

.section-title { font-size: clamp(34px, 4.6vw, 58px); color: var(--ink); }
.section-title--light { color: #fff; }
.section-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 54ch; }
.section-lead--light { color: rgba(226, 236, 250, .74); }

.section-title + .section-lead { margin-top: 22px; }
.section-head .section-title + .section-lead { margin-top: 0; }
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head--split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 64px; align-items: end; }
.section-head--split .section-lead { margin-bottom: 6px; }
.section-head--center { text-align: center; max-width: 780px; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.accent-word {
	background: linear-gradient(100deg, var(--sky) 0%, #e8f1ff 35%, var(--sky) 55%, #6ea3ff 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--ink); --fg: #fff; --bd: transparent;
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 26px;
	font-weight: 600; font-size: 16px; letter-spacing: -.005em;
	color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 4px;
	transition: color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
	will-change: transform;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--fill, var(--brand));
	transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .icon { transition: transform .45s var(--ease-out); }
.btn:hover .icon { transform: translate(3px, -3px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--sky-300); }
.btn--light:hover { box-shadow: 0 14px 40px -12px rgba(156, 195, 255, .55); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); --fill: #fff; }
.btn--outline-light:hover { --fg: var(--ink); color: var(--ink); border-color: #fff; }
.btn--ghost { --bg: rgba(255, 255, 255, .02); --fg: #fff; --bd: rgba(255, 255, 255, .4); --fill: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--dark { --bg: var(--brand); --fg: #fff; --fill: var(--navy-850); }
.btn--dark:hover { box-shadow: 0 16px 36px -14px rgba(6, 44, 105, .6); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: #c9d3e0; --fill: var(--ink); }
.btn--outline:hover { color: #fff; border-color: var(--ink); }
.btn--outline:hover .icon { transform: translateY(2px); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 15.5px; color: var(--brand-600);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	padding-bottom: 4px; transition: background-size .5s var(--ease-out), gap .4s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; gap: 14px; }
.link-arrow--light { color: var(--sky-300); margin-top: 18px; }

/* ---------- Page curtain (load + page transitions) ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 400; pointer-events: none; display: none; }
.js .page-curtain { display: block; }
.page-curtain__panel {
	position: absolute; inset: 0; background: var(--navy-900);
	transform: scaleY(1); transform-origin: 50% 0;
	transition: transform .85s var(--ease-in-out);
}
.page-curtain__panel:first-child { background: var(--brand); }
.page-curtain__logo {
	position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
	border-radius: 50%; background: #fff; padding: 6px;
	animation: curtain-spin 1.6s linear infinite;
	transition: opacity .35s ease, transform .5s var(--ease-out);
}
@keyframes curtain-spin { to { rotate: 360deg; } }
.is-ready .page-curtain__panel { transform: scaleY(0); }
.is-ready .page-curtain__panel:first-child { transition-delay: .12s; }
.is-ready .page-curtain__logo { opacity: 0; transform: scale(.6); }
.is-leaving .page-curtain { pointer-events: auto; }
.is-leaving .page-curtain__panel { transform: scaleY(1); transform-origin: 50% 100%; transition-duration: .6s; }
.is-leaving .page-curtain__panel:first-child { transition-delay: 0s; }
.is-leaving .page-curtain__panel:last-of-type { transition-delay: .08s; }
.is-leaving .page-curtain__logo { opacity: 1; transform: none; transition-delay: .3s; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--sky)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; color: #fff;
	transition: transform .5s var(--ease-out), background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255, 255, 255, .12); transition: opacity .4s; }
.site-header.is-scrolled { background: rgba(6, 20, 38, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.site-header.is-scrolled::after { opacity: .5; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .4s var(--ease-out); }
.is-scrolled .site-header__inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .8s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-60deg); }
.brand__mark img { border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; }
.brand__text small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-top: 3px; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
	position: relative; display: block; padding: 8px 12px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .82);
	transition: color .3s;
}
.main-nav a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.main-nav a:hover, .main-nav a.is-current { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); z-index: 110; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 105; color: #fff;
	background: radial-gradient(120% 80% at 100% 0%, #0d3a80 0%, var(--navy-900) 55%);
	padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
	clip-path: circle(0 at calc(100% - 46px) 42px);
	transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
	visibility: hidden; overflow-y: auto;
}
.mobile-menu[hidden] { display: flex; }
.nav-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
.mobile-menu ol li, .mobile-menu__foot { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease-out); }
.nav-open .mobile-menu ol li, .nav-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .05s); }
.mobile-menu ol a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 7vw, 40px); letter-spacing: -.02em; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu ol a span { font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.mobile-menu__foot { display: grid; gap: 14px; color: rgba(255, 255, 255, .75); }
.mobile-menu__foot .btn { justify-self: start; }
.nav-open { overflow: hidden; }
.nav-open .site-header { z-index: 110; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; color: #fff; background: var(--navy-900);
	min-height: clamp(720px, 100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: calc(var(--header-h) + 40px); overflow: hidden;
}
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media picture, .page-hero__media picture { position: absolute; inset: -6% 0; animation: kenburns 2.4s var(--ease-out) both; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 60% 40%); will-change: transform; }
@keyframes kenburns { from { transform: scale(1.14); filter: blur(4px); } to { transform: scale(1); filter: blur(0); } }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(6, 20, 38, .96) 0%, rgba(6, 20, 38, .86) 34%, rgba(6, 20, 38, .35) 64%, rgba(6, 20, 38, .1) 100%),
		linear-gradient(0deg, rgba(6, 20, 38, .95) 0%, rgba(6, 20, 38, 0) 40%),
		linear-gradient(180deg, rgba(6, 20, 38, .7) 0%, rgba(6, 20, 38, 0) 22%);
}
.hero__grid {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: linear-gradient(rgba(156, 195, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 195, 255, .07) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(70% 70% at 20% 50%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 70% at 20% 50%, #000 0%, transparent 75%);
	animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift { to { background-position: 72px 72px; } }

.hero__content { position: relative; padding-bottom: 56px; }
.hero__title, .page-hero__title { font-size: clamp(42px, 5.3vw, 78px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 28px; }
@media (min-width: 701px) { .hero__title .line > span { white-space: nowrap; } }
.hero__title .line, .page-hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span, .page-hero__title .line > span { display: inline-block; }
.js .hero__title .line > span, .js .page-hero__title .line > span { transform: translateY(105%) rotate(2deg); transition: transform 1.1s var(--ease-out); }
.js.is-ready .hero__title .line > span, .js.is-ready .page-hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span, .page-hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__title .line:nth-child(3) > span, .page-hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(226, 236, 250, .82); max-width: 50ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
	position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center;
	border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 26px 34px;
}
.stat { padding-right: 24px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.stat > span { font-size: 14.5px; color: rgba(226, 236, 250, .68); }
.hero__scroll { width: 30px; height: 48px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .4); position: relative; justify-self: end; margin-left: 24px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-cue 2s var(--ease-out) infinite; }
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

.hero__readout {
	position: absolute; right: var(--gutter); top: 42%; z-index: 2;
	display: flex; align-items: center; gap: 18px; padding: 18px 22px 18px 18px;
	background: rgba(8, 26, 52, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
	animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -10px; } }
.readout__dial { position: relative; width: 78px; height: 78px; }
.readout__dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.readout__dial circle { fill: none; stroke-width: 8; }
.dial__track { stroke: rgba(255, 255, 255, .12); }
.dial__value { stroke: var(--sky); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 2.2s var(--ease-out) 1.2s; }
.is-ready .dial__value { stroke-dashoffset: 6; }
.readout__num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.readout__num small { font-size: 10px; margin-left: 1px; }
.readout__num > span { display: inline; }
.readout__meta { display: grid; gap: 2px; font-size: 13px; color: rgba(226, 236, 250, .7); }
.readout__meta strong { font-family: var(--font-head); font-size: 17px; color: #fff; }
.readout__label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s infinite; display: inline-block; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* ---------- Signal bar (marquee) ---------- */
.signal-bar { background: var(--brand); color: #fff; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); }
.marquee { display: flex; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; animation: marquee 38s linear infinite; }
.signal-bar:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li { display: flex; align-items: center; gap: 44px; padding: 24px 44px 24px 0; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.marquee__group li::after { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Spotlight hover (shared) ---------- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(47, 111, 224, .1)), transparent 60%);
	transition: opacity .4s;
}
.spotlight:hover::before { opacity: 1; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); z-index: 2; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #cfdcf0; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__media { position: relative; height: 230px; overflow: hidden; background: var(--navy-850); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.9); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 38, .05) 30%, rgba(6, 20, 38, .75)); }
.service-card:hover .service-card__media img { transform: scale(1.08); filter: saturate(1.05); }
.service-card__icon { position: absolute; z-index: 1; left: 24px; bottom: -1px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px 16px 0 0; background: #fff; color: var(--brand); transition: background .5s, color .5s; }
.service-card__icon .icon { width: 28px; height: 28px; transition: transform .7s var(--ease-out); }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card:hover .service-card__icon .icon { transform: rotate(-12deg) scale(1.08); }
.service-card__num { position: absolute; z-index: 1; right: 22px; bottom: 14px; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .7); letter-spacing: -.03em; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.service-card h3 { font-size: 24px; margin-bottom: 12px; }
.service-card__body > p { color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 10px; margin: 8px 0 28px; padding-top: 20px; border-top: 1px dashed var(--line); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.check-list .icon { color: var(--blue); margin-top: 4px; width: 16px; height: 16px; }
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Capabilities ---------- */
.capabilities { position: relative; overflow: hidden; background: var(--navy-850); color: #fff; padding-block: clamp(80px, 11vw, 140px); }
.capabilities__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 224, .28), transparent 65%); filter: blur(10px); animation: glow 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-280px, 380px) scale(1.15); } }
.cap-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card {
	--spot: rgba(156, 195, 255, .12);
	display: flex; flex-direction: column; padding: 26px 24px 22px;
	background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius);
	transition: border-color .4s, transform .6s var(--ease-out), background .4s;
}
.cap-card:hover { border-color: rgba(156, 195, 255, .4); transform: translateY(-6px); background: rgba(255, 255, 255, .055); }
.cap-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cap-card__code { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .16em; padding: 6px 10px; border-radius: 6px; background: rgba(156, 195, 255, .12); color: var(--sky-300); }
.cap-card__icon { color: var(--sky); opacity: .8; transition: transform .7s var(--ease-out); }
.cap-card__icon .icon { width: 26px; height: 26px; }
.cap-card:hover .cap-card__icon { transform: rotate(-12deg) scale(1.12); }
.cap-card h3 { font-size: 20px; margin-bottom: 14px; }
.cap-card ul { display: grid; gap: 7px; font-size: 14.5px; color: rgba(226, 236, 250, .72); margin-bottom: 20px; }
.cap-card li { position: relative; padding-left: 16px; }
.cap-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1.5px; background: var(--gold); }
.cap-card__count { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(226, 236, 250, .45); }

/* ---------- Industries ---------- */
.industries { position: relative; isolation: isolate; color: #fff; padding-block: clamp(80px, 10vw, 130px); background: var(--navy-900); overflow: hidden; }
.industries__bg { position: absolute; inset: 0; z-index: -1; }
.industries__bg picture { position: absolute; inset: -8% 0; }
.industries__bg img { width: 100%; height: 100%; object-fit: cover; }
.industries__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 20, 38, .97) 0%, rgba(6, 20, 38, .9) 40%, rgba(8, 40, 92, .78) 100%); }
.industries__inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.industries__intro .btn { margin-top: 32px; }
.industry-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-tile a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 255, 255, .12); }
.industry-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.industry-tile a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 20, 38, .1) 20%, rgba(6, 20, 38, .92)); transition: background .5s; }
.industry-tile a:hover img { transform: scale(1.1); }
.industry-tile a:hover::before { background: linear-gradient(180deg, rgba(10, 61, 143, .25) 0%, rgba(6, 20, 38, .95)); }
.industry-tile__num { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.industry-tile__name { position: absolute; left: 16px; right: 16px; bottom: 16px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; line-height: 1.25; transition: transform .5s var(--ease-out); }
.industry-tile a:hover .industry-tile__name { transform: translateY(-4px); }

/* ---------- Timeline (approach / process) ---------- */
.approach--tinted { background: var(--surface); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline--5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.timeline__rail { position: absolute; left: 36px; right: 36px; top: 35px; height: 2px; background: var(--line); grid-column: 1 / -1; }
.timeline__rail span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--sky)); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.step { position: relative; }
.step__node {
	position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
	background: #fff; border: 1.5px solid var(--line); color: var(--muted); margin-bottom: 26px;
	transition: background .6s var(--ease-out), color .6s, border-color .6s, box-shadow .6s, transform .6s var(--ease-out);
}
.step__node .icon { width: 28px; height: 28px; }
.step.is-active .step__node { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 8px rgba(47, 111, 224, .12); }
.step:hover .step__node { transform: scale(1.08); }
.step__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--gold); margin-bottom: 8px; }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--navy-800); color: #fff; overflow: hidden; }
.about__visual { position: relative; min-height: 560px; background: linear-gradient(150deg, var(--brand-600), var(--brand) 60%, #04214f); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); overflow: hidden; }
.about__visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(160deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(160deg, #000, transparent 80%); }
.about__photo { position: absolute; inset: 0; overflow: hidden; }
.about__photo picture { position: absolute; inset: -6% 0; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; mix-blend-mode: luminosity; opacity: .55; }
.about__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 61, 143, .55), rgba(4, 33, 79, .85)); pointer-events: none; }
.about__word, .about__gear { z-index: 1; }
.about__content .link-arrow { margin-top: 28px; }
.about__word { position: absolute; left: -2%; bottom: -4%; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: clamp(160px, 20vw, 300px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); }
.about__gear { position: absolute; left: 50%; top: 50%; width: clamp(150px, 16vw, 220px); aspect-ratio: 1; translate: -60% -50%; border-radius: 50%; background: #fff; padding: 10px; box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 30px rgba(255, 255, 255, .04), 0 40px 80px -20px rgba(0, 0, 0, .5); }
.about__gear img { border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__content { padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(64px, 9vw, 120px) clamp(32px, 5vw, 72px); max-width: 720px; }
.about__content .section-title { margin-bottom: 24px; font-size: clamp(34px, 4vw, 52px); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pillars li { display: flex; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: rgba(226, 236, 250, .65); font-size: 14.5px; }
.pillars strong { display: block; color: #fff; font-size: 16.5px; font-family: var(--font-head); }
.pillars__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(156, 195, 255, .1); color: var(--sky); flex: none; }

/* ---------- Certification ---------- */
.certification { background: radial-gradient(60% 60% at 0% 50%, #eef4fd 0%, #fff 70%); }
.certification__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.cert-visual { position: relative; perspective: 1200px; }
.cert-frame {
	position: relative; display: block; width: 100%; max-width: 460px; margin-inline: auto; border-radius: 10px; overflow: hidden;
	background: #fff; padding: 14px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
	transition: transform .6s var(--ease-out), box-shadow .6s; cursor: zoom-in;
}
.cert-frame img { border-radius: 4px; }
.cert-frame__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 62%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s var(--ease-out); pointer-events: none; }
.cert-frame:hover .cert-frame__shine { background-position: -20% 0; }
.cert-frame__zoom { position: absolute; left: 50%; bottom: 26px; translate: -50% 12px; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 40px; background: rgba(6, 20, 38, .86); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transition: opacity .4s, translate .5s var(--ease-out); }
.cert-frame:hover .cert-frame__zoom, .cert-frame:focus-visible .cert-frame__zoom { opacity: 1; translate: -50% 0; }
.cert-seal { position: absolute; right: max(0px, calc(50% - 290px)); top: -36px; width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 20px 40px -14px rgba(6, 44, 105, .6); }
.cert-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.cert-seal text { fill: #fff; font-size: 8.6px; font-weight: 700; letter-spacing: 1.6px; font-family: var(--font-head); }
.cert-seal > .icon { width: 36px; height: 36px; color: var(--gold); }
.cert-title { font-size: clamp(56px, 8vw, 104px); letter-spacing: -.05em; color: var(--brand); line-height: .95; margin-bottom: 8px; }
.cert-title small { font-size: .32em; letter-spacing: .02em; vertical-align: .9em; color: var(--ink); margin-right: 4px; }
.cert-sub { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 18px !important; }
.cert-body > p:not(.eyebrow):not(.cert-sub) { color: var(--muted); }
.cert-details { 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: 28px 0 22px; }
.cert-details > div { background: #fff; padding: 16px 20px; transition: background .3s; }
.cert-details > div:hover { background: #f5f9ff; }
.cert-details__wide { grid-column: 1 / -1; }
.cert-details dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cert-details dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.cert-scope { font-size: 15px; padding: 16px 18px; border-left: 3px solid var(--gold); background: #faf7ef; border-radius: 0 8px 8px 0; }
.cert-scope strong { color: var(--ink); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(5, 15, 30, .88); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.lightbox[hidden] { display: grid; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .45s; }
.lightbox__figure { margin: 0; max-width: min(640px, 92vw); transform: translateY(30px) scale(.94); transition: transform .6s var(--ease-out); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__figure img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 6px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.lightbox__figure figcaption { text-align: center; color: rgba(255, 255, 255, .75); font-size: 14px; margin-top: 14px; }
.lightbox__figure a { color: var(--sky); text-decoration: underline; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s, transform .5s var(--ease-out); }
.lightbox__close:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }

/* ---------- Contact ---------- */
.contact { position: relative; background: #fff; }
.contact__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__intro .section-title { font-size: clamp(32px, 4vw, 52px); margin-bottom: 22px; }
.contact-cards { display: grid; gap: 12px; margin: 36px 0 24px; }
.contact-card {
	display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
	padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
	transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s;
}
.contact-card:hover { border-color: #c4d4ee; transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-card small { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card strong { font-family: var(--font-head); font-size: 18px; }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eaf1fd; color: var(--brand); }
.contact-card__icon--wa { background: #e7f9ee; color: #12a150; }
.contact-card__go { color: var(--muted); transition: transform .5s var(--ease-out), color .3s; }
.contact-card:hover .contact-card__go { transform: translate(3px, -3px); color: var(--brand); }
.contact__region { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.contact__region .icon { color: var(--gold); }

.enquiry-form { position: relative; padding: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.enquiry-form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(47, 111, 224, .5), transparent 40%, transparent 60%, rgba(201, 162, 74, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.enquiry-form__head { margin-bottom: 26px; }
.enquiry-form__head h3 { font-size: 26px; margin-bottom: 6px; }
.enquiry-form__head p { color: var(--muted); font-size: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	padding: 26px 16px 10px; background: #fff; border: 1px solid #d5dee9; border-radius: 10px;
	transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; padding-top: 30px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease-out), color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 34px); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 111, 224, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-11px) scale(.76); color: var(--brand-600); }
.field--select::after { content: ""; position: absolute; right: 18px; top: 26px; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d14343; box-shadow: 0 0 0 4px rgba(209, 67, 67, .1); }
.field.is-invalid { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.enquiry-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.enquiry-form__foot p { font-size: 14px; color: var(--muted); }
.enquiry-form__foot a { color: var(--brand-600); font-weight: 600; }
.btn--submit .btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn--submit.is-loading .btn__spinner { display: block; }
.btn--submit.is-loading .icon { display: none; }
.form-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; animation: note-in .7s var(--ease-out); }
.form-note--success { background: #e9f8ef; color: #135c32; border: 1px solid #bfe8cf; }
.form-note--error { background: #fdeeee; color: #8a1f1f; border: 1px solid #f3c7c7; }
.form-note .icon { margin-top: 3px; }
@keyframes note-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-900); color: rgba(226, 236, 250, .7); padding-top: 80px; font-size: 15.5px; }
.site-footer__top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { max-width: 36ch; margin: 20px 0; }
.brand--footer { color: #fff; }
.iso-badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 40px; border: 1px solid rgba(201, 162, 74, .45); color: #e7cf94; font-size: 13px; font-weight: 600; }
.site-footer h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 700; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer__col a { position: relative; transition: color .3s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; align-items: center; }
.site-footer__contact .icon { color: var(--sky); }
.site-footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(226, 236, 250, .5); }
.site-footer__word { position: absolute; left: 50%; bottom: -0.28em; translate: -50% 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(120px, 24vw, 360px); letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(156, 195, 255, .08); pointer-events: none; user-select: none; white-space: nowrap; }

/* ---------- Floating buttons ---------- */
.whatsapp-fab {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px;
	background: var(--green); color: #fff; font-weight: 700; font-size: 15px; border-radius: 40px;
	box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65);
	transition: transform .5s var(--ease-out), box-shadow .4s;
}
.whatsapp-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-fab .icon { width: 22px; height: 22px; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2.5; }
.to-top__track { stroke: var(--line); }
.to-top__ring { stroke: var(--brand); stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); stroke-linecap: round; }
.to-top__arrow { transform: rotate(-90deg); width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.to-top:hover .to-top__arrow { transform: rotate(-90deg) translateX(3px); }

/* ==========================================================================
   Calibration page
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(120px, 14vw, 170px); overflow: hidden; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 38, .95) 0%, rgba(6, 20, 38, .8) 42%, rgba(6, 20, 38, .32) 100%), linear-gradient(0deg, rgba(6, 20, 38, .85), transparent 40%); }
.page-hero__inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: end; }
.page-hero__title { font-size: clamp(38px, 5.2vw, 72px); max-width: 17ch; }
.page-hero__title--sm { font-size: clamp(36px, 5vw, 64px); }
.page-hero--compact { padding-bottom: clamp(64px, 8vw, 96px); background: radial-gradient(90% 120% at 100% 0%, #0d3a80, var(--navy-900) 60%); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(226, 236, 250, .6); margin-bottom: 26px; }
.crumbs a { color: #fff; transition: color .3s; }
.crumbs a:hover { color: var(--sky); }

.support-card { padding: 28px; border-radius: var(--radius); background: rgba(8, 26, 52, .6); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.support-card__label { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-300); font-weight: 700; margin-bottom: 18px !important; }
.support-card ul { display: grid; gap: 12px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.support-card li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.support-card li .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(156, 195, 255, .16); color: var(--sky); }
.support-card__note { font-size: 14px; color: rgba(226, 236, 250, .65); }

.benefits { position: relative; z-index: 2; margin-top: clamp(-90px, -8vw, -60px); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.benefit { position: relative; display: grid; gap: 14px; padding: 30px 28px; transition: background .4s; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit:hover { background: #f6f9fe; }
.benefit__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #eaf1fd; color: var(--brand); transition: transform .6s var(--ease-out), background .4s, color .4s; }
.benefit:hover .benefit__icon { transform: translateY(-4px) rotate(-6deg); background: var(--brand); color: #fff; }
.benefit__num { position: absolute; top: 28px; right: 26px; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.benefit strong { font-family: var(--font-head); font-size: 19px; line-height: 1.3; }

.scope-filter { display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 20px; margin-bottom: 28px; background: #fff; border: 1px solid #d5dee9; border-radius: 60px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s; max-width: 640px; }
.scope-filter:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 111, 224, .12); }
.scope-filter > .icon { color: var(--muted); }
.scope-filter input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 16px; padding: 12px 0; background: none; color: var(--ink); }
.scope-filter input:focus { outline: none; }
.scope-filter__count { font-size: 13px; font-weight: 600; color: var(--brand-600); padding: 8px 14px; border-radius: 40px; background: #eaf1fd; white-space: nowrap; }
.scope-filter__count:empty { display: none; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scope-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .6s var(--ease-out), box-shadow .6s, border-color .4s, opacity .4s; }
.scope-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfdcf0; }
.scope-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.scope-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(140deg, var(--brand-600), var(--brand)); color: #fff; box-shadow: 0 10px 20px -10px rgba(6, 44, 105, .7); transition: transform .7s var(--ease-out); }
.scope-card:hover .scope-card__icon { transform: rotate(-10deg) scale(1.06); }
.scope-card__num { font-family: var(--font-head); font-weight: 800; font-size: 36px; color: transparent; -webkit-text-stroke: 1.2px #c8d4e5; }
.scope-card h3 { font-size: 21px; margin-bottom: 14px; }
.scope-card ul { display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.scope-card li { position: relative; padding-left: 18px; transition: color .3s; }
.scope-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; border: 1.5px solid var(--blue); transform: rotate(45deg); }
.scope-card li mark { background: #fff1c7; color: var(--ink); border-radius: 3px; padding: 0 2px; }
.scope-card.is-filtered-out { display: none; }
.scope-card.is-match li.is-hit { color: var(--ink); font-weight: 600; }
.scope-empty { padding: 22px; border: 1px dashed #c9d3e0; border-radius: var(--radius-sm); color: var(--muted); }
.scope-empty a { color: var(--brand-600); font-weight: 700; }
.fineprint { margin-top: 28px; font-size: 14.5px; color: var(--muted); }

.docs-band { position: relative; overflow: hidden; color: #fff; padding-block: clamp(80px, 10vw, 128px); background: linear-gradient(120deg, var(--navy-900), #0a2e66 70%, #0b3d8a); }
.docs-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 90px); }
.docs-band__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.report-mock { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); transform: rotate(1.5deg); transition: transform .8s var(--ease-out); }
.report-mock:hover { transform: rotate(0); }
.report-mock::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -12px; height: 24px; background: rgba(255, 255, 255, .4); border-radius: 0 0 var(--radius) var(--radius); z-index: -1; }
.report-mock__head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.report-mock__head strong { display: block; font-family: var(--font-head); font-size: 18px; }
.report-mock__head small { color: var(--muted); font-size: 13px; }
.report-mock__doc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eaf1fd; color: var(--brand); }
.report-mock ol li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-weight: 500; font-size: 15.5px; }
.report-mock ol li:last-child { border-bottom: 0; }
.report-mock ol li span { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.report-mock ol li .icon { color: #12a150; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e7f9ee; transform: scale(0); transition: transform .5s var(--ease-out) calc(var(--d, 0s) + .35s); }
.report-mock ol li.is-in .icon, .no-js .report-mock ol li .icon { transform: scale(1); }

.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin-inline: auto; }
.chip-cloud li { padding: 13px 22px; border: 1px solid var(--line); border-radius: 60px; font-weight: 600; font-size: 15.5px; background: #fff; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease-out), box-shadow .4s; cursor: default; }
.chip-cloud li:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 14px 26px -14px rgba(6, 44, 105, .6); }

.why__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.why__inner .section-title { margin-bottom: 24px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-grid li { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid transparent; font-weight: 600; line-height: 1.4; transition: border-color .4s, background .4s, transform .5s var(--ease-out); }
.why-grid li:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.why-grid li > span { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.cta-band { padding-bottom: clamp(32px, 4vw, 48px); }
.cta-band__inner {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
	padding: clamp(40px, 5vw, 64px); border-radius: 26px; color: #fff;
	background: linear-gradient(120deg, var(--brand) 0%, var(--brand-600) 55%, #1a5cc8 100%);
}
.cta-band__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 100% at 100% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 100% at 100% 50%, #000, transparent); animation: grid-drift 20s linear infinite; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: rgba(226, 236, 250, .8); max-width: 56ch; }
.cta-band__actions { display: grid; gap: 16px; justify-items: start; }
.cta-band__mail { display: inline-flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .85); font-weight: 600; transition: color .3s; }
.cta-band__mail:hover { color: #fff; }

/* ---------- Generic pages ---------- */
.prose { max-width: 820px; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose a { color: var(--brand-600); text-decoration: underline; }
.prose img { border-radius: var(--radius-sm); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero--solo .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
.page-hero--solo .page-hero__title { max-width: 18ch; }
.page-hero__media picture { inset: -8% 0; }
.approach__more { text-align: center; margin-top: 56px; }
.step__out { margin-top: 14px; padding: 12px 14px; font-size: 14.5px !important; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.step__out strong { color: var(--brand-600); }

/* Jump card (services hero) */
.jump-card ol { display: grid; gap: 6px; }
.jump-card a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background .35s; }
.jump-card a:hover { background: rgba(255, 255, 255, .07); }
.jump-card a small { display: block; font-size: 11px; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.jump-card a > span:nth-child(2) { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.jump-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(156, 195, 255, .14); color: var(--sky); }
.jump-card__go { color: rgba(255, 255, 255, .5); transition: transform .4s var(--ease-out), color .3s; }
.jump-card a:hover .jump-card__go { transform: translateX(4px); color: #fff; }

/* Feature split (services page) */
.feature { scroll-margin-top: var(--header-h); }
.feature--flip { background: var(--surface); }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; padding-bottom: 56px; }
.feature__photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.feature__photo picture { position: absolute; inset: -6% 0; }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.feature__inset { position: absolute; right: -24px; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); transition: transform .8s var(--ease-out); }
.feature--flip .feature__inset { right: auto; left: -24px; }
.feature__inset picture, .feature__inset img { width: 100%; height: 100%; object-fit: cover; }
.feature__media:hover .feature__inset { transform: translateY(-10px) rotate(-2deg); }
.feature__badge { position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: 0 14px 30px -10px rgba(6, 44, 105, .7); }
.feature--flip .feature__badge { left: auto; right: 24px; }
.feature__badge .icon { width: 30px; height: 30px; }
.feature__num { position: absolute; left: 20px; bottom: -8px; font-family: var(--font-head); font-weight: 800; font-size: 110px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #c8d4e5; letter-spacing: -.05em; pointer-events: none; }
.feature--flip .feature__num { left: auto; right: 20px; }
.feature__body .section-title { margin-bottom: 20px; }
.feature__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.feature__lists h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600); }
.feature__lists .check-list { margin: 14px 0 0; padding-top: 14px; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }

/* Industry cards (industries page) */
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
.js .industry-card.is-in { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out), box-shadow .6s; }
.industry-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.industry-card:target { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); }
.industry-card__media { position: relative; height: 240px; overflow: hidden; }
.industry-card__media picture, .industry-card__media img { width: 100%; height: 100%; object-fit: cover; }
.industry-card__media img { transition: transform 1.2s var(--ease-out); }
.industry-card:hover .industry-card__media img { transform: scale(1.08); }
.industry-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 20, 38, .55)); }
.industry-card__icon { position: absolute; z-index: 1; left: 22px; bottom: 16px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand); color: #fff; box-shadow: 0 12px 24px -10px rgba(6, 44, 105, .7); transition: transform .7s var(--ease-out); }
.industry-card:hover .industry-card__icon { transform: rotate(-10deg); }
.industry-card__body { position: relative; padding: 26px 26px 28px; }
.industry-card__num { position: absolute; right: 24px; top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.industry-card h3 { font-size: 21px; margin-bottom: 10px; padding-right: 36px; }
.industry-card p { color: var(--muted); font-size: 15.5px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-list li { padding: 6px 12px; border-radius: 30px; background: #eef3fb; color: var(--brand-600); font-size: 13px; font-weight: 600; }

/* Proof band (industries page) */
.proof-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(80px, 10vw, 128px); }
.proof-band__bg { position: absolute; inset: 0; z-index: -1; }
.proof-band__bg picture { position: absolute; inset: -10% 0; }
.proof-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.proof-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 38, .92), rgba(7, 29, 56, .88)); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof-grid li { padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.js .proof-grid li.is-in { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out), background .4s, border-color .4s; }
.proof-grid li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(156, 195, 255, .4); transform: translateY(-6px); }
.proof-grid li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(156, 195, 255, .14); color: var(--sky); margin-bottom: 20px; }
.proof-grid h3 { font-size: 19px; margin-bottom: 8px; }
.proof-grid p { font-size: 15px; color: rgba(226, 236, 250, .7); }

/* Principles (approach page) */
.principles__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.principles__media { position: relative; padding-bottom: 40px; }
.principles__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.principles__photo picture { position: absolute; inset: -6% 0; }
.principles__photo img { width: 100%; height: 100%; object-fit: cover; }
.principles__stat { position: absolute; right: -20px; bottom: 0; display: flex; gap: 14px; align-items: center; max-width: 270px; padding: 20px 24px; border-radius: 16px; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.principles__stat strong { font-family: var(--font-head); font-size: 54px; line-height: 1; color: var(--gold); }
.principles__stat span { font-size: 14.5px; line-height: 1.4; color: rgba(226, 236, 250, .85); }
.principle-list { display: grid; gap: 4px; margin-top: 34px; }
.principle-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.principle-list li > span { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #eaf1fd; color: var(--brand); transition: background .4s, color .4s, transform .6s var(--ease-out); }
.principle-list li:hover > span { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.principle-list h3 { font-size: 19px; margin-bottom: 4px; }
.principle-list p { color: var(--muted); font-size: 15.5px; }

/* Story (about page) */
.story__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.story__media { position: relative; padding-bottom: 40px; }
.story__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.story__photo picture { position: absolute; inset: -6% 0; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story__badge { position: absolute; right: -24px; bottom: 0; display: flex; gap: 14px; align-items: center; padding: 16px 22px 16px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.story__badge img { width: 52px; height: 52px; border-radius: 50%; }
.story__badge strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--brand); }
.story__badge span { font-size: 13.5px; color: var(--muted); }
.story__body .section-title { margin-bottom: 24px; font-size: clamp(30px, 3.6vw, 46px); }
.story__body > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.story__stats > div { padding: 22px 0 0; }
.story__stats > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.story__stats strong { display: block; font-family: var(--font-head); font-size: 34px; color: var(--brand); line-height: 1.1; }
.story__stats span { font-size: 14px; color: var(--muted); }

/* Values (about page) */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.js .value.is-in { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out), box-shadow .6s, border-color .4s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfdcf0; }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(140deg, var(--brand-600), var(--brand)); color: #fff; margin-bottom: 22px; transition: transform .7s var(--ease-out); }
.value:hover .value__icon { transform: rotate(-10deg) scale(1.06); }
.value h3 { font-size: 21px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15.5px; }

/* ISO benefits (certification page) */
.iso-benefits { background: var(--surface); }
.iso-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.iso-grid li { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.js .iso-grid li.is-in { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out), box-shadow .6s; }
.iso-grid li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.iso-grid li > .icon { width: 34px; height: 34px; color: var(--brand); margin-bottom: 22px; }
.iso-grid__num { position: absolute; right: 22px; top: 20px; font-family: var(--font-head); font-weight: 800; font-size: 38px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px #c8d4e5; }
.iso-grid h3 { font-size: 19px; margin-bottom: 8px; }
.iso-grid p { color: var(--muted); font-size: 15px; }

/* Contact page */
.support-card__links { display: grid; gap: 4px !important; }
.support-card__links a { display: flex; gap: 12px; align-items: center; padding: 6px 0; font-weight: 600; transition: color .3s, transform .4s var(--ease-out); }
.support-card__links a:hover { color: var(--sky); transform: translateX(4px); }
.support-card__links .icon { width: 20px; height: 20px; color: var(--sky); }
.faq { background: var(--surface); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, box-shadow .4s; }
.faq__item[open] { border-color: #c4d4ee; box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #eaf1fd; color: var(--brand); transition: transform .5s var(--ease-out), background .3s, color .3s; }
.faq__item[open] .faq__toggle { transform: rotate(135deg); background: var(--brand); color: #fff; }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__item[open] .faq__answer { animation: faq-in .5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* Calibration page photos */
.why__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-top: 36px; }
.why__photos picture { display: block; height: 260px; border-radius: 16px; overflow: hidden; }
.why__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.why__photos picture:hover img { transform: scale(1.06); }

@media (max-width: 1080px) {
	.feature__inner, .principles__inner, .story__inner, .faq__inner { grid-template-columns: 1fr; }
	.feature--flip .feature__media { order: 0; }
	.industry-cards, .value-grid, .proof-grid, .iso-grid { grid-template-columns: 1fr 1fr; }
	.feature__inset, .feature--flip .feature__inset { right: 16px; left: auto; }
	.feature--flip .feature__badge { right: auto; left: 24px; }
	.feature--flip .feature__num { right: auto; left: 20px; }
	.principles__stat, .story__badge { right: 16px; }
	.principles__photo, .story__photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 700px) {
	.industry-tiles { grid-template-columns: 1fr 1fr; }
	.industry-cards, .value-grid, .proof-grid, .iso-grid, .feature__lists { grid-template-columns: 1fr; }
	.service-card__media { height: 200px; }
	.feature__num { font-size: 72px; }
	.feature__inset { width: 40%; border-width: 4px; }
	.story__stats strong { font-size: 26px; }
	.story__stats > div + div { padding-left: 12px; }
	.why__photos picture { height: 180px; }
}

/* ==========================================================================
   Reveal system
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Hover transforms on revealed cards should feel instant, not delayed. */
.js .service-card.is-in, .js .cap-card.is-in, .js .scope-card.is-in { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s, background .4s; }
.js .hero [data-reveal], .js .page-hero [data-reveal] { transform: translateY(20px); }
.js .hero [data-reveal].is-in, .js .page-hero [data-reveal].is-in { transform: none; }
.js .hero__readout[data-reveal] { transform: translateX(30px); }
.js .hero__readout[data-reveal].is-in { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.main-nav a { padding-inline: 9px; font-size: 14.5px; }
	.cap-grid { grid-template-columns: repeat(2, 1fr); }
	.hero__readout { display: none; }
}
@media (max-width: 1080px) {
	.main-nav, .header-cta { display: none; }
	.nav-toggle { display: block; }
	.service-grid { grid-template-columns: 1fr; max-width: 680px; }
	.section-head--split, .industries__inner, .certification__inner, .contact__inner, .docs-band__inner, .why__inner, .page-hero__inner { grid-template-columns: 1fr; }
	.about { grid-template-columns: 1fr; }
	.about__visual { min-height: 360px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
	.timeline, .timeline--5 { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
	.timeline__rail { display: none; }
	.scope-grid { grid-template-columns: 1fr 1fr; }
	.benefits__grid { grid-template-columns: 1fr 1fr; }
	.benefit:nth-child(3) { border-left: 0; }
	.benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { grid-template-columns: 1fr; }
	.cert-seal { right: 8px; }
	.page-hero__inner { align-items: start; }
}
@media (max-width: 700px) {
	:root { --header-h: 72px; }
	body { font-size: 16px; }
	.brand__mark { width: 42px; height: 42px; }
	.brand__text strong { font-size: 15px; }
	.hero { min-height: auto; }
	.hero__content { padding-bottom: 40px; }
	.hero__title { font-size: clamp(40px, 11vw, 56px); }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__stats { grid-template-columns: repeat(3, 1fr); padding-bottom: 96px; }
	.hero__scroll { display: none; }
	.stat { padding-right: 10px; }
	.stat + .stat { padding-left: 14px; }
	.stat > span { font-size: 12.5px; display: block; line-height: 1.35; }
	.cap-grid, .scope-grid, .industry-grid, .pillars, .why-grid, .field-row, .cert-details { grid-template-columns: 1fr; }
	.industry:nth-child(odd) { border-right: 0; }
	.timeline, .timeline--5 { grid-template-columns: 1fr; }
	.step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
	.step__node { width: 60px; height: 60px; grid-row: span 3; margin-bottom: 0; }
	.benefits__grid { grid-template-columns: 1fr; }
	.benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
	.site-footer__top { grid-template-columns: 1fr; }
	.whatsapp-fab span { display: none; }
	.whatsapp-fab { padding: 15px; right: 16px; bottom: 16px; }
	.to-top { right: 20px; bottom: 82px; }
	.cert-seal { width: 96px; height: 96px; top: -24px; }
	.cert-seal text { font-size: 9.4px; }
	.scope-filter__count { display: none; }
	.enquiry-form__foot .btn { width: 100%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
}

/* ==========================================================================
   Hero slideshow (home)
   ========================================================================== */
.hero__slides { position: absolute; inset: -6% 0; animation: slides-in 2s var(--ease-out) both; }
@keyframes slides-in { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; overflow: hidden; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__media .hero__slide picture { position: absolute; inset: 0; animation: none; }
.hero__slide img { transform: scale(1.12); transition: transform 8s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__dots { display: flex; gap: 10px; justify-self: end; margin-left: 24px; }
.hero__dot { display: grid; gap: 8px; width: 46px; padding: 6px 0; text-align: left; color: rgba(255, 255, 255, .55); transition: color .3s; }
.hero__dot:hover, .hero__dot.is-active { color: #fff; }
.hero__dot-label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; }
.hero__dot i { position: relative; display: block; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; border-radius: 2px; }
.hero__dot i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i::after { animation: dot-fill var(--slide-ms, 6000ms) linear forwards; }
.hero__dots.is-paused .hero__dot.is-active i::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
@media (max-width: 700px) {
	.hero__dots { grid-column: 1 / -1; justify-self: start; margin: 22px 0 0; }
	.hero__dot { width: 38px; }
}

/* ==========================================================================
   WordPress admin bar (logged-in users) — keep the fixed header below it
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header, .admin-bar .scroll-progress { top: 46px; }
}
@media (max-width: 600px) {
	/* WP's admin bar scrolls away on small screens. */
	.admin-bar .site-header { top: 0; }
	.admin-bar .site-header:not(.is-scrolled) { top: 46px; }
}

/* Certificate seal: pin the shield to the centre regardless of plugin CSS. */
.cert-seal > .icon { position: absolute; left: 50%; top: 50%; margin: -18px 0 0 -18px; }
.cert-seal svg { overflow: visible; }
