/* Delmarva Review. Heather page from the dusk sky, violet ink, one horizon orange used only on the dark band. */
:root {
  --heather: #c4b0bf;
  --ink: #221d33;
  --dim: #463c55;
  --dusk: #2a2438;
  --mist: #efe6ea;
  --horizon: #e6a07f;
  --hair: rgba(34, 29, 51, 0.28);
  --slab: Rockwell, "Rockwell Nova", "Roboto Slab", "DejaVu Serif", serif;
  --text: Seravek, "Gill Sans Nova", "Gill Sans", Ubuntu, Calibri, "DejaVu Sans", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--heather);
  color: var(--ink);
  font: 400 1.125rem/1.62 var(--text);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* the dark band: nameplate and two links */
.band {
  background: var(--dusk);
  color: var(--mist);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}
.plate {
  font: 700 clamp(1.5rem, 4vw, 2.1rem)/1.05 var(--slab);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.band nav a {
  margin-left: 1.25rem;
  text-decoration-color: var(--horizon);
}
.band nav a:first-child { margin-left: 0; }
.band a:focus-visible { outline-color: var(--horizon); }

/* homepage: big nameplate, then the film set into the band like a window */
.front .band { padding-top: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.front .plate { font-size: clamp(2.5rem, 9vw, 6.75rem); line-height: 0.95; }
.screen {
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: linear-gradient(var(--dusk) 0 55%, transparent 55%);
}
.film, .still {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: 62% 55%;
  background: var(--dusk);
}
.still { display: none; }
.line {
  max-width: 84rem;
  margin: 0.75rem auto 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  text-align: right;
  color: var(--dim);
  font-size: 1rem;
}

.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* contents: one lead essay with its picture, the rest as a plain list */
.contents {
  max-width: 84rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem) 4rem;
  display: grid;
  gap: 2.5rem;
}
.contents h2 { font-family: var(--slab); font-weight: 700; margin: 0; }
.contents h2 a { text-decoration: none; }
.contents h2 a:hover { text-decoration: underline; }
.lead img { width: 100%; margin-bottom: 1.1rem; }
.lead h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; }
.lead p { margin: 0.7rem 0 0; max-width: 36rem; color: var(--dim); }
.list h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  padding-top: 1rem;
  border-top: 1px solid var(--hair);
}
.list h2:first-child { border-top: 0; padding-top: 0; }
.list p { margin: 0.35rem 0 1.25rem; color: var(--dim); font-size: 1rem; }
@media (min-width: 52rem) {
  .contents { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }
}

/* reading pages */
.col {
  max-width: 41rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem) 3.5rem;
}
.col h1 {
  font: 700 clamp(2rem, 6vw, 3.1rem)/1.05 var(--slab);
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
.standfirst { font-size: 1.3rem; line-height: 1.45; color: var(--dim); margin: 0 0 2rem; }
.col h2 { font: 700 1.45rem/1.2 var(--slab); margin: 2.3rem 0 0.5rem; }
.col p, .col li { margin: 0 0 1.05rem; }
.col ul, .col ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.col li { margin-bottom: 0.5rem; }
.col li::marker { color: var(--dim); }
.wide { max-width: 68rem; margin: 0 auto; }
.wide img { width: 100%; }
.shot { margin: 0 0 2.2rem; }
.shot figcaption { margin-top: 0.55rem; font-size: 0.95rem; color: var(--dim); }
.pic { margin: 2rem 0; }
.all { list-style: none; padding: 0; }
.all li { padding: 1rem 0; border-top: 1px solid var(--hair); margin: 0; }
.all a { font: 700 1.3rem/1.2 var(--slab); }
.all span { display: block; margin-top: 0.3rem; color: var(--dim); font-size: 1rem; }

.foot {
  background: var(--dusk);
  color: var(--mist);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  font: 700 1.05rem/1 var(--slab);
}
.foot a { text-decoration: none; }

@media (max-width: 40rem) {
  .film, .still { aspect-ratio: 4 / 3; object-position: 70% 55%; }
  .line { text-align: left; }
}

/* Motion is the film only. With reduced motion the film is swapped for its first frame. */
@media (prefers-reduced-motion: reduce) {
  .film { display: none; }
  .still { display: block; }
}
