/* Dihedral: bare aluminium, signal white, graphite and one cadmium-red wool */
@font-face { font-family: "Reddit Sans Condensed"; src: url("/assets/fonts/specimen/reddit-sans-condensed-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Reddit Sans"; src: url("/assets/fonts/specimen/reddit-sans-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

body.spec-dihedral { margin: 0; background: #F4F5F2; }

.dh-page {
  --dh-salt: #F4F5F2;
  --dh-ink: #23211E;
  --dh-ink-2: #4A4742;
  --dh-chr: #C8261D;
  --dh-alu: #C8CAC5;
  --dh-alu-lt: #DCDED9;
  --dh-alu-dk: #A3A6A0;
  --dh-wool-core: #8E1A14;
  --dh-seal: #3B3A37;
  --dh-cond: "Reddit Sans Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --dh-text: "Reddit Sans", system-ui, "Segoe UI", sans-serif;
  --dh-nav-h: 52px;
  --dh-gap: clamp(16px, 2vw, 32px);
  --dh-side: calc(clamp(16px, 4vw, 56px) + var(--dh-stack, 0px));
  --dh-s5: 24px; --dh-s6: 32px; --dh-s7: 48px; --dh-s8: 64px; --dh-s9: 96px; --dh-s10: 144px; --dh-s11: 192px;
  background: var(--dh-salt);
  color: var(--dh-ink);
  font-family: var(--dh-text);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.58;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
}
.dh-page *, .dh-page *::before, .dh-page *::after { box-sizing: border-box; }
.dh-page :where(h1, h2, h3, p, ol, ul, figure) { margin: 0; }
.dh-page :where(a) { color: inherit; }
.dh-page :focus-visible { outline: 2px solid var(--dh-ink); outline-offset: 3px; }

/* ---- nav ---- */
.dh-nav {
  position: sticky; top: var(--bar-h, 40px); z-index: 800;
  height: var(--dh-nav-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 0 clamp(16px, 4vw, 56px);
  background: var(--dh-salt);
  border-bottom: 1px solid var(--dh-alu-dk);
}
.dh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.dh-mark { display: block; width: 32px; height: 32px; flex: none; }
.dh-name { font-family: var(--dh-cond); font-weight: 800; font-size: 22px; letter-spacing: -.01em; line-height: 1; }
.dh-links { display: flex; gap: clamp(16px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.dh-links a, .dh-talk-link { font-weight: 600; font-size: .9375rem; text-decoration: none; line-height: 1; padding: 10px 0; display: inline-block; }
.dh-links a:hover, .dh-talk-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dh-talk-link { border-bottom: 2px solid var(--dh-ink); padding-bottom: 6px; }
@media (max-width: 560px) {
  .dh-page { --dh-nav-h: 48px; }
  .dh-links { display: none; }
}

/* ---- the hero: the hangar door slid half open on the sky, the aeroplane on its check flight ---- */
.dh-hero {
  --leaf: clamp(360px, 36vw, 580px);
  --lp: clamp(24px, 3vw, 48px);
  position: relative; outline-offset: -3px; scroll-margin-top: calc(var(--bar-h, 40px) + var(--dh-nav-h));
  display: grid; grid-template-columns: var(--leaf) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto;
  min-height: clamp(560px, calc(100svh - var(--bar-h, 40px) - var(--dh-nav-h)), 72vw);
  background: var(--dh-alu);
}
/* the leaf: corrugated aluminium on its track, a rubber seal on its leading edge */
.dh-door {
  grid-column: 1; grid-row: 1 / -1; position: relative; z-index: 2;
  background:
    linear-gradient(to top, #9a9d97 0 12px, rgb(35 33 30 / .16) 12px 13px, transparent 13px),
    linear-gradient(100deg, rgb(255 255 255 / .24), rgb(255 255 255 / 0) 42%, rgb(35 33 30 / .07)),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .42) 0 1px, transparent 1px 17px, rgb(35 33 30 / .13) 17px 18px, transparent 18px 22px),
    var(--dh-alu);
  box-shadow: 14px 0 16px -12px rgb(35 33 30 / .5);
}
.dh-door::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; background: linear-gradient(var(--dh-alu-lt), var(--dh-alu-dk) 55%, #8f928c); box-shadow: 0 1px 0 rgb(35 33 30 / .3); }
.dh-door::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 8px; background: var(--dh-seal); }
.dh-h1, .dh-sub, .dh-plate { grid-column: 1; position: relative; z-index: 3; padding-inline: var(--lp) calc(var(--lp) + 8px); }
.dh-h1 {
  grid-row: 1; padding-top: clamp(40px, 7svh, 88px);
  max-width: 8.6ch; box-sizing: content-box;
  font-family: var(--dh-cond); font-weight: 800;
  font-size: clamp(2.75rem, min(5.6vw, 9svh), 6.75rem);
  line-height: .86; letter-spacing: -.015em;
}
.dh-sub {
  grid-row: 2; margin-top: clamp(18px, 3svh, 32px); max-width: 34ch; box-sizing: content-box;
  font-weight: 450; font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.45;
}
.dh-win {
  grid-column: 2; grid-row: 1 / -1;
  position: relative; overflow: hidden;
  background: #8FB3D9;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.dh-sky, .dh-sky img, .dh-air { position: absolute; inset: 0; width: 100%; height: 100%; }
.dh-sky img { display: block; object-fit: cover; object-position: 50% 62%; }
.dh-craft { position: absolute; left: 5%; top: 20%; width: 90%; aspect-ratio: 1476 / 1000; will-change: transform; }
.dh-craft-pic img { display: block; width: 100%; height: 100%; }
.dh-wool { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dh-air { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .dh-door, .dh-h1, .dh-sub, .dh-plate { animation: dh-door-in 1.1s cubic-bezier(.22, .8, .18, 1) both; }
}
@keyframes dh-door-in { from { translate: 120px 0; } }

/* the control yoke: hold to ease back, let go and it eases forward; the same one beside the rib */
.dh-yoke { position: relative; width: 300px; max-width: 100%; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.dh-yoke.is-held { cursor: grabbing; }
.dh-yk { display: block; width: 100%; height: auto; overflow: visible; }
.dh-yk-lamp { fill: #3A1512; stroke: #0E0D0C; }
.dh-yk-lampt { font: 700 10px/1 var(--dh-cond); letter-spacing: .1em; fill: #7C4C46; }
.is-warn .dh-yk-lamp { fill: #E0362B; }
.is-warn .dh-yk-lampt { fill: #FFF; }
.dh-yk-halo { opacity: 0; transition: opacity .15s; }
.dh-yoke:not(.is-known) .dh-yk-halo { opacity: .75; }
.dh-yoke:is(:hover, :focus-visible, .is-held) .dh-yk-halo { opacity: 1; animation: none; stroke-dasharray: none; }
@media (prefers-reduced-motion: no-preference) {
  .dh-yoke:not(.is-known) .dh-yk-halo { animation: dh-breathe 2.2s ease-in-out infinite; }
  .is-warn .dh-yk-lamp { animation: dh-blink .5s steps(2) infinite; }
}
@keyframes dh-breathe { 50% { opacity: .1; } }
@keyframes dh-blink { 50% { fill: #7A1D16; } }
.dh-yk-hint { position: absolute; left: 0; right: 0; top: 72%; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .9375rem; line-height: 1.2; transition: opacity .2s; }
.dh-yoke:is(.is-held, .is-back) .dh-yk-hint { opacity: 0; }
.dh-yk-hint svg { flex: none; }
.dh-hero > .dh-yoke { grid-column: 1; grid-row: 3; z-index: 3; align-self: center; margin: 12px var(--lp); width: clamp(200px, min(21vw, 28svh), 300px); }

/* the running sentence, painted low on the leaf under a rule */
.dh-plate { grid-row: 4; padding-bottom: clamp(28px, 5svh, 56px); }
.dh-plate::before { content: ""; display: block; height: 2px; background: var(--dh-ink); margin-bottom: 14px; }
.dh-say {
  font-weight: 560; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.35;
  font-variant-numeric: tabular-nums lining-nums;
  min-height: 2.7em;
}
.dh-say:empty { display: none; }
.dh-hint { margin-top: 10px; font-size: .875rem; line-height: 1.4; color: var(--dh-ink-2); }
.dh-hint-touch { display: none; }
@media (pointer: coarse) { .dh-hint-fine { display: none; } .dh-hint-touch { display: inline; } }
.dh-poster { display: grid; gap: 10px; }
.dh-tufts { display: block; width: 100%; height: auto; }
.dh-tf-wing { fill: var(--dh-alu-lt); stroke: var(--dh-ink); stroke-width: 1.25; }
.dh-tf-tuft { fill: none; stroke: var(--dh-chr); stroke-width: 3; stroke-linecap: round; }
.dh-poster-say { font-size: .9375rem; line-height: 1.45; color: var(--dh-ink-2); }
.dh-js .dh-poster { display: none; }
.dh-page:not(.dh-js) .dh-say { display: none; }
.dh-page:not(.dh-js) .dh-hint, .dh-page:not(.dh-js) .dh-yoke { display: none; }

@media (max-width: 1180px) and (min-width: 901px) {
  .dh-hero { --leaf: clamp(340px, 38vw, 440px); }
}

/* tablets and phones: the leaf runs across the top, the wing under it, the sentence beneath */
@media (max-width: 900px) {
  .dh-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; height: auto; }
  .dh-door { grid-row: 1 / 3; box-shadow: 0 14px 16px -12px rgb(35 33 30 / .5); }
  .dh-door::after { inset: auto 0 0 0; width: auto; height: 8px; }
  .dh-h1 { padding-top: 36px; max-width: 12ch; font-size: clamp(2.5rem, 7.4vw, 4.25rem); }
  .dh-sub { padding-bottom: 36px; max-width: 46ch; }
  .dh-win { grid-column: 1; grid-row: 3; height: min(66.6667vw, 64svh); min-height: 320px; }
  .dh-hero > .dh-yoke { grid-row: 4; align-self: start; margin: 22px 0 28px var(--lp); width: 200px; }
  .dh-plate { grid-row: 4; padding-top: 22px; padding-left: calc(var(--lp) + 224px); }
  .dh-plate::before { display: none; }
  @media (prefers-reduced-motion: no-preference) {
    .dh-door, .dh-h1, .dh-sub, .dh-plate { animation: none; }
  }
}
@media (max-width: 700px) {
  .dh-door { grid-row: 1 / 2; }
  .dh-h1 { padding: 30px 16px 26px; max-width: none; font-size: clamp(2.125rem, 9.6vw, 2.75rem); line-height: .9; }
  .dh-sub { grid-row: 5; padding: 18px 16px 36px; margin: 0; max-width: none; }
  .dh-win { grid-row: 2; height: min(133.333vw, calc(100svh - var(--bar-h, 40px) - var(--dh-nav-h) - 190px)); min-height: 300px; }
  .dh-hero > .dh-yoke { grid-row: 2; align-self: end; margin: 0 0 10px 10px; width: 164px; padding: 6px 8px 5px; background: rgb(244 245 242 / .88); box-shadow: 0 0 0 1px rgb(35 33 30 / .18); }
  .dh-hero > .dh-yoke .dh-yk-hint { font-size: .8125rem; gap: 6px; top: 76%; }
  .dh-hero > .dh-yoke .dh-yk-long { display: none; }
  .dh-plate { grid-row: 3; padding: 18px 16px 0; }
}

/* ---- the bands ---- */
.dh-band { position: relative; --st: clamp(10px, 3.3vw, 52px); --sl: 0px; --sr: 0px; --pad: clamp(16px, 4vw, 56px); padding: calc(14px + var(--pt, 96px)) 0 var(--pb, 144px); }
.dh-in {
  box-sizing: content-box !important;
  max-width: 1360px; margin-inline: auto;
  padding-inline: calc(var(--pad) + var(--sl)) calc(var(--pad) + var(--sr));
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--dh-gap);
}
.dh-in > * { grid-column: 1 / -1; min-width: 0; }
.dh-band h2 { font-family: var(--dh-cond); font-weight: 800; font-size: clamp(2.125rem, 1.5rem + 2.6vw, 4rem); line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
.dh-body { max-width: 62ch; }
.dh-lead { font-weight: 450; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.45; max-width: 52ch; }
.dh-quiet { font-weight: 400; font-size: clamp(1.375rem, 1rem + 1.4vw, 2.125rem); line-height: 1.3; max-width: 30ch; }
.dh-small { font-size: .875rem; line-height: 1.5; color: var(--dh-ink-2); max-width: 52ch; }

/* ---- the door runs: ribbed aluminium on a track ---- */
.dh-run {
  position: absolute; left: 0; right: 0; top: 0; height: min(100%, 100svh); z-index: 6;
  overflow: hidden; pointer-events: none;
  container-type: size; view-timeline: --dh-run block;
}
.dh-track { position: absolute; inset: 0 0 auto 0; height: 14px; z-index: 40; background: linear-gradient(var(--dh-alu-lt), var(--dh-alu-dk) 55%, #8f928c); box-shadow: 0 1px 0 rgb(35 33 30 / .3); }
.dh-leaf {
  --tx: calc(var(--x, var(--l)) - var(--l)); --ty: 0px;
  position: absolute; top: 14px; bottom: 0; left: var(--l); width: var(--w); z-index: var(--z, 1);
  translate: var(--tx) var(--ty);
  background:
    linear-gradient(to top, #9a9d97 0 10px, rgb(35 33 30 / .16) 10px 11px, transparent 11px),
    linear-gradient(100deg, rgb(255 255 255 / .26), rgb(255 255 255 / 0) 38%, rgb(35 33 30 / .07) 100%),
    repeating-linear-gradient(90deg, var(--dh-alu-lt) 0 2px, var(--dh-alu) 2px 13px, var(--dh-alu-dk) 13px 15px, var(--dh-alu) 15px 18px);
  box-shadow: inset 1px 0 rgb(35 33 30 / .22), inset -1px 0 rgb(255 255 255 / .3);
}
/* the contact shadow where one leaf lies over the next: a painted strip, not a blur */
.dh-leaf::before { content: ""; position: absolute; top: 0; bottom: 0; width: 12px; z-index: 1; pointer-events: none; }
.dh-e-l::before { right: 100%; background: linear-gradient(to left, rgb(35 33 30 / .3), rgb(35 33 30 / 0)); }
.dh-e-r::before { left: 100%; background: linear-gradient(to right, rgb(35 33 30 / .3), rgb(35 33 30 / 0)); }
.dh-e-b::before { top: auto; height: 12px; width: auto; left: 0; right: 0; bottom: -12px; background: linear-gradient(rgb(35 33 30 / .3), rgb(35 33 30 / 0)); }
.dh-leaf::after { content: ""; position: absolute; background: var(--dh-seal); z-index: 2; }
.dh-e-l::after { inset: 0 auto 0 0; width: 8px; }
.dh-e-r::after { inset: 0 0 0 auto; width: 8px; }
.dh-e-b::after { inset: auto 0 0 0; height: 8px; }
.dh-lp { position: absolute; inset: 0; overflow: hidden; }
.dh-lp[data-no]::before {
  content: attr(data-no); position: absolute; left: 10%; bottom: 7%;
  font: 800 clamp(7.5rem, 4.5rem + 5vw, 11rem)/.8 var(--dh-cond); letter-spacing: -.02em; color: rgb(244 245 242 / .92);
}
.dh-no-r .dh-lp[data-no]::before { left: auto; right: 5%; }
.dh-lp[data-word]::after {
  content: attr(data-word); position: absolute; top: var(--wt, 16%); left: calc(-1 * var(--l)); width: 100cqw;
  text-align: center; white-space: nowrap;
  font: 800 var(--wf, 24cqw)/.8 var(--dh-cond); letter-spacing: -.01em; color: rgb(244 245 242 / .92);
}
.dh-lp.dh-baked-n::before, .dh-lp.dh-baked-w::after { content: none; }
.dh-paint { position: absolute; display: block; pointer-events: none; }
.dh-lmark { position: absolute; right: 18%; bottom: 12%; width: clamp(20px, 2.4vw, 34px); height: auto; }
.dh-tuft { position: absolute; top: 46%; width: 2px; height: 2px; overflow: visible; z-index: 3; }
.dh-tuft-l { left: 4px; } .dh-tuft-r { right: 4px; } .dh-tuft-b { top: auto; bottom: 4px; left: 50%; }
.dh-tuft-wool { fill: none; stroke: var(--dh-chr); stroke-width: 3.4; stroke-linecap: round; }
.dh-tuft-shade { fill: none; stroke: rgb(35 33 30 / .28); stroke-width: 3; stroke-linecap: round; }
.dh-tuft-tape { fill: #e4e6e2; stroke: rgb(35 33 30 / .25); stroke-width: 1; }
.dh-run-close .dh-leaf { translate: 0 0; }
.dh-run-close { --wf: 19.5cqw; --wt: 20%; }
.dh-run-floor { --wf: 25cqw; --wt: 14%; }

@keyframes dh-open {
  0% { translate: 0 0; animation-timing-function: cubic-bezier(.33, .1, .2, 1); }
  84% { translate: calc(var(--tx) * 1.008) calc(var(--ty) * 1.008); animation-timing-function: ease-in-out; }
  100% { translate: var(--tx) var(--ty); }
}
@keyframes dh-shut { from { translate: var(--tx) var(--ty); animation-timing-function: cubic-bezier(.4, .1, .25, 1); } to { translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .dh-leaf { animation: dh-open linear both; animation-timeline: --dh-run; animation-range: cover calc(4% + var(--i) * 1.6%) cover calc(30% + var(--i) * 1.6%); }
    .dh-run-close .dh-leaf { animation-name: dh-shut; animation-range: entry calc(10% + var(--i) * 4%) entry calc(84% + var(--i) * 4%); }
    .dh-run.dh-near .dh-leaf { will-change: translate; }
  }
  .dh-io .dh-run:not(.is-open) .dh-leaf { translate: 0 0; }
  .dh-io .dh-run-close:not(.is-open) .dh-leaf { translate: var(--tx) var(--ty); }
  .dh-io .dh-leaf { transition: translate 900ms cubic-bezier(.22, .8, .18, 1) calc(var(--i) * 60ms); }
}

/* ---- 02 the rib ---- */
.dh-rib { --sr: var(--st); --pt: clamp(64px, 7vw, 96px); --pb: clamp(88px, 10vw, 144px); }
.dh-rib-text { grid-column: 1 / span 4; display: grid; gap: var(--dh-s5); align-content: start; padding-top: 8px; }
.dh-rib-draw { grid-column: 5 / -1; margin: 0; display: grid; gap: 18px; }
.dh-rib-fig { position: relative; }
.dh-rib-still, .dh-rib-canvas { display: block; width: 100%; height: auto; }
.dh-rib-canvas { display: none; }
.dh-rib-fig.dh-drawn .dh-rib-canvas { display: block; }
.dh-rib-fig.dh-drawn .dh-rib-still { display: none; }
.dh-rib-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.dh-yoke-rib { flex: none; width: 220px; }
.dh-rib-say { flex: 1 1 22ch; font-weight: 560; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.35; font-variant-numeric: tabular-nums lining-nums; }
.dh-cap { font-size: .875rem; line-height: 1.5; color: var(--dh-ink-2); max-width: 70ch; }
.dh-page:not(.dh-js) .dh-yoke-rib { display: none; }

/* ---- 03 the floor: the one full field of brushed aluminium ---- */
.dh-floor {
  --sl: var(--st); --sr: var(--st); --pt: -14px; --pb: clamp(96px, 10vw, 144px);
  background-color: var(--dh-alu);
  background-image:
    linear-gradient(rgb(255 255 255 / .2), rgb(255 255 255 / 0) 28%, rgb(35 33 30 / .06)),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .2) 0 1px, transparent 1px 3px, rgb(35 33 30 / .05) 3px 4px, transparent 4px 7px);
}
.dh-floor-pic img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 60%; }
.dh-floor-head { grid-column: 1 / span 8; display: grid; gap: var(--dh-s5); margin-top: clamp(56px, 7vw, 96px); }
.dh-list { list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px) !important; }
.dh-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--dh-gap); row-gap: 14px; padding: 22px 0 28px; border-top: 3px solid var(--dh-ink); align-items: start; }
.dh-row:last-child { border-bottom: 3px solid var(--dh-ink); }
.dh-row-name { grid-column: 1 / span 6; font-family: var(--dh-cond); font-weight: 800; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 6rem); line-height: .88; letter-spacing: -.015em; text-wrap: balance; }
.dh-row-say { grid-column: 7 / span 4; padding-top: .35em; display: grid; gap: 10px; justify-items: start; }
.dh-ask { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; min-height: 32px; display: inline-flex; align-items: center; }
.dh-disc {
  grid-column: 11 / span 2; justify-self: end; text-align: right;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 0; margin-top: .2em;
  font: 600 .9375rem/1.25 var(--dh-text); color: var(--dh-ink); background: none; border: 0; cursor: pointer;
}
.dh-disc svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; transition: rotate .32s; }
.dh-disc[aria-expanded="true"] svg { rotate: 180deg; }
.dh-plw { grid-column: 7 / -1; display: grid; grid-template-rows: 1fr; transition: grid-template-rows 320ms cubic-bezier(.3, .7, .2, 1); }
.dh-plw > div { overflow: hidden; min-height: 0; }
.dh-plw.is-closed { grid-template-rows: 0fr; }
.dh-plw.is-closed > div { visibility: hidden; transition: visibility 0s 320ms; }
.dh-placard {
  max-width: 520px; margin: 4px 0 6px; padding: 18px 26px;
  font-weight: 500; font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums lining-nums;
  border: 1px solid var(--dh-alu-dk); border-radius: 3px;
  background:
    radial-gradient(circle at 10px 10px, #9a9d97 0 2px, #cfd1cc 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 10px) 10px, #9a9d97 0 2px, #cfd1cc 2.5px, transparent 3px),
    radial-gradient(circle at 10px calc(100% - 10px), #9a9d97 0 2px, #cfd1cc 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #9a9d97 0 2px, #cfd1cc 2.5px, transparent 3px),
    var(--dh-salt);
  box-shadow: 0 8px 18px -12px rgb(35 33 30 / .5);
}
.dh-floor-foot { display: grid; gap: 28px; margin-top: 16px; }
.dh-ill { font-size: 1rem; }
.dh-week { font-family: var(--dh-cond); font-weight: 800; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -.01em; }
.dh-page:not(.dh-js) .dh-disc { display: none; }

/* ---- 04 the rotor ---- */
.dh-rotor { --sl: var(--st); --pt: clamp(96px, 10vw, 144px); --pb: clamp(96px, 10vw, 144px); }
.dh-rotor .dh-in { align-items: center; }
.dh-rotor-pic { grid-column: 1 / span 6; position: relative; }
.dh-rotor-pic img { display: block; width: 100%; height: auto; }
.dh-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.dh-ring-band { fill: none; stroke: var(--dh-salt); stroke-opacity: .86; stroke-width: 52; }
.dh-ring-text { font-family: var(--dh-cond); font-weight: 700; font-size: 33px; letter-spacing: .02em; fill: var(--dh-ink); dominant-baseline: central; }
.dh-ring-turn { transform-box: view-box; transform-origin: 507px 450px; }
.dh-rotor-text { grid-column: 8 / -1; display: grid; gap: var(--dh-s5); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .dh-ring-turn { animation: dh-turn linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .dh-line { animation: dh-draw linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
  }
}
@keyframes dh-turn { from { rotate: -20deg; } to { rotate: 20deg; } }
@keyframes dh-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---- 05 the engineer ---- */
.dh-look { --sr: calc(var(--st) * 1.5); --pt: clamp(72px, 7vw, 96px); --pb: clamp(112px, 13vw, 192px); }
.dh-look-text { grid-column: 1 / span 5; grid-row: 1; display: grid; gap: var(--dh-s5); align-content: start; }
.dh-look-pic {
  grid-column: 6 / -1; grid-row: 1; align-self: start;
  position: sticky; top: calc(var(--bar-h, 40px) + var(--dh-nav-h) + 24px);
  height: 76svh; min-height: 420px;
  margin-right: calc(-1 * (var(--pad) + var(--sr)) - max(0px, (100vw - 1360px - 2 * var(--pad) - var(--sl) - var(--sr)) / 2));
}
.dh-look-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.dh-qs { display: grid; gap: 10px; margin-top: var(--dh-s6); }
.dh-q { font-family: var(--dh-cond); line-height: .95; letter-spacing: -.01em; margin-top: var(--dh-s6) !important; text-wrap: balance; }
.dh-q:first-child { margin-top: 0 !important; }
.dh-q1 { font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 1.8vw, 4rem); }
.dh-q2 { font-weight: 760; font-size: clamp(1.875rem, 1.45rem + 1.15vw, 3rem); }
.dh-q3 { font-weight: 720; font-size: clamp(1.5rem, 1.25rem + .7vw, 2.25rem); }
.dh-q4 { font-weight: 700; font-size: clamp(1.375rem, 1.3rem + .3vw, 1.75rem); }
.dh-close-line { font-weight: 560; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.4; max-width: 44ch; margin-top: var(--dh-s7) !important; padding-top: var(--dh-s5); border-top: 3px solid var(--dh-ink); }

/* ---- 06 the flight: the doors lift into the lintel ---- */
.dh-flight { --pt: clamp(120px, 12vw, 176px); --pb: clamp(96px, 10vw, 144px); }
.dh-flight-grid { max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 340px); gap: clamp(32px, 6vw, 112px); align-items: end; }
.dh-flight-pic { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; }
.dh-flight-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.dh-flight-text { grid-column: 1; grid-row: 1; display: grid; gap: var(--dh-s6); max-width: 760px; }
.dh-flight-text h2 { font-size: clamp(2.75rem, 1.6rem + 4.4vw, 6.5rem); }

/* ---- 07 the route ---- */
.dh-route { --park: 17cqw; --pt: clamp(96px, 10vw, 144px); --pb: clamp(96px, 10vw, 144px); }
.dh-map { grid-column: 1 / span 8; position: relative; max-width: 820px; width: 100%; }
.dh-map-svg { display: block; width: 100%; height: auto; overflow: hidden; }
.dh-coast { fill: none; stroke: var(--dh-ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.dh-border { fill: none; stroke: rgb(35 33 30 / .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dh-tick { fill: none; stroke: var(--dh-ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.dh-circuit { fill: none; stroke: var(--dh-ink); stroke-width: 1.25; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.dh-line { fill: none; stroke: var(--dh-ink); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dh-pf { fill: var(--dh-ink); }
.dh-map g > * { transform: scale(calc(var(--mk, 1) / var(--mkz, 1))); }
.dh-mk, .dh-tick { transition: opacity .2s; }
.dh-moving .dh-mk, .dh-moving .dh-tick { opacity: 0; }
.dh-sock-pole { fill: none; stroke: var(--dh-ink); stroke-width: 1.6; }
.dh-sock-a { fill: var(--dh-chr); }
.dh-sock-b { fill: var(--dh-salt); stroke: var(--dh-ink); stroke-width: .8; }
.dh-mk {
  position: absolute; margin: 0; width: max-content; max-width: 12.5rem; padding: 3px 6px;
  font-size: .9375rem; line-height: 1.3; font-weight: 500;
  background: rgb(244 245 242 / .94);
}
.dh-mk-place { display: block; font-weight: 700; }
.dh-mk[data-side="r"] { text-align: right; }
.dh-mk[data-side="c"] { text-align: center; }
.dh-mk[data-h="r"] { translate: -100% 0; }
.dh-mk[data-v="b"] { translate: 0 -100%; }
.dh-mk[data-h="r"][data-v="b"] { translate: -100% -100%; }
.dh-mk[data-v="m"] { translate: 0 -50%; }
.dh-mk[data-h="r"][data-v="m"] { translate: -100% -50%; }
.dh-route-text { grid-column: 9 / -1; display: grid; gap: var(--dh-s5); align-content: center; }
.dh-towns { border: 0; padding: 0; margin: 8px 0 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.dh-towns legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; }
.dh-town { position: relative; display: flex; align-items: center; min-height: 44px; cursor: pointer; }
.dh-town input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dh-town span { font-size: 1.0625rem; font-weight: 450; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.dh-town:hover span { text-decoration-color: var(--dh-alu-dk); }
.dh-town input:checked + span { font-weight: 700; text-decoration-color: var(--dh-ink); }
.dh-town input:focus-visible + span { outline: 2px solid var(--dh-ink); outline-offset: 3px; }
.dh-route-say { font-weight: 560; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.35; font-variant-numeric: tabular-nums lining-nums; max-width: 36ch; }

/* ---- 08 what we don't do ---- */
.dh-dont { --pt: clamp(120px, 13vw, 192px); --pb: clamp(120px, 13vw, 192px); }
.dh-dont h2 { grid-column: 1 / span 6; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.dh-dont-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--dh-gap); margin-top: clamp(32px, 4vw, 56px); }
.dh-dont-big { grid-column: 1 / span 11; font-family: var(--dh-cond); font-weight: 800; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 6rem); line-height: .88; letter-spacing: -.015em; margin-top: clamp(48px, 6vw, 88px); text-wrap: balance; }
.dh-dont-big:first-child { margin-top: 0; }
.dh-dont-say { grid-column: 7 / span 5; margin-top: 18px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.45; }
.dh-dont-big:nth-child(4n+3) { grid-column: 2 / span 11; }

/* ---- 09 the enquiry, then the doors shut ---- */
.dh-talk { --pt: clamp(96px, 10vw, 144px); --pb: 0px; }
.dh-talk-head { grid-column: 3 / span 8; display: grid; gap: var(--dh-s5); }
.dh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px var(--dh-gap); grid-column: 3 / span 8; margin-top: 24px; }
.dh-field { display: grid; gap: 8px; font-weight: 600; font-size: 15px; align-content: start; }
.dh-field-wide, .dh-send { grid-column: 1 / -1; }
.dh-field input, .dh-field select, .dh-field textarea { font: 400 1rem/1.4 var(--dh-text); color: var(--dh-ink); background: var(--dh-salt); border: 1px solid var(--dh-alu-dk); border-radius: 2px; min-height: 48px; padding: 12px 14px; width: 100%; }
.dh-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2323211E' stroke-width='1.75'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.dh-field ::placeholder { color: #6d6a64; }
.dh-field textarea { resize: vertical; }
.dh-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--dh-ink); outline-offset: 2px; border-color: var(--dh-ink); }
.dh-send { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 6px; }
.dh-btn { font: 700 1rem/1 var(--dh-text); color: var(--dh-salt); background: var(--dh-ink); border: 0; border-radius: 0; min-height: 52px; padding: 0 30px; cursor: pointer; }
.dh-btn:hover { background: #3a3732; }
.dh-status { font-weight: 560; }
.dh-shut { position: relative; height: 60svh; min-height: 320px; margin-top: clamp(96px, 10vw, 144px); }
.dh-shut .dh-run { height: 100%; }

/* ---- widths ---- */
@media (max-width: 1100px) {
  .dh-rib-text { grid-column: 1 / span 5; }
  .dh-rib-draw { grid-column: 6 / -1; }
  .dh-route-text { grid-column: 8 / -1; }
  .dh-map { grid-column: 1 / span 7; }
  .dh-look-pic { height: 64svh; }
}
@media (max-width: 900px) {
  .dh-rib-text, .dh-rib-draw, .dh-floor-head, .dh-rotor-pic, .dh-rotor-text, .dh-map, .dh-route-text, .dh-talk-head, .dh-form { grid-column: 1 / -1; }
  .dh-rib-draw { margin-top: 24px; }
  .dh-row-name { grid-column: 1 / span 7; }
  .dh-row-say { grid-column: 8 / -1; padding-top: .2em; }
  .dh-disc { grid-column: 1 / -1; justify-self: start; text-align: left; margin-top: 0; }
  .dh-plw { grid-column: 1 / -1; }
  .dh-rotor-pic { max-width: 640px; }
  .dh-look-text { grid-column: 1 / -1; grid-row: 2; }
  .dh-look-pic { grid-column: 1 / -1; grid-row: 1; position: relative; top: 0; height: auto; min-height: 0; aspect-ratio: 3 / 2; margin-inline: calc(-1 * (var(--pad) + var(--sl))) calc(-1 * (var(--pad) + var(--sr))); margin-bottom: 24px; }
  .dh-flight-grid { grid-template-columns: minmax(0, 1fr); }
  .dh-flight-pic { grid-column: 1; grid-row: 2; width: min(300px, 62%); justify-self: end; }
  .dh-flight-text { grid-column: 1; grid-row: 1; }
  .dh-map { max-width: 640px; }
  /* the half-open leaf stands over the map only, never the words below it */
  .dh-run-route { height: calc(14px + var(--pt) + min(640px, 100vw - 2 * var(--pad)) * .93); }
  .dh-dont-say { grid-column: 3 / -1; }
}
@media (max-width: 700px) {
  .dh-floor-pic img { aspect-ratio: 390 / 220; object-position: 45% 55%; }
  .dh-row-name, .dh-row-say { grid-column: 1 / -1; }
  .dh-look-pic { aspect-ratio: 3 / 2; }
  .dh-look-pic img { object-position: 60% 50%; }
  .dh-flight-pic { width: min(240px, 64%); }
  .dh-route { --park: 16cqw; }
  .dh-map { --mk: 1.8; }
  .dh-mk { font-size: .8125rem; max-width: 8.75rem; padding: 2px 4px; line-height: 1.25; }
  .dh-form { grid-template-columns: 1fr; }
  .dh-dont-big, .dh-dont-big:nth-child(4n+3) { grid-column: 1 / -1; }
  .dh-dont-say { grid-column: 1 / -1; }
  .dh-yoke-rib { width: 200px; }
}
@media (max-width: 420px) {
  .dh-towns { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .dh-town span { font-size: 1rem; }
}
.dh-nowing .dh-poster { display: grid; }
.dh-nowing .dh-say, .dh-nowing .dh-hint, .dh-nowing .dh-yoke { display: none; }
.dh-map:not(.dh-placed) { overflow: clip; }
.dh-js .dh-map:not(.dh-placed) .dh-mk { visibility: hidden; }
@media (max-width: 700px) {
  .dh-page:not(.dh-js) .dh-mk { position: static; translate: none; width: auto; max-width: none; padding: 0; margin-top: 6px; background: none; font-size: .9375rem; }
  .dh-page:not(.dh-js) .dh-tick { display: none; }
}
