/* =========================================================================
   Property Ownership Plan (POP) — shared visual system
   Set on index.html; replicated across all pages. Do not reinterpret.
   ========================================================================= */

/* ---- Design tokens ---- */
:root {
  /* Ink / navy base */
  --ink:        #0E1E30;
  --ink-800:    #122132;
  --ink-700:    #16293E;
  --navy-line:  #2A3E56;   /* hairlines on dark */

  /* Paper / warm off-white */
  --paper:      #F6F3EC;
  --paper-2:    #FBF9F4;
  --paper-3:    #EFE9DE;

  /* Accent — muted antique gold */
  --gold:       #B58A45;   /* on paper: used for marks/rules, not body text */
  --gold-ink:   #8A6A34;   /* darker gold for text-on-paper where needed (AA) */
  --gold-light: #C6A15C;   /* on navy: text/marks against dark */

  /* Text */
  --text:       #172736;   /* body on paper */
  --text-soft:  #40536220; /* not used directly */
  --text-muted: #4C5E70;   /* secondary on paper */
  --paper-text: #E9E2D3;   /* body on navy */
  --paper-text-muted: #AFBCCB;

  /* Lines & fields */
  --line:       #DED7C7;
  --line-strong:#CFC6B2;

  /* Layout */
  --container:  1140px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);

  /* Type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-1: 0 1px 2px rgba(14, 30, 48, .05), 0 8px 24px rgba(14, 30, 48, .06);
  --shadow-2: 0 4px 10px rgba(14, 30, 48, .08), 0 20px 48px rgba(14, 30, 48, .12);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .6em;
}

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }

img, svg { max-width: 100%; display: block; }

strong { font-weight: 600; }

::selection { background: var(--gold-light); color: var(--ink); }

/* ---- Skip link / focus ---- */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: 4px; z-index: 200;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

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

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: var(--paper-text);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

/* Kicker / eyebrow label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.25rem;
}
.kicker::before {
  content: "";
  width: 1.75rem; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section--ink .kicker { color: var(--gold-light); }
.section--ink .kicker::before { background: var(--gold-light); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 400;
}
.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: var(--text);
}
.section--ink .lead { color: var(--paper-text); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 243, 236, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 243, 236, .94);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
}
.brand__mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold-light);
  border-radius: 6px;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; letter-spacing: .01em; }
.brand__sub  { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: .95rem; font-weight: 500;
  padding: .6rem .8rem;
  border-radius: 6px;
  position: relative;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(181, 138, 69, .1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
  height: 2px; background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent; border-radius: 8px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; display: block;
  width: 20px; height: 2px; background: var(--ink);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  /* Watermark: houses photo -> navy duotone (luminosity) -> diagonal navy tint
     (near-solid top-left for headline contrast, lifting toward bottom-right). */
  background-color: var(--ink);
  background-image:
    linear-gradient(135deg, rgba(14,30,48,.985) 0%, rgba(14,30,48,.93) 42%, rgba(14,30,48,.60) 100%),
    url("images/homes-hero.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right bottom;
  background-size: cover, cover;
  background-blend-mode: normal, luminosity;
  color: var(--paper-text);
  overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 9rem);
}
.hero::before { /* soft radial glow */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(198, 161, 92, .14), transparent 55%),
    radial-gradient(100% 80% at 0% 110%, rgba(30, 51, 74, .55), transparent 60%);
  pointer-events: none;
}
.hero::after { /* fine grain for depth */
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 1; max-width: 52rem; }
.hero .kicker { color: var(--gold-light); }
.hero .kicker::before { background: var(--gold-light); }

.hero h1 {
  color: var(--paper);
  font-weight: 300;
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: .5em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__lead {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--paper-text);
  max-width: 40rem;
  margin-bottom: 1.5rem;
}
.hero__position {
  color: var(--paper-text-muted);
  max-width: 42rem;
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; }

/* Buttons / links */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gold { background: var(--gold-light); color: var(--ink); }
.btn--gold:hover { background: #d4b26e; }

.btn--ghost-light {
  color: var(--paper); border-color: rgba(233, 226, 211, .3);
}
.btn--ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

.link-quiet {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .18s var(--ease);
}
.section--ink .link-quiet { color: var(--gold-light); border-color: var(--gold-light); }
.link-quiet .btn__arrow { transition: transform .2s var(--ease); }
.link-quiet:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================================
   Prose
   ========================================================================= */
.prose p { color: var(--text); max-width: 42rem; }
.section--ink .prose p { color: var(--paper-text); }
.prose p + p { margin-top: 0; }

/* =========================================================================
   Flow diagram — the visual anchor
   ========================================================================= */
.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  counter-reset: flow;
}
.flow__step { position: relative; }
.flow__node {
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: 1.2rem;
  color: var(--gold-ink);
  position: relative; z-index: 2;
  margin-bottom: 1.25rem;
}
.section--paper2 .flow__node { background: var(--paper-2); }
/* connector line between nodes (desktop) */
.flow__step:not(:last-child) .flow__node::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px); top: 50%;
  width: calc(1.5rem + 100%); /* span the gap + next offset visually */
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 40%, var(--line-strong));
  transform: translateY(-50%);
  z-index: 1;
}
.flow__step h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: .5rem; }
.flow__step p { font-size: .96rem; color: var(--text-muted); margin: 0; }

/* Branch callout */
.flow-branch {
  margin-top: 2.75rem;
  display: flex; gap: 1.1rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper-3);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.flow-branch__icon {
  flex: none; width: 2.2rem; height: 2.2rem; margin-top: .1rem;
  display: grid; place-items: center;
  color: var(--gold-ink);
}
.flow-branch p { margin: 0; color: var(--text); font-size: .98rem; }
.flow-branch strong { color: var(--ink); }

/* =========================================================================
   Feature grid
   ========================================================================= */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
.feature {
  padding: 1.6rem 1.6rem 1.7rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.section--paper2 .feature { background: var(--paper); }
.feature__mark {
  width: 2.4rem; height: 2.4rem; margin-bottom: 1rem;
  display: grid; place-items: center;
  color: var(--gold-ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.feature h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: .4rem; }
.feature p { font-size: .96rem; color: var(--text-muted); margin: 0; }

/* =========================================================================
   Illustrative figures card
   ========================================================================= */
.figure-card {
  background: var(--ink);
  color: var(--paper-text);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative; overflow: hidden;
}
.figure-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 120% at 100% 0%, rgba(198, 161, 92, .12), transparent 55%);
}
.figure-card__head { position: relative; z-index: 1; margin-bottom: 1.75rem; }
.figure-card__head .kicker { color: var(--gold-light); }
.figure-card__head .kicker::before { background: var(--gold-light); }
.figure-card h3 { color: var(--paper); font-size: 1.5rem; font-weight: 500; margin: 0; }

.figure-grid {
  position: relative; z-index: 1;
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: 12px; overflow: hidden;
}
.figure {
  background: var(--ink-700);
  padding: 1.4rem 1.3rem;
}
.figure__label {
  font-size: .74rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--paper-text-muted); margin-bottom: .55rem;
}
.figure__value {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500;
  color: var(--paper); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.figure__value span { color: var(--gold-light); font-size: .8em; }
.figure-card__note {
  position: relative; z-index: 1;
  margin: 1.5rem 0 0; font-size: .92rem; color: var(--paper-text-muted);
}
.figure-card__note a { color: var(--gold-light); border-bottom: 1px solid var(--gold-light); text-decoration: none; padding-bottom: 1px; }

/* =========================================================================
   The fork
   ========================================================================= */
.fork-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
.door {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.9rem, 3.5vw, 2.75rem);
  background: var(--ink-700);
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--paper-text);
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.door::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold-light); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.door:hover { transform: translateY(-4px); border-color: rgba(198,161,92,.4); background: #1b3047; }
.door:hover::before { transform: scaleY(1); }
.door__index {
  font-family: var(--serif); font-size: .95rem; color: var(--gold-light);
  letter-spacing: .1em; margin-bottom: 1.5rem;
}
.door h3 { color: var(--paper); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 500; margin-bottom: .7rem; }
.door p { color: var(--paper-text-muted); font-size: 1rem; margin-bottom: 2rem; max-width: 26rem; }
.door__go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; color: var(--gold-light);
}
.door__go .btn__arrow { transition: transform .22s var(--ease); }
.door:hover .door__go .btn__arrow { transform: translateX(5px); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--ink-800);
  color: var(--paper-text-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--navy-line);
}
.site-footer__top {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--navy-line);
}
.site-footer .brand__name { color: var(--paper); }
.site-footer .brand__sub { color: var(--paper-text-muted); }
.footer-tagline { margin: 1.1rem 0 0; max-width: 26rem; color: var(--paper-text-muted); font-size: .98rem; }
.footer-nav { display: flex; flex-direction: column; gap: .15rem; }
.footer-nav__title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: .4rem; }
.footer-nav a { color: var(--paper-text); text-decoration: none; font-size: .98rem; width: fit-content; padding: .45rem 0; }
.footer-nav a:hover { color: var(--gold-light); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  padding-top: 1.75rem; font-size: .85rem;
}
.site-footer__bottom p { margin: 0; }
.footer-disclaimer { max-width: 46rem; color: var(--paper-text-muted); }
.footer-disclaimer strong { color: var(--paper-text); font-weight: 600; }

/* =========================================================================
   Reveal-on-scroll (progressive; content visible without JS)
   ========================================================================= */
[data-reveal] { opacity: 1; }
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Hero load stagger */
.js .hero [data-load] { opacity: 0; transform: translateY(16px); }
.js .hero.is-ready [data-load] {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .hero.is-ready [data-load="1"] { transition-delay: .05s; }
.js .hero.is-ready [data-load="2"] { transition-delay: .16s; }
.js .hero.is-ready [data-load="3"] { transition-delay: .27s; }
.js .hero.is-ready [data-load="4"] { transition-delay: .38s; }
.js .hero.is-ready [data-load="5"] { transition-delay: .49s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero [data-load] { opacity: 1; transform: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 880px) {
  .flow { grid-template-columns: 1fr; gap: 0; padding-left: .5rem; }
  .flow__step { padding-left: 3.75rem; padding-bottom: 2.25rem; }
  .flow__node { position: absolute; left: 0; top: 0; margin-bottom: 0; }
  .flow__step:not(:last-child) .flow__node::after {
    left: 50%; top: calc(100% + 1px);
    width: 1px; height: calc(2.25rem);
    background: linear-gradient(180deg, var(--gold) 40%, var(--line-strong));
    transform: translateX(-50%);
  }
  .figure-grid { grid-template-columns: repeat(2, 1fr); }
  .fork-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-2);
    transform: translateY(-140%);
    transition: transform .3s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-ink); }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 480px) {
  .figure-grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* =========================================================================
   Interior pages — shared components (added after index.html; same tokens)
   ========================================================================= */

/* ---- Page hero (interior pages) ---- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper-text);
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(110% 90% at 88% -20%, rgba(198, 161, 92, .13), transparent 55%),
    radial-gradient(90% 80% at -5% 120%, rgba(30, 51, 74, .5), transparent 60%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 50rem; }
.page-hero .kicker { color: var(--gold-light); }
.page-hero .kicker::before { background: var(--gold-light); }
.page-hero h1 {
  color: var(--paper);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: .45em;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero__lead {
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--paper-text);
  max-width: 42rem;
}

/* ---- Threefold benefit cards ---- */
.benefits {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.benefit {
  padding: 1.75rem 1.6rem 1.9rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
}
.section--paper2 .benefit { background: var(--paper); }
.benefit__who {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: .9rem;
}
.benefit h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.benefit p { font-size: .96rem; color: var(--text-muted); margin: 0; }

/* ---- Data tables (comparison + pricing) ---- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%; min-width: 640px;
  border-collapse: collapse;
  background: var(--paper-2);
  font-size: .96rem;
}
.section--paper2 .data-table { background: var(--paper); }
.data-table caption {
  text-align: left; padding: 1rem 1.15rem 0; color: var(--text-muted);
  font-size: .9rem; caption-side: top;
}
.data-table th, .data-table td {
  text-align: left; padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table thead th {
  font-family: var(--sans); font-weight: 600;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); background: var(--paper-3);
  border-bottom: 1px solid var(--line-strong);
}
.data-table tbody th {
  font-weight: 600; color: var(--ink); width: 12.5rem;
}
.data-table td { color: var(--text-muted); }
/* Highlighted POP column */
.data-table thead th.col-pop {
  color: var(--ink);           /* AA: dark text on the gold-tinted highlight cell */
  background: #efe4cd;
  box-shadow: inset 0 3px 0 var(--gold);
}
.data-table td.col-pop {
  background: rgba(181, 138, 69, .07);
  color: var(--text);
}

/* ---- Collaboration "ask" cards ---- */
.asks {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
.ask {
  padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.section--paper2 .ask { background: var(--paper); }
.ask__num {
  font-family: var(--serif); font-size: .95rem; color: var(--gold-ink);
  letter-spacing: .1em; margin-bottom: 1.1rem;
}
.ask h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .6rem; }
.ask p { color: var(--text-muted); font-size: .98rem; }
.ask p:last-child { margin-bottom: 0; }

/* ---- Check list (pilot controls, feature bullets) ---- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.check-list li {
  position: relative; padding-left: 2.1rem;
  color: var(--text); font-size: 1rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: 1px solid var(--gold);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A6A34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.on-dark li { color: var(--paper-text); }
.check-list.on-dark li::before {
  border-color: var(--gold-light);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C6A15C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---- Annex panel (provider / government-only) ---- */
.annex {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--paper-2);
  overflow: hidden;
}
.section--paper2 .annex { background: var(--paper); }
.annex__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem;
  padding: 1.25rem clamp(1.4rem, 3vw, 2.1rem);
  background: var(--paper-3);
  border-bottom: 1px solid var(--line-strong);
}
.annex__tag {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-light);
  padding: .3rem .6rem; border-radius: 4px; flex: none;
}
.annex__note { margin: 0; font-size: .9rem; color: var(--text-muted); }
.annex__body { padding: clamp(1.6rem, 3.5vw, 2.5rem); }
.annex__body h3 { font-size: 1.3rem; font-weight: 600; margin-top: 0; }
.annex-block + .annex-block { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.annex-block > h3 { margin-bottom: .7rem; }

/* ---- Next-step / conclusion callout ---- */
.next-step {
  background: var(--ink);
  color: var(--paper-text);
  border-radius: 16px;
  padding: clamp(2rem, 4.5vw, 3.25rem);
  position: relative; overflow: hidden;
  display: grid; gap: 1.75rem;
}
.next-step::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 130% at 100% 0%, rgba(198, 161, 92, .12), transparent 55%);
}
.next-step > * { position: relative; z-index: 1; }
.next-step h2 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; margin: 0; max-width: 30rem; }
.next-step p { color: var(--paper-text); margin: 0; max-width: 42rem; }
.next-step__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Small spec list (model assumptions) ---- */
.spec-list {
  margin: 0; display: grid; gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.spec-list div { background: var(--paper-2); padding: .95rem 1.1rem; display: flex; justify-content: space-between; gap: 1rem; }
.section--paper2 .spec-list div { background: var(--paper); }
.spec-list dt { color: var(--text-muted); font-size: .92rem; margin: 0; }
.spec-list dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

@media (max-width: 880px) {
  .benefits { grid-template-columns: 1fr; }
  .asks { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
}

/* =========================================================================
   Buyer page — warmer components (same tokens; tone shift only)
   ========================================================================= */

/* ---- Numbered walk-through (worked example) ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: step; }
.steps li { position: relative; padding-left: 3.75rem; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.25rem; top: 2.75rem; bottom: -1.6rem;
  width: 1px; background: linear-gradient(180deg, var(--gold), var(--line-strong));
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-ink);
  background: var(--paper-2);
  font-family: var(--serif); font-weight: 500; font-size: 1.05rem;
  display: grid; place-items: center; z-index: 1;
}
.section--paper2 .steps li::before { background: var(--paper); }
.steps h3 { font-size: 1.14rem; font-weight: 600; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.steps strong { color: var(--ink); font-weight: 600; }

/* ---- Titled info cards (costs, who-it's-for) ---- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.section--paper2 .info-card { background: var(--paper); }
.info-card__sub {
  color: var(--gold-ink); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .3rem;
}
.info-card > h3 { font-size: 1.24rem; font-weight: 600; margin-bottom: 1.1rem; }

/* ---- Neutral dash list (costs, "may not be a fit") ---- */
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.dash-list li { position: relative; padding-left: 1.5rem; color: var(--text-muted); font-size: .96rem; line-height: 1.55; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 2px; border-radius: 2px; background: var(--gold); }

/* ---- Questions list ---- */
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 2rem; grid-template-columns: repeat(2, 1fr); }
.q-list li { position: relative; padding-left: 2rem; color: var(--text); font-size: 1rem; line-height: 1.5; }
.q-list li::before {
  content: "?"; position: absolute; left: 0; top: .05rem;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-ink); background: var(--paper-2);
  font-family: var(--serif); font-weight: 600; font-size: .85rem;
  display: grid; place-items: center; line-height: 1;
}
.section--paper2 .q-list li::before { background: var(--paper); }

@media (max-width: 880px) {
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .q-list { grid-template-columns: 1fr; }
}

/* Three-up feature row (e.g. "if you're not ready" outcomes) */
.features--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .features--3 { grid-template-columns: 1fr; }
}

/* =========================================================================
   About page — contact methods (no form; plain mailto/tel links)
   ========================================================================= */
.contact-methods {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 54rem;
}
.contact-method {
  display: flex; align-items: center; gap: 1.15rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none; color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.section--paper2 .contact-method { background: var(--paper); }
.contact-method:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-1); }
.contact-method__icon {
  flex: none; width: 3rem; height: 3rem; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold-light);
}
.contact-method__label {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 .2rem;
}
.contact-method__value {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--ink); margin: 0; line-height: 1.25; overflow-wrap: anywhere;
}
@media (max-width: 640px) { .contact-methods { grid-template-columns: 1fr; } }

/* ---- Person (portrait beside bio) ---- */
.person {
  display: grid;
  grid-template-columns: minmax(0, 230px) 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.person__media { margin: 0; }
.person__frame {          /* fixed 1:1 box — crop is guaranteed square */
  position: relative; width: 100%; padding-top: 100%;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
}
.person__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
.person__caption {
  margin: 1.05rem 0 0; padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-size: .9rem; color: var(--text-muted); line-height: 1.45;
}
.person__caption strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: .1rem; }
.person .prose { padding-top: .25rem; }
.person .prose p { max-width: 40rem; }
@media (max-width: 700px) {
  .person { grid-template-columns: 1fr; gap: 1.75rem; }
  .person__media { max-width: 220px; }
}

/* Portrait on its own — larger, centred, no bio beside it */
.person--solo {
  grid-template-columns: 1fr;
  max-width: 30rem;
  margin-inline: auto;
}
.person--solo .person__caption {
  max-width: 22rem;
  margin: 1.4rem auto 0;
  padding: 1.1rem 0 0;
  border-left: 0;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}
@media (max-width: 700px) {
  .person--solo { max-width: 22rem; }
  .person--solo .person__media { max-width: none; }
}

/* =========================================================================
   POP model calculator
   ========================================================================= */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

/* ---- Inputs panel ---- */
.calc__panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-1);
}
.section--paper2 .calc__panel { background: var(--paper); }
.calc__panel-title {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.35rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}

.calc-fields { display: grid; gap: 1.05rem; }
.calc-field { margin: 0; display: grid; gap: .4rem; }
.calc-field label {
  font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.calc-field__note { font-weight: 400; color: var(--text-muted); }

.calc-input {
  display: flex; align-items: stretch;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.section--paper2 .calc-input { background: var(--paper-2); }
.calc-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 138, 69, .16);
}
.calc-input input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .7rem .85rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.4;
}
.calc-input input:focus { outline: none; }
.calc-input__unit {
  flex: none;
  display: grid; place-items: center;
  padding-inline: .85rem;
  background: var(--paper-3);
  color: var(--text-muted);
  font-size: .92rem; font-weight: 600;
  white-space: nowrap;
}
.calc-input--prefix .calc-input__unit { border-right: 1px solid var(--line); }
.calc-input--suffix .calc-input__unit { border-left: 1px solid var(--line); }
.calc-input--prefix input { padding-left: .7rem; }

/* Hide the native spinners — the values are typed, not nudged */
.calc-input input::-webkit-outer-spin-button,
.calc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.calc__reset {
  margin-top: 1.5rem;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 10px;
  padding: .7rem 1rem;
  font-family: var(--sans);
  font-size: .92rem; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.calc__reset:hover { color: var(--ink); border-color: var(--gold); background: rgba(181, 138, 69, .08); }

/* ---- Results ---- */
.calc__results { height: 100%; }
.figure-grid--2 { grid-template-columns: repeat(2, 1fr); }
.calc__results .figure__label { line-height: 1.35; min-height: 2.7em; }
.calc__results .figure__value { font-size: clamp(1.3rem, 2vw, 1.65rem); }
/* Only the unit marks are gold and reduced — the computed number is not */
.calc__results .figure__value [data-calc-out] { color: var(--paper); font-size: 1em; }
.figure-card__note strong { color: var(--paper); font-weight: 600; }
.figure-card__note strong span:first-child { color: var(--gold-light); }
.calc__disclaimer {
  position: relative; z-index: 1;
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--navy-line);
  font-size: .86rem;
  color: var(--paper-text-muted);
}

@media (max-width: 880px) {
  .calc { grid-template-columns: 1fr; }
  .calc__panel { max-width: 34rem; }
  .calc-fields { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .calc-fields { grid-template-columns: 1fr; }
  .figure-grid--2 { grid-template-columns: 1fr; }
  .calc__results .figure__label { min-height: 0; }
  .calc__panel { max-width: none; }
}
