/* ============================================================================
   Asymmetry Engineering — site styles
   Brand: teal #00E0A5 on black. Deliberately single (dark) theme.
   Design device: the logo is a stack of layer lines, so the whole page is
   built from capsule bars on a strict grid.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;

  --ink:        #000000;   /* page ground */
  --panel:      #080D0B;   /* raised surface, biased green */
  --panel-2:    #0D1512;   /* hover / nested surface */
  --line:       #1A2A25;   /* hairline */
  --line-hi:    #2C4A40;   /* emphasised hairline */

  --teal:       #00E0A5;
  --teal-deep:  #0B7F62;
  --teal-wash:  rgba(0, 224, 165, 0.08);

  --white:      #FFFFFF;
  --mute:       #8FA69F;   /* green-grey secondary text */
  --mute-dim:   #5E736D;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* modular type scale, 1.25 */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-md:   1.125rem;
  --t-lg:   1.4rem;
  --t-xl:   1.9rem;
  --t-2xl:  2.6rem;
  --t-3xl:  3.6rem;

  --sp:     1rem;
  --measure: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Components set display:flex/grid, which outranks the browser's [hidden]
   rule — without this, hiding an element by attribute does nothing. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.lede {
  font-size: var(--t-md);
  color: var(--mute);
  max-width: 60ch;
}
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.skip {
  position: fixed; left: 0; top: -100px; z-index: 100;
  background: var(--teal); color: #001912; padding: 0.6rem 1rem; font-weight: 600;
  transition: top 0.15s ease;
}
.skip:focus { top: 0; }

/* layer-line divider: the logo device, reused as structure */
.layers { display: flex; flex-direction: column; gap: 4px; }
.layers span {
  display: block; height: 6px; border-radius: 3px; background: var(--teal-deep);
  transform-origin: left center;
}
.layers span:nth-child(1) { width: 58%; background: var(--teal); }
.layers span:nth-child(2) { width: 36%; }
.layers span:nth-child(3) { width: 72%; background: var(--teal); opacity: 0.55; }
.layers span:nth-child(4) { width: 22%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-display); font-weight: 700; font-stretch: 105%;
  font-size: var(--t-sm); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--teal); border-radius: 999px;
  background: transparent; color: var(--teal);
  cursor: pointer; transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { background: var(--teal-wash); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--teal); color: #00150F; }
.btn--solid:hover { background: #3BF0BF; }
.btn--ghost { border-color: var(--line-hi); color: var(--white); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--sm { padding: 0.55rem 1rem; font-size: var(--t-xs); }
.btn--full { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  max-width: var(--measure); margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.brand svg, .brand img { width: 40px; height: auto; flex: none; }
.brand__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%;
  font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1.05;
  color: var(--white); text-transform: uppercase;
}
.brand__name em { display: block; font-style: normal; color: var(--teal); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: var(--white); font-size: var(--t-sm); font-weight: 500;
  letter-spacing: 0.02em; padding-block: 0.4rem; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--teal); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--line-hi); border-radius: 999px;
  background: transparent; color: var(--white);
  padding: 0.55rem 0.95rem; font-size: var(--t-xs); cursor: pointer;
  font-family: var(--f-mono); letter-spacing: 0.04em;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.cart-btn:hover { border-color: var(--teal); color: var(--teal); }
.cart-btn__count {
  min-width: 20px; height: 20px; padding-inline: 5px;
  display: inline-grid; place-items: center;
  background: var(--teal); color: #00150F; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600;
}
.cart-btn[data-empty="true"] .cart-btn__count { background: var(--line-hi); color: var(--mute); }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-hi);
  border-radius: 8px; background: transparent; cursor: pointer;
  padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--white); }
.burger span:nth-child(2) { width: 70%; background: var(--teal); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-md); }
  .nav a::after { display: none; }
}
@media (max-width: 620px) {
  .header__bar { gap: 0.6rem; }
  .header__actions { gap: 0.4rem; }
  .header__actions .btn { padding: 0.55rem 0.8rem; font-size: 0.66rem; letter-spacing: 0.02em; }
  .cart-btn { padding: 0.48rem 0.6rem; gap: 0.35rem; }
  .cart-btn__label { display: none; }
  .brand { gap: 0.5rem; }
  .brand img { width: 34px; }
  .brand__name { font-size: 0.72rem; }
}
@media (max-width: 480px) {
  /* the mark alone carries the brand here — the wordmark won't fit beside the controls */
  .brand__name { display: none; }
}

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.1rem);
  margin-block: 1.1rem 1.4rem;
  max-width: 17ch;
}
.hero h1 .split { color: var(--teal); }
/* short two-part headline: each half gets its own line and sizes independently */
.hero h1.hero__h1--stacked {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  max-width: none;
  letter-spacing: -0.03em;
}
.hero h1.hero__h1--stacked .hl,
.hero h1.hero__h1--stacked .split { display: block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__art {
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--panel);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; aspect-ratio: 3 / 2; }
}

/* ---------- materials marquee ----------
   Replaces the old spec strip. Full-bleed band of every filament the printer
   runs, scrolling continuously, with the colour flipping between teal and white
   every ten materials. */
.materials { margin-top: clamp(2rem, 5vw, 3rem); }
.materials__label {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: 0.85rem;
}
.marquee {
  border-block: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  padding-block: 0.95rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center; gap: 1.6rem;
  padding-right: 1.6rem; flex: none;
}
.marquee__item {
  font-family: var(--f-mono); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--white); white-space: nowrap;
}
.marquee__item--teal { color: var(--teal); }
.marquee__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal-deep); flex: none;
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  /* no motion: let it scroll by hand instead of freezing mid-list */
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__group:last-child { display: none; }
}
@media (max-width: 620px) {
  .marquee__item { font-size: 0.85rem; }
  .marquee__group { gap: 1.15rem; padding-right: 1.15rem; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); border-bottom: 1px solid var(--line); }
.section--flush { border-bottom: 0; }
.section__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.section__head h2 { font-size: clamp(1.7rem, 4vw, var(--t-2xl)); }
.section__head p { margin-top: 0.75rem; }

/* ---------- capability cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--ink); padding: 2rem 1.75rem 2.25rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: background 0.2s ease;
}
.card:hover { background: var(--panel); }
.card .layers { margin-bottom: 0.6rem; width: 56px; }
.card h3 { font-size: var(--t-lg); }
.card p { color: var(--mute); font-size: var(--t-sm); }
.card__link { margin-top: auto; padding-top: 0.75rem; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- product grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line-hi); background: transparent; color: var(--mute);
  border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.06em;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.chip:hover { color: var(--white); border-color: var(--mute); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #00150F; font-weight: 600; }

.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1040px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .grid-products { grid-template-columns: 1fr; } }

.product {
  border: 1px solid var(--line); background: var(--panel);
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease;
}
.product:hover { border-color: var(--line-hi); }
.product__bar { height: 5px; width: 34%; background: var(--teal); border-radius: 0 3px 3px 0; transition: width 0.35s cubic-bezier(.22,.61,.36,1); }
.product:hover .product__bar { width: 78%; }
.product__img { aspect-ratio: 1 / 1; background: var(--ink); border-bottom: 1px solid var(--line); }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 1.1rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product__sku { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--mute-dim); }
.product__name { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: var(--t-base); line-height: 1.25; min-height: 2.5em; }
.product__desc { font-size: var(--t-sm); color: var(--mute); min-height: 4.2em; }
.product__specs { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--mute-dim); line-height: 1.5; min-height: 3em; }
.product__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.75rem; }
.product__price { font-family: var(--f-mono); font-size: var(--t-md); color: var(--teal); font-variant-numeric: tabular-nums; }
.product__lead { font-family: var(--f-mono); font-size: 0.66rem; color: var(--mute-dim); letter-spacing: 0.03em; text-align: right; line-height: 1.4; max-width: 11ch; }
.product__opts { display: grid; gap: 0.5rem; }
.product__opts label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-dim); }
.product .btn { margin-top: 0.4rem; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field > label, .lbl {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mute);
}
.field .req { color: var(--teal); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%; background: var(--panel); color: var(--white);
  border: 1px solid var(--line-hi); border-radius: 3px;
  padding: 0.7rem 0.85rem; font-size: var(--t-sm);
  transition: border-color 0.18s ease, background 0.18s ease;
}
input::placeholder, textarea::placeholder { color: var(--mute-dim); }
input:hover, select:hover, textarea:hover { border-color: var(--mute-dim); }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; background: var(--panel-2); }
textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--line-hi); border-radius: 999px; padding: 0.45rem 0.9rem;
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--mute); cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.checks label:hover { border-color: var(--mute); color: var(--white); }
.checks input { accent-color: var(--teal); width: 14px; height: 14px; }
.checks input:checked + span { color: var(--teal); }

.form-note { font-size: var(--t-xs); color: var(--mute-dim); }
.form-status {
  border: 1px solid var(--teal); background: var(--teal-wash);
  padding: 0.9rem 1.1rem; border-radius: 3px; font-size: var(--t-sm); color: var(--white);
}
.form-status[data-tone="error"] { border-color: #E0603C; background: rgba(224, 96, 60, 0.1); }
.form-status[hidden] { display: none; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
thead th {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); background: var(--panel);
}
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--white); font-weight: 500; }
td { color: var(--mute); }
td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--white); }

/* ---------- process (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--ink); padding: 1.5rem 1.25rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.step__n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--teal); letter-spacing: 0.12em; }
.step h3 { font-size: var(--t-base); font-stretch: 105%; }
.step p { font-size: var(--t-sm); color: var(--mute); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.svc:last-of-type { border-bottom: 0; }
.svc__art { border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4 / 3; }
.svc__art img { width: 100%; height: 100%; object-fit: cover; }
.svc h3 { font-size: var(--t-xl); margin-bottom: 0.75rem; }
.svc p { color: var(--mute); }
.svc ul { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.svc li { position: relative; padding-left: 1.5rem; font-size: var(--t-sm); color: var(--mute); }
.svc li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 12px; height: 4px; border-radius: 2px; background: var(--teal);
}
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc__art { max-width: 300px; } }

/* ---------- CTA band ---------- */
.band {
  border: 1px solid var(--teal); background: var(--teal-wash);
  padding: clamp(2rem, 5vw, 3rem); display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-radius: 4px;
}
.band h2 { font-size: clamp(1.5rem, 3.5vw, var(--t-xl)); max-width: 22ch; }
.band p { color: var(--mute); margin-top: 0.6rem; max-width: 46ch; font-size: var(--t-sm); }

/* ---------- split panel (contact) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 1.5rem; }
.info-list div { display: grid; gap: 0.3rem; }
.info-list dt { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-dim); }
.info-list dd { margin: 0; font-size: var(--t-sm); color: var(--white); }
.info-list a { color: var(--teal); word-break: break-word; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: var(--t-md);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 2px;
  background: var(--teal); border-radius: 2px;
  box-shadow: 0 0 0 0 transparent; transition: transform 0.2s ease;
}
.faq summary::before {
  content: ""; position: absolute; right: 10px; top: 50%; width: 2px; height: 14px;
  margin-top: -7px; background: var(--teal); border-radius: 2px; transition: transform 0.2s ease;
}
.faq details[open] summary::before { transform: scaleY(0); }
.faq details p { padding-bottom: 1.25rem; color: var(--mute); max-width: 72ch; font-size: var(--t-sm); }

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72); z-index: 60;
  opacity: 0; transition: opacity 0.25s ease;
}
.scrim[hidden] { display: none; }
.scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--panel); border-left: 1px solid var(--line-hi); z-index: 61;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.28s cubic-bezier(.22,.61,.36,1);
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: var(--t-lg); }
.drawer__close {
  border: 1px solid var(--line-hi); background: transparent; border-radius: 999px;
  width: 34px; height: 34px; cursor: pointer; color: var(--white); line-height: 1;
  display: grid; place-items: center; font-size: 1.1rem;
}
.drawer__close:hover { border-color: var(--teal); color: var(--teal); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.25rem 1.4rem; display: grid; gap: 0.9rem; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); }
.drawer__total span:last-child { color: var(--teal); font-size: var(--t-lg); font-variant-numeric: tabular-nums; }
.cart-empty { color: var(--mute); font-size: var(--t-sm); }

.line-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.85rem; align-items: start; }
.line-item__img { border: 1px solid var(--line); background: var(--ink); aspect-ratio: 1; }
.line-item__name { font-weight: 600; font-size: var(--t-sm); line-height: 1.25; }
.line-item__opt { font-family: var(--f-mono); font-size: 0.68rem; color: var(--mute-dim); }
.line-item__price { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--teal); font-variant-numeric: tabular-nums; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-hi); border-radius: 999px; margin-top: 0.4rem; }
.qty button {
  width: 26px; height: 26px; border: 0; background: transparent; color: var(--teal);
  cursor: pointer; line-height: 1; font-size: 0.95rem;
}
.qty button:hover { color: var(--white); }
.qty span { min-width: 22px; text-align: center; font-family: var(--f-mono); font-size: var(--t-xs); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--panel); padding-block: 3rem 2rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a { color: var(--mute); font-size: var(--t-sm); }
.footer li > span { color: var(--mute); font-size: var(--t-sm); }
.footer a:hover { color: var(--white); }
.footer__brand p { color: var(--mute); font-size: var(--t-sm); margin-top: 1rem; max-width: 34ch; }
.footer__base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--mute-dim);
}

/* ---------- page-load: layers build up, like a print ---------- */
@keyframes layer-in { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.layers span { animation: layer-in 0.5s cubic-bezier(.22,.61,.36,1) both; }
.layers span:nth-child(1) { animation-delay: 0.30s; }
.layers span:nth-child(2) { animation-delay: 0.20s; }
.layers span:nth-child(3) { animation-delay: 0.10s; }
.layers span:nth-child(4) { animation-delay: 0s; }

/* ---------- utilities ---------- */
.stack { display: grid; gap: 1.25rem; align-content: start; }
.stack-sm { display: grid; gap: 0.75rem; align-content: start; }
.mt-lg { margin-top: 2.5rem; }
.center-narrow { max-width: 720px; margin-inline: auto; }
/* Honeypot: off-screen but NOT display:none — bots fill it, people never see it.
   Fixed rather than absolute so it doesn't extend the page's scroll area. */
.hp {
  position: fixed; left: -10000px; top: 0;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
