:root {
  color-scheme: light;
  --ink: #30221a;
  --street-height: max(190px, 22.265625vw);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #fff; font-family: system-ui, -apple-system, sans-serif; }
.home {
  position: relative;
  display: flex;
  flex-direction: column;
  min-block-size: 100svh;
}
.wordmark {
  position: absolute;
  inset: 4.9svh auto auto 5%;
  margin: 0;
  font: bold clamp(27px, 3.2vw, 56px) Georgia, serif;
  letter-spacing: -.055em;
}
.hero {
  text-align: center;
  padding: clamp(108px, calc((100svh - var(--street-height)) * .315), 256px) 5% clamp(42px, 6vw, 112px);
}
h1 {
  margin: 0;
  font: bold clamp(45px, 6.4vw, 106px)/.99 Georgia, serif;
  letter-spacing: -.06em;
}
h1 span { display: block; }
.hero p {
  margin: clamp(22px, 2.6vw, 42px) auto clamp(18px, 2.15vw, 32px);
  font-size: clamp(17px, 1.65vw, 25px);
  line-height: 1.4;
  text-wrap: pretty;
}
.contact {
  color: inherit;
  display: inline-block;
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 600;
  text-underline-offset: .23em;
}
.contact:hover { text-decoration-thickness: 2px; }
.contact:focus-visible, .door:focus-visible { outline: 2px solid #3d657a; outline-offset: 3px; }
.street {
  position: relative;
  isolation: isolate;
  margin-block-start: auto;
  inline-size: 100%;
  block-size: var(--street-height);
  overflow: hidden;
}
.street canvas, .poster, .doors {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
}
.poster {
  pointer-events: none;
  object-fit: cover;
  object-position: center;
}
.door {
  position: absolute;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  cursor: default;
  touch-action: manipulation;
}
@media (max-width: 820px) {
  .wordmark { inset-block-start: 26px; }
}
@media (max-width: 650px) {
  .wordmark { font-size: 29px; inset-inline-start: 6%; }
  .hero { padding: clamp(110px, 16svh, 158px) 6% 44px; }
  h1 { font-size: clamp(37px, 8.9vw, 58px); line-height: 1.01; text-wrap: balance; }
  h1 span { display: inline; }
  .hero p { max-inline-size: 33ch; margin-block: 22px 21px; }
}
