/* Holding page. Same palette and type as the full site, one screen, no script. */

@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/literata.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("/assets/fonts/atkinson-next.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #f3f0e8;
  --ink: #1d2620;
  --ink-2: #3f4b43;
  --ink-3: #5c685f;
  --moss: #35533d;
  --clay: #9a4a2b;
  --rule: #d5d3c7;
  --leaf: rgb(34 54 38 / 0.14);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111713;
    --ink: #ece9df;
    --ink-2: #c4c9be;
    --ink-3: #9aa497;
    --moss: #a9c69d;
    --clay: #e7a07b;
    --rule: #2b342d;
    --leaf: rgb(255 238 205 / 0.05);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Literata", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.canopy {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.canopy div {
  position: absolute;
  inset: -4% -6% 0 -8%;
  background: var(--leaf);
  -webkit-mask: url("/assets/img/leaves-near.webp") 0 0 / cover no-repeat;
  mask: url("/assets/img/leaves-near.webp") 0 0 / cover no-repeat;
  transform-origin: 18% 0;
  animation: sway 13s ease-in-out infinite alternate;
}

@keyframes sway {
  45% { transform: translate3d(11px, 5px, 0) rotate(0.55deg); }
  100% { transform: translate3d(-9px, 9px, 0) rotate(-0.5deg); }
}

main {
  position: relative;
  width: min(100% - 2.5rem, 44rem);
  margin: 0 auto;
  padding-block: 6rem 4rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  font-family: "Atkinson Next", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(3rem, 11vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.message {
  max-width: 34ch;
  text-wrap: pretty;
  margin: 0 0 2.5rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.contact {
  margin: 0 0 2rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-style: italic;
  overflow-wrap: break-word;
}

.ahpra {
  margin: 0 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
}

.help {
  margin: 0;
  font-family: "Atkinson Next", system-ui, sans-serif;
  font-size: 0.92rem;
  color: var(--ink-3);
}

a {
  color: var(--moss);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--clay);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .canopy div {
    animation: none;
  }
}
