/* The Keep: teaser page.
   A white stamped key on black. The key links to Instagram. No wordmark (Richard, 2026-12-03). */

@font-face {
  font-family: "IM Fell English";
  font-style: italic;
  src: url("/fonts/im-fell-english-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Special Elite";
  src: url("/fonts/special-elite.woff2") format("woff2");
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --soft: #E8E4DC;
  --dim: #9A958C;
  --crimson: #8C1C34;

  --voice: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --facts: "Special Elite", "Courier New", monospace;
}

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

html,
body {
  margin: 0;
  background: var(--black);
  color: var(--soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wall {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.25rem);
  padding: clamp(2.5rem, 8vh, 6rem) 1.25rem;
  text-align: center;
}

/* The key: the one thing on the page, and the way to Instagram. */
.mark {
  display: block;
  width: clamp(9rem, 30vw, 15rem);
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.mark img {
  display: block;
  width: 100%;
  height: auto;
}

.mark:hover { opacity: 0.82; }

.label { max-width: 34rem; }

.line {
  margin: 0;
  font-weight: 400;
  font-family: var(--voice);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.35;
  color: var(--soft);
}

.place,
.follow {
  font-family: var(--facts);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dim);
}

.place { margin: 0; }
.follow { margin: 0.15rem 0 0; }

.follow a,
.lost a {
  color: var(--soft);
  text-decoration-line: underline;
  text-decoration-color: var(--crimson);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.follow a:hover,
.lost a:hover { text-decoration-color: var(--soft); }

a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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