/* Threadroom — cross-stitch workbench. Tokens follow the brief: 4/8/12/16/24/32/48. */

:root {
  --paper: #ffffff;
  --ground: #eeeae3;
  --ink: #252932;
  --blue: #315777;
  --clay: #a95638;
  --line: #d5d0c7;
  --muted: #626974;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ground);
}

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

img {
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

/* Header */

.site-head {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 0 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  font-size: 13px;
}

.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: 500 14px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--paper);
}

.btn-quiet {
  border-color: transparent;
  color: var(--muted);
}

.btn-quiet:hover {
  border-color: var(--line);
  color: var(--ink);
}

.btn-small {
  padding: 0 12px;
  font-size: 13px;
}

.btn:disabled {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
}

.btn-primary:disabled {
  background: var(--line);
  border-color: var(--line);
  color: var(--paper);
}

/* Page and sheets */

.page {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.view {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px;
}

#view-stitch[hidden],
#view-index[hidden] {
  display: none;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 54ch;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 16px;
}

/* Home */

.home-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.home-copy h1 {
  max-width: 16ch;
}

.home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 30ch;
}

.home-preview {
  padding: 16px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.home-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-frame figcaption {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.home-frame .frame {
  height: 300px;
  aspect-ratio: auto;
  padding: 6px;
  background: var(--paper);
}

.home-caption {
  margin-top: 12px;
  color: var(--muted);
}

.home-samples {
  margin-top: 40px;
}

.sample-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.status:empty {
  display: none;
}

.directions {
  margin-top: 40px;
}

.table-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}

.table tbody th {
  font-weight: 600;
}

.table .num,
.table td.num {
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.evidence-table {
  min-width: 640px;
}

/* Workbench head */

.workbench-head {
  margin-bottom: 32px;
}

.workbench-head h1 {
  margin-bottom: 8px;
}

.workbench-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 72ch;
}

/* Three-column workbench */

.workbench {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

.workbench > * { min-width: 0; }
.small, .shot-note { overflow-wrap: anywhere; }

.rail-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px;
}

.sample-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sample {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 8px;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.sample:hover {
  border-color: var(--line);
  border-left-color: var(--line);
}

.sample[aria-pressed="true"] {
  border-color: var(--ink);
  border-left-color: var(--clay);
  background: var(--paper);
}

.sample-wide {
  flex: 1 1 220px;
  max-width: 300px;
  border-color: var(--line);
  border-left-color: var(--line);
  background: var(--paper);
}

.sample-wide:hover {
  border-color: var(--ink);
  border-left-color: var(--clay);
}

.sample-thumb {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.sample-thumb-broken {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.sample-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sample-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sample-meta {
  color: var(--muted);
}

.sample-state {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}

.sample-action {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* Stage */

.stage-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.stage-sub {
  color: var(--muted);
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.shot {
  min-width: 0;
}

.shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.shot-head h2 {
  font-size: 15px;
  font-weight: 600;
}

.shot-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 8px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frame-chart {
  background: var(--paper);
}

.frame-chart img {
  image-rendering: pixelated;
}

.frame-error {
  max-width: 100%;
  padding: 16px;
  background: var(--paper);
  border: 1px dashed var(--clay);
  border-radius: 2px;
  text-align: center;
}

.frame-error-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.frame-error-path {
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}

.frame-error-help {
  font-size: 12px;
  color: var(--muted);
}

.shot-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

#chart-file-note {
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper);
}

.toggle-btn {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: 500 12px/1 var(--sans);
  cursor: pointer;
}

.toggle-btn:first-child {
  border-left: 0;
}

.toggle-btn:hover:not(:disabled) {
  background: var(--ground);
}

.toggle-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.toggle-btn:disabled {
  color: var(--muted);
  background: var(--ground);
  cursor: not-allowed;
}

/* Right rail */

.rail-block {
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  margin-bottom: 24px;
}

.rail-block .rail-title {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 4px;
}

.spec > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-size: 13px;
  color: var(--muted);
  max-width: 62%;
}

.spec dd {
  text-align: right;
}

/* Evidence */

.evidence {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.evidence-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.evidence-head .section-title {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.evidence-head .small {
  margin-top: 0;
  max-width: 52ch;
}

/* Sources */

.sources {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.sources summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.source-list {
  list-style: none;
  padding: 8px 0 0;
}

.source-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.source-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.source-head a {
  font-weight: 600;
}

.source-license {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.site-foot {
  padding: 24px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.site-foot p {
  max-width: 78ch;
}

.noscript-note {
  font-size: 13px;
  color: var(--muted);
}

code {
  font-family: var(--mono);
  font-size: 0.95em;
}

/* Narrow layout */

@media (max-width: 1100px) {
  .workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .sample-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
  }

  .sample-list .sample {
    flex: 0 0 210px;
  }

  .pair {
    grid-template-columns: 1fr;
  }

  .home-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-copy h1 {
    max-width: 20ch;
  }

  .home-frame .frame {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .site-head {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    min-height: 0;
  }

  .tagline {
    display: none;
  }

  .head-actions {
    width: 100%;
    margin-left: 0;
  }

  .head-actions .btn {
    flex: 1;
  }

  .page {
    width: calc(100% - 24px);
    padding: 12px 0 32px;
  }

  .view {
    padding: 16px;
  }

  .home-actions {
    align-items: flex-start;
  }

  .home-actions .btn {
    width: 100%;
  }

  .home-note {
    max-width: none;
  }

  .home-frame .frame {
    height: 200px;
  }

  .frame {
    aspect-ratio: auto;
    height: 300px;
  }

  .stage-actions {
    width: 100%;
    margin-left: 0;
  }

  .stage-actions .btn {
    flex: 1 1 140px;
  }

  .stage-bar {
    align-items: flex-start;
  }

  .evidence-head {
    display: block;
  }
}

@media (max-width: 380px) {
  .home-frames {
    grid-template-columns: 1fr;
  }
}

/* V2: photograph-led studies and real project files; v1 workbench remains a history view. */
.page{width:min(1320px,calc(100% - 48px))}
.proof-home{padding:40px}
.proof-hero{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center;padding:16px 0 48px}
.proof-hero>*{min-width:0}.proof-hero h1{font-size:clamp(38px,4vw,62px);line-height:1.08;max-width:14ch;margin-bottom:24px}.proof-hero .lead{font-size:15px;color:var(--muted);max-width:40ch}
.study-boundary{margin-top:20px;font-size:12px;line-height:1.7;color:var(--muted)}
.proof-hero-art{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:var(--ground);padding:16px;border:1px solid var(--line)}.proof-hero-art>p{grid-column:1/-1;margin-top:0}
.proof-hero-art figure{min-width:0}.proof-hero-art figcaption{font-size:11px;margin-bottom:8px;color:var(--muted)}
.proof-image{display:flex;justify-content:center;align-items:center;min-width:0;min-height:220px;height:320px;background:var(--paper);border:1px solid var(--line);padding:12px;overflow:hidden}
.proof-image img{display:block;width:100%;height:100%;object-fit:contain}.stitch-image img{image-rendering:pixelated}
.proof-section{padding:48px 0;border-top:1px solid var(--line);scroll-margin-top:100px}
.proof-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:end;gap:48px;margin-bottom:26px}
.proof-heading h2,.offer-section h2{font:400 clamp(29px,3vw,40px)/1.16 var(--serif);letter-spacing:-.02em}
.proof-heading>p{font-size:13px;color:var(--muted);max-width:50ch}
.proof-samples{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.proof-sample{display:flex;align-items:center;gap:12px;padding:9px 18px 9px 9px;background:var(--paper);border:1px solid var(--line);border-radius:2px;min-height:58px;cursor:pointer;color:var(--ink);font:500 13px var(--sans)}
.proof-sample img{width:40px;height:40px;object-fit:cover}.proof-sample[aria-pressed=true]{border-color:var(--clay);box-shadow:inset 3px 0 var(--clay)}
.proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.proof-grid>*{min-width:0}
.proof-grid figcaption{font-size:12px;line-height:1.5;margin-bottom:10px;font-weight:600}.proof-grid figcaption span{font:11px var(--mono);color:var(--clay);margin-right:7px}
.proof-pending{font-size:12px;line-height:1.7;color:var(--muted);padding:18px;max-width:30ch;text-align:center}
.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:38px;padding-top:24px;border-top:1px solid var(--line)}
.detail-heading h3{font:400 26px var(--serif)}.detail-heading p{font-size:12px;color:var(--muted)}.detail-grid{margin-top:18px}.detail-grid .proof-image{height:240px;padding:16px}
.proof-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;margin-top:32px}.proof-notes h3{font-size:14px;margin-bottom:12px}.proof-notes ul{padding-left:18px}.proof-notes li{font-size:13px;line-height:1.8;margin:8px 0}
.proof-ground-note{padding-top:20px;border-top:1px solid var(--line);margin-top:28px}.proof-source{font-size:11px;color:var(--muted);margin-top:14px;overflow-wrap:anywhere}
.kit-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:start}.kit-layout>*{min-width:0}
.kit-preview{background:var(--ground);padding:24px;border:1px solid var(--line)}.kit-preview .proof-image{height:430px}.kit-preview figcaption{font-size:11px;line-height:1.7;color:var(--muted);margin-top:12px}.kit-files h3{font:400 27px var(--serif);margin-bottom:12px}
.kit-file-list{list-style:none;padding:0;margin:24px 0}.kit-file-list li{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.kit-file-list li>span{min-width:0;overflow-wrap:anywhere}.file-link{font-size:12px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
[aria-disabled=true]{color:var(--muted)!important;cursor:default!important;text-decoration:none}.btn[aria-disabled=true]{border-color:var(--line);background:var(--ground)}
.offer-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;padding-bottom:16px}.offer-section>*{min-width:0}.offer-section .kicker{color:var(--clay)}.offer-price{font:400 52px var(--serif);margin:24px 0 16px}.offer-price span{display:block;font:12px/1.6 var(--sans);color:var(--muted);margin-top:8px}
.offer-copy>p:first-child{font-size:15px;line-height:1.8}.offer-copy dl{margin:24px 0}.offer-copy dl>div{padding:18px 0;border-top:1px solid var(--line)}.offer-copy dt{font-size:13px;font-weight:600;margin-bottom:8px}.offer-copy dd{font-size:13px;line-height:1.8;color:var(--muted)}.offer-section .small{line-height:1.8}
@media(max-width:1020px){.proof-home{padding:28px}.proof-hero{gap:28px}.proof-hero .home-actions{align-items:stretch;flex-direction:column}.proof-hero .home-actions .btn{width:100%}.proof-hero-art .proof-image{height:275px}.proof-grid{gap:14px}.proof-image{height:280px}.proof-heading{gap:28px}.kit-layout{gap:28px}.offer-section{gap:36px}.detail-heading{align-items:start}}
@media(max-width:760px){.site-head{flex-wrap:wrap;position:static;gap:12px;padding:18px 20px}.site-head .brand{font-size:25px}.site-head .tagline{display:none}.head-actions{gap:4px}.head-actions .btn{font-size:10px;padding:0 8px}.page{width:calc(100% - 24px);padding-top:12px}.proof-home{padding:24px 18px}.proof-hero{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:8px;padding-bottom:36px}.proof-hero-copy{display:contents}.proof-hero-copy>.kicker{order:0}.proof-hero-copy>h1{order:1;font-size:38px;max-width:16ch;margin-bottom:0}.proof-hero-art{order:2}.proof-hero-copy>.lead{order:3;max-width:none}.proof-hero-copy>.home-actions{order:4;margin-top:0;flex-direction:row}.proof-hero-copy>.study-boundary{order:5;margin-top:0}.proof-hero .home-actions .btn{width:auto;flex:1 1 180px}.proof-hero-art{padding:12px;gap:8px}.proof-hero-art .proof-image{height:140px;min-height:140px;padding:4px}.proof-hero-art figcaption{font-size:10px;min-height:28px}.proof-hero-art>p{font-size:10px}.proof-section{padding:34px 0;scroll-margin-top:18px}.proof-heading{display:block}.proof-heading>p{margin-top:16px}.proof-heading h2,.offer-section h2{font-size:32px}.proof-samples{gap:8px}.proof-sample{padding:7px 10px 7px 7px;gap:8px;font-size:11px;flex:1 1 120px;min-height:55px}.proof-sample img{width:34px;height:34px}.proof-grid{grid-template-columns:minmax(0,1fr);gap:24px}.proof-image{height:340px}.proof-grid .small{font-size:12px}.detail-heading{display:block;margin-top:30px}.detail-heading p{margin-top:10px}.detail-grid .proof-image{height:300px}.proof-notes{grid-template-columns:minmax(0,1fr);gap:24px}.kit-layout{grid-template-columns:minmax(0,1fr);gap:28px}.kit-preview{padding:16px}.kit-preview .proof-image{height:390px}.kit-file-list li{gap:16px}.offer-section{grid-template-columns:minmax(0,1fr);gap:28px}.offer-price{font-size:46px}.offer-section{padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Print: chart, caption, and materials only */

@media print {
  body {
    background: var(--paper);
  }

  .site-head,
  .home-top,
  .home-samples,
  .directions,
  .site-foot,
  .samples,
  .stage-bar,
  .toggle,
  .evidence,
  .sources,
  .shot-note,
  .noscript-note {
    display: none !important;
  }

  .page {
    width: auto;
    padding: 0;
  }

  .view {
    border: 0;
    padding: 0;
  }

  #view-index {
    display: none !important;
  }

  #view-stitch,
  #view-stitch[hidden] {
    display: block !important;
  }

  .workbench {
    display: block;
  }

  .pair {
    grid-template-columns: 1fr 1fr;
  }

  .frame {
    height: 360px;
    aspect-ratio: auto;
    break-inside: avoid;
  }

  .rail {
    margin-top: 24px;
  }

  .shot-head {
    border-bottom-color: var(--ink);
  }
}

.pet-hero {
  display:grid; grid-template-columns:1fr minmax(0,.9fr); align-items:center;
  gap:clamp(1.5rem,5vw,5rem); padding:clamp(1.4rem,5vw,4.5rem);
  background:#f3ece0; border:1px solid #e3d7c5;
}
.pet-copy h1 {font-size:clamp(2.5rem,6vw,5.5rem); line-height:.97; letter-spacing:-.058em; margin:.35em 0;}
.pet-copy .lead {max-width:35ch; line-height:1.6;}
.pet-copy .home-actions {margin-top:1.5rem;}
.pet-copy .btn-primary,.offer-section .btn-primary {background:#813c2c;border-color:#813c2c;color:#fff7ec;}
.pet-price {font-size:.9rem;color:#54483f;margin-top:1rem;}
.pet-price span {padding:0 .3rem;}
.pet-hero-art {position:relative; margin:0; min-width:0; padding:1.15rem 1.25rem 2.1rem 3rem; background:#e6d9c5; border:1px solid #cbb89b;}
.pet-hero-art .pet-chart {display:block;width:100%;height:clamp(240px,34vw,430px);object-fit:contain;background:#faf5eb;border:1px solid #d7c7ae;}
.pet-hero-art .pet-photo {position:absolute;left:-.6rem;bottom:2.85rem;width:31%;padding:.4rem;background:#fffaf1;border:1px solid #cbb89b;}
.pet-photo img {display:block;width:100%;height:auto;}
.pet-photo span,.pet-hero-art figcaption {font-size:.72rem;color:#55473b;}
.pet-hero-art figcaption {position:absolute;bottom:.55rem;right:1rem;}
.pet-example-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;}
.pet-card {min-width:0;background:#fffaf2;border:1px solid #ded3c2;}
.pet-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#eee5d7;}
.pet-pair img {width:100%;height:clamp(115px,16vw,190px);object-fit:contain;}
.pet-pair img + img {background:#faf5eb;border-left:1px solid #ded3c2;}
.pet-card-copy {padding:1rem;}
.pet-card-copy h3 {margin:0;font-size:1.4rem;}
.pet-card-copy p {margin:.4rem 0;}
.pet-credit {font-size:.76rem;color:#63574d;}
.pet-includes {padding-left:1.2rem;line-height:1.65;}
@media (max-width:720px) {
  .pet-hero {grid-template-columns:1fr;gap:1.35rem;}
  .pet-copy h1 {font-size:clamp(2.6rem,11vw,4rem);}
  .pet-copy .home-actions {align-items:stretch;}
  .pet-hero-art {grid-row:1;margin-left:.35rem;padding:.65rem .7rem 1.6rem 2rem;}
  .pet-hero-art .pet-chart {height:220px;}
  .pet-hero-art .pet-photo {bottom:2.1rem;}
  .pet-example-grid {grid-template-columns:1fr;}
  .pet-pair img {height:190px;}
}
.legacy-proof {margin-block:2rem;}
.legacy-proof > summary {padding:1rem 0;cursor:pointer;color:#54483f;}
