/* ParkSyde — shared styles for every "clearing" page. One home for the look,
   so a clearing's HTML is just its content. Generated pages link this file. */
:root{
  --gold:#E4A93C; --gold-soft:#F0C876; --forest:#63B58C; --ember:#E8734E; --paper:#EDE7DA;
  --serif:"Bitter",Georgia,serif; --sans:"IBM Plex Sans",system-ui,sans-serif; --mono:"IBM Plex Mono",monospace;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#0a1614;color:var(--paper);font-family:var(--sans);overflow-x:hidden}
body{overflow-y:auto}
a{color:inherit}
/* the dawn, behind everything (also the fallback sky) */
#sky{position:fixed;inset:0;z-index:0;
  background:
    radial-gradient(58% 44% at 68% 74%, rgba(228,169,60,.28), rgba(228,169,60,0) 60%),
    radial-gradient(40% 30% at 70% 80%, rgba(216,72,43,.13), transparent 60%),
    linear-gradient(#0F1D1B 0%, #12211F 40%, #14221F 70%, #1B3128 100%)}
/* width/height are load-bearing: the renderer sizes the canvas BUFFER by the
   device pixel ratio and leaves the CSS box alone, so without these a retina
   screen (dpr 2+) lays the canvas out at its intrinsic buffer size and the
   scene renders oversized and cropped to the top-left corner. */
#scene{position:fixed;inset:0;width:100%;height:100%;z-index:1;display:block}
/* The hub dropped its CRT scanlines — they read as a 1990s hologram effect
   rather than a place. Only the vignette remains here, kept slightly heavier
   and pulled left of centre so the clearing's panel stays readable. */
#holo{position:fixed;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(120% 100% at 60% 40%, transparent 55%, rgba(0,0,0,.5) 100%);
  mix-blend-mode:soft-light;opacity:.5}
/* static fallback clearing (WebGL/motion off) */
#still{position:fixed;left:0;right:0;bottom:0;z-index:1;height:52vh;display:none}
#still svg{width:100%;height:100%}

/* the holographic scan — a faint band of light that rises through the scene on
   a loop (the classic hologram tell). Above the world, below the content. */
#holoscan{position:fixed;left:0;right:0;height:34vh;z-index:3;pointer-events:none;
  background:linear-gradient(to top, transparent, rgba(237,231,218,.012) 46%, rgba(237,231,218,.032) 50%, rgba(237,231,218,.012) 54%, transparent);
  mix-blend-mode:screen;transform:translateY(120vh);animation:holoScan 15s linear infinite}
@keyframes holoScan{0%{transform:translateY(120vh)}100%{transform:translateY(-150vh)}}
@media (prefers-reduced-motion:reduce){#holoscan{display:none}}

.wm{position:fixed;top:22px;left:24px;z-index:6;font-family:var(--serif);font-weight:500;font-size:1.3rem;letter-spacing:-.01em;
  color:var(--paper);text-shadow:0 2px 20px rgba(0,0,0,.5);text-decoration:none}
.wm .em{color:var(--ember)}

/* the content of the clearing — layered over the 3D world, readable */
.clearing{position:relative;z-index:5;min-height:100vh;display:flex;align-items:center;
  padding:clamp(72px,9vh,120px) 24px clamp(52px,8vh,90px)}
.panel{max-width:min(560px,92vw);min-width:0;
  background:linear-gradient(rgba(8,20,20,.62), rgba(8,20,20,.52));
  border:1px solid rgba(228,169,60,.22);border-radius:22px;backdrop-filter:blur(7px);
  padding:clamp(22px,3.4vw,38px);box-shadow:0 30px 80px rgba(0,0,0,.4)}
.eyebrow{font-family:var(--mono);font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:var(--gold-soft);margin:0 0 12px}
.panel h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.1rem,5.2vw,3.2rem);line-height:1.04;letter-spacing:-.02em;margin:0}
.lede{font-family:var(--serif);font-weight:500;font-size:clamp(1.12rem,2.3vw,1.44rem);color:var(--gold-soft);margin:7px 0 0;text-wrap:balance}
.body{font-size:1rem;line-height:1.58;color:rgba(237,231,218,.9);margin:15px 0 0}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;list-style:none;padding:0}
.chips li{font-family:var(--mono);font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;
  padding:6px 12px;border-radius:999px;border:1px solid rgba(228,169,60,.34);color:var(--gold-soft);background:rgba(228,169,60,.06)}
.cta{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0}
.btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--sans);font-weight:600;font-size:.98rem;
  padding:13px 24px;border-radius:999px;cursor:pointer;border:1px solid transparent;text-decoration:none;color:inherit;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease}
.btn-gold{background:var(--gold);color:#1c1403;box-shadow:0 10px 30px rgba(228,169,60,.22)}
.btn-gold:hover{transform:translateY(-2px);background:var(--gold-soft)}
.btn-ghost{background:rgba(255,255,255,.05);border-color:rgba(237,231,218,.28)}
.btn-ghost:hover{transform:translateY(-2px);border-color:var(--paper)}
[data-park-contact]{margin-top:2px}
[data-park-contact] a{color:var(--gold-soft);text-decoration:none;border-bottom:1px solid rgba(228,169,60,.3)}

/* the quiet crisis note — a mental-health space keeps this in view */
.urgent{margin:18px 0 0;padding-top:15px;border-top:1px solid rgba(237,231,218,.14)}
.urgent p{margin:0 0 8px;font-size:.86rem;color:rgba(237,231,218,.66)}
.urgent [data-park-crisis-links]{display:flex;flex-wrap:wrap;gap:8px 16px}
.urgent a{font-family:var(--mono);font-size:.78rem;color:var(--gold-soft);text-decoration:none;border-bottom:1px solid rgba(228,169,60,.3)}

.backline{position:fixed;left:0;right:0;bottom:14px;z-index:6;text-align:center;
  font-family:var(--mono);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(237,231,218,.5)}
.backline a{color:var(--gold-soft);text-decoration:none}
.wren-note{position:fixed;right:22px;bottom:52px;z-index:6;max-width:230px;text-align:right;
  font-family:var(--mono);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(237,231,218,.42);
  text-shadow:0 2px 10px rgba(0,0,0,.7)}

/* arrival bloom — the door opening into the clearing (fades away on load) */
#enter-flash{position:fixed;inset:0;z-index:20;pointer-events:none;opacity:1;
  background:radial-gradient(60% 60% at 62% 46%, var(--gold-soft), var(--gold) 40%, #1c1403 100%);
  transition:opacity 1s ease}
#enter-flash.clear{opacity:0}

@media (max-width:720px){
  /* On a phone, let the clearing breathe: the content spreads down the page and
     you scroll through it — like walking further into the park to find more.
     The panel becomes a soft field rather than a boxed card, so the scene shows
     through, with a text-shadow keeping everything readable over the dawn. */
  .clearing{display:block;padding:104px 20px 132px;align-items:stretch}
  .panel{max-width:100%;width:auto;padding:2px 2px 0;
    background:none;border:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .panel .eyebrow,.panel h1,.panel .lede,.panel .body{
    text-shadow:0 2px 20px rgba(4,12,10,.9), 0 1px 5px rgba(4,12,10,.8)}
  .eyebrow{margin:0 0 22px;letter-spacing:.34em}
  .panel h1{font-size:clamp(2.8rem,13.5vw,4rem);line-height:1.0}
  .lede{font-size:clamp(1.4rem,6.2vw,1.85rem);margin:18px 0 0}
  .body{font-size:1.1rem;line-height:1.78;margin:32px 0 0}
  .chips{margin:34px 0 0;gap:11px}
  /* the panel is boxless here, so the chips carry their own dark backing —
     without it they'd sit unreadable over the bright dawn behind them */
  .chips li{font-size:.72rem;padding:9px 15px;background:rgba(8,20,20,.62);
    border-color:rgba(228,169,60,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
  .cta{margin:38px 0 4px;flex-direction:column;align-items:stretch;gap:13px}
  .btn{width:100%;justify-content:center;padding:17px 24px;font-size:1.05rem}
  .urgent{margin:38px 0 0}
  /* content now fills past the fold, so let the "back" line flow at the very
     end of the scroll instead of floating fixed over the clearing */
  .backline{position:static;margin:46px 0 6px;padding:0 20px;text-align:left}
  .wren-note{display:none}
  #sky{background:
    radial-gradient(70% 40% at 50% 26%, rgba(228,169,60,.42), rgba(228,169,60,0) 60%),
    linear-gradient(#08191c 0%, #0b201f 42%, #123027 72%, #1c3a2c 100%)}
}
@media (prefers-reduced-motion:reduce){
  #enter-flash{display:none}
}
