/* Complete Print Shop For Sale — warm editorial.
   Tokens first; everything else references them. */

:root {
  --ground: #FAF7F2;
  --ground-alt: #F2EDE5;
  --ink: #1C1917;
  --ink-2: #4A423B;
  --ink-3: #6B6058;
  --ink-4: #8A7D72;
  --accent: #A8501F;
  --accent-soft: #E8A87C;
  --dark: #16130F;
  --line: #E3DDD3;
  --line-2: #2E2925;
  --shot: #ECE6DD;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }

/* anchor targets must clear the sticky header, or a jump lands under it */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 78px; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #7C3A14; text-decoration: underline; }

h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--alt { background: var(--ground-alt); }
.section--dark { background: var(--dark); color: var(--ground); }

.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--accent-soft); }

.h-xl { font-size: clamp(38px, 6vw, 72px); }
.h-lg { font-size: clamp(30px, 4.4vw, 50px); }
.h-md { font-size: clamp(24px, 3vw, 34px); }

.lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* ---- header / nav ---- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; position: relative; }
.brand { min-width: 0; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.2; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .dot { width: 20px; height: 20px; border: 1.5px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand .dot i { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; display: block; }
/* --- mobile first: the five links plus a CTA cannot fit a phone header,
   so they live behind a toggle and stack full width when opened --- */
.navtoggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0; margin-right: -10px;
  background: none; border: none; color: var(--ink); cursor: pointer;
}
.nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ground); border-bottom: 1px solid var(--line);
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 6px var(--gutter) 16px;
}
.nav.open { display: flex; }
.nav a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--line); min-height: 48px; display: flex; align-items: center; }
.nav a:last-child { border-bottom: none; margin-top: 12px; }
.nav a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.btn--nav { padding: 10px 18px; min-height: 40px; font-size: 14px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 2px; font-size: 15px; font-weight: 600;
  min-height: 48px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); text-align: center;
}
.btn:hover { text-decoration: none; }
/* every primary CTA reads the same: white text, accent on hover */
/* .btn.btn--primary (0,2,0) so it always beats .nav a (0,1,1) -- without the
   doubled class the header CTA inherits the nav's gray and ignores this rule */
.btn.btn--primary, a.btn.btn--primary { background: var(--ink); color: #fff; }
.btn.btn--primary:hover, a.btn.btn--primary:hover { background: var(--ink); color: var(--accent); }
.btn.btn--primary svg { color: inherit; }
.btn--ghost { border-color: var(--line); color: var(--ink-2); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: var(--ground); color: var(--dark); }
.btn--light:hover { color: var(--dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.hero__body { padding: 52px var(--gutter) 44px; display: flex; flex-direction: column; gap: 26px; }
.hero__shot { background: var(--shot); position: relative; min-height: 280px; }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute; left: 0; bottom: 24px; background: var(--ground);
  padding: 14px 20px; max-width: 330px; border-left: 3px solid var(--accent);
  font-size: 15px; font-weight: 600; line-height: 1.35;
}
/* ---- hero slider ---- */
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.slide.is-on { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag b { display: block; }
.hero__tag span { display: block; font-weight: 600; font-size: 12.5px; color: var(--accent); margin-top: 3px; }
.slide-ui {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: rgba(250,247,242,.92); padding: 6px; border-radius: 2px;
}
.sbtn {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--ink-2); cursor: pointer; border-radius: 2px;
}
.sbtn:hover { background: var(--ground-alt); color: var(--accent); }
.dots { display: flex; gap: 6px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  border: none; background: #CBC2B6;
}
.dots button[aria-selected="true"] { background: var(--accent); }

.stats { display: flex; flex-wrap: wrap; gap: 24px 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.stat span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; }

/* ---- generic grids ---- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.head-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 34px; }
.head-row .lede { max-width: 48ch; }

/* ---- cards ---- */
.card { background: var(--ground); border: 1px solid #E8E2D8; overflow: hidden; display: flex; flex-direction: column; }
.section--alt .card { background: var(--ground); }
.card .shot { height: 200px; background: var(--shot); display: flex; align-items: center; justify-content: center; }
/* photos are a mix of portrait and landscape — contain so the whole machine shows */
.card .shot img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.card h3 { font-size: 17px; line-height: 1.28; }
.card .model { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.card p { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.card a.more { margin-top: auto; padding-top: 10px; font-size: 13.5px; font-weight: 600; }

.tile { padding: 22px 20px 24px; background: var(--ground); border: 1px solid #E8E2D8; display: flex; flex-direction: column; gap: 11px; }
.tile h3 { font-size: 16.5px; }
.tile p { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

/* ---- audience blocks ---- */
.aud { display: flex; gap: 16px; padding: 24px 22px; background: var(--ground); border: 1px solid #E8E2D8; }
.aud svg { flex-shrink: 0; margin-top: 2px; }
.aud h3 { font-size: 17px; margin-bottom: 7px; }
.aud p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* ---- checklist ---- */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks svg { flex-shrink: 0; margin-top: 4px; }

/* ---- inventory table ---- */
.inv-group { margin-bottom: 44px; }
.inv-group h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.inv-group .count { font-size: 13px; color: var(--ink-4); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.inv-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.inv-row { display: flex; align-items: baseline; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.inv-row .q { font-size: 12.5px; font-weight: 700; color: var(--accent); min-width: 26px; flex-shrink: 0; }
.inv-row .n { flex-grow: 1; color: var(--ink); }
.inv-row .m { font-size: 13px; color: var(--ink-4); text-align: right; }

/* ---- spec list ---- */
.specs { display: grid; grid-template-columns: 1fr; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }
.specs dt { font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; margin-bottom: 3px; }
.specs dd { margin: 0; font-size: 15px; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid #DCD4C8; border-radius: 100px; font-size: 13.5px; color: var(--ink-2); background: var(--ground); }

/* ---- value ---- */
.val-line { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.val-line .name { font-size: 15px; color: #CFC5BA; }
.val-line .cnt { font-size: 12.5px; color: #7E736A; margin-left: 8px; }
.val-line .v { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.val-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 18px; border-top: 2px solid var(--accent-soft); }
.val-total b { font-size: 17px; font-weight: 600; }
.val-total span { font-family: var(--serif); font-size: 32px; line-height: 1; }
.big-num { font-family: var(--serif); font-size: clamp(34px, 5vw, 46px); line-height: 1; }

/* ---- form ---- */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); background: var(--ground);
  border-radius: 2px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field .hint { font-size: 13px; color: var(--ink-4); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.mode-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.mode-switch button {
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; padding: 12px 20px;
  min-height: 48px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-3); cursor: pointer; border-radius: 2px;
}
.mode-switch button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--ink-4); line-height: 1.55; }
.form-status { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--ground-alt); font-size: 14.5px; display: none; }
.form-status.show { display: block; }
.form-status.err { border-color: #B3261E; background: #FBEAE8; }
.form-status.ok { border-color: #2E7D52; background: #E7F4EC; color: #1B4D33; font-weight: 500; }

/* ---- footer ---- */
.site-foot { background: var(--dark); color: #B5AAA0; padding: 52px 0 40px; font-size: 14px; }
.site-foot a { color: var(--accent-soft); }
.site-foot .cols { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
.site-foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #7E736A; font-weight: 600; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-foot .fine { border-top: 1px solid var(--line-2); padding-top: 22px; font-size: 13px; color: #7E736A; line-height: 1.6; }

/* ---- breadcrumb ---- */
.crumb { font-size: 13.5px; color: var(--ink-4); padding: 20px 0 0; }
.crumb a { color: var(--ink-3); }

@media (min-width: 860px) {
  .navtoggle { display: none; }
  .nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 20px; padding: 0; border: none; background: none; justify-content: flex-end;
  }
  .nav a { padding: 0; font-size: 14.5px; border: none; min-height: 0; }
  .nav a:last-child { margin-top: 0; }
  .brand { font-size: 15px; }
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
  .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .site-foot .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  :root { --gutter: 40px; }
  .section { padding: 88px 0; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1.05fr 1fr; }
  .hero__body { padding: 72px 48px 64px var(--gutter); justify-content: center; }
  .hero__shot { min-height: 560px; }
  .inv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* the slide still changes, it just does not fade */
  .slide { transition: none !important; }
}
