/* ============================================================
   PolarChem Services — Cold-Weather Industrial Chemistry
   Display: Ethnocentric (with Michroma fallback) · UI: Saira
   Body/labels: IBM Plex Sans  (no monospace anywhere)
   ============================================================ */

@font-face {
  font-family: "Ethnocentric";
  src: url("assets/ethnocentric.woff2") format("woff2"),
       url("assets/ethnocentric.otf") format("opentype");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ---------- Tokens ---------- */
:root {
  --ink:#08182E; --navy:#0B1F3A; --navy-2:#12315C; --steel:#294D7A;
  --accent:#1E6FE0; --accent-2:#3E8BEE; --glow:#5CC8FF; --glow-soft:#9BDCFF;
  --graphite:#33414F; --slate:#4E6076; --slate-2:#6E7F92;
  --line:#D8E3F0; --line-2:#E9F0F8;
  --ice:#EAF2FB; --ice-2:#F4F8FD; --snow:#FFFFFF; --bg:#F3F7FC;
  --on-dark:#EAF1FA; --on-dark-mut:#9DB2CE; --dark-line:rgba(146,178,222,.18);

  --f-hero:"Ethnocentric","Michroma","Saira",system-ui,sans-serif;
  --f-display:"Saira","Arial Narrow",system-ui,sans-serif;
  --f-body:"IBM Plex Sans",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --f-mono:"IBM Plex Sans",system-ui,sans-serif; /* mono removed sitewide */

  --container:1200px; --gutter:clamp(20px,5vw,48px); --section-y:clamp(72px,9vw,124px);
  --r-sm:8px; --r-md:14px; --r-lg:22px;
  --shadow-sm:0 1px 2px rgba(11,31,58,.06),0 3px 10px rgba(11,31,58,.05);
  --shadow-md:0 14px 32px -14px rgba(11,31,58,.24),0 2px 8px rgba(11,31,58,.06);
  --shadow-lg:0 34px 70px -28px rgba(8,24,46,.42);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
body { font-family:var(--f-body); color:var(--slate); background:var(--bg); font-size:17px; line-height:1.65; overflow-x:hidden; }
h1,h2,h3,h4 { color:var(--navy); line-height:1.05; font-weight:700; }
p { text-wrap:pretty; }
strong { color:var(--navy); font-weight:600; }
.container { width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }

.eyebrow {
  font-family:var(--f-body); font-size:13px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--accent); font-weight:600; display:inline-flex; align-items:center; gap:12px;
}
.eyebrow::before { content:""; width:26px; height:2px; background:linear-gradient(90deg,var(--accent),transparent); }
.eyebrow.on-dark { color:var(--glow); }

.section-title { font-family:var(--f-hero); text-transform:uppercase; font-weight:400; letter-spacing:0;
  font-size:clamp(23px,3.05vw,37px); line-height:1.2; color:var(--navy); }
.section-title .em { color:var(--accent); }
.section-sub { margin-top:20px; font-size:clamp(16px,1.4vw,18px); color:var(--slate); max-width:60ch; }
.section-sub.on-dark { color:var(--on-dark-mut); }

/* ---------- Buttons ---------- */
.btn { position:relative; overflow:hidden; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; gap:11px;
  padding:16px 30px; font-family:var(--f-hero); font-weight:400; font-size:13px; letter-spacing:.03em; text-transform:uppercase; border-radius:13px;
  border:1px solid transparent; cursor:pointer;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),background .3s,border-color .3s,color .3s; }
.btn svg { width:18px; height:18px; transition:transform .4s var(--ease); }
/* premium light sheen that sweeps across on hover */
.btn::before { content:""; position:absolute; inset:0; z-index:1; border-radius:inherit; pointer-events:none;
  background:linear-gradient(115deg,transparent 34%,rgba(255,255,255,.32) 50%,transparent 66%);
  transform:translateX(-130%); transition:transform .8s var(--ease); }
.btn:hover::before { transform:translateX(130%); }
.btn:hover { transform:translateY(-2px); }
.btn:hover svg { transform:translateX(4px); }
.btn:active { transform:translateY(0); transition-duration:.1s; }
.btn-lg { padding:18px 36px; font-size:14px; }

.btn-primary { color:#fff; border-color:rgba(150,190,240,.4);
  background:linear-gradient(180deg,#2a5ea6 0%,#173f76 52%,#0e2c54 100%);
  box-shadow:0 10px 24px -10px rgba(14,44,84,.7),0 2px 5px -2px rgba(14,44,84,.5),inset 0 1px 0 rgba(255,255,255,.24); }
.btn-primary:hover { border-color:rgba(120,190,255,.6);
  background:linear-gradient(180deg,#3670be 0%,#1d4988 52%,#123765 100%);
  box-shadow:0 20px 38px -12px rgba(30,111,224,.5),0 3px 10px -3px rgba(14,44,84,.55),inset 0 1px 0 rgba(255,255,255,.3); }

.btn-navy { color:var(--navy); background:rgba(255,255,255,.92); border-color:#C7D7EA;
  box-shadow:0 8px 20px -12px rgba(11,31,58,.45),inset 0 1px 0 rgba(255,255,255,.7); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.btn-navy:hover { color:var(--accent); background:#fff; border-color:var(--accent);
  box-shadow:0 14px 28px -12px rgba(30,111,224,.4),inset 0 1px 0 rgba(255,255,255,.8); }

.textlink { display:inline-flex; align-items:center; gap:8px; color:var(--accent); font-weight:600; font-size:15.5px; }
.textlink svg { width:17px; height:17px; transition:transform .3s var(--ease); }
.textlink:hover svg { transform:translateX(4px); }

/* ============================================================ INTRO / splash video */
.intro { position:fixed; inset:0; z-index:9999; display:grid; place-items:center;
  background:linear-gradient(180deg, #0c1f38 0%, #0a1a30 34%, #050d1b 72%, #02060f 100%);
  animation:introFailsafe 0s linear 7s forwards; }
/* feather the video edges so the square blends seamlessly into the page */
.intro__video { width:min(96vw,96vh); height:min(96vw,96vh); object-fit:contain; display:block;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 6%,#000 94%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 6%,#000 94%,transparent);
  mask-composite:intersect; }
.intro__skip { position:absolute; bottom:clamp(20px,4vw,36px); right:clamp(20px,4vw,36px);
  display:inline-flex; align-items:center; gap:7px; padding:9px 16px; border-radius:9px; cursor:pointer;
  font-family:var(--f-body); font-size:13px; font-weight:600; letter-spacing:.03em;
  color:rgba(214,230,248,.82); background:rgba(146,178,222,.1); border:1px solid rgba(146,178,222,.22);
  transition:color .25s,background .25s,border-color .25s; }
.intro__skip svg { width:15px; height:15px; }
.intro__skip:hover { color:#fff; background:rgba(92,200,255,.14); border-color:rgba(92,200,255,.4); }
.intro--hide { opacity:0; visibility:hidden; pointer-events:none; transition:opacity .6s var(--ease),visibility 0s .6s; }
.intro-lock { overflow:hidden; }
@keyframes introFailsafe { to { opacity:0; visibility:hidden; pointer-events:none; } }

/* ============================================================ NAV */
.nav { position:fixed; inset:0 0 auto 0; z-index:100;
  transition:background .4s var(--ease),box-shadow .4s var(--ease),border-color .4s,backdrop-filter .4s;
  border-bottom:1px solid transparent; }
.nav.scrolled { background:rgba(247,251,254,.85); backdrop-filter:saturate(1.2) blur(14px);
  border-bottom-color:var(--line); box-shadow:0 6px 24px -18px rgba(11,31,58,.5); }
.nav__inner { display:flex; align-items:center; justify-content:space-between; gap:24px; height:80px; transition:height .4s var(--ease); }
.nav.scrolled .nav__inner { height:68px; }

.brand { display:flex; align-items:center; gap:13px; }
.brand__mark { width:58px; height:58px; object-fit:contain; filter:drop-shadow(0 2px 4px rgba(11,31,58,.14)); }
.brand__word { height:34px; width:auto; }
.nav.scrolled .brand__mark { width:50px; height:50px; }
.nav.scrolled .brand__word { height:30px; }

.nav__links { display:flex; align-items:center; gap:4px; }
.nav__links a { padding:10px 15px; font-size:15px; font-weight:500; color:var(--graphite); border-radius:var(--r-sm); position:relative; transition:color .2s; }
.nav__links a::after { content:""; position:absolute; left:15px; right:15px; bottom:5px; height:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease); border-radius:2px; }
.nav__links a:hover { color:var(--navy); }
.nav__links a:hover::after { transform:scaleX(1); }

.nav__cta { display:flex; align-items:center; gap:14px; }
.nav__menu { display:none; }
.nav__toggle { display:none; width:46px; height:46px; border-radius:var(--r-sm); }
.nav__toggle span { display:block; width:22px; height:2px; background:var(--navy); margin:5px auto; transition:.3s var(--ease); }
.nav.open .nav__toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2){ opacity:0; }
.nav.open .nav__toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* Scroll thermometer — mercury fill = page progress; leading edge reads warm
   red at the top of the page and cools to blue toward the bottom. Faint gauge
   ticks + a warm/cold end label subtly evoke a mercury thermometer. */
.thermo { position:absolute; left:0; right:0; bottom:-1px; height:4px; pointer-events:none;
  opacity:0; transition:opacity .45s var(--ease); }
.nav.scrolled .thermo { opacity:1; }
.thermo__fill { position:absolute; left:0; bottom:0; height:100%; width:0; border-radius:0 4px 4px 0;
  background-image:linear-gradient(90deg,#ff3b30 0%,#ff6a35 15%,#b65fc4 48%,#2f7be6 80%,#5CC8FF 100%);
  background-size:100vw 100%; background-position:left center; background-repeat:no-repeat;
  box-shadow:0 0 7px rgba(120,160,220,.45); transition:width .12s linear; z-index:1; }
.thermo::before { content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background-image:repeating-linear-gradient(90deg,transparent 0,transparent 45px,rgba(11,31,58,.16) 45px,rgba(11,31,58,.16) 46px); }
.thermo__deg { position:absolute; bottom:6px; z-index:3; font-family:var(--f-body);
  font-weight:700; font-size:9.5px; letter-spacing:.04em; color:rgba(11,31,58,.55); white-space:nowrap; }
.thermo__deg--hot { left:12px; }
.thermo__deg--cold { right:12px; }

/* ============================================================ HERO */
.hero { position:relative; min-height:100svh; display:flex; align-items:center; padding-top:120px; padding-bottom:40px; overflow:hidden; isolation:isolate; }
.hero__media { position:absolute; inset:0; z-index:-3; }
.hero__img { width:100%; height:100%; object-fit:cover; object-position:68% 40%; }
.hero__scrim { position:absolute; inset:0; z-index:-2;
  background:
    linear-gradient(100deg, rgba(238,245,252,.97) 0%, rgba(238,245,252,.94) 26%, rgba(238,245,252,.74) 44%, rgba(238,245,252,.2) 60%, rgba(238,245,252,0) 72%),
    linear-gradient(0deg, rgba(9,24,46,.16) 0%, rgba(9,24,46,0) 30%); }
.hero__canvas { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.hero__content { max-width:760px; }
.hero__eyebrow { margin-bottom:26px; }
.hero__title { font-family:var(--f-hero); text-transform:uppercase; font-weight:400; letter-spacing:0;
  font-size:clamp(27px,4.15vw,55px); line-height:1.12; color:var(--navy); }
.hero__title .em { display:block; background:linear-gradient(94deg,var(--accent),var(--steel) 90%);
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero__sub { margin-top:24px; font-size:clamp(16px,1.5vw,18.5px); color:#2b3d54; max-width:31rem; line-height:1.6; }
.hero__actions { margin-top:36px; display:flex; flex-wrap:wrap; gap:16px; }
.hero__scroll { position:absolute; left:var(--gutter); bottom:24px; z-index:2; display:inline-flex; align-items:center; gap:12px;
  font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--steel); font-weight:600; }
.hero__scroll .mouse { width:22px; height:34px; border:2px solid var(--steel); border-radius:12px; position:relative; }
.hero__scroll .mouse::after { content:""; position:absolute; left:50%; top:6px; width:3px; height:6px; border-radius:2px; background:var(--accent); transform:translateX(-50%); animation:scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 60%{opacity:1;transform:translate(-50%,10px)} 100%{opacity:0;transform:translate(-50%,12px)} }

/* ============================================================ CAPABILITY BAR (scrolling ticker) */
.capbar { background:var(--snow); border-bottom:1px solid var(--line-2); position:relative; z-index:3; overflow:hidden; }
.capbar__viewport { overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%); }
.capbar__track { display:flex; width:max-content; animation:capScroll 38s linear infinite; }
.capbar__group { display:flex; flex:none; }
.capbar:hover .capbar__track { animation-play-state:paused; }
.cap { flex:none; display:flex; align-items:center; gap:14px; padding:24px clamp(30px,3.2vw,48px); border-left:1px solid var(--line-2); transition:background .3s var(--ease); }
.cap:hover { background:var(--ice-2); }
.cap__ico { flex:none; width:42px; height:42px; display:grid; place-items:center; border-radius:11px; background:var(--ice); border:1px solid var(--line); color:var(--accent); }
.cap__ico svg { width:22px; height:22px; }
.cap__txt { font-family:var(--f-display); text-transform:uppercase; font-weight:600; font-size:13.5px; letter-spacing:.04em; color:var(--navy); line-height:1.15; white-space:nowrap; }
@keyframes capScroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .capbar__track { animation:none; } }

/* ============================================================ SECTION shells */
.section { padding-block:var(--section-y); position:relative; }
.section--tint { background:linear-gradient(180deg,var(--snow),var(--ice-2)); }
.section--ice { background:var(--ice); }

/* split (text + media) */
.split { display:grid; grid-template-columns:1.02fr .98fr; gap:clamp(36px,5vw,74px); align-items:center; }
.split__text .section-title { margin-top:14px; }
.split__text .eyebrow + .section-title { margin-top:18px; }
.split__img { width:100%; height:auto; border-radius:var(--r-lg); box-shadow:var(--shadow-lg); object-fit:cover; aspect-ratio:4/3.4; }
.split__img--full { aspect-ratio:1400/835; height:auto; object-fit:cover; }

/* image placeholder */
.ph { position:relative; width:100%; border-radius:var(--r-lg); background:linear-gradient(135deg,#e9f0f8,#d6e3f2);
  border:1px solid var(--line); display:grid; place-items:center; overflow:hidden; box-shadow:var(--shadow-md); }
.ph::before { content:""; position:absolute; inset:12px; border:1.5px dashed rgba(11,31,58,.16); border-radius:calc(var(--r-lg) - 6px); }
.ph--dark { background:linear-gradient(140deg,#13345f,#0b1f3a); border-color:var(--dark-line); box-shadow:var(--shadow-lg); }
.ph--dark::before { border-color:rgba(150,180,220,.22); }
.ph__badge { position:relative; display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:600; letter-spacing:.03em; color:var(--slate-2); }
.ph--dark .ph__badge { color:var(--on-dark-mut); }
.ph__badge svg { width:20px; height:20px; opacity:.7; }

/* feature row (Engineered Chemistry) */
.feat-row { margin-top:38px; display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.feat__ico { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--ice); border:1px solid var(--line); color:var(--accent); margin-bottom:16px; }
.feat__ico svg { width:24px; height:24px; }
.feat h3 { font-family:var(--f-display); text-transform:uppercase; font-size:15.5px; letter-spacing:.03em; margin-bottom:9px; }
.feat p { font-size:14.5px; color:var(--slate); }

/* ============================================================ SOLUTIONS (dark bento) */
.solutions { background:radial-gradient(120% 130% at 85% 0%, #123765 0%, #0B1F3A 48%, #08182E 100%); color:var(--on-dark); padding-block:var(--section-y); }
.bento { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.bento__intro { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:6px 20px 6px 0; }
.bento__intro .section-title { color:#fff; margin:16px 0; }
.bento__intro .section-title .em { color:var(--glow); }
.bento__intro .btn { margin-top:22px; }
.scard { position:relative; min-height:250px; border-radius:var(--r-md); overflow:hidden; padding:22px;
  background:linear-gradient(160deg,#153c68,#0b1f3a); border:1px solid var(--dark-line);
  display:flex; flex-direction:column; justify-content:flex-end;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .4s; }
.scard__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
  z-index:0; transition:transform .6s var(--ease); }
.scard::before { content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,rgba(8,20,38,.12) 0%,rgba(8,20,38,.42) 42%,rgba(6,15,29,.9) 100%); }
.scard:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(92,200,255,.4); }
.scard:hover .scard__bg { transform:scale(1.06); }
.scard__ico { position:relative; z-index:2; width:44px; height:44px; border-radius:11px; display:grid; place-items:center; background:rgba(10,26,48,.55); backdrop-filter:blur(4px); border:1px solid rgba(92,200,255,.4); color:var(--glow); margin-bottom:14px; }
.scard__ico svg { width:23px; height:23px; }
.scard h3 { position:relative; z-index:2; color:#fff; font-family:var(--f-display); text-transform:uppercase; font-size:16px; letter-spacing:.03em; line-height:1.15; text-shadow:0 2px 10px rgba(4,12,24,.7); }
.scard p { position:relative; z-index:2; margin-top:8px; font-size:14px; line-height:1.5; color:rgba(226,238,250,.92); text-shadow:0 1px 8px rgba(4,12,24,.65); }

/* ============================================================ INDUSTRIES icons */
.ind-icons { margin-top:36px; display:flex; flex-wrap:wrap; gap:14px 26px; }
.indi { display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; width:96px; }
.indi__ico { width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:var(--ice); border:1px solid var(--line); color:var(--accent); transition:transform .3s var(--ease),background .3s,color .3s; }
.indi__ico svg { width:26px; height:26px; }
.indi:hover .indi__ico { transform:translateY(-4px); background:var(--navy); color:var(--glow); }
.indi span { font-size:12.5px; font-weight:600; color:var(--graphite); line-height:1.25; letter-spacing:.01em; }

/* Industries — full-bleed background photo on desktop; mobile keeps the framed image (unchanged) */
.industries { position:relative; overflow:hidden; isolation:isolate; }
.industries__bg, .industries__scrim { display:none; }
@media (min-width:1081px) {
  .industries__bg { display:block; position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:center 40%; }
  .industries__scrim { display:block; position:absolute; inset:0; z-index:1;
    background:linear-gradient(90deg, rgba(243,247,252,.98) 0%, rgba(243,247,252,.94) 34%, rgba(243,247,252,.64) 54%, rgba(243,247,252,.2) 80%, rgba(243,247,252,.04) 100%); }
  .industries .container { position:relative; z-index:2; }
  .industries .split__media { display:none; }
}

/* ============================================================ BUILT ON SCIENCE pillars */
.pillar-list { margin-top:34px; display:grid; grid-template-columns:1fr 1fr; gap:24px 30px; }
.pillar { display:flex; gap:15px; }
.pillar__ico { flex:none; width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--navy); color:var(--glow); }
.pillar__ico svg { width:23px; height:23px; }
.pillar h3 { font-family:var(--f-display); text-transform:uppercase; font-size:15.5px; letter-spacing:.03em; margin-bottom:6px; }
.pillar p { font-size:14.5px; color:var(--slate); }
.pillar-list + .btn { margin-top:34px; }

/* ============================================================ WE MATCH THE CHEMISTRY (dark) */
.platform { position:relative; overflow:hidden; color:var(--on-dark);
  background:radial-gradient(120% 130% at 15% 10%, #123765 0%, #0B1F3A 46%, #08182E 100%); }
.platform__mesh { position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5; }
.platform .container { position:relative; z-index:1; }
.platform__grid { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,74px); align-items:center; }
.platform h2 { color:#fff; }
.platform .section-title .em { color:var(--glow); }
.platform__lead { margin-top:20px; color:var(--on-dark-mut); font-size:17.5px; line-height:1.62; max-width:52ch; }
.platform__lead strong { color:#fff; }
.tune { margin-top:30px; display:grid; gap:18px; }
.tune__item { display:flex; gap:14px; align-items:flex-start; }
.tune__ico { flex:none; width:42px; height:42px; border-radius:11px; display:grid; place-items:center; background:rgba(92,200,255,.1); border:1px solid rgba(92,200,255,.24); color:var(--glow); }
.tune__ico svg { width:22px; height:22px; }
.tune__item b { display:block; color:#fff; font-family:var(--f-display); text-transform:uppercase; font-size:14.5px; letter-spacing:.03em; margin-bottom:3px; }
.tune__item span { font-size:14px; color:var(--on-dark-mut); }
.palette-card { border:1px solid var(--dark-line); border-radius:var(--r-lg);
  background:linear-gradient(180deg,rgba(92,200,255,.06),rgba(255,255,255,.02)); padding:clamp(24px,3vw,34px); backdrop-filter:blur(4px); }
.palette { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mol { display:flex; align-items:center; gap:12px; padding:13px 14px; background:rgba(255,255,255,.04); border:1px solid var(--dark-line); border-radius:var(--r-md); transition:border-color .3s,background .3s,transform .3s var(--ease); }
.mol:hover { border-color:rgba(92,200,255,.4); background:rgba(92,200,255,.06); transform:translateY(-3px); }
.mol__hex { flex:none; width:36px; height:36px; }
.mol__t b { display:block; color:#fff; font-weight:600; font-size:14px; }
.mol__t span { font-size:12px; color:var(--glow-soft); }
.palette-card__note { margin-top:18px; font-size:13.5px; color:var(--on-dark-mut); }

/* ============================================================ RESOURCES */
.res-list { margin-top:30px; border-top:1px solid var(--line); }
.res { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 4px; border-bottom:1px solid var(--line);
  font-family:var(--f-display); text-transform:uppercase; letter-spacing:.02em; font-weight:600; font-size:16px; color:var(--navy); transition:color .25s,padding .3s var(--ease); }
.res svg { width:20px; height:20px; color:var(--accent); flex:none; transition:transform .3s var(--ease); }
.res:hover { color:var(--accent); padding-left:12px; }
.res:hover svg { transform:translateX(5px); }
.res-list + .btn { margin-top:30px; }

/* ============================================================ CTA BAND */
.cta { position:relative; overflow:hidden; padding-block:clamp(88px,11vw,150px); color:var(--on-dark); background:#08182E; }
.cta__bg { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.cta__scrim { position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(6,15,28,.94) 0%, rgba(6,15,28,.82) 42%, rgba(6,15,28,.42) 78%, rgba(6,15,28,.3) 100%); }
.cta .container { position:relative; z-index:2; }
.cta__inner { max-width:640px; }
.cta h2 { color:#fff; }
.cta .section-title .em { color:var(--glow); }
.cta__lead { margin-top:20px; font-size:18px; color:var(--on-dark); max-width:46ch; }
.cta__inner .btn { margin-top:32px; }
.cta__contact { margin-top:28px; display:flex; flex-direction:column; gap:13px; list-style:none; }
.cta__contact a { display:inline-flex; align-items:center; gap:12px; color:var(--on-dark); font-size:15.5px; line-height:1.4; transition:color .2s; }
.cta__contact a:hover { color:var(--glow); }
.cta__contact svg { width:18px; height:18px; flex:none; color:var(--glow); }

/* Contact form (lives in the CTA band) */
.cta__grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,64px); align-items:center; }
.cta__grid .cta__inner { max-width:520px; }
.cform { position:relative; display:flex; flex-direction:column; gap:16px;
  background:rgba(9,22,42,.62); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  border:1px solid rgba(146,178,222,.24); border-radius:var(--r-lg); padding:clamp(22px,2.6vw,32px);
  box-shadow:0 34px 80px -34px rgba(0,0,0,.75); }
.cform__row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cfield { display:flex; flex-direction:column; gap:7px; }
.cfield > span { font-family:var(--f-display); text-transform:uppercase; font-size:11px; letter-spacing:.09em; font-weight:600; color:var(--on-dark-mut); }
.cform input, .cform textarea { width:100%; font-family:var(--f-body); font-size:15px; color:#fff;
  background:rgba(255,255,255,.05); border:1px solid rgba(146,178,222,.26); border-radius:10px; padding:12px 14px;
  transition:border-color .25s,background .25s,box-shadow .25s; }
.cform input::placeholder, .cform textarea::placeholder { color:rgba(157,178,206,.55); }
.cform input:focus, .cform textarea:focus { outline:none; border-color:var(--glow);
  background:rgba(255,255,255,.09); box-shadow:0 0 0 3px rgba(92,200,255,.16); }
.cform textarea { resize:vertical; min-height:104px; line-height:1.5; }
.cform__submit { margin-top:4px; align-self:flex-start; }
.cform__hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.cform__done { text-align:center; padding:34px 12px; animation:formDoneIn .5s var(--ease) both; }
.cform__check { width:54px; height:54px; margin:0 auto 18px; display:grid; place-items:center; border-radius:50%; background:rgba(92,200,255,.14); border:1px solid rgba(92,200,255,.4); color:var(--glow); }
.cform__check svg { width:26px; height:26px; }
.cform__done h3 { font-family:var(--f-hero); text-transform:uppercase; font-weight:400; color:#fff; font-size:clamp(20px,2.4vw,26px); margin-bottom:12px; }
.cform__done p { color:var(--on-dark-mut); font-size:15.5px; max-width:34ch; margin:0 auto; }
@keyframes formDoneIn { from { opacity:0; transform:translateY(10px); } }

/* ============================================================ WHY POLARCHEM */
.why__head { max-width:760px; }
.why__head .section-title { margin-top:16px; }
.why-grid { margin-top:clamp(38px,5vw,58px); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.why { background:var(--snow); border:1px solid var(--line); border-radius:var(--r-md); padding:28px 26px;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .4s; }
.why:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:#C6D8EC; }
.why__ico { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--navy); color:var(--glow); margin-bottom:20px; }
.why__ico svg { width:23px; height:23px; }
.why h3 { font-family:var(--f-display); text-transform:uppercase; font-size:16px; letter-spacing:.03em; margin-bottom:10px; }
.why p { font-size:14.5px; color:var(--slate); }

/* ============================================================ FOOTER */
.footer { background:#06111F; color:var(--on-dark-mut); padding-top:clamp(56px,6vw,84px); }
.footer__top { display:grid; grid-template-columns:1.7fr 1fr 1fr 1.25fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(146,178,222,.12); }
.footer__word { height:34px; width:auto; filter:brightness(0) invert(1); opacity:.95; }
.footer__tag { margin-top:20px; color:var(--on-dark); font-weight:600; }
.footer__blurb { margin-top:8px; font-size:14px; max-width:34ch; line-height:1.6; }
.footer__social { margin-top:20px; display:flex; gap:12px; }
.footer__social a { width:38px; height:38px; border-radius:9px; display:grid; place-items:center; background:rgba(146,178,222,.08); border:1px solid var(--dark-line); color:var(--on-dark-mut); transition:.25s; }
.footer__social a svg { width:18px; height:18px; }
.footer__social a:hover { color:var(--glow); border-color:rgba(92,200,255,.4); background:rgba(92,200,255,.08); }
.footer__col h4 { font-family:var(--f-display); text-transform:uppercase; font-size:13px; letter-spacing:.06em; color:#fff; margin-bottom:16px; font-weight:600; }
.footer__col a { display:block; padding:6px 0; font-size:14px; color:var(--on-dark-mut); transition:color .2s; }
.footer__col a:hover { color:var(--glow); }
.footer__bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:24px 0; font-size:13px; flex-wrap:wrap; }
.footer__legal { display:flex; gap:24px; }
.footer__legal a:hover { color:var(--glow); }
.footer__credit a:hover { color:var(--glow); }
/* ITEK credit, same as the Belfry footer */
.itek-credit { display:inline-flex; align-items:center; gap:.6ch; min-height:44px; }
.itek-credit img { height:22px; width:auto; opacity:.8; transition:opacity .2s; }
.itek-credit:hover img, .itek-credit:focus-visible img { opacity:1; }

/* ============================================================ Reveal */
.reveal { opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease),transform .8s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s; }
.reveal[data-d="2"]{ transition-delay:.16s; }
.reveal[data-d="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1 !important; transform:none !important; transition:none; }
  .hero__scroll .mouse::after { animation:none; }
  .btn,.scard,.mol,.indi,.feat,.pillar { transition:none; }
}

/* ============================================================ RESPONSIVE */
@media (max-width:1080px) {
  .split { grid-template-columns:1fr; }
  .split__media { order:-1; max-width:640px; }
  .platform__grid { grid-template-columns:1fr; }
  .bento { grid-template-columns:1fr 1fr; }
  .bento__intro { grid-column:1 / -1; padding-right:0; }
  .pillar-list { grid-template-columns:1fr; }
  .feat-row { grid-template-columns:1fr; gap:22px; }
  .why-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cta__grid { grid-template-columns:1fr; }
  .cta__grid .cta__inner { max-width:none; }
}
@media (max-width:860px) {
  .nav__links, .nav__cta .btn { display:none; }
  .nav__toggle { display:block; }
  .nav__menu { position:fixed; inset:80px 0 auto 0; background:rgba(247,251,254,.98); backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line); padding:18px var(--gutter) 30px; display:none; flex-direction:column; gap:4px; box-shadow:var(--shadow-lg); }
  .nav.open .nav__menu { display:flex; }
  .nav__menu a { padding:14px 6px; font-size:17px; font-weight:500; color:var(--navy); border-bottom:1px solid var(--line-2); }
  .nav__menu .btn { display:inline-flex; justify-content:center; margin-top:14px; color:#fff; border:none; }
  .footer__top { grid-template-columns:1fr 1fr; gap:32px; }
  .footer__brand { grid-column:1 / -1; }
}
@media (max-width:640px) {
  .bento { grid-template-columns:1fr; }
  .footer__top { grid-template-columns:1fr; }
  .footer__bottom { justify-content:flex-start; }
  .hero__scroll { display:none; }
  /* Mobile hero: prominent image banner on top, text below (Premier-style) */
  .hero { display:block; min-height:0; padding:0; }
  .hero__media { position:relative; height:48vh; min-height:308px; }
  .hero__img { object-position:88% 42%; }
  .hero__scrim { display:none; }
  .hero__content { max-width:none; padding-block:34px 46px; }
  .hero__eyebrow { margin-bottom:18px; }
  .hero__sub { text-shadow:none; }
  .why-grid { grid-template-columns:1fr; }
  /* Industries: clean 2×2 grid of larger icons */
  .ind-icons { display:grid; grid-template-columns:1fr 1fr; gap:28px 12px; justify-items:center; max-width:340px; }
  .indi { width:auto; }
  .indi__ico { width:64px; height:64px; }
  .indi__ico svg { width:29px; height:29px; }
  .indi span { font-size:13.5px; }
  /* Scrolled nav: shrink the mark so the "72°F" thermometer label clears the logo */
  .nav.scrolled .brand__mark { width:40px; height:40px; }
  .nav.scrolled .brand__word { height:25px; }
  .thermo__deg { font-size:8px; line-height:1; bottom:5px; letter-spacing:.02em; }
  /* Stacked hero CTAs: full-width & even */
  .hero__actions { flex-direction:column; align-items:stretch; }
  .hero__actions .btn { width:100%; }
  /* Contact form stacks on phones */
  .cform__row { grid-template-columns:1fr; }
  .cform__submit { width:100%; }
}
