/* Privacy (owner note 64): "Nothing leaves the camp". Oasis Camp by day; the promise in the sky; a scroll on the rug
   unrolls into the full policy. */
:root { --ink: #23303f; --ink-2: #3f4d5c; --gold: #FFC867; --sand: #f3e2bf; --parch: #f4e7c8; --parch-2: #ead7ac; --pen: #2b2116; --pen-2: #5a4632; --red: #9e3b22; }
body.privacy { margin: 0; color: var(--ink); background: #e9c99a; }

.bar { position: absolute; z-index: 20; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(18px, 3vw, 48px); }
.bar .wordmark { font-family: var(--pixel); font-size: 18px; letter-spacing: .08em; color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgba(30, 50, 80, .55); }
.bar-links { display: flex; align-items: center; gap: 22px; }
.bar .back { font-family: var(--tiny); font-size: 12px; letter-spacing: .06em; color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgba(30, 50, 80, .6); }
.bar .get, .cta { font-family: var(--tiny); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: #1F1915;
  background: var(--gold); padding: 9px 13px; border-radius: 8px; white-space: nowrap; border: 0; cursor: pointer; box-shadow: 0 2px 0 rgba(120, 80, 20, .35); }
a:focus-visible, button:focus-visible { outline: 2px solid #1F1915; outline-offset: 3px; }

.camp { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.view { position: absolute; inset: 0; overflow: hidden; }
.world { position: absolute; inset: 0; }
.shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 52% at 74% 30%, rgba(236, 244, 252, .62), rgba(236, 244, 252, 0) 100%), linear-gradient(to bottom, rgba(40, 70, 110, .28), rgba(40, 70, 110, 0) 14%); }
.fx { position: absolute; image-rendering: pixelated; image-rendering: crisp-edges; pointer-events: none; }

/* The promise, in the clear sky on the right */
.promise { position: absolute; z-index: 5; right: clamp(18px, 5vw, 96px); top: clamp(86px, 13vh, 140px); width: min(470px, 38vw); }
.kicker { margin: 0 0 6px; font-family: var(--tiny); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
h1 { margin: 0 0 6px; font-family: var(--pixel); font-weight: 500; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.02; color: #1d2a3a; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.sub { margin: 0 0 16px; font-family: var(--tiny); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.35; color: #1d2a3a; }
.points svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* the scroll's hit area on the rug */
.spots { position: absolute; inset: 0; pointer-events: none; }
.spot { position: absolute; pointer-events: auto; border: 0; padding: 0; background: none; cursor: pointer; }
.spot .tag { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; opacity: 0; pointer-events: none;
  font-family: var(--tiny); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--pen); background: var(--parch); padding: 4px 7px 3px;
  box-shadow: 0 0 0 2px var(--pen), 0 6px 16px rgba(0, 0, 0, .3); transition: opacity .2s, transform .25s var(--ease); }
.spot:hover .tag, .spot:focus-visible .tag { opacity: 1; transform: translate(-50%, 0); }
.fine { position: absolute; z-index: 5; right: clamp(18px, 3vw, 48px); bottom: 10px; margin: 0; font-size: 11px; color: #5b4630; }
.draft { opacity: .85; }

/* The full policy: a parchment scroll between two rods; it unrolls from the top */
.scroll-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 12px; background: rgba(60, 40, 20, .45); opacity: 0; transition: opacity .3s; }
.scroll-wrap.on { opacity: 1; }
.scroll-wrap[hidden] { display: none; }
.scroll { position: relative; width: min(760px, 100%); max-height: calc(100svh - 24px); display: flex; flex-direction: column; }
.rod { flex: 0 0 auto; height: 18px; margin: 0 -14px; border-radius: 9px; background: linear-gradient(#a87445, #7a4f2a 55%, #5c3a1e); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 220, 170, .35); position: relative; z-index: 2; }
.rod::before, .rod::after { content: ""; position: absolute; top: -3px; width: 14px; height: 24px; border-radius: 7px; background: radial-gradient(circle at 40% 35%, #e6b86a, #9b6a2c); }
.rod::before { left: -6px; } .rod::after { right: -6px; }
.sheet { flex: 1 1 auto; overflow: auto; padding: 22px clamp(18px, 4vw, 44px) 18px; color: var(--pen);
  background:
    linear-gradient(90deg, rgba(120, 80, 30, .16), rgba(120, 80, 30, 0) 6%, rgba(120, 80, 30, 0) 94%, rgba(120, 80, 30, .16)),
    radial-gradient(120% 70% at 50% 0%, rgba(255, 250, 235, .55), rgba(255, 250, 235, 0) 60%),
    linear-gradient(var(--parch), var(--parch-2));
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.3, .8, .25, 1); }
.scroll-wrap.on .sheet { clip-path: inset(0 0 0 0); }
.fold { position: absolute; z-index: 3; top: 26px; right: 14px; border: 0; background: none; cursor: pointer; color: var(--pen-2); font-family: var(--tiny); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.sheet header { text-align: center; border-bottom: 1px solid rgba(43, 33, 22, .3); padding-bottom: 12px; margin-bottom: 12px; }
.sheet h2#ph { margin: 2px 0 4px; font-family: var(--pixel); font-weight: 500; font-size: 30px; }
.sheet .eff { margin: 0 0 10px; font-size: 13px; font-style: italic; color: var(--pen-2); }
.sheet .short { margin: 0 auto 12px; max-width: 34em; padding: 10px 14px; font-size: 15px; line-height: 1.5; background: rgba(255, 252, 240, .45); box-shadow: inset 0 0 0 1px rgba(43, 33, 22, .2); text-align: left; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-family: var(--tiny); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.toc a, .policy a { color: var(--red); text-underline-offset: 3px; }
.policy { font-size: 15.5px; line-height: 1.6; }
.policy h2 { margin: 22px 0 6px; font-family: var(--pixel); font-weight: 500; font-size: 22px; color: var(--pen); scroll-margin-top: 12px; }
.policy h3 { margin: 14px 0 4px; font-family: var(--tiny); font-weight: 400; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--red); scroll-margin-top: 12px; }
.policy p, .policy ul { margin: 0 0 10px; }
.policy code { font-size: .88em; background: rgba(255, 252, 240, .6); padding: 1px 4px; }
.end { text-align: center; color: var(--red); margin: 14px 0 0; }

@media (max-width: 900px) {
  .bar .back .lbl { display: none; }
  .camp { height: auto; min-height: 0; overflow: visible; }
  .view { position: relative; inset: auto; height: 62vw; }
  .shade { background: linear-gradient(to bottom, rgba(40, 70, 110, .3), rgba(40, 70, 110, 0) 30%); }
  .fx, .spots { display: none; }
  .promise { position: static; width: auto; padding: 18px 18px 0; }
  .points { grid-template-columns: 1fr; }
  .fine { position: static; padding: 14px 18px 26px; }
  .rod { margin: 0 -4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
