/* ==========================================================================
   Lithomatic Business Forms, Inc. — site stylesheet
   Brand: logo red #DC3E37, ink black, cream ground. Type: Avenir (Mulish
   substitute where Avenir is unavailable), IBM Plex Mono for technical
   labels, Newsreader italic for pull quotes.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  --cream:   #F7F5F0;
  --sand:    #EFEBE3;
  --white:   #FFFFFF;
  --navy-d:  #0E1729;
  --navy:    #16243C;
  --ink:     #14161A;
  --body:    #4A4E56;
  --muted:   #6B6F76;
  --faint:   #8A8E95;
  --red:     #DC3E37;   /* sampled from the logo */
  --red-lt:  #EFA8A2;   /* tint, for use on the navy ground */

  --line:    rgba(20, 22, 26, .14);
  --line-2:  rgba(20, 22, 26, .16);
  --line-3:  rgba(20, 22, 26, .2);
  --line-4:  rgba(20, 22, 26, .28);
  --line-on-dark: rgba(247, 245, 240, .18);

  --sans:  Mulish, Avenir, "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: Newsreader, Georgia, "Times New Roman", serif;

  --wrap:  1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

/* --- 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--red); }

::selection { background: var(--navy); color: var(--cream); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- 3. Layout ---------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--app { max-width: 1440px; }

.section { padding: clamp(72px, 9vw, 132px) 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(64px, 7vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy-d); color: var(--cream); border-bottom: 0; }
.section--flush { padding: 0; }

.split {
  display: grid;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.split--a  { grid-template-columns: .95fr 1.05fr; }
.split--b  { grid-template-columns: .85fr 1.15fr; align-items: start; }
.split--c  { grid-template-columns: 1.1fr .9fr; }
.split--d  { grid-template-columns: 1.15fr .85fr; }
.split--e  { grid-template-columns: 1.05fr .95fr; }

/* Hairline grid: 1px gaps over a rule-coloured ground read as printed rules. */
.rule-grid {
  display: grid;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  min-width: 0;
}
.rule-grid > * { background: var(--cream); min-width: 0; }
.rule-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rule-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rule-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* --- 4. Typography ------------------------------------------------------ */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; flex: none;
  background: var(--red); display: block;
}
.eyebrow--navy::before { background: var(--navy); }
.eyebrow--dark { color: rgba(247, 245, 240, .62); }
.eyebrow--inline { display: inline-flex; }

.display {
  margin-top: 26px;
  font-size: clamp(40px, 5.6vw, 78px);
  font-weight: 600; letter-spacing: -.035em; line-height: .98;
  text-wrap: balance;
}
.h2 {
  margin-top: 20px;
  font-size: clamp(30px, 3.7vw, 54px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.03;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; }
.h2--lg { font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; }
.h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }

.lede { margin-top: 20px; max-width: 56ch; font-size: 16px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.lede--dark { color: rgba(247, 245, 240, .76); }
.lede--lg { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; }

.mono-note {
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}

.pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  line-height: 1.45; color: var(--ink);
}

.accent-italic {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--red-lt); letter-spacing: -.01em;
}

/* --- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: var(--radius);
  font-size: 15.5px; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--navy-d); border-color: var(--navy-d); color: var(--cream); }

.btn--accent { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--accent:hover { background: #C4342E; border-color: #C4342E; color: var(--white); }

.btn--light { background: var(--cream); color: var(--navy-d); }
.btn--light:hover { background: var(--white); color: var(--navy-d); }

.btn--ghost { background: transparent; border-color: var(--line-3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(22, 36, 60, .04); color: var(--ink); }

.btn--ghost-light { background: transparent; border-color: rgba(247, 245, 240, .34); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(247, 245, 240, .07); color: var(--cream); }

.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .arrow { color: var(--red-lt); }
.btn--ghost .arrow { color: var(--red); }

.link-underline {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-3);
}
.link-underline:hover { border-bottom-color: var(--red); }
.link-underline .arrow { color: var(--red); }

/* --- 6. Site header ----------------------------------------------------- */
.utility {
  background: var(--navy-d);
  color: rgba(247, 245, 240, .72);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
}
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 36px; }
.utility a { color: rgba(247, 245, 240, .72); }
.utility a:hover { color: var(--cream); }
.utility__links { display: flex; align-items: center; gap: 28px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 245, 240, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(14, 23, 41, .5); }
.site-header__inner { display: flex; align-items: center; gap: 40px; height: 78px; }

.lockup { display: flex; flex-direction: column; gap: 5px; flex: none; }
.lockup img { width: 158px; height: auto; }
.lockup__tag {
  font-family: var(--mono); font-size: 8.8px;
  letter-spacing: .28em; line-height: 1; color: var(--muted); padding-left: 1px;
}
.lockup--dark img { width: 178px; }
.lockup--dark .lockup__tag { color: rgba(247, 245, 240, .55); }
.lockup--lg img { width: 190px; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: 8px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: #2C3038;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav a:hover { border-bottom-color: var(--red); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--red); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header-login {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: #2C3038;
}
/* Was an empty 7px outlined square, which read as a broken glyph rather than
   an icon. Replaced with a real inline SVG that follows the link's colour. */
.header-login svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.header-login:hover svg { color: var(--red); }
.header-login:hover { color: var(--red); }

.burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent;
  border: 1px solid var(--line-3); border-radius: var(--radius); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  padding: 24px clamp(20px, 5vw, 32px); display: none; flex-direction: column;
}
.drawer.is-open { display: flex; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.drawer__top img { width: 150px; }
.drawer__close {
  width: 44px; height: 44px; background: transparent; font-size: 20px;
  border: 1px solid var(--line-3); border-radius: var(--radius); cursor: pointer;
}
.drawer__nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line); }
.drawer__nav a {
  font-size: 26px; font-weight: 600; letter-spacing: -.02em;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.drawer__foot .btn { padding: 18px; font-size: 16px; }

/* --- 7. Hero ------------------------------------------------------------ */
.hero { position: relative; background: var(--navy-d); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(247, 245, 240, .05) 1px, transparent 1px) 0 0 / 100% 34px,
    #101B31;
}
.hero__bg::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 44%;
  opacity: .5;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(247, 245, 240, .05) 22px 23px);
}
.hero__inner {
  position: relative;
  /* padding-top/bottom only: the horizontal gutter belongs to .wrap */
  padding-top: clamp(84px, 11vw, 158px);
  padding-bottom: clamp(72px, 9vw, 132px);
}
.hero__copy { max-width: min(720px, 100%); }

/* Photograph filling the right of the hero, on the same treatment as the
   interior page heads. */
.hero--media .hero__bg::after { display: none; }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; left: 46%;
  overflow: hidden; pointer-events: none;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.85) contrast(1.03) brightness(1.06);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #101B31 0%, rgba(16, 27, 49, .9) 22%, rgba(16, 27, 49, .22) 62%, rgba(16, 27, 49, .3) 100%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(247, 245, 240, .045) 22px 23px);
}
.hero--media .hero__copy { max-width: min(620px, 100%); }

@media (max-width: 1080px) { .hero__media { left: 56%; } }
@media (max-width: 900px) {
  .hero__media { display: none; }
  .hero--media .hero__copy { max-width: min(720px, 100%); }
}
.hero .display { color: var(--cream); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__strip {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(247, 245, 240, .2);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 245, 240, .6);
}

/* --- 8. Placeholder art ------------------------------------------------- */
/* Standing in for client photography, which has not been supplied. */
.ph {
  position: relative; overflow: hidden; min-width: 0;
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, var(--line) 14px 15px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); text-align: center;
  padding: 14px; background: var(--cream); border: 1px solid var(--line); max-width: 80%;
}

/* Photograph in a .ph frame — the box keeps its size, the image fills it. */
.ph--img { background-image: none; background: var(--sand); }
.ph--img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.tile:hover .ph--img img,
.prod-card:hover .ph--img img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .ph--img img { transition: none; }
  .tile:hover .ph--img img,
  .prod-card:hover .ph--img img { transform: none; }
}

/* --- 9. Specimen (printed sample) --------------------------------------- */
.specimen { position: relative; padding: 26px; }
.specimen__crop { position: absolute; width: 16px; height: 16px; }
.specimen__crop--tl { top: 0; left: 0;  border-top: 1px solid var(--line-4); border-left: 1px solid var(--line-4); }
.specimen__crop--tr { top: 0; right: 0; border-top: 1px solid var(--line-4); border-right: 1px solid var(--line-4); }
.specimen__crop--bl { bottom: 0; left: 0;  border-bottom: 1px solid var(--line-4); border-left: 1px solid var(--line-4); }
.specimen__crop--br { bottom: 0; right: 0; border-bottom: 1px solid var(--line-4); border-right: 1px solid var(--line-4); }

.specimen__stack { position: relative; }
.specimen__part { position: absolute; border: 1px solid var(--line-2); }
.specimen__part--pink   { top: 22px; left: 22px; right: -14px; bottom: -14px; background: #F0D3CD; }
.specimen__part--canary { top: 11px; left: 11px; right: -2px;  bottom: -2px;  background: #F2E7BC; }

.specimen__sheet {
  position: relative; background: var(--white);
  border: 1px solid var(--line-3); padding: 26px 26px 20px;
  box-shadow: 0 18px 40px -28px rgba(14, 23, 41, .35);
}
.specimen__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-bottom: 16px; border-bottom: 2px solid var(--navy);
}
.specimen__title { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.specimen__meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--muted); margin-top: 5px; }
.specimen__job { font-family: var(--mono); font-size: 15px; color: var(--red); margin-top: 3px; }
.specimen__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.specimen__box { border: 1px solid var(--line-2); padding: 8px 10px; height: 52px; }
.specimen__box span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; color: var(--muted); }
.specimen__table { margin-top: 14px; border: 1px solid var(--line-2); }
.specimen__thead {
  display: grid; grid-template-columns: 44px 1fr 62px 76px;
  background: var(--sand); border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; color: #3A3E46;
}
.specimen__thead > * { padding: 7px 8px; border-right: 1px solid var(--line-2); }
.specimen__thead > *:last-child { border-right: 0; }
.specimen__rules { height: 132px; background: repeating-linear-gradient(#fff 0 25px, rgba(20, 22, 26, .13) 25px 26px); }
.specimen__parts {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--body);
}
.specimen__parts span { display: flex; align-items: center; gap: 7px; }
.swatch { width: 9px; height: 9px; display: block; border: 1px solid rgba(20, 22, 26, .3); }
.swatch--white  { background: #fff; }
.swatch--canary { background: #F2E7BC; }
.swatch--pink   { background: #F0D3CD; }

/* --- 10. Spec cells / trust strip --------------------------------------- */
.spec-cell { padding: 18px 20px; }
.spec-cell__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.spec-cell__v { margin-top: 7px; font-size: 15px; font-weight: 600; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__cell { padding: 34px 30px; border-left: 1px solid var(--line); }
.trust__cell:first-child { padding-left: 0; border-left: 0; }
.trust__cell:last-child { padding-right: 0; }
.trust__n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--red); }
.trust__t { margin-top: 12px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.trust__p { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--body); }

/* --- 11. Products ------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }

.prod-grid { margin-top: 44px; }
.prod-card { padding: 22px; display: flex; flex-direction: column; gap: 18px; transition: background-color .15s ease; }
.prod-card:hover { background: var(--white); }
.prod-card--3 { grid-column: span 3; }
.prod-card--2 { grid-column: span 2; gap: 16px; }
.prod-card--wide { grid-column: span 6; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.prod-card .ph { height: min(30vw, 260px); }
.prod-card--2 .ph { height: 170px; }
.prod-card--wide .ph { height: 210px; }
.prod-card__n { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--faint); }
.prod-card__t { margin-top: 9px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.prod-card--2 .prod-card__t { font-size: 18px; margin-top: 8px; }
.prod-card--wide .prod-card__t { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.025em; }
.prod-card__p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--body); max-width: 44ch; }
.prod-card--2 .prod-card__p { font-size: 13.5px; max-width: none; }
.prod-card--wide .prod-card__p { font-size: 14.5px; line-height: 1.6; max-width: 56ch; }
.prod-card__cta {
  margin-top: 16px; display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
}
.prod-card__cta .arrow { color: var(--red); }

.catalog { margin-top: clamp(48px, 6vw, 80px); }
.catalog__head {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 2px solid var(--navy);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.catalog__count { letter-spacing: .1em; color: var(--faint); }
.catalog__grid { margin-top: 1px; border-top: 0; }
.catalog__item { padding: 16px 18px; display: block; transition: background-color .15s ease; }
.catalog__item:hover { background: var(--white); color: inherit; }
.catalog__item h3 { display: flex; align-items: baseline; gap: 10px; }
.catalog__item h3 b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.catalog__num { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--faint); flex: none; }
.catalog__item p { margin: 5px 0 0 26px; font-size: 12.5px; line-height: 1.5; color: var(--body); }

/* --- 12. Services list -------------------------------------------------- */
.numbered { margin-top: 40px; border-top: 1px solid var(--line); }
.numbered__row {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.numbered__n { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--red); padding-top: 4px; }
.numbered__row p { margin-top: 7px; font-size: 14.5px; line-height: 1.6; color: var(--body); max-width: 52ch; }

/* --- 13. Quote / upload ------------------------------------------------- */
.dropzone {
  border: 1px dashed rgba(247, 245, 240, .32);
  padding: clamp(28px, 3vw, 44px); text-align: center;
  background: rgba(247, 245, 240, .04);
}
.dropzone__icon {
  width: 44px; height: 44px; margin: 0 auto;
  border: 1px solid rgba(247, 245, 240, .4);
  display: flex; align-items: center; justify-content: center;
  color: rgba(247, 245, 240, .7); font-size: 20px;
}
.dropzone__t { margin-top: 20px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.dropzone p { margin: 9px auto 0; max-width: 34ch; font-size: 14px; line-height: 1.6; color: rgba(247, 245, 240, .65); }
.dropzone__btn {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(247, 245, 240, .3); padding: 12px 20px;
  border-radius: var(--radius); font-size: 14px; font-weight: 600; color: rgba(247, 245, 240, .9);
}
.dropzone__btn:hover { border-color: var(--cream); color: var(--cream); }
.dropzone__note { margin-top: 20px; color: rgba(247, 245, 240, .42); }

/* --- 14. Process steps -------------------------------------------------- */
.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-2); }
.step { background: var(--cream); padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 14px; }
.step--now { background: var(--white); box-shadow: inset 0 3px 0 var(--red); }
.step__n { font-family: var(--mono); font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--line-2); }
.step--now .step__n { color: var(--red); }
.step p { font-size: 14px; line-height: 1.6; color: var(--body); }
.step__chip {
  margin-top: 2px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-3); padding: 7px 11px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--body);
}
.step__chip::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--red); display: block; }

/* --- 15. Forms ---------------------------------------------------------- */
.field { min-width: 0; }
.field__label {
  display: block;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.field__note { margin-top: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--faint); }

.input, .select, .textarea {
  margin-top: 8px; width: 100%;
  border: 1px solid var(--line-3); background: var(--white);
  padding: 13px 14px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: border-color .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); font-weight: 400; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); outline: none; }
.textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6F76' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field-stack { display: flex; flex-direction: column; gap: 20px; }

/* Radio pills */
.pills { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-3); padding: 11px 14px;
  font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.pill span::before {
  content: ""; width: 11px; height: 11px; flex: none;
  border: 1px solid rgba(20, 22, 26, .32);
}
.pill input:checked + span { border-color: var(--navy); background: var(--white); font-weight: 600; }
.pill input:checked + span::before { border-color: var(--navy); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 11px var(--navy); }
.pill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--body); cursor: pointer; }
.check input { width: 14px; height: 14px; accent-color: var(--navy); margin: 0; }

.divider { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.divider span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* --- 16. App chrome ----------------------------------------------------- */
.app-header { background: rgba(247, 245, 240, .97); border-bottom: 1px solid var(--line); }
.app-header__inner { display: flex; align-items: center; gap: 44px; height: 78px; }
.app-header .lockup img { width: 150px; }

.staff-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  color: var(--cream); background: var(--navy); padding: 5px 8px;
}

.account {
  display: flex; align-items: center; gap: 11px;
  padding-left: 22px; border-left: 1px solid var(--line);
}
.account__badge {
  width: 32px; height: 32px; flex: none; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.account__name { font-size: 13.5px; font-weight: 600; line-height: 1; }
.account__num { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); line-height: 1; margin-top: 3px; }

.page-head { padding-top: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.page-head h1 { margin-top: 14px; font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.page-actions { flex: none; display: flex; flex-wrap: wrap; gap: 10px; }

.jobno { text-align: right; flex: none; }
.jobno__k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.jobno__v { margin-top: 6px; font-family: var(--mono); font-size: 26px; letter-spacing: .02em; color: var(--red); }
.jobno__v--pending { font-size: 22px; color: var(--faint); }
.jobno__note { margin-top: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--faint); }

.app-cols { margin-top: 32px; display: flex; gap: 32px; align-items: flex-start; padding-bottom: 64px; }
.app-cols__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.app-cols__rail { width: 392px; flex: none; display: flex; flex-direction: column; gap: 22px; }

/* --- 17. Panels --------------------------------------------------------- */
.panel { background: var(--white); border: 1px solid var(--line-2); }
.panel__head {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.panel__head > *:last-child:not(:first-child) { margin-left: auto; }
.panel__body { padding: 24px 22px 26px; }
.panel__body--list { padding: 6px 22px 22px; }
.panel__body + .panel__body { padding-top: 0; }
.panel__link { font-size: 12.5px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line-3); }
.panel__meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--faint); }
.panel__meta--alert { color: var(--red); }

.kv { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv__k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.kv__v { font-size: 13.5px; font-weight: 500; text-align: right; }

.stack-item { padding: 13px 0; border-bottom: 1px solid var(--line); }
.stack-item:last-child { border-bottom: 0; }
.stack-item__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stack-item__v { margin-top: 6px; font-size: 14px; line-height: 1.5; }

.total { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-top: 18px; }
.total__k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.total__v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

.flag { display: flex; gap: 10px; align-items: flex-start; }
.flag::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: 6px; background: var(--red); display: block; }
.flag--navy::before { background: var(--navy); }
.flag p { font-size: 12.5px; line-height: 1.55; color: var(--body); }

/* --- 18. Status chips --------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: var(--radius); border: 1px solid;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; white-space: nowrap;
}
.chip--action { background: var(--red);  border-color: var(--red);  color: var(--white); }
.chip--active { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.chip--queued { background: transparent; border-color: var(--line-4); color: var(--body); }
.chip--done   { background: transparent; border-color: var(--line-3); color: var(--faint); }

/* --- 19. Data tables ---------------------------------------------------- */
.table-scroll { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; min-width: 860px; }
.dtable thead th {
  text-align: left; padding: 13px 16px; background: var(--sand);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.dtable tbody td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable .num { font-family: var(--mono); font-size: 13.5px; font-weight: 500; }
.dtable .num--alert { color: var(--red); }
.dtable .prod { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.dtable .spec { margin-top: 3px; font-size: 12.5px; color: var(--body); }
.dtable .qty { font-family: var(--mono); font-size: 12.5px; color: var(--body); }
.dtable .date { font-size: 13px; color: var(--body); }
.dtable .end { text-align: right; }
.dtable .end a { font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line-3); white-space: nowrap; }

/* --- 20. Alert banner --------------------------------------------------- */
.alert {
  display: flex; align-items: center; gap: 24px;
  background: var(--navy-d); color: var(--cream);
  padding: 24px 28px; border-left: 4px solid var(--red);
}
.alert__top { display: flex; align-items: center; gap: 12px; }
.alert__job { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: rgba(247, 245, 240, .7); }
.alert__t { margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.alert p { margin-top: 7px; font-size: 14px; line-height: 1.55; color: rgba(247, 245, 240, .7); max-width: 66ch; }

/* --- 21. Timeline ------------------------------------------------------- */
.timeline {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line-2); padding: 20px 24px;
}
.timeline__step { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.timeline__step:last-child { flex: none; }
.timeline__dot { width: 13px; height: 13px; flex: none; display: block; border: 1px solid var(--line-4); }
.timeline__step--done .timeline__dot { background: var(--navy); border-color: var(--navy); }
.timeline__step--now  .timeline__dot { background: var(--red);  border-color: var(--red); }
.timeline__t { font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--faint); }
.timeline__step--done .timeline__t { color: var(--ink); }
.timeline__step--now  .timeline__t { color: var(--ink); font-weight: 600; }
.timeline__d { margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--faint); white-space: nowrap; }
.timeline__bar { flex: 1; min-width: 24px; height: 1px; background: var(--line-2); display: block; }

/* --- 22. Proof viewer --------------------------------------------------- */
.viewer__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: var(--sand);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.viewer__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.viewer__tool {
  width: 30px; height: 30px; border: 1px solid var(--line-3); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.viewer__tool:hover { border-color: var(--navy); }
.viewer__stage { padding: 34px; background: var(--sand); display: flex; justify-content: center; }
.viewer__sheet {
  width: 440px; max-width: 100%; background: var(--white);
  border: 1px solid var(--line-3); box-shadow: 0 24px 50px -34px rgba(14, 23, 41, .45);
}
.viewer__art {
  height: 250px; padding: 38px; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  background-image: repeating-linear-gradient(135deg, transparent 0 16px, rgba(20, 22, 26, .05) 16px 17px);
}
.viewer__art::before {
  content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(20, 22, 26, .22); display: block;
}
.viewer__art img { position: relative; width: 190px; }
.viewer__art span { position: relative; margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.viewer__foot { padding: 16px 22px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; }
.viewer__foot p { font-size: 13px; color: var(--body); }

.log-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.log-row:last-child { border-bottom: 0; }
.log-row time { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--faint); flex: none; width: 52px; }
.log-row p { font-size: 13.5px; line-height: 1.5; }

/* --- 23. Production board ----------------------------------------------- */
.terminals {
  display: flex; align-items: center; gap: 20px;
  background: var(--navy-d); padding: 16px var(--gutter); flex-wrap: wrap;
}
.terminals__k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 245, 240, .5); }
.terminals__list { display: flex; gap: 10px; flex-wrap: wrap; }
.terminal {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(247, 245, 240, .2); padding: 6px 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: rgba(247, 245, 240, .82);
}
.terminal::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--red-lt); display: block; }
.terminals__sync { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: rgba(247, 245, 240, .5); }

.board { margin-top: 34px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; align-items: start; }
.board__col { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.board__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 11px; border-bottom: 2px solid var(--navy);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.board__count { font-size: 11px; letter-spacing: 0; color: var(--faint); }
.jobcard { background: var(--white); border: 1px solid var(--line-2); border-left: 3px solid var(--line-2); padding: 14px 15px; }
.jobcard--hot { border-left-color: var(--red); }
.jobcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.jobcard__num { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.jobcard--hot .jobcard__num { color: var(--red); }
.jobcard__qty { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.jobcard__prod { margin-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.jobcard__meta { margin-top: 5px; font-size: 12px; line-height: 1.45; color: var(--body); }

.admin-panels { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.admin-panels .dtable { min-width: 520px; }

/* --- 24. Auth split ----------------------------------------------------- */
.auth { display: flex; min-height: 100vh; }
.auth__side {
  width: 600px; flex: none; background: var(--navy-d); color: var(--cream);
  padding: 56px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.auth__side::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(247, 245, 240, .05) 1px, transparent 1px) 0 0 / 100% 34px;
}
.auth__side > * { position: relative; }
.auth__side h2 {
  margin-top: 56px; font-size: 40px; font-weight: 600;
  letter-spacing: -.03em; line-height: 1.06; max-width: 15ch;
}
.auth__points { margin-top: 30px; border-top: 1px solid var(--line-on-dark); }
.auth__point { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-on-dark); }
.auth__point b { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; color: var(--red-lt); padding-top: 3px; }
.auth__point h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.auth__point p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: rgba(247, 245, 240, .68); max-width: 44ch; }
.auth__contact {
  margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(247, 245, 240, .5);
}
.auth__main { flex: 1; min-width: 0; padding: 56px 72px; display: flex; flex-direction: column; justify-content: center; }
.auth__form { max-width: 440px; width: 100%; margin: 0 auto; }
.auth__row { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth__aside { margin-top: 28px; border: 1px solid var(--line-2); background: var(--sand); padding: 24px; }
.auth__aside h3 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.auth__aside p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--body); }
.auth__aside div { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* --- 25. Contact cards / footer ----------------------------------------- */
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .h2 { margin-left: auto; margin-right: auto; max-width: 22ch; }
.center .lede { margin-left: auto; margin-right: auto; max-width: 48ch; }
.cta-row { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.contact-grid { margin-top: clamp(48px, 6vw, 76px); text-align: left; }
.contact-card { padding: 26px 24px; }
.contact-card__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.contact-card__v { margin-top: 10px; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.contact-card p { margin-top: 6px; font-size: 13px; color: var(--body); }

.site-footer { background: var(--navy-d); color: rgba(247, 245, 240, .7); }
.site-footer__inner { padding-top: clamp(56px, 6vw, 84px); padding-bottom: 32px; }
.site-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer p { margin-top: 22px; max-width: 32ch; font-size: 14px; line-height: 1.65; }
.site-footer address {
  margin-top: 24px; font-style: normal;
  display: flex; flex-direction: column; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(247, 245, 240, .55);
}
.site-footer address a { color: inherit; }
.site-footer address a:hover { color: var(--cream); }
.foot-col h2 { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 245, 240, .45); }
.foot-col ul { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.foot-col a { color: rgba(247, 245, 240, .78); }
.foot-col a:hover { color: var(--cream); }
.site-footer__base {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid rgba(247, 245, 240, .14);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(247, 245, 240, .45);
}

/* Sticky mobile action bar */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: rgba(247, 245, 240, .98); border-top: 1px solid var(--line-2);
  padding: 12px 16px; gap: 10px; align-items: center;
}
.mobile-bar__call {
  flex: none; width: 52px; height: 52px; border: 1px solid var(--line-3);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--ink);
}
.mobile-bar .btn { flex: 1; height: 52px; padding: 0; }

/* --- 26. Responsive ----------------------------------------------------- */
@media (max-width: 1180px) {
  .app-cols { flex-direction: column; }
  .app-cols__rail { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .app-cols__rail > * { flex: 1; min-width: 300px; }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-panels { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) {
  .split, .split--a, .split--b, .split--c, .split--d, .split--e { grid-template-columns: 1fr; gap: 40px; }
  .nav, .header-login { display: none; }
  .burger { display: flex; }
  .prod-card--wide { grid-template-columns: 1fr; }
  .auth { flex-direction: column; }
  .auth__side { width: 100%; padding: 40px var(--gutter); }
  .auth__main { padding: 48px var(--gutter); }
  .auth__side h2 { margin-top: 32px; font-size: 32px; }
  .auth__contact { margin-top: 32px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .jobno { text-align: left; }
}

@media (max-width: 860px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .catalog__grid.rule-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; align-items: flex-start; gap: 16px; }
  .timeline__bar { display: none; }
  .timeline__step { flex: none; }
  .alert { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 760px) {
  .utility { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 96px; }
  .prod-grid.rule-grid { display: flex; flex-direction: column; }
  .prod-card--3, .prod-card--2, .prod-card--wide { grid-column: auto; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__cell { padding: 28px 24px; border-left: 0; border-top: 1px solid var(--line); }
  .trust__cell:first-child, .trust__cell:nth-child(2) { border-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rule-grid--3.contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .trust__cell { padding: 26px 0; }
  .steps, .board, .catalog__grid.rule-grid--3, .site-footer__cols { grid-template-columns: 1fr; }
  .rule-grid--2 { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 30px; }
  .auth__main { padding: 40px 20px; }
}

/* --- 27. Print ---------------------------------------------------------- */
@media print {
  .utility, .site-header, .drawer, .mobile-bar, .hero__actions, .cta-row { display: none !important; }
  body { background: #fff; }
  .section { border-bottom: 0; padding: 24px 0; }
  a { color: inherit; }
}

/* --- 28. Late additions ------------------------------------------------- */
.ph--tall { height: min(78vw, 560px); }
.split--e .ph--tall { height: min(90vw, 600px); }

.dropzone.is-over,
.dropzone-light.is-over { border-color: var(--red); background: rgba(220, 62, 55, .06); }

/* Light-ground artwork drop zone (order form) */
.dropzone-light {
  position: relative;               /* contains the visually hidden file input */
  border: 1px dashed var(--line-4); background: var(--sand);
  padding: 34px; text-align: center; transition: border-color .15s ease, background-color .15s ease;
}
.dropzone-light__icon {
  width: 42px; height: 42px; margin: 0 auto; border: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: center;
}
.dropzone-light h3 { margin-top: 16px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.dropzone-light p { margin: 8px auto 0; max-width: 46ch; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.dropzone-light input[type="file"] {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.file-row {
  margin-top: 16px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-2); background: var(--white); padding: 13px 16px;
}
.file-row__name { font-size: 14px; font-weight: 500; }
.file-row__size { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--faint); }
.file-row .chip { margin-left: auto; }

/* Order-form progress */
.progress { display: flex; gap: 28px; margin-top: 34px; }
.progress__step { flex: 1; padding: 14px 0 12px; border-top: 1px solid var(--line-2); }
.progress__step--now { border-top: 2px solid var(--red); }
.progress__n { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--faint); }
.progress__t { margin-top: 5px; font-size: 14.5px; font-weight: 600; color: var(--faint); }
.progress__step--now .progress__t { color: var(--ink); }

@media (max-width: 640px) {
  .progress { flex-direction: column; gap: 0; }
  .progress__step { padding: 12px 0; }
}

/* 19 categories do not divide evenly by 3, so the closing "Custom products"
   cell spans the remainder instead of leaving empty rule-coloured gaps. */
.catalog__item:last-child { grid-column: 1 / -1; }

/* --- 29. Narrow-screen header fixes ------------------------------------- */
/* The marketing header overflowed below ~440px: logo + CTA + burger exceeded
   the viewport. The sticky mobile bar already carries the CTA, so drop it
   from the header and tighten the lockup. */
html { overflow-x: hidden; }

@media (max-width: 760px) {
  .site-header__inner { gap: 16px; height: 68px; }
  .site-header .lockup img { width: 132px; }
  .site-header .lockup__tag { font-size: 7.4px; letter-spacing: .24em; }
  .header-actions { gap: 12px; }
  .site-header .header-actions .btn { display: none; }
}

/* The application pages have no drawer, so their nav must stay reachable:
   below the desktop breakpoint it wraps to its own scrollable row. */
@media (max-width: 1020px) {
  .app-header__inner { flex-wrap: wrap; height: auto; gap: 14px 20px; padding-top: 14px; padding-bottom: 4px; }
  .app-header .nav {
    display: flex; order: 3; width: 100%; margin-left: 0;
    gap: 22px; overflow-x: auto; padding-bottom: 10px;
    scrollbar-width: none;
  }
  .app-header .nav::-webkit-scrollbar { display: none; }
  .app-header .nav a { white-space: nowrap; }
  .app-header .header-actions { margin-left: auto; }
}

@media (max-width: 620px) {
  .app-header .lockup img { width: 128px; }
  .app-header .header-actions > .panel__meta { display: none; }
  .account { padding-left: 0; border-left: 0; }
  .terminals { gap: 12px; }
  .terminals__sync { margin-left: 0; width: 100%; }
}

/* Anchor targets must clear the sticky header, or "Products" scrolls the
   section heading underneath it. */
section[id], div[id] { scroll-margin-top: 96px; }

/* --- 30. Overflow containment ------------------------------------------- */
/* .app-cols uses align-items:flex-start, so once it stacks into a column the
   items size to their content — and the 860px-wide jobs table dragged the
   panel past the viewport. Stack items must be explicitly full-width. */
@media (max-width: 1180px) {
  .app-cols { align-items: stretch; }
  .app-cols__main,
  .app-cols__rail { width: 100%; max-width: 100%; min-width: 0; }
}

/* Wide content scrolls inside its own container, never the page. */
.table-scroll { max-width: 100%; }

/* Form controls (date and number inputs especially) carry an intrinsic
   minimum width that overflows a narrow single-column field row. */
.input, .select, .textarea { min-width: 0; max-width: 100%; }

/* ==========================================================================
   31. Multi-page site: menus, page heads, catalogue, product pages
   ========================================================================== */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: var(--cream); padding: 12px 18px;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--cream); }

/* --- Products mega-menu (pointer + keyboard, desktop only) --------------- */
.site-header { position: sticky; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -32px rgba(14, 23, 41, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
/* Open state is driven by JS (site.js), which watches the Products trigger and
   the panel itself — NOT the whole header, which used to fire on the logo and
   the login button too. */
.site-header.is-mega-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px; padding-top: 36px; padding-bottom: 40px;
}
.mega__col h3 {
  font-family: var(--mono); font-size: 10px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mega__col ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.mega__col a { font-size: 14px; font-weight: 500; color: #2C3038; }
.mega__col a:hover { color: var(--red); }
.mega__cta { background: var(--sand); padding: 22px; align-self: start; }
.mega__cta h3 { border-bottom: 0; padding-bottom: 0; color: var(--ink); font-family: var(--sans);
  font-size: 16px; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.mega__cta p { margin-top: 9px; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.mega__cta .btn { margin-top: 16px; }

/* --- Drawer product groups ---------------------------------------------- */
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group summary {
  list-style: none; cursor: pointer;
  font-size: 20px; font-weight: 600; letter-spacing: -.02em;
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); }
.drawer__group[open] summary::after { content: "\2013"; }
.drawer__group ul { padding: 0 0 18px 0; display: flex; flex-direction: column; gap: 12px; }
.drawer__group ul a { font-size: 16px; font-weight: 500; color: var(--body); border: 0; padding: 0; }
.drawer__nav { overflow-y: auto; }

/* --- Interior page head -------------------------------------------------- */
.pagehead {
  background: var(--navy-d); color: var(--cream); position: relative; overflow: hidden;
  padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 76px);
}
.pagehead::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(247, 245, 240, .05) 1px, transparent 1px) 0 0 / 100% 34px;
}
.pagehead::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; opacity: .5;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(247, 245, 240, .05) 22px 23px);
}
.pagehead > * { position: relative; }

/* Photograph filling the right of the band. The gradient carries it back into
   the navy so the title never sits on a busy ground. */
.pagehead--media::after { display: none; }
.pagehead__media {
  position: absolute; top: 0; right: 0; bottom: 0; left: 38%;
  overflow: hidden; pointer-events: none;
}
.pagehead__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.85) contrast(1.03) brightness(1.08);
}
.pagehead__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-d) 0%, rgba(14, 23, 41, .9) 24%, rgba(14, 23, 41, .26) 66%, rgba(14, 23, 41, .34) 100%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(247, 245, 240, .045) 22px 23px);
}
.pagehead--media .pagehead__title { max-width: 15ch; }
.pagehead--media .lede { max-width: 46ch; }

@media (max-width: 1080px) {
  .pagehead__media { left: 50%; }
  .pagehead--media .pagehead__title { max-width: 13ch; }
  .pagehead--media .lede { max-width: 38ch; }
}
@media (max-width: 820px) {
  .pagehead__media { display: none; }
  .pagehead--media .pagehead__title,
  .pagehead--media .lede { max-width: none; }
}
.pagehead .eyebrow { margin-top: 22px; }
.pagehead__title {
  margin-top: 18px; max-width: 20ch;
  font-size: clamp(34px, 4.6vw, 62px); font-weight: 600;
  letter-spacing: -.035em; line-height: 1.02; text-wrap: balance;
}
.pagehead .lede { max-width: 58ch; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.crumbs li { color: rgba(247, 245, 240, .5); display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: rgba(247, 245, 240, .3); }
.crumbs a { color: rgba(247, 245, 240, .72); }
.crumbs a:hover { color: var(--cream); }

/* --- Catalogue groups ---------------------------------------------------- */
.group + .group { margin-top: clamp(56px, 7vw, 88px); }
.group__head { padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.group__head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.025em; }
.group__head p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--body); max-width: 62ch; }
.group__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.tile { display: flex; flex-direction: column; min-width: 0; }
.tile .ph { height: 180px; }
.tile__body { padding-top: 14px; flex: 1; display: flex; flex-direction: column; }
.tile h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.tile p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--body); }
.tile__cta {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.tile:hover h3 { color: var(--red); }
.tile:hover .ph { border-color: var(--line-4); }

/* --- Product detail ------------------------------------------------------ */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.pdp .ph { height: min(52vw, 460px); }
.pdp__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.pdp__figures .ph { height: 92px; }
.pdp__lede { font-size: 17px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.pdp__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.pdp__meta {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.pdp__meta div { min-width: 0; }
.pdp__meta dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); }
.pdp__meta dd { margin: 7px 0 0; font-size: 15px; font-weight: 600; }

.speclist { display: flex; flex-direction: column; gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2); }
.speclist__row { background: var(--cream); padding: 18px 20px; display: grid;
  grid-template-columns: 168px 1fr; gap: 20px; align-items: baseline; }
.speclist__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); }
.speclist__v { display: flex; flex-wrap: wrap; gap: 8px; }
.speclist__v span {
  border: 1px solid var(--line-3); background: var(--white);
  padding: 6px 11px; font-size: 13px; color: var(--ink);
}

/* --- FAQ ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-size: 17px; font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding: 0 0 22px; max-width: 72ch; font-size: 15px; line-height: 1.65; color: var(--body); }

/* --- Prose (legal, long copy) -------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 40px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 26px; font-size: 16.5px; font-weight: 600; }
.prose p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--body); }
.prose ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.prose li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.7; color: var(--body); }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 1px; background: var(--red); }
.prose strong { color: var(--ink); font-weight: 600; }

/* --- Contact ------------------------------------------------------------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.map { height: 300px; }
.hours { display: flex; flex-direction: column; gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2); margin-top: 20px; }
.hours__row { background: var(--cream); padding: 13px 18px; display: flex;
  justify-content: space-between; gap: 18px; font-size: 14px; }
.hours__row span:first-child { font-weight: 600; }
.hours__row span:last-child { color: var(--body); font-family: var(--mono); font-size: 12.5px; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .mega { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speclist__row { grid-template-columns: 1fr; gap: 10px; }
  .pdp__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .group__grid { grid-template-columns: 1fr; }
  .pdp__meta { grid-template-columns: 1fr; }
  .pagehead__title { font-size: 30px; }
}

/* --- 31. Account area ---------------------------------------------------- */
/* Welcome strip and the Dashboard / My Account tabs */
.acct-band { background: var(--navy-d); color: var(--cream); }
.acct-band__inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; padding: 30px 0 0;
}
.acct-band__eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(247, 245, 240, .5);
}
.acct-band__eyebrow span { color: var(--red); }
.acct-band__name { margin-top: 9px; font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
.acct-band__go {
  display: inline-block; margin-top: 9px; font-size: 13.5px; font-weight: 600;
  color: rgba(247, 245, 240, .78);
}
.acct-band__go:hover { color: var(--cream); }
.acct-tabs { display: flex; align-items: center; gap: 30px; }
.acct-tabs a {
  padding-bottom: 16px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  color: rgba(247, 245, 240, .62); border-bottom: 2px solid transparent;
}
.acct-tabs a:hover { color: var(--cream); }
.acct-tabs a[aria-current] { color: var(--cream); border-bottom-color: var(--red); }
.acct-tabs__out {
  margin-left: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 400 !important;
  letter-spacing: .12em; text-transform: uppercase;
}

/* Sidebar + body */
.acct-layout { display: flex; gap: 40px; align-items: flex-start; padding-bottom: 72px; }
.acct-nav {
  width: 226px; flex: none; position: sticky; top: 96px;
  margin-top: 44px; display: flex; flex-direction: column;
  border-left: 1px solid var(--line-2);
}
.acct-nav a {
  padding: 9px 0 9px 18px; margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 13.5px; letter-spacing: -.005em; color: var(--body);
}
.acct-nav a:hover { color: var(--navy); border-left-color: var(--line-4); }
.acct-nav a[aria-current] { color: var(--navy); font-weight: 700; border-left-color: var(--red); }
.acct-body { flex: 1; min-width: 0; }
.acct-body .page-head { padding-top: 40px; }
.acct-body .app-cols { margin-top: 26px; padding-bottom: 0; }
.acct-body .app-cols__rail { width: 320px; }

/* Empty sections read as deliberate, not broken */
.acct-empty { padding: 46px 22px; text-align: center; }
.acct-empty__t { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.acct-empty__d { margin: 8px auto 0; max-width: 46ch; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.acct-empty .btn { margin-top: 18px; }

@media (max-width: 1080px) {
  .acct-layout { flex-direction: column; gap: 0; }
  .acct-nav {
    position: static; width: 100%; margin-top: 26px;
    flex-direction: row; overflow-x: auto; gap: 4px;
    border-left: 0; border-bottom: 1px solid var(--line-2);
  }
  .acct-nav a {
    padding: 10px 14px; margin-left: 0; white-space: nowrap;
    border-left: 0; border-bottom: 2px solid transparent;
  }
  .acct-nav a:hover { border-left-color: transparent; border-bottom-color: var(--line-4); }
  .acct-nav a[aria-current] { border-left-color: transparent; border-bottom-color: var(--red); }
  .acct-body { width: 100%; }
}
@media (max-width: 860px) {
  .acct-band__inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 24px; }
  .acct-tabs { gap: 22px; }
  .acct-body .app-cols { flex-direction: column; }
  .acct-body .app-cols__rail { width: 100%; }
}

/* Drop zone on a light panel — the .dropzone above sits on the navy ground */
.drop {
  border: 1px dashed var(--line-4); background: var(--sand);
  padding: 30px 26px; text-align: center; border-radius: var(--radius);
}
.drop__t { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.drop__btn {
  font: inherit; color: var(--navy); border-bottom: 1px solid var(--line-3);
  background: none; border-width: 0 0 1px; padding: 0; cursor: pointer;
}
.drop__d { margin: 9px auto 0; max-width: 56ch; font-size: 13px; line-height: 1.6; color: var(--body); }
.drop.is-over { border-color: var(--navy); background: var(--white); }
.flag[hidden] { display: none; }

/* Tables run the full width of the body, above the two columns — a seven-column
   table squeezed beside a rail serves neither. */
.acct-wide { margin-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.acct-wide + .app-cols { margin-top: 22px; }
/* When the table takes the full width there is no rail left to speak of — the
   supporting cards run as a row beneath it instead. */
.acct-row {
  margin-top: 22px; padding-bottom: 8px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
  align-items: start;
}
@media (max-width: 860px) { .acct-row { grid-template-columns: 1fr; } }

/* --- 32. Guest order flow ------------------------------------------------ */
.flow-header { background: rgba(247, 245, 240, .97); border-bottom: 1px solid var(--line); }
.flow-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 74px; }
.flow-header .lockup img { width: 150px; }
.flow-header__out {
  padding-left: 20px; margin-left: 4px; border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.flow-header__out:hover { color: var(--navy); }

.flow { padding-bottom: 80px; }

.flow-steps {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  list-style: none; margin: 30px 0 0; padding: 0;
}
.flow-steps li { display: flex; align-items: center; gap: 9px; padding-right: 8px; }
.flow-steps li::after {
  content: ""; width: 26px; height: 1px; background: var(--line-3); margin-left: 8px;
}
.flow-steps li:last-child::after { display: none; }
.flow-steps b {
  width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-3); border-radius: 50%;
  font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--muted);
}
.flow-steps span { font-size: 12.5px; letter-spacing: -.005em; color: var(--muted); }
.flow-steps .is-done b { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.flow-steps .is-done span { color: var(--body); }
.flow-steps .is-current b { background: var(--red); border-color: var(--red); color: var(--white); }
.flow-steps .is-current span { color: var(--ink); font-weight: 700; }

.flow-head { padding-top: 34px; max-width: 62ch; }
.flow-head h1 { margin-top: 14px; font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.flow-head .lede { margin-top: 16px; font-size: 15.5px; }
.flow-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.flow-head--split > div:first-child { max-width: 62ch; }

.flow-split {
  margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px; align-items: start;
}
.panel--accent { border-color: var(--navy); box-shadow: 0 24px 48px -34px rgba(14, 23, 41, .55); }
.panel--accent .panel__head { background: var(--navy); color: rgba(247, 245, 240, .8); border-bottom-color: var(--navy); }
.flow-guest__t { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.flow-guest__d { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--body); }
.flow-list { margin: 20px 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.flow-list li {
  position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--body);
}
.flow-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--red);
}
.flow-alt { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--faint); }
.flow-alt a { font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line-3); }
.flow-foot { margin-top: 30px; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.flow-foot a { font-weight: 600; border-bottom: 1px solid var(--line-3); }
.flow-foot b { text-transform: capitalize; }

.flow-cols { margin-top: 30px; display: flex; gap: 32px; align-items: flex-start; }
.flow-cols > *:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.flow-rail { width: 356px; flex: none; display: flex; flex-direction: column; gap: 22px; }
.flow-form { display: flex; flex-direction: column; gap: 22px; }
.flow-form .field-row + .field-row { margin-top: 22px; }

.flow-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-actions--pair { margin-top: 22px; }
.flow-actions--pair .btn { flex: 1; }
.flow-actions__note {
  flex-basis: 100%; margin-top: 4px; max-width: 62ch;
  font-size: 12.5px; line-height: 1.55; color: var(--faint);
}

/* The account number, once the system has issued it */
.panel--issued { border-color: var(--red); }
.issued__v {
  font-family: var(--mono); font-size: 34px; letter-spacing: .02em; color: var(--red); line-height: 1;
}
.issued__k { margin-top: 12px; font-size: 13.5px; color: var(--body); }
.issued__note {
  margin-top: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}

/* Product picker, card 3 — the full catalogue on a Swiss modular grid.
   Twenty-one products is too many to scan as a wall, so they are grouped by the
   same seven catalogue groups used everywhere else and filtered in place. */
.pick-bar {
  margin-top: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  cursor: pointer; padding: 8px 14px; min-height: 36px;
  background: transparent; border: 1px solid var(--line-3); border-radius: var(--radius);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--body); transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.chip-btn:hover { border-color: var(--navy); color: var(--navy); }
.chip-btn.is-on { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.chip-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.pick-bar__count {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); white-space: nowrap;
}

.pick-grid {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 20px;
}
.pcard {
  display: flex; flex-direction: column; cursor: pointer;
  background: var(--white); border: 1px solid var(--line-2);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  animation: pick-in .3s cubic-bezier(.2, .6, .2, 1) both; animation-delay: var(--d, 0ms);
}
.pcard[hidden] { display: none; }
.pcard:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(14, 23, 41, .5); }
.pcard:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.pcard__fig { display: block; }
.pcard__fig .ph { aspect-ratio: 3 / 2; border: 0; border-bottom: 1px solid var(--line-2); }
.pcard:hover .ph--img img { transform: scale(1.04); }
.pcard__fig--other {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 2; background: var(--navy-d); color: rgba(247, 245, 240, .55);
  border-bottom: 1px solid var(--navy-d);
}
.pcard__fig--other svg { width: 48px; height: 48px; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.pcard__name { font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.pcard__blurb {
  font-size: 12.5px; line-height: 1.55; color: var(--body);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}
.pcard--other .pcard__name { color: var(--red); }
.pick-none { margin-top: 30px; font-size: 14px; color: var(--faint); }

@keyframes pick-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pcard { animation: none; }
  .pcard:hover { transform: none; }
  .pcard:hover .ph--img img { transform: none; }
}

/* The general form's per-product options */
.spec-panel[hidden] { display: none; }
.check-grid {
  margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 22px;
}

/* "or" divider between writing names down and attaching a file */
.flow-or {
  display: flex; align-items: center; gap: 14px; margin: 24px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint);
}
.flow-or::before, .flow-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.drop__file {
  margin-top: 14px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .04em; color: var(--navy);
}

/* Stamp text, one row a line */
.stamp-lines { display: flex; flex-direction: column; gap: 10px; }
.stamp-line { display: flex; align-items: center; gap: 12px; }
.stamp-line__n {
  width: 20px; flex: none; text-align: right;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
}
.stamp-line .input { margin-top: 0; font-family: var(--mono); font-size: 13.5px; letter-spacing: .01em; }
.check--lg { font-size: 15px; font-weight: 600; color: var(--ink); }
.check--lg input { width: 17px; height: 17px; }
.reveal { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.reveal[hidden] { display: none; }

.alert--hold { margin-top: 30px; }
.summary .kv:first-child { padding-top: 0; }
.summary .kv__v { max-width: 62%; text-align: right; }

@media (max-width: 980px) {
  .flow-split { grid-template-columns: 1fr; }
  .flow-cols { flex-direction: column; gap: 22px; }
  .flow-rail { width: 100%; }
  .flow-head--split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .flow-head--split .jobno { text-align: left; }
}
@media (max-width: 620px) {
  .flow-steps li::after { width: 12px; }
  .flow-steps span { font-size: 11.5px; }
  .flow-head h1 { font-size: 30px; }
}

/* --- 31. Guest checkout (steps 3 and 4) ---------------------------------- */
/* Added 2026-09-09 with the re-cut guest flow: product, options, your details,
   review, done. Payment sits on step 3, the read-back on step 4. */

/* The numbered version of .flow-list, used on start.html to lay the four steps
   out in the order they are actually walked. */
.flow-list--num { counter-reset: fl; }
.flow-list--num li { counter-increment: fl; padding-left: 24px; }
.flow-list--num li::before {
  content: counter(fl); top: 0; width: auto; height: auto; background: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--red);
}

/* Payment method — a radio the size of the sentence it carries, because these
   three choices decide what the rest of the panel asks for. */
.pay-opts { display: flex; flex-direction: column; gap: 10px; }
.pay-opt { position: relative; display: block; cursor: pointer; }
.pay-opt[hidden] { display: none; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt__box {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line-3); padding: 14px 16px 14px 42px;
  transition: border-color .15s ease, background-color .15s ease;
}
.pay-opt__box::before {
  content: ""; position: absolute; left: 16px; top: 17px;
  width: 12px; height: 12px; border: 1px solid rgba(20, 22, 26, .32); border-radius: 50%;
}
.pay-opt:hover .pay-opt__box { border-color: var(--line-4); }
.pay-opt input:checked + .pay-opt__box { border-color: var(--navy); background: var(--white); }
.pay-opt input:checked + .pay-opt__box::before {
  border-color: var(--navy); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 12px var(--navy);
}
.pay-opt input:focus-visible + .pay-opt__box { outline: 2px solid var(--red); outline-offset: 2px; }
.pay-opt__t { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.pay-opt__d { font-size: 12.5px; line-height: 1.5; color: var(--body); }

/* What the site is and is not doing with a card. Deliberately loud. */
.pay-note {
  margin-top: 16px; padding: 12px 14px;
  background: var(--sand); border-left: 2px solid var(--navy);
  font-size: 12.5px; line-height: 1.6; color: var(--body);
}
.pay-note b { color: var(--ink); }

/* Delivery address, revealed unless the customer is collecting */
[data-reveal="ship"] { margin-top: 22px; }
[data-reveal="ship"] > * + * { margin-top: 22px; }
[data-reveal="card"] .field-row + .field-row { margin-top: 22px; }

/* .alert is display:flex, which beats the browser's [hidden] rule — the review
   page's "something is missing" banner has to be told to stay down. */
.alert[hidden] { display: none; }

/* Review: each panel says where to go back to */
.panel__head .panel__link { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.summary + .summary { margin-top: 0; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Product question lists on the enquiry form: a two-up grid that closes the
   gap when a question is hidden by the answers above it */
.q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.q-grid + .reveal { margin-top: 22px; }
.q-field[hidden], .q-field .pill[hidden] { display: none; }
.q-field .select option[hidden] { display: none; }
.q-grid__empty { grid-column: 1 / -1; }
@media (max-width: 860px) { .q-grid { grid-template-columns: 1fr; } }
