:root {
  --night: #0b0d12;
  --text: #e8e0d1;
  --soft: #c9c1b2;
  --caption: #aca598;
  --lamp: #dcae66;
  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(40px, 6vw, 84px);
  --display: 'IM Fell English', 'Iowan Old Style', Georgia, serif;
  --caps: 'IM Fell English SC', 'IM Fell English', Georgia, serif;
  --body: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(18px, 0.9vw + 13px, 21px);
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--lamp); }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; }
figure { margin: 0; }
p { margin: 0; }

.top {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px var(--gutter);
  font-family: var(--caps); letter-spacing: 0.06em; font-size: 17px;
}
.top a { text-decoration: none; }
.top nav { display: flex; gap: 28px; }
.top nav a { opacity: 0.85; }
.top nav a:hover { opacity: 1; }

/* Hero: the film full bleed, the words low on the left where the road is darkest. */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(64px, 10vh, 120px);
  background: #1a1720 url('/media/express-rain-960.jpg') center / cover no-repeat;
  isolation: isolate;
}
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 9, 13, 0.85) 0%, rgba(8, 9, 13, 0.4) 32%, rgba(8, 9, 13, 0) 56%),
    linear-gradient(to bottom, rgba(8, 9, 13, 0.45) 0%, rgba(8, 9, 13, 0) 16%);
}
.hero-words { max-width: 46rem; }
.hero h1 {
  font-size: clamp(58px, 10.5vw, 168px); line-height: 0.92; letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.line { font-size: clamp(20px, 1.4vw + 13px, 28px); line-height: 1.3; margin: 18px 0 26px 4px; color: #f1e9da; }
.play {
  display: inline-flex; align-items: center; gap: 12px; margin-left: 4px;
  font-family: var(--display); font-size: clamp(20px, 0.8vw + 15px, 25px); text-decoration: none;
}
.play::before {
  content: ''; width: 0; height: 0; flex: none;
  border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.caption, figcaption { font-size: 16px; line-height: 1.45; color: var(--caption); }
.hero-caption { position: absolute; right: var(--gutter); bottom: 22px; color: rgba(236, 229, 216, 0.92); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }

.intro { padding: var(--gap) var(--gutter) calc(var(--gap) * 0.9); }
.lede {
  font-family: var(--display); font-size: clamp(26px, 2.2vw + 14px, 44px); line-height: 1.25;
  max-width: 24em;
}
.lede-2 { margin-top: 0.9em; font-size: clamp(20px, 0.9vw + 15px, 26px); color: var(--soft); max-width: 30em; }

.section-title {
  font-family: var(--display); font-size: 28px; color: #d9c49e; margin: 0 0 20px;
}

/* Plates: each picture with one plain sentence under it. */
.plate img { width: 100%; height: auto; }
.plate figcaption { padding: 12px var(--gutter) 0; }
.plate.full { margin-bottom: var(--gap); }
.plate.letterbox img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; }

.two {
  display: grid; grid-template-columns: 1fr; gap: 36px var(--gutter);
  padding: 0 var(--gutter); margin-bottom: var(--gap);
}
.two figcaption { padding-left: 0; padding-right: 0; }
.two img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; } }

/* Night: one picture, the heading set into its dark sky. */
.night { position: relative; margin-bottom: var(--gap); }
.night img { width: 100%; height: auto; }
.night-words { position: absolute; left: var(--gutter); top: clamp(24px, 5vw, 80px); max-width: 30rem; }
.night h2 { font-size: clamp(32px, 4.4vw, 76px); line-height: 1.02; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.night-caption { padding: 12px var(--gutter) 0; }
@media (max-width: 640px) {
  .night { display: flex; flex-direction: column; }
  .night-words { position: static; order: -1; padding: 0 var(--gutter) 20px; }
}

/* The streets: a wide plate off the left edge, an even pair, then the lair small with its words beside it. */
.streets { padding-bottom: var(--gap); }
.wide-left { width: min(100%, 72vw); margin-bottom: var(--gap); }
.wide-left figcaption { padding-left: var(--gutter); max-width: 36em; }
.two.even figcaption { max-width: 30em; }
.lair {
  display: grid; gap: 14px; padding: 0 var(--gutter); margin-bottom: var(--gap);
}
.lair img { width: 100%; height: auto; }
.lair p { font-family: var(--display); font-size: clamp(24px, 1.6vw + 14px, 38px); line-height: 1.2; max-width: 14em; }
.more { padding: 0 var(--gutter); max-width: 40em; color: var(--soft); font-size: clamp(19px, 0.7vw + 15px, 24px); }
@media (min-width: 800px) {
  .lair { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
}
@media (max-width: 799px) { .wide-left { width: 100%; } }

.plate.square { margin-bottom: 0; }

/* The trailer: its poster and one plain button, then the browser's own controls. */
.trailer { padding: var(--gap) var(--gutter); }
.screen { position: relative; }
.screen video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.start {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; padding: 0 0 clamp(18px, 3vw, 40px) clamp(18px, 3vw, 40px);
  display: flex; align-items: flex-end; align-content: flex-end; gap: 6px 14px; flex-wrap: wrap; text-align: left;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.7), rgba(8, 9, 13, 0) 45%); color: var(--text);
  font-family: var(--display); font-size: clamp(22px, 1.2vw + 15px, 32px); line-height: 1.1;
}
.start .tri {
  width: 0; height: 0; margin-bottom: 0.18em; flex: none;
  border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.start span { white-space: nowrap; }
.start .len { flex-basis: 100%; padding-left: 28px; font-family: var(--body); font-style: italic; font-size: 16px; color: var(--soft); }
.start:hover { color: var(--lamp); }
.screen.playing .start { display: none; }

.end { padding: 0 var(--gutter) 44px; color: var(--soft); }
.end p + p { margin-top: 6px; }
.end .small { margin-top: 36px; font-size: 15px; color: var(--caption); }

@media (max-width: 520px) {
  .top { font-size: 15px; padding-top: 16px; }
  .top nav { gap: 18px; }
  .hero { padding-bottom: 72px; }
  .hero-caption { left: var(--gutter); right: auto; bottom: 16px; font-size: 14px; }
  .plate.letterbox img { aspect-ratio: 16 / 10; }
}

/* Phones held upright: Victoria Street, which keeps its street when cut tall; the Express corner does not. */
.cap-tall { display: none; }
@media (orientation: portrait) and (max-width: 799px) {
  .hero { background-image: url('/media/victoria-portrait.jpg'); }
  .cap-wide { display: none; }
  .cap-tall { display: inline; }
}

/* Wide plates sit off one edge, with their caption in the space they leave. */
@media (min-width: 800px) {
  .wide-left, .wide-right { width: 100%; display: grid; grid-template-columns: 72fr 28fr; align-items: end; }
  .wide-right { grid-template-columns: 28fr 72fr; }
  .wide-right img { order: 2; }
  .wide-left figcaption, .wide-right figcaption { padding: 0 var(--gutter) 6px; max-width: none; }
  .wide-right figcaption { text-align: right; }
  .weather .two { margin-bottom: 120px; }
  .wide-right { margin-bottom: 28px; }
  .night-caption { text-align: right; }
}
.wide-right { margin-bottom: var(--gap); }
