/* Anonymous Believer — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root{
  --dust: #EFEBE3;      /* parchment background */
  --dust-2: #E4DFD3;    /* slightly deeper panel background */
  --ink: #2A241E;       /* primary text, warm near-black */
  --ink-soft: #55483C;  /* secondary text */
  --clay: #A67B5A;      /* primary accent */
  --clay-deep: #8C6448; /* hover/active accent */
  --sage: #6E7259;      /* Vault theme accent */
  --gold: #B7935B;      /* dividers, small highlights */
  --mist: #D9D2C7;      /* borders */
  --line: rgba(42,36,30,0.14);

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', -apple-system, sans-serif;

  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--dust);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }

/* ---------- Pause-mark signature ---------- */
.mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:1em; height:1em; position:relative;
}
.mark svg{ width:100%; height:100%; }

.divider{
  display:flex; align-items:center; justify-content:center;
  gap:14px; margin:0; padding:56px 0 40px;
  color:var(--ink-soft);
}
.divider .mark{ width:22px; height:22px; }
.divider::before,.divider::after{
  content:""; flex:1; max-width:120px; height:1px; background:var(--line);
}

/* ---------- Header ---------- */
header.site{
  position:sticky; top:0; z-index:40;
  background:rgba(239,235,227,0.88);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
header.site .bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px; max-width:var(--max); margin:0 auto;
}
.brand{ display:flex; align-items:center; text-decoration:none; color:var(--ink); }
.brand img.wordmark{ height:38px; width:auto; display:block; }
@media (max-width:520px){ .brand img.wordmark{ height:30px; } }

nav.primary{ display:flex; gap:28px; }
nav.primary a{
  text-decoration:none; color:var(--ink-soft); font-size:0.85rem;
  letter-spacing:0.08em; text-transform:uppercase; font-weight:500;
  transition:color .2s ease;
}
nav.primary a:hover, nav.primary a.active{ color:var(--ink); }

.nav-toggle{ display:none; }

@media (max-width:720px){
  nav.primary{
    position:fixed; inset:64px 0 0 0; background:var(--dust);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:20px 28px; transform:translateY(-8px);
    opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
  }
  nav.primary.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  nav.primary a{ padding:14px 0; width:100%; border-bottom:1px solid var(--line); }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px; background:none; border:none;
    cursor:pointer; padding:6px;
  }
  .nav-toggle span{ width:22px; height:2px; background:var(--ink); }
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  font-family:var(--body); font-size:0.78rem; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--ink-soft); font-weight:600;
}
h1,h2,h3{ font-family:var(--display); font-weight:600; margin:0 0 0.4em; color:var(--ink); }
h1{ font-size:clamp(2.4rem, 5vw, 3.6rem); line-height:1.08; }
h2{ font-size:clamp(1.8rem, 3.4vw, 2.4rem); line-height:1.15; }
h3{ font-size:1.35rem; }
p{ margin:0 0 1em; color:var(--ink-soft); }
.lede{ font-size:1.15rem; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-weight:600; font-size:0.9rem;
  letter-spacing:0.03em; text-decoration:none;
  padding:14px 26px; border-radius:2px; border:1px solid var(--ink);
  color:var(--dust); background:var(--ink);
  transition:transform .18s ease, background .18s ease;
}
.btn:hover{ background:var(--clay-deep); border-color:var(--clay-deep); transform:translateY(-1px); }
.btn.ghost{ background:transparent; color:var(--ink); }
.btn.ghost:hover{ background:var(--ink); color:var(--dust); }

.btn.clay{ background:var(--clay); border-color:var(--clay); color:#FBF7F0; }
.btn.clay:hover{ background:var(--clay-deep); border-color:var(--clay-deep); }

/* ---------- Sections ---------- */
section{ padding:88px 0; }
.section-tight{ padding:56px 0; }

/* ---------- Footer ---------- */
footer.site{
  border-top:1px solid var(--line);
  padding:48px 0 32px;
  text-align:center;
}
footer.site .foot-mark{ width:20px; height:20px; margin:0 auto 14px; }
footer.site .powered{
  font-family:var(--display); font-style:italic; font-size:1.05rem; color:var(--ink-soft);
  margin-bottom:22px;
}
footer.site .foot-links{
  display:flex; gap:22px; justify-content:center; flex-wrap:wrap;
  font-size:0.82rem; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:18px;
}
footer.site .foot-links a{ text-decoration:none; }
footer.site .foot-links a:hover{ color:var(--ink); }
footer.site small{ color:var(--ink-soft); opacity:0.7; font-size:0.75rem; }

/* ---------- Suggestion box (footer-level) ---------- */
.suggestion-strip{
  background:var(--dust-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:26px 0;
}
.suggestion-strip .row{
  display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; text-align:center;
}
.suggestion-strip a{ text-decoration:underline; text-underline-offset:3px; font-weight:600; }

/* ---------- Utility ---------- */
.center{ text-align:center; }
.muted{ color:var(--ink-soft); }
.small{ font-size:0.85rem; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

:focus-visible{ outline:2px solid var(--clay); outline-offset:2px; }

/* ---------- Shared inner-page header (Exchange, Vault, About) ---------- */
.page-head{
  position:relative; overflow:hidden;
  height:360px;
  padding-top:118px;
  text-align:center;
}
.page-head::before{
  content:""; position:absolute; inset:0;
  background:url('../assets/hooded-figure.png') center 22%/cover no-repeat;
  opacity:0.16; filter:grayscale(15%);
}
.page-head .wrap{ position:relative; z-index:1; }
