@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f5f5;
  --ink: #30312f;
  --muted: #676964;
}
* { box-sizing: border-box; }
html {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--paper);
}
body {
  position: fixed;
  inset: 0;
  width: 100%;
  margin: 0;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  overflow: clip;
  overscroll-behavior: none;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 90px;
  padding-top: 32px;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  min-height: 0;
  display: grid;
  grid-template-rows: 96px minmax(0, 1fr);
}
.identity {
  align-self: center;
  text-align: center;
  padding: 0 20px;
}
h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-size: clamp(48px, 5.8vw, 80px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.025em;
  word-spacing: .02em;
  white-space: nowrap;
  font-kerning: normal;
  font-synthesis: none;
}
.wordmark-garden {
  font-style: italic;
  letter-spacing: -.035em;
}
.garden {
  margin: 0;
  min-height: 0;
  min-width: 0;
  position: relative;
  container-type: size;
  overflow: hidden;
  overflow: clip;
}
.garden img {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100cqh, 140cqw);
  height: auto;
  max-width: none;
  /* The artwork's pale margins dissolve into the paper, without a visible card. */
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
              linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
  mask-composite: intersect;
}
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px 20px;
  color: var(--muted);
}
footer p { margin: 0; }
.moon-line {
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
}
.cultivated-line {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .055em;
}
@media (max-width: 700px) and (orientation: portrait) {
  body { grid-template-rows: minmax(0, 1fr) 86px; padding-top: 24px; }
  main { grid-template-rows: 88px minmax(0, 1fr); }
  h1 { font-size: clamp(43px, 12.5vw, 64px); }
  footer { padding-bottom: 18px; }
  .moon-line { font-size: 20px; }
}
@media (max-height: 600px) and (orientation: portrait) {
  body { grid-template-rows: minmax(0, 1fr) 74px; padding-top: 18px; }
  main { grid-template-rows: 72px minmax(0, 1fr); }
  footer { gap: 6px; padding-bottom: 12px; }
}
@media (max-height: 550px) and (orientation: landscape) {
  body { grid-template-rows: minmax(0, 1fr) 56px; padding-top: 12px; }
  main { grid-template-rows: 48px minmax(0, 1fr); }
  h1 { font-size: 40px; }
  footer { gap: 3px; padding-bottom: 8px; }
  .moon-line { font-size: 18px; }
  .cultivated-line { font-size: 9px; }
}
