/* ==========================================================================
   coded-idea.com — site.css
   Concept: "goods-in". Near-black operating surface, hairline outlines, and one
   red signal (#F8302B) taken from the logo's blocks — used like an inspection
   stamp: it marks what has been read, checked and approved. Long-form reading
   happens on "paper", the document the system turns into structured data.
   ========================================================================== */

/* — Fonts (Google Fonts files, latin subset, referenced directly: no extra CSS request) — */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/instrumentsans/v4/pxicypc9vsFDm051Uf6KVwgkfoSbT2lBgGygpg.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8-qxTOlOVk6OThhvA.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* metric-matched fallback so the swap doesn't shove text around */
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 97%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* — Tokens — */
:root {
  --bg: #0e0e10;
  --bg-2: #121215;
  --surface: #17171b;
  --surface-2: #1e1e23;
  --rule: #2a2a31;
  --rule-strong: #3d3d46;
  --ink: #f3f1ec;
  --ink-2: #c9c6bf;
  --muted: #9a978f;
  --faint: #5d5b62;

  --red: #f8302b;          /* brand red: 5.0:1 on --bg — fine for text ≥ 14px bold / large */
  --red-text: #ff4d43;     /* small red text on lifted surfaces */
  --red-deep: #c4150f;     /* red text on paper (5.4:1) */
  --on-red: #0e0e10;       /* ink on red buttons (5.0:1) */

  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --paper-ink: #16161a;
  --paper-muted: #55534e;
  --paper-rule: #d6d0c1;

  --focus: #f3f1ec;

  --sans: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-thunk: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  --section: clamp(5rem, 11vw, 10.5rem);

  color-scheme: dark;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { display: block; outline: none; }
a { color: inherit; }
::selection { background: var(--red); color: var(--on-red); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.paper :focus-visible, .faq--paper :focus-visible { --focus: var(--paper-ink); }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* — Utilities — */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--mono); font-weight: 500; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: var(--red); color: var(--on-red); font-weight: 600;
  padding: 12px 16px; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease-out);
}
.skip:focus { transform: none; }

/* Owner / verify placeholders — only rendered in --drafts builds */
mark.todo {
  background: #ffe14d; color: #1d1800;
  font: 600 0.82em/1.35 var(--mono); letter-spacing: 0;
  padding: .12em .4em; border-radius: 2px;
  outline: 1px dashed #b38f00; outline-offset: 1px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-transform: none; font-stretch: 100%;
}

/* — Type — */
.display {
  font-weight: 600;
  font-stretch: 86%;
  font-size: clamp(2.45rem, 1.1rem + 5.4vw, 6rem);
  line-height: .96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-weight: 600;
  font-stretch: 88%;
  font-size: clamp(2.1rem, 1.2rem + 3.3vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  text-wrap: pretty;
}
.label, .eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 500;
  font-size: .8125rem; line-height: 1.3;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { color: var(--ink-2); }
.label__n { color: var(--red); margin-right: 6px; }
.paper .label__n { color: var(--red-deep); }
.sig { width: 8px; height: 8px; background: var(--red); flex: none; }

.link-u {
  display: inline-flex; align-items: center; gap: 8px;
  color: inherit; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease-out);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-u .i-arrow { transition: transform .2s var(--ease-out); }
.link-u:hover .i-arrow { transform: translateX(4px); }

/* — Buttons — */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 0 20px;
  font-size: .96875rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 0;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.btn .i-arrow { flex: none; transition: transform .25s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 1rem; }

.btn--primary { background: var(--red); color: var(--on-red); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease-out);
}
.btn--primary:hover::before { transform: scaleX(1); transform-origin: 0 50%; }

.btn--ghost { color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--ink { background: var(--paper-ink); color: var(--paper); }
.btn--ink:hover { background: var(--red-deep); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ==========================================================================
   Header + navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; padding: 8px 0; }
.brand img { height: 26px; width: auto; }
.brand--footer img { height: 30px; }

.nav { display: none; }
.site-header__cta { display: none; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; transition: color .15s;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active, .nav__toggle[aria-expanded="true"] { color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-active { box-shadow: inset 0 -2px 0 var(--red); }
.chev { transition: transform .25s var(--ease-out); }
.nav__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.sub {
  position: absolute; top: calc(100% + 11px); left: -8px; z-index: 5;
  width: 340px; padding: 8px;
  background: var(--surface); border: 1px solid var(--rule);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .18s var(--ease-out), transform .25s var(--ease-out), visibility 0s linear .25s;
}
.sub::before { /* hover bridge across the gap */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.has-sub.is-open .sub,
.no-js .has-sub:hover .sub,
.no-js .has-sub:focus-within .sub {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .18s var(--ease-out), transform .25s var(--ease-out), visibility 0s;
}
.sub ul { list-style: none; padding: 0; margin: 0; }
.sub__link {
  position: relative; display: grid; gap: 2px;
  padding: 12px 14px 12px 30px; text-decoration: none;
  transition: background-color .15s;
}
.sub__link::before {
  content: ""; position: absolute; left: 13px; top: 19px;
  width: 7px; height: 7px; border: 1px solid var(--rule-strong);
  transition: background-color .15s, border-color .15s;
}
.sub__link:hover, .sub__link[aria-current="page"] { background: var(--surface-2); }
.sub__link:hover::before, .sub__link[aria-current="page"]::before { background: var(--red); border-color: var(--red); }
.sub__label { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.sub__note { font-size: .8125rem; color: var(--muted); line-height: 1.4; }

/* mobile menu button */
.menu-btn {
  display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
}
.menu-btn__bars { position: relative; width: 22px; height: 12px; }
.menu-btn__bars i {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.menu-btn__bars i:first-child { top: 0; }
.menu-btn__bars i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 5px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--rule);
}
.mnav[hidden] { display: none; }
.mnav__in { padding-block: 24px 48px; }
.mnav__group {
  font: 500 .8125rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 24px 0 4px;
}
.mnav__list li { border-bottom: 1px solid var(--rule); }
.mnav__list a {
  display: flex; align-items: center; min-height: 56px;
  font-size: 1.375rem; font-weight: 600; font-stretch: 92%; letter-spacing: -0.015em;
  text-decoration: none;
}
.mnav__list a[aria-current="page"] { color: var(--red); }
.mnav__list--flat { margin-top: 24px; border-top: 1px solid var(--rule); }
.mnav__cta { width: 100%; margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .mnav:not([hidden]) .mnav__in > * { animation: rise .5s var(--ease-out) both; }
  .mnav:not([hidden]) .mnav__in > :nth-child(2) { animation-delay: 40ms; }
  .mnav:not([hidden]) .mnav__in > :nth-child(3) { animation-delay: 80ms; }
  .mnav:not([hidden]) .mnav__in > :nth-child(4) { animation-delay: 120ms; }
  .mnav:not([hidden]) .mnav__in > :nth-child(n+5) { animation-delay: 160ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
html.menu-open { overflow: hidden; }

@media (min-width: 520px) {
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn, .mnav { display: none !important; }
  .brand { margin-right: 16px; }
  .nav { margin-right: auto; }
}
/* No-JS: the mobile panel can't open, so show the plain nav inline */
@media (max-width: 1079.98px) {
  .no-js .menu-btn { display: none; }
  .no-js .site-header__in { flex-wrap: wrap; height: auto; padding-block: 8px; }
  .no-js .nav { display: block; width: 100%; }
  .no-js .nav__list { flex-wrap: wrap; }
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.section { padding-block: var(--section); }
.sec-head { margin-bottom: clamp(2.75rem, 6vw, 5rem); display: grid; gap: 20px; }
.sec-head .h2 { max-width: 16ch; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .sec-head--split .label { grid-column: 1 / span 3; align-self: start; padding-top: .9em; }
  .sec-head--split .h2 { grid-column: 4 / span 9; }
}

/* Reveal: final state is the default. Only hidden when JS runs and motion is OK. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); position: relative; }
.hero::before { /* faint manifest grid, top-right only */
  content: ""; position: absolute; inset: 0 0 auto auto; width: min(70vw, 1100px); height: 100%;
  background-image:
    linear-gradient(to right, var(--rule) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
  opacity: .5; pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 24px; }
.hero__title { max-width: 20ch; margin-bottom: clamp(.75rem, 2vw, 1.75rem); }
.hero__copy { display: grid; gap: 28px; align-content: start; }
.proof {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9375rem; color: var(--ink-2); max-width: 46ch;
  padding-top: 20px; border-top: 1px solid var(--rule);
}
.proof__tick { width: 10px; height: 10px; margin-top: .45em; background: var(--red); flex: none; }
.proof--quiet { border-top: 0; padding-top: 0; color: var(--muted); }

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  .hero__eyebrow, .hero__title { grid-column: 1 / -1; }
  .hero__eyebrow { margin-bottom: 28px; }
  .hero__copy { grid-column: 1 / span 5; padding-top: 12px; padding-right: 16px; }
  .intake { grid-column: 6 / -1; margin-right: calc(-1 * var(--gutter)); }
}
@media (min-width: 1400px) {
  .intake { margin-right: 0; }
}

/* — Intake machine (hero illustration) — */
.intake { margin-top: 12px; }
.intake__stage {
  position: relative;
  display: grid;
  grid-template-rows: 196px 34px auto;
  border: 1px solid var(--rule);
  background:
    radial-gradient(circle at 1px 1px, var(--rule) 1px, transparent 1.5px) 0 0 / 16px 16px,
    var(--bg-2);
  overflow: hidden;
  font-size: 13px; line-height: 1.35;
  --exit-x: 0px; --exit-y: 150px;
}
.intake__lane { position: relative; padding: 14px 14px 0; min-width: 0; }
.intake__tag {
  display: flex; justify-content: space-between;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.intake__count { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.intake__pile { position: absolute; inset: 36px 14px 0; }

.doc {
  position: absolute; width: min(64%, 250px);
  padding: 10px 12px 12px;
  background: var(--paper); color: var(--paper-ink);
  border: 1px solid var(--paper-rule);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .7);
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg));
  transition: transform .9s var(--ease-move), opacity .6s var(--ease-out);
  z-index: calc(10 - var(--i));
}
.doc--email { --x: 0%;   --y: 0px;  --r: -3deg; left: 0; top: 0; }
.doc--pdf   { --x: 0%;   --y: 0px;  --r: 2.5deg; left: 34%; top: 6px; }
.doc--chat  { --x: 0%;   --y: 0px;  --r: -1.5deg; left: 6%; top: 84px; }
.doc--phone { --x: 0%;   --y: 0px;  --r: 3deg; left: 38%; top: 92px; }
.doc p { margin: 0; }
.doc__meta {
  display: flex; align-items: center; gap: 6px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .04em; color: var(--paper-muted);
  margin-bottom: 7px !important;
}
.doc__meta span { margin-left: auto; }
.doc__subj { font-weight: 600; font-size: 12.5px; margin-bottom: 3px !important; }
.doc__body { font-size: 12px; color: #3a3935; }
.doc__h { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; margin-bottom: 8px !important; }
.doc__table { display: grid; gap: 5px; }
.doc__table i { display: block; height: 5px; background: var(--paper-2); }
.doc__table i:nth-child(2) { width: 80%; }
.doc__table i:nth-child(3) { width: 62%; }
.doc__table b { font-weight: 600; font-size: 12px; margin-top: 2px; }
.doc--chat { background: #e8f0e4; border-color: #cfdcc8; border-radius: 12px 12px 12px 2px; }
.doc__bubble { font-size: 12.5px; }
.doc--phone { background: var(--surface-2); color: var(--ink); border-color: var(--rule-strong); }
.doc--phone .doc__meta { color: var(--muted); }
.doc--phone .doc__body { color: var(--ink-2); font-style: normal; }
.doc__wave { display: flex; align-items: center; gap: 3px; height: 20px; margin-bottom: 6px; }
.doc__wave i { width: 3px; background: var(--muted); height: 30%; }
.doc__wave i:nth-child(3n) { height: 80%; }
.doc__wave i:nth-child(4n+1) { height: 55%; }
.doc__wave i:nth-child(5n+2) { height: 100%; background: var(--red); }
.si { width: 13px; height: 13px; flex: none; }

.intake__reader { position: relative; display: flex; align-items: center; justify-content: center; }
.intake__reader::before { /* the read line */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--red);
}
.intake__beam {
  position: absolute; top: calc(50% - 10px); left: 0; width: 90px; height: 21px;
  background: linear-gradient(90deg, transparent, rgb(248 48 43 / .45), transparent);
  opacity: 0;
}
.intake__reader-tag {
  position: relative; z-index: 1;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-text); background: var(--bg-2); padding: 5px 8px; border: 1px solid var(--red);
}

.order {
  position: relative; margin: 0 12px 12px;
  background: var(--surface); border: 1px solid var(--rule);
  min-width: 0;
}
.order p { margin: 0; }
.order__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 14px 14px 12px; border-bottom: 1px solid var(--rule);
}
.order__kicker { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px !important; }
.order__no { font: 500 15px/1.2 var(--mono); color: var(--ink); }
.order__no span { color: var(--muted); font-size: 12px; font-family: var(--sans); }
.order__status {
  flex: none; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 8px; border: 1px solid var(--rule-strong); color: var(--ink-2);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.order__cols, .order__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px 92px; column-gap: 10px; align-items: center;
  padding: 0 14px;
}
.order__cols { height: 30px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.order__cols span:nth-child(2), .order__qty { text-align: right; }
.order__rows { counter-reset: none; }
.order__row { position: relative; height: 40px; border-top: 1px solid var(--rule); font-size: 13px; }
.order__row::before { /* red intake flash */
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: 50% 0; transition: transform .5s var(--ease-out);
}
.order__cell { transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); min-width: 0; }
.order__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.order__item .si { color: var(--muted); }
.order__qty { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.order__stock { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.order__stock em { font-style: normal; color: var(--muted); margin-right: 2px; }
.order__stock span { display: inline-block; transition: color .4s; }
.order__stock span.is-tick { color: var(--red-text); }
.order__skel {
  position: absolute; inset: 0 14px; display: grid; grid-template-columns: minmax(0,1fr) 40px 92px; column-gap: 10px; align-items: center;
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.order__skel i { height: 7px; background: var(--surface-2); }
.order__skel i:first-child { width: 70%; }
.order__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border-top: 1px solid var(--rule);
}
.order__check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); min-width: 0; }
.order__check-i { width: 8px; height: 8px; border: 1px solid var(--red); background: var(--red); flex: none; transition: background-color .3s; }
.order__approve {
  flex: none; font-size: 12.5px; font-weight: 600; padding: 7px 12px;
  background: var(--red); color: var(--on-red);
  transition: transform .15s var(--ease-out), background-color .3s, color .3s;
}
.stamp {
  display: inline-block;
  font: 700 18px/1 var(--sans); font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-text); border: 2.5px solid currentColor; padding: 8px 12px 7px;
  outline: 1px solid currentColor; outline-offset: 3px;
}
.order__stamp {
  position: absolute; right: 18px; bottom: 58px; z-index: 3;
  background: rgb(23 23 27 / .82);
  transform: rotate(-9deg);
  transition: opacity .2s linear, transform .45s var(--ease-thunk);
}

/* — Intake states (JS adds .is-live and steps through; .is-done = static final frame) — */
.intake.is-live .order__row:not(.is-in) .order__cell { opacity: 0; transform: translateX(-10px); }
.intake.is-live .order__row:not(.is-in) .order__skel { opacity: 1; }
.intake.is-live .order__row.is-in::before { transform: scaleY(1); }
.intake.is-live:not(.is-checked) .order__check-i { background: transparent; }
.intake.is-live:not(.is-checked) .order__approve { background: var(--surface-2); color: var(--muted); }
.intake.is-live:not(.is-approved) .order__stamp { opacity: 0; transform: rotate(-9deg) scale(1.7); }
.intake.is-press .order__approve { transform: scale(.94); }
.intake.is-live .doc.is-read {
  transform: translate(var(--exit-x), var(--exit-y)) rotate(0deg) scale(.35);
  opacity: 0;
}
.intake.is-reading .intake__beam { animation: beam-h 1.1s var(--ease-move) both; }
.intake.is-reset .doc { transition: opacity .6s var(--ease-out); }
.intake.is-reset .order__row::before { transform: scaleY(0); }
@keyframes beam-h {
  0% { opacity: 0; transform: translateX(-90px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(var(--beam-run, 600px))); }
}
@keyframes beam-v {
  0% { opacity: 0; transform: translateY(-90px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--beam-run, 440px)); }
}

/* desktop: left → right flow */
@media (min-width: 700px) {
  .intake__stage {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 38%) 40px minmax(0, 1fr);
    height: 452px;
    --exit-x: 150px; --exit-y: 0px;
  }
  .intake__lane { padding: 16px 0 16px 16px; }
  .intake__pile { inset: 46px 0 16px 16px; }
  .doc { width: 88%; }
  .doc--email { left: 0; top: 0; }
  .doc--pdf   { left: 8%; top: 92px; }
  .doc--chat  { left: 2%; top: 196px; }
  .doc--phone { left: 10%; top: 270px; }
  .intake__reader::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .intake__beam {
    top: 0; left: calc(50% - 10px); width: 21px; height: 90px;
    background: linear-gradient(180deg, transparent, rgb(248 48 43 / .5), transparent);
  }
  .intake.is-reading .intake__beam { animation-name: beam-v; }
  .intake__reader-tag { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 5px; }
  .order { margin: 16px 16px 16px 0; align-self: center; }
  .order__row { height: 46px; }
  .order__stamp { bottom: 70px; right: 22px; font-size: 20px; }
}

/* ==========================================================================
   Problems — the before/after ledger
   ========================================================================== */
.problems { border-top: 1px solid var(--rule); }
.ledger__cols { display: none; }
.ledger__row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 10px;
  padding-block: 26px; border-top: 1px solid var(--rule);
}
.ledger__row:last-child { border-bottom: 1px solid var(--rule); }
.ledger__n { grid-row: span 3; font: 500 .8125rem/2 var(--mono); color: var(--red); }
.ledger__before { font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem); line-height: 1.4; color: var(--muted); }
.ledger__arrow { color: var(--faint); transform: rotate(90deg); width: 18px; }
.ledger__after { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; text-wrap: pretty; }
.strike {
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 60% / 100% 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (prefers-reduced-motion: no-preference) {
  .js .ledger__row .strike { transition: background-size 1s var(--ease-out) calc(var(--i, 0) * 80ms + 350ms); }
  .js .ledger__row:not(.is-in) .strike { background-size: 0% 2px; }
}
@media (min-width: 820px) {
  .ledger__cols, .ledger__row {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) 72px minmax(0, 1.1fr); column-gap: 24px; align-items: baseline;
  }
  .ledger__cols {
    padding-bottom: 14px;
    font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  }
  .ledger__cols span:last-child { color: var(--ink-2); }
  .ledger__row { padding-block: 34px; }
  .ledger__n { grid-row: auto; }
  .ledger__arrow { transform: none; color: var(--red); justify-self: center; }
}

/* ==========================================================================
   Screenshot slot
   ========================================================================== */
.shot { padding-bottom: clamp(3rem, 6vw, 5rem); }
.problems:has(+ .shot) { padding-bottom: clamp(3rem, 6vw, 5rem); }
.device { border: 1px solid var(--rule-strong); background: var(--surface); }
.device__bar {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-bottom: 1px solid var(--rule);
  font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted);
}
.device__bar i { width: 8px; height: 8px; border: 1px solid var(--rule-strong); }
.device__bar i:first-child { background: var(--red); border-color: var(--red); }
.device__bar span { margin-left: 14px; }
.device__screen { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.device__placeholder {
  height: 100%; display: grid; place-content: center; gap: 16px; text-align: center; padding: 24px;
  margin: 12px; border: 1px dashed var(--rule-strong); height: calc(100% - 24px);
}
.device__placeholder .label { justify-content: center; }
.device figcaption {
  padding: 12px 14px; border-top: 1px solid var(--rule);
  font-size: .875rem; color: var(--muted);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    .shot .wrap { perspective: 1400px; }
    .shot .device { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .js .shot .device.reveal:not(.is-in) { opacity: 1; }
  }
}
@keyframes tilt-in { from { transform: rotateX(16deg) scale(.94); transform-origin: 50% 100%; } to { transform: none; } }

/* ==========================================================================
   Modules — hairline bento
   ========================================================================== */
.modules { border-top: 1px solid var(--rule); }
.bento {
  display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); padding: clamp(24px, 3vw, 40px);
  min-height: 340px;
  transition: background-color .3s var(--ease-out);
}
.card:hover { background: var(--bg-2); }
.card__art { color: var(--faint); margin-bottom: auto; padding-bottom: 32px; transition: color .3s; }
.card__art svg { width: 100%; max-width: 280px; height: auto; overflow: visible; }
.card__hot { fill: var(--red); transition: transform .5s var(--ease-out); }
.card:hover .card__art { color: var(--muted); }
.card:hover .card__hot { transform: translate(4px, -4px); }
.card__svgtxt { font: 500 8px/1 var(--mono); letter-spacing: .1em; fill: var(--on-red); }
.card__n { font: 500 .75rem/1 var(--mono); letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.card__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; font-stretch: 92%; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -6px; }
.card__text { color: var(--ink-2); max-width: 42ch; font-size: 1rem; }
.card__go {
  position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--rule-strong); color: var(--ink);
  transition: background-color .25s, border-color .25s, color .25s;
}
.card__go .i-arrow { transform: rotate(-45deg); transition: transform .35s var(--ease-out); }
.card:hover .card__go { background: var(--red); border-color: var(--red); color: var(--on-red); }
.card:hover .card__go .i-arrow { transform: rotate(0deg); }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .card--1 { grid-column: span 7; min-height: 420px; }
  .card--2 { grid-column: span 5; min-height: 420px; }
  .card--3 { grid-column: span 5; }
  .card--4 { grid-column: span 7; }
  .card--1 .card__art svg, .card--4 .card__art svg { max-width: 340px; }
}

/* ==========================================================================
   Paper surface + vape section
   ========================================================================== */
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper .label { color: var(--paper-muted); }
.paper .h2 { color: var(--paper-ink); }

.vape__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.vape__copy { display: grid; gap: 28px; align-content: start; justify-items: start; }
.vape__text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; max-width: 58ch; color: #34332f; text-wrap: pretty; }
.checks { display: grid; gap: 0; width: 100%; max-width: 60ch; border-top: 1px solid var(--paper-rule); }
.checks li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--paper-rule); font-weight: 500;
}
.checks__box { position: relative; width: 18px; height: 18px; margin-top: .2em; border: 1.5px solid var(--paper-ink); }
.checks__box::after {
  content: ""; position: absolute; inset: 2px; background: var(--red);
  transition: transform .5s var(--ease-thunk) calc(var(--i, 0) * 90ms + 250ms);
}
@media (prefers-reduced-motion: no-preference) {
  .js .checks li:not(.is-in) .checks__box::after { transform: scale(0); }
}
.vape__note { font-size: .9375rem; color: var(--paper-muted); max-width: 60ch; }

.ledger-ui {
  align-self: start;
  background: var(--bg); color: var(--ink); border: 1px solid var(--paper-ink);
  box-shadow: 14px 14px 0 var(--paper-2);
  font-size: .9375rem;
}
.ledger-ui__head, .ledger-ui__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px;
  padding: 16px 20px;
}
.ledger-ui__head { border-bottom: 1px solid var(--rule); }
.ledger-ui__head p, .ledger-ui__foot p { margin: 0; display: flex; align-items: center; gap: 10px; }
.ledger-ui .label { color: var(--muted); display: inline; }
.ledger-ui__head strong { font: 500 1rem/1 var(--mono); }
.ledger-ui__duty { font: 500 .8125rem/1 var(--mono); color: var(--muted); }
.ledger-ui__duty strong { color: var(--ink); }
.ledger-ui__t { width: 100%; font-size: .875rem; }
.ledger-ui__t th {
  text-align: left; padding: 10px 20px; font: 500 .6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.ledger-ui__t td { padding: 14px 20px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.ledger-ui__t .num { text-align: right; }
.chip {
  display: inline-block; font: 500 .75rem/1 var(--mono); letter-spacing: .04em;
  padding: 5px 8px; border: 1px solid currentColor;
}
.chip--ok { color: var(--ink); }
.chip--warn { color: var(--ink-2); border-style: dashed; }
.chip--stop { color: var(--on-red); background: var(--red); border-color: var(--red); }
.ledger-ui__foot { font-size: .875rem; }
.ledger-ui__days { color: var(--ink-2); }
.ledger-ui__days strong { font: 500 1rem/1 var(--mono); color: var(--red); font-variant-numeric: tabular-nums; }
.ledger-ui__cap { padding: 10px 20px; border-top: 1px solid var(--rule); font: 500 .6875rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ledger-ui .table-scroll { overflow-x: auto; }
@media (max-width: 480px) {
  .ledger-ui__t th, .ledger-ui__t td { padding-inline: 12px; }
  .ledger-ui__t th:nth-child(4), .ledger-ui__t td:nth-child(4) { display: none; }
}
@media (min-width: 1000px) {
  .vape__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .vape__copy { grid-column: 1 / span 6; }
  .ledger-ui { grid-column: 7 / -1; position: sticky; top: calc(var(--header-h) + 40px); margin-top: 6rem; min-width: 0; }
  .ledger-ui__t th, .ledger-ui__t td { padding-inline: 14px; }
}
@media (min-width: 1240px) {
  .ledger-ui { grid-column: 8 / -1; }
  .ledger-ui__t th, .ledger-ui__t td { padding-inline: 20px; }
}

/* ==========================================================================
   AI automation
   ========================================================================== */
.ai__grid { display: grid; gap: 3rem; }
.ai__head { display: grid; gap: 24px; align-content: start; justify-items: start; }
.ai__text { color: var(--ink-2); max-width: 46ch; font-size: 1.125rem; }
.ai__list { border-top: 1px solid var(--rule); }
.ai__item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px;
  padding-block: 28px; border-bottom: 1px solid var(--rule);
}
.ai__n { font: 500 .8125rem/1.9 var(--mono); color: var(--red); }
.ai__name { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 600; font-stretch: 92%; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; }
.ai__item p { color: var(--ink-2); max-width: 52ch; }
.ai__flow { display: none; }
@media (min-width: 1000px) {
  .ai__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .ai__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
  .ai__list { grid-column: 7 / -1; }
  .ai__item { grid-template-columns: 56px minmax(0, 1fr) 72px; padding-block: 36px; }
  .ai__flow { display: flex; align-items: center; gap: 6px; justify-content: flex-end; padding-top: 10px; }
  .ai__flow i { width: 6px; height: 6px; border: 1px solid var(--faint); transition: transform .5s var(--ease-out), border-color .3s; }
  .ai__flow b { width: 14px; height: 14px; border: 1px solid var(--rule-strong); transition: background-color .3s, border-color .3s; }
  .ai__item:hover .ai__flow i { transform: translateX(12px); border-color: var(--red); }
  .ai__item:hover .ai__flow i + i { transform: translateX(6px); }
  .ai__item:hover .ai__flow b { background: var(--red); border-color: var(--red); }
}

/* ==========================================================================
   Process — the route
   ========================================================================== */
.process { background: var(--bg-2); border-block: 1px solid var(--rule); }
.route { position: relative; }
.route__line { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--rule-strong); }
.route__line span { position: absolute; inset: 0; background: var(--red); transform-origin: 50% 0; }
.route__list { display: grid; gap: 40px; }
.route__stop { position: relative; padding-left: 40px; }
.route__node {
  position: absolute; left: 0; top: 4px; width: 13px; height: 13px;
  background: var(--bg-2); border: 1.5px solid var(--ink-2);
}
.route__stop:first-child .route__node { background: var(--red); border-color: var(--red); }
.route__n { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.route__name { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 600; font-stretch: 92%; letter-spacing: -0.02em; margin-bottom: 10px; }
.route__text { color: var(--ink-2); max-width: 34ch; }
@media (min-width: 900px) {
  .route__line { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .route__line span { transform-origin: 0 50%; }
  .route__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .route__stop { padding-left: 0; padding-top: 44px; }
  .route__node { top: 0; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .route__line span { animation: fill-y linear both; animation-timeline: view(); animation-range: entry 20% cover 60%; }
  }
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
    .route__line span { animation-name: fill-x; }
  }
}
@keyframes fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fill-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ==========================================================================
   Honesty — who we are
   ========================================================================== */
.honesty__grid { display: grid; gap: 24px; }
.honesty .h2 { margin-bottom: 28px; }
.honesty__text {
  font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); line-height: 1.4; letter-spacing: -0.012em;
  color: var(--ink-2); max-width: 36ch; text-wrap: pretty; margin-bottom: 32px;
}
@media (min-width: 900px) {
  .honesty__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .honesty__grid > .label { grid-column: 1 / span 3; align-self: start; padding-top: 1em; }
  .honesty__grid > div { grid-column: 4 / span 8; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: var(--section); border-top: 1px solid var(--rule); }
.faq--paper { background: var(--paper); color: var(--paper-ink); border-top-color: var(--paper-rule); }
.faq__grid { display: grid; gap: 2.5rem; }
.faq__head { display: grid; gap: 20px; align-content: start; }
.faq__list { border-top: 1px solid var(--rule); }
.faq--paper .faq__list, .faq--paper .faq__item { border-color: var(--paper-rule); }
.faq--paper .label { color: var(--paper-muted); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.faq__plus { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid currentColor; margin-top: -2px; opacity: .7; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor;
  transition: transform .3s var(--ease-out);
}
.faq__plus::after { transform: rotate(90deg); }
details[open] > summary .faq__plus { opacity: 1; background: var(--red); border-color: var(--red); color: var(--on-red); }
details[open] > summary .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 28px 0; }
.faq__a p { color: var(--ink-2); max-width: 64ch; }
.faq--paper .faq__a p { color: #34332f; }
@media (prefers-reduced-motion: no-preference) {
  details[open] > .faq__a { animation: rise .45s var(--ease-out); }
}
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .faq__list { grid-column: 5 / -1; }
}

/* ==========================================================================
   CTA band + mark construction drawing
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.cta-band__grid { display: grid; gap: 3rem; align-items: center; }
.cta-band__copy { display: grid; gap: 28px; justify-items: start; position: relative; z-index: 1; }
.cta-band__title {
  font-weight: 600; font-stretch: 86%;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem); line-height: .98; letter-spacing: -0.035em;
  max-width: 17ch; text-wrap: balance;
}
.cta-band__text { color: var(--ink-2); font-size: 1.125rem; max-width: 50ch; }
.cta-band__mail { color: var(--ink-2); }
.cta-band__art { color: var(--ink); max-width: 520px; width: 100%; justify-self: center; }
.markdraw { width: 100%; height: auto; overflow: visible; }
.markdraw__guides { color: var(--rule-strong); }
.markdraw__outline path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.markdraw__fill path { fill: var(--red); }
.markdraw__dims text { font-family: var(--mono); font-weight: 500; fill: var(--muted); letter-spacing: .06em; }
@media (prefers-reduced-motion: no-preference) {
  .js .markdraw.reveal { opacity: 1; transform: none; }
  .markdraw__outline path { transition: stroke-dashoffset 1.6s var(--ease-move); }
  .markdraw__outline path:nth-child(2) { transition-delay: .15s; }
  .markdraw__outline path:nth-child(3) { transition-delay: .3s; }
  .markdraw__outline path:nth-child(4) { transition-delay: .45s; }
  .markdraw__fill path { transition: opacity .4s linear 1.3s, transform .6s var(--ease-thunk) 1.3s; transform-box: fill-box; transform-origin: center; }
  .markdraw__guides, .markdraw__dims { transition: opacity 1s linear .2s; }
  .js .markdraw:not(.is-in) .markdraw__outline path { stroke-dashoffset: 1; }
  .js .markdraw:not(.is-in) .markdraw__fill path { opacity: 0; transform: scale(.6); }
  .js .markdraw:not(.is-in) .markdraw__guides, .js .markdraw:not(.is-in) .markdraw__dims { opacity: 0; }
}
@media (min-width: 900px) {
  .cta-band__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .cta-band__copy { grid-column: 1 / span 7; }
  .cta-band__art { grid-column: 8 / -1; max-width: none; margin-right: calc(-1 * var(--gutter)); }
}
@media (max-width: 899.98px) {
  .cta-band__art { max-width: 360px; justify-self: start; }
}

/* ==========================================================================
   Breadcrumb + page head (service pages)
   ========================================================================== */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 28px; font: 500 .8125rem/1.5 var(--mono); color: var(--muted); }
.crumbs li { display: flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--faint); }
.crumbs a { color: var(--ink-2); text-decoration: none; padding-block: 10px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

.page-head { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--rule); }
.page-head .eyebrow { margin-bottom: 24px; }
.display--page { font-size: clamp(2.35rem, 1.2rem + 4.2vw, 5rem); max-width: 18ch; text-wrap: pretty; }
.page-head__lead { margin-top: 28px; max-width: 52ch; }
.page-head__cta { margin-top: 36px; }

.page-body { display: grid; gap: 3rem; padding-block: clamp(3rem, 7vw, 6rem) var(--section); }
.aside-card { border: 1px solid var(--rule); padding: 24px; display: grid; gap: 18px; justify-items: start; background: var(--bg-2); }
.aside-card__t { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 1000px) {
  .page-body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .page-body .prose { grid-column: 1 / span 8; }
  .page-aside { grid-column: 10 / -1; }
  .aside-card { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ==========================================================================
   Prose — rendered Markdown (service pages on dark, guides on paper)
   ========================================================================== */
.prose {
  --p-ink: var(--ink); --p-body: var(--ink-2); --p-muted: var(--muted); --p-rule: var(--rule);
  --p-link: var(--ink); --p-link-line: var(--red); --p-head-bg: var(--surface); --p-row: var(--bg);
  --p-accent: var(--red);
  font-size: 1.0625rem; line-height: 1.7; color: var(--p-body);
  min-width: 0; counter-reset: sec;
}
.prose--paper {
  --p-ink: var(--paper-ink); --p-body: #2b2a27; --p-muted: var(--paper-muted); --p-rule: var(--paper-rule);
  --p-link: var(--red-deep); --p-link-line: currentColor; --p-head-bg: var(--paper-2); --p-row: var(--paper);
  --p-accent: var(--red-deep);
}
@media (min-width: 900px) { .prose { font-size: 1.125rem; } }
.prose > * { max-width: 37em; }   /* ≈ 68–72 characters of Instrument Sans */
.prose > .table-wrap, .prose > .calc, .prose > .inline-cta { max-width: none; }
.prose > .inline-cta { max-width: 37em; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  counter-increment: sec;
  margin-top: 2.6em; padding-top: 1.1em; border-top: 1px solid var(--p-rule);
  color: var(--p-ink); font-weight: 600; font-stretch: 90%;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); line-height: 1.1; letter-spacing: -0.025em;
  text-wrap: balance;
}
.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block; margin-bottom: .75em;
  font: 500 .8125rem/1 var(--mono); letter-spacing: .12em; color: var(--p-accent);
}
.prose h3 { margin-top: 2em; color: var(--p-ink); font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { text-wrap: pretty; }
.prose strong { color: var(--p-ink); font-weight: 600; }
.prose a {
  color: var(--p-link); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--p-link-line); text-decoration-thickness: 1px; text-underline-offset: .22em;
  transition: text-decoration-thickness .15s;
}
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.6em; }
.prose li + li { margin-top: .55em; }
.prose ul > li::before {
  content: ""; position: absolute; left: .15em; top: .68em; width: 7px; height: 7px; background: var(--p-accent);
}
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before {
  content: counter(li); position: absolute; left: 0; top: .12em;
  font: 500 .8em/1.9 var(--mono); color: var(--p-accent);
}
.prose blockquote { border-left: 2px solid var(--p-accent); padding-left: 1.25em; font-size: 1.1em; color: var(--p-ink); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--p-head-bg); padding: .1em .35em; }
.prose hr { border: 0; border-top: 1px solid var(--p-rule); margin-block: 3em; }
.prose img { border: 1px solid var(--p-rule); }
.prose > p:last-child em { color: var(--p-muted); font-size: .92em; }
.prose > p:first-of-type:first-child { font-size: 1.12em; color: var(--p-ink); line-height: 1.6; }

/* — UI mockup figures: <figure class="ui-figure"><img …><figcaption>…</figcaption></figure> — */
.ui-figure {
  --f-rule: var(--p-rule, var(--rule));
  --f-shadow: 0 28px 60px -30px rgb(0 0 0 / .85), 0 2px 0 rgb(255 255 255 / .02) inset;
  margin-block: 2.2em;
  min-width: 0;
}
.prose > .ui-figure { max-width: none; margin-top: 2.2em; }
.prose > .ui-figure + * { margin-top: 2em; }
.prose--paper .ui-figure { --f-shadow: 0 22px 44px -26px rgb(22 22 26 / .45); }
.ui-figure img, .prose .ui-figure img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--f-rule); border-radius: 6px;
  background: var(--bg);
  box-shadow: var(--f-shadow);
}
.prose--paper .ui-figure img { border-color: #cbc4b3; }
.ui-figure figcaption {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 14px; max-width: 64ch;
  font-size: .875rem; line-height: 1.5; color: var(--p-muted, var(--muted));
  text-wrap: pretty;
}
.ui-figure figcaption::before {
  content: ""; flex: none; width: 7px; height: 7px; background: var(--red); transform: translateY(-1px);
}
/* portrait phone mockups (rep-app.svg): keep them phone-sized */
.ui-figure--phone, .ui-figure:has(> img[width="390"]) { max-width: 390px !important; margin-inline: auto; }
.ui-figure--phone img, .ui-figure:has(> img[width="390"]) img { border: 0; border-radius: 52px; background: transparent; box-shadow: none; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .35)); }
.ui-figure--phone figcaption, .ui-figure:has(> img[width="390"]) figcaption { justify-content: center; }
/* tables — scroll inside their wrapper, never the page */
.prose .table-wrap {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--p-rule); margin-top: 1.8em; margin-bottom: .6em;
  scrollbar-width: thin; position: relative;
}
.prose .table-wrap:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; font-size: .9375rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; min-width: 9.5rem; border-bottom: 1px solid var(--p-rule); }
.prose th {
  background: var(--p-head-bg); color: var(--p-ink);
  font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.prose td { color: var(--p-body); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: color-mix(in srgb, var(--p-head-bg) 45%, transparent); }
.prose td:first-child { color: var(--p-ink); font-weight: 500; }
.prose th + th, .prose td + td { border-left: 1px solid var(--p-rule); }
.table-hint {
  display: none; margin-top: 0 !important;
  font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--p-muted);
}
.table-wrap.is-scroll + .table-hint { display: block; }
@media (max-width: 640px) {
  .prose table { font-size: .9rem; }
  .prose th, .prose td { padding: 12px 14px; }
  .prose th:first-child, .prose td:first-child {
    position: sticky; left: 0; z-index: 1; background: var(--p-row);
    box-shadow: 1px 0 0 var(--p-rule);
    min-width: 8.5rem; max-width: 10rem;
  }
  .prose td + td, .prose th + th { min-width: 12rem; }
  .prose th:first-child { background: var(--p-head-bg); }
}

/* — Calculators embedded in guides (.calc from content Markdown) — */
.prose .calc {
  margin-top: 1.8em; border: 1px solid var(--p-ink);
  background: var(--p-row); box-shadow: 10px 10px 0 var(--p-head-bg);
}
.calc-form { display: grid; gap: 1px; background: var(--p-rule); border-bottom: 1px solid var(--p-ink); }
.calc-form label {
  display: grid; gap: 8px; padding: 16px 18px; background: var(--p-row);
  font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted);
}
.calc-form input {
  width: 100%; min-height: 48px; padding: 8px 12px;
  font: 500 1.125rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--p-ink);
  background: transparent; border: 1px solid var(--p-rule); border-bottom: 2px solid var(--p-ink); border-radius: 0;
  font-variant-numeric: tabular-nums;
}
.calc-form input::placeholder { color: var(--p-muted); opacity: .7; }
.calc-form input:hover { border-color: var(--p-muted); border-bottom-color: var(--p-ink); }
.calc-form input:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 0; border-bottom-color: var(--p-accent); }
.calc-out { padding: 20px 18px; font-size: 1rem; line-height: 1.6; color: var(--p-body); border-left: 4px solid var(--p-rule); }
.calc-out.calc-ok { border-left-color: var(--p-ink); }
.calc-out.calc-bad { border-left-color: var(--p-accent); background: color-mix(in srgb, var(--red) 7%, var(--p-row)); }
@media (min-width: 640px) {
  .calc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Guide
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

.guide-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.guide-head__in { position: relative; }
.guide-head .eyebrow { margin-bottom: 24px; }
.display--guide { font-size: clamp(2.2rem, 1.2rem + 3.7vw, 4.6rem); max-width: 21ch; line-height: .99; }
.byline {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 20px; border-top: 1px solid var(--rule);
  font-size: .9375rem; color: var(--ink);
}
.byline p { display: grid; gap: 6px; }
.byline__k { font: 500 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.guide-body { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
.guide-body__grid { display: grid; gap: 2rem; }
.guide-body .prose > h2:first-of-type { margin-top: 2em; }

.toc { border: 1px solid var(--paper-rule); background: var(--paper); align-self: start; }
.toc__sum {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none;
  font: 500 .8125rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  min-height: 52px;
}
.toc__sum::-webkit-details-marker { display: none; }
.toc__n { color: var(--paper-muted); margin-right: auto; letter-spacing: .04em; text-transform: none; }
.toc__sum .faq__plus { width: 24px; height: 24px; }
.toc[open] > .toc__sum .faq__plus { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.toc[open] > .toc__sum .faq__plus::after { transform: rotate(0deg); }
.toc__list { counter-reset: toc; list-style: none; margin: 0; padding: 4px 8px 12px; }
.toc__list li { counter-increment: toc; }
.toc__list a {
  display: grid; grid-template-columns: 2.2em 1fr; gap: 4px;
  padding: 9px 8px; min-height: 40px; align-items: baseline;
  font-size: .9375rem; line-height: 1.35; color: var(--paper-muted); text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s, background-color .15s;
}
.toc__list a::before { content: counter(toc, decimal-leading-zero); font: 500 .75rem/1 var(--mono); color: var(--paper-muted); }
.toc__list a:hover { color: var(--paper-ink); background: var(--paper-2); }
.toc__list a.is-active { color: var(--paper-ink); border-left-color: var(--red-deep); font-weight: 600; }
.toc__list a.is-active::before { color: var(--red-deep); }

.inline-cta {
  margin-block: 2.6em 0 !important; padding: 22px 24px;
  border: 1px solid var(--paper-rule); border-left: 3px solid var(--red);
  background: var(--paper-2); display: grid; gap: 10px; justify-items: start;
  font-size: 1rem; line-height: 1.55;
}
.inline-cta p { margin: 0; color: #34332f; }
.inline-cta__k { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--paper-ink) !important; }
.inline-cta .link-u { color: var(--paper-ink); }

@media (min-width: 1080px) {
  .guide-body__grid { grid-template-columns: 250px minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); }
  .toc { position: sticky; top: calc(var(--header-h) + 28px); border: 0; border-top: 1px solid var(--paper-ink); background: transparent; max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; }
  .toc__sum { padding: 14px 0; cursor: default; }
  .toc__sum .faq__plus { display: none; }
  .toc__list { padding: 0 0 12px; }
  .toc__list a { padding-left: 10px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--rule); padding-block: clamp(3.5rem, 7vw, 6rem) 32px; font-size: .9375rem; color: var(--ink-2); }
.site-footer__top { display: grid; gap: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.site-footer__brand { display: grid; gap: 20px; align-content: start; max-width: 44ch; }
.site-footer__brand p { color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.site-footer__h { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer__cols ul { list-style: none; padding: 0; margin: 0; }
.site-footer__cols li + li { margin-top: 2px; }
.site-footer__cols a { display: inline-block; padding: 7px 0; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.site-footer__cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: .8125rem; color: var(--muted);
}
.site-footer__bottom .link-u { font-weight: 500; color: var(--ink-2); }
@media (min-width: 1000px) {
  .site-footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .site-footer__brand { grid-column: 1 / span 4; }
  .site-footer__cols { grid-column: 6 / -1; grid-template-columns: 1fr 1fr 1.35fr .9fr; }
}

/* ==========================================================================
   404 — return to sender
   ========================================================================== */
.nf { padding-block: clamp(3rem, 8vw, 7rem) var(--section); overflow: clip; }
.nf__grid { display: grid; gap: 4rem; align-items: center; }
.nf__copy { display: grid; gap: 28px; }
.nf__title { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem); max-width: 14ch; }
.nf__links { border-top: 1px solid var(--rule); max-width: 560px; }
.nf__links li { border-bottom: 1px solid var(--rule); }
.nf__links a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center;
  padding: 18px 0; text-decoration: none; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em;
}
.nf__links a span { grid-row: 2; font-size: .9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.nf__links .i-arrow { grid-row: 1 / span 2; grid-column: 2; transition: transform .25s var(--ease-out); }
.nf__links a:hover .i-arrow { transform: translateX(6px); color: var(--red); }
.label-slip {
  position: relative; justify-self: center; width: min(100%, 420px);
  background: var(--paper); color: var(--paper-ink);
  padding: 22px; transform: rotate(-2.5deg);
  box-shadow: 18px 18px 0 var(--surface);
  font-size: .9375rem;
}
.label-slip__row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--paper-rule); }
.label-slip__row--head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--paper-ink); font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding-top: 0; }
.label-slip .k { font: 500 .6875rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); }
.label-slip .v { overflow-wrap: anywhere; font-weight: 600; }
.label-slip__bars { display: flex; gap: 3px; height: 54px; margin-top: 20px; }
.label-slip__bars i { flex: 1; background: var(--paper-ink); }
.label-slip__bars i:nth-child(3n) { flex: 2; }
.label-slip__bars i:nth-child(4n+1) { flex: .5; }
.label-slip__bars i:nth-child(7n) { background: transparent; }
.stamp--big {
  position: absolute; right: -14px; bottom: 104px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--red-deep); background: rgb(243 240 232 / .6);
  transform: rotate(-14deg); mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: no-preference) {
  .stamp--big { animation: thunk .6s var(--ease-thunk) .5s both; }
}
@keyframes thunk { from { opacity: 0; transform: rotate(-14deg) scale(1.8); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }
@media (min-width: 900px) {
  .nf__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ==========================================================================
   Reduced motion — keep everything visible, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
}

/* — Print — */
@media print {
  .site-header, .site-footer, .cta-band, .progress, .toc, .inline-cta, .skip { display: none !important; }
  body, .paper { background: #fff; color: #000; }
  .prose { --p-body: #000; --p-ink: #000; }
}

/* ==========================================================================
   Hero: "how you get it" line + 3-step strip
   ========================================================================== */
.hero__how { font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 52ch; margin-top: -8px; }
.hero-steps {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); max-width: 560px;
}
.hero-steps li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline;
  padding: 12px 14px; background: var(--bg); font-size: .9375rem; line-height: 1.45; color: var(--ink-2);
}
.hero-steps strong { color: var(--ink); font-weight: 600; }
.hero-steps__n { font: 500 .75rem/1 var(--mono); color: var(--red-text); letter-spacing: .06em; }
.vape__aside {
  font-size: .9375rem; color: var(--paper-ink); max-width: 60ch;
  padding-left: 12px; border-left: 3px solid var(--red-deep);
}
.aside-card__price { width: 100%; justify-content: center; }
.aside-card .btn--primary { width: 100%; justify-content: center; }

/* ==========================================================================
   Enquiry form (popup + inline on /contact/)
   ========================================================================== */
.enq-form { display: grid; gap: 18px; }
.enq-grid { display: grid; gap: 14px; }
.enq-field { display: grid; gap: 7px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.enq-field b { color: var(--red-text); font-weight: 500; }
.enq-field input, .enq-field select, .enq-field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule-strong); border-bottom: 2px solid var(--ink-2); border-radius: 0;
}
.enq-field textarea { min-height: 112px; resize: vertical; }
.enq-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.enq-field input::placeholder, .enq-field textarea::placeholder { color: var(--faint); }
.enq-field input:focus-visible, .enq-field select:focus-visible, .enq-field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 0; border-bottom-color: var(--red); }
.enq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-privacy { font-size: .8125rem; color: var(--muted); }
.enq-actions { display: grid; gap: 10px; justify-items: start; }
.enq-actions .btn[disabled] { opacity: .6; cursor: progress; }
.enq-status { font-size: .9375rem; color: var(--ink-2); min-height: 1.4em; }
.enq-status.is-ok { color: var(--ink); padding-left: 12px; border-left: 3px solid var(--red); }
@media (min-width: 640px) {
  .enq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enq-field--wide { grid-column: 1 / -1; }
}

/* Popup */
.enq-dialog {
  width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9);
}
.enq-dialog::backdrop { background: rgb(8 8 10 / .72); backdrop-filter: blur(3px); }
.enq-dialog__in { position: relative; padding: clamp(22px, 4vw, 36px); display: grid; gap: 12px; }
.enq-dialog__in > .label { padding-right: 56px; }
.enq-dialog__title { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.01em; padding-right: 40px; }
.enq-dialog__lead { color: var(--ink-2); font-size: 1rem; margin-bottom: 8px; }
.enq-dialog__close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  font-size: 1.75rem; line-height: 1; color: var(--ink-2); background: transparent; border: 1px solid var(--rule); cursor: pointer;
}
.enq-dialog__close:hover { color: var(--ink); border-color: var(--rule-strong); }
.enq-dialog__close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
html.has-dialog { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .enq-dialog[open] { animation: enq-in .35s var(--ease-out); }
  @keyframes enq-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Inline on /contact/ */
.prose .enq-inline { max-width: none; margin-top: 2.5em; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--rule-strong); background: var(--surface); }
.prose .enq-inline h2 { margin-top: 0; }

.enq-form.is-sent .enq-grid, .enq-form.is-sent .enq-privacy, .enq-form.is-sent button[type=submit] { display: none; }
.enq-form.is-sent .enq-status { font-size: 1.125rem; padding: 14px 16px; }

.enq-field--phone { grid-column: 1 / -1; }
.enq-phone { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 8px; }
.enq-phone select, .enq-phone input {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule-strong); border-bottom: 2px solid var(--ink-2); border-radius: 0;
}
.enq-phone select { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.enq-phone select:focus-visible, .enq-phone input:focus-visible { outline: 2px solid var(--red); outline-offset: 0; border-bottom-color: var(--red); }
.enq-phone input::placeholder { color: var(--faint); }
@media (max-width: 420px) { .enq-phone { grid-template-columns: minmax(0, 7.25rem) minmax(0, 1fr); } }

/* Home: 5th/6th service cards, stats block, market links */
@media (min-width: 1000px) {
  .card--5 { grid-column: span 7; }
  .card--6 { grid-column: span 5; }
}
.stats-ui {
  align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--paper-rule); border: 1px solid var(--paper-ink); margin: 0;
}
.stats-ui__item { background: var(--paper); padding: clamp(18px, 3vw, 28px); display: grid; gap: 6px; align-content: start; }
.stats-ui dt { font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-muted); }
.stats-ui dd { margin: 0; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -.02em; color: var(--paper-ink); font-weight: 600; }
@media (min-width: 1000px) { .stats-ui { grid-column: 8 / -1; margin-top: 4rem; } }
.honesty__links { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 12px; }
.honesty__note { color: var(--muted); font-size: .9375rem; }

.byline-role { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
