/* ==========================================================================
   DATASANJ — shared design system
   One stylesheet for every page. Edit here, not in page files.
   ========================================================================== */

:root {
  --charcoal: #2B2B2B;
  --charcoal-light: #3D3D3D;
  --charcoal-dark: #1A1A1A;
  --copper: #C46A3D;
  --copper-light: #D4845A;
  --copper-dark: #A85A32;
  --warm-white: #FAFAF8;
  --cream: #F5F4F2;
  --stone: #E8E6E3;
  --grey-400: #9A9A9A;
  --grey-500: #6B6B6B;
  --grey-600: #4A4A4A;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-primary); line-height: 1.7; color: var(--charcoal); background: var(--warm-white); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img, video { display: block; max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 820px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--charcoal); color: var(--warm-white); padding: 12px 20px; z-index: 2000; }

/* ---------- Navigation ---------- */
nav { position: fixed; top: 0; width: 100%; background: rgba(250,250,248,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--stone); z-index: 1000; padding: 20px 0; }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo-wrapper { display: flex; align-items: center; gap: 14px; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand { font-size: 18px; font-weight: 600; letter-spacing: 0.08em; color: var(--charcoal); }
.logo-text .tagline { font-size: 9px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-500); margin-top: 3px; }
.nav-menu { display: flex; list-style: none; gap: 40px; align-items: center; }
.nav-menu a { color: var(--grey-600); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; transition: color 0.3s ease; position: relative; }
.nav-menu a:hover { color: var(--copper); }
.nav-menu a.active { color: var(--charcoal); }
.nav-menu a.active::after { content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--copper); }
.nav-cta { background: var(--charcoal); color: var(--warm-white) !important; padding: 12px 26px; border-radius: 6px; font-weight: 500; letter-spacing: 0.03em; transition: all 0.3s ease; }
.nav-cta:hover { background: var(--copper); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--stone); border-radius: 6px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--charcoal); margin: 4px 0; transition: transform 0.3s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Page headers ---------- */
.page-header { margin-top: 84px; padding: 88px 0 72px; text-align: center; }
.page-header--dark { background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%); color: var(--warm-white); }
.page-header--cream { background: var(--cream); }
.page-header h1 { font-size: 43px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.24; margin-bottom: 20px; }
.page-header .intro { font-size: 19px; line-height: 1.75; max-width: 780px; margin: 0 auto; }
.page-header--dark .intro { color: rgba(255,255,255,0.87); }
.page-header--cream .intro { color: var(--grey-600); }
.page-header .creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.page-header .creds span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 16px; border-radius: 100px; }
.page-header--dark .creds span { color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.24); }
.page-header--cream .creds span { color: var(--grey-600); border: 1px solid var(--stone); background: var(--warm-white); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section.bg-cream { background: var(--cream); }
.section.bg-dark { background: var(--charcoal); color: var(--warm-white); }
.eyebrow { font-size: 11px; font-weight: 500; color: var(--copper); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 15px; }
.eyebrow--center { text-align: center; }
.section-title { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.28; margin-bottom: 18px; }
.section-title--center { text-align: center; }
.section-intro { font-size: 17.5px; color: var(--grey-600); line-height: 1.8; margin-bottom: 54px; max-width: 800px; }
.section-intro--center { text-align: center; margin-left: auto; margin-right: auto; }
.bg-dark .section-title { color: var(--warm-white); }
.bg-dark .section-intro { color: rgba(255,255,255,0.78); }

/* ---------- Chaos → clarity device ---------- */
.arc { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0 auto; }
.arc b { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.arc i { font-style: normal; color: var(--copper); padding: 0 16px; }
.arc .from { color: var(--grey-500); }
.arc .to { color: var(--charcoal); }
.page-header--dark .arc .from { color: rgba(255,255,255,0.45); }
.page-header--dark .arc .to { color: var(--warm-white); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.card { background: var(--warm-white); border: 1px solid var(--stone); border-radius: 8px; padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bg-cream .card { background: var(--warm-white); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(43,43,43,0.08); }
.card .num { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--copper); display: block; margin-bottom: 13px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.card p { font-size: 15.5px; color: var(--grey-600); line-height: 1.7; margin-bottom: 16px; }
.card ul { list-style: none; border-top: 1px solid var(--stone); padding-top: 14px; }
.card li { font-size: 13.5px; color: var(--grey-500); padding: 4px 0 4px 16px; position: relative; line-height: 1.55; }
.card li::before { content: '—'; position: absolute; left: 0; color: var(--copper); }

/* ---------- Project entries ---------- */
.project { border: 1px solid var(--stone); border-radius: 10px; overflow: hidden; background: var(--warm-white); margin-bottom: 28px; }
.bg-cream .project { background: var(--warm-white); }
.project:last-child { margin-bottom: 0; }
.project-head { padding: 32px 32px 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-tags span { background: var(--copper); color: var(--warm-white); padding: 5px 13px; border-radius: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.project-tags span.alt { background: transparent; color: var(--grey-600); border: 1px solid var(--stone); }
.project h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; margin-bottom: 8px; }
.project .client { font-size: 13.5px; color: var(--grey-500); line-height: 1.6; }
.project-body { padding: 24px 32px 32px; }
.ccblock { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--stone); border-radius: 8px; overflow: hidden; margin-bottom: 22px; }
.ccblock--chaos, .ccblock--clarity { padding: 24px; }
.ccblock--chaos { background: var(--cream); border-right: 1px solid var(--stone); }
.ccblock--clarity { background: var(--warm-white); }
.ccblock h4 { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.ccblock--chaos h4 { color: var(--grey-500); }
.ccblock--clarity h4 { color: var(--copper); }
.ccblock p { font-size: 14.5px; line-height: 1.7; color: var(--grey-600); margin: 0; }
.ccblock--clarity p { color: var(--charcoal); }
.project-build h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 10px; }
.project-build p { font-size: 15px; color: var(--grey-600); line-height: 1.75; margin-bottom: 18px; }
.project-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.project-stack span { background: var(--stone); padding: 5px 11px; border-radius: 4px; font-size: 11px; font-weight: 500; color: var(--grey-600); }
.project-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--stone); }
.project-links a { font-size: 13.5px; font-weight: 600; color: var(--copper); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.25s ease, color 0.25s ease; }
.project-links a:hover { color: var(--copper-dark); gap: 10px; }

/* ---------- Media (image / video) with graceful placeholder ---------- */
.media { margin: 0 0 22px; }
.media .frame { background: var(--charcoal); border: 1px solid var(--stone); border-radius: 8px; overflow: hidden; position: relative; }
.media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; background: var(--charcoal-dark); }
.media video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--charcoal-dark); display: block; }
.media--tall img { aspect-ratio: 4 / 3; }
.media.is-empty img, .media.is-empty video { display: none; }
.media .frame::after { display: none; }
.media.is-empty .frame::after {
  display: flex; content: attr(data-ph);
  aspect-ratio: 16 / 9; align-items: center; justify-content: center; text-align: center;
  padding: 26px; font-size: 12.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px);
}
.media figcaption { font-size: 13px; color: var(--grey-500); margin-top: 11px; line-height: 1.6; }
.bg-dark .media figcaption { color: rgba(255,255,255,0.6); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* ---------- Quotes / testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.quote { background: var(--warm-white); border: 1px solid var(--stone); border-left: 3px solid var(--copper); border-radius: 8px; padding: 32px; }
.bg-cream .quote { background: var(--warm-white); }
.quote blockquote { font-size: 16.5px; line-height: 1.75; color: var(--charcoal); margin-bottom: 16px; }
.quote cite { font-style: normal; font-size: 13px; color: var(--grey-500); line-height: 1.5; display: block; }
.quote cite b { display: block; color: var(--charcoal); font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }

/* ---------- Pull quote / callout ---------- */
.pull { border-left: 3px solid var(--copper); padding: 6px 0 6px 26px; margin: 34px 0; }
.pull p { font-size: 22px; line-height: 1.55; color: var(--charcoal); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
.callout { background: var(--cream); border: 1px solid var(--stone); border-radius: 8px; padding: 32px; margin: 32px 0; }
.bg-cream .callout { background: var(--warm-white); }
.callout h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 11px; }
.callout p { font-size: 16px; color: var(--grey-600); line-height: 1.75; margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }
.callout p strong { color: var(--charcoal); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 800px; }
.prose--center { margin: 0 auto; }
.prose p { font-size: 17.5px; line-height: 1.82; color: var(--grey-600); margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--charcoal); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 22px; }
.prose li { font-size: 16.5px; color: var(--grey-600); line-height: 1.72; padding: 9px 0 9px 26px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }
.prose h3 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; }

/* ---------- Process steps ---------- */
.process-steps { max-width: 720px; margin: 0 auto; }
.process-step { display: flex; gap: 24px; margin-bottom: 36px; }
.process-step:last-child { margin-bottom: 0; }
.step-number { width: 50px; height: 50px; background: var(--copper); color: var(--warm-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; flex-shrink: 0; }
.step-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 9px; }
.step-content p { font-size: 16px; color: var(--grey-600); line-height: 1.7; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card { background: var(--warm-white); border: 1px solid var(--stone); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(43,43,43,0.08); }
.blog-card-header { background: var(--charcoal); padding: 38px 34px; position: relative; overflow: hidden; flex-shrink: 0; }
.blog-card-header::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: linear-gradient(135deg, rgba(196,106,61,0.12), transparent); transform: rotate(-15deg); }
.blog-card-badge { display: inline-block; background: rgba(196,106,61,0.22); color: #F0C4AC; padding: 6px 14px; border-radius: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; position: relative; }
.blog-card-badge.new { background: rgba(196,106,61,0.5); }
.blog-card-title { font-size: 21px; font-weight: 600; color: var(--warm-white); line-height: 1.32; letter-spacing: -0.01em; position: relative; }
.blog-card-body { padding: 30px 34px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--grey-500); }
.blog-card-excerpt { font-size: 15px; color: var(--grey-600); line-height: 1.75; margin-bottom: 22px; flex-grow: 1; }
.blog-card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--copper); transition: gap 0.3s ease, color 0.3s ease; }
.blog-card:hover .blog-card-link { gap: 12px; color: var(--copper-dark); }
.blog-card-link svg { width: 16px; height: 16px; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 700px; margin: 0 auto; background: var(--cream); padding: 32px; border-radius: 8px; border: 1px solid var(--stone); }
.bg-cream .form-wrap { background: var(--warm-white); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--charcoal); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; 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); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(196,106,61,0.1); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 12px; color: var(--grey-500); margin-top: 6px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grey-600); line-height: 1.6; }
.form-consent input { width: auto; flex-shrink: 0; margin-top: 4px; }
.success-message { display: none; background: #E7F1E9; border: 1px solid #C3E0CB; color: #1F5130; padding: 16px; border-radius: 6px; margin-bottom: 22px; text-align: center; font-size: 15px; }
.success-message.show { display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 36px; border-radius: 6px; font-weight: 500; font-size: 15px; letter-spacing: 0.02em; transition: all 0.3s ease; cursor: pointer; border: none; font-family: var(--font-primary); }
.btn-primary { background: var(--copper); color: var(--warm-white); }
.btn-primary:hover { background: var(--copper-light); transform: translateY(-2px); }
.btn-dark { background: var(--charcoal); color: var(--warm-white); width: 100%; }
.btn-dark:hover { background: var(--copper); transform: translateY(-2px); }

/* ---------- CTA ---------- */
.cta-section { padding: 92px 0; background: var(--charcoal); color: var(--warm-white); text-align: center; }
.cta-section .container { max-width: 720px; }
.cta-section h2 { font-size: 31px; font-weight: 600; margin-bottom: 17px; letter-spacing: -0.02em; line-height: 1.3; }
.cta-section p { font-size: 17.5px; margin-bottom: 34px; color: rgba(255,255,255,0.86); line-height: 1.75; }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: var(--warm-white); padding: 78px 0 38px; border-top: 1px solid var(--charcoal-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand h3 { font-size: 20px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-brand p { color: rgba(255,255,255,0.85); line-height: 1.7; font-size: 14px; margin-bottom: 24px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a { color: rgba(255,255,255,0.85); font-size: 14px; display: flex; align-items: center; gap: 10px; transition: color 0.3s ease; }
.footer-contact a::before { content: ''; width: 4px; height: 4px; background: var(--copper); border-radius: 50%; flex-shrink: 0; }
.footer-contact a:hover { color: var(--copper-light); }
.footer-links h4 { font-size: 12px; font-weight: 600; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 0.15em; }
.footer-links a { display: block; color: rgba(255,255,255,0.85); margin-bottom: 13px; font-size: 14px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--copper-light); }
.footer-bottom { text-align: center; padding-top: 38px; border-top: 1px solid var(--charcoal-light); color: rgba(255,255,255,0.5); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--warm-white); border-bottom: 1px solid var(--stone); padding: 8px 24px 20px; }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-top: 1px solid var(--stone); }
  .nav-menu a { display: block; padding: 15px 0; font-size: 15px; }
  .nav-menu a.active::after { display: none; }
  .nav-menu .nav-cta { text-align: center; margin-top: 14px; padding: 14px 24px; }
  .page-header { padding: 62px 0 52px; }
  .page-header h1 { font-size: 29px; }
  .page-header .intro { font-size: 17px; }
  .section { padding: 62px 0; }
  .section-title { font-size: 26px; }
  .section-intro { font-size: 16px; margin-bottom: 40px; }
  .card-grid { grid-template-columns: 1fr; }
  .project-head { padding: 24px 22px 0; }
  .project-body { padding: 20px 22px 24px; }
  .project h3 { font-size: 19px; }
  .ccblock { grid-template-columns: 1fr; }
  .ccblock--chaos { border-right: 0; border-bottom: 1px solid var(--stone); }
  .prose p { font-size: 16.5px; }
  .pull p { font-size: 19px; }
  .arc i { padding: 0 9px; }
  .arc b { font-size: 10.5px; letter-spacing: 0.12em; }
  .process-step { flex-direction: column; gap: 14px; }
  .form-wrap { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-section h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ==========================================================================
   Homepage-specific components
   ========================================================================== */

.hero { margin-top: 84px; padding: 96px 0 84px; background: var(--cream); color: var(--charcoal); text-align: center; }
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-headshot { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--copper); margin: 0 auto 18px; }
.hero-name { font-size: 21px; font-weight: 600; margin-bottom: 4px; color: var(--charcoal); }
.hero-role { font-size: 12.5px; color: var(--copper-dark); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 32px; }
.hero h1 { font-size: 45px; font-weight: 600; margin-bottom: 24px; letter-spacing: -0.02em; line-height: 1.26; }
.hero h1 em { font-style: normal; color: var(--copper-dark); }
.hero .subtitle { font-size: 19px; line-height: 1.78; margin: 0 auto 32px; color: var(--grey-600); max-width: 780px; }
.hero-creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.hero-creds span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); background: var(--warm-white); border: 1px solid var(--stone); border-radius: 100px; padding: 7px 16px; }

.chain { border-top: 1px solid var(--stone); margin-top: 54px; padding-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; }
.chain-step { display: flex; align-items: center; }
.chain-step b { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); }
.chain-step i { font-style: normal; color: var(--copper); font-size: 15px; padding: 0 18px; }
.chain-note { width: 100%; text-align: center; font-size: 13px; color: var(--grey-500); margin-top: 15px; }

.clients { padding: 44px 0; border-bottom: 1px solid var(--stone); background: var(--warm-white); }
.clients h2 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-500); text-align: center; font-weight: 500; margin-bottom: 24px; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; }
.clients-row div { font-size: 15px; font-weight: 500; color: var(--charcoal); text-align: center; }
.clients-row div small { display: block; font-size: 12.5px; font-weight: 400; color: var(--grey-500); margin-top: 2px; }

.thesis { max-width: 800px; margin: 0 auto; }
.thesis .lead { font-size: 25px; line-height: 1.55; font-weight: 500; color: var(--charcoal); margin-bottom: 24px; letter-spacing: -0.01em; }
.thesis .lead b { color: var(--copper-dark); font-weight: 600; }
.thesis p { font-size: 17.5px; line-height: 1.82; color: var(--grey-600); margin-bottom: 18px; }
.thesis p:last-child { margin-bottom: 0; }

.symptoms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--stone); border: 1px solid var(--stone); border-radius: 8px; overflow: hidden; margin-top: 44px; }
.symptom { background: var(--warm-white); padding: 26px 28px; }
.bg-cream .symptom { background: var(--warm-white); }
.symptom b { display: block; font-size: 15.5px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; line-height: 1.4; }
.symptom span { font-size: 14.5px; color: var(--grey-600); line-height: 1.7; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.proof-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: start; }
.proof-block h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.proof-block ul { list-style: none; }
.proof-block li { font-size: 16px; color: var(--grey-600); padding: 11px 0 11px 22px; position: relative; border-bottom: 1px solid var(--stone); line-height: 1.65; }
.proof-block li::before { content: '\2192'; position: absolute; left: 0; color: var(--copper); font-weight: 600; }
.proof-block li b { color: var(--charcoal); font-weight: 600; }
.traits { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.traits span { font-size: 13px; color: var(--charcoal); background: var(--warm-white); border: 1px solid var(--stone); border-radius: 100px; padding: 8px 16px; }
.traits-note { font-size: 13.5px; color: var(--grey-500); line-height: 1.68; }

@media (max-width: 1024px) { .proof-grid { grid-template-columns: 1fr; gap: 42px; } }
@media (max-width: 768px) {
  .hero { padding: 78px 0 66px; }
  .hero h1 { font-size: 29px; }
  .hero .subtitle { font-size: 17px; }
  .hero-headshot { width: 98px; height: 98px; }
  .chain-step i { padding: 0 9px; }
  .chain-step b { font-size: 10.5px; letter-spacing: 0.12em; }
  .thesis .lead { font-size: 21px; }
  .symptoms { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About + Contact components
   ========================================================================== */

.bio { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.bio-portrait .frame { background: var(--charcoal); border: 1px solid var(--stone); border-radius: 12px; overflow: hidden; position: relative; }
.bio-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bio-portrait.is-empty img { display: none; }
.bio-portrait .frame::after { display: none; }
.bio-portrait.is-empty .frame::after { display: flex; content: attr(data-ph); aspect-ratio: 4 / 5; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 12.5px; color: rgba(255,255,255,0.45); background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px); }
.bio-facts { margin-top: 20px; border-top: 1px solid var(--stone); }
.bio-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--stone); font-size: 13.5px; }
.bio-facts dt, .bio-facts span:first-child { color: var(--grey-500); }
.bio-facts span:last-child { color: var(--charcoal); font-weight: 500; text-align: right; }

.path { max-width: 800px; }
.path-step { display: grid; grid-template-columns: 92px 1fr; gap: 26px; padding: 22px 0; border-top: 1px solid var(--stone); }
.path-step:last-child { border-bottom: 1px solid var(--stone); }
.path-year { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--copper); padding-top: 3px; }
.path-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 7px; line-height: 1.4; }
.path-body p { font-size: 15.5px; color: var(--grey-600); line-height: 1.72; margin: 0; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: start; }
.fit-list { list-style: none; }
.fit-list li { font-size: 16px; line-height: 1.7; padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--stone); color: var(--grey-600); }
.fit-list li::before { position: absolute; left: 0; font-weight: 600; }
.fit-list.yes li::before { content: '\2713'; color: var(--copper); }
.fit-list.no li::before { content: '\2715'; color: var(--grey-400); }

.next-steps { list-style: none; counter-reset: ns; }
.next-steps li { counter-increment: ns; font-size: 15.5px; line-height: 1.7; color: var(--grey-600); padding: 12px 0 12px 42px; position: relative; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 12px; width: 27px; height: 27px; border-radius: 50%; background: var(--cream); border: 1px solid var(--stone); color: var(--copper-dark); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.next-steps li b { color: var(--charcoal); font-weight: 600; }

.form-group select { width: 100%; 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); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey-500) 50%), linear-gradient(135deg, var(--grey-500) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-group select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(196,106,61,0.1); }

.direct { border: 1px solid var(--stone); border-radius: 10px; padding: 32px; background: var(--warm-white); }
.bg-cream .direct { background: var(--warm-white); }
.direct h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.direct a.big { display: block; font-size: 16.5px; font-weight: 500; color: var(--copper-dark); margin-bottom: 8px; word-break: break-word; }
.direct a.big:hover { color: var(--copper); }
.direct p { font-size: 14.5px; color: var(--grey-600); line-height: 1.7; margin-top: 14px; }

@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; gap: 32px; }
  .bio-portrait { max-width: 320px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .path-step { grid-template-columns: 1fr; gap: 8px; }
  .form-wrap { padding: 26px 20px; }
}

/* ==========================================================================
   About page — original DATASANJ scaffolding
   ========================================================================== */

.section-label { text-align: center; font-size: 11px; font-weight: 500; color: var(--copper); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 16px; }

.hero-about { margin-top: 84px; padding: 92px 0 92px; background: var(--warm-white); }
.hero-about .container { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; }
.hero-image-wrapper { position: relative; }
.hero-image { width: 100%; aspect-ratio: 1; background: var(--stone); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(43,43,43,0.08); position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image.is-empty img { display: none; }
.hero-image::after { display: none; }
.hero-image.is-empty::after { display: flex; content: attr(data-ph); position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; padding: 32px; font-size: 13px; color: var(--grey-500); }
.hero-about .hero-content h1 { font-size: 44px; font-weight: 600; color: var(--charcoal); margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.02em; }
.hero-about .hero-content .title { font-size: 16px; color: var(--copper); font-weight: 500; margin-bottom: 28px; letter-spacing: 0.03em; }
.hero-about .hero-content .intro { font-size: 18px; color: var(--grey-600); line-height: 1.8; margin-bottom: 36px; }
.credentials-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: var(--cream); padding: 10px 18px; border-radius: 4px; font-size: 12px; font-weight: 500; color: var(--grey-600); letter-spacing: 0.02em; border: 1px solid var(--stone); }
.badge.featured { background: var(--copper); color: var(--warm-white); border-color: var(--copper); font-weight: 600; }

.stats-section { padding: 92px 0; background: var(--warm-white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.stat-card { background: var(--cream); padding: 32px; border-radius: 8px; text-align: center; border: 1px solid var(--stone); }
.stat-number { font-size: 40px; font-weight: 700; color: var(--copper); margin-bottom: 8px; line-height: 1.1; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.stat-note { font-size: 12.5px; color: var(--grey-500); margin-top: 6px; line-height: 1.5; }

.story-section { padding: 92px 0; background: var(--cream); }
.story-content { max-width: 720px; margin: 0 auto; }
.story-content h3 { font-size: 24px; font-weight: 600; color: var(--charcoal); margin: 48px 0 20px; letter-spacing: -0.01em; }
.story-content h3:first-of-type { margin-top: 0; }
.story-content p { font-size: 16px; color: var(--grey-600); line-height: 1.85; margin-bottom: 20px; }
.story-content strong { color: var(--charcoal); font-weight: 600; }
.highlight-box { background: var(--charcoal); padding: 32px; border-radius: 8px; color: var(--warm-white); margin: 40px 0; }
.highlight-box h4 { font-size: 20px; font-weight: 600; margin-bottom: 16px; color: var(--copper-light); letter-spacing: 0.01em; }
.highlight-box p { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.9); margin-bottom: 0; }

.skills-section { padding: 92px 0; background: var(--cream); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 60px; }
.skill-card { background: var(--warm-white); padding: 32px; border-radius: 8px; border: 1px solid var(--stone); }
.skill-card h3 { font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 20px; letter-spacing: 0.01em; }
.skill-card ul { list-style: none; }
.skill-card li { font-size: 14px; color: var(--grey-600); padding: 10px 0 10px 24px; position: relative; border-bottom: 1px solid var(--stone); line-height: 1.6; }
.skill-card li:last-child { border-bottom: none; }
.skill-card li::before { content: ''; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }

.testimonials-section { padding: 92px 0; background: var(--warm-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 60px; }
.testimonial-card { background: var(--cream); padding: 32px; border-radius: 8px; border: 1px solid var(--stone); }
.rating { color: var(--copper); font-size: 14px; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-text { font-size: 15px; line-height: 1.75; color: var(--grey-600); margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-weight: 600; color: var(--charcoal); font-size: 14px; }
.testimonial-role { color: var(--grey-500); font-size: 13px; margin-top: 4px; }

@media (max-width: 1024px) {
  .hero-about .container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-image-wrapper { max-width: 360px; margin: 0 auto; }
  .credentials-badges { justify-content: center; }
  .stats-grid, .skills-grid, .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-about { padding: 70px 0 80px; }
  .hero-about .hero-content h1 { font-size: 32px; }
  .story-content h3 { font-size: 20px; }
  .story-content p { font-size: 15px; }
  .highlight-box { padding: 32px; }
  .stats-section, .story-section, .skills-section, .testimonials-section { padding: 66px 0; }
}

/* ==========================================================================
   Article pages
   ========================================================================== */

.article-header { margin-top: 84px; padding: 78px 0 58px; background: var(--cream); }
.article-header .container { max-width: 820px; }
.crumb { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 24px; }
.crumb a:hover { color: var(--copper); }
.article-header h1 { font-size: 40px; font-weight: 600; line-height: 1.26; letter-spacing: -0.02em; margin-bottom: 20px; color: var(--charcoal); }
.article-header .standfirst { font-size: 19px; line-height: 1.75; color: var(--grey-600); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--stone); font-size: 13px; color: var(--grey-500); }

.article-body { padding: 62px 0 84px; }
.article-body .container { max-width: 720px; }
.article-body h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; margin: 46px 0 16px; line-height: 1.32; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 19px; font-weight: 600; margin: 32px 0 12px; }
.article-body p { font-size: 17px; line-height: 1.82; color: var(--grey-600); margin-bottom: 20px; }
.article-body p strong { color: var(--charcoal); font-weight: 600; }
.article-body a.inline { color: var(--copper-dark); border-bottom: 1px solid var(--stone); }
.article-body a.inline:hover { border-color: var(--copper); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.article-body li { font-size: 16.5px; line-height: 1.75; color: var(--grey-600); padding: 8px 0 8px 26px; position: relative; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }
.article-body ol { counter-reset: step; }
.article-body ol li { padding-left: 42px; }
.article-body ol li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; background: var(--cream); border: 1px solid var(--stone); color: var(--copper-dark); border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--stone); }
.article-tags span { font-size: 12.5px; color: var(--grey-600); background: var(--cream); border: 1px solid var(--stone); border-radius: 100px; padding: 6px 14px; }

.author { display: flex; gap: 22px; align-items: flex-start; margin-top: 36px; padding: 32px; background: var(--cream); border: 1px solid var(--stone); border-radius: 10px; }
.author img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2px solid var(--copper); flex-shrink: 0; }
.author h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.author .role { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper-dark); margin-bottom: 12px; }
.author p { font-size: 15px; color: var(--grey-600); line-height: 1.7; margin-bottom: 12px; }
.author a { font-size: 14px; font-weight: 600; color: var(--copper); }
.author a:hover { color: var(--copper-dark); }

@media (max-width: 768px) {
  .article-header { padding: 56px 0 42px; }
  .article-header h1 { font-size: 28px; }
  .article-header .standfirst { font-size: 17px; }
  .article-body { padding: 44px 0 62px; }
  .article-body h2 { font-size: 22px; margin: 36px 0 14px; }
  .article-body p { font-size: 16.5px; }
  .author { flex-direction: column; gap: 16px; }
}
