/* ═══════════════════════════════════════════════════════════
   Plasto-Fab · white theme (navy and lime, from the logo)
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --ink: #0d1424;
  --ink-2: #2d3648;
  --muted: #5d677a;
  --line: rgba(13, 20, 36, .1);
  --line-2: rgba(13, 20, 36, .16);
  --navy: #1e2a52;    /* logo navy */
  --blue: #23407a;    /* navy for links and accents */
  --lime: #a8c606;    /* logo lime: fills and accents, never small text on white */
  --green: #5c7a00;   /* a lime dark enough for text */
  --brand: linear-gradient(90deg, #1e2a52 0%, #2e5e78 52%, #8fb40d 100%);
  --shadow: 0 24px 50px -28px rgba(13, 20, 36, .28);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, .site-footer { position: relative; z-index: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 999px; font: 500 14px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -12px rgba(29, 107, 114, .7); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(29, 107, 114, .85); }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.round:hover { border-color: var(--ink-2); box-shadow: var(--shadow); }
.round svg { width: 16px; height: 16px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 68px); }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 54ch; }

/* ── header ──────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .35s, box-shadow .35s; }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 74px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 14px; text-decoration: none; color: var(--ink-2); transition: color .25s; }
.nav a:hover { color: var(--blue); }
.site-header.is-solid { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--line); }   /* no backdrop blur: it re-blurs the animated canvas every frame */
@media (max-width: 900px) { .nav { display: none; } .site-header .btn { margin-left: auto; padding: 10px 14px; font-size: 13px; } }

/* ── 1 · welcome ─────────────────────────────────────── */
.intro { height: 720svh; }
.intro__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.welcome { position: relative; text-align: center; }
/* the logo stays dead centre, where the WebGL logo takes over (width matches tank-story.js) */
.welcome__pre { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: clamp(18px, 3vw, 36px); font-size: clamp(13px, 1.2vw, 15px); font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); will-change: transform, opacity; }
.welcome__name img { width: min(78vw, 1000px); height: auto; will-change: opacity; }
@media (max-width: 760px) { .welcome__name img { width: 90vw; } }
/* scroll-down marker: fades away once scrolling starts (ui.js) */
.intro__hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.intro__hint i { position: relative; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.intro__hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--brand); animation: drip 1.9s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* the statement lives in the welcome scene, in the space above the Earth's horizon */
.statement { position: absolute; left: 0; right: 0; top: 74px; bottom: 33svh; display: grid; place-content: center; justify-items: center; gap: clamp(16px, 2.4vw, 28px); padding: 0 var(--gutter); text-align: center; pointer-events: none; will-change: transform, opacity; }
.statement__text { font-size: clamp(40px, 7.2vw, 124px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; max-width: 12.5ch; color: var(--ink); }
.statement__text em { font-style: normal; }
/* the clip box reaches below the baseline so descenders (g, p, q, y) are never cut; negative margins keep line spacing */
.statement__text .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .26em; margin-bottom: -.26em; }
.statement__text .w > span { display: inline-block; opacity: 0; padding-bottom: .22em; margin-bottom: -.22em; will-change: transform, opacity; }
.statement__text .is-em { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement__sub { color: var(--muted); font-size: clamp(14px, 1.3vw, 17px); max-width: 46ch; }
.statement .eyebrow, .statement__sub { opacity: 0; will-change: opacity; }

/* ── 2 & 3 · material acts: the tank stands in the slot ── */
.mat { height: 300svh; }
.mat__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.mat__text { position: absolute; top: 50%; transform: translateY(-50%); width: min(480px, 40vw); }
.mat--thermo .mat__text { left: var(--gutter); }
.mat--frp .mat__text { right: var(--gutter); }
.mat h2 { font-size: clamp(44px, 5.4vw, 88px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin: 20px 0; }
.mat--thermo h2 { color: var(--navy); }
.mat--frp h2 { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mat__text > p { color: var(--muted); max-width: 44ch; }
.mat__list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.mat__list li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; transition: padding .4s var(--ease), color .3s; }
.mat__list li span:first-child { font-weight: 500; }
.mat__list li span:last-child { color: var(--muted); text-align: right; }
.mat__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .35s var(--ease); }
.mat__list li.is-on { padding-left: 20px; }
.mat__list li.is-on::before { transform: scale(1); }
.mat__list li.is-on span:first-child { color: var(--navy); }
.mat__slot { position: absolute; top: 12svh; bottom: 8svh; width: 40vw; }
.mat--thermo .mat__slot { right: 6vw; }
.mat--frp .mat__slot { left: 6vw; }
.mat__tank { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 760px) {
  .mat__text { top: 88px; transform: none; width: auto; left: var(--gutter) !important; right: var(--gutter) !important; }
  .mat h2 { font-size: 38px; margin: 10px 0; }
  .mat__text > p { font-size: 14px; }
  .mat__list { display: none; }
  .mat__slot { left: 5vw !important; right: 5vw !important; width: auto; top: auto; bottom: 4svh; height: 44svh; }
}

/* ── 5 · the range (coverflow + flip) ────────────────── */
.range { position: relative; padding: clamp(90px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); overflow: hidden; background:
  linear-gradient(rgba(13, 20, 36, .045) 1px, transparent 1px) 0 0 / 120px 120px,
  linear-gradient(90deg, rgba(13, 20, 36, .045) 1px, transparent 1px) 0 0 / 120px 120px,
  radial-gradient(70% 60% at 50% 58%, #ffffff 0%, #eef2f8 70%, var(--bg-soft) 100%); }
.range__bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.range__bar h2 { font-size: clamp(32px, 4.2vw, 56px); margin-top: 16px; }
.range__nav { display: flex; align-items: center; gap: 12px; }
.range__count { font-size: 14px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 10px; }
.range__stage { --w: clamp(300px, 30vw, 430px); --h: calc(var(--w) * 1.18); position: relative; height: calc(var(--h) + 120px); perspective: 1900px; margin-top: 30px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.range__stage.is-dragging { cursor: grabbing; }
.range__stage::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: calc(var(--w) * 1.6); height: 110px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(42, 111, 208, .18), transparent); pointer-events: none; }
.range__track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; }
.pcard { position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); transform-style: preserve-3d; transition: transform .9s var(--ease), opacity .6s; }
.pcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .85s var(--ease); }
@media (hover: hover) { .pcard:hover .pcard__inner { transform: rotateY(180deg); } }
.pcard.is-flipped .pcard__inner { transform: rotateY(180deg); }
.pcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 24px; border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 34px 60px -36px rgba(13, 20, 36, .4); }
.pcard__front { align-items: center; justify-content: space-between; transition: border-color .5s, box-shadow .5s; }
.pcard__front { padding: 14px 14px 26px; }
.pcard__front img { width: 100%; height: auto; flex: 1 1 auto; min-height: 0; aspect-ratio: auto; object-fit: cover; border-radius: 14px; transition: transform .6s var(--ease); }
.pcard.is-active .pcard__front img { transform: scale(1.02); }
.pcard__front h3 { margin-top: 20px; }
.pcard__front h3 { text-align: center; font-size: clamp(16px, 1.45vw, 21px); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; color: var(--ink); }
.pcard.is-active .pcard__front { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--brand) border-box; box-shadow: 0 44px 80px -38px color-mix(in srgb, var(--tone) 75%, transparent); }
.pcard__back { transform: rotateY(180deg); gap: 14px; justify-content: flex-start; background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 16%, #fff), #fff 72%); }
.pcard__ci { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 75%, #0d1424); }
.pcard__back h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; color: var(--ink); }
.pcard__back p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.chips { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.pcard__cta { margin-top: auto; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--blue); }
.pcard__cta:hover { color: var(--green); }
.range__hint { text-align: center; font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.range__hint a { color: var(--blue); text-decoration: none; }
@media (max-width: 700px) {
  .range__stage { --w: min(80vw, 320px); }
  .pcard__face { padding: 22px; }
  .pcard__back p { font-size: 13px; }
  .range__bar { flex-direction: column; align-items: flex-start; }
}

/* ── solid sections after the story ──────────────────── */
.uses, .why { background: var(--bg); padding: clamp(90px, 11vw, 140px) 0; }
.uses--dark { background: #0c0f13; }
.contact { background: var(--bg-soft); padding: clamp(90px, 11vw, 140px) 0; }

/* industries: dark, a tile per industry, each with its colour band */
.uses--dark { background: #0b1020; color: #eef0f2; }
.uses--dark .eyebrow { color: #a9b1c2; }
.uses--dark .sec-head h2 { color: #f2f1ec; }
.inds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ind { position: relative; min-height: 150px; display: grid; align-content: space-between; gap: 30px; padding: 22px 22px 24px; border-radius: 18px; background: #141a2e; border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; transition: transform .45s var(--ease), border-color .3s; }
.ind::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tone); }
.ind::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 40%, transparent), transparent 70%); opacity: .5; transition: opacity .4s, transform .6s var(--ease); }
.ind:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .16); }
.ind:hover::after { opacity: 1; transform: scale(1.2); }
.ind span { position: relative; font-size: 12.5px; color: #8d96a8; letter-spacing: .1em; }
.ind b { position: relative; font-weight: 500; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; color: #fff; }
.ind--big { grid-column: span 2; min-height: 200px; }
.ind--big b { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.02em; }
@media (max-width: 900px) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ind--big { grid-column: span 2; } }
@media (max-width: 480px) { .inds { grid-template-columns: 1fr; } .ind--big { grid-column: auto; } .ind { min-height: 110px; } }

/* certifications: pinned 3D deck on security-paper guilloche */
.certs { position: relative; height: 380svh; background: var(--bg-soft); }
.certs__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: center;
  background: repeating-radial-gradient(circle at 72% 52%, rgba(30, 42, 82, .07) 0 1px, transparent 1px 15px),
              radial-gradient(60% 70% at 72% 52%, #ffffff 0%, rgba(255, 255, 255, 0) 70%); }
.certs__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.certs__info { display: grid; gap: 22px; align-content: center; }
.certs__info h2 { font-size: clamp(34px, 4.4vw, 62px); }
.certs__detail { display: grid; }   /* all entries share one cell, so it is as tall as the longest */
.cdet { grid-area: 1 / 1; align-content: start; display: grid; gap: 12px; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; pointer-events: none; }
.cdet.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s .15s, transform .55s .15s var(--ease); }
.cdet__tag { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.cdet h3 { font-size: clamp(22px, 2.2vw, 30px); }
.cdet p { color: var(--muted); max-width: 46ch; }
.cdet__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.cdet__meta span { font-size: 12px; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.certs__view { justify-self: start; }
.certs__steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.certs__steps button { width: 100%; display: grid; gap: 4px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font-size: 12.5px; color: var(--muted); }
.certs__steps span { font-weight: 600; color: var(--ink-2); }
.certs__steps i { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.certs__steps i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.certs__steps .is-active { color: var(--ink); }

.certs__stage { position: relative; height: min(78svh, 640px); perspective: 1600px; }
.deck { position: absolute; inset: 0; transform-style: preserve-3d; }
.sheet { --sw: clamp(220px, 24vw, 330px); position: absolute; left: 50%; top: 50%; width: var(--sw); height: calc(var(--sw) * 1.36); margin: calc(var(--sw) * -0.68) 0 0 calc(var(--sw) * -0.5); padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; will-change: transform, opacity; }
.sheet__paper { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; padding: 14px; border-radius: 10px; background: #fff; box-shadow: 0 2px 0 rgba(13, 20, 36, .04), 0 50px 70px -40px rgba(13, 20, 36, .55), inset 0 0 0 1px var(--line), inset 0 0 0 7px #fff, inset 0 0 0 8px rgba(29, 107, 114, .25); overflow: hidden; }
.sheet__paper img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.sheet--wide .sheet__paper img { height: auto; }
.sheet--photo { --sw: clamp(300px, 32vw, 460px); height: calc(var(--sw) * .8); margin: calc(var(--sw) * -.4) 0 0 calc(var(--sw) * -.5); }
.sheet--photo .sheet__paper { padding: 0; background: #fff; }
.sheet--photo .sheet__paper img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .sheet--photo { --sw: min(76vw, 40svh); } }
.sheet--badge .sheet__paper { background: radial-gradient(circle at 50% 38%, #fff, #eef3f8 70%); }
.sheet--badge .sheet__paper img { width: 74%; height: auto; border-radius: 50%; box-shadow: 0 20px 40px -20px rgba(13, 20, 36, .45); }
.sheet--badge b { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
/* holographic foil + pointer glare */
.sheet__foil { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: multiply; opacity: .3;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 140, 210, .45) 44%, rgba(130, 210, 255, .5) 49%, rgba(170, 250, 170, .45) 54%, rgba(255, 230, 130, .4) 58%, transparent 63%);
  background-size: 260% 260%; background-position: var(--fx, 50%) var(--fy, 50%); transition: background-position .2s; }
.sheet .sheet__foil { border-radius: 10px; }
.sheet__glare { position: absolute; inset: 0; border-radius: 10px; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .75), transparent 45%); mix-blend-mode: soft-light; }
.seal { position: absolute; right: 2%; top: 2%; width: clamp(110px, 11vw, 150px); aspect-ratio: 1; z-index: 30; pointer-events: none; }
.seal svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.seal__core { filter: drop-shadow(0 16px 24px rgba(13, 20, 36, .25)); }
.seal__ring text { font: 600 12.5px var(--font); letter-spacing: .3em; fill: var(--ink-2); }
.seal__ring { animation: spin 18s linear infinite; will-change: transform; }
@keyframes spin { to { transform: rotate(360deg); } }
.spark { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; z-index: 25; pointer-events: none; opacity: 0; animation: twinkle 2.8s var(--d) ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(42, 111, 208, .55)); }
.spark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, #fff 0 18%, #7fb8f5 40%, #5cc46b 75%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 45%, 55% { opacity: 1; transform: scale(1) rotate(30deg); } }
@media (max-width: 900px) {
  .certs__layout { grid-template-columns: 1fr; gap: 10px; }
  .certs__pin { align-items: start; padding-top: 84px; }
  .certs__stage { order: -1; height: 36svh; }
  .certs__info { gap: 12px; }
  .certs__info h2 { font-size: 26px; }
  .cdet { gap: 8px; }
  .cdet h3 { font-size: 20px; }
  .cdet p { font-size: 13.5px; line-height: 1.55; }
  .certs__view { padding: 11px 18px; font-size: 13px; }
  .sheet { --sw: min(40vw, 24svh); }
  .seal { width: 84px; }
  .certs__steps { display: none; }
}

/* proof: figures, policies, awards */
.proof { background: var(--bg-soft); padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 140px); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.figure { display: grid; gap: 6px; padding: 22px 0 0; border-top: 2px solid; border-image: var(--brand) 1; }
.figure b { font-size: clamp(34px, 4vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.figure span { color: var(--muted); font-size: 14px; }
.cert__title { display: block; font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.cert__text { display: block; font-size: 12.5px; color: var(--muted); }
.policies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.policy, .award { position: relative; overflow: hidden; appearance: none; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .25s, box-shadow .3s; }
.policy { cursor: pointer; }
.tilt:hover { box-shadow: 0 30px 60px -30px rgba(13, 20, 36, .4); }
.policy__thumb { display: block; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2px; aspect-ratio: .707; overflow: hidden; }
.policy__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.award__year { width: 56px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.15; color: #fff; background: var(--brand); padding: 6px; }
.policy .sheet__foil, .award .sheet__foil { opacity: 0; transition: opacity .3s; }
.tilt:hover .sheet__foil { opacity: .45; }
@media (max-width: 900px) { .figures { grid-template-columns: 1fr 1fr; } .policies { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .policies { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .seal__ring, .spark { animation: none; } }

/* certificate viewer */
.viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--ink); }
.viewer::backdrop { background: rgba(13, 20, 36, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer[open] { display: grid; place-items: center; }
.viewer__card { position: relative; width: min(92vw, 860px); max-height: 92vh; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 40px 100px -30px rgba(13, 20, 36, .5); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.viewer__img { min-height: 0; display: grid; place-items: center; background: var(--bg-soft); border-radius: 12px; overflow: auto; }
.viewer__img img { max-height: 72vh; width: auto; object-fit: contain; }
.viewer__info h3 { font-size: 20px; }
.viewer__info p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.viewer__close { position: absolute; top: -14px; right: -14px; }

/* why */
.why__quote { font-size: clamp(30px, 4.2vw, 58px) !important; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; max-width: 22ch; }
.why__quote em { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { border-top: 1px solid var(--line-2); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.pillar__n { font-size: 13px; font-weight: 500; color: var(--green); }
.pillar h3 { font-size: 22px; }
.pillar p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* contact */
.contact { position: relative; overflow: hidden; }
.contact__ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s; }
.contact.ink-live .contact__ink { opacity: 1; }
/* reduced motion or no WebGL 2: a still frame of the same water */
.contact.ink-still { background: #eef2f4 url(../assets/ink-still.webp) center / cover no-repeat; }
.contact.ink-still .contact__ink { display: none; }
/* the copy sits on a card, like the form, so it reads over the ink */
.contact__intro { background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(40px, 5.4vw, 76px); margin: 20px 0; }
.contact h2 em { font-style: normal; display: block; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__intro > p { color: var(--muted); max-width: 40ch; }
.contact__lines { margin: 36px 0 0; display: grid; gap: 16px; }
.contact__lines div { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.contact__lines dt { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact__lines dd { margin: 0; font-size: 16px; color: var(--ink-2); }
.contact__lines a { text-decoration: none; color: var(--ink); font-size: 17px; }
.contact__lines a:hover { color: var(--blue); }
.callback { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.callback h3 { font-size: 26px; margin-bottom: 2px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field textarea { font: 400 15px/1.4 var(--font); color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; resize: vertical; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field.is-invalid input { border-color: #d6453a; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks legend { margin-bottom: 10px; width: 100%; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span { display: inline-block; font-size: 13px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.picks input:checked + span { background: var(--brand); color: #fff; border-color: transparent; }
.picks input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.callback .btn { justify-self: start; font-size: 15px; padding: 14px 24px; }
.callback__note { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: #fff; color: var(--ink); padding: clamp(60px, 8vw, 96px) 0 30px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.footer__logo { width: min(440px, 76vw); height: auto; }
.footer__tag { font-size: clamp(15px, 1.5vw, 19px); color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 38px 0; }
.footer__cols > * { display: grid; gap: 10px; align-content: start; }
.footer__cols h4 { margin-bottom: 4px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer__cols a, .footer__cols span { font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.footer__cols a:hover { color: var(--blue); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__base a { color: var(--muted); text-decoration: none; }
.footer__base a:hover { color: var(--ink); }
@media (max-width: 700px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__logo { width: min(420px, 76vw); }

.intro, .mat { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ── no-WebGL fallback: static logo, painted heaps ───── */
.no-webgl #stage { display: none; }
.no-webgl .intro { height: auto; }
.no-webgl .intro__pin { position: relative; height: auto; display: grid; gap: 90px; padding: 160px 0 110px; }
.no-webgl .statement { position: static; }
.no-webgl .statement__text .w > span, .no-webgl .statement .eyebrow, .no-webgl .statement__sub { opacity: 1; transform: none !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .intro__hint i::after { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pcard, .pcard__inner { transition: none; }
}

/* clients: two rows of logos drifting in opposite directions */
.clients { padding: clamp(80px, 10vw, 130px) 0; background: #fff; overflow: hidden; }
.clients__head { display: grid; gap: 14px; margin-bottom: 44px; }
.clients__head h2 { font-size: clamp(32px, 4.2vw, 56px); }
.clients__head p { color: var(--muted); max-width: 56ch; }
.clients__head a { color: var(--blue); text-decoration: none; font-weight: 500; }
.logos { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: logos 60s linear infinite; }
.logos__row--r { animation-direction: reverse; animation-duration: 70s; }
.logos:hover .logos__row { animation-play-state: paused; }
.logos__row li { flex: none; width: 170px; height: 92px; display: grid; place-items: center; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.logos__row img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos__row li:hover img { filter: none; opacity: 1; }
@keyframes logos { to { transform: translateX(-50%); } }

/* the company film, in a frame, with sound when played */
.film { padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(70% 60% at 50% 70%, #16213f, #0a0f1d 75%); color: #fff; }
.film__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(30px, 4vw, 50px); }
.film__head > div { display: grid; gap: 14px; }
.film .eyebrow { color: rgba(255, 255, 255, .65); }
.film h2 { font-size: clamp(34px, 4.6vw, 64px); }
.film__head p { color: rgba(255, 255, 255, .75); }
.player { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #070a12; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.player__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; border: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 18, .55)); color: #fff; cursor: pointer; }
.player__icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); box-shadow: 0 0 0 10px rgba(168, 198, 6, .18), 0 20px 50px -10px rgba(0, 0, 0, .7); transition: transform .4s var(--ease), box-shadow .4s; }
.player__icon svg { width: 34px; height: 34px; margin-left: 4px; }
.player__play:hover .player__icon { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(168, 198, 6, .16), 0 20px 50px -10px rgba(0, 0, 0, .7); }
.player__label { font-weight: 500; font-size: 17px; letter-spacing: .01em; }
.player__label small { margin-left: 8px; color: rgba(255, 255, 255, .65); font-size: 13px; }
.player.is-playing .player__play { display: none; }
.film__more { margin-top: 30px; }
@media (max-width: 760px) { .film__head { grid-template-columns: 1fr; } .player__icon { width: 70px; height: 70px; } }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-1px); }

.pillars--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; }
@media (max-width: 900px) { .pillars--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pillars--8 { grid-template-columns: 1fr; } }

/* no WebGL: the material acts show a photo instead of the 3D tank */
.no-webgl .mat { height: auto; }
.no-webgl .mat__pin { position: relative; height: auto; min-height: 100svh; }
.no-webgl .mat__tank { background: center / contain no-repeat; }
.no-webgl .mat--thermo .mat__tank { background-image: url(../assets/pages/wix/storage-tanks/19-t.webp); }
.no-webgl .mat--frp .mat__tank { background-image: url(../assets/pages/wix/reaction-vessels/01-t.webp); }
@media (prefers-reduced-motion: reduce) { .logos__row { animation: none; } .logos { overflow-x: auto; } }
