/* The Big Ditch: scoped parchment article, with the complete comparison photograph. */
.big-ditch-page {
  --big-ditch-ink: #362719;
  --big-ditch-muted: #70583d;
  min-height: var(--content-stage-height, 80vh);
  padding: clamp(20px, 3.2vw, 44px) clamp(14px, 3.5vw, 54px) 48px;
  color: var(--big-ditch-ink);
  background: radial-gradient(ellipse at 50% 0, #80573455, transparent 68%), repeating-linear-gradient(2deg, #ffffff02 0 1px, transparent 1px 6px), linear-gradient(110deg, #261a12, #4b3220 45%, #291b12);
  font-family: Georgia, 'Times New Roman', serif;
  overflow-wrap: break-word;
}
.big-ditch-page *, .big-ditch-page *::before, .big-ditch-page *::after { box-sizing: border-box; }
.big-ditch-page .big-ditch-folder {
  max-width: 1220px;
  margin: 0 auto;
  border: 9px solid #51351f;
  border-radius: 3px;
  background: radial-gradient(ellipse at 7% 3%, #bb8b3d1f, transparent 44%), linear-gradient(100deg, #e4cca0, #f3e4c4 8%, #f5e8cf 52%, #e6cda0);
  box-shadow: 0 0 0 1px #b38a4e, inset 0 0 0 1px #b2915b, 0 13px 36px #0007;
}
.big-ditch-page .big-ditch-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px clamp(18px, 3.1vw, 44px);
  border-bottom: 1px solid #b59a67;
  background: #ba8c4118;
}
.big-ditch-page .big-ditch-back {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  color: #53361c;
  font-size: 17px;
  line-height: 1.4;
  text-decoration: none;
}
.big-ditch-page .big-ditch-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.big-ditch-page .big-ditch-download {
  display: inline-block;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #96703d;
  border-radius: 2px;
  background: #50331e;
  color: #fff1ce;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px #ffffff09;
}
.big-ditch-page .big-ditch-download:hover { background: #714a27; color: #fff8e5; }
.big-ditch-page .big-ditch-download span { white-space: nowrap; }
.big-ditch-page .big-ditch-heading {
  padding: 30px 24px 25px;
  text-align: center;
}
.big-ditch-page .big-ditch-eyebrow { margin: 0 0 10px; color: #7b5b31; font-size: 13px; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; }
.big-ditch-page .big-ditch-heading h1 { margin: 0; color: #3c2715; font-size: clamp(36px, 4vw, 55px); line-height: 1.15; font-weight: normal; }
.big-ditch-page .big-ditch-subtitle { margin: 13px 0 0; color: #75532c; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.4; font-style: italic; }
.big-ditch-page .big-ditch-article { padding: 0 clamp(20px, 4vw, 58px) 34px; }
.big-ditch-page .big-ditch-photo { max-width: 1080px; margin: 0 auto 34px; }
.big-ditch-page .big-ditch-image-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px;
  border: 1px solid #b69a68;
  border-radius: 0;
  background: #e9d6b0;
  box-shadow: 0 4px 10px #573b2130;
  color: inherit;
  cursor: zoom-in;
}
.big-ditch-page .big-ditch-photo-print { position: relative; display: block; isolation: isolate; box-shadow: 0 2px 5px #573a2140; }
.big-ditch-page .big-ditch-photo-print img { display: block; width: 100%; height: auto; max-width: 100%; border: 0; object-fit: contain; }
.big-ditch-page .big-ditch-photo-corner { position: absolute; z-index: 1; width: 4%; min-width: 15px; max-width: 31px; aspect-ratio: 1; background: url('assets/photo-corner-gold.png') center/100% 100% no-repeat; pointer-events: none; }
.big-ditch-page .big-ditch-corner-tl { left: -1px; top: -1px; }
.big-ditch-page .big-ditch-corner-tr { right: -1px; top: -1px; transform: rotate(90deg); }
.big-ditch-page .big-ditch-corner-bl { left: -1px; bottom: -1px; transform: rotate(270deg); }
.big-ditch-page .big-ditch-corner-br { right: -1px; bottom: -1px; transform: rotate(180deg); }
.big-ditch-page .big-ditch-photo figcaption { max-width: 84ch; margin: 12px auto 0; text-align: center; color: var(--big-ditch-muted); font-size: 16px; line-height: 1.5; }
.big-ditch-page .big-ditch-photo-credit { display: block; margin-top: 6px; font-size: 14px; }
.big-ditch-page .big-ditch-photo-hint { margin: 11px 0 0; text-align: center; color: #705a3f; font-size: 14px; line-height: 1.4; font-style: italic; }
.big-ditch-page .big-ditch-story { max-width: 77ch; margin: 0 auto; color: var(--big-ditch-ink); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }
.big-ditch-page .big-ditch-source-paragraph { margin: 0 0 1.15em; }
.big-ditch-page .big-ditch-source-paragraph:last-child { margin-bottom: 0; }
.big-ditch-page .big-ditch-credit { max-width: 96ch; margin: 29px auto 0; padding-top: 20px; border-top: 1px solid #b59a67; color: #684b2c; font-size: 16px; line-height: 1.55; }
.big-ditch-page .big-ditch-credit p { margin: 0; }
.big-ditch-page .big-ditch-return { padding: 12px 24px 15px; border-top: 1px solid #b59a67; text-align: center; background: #ba8c4120; }
.big-ditch-page .big-ditch-return .big-ditch-back { padding-right: 15px; padding-left: 15px; font-size: 18px; }
.big-ditch-page a:focus-visible, .big-ditch-page button:focus-visible { outline: 3px solid #8c5b17; outline-offset: 4px; }
@media (max-width: 760px) {
  .big-ditch-page { padding: 16px 12px 26px; }
  .big-ditch-page .big-ditch-folder { border-width: 6px; }
  .big-ditch-page .big-ditch-tools { padding: 10px 18px; gap: 3px 12px; }
  .big-ditch-page .big-ditch-heading { padding: 25px 18px 23px; }
  .big-ditch-page .big-ditch-eyebrow { font-size: 12px; letter-spacing: 1px; }
  .big-ditch-page .big-ditch-article { padding: 0 20px 26px; }
  .big-ditch-page .big-ditch-photo { margin-bottom: 27px; }
  .big-ditch-page .big-ditch-image-button { padding: 5px; }
  .big-ditch-page .big-ditch-photo figcaption { font-size: 15px; }
  .big-ditch-page .big-ditch-story { font-size: 18px; line-height: 1.65; }
  .big-ditch-page .big-ditch-credit { font-size: 15px; }
}
@media (max-width: 400px) {
  .big-ditch-page { padding-right: 8px; padding-left: 8px; }
  .big-ditch-page .big-ditch-tools { padding-right: 14px; padding-left: 14px; }
  .big-ditch-page .big-ditch-article { padding-right: 15px; padding-left: 15px; }
  .big-ditch-page .big-ditch-download { padding-right: 11px; padding-left: 11px; font-size: 15px; }
}
