/* AdvisorReach public system — ARIN-first, 2026-09-01
   Night for focus, paper for prepared work, gold for the one action.
   Gold is never small body text. */
:root {
  --night: #171411;
  --night-soft: #211d19;
  --cream: #f4f1ea;
  --cream-dim: #b9b1a3;
  --paper: #f8f6f1;
  --paper-bright: #fffdf8;
  --ink: #1a1a1a;
  --ink-soft: #4a463f;
  --muted: #6b6b6b;
  --rule: #d8d2c4;
  --gold: #b78a2e;
  --gold-deep: #7a5d13;
  --gold-night: #d1a54a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Segoe UI", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --measure: 40rem;
  --focus: 2px solid var(--cream);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--gold-night);
  color: var(--night);
  font-family: var(--sans);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding-block: 0.85rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wordmark-name { color: var(--cream); }
.folio-index-mark { width: 2rem; height: 2rem; fill: none; stroke-width: 4; stroke-linecap: square; }
.folio-index-spine { stroke: var(--cream); }
.folio-index-index { stroke: var(--gold-night); }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.primary-nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
}
.primary-nav a[aria-current="page"] { color: var(--cream); }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  background: var(--gold-night);
  color: var(--night);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.cta:hover { background: #e0b85c; }
.cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cta-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 241, 234, 0.35);
}
.cta-ghost:hover { background: rgba(244, 241, 234, 0.06); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0 0;
}
.kicker {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-night);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  max-width: 18ch;
}
.lede {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: 1.2rem;
  line-height: 1.45;
}
.support {
  margin-top: 0.9rem;
  max-width: 32rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--cream-dim);
}
.hero-actions { margin-top: 1.6rem; }

.sample {
  background: var(--paper-bright);
  color: var(--ink);
  padding: 1.15rem 1.2rem 1.3rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.sample-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule);
}
.sample-mark {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.sample-who {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.sample h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.45rem;
}
.sample ol {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.sample ol li + li { margin-top: 0.45rem; }
.draft {
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  background: var(--paper);
  border: 1px dashed rgba(122, 93, 19, 0.45);
}
.draft p {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink);
}
.reply-line {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}
.reply-line p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.reply-line strong { font-weight: 700; }

.band {
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}
.band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 22ch;
  margin-bottom: 0.75rem;
}
.band p {
  max-width: var(--measure);
  color: var(--cream-dim);
  font-family: var(--sans);
}
.control-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.control-list h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.control-list p { font-size: 0.98rem; }

.close {
  padding-bottom: clamp(3rem, 7vh, 5rem);
}
.close h2 { max-width: 18ch; }
.close .cta { margin-top: 1.4rem; }

.site-footer {
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  padding: 1.5rem 0 2.4rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--cream-dim);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { text-decoration: underline; text-underline-offset: 0.18em; }

/* Interior reading surfaces stay night; copy sits in a paper column where needed */
.page {
  padding: clamp(2.2rem, 5vh, 3.5rem) 0 4rem;
  max-width: 42rem;
}
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.3rem 0 1rem; }
.page h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.page p + p { margin-top: 0.9rem; }
.page a { color: var(--gold-night); }
.team-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card h2 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.team-card p { font-family: var(--sans); color: var(--cream-dim); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .control-list { grid-template-columns: 1fr; }
  .hero h1 { max-width: 22ch; }
}
@media (max-width: 640px) {
  .nav-wrap { flex-wrap: wrap; }
  .primary-nav { order: 3; width: 100%; }
  .wrap { width: min(72rem, calc(100% - 1.5rem)); }
}
