/* ============================================================
   PAPER PEOPLE — pprppl.com
   Shared stylesheet. Tokens unchanged from the original build.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --text: #e0dbd3;
  --text-dim: #8a847c;
  --text-faint: #5a5550;
  --accent: #c4b5a0;
  --border: #2a2724;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Anybody', 'Helvetica Neue', sans-serif;
  --display: 'Martel Sans', 'Franklin Gothic Medium', sans-serif;
}

html { scroll-behavior: smooth; background: var(--bg); color: var(--text); }
body {
  font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.7;
  letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: rgba(196,181,160,0.25); color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 40px; display: flex; justify-content: space-between; align-items: center;
  mix-blend-mode: difference;
}
nav .logo {
  font-family: var(--display); font-weight: bold; font-size: 13px;
  letter-spacing: 0.25em; text-transform: uppercase; color: #fff; text-decoration: none;
}
nav .nav-links { display: flex; gap: 32px; list-style: none; }
nav .nav-links a {
  font-family: var(--sans); font-weight: 300; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff; text-decoration: none; transition: opacity 0.3s;
}
nav .nav-links a:hover { opacity: 0.5; }
nav .nav-links a.active { opacity: 0.45; }

/* ---------- release bar : the rollout signal ---------- */
.release-bar {
  position: relative; z-index: 90;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
}
.release-bar .rb-label {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
}
.release-bar .rb-text {
  font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--text);
}
.release-bar .rb-cta {
  font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; text-decoration: none;
  color: var(--bg); background: var(--text);
  padding: 9px 18px; transition: background 0.3s;
}
.release-bar .rb-cta:hover { background: var(--accent); }

/* ---------- generic section ---------- */
section { padding: 120px 40px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 48px;
}
.divider-text { display: flex; align-items: center; gap: 24px; padding: 0 40px; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider-text span {
  font-family: var(--sans); font-weight: 300; font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-faint); white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; transition: all 0.3s; border: 1px solid var(--text);
  background: var(--text); color: var(--bg);
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }

/* ---------- footer ---------- */
footer {
  padding: 60px 40px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.footer-left {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint); line-height: 2.2;
}
.footer-left a { color: var(--text-faint); text-decoration: none; transition: color 0.3s; }
.footer-left a:hover { color: var(--text); }
.footer-right { text-align: right; }
.footer-right a {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint); text-decoration: none;
}
.footer-right a:hover { color: var(--text); }
.footer-copyright {
  margin-top: 8px; font-family: var(--sans); font-size: 10px;
  color: var(--text-faint); letter-spacing: 0.1em;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- a11y ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ---------- film grain ---------- */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* ---------- responsive base ---------- */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav .nav-links { gap: 20px; }
  section { padding: 80px 24px; }
  .release-bar { padding: 14px 24px; gap: 12px; flex-direction: column; }
  .divider-text { padding: 0 24px; }
  footer { flex-direction: column; align-items: flex-start; gap: 32px; padding: 40px 24px; }
  .footer-right { text-align: left; }
}
