.film-hero {
  background: #071512;
  color: #edf2eb;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  padding: clamp(35px,5vw,80px) clamp(24px,6vw,100px);
}
.hero-copy { z-index: 1; }
.film-hero h1 { font-size: clamp(60px,7.6vw,125px); line-height: .96; margin: 32px 0; }
.film-hero h1 em { color: #a0f7c4; -webkit-text-stroke: 0; }
.film-hero .lede { max-width: 32ch; font-size: clamp(17px,1.6vw,23px); color: #c5d3cb; }
.film-hero .button { margin-top: 30px; }
.film { position: relative; margin: 0; }
.film video { display: block; width: 100%; aspect-ratio: 800 / 660; }
.film figcaption { border-top: 1px solid #395049; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font: 12px var(--mono); color: #b3c6be; }
.film button { color: inherit; background: transparent; border: 1px solid #52685d; padding: 8px 14px; cursor: pointer; }
.dashboard-entry { background: #daebde; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 48px; }
.dashboard-entry h2 { margin: 0; font-size: 32px; }
.dashboard-entry p { max-width: 62ch; line-height: 1.5; }
.desk { min-height: 100vh; font-family: var(--font); }
.desk-header { display: flex; padding: 22px 5vw; gap: 32px; align-items: center; background: var(--ink); color: var(--paper); }
.desk-header span:last-child { font-size: 13px; }
.desk-header a { color: inherit; text-decoration: none; }
.desk-main { max-width: 1500px; margin: auto; padding: 38px 5vw 80px; }
.desk-heading, .detail > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.desk-heading h1 { font-size: clamp(38px,5vw,68px); margin: 12px 0; line-height: 1.05; }
.desk-heading p { color: #465851; }
.file-action { position: relative; }
.file-action input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-action:focus-within { outline: 2px solid #21664b; outline-offset: 3px; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); margin: 20px 0; border-block: 1px solid var(--line); }
.metrics div { padding: 18px 8px; font-size: 13px; }
.metrics strong { display: block; font: 32px var(--mono); margin-bottom: 5px; }
.desk-grid { display: grid; grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr); border: 1px solid var(--line); }
.library, .detail { min-width: 0; padding: clamp(16px,2vw,32px); }
.library { background: #dce5dc; }
.library h2, .detail h2 { margin: 0 0 14px; font-size: 24px; overflow-wrap: anywhere; }
.desk input:not([type=file]), .desk button { font: inherit; padding: 10px; border: 1px solid #8e9f95; background: #fbfcf9; }
.desk button { cursor: pointer; }
.desk input:not([type=file]) { min-width: 0; width: 100%; }
#drawings button { display: block; width: 100%; text-align: left; margin-top: 9px; overflow-wrap: anywhere; }
#drawings small, .detail small { display: block; font: 11px var(--mono); margin: 6px 0; color: #475b51; }
#drawings button[aria-pressed=true] { border-left: 4px solid #277653; background: #effbf3; }
#preview { margin: 18px 0 10px; background: #dae2dc; padding: 16px; }
#preview img, #preview iframe { width: 100%; display: block; border: 0; background: #fafbf7; }
#preview img { max-height: 360px; }
#preview iframe { height: min(55vh,520px); }
.desk a:not(.brand) { color: #21553e; }
#findings article { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
#findings p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
#findings button[aria-pressed=true] { background: #c4f1d8; }
#note { display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; margin-top: 23px; align-items: end; }
#note label { font-size: 13px; }
#note input { margin-top: 7px; }
#note button { background: var(--ink); color: white; }
@media(max-width:760px) {
  .site-header > .button { display: inline-flex; }
  .film-hero, .desk-grid { grid-template-columns: minmax(0,1fr); }
  .film { max-width: 520px; width: 100%; justify-self: center; }
  .film video { max-height: 38vh; object-fit: contain; }
  .dashboard-entry, .desk-heading { align-items: flex-start; flex-direction: column; }
  .desk-heading h1 { margin-top: 0; }
  #findings article, #note { grid-template-columns: minmax(0,1fr); gap: 8px; }
  #findings button { justify-self: start; }
  .desk-header { justify-content: space-between; gap: 10px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
