/* Lulu & Song
   Palette comes from the design's `palette` prop: [paper, ink].
   Light is the default option (#F7EEE2 / #2F2520); dark uses the design's
   inverted option (#2F2520 / #EDE4D6). */

:root {
  --paper: #F7EEE2;
  --ink: #2F2520;
  --link: oklch(0.42 0.032 145);
  --selection: oklch(0.88 0.03 62);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #2F2520;
    --ink: #EDE4D6;
    --link: oklch(0.8 0.045 145);
    --selection: oklch(0.38 0.03 62);
  }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

::selection {
  background: var(--selection);
}

/* Layout ------------------------------------------------------------------ */

.page {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 3.4vw, 54px);
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Header ------------------------------------------------------------------ */

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.wordmark {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.discipline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Statement --------------------------------------------------------------- */

.statement {
  display: flex;
  align-items: center;
  padding: clamp(48px, 9vh, 120px) 0;
}

.statement h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 5.1vw, 5.1rem);
  line-height: 1.07;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 17ch;
  text-wrap: pretty;
}

/* Footer ------------------------------------------------------------------ */

.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in oklab, currentColor 18%, transparent);
  padding-top: 18px;
}

.facts {
  display: flex;
  flex: 1 1 180px;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  opacity: 0.62;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
  min-width: max-content;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  white-space: nowrap;
}

.contact a {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  letter-spacing: 0;
}
