:root {
  color-scheme: light;
  --ink: #18242c;
  --muted: #46545a;
  --line: #ced8d9;
  --rust: #942e1d;
  --dark-rust: #7d2519;
  --petrol: #163845;
  --gold: #ffc263;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.65 var(--body); }
.wrap { width: min(100% - clamp(2rem, 8vw, 8rem), 72rem); margin-inline: auto; }
figure, ol, ul, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: #174c62; text-underline-offset: .18em; }
a:hover { color: var(--rust); text-decoration: none; }
:focus-visible { outline: 3px solid #b64a2f; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .55rem .85rem; background: #fff; transform: translateY(-170%); }
.skip-link:focus { transform: none; }

.site-header { border-top: .28rem solid var(--rust); border-bottom: 1px solid var(--line); }
.nav-bar, .footer-inner { min-height: 4.1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1.35rem; }
.wordmark { display: inline-flex; align-items: center; gap: .45rem; color: var(--petrol); font: 700 1.25rem var(--display); text-decoration: none; }
.mark { width: 2rem; height: 2rem; }
.sub { margin-left: .4rem; padding-left: .75rem; border-left: 1px solid var(--line); font: 700 .65rem var(--body); letter-spacing: .08em; text-transform: uppercase; }
.nav-links, .footer-links { display: flex; flex-wrap: wrap; gap: .4rem clamp(.8rem, 2.5vw, 2rem); list-style: none; padding: 0; font-size: .85rem; font-weight: 700; }
.nav-links a, .footer-links a { text-decoration: none; }
.nav-links .is-current { border-bottom: 2px solid var(--rust); padding-bottom: .22rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .42rem; padding: .85rem 0 0; list-style: none; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .42rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.45vw, 3.65rem); letter-spacing: -.048em; margin-bottom: .9rem; }
h3 { font-size: clamp(1.18rem, 2.2vw, 1.6rem); letter-spacing: -.018em; margin-bottom: .42rem; }
.eyebrow, .promo-kicker { color: var(--rust); font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; margin-bottom: .6rem; }
figcaption { color: var(--muted); font-size: .83rem; line-height: 1.45; padding: .55rem 0; }
.masthead { padding: clamp(1.65rem, 4.1vw, 3.7rem) 0 clamp(1.25rem, 3.1vw, 2.5rem); }
.masthead .eyebrow { display: flex; align-items: center; gap: .7rem; }
.masthead .eyebrow span { background: var(--rust); color: white; padding: .25rem .5rem; }
.masthead h1 { color: var(--petrol); font-size: clamp(3.1rem, 9.1vw, 8.4rem); letter-spacing: -.072em; line-height: .92; margin-bottom: .85rem; }
.lead { max-width: 64ch; color: #344952; font-size: clamp(1.04rem, 1.6vw, 1.25rem); line-height: 1.5; }
.feature-photo { border-top: .35rem solid var(--rust); }
.feature-photo img { width: 100%; }
.feature-photo figcaption { display: flex; align-items: baseline; gap: .7rem 1rem; padding: .65rem .95rem; background: var(--petrol); color: white; }
.feature-photo figcaption b { flex: 0 0 auto; color: var(--gold); font-size: .65rem; letter-spacing: .105em; }

.field-spread, .color-spread, .process-spread, .cloth-spread, .keeper-section, .history-band, .fleece-lab, .references {
  margin-top: clamp(2.8rem, 6.3vw, 5.8rem);
}
.field-spread, .color-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.15rem clamp(1.3rem, 4.2vw, 4.3rem);
  align-items: center;
}
.field-spread img, .color-spread img, .process-spread img, .cloth-spread img { width: 100%; }
.profile-photo { border-bottom: .23rem solid var(--rust); }
.color-spread { grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); }
.color-spread figure { border-bottom: .25rem solid #be6d24; }

.field-question { border: 1px solid var(--line); border-inline-start: .25rem solid var(--rust); background: #fff; color: var(--ink); }
.field-question summary { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .7rem .85rem; cursor: pointer; font-weight: 750; line-height: 1.38; list-style: none; }
.field-question summary::-webkit-details-marker { display: none; }
.field-question summary::after { content: "+"; flex: 0 0 auto; color: var(--rust); font-size: 1.2rem; line-height: 1; }
.field-question[open] summary::after { content: "−"; }
.field-question summary:hover { background: var(--petrol); color: #fff; }
.field-question summary:hover::after { color: var(--gold); }
.field-question > div { padding: .15rem .85rem .8rem; font-size: .93rem; }
.field-spread .field-question { margin-top: .9rem; }

.promo { margin-top: 1rem; }
.promo > a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; gap: .85rem; height: 100%; padding: .72rem .85rem; background: #fff; border: 1px solid var(--line); border-inline-start: .23rem solid #448093; color: var(--ink); text-decoration: none; }
.promo > a:hover { border-inline-start-color: var(--rust); background: #f3f7f7; }
.promo img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.promo-kicker, .promo-title, .promo-desc { display: block; }
.promo-kicker { margin: 0 0 .2rem; color: #526264; font-size: .64rem; text-transform: uppercase; }
.promo-title { font: 700 1.13rem/1.2 var(--display); }
.promo-desc { margin-top: .2rem; color: var(--muted); font-size: .83rem; line-height: 1.35; }
.promo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.promo-pair--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fleece-lab { background: var(--petrol); color: #fff; padding: clamp(1.2rem, 4.2vw, 3.65rem); }
.fleece-lab header { max-width: 64ch; margin-bottom: 1.2rem; }
.fleece-lab .eyebrow, .fleece-ledger dt { color: var(--gold); }
.fleece-lab figcaption { color: #e2f1f4; }
.fleece-lab :focus-visible, .history-band :focus-visible, .references :focus-visible { outline-color: var(--gold); }
.lab-body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 1rem clamp(1rem, 3.2vw, 2.5rem); }
.lab-body img { width: 100%; }
.fleece-ledger > div { display: grid; grid-template-columns: minmax(4.9rem, .48fr) minmax(0, 1.52fr); gap: .6rem; border-top: 1px solid #6a9099; padding: .65rem 0; }
.fleece-ledger dt { font-weight: 750; }
.fleece-ledger dd, .fleece-note { font-size: .91rem; }
.fleece-note { border-inline-start: .23rem solid var(--gold); padding: .65rem .75rem; background: #214c59; margin-top: .45rem; }
.lab-questions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; align-items: start; margin-top: 1.05rem; }
.lab-questions .field-question { border-inline-start-color: #e59746; }

.history-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 1.2rem clamp(1rem, 4vw, 3.6rem); color: #fff; background: var(--dark-rust); padding: clamp(1.2rem, 4.2vw, 3.4rem); }
.history-band .eyebrow { color: #ffd58f; }
.history-band h2 { font-size: clamp(1.95rem, 3.8vw, 3.25rem); }
.history-links { display: grid; gap: .5rem; }
.history-links a { display: block; color: #fff; border: 1px solid #db917b; padding: .72rem .85rem; text-decoration: none; }
.history-links a:hover { background: #5e1e15; color: #fff; }
.history-links b { display: block; color: #ffdb9e; }
.history-links span { display: block; font-size: .87rem; }

.process-spread { display: grid; grid-template-columns: 1fr 1.06fr; gap: 1rem clamp(1.1rem, 4vw, 3.2rem); align-items: start; }
.process-spread header { align-self: center; }
.process-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; list-style: none; padding: 0; counter-reset: fleece-step; }
.process-list li { padding: .8rem .85rem; border-top: .27rem solid var(--petrol); background: #f3f7f8; counter-increment: fleece-step; }
.process-list li::before { content: counter(fleece-step, decimal-leading-zero); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--rust); margin-bottom: .32rem; }
.process-list p { font-size: .92rem; }

.cloth-spread { display: grid; grid-template-columns: .9fr 1.1fr; gap: .9rem 2rem; align-items: center; border-top: .3rem solid var(--rust); padding-top: 1.15rem; }
.cloth-compare { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.cloth-compare > div { padding: .85rem 1rem; }
.cloth-compare > div + div { border-inline-start: 1px solid var(--line); }
.cloth-compare dt { color: var(--rust); font-weight: 800; }
.cloth-compare dd { margin-top: .28rem; font-size: .92rem; }

.keeper-section { border-top: .28rem solid var(--petrol); padding-top: 1rem; }
.keeper-questions { display: grid; gap: .52rem; max-width: 68rem; }
.references { background: #20333b; color: white; padding: clamp(1.2rem, 4vw, 3.2rem); border-bottom: .35rem solid #d99536; }
.references h2 { max-width: 22ch; }
.references .eyebrow, .references a { color: var(--gold); }
.references ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.references li { border-top: 1px solid #809297; padding-top: .7rem; }
.references a { font-weight: 750; }
.references a:hover { color: #fff; }
.references li p { font-size: .88rem; margin-top: .3rem; }
.breed-exits { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; margin: 1rem 0 clamp(2.5rem, 4.5vw, 4.5rem); }
.breed-exits a { display: inline-block; border-bottom: .15rem solid var(--rust); text-decoration: none; font-weight: 750; }
.site-footer { background: var(--petrol); color: white; font-size: .85rem; }
.footer-inner p { margin: 0; }
.footer-links a { color: white; }

@media (max-width: 54rem) {
  .sub { display: none; }
  .promo-pair--three { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 45rem) {
  .field-spread, .color-spread, .lab-body, .history-band, .process-spread, .cloth-spread { grid-template-columns: minmax(0, 1fr); }
  .nav-bar, .footer-inner { padding-block: .65rem; }
  .process-list, .cloth-compare, .references ul { grid-template-columns: 1fr; }
  .cloth-compare > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 33rem) {
  .lab-questions, .promo-pair { grid-template-columns: 1fr; }
  .promo-pair { gap: 0; }
  .feature-photo figcaption { flex-wrap: wrap; gap: .25rem .65rem; }
}
