/* Fonts, served from this site (SIL Open Font License, see fonts/OFL-*.txt).
   Figtree 400-500 (variable), Instrument Serif regular and italic. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --dim: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.36);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  color-scheme: dark;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

body {
  background: var(--bg);
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

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

:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--bg);
  color: var(--fg);
}

.skip:focus {
  width: auto;
  height: auto;
  padding: 0.55rem 0.8rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}

#content:focus {
  outline: none;
}

.page {
  display: flex;
  flex-direction: column;
  width: min(1240px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(1.35rem, 5vw, 4rem);
}

main {
  flex: 1;
}

.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2.75rem, 7vh, 4.5rem) 0;
  text-align: center;
}

.hero-mark {
  display: block;
  width: clamp(192px, 29.6vw, 310px);
  margin: 0 0 clamp(1.35rem, 2.8vh, 2rem);
  height: auto;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(min(3.15rem, 14vw), 7.8vw, 6.85rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.couplet {
  margin: clamp(1.65rem, 3.4vh, 2.25rem) 0 0;
  color: var(--fg);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.05vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.letter {
  width: min(36rem, 100%);
  margin: 0 auto;
  padding-top: clamp(4.5rem, 12vh, 7.5rem);
  scroll-margin-top: 2.5rem;
}

h2 {
  margin: 0 0 2.15rem;
  color: var(--fg);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

label {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

input,
textarea {
  display: block;
  width: 100%;
  margin: 0.45rem 0 1.55rem;
  padding: 0.55rem 0 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 1.05rem;
  caret-color: var(--fg);
}

input:focus,
textarea:focus {
  border-bottom-color: var(--fg);
  box-shadow: inset 0 -1px 0 var(--fg);
}

input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--fg);
  caret-color: var(--fg);
  box-shadow: inset 0 0 0 1000px var(--bg);
  transition: background-color 9999s ease-out;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.send {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-top: 0.35rem;
}

button,
.back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.15rem 0 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover,
.back:hover {
  color: var(--dim);
  border-bottom-color: var(--dim);
}

.form-status {
  min-height: 1.3em;
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.form-status[data-kind="error"] {
  color: var(--fg);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: min(36rem, 100%);
  margin: clamp(4.25rem, 11vh, 6.5rem) auto 0;
  padding: 1.2rem 0 clamp(1.5rem, 3vh, 2.1rem);
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.colophon p {
  margin: 0;
}

.colophon nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.colophon a:hover {
  color: var(--fg);
}

.colophon .copyright {
  flex-basis: 100%;
  font-size: 12px;
}

@media (max-width: 720px) {
  .hero-mark {
    width: min(214px, 54.6vw);
  }

  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .colophon {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
  }

  .colophon nav {
    justify-content: center;
  }

  .colophon .copyright {
    flex-basis: auto;
  }
}

.column {
  width: min(40rem, 100%);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.15rem 0 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

.back:hover {
  color: var(--dim);
  border-bottom-color: var(--dim);
}

.lost {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 3rem 0;
  text-align: center;
}

.lost h1 {
  max-width: 9em;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.privacy-note {
  margin: 1.25rem 0 0;
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.5;
}

.privacy-note a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.brand {
  width: min(36rem, 100%);
  margin: 0 auto;
  padding-top: clamp(1.75rem, 5vh, 2.75rem);
}

.brand a {
  display: inline-block;
}

.brand img {
  display: block;
  width: 88px;
  height: auto;
}

.sheet {
  width: min(36rem, 100%);
  margin: 0 auto;
  padding-top: clamp(2.75rem, 8vh, 4.5rem);
}

.sheet h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.sheet p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.sheet a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
