/* ==========================================================================
   Nippen theme — converted from the Framer design
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/mona-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/mona-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/mona-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-sans-latin-400-normal.woff2?v=2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-sans-latin-500-normal.woff2?v=2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geist-sans-latin-600-normal.woff2?v=2") format("woff2"); }

:root {
	--accent: #ea5558;
	--accent-deep: #c92c34;
	--accent-grad: linear-gradient(180deg, #ea5558 0%, #c92c34 100%);
	--dark: #151515;
	--ink: #191919;
	--grey: #f6f6f6;
	--grey-2: #ececec;
	--muted: #5c5c5c;
	--muted-2: #a7a3a2;
	--line: rgba(21, 21, 21, 0.1);
	--line-light: rgba(255, 255, 255, 0.08);
	--f-head: "Mona Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1300px;
	--gutter: 24px;
	--radius: 6px;
	--ease: cubic-bezier(0.2, 0.65, 0.25, 1);
	--header-h: 90px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.no-scroll, body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
svg { display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--f-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.accent { color: var(--accent); }
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; position: relative; z-index: 1; }
.container-wide { width: calc(100% - 60px); margin-inline: auto; position: relative; z-index: 1; }
.container--narrow { max-width: 1000px; }
.container--text { max-width: 680px; }

.section { position: relative; padding: 120px 0; overflow: hidden; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--dark); color: #fff; }

/* Faint vertical guide lines from the Framer design */
.grid-lines {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto;
	display: flex; justify-content: space-between;
}
.grid-lines i { width: 1px; height: 100%; background: var(--line); opacity: 0.6; }
.section--dark .grid-lines i, .site-footer .grid-lines i { background: var(--line-light); opacity: 1; }

/* ---------- Type ---------- */
.h1 { font-size: clamp(36px, 4.6vw, 60px); }
.h2 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.1; letter-spacing: -0.04em; }
.h-card { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }
.h-sub { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; letter-spacing: 0; }
.h4 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.1; }
.h5 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.1; }
.h6 { font-size: 19px; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); line-height: 1.35; }
.lead--light { color: #d1d1d1; }
.muted { color: var(--muted); }
.caption { font-size: 14px; color: var(--ink); margin-top: 16px; max-width: 220px; }
.section--dark .caption { color: #d1d1d1; }
.caption--light { color: #bdbdbd; }
.eyebrow { color: var(--accent); font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.mono-label { color: var(--accent); font-size: 18px; margin: 0 0 10px; }

/* ---------- Pills / tags ---------- */
.pill {
	display: inline-flex; align-items: center; gap: 8px;
	height: 33px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 100px;
	background: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--ink);
}
.pill i { width: 7px; height: 7px; background: var(--accent); }
.pill--dark { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 4px; background: #fdeeee; color: var(--accent); font-size: 13px; font-weight: 500; }
.tag--red { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--accent); --btn-fg: #fff; --icon-bg: var(--dark); --icon-fg: #fff;
	display: inline-flex; align-items: center; gap: 14px;
	height: 52px; padding: 6px 6px 6px 20px; border-radius: 8px; border: 0;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--f-body); font-size: 15px; font-weight: 500; white-space: nowrap;
	box-shadow: 0 0 0 3px rgba(234, 85, 88, 0.18);
	transition: box-shadow 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.btn:hover { box-shadow: 0 0 0 5px rgba(234, 85, 88, 0.22); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.05); }
.btn--light:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.05); }
.btn--dark { --btn-bg: var(--dark); --icon-bg: #fff; --icon-fg: var(--dark); box-shadow: none; }
.btn--dark:hover { box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn--icon { padding: 0; height: auto; background: none; box-shadow: none; }
.btn--icon .btn__icon { width: 40px; height: 40px; }
.btn--icon:hover { box-shadow: none; transform: translateX(3px); }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.btn__label > span { position: relative; display: block; transition: transform 0.45s var(--ease); }
.btn__label > span::after { content: attr(data-hover); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label > span { transform: translateY(-100%); }
.btn__icon {
	position: relative; flex: none; width: 40px; height: 40px; border-radius: 6px; overflow: hidden;
	background: var(--icon-bg); color: var(--icon-fg);
}
.btn__icon > span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.45s var(--ease); }
.btn__icon > span + span { transform: translateX(-120%); }
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon > span:first-child, a:hover > .cat-card__foot .btn__icon > span:first-child { transform: translateX(120%); }
.btn:hover .btn__icon > span + span, a:hover > .cat-card__foot .btn__icon > span + span { transform: translateX(0); }

.round-btn {
	width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: rgba(130, 130, 130, 0.55); color: #fff; backdrop-filter: blur(6px); transition: background 0.3s, transform 0.3s;
}
.round-btn:hover { background: var(--accent); transform: scale(1.06); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn--sm { width: 34px; height: 34px; }

.link-download { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; }
.link-download svg { width: 18px; height: 18px; transition: transform 0.3s; }
.link-download:hover svg { transform: translateY(3px); }
.text-link { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-weight: 500; font-size: 14px; }
.text-link svg { width: 16px; }

/* ---------- Lists ---------- */
.checks { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.checks--lg li, .checks--light li { font-size: clamp(15px, 1.25vw, 18px); }
.checks svg { flex: none; width: 15px; height: 15px; margin-top: 0.15em; color: var(--accent); }
.checks--light li { color: #fff; }
.checks--2col { grid-template-columns: 1fr 1fr; }
.arrow-list { list-style: none; margin-top: 16px; }
.arrow-list li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); }
.arrow-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.dots { list-style: none; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 18px; color: var(--muted); }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow 0.3s, background 0.3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(0, 0, 0, 0.04); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { width: calc(100% - 60px); margin: 0 auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-logo img { height: 48px; width: auto; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav__list { list-style: none; display: flex; gap: 28px; }
.nav__list a { position: relative; font-size: 16px; color: var(--ink); padding: 6px 0; transition: color 0.25s; }
.nav__list a:hover { color: var(--accent); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--accent); }
.nav__list .current-menu-item > a::before, .nav__list .current_page_item > a::before {
	content: ""; position: absolute; left: -10px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--accent);
}
.nav__cta-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--grey); border-radius: 8px; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding-top: 140px; }
.site-footer .grid-lines { width: calc(100% - 60px); }
.site-footer__glow { position: absolute; right: -10%; top: -20%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(234, 85, 88, 0.42), rgba(234, 85, 88, 0) 72%); pointer-events: none; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.site-footer__title { font-size: 26px; margin-bottom: 26px; }
.site-footer p, .site-footer a { color: #a7a3a2; font-size: 16px; }
.site-footer a:hover { color: #fff; }
.site-footer__address { max-width: 300px; }
.footer-menu { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 12px 30px; max-width: 360px; }
.footer-menu .current-menu-item > a { color: var(--accent); }
.site-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line-light); }
.site-footer__bar > p:first-child { color: #fff; margin: 0; }
.site-footer__credit { margin: 0; color: #fff !important; }
.site-footer__credit a, .site-footer__credit span { color: #a7a3a2; }
.socials { list-style: none; display: flex; gap: 18px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; }
.socials svg { width: 16px; height: 16px; }
.socials a:hover { color: var(--accent); }
.site-footer__wordmark { padding: 10px 0 30px; }
.site-footer__wordmark img { width: 100%; opacity: 0.16; -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.35)); mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,.35)); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 0.8s ease, transform 1s var(--ease); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translate3d(-60px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(60px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.55); transition-duration: 0.8s, 1.1s; }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal="up-slow"] { transform: translate3d(0, 120px, 0); transition-duration: 1.2s, 1.4s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js.reveal-fallback:not(.js-ready) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Section heads ---------- */
.sec-head { display: grid; gap: 18px; justify-items: start; margin-bottom: 60px; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--narrow .h2 { max-width: 640px; }
.sec-head--page { margin-bottom: 50px; }
.sec-head--page .h2 { font-size: clamp(34px, 4.4vw, 60px); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.row-head .sec-head { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 70px; }
.split__main .h2 { margin-bottom: 28px; }
.split__main .lead { margin-bottom: 28px; max-width: 760px; }
.split__aside .sec-head { margin-bottom: 0; }

/* ---------- Home: hero ---------- */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f2f2f2 35%, #e4e4e4 100%); padding: 18px 0 34px; }
img.home-hero__glow { position: absolute; right: -260px; top: 120px; width: 620px; opacity: 0.18; pointer-events: none; }
.home-hero__slider { position: relative; width: min(1040px, calc(100% - 48px)); margin: 0 auto; }
.home-hero__viewport { overflow: hidden; }
.home-hero__track { display: flex; gap: 10px; transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.home-hero__slide { flex: 0 0 86%; aspect-ratio: 1296 / 490; border: 1px solid rgba(0, 0, 0, 0.08); background: #f7f7f7; overflow: hidden; }
.home-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__slider .round-btn { position: absolute; top: 50%; margin-top: -21px; z-index: 2; }
.round-btn--prev { left: 16px; }
.round-btn--next { right: 16px; }
.home-hero__text { text-align: center; margin-top: clamp(60px, 9vw, 130px); }
.home-hero__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: 0; max-width: 900px; margin: 0 auto 36px; }
.home-hero__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.home-hero__row > span:first-child { text-align: left; }
.home-hero__row > span:last-child { text-align: right; }

/* ---------- Home: about + circles ---------- */
.home-about .split { margin-bottom: 100px; }
.circles { display: grid; grid-template-columns: repeat(3, 1fr); }
.circle { aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12%; overflow: hidden; }
.circle--outline { border: 1px solid #555; }
.circle--image img { width: 100%; height: 100%; object-fit: cover; }
.circle--image { padding: 0; }
.circle--red { background: var(--accent-grad); color: #fff; }
.circle__num { font-family: var(--f-head); font-weight: 600; font-size: clamp(44px, 5vw, 72px); line-height: 1; margin-bottom: 18px; }
.circle__title { font-size: 18px; margin-bottom: 16px; letter-spacing: 0; }
.circle__text { font-size: 16px; line-height: 1.3; max-width: 290px; margin: 0; }
.circle--outline .circle__text { color: var(--ink); }

/* ---------- Home: products ---------- */
.home-products { padding-top: 260px; background: var(--dark); }
img.home-products__bg { position: absolute; left: -5%; top: -60px; width: 110%; max-width: none; height: 420px; object-fit: fill; pointer-events: none; z-index: 0; }
.home-products::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; background: linear-gradient(#fff, rgba(255,255,255,0)); z-index: 0; }
.home-products__head { display: grid; gap: 18px; margin-bottom: 50px; }
.home-products__head .sec-head { margin-bottom: 0; }
.home-products__head .lead { max-width: 640px; }
.home-products__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 60px; flex-wrap: wrap; }
.home-products__foot .h3 { color: #fff; }
.home-products__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.cat-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 20px; border-radius: 4px; background: #f6f6f6; color: var(--ink); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18); }
.cat-card__title { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.1; min-height: 2.2em; }
.cat-card__media { position: relative; aspect-ratio: 16 / 7.6; border-radius: 4px; overflow: hidden; background: linear-gradient(180deg, #e0e0e0, #c8c8c8); display: grid; place-items: center; }
.cat-card__media img, .prod-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); }
.cat-card:hover .cat-card__media img, .prod-card:hover .cat-card__media img, .prod-card:hover .prod-card__media img { transform: scale(1.07); }
.cat-card__placeholder { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 10px, rgba(255,255,255,0) 10px 20px); }
.cat-card__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.cat-card__view { font-size: 15px; color: var(--muted); }
.cat-card__foot .btn__icon { --icon-bg: var(--dark); --icon-fg: #fff; background: var(--dark); color: #fff; }
.cat-card--dark { background: var(--dark); color: #fff; }
.cat-card--dark .cat-card__title { font-size: 22px; min-height: 0; margin-top: 2px; }
.cat-card--dark .cat-card__view { color: #fff; }
.cat-card--dark .cat-card__foot .btn__icon { background: transparent; color: #fff; }
.cat-card--dark .cat-card__foot { margin-top: auto; padding-top: 30px; }

.prod-card { position: relative; border-radius: 4px; background: var(--dark); color: #fff; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18); }
.prod-card__link { display: flex; flex-direction: column; gap: 18px; padding: 20px; height: 100%; }
.prod-card__title { font-size: 22px; }
.prod-card__media { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: linear-gradient(180deg, #e0e0e0, #c8c8c8); }
.prod-card .cat-card__view { color: #fff; }
.prod-card .cat-card__foot .btn__icon { background: transparent; }
.prod-card:hover .cat-card__foot .btn__icon > span:first-child { transform: translateX(120%); }
.prod-card:hover .cat-card__foot .btn__icon > span + span { transform: translateX(0); }
.prod-card__watch { position: absolute; right: 20px; bottom: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 13px; }
.prod-card__watch svg { width: 14px; height: 14px; color: var(--accent); }
.prod-card__watch:hover { background: var(--accent); border-color: var(--accent); }
.prod-card__watch:hover svg { color: #fff; }

/* ---------- Home: industries tabs ---------- */
.home-industries .sec-head { margin-bottom: 50px; }
.tabs { display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; border-left: 2px solid #dcdcdc; }
.tabs__tab { position: relative; text-align: left; background: none; border: 0; padding: 8px 0 8px 26px; font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; color: rgba(92, 92, 92, 0.5); transition: color 0.3s; }
.tabs__tab::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform 0.4s var(--ease); }
.tabs__tab:hover { color: #6d6d6d; }
.tabs__tab.is-active { color: var(--ink); }
.tabs__tab.is-active::before { transform: scaleY(1); }
.tabs__panels { background: #fff; border: 1px solid #e3e3e3; border-radius: 4px; padding: 26px; min-height: 330px; }
.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-active { animation: panelIn 0.6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tabs__media { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey); }
.tabs__media img { width: 100%; height: 100%; object-fit: cover; }
.tabs__body .h4 { margin-bottom: 16px; }
.tabs__body p { color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; }

/* ---------- Home: precision ---------- */
.home-precision .sec-head .h2 { max-width: 820px; }
.precision-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.dark-card { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: 4px; padding: 32px; display: flex; flex-direction: column; min-height: 340px; }
img.dark-card__glow { position: absolute; right: -120px; top: -120px; width: 380px; opacity: 0.5; pointer-events: none; }
.dark-card .h4 { position: relative; margin-bottom: 18px; }
.dark-card p { position: relative; color: #a7a3a2; max-width: 520px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; }
.dark-card__stat { margin-top: auto; padding-top: 30px; }
.dark-card__stat strong { display: block; font-family: var(--f-head); font-size: 42px; font-weight: 600; line-height: 1.2; }
.dark-card__stat span { font-size: 18px; }
.dark-card__stat span { color: #a7a3a2; }
.precision-grid__img { border-radius: 4px; overflow: hidden; }
.precision-grid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.precision-grid__img:hover img { transform: scale(1.05); }
.find-strip { display: flex; align-items: center; gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.find-strip__badges { display: flex; }
.find-strip__badges img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #fff; }
.find-strip__badges img + img { margin-left: -8px; }
.find-strip__text { flex: 1; }
.find-strip__text .h5 { margin-bottom: 6px; }
.find-strip__text p { color: var(--muted); margin: 0; font-size: 18px; }

/* ---------- Marquee (client logos) ---------- */
.home-clients { padding: 0 0 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 20px; padding-right: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { width: 220px; height: 126px; border-radius: 4px; background: var(--grey); display: grid; place-items: center; padding: 18px 26px; }
.logo-tile img { max-height: 90px; width: auto; object-fit: contain; filter: saturate(1); transition: transform 0.4s var(--ease); }
.logo-tile:hover img { transform: scale(1.06); }

/* ---------- Why banner (photo + glass card) ---------- */
.why-banner { position: relative; overflow: hidden; padding: 140px 0; min-height: 800px; display: flex; align-items: center; }
.why-banner__bg { position: absolute; inset: -6% 0; z-index: 0; }
.why-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.glass-card { position: relative; width: min(540px, 100%); padding: 48px 50px; border-radius: 4px; color: #fff; background: rgba(48, 48, 48, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.glass-card__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; letter-spacing: 0; margin-bottom: 14px; }
.glass-card .h-sub { margin-bottom: 6px; }
.glass-card .checks { margin-bottom: 30px; }
.glass-card p { color: #e9e9e9; }
.glass-card__note { font-size: 13px; margin: 26px 0 0; color: #ddd !important; }
.glass-card--inline { margin-top: 40px; width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }

/* ---------- Events / posters ---------- */
.posters { gap: 20px; }
.poster { margin: 0; }
.poster > a { display: block; overflow: hidden; border: 1px solid #e3e3e3; aspect-ratio: 4 / 5; background: var(--grey); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.poster:hover img { transform: scale(1.05); }
.poster figcaption { padding: 18px 2px 0; display: grid; gap: 10px; justify-items: start; }
.poster figcaption p { color: var(--muted); font-size: 14px; margin: 0; }
.poster__title { font-size: 20px; letter-spacing: -0.01em; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 60px 0; }
.cta-banner .container { max-width: 1100px; }
.cta-banner__box { position: relative; overflow: hidden; border-radius: 4px; padding: 52px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #1a0705; }
img.cta-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner__title { position: relative; color: #fff; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; letter-spacing: 0; }
.cta-banner .btn { position: relative; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 0; }
img.page-hero__glow { position: absolute; right: -180px; top: 40px; width: 640px; opacity: 0.4; pointer-events: none; z-index: 0; }
.page-hero__inner { text-align: center; display: grid; justify-items: center; gap: 18px; }
.page-hero__title { font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: 0; }
.page-hero__title--left { text-align: left; margin-bottom: 50px; }
.page-hero__meta { width: 100%; display: flex; justify-content: space-between; font-size: 14px; margin-top: 40px; padding-bottom: 30px; }
.page-hero__media { position: relative; height: clamp(280px, 42vw, 620px); overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--noimg { padding-bottom: 40px; }
.page-hero__media-inner { position: absolute; inset: -6% 0; }
.page-hero__media-inner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.about-split__img img { width: 100%; height: 100%; object-fit: cover; }
.about-split__red { position: relative; overflow: hidden; background: linear-gradient(160deg, #ea5558 0%, #d63a3f 55%, #c8242c 100%); color: #fff; padding: 34px 30px 0; display: flex; flex-direction: column; }
.about-split__text { max-width: 600px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.25; }
.ticker { margin-top: auto; overflow: hidden; margin-left: -30px; margin-right: -30px; padding-bottom: 6px; }
.ticker__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.ticker__track span { font-family: var(--f-head); font-weight: 600; font-size: clamp(48px, 5vw, 72px); color: rgba(255, 255, 255, 0.3); padding-right: 36px; white-space: nowrap; line-height: 1.05; }

.lead-grid { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 50px; margin-bottom: 80px; align-items: start; }
.lead-grid--alt { grid-template-columns: 0.8fr 1.1fr 1fr; margin-bottom: 0; }
.lead-grid .h-card { margin-bottom: 20px; }
.lead-grid .muted p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.25; }
.person { position: relative; margin: 0; border-radius: 4px; overflow: hidden; border: 2px solid var(--dark); aspect-ratio: 1; background: #ddd; }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.person:hover img { transform: scale(1.05); }
.person figcaption { position: absolute; inset: auto 0 0; padding: 50px 10px 16px; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); display: grid; gap: 2px; }
.person figcaption strong { font-family: var(--f-head); font-size: 18px; }
.person figcaption span { color: #a7a3a2; font-size: 16px; }

.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.timeline__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.timeline__card { border-radius: 18px; background: var(--grey); aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 40px; }
.timeline__card img { max-height: 100%; object-fit: contain; }
.timeline__rail { position: relative; padding-left: 40px; }
.timeline__line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #e6e6e6; }
.timeline__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.timeline__list { list-style: none; display: grid; gap: 46px; }
.timeline__item { position: relative; }
.timeline__dot { position: absolute; left: -41px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #d6d6d6; transition: border-color 0.4s, background 0.4s, transform 0.4s; }
.timeline__item.is-past .timeline__dot { border-color: var(--accent); background: var(--accent); transform: scale(1.15); }
.timeline__year { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; transition: color 0.4s; }
.timeline__item.is-past .timeline__year { color: var(--accent); }
.timeline__item p { color: var(--muted); max-width: 480px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; }

.about-values { padding-bottom: 200px; }
.section-fade { position: absolute; inset: auto 0 0; height: 240px; background: linear-gradient(transparent, #4b0606); pointer-events: none; }
.about-values__intro { max-width: 640px; margin: -30px 0 50px; }
.values__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.values__title { font-size: clamp(24px, 2.3vw, 32px); color: #d1d1d1; letter-spacing: 0; }
.values__text p { color: #d1d1d1; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; }

.bubbles { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1040px; margin: 0 auto; }
.bubble { width: 340px; height: 340px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px; transition: transform 0.5s var(--ease); }
.bubble:hover { transform: scale(1.04); }
.bubble h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: 0; line-height: 1.2; }
.bubble p { font-size: 16px; line-height: 1.3; margin: 0; }
.bubble--dark { background: var(--dark); }
.bubble--dark h3, .bubble--dark p { color: var(--accent); }
.bubble--white { background: #fff; }
.bubble--white p { color: var(--ink); }
.bubble--red { background: var(--accent-grad); color: #fff; }
.bubbles .bubble:nth-child(4), .bubbles .bubble:nth-child(5) { margin-top: 0; }

.video-banner { position: relative; overflow: hidden; min-height: clamp(520px, 62vw, 900px); display: flex; color: #fff; }
.video-banner__media { position: absolute; inset: 0; }
img.video-banner__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-banner iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.77vh; transform: translate(-50%, -50%); border: 0; opacity: 0; transition: opacity 1s; pointer-events: none; }
.video-banner iframe.is-loaded { opacity: 1; }
.video-banner__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(120,20,20,.55) 100%); }
.video-banner__inner { display: flex; flex-direction: column; justify-content: space-between; padding: 90px 0; }
.video-banner__title { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.2; letter-spacing: 0; border-left: 2px solid #fff; padding-left: 22px; max-width: 560px; }
.video-banner__stat { align-self: flex-end; text-align: right; }
.video-banner__stat strong { display: block; font-family: var(--f-head); font-size: clamp(30px, 2.9vw, 42px); font-weight: 600; line-height: 1; margin-bottom: 8px; }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-grid .logo-tile { width: auto; }
.recognition { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 60px; padding-top: 50px; border-top: 1px solid var(--line); }
.recognition__badges { display: flex; gap: 18px; }
.recognition__badges img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

.about-global__head { display: grid; gap: 0; max-width: 680px; margin-bottom: 30px; }
.about-global__head .sec-head { margin-bottom: 20px; }
.globe { width: min(700px, 92%); aspect-ratio: 1; margin: 0 auto; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.globe canvas { display: block; filter: drop-shadow(0 30px 50px rgba(0,0,0,.14)); }

/* ---------- CSR ---------- */
.value-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.value-tag { padding: 14px 26px; border-radius: 999px; font-family: var(--f-head); font-size: 20px; font-weight: 600; }
.value-tag--0 { background: var(--accent-grad); color: #fff; }
.value-tag--1 { background: var(--dark); color: #fff; }
.value-tag--2 { border: 1px solid var(--ink); }
.csr-items { display: grid; gap: 90px; }
.csr-item { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.csr-item--flip .csr-item__media { order: 2; }
.csr-item__body { display: grid; gap: 16px; justify-items: start; }
.csr-item__single, .fade-slider { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #ddd; }
.csr-item__single img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.csr-item__single:hover img { transform: scale(1.04); }
.fade-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease, transform 6s linear; transform: scale(1.06); }
.fade-slider__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.fade-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.fade-slider__ui { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(6px); }
.fade-slider__dots { display: flex; gap: 6px; }
.fade-slider__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); transition: width 0.3s, background 0.3s; }
.fade-slider__dots button.is-active { width: 20px; border-radius: 4px; background: #fff; }
.csr-commit__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.csr-commit .lead { max-width: 560px; }
.csr-commit__img { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 480px; justify-self: end; }
.csr-commit__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- IoT ---------- */
img.iot-energy__glow { position: absolute; left: -200px; bottom: -300px; width: 700px; opacity: 0.5; pointer-events: none; }
.iot-energy__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.iot-energy__grid .pill { margin-bottom: 8px; }
.iot-energy__grid .h2 { margin: 26px 0 24px; }
.iot-energy__img { border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.iot-energy__img img { width: 100%; height: 100%; object-fit: cover; }
.iot-how__diagram { margin: 0 auto 60px; max-width: 1100px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 26px; border-radius: 8px; background: var(--grey); transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.step:hover { background: var(--dark); color: #fff; transform: translateY(-4px); }
.step:hover p { color: #bdbdbd; }
.step__num { display: block; font-family: var(--f-head); font-weight: 600; color: var(--accent); font-size: 15px; margin-bottom: 30px; }
.step__title { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; transition: color 0.4s; }
.icon-cards { display: grid; gap: 20px; }
.icon-cards--3 { grid-template-columns: repeat(3, 1fr); }
.icon-cards--4 { grid-template-columns: repeat(4, 1fr); }
.icon-card { padding: 30px; border-radius: 8px; background: #fff; border: 1px solid #e8e8e8; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.icon-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.07); }
.icon-card--grey { background: var(--grey); border-color: transparent; }
img.icon-card__icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 40px; }
.icon-card__title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; margin-bottom: 10px; letter-spacing: 0; }
.icon-card--white { background: #fff; border: 1px solid #e8e8e8; }
.icon-card p { color: var(--muted); font-size: 16px; line-height: 1.3; }
.icon-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-card { border-radius: 8px; overflow: hidden; background: var(--grey); }
.ind-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.ind-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ind-card:hover .ind-card__media img { transform: scale(1.07); }
.ind-card__body { padding: 20px; }
.ind-card__title { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; }
.ind-card__body p { color: var(--muted); font-size: 15px; line-height: 1.3; }
img.iot-dash__fade { position: absolute; inset: auto 0 0; width: 100%; height: 140px; object-fit: fill; opacity: 0.8; pointer-events: none; }
.iot-dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.iot-dash__img { border-radius: 8px; overflow: hidden; }
.iot-dash__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
.iot-why .split { align-items: end; }

/* ---------- Contact ---------- */
.contact-top { padding-top: 70px; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.contact-info p { margin-bottom: 8px; font-size: clamp(15px, 1.25vw, 18px); }
.contact-info a:hover { color: var(--accent); }
.contact-info .mono-label:not(:first-child) { margin-top: 26px; }
.contact-info__addr { font-size: 17px; max-width: 280px; }
.contact-info .btn { margin-top: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.map { border-radius: 6px; overflow: hidden; background: var(--grey); min-height: 480px; }
.map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; filter: grayscale(0.25); }
.enquiry { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 30px; border-radius: 6px; background: #e4e4e4; }
img.enquiry__glow { position: absolute; right: -200px; bottom: -200px; width: 440px; opacity: 0.8; pointer-events: none; }
.enquiry__f { position: relative; display: grid; gap: 8px; font-size: 15px; }
.enquiry__f--full { grid-column: 1 / -1; }
.enquiry input, .enquiry textarea { width: 100%; padding: 13px 14px; border-radius: 6px; border: 1px solid transparent; background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 85, 88, 0.15); }
.enquiry textarea { resize: vertical; min-height: 110px; }
.enquiry__submit { position: relative; justify-self: start; grid-column: 1 / -1; }
.enquiry__msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 6px; font-size: 15px; position: relative; }
.enquiry__msg--ok { background: #e7f6ec; color: #17602f; }
.enquiry__msg--err { background: #fdecec; color: #9b1c1c; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-careers { padding-bottom: 160px; }
.contact-careers__fade { position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, #4b0606); pointer-events: none; }
.contact-careers__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.contact-careers .lead { margin-bottom: 30px; }
.contact-careers .caption { max-width: none; margin: 18px 0 6px; font-size: 18px; color: rgba(209, 209, 209, 0.7); }
.big-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 1.7vw, 24px); color: var(--accent); }
.big-links a:hover { text-decoration: underline; }
.big-links span { color: rgba(209, 209, 209, 0.7); }
.contact-careers__img { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 380px; justify-self: end; width: 100%; }
.contact-careers__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 8px; background: var(--grey); min-height: 220px; transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.cert-card:hover { background: var(--dark); color: #fff; transform: translateY(-5px); }
.cert-card__icon { width: 56px; height: 56px; border-radius: 10px; background: #fff; color: var(--accent); display: grid; place-items: center; overflow: hidden; }
.cert-card__icon svg { width: 28px; height: 28px; }
.cert-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.cert-card__title { font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: uppercase; line-height: 1.3; }
.cert-card__open { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; font-weight: 500; }
.cert-card__open svg { width: 16px; transition: transform 0.3s; }
.cert-card:hover .cert-card__open svg { transform: translateX(4px); }

/* ---------- Listing / breadcrumbs ---------- */
.listing { padding-top: 80px; }
.listing__desc { max-width: 760px; margin: -26px 0 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.empty { padding: 40px; border-radius: 8px; background: var(--grey); display: grid; gap: 20px; justify-items: start; }

/* ---------- Single product ---------- */
.product-hero { padding-top: 70px; }
.product-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.pgallery__main { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(180deg, #ededed, #d6d6d6); }
img.pgallery__glow { position: absolute; left: 50%; top: 50%; width: 80%; transform: translate(-50%, -50%); opacity: 0.35; pointer-events: none; }
.pgallery__slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; opacity: 0; transition: opacity 0.5s, transform 0.6s var(--ease); transform: scale(0.96); }
.pgallery__slide.is-active { opacity: 1; transform: none; z-index: 1; }
.pgallery__slide img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.pgallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pgallery__thumb { width: 78px; height: 78px; padding: 6px; border-radius: 6px; border: 2px solid transparent; background: var(--grey); transition: border-color 0.3s; }
.pgallery__thumb.is-active { border-color: var(--accent); }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-hero__info .h1 { margin-bottom: 24px; }
.accordion { border-top: 1px solid var(--line); margin: 20px 0 34px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: 0; font-family: var(--f-head); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; text-align: left; }
.accordion__head i { position: relative; width: 16px; height: 16px; }
.accordion__head i::before, .accordion__head i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--accent); transition: transform 0.35s var(--ease); }
.accordion__head i::after { transform: rotate(90deg); }
.accordion__item.is-open .accordion__head i::after { transform: rotate(0); }
.accordion__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.accordion__body > * { overflow: hidden; }
.accordion__item.is-open .accordion__body { grid-template-rows: 1fr; }
.accordion__item.is-open .accordion__body > ul { padding-bottom: 20px; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.spec-table { margin: 40px 0 0; border-top: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; }
.spec-table__row { display: grid; grid-template-columns: 300px 1fr; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.spec-table__row:hover { background: #fafafa; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; display: grid; gap: 4px; font-weight: 500; }

/* ---------- Blog ---------- */
.post-card a { display: grid; gap: 14px; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--grey); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 22px; line-height: 1.25; transition: color 0.3s; }
.post-card:hover .post-card__title { color: var(--accent); }
.article { padding-top: 70px; }
.article__head { text-align: center; }
.article__meta { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.article__title { font-size: clamp(34px, 4.4vw, 62px); letter-spacing: -0.04em; line-height: 1.05; }
.article__excerpt { margin: 18px auto 0; color: var(--muted); font-size: 18px; max-width: 760px; }
.article__cover { margin: 50px auto; max-width: 760px; }
.article__cover img { margin: 0 auto; }
.prose { font-size: 16.5px; line-height: 1.7; color: #3f3f3f; }
.prose h2, .prose h3 { font-size: 28px; color: var(--ink); margin: 48px 0 16px; letter-spacing: -0.03em; }
.prose h4 { font-size: 22px; margin: 36px 0 12px; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; }
.prose li { margin: 4px 0; }
.prose ul.checklist { list-style: none; margin-left: 0; }
.prose ul.checklist li { padding-left: 28px; position: relative; }
.prose ul.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose img { border-radius: 8px; margin: 24px 0; }
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 6px; background: var(--grey); }
.pagination .current { background: var(--accent); color: #fff; }
.notfound { text-align: center; padding: 140px 0; }
.notfound .container { display: grid; gap: 24px; justify-items: center; }
.notfound__code { font-family: var(--f-head); font-size: 140px; font-weight: 700; color: var(--accent); line-height: 1; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(10, 10, 10, 0.92); opacity: 0; transition: opacity 0.25s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 60px 80px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; animation: lbIn 0.35s var(--ease); }
.lightbox__video { width: min(1100px, 92vw); aspect-ratio: 16 / 9; border: 0; border-radius: 6px; background: #000; }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; margin-top: -23px; }
.lightbox__nav--next { right: 18px; top: 50%; margin-top: -23px; }
.lightbox.is-single .lightbox__nav { display: none; }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 3; column-gap: 18px; }
.masonry__item { display: block; break-inside: avoid; margin-bottom: 18px; border-radius: 6px; overflow: hidden; }
.masonry__item img { width: 100%; transition: transform 0.9s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }


/* ---------- Split intro extras / mini circles ---------- */
.split--end { align-items: end; }
.split-intro .split { margin-bottom: 0; }
.split-intro--bubbles .split { margin-bottom: 50px; }
.mini-bubbles { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.mini-bubble { width: clamp(170px, 18vw, 240px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 20px; font-family: var(--f-head); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; margin-left: -18px; transition: transform 0.5s var(--ease); }
.mini-bubble:first-child { margin-left: 0; }
.mini-bubble:hover { transform: scale(1.05); }
.mini-bubbles--lg { justify-content: center; }
.mini-bubbles--lg .mini-bubble { width: clamp(200px, 22vw, 300px); }
.bubble--dark { background: var(--dark); color: var(--accent); }
.bubble--white { background: #fff; color: var(--ink); }
.bubble--red { background: var(--accent-grad); color: #fff; }
.bubble--outline { border: 1px solid currentColor; }
.section--dark .bubble--dark { background: #252525; }
.csr-item__body .h-sub { margin-top: 4px; }

/* ---------- Elementor integration ---------- */
.e-con.nippen-wrap, .elementor .e-con.nippen-wrap { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0px; --margin-bottom: 0px; padding: 0; gap: 0; }
.nippen-wrap > .elementor-widget, .elementor-widget[class*="elementor-widget-nippen-"] { width: 100%; max-width: 100%; margin: 0; }
.elementor-widget[class*="elementor-widget-nippen-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-location-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .elementor-location-header { top: 32px; }
.elementor-location-header .site-header, .admin-bar .elementor-location-header .site-header { position: relative; top: 0; }
.elementor-location-header .e-con.nippen-wrap, .elementor-location-footer .e-con.nippen-wrap { overflow: visible; }
.elementor-editor-active .js [data-reveal], .elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }
.elementor-page .site-main > .elementor { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.nav__list { gap: 20px; }
	.cards-4, .icon-cards--4, .cert-grid, .ind-grid, .steps { grid-template-columns: repeat(3, 1fr); }
	.bubble { width: 300px; height: 300px; padding: 40px; }
}

@media (max-width: 1100px) {
	:root { --header-h: 74px; }
	.site-header__inner { width: calc(100% - 40px); }
	.site-logo img { height: 40px; }
	.burger { display: flex; }
	.site-header__cta { display: none; }
	.nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0; transform: none; background: #fff; padding: 24px 24px 40px; display: flex; flex-direction: column; gap: 30px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.3s, visibility 0.3s, transform 0.4s var(--ease); overflow-y: auto; z-index: 99; }
	.admin-bar .nav { top: calc(var(--header-h) + 32px); }
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--ease); }
	.menu-open .nav__list li { opacity: 1; transform: none; }
	.menu-open .nav__list li:nth-child(2) { transition-delay: 0.05s; }
	.menu-open .nav__list li:nth-child(3) { transition-delay: 0.1s; }
	.menu-open .nav__list li:nth-child(4) { transition-delay: 0.15s; }
	.menu-open .nav__list li:nth-child(5) { transition-delay: 0.2s; }
	.menu-open .nav__list li:nth-child(6) { transition-delay: 0.25s; }
	.nav__list a { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 6vw, 34px); letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav__list .current-menu-item > a::before, .nav__list .current_page_item > a::before { display: none; }
	.nav__cta-mobile { display: block; }
	.nav__cta-mobile .btn { width: 100%; justify-content: space-between; }
}
@media (max-width: 782px) { .admin-bar .nav { top: calc(var(--header-h) + 46px); } .admin-bar .site-header, .admin-bar .elementor-location-header { top: 0; } }

@media (max-width: 1000px) {

	.section { padding: 80px 0; }
	.split { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
	.cards-3 { grid-template-columns: repeat(2, 1fr); }
	.tabs { grid-template-columns: 1fr; }
	.tabs__list { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid #dcdcdc; scrollbar-width: none; }
	.tabs__tab { white-space: nowrap; padding: 10px 16px; font-size: 18px; }
	.tabs__tab::before { left: 0; right: 0; top: auto; bottom: -2px; width: auto; height: 2px; transform: scaleX(0); }
	.tabs__tab.is-active::before { transform: scaleX(1); }
	.precision-grid, .timeline, .csr-item, .csr-commit__grid, .iot-energy__grid, .iot-dash__grid, .contact-grid, .contact-careers__grid, .product-hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.csr-item--flip .csr-item__media { order: 0; }
	.timeline__sticky { position: relative; top: 0; }
	.lead-grid, .lead-grid--alt { grid-template-columns: 1fr 1fr; gap: 36px; }
	.about-split { grid-template-columns: 1fr; }
	.about-split__img { height: 360px; }
	.about-split__red { min-height: 420px; }
	.contact-info { grid-template-columns: 1fr 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__links { grid-column: 1 / -1; }
	.logo-grid { grid-template-columns: repeat(3, 1fr); }
	.why-banner { min-height: 0; padding: 260px 0 60px; }
	.csr-commit__img, .contact-careers__img { justify-self: center; }
}

@media (max-width: 700px) {
	:root { --gutter: 18px; }
	body { font-size: 15px; }
	.section { padding: 64px 0; }
	.container-wide, .site-footer .grid-lines { width: calc(100% - 36px); }
	.grid-lines i:nth-child(2), .grid-lines i:nth-child(4) { display: none; }
	.cards-3, .cards-4, .icon-cards--3, .icon-cards--4, .cert-grid, .ind-grid, .steps, .logo-grid { grid-template-columns: 1fr; }
	.logo-grid { grid-template-columns: 1fr 1fr; }
	.home-hero__slide { flex-basis: 92%; }
	.home-hero__row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.home-hero__row > span { text-align: center !important; }
	.home-hero__row .btn { order: -1; }
	.circles { grid-template-columns: 1fr; justify-items: center; }
	.circle { width: min(360px, 100%); margin-top: -24px; }
	.circle:first-child { margin-top: 0; }
	.home-products { padding-top: 180px; }
	.tabs__panel { grid-template-columns: 1fr; }
	.tabs__panels { padding: 18px; }
	.find-strip { flex-wrap: wrap; }
	.glass-card { padding: 32px 26px; }
	.row-head { flex-direction: column; align-items: flex-start; }
	.cta-banner__box { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
	.page-hero__meta { flex-direction: column; align-items: center; gap: 4px; margin-top: 20px; }
	.lead-grid, .lead-grid--alt { grid-template-columns: 1fr; }
	.person { max-width: 360px; }
	.values__row { grid-template-columns: 1fr; gap: 12px; }
	.bubble { width: 280px; height: 280px; margin: -10px 0 0; }
	.recognition { flex-direction: column; align-items: flex-start; }
	.recognition__badges img { width: 72px; height: 72px; }
	.contact-info { grid-template-columns: 1fr; }
	.enquiry { grid-template-columns: 1fr; padding: 22px; }
	.map, .map iframe { min-height: 320px; }
	.checks--2col { grid-template-columns: 1fr; }
	.spec-table__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
	.site-footer { padding-top: 90px; }
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__bar { flex-direction: column; align-items: flex-start; }
	.masonry { columns: 2; column-gap: 10px; }
	.masonry__item { margin-bottom: 10px; }
	.lightbox__stage { padding: 60px 14px; }
	.mini-bubbles, .mini-bubbles--lg { justify-content: center; }
	.mini-bubble, .mini-bubbles--lg .mini-bubble { width: 140px; font-size: 17px; margin-left: -12px; }
	.page-hero__title { font-size: 44px; }
	.h2 { font-size: 34px; }
	.video-banner__stat { align-self: flex-start; text-align: left; }
}
