/* Trust design layer — loaded after each page's inline styles.
   Dark hero/header/footer keep the brand; proof, results and forms sit on
   light "paper" sections. Gold is reserved for primary actions. */

:root {
  --paper: #faf7f2;
  --paper-card: #ffffff;
  --paper-ink: #0b0b12;
  --paper-ink-dim: #3d3d48;
  --paper-ink-faint: #5f5f6b;
  --paper-line: #e4ded3;
  --paper-line-strong: #cbc2b2;
  --gold-text: #9a6510;
  --radius: 4px;
  --space: 8px;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);
  --ink-faint: #9a9aa6;
}

/* ───────── Light sections ───────── */
section.band.alt,
section.contact-band,
section.paper {
  --bg: var(--paper);
  --bg-alt: #f3efe7;
  --bg-card: var(--paper-card);
  --bg-card-hover: var(--paper-card);
  --ink: var(--paper-ink);
  --ink-dim: var(--paper-ink-dim);
  --ink-faint: var(--paper-ink-faint);
  --border: var(--paper-line);
  --border-strong: var(--paper-line-strong);
  background: var(--paper);
  color: var(--paper-ink);
  border-top: 0;
}
section.band.alt a:not(.btn),
section.contact-band a:not(.btn),
section.paper a:not(.btn) { color: var(--gold-text); }
section.band.alt a:not(.btn):hover,
section.contact-band a:not(.btn):hover,
section.paper a:not(.btn):hover { color: var(--paper-ink); }
section.band.alt .card-link,
section.paper .card-link { color: var(--paper-ink); }
section.band.alt .btn-secondary,
section.contact-band .btn-secondary,
section.paper .btn-secondary { color: var(--paper-ink); border-color: var(--paper-line-strong); }
section.band.alt .btn-secondary:hover,
section.contact-band .btn-secondary:hover,
section.paper .btn-secondary:hover { border-color: var(--paper-ink); color: var(--paper-ink); }

/* ───────── Remove glow, gradients and float effects ───────── */
section.hero::before,
.hero::before,
.illust.glow::after,
.buddy-chat::before { display: none; }
.brand-mark { box-shadow: none; background: var(--gold); }
.founder-photo { box-shadow: none; background: var(--bg-card); }
.team-avatar.jw, .team-avatar.km, .team-avatar.sm { background: var(--border); box-shadow: none; }
.buddy-chat { box-shadow: none; background: var(--bg-card); border-color: var(--border-strong); }
.chat-head .dot { box-shadow: none; }
.msg.buddy .avatar { box-shadow: none; background: var(--gold); }
.card:hover, .post-card:hover, .team-card:hover, .location-chip:hover, .pillar:hover {
  transform: none; box-shadow: none;
}
.btn-primary:hover, nav.primary a.cta:hover { transform: none; box-shadow: none; }

/* ───────── Shape: square, flat, consistent ───────── */
.btn, nav.primary a.cta { border-radius: var(--radius); }
.card, .post-card, .team-card, .location-chip, .pillar, .stat, .form-card,
.checklist li, .faq details, .proof-card, .illust, .buddy-chat, .founder-photo,
.svc-chk, .form-field input, .form-field select, .form-field textarea,
.msg .bubble, nav.primary .mega-inner, nav.primary.open { border-radius: var(--radius); }
.team-links a, .tag { border-radius: var(--radius); }
.card, .post-card, .team-card, .location-chip, .pillar, .stat { border-color: var(--border); }
.card:hover, .post-card:hover, .team-card:hover, .location-chip:hover, .pillar:hover {
  border-color: var(--border-strong);
}
.card-link:hover h3, a.post-card:hover h3 { text-decoration: underline; text-underline-offset: .18em; }

/* ───────── Type: labels in plain sans, sentence case ───────── */
.eyebrow,
.card-eyebrow,
.post-meta, .post-card .post-meta, .post-meta-row,
.team-role,
.location-chip .state,
.stat-label, .stat-band .stat-big .lbl,
.form-field label,
.footer-col h4,
nav.primary .mega h5,
.proof-card .attr,
.tag,
.card.tool::after {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.eyebrow { font-size: .9rem; font-weight: 600; color: var(--ink-faint); margin-bottom: calc(var(--space) * 1.5); }
.card-eyebrow, .post-meta, .post-card .post-meta { font-size: .8rem; font-weight: 500; color: var(--ink-faint); }
.team-role { font-size: .85rem; font-weight: 500; color: var(--ink-faint); }
.location-chip .state { font-size: .8rem; color: var(--ink-faint); }
.footer-col h4, nav.primary .mega h5 { font-size: .85rem; font-weight: 600; color: var(--ink); }
nav.primary .mega h5 a { color: var(--ink); }
.card.tool::after { font-size: .7rem; opacity: 1; }

/* Italic gold accent words only in the hero H1 */
.section-head h2 em, h2 em, h3 em, .team-name em {
  font-style: normal; color: inherit; font-weight: inherit;
}
.card h3, .team-name, .location-chip .city, .faq summary, .pillar h3 {
  font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 600; letter-spacing: 0;
}
.card h3 { font-size: 1.15rem; }
.step-num, .pillar .pillar-num {
  font-family: 'IBM Plex Sans', system-ui, sans-serif; font-style: normal; font-weight: 600;
  font-size: 1rem; color: var(--ink-faint);
}
.founder-quote, .proof-card .quote { font-style: normal; }

/* ───────── Color discipline: gold = action ───────── */
.card .more { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--border-strong); }
section.band.alt .card .more, section.paper .card .more { color: var(--paper-ink); }
.stat-num, .stat-band .stat-big .num { color: var(--ink); }
.checklist li::before { color: var(--ink); }
.faq summary::after { color: var(--ink-faint); }
.proof-card { border-left: 3px solid var(--ink); }

/* ───────── Grids without orphan cards ───────── */
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3, .grid.cols-4, .team-grid { grid-template-columns: 1fr; }
.stat-row { grid-template-columns: repeat(2, 1fr); }
.location-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .grid.cols-3, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4, .stat-row { grid-template-columns: repeat(4, 1fr); }
  .location-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ───────── Spacing on an 8px rhythm ───────── */
section.band, section.contact-band { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.stat { padding: 20px 20px; }
.stat-num { font-size: 1.75rem; }

/* ───────── Forms ───────── */
.form-card { padding: clamp(24px, 3vw, 40px); }
section.contact-band .form-card, section.paper .form-card { border: 1px solid var(--paper-line); }
.form-field label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { min-height: 44px; font-size: 1rem; }
section.contact-band .form-field input,
section.contact-band .form-field select,
section.contact-band .form-field textarea,
section.paper .form-field input,
section.paper .form-field select,
section.paper .form-field textarea {
  background: #fff; color: var(--paper-ink); border-color: var(--paper-line-strong);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 2px rgba(240, 168, 48, .35);
}
section.contact-band .svc-chk, section.paper .svc-chk { background: #fff; color: var(--paper-ink-dim); }
.svc-chk:has(input:checked) { background: rgba(240, 168, 48, .10); }
.form-note { color: var(--ink-faint); }

/* ───────── Components the homepage didn't define ───────── */
.faq { display: grid; gap: 8px; max-width: 880px; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); padding: 16px 20px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; font-size: 1.05rem; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-dim); margin-top: 12px; }
.checklist { display: grid; gap: 8px; list-style: none; }
.checklist li { position: relative; padding: 10px 14px 10px 38px; background: var(--bg-card); border: 1px solid var(--border); color: var(--ink-dim); }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; }

/* Hero stats sit in a narrow column: 2 × 2 */
@media (min-width: 640px) { .hero .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hero .stat-row { grid-template-columns: repeat(2, 1fr); max-width: 560px; } }

/* ───────── Homepage additions ───────── */
.hero-assure { margin-top: 16px; font-size: .9rem; color: var(--ink-faint); }
.proof-strip { padding: 40px 0; background: var(--paper); color: var(--paper-ink); border-bottom: 1px solid var(--paper-line); }
.proof-strip .proof-label { font-size: .9rem; font-weight: 600; color: var(--paper-ink-faint); margin-bottom: 20px; }
.proof-names { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; list-style: none; }
.proof-names li { font-size: 1.1rem; font-weight: 600; color: #4a4a55; letter-spacing: -.01em; }
.proof-foot { margin-top: 20px; font-size: .85rem; color: var(--paper-ink-faint); }
.deliverable { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.deliverable .big { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--ink); }
.deliverable h3 { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.deliverable p { font-size: .95rem; color: var(--ink-dim); }
.section-cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.section-cta p { font-size: .95rem; color: var(--ink-dim); }
.assure-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-dim); }
.assure-row li::before { content: "✓"; margin-right: 6px; color: var(--paper-ink); font-weight: 700; }
.form-more { border-top: 1px solid var(--border); margin: 8px 0 16px; padding-top: 16px; }
.form-more > summary { cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::after { content: " +"; color: var(--ink-faint); }
.form-more[open] > summary::after { content: " −"; }
.form-more[open] > summary { margin-bottom: 16px; }

/* ───────── Mobile action bar ───────── */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 8, 13, .96); border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
  .mobile-cta .call { color: #f5f5f5; border: 1px solid rgba(255, 255, 255, .25); }
  .mobile-cta .audit { background: var(--gold); color: #08080d; }
  body { padding-bottom: 70px; }
}

/* ───────── Video, in-depth answers, apps ───────── */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.yt-lite { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: rgba(8, 8, 13, .82); border-radius: 10px; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-lite:hover .yt-play, .yt-lite:focus-visible .yt-play { background: #f00; }
.yt-card { margin: 0; }
.yt-card figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-dim); display: grid; gap: 2px; }
.yt-card figcaption strong { color: var(--ink); font-weight: 600; }
.yt-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .yt-grid { grid-template-columns: repeat(3, 1fr); } .yt-grid.two { grid-template-columns: repeat(2, 1fr); } }

.qa-deep { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .qa-deep.has-video { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } .qa-aside { position: sticky; top: 96px; } }
.qa-item { padding: 28px 0; border-top: 1px solid var(--border); }
.qa-item:first-child { border-top: 0; padding-top: 0; }
.qa-item h3 { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 600; font-size: 1.2rem; line-height: 1.35; margin: 0 0 12px; color: var(--ink); }
.qa-item p { color: var(--ink-dim); line-height: 1.7; margin: 0 0 12px; max-width: 68ch; }
.qa-item p:first-of-type { color: var(--ink); }
.qa-sources { font-size: .85rem; color: var(--ink-faint); margin: 8px 0 0; }
.qa-sources a { color: inherit; text-decoration: underline; }
.qa-aside .yt-card + .yt-card { margin-top: 24px; }
.qa-aside .btn { margin-top: 24px; }

.apps-band { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .apps-band { grid-template-columns: 1.3fr 1fr; } }
.apps-phone { justify-self: center; width: min(280px, 70vw); aspect-ratio: 420 / 912; border-radius: 28px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.apps-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ───────── Real-work showcase ───────── */
.browser { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 24px 60px -24px rgba(0,0,0,.45); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #eceae6; border-bottom: 1px solid rgba(0,0,0,.08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9c5be; display: block; }
.browser img { display: block; width: 100%; height: auto; }
.phone { border-radius: 26px; overflow: hidden; border: 6px solid #15151c; background: #000; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); }
.phone img { display: block; width: 100%; height: auto; }

.hero-v2 .hero-grid { align-items: center; }
.hero-visual { position: relative; padding: 0 0 40px 0; }
.hero-visual .browser { width: 100%; }
.hero-visual .phone { position: absolute; right: -8px; bottom: 0; width: 30%; max-width: 190px; }
@media (max-width: 999px) { .hero-visual { margin-top: 32px; } }
.stat-strip { list-style: none; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 12px 32px; grid-template-columns: repeat(2, 1fr); color: rgba(245,245,245,.72); font-size: .95rem; }
.stat-strip strong { color: #f5f5f5; font-weight: 600; margin-right: 4px; }
@media (min-width: 1000px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }

.work-kind { font-size: .85rem; font-weight: 600; color: var(--ink-faint); margin: 0 0 8px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.tags li { font-size: .8rem; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink-dim); }
.work-links { margin: 16px 0 0; font-size: .95rem; }

.work-feature { display: grid; gap: 32px; grid-template-columns: 1fr; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2, rgba(255,255,255,.03)); margin-bottom: 32px; align-items: center; }
section.band.alt .work-feature { background: #fff; }
@media (min-width: 1000px) { .work-feature { grid-template-columns: 1fr 1fr; padding: 48px; } }
.work-feature h2, .work-feature h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 0 0 16px; color: var(--ink); }
.work-feature p { color: var(--ink-dim); line-height: 1.7; max-width: 60ch; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.flow-col { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow-col li { font-size: .85rem; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); background: var(--bg, transparent); position: relative; }
.flow-col li::after { content: ""; position: absolute; top: 50%; right: -16px; width: 16px; border-top: 1px solid var(--gold-text, #9a6510); }
.flow-col.out li::after { right: auto; left: -16px; }
.flow-hub span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #0b0b12; color: #f0a830; font-weight: 700; font-size: .95rem; border: 2px solid #f0a830; }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; } .flow-hub { justify-self: center; } .flow-col li::after { display: none; } }

.work-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { display: flex; flex-direction: column; }
.work-card-body { padding: 20px 4px 0; }
.work-card h3 { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 600; font-size: 1.25rem; margin: 0 0 8px; color: var(--ink); }
.work-card p { color: var(--ink-dim); line-height: 1.6; margin: 0; }
.work-card .work-links { margin-top: 12px; }

.products { display: grid; gap: 32px; }
.product { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
section.band:not(.alt) .product { background: rgba(255,255,255,.03); }
@media (min-width: 1000px) { .product { grid-template-columns: 1fr 1fr; padding: 48px; } .product-oss { grid-template-columns: 1fr; } }
.product h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 12px; color: var(--ink); }
.product p { color: var(--ink-dim); line-height: 1.7; max-width: 56ch; }
.phone-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phone-row figure { margin: 0; }
.phone-row figcaption { font-size: .8rem; color: var(--ink-faint); margin-top: 10px; line-height: 1.4; }

.speaking { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .speaking { grid-template-columns: 1.4fr 1fr; } }
.talks { list-style: none; margin: 0; padding: 0; }
.talks li { display: grid; grid-template-columns: 80px 1fr; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.talks li:last-child { border-bottom: 1px solid var(--border); }
.talk-year { font-weight: 600; color: var(--gold-text, #9a6510); font-size: .9rem; grid-row: span 2; }
section.band:not(.alt) .talk-year { color: #f0a830; }
.talk-where { font-weight: 600; color: var(--ink); }
.talk-what { color: var(--ink-dim); font-size: .95rem; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 24px; grid-template-columns: 1fr; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding-top: 16px; border-top: 2px solid var(--ink); display: grid; gap: 6px; }
.steps li::before { content: "0" counter(s); font-size: .85rem; color: var(--ink-faint); font-weight: 600; }
.steps strong { font-size: 1.1rem; color: var(--ink); }
.steps span { color: var(--ink-dim); line-height: 1.6; }
.loc-line { margin-top: 32px; color: var(--ink-dim); font-size: .95rem; line-height: 1.7; }

.hero-work { margin: 0; }
.hero-work.hero-phone { justify-self: center; }
.hero-work .phone { width: min(260px, 70vw); margin: 0 auto; }
.hero-work figcaption { margin-top: 14px; font-size: .85rem; color: rgba(245,245,245,.65); text-align: center; }
.hero-work figcaption a { color: #f0a830; }

/* Logo wall */
.proof-strip.logos .proof-label { margin: 28px 0 14px; }
.proof-strip.logos .proof-label:first-child { margin-top: 0; }
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px 24px; }
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
.logo-wall-sm { grid-template-columns: repeat(8, 1fr); }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 72px; padding: 8px 10px; background: transparent; border: 0; border-radius: 4px; transition: opacity .15s, transform .15s; }
.logo-wall .logo-tile img { opacity: .92; }
.logo-tile:hover img, .logo-tile:focus-visible img { opacity: 1; transform: scale(1.04); }
.logo-tile:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; }
.logo-tile img { max-width: 100%; max-height: 34px; transition: opacity .15s, transform .15s; width: auto; height: auto; object-fit: contain; }
.logo-tile.sq img { max-height: 52px; }
.logo-tile.wide img { max-height: 44px; }
.logo-tile.mono img { filter: brightness(0); }
.logo-tile .wm { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: var(--paper-ink); text-align: center; line-height: 1.15; }
@media (max-width: 560px) { .logo-wall, .logo-wall-sm { grid-template-columns: repeat(3, 1fr); gap: 4px 16px; } .logo-tile { height: 60px; } }

/* Guides */
.guide-toc { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.03); }
.guide-toc p { font-weight: 600; margin-bottom: 8px; }
.guide-toc ol { margin: 0; padding-left: 1.2em; }
.guide-toc li { margin: 4px 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border, rgba(255,255,255,.12)); }
.prose thead th { font-weight: 600; }
.prose tbody th { font-weight: 600; white-space: nowrap; }
.guide-sources { font-size: .92rem; }
.guide .reviewed { margin-top: 2.4rem; }

/* Share bar */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--border, rgba(255,255,255,.12)); font-size: .9rem; }
.share-bar span { font-weight: 600; margin-right: 4px; }
.share-bar a, .share-copy { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--border-strong, rgba(255,255,255,.2)); border-radius: 4px; color: inherit; background: transparent; font: inherit; cursor: pointer; text-decoration: none; }
.share-bar a:hover, .share-copy:hover { border-color: var(--gold); }
.band.guide-band { padding-top: 24px; }

/* ── Case-study pages (/work/<slug>/) ── */
.crumbs { font-size: .85rem; color: var(--ink-faint); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.case-note { font-size: .92rem; color: var(--ink-dim); border-left: 3px solid var(--gold); padding: 8px 14px; margin: 18px 0 0; background: var(--bg-card); }
.case-intro { display: grid; gap: 40px; grid-template-columns: 1fr; }
.case-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border); align-self: start; }
.case-facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.case-facts dt { font-size: .82rem; font-weight: 600; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.case-facts dd { margin: 0; color: var(--ink); }
.case-steps { list-style: none; counter-reset: c; margin: 0; padding: 0; display: grid; gap: 0; max-width: 900px; }
.case-steps li { counter-increment: c; display: grid; grid-template-columns: 3.2em 1fr; column-gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); }
.case-steps li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font-weight: 600; color: var(--gold); font-size: 1.05rem; }
.case-steps strong { font-size: 1.1rem; color: var(--ink); }
.case-steps span { color: var(--ink-dim); line-height: 1.65; margin-top: 4px; }
.case-cols { display: grid; gap: 40px; grid-template-columns: 1fr; }
.case-cols h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 16px; }
.case-list { margin: 0; padding-left: 1.1em; color: var(--ink-dim); line-height: 1.6; display: grid; gap: 8px; }
.proj-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 8px; }
.proj-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.proj-card:hover h3, .proj-card:hover h4 { text-decoration: underline; }
.proj-card .browser { box-shadow: 0 14px 34px -20px rgba(0,0,0,.4); }
.proj-body { display: block; padding: 14px 2px 0; }
.proj-card h3, .proj-card h4 { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 600; font-size: 1.1rem; margin: 0 0 6px; color: var(--ink); }
.proj-lede { display: block; color: var(--ink-dim); font-size: .93rem; line-height: 1.55; }
.proj-group { font-size: 1.3rem; margin: 40px 0 18px; padding-top: 18px; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.proj-nav a span { color: var(--ink-faint); margin-left: 4px; }
@media (min-width: 700px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } .case-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } .case-intro { grid-template-columns: 5fr 7fr; gap: 56px; } }
