/* ==========================================================================
   Beacon OS - site.css
   ========================================================================== */

:root {
  --ink:        #111a26;
  --ink-2:      #18232f;
  --ink-3:      #1f2b39;
  --paper:      #f7f4ee;
  --paper-2:    #efeae0;
  --line:       #ded6c8;
  --text:       #26313d;
  --text-soft:  #5a6775;
  --cream:      #f3ece0;
  --cream-soft: #cdd5de;
  --gold:       #c9ab63;
  --maxw:       1080px;
  --measure:    62ch;
  --radius:     4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img, svg { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 50;
}
.skip:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------- header */

.site-head {
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 171, 99, 0.24);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark { display: inline-flex; }

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.head-tag {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

/* ----------------------------------------------------------------- hero */

.hero {
  background:
    radial-gradient(760px 420px at 50% -6%, rgba(201, 171, 99, 0.20), rgba(201, 171, 99, 0) 68%),
    linear-gradient(180deg, #0e1620 0%, #16212e 62%, #1a2634 100%);
  color: var(--cream);
  text-align: center;
  padding: 104px 0 108px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 168px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(201,171,99,0), rgba(201,171,99,0.7), rgba(201,171,99,0));
}

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 26px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  color: #fbf8f2;
  margin: 0 0 24px;
}

.hero-sub {
  max-width: 46ch;
  margin: 0 auto 34px;
  font-size: 1.08rem;
  color: var(--cream-soft);
}

.hero-cta { margin: 0 0 16px; }

.hero-fine {
  font-size: 0.82rem;
  color: rgba(205, 213, 222, 0.72);
  margin: 0;
}

/* --------------------------------------------------------------- button */

.btn {
  display: inline-block;
  background: var(--cream);
  color: #14202c;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 17px 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #fffdf8;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- bands */

.band { padding: 92px 0; }

.band-paper     { background: var(--paper); }
.band-paper-alt { background: var(--paper-2); }

.band-ink {
  background: var(--ink-2);
  color: var(--cream);
}

.band-ink .section-title { color: #fbf8f2; }
.band-ink .lead-copy     { color: var(--cream-soft); }

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9a7f3f;
  margin: 0 0 14px;
}

.band-ink .section-eyebrow { color: var(--gold); }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  margin: 0 0 18px;
  max-width: 22ch;
}

.band-ink .section-title,
.close .close-title { max-width: none; }

.section-lead {
  max-width: var(--measure);
  color: var(--text-soft);
  margin: 0 0 48px;
}

.lead-copy {
  font-size: 1.05rem;
  max-width: var(--measure);
}

/* ---------------------------------------------------------------- cards */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

.card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 32px;
  box-shadow: 0 1px 2px rgba(38, 49, 61, 0.04);
}

.card-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.22rem;
  margin: 0 0 12px;
}

.card p {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------------------------------------------------------------- facts */

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 40px;
  max-width: 900px;
}

.facts li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.facts strong {
  color: var(--text);
  font-weight: 600;
}

/* ----------------------------------------------------------------- note */

.note {
  margin: 0 0 26px;
  padding: 0 0 0 26px;
  border-left: 2px solid var(--gold);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.72;
  color: #333f4c;
  max-width: var(--measure);
}

.sig {
  margin: 0;
  padding-left: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.sig span {
  display: inline-block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- close */

.close { padding: 96px 0 104px; }

.close-title {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  color: #fbf8f2;
  margin: 0 0 34px;
}

/* --------------------------------------------------------------- footer */

.site-foot {
  background: var(--ink);
  color: var(--cream-soft);
  padding: 52px 0 58px;
  border-top: 1px solid rgba(201, 171, 99, 0.24);
}

.foot-inner { text-align: center; }

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.foot-brand .brand-name { font-size: 1rem; }

.foot-note {
  max-width: 62ch;
  margin: 0 auto 22px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(205, 213, 222, 0.82);
}

.foot-legal {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(205, 213, 222, 0.55);
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 76px 0 84px; }
  .band { padding: 68px 0; }
  .close { padding: 72px 0 78px; }
  .head-tag { display: none; }
  .card { padding: 28px 24px; }
  .btn {
    display: block;
    white-space: normal;
    padding: 17px 24px;
  }
  .note { padding-left: 20px; }
  .sig { padding-left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 0.2s ease;
}

.site-head.is-stuck { box-shadow: 0 6px 20px rgba(10, 16, 24, 0.28); }
