/* Page layout for datablender.consulting.
   The canvas (design/canvas/*.dc.html) set these as inline styles; they live here
   as classes with the same values. Colors come from theme.css tokens.
   Loaded after theme.css and brandui.css. The phone block is last on purpose. */

/* ---------- Text colors (token pairs from the design system) ---------- */
.c-ink { color: var(--ink); }
.c-muted { color: var(--ink-muted); }
.c-navy { color: var(--navy); }
.c-apricot-ink { color: var(--apricot-ink); }
.c-white { color: var(--on-navy); }
.c-sky-soft { color: var(--sky-soft); }

/* ---------- Spacing and width helpers ---------- */
.pt-0 { padding-top: 0; }
.pt-8 { padding-top: 8px; }
.pt-24 { padding-top: 24px; }
.pt-48 { padding-top: 48px; }
.pt-72 { padding-top: 72px; }
.pt-88 { padding-top: 88px; }
.pt-96 { padding-top: 96px; }
.pb-32 { padding-bottom: 32px; }
.pb-40 { padding-bottom: 40px; }
.pb-48 { padding-bottom: 48px; }
.pb-56 { padding-bottom: 56px; }
.pb-72 { padding-bottom: 72px; }
.pb-88 { padding-bottom: 88px; }
.pb-96 { padding-bottom: 96px; }
.mb-16 { margin: 0 0 16px; }
.mw-380 { max-width: 380px; }
.mw-440 { max-width: 440px; }
.mw-480 { max-width: 480px; }
.mw-520 { max-width: 520px; }
.mw-560 { max-width: 560px; }
.mw-600 { max-width: 600px; }
.mw-620 { max-width: 620px; }
.mw-640 { max-width: 640px; }
.mw-680 { max-width: 680px; }
.mw-720 { max-width: 720px; }
.mw-820 { max-width: 820px; }
.self-start { align-self: flex-start; }

.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }

/* ---------- Page frame ---------- */
.wrap { max-width: 1264px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.wrap--narrow { max-width: 960px; }

.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-sand { background: var(--sand); }
.band-sky { background: var(--sky-soft); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 8px 16px; border-radius: var(--radius-full); background: var(--surface); color: var(--navy); text-decoration: none; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 12px; }

/* ---------- Header (SiteHeader.dc.html) ---------- */
.site-header { width: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.wordmark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-nav__cta { margin-left: 12px; }

/* ---------- Footer (SiteFooter.dc.html) ---------- */
.site-footer { width: 100%; background: var(--paper); }
.cta-panel { background: var(--navy); border-radius: var(--radius-lg); padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-panel__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-main { background: var(--sand); border-top: 1px solid var(--line); }
.footer-groups { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer-group { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-group--brand { flex: 2 1 320px; }
.footer-group--explore { flex: 1 1 160px; }
.footer-wordmark { color: var(--navy); text-decoration: none; align-self: flex-start; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Shared pieces ---------- */
.page-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.card-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.card-grid > .bu-card { min-width: 0; }
.card-grid--340 > .bu-card { flex: 1 1 340px; }
.card-grid--320 > .bu-card { flex: 1 1 320px; }
.card-grid--260 > .bu-card { flex: 1 1 260px; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist--roomy { gap: 14px; }
.checklist--roomy li { gap: 12px; }
.checklist--mid { gap: 12px; }
.check-icon { flex: 0 0 20px; margin-top: 2px; }

.num-badge { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.num-badge--sm { flex: 0 0 32px; width: auto; height: 32px; }

/* ---------- Home (Main.dc.html) ---------- */
.hero-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-split__text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero-split__text--home { flex: 1 1 540px; gap: 24px; }
.hero-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 480px; height: auto; display: block; }

.proof-strip { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 24px 48px; }
.proof-item { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.split { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.split--center { align-items: center; }
.split__half { flex: 1 1 440px; min-width: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.step { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--navy); }

.quote { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.quote blockquote { margin: 0; }

/* ---------- Services (Services.dc.html) ---------- */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.service-row { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 48px 0; border-top: 1px solid var(--line); }
.service-row__text { flex: 3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.service-row__card { flex: 2 1 320px; min-width: 0; }
.title-with-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.not-do { background: var(--sky-soft); border-radius: var(--radius-lg); padding: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 48px; margin-top: 16px; }
.not-do__title { flex: 1 1 240px; }
.not-do__text { flex: 3 1 480px; min-width: 0; }

/* ---------- Approach (Approach.dc.html) ---------- */
.approach-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.approach-step { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.approach-step:last-child { border-bottom: 1px solid var(--line); }
/* Stays 44px on phones too (the canvas set it inline, over .title's phone size). */
.approach-step__num { flex: 0 0 64px; font-size: 44px; line-height: 48px; color: var(--navy); }
.approach-step__title { flex: 1 1 260px; min-width: 0; }
.approach-step__text { flex: 2 1 440px; min-width: 0; }

.faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.faq__item { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- About (About.dc.html) ---------- */
.hero-split--about { gap: 48px 64px; }
.hero-split__text--about { flex: 1 1 520px; gap: 20px; }
.photo { flex: 1 1 380px; min-width: 0; max-width: 460px; height: 520px; margin: 0; position: relative; border-radius: var(--radius-lg); background: var(--sky-soft); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.photo__motif { position: absolute; top: 0; right: 0; width: 160px; height: 160px; z-index: 1; }
.photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.bio { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.bio__text { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.bio__card { flex: 2 1 320px; min-width: 0; }

/* ---------- Contact (Contact.dc.html) ---------- */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.contact__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.next-steps { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; width: 100%; }
.next-steps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next-steps__list li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps__text { padding-top: 4px; }
.prefer-email { width: 100%; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }

.form-panel { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row > .bu-field { flex: 1 1 200px; min-width: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-alert { margin: 0; padding: 12px 16px; border: 1px solid var(--danger); border-radius: var(--radius-md); color: var(--danger); background: var(--surface); }
.form-alert a { color: inherit; }
/* The honeypot: off-screen for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.sent__icon { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--sky-soft); display: flex; align-items: center; justify-content: center; }

/* ---------- Phone widths (was theme.css's !important overrides) ---------- */
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .panel { padding: 28px; }
}
