/*
  Colour-style door. Grey field. System face so the houses match.

  Face
  - Colour's system stack (SF / Inter / system-ui)
  - Not a small corner serif — Colour 38px centered door

  Color (Colour International blood, not Stanford, not cream paper)
  - Maroon #7E2433  hover #5C1926
  - Ink    #1B1C1D
  - Greys  #5F6265 / #84878A / #A9ACAE
  - Field  #E5E6E7
*/

:root {
  --field: #E5E6E7;
  --ink: #1B1C1D;
  --maroon: #7E2433;
  --maroon-hover: #5C1926;
  --grey: #5F6265;
  --muted: #84878A;
  --quiet: #A9ACAE;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, system-ui, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  font-synthesis: none;
}

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 26px 40px;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.empty {
  width: 44px;
  height: 58px;
  border-radius: 9px;
  margin: 0 0 26px;
}

.empty img {
  display: block;
  width: 44px;
  height: 58px;
}

h1,
.tombstone {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

h1 .gloss {
  color: #84878A;
  font-weight: 450;
}

.colon {
  color: var(--maroon);
  font-weight: 600;
}

.line {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.5;
  color: #5F6265;
  letter-spacing: -0.012em;
}

.houses {
  margin-top: 34px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: start;
  gap: 24px;
}

.house {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  cursor: pointer;
}

.house img {
  display: block;
  width: 44px;
  height: 58px;
}

.house .plate {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.house .house-line {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 400;
  color: #5F6265;
  line-height: 1.4;
}

.house:hover .plate {
  color: #5C1926;
}

.house.retired .plate {
  font-weight: 400;
  color: #84878A;
}

.house.retired:hover .plate {
  color: #5F6265;
}

.house:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

.summary {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
  color: #5F6265;
  letter-spacing: -0.012em;
}

.links {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}

.links a {
  text-decoration: none;
  font-size: 17px;
  color: var(--maroon);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.links a:hover {
  color: var(--maroon-hover);
}

.links a:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 520px) {
  h1,
  .tombstone {
    font-size: 31px;
  }

  .line {
    font-size: 17.5px;
  }

  .houses {
    gap: 16px;
  }

  .house img {
    width: 36px;
    height: 48px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }
}
