/* Page-wide basics: type, buttons, reveal-on-scroll. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.sealed { overflow: hidden; height: 100svh; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }

.script { font-family: var(--f-script); font-weight: 400; line-height: 1.1; }
.kicker {
  font-family: var(--f-caps);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.title {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(48px, 13vw, 64px);
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.sub { font-style: italic; color: var(--muted); margin: 6px 0 0; font-size: 19px; }

/* Thin gold rule with a small sprig in the middle */
.sprig-rule {
  width: 180px; height: 22px; margin: 18px auto;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22'%3E%3Cg fill='%23b8892e'%3E%3Cpath d='M8 11h44' stroke='%23b8892e' stroke-width='.8'/%3E%3Cellipse cx='30' cy='11' rx='2.2' ry='4.6'/%3E%3Cellipse cx='25' cy='8' rx='1.5' ry='3.6' transform='rotate(-50 25 8)'/%3E%3Cellipse cx='35' cy='8' rx='1.5' ry='3.6' transform='rotate(50 35 8)'/%3E%3Cellipse cx='25' cy='14' rx='1.5' ry='3.6' transform='rotate(50 25 14)'/%3E%3Cellipse cx='35' cy='14' rx='1.5' ry='3.6' transform='rotate(-50 35 14)'/%3E%3C/g%3E%3C/svg%3E") center / 60px 22px no-repeat,
    linear-gradient(90deg, transparent, var(--gold) 30%, transparent 46%, transparent 54%, var(--gold) 70%, transparent) center / 100% 1px no-repeat;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 1px solid var(--ink-soft); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-family: var(--f-caps); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper-2); }
.btn.solid { background: var(--ink); color: var(--paper-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Sections fade up as they scroll into view (js/reveal.js adds .in) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
