/* The project links sit together in a single band on the home page. */
.home-studies {
  background: #f4eee3;
  color: #123239;
}
.home-studies > .wrap {
  padding: clamp(2.25rem, 3.9vw, 4.1rem) clamp(1.1rem, 3.2vw, 3.25rem) clamp(2.6rem, 4.5vw, 4.75rem);
}
.study-list { scroll-margin-top: 1.5rem; }
.study-list h2 { margin: 0 0 clamp(1.1rem, 2vw, 2rem); }
.study-teasers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.study-teaser { border-top: 1px solid #b29d76; }
.study-teaser a {
  display: grid;
  grid-template-columns: clamp(6.8rem, 12vw, 11rem) 1fr;
  align-items: center;
  gap: clamp(.95rem, 1.9vw, 2rem);
  height: 100%;
  padding-top: clamp(1rem, 1.5vw, 1.5rem);
  color: inherit; text-decoration: none;
}
.study-teaser img {
  width: 100%; aspect-ratio: 1.1; object-fit: cover; object-position: center 38%;
  border-radius: .25rem;
}
.study-teaser h3 { font-size: clamp(1.45rem, 2.35vw, 2.5rem); line-height: 1.04; }
.study-teaser p { margin: .45rem 0 .62rem; max-width: 34ch; font-size: clamp(.99rem, 1.18vw, 1.14rem); line-height: 1.43; }
.study-read, .study-outcome a {
  font-weight: 650; text-decoration: underline; text-underline-offset: .25em;
}
.study-read { white-space: nowrap; }
.home-studies :is(h2, h3) { color: #0d3036; }
.home-studies .study-read, .study-outcome a { color: #00505b; }
.home-studies a:hover .study-read, .study-outcome a:hover { color: #7b4310; }
.home-studies a:focus-visible, .study-story a:focus-visible { outline-color: #006370; }
.work-page .study-read { color: var(--pale-gold); }
.work-page .study-teaser a:hover .study-read { color: white; }
.work-films { margin-top: clamp(2.75rem, 4.8vw, 5rem); }
.work-films > h2 { margin-bottom: 1.2rem; }
.work-card h3 { font-size: clamp(1.55rem, 2.5vw, 2.5rem); }

.study-page {
  --study-edge: clamp(1.15rem, 4.4vw, 4.3rem);
  --study-gap: clamp(1.6rem, 4.4vw, 4.6rem);
  --study-ink: #12343a;
}
.study-wrap { width: 100%; max-width: 87rem; padding-inline: var(--study-edge); margin-inline: auto; }
.study-hero { background: linear-gradient(112deg, #0b2831, #0c393d); color: #f8f3e8; }
.study-hero .crumbs { padding-block: clamp(1.1rem, 2.3vw, 2.1rem) 0; color: #d4e4df; }
.study-hero .crumbs a { color: #ffcf83; }
.study-opening {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: var(--study-gap);
  padding-block: clamp(1.6rem, 3vw, 3rem) clamp(2.1rem, 3.8vw, 4rem);
}
.study-intro h1 {
  color: #fff4e6; font-size: clamp(2.75rem, 5.25vw, 5.25rem); line-height: 1;
  letter-spacing: -.046em; text-wrap: balance;
}
.study-intro > p { max-width: 41ch; margin-top: 1.05rem; font-size: clamp(1.09rem, 1.52vw, 1.47rem); line-height: 1.48; }
.study-audience { border-top: 1px solid #708b87; margin-top: 1.2rem; padding-top: 1rem; }
.study-audience dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.study-audience dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .18rem; }
.study-audience dt { max-width: 18ch; font-size: clamp(.92rem, 1.2vw, 1.13rem); line-height: 1.3; }
.study-audience dd { margin: 0; color: #ffcc80; font: 400 clamp(1.95rem, 3.4vw, 3.65rem)/1.05 var(--serif); letter-spacing: -.045em; }
.study-audience > p { color: #c1d5d0; font-size: .82rem; margin-top: .7rem; }
.study-feature { min-width: 0; margin: 0; }
.study-player {
  display: grid; position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: .36rem; background: #10292d;
}
.study-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.study-player img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: cover; }
.study-pair img { object-position: center 40%; }
.study-pair img:first-child { object-position: center 18%; }
.study-play {
  position: absolute; bottom: .75rem; right: .75rem; padding: .25rem .55rem;
  border-radius: .25rem; background: #081820; color: #fff4e6; font: 650 .92rem/1.2 var(--sans);
}
.study-feature figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .15rem .85rem; padding-top: .65rem; line-height: 1.35;
}
.study-feature figcaption strong { font-size: 1rem; }
.study-feature figcaption span { color: #d0e2de; font-size: .92rem; }

.study-story { padding-block: clamp(2.3rem, 4.8vw, 5.2rem); background: #f5efe4; color: #193a40; }
.study-story h2, .study-story h3 { color: var(--study-ink); text-wrap: balance; }
.study-story h2 { font-size: clamp(1.95rem, 3.05vw, 3.1rem); line-height: 1.12; }
.study-story h3 { font-size: clamp(1.7rem, 2.6vw, 2.65rem); }
.study-story p { max-width: 59ch; font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.6; }
.study-notes, .study-cuts.two-cuts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--study-gap);
}
.study-notes p { margin-top: .75rem; }
.study-films, .study-outcome {
  border-top: 1px solid #b5aa96;
  padding-top: clamp(1.7rem, 2.9vw, 3rem); margin-top: clamp(2rem, 3.9vw, 4.1rem);
}
.study-films > h2 { margin-bottom: clamp(1.15rem, 2vw, 2rem); }
.study-cut > div { margin-top: .8rem; }
.study-cut .cut-type { font-size: .92rem; font-weight: 650; color: #406064; margin-bottom: .24rem; }
.study-cut h3 + p { margin-top: .5rem; }
.study-cuts.one-cut .study-cut {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: var(--study-gap);
}
.one-cut .study-player { aspect-ratio: 1.65; }
.one-cut .study-player img { object-position: 50% 38%; }
.one-cut .study-cut > div { margin: 0; }
.study-outcome { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: var(--study-gap); }
.study-outcome a { display: inline-block; padding-block: .55rem .2rem; }

@media (max-width: 51rem) {
  .study-teasers { grid-template-columns: minmax(0, 1fr); }
  .study-teaser a { grid-template-columns: clamp(6.3rem, 23vw, 10.5rem) minmax(0, 1fr); }
  .study-teaser p { max-width: 47ch; }
  .study-teaser h3 { font-size: clamp(1.45rem, 3.8vw, 2rem); }
}
@media (max-width: 44rem) {
  .study-opening, .study-notes, .study-cuts.two-cuts, .study-cuts.one-cut .study-cut, .study-outcome { grid-template-columns: minmax(0, 1fr); }
  .study-intro > p { margin-top: .85rem; }
  .study-cuts { gap: 1.9rem; }
  .study-cuts.one-cut .study-cut, .study-outcome { gap: .8rem; }
}
@media (max-width: 24rem) {
  .study-teaser a { grid-template-columns: 5.1rem minmax(0,1fr); gap: .85rem; }
  .study-teaser img { aspect-ratio: .78; }
  .study-feature figcaption { display: grid; }
}
