@font-face {
  font-family: "Realistic Nature";
  src: url("assets/fonts/realistic-nature.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #f5efe4;
  --ink: #20261d;
  --shadow: rgba(8, 12, 7, 0.62);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

body { font-family: Georgia, "Times New Roman", serif; }

.landing {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.photo-marquee,
.photo-track,
.photo-set { height: 100%; }

.photo-marquee {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #909c84;
}

.photo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: drift-left 210s linear infinite;
}

.photo-set {
  display: flex;
  flex: none;
}

.photo-set img {
  display: block;
  width: auto;
  height: 100%;
  flex: none;
  object-fit: cover;
  background: #d8d2c7;
  border-right: 2px solid rgba(245, 239, 228, 0.38);
}

.shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 14, 9, 0.28) 0%, transparent 28%, transparent 66%, rgba(10, 14, 9, 0.42) 100%),
    radial-gradient(circle at center, rgba(20, 27, 18, 0.08) 0%, rgba(8, 11, 7, 0.34) 100%);
}

.title-lockup {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(92vw, 980px);
  color: var(--paper);
  text-align: center;
  text-shadow: 0 3px 22px var(--shadow), 0 1px 2px rgba(0, 0, 0, 0.65);
  transform: translate(-50%, -51%);
  pointer-events: none;
}

.title-lockup h1 {
  margin: 0;
  font-family: "Realistic Nature", "Brush Script MT", cursive;
  font-size: clamp(4.6rem, 13vw, 11rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.005em;
}

.kicker,
.names {
  margin: 0;
  font-size: clamp(0.7rem, 1.1vw, 0.88rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.kicker { margin-bottom: clamp(1.3rem, 3vw, 2.3rem); }
.names { margin-top: clamp(1.7rem, 4vw, 2.8rem); }

.archive-link {
  position: fixed;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(245, 239, 228, 0.58);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(15, 20, 13, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 7px var(--shadow);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.archive-link:hover,
.archive-link:focus-visible {
  border-color: var(--paper);
  background: rgba(15, 20, 13, 0.66);
  transform: translateY(-2px);
}

.archive-link:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

@keyframes drift-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
  .title-lockup { transform: translate(-50%, -53%); }

  .title-lockup h1 {
    font-size: clamp(4rem, 23vw, 7rem);
    line-height: 0.92;
  }

  .archive-link {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-track {
    animation: none;
    transform: translateX(-8%);
  }
}
