/* =========================================================
   PAGE BACKGROUND: the whole site printed on passport paper
   Base #F9F4ED + paper grain + guilloche + large rosettes.
   Uses the texture tokens defined in passport.css.
   ========================================================= */
:root { --page: #F9F4ED; }

html { overflow-x: clip; }
body {
  background-color: var(--page);
  background-image:
    var(--grain),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='48' fill='none' stroke='%23d9cbb3' stroke-width='.6' stroke-opacity='.55'><path d='M0 24 Q20 4 40 24 T80 24 T120 24 T160 24'/><path d='M0 24 Q20 44 40 24 T80 24 T120 24 T160 24'/><path d='M-20 24 Q0 10 20 24 T60 24 T100 24 T140 24 T180 24' stroke='%23c9d3dd'/></svg>");
  background-size: 180px 180px, 160px 48px;
  background-attachment: fixed;
}
/* big, very faint security rosettes behind everything */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  width: min(70vw, 820px); aspect-ratio: 1;
  background: var(--rosette) center/contain no-repeat; opacity: .28;
}
body::before { left: -18vw; top: -22vh; }
body::after  { right: -16vw; bottom: -30vh; }

/* header: cream glass on paper */
.site-header {
  background: color-mix(in srgb, var(--page) 78%, transparent);
  border-bottom: 1px solid rgba(110, 85, 55, .14);
  backdrop-filter: blur(8px);
}
.nav__links a:not(.wf-btn) { color: #6f6458; }
.nav__links a[aria-current="true"] { color: #1d1b19; border-bottom-color: #1d1b19; }
.hero__scroll { color: #6f6458; }
.hero__arrow  { color: #1d1b19; }
