/* ==========================================================================
   Bio Diagnostics — main stylesheet
   ========================================================================== */

:root {
    --ink: #061a2e;
    --ink-2: #0b2a45;
    --ink-3: #12395b;
    --teal: #0fb5a6;
    --aqua: #2de2d0;
    --blue: #2563eb;
    --coral: #ff6b4a;
    --mist: #f2f7fa;
    --paper: #ffffff;
    --text: #1c2f42;
    --muted: #5b6f82;
    --line: rgba(6, 26, 46, .1);
    --r: 24px;
    --r-sm: 14px;
    --shadow: 0 24px 60px -24px rgba(6, 26, 46, .28);
    --shadow-sm: 0 10px 30px -14px rgba(6, 26, 46, .22);
    --ff-h: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ff-b: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --hero-dur: 7s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff-b); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--ff-h); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
em { font-style: normal; background: linear-gradient(100deg, var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--aqua); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.center { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 56px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 760px; }
.sec-head--light h2 { color: #fff; }
.sec-head--light em { background: linear-gradient(100deg, var(--aqua), #7cb4ff); -webkit-background-clip: text; background-clip: text; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; background: var(--bg); color: var(--fg); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; position: relative; isolation: isolate; white-space: nowrap; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { --bg: linear-gradient(120deg, var(--aqua), var(--teal)); --fg: var(--ink); box-shadow: 0 14px 34px -14px rgba(15, 181, 166, .8); background: var(--bg); }
.btn--primary:hover { box-shadow: 0 20px 40px -14px rgba(15, 181, 166, .9); }
.btn--dark:hover { background: var(--teal); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--glass { --bg: rgba(255, 255, 255, .12); --fg: #fff; backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .12); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); }
.link .icon { transition: transform .3s var(--ease); }
.link:hover .icon { transform: translate(3px, -3px); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(15, 181, 166, .12); color: var(--teal); }
.chip--live { position: absolute; left: 18px; bottom: 18px; background: rgba(6, 26, 46, .72); backdrop-filter: blur(10px); color: #fff; }
.chip--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(45, 226, 208, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 226, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 226, 208, 0); } }
.num { font-family: var(--ff-h); font-weight: 700; color: var(--teal); font-size: .95rem; letter-spacing: .1em; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 100; transition: transform .4s var(--ease); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; padding: 0 12px 0 26px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 12px 40px -16px rgba(6, 26, 46, .35), inset 0 0 0 1px rgba(255, 255, 255, .6); transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled .header__bar { background: rgba(255, 255, 255, .95); box-shadow: 0 16px 44px -14px rgba(6, 26, 46, .4); }
.brand .custom-logo-link { display: block; }
.brand img { height: 44px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--ink); transition: background .25s, color .25s; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { background: rgba(15, 181, 166, .12); color: var(--teal); }
.nav__list .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sub-menu { position: absolute; left: 0; top: calc(100% + 12px); min-width: 210px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease); }
.sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { border-radius: 12px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta-m { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero video slider ---------- */
.hero { position: relative; height: min(100svh, 940px); min-height: 640px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide__poster, .hero-slide__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide__poster { opacity: .45; transform: scale(1.08); }
.hero-slide.is-active .hero-slide__poster { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero-slide__shade { position: absolute; inset: 0; background:
    radial-gradient(60% 70% at 85% 110%, rgba(45, 226, 208, .35), transparent 60%),
    radial-gradient(50% 60% at 10% -10%, rgba(37, 99, 235, .35), transparent 60%),
    linear-gradient(100deg, rgba(6, 26, 46, .92) 0%, rgba(6, 26, 46, .62) 45%, rgba(6, 26, 46, .28) 100%); }
.hero-slide__inner { position: relative; z-index: 2; padding-top: 90px; }
.hero-slide__copy { max-width: 780px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin-bottom: 26px; text-wrap: balance; }
.hero h1 em { background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; }
.hero-slide__copy p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255, 255, 255, .82); max-width: 580px; margin-bottom: 38px; }
.hero-slide__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slide__copy > * { opacity: 0; transform: translateY(34px); }
.hero-slide.is-active .hero-slide__copy > * { animation: rise .9s var(--ease) forwards; }
.hero-slide.is-active .hero-slide__copy > :nth-child(1) { animation-delay: .25s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(2) { animation-delay: .4s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(3) { animation-delay: .55s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(4) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__card { position: absolute; z-index: 5; right: max(20px, calc((100% - 1240px) / 2)); bottom: 118px; display: grid; grid-template-columns: repeat(3, auto); gap: 28px; padding: 22px 30px; border-radius: 22px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hero__card strong { display: block; font-family: var(--ff-h); font-size: 2rem; line-height: 1; color: #fff; }
.hero__card span { font-size: .78rem; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
.hero__ui { position: absolute; z-index: 6; left: 0; right: 0; bottom: 34px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__progress { display: flex; gap: 10px; flex: 1; max-width: 420px; }
.hero__bar { flex: 1; height: 28px; position: relative; }
.hero__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.hero__bar i { position: absolute; left: 0; top: 13px; height: 3px; width: 0; border-radius: 3px; background: var(--aqua); }
.hero__bar.is-done i { width: 100%; }
.hero__bar.is-active i { animation: bar var(--hero-dur) linear forwards; }
.hero.is-paused .hero__bar.is-active i { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }
.hero__nav { display: flex; align-items: center; gap: 12px; }
.hero__count { font-family: var(--ff-h); font-size: .95rem; letter-spacing: .1em; color: rgba(255, 255, 255, .7); margin-right: 8px; }
.hero__count b { color: #fff; font-size: 1.2rem; }
.round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(10px); transition: .3s var(--ease); }
.round:hover { background: var(--aqua); color: var(--ink); transform: scale(1.08); }
.round--dark { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 38s linear infinite; font-family: var(--ff-h); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.01em; }
.ticker__track span { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); white-space: nowrap; }
.ticker__track span:nth-of-type(even) { color: #fff; -webkit-text-stroke: 0; }
.ticker__track i { width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- About (home) ---------- */
.about__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding: 0 0 56px 0; }
.about__img { position: relative; border-radius: 40px 40px 40px 160px; overflow: hidden; aspect-ratio: 4/4.6; background: var(--mist); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__img img { transform: scale(1.05); }
.about__badge { position: absolute; right: -14px; bottom: 0; width: min(300px, 70%); padding: 26px 28px; border-radius: 26px; color: #fff; background: linear-gradient(140deg, var(--ink), var(--ink-3)); box-shadow: var(--shadow); }
.about__badge strong { font-family: var(--ff-h); font-size: 4rem; line-height: 1; background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.about__badge span { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; display: block; margin: 6px 0 12px; }
.about__badge small { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); line-height: 1.6; }
.about__copy h2 { margin-bottom: 24px; }
.lead-lines { font-family: var(--ff-h); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.4; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--aqua); margin-bottom: 36px; }
.about__who { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-bottom: 36px; }
.about__who h3 { margin-bottom: 10px; font-size: 1.3rem; }
.about__who p + p { margin-top: 12px; }
.about__who p { color: var(--muted); }
.about__who strong { color: var(--ink); }

/* ---------- Numbers ---------- */
.numbers { position: relative; background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; isolation: isolate; }
.numbers__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 15% 0%, rgba(37, 99, 235, .35), transparent 70%), radial-gradient(40% 60% at 90% 100%, rgba(45, 226, 208, .28), transparent 70%); }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 34px 30px; border-radius: var(--r); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: .4s var(--ease); }
.stat:hover { background: rgba(255, 255, 255, .09); transform: translateY(-6px); }
.stat strong { display: block; font-family: var(--ff-h); font-size: clamp(3.2rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, #fff, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat h3 { color: #fff; margin: 14px 0 6px; font-size: 1.2rem; }
.stat p { color: rgba(255, 255, 255, .65); font-size: .96rem; }
.infra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.infra__item { display: flex; gap: 18px; align-items: center; padding: 24px 28px; border-radius: var(--r); background: linear-gradient(120deg, rgba(45, 226, 208, .14), rgba(37, 99, 235, .1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.infra__item .icon { width: 44px; height: 44px; color: var(--aqua); padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .08); box-sizing: content-box; }
.infra__item h4 { color: #fff; font-size: 1.1rem; margin-bottom: 2px; }
.infra__item p { color: rgba(255, 255, 255, .65); font-size: .92rem; line-height: 1.45; }

/* ---------- Products (home grid) ---------- */
.products { background: var(--mist); }
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.tab { padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: .3s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pcard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.pcard.is-hidden { display: none; }
.pcard__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(140deg, #e8f1f6, #fff); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.09); }
.pcard__tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(6, 26, 46, .78); color: #fff; backdrop-filter: blur(8px); }
.pcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__body p { color: var(--muted); font-size: .96rem; flex: 1; }

/* ---------- Clients marquee ---------- */
.clients { overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: slide 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-pill { display: inline-flex; align-items: center; gap: 12px; padding: 20px 30px; border-radius: 999px; background: var(--mist); font-family: var(--ff-h); font-weight: 600; font-size: 1.1rem; color: var(--ink-3); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.logo-pill .icon { color: var(--teal); }

/* ---------- Vision / Mission ---------- */
.vm { position: relative; background: linear-gradient(160deg, var(--ink), var(--ink-2)); padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; isolation: isolate; }
.vm::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 80% 20%, rgba(45, 226, 208, .22), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(37, 99, 235, .3), transparent 70%); }
.cell { position: absolute; z-index: -1; opacity: .55; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); animation: floaty 12s ease-in-out infinite; pointer-events: none; }
.cell--1 { width: 190px; left: 4%; top: 8%; }
.cell--2 { width: 130px; right: 6%; top: 14%; animation-delay: -4s; }
.cell--3 { width: 230px; right: 18%; bottom: -60px; animation-delay: -8s; opacity: .35; }
@keyframes floaty { 50% { transform: translateY(-26px) rotate(14deg); } }
.vm__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vm__card { position: relative; padding: clamp(30px, 4vw, 52px); border-radius: 32px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; overflow: hidden; transition: .5s var(--ease); }
.vm__card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .11); }
.vm__icon { width: 56px; height: 56px; padding: 14px; border-radius: 18px; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); margin-bottom: 24px; box-sizing: border-box; }
.vm__card h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 18px; }
.vm__card h3 em { background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; }
.vm__card p { color: rgba(255, 255, 255, .78); font-size: 1.06rem; }
.vm--light { background: var(--mist); }
.vm--light::before { display: none; }
.vm--light .vm__card { background: #fff; box-shadow: var(--shadow-sm); color: var(--text); backdrop-filter: none; }
.vm--light .vm__card:hover { background: #fff; box-shadow: var(--shadow); }
.vm--light .vm__card h3 { color: var(--ink); }
.vm--light .vm__card p { color: var(--muted); }
.num--big { position: absolute; right: 30px; top: 18px; font-size: 6rem; line-height: 1; opacity: .09; color: var(--ink); }

/* ---------- Reviews ---------- */
.reviews { background: #fff; overflow: hidden; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(20px, calc((100% - 1240px) / 2)) 40px; scrollbar-width: none; scroll-padding-inline: max(20px, calc((100% - 1240px) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; position: relative; padding: 38px 34px; border-radius: 28px; background: var(--mist); display: flex; flex-direction: column; gap: 22px; transition: .4s var(--ease); }
.rcard:hover { background: var(--ink); color: #fff; transform: translateY(-8px); }
.rcard:hover blockquote, .rcard:hover figcaption b { color: #fff; }
.rcard:hover figcaption span { color: rgba(255, 255, 255, .65); }
.rcard__no { position: absolute; right: 28px; top: 22px; font-family: var(--ff-h); font-size: 3.4rem; font-weight: 700; line-height: 1; color: rgba(6, 26, 46, .07); }
.rcard:hover .rcard__no { color: rgba(255, 255, 255, .1); }
.rcard__q { width: 42px; height: 42px; padding: 9px; border-radius: 14px; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); box-sizing: border-box; }
.rcard blockquote { font-size: 1.08rem; line-height: 1.7; color: var(--text); flex: 1; }
.rcard figcaption { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--line); }
.rcard figcaption b { font-family: var(--ff-h); color: var(--ink); font-size: 1.05rem; }
.rcard figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery-sec { background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento__item, .masonry__item { position: relative; overflow: hidden; border-radius: 24px; background: #dfeaf1; display: block; cursor: zoom-in; }
.bento__item img, .masonry__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item:hover img, .masonry__item:hover img { transform: scale(1.08); }
.bento__item span, .masonry__item span { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(255, 255, 255, .9); color: var(--ink); transform: translateY(14px); opacity: 0; transition: .4s var(--ease); }
.bento__item:hover span, .masonry__item:hover span { transform: none; opacity: 1; }
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__item--4 { grid-column: span 2; }
.bento__item--5 { grid-row: span 1; }
.masonry { columns: 4 260px; column-gap: 18px; }
.masonry__item { margin-bottom: 18px; break-inside: avoid; }
.masonry__item img { height: auto; }

/* ---------- Contact (home) ---------- */
.contact { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 0% 0%, rgba(45, 226, 208, .22), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(37, 99, 235, .3), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.contact h2 { color: #fff; margin-bottom: 22px; }
.contact h2 em { background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; }
.contact__copy > p { color: rgba(255, 255, 255, .75); font-size: 1.12rem; margin-bottom: 36px; max-width: 480px; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: rgba(255, 255, 255, .88); }
.contact__list .icon { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--aqua); box-sizing: border-box; }
.contact__list a:hover { color: var(--aqua); }
.contact__form { padding: clamp(26px, 4vw, 46px); border-radius: 32px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.contact__form h3 { margin-bottom: 24px; font-size: 1.7rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--mist); transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 181, 166, .16); }
.form .btn { justify-self: start; margin-top: 6px; }
.notice { padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: .95rem; }
.notice--ok { background: #e3f8f1; color: #0b6b52; }
.notice--err { background: #fdebe7; color: #a02a12; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; border: 2px dashed rgba(15, 181, 166, .5); background: rgba(15, 181, 166, .05); color: var(--muted); transition: .3s; }
.drop:hover { background: rgba(15, 181, 166, .1); }
.drop .icon { color: var(--teal); width: 26px; height: 26px; }
.drop em { background: none; color: var(--muted); -webkit-text-fill-color: currentColor; font-size: .95rem; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 226, 208, .22), transparent); }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; }
.closing h2 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.closing em { background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; }
.footer__grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1.2fr; gap: 40px; position: relative; }
.footer__brand h3 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.footer__years { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: .88rem; }
.footer__years strong { font-family: var(--ff-h); font-size: 3rem; line-height: 1; color: var(--aqua); }
.footer__years b { display: block; color: #fff; }
.footer__col h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--ff-b); }
.footer__col li { margin-bottom: 11px; }
.footer__col a:hover { color: var(--aqua); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--aqua); margin-top: 4px; }
.social { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-top: 10px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: .3s var(--ease); }
.social:hover { background: var(--aqua); color: var(--ink); transform: translateY(-4px); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 0 34px; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; position: relative; }
.footer__bar a:hover { color: var(--aqua); }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); box-shadow: 0 16px 36px -10px rgba(15, 181, 166, .8); transition: .3s var(--ease); }
.fab { opacity: 0; visibility: hidden; transform: translateY(20px); }
.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab.is-visible:hover { transform: scale(1.1) rotate(-8deg); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); animation: ping 2.4s infinite; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; background: var(--ink); color: #fff; padding: 190px 0 110px; overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; z-index: -3; }
.phero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(6, 26, 46, .95), rgba(6, 26, 46, .7) 55%, rgba(6, 26, 46, .45)); }
.phero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); animation: floaty 14s ease-in-out infinite; }
.phero__orb--a { width: 420px; height: 420px; right: -80px; top: -100px; background: rgba(45, 226, 208, .35); }
.phero__orb--b { width: 360px; height: 360px; left: 30%; bottom: -200px; background: rgba(37, 99, 235, .4); animation-delay: -6s; }
.phero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 900px; }
.phero h1 em { background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; }
.phero__text { margin-top: 22px; max-width: 640px; font-size: 1.15rem; color: rgba(255, 255, 255, .78); }
.phero__inner > * { animation: rise .8s var(--ease) both; }
.phero__inner > :nth-child(2) { animation-delay: .08s; } .phero__inner > :nth-child(3) { animation-delay: .16s; } .phero__inner > :nth-child(4) { animation-delay: .24s; }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a:hover { color: var(--aqua); }

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.story__media { position: relative; border-radius: 160px 40px 40px 40px; overflow: hidden; aspect-ratio: 1/1.05; box-shadow: var(--shadow); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__copy h2 { margin-bottom: 24px; }
.story__copy p { color: var(--muted); margin-bottom: 16px; }
.milestones { background: var(--ink); padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.milestones::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 90% 0%, rgba(45, 226, 208, .2), transparent 70%); }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.mcard { padding: 32px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .74); transition: .45s var(--ease); }
.mcard:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .1); }
.mcard > .icon { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); margin-bottom: 22px; box-sizing: border-box; }
.mcard strong { display: block; font-family: var(--ff-h); font-size: 2.2rem; line-height: 1.05; color: #fff; margin-bottom: 12px; }
.mcard small { font-size: .9rem; font-weight: 500; color: var(--aqua); }
.cta { padding: 0 0 clamp(72px, 9vw, 120px); background: #fff; }
.section + .cta, .prows + .cta { padding-top: 0; }
.cta__box { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(34px, 5vw, 64px); border-radius: 36px; background: linear-gradient(130deg, var(--ink), var(--ink-3)); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta__box::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 226, 208, .4), transparent); z-index: -1; }
.cta__box h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 720px; }
.cta__box h2 em { background: linear-gradient(100deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; }
.cta__box p { margin-top: 14px; color: rgba(255, 255, 255, .75); max-width: 560px; }

/* ---------- Product rows (equipments / reagents) ---------- */
.jump { position: sticky; top: 98px; z-index: 50; padding: 12px 0; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.jump__bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump__bar::-webkit-scrollbar { display: none; }
.jump__bar a { flex: none; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .02em; background: var(--mist); color: var(--ink-3); transition: .25s; }
.jump__bar a:hover { background: var(--ink); color: #fff; }
.prows { display: grid; gap: clamp(36px, 5vw, 64px); }
.prow { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 36px; background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: 180px; transition: box-shadow .5s var(--ease); }
.prow:hover { box-shadow: var(--shadow); }
.prow--flip .prow__media { order: 2; }
.prow__stage { position: relative; aspect-ratio: 5/4; border-radius: 28px; background: radial-gradient(70% 70% at 50% 40%, #fff, #e4eef5); display: grid; place-items: center; overflow: hidden; }
.prow__stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 226, 208, .3), transparent); }
.prow__main { position: relative; width: 86%; height: 86%; object-fit: contain; transition: opacity .35s, transform .6s var(--ease); filter: drop-shadow(0 24px 30px rgba(6, 26, 46, .2)); }
.prow__stage:hover .prow__main { transform: scale(1.05) rotate(-1deg); }
.prow__main.is-swapping { opacity: 0; transform: scale(.96); }
.prow__no { position: absolute; left: 22px; top: 14px; font-family: var(--ff-h); font-size: 4.4rem; font-weight: 700; line-height: 1; color: rgba(6, 26, 46, .08); z-index: 1; }
.prow__kpi { position: absolute; right: 18px; top: 18px; z-index: 2; padding: 12px 18px; border-radius: 18px; background: var(--ink); color: #fff; text-align: left; box-shadow: var(--shadow-sm); }
.prow__kpi strong { display: block; font-family: var(--ff-h); font-size: 1.9rem; line-height: 1; color: var(--aqua); }
.prow__kpi span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.prow__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.prow__thumb { width: 78px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--mist); box-shadow: inset 0 0 0 1.5px var(--line); transition: .3s var(--ease); }
.prow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.prow__thumb:hover { transform: translateY(-4px); }
.prow__thumb.is-active { box-shadow: 0 0 0 3px var(--teal); }
.prow__body h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.prow__body > p { color: var(--muted); margin-bottom: 26px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 30px; }
.specs li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; line-height: 1.45; color: var(--text); }
.specs .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(15, 181, 166, .14); color: var(--teal); margin-top: 1px; stroke-width: 2.6; box-sizing: border-box; }

/* ---------- Career ---------- */
.intro__lead { max-width: 860px; margin-inline: auto; text-align: center; font-family: var(--ff-h); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; font-weight: 600; color: var(--ink); }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job { padding: 34px 30px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; transition: .45s var(--ease); position: relative; overflow: hidden; }
.job::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--aqua), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.job:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.job:hover::after { transform: scaleX(1); }
.job__top { display: flex; justify-content: space-between; align-items: center; }
.job p { color: var(--muted); flex: 1; }
.job__meta { display: flex; gap: 10px; flex-wrap: wrap; }
.job__meta li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--mist); font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.job .btn { align-self: flex-start; }
.jobs-sec { background: var(--mist); padding-block: clamp(72px, 9vw, 120px); }
.why { background: var(--ink); padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 0% 100%, rgba(37, 99, 235, .3), transparent 70%), radial-gradient(40% 60% at 100% 0%, rgba(45, 226, 208, .22), transparent 70%); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.why__card { padding: 36px 30px; border-radius: 28px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: .45s var(--ease); position: relative; }
.why__card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .1); }
.why__card .num { position: absolute; right: 26px; top: 22px; color: rgba(255, 255, 255, .35); font-size: 1.1rem; }
.why__card .icon { width: 52px; height: 52px; padding: 13px; border-radius: 18px; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); margin-bottom: 26px; box-sizing: border-box; }
.why__card h3 { color: #fff; margin-bottom: 10px; }
.why__card p { color: rgba(255, 255, 255, .72); }
.apply { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.apply__copy h2 { margin-bottom: 20px; }
.apply__copy > p { color: var(--muted); margin-bottom: 30px; }
.apply__mail { display: inline-flex; gap: 16px; align-items: center; padding: 18px 26px; border-radius: 22px; background: var(--mist); font-weight: 700; color: var(--ink); transition: .3s var(--ease); }
.apply__mail:hover { background: var(--ink); color: #fff; }
.apply__mail .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); box-sizing: border-box; }
.apply__mail small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.apply__form { padding: clamp(26px, 4vw, 46px); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }

/* ---------- Contact page ---------- */
.cgrid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.cinfo { display: grid; gap: 14px; position: sticky; top: 120px; }
.cinfo__item { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 22px; background: var(--mist); transition: .35s var(--ease); }
a.cinfo__item:hover { background: var(--ink); color: #fff; transform: translateX(6px); }
a.cinfo__item:hover small { color: var(--aqua); }
.cinfo__item > .icon { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); box-sizing: border-box; }
.cinfo__item small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.cinfo__item b { font-family: var(--ff-h); font-size: 1.08rem; line-height: 1.35; word-break: break-word; }
.cform { padding: clamp(26px, 4vw, 52px); border-radius: 36px; background: #fff; box-shadow: var(--shadow); }
.cform h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 26px; }
.map-sec { background: var(--mist); padding-bottom: clamp(72px, 9vw, 120px); }
.map-sec h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.map { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/6.5; min-height: 320px; background: #dfeaf1; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Generic ---------- */
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--teal); text-decoration: underline; }
.postlist { display: grid; gap: 22px; max-width: 820px; }
.post { padding: 28px; border-radius: 24px; background: var(--mist); }
.post h2 { font-size: 1.6rem; margin-bottom: 10px; }
.post p { color: var(--muted); margin-bottom: 12px; }
.navigation.pagination { margin-top: 40px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(4, 14, 26, .92); backdrop-filter: blur(10px); padding: 24px; }
.lb.is-open { display: grid; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lb figure { max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lb img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 18px; box-shadow: 0 40px 100px -20px #000; background: #fff; }
.lb figcaption { color: #fff; margin-top: 16px; font-weight: 600; }
.lb button { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; transition: .25s; }
.lb button:hover { background: var(--aqua); color: var(--ink); }
.lb__close { top: 22px; right: 22px; } .lb__prev { left: 22px; top: 50%; } .lb__next { right: 22px; top: 50%; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .about__grid, .story, .contact__grid, .cgrid, .apply { grid-template-columns: 1fr; }
    .cinfo { position: static; }
    .prow { grid-template-columns: 1fr; }
    .prow--flip .prow__media { order: 0; }
    .mgrid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__card { display: none; }
    .jobs, .why__grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .burger { display: block; }
    .header__cta { display: none; }
    .nav { position: fixed; inset: 96px 14px auto; padding: 18px; border-radius: 28px; background: rgba(255, 255, 255, .98); box-shadow: var(--shadow); max-height: calc(100svh - 120px); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98); transition: .35s var(--ease); }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__list a { padding: 14px 16px; font-size: 1.05rem; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; min-width: 0; background: transparent; }
    .sub-menu::before { display: none; }
    .nav__cta-m { display: inline-flex; margin-top: 12px; width: 100%; }
    .numbers__grid, .infra { grid-template-columns: 1fr; }
    .vm__grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .bento__item--1 { grid-column: span 2; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .brand img { height: 38px; }
    .header__bar { height: 62px; padding-left: 18px; }
    .hero { min-height: 600px; }
    .hero__nav .hero__count { display: none; }
    .hero__progress { max-width: none; }
    .form__row { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr; }
    .mgrid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .about__badge { right: 0; }
    .phero { padding: 150px 0 80px; }
    .jump { top: 90px; }
    .map { aspect-ratio: 4/5; }
    .tabs { width: 100%; }
    .tab { flex: 1; padding-inline: 10px; }
    .bento__item--4 { grid-column: span 2; }
    .lb__prev, .lb__next { top: auto; bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero-slide__copy > * { opacity: 1; transform: none; }
}

/* ================= v1.1: footer link, logo size ================= */
.footer__site { color: var(--aqua); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer__site:hover { color: #fff; }
.brand img.has-h { height: var(--logo-h); width: auto; }
@media (max-width: 680px) { .brand img.has-h { height: calc(var(--logo-h) * .8); } }

/* ================= v1.1: folder-style gallery ================= */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 40px 28px; }
.folder { position: relative; display: block; padding-top: 36px; transition: transform .45s var(--ease); }
.folder:hover { transform: translateY(-8px); }
.folder__tab { position: absolute; top: 0; left: 0; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px 0 16px; border-radius: 16px 16px 0 0; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.folder__tab .icon { width: 18px; height: 18px; color: var(--aqua); }
.folder__paper { position: absolute; left: 20px; right: 20px; top: 28px; height: 34px; border-radius: 14px 14px 0 0; background: #e3edf3; box-shadow: var(--shadow-sm); z-index: 0; transition: transform .45s var(--ease); }
.folder__paper--2 { left: 38px; right: 38px; top: 20px; background: #c9dce7; }
.folder:hover .folder__paper { transform: translateY(-6px); }
.folder:hover .folder__paper--2 { transform: translateY(-12px); }
.folder__body { position: relative; z-index: 1; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 0 28px 28px 28px; background: #dfeaf1; box-shadow: var(--shadow); }
.folder__body img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.folder:hover .folder__body img { transform: scale(1.07); }
.folder__body::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 26, 46, .82)); }
.folder__count { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .78rem; font-weight: 700; }
.folder__count .icon { width: 15px; height: 15px; }
.folder__meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
.folder__meta b { font-family: var(--ff-h); font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.folder__meta i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); transition: transform .4s var(--ease); }
.folder:hover .folder__meta i { transform: rotate(45deg); }
.folder__meta .icon { width: 18px; height: 18px; }
.album-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.album-back { margin-top: 44px; }
.more-albums { background: var(--mist); padding-bottom: clamp(70px, 8vw, 110px); }

/* ================= v1.1: modern contact page ================= */
.cm { position: relative; background: var(--ink); color: #fff; padding: 150px 0 clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.cm::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 45% at 88% 8%, rgba(45, 226, 208, .24), transparent 62%), radial-gradient(50% 45% at 0% 100%, rgba(37, 99, 235, .3), transparent 62%); }
.cm::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent); mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent); }
.cm__wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.cm__pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cm__pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 5px rgba(45, 226, 208, .2); }
.cm h1 { font-family: var(--ff-h); font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 20px; color: #fff; }
.cm h1 em { font-style: normal; background: linear-gradient(120deg, var(--aqua), #8ab8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm__lead { max-width: 50ch; color: rgba(255, 255, 255, .74); font-size: 1.08rem; }
.cm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.cm__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ctile { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transition: .4s var(--ease); }
a.ctile:hover { background: rgba(255, 255, 255, .13); border-color: rgba(45, 226, 208, .55); transform: translateY(-4px); }
.ctile--wide { grid-column: 1 / -1; }
.ctile > .icon { width: 46px; height: 46px; padding: 12px; box-sizing: border-box; border-radius: 14px; background: linear-gradient(130deg, var(--aqua), var(--teal)); color: var(--ink); }
.ctile small { display: block; margin-bottom: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.ctile b { font-family: var(--ff-h); font-size: 1.05rem; font-weight: 600; line-height: 1.35; word-break: break-word; }
.cm__form { position: sticky; top: 110px; }
.mform { display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 44px); border-radius: 34px; background: #fff; color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); }
.mform__head h2 { font-family: var(--ff-h); font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.1; color: var(--ink); margin: 0 0 6px; }
.mform__head h2 em { font-style: normal; color: var(--teal); }
.mform__head p { margin: 0; color: var(--muted); }
.mchips { border: 0; margin: 4px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mchips legend { padding: 0; margin-bottom: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mopt { position: relative; }
.mopt input { position: absolute; opacity: 0; inset: 0; }
.mopt span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: .25s; }
.mopt:hover span { border-color: var(--teal); }
.mopt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.mopt input:focus-visible + span { outline: 3px solid rgba(15, 181, 166, .45); outline-offset: 2px; }
.mform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ffield { position: relative; }
.ffield input, .ffield textarea { width: 100%; font: inherit; color: var(--ink); padding: 24px 18px 9px; border-radius: 16px; border: 1.5px solid transparent; background: var(--mist); transition: border-color .25s, box-shadow .25s, background .25s; }
.ffield textarea { resize: vertical; min-height: 120px; }
.ffield label { position: absolute; left: 19px; top: 17px; font-size: .98rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .22s var(--ease), color .22s; }
.ffield input:focus, .ffield textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 181, 166, .16); }
.ffield input:focus + label, .ffield input:not(:placeholder-shown) + label, .ffield textarea:focus + label, .ffield textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--teal); font-weight: 700; }
.mform__btn { width: 100%; margin-top: 4px; }
.cmap { position: relative; height: min(580px, 72vh); min-height: 400px; background: #dfeaf1; }
.cmap iframe { width: 100%; height: 100%; border: 0; display: block; }
.cmap__over { position: absolute; inset: 0; display: flex; align-items: flex-end; pointer-events: none; }
.cmap__card { pointer-events: auto; max-width: 400px; margin-bottom: 36px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.cmap__card h3 { font-family: var(--ff-h); font-size: 1.5rem; margin: 6px 0 8px; color: var(--ink); }
.cmap__card p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 1000px) {
    .cm__wrap { grid-template-columns: 1fr; }
    .cm__form { position: static; }
}
@media (max-width: 680px) {
    .cm { padding: 120px 0 64px; }
    .cm__tiles, .mform__row { grid-template-columns: 1fr; }
    .cmap { height: auto; min-height: 0; }
    .cmap iframe { height: 340px; }
    .cmap__over { position: static; display: block; pointer-events: auto; }
    .cmap__card { max-width: none; margin: -40px 0 0; position: relative; }
}

/* ================= v1.4: career job requirement list ================= */
.job__list { display: grid; gap: 8px; font-size: .92rem; }
.job__list li { display: flex; gap: 10px; align-items: flex-start; }
.job__list .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--teal); color: #fff; }
