:root {
  color-scheme: light;
  --paper: #fff;
  --ice: #f2f7fa;
  --ink: #14231f;
  --forest: #163d34;
  --lake: #1c6386;
  --deep-blue: #113c52;
  --poppy: #bf422e;
  --rust: #9e3323;
  --line: #c9d9df;
  --mist: #d8edf7;
  --light-blue: #eef7ff;
  --display: Charter, "Bitstream Charter", "Sitka Text", Georgia, serif;
  --gutter: clamp(1.125rem, 4vw, 4rem);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  color: var(--forest);
  font-size: clamp(2.8rem, 6.4vw, 6.6rem);
  letter-spacing: -.058em;
  line-height: .98;
}

h2 {
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -.041em;
  line-height: 1.06;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.88rem);
  letter-spacing: -.022em;
  line-height: 1.12;
}

a {
  color: var(--lake);
  text-decoration-color: currentColor;
  text-decoration-thickness: .075em;
  text-underline-offset: .2em;
}

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

:focus-visible {
  outline: 3px solid #176187;
  outline-offset: 4px;
}

.frame {
  width: min(100% - var(--gutter) * 2, 82rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 2;
  inset: .75rem auto auto .75rem;
  transform: translateY(-200%);
  padding: .55rem .85rem;
  background: var(--paper);
  color: var(--forest);
}

.skip:focus { transform: none; }

.masthead {
  background: var(--forest);
  color: var(--paper);
  border-block-end: .3rem solid var(--poppy);
}

.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: .4rem;
  padding-block: .65rem .8rem;
}

.brand {
  color: inherit;
  font: 700 1.35rem/1.2 var(--display);
  text-decoration: none;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
}

.crumbs li + li::before {
  content: "/";
  margin-inline-end: .5rem;
  color: #abd4c5;
}

.crumbs a { color: var(--paper); }
.crumbs [aria-current] { color: #d3eee2; }
.masthead a:hover { color: #ffc9b9; }

.opening { padding-block: clamp(2.5rem, 5vw, 5.5rem) 0; }

.opening-copy {
  display: grid;
  align-items: end;
  gap: 1.3rem;
  margin-block-end: clamp(1.5rem, 3vw, 2.65rem);
}

.standfirst {
  max-width: 38ch;
  border-inline-start: .3rem solid var(--poppy);
  padding-inline-start: 1rem;
  color: var(--deep-blue);
  font-size: clamp(1.06rem, 1.85vw, 1.46rem);
  font-weight: 550;
  line-height: 1.48;
}

.figure picture { display: block; }

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure figcaption {
  padding: .6rem .85rem .7rem;
  background: var(--ice);
  color: var(--deep-blue);
  font-size: .85rem;
  line-height: 1.45;
}

.hero figcaption {
  background: var(--forest);
  color: var(--paper);
}

.prose {
  max-width: 70ch;
  font-size: clamp(1.03rem, 1.5vw, 1.13rem);
}

.prose p + p { margin-block-start: 1.05em; }
.prose h2 + p { margin-block-start: .85em; }

.pasture, .work, .fiber, .closing {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.pasture, .work, .fiber-grid, .closing {
  display: grid;
  align-items: start;
  gap: clamp(1.4rem, 4vw, 4rem);
}

.pasture h2 {
  max-width: 11ch;
  border-block-start: .3rem solid var(--poppy);
  padding-block-start: .8rem;
}

.mixed {
  background: var(--ice);
  border-block-start: 1px solid var(--line);
  padding-block: clamp(2.8rem, 5.2vw, 5.25rem);
}

.mixed-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.mixed h2 { max-width: 18ch; }

.herd-note {
  padding: clamp(1.15rem, 2.9vw, 2rem);
  background: var(--lake);
  color: var(--paper);
}

dl { margin-block-start: .9rem; }
dt { font-weight: 750; }
dd { margin-block-start: .2rem; }
dd + dt { margin-block-start: .85rem; }

.mixed-figure { margin-block-start: .4rem; }
.mixed-figure figcaption { background: var(--mist); }

.work-side { display: grid; gap: 1.4rem; }

.work-figure figcaption {
  background: var(--deep-blue);
  color: var(--paper);
}

.pasture-note {
  border-block-start: .3rem solid var(--poppy);
  padding: 1.1rem 1.2rem;
  background: var(--ice);
  color: var(--deep-blue);
}

.pasture-note p { margin-block-start: .65rem; }

.choices {
  padding-block: clamp(2.2rem, 4vw, 3.6rem);
  background: var(--forest);
  color: var(--paper);
}

.choice-grid {
  display: grid;
  gap: 1.35rem clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.choices h2 {
  max-width: 13ch;
  color: inherit;
  font-size: clamp(1.95rem, 3.6vw, 3.1rem);
}

.disclosures { border-block-start: 1px solid #85a69c; }

details { border-block-end: 1px solid #85a69c; }

summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.65rem;
  gap: .7rem;
  align-items: center;
  padding: .7rem .25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  width: .58rem;
  height: .58rem;
  margin-inline: auto;
  border: solid #e8fbf3;
  border-width: 0 2px 2px 0;
  transform: translateY(-.1rem) rotate(45deg);
}

details[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
summary:hover, details[open] summary { color: #ffd3c6; }

details p {
  max-width: 61ch;
  padding: .1rem .25rem 1rem;
}

.choices a, .clothing a { color: var(--paper); }
.choices a:hover, .clothing a:hover { color: #ffdcba; }

:is(.masthead, .choices, .clothing) :focus-visible {
  outline-color: #ffce9e;
  outline-offset: 3px;
}

.fiber h2 { margin-block-end: 1.2rem; }

.fiber-note {
  padding: clamp(1.15rem, 2.6vw, 1.9rem);
  background: var(--light-blue);
  border-inline-start: .35rem solid var(--lake);
  color: var(--deep-blue);
}

.fiber-note dd + dt {
  border-block-start: 1px solid #adcad8;
  padding-block-start: .85rem;
}

.clothing {
  padding-block: clamp(2.3rem, 5vw, 4.5rem);
  background: var(--rust);
  color: var(--paper);
}

.clothing-grid {
  display: grid;
  align-items: center;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
}

.clothing h2 { color: inherit; }

.clothing-figure {
  border-block-start: .3rem solid #ffd1ab;
  padding-block-start: .6rem;
}

.clothing-figure figcaption {
  background: transparent;
  color: var(--paper);
  padding-inline: 0;
}

.sources {
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border-block-start: .32rem solid var(--poppy);
  background: var(--deep-blue);
  color: var(--paper);
}

.sources ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid #5a8497;
}

.sources li { border-block-end: 1px solid #5a8497; }

.sources a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.25rem;
  align-items: center;
  gap: .15rem .75rem;
  padding: .66rem .45rem;
  color: var(--paper);
  text-decoration: none;
}

.source-name {
  font-weight: 750;
  line-height: 1.35;
}

.source-context {
  grid-column: 1;
  color: #d8edf7;
  font-size: .8rem;
  line-height: 1.45;
}

.source-arrow {
  grid-area: 1 / 2 / 3 / 3;
  justify-self: center;
  color: #ffc9b9;
  font-size: 1.2rem;
  line-height: 1;
}

.sources a:hover,
.sources a:focus-visible {
  background: #215975;
}

.sources a:focus-visible {
  outline: 2px solid #ffc9b9;
  outline-offset: -2px;
}

.site-footer {
  padding-block: 1.05rem;
  background: var(--deep-blue);
  color: var(--paper);
  font-size: .85rem;
}

@media (width < 36rem) {
  .title-break { display: none; }
}

@media (min-width: 36rem) {
  .hero img {
    aspect-ratio: 2.45;
    object-fit: cover;
    object-position: center 54%;
  }
}

@media (min-width: 53rem) {
  .opening-copy { grid-template-columns: 1.65fr 1fr; }
  .pasture { grid-template-columns: minmax(12rem, .72fr) minmax(0, 1.7fr); }
  .work, .closing { grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 1fr); }
  .choice-grid { grid-template-columns: minmax(13rem, .8fr) minmax(0, 1.4fr); }
  .fiber-grid { grid-template-columns: minmax(0, 1.65fr) minmax(15rem, .9fr); }

  .mixed-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(14rem, 1fr);
    grid-template-areas:
      "heading heading"
      "lead note"
      "body note"
      "figure figure";
    column-gap: clamp(2rem, 5vw, 5rem);
  }

  .mixed h2 { grid-area: heading; }
  .mixed-lead { grid-area: lead; }
  .mixed-body { grid-area: body; }
  .herd-note { grid-area: note; }
  .mixed-figure { grid-area: figure; margin-block-start: 1rem; }
  .mixed-figure img { aspect-ratio: 2.45; object-fit: cover; object-position: center 58%; }

  .work-side { margin-block-start: .35rem; }
  .work-figure img { aspect-ratio: 1.34; object-fit: cover; object-position: 52% center; }
  .clothing-grid { grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 1fr); }
}
