:root {
  --paper: #FAF4E6;
  --paper-2: #F3EAD7;
  --ink: #2B2620;
  --line: #E7DCC6;
  --muted: #6F6455;
  --warm: #8C7F6D;
  --warm-deep: #6E6250;
  --steel: #B9BEC0;
  --steelhui: #2A4035;
  --cream-light: #FFFDF7;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: 20;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(140, 127, 109, 0.32);
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration-color: var(--warm-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--warm-deep);
}

a:focus-visible {
  outline: 2px solid var(--warm-deep);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell,
.reading-column,
.content-wide {
  width: calc(100% - 56px);
  margin-inline: auto;
}

.page-shell {
  max-width: 1180px;
}

.reading-column {
  max-width: 760px;
}

.content-wide {
  max-width: 1060px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 244, 230, 0.96);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-lockup {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--ink);
  text-decoration: none;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.primary-nav a {
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--warm-deep);
}

.header-contact,
.warm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  color: var(--paper);
  background: var(--warm-deep);
  border: 1px solid var(--warm-deep);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.header-contact:hover,
.warm-button:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.wordmark {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

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

.edition-note {
  display: grid;
  grid-template-columns: auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
}

.edition-note span,
.edition-note strong {
  padding: 7px 10px;
  font-weight: 400;
}

.edition-note strong {
  color: var(--paper);
  background: var(--warm-deep);
}

main {
  overflow: hidden;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 70px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 112px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.article-meta,
.section-label,
.article-index > span,
.grain-header > span,
.study-heading span,
.touch-zone,
.grain-key,
.study-record,
.maker-plate span,
.closing-inner > span {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--muted);
}

.eyebrow span,
.section-label::first-letter {
  color: var(--warm-deep);
}

h1,
h2,
h3,
p,
td,
th {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: 58px;
  line-height: 1.08;
}

h2 {
  margin-bottom: 24px;
  font-size: 35px;
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  line-height: 1.25;
}

.dek {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--warm-deep);
}

.touch-figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 34px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(43, 38, 32, 0.06);
}

.window-light {
  position: absolute;
  top: -90px;
  right: -35px;
  width: 260px;
  height: 620px;
  opacity: 0.22;
  transform: rotate(20deg);
  border-right: 46px solid var(--cream-light);
  border-left: 22px solid var(--cream-light);
}

.window-light::before,
.window-light::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  border-left: 12px solid var(--cream-light);
}

.window-light::before {
  left: 58px;
}

.window-light::after {
  right: 62px;
}

.furniture-plan {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-areas:
    "top top"
    "edge edge"
    "door side"
    "pull side";
  min-height: 450px;
  border: 1px solid var(--warm);
  background: rgba(250, 244, 230, 0.82);
}

.furniture-plan > div {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
}

.plan-top {
  grid-area: top;
  min-height: 160px;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 11px, rgba(185, 190, 192, 0.45) 12px, transparent 13px);
}

.plan-edge {
  grid-area: edge;
  min-height: 50px;
}

.plan-door {
  grid-area: door;
  min-height: 150px;
}

.plan-pull {
  grid-area: pull;
  min-height: 70px;
}

.plan-side {
  grid-area: side;
  border-right: 0 !important;
  border-bottom: 0 !important;
}

.plan-pull {
  border-bottom: 0 !important;
}

.touch-zone {
  align-self: center;
  padding: 5px 7px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.touch-frequent {
  color: var(--paper);
  border-color: var(--warm-deep);
  background: var(--warm-deep);
}

.touch-occasional {
  border-color: var(--warm);
}

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

figcaption {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
}

.linen-band {
  padding: 88px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.short-answer h2 {
  max-width: 700px;
}

.short-answer h2::after,
.prose section:not(.scope-note) > h2::after {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 25px;
  background: var(--steel);
}

.short-answer p:not(.section-label),
.prose section > p {
  margin: 0 0 20px;
}

.article-index {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  margin-top: 72px;
  margin-bottom: 96px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-index > span {
  color: var(--warm-deep);
}

.article-index ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
}

.prose > section {
  margin-bottom: 94px;
  scroll-margin-top: 30px;
}

.citation {
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 600;
  text-decoration: none;
}

.quiet-note {
  margin-top: 32px;
  padding: 24px 28px;
  color: var(--ink);
  background: var(--paper-2);
  border-left: 3px solid var(--warm-deep);
  border-radius: 0 8px 8px 0;
}

.quiet-note strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.quiet-note p {
  margin: 0;
  font-size: 15px;
}

.grain-board,
.cleaning-study {
  margin-top: 0;
  margin-bottom: 102px;
  padding: 34px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(43, 38, 32, 0.06);
}

.grain-header,
.study-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.grain-header > span,
.study-heading span {
  color: var(--warm-deep);
}

.grain-header strong,
.study-heading strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.grain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grain-sample {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: 8px;
  background-color: #E2E1DC;
}

.grain-horizontal {
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 8px, rgba(111, 100, 85, 0.2) 9px, transparent 10px);
}

.grain-vertical {
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(111, 100, 85, 0.2) 9px, transparent 10px);
}

.grain-return {
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(111, 100, 85, 0.16) 6px, transparent 8px);
}

.grain-joint {
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 12px, rgba(111, 100, 85, 0.22) 13px, transparent 14px);
}

.grain-sample span,
.grain-sample strong,
.grain-sample i {
  position: relative;
  z-index: 1;
}

.grain-sample span,
.grain-sample strong {
  font-family: var(--mono);
  font-size: 11px;
}

.grain-sample i {
  align-self: flex-end;
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 36px;
  font-style: normal;
}

.grain-key {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.grain-key span {
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.study-heading > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.study-heading p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.specimen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.specimen {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: 8px;
  background-color: #E4E3DE;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 7px, rgba(111, 100, 85, 0.12) 8px, transparent 9px);
}

.specimen span,
.specimen strong {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
}

.touch-mark {
  position: absolute;
  width: 74px;
  height: 96px;
  border: 2px solid rgba(111, 100, 85, 0.3);
  border-radius: 50%;
  transform: rotate(24deg);
}

.touch-mark.one {
  top: 70px;
  left: 58px;
}

.touch-mark.two {
  top: 95px;
  left: 94px;
  transform: rotate(-18deg);
}

.wipe-path {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 62%;
  height: 130px;
  transform: translateX(-50%) rotate(-8deg);
  border-top: 2px solid var(--warm-deep);
  border-bottom: 2px solid var(--warm-deep);
}

.wipe-path::before,
.wipe-path::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--warm);
}

.wipe-path::before {
  top: 42px;
}

.wipe-path::after {
  top: 86px;
}

.inspection-light {
  position: absolute;
  top: -55px;
  right: 36px;
  width: 90px;
  height: 330px;
  opacity: 0.6;
  transform: rotate(18deg);
  background: rgba(255, 253, 247, 0.65);
  border-right: 1px solid var(--cream-light);
  border-left: 1px solid var(--cream-light);
}

.study-record {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.study-record span {
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.selection-matrix {
  margin-bottom: 100px;
  padding: 52px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.matrix-heading > p:last-child {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  outline: none;
}

.table-wrap:focus-visible {
  outline: 2px solid var(--warm-deep);
  outline-offset: 4px;
}

.selection-matrix table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: 0;
  font-size: 14px;
}

.selection-matrix th,
.selection-matrix td {
  padding: 14px 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.selection-matrix th {
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
}

.selection-matrix td:first-child {
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 12px;
}

.brief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brief-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brief-list span {
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 11px;
}

.brief-list p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.55;
}

.scope-note {
  padding: 36px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 10px;
}

.scope-note .section-label {
  color: #D7CBB6;
}

#references {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.references-list {
  margin: 0;
  padding-left: 22px;
}

.references-list li {
  margin-bottom: 18px;
  padding-left: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.references-list a {
  overflow-wrap: anywhere;
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 12px;
}

.closing-band {
  color: var(--paper);
  background: var(--ink);
}

.closing-inner {
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

.closing-inner p {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.3;
}

.closing-inner em {
  color: #D7CBB6;
  font-weight: 400;
}

.closing-inner > span {
  color: #D7CBB6;
}

.maker-footer {
  padding: 54px 0 68px;
}

.maker-plate {
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 0.9fr;
  border-top: 2px solid var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-2);
}

.maker-plate > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 17px 19px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.maker-plate > div:nth-child(3),
.maker-plate > div:nth-child(5) {
  border-right: 0;
}

.maker-plate > div:nth-child(4),
.maker-plate > div:nth-child(5) {
  border-bottom: 0;
}

.maker-plate > div:nth-child(4) {
  grid-column: span 2;
}

.maker-plate span {
  color: var(--muted);
}

.maker-plate strong,
.maker-plate a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
}

.family-cell a {
  color: var(--steelhui);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.site-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 72px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 88px;
}

.site-hero-copy h1 {
  margin-bottom: 10px;
  font-size: 76px;
}

.site-tagline {
  margin: 0 0 28px;
  color: var(--warm-deep);
  font-family: var(--serif);
  font-size: 28px;
}

.site-intro,
.site-page-header > p:last-child,
.feature-copy > p:not(.section-label),
.resource-copy > p,
.scope-statement > p:last-child,
.resource-boundary p:last-of-type {
  color: var(--muted);
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.quiet-link {
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.still-life-stage {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.still-life-stage > span {
  position: absolute;
  display: block;
}

.room-plane {
  inset: 58% 0 0;
  background: #E9DEC9;
  border-top: 1px solid var(--warm);
}

.console-top {
  z-index: 2;
  top: 38%;
  left: 14%;
  width: 68%;
  height: 16%;
  background: var(--steel);
  border: 1px solid var(--warm-deep);
}

.console-leg {
  z-index: 1;
  top: 53%;
  width: 5%;
  height: 32%;
  background: #A9AFB1;
  border-inline: 1px solid var(--warm-deep);
}

.leg-one { left: 21%; }
.leg-two { right: 25%; }

.sample-board {
  z-index: 3;
  top: 12%;
  right: 7%;
  width: 30%;
  height: 37%;
  padding: 12px;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  background: var(--cream-light);
  border: 1px solid var(--warm-deep);
  transform: rotate(4deg);
}

.sample-board i {
  background: var(--steel);
  border: 1px solid var(--line);
}

.sample-board i:nth-child(2) { background: #C9C5BC; }
.sample-board i:nth-child(3) { background: #9FA5A7; }

.light-sheet {
  z-index: 1;
  top: 0;
  left: 0;
  width: 42%;
  height: 60%;
  background: rgba(255, 253, 247, 0.7);
  border-right: 1px solid var(--line);
  transform: skewX(-13deg);
  transform-origin: top left;
}

.still-life-stage small {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.home-band {
  padding: 92px 0;
}

.home-band h2,
.scope-statement h2,
.resource-boundary h2 {
  max-width: 760px;
}

.project-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid var(--warm-deep);
  border-left: 1px solid var(--line);
}

.project-inputs article {
  min-height: 255px;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-inputs span,
.feature-number,
.sample-stack span,
.resource-code,
.resource-arrow {
  color: var(--warm-deep);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.project-inputs h3 {
  margin: 30px 0 14px;
  font-size: 22px;
}

.project-inputs p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.home-feature {
  display: grid;
  grid-template-columns: 0.8fr 3fr 1.3fr;
  gap: 42px;
  align-items: start;
  padding-top: 104px;
  padding-bottom: 116px;
}

.feature-number {
  padding-top: 10px;
  border-top: 1px solid var(--warm-deep);
}

.feature-copy .warm-button {
  margin-top: 28px;
}

.sample-stack {
  display: grid;
  border-top: 1px solid var(--warm-deep);
}

.sample-stack span {
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
}

.sample-stack span:nth-child(2) { padding-left: 24px; }
.sample-stack span:nth-child(3) { padding-left: 36px; }
.sample-stack span:nth-child(4) { padding-left: 48px; }

.scope-band {
  padding: 90px 0;
  color: var(--paper);
  background: var(--ink);
}

.scope-band .section-label,
.scope-band .scope-statement > p:last-child {
  color: #D7CBB6;
}

.site-page-header {
  padding-top: 100px;
  padding-bottom: 86px;
  border-bottom: 1px solid var(--line);
}

.site-page-header h1 {
  margin-bottom: 22px;
  font-size: 64px;
}

.site-page-header > p:last-child {
  max-width: 720px;
  font-family: var(--serif);
  font-size: 21px;
}

.resource-shelf {
  padding-top: 100px;
  padding-bottom: 116px;
}

.resource-entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--warm-deep);
  border-bottom: 1px solid var(--line);
}

.resource-code {
  display: grid;
  gap: 9px;
}

.resource-code strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 400;
}

.resource-copy h2 {
  max-width: 760px;
}

.resource-copy h2 a {
  text-decoration: none;
}

.resource-arrow {
  min-width: 58px;
  padding: 10px;
  color: var(--paper);
  background: var(--warm-deep);
  text-align: center;
  text-decoration: none;
}

.resource-boundary {
  padding: 88px 0;
}

.site-maker-plate a:not(.family-cell a) {
  color: var(--warm-deep);
}

.template-article-mark {
  min-height: 300px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.template-hero-side {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.template-hero-side .article-hero-media {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.template-hero-side .article-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.template-hero-side .article-hero-media figcaption {
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.template-article-mark span,
.template-article-mark strong,
.template-article-mark small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.template-article-mark strong {
  color: var(--warm-deep);
  font-size: 16px;
}

.template-article-mark small {
  color: var(--muted);
}

.renderer-body {
  padding-bottom: 112px;
}

.renderer-body > h2 {
  margin-top: 76px;
}

.renderer-body > h2:first-child {
  margin-top: 0;
}

.renderer-body > h3 {
  margin-top: 48px;
}

.renderer-body > p,
.renderer-body > ul,
.renderer-body > ol,
.renderer-body > blockquote,
.renderer-body > table {
  margin-top: 20px;
}

.renderer-body > ul,
.renderer-body > ol {
  padding-left: 1.4rem;
}

.renderer-body li + li {
  margin-top: 10px;
}

.renderer-body blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 20px 24px;
  color: var(--muted);
  background: var(--paper-2);
  border-left: 3px solid var(--warm-deep);
}

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

.renderer-body th,
.renderer-body td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.renderer-body th {
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .site-hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .still-life-stage {
    min-height: 430px;
  }

  .project-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-feature {
    grid-template-columns: 1fr 3fr;
  }

  .sample-stack {
    grid-column: 2;
  }

  .article-hero {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .touch-figure {
    width: min(700px, 100%);
    margin-inline: auto;
  }

  h1 {
    font-size: 48px;
  }

  .grain-header,
  .study-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .study-heading p {
    text-align: left;
  }

  .selection-matrix {
    width: 100%;
  }

  .maker-plate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maker-plate > div:nth-child(2),
  .maker-plate > div:nth-child(4) {
    border-right: 0;
  }

  .maker-plate > div:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .maker-plate > div:nth-child(4) {
    grid-column: auto;
  }

  .maker-plate > div:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  body::before {
    inset: 7px 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .page-shell,
  .reading-column,
  .content-wide {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .brand-note {
    display: none;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 22px;
  }

  .header-contact {
    display: none;
  }

  .edition-note span {
    display: none;
  }

  .article-hero {
    padding-top: 66px;
    padding-bottom: 78px;
  }

  .site-hero {
    min-height: 0;
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .site-hero-copy h1,
  .site-page-header h1 {
    font-size: 46px;
  }

  .site-tagline {
    font-size: 23px;
  }

  .still-life-stage {
    min-height: 340px;
  }

  .project-inputs,
  .home-feature,
  .resource-entry {
    grid-template-columns: 1fr;
  }

  .project-inputs article {
    min-height: 0;
  }

  .sample-stack {
    grid-column: auto;
  }

  .resource-arrow {
    justify-self: start;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 29px;
  }

  .dek {
    font-size: 18px;
  }

  .article-meta {
    flex-direction: column;
  }

  .touch-figure,
  .grain-board,
  .cleaning-study {
    padding: 20px;
  }

  .furniture-plan {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "edge"
      "door"
      "pull"
      "side";
    min-height: 0;
  }

  .furniture-plan > div {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .furniture-plan > div:last-child {
    border-bottom: 0 !important;
  }

  .linen-band {
    padding: 68px 0;
  }

  .article-index {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 58px;
    margin-bottom: 74px;
  }

  .article-index ol {
    grid-template-columns: 1fr;
  }

  .prose > section {
    margin-bottom: 74px;
  }

  .grain-grid,
  .specimen-row,
  .brief-list {
    grid-template-columns: 1fr;
  }

  .grain-key,
  .study-record {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selection-matrix {
    padding: 40px 14px;
  }

  .scope-note {
    padding: 28px 22px;
  }

  .closing-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 46px 0;
  }

  .closing-inner p {
    font-size: 25px;
  }

  .maker-plate {
    grid-template-columns: 1fr;
  }

  .maker-plate > div,
  .maker-plate > div:nth-child(2),
  .maker-plate > div:nth-child(3),
  .maker-plate > div:nth-child(4),
  .maker-plate > div:nth-child(5) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .maker-plate > div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: #9A8B73;
    --muted: #4F473D;
  }

  .window-light {
    display: none;
  }
}

@media print {
  body::before,
  .window-light {
    display: none;
  }

  .touch-figure,
  .grain-board,
  .cleaning-study,
  .selection-matrix,
  .scope-note {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Dedicated Articles entry below the existing cover. */
[data-articles-entry] { border-top: 1px solid var(--line, var(--hairline, #d5d5d5)); border-bottom: 1px solid var(--line, var(--hairline, #d5d5d5)); }
.articles-entry-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.articles-entry-inner h2 { max-width: 620px; margin: 10px 0 0; }
.articles-entry-inner p:not(.eyebrow) { max-width: 620px; margin: 12px 0 0; color: var(--muted, #657078); }
.articles-entry-link { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; border: 1px solid currentColor; padding: 12px 16px; text-decoration: none; }
.articles-entry-link:hover { background: currentColor; color: var(--white, #fff); }
@media (max-width: 720px) { .articles-entry-inner { width: min(100% - 32px, 1180px); align-items: flex-start; flex-direction: column; } }

