:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --ink: #26332e;
  --muted: #5e645e;
  --accent: #884831;
  --rule: #d6d8cf;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .6rem 1rem; background: white; z-index: 2; }
.skip-link:focus { top: 1rem; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 92px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 26px; letter-spacing: -.7px; text-decoration: none; }
.wordmark span { color: var(--accent); }
.header-link { font-size: 13px; text-decoration: none; }
.header-link span { margin-left: 12px; color: var(--accent); }
.header-link:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 68px;
  padding-block: 58px 54px;
}
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 650; letter-spacing: 1.65px; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 530px; margin-top: 17px; font-size: clamp(42px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -2px; text-wrap: balance; }
.intro { margin-top: 27px; font-size: 17px; line-height: 1.7; max-width: 480px; }
.intro strong { font-weight: 600; }
.hero-note { max-width: 470px; margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 600 / 467; object-fit: cover; }
.hero-image figcaption { padding-top: 10px; color: var(--muted); font-size: 11px; }

.resources { scroll-margin-top: 1.5rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 23px; }
h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.6px; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; }
.resource { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--rule); padding-top: 23px; }
.number { margin-right: 10px; letter-spacing: 0; }
h3 { margin-top: 12px; font-size: 27px; line-height: 1.3; letter-spacing: -.5px; }
.resource > p:not(.eyebrow) { max-width: 470px; margin-block: 12px 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.resource-link { display: inline-flex; align-items: center; gap: 14px; margin-top: auto; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 5px; }
.resource-link span { color: var(--accent); font-size: 19px; line-height: 1; }
.resource-link:hover { color: var(--accent); }

.image-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-block: 45px 30px; }
.image-strip figure { min-width: 0; overflow: hidden; background: #fff; }
.image-strip img { width: 100%; height: 150px; object-fit: cover; }
.image-strip .rough { object-position: 50% 45%; }
.image-strip .inclusions { object-position: 56% 50%; }
.image-strip .cameo { object-position: 50% 39%; }
.image-strip .diagram img { object-fit: contain; padding: 17px; }
.site-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-top: 1px solid var(--rule); padding-block: 18px 24px; color: var(--muted); font-size: 11px; }
.site-footer > p:first-child { color: var(--ink); }

@media (min-width: 1440px) {
  .hero { padding-block: 66px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero, .resource-grid { gap: 34px; }
  h1 { font-size: 44px; letter-spacing: -1.5px; }
  .hero { padding-block: 42px; }
  .intro { font-size: 16px; }
  .image-strip img { height: 125px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 12px; }
  .wordmark { font-size: 23px; }
  .header-link { font-size: 11px; white-space: nowrap; }
  .header-link span { margin-left: 4px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 34px 36px; }
  h1 { max-width: 450px; font-size: clamp(38px, 10vw, 50px); line-height: 1.1; letter-spacing: -1.5px; }
  .intro { margin-top: 22px; }
  .hero-note { font-size: 14px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .hero-image { max-width: 520px; }
  .section-heading { display: block; margin-bottom: 19px; }
  h2 { font-size: 29px; }
  .section-heading > p { margin-top: 8px; }
  .resource-grid { grid-template-columns: 1fr; gap: 30px; }
  .resource { padding-top: 20px; }
  h3 { font-size: 27px; }
  .resource > p:not(.eyebrow) { margin-block: 11px 18px; }
  .image-strip { grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 34px 24px; }
  .image-strip img { height: 130px; }
  .image-strip .diagram img { padding: 10px; }
  .site-footer { display: block; padding-block: 16px 22px; font-size: 10px; }
  .site-footer > p + p { margin-top: 4px; }
}

@media print {
  body { background: white; }
  .wrap { width: 100%; }
  .skip-link, .header-link { display: none; }
  .hero { padding-block: 24px; }
  .resource-link::after { content: " (" attr(href) ")"; font-size: 9px; font-weight: 400; }
  .image-strip { margin-block: 20px; }
}
