@font-face {
  font-family: Fraunces;
  src: url(/fonts/fraunces.woff2) format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html:has(.panel) { scroll-snap-type: y mandatory; }

body {
  margin: 0;
  background: #f3efe6;
  color: #1c1915;
  font-family: system-ui, sans-serif;
}

.panel {
  position: relative;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero img { object-position: center 62%; }
.files img { object-position: center 58%; }
.calls img { object-position: 42% center; }
.screen img { object-position: 62% center; }

.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 14, 0) 28%, rgba(22, 18, 14, .78) 100%);
}

.copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 4.5rem;
  bottom: 0;
  padding: 0 7vw 11vh;
  max-width: 46rem;
  color: #f6f1e8;
}

.kicker {
  margin: 0 0 .8rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.03em;
}

.lead {
  max-width: 28rem;
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(246, 241, 232, .86);
}

.paper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #f3efe6;
}

.paper img { object-position: center 42%; }

.paper .copy {
  position: relative;
  z-index: 1;
  color: #f6f1e8;
  padding-bottom: 1.4rem;
}

.paper .lead { color: rgba(246, 241, 232, .86); }
.paper .site-foot a:not(.btn) { color: rgba(246, 241, 232, .86); }

.site-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.35rem;
  padding: 0 7vw 2.2rem;
  font-size: .85rem;
}

.site-foot a { color: #5c5348; text-underline-offset: .18em; }

.login-pin {
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
  font-size: .85rem;
  color: #f6f1e8;
  background: #8d4332;
  padding: .7rem 1rem;
  text-decoration: none;
}

a.btn, button {
  font: inherit;
  font-size: .85rem;
  color: #f6f1e8;
  background: #8d4332;
  border: 0;
  padding: .6rem .95rem;
  text-decoration: none;
  cursor: pointer;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.top { padding: 1.5rem 7vw 0; }
.top a { color: #1c1915; text-decoration: none; }

.sheet {
  width: min(40rem, 100%);
  padding: 7vh 7vw 3rem;
}

.sheet h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
.sheet h2 { font-size: 1.3rem; margin: 2rem 0 .45rem; letter-spacing: 0; }
.sheet p, .sheet li { line-height: 1.55; color: #3a342c; }
.sheet .lead { color: #5c5348; }

.page .site-foot { margin-top: auto; }

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 24rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  width: 100%;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

input, textarea {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c8bfb2;
  border-radius: 0;
  padding: .65rem 0;
}

textarea { min-height: 7rem; resize: vertical; border: 1px solid #c8bfb2; padding: .7rem; }
.error { margin: 0; color: #8d4332; }

.dots {
  position: fixed;
  z-index: 2;
  top: 50%;
  right: 1.35rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.dots a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 239, 230, .35);
  box-shadow: 0 0 0 1px rgba(28, 25, 21, .55);
}

.dots a.on {
  background: #8d4332;
  box-shadow: 0 0 0 1px #8d4332;
}

.miss {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 2rem 7vw;
}

.miss h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.miss .lead { color: #5c5348; }
.miss a:not(.btn) { color: #8d4332; }

@media (max-width: 720px) {
  h1, h2 { font-size: clamp(2.35rem, 11vw, 5.6rem); }
  .copy { right: 0; padding: 0 1.4rem 4.6rem; }
  .paper .copy { padding: 0 1.4rem 1rem; }
  .site-foot { padding: 0 1.4rem 3.4rem; }
  .dots {
    top: auto;
    right: 0;
    bottom: 1.15rem;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
