/* The park edition keeps a view from the meadow behind the whole walk. */
.park-background {
  --park-sky: #fff0d4;
  --park-ink: #2e483a;
  --park-wash: #fff5dedb;
  --side-room: clamp(1.15rem, 5.7vw, 5.5rem);
  background: var(--park-sky);
}
.park-background body { position: relative; isolation: isolate; background: transparent; }
.park-background body::before {
  content: "";
  position: fixed; z-index: -1; pointer-events: none;
  inset: 0;
  background:
    url("second-park.png") 36% bottom / auto clamp(19rem, 62vh, 43rem) no-repeat,
    radial-gradient(circle at 78% 31%, #ffe7a3 0 2.65rem, #bea47f 2.69rem, transparent 2.76rem),
    var(--speckle), var(--park-sky);
}
.park-background .site-head { background: var(--speckle), var(--park-sky); }
.park-background .bio {
  position: relative; isolation: isolate; display: block;
  min-height: clamp(32rem, 46vw, 44rem);
  padding: clamp(1.8rem, 6vw, 5rem) var(--side-room) 4rem;
  background: var(--speckle), var(--park-sky);
  mask-image: linear-gradient(black calc(100% - 3.5rem), transparent);
}
.park-background .bench {
  position: absolute; z-index: -1; inset: auto 0 0;
  height: 100%; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 13%);
}
.park-background .bench img { object-position: 55% 68%; }
.park-background .bench::after { content: none; }
.park-background .bio-text {
  position: relative; isolation: isolate; display: block; width: min(41%, 32rem);
}
.park-background .bio-text::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -1.8rem -1.5rem -1.7rem -3rem;
  background: #fff2d9e5; border-radius: 11% 17% 21% 10%;
  filter: blur(18px);
}
.park-background .bio h1 {
  position: static; transform: none; width: auto; max-width: none;
  margin: 0 0 .74rem; padding: 0; color: var(--park-ink);
  border: 0; border-radius: 0; background: transparent;
  font-size: clamp(2.55rem, 4.45vw, 4.35rem); line-height: 1.03;
}
.park-background .bio h1::after { content: none; }
.park-background .bio-text p { max-width: 42ch; margin: .7rem 0 0; }
.park-background .bio-text .ink-link { margin: .24rem 0 0; }
.park-background .work, .park-background .writing {
  width: min(100%, 76rem); padding-inline: var(--side-room);
  background: none;
}
.park-background .work::before, .park-background .writing::after, .park-background .project h3::before { content: none; }
.park-background .section-head {
  grid-template-columns: auto minmax(0, 35rem); justify-content: start;
  align-items: center; gap: clamp(1.6rem, 5vw, 5rem);
  padding: clamp(2.7rem, 7vw, 5rem) 0 clamp(1rem, 3vw, 2rem);
}
.park-background .section-head p, .park-background .story,
.park-background .screens figcaption, .park-background .touchline-demo .project-links,
.park-background .touchline-photos, .park-background .writing > div {
  isolation: isolate; position: relative;
}
.park-background :is(.section-head p,.story,.screens figcaption,.touchline-demo .project-links,.touchline-photos,.writing > div)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -1rem -1.25rem;
  background: var(--park-wash); filter: blur(9px);
}
.park-background .project {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; column-gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(2.9rem, 5.5vw, 5.8rem);
}
.park-background .project h3 {
  font-size: clamp(2.2rem, 3.85vw, 3.7rem); margin-bottom: .5rem; color: var(--park-ink);
}
.park-background .project h3::after { height: 1.3em; width: 1.9em; }
.park-background .screen-pair::before, .park-background .screen-single::before { content: none; }
.park-background .touchline-demo { width: 100%; max-width: 30rem; margin-inline: auto; }
.park-background .touchline-demo .project-links { width: fit-content; }
.park-background .touchline-photos { max-width: 30rem; width: 100%; justify-self: center; }
.park-background .tangle-picker label {
  background: #fff3d9f2;
}
.park-background .tangle-picker label:first-of-type { border-radius: .55rem 0 0 0; }
.park-background .tangle-picker label:last-of-type { border-radius: 0 .55rem 0 0; }
.park-background .writing { padding-block: clamp(3rem, 7.3vw, 6rem); }
.park-background .page-foot {
  width: 100%; border: 0; border-top: 1px dashed #b3a383;
  padding-inline: var(--side-room); background: var(--speckle), #fcf1d9;
}
@media (min-width: 701px) {
  .park-background :is(#along,#tangle) .story { grid-column: 2; grid-row: 1; }
  .park-background :is(#along,#tangle) > :nth-child(2) { grid-column: 1; grid-row: 1; }
}
@media (max-width: 700px) {
  .park-background body::before {
    background-position: 37% bottom, center, center, center;
    background-size: auto min(72vh, 35rem), auto, auto, auto;
  }
  .park-background .bio { min-height: 0; padding: 1rem var(--side-room) clamp(15.5rem, 54vw, 21rem); }
  .park-background .bio h1 { font-size: clamp(2.65rem, 8vw, 3.4rem); }
  .park-background .bio-text { width: min(100%, 32.5rem); }
  .park-background .bio-text::before { content: none; }
  .park-background .bench {
    height: clamp(16rem, 60vw, 22rem);
    mask-image: linear-gradient(transparent, black 28%);
  }
  .park-background .bench img { object-position: 50% 86%; }
  .park-background .section-head, .park-background .project, .park-background .writing {
    grid-template-columns: minmax(0, 1fr); gap: 1.1rem;
  }
  .park-background .section-head { padding-block: 2.15rem 1.5rem; }
  .park-background .project { padding-block: 2.4rem 2.65rem; }
  .park-background .project h3 { font-size: 2.4rem; }
  .park-background .story p { max-width: 51ch; }
  .park-background .screens figcaption { margin-top: 1.15rem; }
  .park-background .touchline-photos { grid-column: 1; }
  .park-background .writing { padding-block: 2.6rem 3.4rem; }
  .park-background .writing > div + div { margin-top: .5rem; }
}
@media (forced-colors: active) {
  .park-background body::before, .park-background .bio-text::before { display: none; }
}
