:root{
  --ink:#15202B; --muted:#5B6B7B; --faint:#9AA6B2;
  --bg:#F4F6F8; --well:#EEF2F6; --line:#DDE3EA; --line2:#E6EDF4;
  /* accents from the Alien Spill Supply logo: saucer blue, beam yellow/orange, rim orange-red */
  --blue:#1B708F; --blue-dk:#155A73; --navy:#0B1F33;
  --beam:#F3BD13; --beam-dk:#F2A60F; --beam-orange:#EF7E16; --rim:#BD5425;
  --beam-grad:linear-gradient(90deg,var(--beam-orange),var(--beam));
  --note-bg:#FFF4D6; --note-line:#F0C96A; --note-accent:#D9A021; --note-ink:#5A4300; --note-head:#8A5A00;
  --head:'Barlow',sans-serif; --body:'IBM Plex Sans',system-ui,sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);line-height:1.5}
::selection{background:var(--beam);color:var(--navy)}
a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-dk)}
h1,h2,h3{font-family:var(--head);font-weight:800;margin:0;line-height:1.1}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.tag{font-family:var(--head);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--rim)}
.tag.beam{color:var(--beam)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:6px;font-family:var(--head);font-weight:700;font-size:16px;letter-spacing:.02em;border:0;cursor:pointer;background:var(--blue);color:#fff}
.btn:hover{color:#fff;background:var(--blue-dk)}
.btn.ghost{background:#fff;color:var(--blue);border:1.5px solid var(--blue);min-height:42px;font-size:14px}.btn.ghost:hover{background:#F4F8FC}
.btn.outline{background:#fff;color:var(--blue);border:1.5px solid var(--blue)}.btn.outline:hover{background:#F4F8FC}
.btn.beam{background:var(--beam);color:var(--navy)}.btn.beam:hover{background:var(--beam-dk);color:var(--navy)}
.btn.outline-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.5)}
/* button motion: lift with a soft shadow on hover, settle back on press */
.btn{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(27,112,143,.28)}
.btn.ghost:hover,.btn.outline:hover{box-shadow:0 6px 16px rgba(27,112,143,.16)}
.btn.beam:hover,.bulk-cta:hover .btn.beam{transform:translateY(-2px);box-shadow:0 6px 18px rgba(243,189,19,.45)}
.btn.outline-light:hover{color:#fff;background:rgba(255,255,255,.1);border-color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.btn:active,.btn.beam:active{transform:translateY(0);box-shadow:0 2px 6px rgba(11,31,51,.2);transition-duration:.06s}
.btn:focus-visible{outline:3px solid var(--rim);outline-offset:2px}
.hero .btn:focus-visible,.bulk-cta .btn:focus-visible,.footer :focus-visible{outline-color:var(--beam)}
.btn:disabled:hover,.btn.disabled{transform:none;box-shadow:none}
.size,.thumb,.stepper button,.remove,.x{transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease}
@media (prefers-reduced-motion:reduce){
  .btn,.btn:hover,.btn:active,.btn.beam:hover,.bulk-cta:hover .btn.beam{transition:none;transform:none}
}
.panel{background:#fff;border:1px solid var(--line);border-radius:10px}
.ph{color:var(--muted);font-size:13px}

/* top bar */
.topbar{background:#fff;border-bottom:1px solid var(--line)}
.topbar .bar{min-height:72px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding-top:12px;padding-bottom:12px}
.logo{display:block;flex:none;line-height:0}
.logo img,img.logo{display:block;height:96px;width:auto}
.catnav{display:flex;gap:28px;font-weight:500;font-size:15px;overflow-x:auto;scrollbar-width:none;border-top:1px solid var(--line2)}
.catnav::-webkit-scrollbar{display:none}
.catnav a{color:var(--ink);white-space:nowrap;padding:12px 0;border-bottom:2px solid transparent}
.catnav a.active,.catnav a:hover{color:var(--blue)}.catnav a.active{border-bottom-color:var(--beam-orange)}
.actions{display:flex;gap:10px;align-items:center;margin-left:auto}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* header search */
.sitesearch{position:relative;order:3;flex:1 1 100%;min-width:0}
.sitesearch svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.sitesearch input{width:100%;min-height:46px;border:1.5px solid #C5CED8;border-radius:8px;padding:0 14px 0 42px;font:inherit;font-size:16px;background:var(--bg)}
.sitesearch input:focus{outline:none;border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px rgba(27,112,143,.15)}
.suggest{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 6px);list-style:none;margin:0;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 32px rgba(11,31,51,.14);max-height:70vh;overflow-y:auto}
.suggest li a{display:flex;flex-direction:column;gap:1px;padding:10px 12px;border-radius:6px;color:var(--ink)}
.suggest li a b{font-family:var(--head);font-weight:700;font-size:16px}
.suggest li a span{font-size:13px;color:var(--muted)}
.suggest li[aria-selected=true] a,.suggest li a:hover{background:#EEF4FB}
.suggest li.all a{border-top:1px solid var(--line2);border-radius:0 0 6px 6px}.suggest li.all a span{color:var(--blue);font-weight:600}
@media (min-width:900px){
  .sitesearch{order:0;flex:1 1 360px;max-width:560px;margin:0 auto}
  .actions{margin-left:0}
}
.btn.cart{min-width:44px;min-height:44px;padding:0 12px;gap:6px}

/* hero */
.hero{background:var(--navy);color:#fff;padding:72px 0 64px}
.hero.compact{padding:56px 0 48px}
/* photo banners: image fills the section, navy overlay keeps text at AA contrast */
.hero.has-photo{position:relative;overflow:hidden;isolation:isolate}
.hero-bg,.hero-bg img{position:absolute;inset:0;width:100%;height:100%}
.hero-bg{z-index:-2}.hero-bg img{object-fit:cover;object-position:center}
.hero.has-photo::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(11,31,51,.93) 0%,rgba(11,31,51,.8) 42%,rgba(11,31,51,.35) 100%)}
.photo{display:block;width:100%;height:auto;object-fit:cover;border-radius:8px;background:var(--well)}
.photo.dock{aspect-ratio:16/9;object-position:center 60%;margin-bottom:8px}
.photo.truck{aspect-ratio:21/9;object-position:center 78%}
.hero .wrap{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.hero .copy{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}
.hero h1{font-size:52px;letter-spacing:-.015em;max-width:16ch}
.hero.compact h1{font-size:44px;max-width:18ch}
.hero p{margin:0;font-size:18px;color:#C7D2DD;max-width:52ch}
.ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.bulk-cta{flex:0 1 380px;min-width:0;display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:10px;color:#fff;
  background:rgba(11,31,51,.78);border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.bulk-cta:hover{color:#fff;border-color:var(--beam)}
.bulk-cta b{font-family:var(--head);font-weight:800;font-size:30px;line-height:1.1;color:var(--beam)}
.bulk-cta span:not(.btn){font-size:15px;color:#C7D2DD}
.bulk-cta .btn{align-self:flex-start;margin-top:4px}
.bulk-cta:hover .btn{background:var(--beam-dk)}

/* tiles + catalog */
.tiles{padding:48px 0 8px}
.tiles .wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tile{color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:6px;min-width:0}
.tile:hover{border-color:var(--blue);color:var(--ink)}
.tile b{font-family:var(--head);font-weight:700;font-size:22px}
.tile span:last-child{font-size:14px;color:var(--muted)}
.catalog{padding:40px 24px 16px;display:flex;flex-direction:column;gap:48px}
.cat header{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin-bottom:20px}
.cat h2{font-size:32px}
/* category description: heading font, set off from the title by a short blue rule */
.cat header span{display:inline-flex;align-items:flex-start;gap:12px;font-family:var(--head);font-weight:600;font-size:19px;letter-spacing:.01em;color:#3D4C5B}
.cat header span::before{content:"";flex:none;width:28px;height:3px;margin-top:.68em;border-radius:2px;background:var(--beam-grad)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;overflow:hidden}
.card{position:relative}
.card:hover{border-color:var(--blue)}
/* the title link covers the whole card; the size picker and Add to cart sit above it */
.card a.title::after{content:"";position:absolute;inset:0;z-index:0}
.card select.variant,.card .btn.add{position:relative;z-index:1}
.card:hover a.title{color:var(--blue)}
.card a.title:focus-visible{outline:none}.card:has(a.title:focus-visible){outline:3px solid var(--blue);outline-offset:2px}
.well{background:var(--well);display:flex;align-items:center;justify-content:center;padding:16px}
.card .well{height:200px;border-bottom:1px solid var(--line2)}
.well img{max-width:100%;max-height:100%;object-fit:contain}
.card .body{padding:18px;display:flex;flex-direction:column;gap:8px;flex-grow:1}
.card .title{font-family:var(--head);font-weight:700;font-size:19px;line-height:1.2;color:var(--ink)}
.card .pack{font-size:14px;color:var(--muted)}
.card select.variant{min-height:40px;border:1px solid #C5CED8;border-radius:6px;padding:0 10px;font-size:14px;background:#fff;font-family:inherit}
.card .row{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.price{font-family:var(--head);font-weight:800;font-size:22px}
.card .btn.add{min-height:44px;padding:0 16px;font-size:14px}

/* bulk */
.bulk{padding:56px 0}
.bulk .panel{padding:40px;display:flex;flex-wrap:wrap;gap:32px;align-items:center}
.bulk .copy{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:12px}
.bulk h2{font-size:30px}.bulk p{margin:0;font-size:16px;color:#3D4C5B}
.quote{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:12px}
.quote label{font-size:13px;font-weight:600}
.quote input{min-height:46px;border:1px solid #C5CED8;border-radius:6px;padding:0 12px;font-size:15px;font-family:inherit}

/* footer */
.footer{border-top:4px solid var(--beam);border-image:linear-gradient(90deg,var(--rim),var(--beam-orange),var(--beam),var(--blue)) 1;background:var(--navy);color:#C7D2DD;padding:40px 0;margin-top:auto;font-size:14px}
.footer .wrap{display:flex;flex-wrap:wrap;gap:24px 48px;justify-content:space-between}
.footer .wrap>div{display:flex;flex-direction:column;gap:6px}
/* the S and Y of SPILL SUPPLY overhang the beam in black; a thin light edge keeps them on navy.
   align-self stops the flex column stretching the image wide. */
.footer img.logo{height:120px;width:auto;align-self:flex-start;margin-bottom:8px;
  filter:drop-shadow(.6px 0 0 rgba(255,255,255,.85)) drop-shadow(-.6px 0 0 rgba(255,255,255,.85)) drop-shadow(0 .6px 0 rgba(255,255,255,.85)) drop-shadow(0 -.6px 0 rgba(255,255,255,.85))}
.footer nav{display:flex;flex-wrap:wrap;gap:20px;align-self:center}.footer nav a{color:#C7D2DD}
.footer .powered{color:#8FA3B6;font-size:13px;margin-top:6px}.footer .powered:hover{color:#C7D2DD}

/* product page */
.crumbs{padding:20px 24px 0;font-size:13px;color:var(--muted)}
.product{padding:24px 24px 48px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.gallery{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:14px}
.well.main{height:520px;width:100%;border:1px solid var(--line);border-radius:10px;padding:32px;position:relative;cursor:zoom-in;font:inherit}
.well.main:disabled{cursor:default}
.well.main img{width:auto;height:auto}
.zoom-hint{position:absolute;right:12px;bottom:10px;font-size:12px;color:var(--muted);background:rgba(255,255,255,.85);padding:2px 8px;border-radius:4px}
.well.main:disabled .zoom-hint{display:none}
.zoom{border:0;border-radius:12px;padding:16px;width:min(1000px,96vw);max-height:94vh;background:#fff}
.zoom::backdrop{background:rgba(11,31,51,.7)}
.zoom .x{position:absolute;top:8px;right:8px}
.zoom img{display:block;margin:24px auto 12px;max-width:100%;max-height:76vh;object-fit:contain;image-rendering:auto}
.zoom-nav{display:flex;align-items:center;justify-content:center;gap:16px;font-size:14px;color:var(--muted)}
.assure{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px;color:#3D4C5B}
.assure b{display:inline-block;min-width:64px;font-weight:600;color:var(--ink)}
.thumbs{display:flex;flex-wrap:wrap;gap:10px}
.thumb{width:92px;height:92px;border-radius:6px;border:2px solid var(--line);background:var(--well);display:flex;align-items:center;justify-content:center;padding:6px;cursor:pointer;color:var(--muted);font-size:11px;text-align:center}
.thumb:hover{border-color:var(--blue)}.thumb.on{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue) inset}
.thumb img{max-width:100%;max-height:100%;object-fit:contain}
.buy{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:18px}
.buy h1{font-size:34px}.buy .meta{font-size:14px;color:var(--muted)}
.sizes .label,.build-note .label{font-size:13px;font-weight:600;display:block;margin-bottom:8px}
.sizes>div{display:flex;flex-wrap:wrap;gap:10px}
.size{min-height:48px;padding:0 18px;border-radius:6px;border:2px solid var(--line);background:#fff;font-family:var(--head);font-weight:700;font-size:15px;color:var(--ink);cursor:pointer;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}
.size small{font-family:var(--body);font-weight:400;font-size:12px;color:var(--muted)}
.size:hover{border-color:var(--blue)}.size.on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset}
.build-note{background:var(--note-bg);border:1px solid var(--note-line);border-left:4px solid var(--note-accent);border-radius:8px;padding:14px 16px}
.build-note .label{font-family:var(--head);font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--note-head)}
.build-note ul{margin:0;padding-left:18px;font-size:14px;color:var(--note-ink)}
.build-note small{display:block;margin-top:8px;font-size:12px;color:var(--note-head)}
.intro{margin:0;font-size:15px;color:#3D4C5B}.intro:empty{display:none}
.bullets{margin:0;padding-left:20px;font-size:15px;color:#3D4C5B;display:flex;flex-direction:column;gap:4px}.bullets:empty{display:none}
.buybox{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:14px}
.pricing{display:flex;align-items:baseline;gap:10px}.pricing .price{font-size:32px}.pricing .unit{font-size:14px;color:var(--muted)}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.two>div{display:flex;flex-direction:column;gap:6px}.two label{font-size:13px;font-weight:600}
.two select,.two input{min-height:46px;border:1px solid #C5CED8;border-radius:6px;padding:0 12px;font-size:15px;background:#fff;font-family:inherit}
.total{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:var(--bg);border-radius:6px}
.total span{font-size:14px;font-weight:600}.total b{font-family:var(--head);font-weight:800;font-size:22px}
.buybox small{font-size:12px;color:var(--muted)}
.field-label{font-size:13px;font-weight:600}
.uom-static{min-height:46px;display:flex;align-items:center;font-size:15px}
.pallet-link{margin:0;font-size:14px;color:var(--muted);text-align:center}
.specs{padding:8px 10px}
table{border-collapse:collapse;width:100%}
.specs td{padding:10px 12px;border-bottom:1px solid var(--line2);font-size:14px;vertical-align:top}
.specs td:first-child{color:var(--muted);width:40%}
.notes,.docs{padding:22px;display:flex;flex-direction:column;gap:12px}
.notes ul{margin:0;padding-left:20px;font-size:14px;color:#3D4C5B}
.docs h3{font-size:18px;font-weight:700;margin-top:6px}
.doclist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.doclist li{font-size:15px;font-weight:600;display:flex;flex-direction:column;gap:2px}
.doclist li span{font-size:12px;color:var(--muted);font-weight:400}
.doclist li.pending{color:var(--muted)}

/* fluid guide */
.types{padding:40px 24px 8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.type{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;min-width:0}
.type.primary{border-left:4px solid var(--blue)}
.type b{font-family:var(--head);font-weight:700;font-size:20px}
.type span{font-size:14px;color:var(--muted)}.type a{font-size:13px;font-weight:600;margin-top:4px}.type small{font-size:13px;color:var(--faint);margin-top:4px}
.guide{padding:32px 24px 56px;display:flex;flex-direction:column;gap:16px}
.search{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.search label{font-family:var(--head);font-weight:700;font-size:18px}
.search input{flex:1 1 320px;min-width:0;min-height:46px;border:1px solid #C5CED8;border-radius:6px;padding:0 14px;font-size:15px;background:#fff;font-family:inherit}
.search span{font-size:14px;color:var(--muted)}
.tablewrap{overflow-x:auto}
#fluids{min-width:620px}
#fluids th{text-align:left;padding:12px 14px;font-family:var(--head);font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border-bottom:2px solid var(--line);background:#fff;position:sticky;top:0}
#fluids td{padding:11px 14px;border-bottom:1px solid var(--line2);font-size:15px}
#fluids tr:hover td{background:#F8FAFC}
.c{text-align:center;width:120px}
.yes{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#DDF3C9;color:#2E6B0F;font-weight:700}
.no{display:inline-block;width:12px;height:2px;background:#C5CED8;vertical-align:middle}
.fine{margin:0;font-size:13px;color:var(--muted);max-width:80ch}

@media (max-width:900px){
  .tiles .wrap,.grid,.types{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero h1{font-size:40px}
}
@media (max-width:600px){
  .hero.has-photo::after{background:rgba(11,31,51,.86)}
  .tiles .wrap,.grid,.types,.doclist{grid-template-columns:1fr}
  .hero h1{font-size:34px}.well.main{height:360px}
}

/* cart drawer */
body.locked{overflow:hidden}
.drawer{position:fixed;inset:0;z-index:50}
.drawer .scrim{position:absolute;inset:0;background:rgba(11,31,51,.45)}
.drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);background:#fff;display:flex;flex-direction:column;box-shadow:-8px 0 32px rgba(11,31,51,.18)}
.drawer-panel>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}
.drawer-panel h2{font-size:24px}
.x{width:44px;height:44px;border:0;background:transparent;font-size:28px;line-height:1;color:var(--muted);cursor:pointer;border-radius:6px}.x:hover{background:var(--bg);color:var(--ink)}
.drawer-panel .lines{flex:1;overflow-y:auto;padding:4px 20px}
.drawer-panel .empty{flex:1;padding:24px 20px;margin:0;color:var(--muted)}
.drawer-panel .lines:empty{display:none}
.drawer-panel footer{border-top:1px solid var(--line);padding:16px 20px 20px;display:flex;flex-direction:column;gap:10px}
.drawer-panel footer small{font-size:12px;color:var(--muted)}
.btn.disabled{opacity:.45;pointer-events:none}
.btn:disabled{opacity:.45;cursor:not-allowed}

/* cart lines (drawer, checkout, confirmation) */
.lines{list-style:none;margin:0;padding:0}
.line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--line2)}
.line:last-child{border-bottom:0}
.line .well{width:64px;height:64px;border-radius:6px;padding:6px}
.line .info{display:flex;flex-direction:column;gap:2px;min-width:0}
.line .info b{font-family:var(--head);font-weight:700;font-size:16px;line-height:1.2}
.line .meta{font-size:12px;color:var(--muted)}
.line .row{display:flex;align-items:center;gap:12px;margin-top:6px}
.line .amt{font-family:var(--head);font-weight:800;font-size:16px;white-space:nowrap}
.stepper{display:inline-flex;align-items:center;border:1px solid #C5CED8;border-radius:6px;overflow:hidden}
.stepper button{width:36px;height:36px;border:0;background:#fff;font-size:18px;cursor:pointer;color:var(--ink)}.stepper button:hover{background:var(--bg)}
.stepper input{width:48px;height:36px;border:0;border-left:1px solid #C5CED8;border-right:1px solid #C5CED8;text-align:center;font:inherit;font-size:14px;-moz-appearance:textfield}
.stepper input::-webkit-inner-spin-button{-webkit-appearance:none}
.remove{border:0;background:none;padding:6px 0;font-size:13px;color:var(--muted);cursor:pointer;text-decoration:underline}.remove:hover{color:var(--ink)}

/* checkout */
.checkout{padding:24px 24px 56px;display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.co-form{flex:1 1 560px;min-width:0;display:flex;flex-direction:column;gap:18px}
.co-form h1{font-size:36px}
.co-form fieldset{margin:0;padding:22px;display:flex;flex-direction:column;gap:12px;min-width:0}
.co-form legend{float:left;width:100%;padding:0;margin-bottom:4px;font-family:var(--head);font-weight:700;font-size:20px}
.co-form .two .span{grid-column:1/-1}
.co-form .two.inner{gap:12px}
.co-form label small{font-weight:400;color:var(--muted)}
.co-form textarea{border:1px solid #C5CED8;border-radius:6px;padding:10px 12px;font:inherit;font-size:15px;resize:vertical}
.co-form>label,.co-form fieldset>label:not(.choice):not(.check){font-size:13px;font-weight:600}
[aria-invalid=true]{border-color:#C0392B!important;box-shadow:0 0 0 1px #C0392B inset}
.choice{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:2px solid var(--line);border-radius:8px;cursor:pointer}
.choice:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset}
.choice input{margin-top:4px;accent-color:var(--blue)}
.choice span{display:flex;flex-direction:column;gap:2px}.choice b{font-family:var(--head);font-size:17px}.choice small{font-size:13px;color:var(--muted)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px}.check input{margin-top:4px;accent-color:var(--blue)}
.form-error{margin:0;padding:12px 14px;border-radius:6px;background:#FDECEA;border:1px solid #F1B0A8;color:#7A1F14;font-size:14px}
.co-form>.btn{align-self:flex-start;min-width:240px}
.co-summary{flex:0 1 400px;min-width:0;padding:22px;display:flex;flex-direction:column;gap:12px;position:sticky;top:16px}
.co-summary h2{font-size:22px}
.co-summary .empty{margin:0;color:var(--muted)}
.co-summary>small{font-size:12px;color:var(--muted)}
.sums{display:grid;grid-template-columns:1fr auto;gap:8px 16px;margin:0;padding-top:12px;border-top:1px solid var(--line)}
.sums dt{font-size:14px;color:var(--muted)}.sums dd{margin:0;font-size:14px;font-weight:600;text-align:right}
.sums .grand{font-family:var(--head);font-size:20px;font-weight:800;color:var(--ink);padding-top:8px;border-top:1px solid var(--line2)}

/* confirmation */
.confirmed{padding:40px 24px 64px}
.confirmed .panel{max-width:720px;margin:0 auto;padding:32px;display:flex;flex-direction:column;gap:16px}
.confirmed h1{font-size:32px}
.confirmed p{margin:0;color:#3D4C5B}
.confirmed .btn{align-self:flex-start}

@media (max-width:600px){
  .co-summary{position:static;order:-1}
  .co-form .two{grid-template-columns:1fr}
  .co-form .two.inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .co-form>.btn{align-self:stretch}
}

/* quote form */
.quote label small{font-weight:400;color:var(--muted)}
.quote textarea{border:1px solid #C5CED8;border-radius:6px;padding:10px 12px;font:inherit;font-size:15px;resize:vertical}
.quote .btn:disabled{opacity:.6}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.quote-done{gap:10px}.quote-done:focus{outline:none}
.quote-done h3{font-size:22px}.quote-done p{margin:0;font-size:15px;color:#3D4C5B}

/* search results */
.results{padding:24px 24px 56px;display:flex;flex-direction:column;gap:16px}
.results h1{font-size:34px}
.results>.meta{margin:0;color:var(--muted)}
.fluid-hits{padding:16px 20px;display:flex;flex-direction:column;gap:8px}
.fluid-hits ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px}
.fluid-hits li{font-size:15px;font-weight:600}.fluid-hits li span{font-weight:400;font-size:13px;color:#2E6B0F}
.hits{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.hit{background:#fff;border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px}
.hit:hover{border-color:var(--blue)}
.hit .well{width:96px;height:96px;border-radius:8px;padding:8px}
.hit .info{display:flex;flex-direction:column;gap:4px;min-width:0}
.hit .title{font-family:var(--head);font-weight:700;font-size:19px;line-height:1.2;color:var(--ink)}
.hit .meta{font-size:13px;color:var(--muted)}
.hit .buy{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.hit .btn.add{min-height:44px;padding:0 16px;font-size:14px}
.empty-state{padding:24px;display:flex;flex-direction:column;gap:8px}.empty-state p{margin:0}

/* help */
.help{padding:32px 24px 56px;display:flex;flex-direction:column;gap:16px;max-width:860px}
.help .panel{padding:24px;display:flex;flex-direction:column;gap:10px}
.help h2{font-size:24px}
.help ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;color:#3D4C5B}
.help p{margin:0;color:#3D4C5B}
.faq details{border-top:1px solid var(--line2);padding:12px 0}
.faq summary{cursor:pointer;font-weight:600;font-size:16px;min-height:28px}
.faq details p{margin-top:8px}

@media (max-width:600px){
  .hit{grid-template-columns:72px minmax(0,1fr)}
  .hit .well{width:72px;height:72px}
  .hit .buy{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .logo img{height:72px}
}

/* Notes From The Frontier */
.notes{padding:40px 24px 56px}
.note-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.note-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s ease,box-shadow .18s ease,transform .18s ease}
.note-card:hover{border-color:var(--blue);box-shadow:0 8px 24px rgba(11,31,51,.08);transform:translateY(-2px)}
.note-card .well{height:190px;padding:0;border-bottom:1px solid var(--line2)}
.note-card .well img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
.note-card .body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.note-card .meta{font-size:13px;color:var(--muted)}
.note-card .title{font-family:var(--head);font-weight:700;font-size:21px;line-height:1.2;color:var(--ink)}
.note-card .title::after{content:"";position:absolute;inset:0}  /* whole card opens the note */
.note-card:hover .title{color:var(--blue)}
.note-card p{margin:0;font-size:15px;color:#3D4C5B}
.notes-teaser{padding-top:8px;padding-bottom:16px}
.notes-teaser header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:20px}
.notes-teaser h2{font-size:32px}.notes-teaser header a{font-weight:600}

.note{max-width:760px;padding:24px 24px 64px;display:flex;flex-direction:column;gap:24px}
.note>header{display:flex;flex-direction:column;gap:10px}
.note h1{font-size:44px;letter-spacing:-.01em}
.byline{margin:0;font-size:14px;color:var(--muted)}
.note .cover{margin:0}.note .cover img{width:100%;height:auto;border-radius:10px;display:block}
.prose{font-size:18px;line-height:1.7;color:#25313D}
.prose>*{margin:0 0 1.1em}
.prose h2{font-size:28px;margin-top:1.6em}.prose h3{font-size:22px;margin-top:1.4em}
.prose ul,.prose ol{padding-left:1.4em}.prose li{margin-bottom:.35em}
.prose blockquote{margin-left:0;padding:4px 0 4px 20px;border-left:4px solid var(--beam-orange);color:#3D4C5B;font-style:italic}
.prose blockquote p{margin:0}
.prose figure{margin:1.6em 0}.prose img{max-width:100%;height:auto;border-radius:8px;display:block}
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:var(--well);padding:1px 6px;border-radius:4px}
.prose hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.prose a{text-decoration:underline;text-underline-offset:2px}
.note-products{display:flex;flex-direction:column;gap:12px;padding-top:24px;border-top:1px solid var(--line)}
.note-products h2{font-size:24px}
.note-nav{font-weight:600}

@media (max-width:900px){.note-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
  .note-cards{grid-template-columns:1fr}
  .note h1{font-size:32px}.prose{font-size:17px}
}

/* Logo accents: the logo is pop-art comic, so borrow its halftone dots, black ink outlines,
   hard offset shadows and the saucer itself. */
:root{--ink-line:#111;
  --halftone:radial-gradient(circle,rgba(243,189,19,.28) 1.3px,transparent 1.8px) 0 0/10px 10px}
/* halftone shading fading out of a corner, like the beam's dots */
.hero{position:relative;overflow:hidden;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--halftone);
  -webkit-mask-image:radial-gradient(ellipse 55% 75% at 100% 100%,#000 0%,transparent 100%);
          mask-image:radial-gradient(ellipse 55% 75% at 100% 100%,#000 0%,transparent 100%)}
.hero .wrap{position:relative;z-index:1}
.footer{position:relative;isolation:isolate}
.footer::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--halftone);opacity:.6;
  -webkit-mask-image:radial-gradient(ellipse 40% 90% at 100% 0%,#000 0%,transparent 100%);
          mask-image:radial-gradient(ellipse 40% 90% at 100% 0%,#000 0%,transparent 100%)}
.footer .wrap{position:relative;z-index:1}
/* beam buttons: ink outline and a hard rim-orange shadow that pops on hover */
.btn.beam{border:2px solid var(--ink-line);box-shadow:3px 3px 0 var(--rim)}
.btn.beam:hover,.bulk-cta:hover .btn.beam{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--rim)}
.btn.beam:active{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--rim)}
/* product cards: comic-panel hover */
.card,.note-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.card:hover,.note-card:hover{border-color:var(--ink-line);box-shadow:5px 5px 0 var(--beam);transform:translate(-2px,-2px)}
/* the saucer in empty states */
.drawer-panel .empty::before,.empty-state::before,#co-empty::before{content:"";display:block;width:64px;height:66px;margin-bottom:12px;
  background:url(assets/brand/ship-beam-160.webp) center/contain no-repeat}
.drawer-panel .empty{text-align:center;padding-top:48px}.drawer-panel .empty::before{margin:0 auto 12px}
@media (prefers-reduced-motion:reduce){
  .btn.beam:hover,.btn.beam:active,.bulk-cta:hover .btn.beam,.card:hover,.note-card:hover{transform:none}
  .card,.note-card{transition:none}
}
