/* ==========================================================================
   Ardent Gold — shared global stylesheet
   Direction A: Custody / Trust Company
   --------------------------------------------------------------------------
   Single source of truth for theme, layout, and components across all pages.
   The page is built as full-width horizontal BANDS; inner content sits in a
   centered container. Adjust the tokens below to retheme the whole site.
   ========================================================================== */

/* --- Theme tokens --------------------------------------------------------- */
:root {
  /* Color & surfaces — separation by tone, not just by line */
  --ink: #14181d;          /* near-black slate — primary text */
  --slate: #1f2933;        /* deep slate — dark feature bands / footer */
  --paper: #f7f5f0;        /* warm off-white — base page background */
  --surface-tint: #efebe3; /* deeper warm greige — alternating bands */
  --surface-card: #fcfbf8; /* near-white — cards that lift off paper/tint */
  --greige: var(--surface-tint); /* legacy alias */
  --line: #d9d4ca;         /* hairline rule / borders */
  --bronze: #8a6d3b;       /* muted antique bronze — ACCENT ONLY, used sparingly */
  --muted: #5a636e;        /* secondary text */

  /* Type */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Scale / rhythm */
  --measure: 1180px;   /* max content width */
  --gutter: 40px;      /* horizontal page padding (desktop) */
  --section-y: 112px;  /* vertical band padding (desktop) */
  --text-measure: 620px; /* readable line length for body copy (~68ch) */

  /* Radius — softened, never pill-rounded */
  --radius-card: 10px;
  --radius-control: 8px;
  --radius-sm: 6px;

  /* Shadows — quiet, ink-tinted (never blue, never glowy) */
  --shadow-sm: 0 1px 2px rgba(20, 24, 29, 0.04), 0 1px 1px rgba(20, 24, 29, 0.03);
  --shadow-card: 0 18px 40px -24px rgba(20, 24, 29, 0.18);
  --shadow-card-hover: 0 24px 48px -22px rgba(20, 24, 29, 0.24);

  /* Focus ring — bronze-tinted, for accessibility + polish */
  --focus-ring: 0 0 0 3px rgba(138, 109, 59, 0.18);
}

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* --- Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Full-width horizontal band (section) */
.band {
  padding-block: var(--section-y);
}

.band--greige,
.band--tint {
  background-color: var(--surface-tint);
}

.band--slate {
  background-color: var(--slate);
  color: var(--paper);
}

/* Hairline used where two same-tone bands meet */
.band--top-rule {
  border-top: 1px solid var(--line);
}

/* --- Card (lifts off paper/tint with a quiet shadow) ---------------------- */
.card {
  background-color: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(20, 24, 29, 0.16);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Bronze accent + label for a highlighted card (e.g. the client's arrangement) */
.card--accent {
  border-top: 2px solid var(--bronze);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.75rem;
}

/* Emphasized fee range + the party that charges it (Fees page cards) */
.fee-range {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--bronze);
  margin-top: 0.35rem;
}

.fee-by {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.45rem 0 1rem;
}

/* --- Founder two-column block (About) ----------------------------------- */
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Left-aligned, overriding the centered-section default */
.band:not(.hero) > .container.founder {
  text-align: left;
}

.founder__media {
  max-width: 22rem;
}

.founder__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* --- Contact details card (Contact page) -------------------------------- */
.contact-card {
  max-width: 34rem;
  margin: 2.5rem auto 0;
  padding: 2.5rem 2.25rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.contact-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.85rem;
}

.contact-card__email {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.15s ease;
  word-break: break-word;
}

.contact-card__email:hover {
  border-bottom-color: var(--bronze);
}

.contact-card__rows {
  margin: 2.25rem 0 0;
  text-align: left;
}

.contact-detail {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-detail__value {
  margin: 0;
  color: var(--ink);
}

/* Eyebrow / small uppercase label above a heading */
.eyebrow,
.section-heading {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 1.5rem;
}

/* Section heading (H2) */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* 28 → 40 */
  line-height: 1.15;
  max-width: 24ch;
}

/* Readable body block — never runs the full container width */
.lead-text {
  margin-top: 1.5rem;
  max-width: var(--text-measure);
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.band--slate .lead-text {
  color: rgba(247, 245, 240, 0.8);
}

/* Quiet text link with arrow — understated, no button styling */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.link-arrow:hover {
  border-bottom-color: var(--bronze);
}

.band--slate .link-arrow {
  color: var(--paper);
}

/* Generic feature block (used in multi-column rows) */
.feature__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.375rem; /* 22px */
  color: inherit;
  margin: 0 0 0.6rem;
}

.feature__body {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.band--slate .feature__body {
  color: rgba(247, 245, 240, 0.78);
}

/* A calm balancing / qualifying line beneath a section */
.balance {
  margin-top: 2.5rem;
  max-width: var(--text-measure);
  color: var(--muted);
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* Visible, consistent focus treatment */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  /* Transparent outline keeps focus visible in forced-colors mode */
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* --- Wordmark ------------------------------------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.wordmark__text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}

.wordmark--light {
  color: var(--paper);
}

/* --- Header (sticky) ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

/* Subtle lift once the page is scrolled (toggled by main.js) */
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.site-nav a:hover {
  border-bottom-color: var(--bronze);
}

/* Current page in the nav — persistent bronze underline */
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--bronze);
}

/* Mobile menu toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   Home page bands
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero .container {
  width: 100%;
}

/* Hero composition: text block + restrained fact panel */
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  max-width: 40rem;
}

/* Quiet bordered panel on the hero's right — balances the composition */
.hero-panel {
  background-color: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 2.25rem 2rem;
}

.hero-panel__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.5rem;
}

.hero-panel__item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
}

.hero-panel__item:first-of-type {
  border-top: 0;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.25rem); /* 40 → 68 */
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero__rule {
  width: 100%;
  max-width: var(--text-measure);
  height: 0;
  border: 0;
  border-top: 1px solid var(--bronze);
  margin: 2.5rem 0 1.5rem;
}

.hero__statement {
  max-width: var(--text-measure);
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.4;
  color: var(--ink);
}

/* --- Two-column editorial block ------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.two-col__lead {
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.two-col__cont {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* --- Three-column row ----------------------------------------------------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.three-col > * {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

/* --- Four-step process row ------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.steps > li {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* Compact, left-aligned variant — a clear numbered sequence, not full-width */
.steps--compact {
  grid-template-columns: repeat(3, 1fr);
  max-width: 48rem;
}

/* Bronze serif numeral inside a step card (How It Works) */
.step-card__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--bronze);
  margin-bottom: 0.85rem;
}

.step__num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--bronze);
}

.step__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1875rem;
  margin: 0.85rem 0 0.5rem;
}

.step__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* --- Who-it's-for grid (2x2 on desktop) ----------------------------------- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-top: 2.5rem;
}

/* --- Custody feature (within slate band) ---------------------------------- */
.custody__title {
  max-width: 22ch;
}

/* ==========================================================================
   Custody flow diagram (home custody band + How It Works page)
   ========================================================================== */
.flowmap {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-top: 3rem;
}

.flowmap__node {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  max-width: 9rem;
}

.flowmap__dot {
  width: 9px;
  height: 9px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  background: var(--paper);
}

.flowmap__label {
  font-size: 0.8rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.flowmap__line {
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 1px;
  margin-top: 4px;
  background: var(--line);
}

/* Light variant for use on the dark slate band */
.flowmap--light .flowmap__dot {
  background: var(--slate);
}
.flowmap--light .flowmap__label {
  color: rgba(247, 245, 240, 0.8);
}
.flowmap--light .flowmap__line {
  background: rgba(247, 245, 240, 0.25);
}

/* --- Interior hero (shorter than the home hero) --------------------------- */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
}

.page-hero .container {
  width: 100%;
}

/* --- Large vertical step sequence (How It Works) -------------------------- */
.flow-steps {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.flow-steps__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.75rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.flow-steps__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem); /* ~40px */
  line-height: 1;
  color: var(--bronze);
}

.flow-steps__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.375rem;
  margin: 0 0 0.6rem;
}

.flow-steps__body {
  color: var(--muted);
  max-width: var(--text-measure);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* --- Detailed custody flow (nodes carry a sub-note) ----------------------- */
.flowmap--detailed {
  margin-top: 3.5rem;
  /* Sit as a contained, left-aligned group rather than stretching edge to edge */
  max-width: 46rem;
}

.flowmap--detailed .flowmap__node {
  max-width: 12rem;
  gap: 1rem;
}

.flowmap__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.flowmap--detailed .flowmap__label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.flowmap__note {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

/* Dot sits on the greige band tone where used */
.band--greige .flowmap__dot {
  background: var(--greige);
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background-color: var(--slate);
  color: var(--paper);
  padding-block: var(--section-y) 2.5rem;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(247, 245, 240, 0.12);
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  max-width: 32rem;
}

.site-footer__nav a {
  text-decoration: none;
  color: rgba(247, 245, 240, 0.7);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.site-footer__nav a:hover {
  color: var(--paper);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
}

.site-footer__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer__secondary a {
  text-decoration: none;
  color: rgba(247, 245, 240, 0.55);
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.site-footer__secondary a:hover {
  color: var(--paper);
}

.site-footer__legal {
  color: rgba(247, 245, 240, 0.5);
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 75ch;
}

/* ==========================================================================
   Interior page components (How It Works, Storage, Fees, Contact, About, FAQ)
   ========================================================================== */

/* --- Page header (interior pages) ----------------------------------------- */
.page-head {
  padding-block: calc(var(--section-y) - 24px) calc(var(--section-y) - 32px);
  border-bottom: 1px solid var(--line);
}

.page-head__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.page-head__sub {
  color: var(--muted);
  max-width: 50ch;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

/* --- Standalone principle / statement block ------------------------------- */
.principle {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.principle__text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.5;
  max-width: 54ch;
  padding-top: 1.75rem;
  border-top: 1px solid var(--bronze);
  color: var(--ink);
}

/* --- Vertical numbered process -------------------------------------------- */
.process-section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.process {
  max-width: 46rem;
}

.process__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.process__item:last-child {
  padding-bottom: 0;
}

.process__item::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.4rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.process__item:last-child::before {
  display: none;
}

.process__marker {
  position: relative;
  z-index: 1;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--bronze);
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-color: var(--bronze);
}

.process__step {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.process__role {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --- Flow section wrapper (How It Works page) ----------------------------- */
.flow-section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

/* --- Closing reassurance -------------------------------------------------- */
.closing {
  padding-block: var(--section-y);
}

.closing__text {
  max-width: 54ch;
  color: var(--ink);
  font-size: 1.05rem;
}

.closing__text + .closing__text {
  margin-top: 1.25rem;
}

.closing__link {
  margin-top: 2.25rem;
  font-size: 0.9375rem;
}

/* Reusable quiet text link (no button styling) */
.quiet-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.quiet-link:hover {
  color: var(--ink);
  border-bottom-color: var(--bronze);
}

/* --- Fact-sheet sections -------------------------------------------------- */
.fact-section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.prose {
  max-width: 62ch;
}

.prose p {
  color: var(--ink);
  font-size: 1.05rem;
}

.prose p + p {
  margin-top: 1.25rem;
}

.prose__lead {
  color: var(--muted);
}

/* Definition-style pairs */
.deflist {
  max-width: 62ch;
  margin-top: 1.5rem;
}

.deflist > div + div {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.deflist__term {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.deflist__desc {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

/* --- FAQ accordion (native <details>, no JS) ------------------------------ */
.faq {
  max-width: 52rem;
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--bronze);
}

.faq__item[open] .faq__q::after {
  content: "\2013"; /* en dash */
}

.faq__a {
  padding: 0 0 1.6rem;
  max-width: 64ch;
}

.faq__a p {
  color: var(--muted);
  font-size: 1rem;
}

.faq__a p + p {
  margin-top: 0.9rem;
}

.faq__a a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.faq__a a:hover {
  color: var(--ink);
  text-decoration-color: var(--bronze);
}

/* Visible unverified-fact placeholder — for review only, remove before deploy */
.verify {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
  line-height: 1.4;
  color: var(--bronze);
  background: rgba(138, 109, 59, 0.08);
  border: 1px dashed var(--bronze);
  padding: 0.1em 0.45em;
  border-radius: 2px;
}

/* ==========================================================================
   Site-wide refinements: ink body text, centered sections, heading wrapping,
   and the rebuilt chain-of-custody diagram
   ========================================================================== */

/* Body text uses primary ink. The muted tone is reserved for eyebrow labels,
   diagram sub-labels, links, fine print, and footer legal text. Slate-band
   overrides above still keep text light on dark backgrounds. */
.lead-text,
.feature__body,
.balance,
.two-col__cont,
.step__body,
.flow-steps__body,
.page-head__sub,
.process__role,
.prose__lead,
.deflist__desc,
.faq__a p {
  color: var(--ink);
}

/* Headings: a touch wider and balanced so they never break mid-phrase. */
.section-title {
  max-width: 30ch;
}
.section-title,
.hero__title,
.page-head__title {
  text-wrap: balance;
}

/* ---- Centered, symmetric sections -------------------------------------- */
/* Every band except the homepage two-column hero centers its content. */
.band:not(.hero) > .container {
  text-align: center;
}

.band:not(.hero) > .container > .eyebrow,
.band:not(.hero) > .container > .hero__title,
.band:not(.hero) > .container > .section-title,
.band:not(.hero) > .container > .lead-text,
.band:not(.hero) > .container > .balance,
.band:not(.hero) > .container > .steps,
.band:not(.hero) > .container > .link-arrow {
  margin-inline: auto;
}

.band:not(.hero) > .container > .lead-text,
.band:not(.hero) > .container > .balance {
  max-width: 42rem;
}

/* Two-column prose collapses into one centered reading column. */
.band:not(.hero) > .container > .two-col {
  grid-template-columns: 1fr;
  max-width: 42rem;
  margin-inline: auto;
  gap: 1.25rem;
}

/* Card and step tiles keep their text left-aligned inside the tile. */
.card {
  text-align: left;
}

/* Fact-sheet pages center their sections too. */
.page-head {
  text-align: center;
}
.page-head__title,
.page-head__sub {
  margin-inline: auto;
}
.page-head__sub {
  max-width: 42rem;
}

.fact-section > .container,
.closing > .container {
  text-align: center;
}
.fact-section .prose,
.closing__text {
  max-width: 42rem;
  margin-inline: auto;
}

/* Definition lists and the FAQ accordion stay left-aligned, centered as a block. */
.deflist,
.faq {
  text-align: left;
  margin-inline: auto;
}

/* ---- Chain-of-custody diagram (homepage + How It Works) ---------------- */
.cflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 50rem;
  margin: 3rem auto 0;
  text-align: center;
}

/* Continuous connector line running through the marker centers */
.cflow::before {
  content: "";
  position: absolute;
  top: 7px;
  left: calc((100% - 3rem) / 6);
  right: calc((100% - 3rem) / 6);
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.cflow__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.cflow__dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--bronze);
  background: var(--paper);
}

.cflow__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cflow__label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}

.cflow__note {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

/* On the dark slate band, line and markers shift to light tones. */
.band--slate .cflow::before {
  background: rgba(247, 245, 240, 0.25);
}
.band--slate .cflow__dot {
  background: var(--slate);
}
.band--slate .cflow__label {
  color: var(--paper);
}
.band--slate .cflow__note {
  color: rgba(247, 245, 240, 0.7);
}

/* On the greige band, the marker fill matches the band. */
.band--greige .cflow__dot {
  background: var(--surface-tint);
}

/* ==========================================================================
   Gentle scroll reveal
   --------------------------------------------------------------------------
   Content is visible by default. It is only hidden once JS adds the `.js`
   class, so if scripts fail everything still renders (and stays crawlable).
   ========================================================================== */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Respect users who prefer reduced motion: no transforms, no hover lifts */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 60rem) {
  /* Mid-width: relax the densest desktop grids */
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .three-col {
    gap: 2rem;
  }
}

@media (max-width: 48rem) {
  :root {
    --gutter: 24px;
    --section-y: 64px;
  }

  /* Mobile navigation: collapse into a toggle-driven dropdown */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem var(--gutter) 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }

  /* Multi-column bands collapse to a single column */
  .two-col,
  .three-col,
  .steps,
  .who-grid,
  .card-grid--2,
  .card-grid--3,
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__inner {
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
  }

  /* Center the homepage hero on mobile to match the other pages.
     Scoped to the hero's own classes, so no other page is affected and the
     desktop two-column layout is untouched. */
  .hero__content {
    text-align: center;
  }
  .hero__content > * {
    margin-inline: auto;
  }
  .hero-panel {
    text-align: center;
  }

  /* Founder block stacks with the photo centered above the text */
  .founder {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }
  .band:not(.hero) > .container.founder {
    text-align: center;
  }
  .founder__media {
    margin-inline: auto;
  }
  .founder__text > .section-title,
  .founder__text > .lead-text {
    margin-inline: auto;
  }

  .page-hero {
    min-height: auto;
  }

  /* Step number stacks above its text on mobile */
  .flow-steps__item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Custody flow stacks vertically on small screens */
  .flowmap {
    flex-direction: column;
    align-items: flex-start;
  }

  .flowmap__node {
    flex-direction: row;
    gap: 0.85rem;
    text-align: left;
    max-width: none;
  }

  .flowmap__dot {
    margin-top: 0.35rem;
  }

  .flowmap__line {
    width: 1px;
    min-width: 0;
    height: 1.5rem;
    margin-top: 0;
    margin-left: 4px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 2rem;
  }

  /* Chain-of-custody diagram: vertical timeline on small screens */
  .cflow {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 22rem;
    text-align: left;
    justify-items: start;
  }

  .cflow::before {
    top: 7px;
    bottom: 7px;
    left: 7px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .cflow__node {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .cflow__dot {
    margin-top: 4px;
  }

  .cflow__text {
    text-align: left;
  }
}
