/* ==========================================================================
   DATASANJ — additions.css
   Loads AFTER styles.css. Adds new components only; overrides nothing existing.
   Written against the real styles.css: uses its tokens (--grey-500 etc), its
   px type scale, its 8px card radius and its .bg-cream inversion pattern.
   Note: styles.css already applies * { margin:0; padding:0 } so no list resets
   are needed here.
   ========================================================================== */

/* ---------- Productised offer card (Contact) ---------------------------- */
.offer { max-width: 760px; margin: 0 auto; background: var(--warm-white); border: 1px solid var(--stone); border-top: 3px solid var(--copper); border-radius: 8px; padding: 36px 34px; text-align: left; }
.bg-cream .offer { background: var(--warm-white); }
.offer-eyebrow { font-size: 11px; font-weight: 500; color: var(--copper); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 13px; }
.offer h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 12px; }
.offer-lede { font-size: 16px; color: var(--grey-600); line-height: 1.8; margin-bottom: 26px; }
.offer-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: 18px 0; margin-bottom: 24px; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.offer-price { font-size: 26px; font-weight: 700; color: var(--charcoal); line-height: 1.1; }
.offer-price small { font-size: 13px; font-weight: 400; color: var(--grey-500); }
.offer-term { font-size: 13.5px; color: var(--grey-500); }
.offer ul { list-style: none; margin-bottom: 28px; }
.offer li { font-size: 15.5px; color: var(--grey-600); line-height: 1.72; padding: 8px 0 8px 26px; position: relative; }
.offer li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.offer li strong { color: var(--charcoal); font-weight: 600; }
.offer .btn-dark { width: auto; }            /* styles.css sets .btn-dark to 100% */
.offer-note { font-size: 13.5px; color: var(--grey-500); line-height: 1.7; margin-top: 18px; }

/* ---------- Trust strip under CTAs -------------------------------------- */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; margin-top: 30px; font-size: 13px; line-height: 1.5; color: var(--grey-500); }
.trust-strip li { display: flex; align-items: center; gap: 8px; }
.trust-strip li::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); }
/* .cta-section is charcoal — grey text is unreadable on it */
.cta-section .trust-strip { color: rgba(255,255,255,.62); }
.cta-section .trust-strip li::before { background: var(--copper-light); }

/* ---------- Proof band (Work page header) ------------------------------- */
.proof-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--stone); border: 1px solid var(--stone); border-radius: 8px; overflow: hidden; margin-top: 44px; text-align: left; }
.proof-band > div { background: var(--warm-white); padding: 26px 24px; }
.proof-band b { display: block; font-size: 27px; font-weight: 700; color: var(--copper); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 7px; }
.proof-band span { display: block; font-size: 13.5px; color: var(--grey-600); line-height: 1.6; }

/* ---------- Fit / not-a-fit columns (About) ----------------------------- */
.fit-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.fit-col { background: var(--warm-white); border: 1px solid var(--stone); border-radius: 8px; padding: 32px; }
.fit-col h4 { font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 18px; }
.fit-col ul { list-style: none; }
.fit-col li { font-size: 15px; color: var(--grey-600); line-height: 1.65; padding: 11px 0 11px 26px; position: relative; border-bottom: 1px solid var(--stone); }
.fit-col li:last-child { border-bottom: none; }
.fit-col li::before { position: absolute; left: 0; top: 11px; font-weight: 600; }
.fit-col--yes { border-left: 3px solid var(--copper); }
.fit-col--yes li::before { content: '\2713'; color: var(--copper); }
.fit-col--no li::before { content: '\2715'; color: var(--grey-400); }

/* ---------- FAQ (native details/summary, no JS) ------------------------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--stone); text-align: left; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; font-size: 16.5px; font-weight: 600; line-height: 1.5; color: var(--charcoal); transition: color .3s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; line-height: 1; color: var(--copper); }
.faq details[open] summary::after { content: '\2013'; }
.faq summary:hover { color: var(--copper-dark); }
.faq .faq-a { padding: 0 8px 22px 0; }
.faq .faq-a p { font-size: 16px; color: var(--grey-600); line-height: 1.8; margin-bottom: 12px; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Form refinements (Contact) ---------------------------------- */
.opt { font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-400); margin-left: 7px; }
.form-reassure { font-size: 13.5px; color: var(--grey-500); line-height: 1.7; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--stone); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alt { margin-top: 22px; padding: 20px 22px; background: var(--cream); border: 1px solid var(--stone); border-radius: 6px; font-size: 14.5px; color: var(--grey-600); line-height: 1.7; }
.bg-cream .form-alt { background: var(--warm-white); }
.form-alt a { color: var(--copper-dark); font-weight: 600; }
.form-alt a:hover { color: var(--copper); }

/* ---------- Field-note subscribe (Insights + articles) ------------------ */
.subscribe { max-width: 620px; margin: 48px auto 0; background: var(--cream); border: 1px solid var(--stone); border-radius: 8px; padding: 32px; text-align: left; }
.subscribe h3 { font-size: 19px; font-weight: 600; margin: 0 0 9px; }
.subscribe p { font-size: 15px; color: var(--grey-600); line-height: 1.7; margin-bottom: 20px; }
.subscribe-row { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe-row input[type=email] { flex: 1 1 240px; padding: 14px 16px; border: 1px solid var(--stone); border-radius: 6px; font-family: var(--font-primary); font-size: 15px; color: var(--charcoal); background: var(--warm-white); }
.subscribe-row input[type=email]:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(196,106,61,.1); }
.subscribe-row .btn { flex: 0 0 auto; width: auto; padding: 14px 28px; }  /* .btn-dark is 100% in styles.css */
.subscribe small { display: block; margin-top: 13px; font-size: 12.5px; color: var(--grey-500); }

/* ---------- Related articles (article pages) ---------------------------- */
.related-section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--stone); }
.related-section .card h3 { font-size: 17px; line-height: 1.4; }
.related-section .card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Utility ------------------------------------------------------ */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-mt-lg { margin-top: 44px; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 768px) {
  .offer { padding: 28px 22px; }
  .offer h3 { font-size: 21px; }
  .offer-price { font-size: 23px; }
  .proof-band { grid-template-columns: 1fr; margin-top: 34px; }
  .proof-band b { font-size: 24px; }
  .fit-cols { grid-template-columns: 1fr; }
  .fit-col { padding: 26px 22px; }
  .faq summary { font-size: 15.5px; }
  .subscribe { padding: 26px 22px; }
  .subscribe-row .btn { width: 100%; }
}

/* ==========================================================================
   Code blocks in articles
   styles.css has no pre/code styling — technical field notes need it.
   ========================================================================== */
.article-body pre{
  background: var(--charcoal); border-radius: 8px; padding: 20px 22px;
  margin: 0 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.article-body pre code{
  font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; line-height: 1.75; color: #E4E1DC;
  display: block; white-space: pre; background: none; padding: 0; border: 0;
}
.article-body pre code .c{ color: #8C9A8E; }          /* comment */
.article-body pre code .k{ color: #D4845A; }          /* keyword */
.article-body pre code .s{ color: #A8C4A2; }          /* string */
.article-body p code, .article-body li code{
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .88em; background: var(--cream); border: 1px solid var(--stone);
  border-radius: 3px; padding: 1px 6px; color: var(--copper-dark);
}
.code-label{
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey-500); margin: 0 0 8px;
}
.article-body table{
  width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px;
}
.article-body th{
  text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--grey-500);
  padding: 0 12px 10px; border-bottom: 1px solid var(--stone);
}
.article-body td{
  padding: 11px 12px; border-bottom: 1px solid var(--cream);
  color: var(--grey-600); line-height: 1.6; vertical-align: top;
}
.article-body td:first-child, .article-body th:first-child{ padding-left: 0; }
@media (max-width: 640px){
  .article-body pre{ padding: 16px 14px; }
  .article-body pre code{ font-size: 12px; }
  .article-body table{ font-size: 14px; }
}

/* ==========================================================================
   Systems → Fabric → Power BI flow band (About page)
   ========================================================================== */
.flow-band{
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px; align-items: stretch; margin-top: 44px;
}
.flow-col{
  background: var(--warm-white); border: 1px solid var(--stone);
  border-radius: 8px; padding: 24px 22px; text-align: left;
}
.flow-col--mid{ border-color: var(--copper); border-width: 1px 1px 1px 3px; background: var(--cream); }
.flow-h{
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 16px;
}
.flow-col--mid .flow-h{ color: var(--copper-dark); }
.flow-items{ display: flex; flex-wrap: wrap; gap: 7px; }
.flow-items span{
  font-size: 12.5px; color: var(--grey-600); background: var(--cream);
  border: 1px solid var(--stone); border-radius: 4px; padding: 6px 12px; line-height: 1.3;
}
.flow-col--mid .flow-items span{ background: var(--warm-white); color: var(--charcoal); font-weight: 500; }
.flow-note{
  font-size: 13px; color: var(--grey-500); line-height: 1.6; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--stone);
}
.flow-arrow{
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--copper);
}
@media (max-width: 900px){
  .flow-band{ grid-template-columns: 1fr; gap: 10px; }
  .flow-arrow{ transform: rotate(90deg); padding: 2px 0; }
}

/* ==========================================================================
   Spacing corrections
   .badge is styled for the About page credential row, where it sits in a
   flex container that supplies the gap. In the article header it's a bare
   inline element, so it collides with the H1 underneath. Same for a few
   other places where an element inherits spacing from a parent it isn't in.
   ========================================================================== */

/* Article header — Field Note badge above the headline */
.article-header .badge{
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}
.article-header h1{ margin-top: 0; }
.article-header .crumb{ margin-bottom: 20px; }
.article-header .standfirst{ margin-top: 2px; }

/* Page headers that also carry a badge */
.page-header .badge{ display: inline-block; margin-bottom: 18px; }

/* Article body — first heading shouldn't hug the intro paragraph */
.article-body h2{ margin-top: 52px; }
.article-body h2:first-child{ margin-top: 0; }
.article-body h3{ margin-top: 38px; }
.article-body figure.media{ margin: 32px 0; }
.article-body figure.media figcaption{ margin-top: 12px; }
.article-body .pull{ margin: 40px 0; }
.article-body .callout{ margin: 36px 0; }

/* Article footer blocks need air between them */
.article-body .article-tags{ margin-top: 48px; }
.article-body .author{ margin-top: 32px; }
.article-body .subscribe{ margin-top: 32px; }
.article-body .related-section{ margin-top: 48px; }

/* Insights listing cards — badge to title */
.blog-card-badge{ display: inline-block; margin-bottom: 14px; }
.blog-card-title{ margin-top: 0; }

/* Section eyebrow to title, where the eyebrow is left-aligned */
.section > .container > .eyebrow{ margin-bottom: 12px; }
.section-title{ margin-top: 0; }

@media (max-width: 768px){
  .article-header .badge{ margin-bottom: 16px; }
  .article-body h2{ margin-top: 40px; }
  .article-body h3{ margin-top: 30px; }
  .article-body .article-tags{ margin-top: 38px; }
}

/* Homepage hero: photo and personal name removed for company voice.
   .hero-role was styled to sit under the headshot, so it needs its own
   top spacing now that it leads the block. */
.hero .hero-role{ margin-top: 0; margin-bottom: 22px; }
.hero .hero-content > .hero-role:first-child{ margin-bottom: 24px; }

/* Video embeds — hold the 16:9 box before metadata loads so the page
   doesn't jump, and keep controls reachable on mobile. */
.media .frame video{
  width: 100%; height: auto; aspect-ratio: 16 / 9;
  display: block; background: var(--charcoal-dark, #1A1A1A);
}
.media .frame video::-webkit-media-controls{ z-index: 2; }
.media .frame p{
  padding: 22px; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6;
}
.media .frame p a{ color: var(--copper-light); font-weight: 600; }
