/* ============================================================
   IDEAL GAS — components.css v2 · "Clinical Minimal"
   ============================================================ */

/* ============ HERO (shell) ============ */
.hero{ position:relative; padding-top:70px; overflow:hidden; }

[data-hero]{ display:none; }
[data-hero].active{ display:block; }

/* ---- Variation A : bold typographic ---- */
.heroA .inner{ display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center;
  min-height:min(78vh,720px); padding-block:72px; position:relative; z-index:2; }
.heroA h1{ margin:18px 0 0; }
.heroA .sub{ margin-top:20px; }
.heroA .cta-row{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.heroA .hero-stats{ display:flex; gap:34px; margin-top:44px; flex-wrap:wrap; }
.heroA .hs{ display:flex; flex-direction:column; gap:1px; }
.heroA .hs b{ font-size:28px; font-weight:700; letter-spacing:-.02em; color:var(--ink); }
.heroA .hs span{ font-size:13px; color:var(--faint); }
.heroA .hero-art{ position:relative; aspect-ratio:1/1.02; }

/* clinical canister visual — hairline rings + solid teal core */
.hero-canister{ position:absolute; inset:0; border-radius:var(--r-xl);
  background:linear-gradient(170deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); overflow:hidden; display:grid; place-items:center;
  box-shadow:var(--shadow-lg); }
.hero-canister .ring{ position:absolute; border-radius:50%; border:1px solid var(--border); }
.hero-canister .ring.r1{ width:72%; height:72%; }
.hero-canister .ring.r2{ width:50%; height:50%; border-color:var(--border-strong); }
.hero-canister .ring.r3{ width:28%; height:28%; border-color:rgba(62,142,126,.4); }
.hero-canister .core{ width:10%; height:10%; border-radius:50%; background:var(--teal);
  box-shadow:0 0 0 12px rgba(62,142,126,.07), 0 0 0 24px rgba(62,142,126,.035); }
.hero-canister .flake-mark{ position:absolute; width:36%; color:var(--teal); opacity:.16; }
.hero-canister .flake-mark svg{ width:100%; height:100%; }
.hero-canister .read{ position:absolute; bottom:0; inset-inline:0; display:flex;
  justify-content:space-between; padding:14px 18px; font-size:10.5px; color:var(--faint);
  letter-spacing:.1em; border-top:1px solid var(--border); background:var(--glass); }
.hero-canister .tag-float{ position:absolute; font-size:10.5px;
  padding:4px 10px; border-radius:var(--r-sm); background:var(--glass-2);
  border:1px solid var(--border); color:var(--muted); letter-spacing:.06em; }
.tag-float.t1{ top:12%; inset-inline-start:7%; }
.tag-float.t2{ top:44%; inset-inline-end:5%; color:var(--teal); }
.tag-float.t3{ bottom:18%; inset-inline-start:11%; color:var(--teal); }
/* ---- Variation B : precise / technical ---- */
.heroB .inner{ position:relative; z-index:2; padding-block:84px 64px; min-height:min(74vh,680px); }
.heroB .bp-grid{ position:absolute; inset:0; z-index:0;
  background-image:linear-gradient(var(--border) 1px,transparent 1px),
                   linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size:56px 56px; opacity:.55;
  -webkit-mask-image:radial-gradient(120% 80% at 60% 40%,#000,transparent 78%);
          mask-image:radial-gradient(120% 80% at 60% 40%,#000,transparent 78%); }
.heroB .grid2{ position:relative; display:grid; grid-template-columns:1.1fr .9fr;
  gap:46px; align-items:center; }
.heroB h1{ margin:18px 0 0; font-weight:700; }
.heroB .measure{ display:flex; align-items:center; gap:14px; margin-top:28px;
  font-size:12.5px; color:var(--faint); letter-spacing:.06em; }
.heroB .measure .bar{ flex:1; height:1px; background:var(--border-strong); position:relative; }
.heroB .measure .bar::before,.heroB .measure .bar::after{ content:''; position:absolute;
  width:1px; height:9px; background:var(--border-strong); top:-4px; }
.heroB .measure .bar::before{ inset-inline-start:0; }
.heroB .measure .bar::after{ inset-inline-end:0; }
.heroB .cta-row{ display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }
.heroB .readouts{ display:grid; gap:12px; }
.heroB .ro{ display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:17px 20px; border:1px solid var(--border); border-radius:var(--r);
  background:var(--surface); position:relative; overflow:hidden; }
.heroB .ro::before{ content:''; position:absolute; inset-inline-start:0; inset-block:0;
  width:2px; background:var(--teal); }
.heroB .ro .lab{ font-size:14px; color:var(--muted); }
.heroB .ro .val{ font-size:20px; font-weight:700; color:var(--ink); }
.heroB .ro .val small{ font-size:12.5px; color:var(--teal); }

/* ---- Variation C : centered ---- */
.heroC .inner{ position:relative; z-index:2; min-height:min(80vh,760px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding-block:92px; }
.heroC .core-stage{ position:relative; width:min(300px,54vw); aspect-ratio:1; margin-bottom:6px; }
.heroC .core-stage .halo{ position:absolute; inset:0; border-radius:50%;
  background:radial-gradient(circle, rgba(62,142,126,.16), transparent 62%); }
.heroC .core-stage .sphere{ position:absolute; inset:20%; border-radius:50%;
  background:radial-gradient(circle at 35% 28%, #ffffff, var(--sage) 34%, var(--teal) 72%);
  box-shadow:0 18px 40px -20px rgba(22,66,60,.45); }
.heroC .core-stage .orbit{ position:absolute; inset:0; border-radius:50%;
  border:1px solid var(--border-strong); }
.heroC .core-stage .orbit::before{ content:''; position:absolute; top:-4px;
  inset-inline-start:50%; width:8px; height:8px; border-radius:50%; background:var(--teal); }
.heroC .core-stage .orbit.o2{ inset:-9%; opacity:.5; }
.heroC h1{ margin:12px 0 0; max-width:18ch; }
.heroC .sub{ margin:18px auto 0; }
.heroC .cta-row{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; justify-content:center; }
.heroC .ticker{ display:flex; gap:24px; margin-top:40px; font-size:12.5px; color:var(--faint);
  flex-wrap:wrap; justify-content:center; letter-spacing:.04em; }
.heroC .ticker span{ display:inline-flex; gap:8px; align-items:center; }
.heroC .ticker b{ color:var(--teal); font-weight:600; }

@media(max-width:880px){
  .heroA .inner,.heroB .grid2{ grid-template-columns:1fr; gap:32px; }
  .heroA .hero-art{ max-width:400px; margin-inline:auto; width:100%; }
}
/* ============ PRODUCT GRID ============ */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media(max-width:920px){ .product-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:620px){ .product-grid{ grid-template-columns:1fr; } }

.product-card{ display:flex; flex-direction:column; border:1px solid var(--border);
  border-radius:var(--r-lg); background:var(--surface); overflow:hidden;
  position:relative; box-shadow:none;
  transition:transform .3s var(--ease), border-color .25s, box-shadow .3s; }
.product-card:hover{ transform:translateY(-3px); border-color:var(--border-strong);
  box-shadow:var(--shadow); }
.pc-media{ position:relative; aspect-ratio:16/10; overflow:hidden;
  border-bottom:1px solid var(--border); }
.pc-badge{ position:absolute; top:14px; inset-inline-end:14px; z-index:3;
  font-size:11px; padding:4px 10px; border-radius:100px; background:var(--glass-2);
  border:1px solid var(--border); color:var(--teal); }
.pc-body{ padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.pc-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.pc-top .h3{ font-size:18px; }
.pc-tag{ color:var(--teal); font-size:13.5px; margin:-6px 0 0; font-weight:500; }
.pc-blurb{ color:var(--muted); font-size:14.5px; margin:0; line-height:1.75; }
.pc-specs{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:2px;
  padding:13px 14px; border:1px solid var(--border); border-radius:var(--r);
  background:var(--surface-2); }
.pc-spec{ display:flex; flex-direction:column; gap:2px; }
.pc-spec span{ font-size:11px; }
.pc-spec b{ font-size:14px; font-weight:700; color:var(--ink); }
.pc-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-top:auto; padding-top:6px; }
.pc-price{ font-size:17px; font-weight:700; color:var(--ink); }
.pc-price .t{ font-size:12px; color:var(--faint); font-weight:500; }

/* product visual mark (pv) — flat clinical panel, accent-colored molecule */
.pv{ position:absolute; inset:0; display:grid; place-items:center; overflow:hidden;
  background:linear-gradient(170deg, var(--surface-2), var(--surface-3)); }
.pv-glow{ position:absolute; width:50%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle, color-mix(in oklab, var(--a) 22%, transparent), transparent 65%); }
.pv-rings{ position:absolute; width:58%; aspect-ratio:1; border-radius:50%;
  border:1px solid color-mix(in oklab, var(--a) 34%, transparent); }
.pv-flake{ position:relative; width:30%; color:var(--a); opacity:.85; }
.pv-flake svg{ width:100%; height:100%; }
.pv-code{ position:absolute; bottom:10px; inset-inline-start:14px; font-size:11px;
  color:var(--faint); }

/* ============ SERVICES ============ */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media(max-width:920px){ .service-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .service-grid{ grid-template-columns:1fr; } }
.service-card{ display:flex; align-items:flex-start; gap:15px; padding:22px;
  border:1px solid var(--border); border-radius:var(--r-lg); position:relative;
  background:var(--surface);
  transition:transform .3s var(--ease), border-color .25s, box-shadow .3s; }
.service-card:hover{ transform:translateY(-3px); border-color:var(--border-strong);
  box-shadow:var(--shadow); }
.sc-icon{ flex:none; width:46px; height:46px; border-radius:var(--r); display:grid;
  place-items:center; background:var(--grad-soft); border:1px solid var(--border);
  color:var(--teal); }
.sc-icon svg{ width:22px; height:22px; }
.sc-body{ flex:1; }
.sc-top{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom:7px; flex-wrap:wrap; }
.sc-body h4{ margin:0; font-size:16px; font-weight:700; color:var(--ink); }
.sc-body p{ margin:0; font-size:14px; color:var(--muted); line-height:1.7; }
.sc-link{ position:absolute; top:18px; inset-inline-start:18px; width:32px; height:32px;
  border-radius:var(--r-sm); display:grid; place-items:center; color:var(--faint);
  border:1px solid var(--border); background:var(--surface); transition:all .25s; opacity:0; }
.service-card:hover .sc-link{ opacity:1; color:var(--teal); border-color:var(--border-strong); }
.sc-link svg{ width:15px; height:15px; }
/* ============ PROCESS (how it works) ============ */
.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; position:relative; }
@media(max-width:820px){ .process{ grid-template-columns:1fr 1fr; gap:28px 20px; } }
@media(max-width:480px){ .process{ grid-template-columns:1fr; } }
.step{ position:relative; }
.step .num{ font-size:13px; width:42px; height:42px; border-radius:var(--r);
  display:grid; place-items:center; border:1px solid var(--border-strong);
  color:var(--teal); background:var(--surface); margin-bottom:16px; font-weight:700; }
.step h4{ margin:0 0 7px; font-size:17px; font-weight:700; color:var(--ink); }
.step p{ margin:0; color:var(--muted); font-size:14.5px; line-height:1.75; }
.step:not(:last-child)::after{ content:''; position:absolute; top:21px;
  inset-inline-start:56px; inset-inline-end:-12px; height:1px; background:var(--border); }
@media(max-width:820px){ .step::after{ display:none; } }

/* ============ STATS / TRUST ============ */
.trust-wrap{ display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
@media(max-width:860px){ .trust-wrap{ grid-template-columns:1fr; gap:40px; } }
.stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.stat{ background:var(--surface); padding:28px 26px; }
.stat b{ display:block; font-size:clamp(32px,4vw,46px); font-weight:700;
  letter-spacing:-.02em; color:var(--teal); line-height:1.1; }
.stat span{ display:block; margin-top:8px; color:var(--muted); font-size:14px; }
.clients{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.client-logo{ height:52px; flex:1 1 120px; min-width:110px; border:1px solid var(--border);
  border-radius:var(--r); display:grid; place-items:center; background:var(--surface);
  font-size:12px; color:var(--faint); letter-spacing:.06em; transition:all .25s;
  padding:8px 12px; }
.client-logo:hover{ color:var(--teal); border-color:var(--border-strong); }
.assure{ display:flex; flex-direction:column; gap:14px; margin-top:26px; }
.assure-item{ display:flex; gap:13px; align-items:flex-start; }
.assure-item .ic{ flex:none; width:40px; height:40px; border-radius:var(--r);
  display:grid; place-items:center; background:var(--grad-soft);
  border:1px solid var(--border); color:var(--teal); }
.assure-item .ic svg{ width:19px; height:19px; }
.assure-item h5{ margin:0 0 2px; font-size:15px; font-weight:700; color:var(--ink); }
.assure-item p{ margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
/* ============ CONTACT / ORDER ============ */
.contact-wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:0;
  border:1px solid var(--border); border-radius:var(--r-xl); overflow:hidden;
  background:var(--surface); }
@media(max-width:860px){ .contact-wrap{ grid-template-columns:1fr; } }
.contact-info{ padding:42px; position:relative; overflow:hidden;
  background:var(--surface-2); border-inline-end:1px solid var(--border); }
@media(max-width:860px){ .contact-info{ border-inline-end:0;
  border-bottom:1px solid var(--border); } }
.contact-info .h3{ margin-bottom:12px; }
.contact-info p{ color:var(--muted); margin:0; max-width:var(--measure); }
.ci-list{ display:flex; flex-direction:column; gap:14px; margin-top:28px; }
.ci-item{ display:flex; gap:12px; align-items:center; }
.ci-item .ic{ width:40px; height:40px; border-radius:var(--r); display:grid;
  place-items:center; border:1px solid var(--border-strong); background:var(--surface);
  color:var(--teal); }
.ci-item .ic svg{ width:18px; height:18px; }
.ci-item b{ display:block; font-size:14.5px; color:var(--ink); }
.ci-item span{ font-size:12.5px; color:var(--faint); }
.contact-form{ padding:42px; }
.field{ margin-bottom:15px; }
.field.row{ display:grid; grid-template-columns:1fr 1fr; gap:15px; }
@media(max-width:480px){ .field.row{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:13px; color:var(--muted); margin-bottom:7px; }
.field input,.field select,.field textarea{ width:100%; padding:12px 15px;
  border-radius:var(--r); border:1px solid var(--border-strong); background:var(--surface);
  color:var(--text); font-family:inherit; font-size:15px;
  transition:border-color .2s, box-shadow .2s, background .2s; }
.field textarea{ resize:vertical; min-height:96px; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none;
  border-color:var(--teal); box-shadow:0 0 0 3px rgba(62,142,126,.12); }
.field input.err,.field select.err,.field textarea.err{ border-color:#d64545;
  box-shadow:0 0 0 3px rgba(214,69,69,.1); }
.field select{ appearance:none; color:var(--text);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A665F' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:left 15px center; }
#orderForm.sent .form-body{ display:none; }
.form-sent-msg{ display:none; }
#orderForm.sent .form-sent-msg{ display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:12px; padding:30px 0; }
.form-sent-msg .ok{ width:58px; height:58px; border-radius:50%; display:grid;
  place-items:center; background:var(--teal); color:#fff;
  box-shadow:0 12px 28px -12px rgba(62,142,126,.6); }
.form-sent-msg .ok svg{ width:28px; height:28px; }

/* ============ THEME TOGGLE (day / night) ============ */
.theme-toggle{ position:relative; width:42px; height:40px; border-radius:var(--r);
  border:1px solid var(--border-strong); background:var(--surface); color:var(--teal);
  display:inline-flex; align-items:center; justify-content:center; overflow:hidden;
  transition:border-color .25s, transform .2s; }
.theme-toggle:hover{ border-color:var(--teal); transform:translateY(-1px); }
.theme-toggle svg{ width:18px; height:18px; position:absolute;
  transition:transform .4s var(--ease), opacity .3s var(--ease); }
.theme-toggle .i-sun{ transform:translateY(0) rotate(0); opacity:1; }
.theme-toggle .i-moon{ transform:translateY(140%) rotate(-40deg); opacity:0; }
html[data-theme="dark"] .theme-toggle .i-sun{ transform:translateY(-140%) rotate(40deg); opacity:0; }
html[data-theme="dark"] .theme-toggle .i-moon{ transform:translateY(0) rotate(0); opacity:1; }
@media(max-width:520px){ .theme-toggle{ width:40px; } }
/* ============================================================
   Blog — listing & post styles
   ============================================================ */
.blog-grid{ display:grid; grid-template-columns:repeat(var(--blog-cols,3),1fr);
  gap:22px; margin-top:38px; }
@media(max-width:900px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .blog-grid{ grid-template-columns:1fr; } }

.blog-card{ display:flex; flex-direction:column; gap:14px; padding:26px 24px;
  border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface);
  transition:border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.blog-card:hover{ border-color:var(--border-strong); transform:translateY(-3px);
  box-shadow:var(--shadow); }
.bc-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bc-cat{ font-size:12px; }
.bc-date{ font-size:12px; }
.bc-body{ flex:1; display:flex; flex-direction:column; gap:10px; }
.bc-title{ font-size:17px; font-weight:700; line-height:1.55; margin:0; color:var(--ink); }
.bc-title a{ color:var(--text); text-decoration:none; transition:color .2s; }
.bc-title a:hover{ color:var(--teal); }
.bc-excerpt{ font-size:14.5px; line-height:1.75; margin:0; color:var(--muted);
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.bc-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding-top:12px; border-top:1px solid var(--border); font-size:13px; }
.bc-author{ font-size:13px; }

/* Form error hint */
.field-error{ display:block; margin-top:5px; font-size:12.5px; color:#d64545; }
input.err, select.err, textarea.err{ border-color:#d64545 !important; }

/* ============================================================
   Page-builder widgets
   ============================================================ */
.w-image-banner{ position:relative; border-radius:var(--r-xl); overflow:hidden;
  border:1px solid var(--border); background:var(--surface-2) center/cover no-repeat;
  display:flex; }
.w-image-banner-overlay{ position:absolute; inset:0; pointer-events:none; }
.w-image-banner-inner{ position:relative; z-index:1; margin:auto; padding:40px;
  max-width:720px; display:flex; flex-direction:column; }
.w-image-banner-inner .lede{ color:var(--bg); opacity:.92; }
.w-image-banner-inner .h2{ color:var(--bg); }

.w-feature-grid{ display:grid; gap:16px; margin-top:32px; }
@media(max-width:880px){ .w-feature-grid{ grid-template-columns:1fr 1fr !important; } }
@media(max-width:560px){ .w-feature-grid{ grid-template-columns:1fr !important; } }
.w-feature-card{ border:1px solid var(--border); border-radius:var(--r-lg);
  padding:22px; background:var(--surface);
  transition:border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.w-feature-card:hover{ border-color:var(--border-strong); transform:translateY(-2px);
  box-shadow:var(--shadow); }
.w-feature-card a{ text-decoration:none; }
.w-feature-media{ width:48px; height:48px; border-radius:var(--r);
  background:var(--grad-soft); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
  overflow:hidden; }
.w-feature-media .ic{ width:24px; height:24px; color:var(--teal); }
.w-feature-media img{ width:100%; height:100%; object-fit:cover; }
.w-feature-card h5{ font-size:16px; font-weight:700; margin:0 0 6px; color:var(--ink); }
.w-feature-card p{ color:var(--muted); font-size:14.5px; margin:0; line-height:1.75; }

.w-faq{ display:flex; flex-direction:column; gap:10px; }
.w-faq-item{ border:1px solid var(--border); border-radius:var(--r);
  background:var(--surface); overflow:hidden; }
.w-faq-item summary{ list-style:none; cursor:pointer; padding:16px 18px; font-weight:600;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  color:var(--text); }
.w-faq-item summary::-webkit-details-marker{ display:none; }
.w-faq-chevron{ color:var(--teal); font-weight:700; transition:transform .2s; }
.w-faq-item[open] .w-faq-chevron{ transform:rotate(45deg); }
.w-faq-answer{ padding:0 18px 16px; color:var(--muted); }

.w-logo-strip{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center;
  align-items:stretch; }
.w-logo-item{ min-width:130px; padding:14px 20px; border:1px solid var(--border);
  border-radius:var(--r); background:var(--surface); display:flex; align-items:center;
  justify-content:center; }
.w-logo-item span{ font-size:13px; letter-spacing:.08em; color:var(--muted); }
.w-logo-item img{ max-height:44px; max-width:120px; object-fit:contain; }

/* ============================================================
   CTA band — dark clinical call-to-action panel
   ============================================================ */
.cta-band{ background:var(--ink); color:#fff; border-radius:var(--r-xl);
  padding:64px 32px; text-align:center; position:relative; overflow:hidden; }
.cta-band::before{ content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 80% at 50% 0%, rgba(127,200,181,.12), transparent 70%); }
.cta-band > *{ position:relative; }
.cta-band .h2{ color:#fff; }
.cta-band .lede{ color:rgba(255,255,255,.72); margin:14px auto 28px; max-width:52ch; }
.cta-band .btn-primary{ background:#fff; color:var(--ink); box-shadow:none; }
.cta-band .btn-primary:hover{ background:var(--surface-2); transform:translateY(-2px); }
.cta-band .eyebrow{ color:var(--sage); }
.cta-band .eyebrow .dot{ background:var(--sage);
  box-shadow:0 0 0 4px rgba(127,200,181,.16); }