/* site.css — the shared "chrome" of the PUBLIC marketing site (the pages served
   from ngdata/sites/elysium/: privacy, terms, policies, faq, checklist, work,
   index, pay). One source of truth for the fixed nav bar, the mobile menu, the
   footer, the back-to-top button and the marketing body treatment.

   Why this exists separately from components.css: the admin console's shared
   components (components.css) were tuned for the console and carry different
   values (panel tone, footer sizing, mobile-menu structure). The marketing site
   has its own coherent chrome — reused across all 8 public pages via the SSI
   partials (partials/header.html, partials/footer.html) for markup — so its
   styling lives here, once, with the marketing values (NOT the admin ones).

   Depends on tokens.css (palette/type) and base.css (reset/container/focus).
   Reveal/section motion comes from animations.css. Page-specific layout (hero,
   legal prose, cards, gallery, booking form) lives in each page's own <page>.css.
   Cascade per page: tokens.css -> base.css -> site.css -> animations.css -> <page>.css. */

/* The marketing surface panel is a warmer tone than the admin console's --panel
   token (#16140f). Re-tint it here, scoped to the marketing layer, so every
   marketing page can use var(--panel) and get #1a1815; the console (which never
   loads site.css) keeps the tokens.css default. This is the one token the
   marketing layer deliberately overrides. */
:root{--panel:#1a1815}

/* ---------- marketing body treatment ---------- */
/* base.css already sets background/colour/font-family/flex column; the marketing
   surface adds a lighter weight, prose line-height, smoothing and the two fixed
   decorative layers (a warm radial wash + a faint noise grain) that sit behind
   the content. .wrap raises the content above those z-index:0 layers. */
body{font-weight:300;line-height:1.6;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(120% 80% at 80% -10%, rgba(201,165,88,.10), transparent 55%),radial-gradient(90% 60% at 0% 100%, rgba(201,165,88,.05), transparent 50%);}
body::after{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
.wrap{position:relative;z-index:1}

/* ---------- shared hero label (the gold eyebrow with side rules) ---------- */
/* Identical across the content pages (legal, faq, checklist). Pages that need a
   different eyebrow (e.g. index) redefine it in their own CSS, which loads after. */
.eyebrow{display:inline-flex;align-items:center;gap:12px;color:var(--gold);font-size:.74rem;letter-spacing:.34em;text-transform:uppercase;margin-bottom:24px}
.eyebrow::before,.eyebrow::after{content:"";width:30px;height:1px;background:var(--gold)}

/* ---------- fixed nav bar (markup: partials/header.html) ---------- */
nav{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;justify-content:space-between;
    padding:20px 28px;backdrop-filter:blur(10px);background:rgba(15,14,12,.8);border-bottom:1px solid var(--line-soft)}
nav.scrolled{border-bottom:1px solid var(--line-soft);background:rgba(15,14,12,.8)}
.brand{font-family:var(--serif);font-weight:500;letter-spacing:.18em;font-size:1.2rem;text-transform:uppercase}
.brand span{color:var(--gold)}
.nav-links{display:flex;gap:34px;align-items:center}
.nav-links a{color:var(--ink-soft);text-decoration:none;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;transition:color .25s}
.nav-links a:hover{color:var(--ink)}
.nav-cta{border:1px solid var(--gold);color:var(--gold)!important;padding:9px 20px;border-radius:2px;transition:all .25s}
.nav-cta:hover{background:var(--gold);color:var(--bg)!important}
@media(max-width:760px){.nav-links .hide-sm{display:none}}

/* ---------- mobile menu (markup: partials/header.html; behaviour: site.js) ---------- */
.burger{display:none;flex-direction:column;justify-content:center;align-items:center;
  gap:6px;width:48px;height:48px;background:none;border:none;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
.burger span{display:block;width:26px;height:2px;background:var(--ink);border-radius:1px}
.mob-menu{position:fixed;inset:0;z-index:200;background:var(--bg);display:flex;flex-direction:column;
  opacity:0;pointer-events:none;transition:opacity .18s ease}
.mob-menu.open{opacity:1;pointer-events:auto}
body.menu-open{overflow:hidden}
.mob-topbar{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:18px 22px}
.mob-close{width:56px;height:56px;display:flex;align-items:center;justify-content:center;
  background:none;border:none;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent}
.mob-close::before,.mob-close::after{content:'';position:absolute;width:28px;height:2px;
  background:var(--ink-soft);border-radius:1px;transition:background .2s}
.mob-close::before{transform:rotate(45deg)}
.mob-close::after{transform:rotate(-45deg)}
.mob-close:hover::before,.mob-close:hover::after,
.mob-close:active::before,.mob-close:active::after{background:var(--gold)}
.mob-body{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:4px 28px 48px}
.mob-primary{list-style:none;margin-bottom:28px}
.mob-primary li a{display:block;font-family:var(--serif);font-weight:300;font-size:clamp(1.85rem,8vw,3rem);
  color:var(--ink);text-decoration:none;padding:11px 0;line-height:1.1;border-bottom:1px solid var(--line-soft);transition:color .2s}
.mob-primary li:first-child a{border-top:1px solid var(--line-soft)}
.mob-primary li a:hover,.mob-primary li a:active{color:var(--gold)}
.mob-cta{display:inline-block;margin:22px 0 30px;border:1px solid var(--gold);color:var(--gold);
  padding:14px 30px;border-radius:2px;font-size:.87rem;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;transition:all .22s}
.mob-cta:hover,.mob-cta:active{background:var(--gold);color:var(--bg)}
.mob-cta-row{display:flex;gap:14px;margin:22px 0 30px}
.mob-cta-row .mob-cta{margin:0;flex:1 1 0;text-align:center}
.mob-divider{height:1px;background:var(--line-soft);margin-bottom:20px}
.mob-secondary{list-style:none;margin-bottom:24px}
.mob-secondary li a{display:block;color:var(--ink-dim);font-size:.82rem;
  letter-spacing:.07em;text-transform:uppercase;text-decoration:none;padding:7px 0;transition:color .2s}
.mob-secondary li a:hover,.mob-secondary li a:active{color:var(--ink-soft)}
.mob-socials{display:flex;gap:12px;margin-bottom:18px}
.mob-socials a{width:48px;height:48px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;color:var(--ink-soft);text-decoration:none;transition:border-color .25s,color .25s}
.mob-socials a svg{width:20px;height:20px;fill:currentColor}
.mob-socials a:hover,.mob-socials a:active{border-color:var(--gold);color:var(--gold)}
.mob-hours{font-size:.84rem;color:var(--ink-dim);letter-spacing:.04em;margin-bottom:10px}
.mob-phone{display:inline-block;color:var(--ink-soft);font-size:.92rem;text-decoration:none;transition:color .2s}
.mob-phone:hover,.mob-phone:active{color:var(--gold)}
@media(max-width:760px){.burger{display:flex}.nav-links{display:none}}
@media(min-width:761px){.mob-menu{display:none!important}}
@media(max-width:760px){
  .mob-topbar{padding:10px 22px}
  .mob-close{width:44px;height:44px}
  .mob-body{padding:2px 28px 28px}
  .mob-primary{margin-bottom:18px}
  .mob-primary li a{font-size:1.6rem;padding:7px 0}
  .mob-cta{margin:12px 0 18px;padding:12px 28px}
  .mob-cta-row{margin:12px 0 18px}
  .mob-divider{margin-bottom:14px}
  .mob-secondary{margin-bottom:14px}
  .mob-socials{margin-bottom:12px}
  .mob-hours{margin-bottom:6px}
}

/* ---------- footer (markup: partials/footer.html) ---------- */
footer{padding:70px 0 50px;border-top:1px solid var(--line-soft)}
.foot-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:30px;align-items:flex-end}
.foot-brand{font-family:var(--serif);font-size:1.7rem;font-weight:400;letter-spacing:.1em}
.foot-brand span{color:var(--gold)}
.foot-licensed{font-size:.68rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(201,165,88,.45);margin-top:7px}
.foot-contact{text-align:right;font-size:.9rem;color:var(--ink-soft);line-height:1.9}
.foot-contact a{color:var(--ink);text-decoration:none}
.foot-link{color:inherit;text-decoration:none;transition:color .25s}
.foot-link:hover{color:var(--ink-soft)}
.foot-bottom{margin-top:50px;padding-top:24px;border-top:1px solid var(--line-soft);font-size:.78rem;
  color:var(--ink-dim);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
@media(min-width:821px){.foot-bottom{font-size:.84rem}.foot-link{margin:0 3px}}
@media(max-width:600px){.foot-contact{text-align:left}}
.socials{display:flex;gap:14px;margin-top:18px}
.socials a{width:42px;height:42px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;color:var(--ink-soft);transition:all .3s}
.socials a:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}
.socials svg{width:19px;height:19px;fill:currentColor}

/* ---------- back-to-top ---------- */
.to-top{position:fixed;right:24px;bottom:18px;z-index:80;
  width:48px;height:48px;border-radius:50%;cursor:pointer;
  background:var(--panel);border:1px solid var(--line);
  color:var(--gold);display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.4);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .3s,transform .3s,visibility .3s,background .3s,border-color .3s}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{background:var(--gold);color:var(--bg);border-color:var(--gold)}
.to-top svg{width:24px;height:24px;fill:currentColor}
@media(max-width:600px){.to-top{right:18px;bottom:18px;width:44px;height:44px}}
