/* Clayton Cybernetics — site styles. Security printing: intaglio navy on bond paper, red for the primary action only; Caslon headings, Franklin text. */
:root {
  --navy: #13294B; --navy-2: #0E1F3A; --navy-3: #1D3A66;
  --red: #B22234; --red-2: #921B2A;
  --parch: #E7ECE5; --paper: #F1F3EE; --white: #fff;
  --gold: #9A7642; --green: #3E5C4B; --ink: #18202E; --muted: #55606F; --line: rgba(19,41,75,.14); --hair: rgba(19,41,75,.14);
  --serif: "Libre Caslon Text", "Big Caslon", Baskerville, Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px; --r-sm: 6px; --r-plate: 2px; --shadow: none; --shadow-lift: 0 2px 4px rgba(19,41,75,.06), 0 18px 36px -14px rgba(19,41,75,.28);
  --wrap: 1180px; --hdr: 74px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.icon { width: 22px; height: 22px; flex: none; vertical-align: -5px; }
.icon.sm { width: 16px; height: 16px; vertical-align: -3px; }
.icon.lg { width: 34px; height: 34px; color: var(--green); }
.icon.xl { width: 120px; height: 120px; color: rgba(245,239,225,.9); stroke-width: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.35em; border-radius: var(--r); font: 600 .98rem/1.1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-ghost-light { border-color: rgba(245,239,225,.55); color: var(--parch); }
.btn-ghost-light:hover { border-color: var(--parch); color: #fff; background: rgba(255,255,255,.06); }

/* top bar + header */
.topbar { background: var(--navy-2); color: #CBD3E1; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; margin-left: 1.2rem; }
.topbar a:hover { color: #E9C9A1; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand img { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.45rem/1 var(--serif); color: var(--navy); letter-spacing: .08em; }
.brand-sub { font: 400 .72rem/1 var(--serif); color: var(--navy); letter-spacing: .42em; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: .2rem; }
.nav-list > li > a, .nav-list summary { display: block; padding: .6rem .8rem; font-weight: 500; font-size: .96rem; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; border-radius: var(--r); }
.nav-list summary::-webkit-details-marker { display: none; }
.nav-list summary::after { content: "▾"; font-size: .7em; margin-left: .35em; color: var(--muted); }
.nav-list > li > a:hover, .nav-list summary:hover, [aria-current="page"] { color: var(--navy); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--line); list-style: none; margin: 0; padding: .5rem; min-width: 270px; border-radius: var(--r); z-index: 60; }
.menu-wide { min-width: 330px; }
.menu a { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; text-decoration: none; color: var(--ink); border-radius: var(--r); font-size: .95rem; }
.menu a:hover { background: var(--parch); color: var(--navy); }
.menu .icon { color: var(--green); }
.menu-all a { font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .7rem; border-radius: 0; }
.nav-toggle { display: none; }

/* hero */
.navy h2, .navy h3, .cta-band h2 { color: #fff; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 40em; }
.lead-dark { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.page-hero { padding: 3.6rem 0 3.2rem; }
.page-hero-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.light-link { color: #F0D6B3; }
.byline { color: var(--muted); font-size: .92rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: .9rem 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.crumbs a { color: var(--muted); }

/* proof strip */
.proof { background: var(--parch); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 1.8rem 1.2rem; text-align: center; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-item strong { display: block; font: 700 2rem/1.1 var(--serif); color: var(--navy); }
.proof-item span { font-size: .9rem; color: var(--muted); }

/* sections */
.section { padding: 4.2rem 0; }
/* two plain (or two parchment) sections in a row read as one: no double padding between them */
.section:not(.alt):not(.navy) + .section:not(.alt):not(.navy), .section.alt + .section.alt { padding-top: 0; }
.section.alt { background: var(--parch); }
.section.navy { background-position: left -300px center; }
.navy p { color: #D2DAE7; }
.section-intro { max-width: 46em; color: var(--muted); font-size: 1.1rem; margin-bottom: 2.4rem; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3.5rem; align-items: start; }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
a.card:hover { border-color: var(--gold); color: var(--ink); }
.card h3 { margin: .8rem 0 .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card-more { font-weight: 600; font-size: .9rem; color: var(--navy-3); display: inline-flex; gap: .35rem; align-items: center; }
.card-meta { font-size: .85rem; color: var(--muted); }
.cta-card { background: var(--navy); border-color: var(--navy); }
.cta-card h3 { color: #fff; } .cta-card p { color: #D2DAE7; } .cta-card .icon.lg, .cta-card .card-more { color: #F0D6B3; }
a.cta-card:hover { color: #fff; border-color: var(--navy); }
.industry-card { border-top: 4px solid var(--navy); }
.industry-card h3 { margin-top: 0; }
.insight-card { border-top: 4px solid var(--navy); }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .01em; color: var(--navy-3); background: var(--parch); padding: .4em .6em; border-radius: 2px; }
.tag-light { background: rgba(255,255,255,.12); color: #F0D6B3; margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .6rem; }
.checks .icon { color: var(--green); margin-top: 3px; }
.navy .checks .icon { color: #E3C68F; }
.values .value { border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.values h3 { font-size: 1.25rem; }

.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.packages-inline { margin-bottom: 2rem; }
.package { background: #fff; border: 1px solid var(--line); padding: 1.3rem; border-radius: var(--r); }
.packages > .package:last-child:nth-child(odd) { grid-column: 1 / -1; }
.package h3 { margin: .5rem 0 .4rem; font-size: 1.05rem; }
.package p { font-size: .92rem; color: var(--muted); margin: 0; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.process li { background: #fff; border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--r); position: relative; }
.process-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem/1 var(--serif); margin-bottom: .8rem; }
.process p { color: var(--muted); font-size: .95rem; margin: 0; }

.glance { background: var(--parch); border-left: 4px solid var(--gold); padding: 1.3rem 1.5rem; margin-bottom: 2rem; border-radius: 0 var(--r) var(--r) 0; }
.h-small { font: 700 .8rem/1.2 var(--sans); letter-spacing: .01em; color: var(--navy); margin-bottom: .7rem; }
.aside { display: grid; gap: 1.4rem; position: sticky; top: 110px; }
.aside-card { background: #fff; border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--r); }
.contact-card address { font-style: normal; margin-bottom: .8rem; }
.big-phone { font: 700 1.5rem/1.2 var(--serif); color: var(--navy); text-decoration: none; }

.leader-portrait img { max-width: 420px; width: 100%; margin: 0 auto; }
.founder-role { color: var(--navy-3); font-weight: 600; margin-top: -.3rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-item summary { cursor: pointer; font: 700 1.1rem/1.35 var(--serif); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; color: var(--navy-3); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: .8rem 0 0; color: var(--muted); }

/* forms */
.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 2rem; border-radius: var(--r); display: grid; gap: 1rem; }
.form-compact { padding: 1.5rem; }
.form-title { font-size: 1.5rem; margin: 0; }
.form-compact .form-title { font-size: 1.25rem; }
.form-note, .form-fine { color: var(--muted); font-size: .88rem; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-compact .form-row { grid-template-columns: 1fr; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--sans); padding: .7rem .8rem; border: 1px solid #CFC6B3; border-radius: var(--r); background: var(--paper); color: var(--ink); width: 100%; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* prose */
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose p, .prose li { font-size: 1.06rem; }
.sources { padding-left: 1.2rem; font-size: .92rem; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }

/* share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0; }
.share-label { font: 600 .78rem/1 var(--sans); letter-spacing: .01em; color: var(--muted); margin-right: .3rem; }
.share-btn { font: 600 .85rem/1 var(--sans); padding: .55rem .8rem; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: var(--r); text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--navy); color: var(--navy); }

/* media kit */
.logos figure, .kit-card { margin: 0; }
.logos img { margin: 0 auto 1rem; max-height: 220px; width: auto; }
.kit-card img { border: 1px solid var(--line); margin-bottom: 1rem; }
.kit-copy { font-size: .92rem; color: var(--muted); }
.kit-card .share { margin: .8rem 0; }
.swatches { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.swatches li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.swatches li::before { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 1px solid var(--line); }
.section h2 + .grid, .cards-kit { margin-bottom: 3rem; }

/* CTA band + footer */
.cta-band { padding: 3.2rem 0; background-position: right -300px center; }
.cta-band-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { color: #D2DAE7; margin: 0; }
.cta-band-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.site-footer { background: var(--navy-2); color: #B8C2D4; padding: 3.6rem 0 1.4rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr 1.2fr 1fr; gap: 2.4rem; }
.site-footer h3 { font: 600 .78rem/1 var(--sans); letter-spacing: .01em; color: #E9C9A1; margin: 0 0 1rem; }
.site-footer h3 ~ h3 { margin-top: 1.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #E3E8F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.nap { font-style: normal; line-height: 1.9; }
.nap strong { color: #fff; }
.footer-slogan { font: italic 400 1.05rem/1.4 var(--serif); color: var(--parch); margin-top: 1rem; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-top: 1.3rem; font-size: .84rem; }
.mobile-bar { display: none; }

/* responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; margin-left: auto; font: 600 .95rem var(--sans); padding: .55rem .9rem; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: var(--r); }
  .brand { margin-right: 0; }
  .js .nav { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .8rem 24px 1.2rem; }
  .js .nav.open { display: flex; }
  .no-js .nav { position: static; box-shadow: none; }
  .no-js .header-in { flex-wrap: wrap; }
  .nav-list { flex-direction: column; }
  .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 .8rem; min-width: 0; }
  .nav-cta { display: inline-flex; justify-content: center; }
  .split, .page-hero-in { grid-template-columns: 1fr; }
  .page-hero-icon { display: none; }
  .aside { position: static; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item { border-top: 1px solid var(--line); }
  .topbar-in span:first-child { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .wrap { padding: 0 16px; }
  .section { padding: 2.8rem 0; }
  .grid-4, .packages, .process, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.2rem; }
  .brand img { width: 46px; height: 46px; }
  .topbar a + a { display: none; }
  .form { padding: 1.3rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: 1rem; font-weight: 600; text-decoration: none; background: var(--navy); color: #fff; }
  .mobile-bar .mobile-bar-cta { background: var(--red); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .mobile-bar, .cta-band, .share, .form { display: none !important; } body { background: #fff; } }

/* article pages */
.prose .h-small { font: 700 .8rem/1.2 var(--sans); letter-spacing: .14em; margin-top: 0; }
article .page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* ---- track record, technologies, diagrams (2026-11-08) ---- */
.case-card { display: flex; flex-direction: column; gap: .4rem; }
.case-card h3 { margin-top: .35rem; }
.case-scale { font: 600 .82rem/1.3 var(--sans); color: var(--navy-3); letter-spacing: .01em; margin-top: auto; padding-top: .6rem; }
.more-link { margin-top: 1.6rem; }
.tech-cloud { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-cloud li { border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: var(--r-sm); padding: .32rem .8rem; font: 500 .88rem/1.2 var(--sans); }
.tech-group .tech-cloud li { font-size: .82rem; background: var(--paper); }
.case-facts { display: grid; gap: .6rem; margin: 1rem 0 1.4rem; padding: 1rem 1.1rem; background: var(--parch); border-left: 3px solid var(--gold); }
.case-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; }
.case-facts dt { font: 600 .78rem/1.5 var(--sans); letter-spacing: .01em; color: var(--muted); }
.case-facts dd { margin: 0; }
.case-result { border-top: 1px solid var(--line); padding-top: 1rem; }
.checks-2col { columns: 2; column-gap: 2.5rem; }
.checks-2col li { break-inside: avoid; }
.dept { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .8rem; }
.dept li { display: grid; gap: .1rem; }
.dept span { color: var(--muted); font-size: .92rem; }
.diagram { margin: 1.5rem 0 0; }
.diagram svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.diagram figcaption { color: var(--muted); font-size: .92rem; margin-top: .6rem; }
@media (max-width: 900px) { .checks-2col { columns: 1; } }
@media (max-width: 600px) { .case-facts div { grid-template-columns: 1fr; gap: 0; } }

/* ---- UX pass (2026-11-07): rhythm, card alignment, case studies, leadership, phones ---- */
/* cards: equal-height content, call-to-action pinned to the bottom */
a.card, .card.founder { display: flex; flex-direction: column; }
a.card > .icon.lg { flex: none; }
a.card .card-more, a.card .card-meta { margin-top: auto; padding-top: .4rem; }
a.card p { margin-bottom: 1rem; }
.case-card .case-scale { margin-top: auto; }
.case-card .case-scale + .card-more { margin-top: .5rem; }

/* diagrams: legible on phones by scrolling inside a frame */
.diagram-section .diagram { max-width: 1000px; }
.diagram-frame { border-radius: 8px; }
.diagram-frame:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.diagram-hint { display: none; }
@media (max-width: 700px) {
  .diagram-frame { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 4px;
    background: linear-gradient(90deg, var(--paper) 30%, transparent) left / 24px 100% no-repeat local, linear-gradient(270deg, var(--paper) 30%, transparent) right / 24px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(19,41,75,.35), transparent) left / 10px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(19,41,75,.35), transparent) right / 10px 100% no-repeat scroll; }
  .diagram-frame > svg { width: 680px !important; max-width: none; }
  .diagram-hint { display: flex; align-items: center; gap: .4rem; margin: .55rem 0 0; font: 600 .8rem/1.3 var(--sans); letter-spacing: .04em; color: var(--muted); }
  .diagram-hint .icon { color: var(--green); }
}

/* compact share row instead of a full-height section */
.share-section { padding: .5rem 0 2.5rem; }
.share-section .share { margin: 0; }

/* closing block: next steps + form */
.next-steps .split { align-items: center; }
.steps { list-style: none; margin: 1.6rem 0 1.8rem; padding: 0; display: grid; gap: 1.1rem; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: -14px; width: 2px; background: linear-gradient(var(--gold), rgba(176,141,87,.25)); }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 1.05rem/1 var(--serif); box-shadow: 0 0 0 4px var(--parch), 0 0 0 5px var(--gold); }
.steps h3 { font-size: 1.1rem; margin: .45rem 0 .15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.call-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; color: var(--muted); margin: 0; }

/* service process as a ruled timeline */
.process { gap: 2rem 1.6rem; }
.process li { background: none; border: 0; border-top: 2px solid var(--gold); border-radius: 0; padding: 0 .4rem 0 0; }
.process-n { margin-top: -20px; box-shadow: 0 0 0 5px var(--parch); }
.process h3 { margin-top: .2rem; }

/* home leadership */
.leader-split { align-items: center; }

/* Track record: case index */
.case-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); counter-reset: ci; }
.case-index li { border-bottom: 1px solid var(--line); }
.case-index a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1.2rem 0; text-decoration: none; color: var(--ink); min-height: 44px; }
.case-index a:hover .case-index-title { color: var(--navy); }
.case-index a > .icon { color: var(--green); margin-top: .35rem; transition: transform .15s; }
.case-index a:hover > .icon { }
.case-index-body { display: grid; gap: .25rem; }
.case-index-sector { font: 600 .72rem/1.3 var(--sans); letter-spacing: .01em; color: var(--navy-3); }
.case-index-title { font: 700 1.08rem/1.3 var(--serif); color: var(--navy); }
.case-index-scale { font-size: .86rem; color: var(--muted); }

/* Track record: case sections */
.case-head { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: end; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.case-head h2 { margin: .7rem 0 0; max-width: 22em; }
.case .case-facts { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0; margin: 0 0 2.4rem; padding: 0; background: none; border-left: 0; }
.case .case-facts div { display: block; padding: 1.1rem 1.4rem 1.1rem 0; }
.case .case-facts div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.case .case-facts dt { margin-bottom: .25rem; }
.case-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; }
.case-body h3 { font-size: 1.3rem; }
.case-result { margin-top: 1.6rem; padding: 1.3rem 1.5rem; background: var(--navy); color: var(--parch); border-radius: var(--r); border-top: 3px solid var(--gold); }
.case-result .h-small { color: #E3C68F; margin: 0 0 .5rem; }
.case-result p:last-child { font: italic 400 1.15rem/1.5 var(--serif); margin: 0; color: #fff; }
.case-work .checks { margin-bottom: 0; }

/* technologies: masonry-style columns instead of uneven rows */
.tech-groups { columns: 3 300px; column-gap: 1.4rem; }
.tech-groups .tech-group { break-inside: avoid; margin-bottom: 1.4rem; }
.tech-group h3 { margin-top: 0; }

/* About: leadership cards */
.leaders { align-items: stretch; }
.founder-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.founder-head h3 { margin: 0; }
.founder-head .founder-role { margin: .15rem 0 0; }
.monogram { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #F0D6B3; font: 700 1.25rem/1 var(--serif); letter-spacing: .06em;
  box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 4px rgba(240,214,179,.7), inset 0 0 0 7px var(--navy), inset 0 0 0 8px rgba(240,214,179,.35), 0 0 0 3px #fff, 0 0 0 4px var(--gold); }
.founder > p:not(.founder-mail) { color: var(--muted); font-size: .96rem; }
.founder .checks { margin-bottom: 1rem; font-size: .96rem; }
.founder-mail { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .93rem; }

/* About: numbers */
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.number { padding: 1.6rem 1.2rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.number:not(:nth-child(4n+1)) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.number strong { display: block; font: 700 clamp(1.7rem, 2.6vw, 2.2rem)/1.1 var(--serif); color: var(--navy); margin-bottom: .35rem; }
.number span { color: var(--muted); font-size: .92rem; line-height: 1.5; display: block; }

@media (max-width: 1080px) {
  .case-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .number:nth-child(2n) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .case-body { grid-template-columns: 1fr; gap: 1.6rem; }
  .case .case-facts { grid-template-columns: 1fr 1fr; }
  .case .case-facts div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .case .case-facts div:nth-child(2) { padding-left: 0; border-left: 0; }
  .leader-portrait img { max-width: 300px; }
}
@media (max-width: 600px) {
  .proof-item { padding: 1.3rem .7rem; }
  .proof-item strong { font-size: clamp(1.35rem, 6.4vw, 1.7rem); overflow-wrap: anywhere; }
  .proof-item span { font-size: .84rem; line-height: 1.45; display: block; }
  .case-index { grid-template-columns: 1fr; }
  .case-head { grid-template-columns: 1fr; gap: .6rem; }
  .case .case-facts, .case .case-facts div { grid-template-columns: 1fr; }
  .case .case-facts div, .case .case-facts div + div { padding: .8rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number strong { font-size: 1.45rem; overflow-wrap: anywhere; }
  .number span { font-size: .85rem; }
  .leader-portrait img { max-width: 240px; }
  .share-btn { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer li a, .nap a { display: inline-block; padding: .3rem 0; }
  .nav-toggle { min-height: 44px; }
  .process li { padding-left: 0; }
  .call-line .big-phone { font-size: 1.3rem; }
}
.more-copy p { margin: 0 0 1em; }
.more-copy { margin-top: .4rem; }
.overview { padding-top: 2.5rem; padding-bottom: 1rem; }
.tech-nav a { text-decoration: none; }
.lead-sub { color: var(--muted); max-width: 760px; }

/* closing form block: wider two-column form, and no second CTA band right after it */
.next-steps .split { grid-template-columns: 1fr 1.1fr; align-items: start; }
.next-steps .form-compact .form-row { grid-template-columns: 1fr 1fr; }
main:has(> .next-steps:last-child) + .cta-band { display: none; }
.case-index-section { background: var(--parch); }
.case-index-section + .case:not(.alt) { padding-top: 4.2rem; }
@media (max-width: 900px) { .next-steps .split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .next-steps .form-compact .form-row { grid-template-columns: 1fr; } }
/* compact sticky asides (the full form now closes the page in #talk) */
.talk-card .big-phone { display: inline-flex; align-items: center; gap: .4rem; }
.talk-card .btn { margin-top: .9rem; }
.talk-card p { margin-bottom: .4rem; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: flex; align-items: center; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 500; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links .icon { color: var(--green); }
.aside-links a:hover { color: var(--navy); }
.section .share { margin: 2rem 0 0; }
/* diagram sections: copy beside the drawing on wide screens */
.diagram-split { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 3rem; align-items: center; }
.diagram-split .section-intro { margin-bottom: 1rem; font-size: 1.05rem; }
.diagram-split .diagram { margin: 0; max-width: none; }
.diagram-text .more-copy p { color: var(--muted); }
@media (max-width: 1080px) { .diagram-split { grid-template-columns: 1fr; gap: 1.6rem; } .diagram-split .section-intro { margin-bottom: 0; } }
/* FAQ: heading column + answers column */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 3rem; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; gap: 1rem; } .faq-intro { position: static; } .faq-intro .btn { display: none; } }
/* a parchment section right after another one gets a rule instead of losing its padding */
.section.alt + .section.alt.next-steps { padding-top: 4.2rem; border-top: 1px solid var(--line); }
/* experience: caption beside the diagram, centred so the column never looks empty */
/* the shorter column of a two-column block follows the reader instead of leaving a hole */
.case-work { position: sticky; top: 110px; }
.split > .leader-portrait { position: sticky; top: 110px; align-self: start; }
.diagram-text h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
@media (max-width: 900px) { .case-work, .split > .leader-portrait { position: static; } }
.contact-main { display: grid; gap: 1.4rem; align-content: start; }
.receive-card .checks { margin: 0; }
/* page overview paragraphs (copy.json "overview"): full width, two columns, no narrow island */
.section.overview { padding: 2.8rem 0 2.4rem; }
.overview .wrap.narrow { max-width: var(--wrap); }
.overview .more-copy { columns: 2 24em; column-gap: 3.2rem; column-rule: 1px solid var(--line); font-size: 1.08rem; line-height: 1.7; }
.overview .more-copy p { break-inside: avoid; }
.overview .more-copy p:first-child::first-line { font-weight: 600; color: var(--navy); }
.overview + .section:not(.alt):not(.navy) { padding-top: 0; }

/* ---- UX round 2 (2026-11-08) ---- */
/* technologies: two-column card grid, leaders emphasised, no duplicates */
.tech-nav-section { padding: 2rem 0 1rem; }
.tech-nav-section .h-small { margin-bottom: .6rem; }
.tech-nav a { text-decoration: none; display: inline-block; min-height: 24px; }
.tech-nav li:hover { border-color: var(--gold); }
.tech-list { padding-top: 1.4rem; }
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; align-items: stretch; }
.tech-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r); padding: 1.7rem 1.7rem 1.5rem; scroll-margin-top: 96px; display: flex; flex-direction: column; }
.tech-card-head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.tech-card-head h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0; }
.tech-card-copy p { color: var(--muted); font-size: .98rem; }
.tech-card .h-small { margin: 1rem 0 .1rem; color: var(--navy-3); }
.tech-card .tech-cloud { margin-top: .5rem; }
.tech-leaders li { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.tech-card .tech-cloud:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: minmax(0, 1fr); } .tech-card { padding: 1.3rem; } }

/* experience: delivered-list rows, full-width result band */
.case-work .checks li { padding: .65rem 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.case-work .checks li:last-child { border-bottom: 0; }
.case-body .case-result { grid-column: 1 / -1; margin-top: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 2rem; align-items: center; padding: 1.4rem 1.8rem; }
.case-body .case-result .h-small { margin: 0; }
.case-body .case-result p:last-child { font-size: 1.3rem; }
@media (max-width: 700px) { .case-body .case-result { grid-template-columns: 1fr; padding: 1.2rem; } .case-body .case-result p:last-child { font-size: 1.12rem; } }

/* insight articles: contents column + comfortable reading measure */
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 3.5rem; justify-content: center; align-items: start; }
.article-layout:not(:has(.toc)) { grid-template-columns: minmax(0, 720px); }
.toc { position: sticky; top: 110px; border-left: 2px solid var(--gold); padding-left: 1.1rem; max-height: calc(100vh - 140px); overflow: auto; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; gap: .1rem; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: .4rem 0; font-size: .9rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--navy); }
.article-body { font-size: 1.1rem; line-height: 1.8; }
.article-body p, .article-body li { font-size: 1.1rem; }
.article-body > p:first-of-type { font-size: 1.1rem; }
.article-body h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin: 2.8rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.article-body .glance + h2 { border-top: 0; padding-top: 0; margin-top: 2.4rem; }
.article-body h2.h-small { font-size: .8rem; border-top: 0; }
.article-body .glance { padding: 1.5rem 1.7rem; border-left-width: 5px; background: var(--parch); }
.article-body .glance .checks li { margin-bottom: .75rem; font-size: 1.02rem; line-height: 1.6; }
.article-body .glance .checks li:last-child { margin-bottom: 0; }
.article-body .checks { margin-bottom: 1.4rem; }
.article-body .checks li { margin-bottom: .75rem; }
.article-body .sources { margin-top: .8rem; display: grid; gap: .45rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.1rem 1.1rem 2.4rem; }
.article-body .sources a { overflow-wrap: anywhere; }
.article-body h2.h-small:has(+ .sources) { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--navy-3); }
.article-body .aside-card { margin-top: 2rem; border-top: 3px solid var(--navy); }
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 720px); gap: 1.6rem; }
  .toc { position: static; max-height: none; overflow: visible; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 1rem 1.2rem; }
  .toc ol { columns: 2 16em; column-gap: 2rem; display: block; }
  .toc li { break-inside: avoid; }
}
@media (max-width: 600px) { .article-body, .article-body p, .article-body li { font-size: 1.04rem; line-height: 1.72; } .toc a { padding: .55rem 0; } }
/* phones: grid children may shrink, so scrolling diagram frames never widen the page */
.diagram-split > *, .split > *, .hero-in > *, .case-body > * { min-width: 0; }
@media (max-width: 1080px) { .diagram-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .split, .case-body { grid-template-columns: minmax(0, 1fr); } }
/* home technologies: one compact row per practice instead of a wall of pills */
.tech-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.tech-mini-item { display: block; padding: 1.1rem 1.2rem 1.2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tech-mini-item:not(:nth-child(4n+1)) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.tech-mini-item h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.tech-mini-item p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.tech-mini-item:hover h3 { color: var(--navy); }
@media (max-width: 1080px) { .tech-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech-mini-item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; } .tech-mini-item:nth-child(2n) { padding-left: 1.2rem; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .tech-mini { grid-template-columns: minmax(0, 1fr); } .tech-mini-item, .tech-mini-item:nth-child(2n) { padding: .95rem 0; border-left: 0; min-height: 44px; } }

/* reading progress, back to top */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; }
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 55; background: var(--navy); color: #fff; border: 1px solid var(--gold); border-radius: var(--r-sm); padding: .6rem 1rem; font: 600 .85rem/1 var(--sans); cursor: pointer; }
.to-top:hover { background: var(--navy); }
.to-top[hidden] { display: none; }

/* next article, related reads */
.article-body h2.h-small:has(+ .next-article) { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--navy-3); }
.next-article { display: grid; gap: .5rem; background: var(--navy); color: #fff; border-radius: var(--r); padding: 1.6rem 1.7rem; text-decoration: none; border-left: 5px solid var(--gold); }
.next-article strong { font: 700 1.35rem/1.25 var(--serif); }
.next-article span:not(.tag):not(.card-more) { color: #d5dbe8; font-size: 1rem; line-height: 1.6; }
.next-article .card-more { color: var(--gold); font-weight: 600; font-size: .9rem; }
.next-article:hover strong { text-decoration: underline; }
.more-reads { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .1rem; }
.more-reads li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.more-reads span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.aside-read { display: block; text-decoration: none; color: inherit; border-top: 3px solid var(--gold); }
.aside-read h3 { margin: .5rem 0 .4rem; font-size: 1.1rem; }
.aside-read p { color: var(--muted); font-size: .92rem; margin: 0 0 .6rem; }
.aside-read:hover h3 { color: var(--navy); }
@media (max-width: 900px) { .to-top { right: .8rem; bottom: .8rem; } .next-article { padding: 1.3rem; } }

/* Insights category filter: CSS only (radio buttons), works without JS */
.cat-filter { position: relative; }
.cat-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cat-label { display: inline-block; margin: 0 .5rem .6rem 0; padding: .55em 1em; border: 1px solid var(--line, #c9cfdb); border-radius: 999px; font: 600 .85rem/1 var(--sans); cursor: pointer; background: #fff; color: var(--navy, #14213d); }
.cat-label span { opacity: .6; margin-left: .25em; }
.cat-label:hover { border-color: var(--navy); }
.cat-grid { margin-top: 1.2rem; }
.cat-filter:has(#cat-infrastructure:checked) .cat-grid .insight-card:not(.cat-infrastructure) { display: none; }
.cat-filter:has(#cat-regulation:checked) .cat-grid .insight-card:not(.cat-regulation) { display: none; }
.cat-filter:has(#cat-security:checked) .cat-grid .insight-card:not(.cat-security) { display: none; }
.cat-filter:has(#cat-software:checked) .cat-grid .insight-card:not(.cat-software) { display: none; }
.cat-filter:has(#cat-super-intelligence:checked) .cat-grid .insight-card:not(.cat-super-intelligence) { display: none; }

.aside-case { display: block; text-decoration: none; color: inherit; border-top: 3px solid var(--navy, #14213d); }
.aside-case h3 { margin: .5rem 0 .4rem; font-size: 1.1rem; }
.aside-case p { color: var(--muted); font-size: .92rem; margin: 0 0 .6rem; }
.aside-case:hover h3 { color: var(--navy); }

/* technology group pages (2026-11-08 R5) */
.tech-card-head h2 a { color: inherit; text-decoration: none; }
.tech-card-head h2 a:hover { color: var(--navy); }
.tech-card-more { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.split > div > h2 { margin-top: 1.6rem; }
.split > div > p:first-child + h2, .split > div > h2:first-child { margin-top: 0; }
.split > div > .sources { margin-top: .8rem; display: grid; gap: .45rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.1rem 1.1rem 2.4rem; }
.split > div > .sources a { overflow-wrap: anywhere; }
.tech-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.tech-pager .card:last-child { text-align: right; }
.tech-pager h3 { margin: .4rem 0 0; }
@media (max-width: 600px) { .tech-pager { grid-template-columns: minmax(0, 1fr); } .tech-pager .card:last-child { text-align: left; } }

/* round 6: technologies capabilities */
.tech-caps { list-style: none; padding: 0; margin: .5rem 0 0; }
.tech-caps li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; margin-bottom: .35rem; color: var(--ink, inherit); }
.tech-caps .icon { color: var(--green); margin-top: 3px; flex: none; }
.tech-leaders li.tech-more { background: transparent; color: var(--muted); border-style: dashed; font-weight: 500; }
.tech-what { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--r); padding: 1.3rem 1.5rem .6rem; margin-bottom: 1.6rem; }
.tech-what h2 { margin-top: 0; }
.tech-what-list { margin-bottom: .6rem; }

/* round 7: multi-diagram cases, chart frame, global band */
.case-visuals { margin-top: 2.4rem; display: grid; gap: 2.6rem; }
.case-vrow.diagram-split.rev { grid-template-columns: minmax(0, 1.6fr) minmax(0, .75fr); }
.case-vrow.rev > .diagram-text { order: 2; }
.case-vrow .diagram-text h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
@media (max-width: 1080px) { .case-vrow.diagram-split.rev { grid-template-columns: minmax(0, 1fr); } .case-vrow.rev > .diagram-text { order: 0; } .case-visuals { gap: 2rem; } }
.diagram-chart .diagram-frame { padding: .5rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 10px 30px rgba(19,41,75,.10); }
.diagram-chart .diagram-frame > svg { border-radius: 4px; }
.global-band .global-split { align-items: center; }
.global-band h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.global-band .section-intro { color: #D2DAE7; }
.global-band .diagram-frame { box-shadow: 0 0 0 1px rgba(176,141,87,.5), 0 20px 50px rgba(0,0,0,.35); }
.global-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 2.6rem 0 0; border-top: 1px solid rgba(176,141,87,.45); }
.global-stats div { padding: 1.3rem 1.4rem 0 0; }
.global-stats div + div { padding-left: 1.4rem; border-left: 1px solid rgba(176,141,87,.3); }
.global-stats dt { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--serif); color: #E9C9A1; }
.global-stats dd { margin: .3rem 0 0; color: #D2DAE7; font-size: .95rem; }
@media (max-width: 700px) { .global-stats { grid-template-columns: minmax(0, 1fr); } .global-stats div, .global-stats div + div { padding: 1rem 0; border-left: 0; border-bottom: 1px solid rgba(176,141,87,.3); } }

/* ---- per-case pages (round 8) ---- */
.case-title-link { color: inherit; text-decoration: none; }
.case-title-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.case-more { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin: 1.4rem 0 0; }
.case-more-note { font-size: .88rem; color: var(--muted); }
.case .case-body .case-result { margin-top: 0; }
.case-hero h1 { max-width: 22em; }
.case-hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, max-content)); gap: .8rem 3rem; margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); }
.case-hero-facts dt { font: 600 .72rem/1.4 var(--sans); letter-spacing: .01em; color: #E3C68F; }
.case-hero-facts dd { margin: .15rem 0 0; color: #fff; font-size: 1.05rem; }
.h-case { font-size: 1.5rem; }
.case-page .case-body { align-items: start; }
.case-page .case-work .case-result { margin-top: 2rem; }
.case-visuals-section .case-visuals { display: grid; gap: 4rem; }
.case-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; }
.case-links { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.case-links a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; min-height: 44px; }
.case-links a:hover { color: var(--navy); }
.case-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.case-pager a { display: grid; gap: .5rem; align-content: start; padding: 1.3rem 1.5rem; background: var(--navy); color: #fff; border-radius: var(--r); border-left: 5px solid var(--gold); text-decoration: none; }
.case-pager-next { text-align: right; border-left: 0 !important; border-right: 5px solid var(--gold); }
.case-pager strong { font: 700 1.15rem/1.3 var(--serif); }
.case-pager a:hover strong { text-decoration: underline; }
@media (max-width: 700px) { .case-pager { grid-template-columns: 1fr; } .case-pager-next { text-align: left; } }

/* ---- diagram motion starts when the figure scrolls into view (site.js adds .is-live) ---- */
.js .diagram:not(.is-live) svg, .js .diagram:not(.is-live) svg * { animation-play-state: paused !important; }

/* ---- round 9: case contents bar, thumbnails, home numbers strip, technologies filter ---- */
.case-toc { position: sticky; top: calc(var(--hdr) - 1px); z-index: 40; background: rgba(241,243,238,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.case-toc-in { display: flex; align-items: center; gap: 1.2rem; padding-top: .55rem; padding-bottom: .55rem; }
.case-toc-label { flex: none; font: 700 .72rem/1 var(--sans); letter-spacing: .01em; color: var(--navy-3); }
.case-toc ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem .3rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.case-toc ol::-webkit-scrollbar { display: none; }
.case-toc a { display: flex; align-items: center; white-space: nowrap; padding: .3rem .9rem; min-height: 44px; border-radius: 999px; font: 600 .84rem/1.2 var(--sans); color: var(--navy); text-decoration: none; }
.case-toc a:hover { color: var(--navy); }
.case-toc a.is-current { background: var(--navy); color: #fff; }
.case-page [id] { scroll-margin-top: 150px; }
@media (max-width: 700px) { .case-toc-label { display: none; } }

.case-thumb { display: block; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); background: var(--navy); line-height: 0; aspect-ratio: 5 / 3; pointer-events: none; }
.case-thumb svg { width: 100%; height: 100%; display: block; border-radius: 0; box-shadow: none; }
.case-thumb svg, .case-thumb svg * { animation: none !important; transition: none !important; }
.case-card > .case-thumb { margin-bottom: .6rem; }
.aside-case > .case-thumb { margin-bottom: .8rem; }
.case-head { grid-template-columns: auto 1fr auto; }
.case-head-thumb { display: block; width: 220px; align-self: center; }
.case-head-thumb .case-thumb { border-color: var(--gold); }
@media (max-width: 900px) { .case-head { grid-template-columns: auto 1fr; } .case-head-thumb { display: none; } }
@media (max-width: 600px) { .case-head { grid-template-columns: 1fr; } }

.numbers-charts-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin-top: 1.4rem; }
.numbers-charts-grid .diagram { margin: 0; min-width: 0; }
@media (min-width: 1000px) { .numbers-charts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }

.tf-bar { padding: 1.6rem 0 0; }
.tf-bar .h-small { margin-bottom: .6rem; }
.tf-labels { display: flex; flex-wrap: wrap; }
.tf-bar .cat-label { min-height: 44px; display: inline-flex; align-items: center; }
.tf .cat-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tf:has(#tf-net:checked) .tech-list .tech-card:not(.tf-net), .tf:has(#tf-net:checked) .tech-nav-section .tech-nav li:not(.tf-net) { display: none; }
.tf:has(#tf-sec:checked) .tech-list .tech-card:not(.tf-sec), .tf:has(#tf-sec:checked) .tech-nav-section .tech-nav li:not(.tf-sec) { display: none; }
.tf:has(#tf-cloud:checked) .tech-list .tech-card:not(.tf-cloud), .tf:has(#tf-cloud:checked) .tech-nav-section .tech-nav li:not(.tf-cloud) { display: none; }
.tf:has(#tf-apps:checked) .tech-list .tech-card:not(.tf-apps), .tf:has(#tf-apps:checked) .tech-nav-section .tech-nav li:not(.tf-apps) { display: none; }
.tf:has(#tf-ind:checked) .tech-list .tech-card:not(.tf-ind), .tf:has(#tf-ind:checked) .tech-nav-section .tech-nav li:not(.tf-ind) { display: none; }
.tf:has(#tf-more:checked) .tech-list .tech-card:not(.tf-more), .tf:has(#tf-more:checked) .tech-nav-section .tech-nav li:not(.tf-more) { display: none; }

/* /experience/ sector filter (CSS only) */
.xf .cat-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.xf .case-index-section .cat-label { min-height: 44px; display: inline-flex; align-items: center; }
.xf .case-index-section .tf-labels { margin-bottom: 1.2rem; }
.xf:has(#xf-fin:checked) .case-index-section .xi:not(.xf-fin), .xf:has(#xf-fin:checked) .case:not(.xf-fin) { display: none; }
.xf:has(#xf-health:checked) .case-index-section .xi:not(.xf-health), .xf:has(#xf-health:checked) .case:not(.xf-health) { display: none; }
.xf:has(#xf-pro:checked) .case-index-section .xi:not(.xf-pro), .xf:has(#xf-pro:checked) .case:not(.xf-pro) { display: none; }
.xf:has(#xf-tech:checked) .case-index-section .xi:not(.xf-tech), .xf:has(#xf-tech:checked) .case:not(.xf-tech) { display: none; }
.xf:has(#xf-ind:checked) .case-index-section .xi:not(.xf-ind), .xf:has(#xf-ind:checked) .case:not(.xf-ind) { display: none; }
.xf:has(#xf-re:checked) .case-index-section .xi:not(.xf-re), .xf:has(#xf-re:checked) .case:not(.xf-re) { display: none; }
.xf:has(#xf-edu:checked) .case-index-section .xi:not(.xf-edu), .xf:has(#xf-edu:checked) .case:not(.xf-edu) { display: none; }
.xf:has(#xf-more:checked) .case-index-section .xi:not(.xf-more), .xf:has(#xf-more:checked) .case:not(.xf-more) { display: none; }
.section .grid-3 > .case-card { min-width: 0; }

/* Packages */
.pkg-parts { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pkg-parts .card { min-width: 0; }
.pkg-day { list-style: none; margin: 1.2rem 0 0; padding: 0; border-left: 2px solid var(--gold); }
.pkg-day li { padding: 0 0 1.2rem 1.2rem; position: relative; }
.pkg-day li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--navy, #14213d); border: 2px solid var(--gold); }
.pkg-day time { font: 700 .95rem/1 var(--sans); color: var(--navy-3); }
.pkg-day p { margin: .3rem 0 0; }
.pkg-not { border-top: 3px solid var(--navy); }
.pkg-teaser { background: var(--navy, #14213d); color: #fff; }
.pkg-teaser h2, .pkg-teaser .section-intro { color: #fff; }
.pkg-teaser-in { display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pkg-teaser .btn-navy { background: #fff; color: var(--navy, #14213d); min-height: 44px; }
@media (max-width: 900px) { .pkg-parts { grid-template-columns: 1fr; } }
/* Live-demo style frame, CSS only */
.demo-frame { margin: 1rem 0 0; max-width: 46rem; border-radius: 8px; overflow: hidden; background: #0e1730; color: #e8ecf6; border: 1px solid var(--gold); }
.demo-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #16213f; font: 600 .8rem/1.2 var(--sans); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #5b6a91; flex: none; }
.demo-bar span { margin-left: .5rem; opacity: .8; overflow-wrap: anywhere; }
.demo-body { padding: 1.1rem 1.2rem; font: .95rem/1.55 ui-monospace, Menlo, monospace; }
.demo-q { margin: 0 0 .8rem; color: var(--gold); }
.demo-a { margin: 0; }
.demo-a span { display: block; margin-bottom: .4rem; opacity: 0; animation: demo-in .6s ease forwards; }
.demo-a span:nth-child(2) { animation-delay: .9s; } .demo-a span:nth-child(3) { animation-delay: 1.8s; }
.demo-frame figcaption { padding: .6rem 1.2rem; font: .8rem/1.4 var(--sans); background: #16213f; opacity: .9; }
@keyframes demo-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .demo-a span { animation: none; opacity: 1; } }
.pkg-aside { display: block; text-decoration: none; color: inherit; border-top: 3px solid var(--navy); }
.pkg-aside:hover h2 { text-decoration: underline; }
.scr-table { width: 100%; border-collapse: collapse; font: .9rem/1.4 ui-monospace, Menlo, monospace; }
.scr-table th, .scr-table td { padding: .5rem 1rem; text-align: right; border-bottom: 1px solid #1f2d52; }
.scr-table th:first-child, .scr-table thead th:first-child { text-align: left; }
.scr-table thead th { font: 600 .75rem/1.2 var(--sans); letter-spacing: .01em; opacity: .7; }
.scr-table tbody th { font-weight: 600; color: #e8ecf6; }
.scr-up { color: #4ade80; } .scr-dn { color: #ff8a8a; }
.scr-table tbody tr { opacity: 0; animation: demo-in .5s ease forwards; }
.scr-r1 { animation-delay: .2s !important; } .scr-r2 { animation-delay: .4s !important; } .scr-r3 { animation-delay: .6s !important; } .scr-r4 { animation-delay: .8s !important; } .scr-r5 { animation-delay: 1s !important; }
@media (max-width: 560px) { .scr-table th, .scr-table td { padding: .45rem .55rem; font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .scr-table tbody tr { animation: none; opacity: 1; } }

/* R12: 42 groups stay compact */
.tech-mini-item p { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tech-mini-item { padding-top: .8rem; padding-bottom: .9rem; }
@media (min-width: 1081px) { .tech-mini { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tech-mini-item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; } .tech-mini-item:not(:nth-child(5n+1)) { padding-left: 1.1rem; border-left: 1px solid var(--line); } }
@media (min-width: 1100px) { .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } .tech-card { padding: 1.3rem 1.3rem 1.1rem; } .tech-card-head h2 { font-size: 1.2rem; } }
.tech-card-copy p { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* footer: industries as a full-width multi-column band (owner 2026-11-08) */
.footer-grid { grid-template-columns: 1fr 1.2fr 1.3fr 1fr; row-gap: 2.6rem; }
.footer-industries { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; }
.footer-industries ul { column-count: 4; column-gap: 2.4rem; }
.footer-industries li { break-inside: avoid; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-industries ul { column-count: 3; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } .footer-industries ul { column-count: 2; column-gap: 1.4rem; } }

/* ---- Design UI R3: agents section, Super Intelligence callout, page bar, insight thumbnails ---- */
.page-toc { margin: 0; }

.agents-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: start; }
.agents-text .more-copy p { max-width: 62ch; }
.agents-principles { position: sticky; top: 110px; background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(1.3rem, 2.4vw, 1.9rem); border: 1px solid var(--navy-3); box-shadow: 0 18px 40px -24px rgba(14,31,58,.6); }
.agents-principles .h-small { color: #E9D9B4; margin: 0 0 1rem; }
.agent-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.agent-chips li { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .8rem; border-radius: var(--r-sm); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; font: 600 .92rem/1.25 var(--sans); }
.agent-chips .icon { flex: none; width: 18px; height: 18px; padding: 0; background: none; color: #E9D9B4; }
@media (max-width: 900px) { .agents-split { grid-template-columns: minmax(0, 1fr); } .agents-principles { position: static; } }

.overview-callout .wrap { max-width: var(--wrap); }
.callout-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.callout { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--r); padding: clamp(1.2rem, 2.4vw, 1.8rem); box-shadow: 0 14px 30px -24px rgba(19,41,75,.45); }
.callout p { margin: 0; font-size: 1.06rem; line-height: 1.65; color: var(--ink); }
.callout .callout-label { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font: 700 .76rem/1.2 var(--sans); letter-spacing: .01em; color: var(--navy); }
.callout .callout-label .icon { width: 20px; height: 20px; padding: 0; background: none; color: inherit; }
.callout.co-not { border-left-color: var(--navy); background: var(--parch); }
.callout.co-not .callout-label { color: var(--red-2); }
.overview-callout .overview-rest { margin-top: 2rem; }
@media (max-width: 760px) { .callout-pair { grid-template-columns: minmax(0, 1fr); } }

.ic-head.has-thumb { padding: 0; background: var(--navy); }
.ic-head.has-thumb::after { display: none; }
.ic-head.has-thumb .case-thumb { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.ic-head.has-thumb .ic-cat { position: absolute; left: .8rem; bottom: .7rem; padding: .35rem .65rem; border-radius: var(--r-sm); background: rgba(14,31,58,.9); border: 1px solid rgba(255,255,255,.25); }

/* How we use AI */
.ai-tiers, .ai-principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ai-principles .card { min-width: 0; }
.ai-tier { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--ai-c); border-radius: var(--r); padding: 1.5rem; min-width: 0; --ai-c: #17613A; --ai-bg: #E6F3EA; }
.ai-approve { --ai-c: #8A5300; --ai-bg: #FCEFD6; }
.ai-never { --ai-c: #A01C2D; --ai-bg: #FBE6E9; }
.ai-tier-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--ai-bg); color: var(--ai-c); font: 700 .78rem/1 var(--sans); letter-spacing: .01em; padding: .5em .7em; border-radius: 2px; }
.ai-tier h3 { margin: .9rem 0 .5rem; }
.ai-tier p { margin: 0 0 .8rem; color: var(--ink); font-size: .98rem; overflow-wrap: anywhere; }
.ai-tier .ai-tier-tag { margin: 0; font: 700 .85rem/1.3 var(--sans); color: var(--ai-c); }
@media (max-width: 1080px) { .ai-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ai-tiers { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ai-principles { grid-template-columns: 1fr; } }

/* ---- Design UI R5: agent chips scroll-spy, thumbnail images ---- */
.agent-chips li { transition: background-color .25s, border-color .25s; }
.agent-chips li.is-current { background: rgba(255,255,255,.2); border-color: #E9D9B4; }
.case-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .agent-chips li { transition: none; } }

/* round 6: article tables and inline code (overflow-safe), line length */
.article-body > p, .article-body > ul, .article-body > ol, .article-body > h3 { max-width: 70ch; }
.article-body h3 { margin: 2rem 0 .5rem; }
.article-body h2 + h3 { margin-top: 1rem; }
.article-body .table-wrap, .prose .table-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 1.4rem; }
.article-body table, .prose table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.article-body th, .article-body td, .prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.article-body th, .prose th { background: var(--parch); color: var(--navy); }
.article-body code, .prose code { font: .9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--parch); border: 1px solid var(--line); border-radius: 4px; padding: .08em .35em; overflow-wrap: anywhere; }
.article-body pre, .prose pre { overflow-x: auto; max-width: 100%; padding: 1rem 1.1rem; background: var(--navy-2); color: var(--parch); border-radius: var(--r); }
.article-body pre code, .prose pre code { background: none; border: 0; padding: 0; overflow-wrap: normal; }

/* ===== Security printing (design plan v2, 2026-11-08) =====
   Bond paper, intaglio navy, red only for the primary action. Sentence case, no eyebrows, no numbering except real sequences.
   Radius by hierarchy: 2px plates and data, 6px controls, 10px cards, pills only for filter chips. Hairlines, no blanket shadows. */
body { font-size: clamp(16px, .95rem + .12vw, 17.5px); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.01em; line-height: 1.14; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.45rem); }
p { text-wrap: pretty; }
.prose p, .prose li, .section-intro, .lead, .lead-dark { max-width: 68ch; }
.wrap { padding: 0 clamp(16px, 4vw, 32px); }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section.alt { background: transparent; border-top: 3px double rgba(154,118,66,.5); }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.navy :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .mobile-bar :focus-visible { outline-color: #E3C68F; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.lead-sub { color: var(--muted); }

/* buttons: red is the one primary action */
.btn { border-radius: var(--r-sm); min-height: 44px; padding: .8em 1.4em; justify-content: center; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.page-hero .btn-ghost-light { border-color: var(--navy); color: var(--navy); }
.page-hero .btn-ghost-light:hover { background: var(--navy); color: #fff; }

/* header: shorter on phones; menus are the only raised surface */
.site-header { background: rgba(255,255,255,.97); }
.site-header::after { height: 1px; background: var(--gold); opacity: .6; }
.header-in { min-height: 72px; }
.brand img { width: 48px; height: 48px; }
.nav-list > li > a, .nav-list summary { min-height: 44px; display: flex; align-items: center; border-radius: var(--r-sm); }
.nav-list > li > a:hover, .nav-list summary:hover { background: rgba(19,41,75,.06); }
.menu { border-radius: var(--r); border-color: var(--line); box-shadow: var(--shadow-lift); }
.menu a { min-height: 44px; border-radius: var(--r-sm); }
.menu a:hover { background: var(--parch); }
.site-footer a { display: inline-block; padding: .12rem 0; }
@media (max-width: 900px) {
  :root { --hdr: 58px; }
  .header-in { min-height: 56px; gap: .8rem; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.1rem; letter-spacing: .06em; }
  .brand-sub { font-size: .6rem; margin-top: 3px; }
  .nav-toggle { min-height: 44px; border-radius: var(--r-sm); }
  .js .nav.open { max-height: calc(100vh - 56px - 60px); overflow-y: auto; }
}
@media (max-width: 600px) { .topbar { display: none; } }

/* home hero: the one bold moment, a certificate on bond paper */
.hero { background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 3vw, 2.5rem) 0 0; }
.plate { position: relative; isolation: isolate; background: var(--white); padding: clamp(1.8rem, 4.5vw, 3.4rem) clamp(1.5rem, 4.5vw, 3.6rem) 1.1rem; }
.plate-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.plate-line rect { fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; animation: plate-draw 1.8s cubic-bezier(.5,.1,.2,1) backwards; }
.plate-1 { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); stroke: var(--navy); stroke-width: 2px; }
.plate-2 { x: 9px; y: 9px; width: calc(100% - 18px); height: calc(100% - 18px); stroke: var(--gold); stroke-width: 1px; animation-delay: .4s; }
@keyframes plate-draw { from { stroke-dashoffset: 1; } }
.rosette { position: absolute; z-index: -1; top: 22px; right: 22px; width: clamp(110px, 20vw, 250px); aspect-ratio: 1; background: var(--gold); opacity: .4; -webkit-mask: url("/assets/guilloche.svg") center / contain no-repeat; mask: url("/assets/guilloche.svg") center / contain no-repeat; animation: rosette-set 1.4s ease-out 1.2s backwards; }
@keyframes rosette-set { from { opacity: 0; transform: scale(.94) rotate(-6deg); } }
.plate-in { display: grid; grid-template-columns: clamp(130px, 21vw, 250px) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
.plate-seal { width: 100%; height: auto; }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.9rem); margin-bottom: .45em; }
.hero .lead { color: var(--ink); max-width: 34em; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
.microtext { margin: 1.8rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font: italic 400 .92rem/1.4 var(--serif); color: var(--muted); }
@media (max-width: 700px) { .plate-in { grid-template-columns: 1fr; } .plate-seal { width: 110px; } .rosette { width: 120px; top: 16px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .plate-line rect, .rosette { animation: none; } }

/* stat strip: solid navy numerals on a fine double engraved line */
.proof { background: transparent; border: 0; padding: clamp(2rem, 4vw, 3rem) 0 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.proof-item { padding: 0 0 .8rem; text-align: left; border: 0; border-bottom: 3px double var(--gold); }
.proof-item strong { font: 700 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--serif); color: var(--navy); }
.proof-item span { display: block; margin-top: .3rem; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* inner pages: quiet, left-aligned, paper */
.page-hero { background: var(--paper); color: var(--ink); padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(1.8rem, 4vw, 2.8rem); border-bottom: 3px double rgba(154,118,66,.5); }
.page-hero .tag-light { background: var(--parch); color: var(--navy); }
.page-hero .icon.xl { color: var(--green); }
.case-hero-facts { border-top-color: var(--line); }
.case-hero-facts dt { color: var(--muted); }
.case-hero-facts dd { color: var(--ink); }
.byline { color: var(--muted); }
.light-link { color: var(--navy-3); }

/* dark bands: flat navy, one ghost rosette */
.navy, .cta-band { background: var(--navy); color: var(--parch); position: relative; overflow: hidden; isolation: isolate; }
.navy .lead, .cta-band .lead { color: #DCE2EC; }
.cta-band::before, .section.navy::before { content: ""; position: absolute; z-index: -1; pointer-events: none; right: -180px; top: 50%; width: 760px; height: 760px; margin-top: -380px; background: url("/assets/guilloche.svg") center / contain no-repeat; opacity: .08; }
.section.navy::before { right: auto; left: -240px; }
.site-footer { background: var(--navy-2); border-top: 1px solid rgba(227,198,143,.25); }

/* cards: hairline, no shadow, no lift; radius 10 */
.grid { gap: clamp(1rem, 2vw, 1.5rem); }
.card { border-radius: var(--r); padding: clamp(1.2rem, 2.2vw, 1.7rem); transition: border-color .15s; }
a.card:hover { transform: none; border-color: var(--navy); }
.icon.lg { color: var(--green); }
.cta-card .icon.lg, .navy .icon.lg { color: #E3C68F; }
.card-more { color: var(--navy-3); text-decoration: underline; text-underline-offset: 3px; }
a.card:hover .card-more { color: var(--navy); }
.cta-card .card-more { color: #F0D6B3; }
.industry-card { border-top: 3px solid var(--navy); }
.insight-card { border-top: 1px solid var(--line); }
.tag { background: var(--parch); border-radius: var(--r-plate); }
.values .value { border-top: 1px solid var(--line); position: relative; }
.values .value::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--gold); }
.split { gap: clamp(2rem, 5vw, 4.5rem); }
.checks .icon { color: var(--green); }
.navy .checks .icon { color: #E3C68F; }
.card-meta, .packages .package { border-radius: var(--r); }
.package, .process li, .aside-card, .form, .tech-card, .ai-tier { box-shadow: none; }
.form { border-top: 3px solid var(--navy); }
.glance { border-left-color: var(--green); border-radius: 0 var(--r-plate) var(--r-plate) 0; box-shadow: none; }
.case-thumb { border-radius: var(--r-sm); }
.faq-item summary { min-height: 44px; align-items: center; }

/* bento: first service is the lead tile */
@media (min-width: 1081px) {
  .grid-4.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
  .bento > :first-child { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 601px) and (max-width: 1080px) { .bento > :first-child { grid-column: 1 / -1; } }
.bento .service-card .icon.lg { width: 48px; height: 48px; padding: 10px; border-radius: var(--r-sm); background: var(--navy); color: #F0D6B3; }
.bento .service-card h3 { font-size: 1.15rem; margin: 1rem 0 .4rem; }
.bento .service-card:first-child { padding: clamp(1.6rem, 3vw, 2.6rem); }
.bento .service-card:first-child .icon.lg { width: 64px; height: 64px; padding: 14px; }
.bento .service-card:first-child h3 { margin-top: auto; padding-top: 2rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.bento .service-card:first-child p { font-size: 1.08rem; max-width: 26em; }
.bento .service-card .card-more { min-height: 44px; }
.bento > .cta-card { background: var(--navy); }

/* insight and case cards: flat category headers */
.insight-card, .case-card { padding: 0; overflow: hidden; }
.ic-body { display: flex; flex-direction: column; flex: 1; gap: .1rem; padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.2rem, 2.2vw, 1.7rem) clamp(1.2rem, 2vw, 1.6rem); }
.ic-body .tag { align-self: flex-start; }
.ic-body h3 { margin-top: .7rem; }
.ic-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; aspect-ratio: 5 / 2; padding: 0 1.4rem; color: #fff; position: relative; overflow: hidden; background: var(--c1, var(--navy)); }
.ic-head .ic-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.ic-head .icon.lg, .card .ic-head .icon.lg { width: 28px; height: 28px; padding: 0; background: none; color: #fff; }
.ic-cat { font: 600 .85rem/1 var(--sans); color: #fff; }
.ic-security { --c1: #13294B; } .ic-regulation { --c1: #6A4B1F; } .ic-infrastructure { --c1: #17525F; } .ic-software { --c1: #373F7E; } .ic-super-intelligence { --c1: #2F4A3B; }
.case-card > .case-thumb { margin: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 5 / 2; }
.case-card > .case-thumb svg { height: 100%; object-fit: cover; }
.ic-head.has-thumb { padding: 0; background: var(--navy); }
.ic-head.has-thumb .case-thumb { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.ic-head.has-thumb .ic-cat { position: absolute; left: .8rem; bottom: .7rem; padding: .35rem .65rem; border-radius: var(--r-plate); background: rgba(14,31,58,.9); border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 600px) { .ic-head { aspect-ratio: 5 / 1.7; } }

/* forms */
input, select, textarea { font: inherit; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border: 1px solid rgba(19,41,75,.35); border-radius: var(--r-sm); padding: .75em .95em; min-height: 44px; background: #fff; }

/* real sequences keep their numbers: process, steps */
.case-index a { grid-template-columns: 1fr auto; }
.case-head { grid-template-columns: 1fr; }
.nav-list [aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 600px) { .proof-item strong { font-size: clamp(1.4rem, 6.4vw, 1.8rem); } .proof-item span { font-size: .85rem; line-height: 1.4; } }
@media (max-height: 520px) { .site-header, .case-toc { position: static; } }

/* ===== Round 2: filters as fieldsets, forms, nav, mobile bar ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.filter-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-set legend { padding: 0; margin: 0 0 .6rem; }
.filter-set legend.h-small { font: 700 .8rem/1.2 var(--sans); color: var(--navy-3); }
.filter-count { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.cat-radio:checked + .cat-label { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-radio:checked + .cat-label span { opacity: .85; }
.cat-radio:focus-visible + .cat-label { outline: 3px solid var(--navy); outline-offset: 3px; }
.cat-filter .cat-label, .tf-bar .cat-label { min-height: 44px; display: inline-flex; align-items: center; }
.tf-bar .filter-count, .case-index-section .filter-count { margin-bottom: .8rem; }

/* forms */
.req { color: var(--red); font-weight: 700; }
.form-req-note { color: var(--muted); font-size: .84rem; margin: 0; }
.form input:user-invalid, .form textarea:user-invalid, .form select:user-invalid, .booking-form input:user-invalid { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.form .btn[disabled], .booking-form .btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .form .btn, .booking-form .btn { justify-self: stretch; width: 100%; }
}

/* media kit swatches (classes instead of inline styles) */
.swatches li.sw-navy { --sw: #13294B; }
.swatches li.sw-red { --sw: #B22234; }
.swatches li.sw-parchment { --sw: #F5EFE1; }
.swatches li.sw-gold { --sw: #B08D57; }

/* diagram swipe hint hides after the first sideways scroll */
.diagram-hint[hidden] { display: none !important; }

/* diagram text inside dark sections stays readable */
.navy .diagram-text .more-copy p, .navy .diagram-text .section-intro { color: #D2DAE7; }

/* header: the menu collapses below 1240 px so the longer nav never crowds */
.nav-list { gap: .1rem; }
.nav-list > li > a, .nav-list summary { white-space: nowrap; padding-left: .7rem; padding-right: .7rem; }
.nav { gap: .6rem; }
.nav-book { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; font-weight: 600; font-size: .95rem; color: var(--navy); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-cta { white-space: nowrap; }
.menu-sep { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
@media (max-width: 1360px) {
  .nav-toggle { display: inline-block; margin-left: auto; font: 600 .95rem var(--sans); padding: .55rem .9rem; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: var(--r-sm); min-height: 44px; }
  .js .nav { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .4rem 24px 1.2rem; gap: .5rem; }
  .js .nav.open { display: flex; max-height: calc(100vh - var(--hdr) - 70px); max-height: calc(100dvh - var(--hdr) - 70px); overflow-y: auto; }
  .no-js .nav { position: static; box-shadow: none; }
  .no-js .header-in { flex-wrap: wrap; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-list summary { padding-left: 0; padding-right: 0; justify-content: space-between; }
  .nav-list summary::after { margin-left: auto; }
  .menu { position: static; box-shadow: none; border: 0; padding: 0 0 .5rem .8rem; min-width: 0; }
  .nav-book { justify-content: center; border: 1px solid var(--navy); border-radius: var(--r-sm); text-decoration: none; }
  .nav-cta { display: inline-flex; justify-content: center; }
  .nav-cta, .nav-book { width: 100%; }
}
@media (min-width: 1361px) { .js .nav { display: flex; } }

/* phones: fixed bar respects the home indicator; it steps aside while typing; back-to-top sits above it */
@media (max-width: 600px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--navy); }
  .mobile-bar.solo { grid-template-columns: 1fr; }
  .kb-open .mobile-bar { display: none; }
  .to-top { right: .8rem; bottom: calc(60px + env(safe-area-inset-bottom, 0px) + .8rem); }
  .kb-open .to-top { bottom: .8rem; }
}

/* round 3: /experience/ case cards */
.case-grid { margin-top: 1.4rem; }
.case-line { color: var(--ink); font-size: .98rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: .4rem 0 0; }
.case-card-short .card-more { margin-top: auto; padding-top: .8rem; }
.hero h1, .hero-cert h1 { text-wrap: balance; }
.case-card h3 { font-size: 1.2rem; line-height: 1.25; text-wrap: pretty; }
.case-card-short h3 { margin-top: .6rem; }
.proof-item strong { font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.5rem); white-space: nowrap; }
@media (max-width: 760px) { .proof-item strong { white-space: normal; } }
.split > .packages { grid-template-columns: 1fr; align-content: start; gap: .8rem; }
.split > .packages .package { padding: 1.1rem 1.3rem; }
.package p { color: #44505F; }
.wrap > .more-copy { columns: 2 24em; column-gap: 3.2rem; column-rule: 1px solid var(--line); line-height: 1.7; margin-bottom: 2rem; }
.wrap > .more-copy p { break-inside: avoid; }
.bento .service-card:first-child h3 { margin-top: 1.6rem; padding-top: 0; }
.bento .service-card:first-child .card-more { margin-top: auto; }
.section.pkg-teaser, .section.pkg-teaser + .section { padding-top: clamp(2.2rem, 4vw, 3.2rem); }
.section.pkg-teaser { padding-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.pkg-teaser .section-intro { margin-bottom: 0; max-width: 62ch; }
.section.pkg-teaser + .section.alt { padding-top: clamp(3rem, 6vw, 5rem); }
.jump-all summary { cursor: pointer; font: 600 .95rem var(--sans); color: var(--navy); min-height: 44px; display: flex; align-items: center; }
.jump-all[open] summary { margin-bottom: .6rem; }
.tech-nav-section, .tf-bar { padding-top: 1.2rem; padding-bottom: .6rem; }
.tech-nav-section { padding-top: 0; }
.insight-card h3, .aside-card h3 { line-height: 1.25; }
.jump-all summary::after { content: "+"; margin-left: .5rem; font-size: 1.2rem; color: var(--gold-d, #7A5A2C); }
.jump-all[open] summary::after { content: "\2212"; }
.tech-nav-section { padding-bottom: 1.6rem; }
@media (max-width: 700px) {
  .crumbs ol { flex-wrap: nowrap; overflow: hidden; }
  .crumbs li { white-space: nowrap; flex: 0 0 auto; }
  .crumbs li:last-child { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
.pkg-parts h3, .card h3 { line-height: 1.25; }

/* round 4: header fits the content column; compact experience hero */
.nav-list > li > a, .nav-list summary { padding-left: .6rem; padding-right: .6rem; }
.nav-book { padding: 0 .6rem; }
.page-hero-compact { padding-top: clamp(1.2rem, 3vw, 2rem); padding-bottom: clamp(1.4rem, 3vw, 2rem); }
.page-hero-compact h1 { margin-bottom: .4em; }
.page-hero-compact .lead { margin-bottom: 0; }
.page-hero-compact .hero-actions { margin-top: 1.1rem; }
.case-index-section { padding-top: clamp(1.6rem, 3vw, 2.4rem); }
.exp-about { padding-bottom: 0; }
.exp-intro { max-width: 46em; }
h1, h2, h3, p, li { hyphens: manual; }
.nav-list > li > a, .nav-list summary { padding-left: .5rem; padding-right: .5rem; }
.header-in { gap: 1rem; }
.nav { gap: .3rem; }
.nav-cta { padding-left: 1.1em; padding-right: 1.1em; }
.page-hero-compact h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); max-width: none; }
.page-hero-compact .lead { font-size: 1.1rem; max-width: 40em; }
.case-index-section h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .6rem; }
.case-index-section .filter-count { margin: .6rem 0 1rem; }
@media (min-width: 1081px) {
  .bento > :first-child { grid-row: auto; }
  .bento > .cta-card { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 1.4rem; align-items: center; }
  .bento > .cta-card .icon { grid-row: span 3; }
  .bento .service-card:first-child h3 { padding-top: .6rem; }
}
.footer-legal { margin-left: 0; margin-right: 0; }
@media (min-width: 1081px) {
  .bento > .cta-card { align-content: center; row-gap: .3rem; }
  .bento > .cta-card .card-more { margin-top: .5rem; min-height: 0; }
}
.footer-legal { border-top: 0; background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) content-box top left / 100% 1px no-repeat; }
.prose .h-small, .article-body .h-small { letter-spacing: .01em; }
@media (min-width: 1081px) { article > .page-hero > .wrap.narrow { max-width: calc(1026px + 2 * 32px); } }
.article-body h2 { line-height: 1.22; text-wrap: pretty; }
.card h3 { text-wrap: pretty; }
.ic-head.has-thumb .case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* round 5: cybersecurity-led hero, legend and proof plate */
.hero .legend { margin: 0 0 .7rem; font: italic 400 1.05rem/1.4 var(--serif); color: var(--gold-ink, #7A5A2C); letter-spacing: .005em; }
.hero h1 { font-size: clamp(2rem, 1.1rem + 3vw, 3.4rem); line-height: 1.1; max-width: 17em; }
.hero .lead { max-width: 36em; }
.proof-plate { margin: 2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); }
.proof-plate-head { margin: 0 0 .7rem; font: italic 400 1rem/1.4 var(--serif); color: var(--muted); }
.proof-plate ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .1rem 1.2rem; }
.proof-plate li { display: flex; align-items: center; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font: 700 .98rem/1.3 var(--serif); color: var(--navy); }
.proof-plate li .icon { flex: none; color: var(--green); }
.hero .microtext { margin-top: 1.4rem; }
@media (max-width: 1080px) { .proof-plate ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proof-plate ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .9rem; } .proof-plate li { font-size: .92rem; } .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2.1rem); } }

/* illustrative case label (orchestrator, owner delegated 2026-11-09) */
.tag-illustrative { border-style: dashed; }
