/* CFO Office 365: one stylesheet for every page. No external requests; fonts are bundled in assets/fonts. */
@font-face { font-family: "Source Serif 4"; src: url("assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #0f1d36; --text: #2a3956; --muted: #586a85; --paper: #ffffff; --mist: #f2f5fa; --rule: #d8e0ec;
  --blue: #1d4ed8; --blue-deep: #13307e; --blue-soft: #e8effe; --focus: #1d4ed8;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 3px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.06; max-width: 15ch; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.14; max-width: 22ch; }
h3 { font: 600 1.1rem/1.35 var(--sans); }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--text); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
ul, ol { margin: 0; padding: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { font: 600 1.28rem/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand b { color: var(--blue); font-weight: 600; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--blue); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: 8px 14px; font: 500 0.95rem var(--sans); color: var(--ink); cursor: pointer; }

/* buttons */
.btn { display: inline-block; font: 600 1rem/1 var(--sans); padding: 15px 22px; border-radius: 4px; text-decoration: none; border: 1.5px solid var(--blue); background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn.quiet { background: transparent; color: var(--blue); }
.btn.quiet:hover { background: var(--blue-soft); color: var(--blue-deep); }
.nav .btn { padding: 11px 16px; font-size: 0.93rem; color: #fff; border-bottom: 1.5px solid var(--blue); }
.nav .btn:hover { color: #fff; border-bottom-color: var(--blue-deep); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.tint { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head p { margin-top: 18px; }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { margin-top: 24px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 0.92rem; max-width: 52ch; }
.figure { margin: 0; }
.figure img { border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 28px 60px -28px rgba(15,29,54,.38); background: #fff; }
.figure figcaption { margin-top: 14px; color: var(--muted); font-size: 0.9rem; max-width: 62ch; }

/* two products */
.products { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.product { padding: 28px 32px 8px 0; }
.product + .product { padding-left: 32px; border-left: 1px solid var(--rule); }
.product h3 { font: 600 1.55rem/1.2 var(--serif); letter-spacing: -0.01em; }
.status { display: inline-block; margin: 0 0 14px; font: 600 0.84rem/1 var(--sans); color: var(--blue-deep); background: var(--blue-soft); padding: 6px 10px; border-radius: 3px; }
.status.design { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }
.product p { margin-top: 12px; }

/* facts and lists */
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }
.ruled { list-style: none; border-top: 1px solid var(--rule); }
.ruled li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 15rem 1fr; gap: 24px; }
.ruled li strong { color: var(--ink); font-weight: 600; }
.ruled li span { max-width: 62ch; }

/* cases table */
.cases { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cases th { text-align: left; font: 600 0.92rem var(--sans); color: var(--muted); padding: 0 24px 12px 0; border-bottom: 2px solid var(--ink); }
.cases td { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cases td:first-child { font-weight: 600; color: var(--ink); width: 30%; }

/* sequence */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); font: 600 1.7rem/1 var(--serif); color: var(--blue); }
.steps strong { color: var(--ink); }

/* demo panel */
.panel { border: 1px solid var(--ink); border-radius: 6px; padding: clamp(24px, 4vw, 40px); background: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.panel h3 { font: 600 1.45rem/1.25 var(--serif); }
.panel p { margin: 10px 0 0; }
.panel .actions { margin: 0; justify-content: flex-end; }
.dashed { border: 1.5px dashed var(--muted); border-radius: 6px; padding: clamp(24px, 4vw, 40px); background: transparent; }
.dashed h3 { font: 600 1.25rem/1.3 var(--serif); margin-bottom: 12px; }
.bullets { padding-left: 1.2em; }
.bullets li { margin-bottom: 8px; max-width: 58ch; }
.note { border-left: 4px solid var(--blue); padding: 6px 0 6px 20px; margin: 36px 0 0; max-width: 70ch; color: var(--ink); }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait { aspect-ratio: 4 / 5; background: var(--blue-soft); border: 1px solid var(--rule); border-radius: 6px; display: grid; place-items: center; font: 600 6rem/1 var(--serif); color: var(--blue); }
.portrait-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--rule); }
.founder h2 { max-width: 20ch; }
.role { margin: 6px 0 0; color: var(--muted); }
.founder-text { margin-top: 24px; }
.todo { background: #fff3b0; color: #5a4300; padding: 1px 5px; border-radius: 3px; font-weight: 500; }

/* insights */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); padding: 28px 0 32px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.feature h3 { font: 600 1.7rem/1.2 var(--serif); letter-spacing: -0.01em; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--blue); }
.posts { list-style: none; }
.posts li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.posts a { font-weight: 600; }

/* contact + footer */
.mail { font: 600 clamp(1.5rem, 4vw, 2.6rem)/1.15 var(--serif); letter-spacing: -0.01em; word-break: break-word; }
.site-footer { border-top: 1px solid var(--rule); padding: 36px 0 48px; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; }
.foot p { margin: 0; max-width: 60ch; }

/* article */
.article { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px clamp(64px, 8vw, 112px); }
.article h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; }
.article .dek { font-size: 1.2rem; color: var(--muted); margin-top: 18px; max-width: 60ch; }
.article h2 { font-size: 1.65rem; margin: 2.2em 0 0.6em; max-width: none; }
.article h3 { margin: 1.6em 0 0.4em; font-size: 1.05rem; }
.article p, .article li { font-size: 1.07rem; line-height: 1.7; max-width: none; }
.article ul { padding-left: 1.2em; margin: 0 0 1em; }
.article li { margin-bottom: 0.5em; }
.byline { margin-top: 22px; color: var(--muted); font-size: 0.94rem; border-top: 1px solid var(--rule); padding-top: 14px; }
.crumb { font-size: 0.93rem; margin-bottom: 28px; }
.sources { font-size: 0.93rem; color: var(--muted); }
.sources li { font-size: 0.93rem; }

@media (max-width: 920px) {
  .split, .hero-grid, .founder, .feature { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .product { padding: 24px 0 8px; }
  .product + .product { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 16px; }
  .ruled li { grid-template-columns: 1fr; gap: 4px; }
  .panel { grid-template-columns: 1fr; }
  .panel .actions { justify-content: flex-start; }
  .portrait, .portrait-img { max-width: 260px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 24px 22px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { margin-top: 8px; }
  h1 { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .cases, .cases tbody, .cases tr, .cases td { display: block; width: 100%; }
  .cases thead { display: none; }
  .cases td:first-child { width: 100%; padding-bottom: 2px; border-bottom: 0; }
  .cases td { padding: 0 0 14px; }
  .cases tr { border-bottom: 1px solid var(--rule); padding: 14px 0 2px; }
  .cases td:last-child { border-bottom: 0; }
  .posts li { grid-template-columns: 1fr; gap: 4px; }
  .actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { .site-header, .actions, .menu-btn { display: none; } section { padding: 24px 0; } }

.sub { font: 600 clamp(1.5rem, 2.6vw, 1.95rem)/1.2 var(--serif); letter-spacing: -0.01em; margin: clamp(56px, 7vw, 88px) 0 22px; color: var(--ink); max-width: 30ch; }
.shots { display: grid; gap: 40px; }
.link-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-weight: 500; }

.mt14 { margin-top: 14px; } .mt18 { margin-top: 18px; } .mt20 { margin-top: 20px; } .mt22 { margin-top: 22px; } .mt28 { margin-top: 28px; } .mt40 { margin-top: 40px; } .mt48 { margin-top: 48px; } .end { align-self: end; }

.founder h2 { max-width: none; }
.figure a { display: block; }

/* consolidation-led pages */
.page-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; max-width: 18ch; }
.hero .status { margin-bottom: 20px; }
.diagram { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 28px 60px -28px rgba(15,29,54,.30); padding: 8px; }
.d-box { fill: #fff; stroke: #d8e0ec; stroke-width: 1.5; } .d-parent { fill: #e8effe; stroke: #1d4ed8; }
.d-line { fill: none; stroke: #586a85; stroke-width: 1.5; } .d-ic { fill: none; stroke: #1d4ed8; stroke-width: 2; stroke-dasharray: 6 5; }
.d-bar { fill: #0f1d36; }
.d-t { font: 600 16.5px var(--sans); fill: #0f1d36; } .d-s { font: 400 14.5px var(--sans); fill: #586a85; }
.d-b { font: 600 14px var(--sans); fill: #1d4ed8; } .d-w { font: 600 19px var(--serif); fill: #fff; } .d-ws { font: 400 14.5px var(--sans); fill: #d8e0ec; }
.products.lead-first { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.products.lead-first .product:first-child h3 { font-size: 1.9rem; }
.cols2 { columns: 2; column-gap: 32px; margin: 16px 0 0; }
.cols2 li { break-inside: avoid; }
@media (max-width: 920px) { .products.lead-first { grid-template-columns: 1fr; } .cols2 { columns: 1; } }
