/* Dealer-Less public site: the four-square, flipped.
   The dealership's worksheet filled in from the customer's side: white form stock, printed
   rules, the dealer's graphite scrawl, and our orange felt-tip marker. Public pages only;
   the portal has its own stylesheets. */

@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }

:root {
  --paper: #ffffff;
  --print: #16181c;
  --print-2: #3b3f46;
  --graphite: #62666d;       /* the dealer's pencil: 5.8:1 on paper */
  --ruled: #eceef1;          /* faint writing lines */
  --rule-fine: #d5d8dc;
  --marker: #ff6300;         /* brand orange: strokes, fields, the customer copy */
  --marker-hand: #d04800;    /* orange for handwritten words: 4.56:1, passes AA at any size */
  --marker-ink: #c44100;     /* orange for small text: 5.1:1 */
  --carbon: #fff1e6;
  --err: #b42318;

  --f-print: 'Archivo', 'Arial Narrow', sans-serif;
  --f-text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-marker: 'Permanent Marker', 'Segoe Print', cursive;
  --f-pencil: 'Kalam', 'Segoe Print', cursive;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --head-h: 70px;
  --page: 1320px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Browser surfaces ---------- */
html { scrollbar-color: var(--print) var(--paper); accent-color: var(--marker); scroll-padding-top: calc(var(--head-h) + 1rem); }
body { font-family: var(--f-text); color: var(--print); background: var(--paper); caret-color: var(--marker-ink); }
/* Tilted sheets and stamps mid-animation never cause sideways scroll. clip keeps sticky working. */
#main { overflow-x: clip; }
::selection { background: var(--marker); color: var(--print); }
a, button, label, summary, select, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255, 99, 0, .18); }
:focus-visible { outline: 3px solid var(--print); outline-offset: 3px; }
a { color: var(--print); text-decoration-thickness: 2px; text-decoration-color: var(--marker); text-underline-offset: .22em; }
a:hover { color: var(--print); text-decoration-color: var(--print); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.muted { color: var(--graphite); }
.skip { background: var(--print); }

/* Page turns live in pageturn.css, loaded by public pages only (not the staff login). */

/* ---------- Print type ---------- */
.print-h, .sheet h1, .boxes h2, .copysheet h2, .wanted h2, .desks h2, .onhand h2, .signoff h2, .pagehead h1, .page h2.print-h {
  font-family: var(--f-print); font-weight: 800; font-stretch: 70%; letter-spacing: -.005em; line-height: .95;
}

/* ---------- Controls ---------- */
.btn { border-radius: 0; border: 2px solid var(--print); font-family: var(--f-text); font-weight: 700; letter-spacing: 0;
  transition: background-color .14s, color .14s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--marker); color: var(--print); border-color: var(--print); }
.btn-primary:hover, .btn-primary:active { background: var(--print); color: var(--marker); }
.btn-primary:focus-visible { outline-color: var(--print); }
.btn-outline { background: var(--paper); color: var(--print); border-color: var(--print); }
.btn-outline:hover, .btn-outline:active { background: var(--print); color: var(--paper); }
.btn-dark { background: var(--print); color: var(--paper); border-color: var(--print); }
.btn-dark:hover, .btn-dark:active { background: var(--marker); color: var(--print); }
.btn-lg { padding: .95rem 1.5rem; }
.link-btn { color: var(--marker-ink); }
.text-link { font-weight: 700; text-decoration-thickness: 3px; }

/* Printed tick box. Checked = marker check; pressed = ink inverts. */
.tickbox { width: 26px; height: 26px; border: 2px solid var(--print); position: relative; flex: none; background: var(--paper); }
.tickbox::after { content: ''; position: absolute; inset: -9px -10px -3px -3px; background: url(/img/mk/check.svg) no-repeat center / contain;
  clip-path: inset(0 100% 0 0); transition: clip-path .4s var(--ease) var(--td, 0s); }
.tickbox.is-on::after, .is-in .tickbox::after { clip-path: inset(0 0 0 0); }

/* ---------- Fields: printed boxes, captions in print ---------- */
.field > label { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--print); }
.field > label .muted { text-transform: none; letter-spacing: 0; font-family: var(--f-text); font-stretch: 100%; font-weight: 500; }
.field input, .field select, .field textarea { border: 2px solid var(--print); border-radius: 0; background: var(--paper); padding: .75rem .85rem; font-size: 1rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--print); background: var(--carbon); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--print); outline: 3px solid var(--marker); outline-offset: 0; background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: #767a81; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.notice { border-radius: 0; border-width: 2px; }

/* ---------- Header: the form's top strip ---------- */
.formhead { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--print); view-transition-name: formhead; }
.formhead-in { max-width: var(--page); margin: 0 auto; padding: 0 var(--pad); height: var(--head-h); display: flex; align-items: center; gap: 2.5rem; }
.wordmark { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--print); }
.wordmark img { width: 34px; height: 34px; }
.wm-name { display: block; font-family: var(--f-print); font-stretch: 72%; font-weight: 900; font-size: 1.6rem; line-height: .9; text-transform: uppercase; letter-spacing: .01em; }
.wm-sub { display: block; font-size: .72rem; font-weight: 500; color: var(--graphite); margin-top: .2rem; }
.formnav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.formnav a { position: relative; display: block; padding: .35rem 0; font-weight: 600; text-decoration: none; }
.formnav a::after { content: ''; position: absolute; left: -6%; right: -6%; bottom: -3px; height: 9px; background: url(/img/mk/under.svg) no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .3s var(--ease); }
.formnav a:hover::after, .formnav a[aria-current='page']::after { clip-path: inset(0 0 0 0); }
.formhead-actions { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.staff { font-size: .875rem; color: var(--graphite); text-decoration: none; }
.staff:hover { color: var(--print); text-decoration: underline; }
.head-book { padding: .6rem 1rem; gap: 0; }
.hb-rest { margin-left: .28em; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; font-weight: 700; padding: .5rem .7rem; border: 2px solid var(--print); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--print); color: var(--paper); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 86vw); background: var(--paper); border: 2px solid var(--print); padding: .5rem; display: grid; }
.menu-panel a { padding: .8rem .75rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-fine); }
.menu-panel a[aria-current='page'] { color: var(--marker-ink); }
.menu-panel .btn { margin-top: .5rem; border-bottom: 2px solid var(--print); }

/* ================= HOME ================= */

/* ---------- The sheet (first viewport) ---------- */
.sheet { max-width: var(--page); margin: 0 auto; padding: clamp(1.5rem, 3.2vw, 2.75rem) var(--pad) 1rem; }
.sheet-title { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 1.5rem 3.5rem; align-items: end; padding-bottom: clamp(1.25rem, 2.4vw, 2rem); }
.sheet h1 { margin: 0; font-size: clamp(2.7rem, 6.1vw, 5.9rem); }
.h-print { display: block; }
.h-hand { display: block; font-family: var(--f-marker); font-weight: 400; font-stretch: 100%; color: var(--marker-hand); font-size: .74em; line-height: 1.15;
  margin-top: .14em; transform: rotate(-2.2deg); transform-origin: 0 50%; clip-path: inset(-20% -2% -30% -2%); }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--print-2); max-width: 46ch; margin-bottom: 1.1rem; }
.review-toggle { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.tick { position: relative; display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; cursor: pointer; user-select: none; }
.tick input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.tick .box { width: 26px; height: 26px; border: 2px solid var(--print); position: relative; flex: none; background: var(--paper); transition: background-color .1s; }
.tick .box::after { content: ''; position: absolute; inset: -9px -10px -3px -3px; background: url(/img/mk/check.svg) no-repeat center / contain; clip-path: inset(0 100% 0 0); transition: clip-path .32s var(--ease); }
.tick input:checked + .box::after { clip-path: inset(0 0 0 0); }
.tick input:focus-visible + .box { outline: 3px solid var(--marker); outline-offset: 3px; }
.tick:active .box { background: var(--print); }

.board { position: relative; }
.foursq { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(440px, 60vh, 610px);
  border: 2px solid var(--print); background: var(--paper); cursor: url(/img/mk/cursor.svg) 4 28, auto; }
.rule { position: absolute; z-index: 2; background: var(--print); pointer-events: none; }
.rule-v { left: calc(50% - 3px); top: 0; bottom: 0; width: 6px; }
.rule-h { top: calc(50% - 3px); left: 0; right: 0; height: 6px; }
.sq { position: relative; padding: 1rem 1.35rem; display: flex; flex-direction: column;
  background: repeating-linear-gradient(to bottom, transparent 0 45px, var(--ruled) 45px 46px) 0 0 / 100% 46px; }
.sq-label { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.sq-body { display: grid; gap: .1rem; justify-items: start; }
.sq-tr, .sq-br { align-items: flex-end; text-align: right; }
.sq-tr .sq-body, .sq-br .sq-body { justify-items: end; }
.sq-tl .sq-body, .sq-tr .sq-body { margin-top: .6rem; }
.sq-bl, .sq-br { flex-direction: column-reverse; }
.sq-bl .sq-body, .sq-br .sq-body { margin-bottom: .6rem; }

/* The dealer's graphite scrawl writes in on load. */
.pen { margin: 0; font-family: var(--f-pencil); color: var(--graphite); font-size: clamp(1.05rem, 1.45vw, 1.4rem); line-height: 1.3; transform: rotate(-1.4deg);
  clip-path: inset(-25% -4% -25% -4%); }
.pen-big { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 700; line-height: 1.1; }
.pen .small { font-size: .55em; }
del, ins { text-decoration: none; }
del { position: relative; display: inline-block; }
ins { position: relative; display: inline-block; }

/* Our orange marker. Everything below has a reviewed (default) and a dealer state. */
.mk { position: absolute; pointer-events: none; mix-blend-mode: multiply; }
.mk-strike { left: -7%; right: -7%; top: 38%; height: .42em; min-height: 9px; background: url(/img/mk/strike.svg) no-repeat center / 100% 100%;
  clip-path: inset(0 0 0 0); transition: clip-path .45s var(--ease) calc(var(--d, 0s) * .5); }
.ring { position: relative; display: inline-block; }
.mk-ring { inset: -.26em -.42em -.22em; background: url(/img/mk/ring.svg) no-repeat center / 100% 100%;
  --sweep: 360deg; -webkit-mask: conic-gradient(from var(--ring-from, 230deg), #000 var(--sweep), transparent 0); mask: conic-gradient(from var(--ring-from, 230deg), #000 var(--sweep), transparent 0);
  transition: --sweep .6s var(--ease) calc(var(--d, 0s) * .5); }
.ring-b .mk-ring { background-image: url(/img/mk/ring-b.svg); --ring-from: 20deg; }
.ring-c .mk-ring { background-image: url(/img/mk/ring-c.svg); --ring-from: 120deg; }
.fix { margin: .35rem 0 0; }
.fix ins { font-family: var(--f-marker); color: var(--marker-hand); font-size: clamp(1.1rem, 1.75vw, 1.7rem); line-height: 1.2; transform: rotate(-3deg);
  clip-path: inset(-40% -8% -40% -8%); transition: clip-path .6s cubic-bezier(.45, 0, .2, 1) calc(var(--d, 0s) * .5 + .15s); }
/* Leader lines: every note points up at the number it is about. */
.sq-tl .fix ins, .sq-bl .fix ins { margin-left: 2.2em; }
.sq-tr .fix ins, .sq-br .fix ins { margin-right: 2.2em; transform: rotate(2.5deg); }
.mk-arrow { width: 2em; height: 1.35em; top: -.75em; background: url(/img/mk/arrow.svg) no-repeat center / contain;
  transition: opacity .2s ease calc(var(--d, 0s) * .5 + .1s); }
.sq-tl .mk-arrow, .sq-bl .mk-arrow { left: -2.15em; transform: scaleX(-1); }
.sq-tr .mk-arrow, .sq-br .mk-arrow { right: -2.15em; }

.stamp { font-family: var(--f-print); font-stretch: 80%; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--marker-hand);
  border: 4px solid currentColor; border-radius: 7px; line-height: 1; padding: .32em .5em .28em; mix-blend-mode: multiply;
  -webkit-mask: url(/img/mk/grain.svg) 0 0 / 240px; mask: url(/img/mk/grain.svg) 0 0 / 240px; }
.stamp-hero { position: absolute; z-index: 4; right: 5%; top: calc(50% + 1.4rem); font-size: clamp(1.3rem, 2.2vw, 2rem); transform: rotate(-9deg);
  transition: transform .17s cubic-bezier(.6, 0, 1, .5) 1.05s, opacity .05s linear 1.05s; }
.foursq.is-thump { animation: thump .2s linear 1.2s 1; }
@keyframes thump { 30% { transform: translate(1px, 2px); } 60% { transform: translate(-1px, -1px); } }

/* Dealer's version: the marker comes off, quicker than it went on. */
.sheet:has(#view-dealer:checked) .mk-strike { clip-path: inset(0 100% 0 0); transition-duration: .22s; transition-delay: 0s; }
.sheet:has(#view-dealer:checked) .mk-ring { --sweep: 0deg; transition-duration: .25s; transition-delay: 0s; }
.sheet:has(#view-dealer:checked) .fix ins { clip-path: inset(-40% 108% -40% -8%); transition-duration: .22s; transition-delay: 0s; }
.sheet:has(#view-dealer:checked) .mk-arrow { opacity: 0; transition-delay: 0s; }
.sheet:has(#view-dealer:checked) .stamp-hero { opacity: 0; transform: rotate(-16deg) scale(1.7); transition: transform .15s ease, opacity .12s ease; }
.sheet:has(#view-dealer:checked) del { color: var(--print-2); }

/* The consultation sits where the squares cross. */
.sq-center { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--paper); border: 2px solid var(--print);
  padding: 1rem 1.1rem .8rem; display: grid; justify-items: center; gap: .5rem; width: max-content; max-width: 90%; }
.sq-center .call { font-size: .9rem; color: var(--print-2); }
.sheet-note { margin: .8rem 0 0; font-size: .8rem; color: var(--graphite); }

/* Page load: the sheet prints, the dealer writes, then our marker goes over it and the stamp lands. */
@media (prefers-reduced-motion: no-preference) {
  .sheet { --mk: 1.6s; }
  .rule-v { animation: rule-v .8s var(--ease) .05s backwards; }
  .rule-h { animation: rule-h .8s var(--ease) .05s backwards; }
  .sq-label { animation: fade .4s ease .35s backwards; }
  .sq-center { animation: rise .6s var(--ease) .45s backwards; }
  .h-hand { animation: write-hand .9s cubic-bezier(.45, 0, .2, 1) .25s backwards; }
  .pen { animation: write-pen .55s cubic-bezier(.45, 0, .2, 1) var(--w, 0s) backwards; }
  .mk-strike { animation: draw-strike .45s var(--ease) calc(var(--mk) + var(--d, 0s) * .8) backwards; }
  .mk-ring { animation: draw-ring .6s var(--ease) calc(var(--mk) + var(--d, 0s) * .8) backwards; }
  .fix ins { animation: write-ins .6s cubic-bezier(.45, 0, .2, 1) calc(var(--mk) + var(--d, 0s) * .8 + .2s) backwards; }
  .mk-arrow { animation: fade .2s ease calc(var(--mk) + var(--d, 0s) * .8 + .15s) backwards; }
  .stamp-hero { animation: slam .17s cubic-bezier(.6, 0, 1, .5) calc(var(--mk) + 1.7s) backwards; }
  .foursq { animation: thump .2s linear calc(1.6s + 1.7s + .15s) 1; }
  .sheet:has(#view-dealer:checked) .foursq { animation: none; }
  .foursq.is-thump { animation: thump .2s linear 1.2s 1; }
}
@keyframes rule-v { from { transform: scaleY(0); } }
@keyframes rule-h { from { transform: scaleX(0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, -42%); } }
@keyframes write-hand { from { clip-path: inset(-20% 102% -30% -2%); } }
@keyframes write-pen { from { clip-path: inset(-25% 104% -25% -4%); } }
@keyframes draw-strike { from { clip-path: inset(0 100% 0 0); } }
@keyframes draw-ring { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes write-ins { from { clip-path: inset(-40% 108% -40% -8%); } }
@keyframes slam { from { opacity: 0; transform: rotate(-16deg) scale(1.7); } }

/* ---------- Every box on that sheet is a place to lose money (pinned on wide screens) ---------- */
.boxes { margin-top: var(--space); }
.boxes-head { max-width: var(--page); margin: 0 auto; padding: 0 var(--pad) 2rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1rem 3rem; align-items: end; }
.boxes h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.boxes-head p { margin: 0; font-size: 1.1rem; color: var(--print-2); max-width: 40ch; }
.boxes-stage { max-width: var(--page); margin: 0 auto; border-top: 2px solid var(--print); }
.bx { padding: 2rem var(--pad); border-bottom: 2px solid var(--print); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .75rem 3rem; align-content: start; }
.bx > * { grid-column: 2; }
.bx h3 { grid-column: 1; grid-row: 1 / span 4; margin: 0; align-self: start; font-family: var(--f-print); font-stretch: 70%; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1; }
.bx h3 .ring { padding: 0 .08em; margin-left: .6em; }
.bx h3 .mk-ring { inset: -30% -13% -26% -13%; }
.bx-sheet { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 2.5rem; }
.bx-num { margin: 0; font-family: var(--f-pencil); font-weight: 700; color: var(--graphite); font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.1; transform: rotate(-1.4deg); }
.bx-fix { margin: 0; }
.bx-fix ins { font-family: var(--f-marker); color: var(--marker-hand); font-size: clamp(1.2rem, 1.9vw, 1.8rem); line-height: 1.15; margin-left: 2.2em; transform: rotate(-2.5deg); }
.bx-fix .mk-arrow { left: -2.15em; top: -.7em; transform: scaleX(-1) rotate(-12deg); }
.bx-tactic { margin: 0; font-family: var(--f-pencil); color: var(--graphite); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.35; max-width: 42ch; }
.bx-body p { margin: .5rem 0 0; max-width: 62ch; }
.bx-body strong { font-weight: 800; }
.bx-service { color: var(--print-2); font-size: .95rem; }
.bx-link { display: inline-block; margin-top: .8rem; font-weight: 700; }

.boxes.is-pinned .boxes-track { height: 340vh; }
.boxes.is-pinned .boxes-stage { position: sticky; top: calc(var(--head-h) + 1.25rem); height: calc(100vh - var(--head-h) - 2.5rem); max-height: 760px;
  display: grid; gap: 6px; background: var(--print); border: 2px solid var(--print); grid-template-columns: 2.4fr 1fr; grid-template-rows: 2.4fr 1fr;
  transition: grid-template-columns .75s var(--ease), grid-template-rows .75s var(--ease); }
.boxes.is-pinned .boxes-stage[data-active='1'] { grid-template-columns: 1fr 2.4fr; grid-template-rows: 2.4fr 1fr; }
.boxes.is-pinned .boxes-stage[data-active='2'] { grid-template-columns: 2.4fr 1fr; grid-template-rows: 1fr 2.4fr; }
.boxes.is-pinned .boxes-stage[data-active='3'] { grid-template-columns: 1fr 2.4fr; grid-template-rows: 1fr 2.4fr; }
.boxes.is-pinned .bx { display: flex; flex-direction: column; gap: .7rem; border: 0; overflow: hidden; padding: clamp(1.1rem, 2vw, 2rem);
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0 45px, var(--ruled) 45px 46px); transition: background-color .4s; }
.boxes.is-pinned .bx h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); transition: font-size .6s var(--ease); }
/* Closed boxes: name and number share one left edge; the indent that makes room for the ring comes with it. */
.boxes.is-pinned .bx h3 .ring { margin-left: 0; transform: translateX(.6em); transition: transform .6s var(--ease); }
.boxes.is-pinned .bx:not(.is-active) h3 .ring { transform: none; }
.boxes.is-pinned .bx.is-active h3 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: .2rem; }
.boxes.is-pinned .bx:not(.is-active) .bx-tactic { display: none; }
.boxes.is-pinned .bx.is-active .bx-tactic { font-size: clamp(1.3rem, 1.9vw, 1.75rem); }
.boxes.is-pinned .bx-body { opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .5s var(--ease); padding-top: 1rem; border-top: 2px solid var(--print); }
.boxes.is-pinned .bx.is-active .bx-body { opacity: 1; transform: none; transition-delay: .5s; }
.boxes.is-pinned .bx-body p { font-size: 1.08rem; }
.boxes.is-pinned .bx-body .bx-service { font-size: .96rem; }
.boxes.is-pinned .bx:not(.is-active) .bx-body { visibility: hidden; transition: opacity .2s ease, transform .5s var(--ease), visibility 0s .2s; }
/* The opened box gets the hero's marker pass: ring the name, strike the number, write the correction. */
.boxes.is-pinned .bx .mk-ring { --sweep: 0deg; transition: --sweep .6s var(--ease); }
.boxes.is-pinned .bx.is-active .mk-ring { --sweep: 360deg; transition-delay: .15s; }
.boxes.is-pinned .bx .mk-strike { clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease); }
.boxes.is-pinned .bx.is-active .mk-strike { clip-path: inset(0 0 0 0); transition-delay: .45s; }
.boxes.is-pinned .bx .bx-fix ins { clip-path: inset(-40% 108% -40% -8%); transition: clip-path .6s cubic-bezier(.45, 0, .2, 1); }
.boxes.is-pinned .bx.is-active .bx-fix ins { clip-path: inset(-40% -8% -40% -60%); transition-delay: .7s; }
.boxes.is-pinned .bx .bx-fix .mk-arrow { opacity: 0; transition: opacity .2s ease; }
.boxes.is-pinned .bx.is-active .bx-fix .mk-arrow { opacity: 1; transition-delay: .65s; }
.boxes.is-pinned .bx:not(.is-active) { cursor: pointer; }
.boxes.is-pinned .bx:not(.is-active):hover { background-color: var(--carbon); }

/* ---------- The customer copy: an orange carbon form torn along its perforation ---------- */
.copysheet { position: relative; margin-top: var(--space); background: var(--marker); color: var(--print);
  --tear-y: 0px; --tear-r: 0deg; transform: translateY(var(--tear-y)) rotate(var(--tear-r)); transition: transform 1s var(--ease); }
.copysheet::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 18px;
  background: radial-gradient(circle at 9px 9px, var(--paper) 5px, transparent 5.6px) 0 0 / 18px 18px repeat-x; }
.copysheet::after { content: ''; position: absolute; left: 0; right: 0; top: 18px; border-top: 2px dashed var(--print); opacity: .55; }
.copysheet.is-armed { --tear-y: 90px; --tear-r: -1.2deg; }
.copysheet.is-armed.is-in { --tear-y: 0px; --tear-r: 0deg; }
.copy-in { max-width: var(--page); margin: 0 auto; padding: clamp(4rem, 7vw, 6rem) var(--pad) 2.5rem; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  grid-template-areas: 'lead form' 'sign form'; grid-template-rows: auto 1fr; gap: 2.5rem 4rem; }
.copy-lead { grid-area: lead; }
.copy-form { display: contents; }
.cf { grid-area: form; align-self: start; }
.cf-sign { grid-area: sign; align-self: end; border: 2px solid var(--print); }
.copysheet h2 { margin: 0 0 1rem; font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.copy-lead > p { font-size: 1.1rem; max-width: 36ch; margin: 0; }
.cf { list-style: none; margin: 0; padding: 0; border: 2px solid var(--print); }
.cf li:last-child { border-bottom: 0; }
.cf li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 2px solid var(--print); }
.cf-field p { margin: 0; line-height: 1.5; }
.cf-field strong { font-weight: 800; }
.cf-cap { display: block; margin-top: .45rem; padding-top: .3rem; border-top: 1px solid var(--print);
  font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.copysheet .tickbox { background: transparent; border-color: var(--print); }
.copysheet .tickbox::after { background-image: url(/img/mk/check-ink.svg); clip-path: inset(0 0 0 0); }
.cf li.is-armed .tickbox::after { clip-path: inset(0 100% 0 0); }
.cf li.is-armed.is-in .tickbox::after { clip-path: inset(0 0 0 0); transition-delay: .25s; }
.cf-sign { display: grid; grid-template-columns: 1fr 1fr; }
.cf-sign > div:first-child { grid-column: 1 / -1; border-bottom: 2px solid var(--print); }
.cf-sign > div + div { grid-column: 1 / -1; }
.cf-sign > div { padding: 1.4rem 1.25rem 1rem; }

.cf-sign .sig { display: block; font-family: var(--f-pencil); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--print); transform: rotate(-3deg); transform-origin: left; }
.copy-foot { max-width: var(--page); margin: 0 auto; padding: 1rem var(--pad) 1.4rem; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Customer comments ---------- */
.comments { position: relative; max-width: 1080px; margin: var(--space) auto 0; padding: 0 var(--pad); }
.comment-field { position: relative; margin: 0; border: 2px solid var(--print); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem) 2rem; }
.field-caption { position: absolute; left: 1rem; top: .75rem; font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.comment-field blockquote { margin: 0; }
.comment-field blockquote p { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.5; font-weight: 500; max-width: 46ch; text-wrap: pretty; }
.comment-field figcaption { margin-top: 2rem; display: grid; justify-items: start; }
.sig { font-family: var(--f-pencil); font-weight: 700; font-size: 2.2rem; color: var(--graphite); line-height: 1; transform: rotate(-3deg); padding: 0 1.5rem .2rem .3rem; border-bottom: 2px solid var(--print); }
.sig-line { font-size: .85rem; color: var(--graphite); margin-top: .35rem; }
/* The stamp lands in the signature margin, never over the customer's words. */
.stamp-done { position: absolute; right: calc(var(--pad) + clamp(1rem, 4vw, 3rem)); bottom: 1.75rem; margin: 0; font-size: clamp(1.3rem, 2.3vw, 2rem); transform: rotate(-7deg); text-align: center; background: var(--paper);
  transition: transform .17s cubic-bezier(.6, 0, 1, .5), opacity .05s linear; }
.stamp-done span { display: block; font-size: .62em; letter-spacing: .12em; margin-top: .25em; }
.comments.is-armed .stamp-done { opacity: 0; transform: rotate(-14deg) scale(1.7); }
.comments.is-armed.is-in .stamp-done { opacity: 1; transform: rotate(-7deg); transition-delay: .35s; }

/* ---------- Vehicle wanted: prints clipped to the sheet ---------- */
.wanted { max-width: var(--page); margin: var(--space) auto 0; padding: 0 var(--pad); }
.wanted-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: end; padding-bottom: 2rem; }
.wanted h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.wanted-head p { margin: 0; max-width: 44ch; color: var(--print-2); }
.wanted-sheet { position: relative; border: 2px solid var(--print); padding: clamp(3.25rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem) 2rem;
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0 45px, var(--ruled) 45px 46px); }
.prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.25rem); align-items: start; }
.print { position: relative; margin: 0; background: var(--paper); padding: .55rem .55rem 0; border: 1px solid #d9dbde;
  box-shadow: 0 12px 22px -12px rgba(22, 24, 28, .45), 0 2px 4px rgba(22, 24, 28, .08); transform: rotate(var(--tilt, 0deg)); }
.print:nth-child(1) { --tilt: -3deg; }
.print:nth-child(2) { --tilt: 2.2deg; margin-top: 1.5rem; }
.print:nth-child(3) { --tilt: -1.4deg; margin-top: .4rem; }
.print:nth-child(4) { --tilt: 2.8deg; margin-top: 1.2rem; }
.print::before { content: ''; position: absolute; z-index: 1; left: 50%; top: -1.35rem; width: 48px; height: 40px; transform: translateX(-50%) rotate(calc(var(--tilt, 0deg) * -1)); background: url(/img/mk/clip.svg) no-repeat center / contain; }
.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print:nth-child(2) img { aspect-ratio: 3 / 4; }
.print figcaption { font-family: var(--f-pencil); color: var(--print-2); font-size: 1.15rem; padding: .35rem .2rem .45rem; }
.wanted-note { margin: 2rem 0 0; text-align: right; }
.wanted-note ins { font-family: var(--f-marker); color: var(--marker-hand); font-size: clamp(1.3rem, 2.2vw, 2rem); transform: rotate(-2deg); margin-right: .5rem; }
.wanted-note .mk-arrow { left: -2.3em; top: -.9em; transform: scaleX(-1) rotate(-20deg); }

/* ---------- Desks ---------- */
.desks { margin-top: var(--space); border-top: 2px solid var(--print); border-bottom: 2px solid var(--print); background: var(--paper); }
.desks-in { max-width: var(--page); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--pad); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem 4rem; }
.desks h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); }
.desk-list { list-style: none; margin: 0; padding: 0; }
.desk-list li { display: grid; grid-template-columns: 26px 9.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--print); }
.desk-list li:first-child { border-top: 1px solid var(--print); }
.desk-list strong { font-family: var(--f-print); font-stretch: 80%; font-weight: 800; font-size: 1.35rem; }
.desk-list span:last-child { font-family: var(--f-pencil); color: var(--graphite); font-size: 1.15rem; }
.desks-note { margin: 1.5rem 0 0; max-width: 56ch; }

/* ---------- Stock stubs ---------- */
.onhand { max-width: var(--page); margin: var(--space) auto 0; padding: 0 var(--pad); }
.onhand-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: end; padding-bottom: 2rem; }
.onhand h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.onhand-head p { margin: 0; max-width: 46ch; color: var(--print-2); }
.stubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
.stub { position: relative; border: 2px solid var(--print); background: var(--paper); display: flex; flex-direction: column; transition: transform .25s var(--ease); }
.stub:hover { transform: translateY(-3px); }
.stub-photo { position: relative; border-bottom: 2px solid var(--print); background: var(--print); }
.stub-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stub-photo .placeholder { aspect-ratio: 3 / 2; display: grid; place-content: center; justify-items: center; gap: .6rem; background: var(--carbon); color: var(--graphite); font-family: var(--f-pencil); font-size: 1.1rem; }
.stub-photo .placeholder img { width: 160px; aspect-ratio: auto; object-fit: contain; opacity: .7; }
.stub-name { padding: 1rem 1.1rem .9rem; flex: 1; }
.stub-title { margin: 0; font-family: var(--f-print); font-stretch: 78%; font-weight: 800; font-size: 1.55rem; line-height: 1.05; }
.stub-title a { text-decoration: none; }
.stub-title a:focus-visible { outline: none; }
.stub:has(a:focus-visible) { outline: 3px solid var(--print); outline-offset: 3px; }
.stub-name p { margin: .35rem 0 0; color: var(--graphite); font-size: .9rem; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.stub-cells { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 2px solid var(--print); }
.cell { display: flex; flex-direction: column-reverse; padding: .8rem 1.1rem .7rem; }
.cell + .cell { border-left: 2px solid var(--print); }
.cell dt { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--print); padding-top: .3rem; margin-top: .35rem; }
.cell dd { margin: 0; font-weight: 650; font-size: 1.05rem; }
.cell-price { font-family: var(--f-print); font-stretch: 78%; font-weight: 800; font-size: 1.45rem !important; }
.ring-on-hover { position: relative; display: inline-block; }
.ring-on-hover::after { content: ''; position: absolute; inset: -.3em -.45em -.25em; background: url(/img/mk/ring.svg) no-repeat center / 100% 100%; mix-blend-mode: multiply;
  --sweep: 0deg; -webkit-mask: conic-gradient(from 230deg, #000 var(--sweep), transparent 0); mask: conic-gradient(from 230deg, #000 var(--sweep), transparent 0); transition: --sweep .45s var(--ease); }
.stub:hover .ring-on-hover::after, .stub:has(a:focus-visible) .ring-on-hover::after { --sweep: 360deg; }
.stamp-sm { position: absolute; z-index: 2; right: .8rem; top: .8rem; font-size: .95rem; background: var(--paper); transform: rotate(-6deg); }

/* ---------- Sign-off (every page) ---------- */
.signoff { margin-top: clamp(3rem, 6vw, 5rem); border-top: 2px solid var(--print); }
.sheet ~ .signoff, #main:has(.onhand) + .signoff { margin-top: var(--space); }
.signoff-in { max-width: var(--page); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--pad) clamp(3rem, 5vw, 4.5rem); }
.signoff h2 { margin: 0; font-size: clamp(2.4rem, 5.4vw, 5.2rem); max-width: 16ch; }
.signoff-in > p { font-size: 1.1rem; max-width: 52ch; color: var(--print-2); margin: 1.25rem 0 2.5rem; }
.sigline { display: flex; align-items: flex-end; gap: 1.25rem; border-bottom: 2px solid var(--print); padding-bottom: .9rem; }
.sig-x { font-family: var(--f-pencil); font-weight: 700; font-size: 2.6rem; line-height: .8; color: var(--graphite); }
.sig-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.sig-caption { margin: .4rem 0 0; font-size: .8rem; color: var(--graphite); }

/* ---------- Footer: the form's fine print ---------- */
.formfoot { border-top: 2px solid var(--print); background: var(--print); color: #e9eaec; }
.formfoot a { color: #fff; text-decoration-color: var(--marker); }
.formfoot-in { max-width: var(--page); margin: 0 auto; padding: 3.5rem var(--pad) 2.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.formfoot .wordmark { color: #fff; }
.formfoot .wm-sub { color: #b9bcc2; }
.ff-brand p { margin: 1.2rem 0 1rem; max-width: 32ch; color: #c9ccd1; }
.ff-label { margin: 0 0 .8rem; font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marker); }
.ff-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: #c9ccd1; }
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #5b6068; color: #fff; }
.social a:hover { background: var(--marker); border-color: var(--marker); color: var(--print); }
.fineprint { max-width: var(--page); margin: 0 auto; padding: 1.1rem var(--pad) 1.6rem; border-top: 1px solid #3b3f46; display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: .8rem; color: #a9adb3; }
.formfoot :focus-visible { outline-color: var(--marker); }

/* ================= INNER PAGES ================= */
.pagehead { max-width: var(--page); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(1.75rem, 3vw, 2.5rem); border-bottom: 2px solid var(--print);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1rem 3rem; align-items: end; }
.pagehead h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.pagehead p { margin: 0; font-size: 1.1rem; color: var(--print-2); max-width: 46ch; }
.pagehead .h-hand { font-size: .5em; margin-top: .3em; }
.page { max-width: var(--page); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(3rem, 6vw, 5rem); }
.narrow { max-width: 760px; }
.page-note { margin-top: 2.5rem; max-width: 60ch; color: var(--print-2); }
.back-home { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; margin-bottom: 1.5rem; }
.back-home:hover { text-decoration: underline; }
.empty-sheet { border: 2px dashed var(--print); padding: 2.5rem; }
.empty-sheet h2 { margin: 0 0 .5rem; font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 2rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Vehicle ---------- */
.vd { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem 3.5rem; align-items: start; }
.vd-media { min-width: 0; }
.vd-photo { position: relative; border: 2px solid var(--print); background: var(--print); }
.vd-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vd-photo .placeholder { aspect-ratio: 3 / 2; display: grid; place-content: center; justify-items: center; gap: .6rem; background: var(--carbon); font-family: var(--f-pencil); color: var(--graphite); font-size: 1.2rem; }
.vd-photo .stamp-sm { font-size: 1.2rem; }
.vd-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; padding: 4px; }
.vd-thumb { flex: none; width: 104px; padding: 0; border: 2px solid var(--print); background: var(--print); cursor: pointer; }
.vd-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; opacity: .75; transition: opacity .15s; }
.vd-thumb:hover img, .vd-thumb.on img { opacity: 1; }
.vd-thumb.on { outline: 3px solid var(--marker); outline-offset: 2px; }
.vd-info h1 { margin: 0; font-family: var(--f-print); font-stretch: 70%; font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: .95; }
.vd-sub { margin: .5rem 0 0; color: var(--graphite); font-size: 1.05rem; }
.vd-price-box { margin: 1.5rem 0; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--print); }
.vd-price-box > div { display: flex; flex-direction: column-reverse; padding: .85rem 1rem .75rem; }
.vd-price-box > div + div { border-left: 2px solid var(--print); }
.vd-price-box dt { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--print); margin-top: .35rem; padding-top: .3rem; }
.vd-price-box dd { margin: 0; }
.vd-price { font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.vd-colors { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--print); border-top: 0; margin: -1.5rem 0 1.5rem; }
.vd-colors > div { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; }
.vd-colors > div + div { border-left: 2px solid var(--print); }
.vd-colors .muted { display: block; font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.swatch { display: inline-block; width: 26px; height: 26px; flex: none; border: 2px solid var(--print); background: var(--sw, repeating-linear-gradient(45deg, #fff 0 4px, #d5d8dc 4px 6px)); }
.spec-list { margin: 2rem 0 0; border-top: 2px solid var(--print); }
.spec-list > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--rule-fine); }
.spec-list dt { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding-top: .15rem; }
.spec-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.spec-list .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .92rem; }
.vd-notes { margin-top: 3.5rem; border: 2px solid var(--print); padding: 2.25rem 1.5rem 1.5rem; position: relative; max-width: 80ch; }
.vd-notes p { margin: 0; line-height: 1.65; }
.vd-features { margin-top: 3.5rem; }
.vd-features h2, .page .print-h { font-family: var(--f-print); font-stretch: 72%; font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; margin: 0 0 1.5rem; }
.feature-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 2.5rem; }
.feature-cols h3 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 800; border-bottom: 2px solid var(--print); padding-bottom: .4rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 2.1rem; line-height: 1.45; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border: 2px solid var(--print); background: var(--paper); }
.check-list li::after { content: ''; position: absolute; left: -2px; top: -.3em; width: 26px; height: 26px; background: url(/img/mk/check.svg) no-repeat center / contain; }
.more-stock { margin-top: var(--space); }
.more-stock h2 { font-family: var(--f-print); font-stretch: 72%; font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); margin: 0 0 1.5rem; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 2rem 4rem; }
.story-text p { font-size: 1.15rem; line-height: 1.7; max-width: 62ch; }
.story-text p:first-child { font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.about-desks { margin-top: var(--space); }
.expect { margin-top: var(--space); }
.expect-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--print); }
.expect-list li { display: grid; grid-template-columns: 26px minmax(10rem, .35fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.4rem 0; border-bottom: 2px solid var(--print); }
.expect-list strong { font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; line-height: 1; }
.expect-list p { margin: 0; font-size: 1.05rem; }
.relations { margin-top: var(--space); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: center; }
.relations figure { margin: 0; border: 2px solid var(--print); background: var(--print); }
.relations img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.relations p { font-size: 1.1rem; max-width: 50ch; color: var(--print-2); }
.partner-ticks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.partner-ticks li { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 3rem; align-items: start; }
.form-sheet { border: 2px solid var(--print); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-sheet h2 { margin: 0 0 1.5rem; font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 2.2rem; line-height: 1; }
.form-fine { font-size: .85rem; margin: .9rem 0 0; color: var(--graphite); }
.office { border-top: 6px solid var(--print); padding-top: 1.25rem; }
.office h2 { margin: 0 0 1rem; font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.9rem; }
.office dl { margin: 0 0 1.5rem; }
.office dl > div { display: flex; flex-direction: column-reverse; padding: .75rem 0; border-bottom: 1px solid var(--print); }
.office dt { display: flex; align-items: center; gap: .4rem; font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.office dd { margin: 0; font-weight: 600; }
.office .social a { border-color: var(--print); color: var(--print); }
.office .social a:hover { background: var(--marker); color: var(--print); border-color: var(--print); }
.map { position: relative; margin-top: 3rem; border: 2px solid var(--print); background: var(--paper); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .4rem; text-align: center; padding: 1rem; }
.map-fallback strong { font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; }
.map iframe { position: relative; display: block; width: 100%; height: 360px; border: 0; filter: grayscale(1) contrast(1.05); background: transparent; }
.map-link { display: inline-block; margin-top: .75rem; font-weight: 700; }
.sent { position: relative; border: 2px solid var(--print); padding: 2.5rem 2rem 2rem; }
.sent h2 { margin: 0 0 .6rem; font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 2.2rem; line-height: 1; }
.sent .stamp { position: absolute; right: 1.5rem; top: -1.1rem; font-size: 1.2rem; background: var(--paper); transform: rotate(-6deg); }

/* ---------- Book ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 3rem; align-items: start; }
.step-title { display: flex; align-items: center; gap: .8rem; margin: 2.25rem 0 1rem; font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.7rem; line-height: 1; }
.step-title:first-child { margin-top: 0; }
.step-title span { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--print); color: var(--paper); font-size: 1.2rem; }
.day-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--print); border-left: 2px solid var(--print); }
.day-strip > li { display: grid; }
.day-chip { position: relative; display: grid; justify-items: center; gap: .1rem; padding: .7rem .3rem .6rem; border-right: 2px solid var(--print); border-bottom: 2px solid var(--print); text-decoration: none; background: var(--paper); transition: background-color .12s; }
.day-chip span { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.day-chip b { font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.day-chip small { font-size: .72rem; color: var(--graphite); }
a.day-chip:hover { background: var(--carbon); }
.day-chip.on { background: var(--carbon); }
.day-chip.on b { position: relative; }
.day-chip.on b::after { content: ''; position: absolute; inset: -.3em -.45em -.2em; background: url(/img/mk/ring.svg) no-repeat center / 100% 100%; mix-blend-mode: multiply; }
.day-chip.off { color: #8a8e95; background: repeating-linear-gradient(135deg, var(--paper) 0 7px, #f1f2f4 7px 9px); }
.slot-group { margin: 1.5rem 0 .6rem; font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .5rem; }
.slot-btn { display: block; text-align: center; padding: .7rem .5rem; border: 2px solid var(--print); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color .12s, color .12s; }
.slot-btn:hover, .slot-btn:active { background: var(--print); color: var(--marker); }
.chosen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border: 2px solid var(--print); padding: 1rem 1.25rem; margin-bottom: 2rem; background: var(--carbon); }
.chosen > div { display: grid; }
.chosen strong { font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.7rem; line-height: 1.1; }
.book-aside { border-top: 6px solid var(--print); padding-top: 1.25rem; }
.book-aside h2 { margin: 0 0 1rem; font-family: var(--f-print); font-stretch: 75%; font-weight: 800; font-size: 1.7rem; }
.book-vehicle { border: 2px solid var(--print); margin-bottom: 1.75rem; }
.book-vehicle img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 2px solid var(--print); }
.book-vehicle div { display: grid; padding: .75rem 1rem; }

/* ---------- Appointment slip ---------- */
.slip { position: relative; border: 2px solid var(--print); padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem); }
.slip h1 { margin: 0 0 .6rem; font-family: var(--f-print); font-stretch: 72%; font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .95; }
.slip .stamp { position: absolute; right: 1.5rem; top: -1.2rem; font-size: 1.3rem; background: var(--paper); transform: rotate(-7deg); }
.slip.is-cancelled .stamp { color: var(--graphite); }
.appt-facts { margin: 1.75rem 0; border-top: 2px solid var(--print); }
.appt-facts > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--print); }
.appt-facts dt { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .2rem; }
.appt-facts dd { margin: 0; font-weight: 650; }
.appt-cancel { margin-top: 1.5rem; }
.slip-foot { text-align: center; margin-top: 1.5rem; color: var(--print-2); }

/* ---------- Legal (Read) ---------- */
.legal { max-width: 70ch; }
.legal h2 { font-family: var(--f-print); font-stretch: 78%; font-weight: 800; font-size: 1.8rem; line-height: 1.1; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal li::marker { color: var(--marker-ink); }

/* ---------- Staff login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; background: var(--print); }
.login-main { background: var(--paper); }
.login-side { background: var(--marker); padding: 2rem clamp(1.5rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.login-side .wordmark img { border: 2px solid var(--print); border-radius: 12px; }
.login-side h2 { margin: 0; font-family: var(--f-print); font-stretch: 70%; font-weight: 800; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .95; max-width: 12ch; }
.login-side p { margin: 1rem 0 0; max-width: 40ch; font-size: 1.05rem; }
.login-side .wm-sub { color: var(--print); }
.login-main { display: grid; place-items: center; padding: 2rem var(--pad); }
.login-card { width: min(440px, 100%); }
.login-card h1 { margin: 0 0 .4rem; font-family: var(--f-print); font-stretch: 72%; font-weight: 800; font-size: 2.8rem; line-height: 1; }
.login-card form { margin-top: 1.5rem; }
.login-card .btn { width: 100%; }
.btn-ms { background: var(--paper); color: var(--print); margin-top: 1.25rem; gap: .6rem; }
.btn-ms:hover { background: var(--print); color: var(--paper); }
.local-login { margin-top: 1.25rem; }
.local-login summary { cursor: pointer; font-weight: 600; }
.demo-accounts { margin-top: 2rem; border-top: 2px solid var(--print); padding-top: 1rem; }
.demo-accounts p { margin: 0 0 .6rem; font-size: .85rem; color: var(--graphite); }
.demo-account { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: .75rem 1rem; margin-bottom: .5rem; background: var(--paper); border: 2px solid var(--print); cursor: pointer; font-size: .9rem; }
.demo-account:hover { background: var(--carbon); }
.demo-account code { font-size: .8rem; color: var(--print-2); }
.role-pill { font-family: var(--f-print); font-stretch: 85%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border: 2px solid var(--print); padding: .2rem .45rem; }
.role-pill.admin { background: var(--marker); }

/* ---------- Message page ---------- */
.message-page { max-width: var(--page); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--pad); }
.message-page h1 { margin: 0 0 1rem; font-family: var(--f-print); font-stretch: 72%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; max-width: 18ch; }
.message-page p { font-size: 1.15rem; max-width: 56ch; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .formnav, .staff { display: none; }
  .menu { display: block; }
  .formhead-in { gap: 1rem; }
  .formfoot-in { grid-template-columns: 1fr 1fr; }
  .wanted-head, .onhand-head { grid-template-columns: 1fr; }
  .prints { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
}
@media (max-width: 900px) {
  .sheet-title, .boxes-head, .copy-in, .desks-in, .pagehead, .vd, .story, .relations, .contact-grid, .book-grid { grid-template-columns: 1fr; }
  .bx { grid-template-columns: 1fr; }
  .bx > *, .bx h3 { grid-column: 1; grid-row: auto; }
  .prints { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .copy-in { grid-template-areas: 'lead' 'form' 'sign'; grid-template-rows: auto; }
  .login { grid-template-columns: 1fr; }
  .login-side { min-height: auto; gap: 2rem; }
  .login-side h2 { font-size: 2.4rem; }
}
@media (max-width: 760px) {
  :root { --head-h: 60px; }
  .wm-name { font-size: 1.35rem; }
  .wm-sub { display: none; }
  .head-book { padding: .5rem .8rem; font-size: .9rem; }
  .hb-rest, .menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu summary { padding: .45rem .55rem; }
  .formhead-actions { gap: .6rem; }
  .foursq { height: auto; min-height: 460px; }
  .sq { padding: .75rem .7rem; min-height: 230px; }
  .pen { font-size: 1rem; }
  .pen-big { font-size: 1.9rem; }
  .pen-xtra { display: none; }
  .sq-tr .pen:not(.pen-big) { font-size: .92rem; }
  .pen .long { display: none; }
  .sq .fix ins { margin-left: 0; margin-right: 0; }
  .fix ins { font-size: 1.05rem; }
  .mk-arrow { display: none; }
  .sq-label { font-size: .68rem; }
  .stamp-hero { top: calc(50% + .6rem); right: 4%; font-size: 1.05rem; }
  .sq-center { position: static; transform: none; width: auto; max-width: none; margin-top: 1rem; border: 0; padding: 0; justify-items: stretch; text-align: center; }
  .sq-center .btn { width: 100%; }
  .formfoot-in { grid-template-columns: 1fr; }
  .cf li { padding: 1rem; gap: .9rem; }
  .bx-fix ins { margin-left: 0; }
  .bx-fix .mk-arrow { display: none; }
  .wanted-note { text-align: left; }
  .wanted-note .mk-arrow { display: none; }
  .desk-list li { grid-template-columns: 26px minmax(0, 1fr); }
  .desk-list li span:last-child { grid-column: 2; margin-top: -.6rem; }
  .expect-list li { grid-template-columns: 26px minmax(0, 1fr); }
  .expect-list li p { grid-column: 2; }
  .sigline { flex-direction: column; align-items: stretch; }
  .sig-actions .btn { flex: 1 1 auto; }
  .stamp-done { position: relative; right: auto; bottom: auto; display: table; margin: 1.25rem 0 0 auto; font-size: 1.15rem; }
  .vd-price-box, .vd-colors { grid-template-columns: 1fr; }
  .vd-price-box > div + div, .vd-colors > div + div { border-left: 0; border-top: 2px solid var(--print); }
  .copy-foot { flex-direction: column; gap: .2rem; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .sq-center { animation: rise-m .6s var(--ease) .45s backwards; }
}
@keyframes rise-m { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 420px) {
  .sq { min-height: 210px; }
  .pen-big { font-size: 1.6rem; }
  .fix ins { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .copysheet.is-armed { --tear-y: 0px; --tear-r: 0deg; }
  .comments.is-armed .stamp-done { opacity: 1; transform: rotate(-7deg); }
}

/* Text-message consent on the public forms */
.field > label.consent-check { align-items: flex-start; font-family: var(--f-text); font-stretch: 100%; font-size: .85rem; font-weight: 500; line-height: 1.5; color: var(--print-2); text-transform: none; letter-spacing: 0; }
.field > label.consent-check input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--marker-ink); }
