:root {
  --paper: #FCFCFB;
  --ink: #000000;
  --ink-soft: #5A5A57;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #000000;
    --ink: #F2F2EE;
    --ink-soft: #9A9A96;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.mark, .note {
  position: fixed;
  left: clamp(20px, 4vw, 56px);
}

.mark {
  top: clamp(18px, 3.5vh, 44px);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mark a {
  color: inherit;
  text-decoration: none;
}

.note {
  bottom: clamp(20px, 5vh, 56px);
}

.note p { margin: 0; }

.line {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 0.55em !important;
  max-width: 10.5em;
}

.contact {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.4;
}

.contact a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--ink-soft);
}

.contact a:hover { text-decoration-color: var(--ink); }

a:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
}

.place {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.4;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.25em !important;
}
