/* /printables/ hub. Built from cofounder's blessed mock
   Templacity-cofounder/.audit/printables-hub-2026-09-21.html (commit 16e2c38,
   founder yes 2026-09-21), scoped under .pr so the mock's generic class names
   (.hero, .stamp, .grid, .sheet) never reach the rest of the theme.
   Print-native language: paperclips at true size, a rubber-stamp red used only on
   stamps, perforated tear dividers, shelf rails. */
.pr { --sheet: #FDFCFA; --stamp: #9C4A38; --section-gap: 108px; }
@media (max-width: 720px) { .pr { --section-gap: 72px; } }
[data-theme="dark"] .pr { --sheet: #FDFCFA; }
.pr svg { display: block; max-width: 100%; }
.pr .clip { width: 15px; height: 34px; }
/* the perforation: this hub's section divider. Dashed tear line, scissors riding it. */
.pr .tear { position: relative; max-width: var(--wrap-max); margin: var(--section-gap) auto 0; padding: 0 var(--wrap-pad); }
@media (max-width: 720px) { .pr .tear { padding: 0 var(--wrap-pad-sm); } }
.pr .tear .line { border-top: 1.5px dashed var(--rule); }
.pr .tear svg {
  position: absolute; top: -9px; left: calc(var(--wrap-pad) + 28px);
  width: 18px; height: 18px; color: var(--ink-faint);
  background: var(--paper); padding: 0 4px; box-sizing: content-box;
}
@media (max-width: 720px) { .pr .tear svg { left: calc(var(--wrap-pad-sm) + 16px); } }
/* 1. HERO: copy left, the desk right (founder, 2026-09-21: never spend the fold
   on a centered masthead; the visitor sees words and pages in the same glance) */
.pr .hero { padding: var(--page-top) 0 0; }
.pr .hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px; align-items: center; min-height: 540px;
}
.pr .hero .kicker {
  font-family: var(--serif); font-style: italic; font-size: 19px;
  color: var(--ink-faint); margin: 0 0 10px;
}
.pr .hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 66px);
  letter-spacing: -0.02em; line-height: 1.02; margin: 0;
}
.pr .hero .sub {
  margin: 22px 0 0; color: var(--ink-muted); font-size: 16.5px; max-width: 46ch;
}
.pr .hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
/* the style switch: three swatches, each a real page, swapping the whole shelf
   (founder decision 2026-09-24). Pressed = ink border + the stamp-red tick line. */
.pr .style-switch { margin-top: 30px; }
.pr .ss-head { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-muted); }
.pr .ss-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.pr .ss {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto;
  column-gap: 9px; align-items: center; text-align: left;
  padding: 8px 10px 8px 8px; margin: 0; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule-soft); border-radius: var(--radius-sm, 8px);
  font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.pr .ss:hover { border-color: var(--rule); }
.pr .ss:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pr .ss[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--stamp); }
.pr .ss img {
  grid-row: 1 / span 2; width: 34px; height: auto; display: block;
  border: 1px solid var(--rule-soft); border-radius: 2px; background: var(--sheet);
}
.pr .ss .n { font-family: var(--ui); font-size: 13px; font-weight: 600; line-height: 1.2; }
.pr .ss .d { font-family: var(--ui); font-size: 11px; color: var(--ink-faint); line-height: 1.25; }
@media (max-width: 960px) { .pr .ss-row { max-width: none; } }
@media (max-width: 460px) {
  .pr .ss { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; row-gap: 6px; padding: 10px 6px; }
  .pr .ss img { grid-row: auto; width: 42px; }
  .pr .ss .d { display: none; }
}
/* the real page renders, wherever a drawn page used to sit */
.pr img[data-pr-img] { display: block; width: 100%; height: auto; border-radius: 3px; }

/* the desk, in the hero's right column */
.pr .desk { position: relative; padding: 26px 0; }
.pr .desk-row {
  display: flex; justify-content: center; align-items: flex-end; gap: 0;
}
.pr .desk .sheet {
  position: relative; flex: 0 1 250px; min-width: 0;
  background: var(--sheet); border: 1px solid var(--rule-soft);
  border-radius: 3px;
  box-shadow: 0 16px 34px rgba(39, 38, 34, 0.12);
  transition: transform .22s ease;
}
.pr .desk .sheet svg { width: 100%; height: auto; border-radius: 3px; }
.pr .desk .sheet:nth-child(1) { transform: rotate(-4.5deg) translate(16px, 12px); z-index: 1; }
.pr .desk .sheet:nth-child(2) { transform: rotate(0.8deg) translateY(-6px); z-index: 3; margin-left: -44px; }
.pr .desk .sheet:nth-child(3) { transform: rotate(4deg) translate(-16px, 14px); z-index: 2; margin-left: -44px; }
.pr .desk .sheet:hover { transform: rotate(0deg) translateY(-14px); z-index: 5; }
/* the paperclip, riding the top edge of a sheet */
.pr .clip,
.pr .desk .sheet svg.clip {
  position: absolute; top: -13px; width: 15px; height: 34px; z-index: 6;
  color: var(--ink-muted); pointer-events: none;
}
.pr .clip.left { left: 18%; transform: rotate(-7deg); }
.pr .clip.right { right: 16%; transform: rotate(6deg); }
/* the rubber stamp */
.pr .stamp {
  display: inline-block; position: absolute; z-index: 7;
  font-family: var(--ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stamp); border: 2px solid var(--stamp);
  border-radius: 4px; padding: 4px 10px;
  transform: rotate(-8deg); opacity: 0.82;
  mask-image: radial-gradient(circle at 30% 60%, black 60%, rgba(0,0,0,0.55) 100%);
  -webkit-mask-image: radial-gradient(circle at 30% 60%, black 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.pr .desk .stamp { top: 16px; right: -12px; }
.pr .desk-caption {
  margin: 30px auto 0; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 14.5px; color: var(--ink-faint); max-width: 46ch;
}
@media (max-width: 960px) {
  .pr .hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .pr .desk { order: -1; }
  .pr .desk .sheet { flex: 0 1 170px; }
  .pr .hero .sub { max-width: none; }
}

/* 2. THE SHELF: labelled rails */
.pr .shelf-zone { padding-top: 0; }
.pr .shelf-head { max-width: 680px; margin: var(--section-gap) auto 12px; text-align: center; }
.pr .shelf-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.015em; margin: 10px 0 0; }
.pr .shelf-head p { margin: 14px auto 0; font-size: 15px; color: var(--ink-muted); max-width: 54ch; }
.pr .rail { margin-top: 56px; }
.pr .rail-label {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px;
}
.pr .rail-label h3 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 24px; margin: 0; color: var(--ink); white-space: nowrap;
}
.pr .rail-label .rl { flex: 1; border-top: 1px solid var(--rule-soft); transform: translateY(-4px); }
.pr .rail-label .count { font-family: var(--ui); font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.pr .rail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.pr .print-card { position: relative; display: flex; flex-direction: column; }
.pr .print-card .hold { position: relative; }
/* a landscape page one (habit, homeschool) rests on the same shelf line as its portrait
   neighbours: the missing height, 1 - 433/724 of a portrait card, as a width-relative margin */
.pr .print-card .hold.is-land { margin-top: 51.96%; }
.pr .print-card .thumb {
  position: relative;
  background: var(--sheet); border: 1px solid var(--rule-soft);
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(39, 38, 34, 0.09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pr .print-card:nth-child(odd) .thumb { transform: rotate(-1.1deg); }
.pr .print-card:nth-child(even) .thumb { transform: rotate(0.9deg); }
.pr .print-card:hover .thumb { transform: rotate(0deg) translateY(-6px); box-shadow: 0 18px 36px rgba(39, 38, 34, 0.13); }
.pr .print-card .thumb svg { width: 100%; height: auto; border-radius: 3px; }
.pr .print-card .clip { top: -12px; left: 14%; transform: rotate(-6deg); }
.pr .print-card .stamp { top: 12px; right: -10px; font-size: 9.5px; padding: 3px 8px; }
/* the shelf line each row of pages rests on */
.pr .print-card .hold::after {
  content: ""; position: absolute; left: -8px; right: -8px; bottom: -14px;
  border-bottom: 2px solid var(--rule);
}
.pr .print-card h4 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 30px 0 2px; letter-spacing: -0.005em; }
.pr .print-card .sizes { font-size: 12.5px; color: var(--ink-faint); font-family: var(--ui); }
.pr .print-card .sizes a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; padding: 6px 0 1px; }
.pr .print-card .sizes a:hover, .pr .print-card .sizes a.is-on { color: var(--ink); }
.pr .print-card .get {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-family: var(--ui); font-size: 13.5px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid rgba(39,38,34,0.35); padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color .18s ease;
}
.pr .print-card .get:hover { border-color: var(--ink); }
.pr .print-card .get svg { width: 13px; height: 13px; }
.pr .print-card .pair {
  margin: 10px 0 0; font-family: var(--serif); font-style: italic;
  font-size: 13.5px; color: var(--ink-faint); line-height: 1.5;
}
.pr .print-card .pair a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.pr .print-card .pair a:hover { text-decoration-color: var(--ink-muted); }
/* the Hall card: a request slip, not a page */
.pr .hall-card {
  border: 1.5px dashed var(--rule); border-radius: 3px;
  aspect-ratio: 3 / 4; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 24px; gap: 10px; color: var(--ink-muted);
  transition: border-color .2s ease, transform .2s ease;
}
.pr .hall-card:hover { border-color: var(--ink-muted); transform: translateY(-4px); }
.pr .hall-card svg { width: 26px; height: 26px; color: var(--ink-faint); }
.pr .hall-card .t { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.pr .hall-card .d { font-size: 12.5px; line-height: 1.5; max-width: 22ch; }
@media (max-width: 1080px) { .pr .rail-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .pr .rail-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; } }
@media (max-width: 460px) { .pr .rail-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* 3. TRUE SIZE */
.pr .size-zone .grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px; align-items: center; padding-top: var(--section-gap);
}
.pr .size-copy .kicker { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-faint); margin: 0 0 8px; }
.pr .size-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
.pr .size-copy p { margin: 16px 0 0; font-size: 15px; color: var(--ink-muted); line-height: 1.65; max-width: 46ch; }
.pr .size-copy ul { margin: 18px 0 0; padding: 0; list-style: none; }
.pr .size-copy li {
  font-size: 14px; color: var(--ink-muted); padding: 10px 0;
  border-top: 1px solid var(--rule-soft); display: flex; gap: 12px; align-items: baseline;
}
.pr .size-copy li strong { color: var(--ink); font-weight: 500; font-family: var(--ui); font-size: 13.5px; min-width: 64px; }
.pr .size-art { position: relative; }
.pr .size-art svg { width: 100%; height: auto; }
@media (max-width: 960px) {
  .pr .size-zone .grid { grid-template-columns: 1fr; gap: 36px; }
  .pr .size-copy p { max-width: none; }
}

/* 4. THE INK BILL */
.pr .ink-zone { padding-top: var(--section-gap); }
.pr .ink-panel {
  max-width: 1100px; margin: 0 auto;
  background: var(--paper-soft); border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center;
}
.pr .ink-panel .kicker { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-faint); margin: 0 0 8px; }
.pr .ink-panel h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
.pr .ink-panel p { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-muted); line-height: 1.65; max-width: 44ch; }
.pr .ink-meters { display: grid; gap: 22px; }
.pr .meter .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pr .meter .name { font-family: var(--ui); font-size: 13.5px; font-weight: 500; }
.pr .meter .val { font-family: var(--ui); font-size: 12px; color: var(--ink-faint); }
.pr .meter .bar { height: 10px; border-radius: 999px; background: rgba(188,185,175,0.35); overflow: hidden; }
.pr .meter .fill { height: 100%; border-radius: 999px; background: var(--ink-muted); }
.pr .meter.ours .fill { background: var(--ink); }
.pr .meter.heavy .fill { background: var(--stamp); opacity: 0.75; }
.pr .ink-fine { margin-top: 4px; font-size: 12px; color: var(--ink-faint); font-style: italic; font-family: var(--serif); }
@media (max-width: 900px) { .pr .ink-panel { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; border-radius: var(--radius); } }

/* 5. ONE SHEET TO A YEAR + flagship */
.pr .pair-zone .grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px; align-items: center; padding-top: var(--section-gap);
}
.pr .pair-art { position: relative; display: flex; align-items: flex-end; gap: 28px; justify-content: center; }
.pr .pair-art .one {
  position: relative; flex: 0 1 190px;
  background: var(--sheet); border: 1px solid var(--rule-soft); border-radius: 3px;
  box-shadow: 0 12px 26px rgba(39,38,34,0.1); transform: rotate(-2.4deg);
}
.pr .pair-art .one svg { width: 100%; height: auto; border-radius: 3px; }
.pr .pair-art .arrow { color: var(--ink-faint); flex: 0 0 auto; padding-bottom: 60px; }
.pr .pair-art .arrow svg { width: 34px; height: 34px; }
.pr .pair-art .book { position: relative; flex: 0 1 260px; }
.pr .pair-art .book svg { width: 100%; height: auto; }
.pr .pair-copy .kicker { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-faint); margin: 0 0 8px; }
.pr .pair-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
.pr .pair-copy p { margin: 16px 0 0; font-size: 15px; color: var(--ink-muted); line-height: 1.65; max-width: 46ch; }
@media (max-width: 960px) {
  .pr .pair-zone .grid { grid-template-columns: 1fr; gap: 40px; }
  .pr .pair-copy p { max-width: none; }
}
.pr .flag-card {
  max-width: 1100px; margin: 72px auto 0;
  background: var(--ink); color: var(--paper-soft);
  border-radius: var(--radius-lg); padding: 56px 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.pr .flag-card .eyebrow { color: rgba(247, 246, 242, 0.55); }
.pr .flag-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.01em; line-height: 1.1; margin: 10px 0 0; }
.pr .flag-card p { margin: 14px 0 0; font-size: 14.5px; color: rgba(247, 246, 242, 0.75); line-height: 1.65; max-width: 52ch; }
.pr .flag-card .btn { background: var(--paper-soft); color: var(--ink); padding: 18px 36px; font-size: 15px; white-space: nowrap; }
.pr .flag-card .btn:hover { background: #fff; }
@media (max-width: 860px) { .pr .flag-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; border-radius: var(--radius); } }

/* 6. THE TEST PAGE */
.pr .test-zone { padding-top: var(--section-gap); }
.pr .test-row {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center;
}
.pr .test-sheet {
  width: 170px; background: var(--sheet); border: 1px solid var(--rule-soft);
  border-radius: 3px; box-shadow: 0 12px 26px rgba(39,38,34,0.09);
  transform: rotate(-2deg); position: relative;
}
.pr .test-sheet svg { width: 100%; height: auto; border-radius: 3px; }
.pr .test-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.01em; margin: 8px 0 0; }
.pr .test-copy p { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-muted); line-height: 1.65; max-width: 54ch; }
.pr .test-copy .get {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--ui); font-size: 13.5px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid rgba(39,38,34,0.35); padding-bottom: 2px;
}
.pr .test-copy .get svg { width: 13px; height: 13px; }
@media (max-width: 700px) {
  .pr .test-row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .pr .test-copy .get { align-self: center; }
}

/* 6b. QUESTIONS: house FAQ look (theme.css .faq-list), spaced like every zone here. */
.pr .faq-zone { padding-top: var(--section-gap); }

/* 7. MAIL SLOT: the postcard */
.pr .mail-zone { padding-top: var(--section-gap); }
.pr .postcard {
  position: relative; max-width: 760px; margin: 0 auto;
  background: var(--sheet); border: 1px solid var(--rule-soft);
  border-radius: 4px; box-shadow: 0 16px 36px rgba(39,38,34,0.1);
  padding: 48px 56px; transform: rotate(-0.6deg);
}
.pr .postcard .corner {
  position: absolute; top: 18px; right: 18px;
  width: 52px; height: 62px; border: 1.5px dashed var(--rule);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 10.5px;
  color: var(--ink-faint); text-align: center; line-height: 1.3; padding: 4px;
}
.pr .postcard .kicker { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-faint); margin: 0; }
.pr .postcard h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.01em; margin: 8px 0 0; }
.pr .postcard p { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-muted); max-width: 46ch; line-height: 1.6; }
.pr .postcard .field {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 460px; margin-top: 24px;
}
.pr .postcard input {
  background: transparent; border: 0; border-bottom: 1.5px solid var(--rule);
  padding: 10px 2px; font: inherit; font-size: 15px; color: var(--ink); min-width: 0;
  font-family: var(--serif); font-style: italic;
}
.pr .postcard input:focus { outline: none; border-bottom-color: var(--ink); }
.pr .postcard .fine { margin-top: 14px; font-size: 12px; color: var(--ink-faint); }
@media (max-width: 640px) {
  .pr .postcard { padding: 32px 24px; }
  .pr .postcard .field { grid-template-columns: 1fr; }
  .pr .postcard .corner { display: none; }
}

/* A free page the builder has not delivered yet: the slot says so rather than
   carrying a dead link (inc/printables.php, templacity_pr_get). */
.pr .get.is-soon { border-bottom-style: dashed; color: var(--ink-faint); cursor: default; }
