/*
Theme Name: ShieldTech iQx
Theme URI: https://shieldtech.gr/
Author: ShieldTech
Description: Video-led site for the iQx antimicrobial surface coating: spaces, projects, wholesale form, blog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: shieldtech-iqx
*/
/* Layout: video-led. Full-bleed application footage up top, a grid of "spaces" that each play their own clip and open their own page, then a light editorial blog. Single committed light look with navy bands. */
:root {
  color-scheme: light;
  --ink: #0d1f3a;
  --ink-2: #16305a;
  --cyan: #19a7d8;
  --cyan-soft: #e3f4fb;
  --violet: #5b3c8a;
  --red: #e2323b;
  --iqx-orange: #f39200;   /* the "i" and "x" of the product logo */
  --iqx-grey: #5d6670;     /* the metallic "Q" */
  --paper: #f6f9fb;
  --card: #ffffff;
  --line: #d9e4ec;
  --muted: #56677f;
  --fg: #0d1f3a;
  --on-dark: #eaf4fa;
  --on-dark-muted: #a9bfd3;
  --display: "Commissioner", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Noto Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --r: 14px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
/* Brand mark iQx: orange i, metallic grey Q, orange superscript x — the same in every text */
.iqx { white-space: nowrap; font-weight: 800; }
.iqx i { font-style: normal; color: var(--iqx-orange); }
.iqx b { font-weight: 800; color: var(--iqx-grey); }
.iqx sup { font-size: .6em; line-height: 0; vertical-align: super; margin-left: .03em; color: var(--iqx-orange); font-weight: 800; }
.dark .iqx b, .hero .iqx b, .page-hero .iqx b, .contact .iqx b, .vcard .iqx b, .space .iqx b, .proj .iqx b { color: #d9e2ea; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.dark .eyebrow { color: #7fd3f0; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .lead { color: var(--on-dark-muted); }
section { padding-block: clamp(60px, 8vw, 104px); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sec-head.row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .sec-head.row { grid-template-columns: 1fr; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s; cursor: pointer; background: none; color: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-primary { background: var(--cyan); color: #04223a; }
.btn-primary:hover { background: #3dbbe6; }
.btn-ghost { border-color: rgba(234,244,250,.5); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.link { font-family: var(--display); font-weight: 700; color: var(--cyan); text-decoration: none; }
.link:hover { text-decoration: underline; }


/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.logo img { height: 42px; width: auto; }
nav.main { display: flex; gap: 24px; align-items: center; font-family: var(--display); font-weight: 600; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--ink); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--cyan); }
.menu-btn { display: none; background: none; border: 0; font: 600 15px var(--display); color: var(--ink); padding: 10px; cursor: pointer; }
@media (max-width: 960px) {
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px 0; border-top: 1px solid var(--line); }
  nav.main .btn { margin: 14px 0; }
  .menu-btn { display: block; }
}


/* Video hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); padding: 0; }
.hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,58,.92) 0%, rgba(13,31,58,.7) 45%, rgba(13,31,58,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(70px, 11vw, 140px); display: grid; gap: 24px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 80px); font-weight: 800; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { color: #d3e3f0; }
.hero .eyebrow { color: #7fd3f0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--mono); color: #d3e3f0; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.stat:first-child { border-left: 0; }
.stat b { font: 800 clamp(30px, 4vw, 44px)/1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat { border-top: 1px solid var(--line); } }

/* Spaces grid */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.space { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; background: var(--ink); text-decoration: none; color: #fff; display: block; }
.space img, .space video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.space:hover img, .space:hover video { transform: scale(1.06); }
.space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13,31,58,.9)); }
.space .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 4px; }
.space .cap h3 { font-size: 19px; }
.space .cap p { font-size: 14px; color: #cfe0ee; line-height: 1.4; }
.space .badge { position: absolute; top: 12px; left: 12px; z-index: 1; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: #fff; padding: 4px 8px; border-radius: 6px; }
@media (max-width: 1000px) { .spaces { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .spaces { grid-template-columns: repeat(2, 1fr); } }

/* Projects */
.projects { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.proj { position: relative; border-radius: var(--r); overflow: hidden; background: #000; min-height: 280px; color: #fff; }
.proj.feature { grid-row: span 2; }
.proj video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,58,.1) 35%, rgba(13,31,58,.92)); }
.proj div { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.proj .when { font: 500 12px var(--mono); color: #7fd3f0; letter-spacing: .06em; text-transform: uppercase; }
.proj h3 { font-size: 20px; }
.proj.feature h3 { font-size: clamp(22px, 2.6vw, 30px); }
.proj p { font-size: 14px; color: #cfe0ee; line-height: 1.45; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; } .proj.feature { grid-column: span 2; grid-row: auto; min-height: 420px; } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } .proj.feature { grid-column: auto; } }

/* How */
/* "Microscope" lab: one animated cross-section, driven by three steps */
/* "How it works": the scroll-driven scene is drawn by assets/motion.js */
.germlab { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: center; }
.gl-stage { position: relative; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #1d4778 0%, #0b1a31 70%); aspect-ratio: 5 / 3; min-width: 0; }
.gl-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl-stage::after { content: ""; position: absolute; inset: 0; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(127,211,240,.25), inset 0 0 80px rgba(0,0,0,.45); pointer-events: none; }
.gl-stage .tag-l { position: absolute; top: 14px; left: 16px; font: 500 12px var(--mono); color: #7fd3f0; letter-spacing: .06em; text-transform: uppercase; }
.gl-stage .tag-r { position: absolute; top: 12px; right: 14px; font: 500 12px var(--mono); color: #fff; background: rgba(226,50,59,.85); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.gl-done { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(255,255,255,.96); color: var(--ink); font: 700 15px var(--display); padding: 9px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.gl-done b { color: #12a36b; }
.gl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.gl-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; display: grid; gap: 6px; position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s, opacity .3s; }
.gl-steps .n { font: 600 12px var(--mono); color: var(--cyan); letter-spacing: .06em; text-transform: uppercase; }
.gl-steps h3 { font-size: 19px; }
.gl-steps p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.gl-steps .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--cyan); transform-origin: left; transform: scaleX(0); }
.germlab.gl-live .gl-steps li:not(.on) { opacity: .5; }
.gl-steps li.on { border-color: var(--cyan); box-shadow: 0 12px 30px rgba(25,167,216,.15); }
@media (max-width: 900px) {
  .germlab { grid-template-columns: 1fr; gap: 14px; }
  .germlab.gl-live .gl-steps li { grid-area: 1 / 1; }
  .germlab.gl-live .gl-steps li:not(.on) { opacity: 0; visibility: hidden; }
  .gl-steps li { padding: 14px 16px 16px; }
  .gl-done { font-size: 12px; padding: 7px 12px; bottom: 10px; }
  .gl-stage .tag-l { font-size: 10px; top: 10px; left: 12px; }
  .gl-stage .tag-r { font-size: 10px; top: 8px; right: 10px; }
}
.perks { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.perks span { background: var(--cyan-soft); color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }

/* Film */
.film { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; }
.film video { width: 100%; border-radius: 18px; aspect-ratio: 16 / 9; background: #000; }
.film > div { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 900px) { .film { grid-template-columns: 1fr; } }

/* Certifications */
.marquee { overflow: hidden; border-block: 1px solid rgba(127,211,240,.25); }
.marquee-track { display: flex; gap: 44px; width: max-content; padding-block: 16px; animation: slide 38s linear infinite; font: 500 15px var(--mono); color: #7fd3f0; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(127,211,240,.2); border-radius: var(--r); overflow: hidden; }
.cert { background: var(--ink-2); padding: 20px 22px; display: grid; gap: 4px; min-width: 0; }
.cert code { font: 500 14px var(--mono); color: #7fd3f0; }
.cert p { color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 760px) { .cert-list { grid-template-columns: 1fr; } }

/* Products */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.prod .ph { background: #fff; aspect-ratio: 1; display: grid; place-items: center; padding: 10px; max-width: 100%; }
.prod .ph img { max-height: 100%; object-fit: contain; }
.prod .body { padding: 18px 20px 22px; display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.price b { font: 800 24px var(--display); }
.price s { color: var(--muted); }
.tag { justify-self: start; font: 600 12px var(--mono); padding: 4px 9px; border-radius: 6px; background: var(--cyan-soft); color: var(--ink-2); }
.tag.sale { background: var(--red); color: #fff; }
.prod .note { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .prod-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* Pharmacy availability band */
.pharma { background: var(--cyan-soft); padding-block: clamp(40px, 6vw, 64px); }
.pharma-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 32px; align-items: center; }
.pharma-in > div { display: grid; gap: 10px; min-width: 0; }
.pharma-in h2 { font-size: clamp(24px, 3.2vw, 34px); }
.pharma-photo { width: 170px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; grid-row: 1 / span 2; box-shadow: 0 14px 30px rgba(13,31,58,.18); max-width: 100%; }
@media (max-width: 860px) { .pharma-photo { grid-row: auto; width: 100%; max-width: 320px; aspect-ratio: 4 / 3; } }
.pharma-facts { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 2; }
.pharma-facts span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.pharma-facts b { font-family: var(--display); margin-right: 4px; }
.pharma-in .btn { grid-column: 3; grid-row: 1 / span 2; }
@media (max-width: 860px) { .pharma-in { grid-template-columns: 1fr; } .pharma-facts, .pharma-in .btn { grid-column: auto; grid-row: auto; justify-self: start; } }

.pos-title { margin: 36px 0 14px; }
.pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pos-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; transition: transform .4s; }
.pos-grid img:hover { transform: scale(1.03); }
@media (max-width: 900px) { .pos-grid { grid-template-columns: repeat(2, 1fr); } }

/* Pack sizes */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.pack .ph { background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 10px; max-width: 100%; }
.pack .ph img { max-height: 100%; object-fit: contain; }
.pack .body { padding: 18px 20px 22px; display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); }
.pack .note { color: var(--muted); font-size: 15px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span { font: 700 15px var(--display); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pack-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* Wholesale form */
.wh { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.wh-intro { display: grid; gap: 16px; position: sticky; top: 100px; }
.wh-list { margin: 0; padding-left: 20px; color: var(--on-dark-muted); display: grid; gap: 6px; }
fieldset.qty { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
fieldset.qty legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.qty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qty-grid label { font-size: 13px; }
.qty-grid input { padding: 9px 10px; text-align: right; font-variant-numeric: tabular-nums; }
#whMsg { font-weight: 600; color: #0b7a4b; }
@media (max-width: 900px) { .wh { grid-template-columns: 1fr; } .wh-intro { position: static; } }
@media (max-width: 520px) { .qty-grid { grid-template-columns: repeat(2, 1fr); } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .25s, transform .25s; }
.post:hover { box-shadow: 0 18px 40px rgba(13,31,58,.12); transform: translateY(-4px); }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post div { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.post .meta { font: 500 12px var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.post p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; max-width: 560px; } }

/* Article & space pages */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero > img, .page-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 110px); display: grid; gap: 16px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; max-width: 18ch; }
.page-hero .lead { color: #d3e3f0; }
.crumb { font: 500 13px var(--mono); color: #7fd3f0; text-decoration: none; }
.page-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.page-body > * { min-width: 0; }
.prose { display: grid; gap: 18px; font-size: 18px; max-width: 66ch; }
.prose h2 { font-size: 26px; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose .big { font: 800 40px/1 var(--display); color: var(--violet); }
.aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.aside video { width: 100%; border-radius: var(--r); background: #000; max-height: 70vh; object-fit: cover; }
.aside .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--cyan-soft); color: var(--ink-2); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .page-body { grid-template-columns: 1fr; } .aside { position: static; } }

/* Video library */
.vlib { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-width: 100%; color: #fff; text-align: left; font: inherit; }
.vcard.wide { grid-column: span 2; aspect-ratio: auto; }
.vcard img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s; }
.vcard:hover img { opacity: 1; transform: scale(1.04); }
.vcard .play { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.vcard .play::after { content: ""; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.vcard span.t { position: absolute; left: 14px; bottom: 12px; right: 14px; font: 700 16px var(--display); text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.vcard span.d { position: absolute; top: 12px; right: 12px; font: 500 12px var(--mono); background: rgba(13,31,58,.8); padding: 3px 8px; border-radius: 6px; }
@media (max-width: 900px) { .vlib { grid-template-columns: repeat(2, 1fr); } }
dialog.player { border: 0; padding: 0; background: #000; border-radius: 16px; width: min(960px, 94vw); max-height: 90vh; }
dialog.player::backdrop { background: rgba(5,12,24,.85); }
dialog.player video { width: 100%; max-height: 82vh; background: #000; }
dialog.player button { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.9); border: 0; border-radius: 999px; padding: 8px 14px; font: 700 14px var(--display); color: var(--ink); cursor: pointer; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--ink) 0%, #2a2a68 100%); color: var(--on-dark); }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact .lead { color: var(--on-dark-muted); }
.info { display: grid; gap: 18px; align-content: start; }
.info dl { display: grid; gap: 14px; margin: 10px 0 0; }
.info dt { font: 500 12px var(--mono); color: #7fd3f0; text-transform: uppercase; letter-spacing: .08em; }
.info dd { margin: 2px 0 0; font-size: 18px; font-weight: 500; user-select: all; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { border: 1px solid rgba(234,244,250,.35); border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 600; font-size: 14px; }
form { background: #fff; color: var(--fg); border-radius: 20px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 14px; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, textarea, select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--fg); width: 100%; }
textarea { min-height: 110px; resize: vertical; }
#formMsg { font-weight: 600; color: #0b7a4b; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

footer { background: #091629; color: var(--on-dark-muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; }

.reveal.in { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: translateY(22px); opacity: .001; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- WordPress-only additions ---- */
nav.main a.btn, nav.main a.btn:hover { color: #fff; }
@media (min-width: 961px) and (max-width: 1240px) { nav.main { gap: 14px; font-size: 14px; } nav.main .btn { padding: 11px 16px; } }
.proj > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* What iQx is */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about-media img { border-radius: 20px; width: 100%; box-shadow: 0 24px 50px rgba(13,31,58,.15); }
.about-text { display: grid; gap: 18px; min-width: 0; }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.facts li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--cyan); }
.facts b { font-family: var(--display); font-size: 17px; }
.facts span { color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-media { max-width: 420px; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.note-small { font-size: 14px; color: var(--muted); }
/* 5,000 touches band */
.touch { background: var(--cyan-soft); padding-block: clamp(40px, 6vw, 64px); }
.touch-in { display: grid; grid-template-columns: auto auto 1fr; gap: 32px; align-items: center; }
.touch-badge { width: 120px; height: auto; border-radius: 8px; box-shadow: 0 12px 26px rgba(13,31,58,.18); }
.touch-count { display: grid; text-align: center; }
.touch-count b { font: 800 clamp(48px, 7vw, 80px)/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.touch-count span { font: 600 14px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.touch-text { display: grid; gap: 10px; min-width: 0; }
.touch-text h2 { font-size: clamp(24px, 3vw, 32px); }
.touch-text p { color: var(--muted); max-width: 60ch; }
@media (max-width: 800px) { .touch-in { grid-template-columns: auto 1fr; } .touch-text { grid-column: 1 / -1; } }
/* Testimonial */
.quote-sec { background: #fff; }
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.quote > img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.quote figure { margin: 0; display: grid; gap: 16px; }
.quote blockquote { margin: 0; font: 600 clamp(19px, 2.2vw, 24px)/1.45 var(--display); color: var(--ink); text-align: justify; hyphens: auto; }
.quote figcaption { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--violet); }
.quote figcaption span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }
.sizes small { font: 500 12px var(--mono); color: var(--muted); margin-left: 4px; }
/* Company */
.company { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.company > div:first-child { display: grid; gap: 16px; min-width: 0; }
.company-nums { display: grid; gap: 14px; }
.company-nums div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; display: grid; gap: 2px; }
.company-nums b { font: 800 30px/1.1 var(--display); color: var(--violet); }
.company-nums span { color: var(--muted); }
@media (max-width: 900px) { .company { grid-template-columns: 1fr; } }
/* Certifications page */
.lic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lic div { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 4px; text-align: center; }
.lic b { font: 800 26px var(--display); color: var(--ink); }
.lic span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .lic { grid-template-columns: 1fr 1fr; } }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shop-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.shop-card .ph { background: #fff; aspect-ratio: 3 / 4; display: grid; place-items: center; padding: 8px; max-width: 100%; }
.shop-card .ph img { max-height: 100%; object-fit: contain; }
.shop-card .body { padding: 12px 14px 16px; display: grid; gap: 6px; align-content: start; border-top: 1px solid var(--line); }
.shop-card h3 { font-size: 16px; }
.shop-card .cover { font-size: 14px; }
.shop-card .cover b { color: var(--cyan); }
.shop-card .note { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.cert-card:hover { box-shadow: 0 14px 30px rgba(13,31,58,.1); transform: translateY(-3px); }
/* Round certification icons sit in a slowly turning cyan/orange ring */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring-turn { to { --ring: 360deg; } }
.cert-card img, .std-detail > img { padding: 4px; background: conic-gradient(from var(--ring), var(--cyan), var(--cyan-soft) 30%, var(--iqx-orange) 55%, var(--cyan-soft) 80%, var(--cyan)); animation: ring-turn 7s linear infinite; transition: transform .35s ease; }
.cert-card:hover img { transform: rotate(10deg) scale(1.07); }
.cert-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.cert-card div { display: grid; gap: 6px; min-width: 0; }
.cert-card code { font: 600 15px var(--mono); color: var(--violet); }
.cert-card p { font-size: 14px; line-height: 1.4; }
.cert-card small { font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .cert-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cert-cards { grid-template-columns: 1fr; } }
.std-details { display: grid; gap: 22px; }
.std-detail { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; scroll-margin-top: 100px; }
.std-detail > img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; padding: 6px; }
.std-detail .prose p, .cert-card p, .certs-intro { text-align: justify; hyphens: auto; }
.std-detail .prose .std-result, .std-detail .prose .std-tested { text-align: left; }
.std-detail .prose { max-width: none; gap: 12px; font-size: 16px; }
.std-detail h2 { font-size: 22px; margin: 0; }
.std-code { font: 600 16px var(--mono); color: var(--cyan); }
.std-tested { color: var(--muted); font-size: 15px; }
.std-result { justify-self: start; background: #e6f6ee; color: #0b6b44; font-weight: 700; border-radius: 10px; padding: 8px 14px; }
@media (max-width: 700px) { .std-detail { grid-template-columns: 1fr; } .std-detail > img { width: 110px; height: 110px; } }
.std-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.std { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.std code { font: 500 15px var(--mono); color: var(--cyan); }
.std p { color: var(--fg); }
.std small { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .std-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .std-list { grid-template-columns: 1fr; } }
.study-list { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(127,211,240,.2); border-radius: var(--r); overflow: hidden; }
.study-list li { background: var(--ink-2); padding: 18px 22px; display: grid; gap: 4px; }
.study-list b { font-family: var(--display); }
.study-list span { color: var(--on-dark-muted); font-size: 14px; }
@media (max-width: 760px) { .study-list { grid-template-columns: 1fr; } }
/* Pathogen groups (light and dark sections) */
.patho { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.patho-col { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--card); min-width: 0; }
.patho-col h3 { font-size: 18px; margin-bottom: 10px; color: var(--violet); }
.patho-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.patho-col li { font-size: 15px; line-height: 1.35; padding-left: 14px; position: relative; }
.patho-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.patho-col li.tested { font-weight: 600; }
.chk { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #0b8f5a; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.patho-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.dark .patho-col { background: var(--ink-2); border-color: rgba(127,211,240,.2); }
.dark .patho-col h3 { color: #7fd3f0; }
.dark .patho-note { color: var(--on-dark-muted); }
@media (max-width: 980px) { .patho { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .patho { grid-template-columns: 1fr; } }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-nav a { color: var(--on-dark); text-decoration: none; }
.foot-nav a:hover { color: var(--cyan); }
.stat .upto { font: 600 12px var(--mono); font-style: normal; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.white { background: #fff; }
.stack { display: grid; gap: 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-ok { font-weight: 600; color: #0b7a4b; }
.form-err { font-weight: 600; color: var(--red); }
.aside-img { width: 100%; border-radius: var(--r); }
.page-hero.plain { padding-block: 0; }
.page-hero .eyebrow { color: #7fd3f0; }
.contact .eyebrow { color: #7fd3f0; }
.contact dd a { color: inherit; text-decoration: none; }
.pager { display: flex; justify-content: space-between; margin-top: 32px; }
.prose img { border-radius: var(--r); height: auto; }
.prose a:not(.btn) { color: var(--cyan); }
footer.foot { background: #091629; color: var(--on-dark-muted); font-size: 14px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; }
form button[type=submit] { justify-self: start; }
body.admin-bar header.top { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { body.admin-bar header.top { top: 0; } }

/* Campaign strip: drifts sideways with the scroll (motion.js); plain horizontal scroll without it */
.camp { background: var(--paper); overflow: hidden; }
.camp-strip { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.camp.drift .camp-strip { overflow: visible; }
.camp-track { display: flex; gap: 16px; width: max-content; padding-inline: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.camp-track img { width: clamp(260px, 34vw, 440px); height: auto; aspect-ratio: 900 / 754; object-fit: cover; border-radius: 16px; scroll-snap-align: start; box-shadow: 0 14px 34px rgba(13,31,58,.14); }

/* Counter stand under the pack sizes */
.stand-row { margin-top: 28px; display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.stand-row img { width: 100%; border-radius: 12px; }
.stand-row > div { display: grid; gap: 10px; justify-items: start; }
.stand-row p { color: var(--muted); max-width: 60ch; }
@media (max-width: 700px) { .stand-row { grid-template-columns: 1fr; } .stand-row img { max-width: 260px; } }