/* DBV Solutions site. Navy forward, editorial, calm. */
:root {
  --navy: #0B1F4D;
  --night: #010720;
  --night-2: #0A1636;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --text: #111111;
  --muted: #111111; /* client request Oct 19: no grey text on light backgrounds */
  --rule: #D8DEE8;
  --rule-dark: #24345E;
  --brass: #C59A45;
  --brass-ink: #8A6520;
  --blue: #2F4FB3;
  --ok: #1D6B47;
  --err: #A3302B;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 62ch; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: block; color: var(--navy); text-decoration: none; }
.wordmark { display: block; width: 212px; height: auto; overflow: visible; }
.wm-bar { fill: var(--brass); }
.wm-name { fill: currentColor; font-family: var(--serif); letter-spacing: -0.01em; }
.wm-tag { fill: var(--muted); font-family: var(--sans); font-weight: 500; letter-spacing: .02em; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.footer-brand .wm-tag { fill: #A9B4CE; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; align-items: center; gap: 4px; }
.nav-desktop a, .nav-mobile a { display: block; padding: 8px 11px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; border-radius: var(--radius); }
.nav-desktop a:hover { background: var(--paper); color: var(--navy); }
.nav-desktop a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav-desktop .nav-cta { background: var(--navy); color: #fff; padding: 9px 16px; margin-left: 8px; border-radius: var(--radius); }
.nav-desktop .nav-cta:hover, .nav-desktop .nav-cta[aria-current="page"] { background: var(--night); color: #fff; box-shadow: none; border-radius: var(--radius); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--navy); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; content: ""; }
.burger::before { position: absolute; top: -6px; } .burger::after { position: absolute; top: 6px; }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px; box-shadow: 0 18px 40px rgba(1,7,32,.14); }
.nav-mobile a { padding: 12px 12px; font-size: 16px; }
.nav-mobile a[aria-current="page"] { background: var(--paper); }
@media (max-width: 1080px) { .nav-desktop { display: none; } .nav-mobile { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--sans); padding: 15px 22px; border-radius: var(--radius); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--night); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-accent { background: var(--brass); color: var(--night); }
.btn-accent:hover { background: #D8AE5C; color: var(--night); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.on-dark .btn-ghost, .dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-ghost:hover, .dark .btn-ghost:hover { background: #fff; color: var(--night); }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.tight { padding: clamp(48px, 6vw, 72px) 0; }
.paper { background: var(--paper); }
.dark { background: var(--night); color: #C9D2E6; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a { color: #fff; }
.dark .lede, .dark .muted { color: #A9B4CE; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 19px; }
.dark .section-head p { color: #A9B4CE; }
.kicker { font: 600 14px/1.3 var(--sans); color: var(--brass-ink); margin: 0 0 14px; letter-spacing: .01em; }
.dark .kicker { color: var(--brass); }

/* Page head */
.page-head { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 18ch; }
.page-head.wide h1 { max-width: 24ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Home hero */
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); background: linear-gradient(180deg, var(--paper), #fff 85%); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 17ch; font-size: clamp(38px, 4.8vw, 60px); }
.hero-figure { margin: 0; }
.hero-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0; }
.stats div { padding: 26px 20px 24px; border-left: 1px solid var(--rule); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font: 600 clamp(32px, 3.6vw, 44px)/1 var(--serif); color: var(--navy); margin-bottom: 8px; }
.stats dd { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.35; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } .stats div:nth-child(-n+2) { border-top: 0; } }

/* Columns */
.cols { display: grid; gap: clamp(28px, 4vw, 48px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.col-item { border-top: 2px solid var(--navy); padding-top: 18px; }
.dark .col-item { border-top-color: var(--brass); }
.col-item h3 { margin-bottom: 10px; }
.col-item p:last-child { margin-bottom: 0; }
.col-item .more { font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split.center { align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }

/* Lists */
.tick { list-style: none; padding: 0; margin: 0; }
.tick li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.tick li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 2px; background: var(--brass); }
.dark .tick li { border-color: var(--rule-dark); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 15px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; }
.namegrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.namegrid li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
@media (max-width: 860px) { .namegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.values div { padding: 22px 0; border-top: 1px solid var(--rule); }
.values h3 { font-size: 20px; margin-bottom: 6px; }
.values p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

/* Quote */
.quote { font: 400 clamp(22px, 2.4vw, 30px)/1.4 var(--serif); color: var(--navy); margin: 0; max-width: 34ch; }
.quote footer { font: 500 15px/1.4 var(--sans); color: var(--muted); margin-top: 14px; }
.dark .quote { color: #fff; }
.dark .quote footer { color: #A9B4CE; }

/* Images */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.photo img { width: 100%; }
.photo figcaption, .shot figcaption { font-size: 14px; color: var(--muted); padding-top: 10px; }
.banner-photo { aspect-ratio: 21 / 8; object-fit: cover; width: 100%; border-radius: var(--radius); }
.portrait { border-radius: var(--radius); width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; }

/* Product screenshots */
.shot { margin: 0; }
.shot .frame { border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(1,7,32,.04), 0 24px 48px -24px rgba(1,7,32,.28); background: #fff; }
.dark .shot .frame { border-color: var(--rule-dark); }
.dark .shot figcaption { color: #A9B4CE; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; counter-reset: s; }
.steps li { counter-increment: s; padding: 20px 0 20px 46px; border-top: 1px solid var(--rule); position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 18px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); font: 600 14px/27px var(--sans); text-align: center; }
.steps strong { display: block; color: var(--navy); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Client wordmarks */
.wordmarks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px 44px; align-items: baseline; }
.wordmarks li { font: 600 21px/1.3 var(--serif); color: var(--text); letter-spacing: -0.005em; }
@media (max-width: 640px) { .wordmarks { gap: 12px 28px; } .wordmarks li { font-size: 18px; } }

/* Ecosystem */
.eco-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .eco-wrap { grid-template-columns: 1fr; } }
.eco-svg { width: 100%; height: auto; display: block; overflow: visible; }
.eco-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 3 6; }
.eco-person { fill: var(--brass-ink); font-family: var(--sans); font-weight: 600; letter-spacing: 4px; paint-order: stroke; stroke: #fff; stroke-width: 10px; stroke-linejoin: round; }
.eco-edge { stroke: #5A6B92; stroke-width: 1.6; transition: stroke .2s, opacity .2s; }
.eco-edge-core { stroke: var(--navy); stroke-width: 2; }
.eco-arrowhead { fill: #5A6B92; }
.eco-hub circle { fill: var(--navy); stroke: #fff; stroke-width: 3; transition: fill .2s; }
.eco-hub-label { fill: #fff; font-family: var(--sans); font-weight: 600; pointer-events: none; }
.eco-node circle { fill: #fff; stroke: var(--navy); stroke-width: 2; transition: fill .2s, stroke .2s; }
.eco-node-label { fill: var(--navy); font-family: var(--sans); font-weight: 500; pointer-events: none; }
.eco-net circle { stroke: var(--brass); stroke-dasharray: 4 3; }
.eco-center circle { fill: var(--navy); }
.eco-center .eco-center-outer { fill: none; stroke: var(--navy); stroke-width: 5; }
.eco-center-label { fill: #fff; font-family: var(--serif); font-weight: 600; letter-spacing: 1px; pointer-events: none; }
.eco-svg a { cursor: pointer; outline: none; }
.eco-svg a:hover circle, .eco-svg a:focus-visible circle, .eco-svg a.is-active circle { stroke: var(--brass); stroke-width: 4; }
.eco-svg a.eco-hub:hover circle, .eco-svg a.eco-hub.is-active circle, .eco-svg a.eco-hub:focus-visible circle { fill: var(--night); }
.eco-svg a.eco-node.is-active circle { fill: #FBF3E2; }
.eco-svg.has-focus .eco-edges { opacity: .25; }
.eco-svg.has-focus .eco-edges.is-lit { opacity: 1; }
.eco-panel { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 26px 22px; }
.eco-panel h2 { font-size: 28px; }
.eco-panel p { color: var(--text); }
.eco-panel .hint { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .eco-panel { position: static; } }
.legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.legend li { border-top: 2px solid var(--navy); padding-top: 14px; }
.legend strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.legend span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; } }
@media (max-width: 480px) { .legend { grid-template-columns: 1fr; } }
.hub-block { padding: 40px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); scroll-margin-top: 96px; }
.hub-block:first-of-type { border-top: 0; }
.hub-block h3 { font-size: 28px; }
.hub-nodes { list-style: none; margin: 0; padding: 0; }
.hub-nodes li { padding: 14px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 96px; }
.hub-nodes li:first-child { padding-top: 0; }
.hub-nodes strong { color: var(--navy); }
.hub-nodes li:target { background: #FBF3E2; padding-left: 10px; padding-right: 10px; border-radius: 4px; }
@media (max-width: 760px) { .hub-block { grid-template-columns: 1fr; } }

/* Book */
.book-hero { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 760px) { .book-hero { grid-template-columns: 1fr; } .book-hero .cover { max-width: 260px; } }
.cover { margin: 0; filter: drop-shadow(0 16px 22px rgba(0,0,0,.45)); }
.cover figcaption { font-size: 13px; color: #A9B4CE; margin-top: 12px; text-align: center; }
.book-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 22px 0 0; font-size: 15px; }
.book-facts dt { color: #A9B4CE; }
.book-facts dd { margin: 0; color: #fff; }
.chapters { columns: 2; column-gap: 48px; padding: 0; list-style: none; counter-reset: ch; margin: 0; }
.chapters li { break-inside: avoid; counter-increment: ch; padding: 12px 0 12px 44px; border-top: 1px solid var(--rule); position: relative; }
.chapters li::before { content: counter(ch); position: absolute; left: 0; top: 12px; font: 600 18px/1.3 var(--serif); color: var(--brass-ink); width: 32px; }
.chapters strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 19px; font-weight: 600; }
.chapters span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .chapters { columns: 1; } }
.signup-card { background: var(--night-2); border: 1px solid var(--rule-dark); border-radius: 10px; padding: clamp(22px, 3vw, 34px); }

/* Forms */
.form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form label { font-size: 15px; font-weight: 600; color: var(--text); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select { font: 400 16px/1.4 var(--sans); padding: 13px 14px; border: 1px solid #B9C2D3; border-radius: var(--radius); background: #fff; color: var(--text); width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--navy); outline: 3px solid rgba(197,154,69,.45); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: var(--err); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-status { margin: 10px 0 0; font-size: 15px; font-weight: 600; min-height: 1px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-inline { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 0 12px; align-items: end; }
.form-inline .field { margin-bottom: 0; }
.form-inline .btn { height: 49px; }
.form-inline .form-note, .form-inline .form-status { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-inline { grid-template-columns: 1fr; gap: 12px; } }
.on-dark label { color: #E3E8F3; }
.on-dark .opt, .on-dark .form-note { color: #95A1BD; }
.on-dark input { background: #0F1D44; border-color: #34477A; color: #fff; }
.on-dark .form-status.ok { color: #7FD3A8; }
.on-dark .form-status.err { color: #FF9C94; }
.form.is-done .field, .form.is-done button { display: none; }

/* FAQ */
.faq h2 { margin-bottom: 24px; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--sans); color: var(--navy); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary h3 { margin: 0; font-size: 20px; }
.faq-a { padding: 0 0 20px; max-width: 70ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* Insights */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 30px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.post-list .meta { font-size: 14px; color: var(--muted); }
.post-list h2, .post-list h3 { font-size: 26px; margin-bottom: 8px; }
.post-list h2 a, .post-list h3 a { text-decoration: none; color: var(--navy); }
.post-list h2 a:hover, .post-list h3 a:hover { text-decoration: underline; }
.post-list p { margin: 0; color: var(--muted); max-width: 66ch; }
@media (max-width: 640px) { .post-list li { grid-template-columns: 1fr; gap: 6px; } }
.article { padding: clamp(48px, 6vw, 80px) 0; }
.article-head { max-width: 700px; margin: 0 auto 40px; }
.article-head h1 { font-size: clamp(34px, 4.6vw, 54px); }
.article-meta { font-size: 15px; color: var(--muted); }
.article-body { max-width: 700px; margin: 0 auto; font: 400 19px/1.7 var(--serif); color: var(--text); }
.article-body h2 { font-size: 29px; margin: 1.6em 0 .5em; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass); font-style: italic; color: var(--navy); }
.article-body .source { font: 400 15px/1.6 var(--sans); color: var(--muted); border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 36px; }
.article-body .flow { font: 600 16px/1.6 var(--sans); color: var(--navy); background: var(--paper); padding: 14px 18px; border-radius: var(--radius); }
.article-aside { max-width: 700px; margin: 48px auto 0; }

/* Footer */
.site-footer { background: var(--night); color: #A9B4CE; padding: 72px 0 32px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1.6fr; gap: 40px; }
.footer-h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.footer-signup .form-inline { grid-template-columns: 1fr; gap: 10px; }
.footer-legal { border-top: 1px solid var(--rule-dark); margin-top: 48px; padding-top: 20px; font-size: 13px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utility */
.center-text { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.callout { border-left: 3px solid var(--brass); margin: 1.6em 0; padding: 4px 0 4px 22px; color: var(--navy); font-family: var(--serif); font-size: 23px; line-height: 1.45; max-width: 52ch; }
.callout footer { font: 400 15px/1.5 var(--sans); color: var(--muted); margin-top: 10px; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 26px; }

.split.portrait-split { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
@media (max-width: 860px) { .split.portrait-split { grid-template-columns: 1fr; } }

/* ================================================================
   Motion. Progressive enhancement: every element is visible without
   JavaScript, in print, and with reduced motion. Hidden start states
   are gated behind html.js (set inline in <head>) or classes that
   site.js adds itself.
   ================================================================ */
:root { --ease: cubic-bezier(.22, .8, .24, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes crawl { to { stroke-dashoffset: -90; } }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes panelIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes sheen { 0% { transform: translateX(-130%); } 28%, 100% { transform: translateX(130%); } }

/* Header: condenses after the first scroll. Margin offsets the height change so content never jumps. */
.site-header { transition: box-shadow .35s var(--ease), margin .35s var(--ease); }
.header-in { transition: height .35s var(--ease); }
.wordmark { transition: width .35s var(--ease); }
.site-header.is-condensed { margin-bottom: 12px; box-shadow: 0 10px 30px -18px rgba(1,7,32,.35); }
.site-header.is-condensed .header-in { height: 60px; }
.site-header.is-condensed .wordmark { width: 186px; }

/* Nav: underline slides in from the left */
.nav-desktop a:not(.nav-cta) { position: relative; transition: color .2s; }
.nav-desktop a:not(.nav-cta)::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left center; transition: transform .4s var(--ease); }
.nav-desktop a:not(.nav-cta):hover { background: transparent; }
.nav-desktop a:not(.nav-cta):hover::after, .nav-desktop a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.nav-desktop a[aria-current="page"]:not(.nav-cta) { box-shadow: none; border-radius: var(--radius); }
.nav-desktop .nav-cta { transition: background .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }

/* Buttons and links */
.btn { transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active { transform: scale(.98); transition-duration: .08s; }
.more::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .btn:hover, .nav-desktop .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(1,7,32,.55); }
  .btn-accent:hover { box-shadow: 0 12px 26px -12px rgba(197,154,69,.75); }
  .btn:active { transform: scale(.98); box-shadow: none; }
  .more:hover::after { transform: translateX(4px); }

  /* Editorial cards: lift, and a brass rule draws across the top */
  .col-item, .values > div, .legend li { position: relative; transition: transform .45s var(--ease); }
  .col-item::before, .values > div::before, .legend li::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease); }
  .values > div::before { top: -1px; }
  .col-item:hover, .values > div:hover, .legend li:hover { transform: translateY(-3px); }
  .col-item:hover::before, .values > div:hover::before, .legend li:hover::before { transform: scaleX(1); }
  .contact-card, .signup-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .contact-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(1,7,32,.4); }
  .post-list h2 a, .post-list h3 a { transition: color .2s; }
  .post-list li > div { transition: transform .45s var(--ease); }
  .post-list li:hover > div { transform: translateX(6px); }
  .shot .frame { transition: box-shadow .5s var(--ease), translate .5s var(--ease); }
  .shot:hover .frame { translate: 0 -4px; box-shadow: 0 1px 0 rgba(1,7,32,.04), 0 36px 64px -30px rgba(1,7,32,.42); }
}

/* Scroll reveals: site.js adds .rv only to elements below the fold, then .in when they enter */
.js .rv { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Page intros: headline words, then lede and actions */
.w { display: inline-block; }
.js .hero h1 .w { animation: rise .9s var(--ease) both; animation-delay: calc(100ms + var(--w) * 55ms); }
.js .hero .lede { animation: rise .9s var(--ease) .55s both; }
.js .hero .actions { animation: rise .9s var(--ease) .7s both; }
.js .hero-figure figcaption { animation: fade 1s ease 1.8s both; }
.js .page-head .wrap > *, .js .article-head > * { animation: rise .85s var(--ease) both; }
.js .page-head .wrap > :nth-child(2), .js .article-head > :nth-child(2) { animation-delay: .08s; }
.js .page-head .wrap > :nth-child(3), .js .article-head > :nth-child(3) { animation-delay: .18s; }
.js .page-head .wrap > :nth-child(4), .js .article-head > :nth-child(4) { animation-delay: .28s; }
.js .intro h1 .w { animation: rise 1s var(--ease) both; animation-delay: calc(.2s + var(--w) * 90ms); }
.js .intro .book-hero > div > :not(h1) { animation: rise .9s var(--ease) .45s both; }
.js .intro .book-hero > div > .crumbs { animation-delay: .05s; }
.js .intro .cover { animation: rise 1.2s var(--ease) both, float 9s ease-in-out 1.4s infinite; }
.faq-item[open] .faq-a { animation: panelIn .45s var(--ease) both; }
.stats dt { font-variant-numeric: tabular-nums; }

/* Ecosystem diagram: draw in, breathe, pulse */
.eco-edge { stroke-dasharray: 1; }
.js .eco-svg .eco-edge { animation: draw 1s var(--ease-io) both; animation-delay: calc(.45s + var(--i) * .12s); }
.js .eco-svg .eco-hub { animation: pop .8s var(--ease) both; animation-delay: calc(.15s + var(--i) * .09s); transform-box: fill-box; transform-origin: center; }
.js .eco-svg .eco-node { animation: pop .7s var(--ease) both; animation-delay: calc(.95s + var(--i) * .12s); transform-box: fill-box; transform-origin: center; }
.js .eco-svg .eco-center { animation: pop 1s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.js .eco-svg .eco-person { animation: fade .8s ease 1.3s both; }
.js .eco-svg .eco-arrowhead { animation: fade .5s ease 1.2s both; }
.js .eco-svg .eco-ring { animation: fade 1s ease .2s both, crawl 40s linear 1.2s infinite; }
.eco-svg.is-drawn .eco-edge, .eco-svg.is-drawn .eco-hub, .eco-svg.is-drawn .eco-node, .eco-svg.is-drawn .eco-center { animation: none; }
.eco-glow { pointer-events: none; transform-box: fill-box; transform-origin: center; animation: breathe 6s ease-in-out infinite; }
.eco-pulse { fill: var(--brass); pointer-events: none; transition: opacity .35s; }
.eco-pulse:not(.is-core) { opacity: 0; }

/* Ecosystem: hover or select a hub to light its connectors and activities */
.eco-svg a, .eco-svg .eco-edges { transition: opacity .35s var(--ease); }
.eco-edges .eco-edge { transition: stroke .3s, stroke-width .3s; }
.eco-svg.has-focus g.eco-edges, .eco-svg.has-focus a.eco-hub, .eco-svg.has-focus a.eco-node { opacity: .3; }
.eco-svg.has-focus g.is-lit, .eco-svg.has-focus a.is-lit { opacity: 1; }
.eco-svg.has-hover g.eco-edges, .eco-svg.has-hover a.eco-hub, .eco-svg.has-hover a.eco-node { opacity: .2; }
.eco-svg.has-hover g.is-rel, .eco-svg.has-hover a.is-rel { opacity: 1; }
.eco-svg g.is-lit .eco-edge, .eco-svg.has-hover g.is-rel .eco-edge { stroke: var(--brass-ink); stroke-width: 2.4; }
.eco-svg.has-focus .eco-pulse.is-lit, .eco-svg.has-hover .eco-pulse.is-rel { opacity: 1; }
.eco-svg.has-hover .eco-pulse.is-core:not(.is-rel) { opacity: .15; }
.eco-panel { transition: border-color .4s, box-shadow .4s; }
.eco-panel.swap { border-color: #E3CF9F; box-shadow: 0 20px 40px -30px rgba(1,7,32,.35); }
.eco-panel.swap h2, .eco-panel.swap .eco-text, .eco-panel.swap .eco-more { animation: panelIn .45s var(--ease) both; }
.eco-panel.swap .eco-text { animation-delay: .06s; }
.eco-panel.swap .eco-more { animation-delay: .12s; display: inline-block; }

/* Home hero: mouse parallax (site.js sets --px and --py between -1 and 1) */
.hero-figure .eco-svg { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 8px); }
.hero-figure .eco-glow { translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -14px); }
.hero-figure .eco-ring { translate: calc(var(--px, 0) * -5px) calc(var(--py, 0) * -4px); }

/* Client names: slow marquee, only when site.js turns it on */
.marquee.is-on { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.marquee.is-on .marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 80s) linear infinite; }
.marquee.is-on:hover .marquee-track, .marquee.is-on:focus-within .marquee-track { animation-play-state: paused; }
.marquee.is-on .namegrid { display: flex; flex-shrink: 0; gap: 0; }
.marquee.is-on .namegrid li { border: 0; padding: 22px 0; font: 600 22px/1.3 var(--serif); color: var(--text); white-space: nowrap; letter-spacing: -0.005em; }
.marquee.is-on .namegrid li::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); margin: 0 30px; vertical-align: middle; }
@media (max-width: 640px) { .marquee.is-on .namegrid li { font-size: 19px; padding: 18px 0; } .marquee.is-on .namegrid li::after { margin: 0 20px; } }

/* Product screenshots: browser frame, tilts flat as it scrolls into view */
.shot .frame { position: relative; padding-top: 30px; background: #EEF1F6; }
.shot .frame::before { content: ""; position: absolute; top: 11px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: #CBD2DE; box-shadow: 14px 0 0 #CBD2DE, 28px 0 0 #CBD2DE; }
.shot .frame img { border-top: 1px solid var(--rule); }
.dark .shot .frame { background: #0F1D44; }
@supports (animation-timeline: view()) {
  .shot { perspective: 1600px; }
  .js .shot .frame { animation: shotTilt linear both; animation-timeline: view(); animation-range: cover 0% cover 38%; transform-origin: 50% 100%; }
  @keyframes shotTilt { from { transform: rotateX(10deg) scale(.965); } to { transform: none; } }
}

/* Book cover: 3D tilt toward the cursor, soft sheen sweep */
.cover[data-tilt] { perspective: 1100px; }
.cover-3d { display: block; position: relative; overflow: hidden; border-radius: 2px 5px 5px 2px; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .7s var(--ease); will-change: transform; }
.cover-3d img { width: 100%; }
.cover-3d::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.16), transparent 55%); opacity: var(--go, 0); transition: opacity .5s; }
.cover-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.13) 47%, rgba(255,255,255,.03) 54%, transparent 64%); transform: translateX(-130%); animation: sheen 8s var(--ease-io) 1.6s infinite; }

/* Reduced motion: no movement, everything shown in its final state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .cover-sheen, .eco-pulses { display: none; }
  .cover-3d { transform: none !important; }
  .hero-figure .eco-svg, .hero-figure .eco-glow, .hero-figure .eco-ring { translate: none; }
}

/* Print: no motion, no hidden states */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; box-shadow: none; margin: 0; }
  .cover-sheen, .eco-pulses, .marquee-clone { display: none !important; }
  .cover-3d { transform: none !important; }
  .marquee.is-on { -webkit-mask-image: none; mask-image: none; border: 0; }
  .marquee.is-on .marquee-track { display: block; width: auto; }
  .marquee.is-on .namegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
  .marquee.is-on .namegrid li { white-space: normal; padding: 8px 0; font: 400 15px/1.4 var(--sans); }
  .marquee.is-on .namegrid li::after { display: none; }
}

/* Events: empty schedule state */
.schedule-empty { border: 1px dashed #9AA6BD; border-radius: 10px; padding: clamp(24px, 4vw, 40px); max-width: 760px; background: var(--paper); }
.schedule-empty h3 { font-size: 26px; }
.form input::placeholder, .form textarea::placeholder { color: #4A4A4A; opacity: 1; }
.on-dark input::placeholder { color: #A9B4CE; }
/* Light text on dark sections after the grey to black change */
.dark .crumbs, .dark .crumbs a { color: #A9B4CE; }
.dark .btn-accent, .dark .btn-accent:hover { color: var(--night); }
/* Home diagram: hubs link to public pages */
.hero-figure .eco-svg a { cursor: pointer; }
.hero-figure .eco-svg a circle { transition: fill .25s, stroke .25s, stroke-width .25s; }
.hero-figure .eco-svg a:focus-visible circle { stroke: var(--brass); stroke-width: 6; }
.hero-figure .eco-svg a.eco-center:hover circle:not(.eco-center-outer), .hero-figure .eco-svg a.eco-center:focus-visible circle:not(.eco-center-outer) { fill: var(--night); }
