:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #493e35;
  --muted: #70665b;
  --line: #dfd7ca;
  --sea: #316378;
  --mauve: #84626e;
  --sand: #dfcfb7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, #94765004 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, #94765003 0 1px, transparent 1px 5px);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.masthead, footer {
  margin: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead { padding: 28px 0; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-family: Georgia, serif; font-size: 30px; white-space: nowrap; }
.location { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
main {
  flex: 1;
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr);
  gap: 5vw;
  align-items: center;
  padding: 72px 0;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(45px, 4.7vw, 76px);
  letter-spacing: -.045em;
  line-height: 1.12;
  margin: 0 0 28px;
}
h1 em { color: var(--mauve); font-weight: 400; }
.description { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0 0 30px; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: var(--sea);
  color: var(--paper);
  padding: 16px 22px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  transition: background .2s;
}
.map-link:hover { background: #244e60; }
a:focus-visible { outline: 3px solid var(--mauve); outline-offset: 5px; }
.coming-soon { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.postcard {
  margin: 0;
  padding: 12px;
  background-color: var(--sand);
  background-image:
    repeating-linear-gradient(0deg, #fff9ec45 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, #89674618 0 1px, transparent 1px 4px);
  transform: rotate(1deg);
  box-shadow: 0 12px 32px #493e3512, 0 2px 6px #493e350c;
}
.picture { position: relative; overflow: hidden; }
.picture img { display: block; width: 100%; height: auto; }
.snooze {
  position: absolute;
  top: 22%;
  left: 66%;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 28px);
  color: var(--ink);
  animation: snooze 4s ease-in-out infinite;
}
figcaption {
  margin: 12px -12px -12px;
  padding: 18px 12px;
  background: var(--paper);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}
footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: 11px; color: var(--muted); justify-content: center; text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes snooze {
  0%, 100% { opacity: .2; transform: translateY(0); }
  50% { opacity: .8; transform: translateY(-10px); }
}
@media (max-width: 850px) {
  main { grid-template-columns: 1fr; gap: 40px; padding: 44px 0; max-width: 620px; }
  h1 { font-size: clamp(44px, 8vw, 66px); }
  .postcard { transform: rotate(1deg); }
  .location { font-size: 9px; text-align: right; max-width: 130px; line-height: 1.7; }
}
@media (max-width: 420px) {
  .masthead { gap: 12px; }
  .wordmark { font-size: 24px; }
  .location { max-width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .snooze { animation: none; opacity: .6; }
  .map-link { transition: none; }
}
