@font-face {
  font-family: "Besley";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/besley.woff2") format("woff2");
}

:root {
  --black: #0c0a09;       /* slate */
  --brown: #4a2c16;       /* rules, the building's brown trim */
  --copper: #d08a43;      /* the light raking across the slate */
  --white: #f6efe8;
  --muted: #bfae9f;
  --charcoal: #34302d;    /* the logo's own colour */
}

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

html { -webkit-text-size-adjust: 100%; background: var(--black); }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 65% 34% at 0% 0%, rgb(178 96 28 / 0.8), transparent 70%),
    radial-gradient(ellipse 70% 36% at 100% 100%, rgb(168 88 24 / 0.75), transparent 70%),
    #171311;
  color: var(--white);
  font-family: "Besley", Rockwell, "Roboto Slab", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-align: center;
}
/* Slate grain, multiplied over the glow so the light catches the ridges */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/images/slate.svg") center / cover;
  mix-blend-mode: multiply;
  pointer-events: none;
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

main {
  flex: 1;
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 5rem) 1.25rem 3rem;
}

/* The badge: the one loud thing on the page */
.mark { margin: 0; }
.mark img {
  display: block;
  width: min(100%, 31rem);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0.6rem 0.9rem rgb(0 0 0 / 0.6));
  animation: stamp 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes stamp {
  from { opacity: 0; transform: scale(1.12) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}

.soon {
  margin: clamp(1.75rem, 5vh, 2.75rem) 0 0;
  color: var(--copper);
  font-size: clamp(2.25rem, 1.4rem + 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.lede {
  max-width: 30ch;
  margin: 0.75rem auto 0;
  font-size: clamp(1.375rem, 1rem + 1.8vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--white);
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
}
.button-solid { background: var(--copper); border-color: var(--copper); color: var(--black); }
.button-solid:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.button:not(.button-solid) { background: rgb(12 10 9 / 0.55); }
.button:not(.button-solid):hover { border-color: var(--copper); }

/* Hours, address, contact */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 7vh, 4rem);
  border-top: 2px solid var(--copper);
}
.details > section { padding: 1.5rem 1.25rem 0; }
.details > section + section { border-left: 1px solid var(--brown); }
.details h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.details p, .details address { margin: 0; font-style: normal; }
.details .closed { color: var(--muted); }

@media (max-width: 44rem) {
  .details { grid-template-columns: 1fr; }
  .details > section { padding: 1.5rem 0; }
  .details > section + section { border-left: 0; border-top: 1px solid var(--brown); }
  .details > section:last-child { padding-bottom: 0; }
  .button { flex: 1 1 100%; }
}

footer {
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .mark img { animation: none; }
}
