/* ==========================================================================
   Origin Nepal Traders — organic, agriculture-rooted theme
   Palette sampled from the logo: leaf green, cow blue, deep navy.
   ========================================================================== */
:root, [data-theme="light"] {
	--bg: #f6faf1; --surface: #ffffff; --tint: #eaf3e2; --tint-2: #dcebd0;
	--ink: #13291c; --muted: #50665a; --line: #d6e3cc;
	--primary: #2a7f35; --primary-d: #1d5a27; --primary-soft: #dff0d8; --on-primary: #ffffff;
	--blue: #2f76b0; --navy: #163b5c; --sun: #f2b632;
	--footer-bg: #123d22; --footer-ink: #e6f1e3; --footer-muted: #a9c5ad;
	--sky-1: #cfe8f7; --sky-2: #f3f8e6; --peak: #7fa7c9; --hill-1: #8cc77a; --hill-2: #5fae55; --hill-3: #2f7f3a; --hill-line: #fff;
	--shadow: 0 1px 2px rgba(19,41,28,.06), 0 12px 32px -12px rgba(19,41,28,.18);
	--leaf: 28px 6px 28px 6px;
	--wa: #1faa59; --viber: #7360f2;
	--font-display: "Lora", "Mukta", Georgia, "Times New Roman", serif;
	--h-track: -.005em;
	--font-body: "Nunito Sans", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pad: clamp(1rem, 4vw, 2rem);
	color-scheme: light;
}
[data-theme="dark"] {
	--bg: #0d1912; --surface: #14251b; --tint: #112018; --tint-2: #1a3024;
	--ink: #e7f1e5; --muted: #a3b8a8; --line: #25402f;
	--primary: #5cc06a; --primary-d: #8fdc99; --primary-soft: #1d3a26; --on-primary: #0b1a10;
	--blue: #6fb0e3; --navy: #9cc7ea; --sun: #f2c04e;
	--footer-bg: #08110c; --footer-ink: #e2eee0; --footer-muted: #8fae95;
	--sky-1: #1b3a52; --sky-2: #1c3a2c; --peak: #38607f; --hill-1: #2d6a3a; --hill-2: #245a30; --hill-3: #1a4524; --hill-line: #9fe0a8;
	--shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -12px rgba(0,0,0,.6);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); overflow-x: hidden; transition: background .3s, color .3s; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-d); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: var(--h-track); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.35rem, 1.2rem + 5vw, 4.5rem); letter-spacing: calc(var(--h-track) * 2); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .dock span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--surface); padding: .6rem 1rem; border-radius: 8px; }
.wrap { width: min(100% - 2 * var(--pad), 1200px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--pad), 820px); }
.center { text-align: center; }
.ont-icon { width: 1.25em; height: 1.25em; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 999px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.7rem; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px -8px var(--primary); }
.btn--primary:hover { background: var(--primary-d); color: var(--on-primary); }
[data-theme="dark"] .btn--primary:hover { color: var(--on-primary); background: #7fd58b; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: #1d5a27; }
.btn--light:hover { color: #123d22; }
.btn--wa { background: var(--wa); color: #fff; } .btn--wa:hover { color: #fff; filter: brightness(.92); }
.btn--viber { background: var(--viber); color: #fff; } .btn--viber:hover { color: #fff; filter: brightness(.92); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .ont-icon { transition: transform .2s; } .link-arrow:hover .ont-icon { transform: translateX(4px); }
.pill { display: inline-flex; padding: .3rem .85rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary-d); font-weight: 600; font-size: .9rem; text-decoration: none; }
a.pill:hover { background: var(--primary); color: var(--on-primary); }
.pill--soft { margin: 0 .35rem .35rem 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--footer-bg); color: var(--footer-ink); font-size: .875rem; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar a { color: var(--footer-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: var(--footer-muted); }
.topbar__links { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar .ont-icon { width: 1.1em; height: 1.1em; }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.45); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__mark { width: 56px; height: 56px; border-radius: 16px; background: #fff; padding: 2px; object-fit: contain; box-shadow: 0 2px 10px -4px rgba(0,0,0,.3); }
.brand__word { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__word strong { font: 700 1.1rem var(--font-display); letter-spacing: var(--h-track); }
.brand__word em { font-style: normal; font-size: .8rem; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu a { display: block; padding: .6rem .85rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: 999px; }
.nav-menu a:hover { color: var(--primary); background: var(--primary-soft); }
.sub-toggle { background: none; border: 0; color: var(--muted); padding: .3rem; margin-left: -.5rem; cursor: pointer; display: inline-flex; border-radius: 50%; }
.sub-toggle .ont-icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.sub-menu { list-style: none; margin: 0; padding: .6rem; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px 6px 20px 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 5; }
.sub-menu a { border-radius: 10px; font-weight: 500; }
li.is-open > .sub-menu, .nav-menu li:has(> a:focus-visible, > .sub-toggle:focus-visible, .sub-menu a:focus-visible) > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mega { display: grid; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 1rem; min-width: 480px; padding: 1rem; }
.mega__col { display: flex; flex-direction: column; }
.mega__head { font: 700 1.05rem var(--font-display) !important; color: var(--primary) !important; margin-bottom: .2rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .nav-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: .2s; }
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle .ont-icon { grid-area: 1/1; }
[data-theme="light"] .theme-toggle__sun, [data-theme="dark"] .theme-toggle__moon { display: none; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-scrim { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background:
	radial-gradient(60% 70% at 85% 20%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
	radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%),
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='320' viewBox='0 0 520 320' fill='none' stroke='%232a7f35' stroke-opacity='.12' stroke-width='1.2'%3E%3Cpath d='M-10 60c80-40 150 30 240 0s150-50 300 10'/%3E%3Cpath d='M-10 90c80-40 150 30 240 0s150-50 300 10'/%3E%3Cpath d='M-10 120c80-40 150 30 240 0s150-50 300 10'/%3E%3Cpath d='M-10 190c80-40 150 30 240 0s150-50 300 10'/%3E%3Cpath d='M-10 220c80-40 150 30 240 0s150-50 300 10'/%3E%3Cpath d='M-10 250c80-40 150 30 240 0s150-50 300 10'/%3E%3C/svg%3E"); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--primary-d); font-weight: 600; font-size: .92rem; margin-bottom: 1.4rem; }
[data-theme="dark"] .hero__badge { color: var(--primary); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 34em; margin-top: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.4rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1rem, 3vw, 2.5rem); margin: 0; justify-content: start; }
.hero__stats div { border-left: 3px solid var(--primary); padding-left: .8rem; }
.hero__stats dt { font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1 var(--font-display); }
.hero__stats dd { margin: .25rem 0 0; font-size: .86rem; color: var(--muted); max-width: 11em; line-height: 1.3; }
.hero__art { position: relative; justify-self: center; width: min(100%, 440px); }
.arch { position: relative; aspect-ratio: 4/5; }
.arch__scene, .arch__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 32px 32px; box-shadow: var(--shadow); border: 6px solid var(--surface); }
.arch .mascot--hero { position: absolute; left: 50%; bottom: -1.5rem; transform: translateX(-50%); height: 78%; width: auto; max-width: 112%; pointer-events: none; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-weight: 600; font-size: .88rem; border: 1px solid var(--line); z-index: 2; }
.chip .ont-icon { color: var(--primary); }
.chip--a { top: 12%; left: -8%; } .chip--b { bottom: 10%; right: -6%; }
@media (prefers-reduced-motion: no-preference) {
	.hero__copy > *, .hero__art { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
	.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
	.hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; } .hero__art { animation-delay: .2s; }
	@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--primary); color: var(--on-primary); }
[data-theme="dark"] .strip { background: var(--tint-2); color: var(--ink); }
.strip__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1rem 0; font-weight: 600; }
.strip__row span { display: inline-flex; align-items: center; gap: .55rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tint { background: var(--tint); }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 42em; margin: 0; }
.section-head h2 { margin-bottom: .35em; }
.section-head--center { justify-content: center; text-align: center; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- Product cards & placeholders ---------- */
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--tint); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.pcard__badge { position: absolute; top: .8rem; left: .8rem; background: var(--sun); color: #3a2a00; font: 700 .78rem var(--font-body); padding: .25rem .7rem; border-radius: 999px; }
.pcard__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .82rem; font-weight: 600; color: var(--blue); text-decoration: none; margin-bottom: .3rem; }
.pcard__body h3 { margin-bottom: .35rem; } .pcard__body h3 a { color: var(--ink); text-decoration: none; }
.pcard__body h3 a:hover { color: var(--primary); }
.pcard__body p { color: var(--muted); font-size: .98rem; flex: 1; }
.pcard__actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.ph { position: relative; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; color: var(--primary); background: linear-gradient(160deg, var(--primary-soft), var(--tint-2)); }
.ph--1 { color: var(--blue); background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 16%, var(--surface)), var(--tint)); }
.ph--2 { color: #b98710; background: linear-gradient(160deg, color-mix(in srgb, var(--sun) 24%, var(--surface)), var(--tint)); }
.ph svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; }
.ph span { position: relative; font: 600 clamp(2.4rem, 2rem + 3vw, 4rem) var(--font-display); letter-spacing: calc(var(--h-track) * 2); opacity: .85; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .95rem var(--font-body); cursor: pointer; text-decoration: none; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .2s ease; }
.filter:active { transform: scale(.97); }
.filter:hover { border-color: var(--primary); }
.filter.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* ---------- Markets, splits, checklists ---------- */
.market { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: clamp(1.4rem, 3vw, 2.2rem); }
.market__icon, .mini__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px 4px 16px 4px; background: var(--primary-soft); color: var(--primary); flex: none; margin-bottom: 1rem; }
.market p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.tags a:hover { background: var(--primary-soft); border-color: var(--primary); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--story { grid-template-columns: 1.4fr 1fr; }
.split__text > p { color: var(--muted); }
.split__cards { display: grid; gap: 1rem; }
.mini { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px 5px 22px 5px; padding: 1.2rem 1.3rem; }
.mini .mini__icon { margin: 0; } .mini h3 { margin-bottom: .2rem; font-size: 1.15rem; } .mini p { margin: 0; color: var(--muted); font-size: .96rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks .ont-icon { color: var(--primary); background: var(--primary-soft); border-radius: 50%; padding: 4px; width: 1.6em; height: 1.6em; margin-top: .05em; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: 1.6rem; } .value p { color: var(--muted); margin: 0; }
.philosophy { margin: 2.5rem 0 0; padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--primary); color: var(--on-primary); border-radius: var(--leaf); text-align: center; }
[data-theme="dark"] .philosophy { background: var(--tint-2); color: var(--ink); }
.philosophy p { max-width: 46em; margin: 0 auto; font-size: 1.12rem; }
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: 1.6rem; position: sticky; top: 100px; }
.glance dl { margin: 0; } .glance dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.glance dl div:last-child { border: 0; } .glance dt { color: var(--muted); } .glance dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- Mosaic, team, FAQ ---------- */
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
.mosaic__item { position: relative; margin: 0; overflow: hidden; border-radius: 22px 5px 22px 5px; background: var(--tint-2); }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__item img, .mosaic__item .ph, .mosaic__item a { width: 100%; height: 100%; object-fit: contain; display: block; }
.mosaic__item figcaption { position: absolute; left: .7rem; bottom: .7rem; right: .7rem; padding: .35rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 90%, transparent); font-weight: 600; font-size: .88rem; width: fit-content; max-width: calc(100% - 1.4rem); }
.mosaic--all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); grid-auto-rows: 230px; }
.mosaic--all .mosaic__item:first-child { grid-column: auto; grid-row: auto; }
.team { display: grid; gap: clamp(1rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 290px)); justify-content: center; }
.member { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: 2rem 1.4rem 1.7rem; }
.member__photo { width: clamp(120px, 14vw, 160px); aspect-ratio: 1; margin: 0 auto 1.1rem; border-radius: 50% 50% 50% 14%; overflow: hidden; background: linear-gradient(150deg, var(--primary-soft), var(--tint-2)); display: grid; place-items: center; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--primary); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member__photo span { font: 600 3.2rem var(--font-display); color: var(--primary); }
.member h3 { margin-bottom: .15rem; } .member__role { color: var(--blue); font-weight: 600; margin: 0; }
.member__bio { color: var(--muted); font-size: .95rem; margin-top: .8rem; } .member__bio p:last-child { margin: 0; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: .75rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font: 600 1.05rem var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ont-icon { color: var(--primary); transition: transform .25s; }
.faq[open] summary .ont-icon { transform: rotate(180deg); } .faq[open] { border-color: var(--primary); }
.faq__a { padding: 0 1.3rem 1.2rem; color: var(--muted); } .faq__a p:last-child { margin: 0; }
.cta-band { margin-top: clamp(2rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--leaf); background: linear-gradient(120deg, #1d5a27, #2a7f35 60%, #2f76b0); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); margin-bottom: .3rem; } .cta-band p { margin: 0; opacity: .9; max-width: 40em; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--tint); border-bottom: 1px solid var(--line); overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%), radial-gradient(40% 100% at 0 100%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%); }
.page-hero__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-top: clamp(2rem, 5vw, 3.5rem); }
.page-hero__text { padding-bottom: clamp(1.8rem, 4vw, 3rem); min-width: 0; }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem); margin-bottom: .3em; overflow-wrap: anywhere; }
.page-hero__lede { color: var(--muted); max-width: 40em; margin: 0; font-size: 1.1rem; }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-bottom: .9rem; } .crumbs a { color: var(--primary); text-decoration: none; }

/* ---------- Product single ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.product__media { position: relative; border-radius: var(--leaf); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--tint); position: sticky; top: 100px; }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.variants { margin: 1rem 0; } .variants strong { margin-right: .5rem; }
.specs { width: 100%; border-collapse: collapse; margin: 1.2rem 0; background: var(--surface); border-radius: 14px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); } .specs th { width: 38%; color: var(--muted); font-weight: 600; }
.note { color: var(--muted); font-size: .94rem; }
.product__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.prose { overflow-wrap: anywhere; } .prose > * + * { margin-top: 1em; } .prose img { border-radius: 14px; } .prose__hero { border-radius: var(--leaf); margin-bottom: 1.5rem; width: 100%; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.navigation.pagination { margin-top: 2.5rem; } .nav-links { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.page-numbers { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); } .page-numbers.current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* ---------- Contact & enquiry ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.contact-card, .enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: clamp(1.4rem, 3vw, 2.2rem); }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; } .contact-list h4 { font: 700 .95rem var(--font-body); margin: 0 0 .1rem; letter-spacing: 0; } .contact-list p { margin: 0; color: var(--muted); overflow-wrap: anywhere; } .contact-list a { color: var(--ink); text-decoration: none; } .contact-list a:hover { color: var(--primary); text-decoration: underline; }
.ci { width: 44px; height: 44px; border-radius: 14px 4px 14px 4px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.chat-buttons { display: flex; flex-wrap: wrap; gap: .6rem; } .chat-buttons .btn { padding: .65rem 1.1rem; font-size: .95rem; }
.enquiry { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.enquiry__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.enquiry__head p { color: var(--muted); margin: 0; }
.enquiry__head h2 { margin-bottom: .25em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.form-field label { font-weight: 600; font-size: .92rem; }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s; }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.form-field .is-invalid { border-color: #c0392b; }
.enquiry .btn { width: 100%; } .enquiry .btn[disabled] { opacity: .65; cursor: wait; }
.form-status { margin: 1rem 0 0; padding: 0; border-radius: 12px; font-weight: 600; } .form-status:empty { display: none; }
.form-status.is-ok { background: var(--primary-soft); color: var(--primary-d); padding: .8rem 1rem; } .form-status.is-err { background: #fdeaea; color: #8a1f1f; padding: .8rem 1rem; }
[data-theme="dark"] .form-status.is-err { background: #3a1b1b; color: #ffb4b4; }
.form-alt { text-align: center; color: var(--muted); font-size: .92rem; margin: 1rem 0 0; }
.map-card { position: relative; margin-top: clamp(1.2rem, 3vw, 2rem); border-radius: var(--leaf); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: clamp(280px, 40vw, 440px); }
[data-theme="dark"] .map-card iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8) brightness(.95); }
.map-card__open { position: absolute; right: 1rem; bottom: 1rem; padding: .6rem 1.1rem; font-size: .92rem; }

/* ---------- Mascot (one component, six placements) ---------- */
.mascot { line-height: 0; }
.mascot img { width: auto; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); }
.mascot__placeholder { height: 100%; aspect-ratio: 4/5; display: grid; place-items: center; align-content: center; gap: .3rem; color: var(--primary); border: 2px dashed currentColor; border-radius: 40% 40% 24px 24px; padding: .5rem; text-align: center; font: 600 .8rem/1.2 var(--font-body); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.mascot__placeholder svg { width: 38%; max-height: 45%; } .mascot__placeholder small { display: block; font-weight: 400; opacity: .8; font-size: .7rem; }
.mascot--peek { height: clamp(96px, 16vw, 190px); flex: none; align-self: flex-end; margin-bottom: -1px; }
.mascot--form { height: clamp(84px, 10vw, 120px); flex: none; }
.mascot--page { height: 190px; margin: 0 auto 1rem; width: fit-content; }
.mascot--footer { position: absolute; right: var(--pad); top: -150px; height: 130px; z-index: 2; }
.mascot--hero .mascot__placeholder { width: clamp(140px, 34vw, 210px); height: 100%; }
.mascot-guide { position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; max-width: min(260px, 70vw); }
.mascot-guide[hidden] { display: none; }
.mascot--float { height: 96px; }
.mascot-guide__bubble { position: relative; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: .7rem 1rem; font-size: .9rem; line-height: 1.4; text-decoration: none; box-shadow: var(--shadow); animation: pop .5s .2s both; }
.mascot-guide__close { position: absolute; top: -10px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; z-index: 2; }
.mascot-guide__close .ont-icon { width: 14px; height: 14px; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Floating contact dock (WhatsApp / Viber / Email) */
.contact-dock { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 54; display: flex; flex-direction: column; gap: .6rem; }
.dock { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.45); transition: transform .2s; text-decoration: none; }
.dock:hover { transform: scale(1.08); color: #fff; } .dock .ont-icon { width: 26px; height: 26px; }
.dock--wa { background: var(--wa); } .dock--viber { background: var(--viber); } .dock--mail { background: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 60px; background: var(--footer-bg); color: var(--footer-ink); }
.footer-ridge { position: absolute; left: 0; right: 0; top: -59px; height: 70px; pointer-events: none; }   /* 11px of the ridge sits inside the footer: when zoomed out the two anti-aliased edges can no longer leave a hairline between them */
.footer-ridge svg { display: block; width: 100%; height: 100%; } .footer-ridge path { fill: var(--footer-bg); }
.footer-main { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.site-footer h4 { font: 700 1.05rem var(--font-display); color: #fff; margin-bottom: 1rem; }
.site-footer a { color: var(--footer-ink); text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col p { color: var(--footer-muted); max-width: 28em; }
.footer-logo__img { width: 96px; height: 96px; background: #fff; border-radius: 22px; padding: 4px; margin-bottom: 1rem; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; } .footer-contact .ont-icon { margin-top: .2em; color: var(--sun); }
.social-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: .2s; } .social-icon:hover { background: var(--primary); transform: translateY(-2px); text-decoration: none !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: var(--footer-muted); }
.footer-bottom p { margin: 0; } .footer-legal { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.notfound__code { font: 700 clamp(4rem, 14vw, 9rem)/1 var(--font-display); color: var(--primary); opacity: .25; margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-col--brand { grid-column: 1 / -1; }
	.mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { backdrop-filter: none; }
	.topbar__addr { display: none; } .topbar__row { justify-content: center; }
	.site-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1rem; padding: 5.5rem 1.2rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); z-index: 90; box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); visibility: hidden; }
	.site-nav.is-open { transform: none; visibility: visible; }
	.nav-scrim { display: block; position: fixed; inset: 0; background: rgba(8,17,12,.55); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 85; }
	.nav-scrim.is-open { opacity: 1; pointer-events: auto; }
	.header-actions { position: relative; z-index: 100; }
	.site-nav { height: 100dvh; }
	.nav-menu { flex-direction: column; align-items: stretch; gap: .2rem; }
	.nav-menu > li { flex-wrap: wrap; } .nav-menu > li > a { flex: 1; padding: .85rem 1rem; font-size: 1.05rem; }
	.sub-toggle { margin: 0; padding: .7rem; } .sub-toggle .ont-icon { width: 1.3em; height: 1.3em; }
	li.is-open > .sub-toggle .ont-icon { transform: rotate(180deg); }
	.sub-menu, .mega { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--primary-soft); border-radius: 0; background: transparent; padding: 0 0 .4rem .8rem; display: none; grid-template-columns: 1fr; }
	li.is-open > .sub-menu, li.is-open > .mega { display: block; }
	li:hover > .sub-menu:not(.x) { transform: none; }
	.nav-cta { width: 100%; }
	.hero__grid { grid-template-columns: 1fr; text-align: center; }
	.hero__sub { margin-inline: auto; } .hero__cta, .hero__stats { justify-content: center; } .hero__stats div { text-align: left; }
	.hero__art { order: -1; width: min(78%, 340px); margin-bottom: 1rem; }
	.chip--a { left: -4%; } .chip--b { right: -4%; }
	.split, .split--story, .product, .contact-grid { grid-template-columns: 1fr; }
	.glance { position: static; } .product__media { position: relative; top: auto; width: 100%; }
}
@media (max-width: 720px) {
	.topbar__links { gap: .9rem 1.4rem; justify-content: center; } .topbar__links span { display: none; } .topbar a .ont-icon { width: 1.35em; height: 1.35em; }
	.brand__word em { display: none; } .brand__mark { width: 48px; height: 48px; }
	.hero__stats { grid-template-columns: repeat(3, 1fr); gap: .8rem; } .hero__stats dt { font-size: 1.5rem; } .hero__stats dd { font-size: .78rem; }
	.hero__cta .btn { flex: 1 1 100%; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .mosaic__item:first-child { grid-column: span 2; grid-row: span 1; }
	.form-row { grid-template-columns: 1fr; }
	.strip__row { justify-content: center; font-size: .92rem; }
	.section-head { flex-direction: column; align-items: flex-start; } .section-head--center { align-items: center; }
	.cta-band { text-align: center; justify-content: center; } .cta-band .btn { width: 100%; }
	.enquiry__head { flex-direction: column-reverse; align-items: center; text-align: center; }
	.mascot--footer { right: 50%; transform: translateX(50%); top: -128px; height: 110px; }
	.mascot--peek { height: 92px; } .mascot--float { height: 70px; }
	.mascot-guide__bubble { display: none; } .mascot-guide.show-bubble .mascot-guide__bubble { display: block; font-size: .82rem; }
	.site-footer { padding-bottom: 120px; }
	.dock { width: 46px; height: 46px; } .dock .ont-icon { width: 23px; height: 23px; }
	.glance dl div { flex-direction: column; gap: .1rem; } .glance dd { text-align: left; }
	.specs th { width: 42%; }
}
/* Footer: logo & information centred on mobile */
@media (max-width: 720px) {
	.footer-main { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.footer-col { width: 100%; display: flex; flex-direction: column; align-items: center; }
	.footer-col--brand p { margin-inline: auto; }
	.social-row { justify-content: center; }
	.footer-col ul { justify-items: center; }
	.footer-contact li { flex-direction: column; align-items: center; gap: .15rem; text-align: center; }
	.footer-bottom { flex-direction: column; align-items: center; text-align: center; }
	.footer-legal { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 380px) {
	.hero__stats { grid-template-columns: 1fr; justify-items: start; margin-inline: auto; width: fit-content; }
	.page-hero__inner { flex-direction: column; align-items: flex-start; } .mascot--peek { align-self: flex-end; margin-top: -2.5rem; height: 78px; }
	.btn--lg { padding: .9rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .contact-dock, .mascot-guide, .site-footer { display: none !important; } }

/* ==========================================================================
   v1.1 — Hero slider, stats band, motion, groups, modules
   ========================================================================== */
.site-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; pointer-events: none; }
.site-progress__bar { height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--primary), var(--blue), var(--sun)); }
.flip { transform: scaleX(-1); }

/* Slider */
.hs { --sc-sky1: #bfe3f5; --sc-sky2: #f4f6df; --sc-sun: #f7c548; --sc-peak: #6f9bc0; --sc-h1: #86c374; --sc-h2: #58a84f; --sc-h3: #2d7a38; --sc-line: #fff;
	position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(560px, 86vh, 800px); background: #0c2415; }
.hs__track { position: absolute; inset: 0; }
.hs__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.hs__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, visibility 0s; }
.hs__bg { position: absolute; inset: 0; overflow: hidden; }
.hs__bg > img, .hs__bg > .scene { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.1); transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.hs__slide.is-active .hs__bg > * { transform: scale(1); }
.scene--2 { --sc-sky1: #ffd9a0; --sc-sky2: #fff1cf; --sc-sun: #ff9f43; --sc-peak: #c58a6a; --sc-h1: #9bc46a; --sc-h2: #6fa84a; --sc-h3: #3d7b34; }
.scene--3 { --sc-sky1: #8fb6e6; --sc-sky2: #dfeaf6; --sc-sun: #fbe39a; --sc-peak: #5b7fb0; --sc-h1: #7fbf86; --sc-h2: #4f9b63; --sc-h3: #276a43; }
.hs__shade { position: absolute; inset: 0; background:
	linear-gradient(0deg, rgba(5,20,10,.45), transparent 45%),
	linear-gradient(90deg, rgba(5,22,11,.88) 0%, rgba(5,22,11,.66) 40%, rgba(5,22,11,.2) 100%); }
.hs__slide[data-overlay="soft"] .hs__shade { background: linear-gradient(0deg, rgba(5,20,10,.4), transparent 45%), linear-gradient(90deg, rgba(5,22,11,.72) 0%, rgba(5,22,11,.4) 45%, rgba(5,22,11,.05) 100%); }
.hs__slide[data-overlay="strong"] .hs__shade { background: linear-gradient(0deg, rgba(5,20,10,.55), transparent 50%), linear-gradient(90deg, rgba(5,22,11,.94) 0%, rgba(5,22,11,.82) 50%, rgba(5,22,11,.5) 100%); }
.hs__inner { position: relative; z-index: 2; }
.hs__content { max-width: 680px; padding: 4.5rem 0 7rem; }
.hs__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem 1rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 600; font-size: .92rem; margin-bottom: 1.3rem; color: #fff; }
.hs__badge .ont-icon { color: #a8e8a0; }
.hs__title { color: #fff; font-size: clamp(2.2rem, 1rem + 4.8vw, 4.3rem); line-height: 1.08; letter-spacing: calc(var(--h-track) * 2); margin-bottom: .45em; text-shadow: 0 2px 24px rgba(0,0,0,.35); text-wrap: balance; }
.hs__sub { color: rgba(255,255,255,.93); font-size: clamp(1.02rem, .95rem + .45vw, 1.28rem); max-width: 34em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hs__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: #1d5a27; }
.hs .btn--primary { background: #34a047; color: #fff; box-shadow: 0 10px 26px -10px rgba(52,160,71,.9); } .hs .btn--primary:hover { background: #43b856; color: #fff; }
.hs__slide.is-active .hs__content > * { animation: hsRise .85s cubic-bezier(.2,.7,.2,1) both; }
.hs__slide.is-active .hs__content > :nth-child(2) { animation-delay: .1s; } .hs__slide.is-active .hs__content > :nth-child(3) { animation-delay: .2s; } .hs__slide.is-active .hs__content > :nth-child(4) { animation-delay: .3s; }
@keyframes hsRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hs__ui { position: absolute; left: 0; right: 0; bottom: clamp(1.2rem, 3vw, 2.2rem); z-index: 6; }
.hs__ctrl { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .5rem; border-radius: 999px; background: rgba(5,22,11,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.hs__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; padding: 0; }
.hs__btn:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }
.hs .p-play { display: none; } .hs.is-paused .p-play { display: block; } .hs.is-paused .p-pause { display: none; }
.hs__dots { display: flex; align-items: center; }
.hs__dot { position: relative; width: 38px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs__dot::before, .hs__dot i { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 6px; border-radius: 6px; }
.hs__dot::before { background: rgba(255,255,255,.35); }
.hs__dot i { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hs__dot.is-active i { animation: hsFill var(--hs-dur, 6.5s) linear forwards; }
.hs.is-paused .hs__dot.is-active i, .hs.is-static .hs__dot.is-active i { animation: none; transform: scaleX(1); }
@keyframes hsFill { to { transform: scaleX(1); } }
.hs .mascot--hero { position: absolute; z-index: 4; right: max(var(--pad), calc((100% - 1200px) / 2)); bottom: 0; height: min(78%, 620px); pointer-events: none; }
.hs .mascot--hero img { height: 100%; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.4)); animation: bob 5s ease-in-out infinite; }
.hs .mascot--hero .mascot__placeholder { width: clamp(150px, 20vw, 260px); color: #fff; background: rgba(5,22,11,.35); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hs__leaves { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hs__leaves i { position: absolute; top: -30px; width: 22px; height: 22px; background: rgba(168,232,160,.55); border-radius: 0 100% 0 100%; opacity: 0; animation: leaf 14s linear infinite; }
.hs__leaves i:nth-child(1) { left: 12%; animation-delay: 0s; } .hs__leaves i:nth-child(2) { left: 34%; animation-delay: 3.5s; width: 16px; height: 16px; animation-duration: 17s; }
.hs__leaves i:nth-child(3) { left: 58%; animation-delay: 6s; } .hs__leaves i:nth-child(4) { left: 74%; animation-delay: 9s; width: 14px; height: 14px; animation-duration: 18s; } .hs__leaves i:nth-child(5) { left: 90%; animation-delay: 1.5s; width: 18px; height: 18px; }
@keyframes leaf { 0% { opacity: 0; transform: translate(0,0) rotate(0); } 10% { opacity: .9; } 50% { transform: translate(40px, 45vh) rotate(180deg); } 100% { opacity: 0; transform: translate(-30px, 95vh) rotate(380deg); } }

/* Stats band */
.stats-band--overlap { position: relative; z-index: 7; margin-top: -10px; }
.stats-band--flat { padding: 0 0 clamp(2rem, 5vw, 3.5rem); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--leaf); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: var(--surface); text-align: center; padding: 1.5rem .8rem; }
.stat dt { font: 700 clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem)/1 var(--font-display); color: var(--primary); letter-spacing: var(--h-track); }
.stat dd { margin: .45rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.3; }

/* Scroll reveal (only when JS is present) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.section-head h2::after { content: ""; display: block; width: 54px; height: 4px; margin-top: .45em; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--blue)); }
.section-head--center h2::after { margin-inline: auto; }
.pcard__media img, .mosaic__item img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__media img, .mosaic__item:hover img { transform: scale(1.025); }
.mosaic__item { transition: transform .25s, box-shadow .25s; } .mosaic__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.member { transition: transform .25s, box-shadow .25s; } .member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.market, .value, .mini { transition: transform .25s, box-shadow .25s, border-color .25s; } .market:hover, .value:hover, .mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
[data-group][hidden] { display: none !important; }

/* Team groups */
.team-group + .team-group { margin-top: clamp(2rem, 5vw, 3.5rem); }
.team-group__title { display: flex; align-items: center; gap: 1rem; font-size: 1.25rem; color: var(--primary); margin: 0 0 1.6rem; text-align: center; }
.team-group__title::before, .team-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-group__title span { padding: .3rem 1.1rem; border-radius: 999px; background: var(--primary-soft); }
.member__links { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.member__links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); transition: .2s; } .member__links a:hover { background: var(--primary); color: var(--on-primary); }

/* Module cards */
.datebox { position: absolute; top: .8rem; left: .8rem; background: var(--surface); color: var(--ink); border-radius: 14px 4px 14px 4px; padding: .35rem .75rem; text-align: center; font: 700 .72rem/1.1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; box-shadow: var(--shadow); }
.datebox b { display: block; font: 700 1.5rem/1 var(--font-display); color: var(--primary); letter-spacing: 0; }
.pcard__badge--muted { background: var(--tint-2); color: var(--muted); left: auto; right: .8rem; }
.pill--muted { background: var(--tint-2); color: var(--muted); }
.meta-chips { list-style: none; padding: 0; margin: .2rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--muted); font-size: .88rem; }
.meta-chips li { display: inline-flex; align-items: center; gap: .35rem; } .meta-chips .ont-icon { width: 1em; height: 1em; color: var(--primary); }
.job.is-closed { opacity: .72; }

/* ---- v1.1 responsive ---- */
@media (max-width: 980px) {
	.hs { min-height: clamp(560px, 88vh, 760px); }
	.hs__content { padding: 3rem 0 11rem; max-width: 100%; }
	.hs__shade, .hs__slide[data-overlay] .hs__shade { background: linear-gradient(180deg, rgba(5,22,11,.62) 0%, rgba(5,22,11,.78) 55%, rgba(5,22,11,.9) 100%); }
	.hs .mascot--hero { height: min(36%, 260px); right: var(--pad); bottom: 0; }
	.hs__ui { bottom: 1.2rem; }
}
@media (max-width: 720px) {
	.hs__content { padding: 2.2rem 0 10.5rem; }
	.hs__title { font-size: clamp(2rem, 8.2vw, 2.7rem); }
	.hs__cta .btn { flex: 1 1 100%; }
	.hs .mascot--hero { height: 150px; }
	.hs__btn { width: 38px; height: 38px; } .hs__dot { width: 30px; }
	.stats-band--overlap { margin-top: -30px; }
	.stat { padding: 1.1rem .5rem; }
	.team-group__title { font-size: 1.1rem; }
}
@media (max-width: 380px) { .hs__ctrl { gap: .3rem; padding: .3rem; } .hs__dot { width: 24px; } .hs .mascot--hero { height: 120px; } }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .hs__leaves { display: none; } .hs__slide.is-active .hs__content > * { animation: none; } }

.grid--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
@media (min-width: 721px) and (max-width: 1100px) { .grid--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); } }


/* ==========================================================================
   v1.2 — images always shown in full, nothing cut off or hidden underneath,
   separate Enquiry / Career forms with documents, themed comments, team hierarchy
   ========================================================================== */

/* ---------- Images: whole picture visible, over a soft blurred copy of itself ---------- */
.fit { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--tint); }
.fit::before { content: ""; position: absolute; inset: -14%; background: var(--fit-bg) center / cover no-repeat; filter: blur(22px) saturate(1.15); opacity: .5; }
[data-theme="dark"] .fit::before { opacity: .32; }
.fit img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.pcard__media .pcard__badge, .pcard__media .datebox { z-index: 2; }
.mosaic__item a { position: relative; }
.mosaic__item .fit img { object-fit: contain; }
.mosaic__item figcaption { z-index: 2; }
.product__media .pcard__badge { z-index: 2; }
.prose__hero { display: block; width: 100%; height: auto; max-height: min(80vh, 780px); object-fit: contain; background: var(--tint); border-radius: var(--leaf); }

/* ---------- Content never spills or gets clipped ---------- */
.split > *, .contact-grid > *, .product > *, .job-main { min-width: 0; }
.pcard__body, .member, .glance, .contact-card, .value, .market { min-width: 0; overflow-wrap: anywhere; }
.prose img, .prose video { max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; }
.prose table, .prose pre { display: block; max-width: 100%; overflow-x: auto; }
.prose figure { margin: 0; }
.prose figcaption, .wp-caption-text { color: var(--muted); font-size: .9rem; text-align: center; margin-top: .5rem; }
.wp-caption { max-width: 100%; }
.prose .alignleft { float: left; margin: .3rem 1.4rem 1rem 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3rem 0 1rem 1.4rem; max-width: 50%; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose::after { content: ""; display: table; clear: both; }
@media (min-width: 981px) {
	.nav-menu > li:nth-last-child(-n+2) > .sub-menu:not(.mega) { left: auto; right: 0; }
	.mega { max-width: calc(100vw - 2 * var(--pad)); }
}
@media (max-width: 560px) { .prose .alignleft, .prose .alignright { float: none; margin: 1rem auto; max-width: 100%; } }

/* ---------- Hero: height follows the content, controls always sit above the stats band ---------- */
.hs__track { position: relative; display: grid; min-height: inherit; }
.hs__slide { position: relative; inset: auto; grid-area: 1 / 1; min-height: inherit; align-items: center; }
.hs__content { padding: 4.5rem 0 calc(7rem + 44px); }
.hs__ui { bottom: calc(clamp(1.2rem, 3vw, 2.2rem) + 44px); }
.hs--flat .hs__content { padding-bottom: 7rem; }
.hs--flat .hs__ui { bottom: clamp(1.2rem, 3vw, 2.2rem); }
.hs__slide[data-fit="contain"] .hs__bg { background: #0c2415; }
.hs__slide[data-fit="contain"] .hs__bg::before { content: ""; position: absolute; inset: -6%; background: var(--fit-bg) center / cover no-repeat; filter: blur(28px) brightness(.65) saturate(1.1); }
.hs__slide[data-fit="contain"] .hs__bg > img { position: relative; z-index: 1; object-fit: contain; object-position: center; transform: none; transition: none; }
@media (max-width: 980px) {
	.hs__ui { bottom: calc(1.2rem + 44px); }
	.hs--flat .hs__ui { bottom: 1.2rem; }
	.hs__content { padding: 3rem 0 calc(8rem + 44px); }
	.hs--flat .hs__content { padding-bottom: 8rem; }
}
@media (max-width: 720px) {
	.hs__ui { bottom: calc(1.2rem + 30px); }
	.hs--flat .hs__ui { bottom: 1.2rem; }
	.hs__content { padding: 2.2rem 0 calc(7.5rem + 30px); }
	.hs--flat .hs__content { padding-bottom: 7.5rem; }
}

/* ---------- Contact dock + mascot: out of the way of content ---------- */
.contact-dock { align-items: flex-end; }
.dock__list { display: flex; flex-direction: column; gap: .6rem; }
.dock--toggle { display: none; background: var(--primary); border: 0; padding: 0; cursor: pointer; }
.dock--toggle .dock__close { display: none; }
.contact-dock.is-open .dock--toggle .dock__open { display: none; }
.contact-dock.is-open .dock--toggle .dock__close { display: block; }
@media (max-width: 1360px) {
	.contact-dock { flex-direction: column-reverse; }
	.dock--toggle { display: grid; }
	.dock__list { display: none; }
	.contact-dock.is-open .dock__list { display: flex; animation: pop .25s both; }
}
.mascot-guide { max-width: min(260px, calc(100vw - 96px)); }
.site-footer { padding-bottom: 20px; }

/* ---------- Forms: document picker (checked the moment a file is chosen) ---------- */
.form-label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.form-field--file { gap: .45rem; }
.filebox { position: relative; display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1.5px dashed color-mix(in srgb, var(--primary) 55%, var(--line)); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.filebox:hover { border-color: var(--primary); background: var(--primary-soft); }
.filebox:focus-within { border-style: solid; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.form-field .filebox input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; padding: 0; border: 0; cursor: pointer; font-size: 0; }
.filebox__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px 4px 14px 4px; background: var(--primary-soft); color: var(--primary); }
.filebox__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.filebox__text strong { font-weight: 600; }
.filebox__text small { color: var(--muted); font-size: .84rem; }
.filebox__chip { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem .55rem .85rem; border-radius: 12px; background: var(--primary-soft); color: var(--primary-d); font-weight: 600; font-size: .92rem; }
.filebox__chip[hidden] { display: none; }
[data-theme="dark"] .filebox__chip { color: var(--primary); }
.filebox__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filebox__size { opacity: .8; font-weight: 500; white-space: nowrap; }
.filebox__clear { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--primary) 14%, transparent); color: inherit; cursor: pointer; padding: 0; }
.filebox__clear:hover { background: var(--primary); color: var(--on-primary); }
.filebox__clear .ont-icon { width: 15px; height: 15px; }
.filebox__msg { margin: 0; padding: .65rem .9rem; border-radius: 12px; background: #fdeaea; color: #8a1f1f; font-weight: 600; font-size: .9rem; line-height: 1.4; }
[data-theme="dark"] .filebox__msg { background: #3a1b1b; color: #ffb4b4; }
.form-field--file.is-invalid .filebox { border-color: #c0392b; background: color-mix(in srgb, #c0392b 7%, var(--bg)); }

/* ---------- Career form + job pages ---------- */
.enquiry--career { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.enquiry__badge { display: grid; place-items: center; width: 68px; height: 68px; flex: none; border-radius: 24px 6px 24px 6px; background: var(--primary-soft); color: var(--primary); }
.enquiry__badge .ont-icon { width: 34px; height: 34px; }
.job-main { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-content: start; }
.general-apply { max-width: 820px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; }
.enquiry__form .btn[disabled] { opacity: .65; cursor: wait; }

/* ---------- Blog comments ---------- */
.comments { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.comments__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.comments__head h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin: 0; }
.comments__head p { margin: .25rem 0 0; color: var(--muted); }
.comments__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px 4px 16px 4px; background: var(--primary-soft); color: var(--primary); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list > li { margin-bottom: 1rem; }
.comment-list .children { margin: 1rem 0 0 clamp(.8rem, 4vw, 3rem); padding-left: clamp(.7rem, 3vw, 1.3rem); border-left: 2px solid var(--primary-soft); }
.comment-list .children > li { margin-bottom: 1rem; }
.comment { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: 1.1rem 1.3rem; transition: box-shadow .25s, border-color .25s; }
.comment:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.bypostauthor > .comment { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); background: color-mix(in srgb, var(--primary-soft) 40%, var(--surface)); }
.comment__avatar { flex: none; width: 56px; height: 56px; border-radius: 50% 50% 50% 14%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, var(--primary-soft), var(--tint-2)); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--primary); }
.comment__avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment__avatar span { font: 600 1.5rem var(--font-display); color: var(--primary); }
.comment__main { min-width: 0; flex: 1; }
.comment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .7rem; }
.comment__author { font: 700 1.05rem var(--font-display); }
.comment__author a { color: var(--ink); text-decoration: none; }
.comment__badge { padding: .12rem .6rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: 700 .7rem var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.comment__date { font-size: .85rem; color: var(--muted); text-decoration: none; }
.comment__date:hover { color: var(--primary); }
.comment__body { margin-top: .4rem; overflow-wrap: anywhere; }
.comment__body p:last-child { margin-bottom: 0; }
.comment__pending { margin: .5rem 0 0; padding: .5rem .8rem; border-radius: 10px; background: color-mix(in srgb, var(--sun) 22%, var(--surface)); font-size: .9rem; font-weight: 600; }
.comment__actions { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .7rem; font-size: .9rem; font-weight: 600; }
.comment__actions:empty { display: none; }
.comment__actions a { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.comment__actions .ont-icon { width: 1em; height: 1em; }
.comment__edit a { color: var(--muted); }
.comments__closed, .comment-note { color: var(--muted); }
.comments .navigation.pagination { margin: 1.5rem 0; }
.comment-respond-wrap { margin-top: 2rem; }
.comment-respond { background: var(--surface); border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--line)); border-radius: var(--leaf); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.comment-list .comment-respond { margin-top: 1rem; box-shadow: none; }
.comment-reply-title { margin-bottom: 1rem; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem); }
.comment-reply-title small a { font: 600 .9rem var(--font-body); margin-left: .4rem; }
.comment-form .form-submit { margin: 0; }
.comment-form .btn { width: 100%; }
.comment-form-cookies-consent { margin: 0 0 1.1rem; }
.comment-form-cookies-consent label { display: flex; gap: .6rem; align-items: center; font-size: .92rem; color: var(--muted); }
.comment-form-cookies-consent input { accent-color: var(--primary); width: 18px; height: 18px; }
@media (max-width: 560px) { .comment { padding: 1rem; gap: .75rem; } .comment__avatar { width: 44px; height: 44px; } .comment__avatar span { font-size: 1.2rem; } }

/* ---------- Team hierarchy (home + About) ---------- */
.team-group { position: relative; }
.team-section--tiered .team-group + .team-group { margin-top: clamp(3rem, 7vw, 4.5rem); }
.team-section--tiered .team-group + .team-group::before { content: ""; position: absolute; left: 50%; top: calc(-1 * clamp(3rem, 7vw, 4.5rem)); height: clamp(3rem, 7vw, 4.5rem); width: 2px; margin-left: -1px; background: linear-gradient(var(--line), var(--primary)); }
.team-section--tiered .team-group--tier-1 .member { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); box-shadow: var(--shadow); }
.team-section--tiered .team-group--tier-1 .member__photo { width: clamp(136px, 16vw, 176px); }
.team-more { margin-top: clamp(1.5rem, 4vw, 2.5rem); }


/* ==========================================================================
   v1.3 — mobile product images, meta pills, mascot spacing, Downloads page
   ========================================================================== */

/* ---------- Product / card images: always contained inside their frame ---------- */
.product__media, .pcard__media { isolation: isolate; max-width: 100%; }
.product__media .fit, .pcard__media .fit, .product__media .ph, .pcard__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.fit img, .product__media img, .pcard__media img { max-width: 100%; max-height: 100%; }
@media (max-width: 980px) {
	.product { gap: 1.5rem; }
	.product__media { position: relative; top: auto; width: 100%; aspect-ratio: 4 / 3; }
}

/* ---------- Meta pills (author · date · reading time …) ---------- */
.meta-pills { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.meta-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .9rem .38rem .75rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: 600 .86rem/1.2 var(--font-body); max-width: 100%; box-shadow: 0 1px 2px rgba(19,41,28,.04); }
.meta-pill .ont-icon { width: 1.05em; height: 1.05em; color: var(--primary); }
.meta-pill span { overflow-wrap: anywhere; }
.page-hero .meta-pills { margin-top: 1.1rem; }
.meta-pills--card { margin: 0 0 .75rem; gap: .4rem; }
.meta-pills--card .meta-pill { padding: .26rem .7rem .26rem .6rem; font-size: .78rem; background: var(--tint); box-shadow: none; }
.eyebrow-pill { display: inline-block; margin-bottom: 1rem; padding: .32rem .95rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line)); color: var(--primary-d); font: 700 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
[data-theme="dark"] .eyebrow-pill { color: var(--primary); }

/* ---------- Hero mascot (phones/tablets): sits above the slider controls, never under the stats card ---------- */
@media (max-width: 980px) {
	.hs { --hs-ov: 44px; --hs-m: 150px; --hs-ctrl: calc(var(--hs-ov) + 1.2rem); }
	.hs--flat { --hs-ov: 0px; }
	.hs .mascot--hero { height: var(--hs-m); bottom: calc(var(--hs-ctrl) + 54px + .5rem); right: var(--pad); }
	.hs__content, .hs--flat .hs__content { padding-bottom: calc(var(--hs-ctrl) + 54px + var(--hs-m) + 1.5rem); }
}
@media (max-width: 720px) {
	.hs { --hs-ov: 30px; --hs-m: 128px; }
	.hs .mascot--hero { height: var(--hs-m); }
}
@media (max-width: 380px) { .hs { --hs-m: 104px; } .hs .mascot--hero { height: var(--hs-m); } }

/* ---------- Downloads ---------- */
.dl-wrap { display: block; }
.dl-intro { margin-bottom: 2rem; }
.dl-list { display: grid; gap: 1rem; }
.dl-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem 1.3rem; padding: 1.15rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.dl-card[hidden] { display: none; }
.dl-card__icon { width: 52px; height: 52px; border-radius: 16px 6px 16px 6px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.dl-card__icon .ont-icon { width: 24px; height: 24px; }
.dl-card__body { min-width: 0; }
.dl-card__body h3 { margin: 0; font: 700 clamp(1.02rem, .95rem + .35vw, 1.2rem)/1.3 var(--font-body); letter-spacing: -.005em; color: var(--ink); overflow-wrap: anywhere; }
.dl-card__body p { margin: .2rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.45; overflow-wrap: anywhere; }
.dl-card__btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 .98rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.dl-card__btn .ont-icon { width: 1.15em; height: 1.15em; }
.dl-card__btn:hover, .dl-card:hover .dl-card__btn { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dl-card__btn:active { transform: scale(.97); }
/* Icon tile colour follows the document type */
.dl-card--brochure .dl-card__icon, .dl-card--catalogue .dl-card__icon { background: color-mix(in srgb, var(--blue) 16%, var(--surface)); color: var(--blue); }
.dl-card--profile .dl-card__icon, .dl-card--certificate .dl-card__icon { background: color-mix(in srgb, var(--sun) 28%, var(--surface)); color: #9a6b00; }
[data-theme="dark"] .dl-card--profile .dl-card__icon, [data-theme="dark"] .dl-card--certificate .dl-card__icon { color: var(--sun); }
.dl-card--form .dl-card__icon, .dl-card--other .dl-card__icon { background: color-mix(in srgb, #7a5cf0 14%, var(--surface)); color: #6a4fe0; }
[data-theme="dark"] .dl-card--form .dl-card__icon, [data-theme="dark"] .dl-card--other .dl-card__icon { color: #b4a2ff; }
@media (max-width: 560px) {
	.dl-card { grid-template-columns: auto minmax(0, 1fr); padding: 1.05rem 1.1rem; }
	.dl-card__btn { grid-column: 1 / -1; width: 100%; }
	.meta-pill { font-size: .82rem; }
}

/* ---------- About: Mission & Vision ---------- */
.mv-grid { display: grid; gap: clamp(1rem, 3vw, 1.8rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mv-grid--1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.mv-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: clamp(1.5rem, 3.5vw, 2.3rem); transition: transform .25s, box-shadow .25s, border-color .25s; }
.mv-card::after { content: ""; position: absolute; right: -48px; top: -48px; width: 150px; height: 150px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 9%, transparent); pointer-events: none; }
.mv-card--vision::after { background: color-mix(in srgb, var(--blue) 11%, transparent); }
.mv-card--vision .mini__icon { background: color-mix(in srgb, var(--blue) 16%, var(--surface)); color: var(--blue); }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.mv-card h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); margin: .9rem 0 .5rem; }
.mv-card p { position: relative; margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero (desktop): slider + stats band fit in the first screen, no scrolling ---------- */
@media (min-width: 981px) {
	.hs { --hs-chrome: 215px; min-height: clamp(460px, calc(100vh - var(--hs-chrome)), 640px); min-height: clamp(460px, calc(100svh - var(--hs-chrome)), 640px); }
	.hs--flat { --hs-chrome: 140px; }
	.hs .hs__ui { bottom: calc(1rem + 44px); } .hs--flat .hs__ui { bottom: 1rem; }
	.hs .hs__content { padding: 1.6rem 0 calc(52px + 2rem + 44px); }
	.hs--flat .hs__content { padding-bottom: calc(52px + 2rem); }
	.hs__title { font-size: clamp(2.1rem, 1rem + 3vw, 3.4rem); margin-bottom: .35em; }
	.hs__sub { font-size: clamp(1rem, .9rem + .35vw, 1.15rem); }
	.hs__cta { margin-top: 1.4rem; }
	.hs__badge { margin-bottom: 1rem; }
	.hs .mascot--hero { height: min(74%, 520px); }
}


/* ==========================================================================
   Active navigation: current page + its parent section are always identifiable
   (works for the built-in menu and for menus built in Appearance → Menus)
   ========================================================================== */
.nav-menu a { position: relative; }
.nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a { color: var(--primary-d); background: var(--primary-soft); }
.nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 3px; border-radius: 3px; transform: translateX(-50%); background: linear-gradient(90deg, var(--primary), var(--blue)); }
.nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > .sub-toggle { color: var(--primary); }
.nav-menu > li:is(.current-menu-item, .current_page_item) > a:hover { background: var(--primary-soft); }
/* inside dropdowns */
.sub-menu :is(.current-menu-item, .current_page_item) > a, .sub-menu a.is-current:not(.mega__head) { color: var(--primary-d); background: var(--primary-soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--primary); }
.mega a.mega__head.is-current { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--blue); }
@media (max-width: 980px) {
	/* drawer: highlighted row with a leaf-green edge instead of the little bar */
	.nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a { box-shadow: inset 4px 0 0 var(--primary); border-radius: 14px 6px 14px 6px; }
	.nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a::after { display: none; }
	.sub-menu :is(.current-menu-item, .current_page_item) > a, .sub-menu a.is-current:not(.mega__head) { border-radius: 10px; }
}

/* ==========================================================================
   v1.4 — product gallery (thumbnails) + Watch Video
   ========================================================================== */
.product__media { position: relative; top: auto; }          /* stickiness now lives on the whole gallery */
.product__gallery { min-width: 0; }
@media (min-width: 981px) { .product__gallery { position: sticky; top: 100px; } }
.pg__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.pg__slide.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.pg__slide .ph { position: absolute; inset: 0; }
.pg__nav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); transition: background .2s, color .2s, transform .2s; }
.pg__nav:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.pg__nav--prev { left: .7rem; } .pg__nav--next { right: .7rem; }
.pg__thumbs { position: relative; display: flex; gap: .6rem; margin-top: .85rem; padding: 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.pg__thumb { flex: none; width: 76px; height: 76px; padding: 0; overflow: hidden; border-radius: 16px 6px 16px 6px; border: 2px solid var(--line); background: var(--tint); cursor: pointer; scroll-snap-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pg__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pg__thumb:hover { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); transform: translateY(-2px); }
.pg__thumb.is-active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
@media (min-width: 721px) { .pg__thumb { width: 88px; height: 88px; } }
/* Watch Video pill */
.pg__video { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; display: inline-flex; align-items: center; gap: .7rem; padding: .42rem 1.3rem .42rem .45rem; border: 0; border-radius: 999px; background: rgba(19,41,28,.84); color: #fff; font: 700 1.02rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: transform .2s, background .2s; }
.pg__video:hover { background: rgba(19,41,28,.95); color: #fff; transform: translateY(-2px); }
.pg__video-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--blue)); color: #fff; }
.pg__video-ico .ont-icon { width: 18px; height: 18px; margin-left: 2px; }
@media (max-width: 560px) { .pg__video { left: .6rem; bottom: .6rem; font-size: .92rem; padding-right: 1.05rem; gap: .55rem; } .pg__video-ico { width: 32px; height: 32px; } .pg__nav { width: 36px; height: 36px; margin-top: -18px; } .pg__thumb { width: 64px; height: 64px; } }
.pcard__play { position: absolute; left: .8rem; bottom: .8rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--blue)); color: #fff; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.pcard__play .ont-icon { width: 16px; height: 16px; margin-left: 2px; }
/* Video modal */
.vmodal { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 3.2rem 1rem 1rem; background: rgba(5,12,8,.88); animation: pop .25s both; }
.vmodal__box { position: relative; width: min(100%, 960px); }
.vmodal__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 18px 6px 18px 6px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); }
.vmodal__frame iframe, .vmodal__frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.vmodal__close { position: absolute; top: -2.9rem; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 1.7rem; line-height: 1; padding: 0; cursor: pointer; }
.vmodal__close:hover { background: #fff; color: #123d22; }

/* ==========================================================================
   v1.5 — Partners & Clients (logo tiles) + Testimonials
   ========================================================================== */

/* ---------- Partners & Clients ---------- */
.logo-group + .logo-group { margin-top: clamp(2rem, 5vw, 3.25rem); }
.logo-group .team-group__title { margin-bottom: clamp(1.1rem, 3vw, 1.6rem); }
.logos { --lg-gap: clamp(.7rem, 2vw, 1.25rem); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lg-gap); }
.logos > li { flex: 0 1 clamp(150px, 19vw, 224px); min-width: 0; }
/* Tile = theme surface (white in light mode, deep green in dark mode). */
.logo-card { --lp: 11%; --glow: var(--primary); position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--leaf); text-decoration: none; isolation: isolate; transition: transform .25s, box-shadow .3s, border-color .3s, background .3s; }
.logo-card[data-size="lg"] { --lp: 4%; }
.logo-card[data-size="sm"] { --lp: 22%; }
.logo-card img { position: absolute; inset: 0; width: 100%; height: 100%; padding: var(--lp); object-fit: contain; object-position: center; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s, opacity .3s; }
.logo-card__name { padding: .8rem 1rem; text-align: center; font: 600 clamp(1rem, .9rem + .5vw, 1.25rem)/1.2 var(--font-display); overflow-wrap: anywhere; }
/* Hover / keyboard focus: lifted card with a soft green glow */
.logo-card:hover, a.logo-card:focus-visible { transform: translateY(-4px); border-color: var(--glow); box-shadow: 0 0 0 1px var(--glow), 0 0 26px 2px color-mix(in srgb, var(--glow) 38%, transparent), 0 16px 34px -12px color-mix(in srgb, var(--glow) 55%, transparent); }
a.logo-card:hover { color: var(--ink); }
a.logo-card:hover img { transform: scale(1.04); }
/* Dark mode: only the card changes; logos keep their own colours.
   For logos that only work on white, set “Dark mode card: White” on that entry. */
[data-theme="dark"] .logo-card { background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 82%, var(--primary-soft)), var(--surface)); --glow: #6ee07d; }
[data-theme="dark"] .logo-card[data-bg="light"] { background: #fff; }
@media (max-width: 640px) {
	.logos > li { flex: 0 1 calc((100% - var(--lg-gap)) / 2); }
}

/* ---------- Testimonials ---------- */
.tgrid { --g: clamp(1rem, 2.5vw, 1.75rem); --cols: 3; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.tgrid > li { display: flex; flex: 0 1 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0; }
.tgrid--n1 { --cols: 1; max-width: 720px; margin-inline: auto; }
.tgrid--n2, .tgrid--n4 { --cols: 2; }
@media (max-width: 980px) { .tgrid { --cols: 2; } .tgrid--n1 { --cols: 1; } }
@media (max-width: 640px) { .tgrid, .tgrid--n2, .tgrid--n4 { --cols: 1; } }

.tcard { position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: clamp(1.3rem, 3vw, 2rem); transition: transform .25s, box-shadow .25s, border-color .25s; }
.tcard::after { content: ""; position: absolute; right: -52px; top: -52px; width: 150px; height: 150px; border-radius: 50%; background: color-mix(in srgb, var(--blue) 9%, transparent); pointer-events: none; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.tcard__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.1rem; }
.tcard__mark { margin: 0; width: 48px; height: 48px; }
.tcard__mark .ont-icon { width: 24px; height: 24px; }
.stars { display: inline-flex; gap: .15rem; color: var(--sun); }
.stars .star { display: inline-flex; opacity: .28; }
.stars .star.is-on { opacity: 1; }
.stars .ont-icon { width: 1.15rem; height: 1.15rem; }
.tcard__quote { position: relative; z-index: 1; flex: 1; margin: 0; }
.tcard__quote p { margin: 0; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.tcard__who { position: relative; z-index: 1; display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.tcard__avatar { flex: none; width: 56px; height: 56px; border-radius: 50% 50% 50% 14%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, var(--primary-soft), var(--tint-2)); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--primary); }
.tcard__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tcard__avatar span { font: 600 1.5rem var(--font-display); color: var(--primary); }
.tcard__id { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.tcard__id strong { font: 700 1.05rem var(--font-display); color: var(--ink); overflow-wrap: anywhere; }
.tcard__id small { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
@media (max-width: 380px) { .tcard__avatar { width: 48px; height: 48px; } .stars .ont-icon { width: 1rem; height: 1rem; } }

/* ==========================================================================
   v1.5.1 — Hero slider: smooth on 60 / 120 / 144 Hz screens
   Only opacity and transform are animated (compositor-only). The new slide fades in on top of the
   outgoing one, which stays opaque underneath, so there is no dip to the dark background.
   ========================================================================== */
.hs__slide { opacity: 0; visibility: hidden; z-index: 0; transition: none; }
.hs__slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.hs__slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: none; }
.hs.is-live .hs__slide.is-active { animation: hsIn 1s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes hsIn { from { opacity: 0; } to { opacity: 1; } }

/* Slow zoom as a keyframe animation (not a 9 s transition): it keeps running on the outgoing slide instead of reversing. */
.hs__bg > img, .hs__bg > .scene { transition: none; backface-visibility: hidden; }
.hs__slide:not([data-fit="contain"]).is-active .hs__bg > *,
.hs__slide:not([data-fit="contain"]).is-leaving .hs__bg > * { animation: hsZoom calc(var(--hs-dur, 6500ms) + 1800ms) cubic-bezier(.25, .6, .3, 1) both; }
@keyframes hsZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Blurred glass inside a fading slide is re-blurred on every frame: use a flat tint there instead. */
.hs__badge { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.2); }
/* .hs .btn--glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.16); }
 */
.hs .btn--glass:hover, .hs .btn--glass:focus-visible { background: #fff; color: #1d5a27; }
@media (prefers-reduced-motion: reduce) {
	.hs.is-live .hs__slide.is-active { animation: none; }
	.hs__slide.is-active .hs__bg > *, .hs__slide.is-leaving .hs__bg > * { animation: none !important; transform: none; }
}

/* ==========================================================================
   v1.5.2 — Navigation: underline instead of rounded hover / active background
   ========================================================================== */
.site-nav .nav-menu > li > a,
.site-nav .nav-menu > li > a:hover,
.site-nav .nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a { background: transparent; border-radius: 0; transition: color .2s ease; }
.site-nav .nav-menu > li > a:hover { color: var(--primary); }
.site-nav .nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a { color: var(--ink); }

@media (min-width: 981px) {
	.site-nav .nav-menu > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; width: auto; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--primary)); transform: scaleX(0); transform-origin: left center; transition: transform .3s cubic-bezier(.2, .7, .2, 1); display: block; }
	.site-nav .nav-menu > li:has(> a:focus-visible) > a::after,
	.site-nav .nav-menu > li.is-open > a::after,
	.site-nav .nav-menu > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current-page-ancestor, .current_page_parent, .current-post-ancestor) > a::after { transform: scaleX(1); }
}

/* Dropdown items: same idea, a quiet underline (no rounded background) */
.site-nav .sub-menu a, .site-nav .sub-menu a:hover { background: transparent; box-shadow: none; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: color .2s ease, text-decoration-color .25s ease; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible { color: var(--primary); text-decoration-color: currentColor; }
.site-nav .sub-menu :is(.current-menu-item, .current_page_item) > a, .site-nav .sub-menu a.is-current:not(.mega__head) { background: transparent; box-shadow: none; color: var(--primary); font-weight: 700; text-decoration-color: var(--primary); }

/* ==========================================================================
   v1.5.3 — Hero slider on tablets / 120 Hz: pre-rasterised next slide, no per-frame blur or filter work
   ========================================================================== */
/* Next slide is painted once, invisibly, on top: its tiles are rasterised before the fade starts. */
.hs__slide.is-next { visibility: visible; opacity: .001; z-index: 3; pointer-events: none; }
.hs__slide.is-active, .hs__slide.is-leaving, .hs__slide.is-next { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }

/* The control bar sat on a blurred backdrop over the fading image: that is re-sampled every frame. Flat tint instead. */
.hs__ctrl { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 22, 11, .62); }

/* Mascot: the wrapper floats (transform only); the shadow filter stays on the still image, so it is not re-blurred every frame. */
.hs .mascot--hero { animation: bob 5s ease-in-out infinite; }
.hs .mascot--hero img { animation: none; }
@media (prefers-reduced-motion: reduce) { .hs .mascot--hero { animation: none; } }

/* ---------- Nepali / Devanagari (Mukta) ----------
   Latin fonts in the stacks above fall back to Mukta per-glyph, so Nepali text
   works anywhere. Content marked lang="ne" (or a ne_NP site locale) goes fully
   Mukta, with the extra leading Devanagari needs and no negative tracking
   (it breaks conjuncts). Use <span lang="ne"> or class="ne" in content. */
:root:lang(ne), :lang(ne), .ne { font-family: "Mukta", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif; letter-spacing: 0; --h-track: 0em; word-break: normal; }
:lang(ne) body, body:lang(ne) { line-height: 1.75; }
:lang(ne) h1, :lang(ne) h2, :lang(ne) h3, :lang(ne) h4, :lang(ne) .hs__title,
h1:lang(ne), h2:lang(ne), h3:lang(ne), h4:lang(ne), .ne h1, .ne h2, .ne h3, .ne h4 { line-height: 1.3; font-weight: 600; letter-spacing: 0; }
:lang(ne) h1, h1:lang(ne), :lang(ne) .hs__title { line-height: 1.25; }
:lang(ne) p, :lang(ne) li, p:lang(ne), li:lang(ne) { line-height: 1.8; }
:lang(ne) .btn, :lang(ne) .pill, :lang(ne) .nav-menu a { line-height: 1.5; letter-spacing: 0; text-transform: none; }

/* ==========================================================================
   v1.6.1 — Hero slider: no flicker / jerk / rectangle glitches on tablets and 90-144 Hz screens
   Causes fixed:
   1. .btn--glass still had backdrop-filter inside a layer that is fading → the blur is re-sampled each
      frame and tiles flash as rectangles (the v1.5.1 override for it was commented out).
   2. The zoom (hsZoom) only started when a slide became active, so the image jumped from scale(1) to
      scale(1.1) and the GPU re-rasterised it mid-fade. The incoming slide now zooms from the moment it is
      pre-painted (.is-next), so the raster scale never changes during the fade.
   3. Outgoing and incoming text overlapped for a second (ghost text) and both sat in fading layers.
   4. On touch screens the zoom is switched off: a full-bleed 2x-DPR image that is both scaled and
      cross-faded is the heaviest thing a tablet GPU can be asked to do.
   ========================================================================== */
/* 1 — flat tints, never a live blur, anywhere inside the hero */
.hs .btn--glass, .hs__badge, .hs__ctrl { backdrop-filter: none; -webkit-backdrop-filter: none; }
.hs .btn--glass { background: rgba(255, 255, 255, .16); }

/* 2 — promote only the slides that are taking part in a transition */
.hs__slide.is-next, .hs__slide.is-active, .hs__slide.is-leaving { will-change: opacity; transform: translateZ(0); }
.hs__slide:not([data-fit="contain"]):is(.is-next, .is-active, .is-leaving) .hs__bg > * {
	will-change: transform;
	animation: hsZoom calc(var(--hs-dur, 6500ms) + 1800ms) cubic-bezier(.25, .6, .3, 1) both;
}
.hs__bg > img, .hs__bg > .scene { backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-origin: 50% 50%; }
.hs__slide[data-fit="contain"] .hs__bg > img { will-change: auto; }

/* 3 — outgoing copy fades out fast, so the two headlines never overlap */
.hs__slide.is-leaving .hs__content { opacity: 0; transition: opacity .3s ease; pointer-events: none; }

/* 4 — touch / tablet: plain cross-fade, no zoom */
@media (pointer: coarse) {
	.hs__slide:not([data-fit="contain"]):is(.is-next, .is-active, .is-leaving) .hs__bg > * { animation: none; transform: none; will-change: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.hs__slide:is(.is-next, .is-active, .is-leaving) .hs__bg > * { animation: none !important; transform: none; }
	.hs__slide.is-leaving .hs__content { transition: none; }
}


/* ==========================================================================
   Justified long-form text
   Body copy that runs to several lines is justified with automatic hyphenation (no wide gaps).
   Short, centred or single-line text (headings, buttons, captions, hero ledes) is left alone.
   Phones keep a ragged edge: justification in a ~300px column opens ugly gaps.
   ========================================================================== */
.prose :is(p, li, dd, blockquote),
.mv-card p, .value p, .philosophy p,
.faq__a :is(p, li),
.job-main :is(p, li),
.comment__body :is(p, li),
.product__info .prose :is(p, li),
.pcard--post .pcard__body p {
	text-align: justify; text-justify: inter-word;
	-webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3;
}
.philosophy p { text-align-last: center; }
/* anything deliberately aligned in the editor wins over the justification */
.prose .has-text-align-center, .prose .has-text-align-right, .prose .has-text-align-left,
.prose [style*="text-align"] { text-align: revert; hyphens: manual; }
.prose :is(.aligncenter, figcaption, .wp-caption-text) { text-align: center; hyphens: manual; }
@media (max-width: 640px) {
	.prose :is(p, li, dd, blockquote), .mv-card p, .value p, .philosophy p, .faq__a :is(p, li), .job-main :is(p, li),
	.comment__body :is(p, li), .pcard--post .pcard__body p { text-align: left; text-align-last: auto; }
	.philosophy p { text-align: center; }
}

/* ==========================================================================
   Photo lightbox (gallery page): previous / next, counter, close, swipe
   ========================================================================== */
.lightbox-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(8, 12, 10, .92);
	padding: clamp(.75rem, 3vw, 2rem) clamp(3.25rem, 9vw, 6.5rem); padding-top: max(clamp(.75rem, 3vw, 2rem), env(safe-area-inset-top)); padding-bottom: max(clamp(.75rem, 3vw, 2rem), env(safe-area-inset-bottom)); cursor: zoom-out; animation: lbIn .2s ease both; }
.lightbox__stage { margin: 0; max-width: 100%; max-height: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .7rem; cursor: default; }
.lightbox__img { display: block; max-width: 100%; max-height: calc(100vh - 8.5rem); max-height: calc(100dvh - 8.5rem); width: auto; height: auto; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,.04); transition: opacity .18s ease; -webkit-user-select: none; user-select: none; }
.lightbox__img.is-loading { opacity: .35; }
.lightbox__cap { color: #fff; text-align: center; font-size: .98rem; line-height: 1.4; max-width: 46em; margin: 0; overflow-wrap: anywhere; }
.lightbox__cap[hidden] { display: none; }
.lightbox__count { position: absolute; left: 50%; top: max(.85rem, env(safe-area-inset-top)); transform: translateX(-50%); color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 600; letter-spacing: .04em; padding: .25rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); pointer-events: none; }
.lightbox__count:empty { display: none; }
.lightbox__btn { position: absolute; display: grid; place-items: center; padding: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font: 400 1.9rem/1 var(--font-body, inherit); transition: background .2s, transform .15s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.lightbox__btn:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary, #fff); }
.lightbox__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox__close { top: max(.7rem, env(safe-area-inset-top)); right: max(.7rem, env(safe-area-inset-right)); }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: max(.7rem, env(safe-area-inset-left)); } .lightbox__nav--next { right: max(.7rem, env(safe-area-inset-right)); }
.lightbox__nav:active { transform: scale(.94); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
	.lightbox-overlay { padding-left: .5rem; padding-right: .5rem; }
	.lightbox__btn { width: 40px; height: 40px; font-size: 1.6rem; } .lightbox__nav { margin-top: -20px; top: auto; bottom: max(.9rem, env(safe-area-inset-bottom)); margin-top: 0; }
	.lightbox__nav--prev { left: calc(50% - 56px); } .lightbox__nav--next { right: calc(50% - 56px); }
	.lightbox__img { max-height: calc(100dvh - 11rem); max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem); }
}
@media (prefers-reduced-motion: reduce) { .lightbox-overlay { animation: none; } .lightbox__img { transition: none; } }

/* ---------- Job status: closed / closing soon ---------- */
.pill--closed { background: #fde8e8; color: #a32020; }
.pill--soon { background: #fff1d6; color: #8a5300; }
[data-theme="dark"] .pill--closed { background: rgba(255,122,122,.16); color: #ffa3a3; }
[data-theme="dark"] .pill--soon { background: rgba(242,182,50,.16); color: #f2c04e; }
.meta-pill.is-closed { background: #fde8e8; color: #a32020; }
.meta-pill.is-closed .ont-icon { color: inherit; }
[data-theme="dark"] .meta-pill.is-closed { background: rgba(255,122,122,.16); color: #ffa3a3; }
.job.is-closed .pill--closed { cursor: not-allowed; }
.pcard__actions { flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Disabled buttons: flat, clearly inert, no hover/press motion */
.btn.is-disabled, .btn:disabled, .btn[aria-disabled="true"] {
	background: var(--tint-2); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: not-allowed; pointer-events: none; transform: none; filter: none; opacity: 1;
}
.btn.is-disabled:hover, .btn:disabled:hover { background: var(--tint-2); color: var(--muted); }
.glance__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-bottom: .4rem; }
.glance__head h3 { margin: 0; }
.glance__cta { margin: 1.2rem 0 0; }
.glance__cta .btn { width: 100%; }

/* "This position is closed" panel (replaces the career form) */
.job-closed-note { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.4rem 1.5rem; border: 1px dashed var(--line); border-radius: var(--leaf); background: var(--tint); }
.job-closed-note__icon { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: #fde8e8; color: #a32020; }
[data-theme="dark"] .job-closed-note__icon { background: rgba(255,122,122,.16); color: #ffa3a3; }
.job-closed-note__icon .ont-icon { width: 1.3rem; height: 1.3rem; }
.job-closed-note h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.job-closed-note p { margin: 0 0 .5rem; color: var(--muted); }


/* =====================================================================
   v1.7.2 — smooth page switching, no jerk
   ===================================================================== */

/* Page-to-page: cross-fade with a soft rise (Chrome, Edge, Safari 18+). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: ont-vt-out .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: ont-vt-in .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ont-vt-out { to { opacity: 0; transform: translate3d(0, -6px, 0); } }
@keyframes ont-vt-in  { from { opacity: 0; transform: translate3d(0, 12px, 0); } }

/* Browsers without View Transitions: fade the new page in; JS fades the old one out on click. */
@supports not (view-transition-name: none) {
	/* opacity only — a transform on <body> would re-parent position:fixed elements (dock, back-to-top) and make them jump */
	body { animation: ont-page-in .5s ease-out both; }
	html.ont-leaving body { opacity: 0; transition: opacity .19s ease-in; }
}
@keyframes ont-page-in { from { opacity: 0; } }

/* Scroll reveal: shorter travel, softer curve, GPU-friendly (only below-the-fold items are revealed) */
.js .reveal { transform: translate3d(0, 18px, 0); will-change: opacity, transform; transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .7s cubic-bezier(.22, .8, .24, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { transform: none; }

/* Light/dark switch: every colour cross-fades together instead of snapping */
html.is-theming *, html.is-theming *::before, html.is-theming *::after {   /* fallback only (no View Transitions): colours only, shadows left out (they repaint) */
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, fill .3s ease, stroke .3s ease !important;
}

@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
	body { animation: none !important; }
}


/* =====================================================================
   1.8.0 — Products page: paged grid, smooth category switching, pager
   ===================================================================== */
.pbrowse__body { position: relative; transition: opacity .22s ease, transform .22s ease; }
.pbrowse__body:focus { outline: none; }
.pbrowse { scroll-margin-top: 110px; }
.pbrowse.is-loading .pbrowse__body { opacity: .35; transform: translate3d(0, 6px, 0); pointer-events: none; }
.pbrowse.is-loading .filters { cursor: progress; }
.pbrowse__body.is-resizing { overflow: hidden; transition: height .5s cubic-bezier(.22, .8, .24, 1), opacity .25s ease, transform .25s ease; }
/* `backwards` (not `both`) so hover lift on the cards works again once the entrance is done */
.pbrowse.is-entering .grid > * { animation: ont-card-in .55s cubic-bezier(.22, .8, .24, 1) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
.pbrowse.is-entering .ont-pager { animation: ont-card-in .5s cubic-bezier(.22, .8, .24, 1) .2s backwards; }
.filter.is-fresh { animation: ont-chip-in .4s cubic-bezier(.22, .8, .24, 1) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.is-refreshed { animation: ont-text-in .45s cubic-bezier(.22, .8, .24, 1) backwards; }
@keyframes ont-card-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.985); } }
@keyframes ont-chip-in { from { opacity: 0; transform: translate3d(-6px, 0, 0) scale(.94); } }
@keyframes ont-text-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }

/* Pager: same pills as the category chips; the current page takes the leaf shape */
.ont-pager { margin-top: clamp(2rem, 5vw, 3rem); display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.ont-pager__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.ont-pager .page-numbers { min-width: 2.75rem; height: 2.75rem; padding: 0 .95rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; box-sizing: border-box; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .95rem var(--font-body); text-decoration: none; line-height: 1; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease, border-radius .3s ease; }
.ont-pager a.page-numbers:hover, .ont-pager button.page-numbers:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.ont-pager a.page-numbers:active, .ont-pager button.page-numbers:active { transform: scale(.96); }
.ont-pager a.page-numbers:focus-visible, .ont-pager button.page-numbers:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.ont-pager .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--on-primary); border-radius: 16px 4px 16px 4px; box-shadow: 0 8px 20px -8px var(--primary); cursor: default; }
.ont-pager .page-numbers.dots { border-color: transparent; background: none; min-width: 1.5rem; padding: 0 .1rem; color: var(--muted); cursor: default; }
.ont-pager .ont-icon { width: 1.05em; height: 1.05em; flex: none; }
.ont-pager__prev .ont-icon { transform: rotate(180deg); }
.ont-pager .page-numbers.is-disabled { opacity: .4; cursor: not-allowed; }
.ont-pager__info { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) {
	.ont-pager__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ont-pager .page-numbers { min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; }
	.ont-pager__list { gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
	.pbrowse__body, .pbrowse__body.is-resizing { transition: none; }
	.pbrowse.is-entering .grid > *, .pbrowse.is-entering .ont-pager, .filter.is-fresh, .is-refreshed { animation: none; }
}

/* =====================================================================
   1.8.1 — Large / zoomed-out screens: scale the whole layout with the viewport
   Above 1500px the root font-size grows with the screen (17px at 1500px, proportional after),
   and the container + every px-fixed width/height below is expressed in rem, so zooming out keeps
   the same proportions and fills the screen instead of leaving a small column in the middle.
   ===================================================================== */
@media (min-width: 1500px) {
	html { font-size: max(106.25%, min(1.1333vw, 48px)); scroll-padding-top: 5.3rem; }
	.wrap { width: min(100% - 4rem, 77.65rem); }
	.wrap--narrow { width: min(100% - 4rem, 48.2rem); }
	.general-apply, .tgrid--n1 { max-width: 48.2rem; }
	.grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.9rem), 1fr)); }
	.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
	.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.1rem), 1fr)); }
	.grid--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.65rem), 1fr)); }
	.mosaic--all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.7rem), 1fr)); grid-auto-rows: 13.5rem; }
	.team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 17rem)); }
	.logos > li { flex-basis: clamp(8.8rem, 19vw, 13.2rem); }
	.hero__art { width: min(100%, 25.9rem); }
	.hs__content { max-width: 40rem; }
	.hs { min-height: clamp(27rem, calc(100svh - 12.65rem), 37.65rem); }
	.map-card iframe { height: clamp(16.5rem, 40vw, 26rem); }
	.vmodal__box { width: min(100%, 56.5rem); }
}

/* =====================================================================
   1.8.2 — Products mega-menu: size to its content (it was shrinking to the width of the "Products" item)
   ===================================================================== */
@media (min-width: 981px) {
	.mega { width: max-content; min-width: min(30rem, calc(100vw - 2 * var(--pad))); max-width: calc(100vw - 2 * var(--pad)); grid-template-columns: repeat(2, minmax(12.5rem, 1fr)); column-gap: 1.25rem; }
	.mega__col { min-width: 0; }
	.mega__col a { white-space: normal; overflow-wrap: normal; word-break: normal; }
	.mega .mega__head { white-space: nowrap; }
}

/* =====================================================================
   1.9.0 — Edge-to-edge card images · animated filters / client pagination everywhere
   ===================================================================== */
/* Card / gallery images: fill the frame edge to edge when the photo is close to the frame's shape (≤ ~22% trimmed);
   otherwise the whole photo is shown, centred and scaled to the frame, over a blurred copy of itself. Decided per image in PHP. */
.fit img { object-position: center; }
.fit--cover::before { display: none; }
.fit--cover img, .mosaic__item .fit--cover img { object-fit: cover; }
.fit--contain img, .mosaic__item .fit--contain img { object-fit: contain; }
.pcard__media::after, .mosaic__item > a::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent); border-radius: inherit; }

/* Client-side filter grids (gallery, downloads, events): leaving items fade, the rest glide, new ones stagger in */
[data-filter-grid].is-filtering { overflow: hidden; transition: height .5s cubic-bezier(.22, .8, .24, 1); }
[data-filter-grid] > .is-out { opacity: 0 !important; transform: scale(.96) !important; transition: opacity .17s ease, transform .17s ease !important; pointer-events: none; }
[data-filter-grid] > .is-entering-item { animation: ont-card-in .5s cubic-bezier(.22, .8, .24, 1) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
[data-filter-grid] > [hidden] { display: none !important; }
.ont-pager[hidden] { display: none; }
.ont-pager button.page-numbers { appearance: none; -webkit-appearance: none; margin: 0; }
@media (prefers-reduced-motion: reduce) { [data-filter-grid].is-filtering { transition: none; } [data-filter-grid] > .is-entering-item { animation: none; } }

/* Downloads: rows slide in from the left and out to the right so the switch reads clearly */
.dl-list > .is-entering-item { animation-name: ont-row-in; animation-duration: .55s; animation-delay: calc(var(--i, 0) * 55ms); }
.dl-list > .is-out { transform: translate3d(16px, 0, 0) !important; transition-duration: .2s !important; }
@keyframes ont-row-in { from { opacity: 0; transform: translate3d(-22px, 0, 0); } }
.filters .filter { will-change: auto; }


/* =====================================================================
   1.9.3 — Card image stage, ported from the kutkitech theme (portfolio / news / blog cards)
   One fixed-ratio stage for every card image (change --card-ratio, e.g. 16 / 10 for taller), the image COVERS it
   edge to edge and centred (no blur, no bars, no per-card size differences), no hover zoom (zooming is what
   pushed edge detail out of the card) and equal-height card bodies. Wide banners / 16:9 photos lose nothing.
   ===================================================================== */
:root { --card-ratio: 4 / 3; }
.pcard__media { aspect-ratio: var(--card-ratio); line-height: 0; }
.pcard__media .fit, .pcard__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.pcard__media .fit img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; display: block; }
.pcard:hover .pcard__media img, .mosaic__item:hover img { transform: none; }

/* Gallery / home mosaic: same stage for every tile (no tall / wide featured tile that re-crops a photo) */
.mosaic, .mosaic--all { grid-auto-rows: auto; align-content: start; }
.mosaic__item, .mosaic__item:first-child, .mosaic--all .mosaic__item:first-child { aspect-ratio: var(--card-ratio); grid-column: auto; grid-row: auto; }
.mosaic__item .fit img { object-fit: contain; object-position: center; }

/* While the filter / pager transition glides a grid's height, rows keep their natural size instead of stretching */
[data-filter-grid], .pbrowse .grid, .dl-list { align-content: start; }

/* =====================================================================
   1.9.4 — Whole photo always visible (soft blurred copy fills the spare space) · Featured Products grid
   ===================================================================== */
/* Featured Products: N cards per row (Customizer → Products), extra products wrap into more rows of the same size */
.grid--featured { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1100px) { .grid--featured { grid-template-columns: repeat(var(--cols-md, 3), minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; } }
@media (max-width: 440px) { .grid--featured { grid-template-columns: minmax(0, 1fr); } }
.grid--featured .pcard__body { padding: 1rem 1.05rem 1.1rem; }
.grid--featured .pcard__body h3 { font-size: clamp(1.02rem, .9rem + .45vw, 1.3rem); }
.grid--featured .pcard__body p { font-size: .94rem; line-height: 1.5; }


/* =====================================================================
   2.0.0 — Seamless page navigation (assets/js/spa.js)
   ===================================================================== */
#ont-spa-bar { position: fixed; left: 0; right: 0; top: 3px; height: 3px; z-index: 129; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
#ont-spa-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--blue), var(--sun)); border-radius: 0 3px 3px 0; }
#ont-spa-bar.is-run { opacity: 1; }
#ont-spa-bar.is-run span { width: 78%; transition: width 9s cubic-bezier(.08, .6, .2, 1); }
#ont-spa-bar.is-done { opacity: 0; }
#ont-spa-bar.is-done span { width: 100%; transition: width .2s ease; }
/* Browsers without View Transitions: only the page content fades (the header / footer stay put), then the new page eases in */
html.ont-spa.ont-leaving body { opacity: 1; transition: none; }
html.ont-spa.ont-leaving main { opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity .17s ease-in, transform .17s ease-in; }
main.ont-spa-in { animation: ont-vt-in .5s cubic-bezier(.2, .7, .2, 1) backwards; }
@media (prefers-reduced-motion: reduce) { #ont-spa-bar.is-run span { transition: none; } main.ont-spa-in { animation: none; } html.ont-spa.ont-leaving main { transition: none; } }

/* ==========================================================================
   v2.0.2 — nav on tablets, Send Enquiry sizing, video placeholder
   ========================================================================== */
/* Hover opens dropdowns only where a real mouse exists; touch screens use tap (is-open) + tap-outside to close. */
@media (hover: hover) and (pointer: fine) and (min-width: 981px) {
	.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .nav-menu > li:hover > a::after { transform: scaleX(1); }
}
/* Active-page underline: also keyed to aria-current / is-current so it never depends on WP classes alone */
@media (min-width: 981px) {
	.site-nav .nav-menu > li:has(> a[aria-current], > a.is-current) > a::after { transform: scaleX(1); }
}
.site-nav .sub-menu a[aria-current], .site-nav .sub-menu a.is-current:not(.mega__head) { color: var(--primary); font-weight: 700; text-decoration-color: var(--primary); }
.site-nav .sub-menu a.mega__head[aria-current] { color: var(--primary); }

/* Send Enquiry: never stretches or wraps; menu tightens on tablet widths instead */
@media (min-width: 981px) {
	.nav-cta { flex: 0 0 auto; width: auto; align-self: center; white-space: nowrap; }
	.site-nav { flex-wrap: nowrap; }
}
@media (min-width: 981px) and (max-width: 1240px) {
	.site-nav { gap: .5rem; }
	.nav-menu { gap: 0; }
	.nav-menu a { padding: .55rem .6rem; font-size: .92rem; }
	.nav-cta { padding: .6rem 1rem; font-size: .92rem; }
	.site-nav .nav-menu > li > a::after { left: .6rem; right: .6rem; }
	.brand__word em { display: none; }
}

/* Watch Demo placeholder message */
.vmodal__soon { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 1.5rem; text-align: center; color: #fff; background: linear-gradient(135deg, #13291c, #1f5a2e); }
.vmodal__soon strong { font: 700 clamp(1.2rem, 3vw, 1.7rem)/1.2 var(--font-display); }
.vmodal__soon span { opacity: .8; max-width: 34ch; }


/* =====================================================================
   Light / dark switch — circular reveal from the toggle (View Transitions API)
   The old page stays as a still snapshot; the new theme is revealed as a circle growing from the button, eased, GPU-composited.
   ===================================================================== */
html.ont-vt-theme::view-transition-old(root),
html.ont-vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.ont-vt-theme::view-transition-old(root) { z-index: 1; }
html.ont-vt-theme::view-transition-new(root) { z-index: 2; animation: ont-theme-reveal .7s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes ont-theme-reveal {
	from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); }
	to   { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 50%)); }
}
/* the sun / moon swap: the icon that appears turns in instead of popping */
.theme-toggle__sun, .theme-toggle__moon { animation: ont-theme-icon .5s cubic-bezier(.22, .8, .24, 1); transform-origin: 50% 50%; }
@keyframes ont-theme-icon { from { opacity: 0; transform: rotate(-70deg) scale(.5); } }
@media (prefers-reduced-motion: reduce) { .theme-toggle__sun, .theme-toggle__moon { animation: none; } }


/* Footer seam: paint the footer one device pixel higher than its box so no gap can open at fractional zoom levels */
.site-footer { box-shadow: 0 -1px 0 var(--footer-bg); }
