/* Inner pages (10X Engine, services, case studies, About, contact, creators, FAQ). Loads after site.css. Built by Build/page-src/build.py. */

/* ---------- Nav on inner pages: the light nav scrolls away with the dark hero; the cream sticky nav drops in once the reader scrolls (home uses a template interaction for the same thing) ---------- */
body.pg .navbar-master.static-nav { position: absolute; }
body.pg .navbar-master.sticky-nav { transform: translateY(-110%); transition: transform .35s ease; }
body.pg.is-scrolled .navbar-master.sticky-nav { transform: none; }

/* ---------- Page hero: dark, so the light static nav reads on top ---------- */
.pg-hero { background-color: var(--dark); color: var(--light); padding: 176px 0 96px; position: relative; overflow: hidden; }
.pg-hero .main-container { position: relative; z-index: 1; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.pg-hero-grid.solo { grid-template-columns: minmax(0, 1fr); }
.pg-hero-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pg-hero h1 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: clamp(44px, 6vw, 96px); line-height: 1; letter-spacing: var(--letter-spacing--3); text-wrap: balance; max-width: 15ch; }
.pg-hero-grid.solo h1 { max-width: 18ch; }
.pg-hero .text-big { max-width: 600px; opacity: .85; }
.pg-hero .pg-note { font-size: var(--text--text-small); opacity: .7; margin: 0; }
.pg-hero-media img, .pg-hero-media video { display: block; width: 100%; height: auto; border-radius: var(--radius--small); }
.pg-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: 0; }
.pg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.pg-crumbs a { color: inherit; text-decoration: none; }
.pg-crumbs a:hover { text-decoration: underline; }
.pg-crumbs span[aria-hidden] { opacity: .5; }
.pg-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pg-hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--text--text-small); opacity: .8; }
.pg-hero-proof b { font-weight: 500; }

/* ---------- Sections ---------- */
.section.pg-section { padding: 112px 0; }
.section.pg-section.tight { padding: 72px 0; }
.section.pg-section.alt { background-color: var(--bg); }
.section.pg-section.dark { background-color: var(--dark); color: var(--light); }
.pg-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.pg-head h2 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: var(--letter-spacing--3); text-wrap: balance; }
.pg-head .text-big { margin: 0; opacity: .8; }
.pg-head > .cta-main, .pg-split-text > .cta-main { align-self: flex-start; }
.pg-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.pg-prose { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.pg-prose p { margin: 0; font-size: 18px; line-height: 1.6; }
.pg-prose h3 { margin: 16px 0 0; font-family: var(--font--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.pg-answer { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; max-width: 820px; margin: 0; }
.pg-answer strong { font-weight: 500; }

/* ---------- Stat tiles (number, what it is, window) ---------- */
.pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pg-stat { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius--small); background-color: var(--light); border: 1px solid var(--border-dark); }
.dark .pg-stat, .pg-hero .pg-stat { background-color: rgba(249,245,235,.06); border-color: var(--border-light); }
.pg-stat-num { font-family: var(--font--serif); font-size: clamp(44px, 4.6vw, 72px); line-height: 1; letter-spacing: var(--letter-spacing--3); }
.pg-stat-what { font-size: 16px; line-height: 1.4; }
.pg-stat-when { font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.pg-stats-note { margin: 20px 0 0; font-size: var(--text--text-small); opacity: .7; max-width: 760px; }

/* ---------- Cards grid (deliverables, reasons) ---------- */
.pg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pg-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius--small); background-color: var(--light); border: 1px solid var(--border-dark); }
.alt .pg-card { background-color: var(--light); }
.dark .pg-card { background-color: rgba(249,245,235,.06); border-color: var(--border-light); }
.pg-card h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.pg-card p { margin: 0; line-height: 1.55; }
.pg-card .label { opacity: .7; }
a.pg-card { color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
a.pg-card:hover { transform: translateY(-4px); border-color: var(--dark); }
.dark a.pg-card:hover { border-color: var(--light); }
.pg-card-more { margin-top: auto; padding-top: 8px; font-weight: 500; }

/* ---------- Steps (week to week, the order of the work) ---------- */
.pg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--border-dark); counter-reset: step; }
.dark .pg-steps { border-color: var(--border-light); }
.pg-step { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.pg-step::before { content: counter(step, decimal-leading-zero); font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); opacity: .7; }
.pg-step h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.pg-step p { margin: 0; line-height: 1.55; opacity: .85; }

/* ---------- Two columns: text beside media ---------- */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pg-split.top { align-items: start; }
.pg-split.flip > :first-child { order: 2; }
.pg-split-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pg-split-text h2 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: var(--letter-spacing--3); }
.pg-split-text .pg-stats { align-self: stretch; }
.pg-split-text p { margin: 0; line-height: 1.6; font-size: 17px; }
.pg-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-figure img, .pg-figure video { display: block; width: 100%; height: auto; border-radius: var(--radius--small); border: 1px solid var(--border-dark); background-color: var(--bg); }
.pg-figure figcaption { font-size: var(--text--text-small); opacity: .7; line-height: 1.45; }
.pg-figure figcaption a { color: inherit; }

/* ---------- Proof screenshots: click to open full size ---------- */
.pg-proofs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 20px; }
.pg-proofs a { color: inherit; }

/* ---------- Bullet list with ticks ---------- */
.pg-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pg-ticks li { position: relative; padding-left: 30px; line-height: 1.5; }
.pg-ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.pg-crosses li::before { width: 14px; height: 14px; border: 0; top: .3em; background: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%); transform: none; opacity: .7; }

/* ---------- For / not for ---------- */
.pg-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-fit > div { padding: 40px; border-radius: var(--radius--small); display: flex; flex-direction: column; gap: 20px; }
.pg-fit .yes { background-color: var(--dark); color: var(--light); }
.pg-fit .no { background-color: var(--light); border: 1px solid var(--border-dark); }
.pg-fit h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 32px; }

/* ---------- Quote ---------- */
.pg-quote { margin: 0; display: flex; flex-direction: column; gap: 20px; max-width: 900px; }
.pg-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--font--serif); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: var(--letter-spacing--2); }
.pg-quote figcaption { display: flex; flex-direction: column; gap: 4px; }

/* ---------- Gallery (work page, case pages, service pages) ---------- */
.pg-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.pg-filter button { font: inherit; font-size: 14px; padding: 10px 18px; border-radius: var(--radius--round); border: 1px solid var(--border-dark); background: transparent; color: inherit; cursor: pointer; }
.pg-filter button[aria-pressed="true"] { background-color: var(--dark); color: var(--light); border-color: var(--dark); }
.pg-gallery { columns: 4 240px; column-gap: 16px; }
.pg-tile { break-inside: avoid; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.pg-tile[hidden] { display: none; }
.pg-tile img, .pg-tile video { display: block; width: 100%; height: auto; border-radius: var(--radius--xsmall); background-color: var(--bg); }
.pg-tile figcaption { text-align: left; line-height: 1.4; font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .65; }
.pg-tile figcaption a { color: inherit; }
.pg-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* ---------- Table ---------- */
.pg-table-wrap { overflow-x: auto; border: 1px solid var(--border-dark); border-radius: var(--radius--small); background-color: var(--light); }
.pg-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.pg-table th, .pg-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border-dark); vertical-align: top; line-height: 1.45; }
.pg-table thead th { font-family: var(--font--mono); font-size: var(--text--label); font-weight: 500; letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.pg-table tr:last-child td { border-bottom: 0; }
.pg-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- FAQ on inner pages (same accordion as home) ---------- */
.pg-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.pg-faq-q { margin: 0; font-weight: 400; }
.pg-faq .faq-block { width: 100%; }
.pg-faq-group + .pg-faq-group { margin-top: 56px; }
.pg-faq-group > .label { display: block; margin: 0 0 8px; font-weight: 500; opacity: .7; }

/* ---------- Related links ---------- */
.pg-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* ---------- Loop diagram on the Engine page ---------- */
.pg-loop { width: 100%; max-width: 520px; margin: 0 auto; display: block; }

/* ---------- Team grid (About) ---------- */
.pg-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.pg-person { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius--xsmall); background-color: var(--bg); }
.pg-person figcaption { display: flex; flex-direction: column; gap: 2px; }
.pg-founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.pg-founder img { width: 100%; height: auto; border-radius: var(--radius--small); }

/* ---------- Forms (contact, creators) ---------- */
.pg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pg-form .full { grid-column: 1 / -1; }
.pg-field { display: flex; flex-direction: column; gap: 8px; }
.pg-field > span, .pg-field legend { font-size: 14px; font-weight: 500; padding: 0; }
.pg-field small { font-size: 13px; opacity: .65; font-weight: 400; }
.pg-field input[type=text], .pg-field input[type=email], .pg-field input[type=url], .pg-field input[type=tel], .pg-field select, .pg-field textarea {
  font: inherit; font-size: 16px; color: var(--dark); background-color: #fff; border: 1px solid var(--border-dark); border-radius: var(--radius--xsmall); padding: 14px 16px; width: 100%; }
.pg-field textarea { min-height: 120px; resize: vertical; }
.pg-field input:focus-visible, .pg-field select:focus-visible, .pg-field textarea:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
fieldset.pg-field { border: 0; margin: 0; padding: 0; }
.pg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-options label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--border-dark); border-radius: var(--radius--round); background-color: #fff; font-size: 15px; cursor: pointer; }
.pg-options input { accent-color: var(--dark); margin: 0; }
.pg-form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.pg-form-foot p { margin: 0; font-size: 14px; opacity: .75; max-width: 480px; }
.pg-submit { font: inherit; font-size: 16px; font-weight: 500; padding: 18px 32px; border-radius: var(--radius--round); border: 0; background-color: var(--dark); color: var(--light); cursor: pointer; }
.pg-submit:hover { opacity: .9; }
.pg-form-msg { grid-column: 1 / -1; padding: 16px 20px; border-radius: var(--radius--xsmall); background-color: var(--bg); margin: 0; }
.pg-form-msg[hidden] { display: none; }
.pg-aside { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: var(--radius--small); background-color: var(--dark); color: var(--light); }
.pg-aside h2, .pg-aside h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .pg-hero { padding: 144px 0 72px; }
  .pg-hero-grid, .pg-split, .pg-faq, .pg-founder { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pg-split.flip > :first-child { order: 0; }
  .pg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section.pg-section { padding: 80px 0; }
}
@media screen and (max-width: 767px) {
  .pg-fit, .pg-form { grid-template-columns: minmax(0, 1fr); }
  .pg-fit > div, .pg-aside { padding: 28px; }
  .pg-card { padding: 24px; }
  .pg-head { margin-bottom: 40px; }
  .pg-gallery { columns: 2 140px; column-gap: 10px; }
  .pg-tile { margin-bottom: 10px; }
}
@media screen and (max-width: 479px) {
  .pg-hero { padding: 120px 0 56px; }
  .section.pg-section { padding: 64px 0; }
  .pg-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { a.pg-card { transition: none; } }

/* ---------- Builder requests (2026-11-09) ---------- */
.pg-person img { height: auto; }
.pg-team { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pg-aside .pg-stat { background-color: rgba(249,245,235,.06); border-color: var(--border-light); color: var(--light); }
@media screen and (max-width: 479px) { .pg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* FAQ rows fade in via the template on home; on inner pages show them at once so anchors and fast scrolls never land on faded rows */
body.pg .expandable-single { opacity: 1 !important; transform: none !important; }

/* cut-engine-services */
.pg-hero-media { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-hero-media figcaption { font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.pg-hero-media.portrait { width: 100%; max-width: 340px; justify-self: end; }
.pg-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.pg-duo .pg-tile { margin: 0; }
.pg-checkcard { padding: 36px; border-radius: var(--radius--small); border: 1px solid var(--border-light); background-color: rgba(249,245,235,.06); display: flex; flex-direction: column; gap: 20px; }
.pg-checkcard h2 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.pg-note { margin: 0; font-size: var(--text--text-small); opacity: .7; }
details.pg-more { margin-top: 32px; }
details.pg-more > summary { display: inline-block; cursor: pointer; padding: 12px 22px; border-radius: var(--radius--round); border: 1px solid var(--border-dark); font-size: 15px; font-weight: 500; list-style: none; }
details.pg-more > summary::-webkit-details-marker { display: none; }
details.pg-more[open] > summary { margin-bottom: 24px; }
/* loop diagram on the dark Engine hero */
.pg-hero .engine-loop .ring { stroke: var(--light); opacity: .55; }
.pg-hero .engine-loop .hub { fill: rgba(249,245,235,.08); }
.pg-hero .engine-loop .node { fill: var(--dark); stroke: var(--light); }
.pg-hero .engine-loop text { fill: var(--light); }
.pg-hero .engine-loop .arr { fill: var(--light); }
.pg-hero .engine-loop .eng-node.is-on .node, .pg-hero .engine-loop .eng-hub.is-on .hub { fill: var(--light); }
.pg-hero .engine-loop .eng-node.is-on text, .pg-hero .engine-loop .eng-hub.is-on text { fill: var(--dark); }
@media screen and (max-width: 991px) { .pg-hero-media.portrait { justify-self: start; max-width: 280px; } }

/* cut-company */
.pg-close { margin: 40px 0 0; font-family: var(--font--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.pg-section.dark .pg-team .team-role { opacity: .7; }

/* cut-proof */
.pg-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border-dark); }
.dark .pg-close { border-color: var(--border-light); }
.pg-close-line { margin: 0; font-family: var(--font--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: var(--letter-spacing--2); max-width: 720px; }
.pg-close-line a { color: inherit; }
figure.pg-hero-media { margin: 0; }
.pg-hero-media .pg-hero-vid { max-width: 340px; margin-left: auto; aspect-ratio: 9 / 16; object-fit: cover; }
@media screen and (max-width: 991px) { .pg-hero-media .pg-hero-vid { max-width: 260px; margin-left: 0; } }
.pg-btnrow { margin-top: 32px; display: flex; justify-content: flex-start; }
.pg-btnrow > .cta-main { flex: 0 0 auto; }
@media screen and (max-width: 479px) {
  .pg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pg-stat { padding: 18px 16px; gap: 6px; }
  .pg-stat-num { font-size: 36px; }
  .pg-stat-what { font-size: 14px; }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .pg-step { padding: 20px 0; }
  .pg-step h3 { font-size: 22px; }
}
/* end cut-proof */

/* contact multi-step (2026-11-10) */
.ms-wrap { min-width: 0; }
.ms-form { gap: 20px; }
.ms-progress { display: block; }
.ms-bar { display: block; height: 4px; border-radius: 4px; background-color: var(--border-dark); overflow: hidden; }
.ms-fill { display: block; height: 100%; width: 33.3%; background-color: var(--dark); transition: width .3s ease; }
.ms-progress-text { margin: -8px 0 0; font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.ms-step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ms-step[hidden], .ms-calendar[hidden], .ms-form[hidden] { display: none; }
.ms-title { padding: 0; margin: 0 0 4px; font-family: var(--font--serif); font-weight: 400; font-size: 32px; line-height: 1.1; outline: none; }
.ms-group { border: 0; margin: 0; padding: 0; }
.ms-group legend { margin-bottom: 10px; }
.ms-radios label { min-height: 44px; }
.pg-options label:has(input:checked) { background-color: var(--dark); color: var(--light); border-color: var(--dark); }
.pg-options input:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }
.pg-options label:has(input:focus-visible) { outline: 2px solid var(--dark); outline-offset: 2px; }
.ms-group.has-error .pg-options label { border-color: #b3261e; }
.ms-error { display: block; margin: 8px 0 0; color: #b3261e; font-size: 14px; font-weight: 500; }
.ms-error[hidden] { display: none; }
[aria-invalid="true"]:not([type=radio]):not([type=checkbox]) { border-color: #b3261e !important; }
.ms-nav { display: flex; gap: 12px; align-items: center; }
.ms-back { font: inherit; font-size: 16px; padding: 18px 24px; border-radius: var(--radius--round); border: 1px solid var(--border-dark); background: transparent; color: inherit; cursor: pointer; }
.ms-back:focus-visible, .pg-submit:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }
.ms-note { margin: 0; font-size: 14px; opacity: .75; }
.ms-note a { color: inherit; }
.ms-calendar { display: flex; flex-direction: column; gap: 20px; }
.ms-cal-frame { min-height: 420px; border: 1px dashed var(--border-dark); border-radius: var(--radius--small); padding: 32px; display: flex; align-items: center; justify-content: center; text-align: center; background-color: var(--bg); }
.ms-cal-frame p { max-width: 420px; margin: 0; line-height: 1.5; }
.ms-cal-frame a { color: inherit; }
.ms-cal-iframe { width: 100%; min-height: 720px; border: 0; }
@media screen and (max-width: 479px) { .ms-title { font-size: 26px; } .ms-nav .pg-submit { flex: 1; } }

/* case study one-screen summary (2026-11-10) */
.section.pg-summary-sec { padding-top: 56px; padding-bottom: 8px; }
.pg-summary { border: 1px solid var(--border-dark); border-radius: var(--radius--small); background-color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.pg-summary-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pg-summary-head h2.label { margin: 0; font-weight: 500; }
.pg-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pg-share-btn { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: var(--radius--round); border: 1px solid var(--border-dark); background: transparent; color: inherit; cursor: pointer; text-decoration: none; }
.pg-share-btn:hover { border-color: var(--dark); }
.pg-share-btn:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.pg-share-msg { font-size: 13px; opacity: .7; }
.pg-summary-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.pg-summary-num { display: flex; flex-direction: column; gap: 10px; }
.pg-summary-what { margin: 0; font-size: 17px; line-height: 1.4; }
.pg-summary-when { margin: 0; font-size: 14px; line-height: 1.45; opacity: .7; }
.pg-summary-facts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pg-summary-facts dt { font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.pg-summary-facts dd { margin: 0; font-size: 15px; line-height: 1.45; }
@media screen and (max-width: 991px) { .pg-summary-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pg-summary-facts { grid-column: 1 / -1; } }
@media screen and (max-width: 767px) { .pg-summary { padding: 20px; } .pg-summary-grid { grid-template-columns: minmax(0, 1fr); } }
@media print { .navbar-master, .footer, .cta-section, .m-cta, .pg-share { display: none !important; } }

/* case studies index (round 5) */
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cs-card { display: flex; flex-direction: column; border: 1px solid var(--border-dark); border-radius: var(--radius--small); overflow: hidden; background-color: #fff; color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.cs-card:hover { transform: translateY(-4px); border-color: var(--dark); }
.cs-card:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }
.cs-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background-color: var(--bg); }
.cs-body { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.cs-body h2 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: var(--letter-spacing--2); }
.cs-body .label { opacity: .7; }
@media screen and (max-width: 767px) { .cs-grid { grid-template-columns: minmax(0, 1fr); } .cs-body { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .cs-card { transition: none; } }

/* round 5: gallery captions on hover where there is a mouse (overrides the base caption rule above) */
@media (hover: hover) and (pointer: fine) {
  .pg-tile figcaption { opacity: 0; color: var(--light); }
  .pg-tile:hover figcaption, .pg-tile:focus-within figcaption { opacity: 1; }
  .pg-tile figcaption a { color: var(--light); }
}
/* concept pieces always say so, even without hover */
@media (hover: hover) and (pointer: fine) { .pg-tile[data-tags~="concept"] figcaption { opacity: 1; } }

/* ---------- Blog (index tiles, post page) and long text pages (legal). Built from page-src/posts/*.md and page-src/docs/*.md ---------- */
.bl-meta { font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.bl-hero h1 { font-size: clamp(40px, 5vw, 76px); max-width: 18ch; }
.bl-byline { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.3; }
.bl-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.bl-role { opacity: .65; }
.bl-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 72px; justify-content: start; }
.bl-aside-inner { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; }
.bl-toc { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.35; }
.bl-toc-plain { list-style: none; padding-left: 0; }
.bl-toc a { color: inherit; opacity: .7; text-decoration: none; }
.bl-toc a:hover { opacity: 1; text-decoration: underline; }
.bl-body { font-size: 18px; line-height: 1.65; }
.bl-body > :first-child { margin-top: 0; }
.bl-body p { margin: 0 0 20px; }
.bl-body h2 { margin: 56px 0 18px; font-family: var(--font--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; letter-spacing: var(--letter-spacing--3); scroll-margin-top: 110px; }
.bl-body h3 { margin: 32px 0 10px; font-family: var(--font--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.bl-body h4 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.bl-body ul, .bl-body ol { margin: 0 0 22px; padding-left: 22px; }
.bl-body li { margin-bottom: 8px; }
.bl-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bl-body strong { font-weight: 600; }
.bl-body table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 15px; line-height: 1.45; display: block; overflow-x: auto; }
.bl-body th, .bl-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-dark); vertical-align: top; }
.bl-body th { font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; font-weight: 400; opacity: .7; }
.bl-short { margin: 0 0 40px; padding: 28px 32px; border-radius: var(--radius--small); background-color: var(--bg); border: 1px solid var(--border-dark); display: flex; flex-direction: column; gap: 12px; }
.bl-short ul { margin: 0; }
.bl-short li:last-child { margin-bottom: 0; }
.bl-author { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border-dark); display: flex; gap: 20px; align-items: center; }
.bl-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.bl-author p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.bl-author-name { font-family: var(--font--serif); font-size: 26px; line-height: 1.1; }
.lg-body h2 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 48px; }
.lg-body h3 { font-size: 22px; }
/* tiles */
.bl-tile { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; }
.bl-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius--small); background-color: var(--bg); }
.bl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bl-tile:hover .bl-img img { transform: scale(1.04); }
.bl-info { display: flex; flex-direction: column; gap: 10px; }
.bl-title { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 28px; line-height: 1.12; letter-spacing: var(--letter-spacing--3); }
.bl-pinned { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bl-pinned .bl-title { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.04; }
.bl-dek { margin: 4px 0 0; font-size: 18px; line-height: 1.55; opacity: .8; max-width: 46ch; }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.bl-grid-gap { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--border-dark); }
@media screen and (max-width: 991px) {
  .bl-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bl-aside { display: none; }
  .bl-pinned { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-body { font-size: 17px; }
  .bl-short { padding: 22px; }
  .bl-grid-gap { margin-top: 56px; padding-top: 40px; }
}
.ms-form .pg-field select[aria-invalid], .ms-form .pg-field input[aria-invalid] { border-color: #b3261e; }
.ms-form textarea[name=notes] { min-height: 72px; }

/* 10X Engine: service rows (number, name + promise + link, chips, one proof figure) */
.sv-list { border-top: 2px solid var(--dark); }
.sv-row { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--border-dark); }
.sv-n { font-family: var(--font--mono); font-size: 13px; opacity: .7; padding-top: 4px; }
.sv-main .label { opacity: .7; margin-bottom: 8px; }
.sv-main h3 { margin: 0 0 8px; font-family: var(--font--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; }
.sv-main p { margin: 0 0 14px; font-size: 16px; line-height: 1.45; opacity: .78; max-width: 460px; }
.sv-more { font-size: 15px; font-weight: 500; color: inherit; text-underline-offset: 4px; }
.sv-chips { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.sv-chips li { padding: 7px 13px; border: 1px solid var(--border-dark); border-radius: 999px; font-size: 13px; background: #fffdfa; }
.sv-proof { text-align: right; display: grid; gap: 6px; justify-items: end; }
.sv-num { font-family: var(--font--serif); font-size: 52px; line-height: .95; letter-spacing: -.03em; }
.sv-cap { font-size: 13px; line-height: 1.4; opacity: .62; max-width: 220px; }
.sv-sub { margin: 56px 0 14px; opacity: .7; }
@media (max-width: 991px) { .sv-row { grid-template-columns: 40px 1fr; } .sv-chips, .sv-proof { grid-column: 2; } .sv-proof { text-align: left; justify-items: start; } }
@media (max-width: 479px) { .sv-row { grid-template-columns: 1fr; gap: 14px; } .sv-chips, .sv-proof { grid-column: 1; } .sv-main h3 { font-size: 28px; } .sv-num { font-size: 44px; } }
