/* ==========================================================================
   Fonts — self-hosted.
   Served from our own domain rather than hotlinked from Google: no
   third-party request on page load (which in the EU is a data-protection
   question, not just a performance one), and the page still renders
   correctly offline or opened straight off the disk.
   ========================================================================== */
@font-face{
  font-family:"Instrument Sans"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Instrument Sans"; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Instrument Sans"; font-style:normal; font-weight:600; font-display:swap;
  src:url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Instrument Sans"; font-style:normal; font-weight:700; font-display:swap;
  src:url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2");
}
@font-face{
  font-family:"IBM Plex Mono"; font-style:normal; font-weight:400; font-display:swap;
  src:url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face{
  font-family:"IBM Plex Mono"; font-style:normal; font-weight:500; font-display:swap;
  src:url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* ==========================================================================
   CLION AIR — clionair.com
   Static one-page site. No build step. Upload as-is via FTP.
   ========================================================================== */

:root{
  --night:#04070A;
  --ink:#0A1017;
  --ink-2:#101923;
  --text:#E9EFF3;
  --text-dim:#93A4B0;
  --text-faint:#5F717E;
  --warm:#FFB763;
  --ion:#4FD4E4;
  --ion-deep:#0E7C88;
  --line:rgba(255,255,255,.10);
  --line-soft:rgba(255,255,255,.055);

  --paper:#F1F4F5;
  --paper-2:#E6EBED;
  --paper-line:#D3DBDE;
  --dark-ink:#0A1017;
  --dark-ink-2:#3C4B56;
  --dark-dim:#6B7B86;

  --shell:min(1240px, 100% - 2 * clamp(20px, 5vw, 64px));
  --ease:cubic-bezier(.2,.7,.3,1);
}

*,*::before,*::after{box-sizing:border-box}

html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--night);
  color:var(--text);
  font-family:"Instrument Sans","Helvetica Neue",Arial,sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{text-wrap:balance;margin:0}

::selection{background:var(--ion);color:var(--night)}

:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid var(--ion);
  outline-offset:3px;
  border-radius:2px;
}

/* ---------- fixed WebGL stage ---------------------------------------- */
#stage{
  position:fixed; inset:0; z-index:0;
  pointer-events:none;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(20,34,48,.55) 0%, rgba(4,7,10,0) 60%),
    var(--night);
}
#gl{width:100%;height:100%;display:block}
#stage-fallback{
  position:absolute; inset:0; display:none;
  background:radial-gradient(60% 45% at 50% 42%, rgba(255,183,99,.16) 0%, rgba(4,7,10,0) 70%);
}
.no-webgl #gl{display:none}
.no-webgl #stage-fallback{display:block}

/* ---------- top bar --------------------------------------------------- */
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  width:var(--shell); margin-inline:auto;
  padding:22px 0;
  transition:padding .3s var(--ease);
}
.topbar::before{
  content:""; position:absolute; inset:-22px calc(50% - 50vw) -46px;
  background:linear-gradient(var(--night) 46%, rgba(4,7,10,.72) 74%, rgba(4,7,10,0));
  opacity:0; transition:opacity .35s var(--ease); pointer-events:none;
}
.topbar.is-stuck::before{opacity:1}
.topbar > *{position:relative}

/* over the light B2B half the bar has to invert or it reads as a smudge */
.topbar.is-light::before{
  background:linear-gradient(var(--paper) 46%, rgba(241,244,245,.78) 74%, rgba(241,244,245,0));
}
.topbar.is-light .brand-mark{color:var(--dark-ink)}
.topbar.is-light .brand-sub{color:var(--ion-deep)}
.topbar.is-light .topnav a{color:var(--dark-ink-2)}
.topbar.is-light .topnav a:hover{color:var(--dark-ink)}
.topbar.is-light .nav-cta{
  color:var(--dark-ink) !important; border-color:var(--paper-line);
}
.topbar.is-light .nav-cta:hover{border-color:var(--ion-deep); background:rgba(14,124,136,.07)}
.brand{
  display:flex; align-items:baseline; gap:8px;
  text-decoration:none; letter-spacing:.02em;
}
.brand-mark{
  font-weight:600; font-size:19px; letter-spacing:.34em;
  padding-left:.34em;
}
.brand-mark .o{ position:relative; }
/* The ion inside the O.
   `left:50%` is half of the SPAN's width, and the span carries the trailing
   letter-space, so a plain 50% lands noticeably right of the glyph's own
   centre. Pulling back half a letter-space puts it where the eye expects.  */
.brand-mark .o::after{
  content:""; position:absolute; left:calc(50% - .17em); top:52%;
  width:.16em; height:.16em; margin:-.08em 0 0 -.08em;
  border-radius:50%; background:var(--ion);
  box-shadow:0 0 7px var(--ion);
  animation:ion-drift 11s ease-in-out infinite,
            ion-breath 3.6s ease-in-out infinite;
}

/* A slow, irregular wander rather than a circular orbit: an orbit reads as a
   loading spinner, and the product's story is a charged particle suspended
   in air. The waypoints are deliberately uneven in both position and timing
   so the loop never announces itself. Amplitude stays inside the counter of
   the O at every step. */
@keyframes ion-drift{
  0%   { transform:translate(0,0) }
  17%  { transform:translate(.085em,-.055em) }
  34%  { transform:translate(-.03em,-.095em) }
  52%  { transform:translate(-.09em,.02em) }
  71%  { transform:translate(.02em,.09em) }
  86%  { transform:translate(.06em,.03em) }
  100% { transform:translate(0,0) }
}
/* At 19px the drift is barely a pixel, so the glow is what carries the life
   at the size the logo is actually used. */
@keyframes ion-breath{
  0%,100% { box-shadow:0 0 6px var(--ion) }
  50%     { box-shadow:0 0 14px var(--ion) }
}
.brand-sub{
  font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:10px; letter-spacing:.3em; color:var(--ion);
  padding-left:.3em;
}
.topnav{display:flex; align-items:center; gap:30px}
.topnav a{
  font-size:14px; text-decoration:none; color:var(--text-dim);
  transition:color .2s var(--ease);
}
.topnav a:hover{color:var(--text)}
.nav-cta{
  color:var(--text) !important;
  border:1px solid var(--line);
  padding:9px 18px; border-radius:100px;
  transition:border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-cta:hover{border-color:var(--ion); background:rgba(79,212,228,.08)}
@media (max-width:860px){ .topnav a:not(.nav-cta){display:none} }

/* ---------- acts (dark, over the canvas) ------------------------------ */
main{position:relative; z-index:10}
.act{
  position:relative;
  min-height:100svh;
  display:flex; align-items:center;
  padding-block:14vh;
}
.act-inner{
  width:var(--shell); margin-inline:auto;
  max-width:none;
}
.act-inner > *{max-width:44ch}
.act-inner--left > *{max-width:min(44ch, 48%); margin-right:auto}
.act-inner--right{display:flex; flex-direction:column; align-items:flex-end; text-align:right}
.act-inner--right > *{max-width:min(44ch, 48%); margin-left:auto}
.act--hero .act-inner > *{max-width:min(46ch, 52%)}

.eyebrow{
  font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:11px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--ion); margin:0 0 24px;
  display:flex; align-items:center; gap:12px;
}
.act-inner--right .eyebrow{justify-content:flex-end}
.eyebrow b{
  font-weight:400; color:var(--text-faint);
  padding-right:12px; border-right:1px solid var(--line);
}

h1{
  font-size:clamp(2.7rem, 7.2vw, 5.4rem);
  line-height:.98; letter-spacing:-.035em; font-weight:600;
  margin-bottom:28px;
}
.act h2{
  font-size:clamp(1.9rem, 4.4vw, 3.1rem);
  line-height:1.06; letter-spacing:-.03em; font-weight:600;
  margin-bottom:22px;
}
.hero-sub{
  font-size:clamp(1.02rem,1.5vw,1.18rem);
  color:var(--text-dim); margin:0 0 40px; max-width:46ch;
}
.act-body{color:var(--text-dim); margin:0 0 32px}
.act-body--center{margin-inline:auto; text-align:center; max-width:56ch}
.act-note{
  font-size:14.5px; color:var(--text-faint); margin:24px 0 0;
  max-width:52ch;
}
.act-note--center{margin-inline:auto; text-align:center}
/* a note that explains the row of tags right above it, so it sits closer */
.act-note--tight{margin-top:14px}

/* hero ---------------------------------------------------------------- */
.act--hero .act-inner{text-align:left}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px}
.scroll-cue{
  position:absolute; bottom:5vh; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:12px;
  font-family:"IBM Plex Mono",monospace; font-size:10px;
  letter-spacing:.28em; text-transform:uppercase; color:var(--text-faint);
}
.scroll-cue i{
  width:1px; height:52px;
  background:linear-gradient(var(--text-faint), transparent);
  animation:drip 2.4s var(--ease) infinite;
}
@keyframes drip{
  0%{transform:scaleY(0); transform-origin:top}
  45%{transform:scaleY(1); transform-origin:top}
  55%{transform:scaleY(1); transform-origin:bottom}
  100%{transform:scaleY(0); transform-origin:bottom}
}

/* buttons -------------------------------------------------------------- */
.btn{
  display:inline-block; text-decoration:none; cursor:pointer;
  font-size:15px; font-weight:500; font-family:inherit;
  padding:14px 26px; border-radius:100px; border:1px solid transparent;
  transition:transform .2s var(--ease), background-color .2s var(--ease),
             border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--ion); color:#04191C; border-color:var(--ion)}
.btn--primary:hover{background:#6FE2F0; border-color:#6FE2F0}
.btn--ghost{border-color:var(--line); color:var(--text)}
.btn--ghost:hover{border-color:var(--text-dim)}
.btn--dark{
  background:var(--dark-ink); color:var(--paper); border-color:var(--dark-ink);
  margin-top:36px;
}
.btn--dark:hover{background:var(--ion-deep); border-color:var(--ion-deep)}

/* fact grid ------------------------------------------------------------ */
.factgrid{
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px; background:var(--line-soft);
  border:1px solid var(--line-soft);
}
.factgrid li{
  background:rgba(7,12,18,.86); backdrop-filter:blur(10px);
  padding:18px 20px;
}
.factgrid b{
  display:block; font-size:1.28rem; font-weight:600; letter-spacing:-.02em;
  font-variant-numeric:tabular-nums; margin-bottom:3px;
}
.factgrid span{font-size:13px; color:var(--text-faint)}
/* the last two facts are plain statements with nothing to qualify */

/* mechanism ------------------------------------------------------------ */
.mech{display:grid; gap:1px; background:var(--line-soft); border:1px solid var(--line-soft)}
.mech-step{background:rgba(7,12,18,.86); backdrop-filter:blur(10px); padding:24px 24px 26px}
.mech-n{
  display:inline-block; font-family:"IBM Plex Mono",monospace;
  font-size:11px; letter-spacing:.16em; color:var(--ion);
  border:1px solid rgba(79,212,228,.35); padding:3px 9px;
  margin-bottom:14px;
}
.mech-step h3{font-size:1.05rem; font-weight:600; margin-bottom:8px}
.mech-step p{margin:0; font-size:15px; color:var(--text-dim)}

.negatives{
  list-style:none; padding:0; margin:26px 0 0;
  display:flex; flex-wrap:wrap; gap:8px 10px;
}
.act-inner--right .negatives{justify-content:flex-end}
/* four tags need a little more room than the 44ch copy measure, or the last
   one drops to a line of its own */
.act-inner--right > .negatives{max-width:min(48ch, 48%)}
.negatives li{
  font-family:"IBM Plex Mono",monospace; font-size:11.5px;
  letter-spacing:.06em; color:var(--text-faint);
  border:1px solid var(--line-soft); padding:6px 12px; border-radius:100px;
}

/* results -------------------------------------------------------------- */
#results .act-inner > *{max-width:none}
#results .eyebrow{justify-content:center}
#results h2{text-align:center}
/* the results copy is the one block that sits over the ion cloud rather
   than over a panel, so it carries its own separation */
#results h2, #results .act-body, #results .eyebrow{
  text-shadow:0 0 14px var(--night), 0 0 30px var(--night), 0 0 60px var(--night), 0 0 5px var(--night);
}
.results{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px; background:var(--line-soft);
  border:1px solid var(--line-soft); margin-top:48px;
}
@media (max-width:900px){ .results{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .results{grid-template-columns:1fr} }
.result{
  background:rgba(7,12,18,.88); backdrop-filter:blur(12px);
  margin:0; padding:34px 26px 30px; text-align:center;
  /* the figure is sized against THIS box, not the window — otherwise a
     layout change can leave a number too big for the card it sits in */
  container-type:inline-size;
}
.result-val{
  font-size:clamp(1.9rem, 15cqi, 3.4rem); font-weight:600;
  letter-spacing:-.045em; line-height:1.05;
  font-variant-numeric:tabular-nums; white-space:nowrap;
  color:var(--ion); margin-bottom:16px;
}
/* the ion concentration is a longer string than a percentage */
.result--wide .result-val{font-size:clamp(1.6rem, 11.5cqi, 2.7rem)}
.result figcaption b{display:block; font-size:15px; font-weight:600; margin-bottom:4px}
.result-window{
  display:block; font-family:"IBM Plex Mono",monospace;
  font-size:11.5px; letter-spacing:.04em; color:var(--text-faint);
}
/* the report number each figure comes from — small, but it is the thing a
   buyer asks for, so it travels with the number instead of in a footnote */
.result-ref{
  display:block; margin-top:10px; padding-top:10px;
  border-top:1px solid var(--line-soft);
  font-family:"IBM Plex Mono",monospace; font-size:9.5px;
  letter-spacing:.06em; color:var(--text-faint); opacity:.55;
}
.result-val sup{font-size:.52em; vertical-align:super; line-height:0}
.result-window sup{font-size:.78em; vertical-align:super; line-height:0}
.source{
  font-size:12.5px; line-height:1.65; color:var(--text-faint);
  max-width:70ch; margin:26px auto 0; text-align:center;
}
.act .source{
  /* sits over the particle field, so it needs its own ground */
  text-shadow:0 0 14px var(--night), 0 0 5px var(--night);
}

/* range ---------------------------------------------------------------- */
#range .act-inner > *{max-width:none}
#range .eyebrow{justify-content:center}
#range h2{text-align:center; margin-bottom:44px}
.range{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px}
.model{
  background:rgba(7,12,18,.88); backdrop-filter:blur(12px);
  border:1px solid var(--line-soft); padding:30px 26px 26px;
}
.model-w{
  font-size:3.4rem; font-weight:600; letter-spacing:-.05em; line-height:1;
  margin:0 0 4px; font-variant-numeric:tabular-nums;
}
.model-w small{font-size:1.3rem; letter-spacing:-.02em; color:var(--text-faint)}
.model-ref{
  font-family:"IBM Plex Mono",monospace; font-size:11.5px;
  letter-spacing:.14em; color:var(--ion); margin:0 0 22px;
}
.model dl{margin:0; display:flex; flex-direction:column; gap:1px}
.model dl > div{
  display:flex; justify-content:space-between; gap:14px;
  padding:9px 0; border-top:1px solid var(--line-soft);
  font-size:14px;
}
.model dt{color:var(--text-faint)}
.model dd{margin:0; font-variant-numeric:tabular-nums; font-weight:500}

/* ==========================================================================
   B2B zone — light, dense, no animation
   ========================================================================== */
.b2b{position:relative; z-index:20; background:var(--paper); color:var(--dark-ink)}
.panel{padding-block:clamp(64px,9vw,116px); border-bottom:1px solid var(--paper-line)}
.panel--alt{background:var(--paper-2)}
.panel-inner{width:var(--shell); margin-inline:auto}
.panel-inner--split{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(32px,5vw,72px); align-items:start;
}
.b2b .eyebrow{color:var(--ion-deep)}
.b2b .eyebrow b{color:var(--dark-dim); border-right-color:var(--paper-line)}
.h2--dark{
  font-size:clamp(1.8rem,3.8vw,2.7rem); line-height:1.06;
  letter-spacing:-.03em; font-weight:600; color:var(--dark-ink);
  margin-bottom:28px;
}
.panel-body{color:var(--dark-ink-2); margin:0 0 24px; max-width:52ch}
.b2b .act-note{color:var(--dark-dim)}
.b2b .source{color:var(--dark-dim); text-align:left; margin-inline:0; margin-top:30px}

/* audiences ------------------------------------------------------------ */
.audiences{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1px;
  background:var(--paper-line); border:1px solid var(--paper-line)}
.audiences article{background:var(--paper); padding:30px 28px 28px}
.audiences h3{font-size:1.1rem; font-weight:600; margin-bottom:12px; letter-spacing:-.01em}
.audiences p{margin:0 0 12px; font-size:15.5px; color:var(--dark-ink-2)}
.aud-note{
  font-family:"IBM Plex Mono",monospace; font-size:11.5px !important;
  letter-spacing:.04em; color:var(--dark-dim) !important; margin:0 !important;
}

/* tables --------------------------------------------------------------- */
.tablewrap{overflow-x:auto; border:1px solid var(--paper-line); background:#fff}
table.spec{width:100%; border-collapse:collapse; font-size:14.5px; min-width:600px}
table.spec th, table.spec td{
  text-align:left; padding:12px 18px; border-bottom:1px solid var(--paper-line);
  font-weight:400; vertical-align:top;
}
table.spec thead th{
  font-family:"IBM Plex Mono",monospace; font-size:11px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--dark-dim);
  background:var(--paper-2); font-weight:500; white-space:nowrap;
}
table.spec tbody th{color:var(--dark-ink-2); width:34%}
table.spec td{font-variant-numeric:tabular-nums; color:var(--dark-ink); font-weight:500}
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td{border-bottom:none}
.spec--compact th, .spec--compact td{padding:10px 18px}
.logistics{margin-top:52px}
.logistics h3{font-size:1.05rem; font-weight:600; margin-bottom:16px}

/* ---- the same tables, but inside the dark acts -----------------------
   The B2B tables sit on paper. These sit on the 3D scene, so they carry
   their own ground the way the stat cards used to. Scoped under .act both
   because that is where they live and because it has to out-rank the
   light rules above. */
.act .tablewrap{
  background:rgba(7,12,18,.88); backdrop-filter:blur(12px);
  border-color:var(--line-soft); margin-top:44px;
}
.act table.spec th, .act table.spec td{
  border-bottom-color:var(--line-soft); vertical-align:middle;
}
.act table.spec thead th{
  background:rgba(255,255,255,.04); color:var(--text-faint);
}
.act table.spec tbody th{color:var(--text-dim); width:auto; font-weight:400}
.act table.spec td{color:var(--text); font-weight:500}
.act table.spec tbody tr:last-child th,
.act table.spec tbody tr:last-child td{border-bottom:none}
.act .tablewrap + .source{margin-top:22px}
/* superscripts in the data shouldn't push the rows apart */
.act table.spec sup{font-size:.7em; line-height:0; vertical-align:super}

/* certifications ------------------------------------------------------- */
.certs{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1px;
  background:var(--paper-line); border:1px solid var(--paper-line)}
.cert{background:var(--paper); padding:28px 26px 26px}
/* With a single credential, a grid of cards leaves a hole. One band across
   the full width reads as a statement instead of a leftover. */
.accred{
  display:grid; grid-template-columns:auto minmax(0,1fr) auto;
  gap:clamp(20px,3.5vw,44px); align-items:center;
  background:var(--paper); border:1px solid var(--paper-line);
  padding:clamp(22px,3vw,32px) clamp(24px,3.5vw,38px);
}
.accred .cert-mark{margin:0; min-width:86px; height:66px; font-size:.78rem}
.accred h3{font-size:1.05rem; font-weight:600; margin-bottom:6px}
.accred p{margin:0; font-size:15px; color:var(--dark-ink-2); max-width:52ch}
.accred-tags{
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end;
}
.accred-tags li{
  font-family:"IBM Plex Mono",monospace; font-size:11px;
  letter-spacing:.12em; color:var(--dark-dim);
  border:1px solid var(--paper-line); padding:6px 12px; border-radius:100px;
  white-space:nowrap;
}
@media (max-width:820px){
  .accred{grid-template-columns:auto minmax(0,1fr); row-gap:20px}
  .accred-tags{grid-column:1 / -1; justify-content:flex-start}
}
.cert-mark{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:64px; height:44px; padding:0 12px; margin-bottom:18px;
  border:1.5px solid var(--dark-ink); color:var(--dark-ink);
  font-weight:700; font-size:1.15rem; letter-spacing:.02em; line-height:1;
  text-align:center;
}
.cert-mark--sm{font-size:.72rem; letter-spacing:.06em; line-height:1.25}
.cert h3{font-size:1rem; font-weight:600; margin-bottom:8px}
.cert p{margin:0 0 14px; font-size:14.5px; color:var(--dark-ink-2)}
.cert p:last-child{margin-bottom:0}

/* packshot ------------------------------------------------------------- */
/* Packaging reads as one composition: copy and packing data share the left
   column, the packshot holds the right. Previously the table sat full-width
   underneath, which made the panel look like two unrelated blocks. */
.pack-grid{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);
  gap:clamp(30px,4.5vw,62px); align-items:center;
}
.pack-note{margin-bottom:30px}
.tablewrap--tight{border:none; background:none}
/* the shared 600px floor would force a scrollbar inside a half-width column */
table.spec--pack{min-width:0; font-size:13.5px}
table.spec--pack th, table.spec--pack td{padding:10px 0; white-space:nowrap}
table.spec--pack thead th{
  background:none; padding-top:0; text-align:right;
  border-bottom:1px solid var(--paper-line);
}
table.spec--pack thead th:first-child{text-align:left}
table.spec--pack tbody th{
  width:auto; color:var(--dark-ink-2); padding-right:18px; white-space:normal;
}
/* the unit belongs beside its label, not stacked under it as a crumb */
table.spec--pack tbody th small{
  font-family:"IBM Plex Mono",monospace; font-size:10.5px;
  letter-spacing:.08em; color:var(--dark-dim); margin-left:7px;
}
table.spec--pack td{text-align:right; padding-left:14px}
.vh{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)}

@media (max-width:900px){
  /* minmax(0,…) and not 1fr: a bare 1fr keeps an automatic minimum of auto,
     so a wide table inside it pushes the whole page sideways instead of
     scrolling within its own wrapper */
  .pack-grid{grid-template-columns:minmax(0,1fr)}
  .packshot{order:-1}
}
/* On a phone four columns cannot fit without breaking the row labels across
   three lines, which reads as broken rather than dense. Keep every value,
   hold the labels on one line, and let the table scroll sideways — the
   normal, honest treatment for a spec table on a narrow screen. */
@media (max-width:760px){
  table.spec--pack{font-size:12px}
  table.spec--pack th, table.spec--pack td{padding:9px 0}
  /* tbody th sets white-space:normal above and out-ranks a plainer
     selector, so the override has to match its specificity */
  table.spec--pack tbody th{white-space:nowrap; padding-right:16px}
  table.spec--pack td{padding-left:18px}
  .tablewrap--tight{
    overflow-x:auto; -webkit-overflow-scrolling:touch;
    /* fade the right edge so it is obvious there is a third model to swipe to */
    mask-image:linear-gradient(90deg, #000 86%, rgba(0,0,0,.15));
  }
}
.panel-body--lead{font-size:1.06rem; color:var(--dark-ink); max-width:60ch}
.panel--pack{background:var(--paper-2)}
.packshot{margin:0}
.packshot img{width:100%; border:1px solid var(--paper-line)}

/* contact -------------------------------------------------------------- */
.contact-list{list-style:none; padding:0; margin:28px 0 0; font-size:15px}
.contact-list li{
  display:flex; gap:16px; padding:11px 0;
  border-top:1px solid var(--paper-line); color:var(--dark-ink-2);
}
.contact-list span{
  font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--dark-dim); min-width:88px; padding-top:3px;
}
.contact-list a{color:var(--ion-deep)}

.form{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px}
.field{display:flex; flex-direction:column; gap:7px}
.field--full{grid-column:1 / -1}
.field label{
  font-family:"IBM Plex Mono",monospace; font-size:10.5px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--dark-dim);
}
.field input, .field select, .field textarea{
  font-family:inherit; font-size:15.5px; color:var(--dark-ink);
  background:#fff; border:1px solid var(--paper-line); border-radius:0;
  padding:12px 14px; width:100%;
  transition:border-color .2s var(--ease);
}
.field textarea{resize:vertical; min-height:120px}
.field input:hover, .field select:hover, .field textarea:hover{border-color:var(--dark-dim)}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--ion-deep); outline:none; box-shadow:0 0 0 3px rgba(14,124,136,.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"]{border-color:#A32A1C}
.check{
  display:flex; gap:10px; align-items:flex-start;
  font-family:inherit !important; font-size:13.5px !important;
  letter-spacing:0 !important; text-transform:none !important;
  color:var(--dark-ink-2) !important; cursor:pointer;
}
.check input{width:auto; margin-top:3px; accent-color:var(--ion-deep)}
.consent{margin-top:2px}
.form .btn--primary{background:var(--dark-ink); color:var(--paper); border-color:var(--dark-ink)}
.form .btn--primary:hover{background:var(--ion-deep); border-color:var(--ion-deep)}
.form-status{margin:14px 0 0; font-size:14px; min-height:1.2em}
.form-status.is-ok{color:#1A6349}
.form-status.is-error{color:#A32A1C}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

/* footer --------------------------------------------------------------- */
.foot{background:var(--dark-ink); color:var(--text-dim); padding-block:56px 44px}
.foot-grid{
  display:grid; grid-template-columns:1fr auto 1.2fr;
  gap:clamp(28px,5vw,64px); align-items:start;
}
.brand-mark--foot{color:var(--text)}
.foot-tag{margin:14px 0 0; font-size:14px; color:var(--text-faint)}
.foot-nav{display:flex; flex-direction:column; gap:9px; font-size:14px}
.foot-nav a{text-decoration:none; color:var(--text-dim)}
.foot-nav a:hover{color:var(--text)}
.foot-legal p{margin:0 0 12px; font-size:12.5px; line-height:1.65; color:var(--text-faint)}
.foot-company a{color:var(--ion); text-decoration:none}

/* ---------- responsive ------------------------------------------------ */
@media (max-width:900px){
  .panel-inner--split{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .act-inner--right{align-items:flex-start; text-align:left}
  .act-inner--right > *{margin-left:0; margin-right:auto}
  .act-inner--right .eyebrow, .act-inner--right .negatives{justify-content:flex-start}
}
@media (max-width:820px){
  /* the 3D sits behind the copy on a phone, so it steps back a long way */
  #gl{opacity:.9}
  #stage::after{
    content:""; position:absolute; inset:0;
    background:radial-gradient(95% 60% at 50% 42%, rgba(4,7,10,.12) 0%, rgba(4,7,10,.62) 100%);
  }
  .act-inner > *{position:relative}

  /* The hero column is capped at half the shell for the desktop layout,
     where the bulb occupies the other half. On a phone there is no second
     column, so it takes the full width. */
  .act--hero .act-inner > *{max-width:none}

  /* ...and the bulb moves above the copy instead of behind it. The first
     three acts each reserve the top of the screen for it: act 1 shows it
     dark, act 2 lit, act 3 with the ion plume off the emitter. Acts 4 and 5
     keep the bulb behind the content, which reads fine there. */
  .act.act--hero{
    min-height:100svh; align-items:flex-end; padding-block:38vh 9vh;
  }
  #light.act{
    min-height:100svh; align-items:flex-start; padding-block:38vh 12vh;
  }
  #technology.act{
    min-height:100svh; align-items:flex-start; padding-block:45vh 12vh;
  }

  /* The hero is exactly one screen tall, so a scrim anchored to the section
     stays put and can darken the ground under the copy. Acts 2 and 3 scroll
     internally — a scrim there would slide up over the bulb, which is fixed
     to the viewport — so their copy carries its own legibility instead. */
  #hero.act::after{
    content:""; position:absolute; left:0; right:0; bottom:0; top:24vh;
    z-index:-1; pointer-events:none;
    background:linear-gradient(rgba(4,7,10,0) 0,
      rgba(4,7,10,.55) 90px, rgba(4,7,10,.9) 210px,
      rgba(4,7,10,.97) 320px, rgba(4,7,10,.97) 100%);
  }
  #light .eyebrow, #light h2, #light .act-body, #light .act-note,
  #technology .eyebrow, #technology h2, #technology .act-body, #technology .act-note{
    text-shadow:0 0 10px var(--night), 0 0 26px var(--night), 0 0 52px var(--night);
  }

  .act--hero .scroll-cue{display:none}
  .act--hero .hero-sub{margin-bottom:26px}
}
@media (max-width:620px){
  body{font-size:16px}
  .act{min-height:auto; padding-block:14vh 10vh}
  .act-inner > *{max-width:none}
  .form{grid-template-columns:1fr}
  .factgrid{grid-template-columns:1fr}
  table.spec tbody th{width:auto}
  .contact-list li{flex-direction:column; gap:2px}
}

/* ---------- motion preferences ---------------------------------------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
  .scroll-cue i{display:none}
}
