/* ==========================================================================
   Aldermarq Reports — one stylesheet, every page.

   Ground is deep navy rather than neutral black. Pure black reads flat and
   cheap however much depth is layered on it; a ground with hue holds the
   brass and gives the gradients somewhere to travel.

   Depth is deliberate: a lit horizon behind each header, surfaces that are
   gradients rather than fills, a 1px highlight along every raised top edge,
   and rules that fade at both ends.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* ground — deep navy */
  --ink:          #0A1018;
  --ink-deep:     #060A10;
  --surface-hi:   #16202C;
  --surface-lo:   #0E1620;
  --line:         #23303F;
  --edge:         rgba(255, 255, 255, 0.07);

  /* text — warm bone against a cool navy.
     Light-on-dark optically THINS. Nothing goes below 400; the display
     face never below 600. */
  --bone:         #F2F0EA;
  --bone-dim:     #CBC9C2;
  --muted:        #93A0AF;
  --muted-deep:   #8794A3;

  /* accent — brass. Hairlines, marginalia, labels, glow. Never a button fill. */
  --brass:        #D8BC72;
  --brass-deep:   #A8863A;
  --brass-glow:   rgba(216, 188, 114, 0.20);

  /* semantic severity — separate from the accent by design */
  --critical:     #E8735C;
  --serious:      #E0AE4E;
  --moderate:     #8CA3B8;

  /* type — a LOW-CONTRAST serif. A didone's hairlines erode on a dark
     ground at any weight; this one stays solid. */
  --display: "Source Serif 4", "Source Serif Pro", Charter, "Bitstream Charter", Georgia, serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --measure: 34rem;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --rail: 8rem;
  --bay: clamp(3.25rem, 5.5vw, 5.5rem);

  --panel: linear-gradient(180deg, var(--surface-hi) 0%, var(--surface-lo) 100%);
  --lit-edge: inset 0 1px 0 var(--edge);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px -12px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(80rem 42rem at 50% -12rem, var(--brass-glow), transparent 62%),
    radial-gradient(64rem 32rem at 78% -4rem, rgba(94, 140, 184, 0.16), transparent 70%),
    linear-gradient(180deg, #101924 0%, var(--ink) 34rem, var(--ink) 100%);
  background-repeat: no-repeat;
  background-color: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* room for the floating CTA so it never covers the last line */
  padding-bottom: 5rem;
}

.shell { width: min(72rem, 100% - (var(--gut) * 2)); margin-inline: auto; }

/* ---- bays -------------------------------------------------------------- */

.bay {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 var(--gut);
  padding-block: var(--bay);
  position: relative;
}
.bay::before {
  content: "";
  position: absolute;
  inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.bay > .marginalia {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--brass);
  text-transform: uppercase;
  padding-top: 0.5rem;
}
.marginalia .crit {
  display: block;
  color: var(--muted-deep);
  text-transform: none;
  letter-spacing: 0.01em;
  margin-top: 0.35rem;
}
@media (max-width: 52rem) {
  .bay { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .bay > .marginalia { padding-top: 0; }
}

/* ---- type -------------------------------------------------------------- */

h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; }
h3 { font-family: var(--body); font-weight: 500; margin: 0; }

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.08; letter-spacing: -0.018em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); line-height: 1.2; letter-spacing: -0.012em; }
h3 { font-size: 1.0625rem; line-height: 1.45; }

p { margin: 0; max-width: var(--measure); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.62; color: var(--bone-dim); max-width: 33rem; }
.fine { font-size: 0.875rem; line-height: 1.65; color: var(--muted); max-width: 32rem; }
.stack > * + * { margin-top: 1.15rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute;
  left: var(--gut); top: -4rem;
  z-index: 100;
  background: var(--bone); color: var(--ink);
  padding: 0.7rem 1.1rem;
  font-family: var(--mono); font-size: 0.8125rem;
  text-decoration: none;
  transition: top 120ms ease;
}
.skip:focus { top: 1rem; }

/* ---- masthead ---------------------------------------------------------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-block: 1.5rem;
  flex-wrap: wrap;
}
/* The wordmark carries the product name AND what the product is — the
   mark alone left people asking what they were looking at. */
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--bone); }
.brand .lozenge {
  width: 0.7rem; height: 0.7rem;
  background: linear-gradient(140deg, var(--brass), var(--brass-deep));
  box-shadow: 0 0 14px var(--brass-glow);
  transform: rotate(45deg);
  flex: none;
}
.brand-text { display: grid; gap: 0.1rem; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.navlinks {
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 1.75rem);
  align-items: center;
  font-size: 0.9375rem;
  color: var(--muted);
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.navlinks a { text-decoration: none; transition: color 140ms ease; }
.navlinks a:hover { color: var(--bone); }
.navlinks a[aria-current="page"] { color: var(--bone); }

/* ---- buttons ----------------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.btn-solid {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bone) 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 26px -12px rgba(0, 0, 0, 0.9);
}
.btn-solid:hover { transform: translateY(-1px); }
.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  color: var(--bone);
  border-color: var(--line);
  box-shadow: var(--lit-edge);
}
.btn-ghost:hover { border-color: var(--brass-deep); }

/* ---- the floating call to action --------------------------------------- */
/* Always reachable. The page is long and the header CTA scrolls away; this
   one does not. */
.cta-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 3vw, 2.25rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: #14140C;
  background: linear-gradient(180deg, var(--brass) 0%, var(--brass-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px -6px rgba(0, 0, 0, 0.7),
    0 0 42px -8px var(--brass-glow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.cta-float:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 14px 34px -8px rgba(0, 0, 0, 0.85),
    0 0 54px -6px var(--brass-glow);
}
.cta-float .arrow { font-family: var(--mono); font-weight: 400; }

/* ---- page header (interior pages) -------------------------------------- */

.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { margin-block: 1.1rem 1.25rem; max-width: 18ch; }

/* ---- panels ------------------------------------------------------------ */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--lit-edge), var(--lift);
}
.panel-pad { padding: clamp(1.4rem, 3vw, 2rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card { display: grid; gap: 0.7rem; align-content: start; }
.card h3 { color: var(--bone); }
.card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }
.card .tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.spec { margin: 0; display: grid; overflow: hidden; }
.spec > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem clamp(1.1rem, 2.5vw, 1.5rem);
  font-size: 0.9375rem;
}
.spec > div + div { border-top: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-deep); padding-top: 0.2rem; }
.spec dd { margin: 0; color: var(--bone-dim); }
@media (max-width: 34rem) { .spec > div { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; } }

/* ---- hero -------------------------------------------------------------- */

.hero {
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 5.5vw, 4.5rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 64rem) { .hero { grid-template-columns: minmax(0, 1fr) auto; } }
.hero h1 { margin-block: 1.5rem 1.6rem; max-width: 14ch; }
.hero .actions { margin-top: 2.25rem; }

/* ---- the people -------------------------------------------------------- */
/*
 * PHOTOGRAPHY SLOTS. Each .portrait is a finished frame waiting for a real
 * photograph — 3:4, scrim, lit edge, lift. Replace the <svg> inside with
 *     <img src="assets/portrait-N.jpg" alt="">
 * and nothing else changes. The silhouettes are placeholders and are NOT
 * presented as photographs of real customers.
 */
.people { display: grid; gap: 1.5rem; justify-items: start; }
.portraits { display: flex; align-items: flex-end; }
.portrait {
  position: relative;
  margin: 0 0 0 -1rem;
  width: clamp(5rem, 8vw, 6.75rem);
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--lit-edge), var(--lift);
  flex: none;
  transition: filter 180ms ease;
}
.portrait:first-child { margin-left: 0; }
.portrait:nth-child(odd) { transform: translateY(-0.9rem); }
.portrait:nth-child(3) { transform: translateY(-1.8rem); }
.portrait:hover { filter: brightness(1.12); }
.portrait svg, .portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,16,24,0) 52%, rgba(10,16,24,0.55) 100%);
  pointer-events: none;
}
.people-note { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; max-width: 20rem; }
.people-note strong { color: var(--bone-dim); font-weight: 500; }
.people-note cite { display: block; font-style: normal; font-size: 0.8125rem; color: var(--muted-deep); margin-top: 0.4rem; }

/* ---- the demonstration ------------------------------------------------- */

.demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.demo-pane { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--lit-edge), var(--lift); }
.demo-cap { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin: 0.5rem 0 1.25rem; }

.mock { background: linear-gradient(180deg, var(--ink-deep), #0A1119); border: 1px solid var(--line); border-radius: 3px; padding: 1.25rem; display: grid; gap: 0.8rem; }
.mock-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--bone-dim); }
.mock-row span:last-child { font-family: var(--mono); }
.mock-cta { background: linear-gradient(180deg, var(--brass), var(--brass-deep)); color: #17140C; text-align: center; border-radius: 2px; padding: 0.7rem; font-size: 0.9375rem; font-weight: 500; margin-top: 0.3rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.28); }

.transcript { background: linear-gradient(180deg, var(--ink-deep), #0A1119); border: 1px solid var(--line); border-radius: 3px; padding: 1.25rem; font-family: var(--mono); font-size: 0.875rem; line-height: 1.95; display: grid; gap: 0.1rem; }
.transcript span { color: var(--bone-dim); }
.transcript .fail { color: var(--critical); }
.transcript .cursor { display: inline-block; width: 0.5rem; background: var(--brass); box-shadow: 0 0 10px var(--brass-glow); color: transparent; }

/* ---- stats ------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: clamp(1.75rem, 4vw, 3rem); margin: 0; }
.stat dt { font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 4.2vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--bone); }
.stat dd { margin: 0.8rem 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); max-width: 16rem; }
.stat dd cite { display: block; font-style: normal; color: var(--muted-deep); margin-top: 0.4rem; font-size: 0.8125rem; }

/* ---- features ---------------------------------------------------------- */

.feature { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 62rem) {
  .feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
  .feature.flip > .feature-copy { order: 2; }
}
.feature-copy h2 { margin-bottom: 1.1rem; }
.feature-copy p + p { margin-top: 1.1rem; }

.funnel { display: grid; gap: 0.85rem; }
.funnel-step { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3rem; align-items: center; gap: 1rem; font-size: 0.875rem; }
.funnel-step .label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.funnel-track { height: 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.05); box-shadow: var(--lit-edge); }
.funnel-bar { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brass-deep), var(--brass)); }
.funnel-step:last-child .funnel-bar { box-shadow: 0 0 18px var(--brass-glow); }
.funnel-step .count { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--bone); }

/* ---- the report preview ------------------------------------------------ */
/* A rendering of a brief's shape, drawn in CSS. It is a REPRESENTATION of
   the document's structure — not a screenshot of any real client's brief. */

.report-frame { display: grid; justify-items: center; padding-block: 1rem; }
.report {
  width: min(30rem, 100%);
  background: linear-gradient(180deg, #F7F5F0 0%, #EBE7DF 100%);
  color: #1A1D22;
  border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 30px 60px -20px rgba(0,0,0,0.85);
  font-size: 0.75rem;
  line-height: 1.5;
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid #1A1D22; padding-bottom: 0.6rem; gap: 1rem; }
.report-head .mark { font-family: var(--display); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8125rem; }
.report-head .id { font-family: var(--mono); font-size: 0.6875rem; color: #55595F; }
.report h4 { font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.25; margin: 1rem 0 0.15rem; }
.report .sub { font-family: var(--mono); font-size: 0.6875rem; color: #55595F; margin-bottom: 1rem; }
.report-sec { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7A6A3A; margin: 1rem 0 0.4rem; }
.report-finding { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 0.6rem; padding: 0.45rem 0; border-top: 1px solid #D6D1C6; align-items: baseline; }
.report-finding .sc { font-family: var(--mono); font-size: 0.625rem; color: #55595F; }
.report-finding .sev { font-family: var(--mono); font-size: 0.5625rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.1rem 0.4rem; border-radius: 2px; }
.sev-critical { background: #C8402A; color: #FFF; }
.sev-serious  { background: #B07C15; color: #FFF; }
.report-shot { margin-top: 0.9rem; aspect-ratio: 16/9; background: repeating-linear-gradient(135deg, #DCD7CC 0 8px, #D3CDC1 8px 16px); border: 1px solid #C3BCAE; border-radius: 2px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.625rem; color: #6A6459; }
.report-foot { margin-top: 1rem; padding-top: 0.5rem; border-top: 1px solid #D6D1C6; font-family: var(--mono); font-size: 0.5625rem; color: #7A7468; display: flex; justify-content: space-between; gap: 1rem; }

/* ---- newsroom ---------------------------------------------------------- */

.feed { display: grid; gap: 1rem; margin-top: 2rem; }
.entry {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--lit-edge), var(--lift);
}
@media (max-width: 40rem) { .entry { grid-template-columns: minmax(0,1fr); gap: 0.5rem; } }
.entry time { font-family: var(--mono); font-size: 0.75rem; color: var(--muted-deep); }
.entry h3 { color: var(--bone); margin-bottom: 0.35rem; }
.entry p { font-size: 0.9375rem; color: var(--muted); }
.entry .kind { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); display: block; margin-top: 0.35rem; }

.notice {
  border: 1px dashed var(--brass-deep);
  border-radius: 4px;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  background: rgba(216, 188, 114, 0.05);
  margin-top: 2rem;
}
.notice p { max-width: 46rem; font-size: 0.9375rem; color: var(--bone-dim); }
.notice .eyebrow { margin-bottom: 0.5rem; }

/* ---- pricing ----------------------------------------------------------- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 3vw, 2rem); display: grid; align-content: start; gap: 0.9rem; box-shadow: var(--lit-edge), var(--lift); }
.tier.featured { border-color: var(--brass-deep); box-shadow: var(--lit-edge), var(--lift), 0 0 44px -18px var(--brass-glow); }
.tier-name { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier-price { font-family: var(--display); font-weight: 600; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tier-price small { font-family: var(--body); font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.tier-briefs { font-size: 0.9375rem; color: var(--bone-dim); }
.tier-per { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted-deep); }

/* ---- contact ----------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.contact-card { display: grid; gap: 0.55rem; align-content: start; }
.contact-card .label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.contact-card a { font-size: 1.0625rem; color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--brass-deep); justify-self: start; }
.contact-card a:hover { border-bottom-color: var(--brass); }
.contact-card p { font-size: 0.875rem; color: var(--muted); }

/* ---- footer ------------------------------------------------------------ */

.foot { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem) 3rem; }
.foot::before {
  content: "";
  position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.foot-top { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(9rem, 1fr)); }
@media (max-width: 48rem) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.9rem;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-col a { font-size: 0.9375rem; color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--bone); }
.foot-brand p { font-size: 0.9375rem; color: var(--muted); max-width: 26rem; margin-top: 1rem; }

/* SCOPE, stated plainly — in the footer, as text, on every page. */
.foot-scope { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line); }
.foot-scope h4 {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin: 0 0 0.9rem;
}
.foot-scope p { font-size: 0.8125rem; line-height: 1.7; color: var(--muted); max-width: 60rem; }
.foot-scope p + p { margin-top: 0.75rem; }
.foot-legal { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.75rem; color: var(--muted-deep); }

/* ---- misc -------------------------------------------------------------- */

.isnot { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 2.5rem; margin-top: 2rem; padding: 0; list-style: none; }
.isnot li { display: flex; gap: 0.8rem; align-items: baseline; font-size: 0.9375rem; color: var(--bone-dim); padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
.isnot .mark { font-family: var(--mono); color: var(--brass-deep); flex: none; }

.contents { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.contents li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 0.95rem clamp(1.1rem, 2.5vw, 1.5rem); }
.contents li + li { border-top: 1px solid var(--line); }
.contents .sec { font-family: var(--mono); font-size: 0.8125rem; color: var(--brass); }
.contents .name { font-size: 0.9375rem; color: var(--bone-dim); }
.contents .qty { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted-deep); font-variant-numeric: tabular-nums; }

.pull {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--bone);
  max-width: 30ch;
  border-left: 2px solid var(--brass-deep);
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .cta-float:hover { transform: none; }
}

/* ---- disclosure: detail available, not in the way ---------------------- */
/* Native <details>. No JavaScript, announced correctly by screen readers. */

.reveal {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  max-width: var(--measure);
}
.reveal > summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.reveal > summary::-webkit-details-marker { display: none; }
.reveal > summary::after { content: "+"; font-size: 0.95rem; line-height: 1; color: var(--muted); }
.reveal[open] > summary::after { content: "\2212"; }
.reveal > summary:hover { color: var(--bone); }
.reveal .reveal-body { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.reveal .reveal-body p + p { margin-top: 0.8rem; }

/* ---- belief list ------------------------------------------------------- */

.beliefs { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; max-width: 42rem; }
.beliefs li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: baseline; }
.beliefs .key { font-family: var(--mono); color: var(--brass); font-size: 0.9rem; }
.beliefs strong { color: var(--bone); font-weight: 500; }
.beliefs span.t { color: var(--bone-dim); }

/* ---- signature --------------------------------------------------------- */

.signature { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: 0.3rem; max-width: var(--measure); }
.signature .name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--bone); }
.signature .role { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---- resources --------------------------------------------------------- */

.resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.resource { display: grid; gap: 0.75rem; align-content: start; }
.resource .kicker { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.resource h3 { color: var(--bone); font-size: 1.125rem; }
.resource p { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }
.resource .links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.35rem; }
.resource .links a { font-size: 0.875rem; color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--brass-deep); }
.resource .links a:hover { border-bottom-color: var(--brass); }

/* ---- guide pages ------------------------------------------------------- */

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; color: var(--bone); font-size: 1.0625rem; }
.prose p, .prose li { color: var(--bone-dim); }
.prose p + p, .prose h2 + p, .prose h3 + p { margin-top: 1rem; }
.prose ul { padding-left: 1.1rem; display: grid; gap: 0.55rem; margin: 1rem 0 0; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.prose td { color: var(--bone-dim); }
.table-scroll { overflow-x: auto; }

/* ---- print: guides double as the downloadable PDFs --------------------- */

@media print {
  :root { --bay: 1.5rem; }
  body { background: #FFF !important; color: #14171C; padding: 0; font-size: 11pt; }
  .masthead nav, .cta-float, .foot-top, .skip, .btn { display: none !important; }
  .brand-name, .brand-sub, h1, h2, h3, .prose p, .prose li, .prose td { color: #14171C !important; }
  .prose th { color: #6B5520 !important; }
  a { color: #14171C; text-decoration: underline; }
  .bay { grid-template-columns: minmax(0, 1fr); padding-block: 1rem; }
  .bay::before, .foot::before { background: #CCC; }
  .marginalia { color: #6B5520 !important; }
  .foot-scope p, .foot-legal { color: #444 !important; }
  .prose { max-width: none; }
  h1 { font-size: 22pt; }
  h2 { font-size: 15pt; page-break-after: avoid; }
  .reveal { border-color: #CCC; }
  .reveal > summary { color: #6B5520 !important; }
  .reveal .reveal-body { color: #333 !important; }
  .reveal:not([open]) .reveal-body { display: block; }
}

/* ---- placeholder text awaiting the founder's own details --------------- */
.fill {
  background: rgba(216, 188, 114, 0.14);
  border-bottom: 1px dashed var(--brass-deep);
  color: var(--brass);
  padding: 0 0.2em;
}
@media print { .fill { background: #F3ECD8; color: #6B5520; } }

/* ---- pricing: the gold outline follows the pointer ---------------------- */
/* The featured tier is the resting emphasis. As soon as the reader shows
   interest in another plan, the emphasis moves to the one they are looking
   at — :has() lets the container notice a hovered child and stand the
   default one down. */

.tier { transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }

.tier:hover,
.tier:focus-within {
  border-color: var(--brass-deep);
  box-shadow: var(--lit-edge), var(--lift), 0 0 44px -18px var(--brass-glow);
  transform: translateY(-3px);
}

.tiers:has(.tier:hover) .tier.featured:not(:hover),
.tiers:has(.tier:focus-within) .tier.featured:not(:focus-within) {
  border-color: var(--line);
  box-shadow: var(--lit-edge), var(--lift);
}

@media (prefers-reduced-motion: reduce) {
  .tier:hover, .tier:focus-within { transform: none; }
}
