/* =========================================================================
   Scientra Lifesciences — site.css
   Order: fonts, tokens, base, layout, components, sections, pages, utilities
   ========================================================================= */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* From the logo: wordmark navy, globe blues, highlight cyan */
  --navy: #0A2366;
  --navy-900: #071a4d;
  --night: #050f2e;
  --blue: #0965B8;        /* links + buttons on light: 5.9:1 on white */
  --sky: #1AA3DF;
  --cyan: #2CD3F5;
  /* Warm, happy accents (client brief: fresh, happy, warm) */
  --amber: #FFB547;
  --amber-600: #F29A16;
  --coral: #FF7A59;
  --mint: #1FBF9A;
  --cream: #FFF8EE;
  --cream-2: #FCEFD9;
  --ice: #EAF6FC;
  /* Neutrals */
  --ink: #14213D;
  --muted: #4B5A74;
  --line: #E3E8F0;
  --white: #fff;

  --grad-brand: linear-gradient(120deg, var(--navy) 0%, #0B5FA8 55%, var(--sky) 100%);
  --grad-glow: radial-gradient(60% 80% at 70% 40%, rgba(44, 211, 245, .28), transparent 70%);

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.02rem + .4vw, 1.3rem);
  --fs-h4: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  --fs-h2: clamp(1.85rem, 1.4rem + 1.9vw, 3rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem);

  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-5: 3rem; --space-6: 4.5rem;
  --section-y: clamp(4rem, 3rem + 4.5vw, 7.5rem);

  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(10, 35, 102, .06);
  --shadow: 0 10px 30px -12px rgba(10, 35, 102, .22);
  --shadow-lg: 0 26px 60px -20px rgba(10, 35, 102, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t: 500ms var(--ease);
  --header-h: 112px;
  --container: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .6em; font-weight: 650; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color var(--t); }
a:hover { color: var(--navy); }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--amber-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--night); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholder marker for information still to come from the client */
.ph { display: inline-block; background: #FFF1C9; color: #6B4A00; border: 1px dashed #E0A100; border-radius: 6px; padding: 0 .4em; font-size: .85em; font-weight: 600; line-height: 1.6; }
.on-dark .ph, .site-footer .ph, .topbar .ph { background: rgba(255, 181, 71, .15); color: #FFD796; border-color: rgba(255, 181, 71, .6); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 860px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section[data-constellation] { isolation: isolate; }
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.section--cream { background: var(--cream); }
/* home cream sections: amber glow deepening top-right + faint dot grid */
:is(#capabilities, #technologies, #industries, #team).section--cream { background: radial-gradient(circle, rgba(176, 122, 20, .16) 1.5px, transparent 2px) 0 0 / 30px 30px, radial-gradient(55% 60% at 100% 0%, rgba(255, 181, 71, .32), rgba(255, 181, 71, .1) 50%, transparent 100%), var(--cream); }
.section--ice { background: var(--ice); }
.section--dark { background: var(--night); color: #D6E2F5; }
.section--navy { background: var(--navy); color: #D6E2F5; }
.section--dark h2, .section--dark h3, .section--dark h4, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--dark a:not(.btn), .section--navy a:not(.btn) { color: var(--cyan); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.grid { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}

/* ---------- Section headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--cyan)); border-radius: 2px; }
.section--dark .eyebrow, .section--navy .eyebrow, .on-dark .eyebrow { color: var(--cyan); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 720px; }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.6; }
.section--dark .lead, .section--navy .lead { color: #B9C8E3; }
.accent { background: linear-gradient(90deg, var(--sky), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-warm { color: var(--amber); }

/* ---------- Buttons & links ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.45em; border-radius: 999px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform var(--t), box-shadow var(--t), background-color var(--t), color var(--t), border-color var(--t); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--fg); }
.btn .icon { transition: transform var(--t); }
.btn:hover .icon { transform: translateX(4px); }
.btn--warm { --bg: var(--amber); --fg: var(--night); }
.btn--warm:hover { --bg: #FFC266; box-shadow: 0 14px 30px -12px rgba(242, 154, 22, .7); }
.btn--primary { --bg: var(--blue); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: rgba(10, 35, 102, .25); }
.btn--ghost:hover { border-color: var(--navy); --bg: var(--navy); --fg: #fff; }
.btn--ghost-light { --bg: rgba(255, 255, 255, .06); --fg: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--navy); border-color: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .95em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size var(--t), color var(--t); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow .icon { transition: transform var(--t); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Underline that grows left to right, for text links in menus and lists */
.u-grow { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--t), color var(--t); }
.u-grow:hover { background-size: 100% 1.5px; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: .35em; padding: .2em .7em; border-radius: 999px; font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--ice); color: var(--navy); }
.tag--warm { background: #FFEBC9; color: #7A4B00; }
.tag--mint { background: #DDF7EF; color: #0B6B54; }
.tag--dark { background: rgba(44, 211, 245, .14); color: var(--cyan); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 6px 24px -14px rgba(10, 35, 102, .35); transition: transform var(--t); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--sky) 55%, var(--cyan) 80%, var(--amber)); }
.topbar { background: var(--navy); color: #C9D6EE; font-size: var(--fs-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__note { display: inline-flex; align-items: center; gap: .5em; min-width: 0; }
.topbar__note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__note .icon { color: var(--amber); }
.topbar__note:hover span { text-decoration: underline; }
.topbar__links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.5rem; }
.topbar__links li { display: inline-flex; align-items: center; gap: .45em; }
.topbar__links a { display: inline-flex; align-items: center; gap: .45em; }
@media (min-width: 860px) { .topbar__links { display: flex; } }
.navbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 77px; }
.brand { display: flex; align-items: center; padding-block: 8px; }
.brand img { height: 61px; width: auto; }
.mainnav { display: none; flex: 1; }
.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-evenly; align-items: center; }
.mainnav__list > li { position: relative; display: flex; align-items: center; }
.mainnav__list > li > a { display: block; padding: 1.6rem .55rem; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: .95rem; text-decoration: none; position: relative; white-space: nowrap; }
.mainnav__list > li > a::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 1.2rem; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.mainnav__list > li:hover > a::after, .mainnav__list > li > a[aria-current="page"]::after, .mainnav__list > li.open > a::after { transform: scaleX(1); }
.mainnav__list > li > a[aria-current="page"] { color: var(--navy); font-weight: 650; }
.menu-toggle { background: none; border: 0; padding: .3rem; margin-left: -.35rem; color: var(--muted); cursor: pointer; border-radius: 6px; }
.menu-toggle .icon { transition: transform var(--t); }
.has-menu:hover .menu-toggle .icon, .has-menu.open .menu-toggle .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: -.5rem; min-width: 250px; padding: .6rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.dropdown a { display: block; padding: .6rem .85rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .95rem; transition: background-color var(--t), color var(--t), padding var(--t); }
.dropdown a:hover { background: var(--ice); color: var(--navy); padding-left: 1.1rem; }
.mega { position: fixed; left: 0; right: 0; top: var(--mega-top, 112px); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10, 35, 102, .45); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 2rem; padding-block: 2rem 2.25rem; }
.mega__col { display: flex; flex-direction: column; gap: .15rem; }
.mega__title { display: flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 650; color: var(--navy); margin: 0 0 .6rem; }
.mega__title .icon { color: var(--sky); width: 1.4em; height: 1.4em; }
.mega__col a { padding: .45rem 0; color: var(--ink); text-decoration: none; background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 1.5px no-repeat; width: fit-content; transition: background-size var(--t), color var(--t); }
.mega__col a:hover { background-size: 100% 1.5px; color: var(--navy); }
.mega__feature { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center; padding: 1.25rem; border-radius: var(--radius); background: var(--ice); text-decoration: none; color: var(--ink); transition: transform var(--t), box-shadow var(--t); }
.mega__feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.mega__feature img { border-radius: var(--radius-sm); background: #fff; }
.mega__feature-text { display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; }
.mega__feature-text strong { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.mega__feature--dark { grid-template-columns: 1fr; background: var(--grad-brand); color: #DCE8FA; }
.mega__feature--dark strong { color: #fff; }
.mega__feature--dark .link-arrow { color: var(--amber); }
.has-menu:hover > .dropdown, .has-menu:focus-within > .dropdown, .has-menu.open > .dropdown,
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu.open > .mega { opacity: 1; visibility: visible; transform: none; }
.has-menu.closed > .dropdown, .has-menu.closed > .mega { opacity: 0; visibility: hidden; }
.navbar__cta { display: none; }
.navbar__burger { margin-left: auto; background: var(--ice); border: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--navy); cursor: pointer; }
.navbar__burger .icon { width: 24px; height: 24px; }
@media (min-width: 1180px) {
  .mainnav { display: block; }
  .navbar__cta { display: inline-flex; }
  .navbar__burger { display: none; }
  .navbar__inner { min-height: 86px; }
  .brand { padding-block: 10px; }
  .brand img { height: 66px; }
}
@media (min-width: 1180px) and (max-width: 1300px) { .mainnav__list > li > a { padding-inline: .35rem; font-size: .9rem; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 46, .55); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; padding: 1.25rem 1.5rem 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem; animation: drawerIn 450ms var(--ease); }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--ice); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list > li > a, .drawer__list summary { display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list details[open] summary .icon { transform: rotate(180deg); }
.drawer__list details a { display: block; padding: .55rem 0 .55rem 1rem; color: var(--ink); text-decoration: none; border-left: 2px solid var(--ice); }
.drawer__list details a:last-child { margin-bottom: .8rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 75vh; min-height: 75svh; display: flex; align-items: center; overflow: hidden; color: #D6E2F5; background: radial-gradient(120% 90% at 80% 20%, #0D2F7A 0%, var(--night) 60%), var(--night); isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; }
.hero__canvas canvas { width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; z-index: -2; background: url("/assets/img/site/microwell-row.webp") 70% 75% / 70% auto no-repeat; opacity: .35; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 15, 46, .92) 0%, rgba(5, 15, 46, .65) 38%, rgba(5, 15, 46, 0) 62%); }
.hero__inner { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero__content { max-width: 620px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero__brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); padding: .45rem 1rem .45rem .7rem; border-radius: 999px; background: rgba(44, 211, 245, .1); border: 1px solid rgba(44, 211, 245, .3); margin-bottom: 1.4rem; }
.hero__brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); }
.hero__text { font-size: var(--fs-lg); color: #C3D2EC; max-width: 540px; margin-bottom: 2rem; }
.hero__steps { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; max-width: 600px; counter-reset: step; }
.hero__steps li { position: relative; padding-top: .9rem; font-size: .84rem; line-height: 1.4; color: #8FA3C6; transition: color var(--t); }
.hero__steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.hero__steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: var(--p, 0%); border-radius: 3px; background: linear-gradient(90deg, var(--sky), var(--cyan)); }
.hero__steps li b { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: inherit; margin-bottom: .2rem; }
.hero__steps li.is-active { color: #fff; }
.hero__steps li.is-active b { color: var(--cyan); }
.hero__caption { position: absolute; right: 1.25rem; bottom: 1rem; font-size: .75rem; color: #7F93B8; font-style: italic; }
.hero__scroll { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 959px) {
  .hero { align-items: flex-end; }
  .hero__shade { background: linear-gradient(0deg, rgba(5, 15, 46, .96) 0%, rgba(5, 15, 46, .78) 55%, rgba(5, 15, 46, .15) 100%); }
  .hero__inner { padding-top: 30vh; padding-bottom: 2rem; }
  .hero__steps { grid-template-columns: 1fr; gap: .5rem; margin-top: 1.6rem; }
  .hero__steps li { padding: 0 0 0 1rem; }
  .hero__steps li::before, .hero__steps li::after { top: 0; bottom: 0; width: 3px; height: auto; right: auto; }
  .hero__steps li::after { height: var(--p, 0%); width: 3px; }
  .hero__steps li b { display: inline; margin-right: .4em; }
  .hero__caption, .hero__scroll { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: #C9D6EE; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(3rem, 2rem + 3vw, 4.5rem); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 90% 10%, rgba(26, 163, 223, .45), transparent 60%), radial-gradient(40% 80% at 10% 100%, rgba(255, 181, 71, .14), transparent 70%); }
.page-hero::after { content: ""; position: absolute; right: -60px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); z-index: -1; opacity: .5; background: radial-gradient(circle, rgba(44, 211, 245, .9) 0 2px, transparent 2.5px) 0 0 / 22px 22px; -webkit-mask: radial-gradient(circle, #000 0 40%, transparent 70%); mask: radial-gradient(circle, #000 0 40%, transparent 70%); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #B9C8E3; max-width: 680px; }
.page-hero--with-media .container { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .page-hero--with-media .container { grid-template-columns: 1.15fr .85fr; } }
.page-hero__media { justify-self: center; max-width: 440px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-xs); color: #8FA3C6; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: #C9D6EE; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem; background: var(--ice); color: var(--blue); transition: transform var(--t), background-color var(--t), color var(--t); }
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); background: var(--navy); color: var(--cyan); }
.card__link { margin-top: auto; padding-top: 1rem; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #C9D6EE; }
.card--dark p { color: #A9BBDA; }
.card--dark h3 { color: #fff; }
.card--dark .card__icon { background: rgba(44, 211, 245, .12); color: var(--cyan); }
.card--dark:hover { background: rgba(255, 255, 255, .07); border-color: rgba(44, 211, 245, .35); }
.card--warm .card__icon { background: #FFEBC9; color: #B56A00; }

/* Pillar cards (capabilities) */
.pillar { overflow: hidden; padding: 0; }
.pillar__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.07); }
.pillar__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.pillar__num { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .18em; color: var(--sky); margin-bottom: .5rem; }

/* Image boxes */
.media-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ice); box-shadow: var(--shadow); }
.media-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.media-box:hover img { transform: scale(1.05); }
.media-box figcaption { position: absolute; left: 1rem; bottom: 1rem; font-size: .78rem; background: rgba(5, 15, 46, .72); color: #fff; padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(4px); }
.media-box--contain { background: #fff; display: grid; place-items: center; padding: 2rem; }
.media-box--contain img { object-fit: contain; max-height: 380px; }

/* ---------- Intro + counters ---------- */
.intro-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
/* home "Who we are": one wide photo + two tiles, filling the column down to the buttons */
.intro-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.intro-bento figure { margin: 0; aspect-ratio: 1; }
.intro-bento figure:first-child { grid-column: 1 / -1; }
.intro-bento figcaption { left: .75rem; bottom: .75rem; }
.intro-bento .media-box--plot { background: #fff; }
.intro-bento .media-box--plot img { object-fit: contain; padding: .75rem .75rem 2.75rem; }
@media (min-width: 960px) {
  .intro-grid > .intro-bento { align-self: stretch; grid-template-rows: auto 1fr; }
  .intro-bento figure:not(:first-child) { aspect-ratio: auto; min-height: 200px; position: relative; }
  .intro-bento figure:not(:first-child) img { position: absolute; inset: 0; }
}
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .icon { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--ice); color: var(--blue); }
.section--dark .checklist .icon, .section--navy .checklist .icon { background: rgba(44, 211, 245, .12); color: var(--cyan); }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.counter { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.counter:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.counter .icon { width: 30px; height: 30px; color: var(--sky); margin-bottom: .8rem; }
.counter__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.counter__label { display: block; margin-top: .5rem; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.counter__src { display: block; margin-top: .4rem; font-size: .72rem; color: #7A879C; }
.section--dark .counter, .section--navy .counter { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .counter__num, .section--navy .counter__num { color: #fff; }
.section--dark .counter__label, .section--navy .counter__label { color: #A9BBDA; }
.section--dark .counter .icon { color: var(--cyan); }

/* ---------- Single-cell workflow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); counter-reset: flow; }
.flow li { position: relative; padding: 1.4rem 1.2rem 1.3rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: transform var(--t), border-color var(--t), background-color var(--t); }
.flow li:hover { transform: translateY(-6px); border-color: rgba(44, 211, 245, .5); background: rgba(44, 211, 245, .06); }
.flow li::before { counter-increment: flow; content: "0" counter(flow); display: block; font-family: var(--font-head); font-size: .78rem; letter-spacing: .18em; color: var(--amber); margin-bottom: .7rem; }
.flow .icon { width: 30px; height: 30px; color: var(--cyan); margin-bottom: .6rem; }
.flow h3 { font-size: 1.05rem; color: #fff; margin-bottom: .35rem; }
.flow p { font-size: .88rem; color: #A9BBDA; margin: 0 0 .6rem; line-height: 1.5; }
.flow a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.flow a:hover { text-decoration: underline; }

/* ---------- Microwell explainer (CSS animation) ---------- */
.wells { --cols: 12; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: clamp(6px, 1vw, 12px); padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-lg); background: linear-gradient(160deg, #0B1E55, var(--night)); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.well { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #050f2e 0 55%, #12306f 75%, #1c4795 100%); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .6); }
.well::before, .well::after { content: ""; position: absolute; border-radius: 50%; opacity: 0; }
.well.c::before, .well.c::after { opacity: 1; }
.well::before { inset: 24%; background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 45%, #0e7fb5); box-shadow: 0 0 12px rgba(44, 211, 245, .8); }
.well::after { inset: 38% 18% 18% 38%; background: radial-gradient(circle at 35% 35%, #fff2d6, var(--amber) 60%, #c27400); }
.wells.is-playing .well.c::before { animation: cellIn 6s var(--ease) infinite; animation-delay: var(--d, 0s); }
.wells.is-playing .well.c::after { animation: beadIn 6s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes cellIn { 0% { opacity: 0; transform: translateY(-160%) scale(.6); } 18% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes beadIn { 0%, 30% { opacity: 0; transform: translateY(-200%) scale(.5); } 45% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
.wells-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.wells-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.wells-legend i { width: 14px; height: 14px; border-radius: 50%; }
.dot-cell { background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 45%, #0e7fb5); }
.dot-bead { background: radial-gradient(circle at 35% 35%, #fff2d6, var(--amber) 60%, #c27400); }
.dot-well { background: #0B1E55; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.steps-list { list-style: none; margin: 1.75rem 0 2rem; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.steps-list li::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--navy); background: linear-gradient(135deg, #E3F6FD, #FFF1DA); }
.steps-list strong { display: block; font-family: var(--font-head); color: var(--navy); }
.steps-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Technology tiles ---------- */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tile { position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy); transition: transform var(--t), box-shadow var(--t); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 46, .05) 20%, rgba(5, 15, 46, .92) 85%); }
.tile--contain img { object-fit: contain; padding: 2rem 2rem 9rem; background: radial-gradient(circle at 50% 30%, #1A4A9A, var(--navy) 70%); }
.tile--pattern { background: radial-gradient(circle at 80% 10%, rgba(255, 181, 71, .35), transparent 50%), var(--grad-brand); }
.tile--pattern::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background: radial-gradient(circle, #fff 0 1.6px, transparent 2px) 0 0 / 18px 18px; -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%); }
.tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: .35rem; }
.tile p { font-size: .92rem; color: #CFDBF0; margin: 0 0 .8rem; }
.tile .tag { position: absolute; top: 1.25rem; left: 1.25rem; }
.tile__go { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--amber); }
.tile__go .icon { transition: transform var(--t); }
.tile:hover .tile__go .icon { transform: translateX(5px); }

/* ---------- Tabs (solutions) ---------- */
.tabs { display: grid; gap: 2rem; }
@media (min-width: 960px) { .tabs { grid-template-columns: 320px 1fr; align-items: start; } }
.tabs__list { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
@media (min-width: 960px) { .tabs__list { flex-direction: column; overflow: visible; position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.tabs__btn { flex: none; display: flex; align-items: center; gap: .75rem; text-align: left; padding: .95rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t); }
.tabs__btn .icon { width: 22px; height: 22px; color: var(--sky); transition: color var(--t); }
.tabs__btn:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.tabs__btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.tabs__btn[aria-selected="true"] .icon { color: var(--amber); }
.tabs__btn .tag { margin-left: auto; }
.tabs__panel { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: var(--fs-h3); }
.cra { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
@media (min-width: 760px) { .cra { grid-template-columns: repeat(3, 1fr); } }
.cra > div { padding: 1.25rem; border-radius: var(--radius); background: var(--cream); }
.cra > div:nth-child(2) { background: var(--ice); }
.cra > div:nth-child(3) { background: #EFFAF6; }
.cra h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; font-weight: 600; }
.cra p { margin: 0; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.chips a, .chips span { display: inline-block; padding: .4rem .85rem; border-radius: 999px; background: var(--ice); color: var(--navy); font-size: .88rem; text-decoration: none; transition: background-color var(--t), color var(--t), transform var(--t); }
.chips a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Approach ---------- */
.approach { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: ap; position: relative; }
.approach__step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform var(--t), background-color var(--t); }
.approach__step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.approach__num { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; line-height: 1; background: linear-gradient(180deg, var(--amber), rgba(255, 181, 71, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 1rem; }
.approach__step .icon { position: absolute; top: 1.8rem; right: 1.6rem; width: 34px; height: 34px; color: var(--cyan); }
.approach__step h3 { font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; }
.approach__step p { color: #A9BBDA; margin: 0; }

/* ---------- Industries ---------- */
.industry { text-decoration: none; color: inherit; }
.industry:hover { color: inherit; }
.industry .card__icon { background: linear-gradient(135deg, #FFF1DA, #E3F6FD); color: var(--navy); }

/* ---------- Partners ---------- */
.partner-feature { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform var(--t), box-shadow var(--t); }
.partner-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (min-width: 860px) { .partner-feature { grid-template-columns: 280px 1fr; } }
.partner-feature__logo { display: grid; place-items: center; padding: 2rem; border-radius: var(--radius); background: var(--ice); aspect-ratio: 16 / 10; }
.partner-feature__logo img { max-width: 210px; }
.partner-slot { display: grid; place-items: center; text-align: center; min-height: 140px; border-radius: var(--radius); border: 2px dashed #C9D3E3; color: var(--muted); font-size: .92rem; padding: 1.25rem; transition: border-color var(--t), color var(--t), transform var(--t); }
.partner-slot:hover { border-color: var(--sky); color: var(--navy); transform: translateY(-4px); }

/* ---------- Team ---------- */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.person { text-align: left; padding: 0; overflow: hidden; }
.person__photo { aspect-ratio: 4 / 4.2; background: linear-gradient(160deg, var(--ice), var(--cream-2)); display: grid; place-items: center; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.person:hover .person__photo img { transform: scale(1.06); }
.person__body { padding: 1.4rem 1.5rem 1.6rem; }
.person__name { font-size: 1.15rem; margin-bottom: .15rem; }
.person__role { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--blue); margin-bottom: .8rem; }
.person__bio { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Knowledge / resources ---------- */
.res-card { gap: .6rem; }
.res-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted); }
.res-card h3 { font-size: 1.08rem; line-height: 1.35; margin: .2rem 0 .3rem; }
.res-card h3 a { color: var(--navy); text-decoration: none; }
.res-card h3 a:hover { text-decoration: underline; }
.res-card p { font-size: .92rem; }
.res-card__source { font-size: .82rem; color: #66748C; font-style: italic; }
.res-card__actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: auto; padding-top: .6rem; }
.res-card__actions a { display: inline-flex; align-items: center; gap: .4em; font-size: .88rem; font-weight: 600; text-decoration: none; }
.res-card__actions a:hover { text-decoration: underline; }
.res-card__actions .wa { color: #128C4B; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filters legend { font-family: var(--font-head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; float: left; width: 100%; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: .4em; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; color: var(--ink); transition: background-color var(--t), color var(--t), border-color var(--t); }
.pill input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill input:checked + span::before { content: "✓"; font-size: .8em; }
.pill input:focus-visible + span { outline: 3px solid var(--amber-600); outline-offset: 2px; }
.pill:hover span { border-color: var(--navy); }
.filters__search { flex: 1 1 240px; }
.filters__search input { width: 100%; }
.res-empty { padding: 2rem; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }

/* ---------- Product catalogue ---------- */
.cat-nav { position: sticky; top: calc(var(--header-h) - 2px); z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-nav__inner { position: relative; display: flex; gap: .5rem; overflow-x: auto; padding-block: .8rem .5rem; scrollbar-width: thin; scrollbar-color: #9DB4D6 var(--ice); }
.cat-nav a { flex: none; padding: .55rem 1.05rem; border-radius: 999px; font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--navy); background: var(--ice); text-decoration: none; transition: background-color var(--t), color var(--t); }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--navy); color: #fff; }
.cat-group { scroll-margin-top: calc(var(--header-h) + 80px); }
.cat-group + .cat-group { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.cat-group__head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.75rem; }
.cat-group__head h2 { font-size: var(--fs-h3); margin: 0; }
.cat-group__head p { margin: 0; color: var(--muted); max-width: 560px; }
.products { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.product { padding: 0; overflow: hidden; }
.product__media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(160deg, #F4FAFE, #FFF8EE); overflow: hidden; padding: 1.25rem; }
.product__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform 900ms var(--ease); }
.product:hover .product__media img { transform: scale(1.07); }
.product__art { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .95rem; border-radius: 14px; background: radial-gradient(circle, rgba(26, 163, 223, .35) 0 1.6px, transparent 2px) 0 0 / 16px 16px, linear-gradient(160deg, #E6F5FC, #FFF3E0); padding: 1rem; }
.product__art .icon { width: 46px; height: 46px; color: var(--sky); margin: 0 auto .6rem; }
.product__art small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: .3rem; }
.product__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product__body h3 { font-size: 1.02rem; line-height: 1.35; margin: 0; }
.product__body h3 a { color: var(--navy); text-decoration: none; }
.product__body p { font-size: .9rem; margin: 0; }
.product__body .link-arrow { margin-top: auto; padding-top: .5rem; font-size: .9rem; width: fit-content; }

/* Product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (min-width: 960px) { .pd { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .pd__media { position: sticky; top: calc(var(--header-h) + 2rem); } }
.pd__media { border-radius: var(--radius-lg); grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); min-width: 0; background: linear-gradient(160deg, #F4FAFE, #FFF8EE); display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 2.5rem); aspect-ratio: 1 / .9; border: 1px solid var(--line); }
.pd__media img { max-width: 100%; min-width: 0; max-height: 100%; width: auto; object-fit: contain; }
.pd__media .product__art { aspect-ratio: auto; font-size: 1.2rem; }
.pd h2 { font-size: var(--fs-h4); margin-top: 2rem; }
.pd__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.btn--wa { --bg: #1FA855; --fg: #fff; }
.btn--wa:hover { --bg: #178B45; }
.note { padding: 1rem 1.25rem; border-left: 4px solid var(--amber); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .92rem; }

/* ---------- Forms ---------- */
.enquiry-wrap { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (min-width: 1000px) { .enquiry-wrap { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.form-card a { color: var(--blue) !important; }
.form-card h3 { color: var(--navy) !important; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--ink); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--navy); }
input, select, textarea { font: inherit; font-size: 1rem; width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid #CBD5E3; background: #FBFCFE; color: var(--ink); transition: border-color var(--t), box-shadow var(--t), background-color var(--t); }
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #94A6C2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(9, 101, 184, .15); }
[aria-invalid="true"] { border-color: #C62828; }
.field-error { color: #B42318; font-size: .85rem; margin: .35rem 0 0; }
.form-alert { padding: .85rem 1rem; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-weight: 600; }
.form-success { padding: 1.5rem; border-radius: var(--radius); background: #E7F8F1; color: #0B5D47; }
.form-success strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .3rem; }
/* home enquiry: compact form so "Send enquiry" and "Chat on WhatsApp" end on the same line */
@media (min-width: 1000px) {
  #enquiry .enquiry-wrap { align-items: stretch; }
  #enquiry .enquiry-intro { display: flex; flex-direction: column; padding-bottom: calc(2rem + 1px); }
  #enquiry .enquiry-intro .btn-row { margin-top: auto; padding-top: .5rem; }
  #enquiry .enquiry-intro .btn { min-height: 56px; }
  #enquiry .form-card { padding-block: 2rem; display: flex; flex-direction: column; }
  #enquiry .form-grid { gap: .75rem 1.25rem; }
  #enquiry .field label { margin-bottom: .25rem; }
  #enquiry input, #enquiry select { min-height: 44px; padding-block: .5rem; }
  #enquiry textarea { flex: 1; min-height: 70px; height: 70px; }
  #enquiry .form-grid { grid-template-rows: repeat(4, auto) 1fr; }
  #enquiry .form-grid > .field:last-child { display: flex; flex-direction: column; }
  #enquiry .enquiry-form { flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; align-items: center; column-gap: 1.25rem; }
  #enquiry .enquiry-form > * { grid-column: 1 / -1; }
  #enquiry .enquiry-form > .form-grid { align-self: stretch; }
  #enquiry .enquiry-form > .btn { grid-column: 1; min-height: 56px; margin-top: 1rem; }
  #enquiry .enquiry-form > .form-note { grid-column: 2; grid-row: 3; margin: 1rem 0 0; }
}
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 1.25rem; }
.form-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form button[disabled] { opacity: .7; pointer-events: none; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.contact-list .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: rgba(44, 211, 245, .12); color: var(--cyan); }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); }
.section:not(.section--dark):not(.section--navy) .contact-list .icon { background: var(--ice); color: var(--blue); }
.section:not(.section--dark):not(.section--navy) .contact-list strong { color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 4rem); background: var(--grad-brand); color: #DCE8FA; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 181, 71, .55), transparent 65%); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background: radial-gradient(circle, #fff 0 1.4px, transparent 1.8px) 0 0 / 20px 20px; -webkit-mask: linear-gradient(90deg, transparent 40%, #000); mask: linear-gradient(90deg, transparent 40%, #000); }
.cta-band h2 { color: #fff; max-width: 20ch; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.2em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #A9BBDA; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--amber), var(--cyan), var(--sky), var(--navy)); }
.footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; padding-block: 2.5rem; }
.footer-cta__text { margin: 0; color: #C9D6EE; font-size: 1.05rem; max-width: 640px; }
.footer-cta__text strong { color: #fff; font-family: var(--font-head); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1.2fr; } }
.footer-brand img { width: 130px; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 1.25rem; }
.footer-brand strong { color: #fff; }
.footer-tagline { font-family: var(--font-head); color: var(--cyan); font-weight: 600; }
.footer-title { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.footer-col > a { color: #A9BBDA; text-decoration: none; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1.5px no-repeat; transition: background-size var(--t), color var(--t); }
.footer-col > a:hover { color: #fff; background-size: 100% 1.5px; }
.footer-contact p { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; margin: 0 0 .6rem; }
.footer-contact .icon { color: var(--cyan); margin-top: .2rem; }
.footer-contact a { color: #fff; }
.footer-contact .btn { margin-top: .5rem; }
.social { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 1rem 0 0; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: background-color var(--t), transform var(--t); }
.social a:hover { background: var(--sky); transform: translateY(-3px); }
.footer-base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding-block: 1.5rem 6rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #7F93B8; }
.footer-base p { margin: 0; }
.footer-base a { color: #A9BBDA; }
@media (min-width: 1180px) { .footer-base { padding-bottom: 1.5rem; } }
.small { font-size: .85rem; }

/* Floating WhatsApp + mobile action bar */
/* Floating: contact "i" button (bottom left) + back to top (bottom right) */
.quick-contact { position: fixed; left: 1.25rem; bottom: calc(58px + 1rem + env(safe-area-inset-bottom)); z-index: 91; }
.qc-toggle, .to-top { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; transition: transform var(--t), box-shadow var(--t), background-color var(--t), opacity var(--t), visibility var(--t); }
.qc-toggle { background: var(--navy); color: #fff; box-shadow: 0 12px 28px -8px rgba(10, 35, 102, .6), 0 0 0 3px rgba(44, 211, 245, .55); }
.qc-toggle:hover { transform: translateY(-3px) scale(1.06); background: var(--blue); }
.qc-i { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 1.6rem; line-height: 1; }
.qc-toggle .icon { display: none; width: 22px; height: 22px; }
.qc-toggle[aria-expanded="true"] .qc-i { display: none; }
.qc-toggle[aria-expanded="true"] .icon { display: block; }
.qc-panel { position: absolute; left: 0; bottom: calc(100% + .75rem); width: min(300px, calc(100vw - 2.5rem)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 3px solid var(--cyan); padding: .9rem .6rem .6rem; opacity: 0; transform: translateY(10px) scale(.97); transform-origin: bottom left; transition: opacity var(--t), transform var(--t); }
.qc-panel[hidden] { display: block; visibility: hidden; pointer-events: none; }
.qc-panel.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.qc-title { margin: 0 .6rem .4rem; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qc-row { display: flex; align-items: center; gap: .8rem; padding: .6rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; transition: background-color var(--t), transform var(--t); }
.qc-row:hover { background: var(--ice); transform: translateX(3px); color: var(--ink); }
.qc-row strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy); line-height: 1.2; }
.qc-row small { display: block; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.qc-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.qc-ico .icon { width: 20px; height: 20px; }
.qc-ico--call { background: var(--blue); }
.qc-ico--mail { background: var(--coral); }
.qc-ico--wa { background: #1FA855; }
.to-top { position: fixed; right: 1.25rem; bottom: calc(58px + 1rem + env(safe-area-inset-bottom)); z-index: 90; background: var(--amber); color: var(--night); box-shadow: 0 12px 28px -10px rgba(242, 154, 22, .8); opacity: 0; visibility: hidden; transform: translateY(12px); }
.to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top.is-visible:hover { transform: translateY(-3px) scale(1.06); background: var(--amber-600); }
@media (min-width: 1180px) { .quick-contact, .to-top { bottom: 1.5rem; } .quick-contact { left: 1.5rem; } .to-top { right: 1.5rem; } }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; box-shadow: 0 -8px 24px -10px rgba(10, 35, 102, .35); border-top: 3px solid var(--cyan); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 58px; font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.actionbar a .icon { width: 22px; height: 22px; }
.actionbar a:nth-child(2) { color: #128C4B; }
.actionbar__main { background: var(--amber); color: var(--night) !important; }
@media (min-width: 1180px) { .actionbar { display: none; } }

/* ---------- Reveal on scroll (set up by site.js; content stays visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--delay, 0ms); }

/* ---------- Admin-only helpers used on public pages ---------- */
.notice-bar { background: var(--cream-2); color: #6B4A00; font-size: .9rem; padding: .6rem 0; text-align: center; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .actionbar, .quick-contact, .to-top, .hero__canvas { display: none !important; }
  body { color: #000; }
}

/* Mouse-following dot: "difference" turns white dark on light areas and keeps it light on dark ones */
.cursor-dot { position: fixed; top: -5px; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .3s; }
.cursor-dot.is-on { opacity: 1; }

/* Photo hover: a slanted band of light sweeps left to right (on top of the existing slow zoom) */
.media-box, .pillar__media, .person__photo, .product__media { position: relative; }
.media-box::after, .pillar__media::after, .person__photo::after, .product__media::after, .tile:not(.tile--pattern)::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-160%) skewX(-18deg); opacity: 0; }
.tile:not(.tile--pattern)::after { z-index: -1; }
@media (hover: hover) {
  .media-box:hover::after, .pillar:hover .pillar__media::after, .person:hover .person__photo::after, .product:hover .product__media::after, .tile:not(.tile--pattern):hover::after {
    transform: translateX(330%) skewX(-18deg); opacity: 1; transition: transform 800ms var(--ease); }
}

/* Narrow phones: let grid columns shrink and long addresses wrap */
.enquiry-wrap > *, .partner-feature > *, .contact-list li > * { min-width: 0; }
.contact-list li > div { overflow-wrap: anywhere; }
@media (max-width: 639px) { .enquiry-wrap, .partner-feature, .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Phones: show the whole partner line, and use smaller floating buttons so they hide less text */
@media (max-width: 639px) {
  .topbar__note span { white-space: normal; font-size: .72rem; line-height: 1.25; }
  .qc-toggle, .to-top { width: 44px; height: 44px; }
  .quick-contact { left: .75rem; }
  .to-top { right: .75rem; }
}
