/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold-bright: #F0D868;
  --gold-mid:    #C2A45C;
  --gold-muted:  #948150;   /* was #8A7848; lifted to pass WCAG AA (~5:1) on card backgrounds */
  --gold-dim:    #5A4E28;
  --gold-pale:   #FEFAF0;
  --bg-deep:     #060508;
  --bg-raised:   #0D0B10;
  --bg-card:     #111018;
  --border:      #26211A;
  --text-body:   #B0A898;
  --text-soft:   #706860;   /* borders/decoration only: fails AA for small text */
  --text-meta:   #948B7F;   /* small/meta text: ~6:1 on --bg-deep */
  --status-live: #6FBF8A;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-body);
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────── */
.gold {
  background: linear-gradient(180deg, #FEFAF0 0%, #F0D868 12%, #C2A45C 48%, #524438 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--gold-pale); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.05rem; font-weight: 600; color: var(--gold-mid); letter-spacing: 0.04em; text-transform: uppercase; }
p  { color: var(--text-body); }

a { color: var(--gold-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }

/* ── Layout ────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── NAV ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6,5,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  -webkit-text-fill-color: unset;
  color: inherit;
}

.nav-logo img { width: 36px; height: 36px; object-fit: contain; filter: brightness(1.8) contrast(1.1); }

.nav-wordmark {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--gold-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-meta);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-mid); }

.btn-nav {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dim);
  color: var(--gold-mid) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: all 0.2s !important;
}

.btn-nav:hover {
  background: var(--gold-dim) !important;
  color: var(--gold-pale) !important;
  border-color: var(--gold-mid) !important;
}

/* ── HERO ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 640px; height: 640px;
  background: url('/src/assets/octagon-watermark.svg') center/contain no-repeat;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-muted);
  border: 1px solid var(--gold-dim);
  padding: 0.35rem 0.9rem;
  margin-bottom: 2rem;
}

.hero-headline { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 2.8rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}

.btn-primary {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #C2A45C, #8A6A28);
  color: #0D0B10;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #0D0B10;
}

.btn-secondary {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gold-dim);
  color: var(--gold-mid);
}

.hero-badge { flex-shrink: 0; }
.hero-badge img { width: 220px; height: 246px; object-fit: contain; }

/* ── STATS STRIP ───────────────────────────────────── */
#stats {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-meta);
}

/* ── SECTION LABELS ────────────────────────────────── */
.section-label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 3rem;
}

.section-label h3 { margin: 0; white-space: nowrap; }

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── SERVICES ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg-card);
  padding: 2rem 1.8rem;
  transition: background 0.2s;
  position: relative;
}

.service-card:hover { background: var(--bg-raised); }

.service-icon {
  width: 36px; height: 36px;
  margin-bottom: 1.2rem;
  color: var(--gold-muted);
}

.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-pale);
  margin-bottom: 0.7rem;
}

.service-desc {
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-rate {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}


.featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  border: 1px solid var(--gold-dim);
  padding: 0.18rem 0.55rem;
  border-radius: 1px;
}

/* ── WHY LX FOUNDRY ────────────────────────────────── */
#why { background: var(--bg-raised); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.why-number {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-pale);
  margin-bottom: 0.65rem;
}

.why-body { font-size: 0.88rem; line-height: 1.7; }

/* ── WHO WE WORK WITH ──────────────────────────────── */
.clients-intro {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.persona {
  background: var(--bg-card);
  padding: 1.6rem 1.5rem;
}

.persona-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-mid);
  margin-bottom: 0.5rem;
}

.persona-desc { font-size: 0.84rem; line-height: 1.65; }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sector-item {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.sector-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.4rem;
}

.sector-name { font-size: 0.86rem; }

/* ── CONTACT / CTA ─────────────────────────────────── */
#contact {
  background: var(--bg-raised);
  text-align: center;
  padding: 8rem 0;
}

.contact-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1.8rem;
}

.contact-headline {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-sub {
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-mid);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  margin-bottom: 3rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--gold-bright);
  border-color: var(--gold-mid);
}

.contact-ctas {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex; align-items: center; gap: 0.75rem;
}

.footer-left img { width: 28px; height: 28px; object-fit: contain; }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-meta);
  letter-spacing: 0.05em;
}

.footer-right {
  font-size: 0.72rem;
  color: var(--text-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-tagline { margin-top: 0.2rem; }

.service-card--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 1rem;
}

.service-card--cta, .service-card--cta:hover { background: #0A0810; }
.service-card--wide { grid-column: span 2; }

.service-card--cta p { font-size: 0.95rem; line-height: 1.7; color: var(--gold-pale); }
.service-card--cta .btn-primary { font-size: 0.78rem; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { display: flex; justify-content: center; order: -1; }
  .hero-badge img { width: 160px; height: 176px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════
   Components added for the multi-page site (2026-10)
   ════════════════════════════════════════════════════ */

/* ── Base & accessibility ──────────────────────────── */
@media (max-width: 600px) { .container, .nav-inner { padding-left: 1.25rem; padding-right: 1.25rem; } }

html { scroll-padding-top: 88px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold-mid); color: #0D0B10;
  padding: 0.6rem 1rem; font-weight: 600; font-size: 0.85rem;
}
.skip-link:focus { top: 1rem; color: #0D0B10; }

/* Section labels are h2 on the new pages; same look as the old h3 labels. */
.section-label h2 {
  margin: 0; white-space: nowrap;
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gold-mid);
}

/* Card titles that are real headings but keep the card look. */
h3.service-name, h3.why-title, h3.persona-role { text-transform: none; letter-spacing: normal; }
h3.service-name { font-size: 1rem; color: var(--gold-pale); }
h3.why-title { font-size: 1.05rem; color: var(--gold-pale); }
h3.persona-role { font-size: 0.88rem; color: var(--gold-mid); }

.section-intro { max-width: 720px; font-size: 1.02rem; line-height: 1.8; margin: -1rem 0 2.5rem; }

/* External links get an arrow marker (decorative for assistive tech). */
a[target="_blank"]:not(.no-arrow):not(.chip):not(.stat-item)::after {
  content: "\00a0\2197";
  content: "\00a0\2197" / "";
  font-size: 0.85em;
}

.asof { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-meta); }

/* Links inside running text are underlined, so they don't rely on colour alone. */
.cs-lede a, .tr-intro a, .boson-intro p a, .build-body a, .section-intro a,
.credit-note a, .fact-list a, .status-box p a, .verify-list .how a,
.cs-body section > p:not(.tl-links) a, .cs-body li a {
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 3px;
}

.hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem; color: var(--gold-mid);
  overflow-wrap: anywhere; word-break: break-all;
}

/* ── Nav: current page + mobile toggle ─────────────── */
.nav-links a[aria-current="page"] { color: var(--gold-mid); }
.nav-links a { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; color: var(--gold-mid);
  border: 1px solid var(--border); border-radius: 2px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.site-nav.is-open .nav-toggle .icon-open { display: none; }
.site-nav.is-open .nav-toggle .icon-close { display: block; }

/* The six nav items need ~960px; below that, use the menu. */
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6,5,8,0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 2rem 1.25rem;
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: 1px solid var(--gold-dim); }
  .nav-links .btn-nav { margin-top: 0.9rem; text-align: center; }
}

/* ── Hero proof ────────────────────────────────────── */
.hero-headline .proof-line { display: block; color: var(--gold-pale); }

.proof-chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  list-style: none; margin-top: 2.4rem;
}

.proof-chips a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; letter-spacing: 0.03em;
  color: var(--text-body);
  border: 1px solid var(--border);
  background: rgba(17,16,24,0.75);
  padding: 0.45rem 0.8rem; border-radius: 2px;
}
.proof-chips a:hover { border-color: var(--gold-dim); color: var(--gold-pale); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-mid); flex: none; }
.dot--live { background: var(--status-live); box-shadow: 0 0 0 3px rgba(111,191,138,0.18); }

/* ── Stats (linked) ────────────────────────────────── */
a.stat-item { display: block; color: inherit; transition: background 0.2s; }
a.stat-item:hover { background: var(--bg-raised); }
a.stat-item:hover .stat-label { color: var(--gold-mid); }
.stats-asof { text-align: center; margin-top: 1.2rem; }

/* ── Status badges & chips ─────────────────────────── */
.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-body);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 0.28rem 0.65rem;
  background: rgba(6,5,8,0.45);
  line-height: 1.4;
}
.status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-mid); flex: none;
}
.status[data-status="live"] { color: #CFE9D8; border-color: rgba(111,191,138,0.4); }
.status[data-status="live"]::before { background: var(--status-live); box-shadow: 0 0 0 3px rgba(111,191,138,0.18); }
.status[data-status="retired"]::before { background: transparent; border: 1px solid var(--text-meta); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.chip {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--text-meta);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 0.2rem 0.55rem;
}
a.chip { color: var(--text-body); }
a.chip:hover { color: var(--gold-pale); border-color: var(--gold-dim); }
.chip--credit { border-style: dashed; }

/* ── Work (project cards) ──────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr; max-width: 640px; } }

.project-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-dim);
  border-radius: 2px;
  padding: 1.8rem 1.6rem;
  transition: border-color 0.2s;
}
.project-card:hover { border-top-color: var(--gold-mid); }

.project-name {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em;
  text-transform: none; color: var(--gold-pale);
}
.project-name a { color: inherit; }
.project-name a:hover { color: var(--gold-bright); }
.project-tagline { font-size: 0.95rem; color: var(--gold-mid); line-height: 1.5; }
.project-desc { font-size: 0.88rem; line-height: 1.7; }

.project-facts {
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.9rem;
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem; margin-top: auto;
}
.project-facts dt { color: var(--text-meta); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.66rem; padding-top: 0.2rem; }
.project-facts dd { color: var(--text-body); }

.project-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.82rem; font-weight: 600; }

.status-legend {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center;
  margin-top: 1.6rem; font-size: 0.8rem; color: var(--text-meta);
}
.status-legend .status { font-size: 0.62rem; }
.status-legend + .asof { display: block; margin-top: 0.9rem; }

/* ── Testimonial ───────────────────────────────────── */
.testimonial-band { background: var(--bg-raised); padding: 5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.testimonial {
  max-width: 880px; margin: 0 auto;
  padding-left: 2rem;
  border-left: 3px solid var(--gold-mid);
}
.testimonial blockquote p {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65; font-weight: 300;
  color: var(--gold-pale);
}
.testimonial blockquote p + p { margin-top: 1rem; }
.testimonial figcaption { margin-top: 1.6rem; font-size: 0.86rem; color: var(--text-meta); line-height: 1.6; }
.testimonial figcaption .who { color: var(--gold-mid); }
.testimonial .source-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; }

/* ── How we build (vibe coding vs senior-led) ──────── */
.build-lede { max-width: 860px; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.6; font-weight: 300; color: var(--gold-pale); }
.build-lede strong { font-weight: 700; color: var(--gold-mid); }
.build-body { max-width: 780px; margin-top: 1.4rem; line-height: 1.8; }
.build-body p + p { margin-top: 0.9rem; }

.compare { margin-top: 3rem; border: 1px solid var(--border); }
.compare-head, .compare-row { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); }
.compare-head > div {
  padding: 0.9rem 1.4rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.compare-head .compare-vibe { color: var(--text-meta); }
.compare-head .compare-lx { color: var(--gold-mid); background: var(--bg-card); }
.compare-row > div { padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--border); }
.compare-row:last-child > div { border-bottom: none; }
.compare-row .compare-vibe { color: var(--text-meta); font-size: 0.9rem; display: flex; gap: 0.6rem; align-items: baseline; }
.compare-row .compare-vibe::before { content: '\2715'; font-size: 0.75rem; color: var(--text-soft); }
.compare-row .compare-lx { background: var(--bg-card); }
.compare-lx .compare-title {
  margin-bottom: 0.3rem;
  font-size: 0.98rem; font-weight: 700; letter-spacing: normal; text-transform: none;
  color: var(--gold-pale);
}
.compare-lx p { font-size: 0.86rem; line-height: 1.7; }
.compare-lx .evidence { margin-top: 0.55rem; font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.compare-label { display: none; }

.callout {
  margin-top: 2rem; padding: 1.6rem 1.8rem;
  border: 1px solid var(--gold-dim);
  background: rgba(194,164,92,0.05);
}
.callout p { color: var(--gold-pale); line-height: 1.75; }
.callout p + p { margin-top: 0.6rem; }
.callout .callout-source { font-size: 0.82rem; color: var(--text-meta); }

@media (max-width: 760px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-bottom: none; }
  .compare-row { border-bottom: 1px solid var(--border); }
  .compare-row:last-child { border-bottom: none; }
  .compare-row .compare-vibe { padding-bottom: 0.2rem; }
  .compare-label {
    display: block; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold-mid); margin-bottom: 0.4rem;
  }
}

/* ── Boson ─────────────────────────────────────────── */
#boson { background: var(--bg-raised); }

.boson-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; margin-bottom: 2.6rem; align-items: start; }
.boson-intro p { line-height: 1.8; }
.boson-intro p + p { margin-top: 0.9rem; }

.fact-list { list-style: none; display: grid; gap: 0.7rem; font-size: 0.86rem; }
.fact-list li { padding-left: 1.3rem; position: relative; }
.fact-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border: 1px solid var(--gold-mid); transform: rotate(45deg);
}

.boson-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.boson-tile { background: var(--bg-card); padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.boson-tile h3 { text-transform: none; letter-spacing: normal; font-size: 0.95rem; font-weight: 700; color: var(--gold-pale); }
.role { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-mid); font-weight: 600; }
a.role:hover { color: var(--gold-bright); }
.boson-tile p { font-size: 0.82rem; line-height: 1.6; }
.tile-links { margin-top: auto; padding-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; font-size: 0.78rem; }

.credit-note { margin-top: 1.2rem; font-size: 0.78rem; color: var(--text-meta); line-height: 1.6; }
.more-link { display: inline-block; margin-top: 1.4rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 1000px) { .boson-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .boson-intro { grid-template-columns: 1fr; gap: 1.8rem; } }
@media (max-width: 560px) { .boson-grid { grid-template-columns: 1fr; } }

/* ── Capabilities matrix ───────────────────────────── */
.cap-matrix { border-top: 1px solid var(--border); }
.cap-head, .cap-row { display: grid; grid-template-columns: 1.05fr 1.35fr 1.6fr; gap: 1.6rem; }
.cap-head {
  padding: 0.8rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-meta);
}
.cap-row { padding: 1.25rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.cap-name { font-size: 0.98rem; font-weight: 700; text-transform: none; letter-spacing: normal; color: var(--gold-pale); }
.cap-name small { display: block; margin-top: 0.25rem; font-size: 0.8rem; font-weight: 400; color: var(--text-meta); line-height: 1.5; }
.cap-stack { font-size: 0.84rem; line-height: 1.65; }

@media (max-width: 820px) {
  .cap-head { display: none; }
  .cap-row { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ── Services: core offer + process ────────────────── */
.service-card--core {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.6rem;
  padding: 2.4rem 2.2rem;
  background: #110F0D;
}
.service-card--core:hover { background: #140F0A; }
.service-card--core h3.service-name { font-size: 1.45rem; letter-spacing: -0.01em; }
.service-card--core .service-desc { font-size: 0.92rem; }
.service-proof { font-size: 0.82rem; font-weight: 600; }

/* Keep the engagement line at the bottom of every service card. */
.service-card:not(.service-card--core):not(.service-card--cta) { display: flex; flex-direction: column; }
.service-card:not(.service-card--core):not(.service-card--cta) .service-rate { margin-top: auto; }

.deliverables-title { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-meta); margin-bottom: 0.8rem; }
.deliverables { list-style: none; display: grid; gap: 0.6rem; font-size: 0.86rem; }
.deliverables li { padding-left: 1.4rem; position: relative; line-height: 1.6; }
.deliverables li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border: 1px solid var(--gold-mid); transform: rotate(45deg);
}

.service-card .service-proof { display: block; margin: -0.4rem 0 1rem; }

.process {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
  margin-top: 3rem;
}
.process li { counter-increment: step; border-top: 2px solid var(--gold-dim); padding-top: 1rem; }
.process li::before {
  content: "0" counter(step);
  display: block; margin-bottom: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.25em; color: var(--gold-mid);
}
.process h4 { margin-bottom: 0.35rem; font-size: 0.95rem; font-weight: 700; color: var(--gold-pale); }
.process p { font-size: 0.84rem; line-height: 1.65; }
.process-title { margin-top: 3.5rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-mid); font-weight: 600; }
.process-title + .process { margin-top: 1.4rem; }

@media (max-width: 900px) {
  .service-card--core { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem 1.8rem; }
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.why-proof { margin-top: 1rem; font-size: 0.8rem; font-weight: 600; }

/* ── Founder ───────────────────────────────────────── */
.founder-card {
  display: grid; grid-template-columns: 170px 1fr; gap: 3rem; align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.6rem;
}
.founder-badge { background: var(--bg-deep); border: 1px solid var(--border); padding: 0.6rem; }
.founder-badge img { width: 100%; max-width: 150px; height: auto; display: block; margin: 0 auto; }
.founder-name { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--gold-pale); }
.founder-role { margin-top: 0.35rem; font-size: 0.9rem; color: var(--gold-mid); line-height: 1.6; }
.founder-bio { margin-top: 1.3rem; }
.founder-bio p { font-size: 0.95rem; line-height: 1.8; }
.founder-bio p + p { margin-top: 0.8rem; }
.founder-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.4rem; font-size: 0.85rem; font-weight: 600; }

.mini-timeline {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 2.2rem; border-top: 1px solid var(--gold-dim);
}
.mini-timeline li { position: relative; padding: 1.1rem 1rem 0 0; }
.mini-timeline li::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; background: var(--gold-mid); transform: rotate(45deg);
}
.mini-timeline .yr { display: block; font-size: 1rem; font-weight: 700; color: var(--gold-pale); }
.mini-timeline .what { display: block; font-size: 0.8rem; line-height: 1.5; color: var(--text-meta); }

@media (max-width: 800px) {
  .founder-card { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.8rem; }
  .founder-badge { width: 120px; }
  .mini-timeline { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
}

/* ── Contact & footer ──────────────────────────────── */
.contact-social {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem;
  margin-top: 2.6rem;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col h2 {
  margin-bottom: 0.8rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-meta);
}
.footer-col ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.84rem; }
.footer-col a { color: var(--text-body); }
.footer-col a:hover { color: var(--gold-mid); }
.footer-legal {
  margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.74rem; line-height: 1.75; color: var(--text-meta);
}
.footer-legal a { color: var(--text-meta); text-decoration: underline; text-decoration-color: var(--gold-dim); }
.footer-legal a:hover { color: var(--gold-mid); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Sub-pages (case studies, track record, 404) ───── */
.page-sub main { padding-top: 69px; }

.page-hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 0 3.2rem;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  background: url('/src/assets/octagon-watermark.svg') center/contain no-repeat;
  opacity: 0.6; pointer-events: none;
}
.page-hero > .container { position: relative; }

.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.8rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-meta);
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: var(--gold-dim); }
.breadcrumb a { color: var(--text-meta); }
.breadcrumb a:hover { color: var(--gold-mid); }

.cs-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin-bottom: 1.4rem; }
.cs-context { font-size: 0.8rem; color: var(--text-meta); }
.cs-title { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
.cs-tagline { display: block; margin-top: 0.6rem; font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 700; line-height: 1.3; }
.cs-lede { max-width: 740px; margin-top: 1.4rem; font-size: 1.05rem; line-height: 1.8; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.cs-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem;
  align-items: start; padding: 4rem 0 2rem;
}
.cs-facts {
  grid-column: 2; grid-row: 1;
  position: sticky; top: 96px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 1.5rem;
}
.cs-facts h2 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 1rem; }
.cs-facts dl { display: grid; gap: 0.9rem; }
.cs-facts dt { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-meta); }
.cs-facts dd { margin-top: 0.15rem; font-size: 0.84rem; line-height: 1.55; color: var(--text-body); }
.cs-facts dd .chips { margin-top: 0.3rem; }

.cs-body { grid-column: 1; grid-row: 1; min-width: 0; }
.cs-body section { padding: 0 0 3rem; }
.cs-body h2 { font-size: 1.45rem; margin-bottom: 1rem; color: var(--gold-pale); }
.cs-body h3 { margin: 1.4rem 0 0.5rem; font-size: 0.8rem; }
.cs-body p, .cs-body li { font-size: 0.95rem; line-height: 1.8; }
.cs-body p + p { margin-top: 0.9rem; }
.cs-body ul, .cs-body ol { padding-left: 1.2rem; margin-top: 0.8rem; display: grid; gap: 0.45rem; }
.cs-body li::marker { color: var(--gold-mid); }
.cs-body ul.chips { display: flex; padding-left: 0; gap: 0.4rem; margin-top: 0.4rem; }
.cs-body ul.chips li { font-size: inherit; line-height: inherit; }
.cs-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; color: var(--gold-mid); }
.cs-body em { color: var(--gold-pale); font-style: normal; font-weight: 600; }
.cs-body strong { color: var(--gold-pale); }

.steps { list-style: none; padding-left: 0 !important; counter-reset: st; gap: 0.9rem !important; }
.steps li { counter-increment: st; position: relative; padding-left: 2.6rem; }
.steps li::before {
  content: counter(st);
  position: absolute; left: 0; top: 0.1rem;
  width: 1.8rem; height: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-dim); color: var(--gold-mid);
  font-size: 0.78rem; font-weight: 700;
}

.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.highlight {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dim);
  padding: 1.2rem 1.3rem;
}
.highlight h3 { margin: 0 0 0.4rem; font-size: 0.92rem; text-transform: none; letter-spacing: normal; color: var(--gold-pale); font-weight: 700; }
.cs-body .highlight p { font-size: 0.86rem; line-height: 1.7; }

.status-box { border: 1px solid var(--border); background: var(--bg-card); padding: 1.4rem 1.5rem; }
.status-box .status { margin-bottom: 0.8rem; }

.verify-list { list-style: none; padding-left: 0 !important; border-top: 1px solid var(--border); gap: 0 !important; }
.verify-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.2rem; }
.verify-list .claim { color: var(--gold-pale); font-weight: 600; font-size: 0.9rem; }
.verify-list .how { font-size: 0.86rem; }
.verify-list .how a { font-weight: 600; }

.cs-quote { margin-top: 2.2rem; }
.cs-quote .testimonial { margin: 0; }

.cs-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  margin: 1rem 0 0;
}
.cs-pager a { background: var(--bg-card); padding: 1.3rem 1.5rem; display: block; }
.cs-pager a:hover { background: var(--bg-raised); }
.cs-pager .pager-dir { display: block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-meta); }
.cs-pager .pager-name { display: block; margin-top: 0.3rem; font-weight: 700; color: var(--gold-pale); }
.cs-pager .pager-next { text-align: right; }

.cs-cta { text-align: center; padding: 5rem 0; margin-top: 4rem; background: var(--bg-raised); border-top: 1px solid var(--border); }
.cs-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.cs-cta p { max-width: 560px; margin: 0 auto 2rem; }
.cs-cta .contact-ctas { margin-top: 0; }

@media (max-width: 900px) {
  .cs-layout { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 2.6rem; }
  .cs-facts { grid-column: 1; grid-row: auto; position: static; }
  .cs-body { grid-row: auto; }
  .page-hero::before { width: 300px; height: 300px; right: -140px; opacity: 0.35; }
}
@media (max-width: 640px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .verify-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .cs-pager { grid-template-columns: 1fr; }
  .cs-pager .pager-next { text-align: left; }
}

/* ── Track record ──────────────────────────────────── */
.jump-links { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin-top: 2rem; }
.jump-links a {
  display: inline-block; padding: 0.45rem 0.85rem;
  border: 1px solid var(--border); border-radius: 2px;
  font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.jump-links a:hover { border-color: var(--gold-dim); }

.tr-section { padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.tr-section:nth-of-type(even) { background: var(--bg-raised); }
.tr-intro { max-width: 760px; line-height: 1.8; margin-bottom: 2.2rem; }
.tr-intro + .tr-intro { margin-top: -1.2rem; }
.tr-intro.tr-after { margin: 2rem 0 1rem; }

.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; list-style: none; }
.area-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.area-card h3 { text-transform: none; letter-spacing: normal; font-size: 1rem; font-weight: 700; color: var(--gold-pale); }
.area-card .area-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.area-card p { font-size: 0.86rem; line-height: 1.7; }

.timeline { list-style: none; position: relative; margin-left: 0.4rem; border-left: 1px solid var(--gold-dim); }
.timeline > li { position: relative; padding: 0 0 2.4rem 2rem; }
.timeline > li:last-child { padding-bottom: 0.5rem; }
.timeline > li::before {
  content: ''; position: absolute; left: -5px; top: 0.4rem;
  width: 9px; height: 9px; background: var(--gold-mid); transform: rotate(45deg);
}
.tl-date { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-mid); font-weight: 600; }
.tl-title { margin-top: 0.25rem; font-size: 1.12rem; text-transform: none; letter-spacing: normal; color: var(--gold-pale); font-weight: 700; }
.tl-title small { font-size: 0.82rem; font-weight: 400; color: var(--text-meta); }
.tl-desc { margin-top: 0.35rem; font-size: 0.9rem; line-height: 1.7; }
.tl-result { margin-top: 0.4rem; font-size: 0.88rem; color: var(--gold-pale); }
.tl-result::before { content: '\25C6\00a0'; color: var(--gold-mid); font-size: 0.7rem; }
.tl-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 0.6rem; font-size: 0.8rem; font-weight: 600; }

.roles { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.roles li { background: var(--bg-card); padding: 1.2rem 1.3rem; }
.roles .yr { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-meta); }
.roles .role-name { display: block; margin-top: 0.3rem; color: var(--gold-pale); font-size: 0.95rem; font-weight: 700; }

@media (max-width: 860px) {
  .area-list { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }

/* ── 404 ───────────────────────────────────────────── */
.notfound { min-height: 70vh; display: flex; align-items: center; padding: 6rem 0; }
.notfound .code { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-mid); }
.notfound h1 { margin: 1rem 0 1.2rem; }
.notfound p { max-width: 560px; }
.notfound .hero-ctas { margin-top: 2rem; }
