/* Eight Bells Studio — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --navy-deep: #08111f;
  --navy: #0c1c30;
  --navy-soft: #11253c;
  --gold: #c9a227;
  --gold-bright: #e0bd45;
  --ink: #eaf0f7;
  --muted: #9bb0c6;
  --line: rgba(201, 162, 39, 0.22);
  --line-soft: rgba(155, 176, 198, 0.14);
  --maxw: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Public Sans', system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201,162,39,0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(17,37,60,0.9), transparent 70%),
    var(--navy-deep);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* faint grain/texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0 22px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
}
.brand .name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand .name span { color: var(--gold); }
.brand .sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
nav.site { margin-top: 18px; display: flex; gap: 26px; flex-wrap: wrap; }
nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.site a:hover, nav.site a.active { color: var(--gold-bright); border-color: var(--gold); }

/* Hero (landing) */
.hero { padding: 90px 0 70px; text-align: center; }
.hero .shield { margin: 0 auto 30px; width: 86px; height: 86px; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--gold); }
.hero .tag {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero .lede { margin: 28px auto 0; max-width: 560px; color: var(--ink); opacity: 0.92; }
.cta-row { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 2px;
  transition: transform .15s, background .2s, color .2s;
}
.btn.gold { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.btn.gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* Document pages */
.doc { padding: 56px 0 40px; }
.doc .eyebrow {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.doc h1 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.1; letter-spacing: -0.01em;
}
.doc .updated { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
.doc .rule { height: 1px; background: var(--line); margin: 36px 0; }
.doc h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.3rem; margin: 38px 0 12px; color: var(--ink);
}
.doc h2 .num { color: var(--gold); font-size: 0.95rem; margin-right: 10px; }
.doc p, .doc li { color: #d4deea; font-size: 1rem; }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--gold-bright); }
.doc strong { color: var(--ink); font-weight: 600; }

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(201,162,39,0.06);
  padding: 18px 20px;
  border-radius: 2px;
  margin: 22px 0;
}
.callout strong { color: var(--gold-bright); }

/* Support cards */
.cards { display: grid; gap: 16px; margin-top: 26px; }
.card {
  border: 1px solid var(--line-soft); border-radius: 4px;
  padding: 22px 24px; background: rgba(17,37,60,0.4);
}
.card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.mail {
  display: inline-block; margin-top: 10px; font-size: 1.05rem;
  color: var(--gold-bright); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mail:hover { color: var(--gold); }

/* Footer */
footer.site {
  border-top: 1px solid var(--line-soft);
  margin-top: 64px; padding: 30px 0 50px;
  text-align: center;
}
footer.site .ver { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }
footer.site .disc {
  color: #6f88a2; font-size: 0.76rem; margin-top: 8px; max-width: 520px;
  margin-left: auto; margin-right: auto; line-height: 1.5;
}
footer.site .flinks { margin-top: 16px; display: flex; gap: 20px; justify-content: center; }
footer.site .flinks a { color: var(--muted); font-size: 0.78rem; text-decoration: none; letter-spacing: 0.06em; }
footer.site .flinks a:hover { color: var(--gold); }
