/* ============================================================
   ACCUR8 × DIGITAL BONSAI — Financial Business Cockpit
   styles.css — Master stylesheet
   ============================================================

   TABLE OF CONTENTS
   1. Variables & Reset
   2. Base Typography
   3. Layout Utilities
   4. Navigation
   5. Hero
   6. Statement Band
   7. Problem Section
   8. Partnership Section
   9. Process / Timeline
   10. Use Case
   11. Metrics Band
   12. Comparison Table
   13. CTA Section
   14. Footer
   15. Animations & Transitions
   16. Responsive — Tablet (max 1024px)
   17. Responsive — Mobile (max 768px)
   18. Responsive — Small Mobile (max 480px)
   ============================================================ */


/* ── 1. VARIABLES & RESET ── */

:root {
  --cream:     #F7F5F0;
  --warm:      #EFECE5;
  --ink:       #151512;
  --ink2:      #2c2c28;
  --muted:     #7a7a72;
  --muted2:    #a8a89e;
  --border:    #e0ddd6;
  --blue:      #1B4FD8;
  --blue-l:    #4a7bef;
  --blue-m:    rgba(27, 79, 216, 0.08);
  --green:     #1a7a42;
  --green-l:   #5bd98c;
  --green-m:   rgba(26, 122, 66, 0.08);
  --accent:    #c8b97a;
  --white:     #ffffff;

  --font-s:    'Cormorant Garamond', Georgia, serif;
  --font-b:    'Jost', system-ui, sans-serif;

  --radius:    4px;
  --radius-m:  8px;
  --radius-l:  12px;

  --shadow-s:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-m:  0 8px 32px rgba(0,0,0,0.1);
  --shadow-l:  0 24px 64px rgba(0,0,0,0.15);

  --nav-h:     80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-b);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }


/* ── 2. BASE TYPOGRAPHY ── */

h1, h2, h3, h4 {
  font-family: var(--font-s);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(44px, 6vw, 80px); }
h2 { font-size: clamp(34px, 4.5vw, 64px); margin-bottom: 18px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 500; }

h1 em, h2 em, h3 em { font-style: italic; }
h1 strong, h2 strong { font-weight: 600; }

.s-eye {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.s-eye::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--muted2);
  flex-shrink: 0;
}

.s-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}


/* ── 3. LAYOUT UTILITIES ── */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-wide {
  max-width: 100%;
  padding: 0 56px;
}

section { position: relative; }


/* ── 4. NAVIGATION ── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}

nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 245, 240, 0.97);
}

/* Logo area */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

/* If using image logos */
.nav-logo-a8 {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav-logo-sep {
  font-family: var(--font-b);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted2);
  margin: 0 12px;
}

.nav-logo-db {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* Text fallback (shown when no logo image) */
.nav-brand-text {
  display: flex;
  align-items: center;
  gap: 0;
}

.nb-a8 {
  font-family: var(--font-s);
  font-size: 19px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.nb-x {
  color: var(--muted2);
  font-family: var(--font-b);
  font-weight: 300;
  margin: 0 8px;
  font-size: 14px;
}

.nb-db {
  font-family: var(--font-s);
  font-size: 19px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.02em;
}

.nav-loc {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--ink); }

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--ink2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .nav-cta {
  text-align: center;
  padding: 14px;
  margin-top: 4px;
}


/* ── 5. HERO ── */

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
}

.hero-eye {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-eye::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--muted2);
}

.hero-left h1 { margin-bottom: 28px; }

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 44px;
}

.hero-sub b { color: var(--ink); font-weight: 500; }

.hero-partners {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hp-label {
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hp-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.hp-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

/* Hero right — dark panel */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

/* Background image layer */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

/* Gradient overlay on top of image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 21, 18, 0.7) 0%,
    rgba(27, 79, 216, 0.3) 50%,
    rgba(26, 122, 66, 0.2) 100%
  );
}

/* Organic blobs (fallback / layered on top of image) */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
}

.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at 40% 50%, #1B4FD8 0%, transparent 60%);
  top: -100px; right: -200px;
  opacity: 0.4;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at 60% 40%, #1a7a42 0%, transparent 55%);
  bottom: -100px; left: -100px;
  opacity: 0.3;
}

.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, #c8b97a 0%, transparent 65%);
  top: 30%; left: 30%;
  opacity: 0.12;
}

/* SVG lines layer */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-lines svg {
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

/* KPI float cards */
.hero-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 80px 40px 40px;
  height: 100%;
  justify-content: center;
}

.hc {
  background: rgba(247, 245, 240, 0.06);
  border: 1px solid rgba(247, 245, 240, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background 0.3s;
}

.hc:hover { background: rgba(247, 245, 240, 0.1); }

.hc-icon { font-size: 20px; flex-shrink: 0; }

.hc-label {
  font-size: 10px;
  color: rgba(247, 245, 240, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}

.hc-val {
  font-family: var(--font-s);
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hc-delta {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.hc-delta.up { color: var(--green-l); }
.hc-delta.dn { color: #f87171; }

.hc-alert {
  background: rgba(200, 185, 122, 0.07);
  border-color: rgba(200, 185, 122, 0.18);
  padding: 14px 18px;
}

.hc-alert-text {
  font-size: 12px;
  color: rgba(247, 245, 240, 0.55);
  line-height: 1.55;
}

.hc-alert-text b { color: var(--accent); font-weight: 600; }

.hero-sync {
  position: absolute;
  bottom: 28px;
  left: 40px; right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(247, 245, 240, 0.25);
  letter-spacing: 0.06em;
  z-index: 2;
}

.sync-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-l);
  display: inline-block;
  margin-right: 6px;
}


/* ── BUTTONS ── */

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, gap 0.2s;
  white-space: nowrap;
}

.btn-dark:hover { background: var(--ink2); gap: 18px; }
.btn-dark svg { flex-shrink: 0; }

.btn-cream {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: var(--radius);
  transition: background 0.2s, gap 0.2s;
  white-space: nowrap;
}

.btn-cream:hover { background: var(--white); gap: 18px; }
.btn-cream svg { flex-shrink: 0; }


/* ── 6. STATEMENT BAND ── */

#statement {
  padding: 120px 0;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.st-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,216,0.22) 0%, transparent 70%);
  width: 600px; height: 600px;
  top: 50%; left: 30%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.st-orb2 {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,122,66,0.16) 0%, transparent 70%);
  width: 400px; height: 400px;
  top: 50%; right: 10%;
  transform: translateY(-50%);
  pointer-events: none;
}

.st-inner { position: relative; z-index: 1; }

.st-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.3);
  margin-bottom: 28px;
  font-weight: 500;
}

.st-quote {
  font-family: var(--font-s);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 40px;
  color: var(--cream);
}

.st-quote em {
  font-style: italic;
  color: rgba(247,245,240,0.55);
}

.st-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(247,245,240,0.25), transparent);
  margin: 0 auto;
}


/* ── 7. PROBLEM SECTION ── */

#problem { padding: 140px 0; background: var(--cream); }

.prob-header { margin-bottom: 80px; }

.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.prob-item {
  background: var(--cream);
  padding: 48px 40px;
  transition: background 0.25s;
  cursor: default;
}

.prob-item:hover { background: var(--warm); }

.prob-num {
  font-family: var(--font-s);
  font-size: 56px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.prob-item h3 { margin-bottom: 14px; }

.prob-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.prob-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted2);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  width: 100%;
}


/* ── 8. PARTNERSHIP SECTION ── */

#partnership { padding: 140px 0; background: var(--warm); }

.part-header { margin-bottom: 80px; }

.part-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.part-col {
  padding: 56px 52px;
}

.part-col.left { background: var(--cream); }
.part-col.right { background: var(--ink); color: var(--cream); }

.pc-eye {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-eye::before { content: ''; width: 20px; height: 1px; flex-shrink: 0; }

.part-col.left .pc-eye { color: var(--muted2); }
.part-col.left .pc-eye::before { background: var(--muted2); }
.part-col.right .pc-eye { color: rgba(247,245,240,0.35); }
.part-col.right .pc-eye::before { background: rgba(247,245,240,0.25); }

/* Partner logo — image */
.pc-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: 8px;
}

.pc-logo.dark { filter: brightness(0) invert(1); }

/* Text fallback */
.pc-brand {
  font-family: var(--font-s);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1;
}

.part-col.left .pc-brand { color: var(--blue); }
.part-col.right .pc-brand { color: var(--cream); }

.pc-role {
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 36px;
}

.part-col.left .pc-role { color: var(--muted); }
.part-col.right .pc-role { color: rgba(247,245,240,0.35); }

.pc-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pc-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.part-col.right .pc-item {
  border-bottom-color: rgba(247,245,240,0.07);
}

.pc-item:last-child { border-bottom: none; padding-bottom: 0; }

.pc-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.part-col.right .pc-item-title { color: var(--cream); }

.pc-item-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
}

.part-col.left .pc-item-desc { color: var(--muted); }
.part-col.right .pc-item-desc { color: rgba(247,245,240,0.4); }

.pc-cred {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.part-col.left .pc-cred { color: var(--muted2); }
.part-col.right .pc-cred {
  border-top-color: rgba(247,245,240,0.07);
  color: rgba(247,245,240,0.2);
}

.part-output {
  margin-top: 2px;
  background: var(--ink);
  padding: 56px 52px;
  text-align: center;
}

.po-eye {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.25);
  margin-bottom: 16px;
}

.po-title {
  font-family: var(--font-s);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}

.po-desc {
  font-size: 15px;
  color: rgba(247,245,240,0.4);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}


/* ── 9. PROCESS / TIMELINE ── */

#process {
  padding: 140px 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.proc-header { margin-bottom: 80px; max-width: 640px; }
.proc-header .s-eye { color: rgba(247,245,240,0.3); }
.proc-header .s-eye::before { background: rgba(247,245,240,0.2); }
.proc-header h2 { color: var(--cream); }
.proc-header .s-sub { color: rgba(247,245,240,0.38); }

/* Rail */
.timeline-wrap { position: relative; }

.timeline-rail {
  position: absolute;
  top: 52px; left: 0; right: 0;
  height: 1px;
  background: rgba(247,245,240,0.07);
  z-index: 0;
}

.timeline-rail-fill {
  position: absolute;
  top: 52px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, #1a7a42 100%);
  z-index: 1;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-rail-fill.animated { width: 100%; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

.tl-step { padding: 0 28px 0 0; cursor: default; }
.tl-step:last-child { padding-right: 0; }

/* Node card */
.tl-node {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-l);
  border: 1px solid rgba(247,245,240,0.09);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 3;
  transition: all 0.3s;
  gap: 6px;
}

.tl-step:hover .tl-node,
.tl-step.active .tl-node {
  background: rgba(27,79,216,0.14);
  border-color: rgba(27,79,216,0.38);
  box-shadow: 0 0 32px rgba(27,79,216,0.18);
  transform: translateY(-4px);
}

.tl-node-icon { font-size: 26px; }

.tl-node-week {
  font-size: 10px;
  font-weight: 500;
  color: rgba(247,245,240,0.28);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-step:hover .tl-node-week,
.tl-step.active .tl-node-week {
  color: rgba(107,159,255,0.8);
}

/* Rail dot */
.tl-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(247,245,240,0.12);
  border: 1px solid rgba(247,245,240,0.18);
  top: -57px; left: 46px;
  transition: all 0.3s;
}

.tl-step:hover .tl-dot,
.tl-step.active .tl-dot {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(27,79,216,0.6);
}

.tl-num {
  font-family: var(--font-s);
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,245,240,0.18);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.tl-step h3 {
  font-size: 21px;
  color: var(--cream);
  margin-bottom: 10px;
}

.tl-step p {
  font-size: 13px;
  color: rgba(247,245,240,0.38);
  line-height: 1.7;
  font-weight: 300;
}

.tl-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
}

.tl-by.blue   { color: var(--blue-l); background: rgba(27,79,216,0.12); }
.tl-by.green  { color: var(--green-l); background: rgba(26,122,66,0.12); }
.tl-by.joint  { color: var(--accent); background: rgba(200,185,122,0.1); }

/* Dashboard mini strip */
.timeline-dash {
  margin-top: 80px;
  background: rgba(247,245,240,0.03);
  border: 1px solid rgba(247,245,240,0.06);
  border-radius: var(--radius-m);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.tdash-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.22);
  margin-bottom: 10px;
  font-weight: 500;
}

.tdash-text {
  font-family: var(--font-s);
  font-size: 18px;
  font-weight: 300;
  color: rgba(247,245,240,0.7);
  line-height: 1.45;
}

.tdash-text em {
  font-style: italic;
  color: rgba(247,245,240,0.35);
}

.tdash-kpis { display: flex; gap: 32px; }

.tdash-kpi { text-align: center; }

.tdash-kpi-val {
  font-family: var(--font-s);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.tdash-kpi-val.b { color: var(--blue-l); }
.tdash-kpi-val.g { color: var(--green-l); }
.tdash-kpi-val.a { color: var(--accent); }

.tdash-kpi-lbl {
  font-size: 10px;
  color: rgba(247,245,240,0.22);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 500;
}


/* ── 10. CASE STUDIES ── */

#usecase { padding: 140px 0; background: var(--warm); }

.cs-header { margin-bottom: 56px; }

/* Tab switcher */
.cs-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--cream);
  width: fit-content;
}

.cs-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-b);
  white-space: nowrap;
}

.cs-tab:last-child { border-right: none; }

.cs-tab:hover { background: var(--warm); color: var(--ink); }

.cs-tab.active {
  background: var(--ink);
  color: var(--cream);
}

.cs-tab-sector {
  font-size: 10px;
  opacity: 0.5;
  font-weight: 400;
}

.cs-tab.active .cs-tab-sector { opacity: 0.45; }

/* Panel */
.cs-panel {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.cs-panel.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel inner grid */
.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

/* Left col */
.cs-left {
  background: var(--cream);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Case header */
.cs-case-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(26,122,66,0.22);
  border-radius: var(--radius);
  padding: 5px 12px;
}

/* Client logo placeholder */
.cs-logo {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: right;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.2s;
}

.cs-logo:hover { opacity: 1; }

.cs-logo-placeholder {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--warm);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.cs-title {
  font-family: var(--font-s);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.cs-title em { font-style: italic; }

.cs-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}

.cs-body b { color: var(--ink); font-weight: 500; }

/* Before / After */
.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 24px;
  flex-shrink: 0;
}

.ba-side { background: var(--cream); padding: 22px 20px; }

.ba-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ba-side.before .ba-lbl { color: #b45a5a; }
.ba-side.after  .ba-lbl { color: var(--green); }

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ba-list li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 7px;
  align-items: flex-start;
  line-height: 1.5;
  font-weight: 300;
}

.ba-list li .m { flex-shrink: 0; margin-top: 1px; font-size: 10px; }

/* Quote */
.quote {
  background: var(--warm);
  padding: 24px 26px;
  border-left: 2px solid var(--ink);
  margin-top: auto;
}

.q-stars {
  color: var(--accent);
  font-size: 11px;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.q-text {
  font-family: var(--font-s);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink2);
  margin-bottom: 16px;
}

.q-author { display: flex; align-items: center; gap: 12px; }

.q-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  flex-shrink: 0;
}

.q-av img { width: 100%; height: 100%; object-fit: cover; }

.q-av-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--cream);
}

.q-name { font-size: 13px; font-weight: 600; }
.q-role { font-size: 11px; color: var(--muted); font-weight: 300; }

/* Right col — Results */
.cs-right {
  background: var(--ink);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}

.cs-results-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.25);
  margin-bottom: 32px;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(247,245,240,0.05);
  flex: 1;
}

.result-row {
  background: var(--ink);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.2s;
}

.result-row:hover { background: var(--ink2); }

.rr-num {
  font-family: var(--font-s);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  min-width: 90px;
  color: var(--cream);
}

.rr-num.b { color: var(--blue-l); }
.rr-num.g { color: var(--green-l); }
.rr-num.a { color: var(--accent); }

.rr-div {
  width: 1px;
  height: 32px;
  background: rgba(247,245,240,0.08);
  flex-shrink: 0;
}

.rr-body { flex: 1; }
.rr-title { font-size: 13px; font-weight: 500; color: var(--cream); margin-bottom: 2px; }
.rr-desc  { font-size: 11px; color: rgba(247,245,240,0.35); font-weight: 300; }


/* ── 11. METRICS BAND ── */

#metrics {
  background: var(--ink);
  padding: 100px 0;
  overflow: hidden;
}

.met-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.met-item {
  background: var(--ink);
  padding: 56px 40px;
  text-align: center;
  transition: background 0.2s;
}

.met-item:hover { background: var(--ink2); }

.met-num {
  font-family: var(--font-s);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--cream);
}

.met-num.b { color: var(--blue-l); }
.met-num.g { color: var(--green-l); }
.met-num.a { color: var(--accent); }

.met-lbl {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,245,240,0.35);
  letter-spacing: 0.04em;
}


/* ── 12. COMPARISON TABLE ── */

#compare { padding: 140px 0; background: var(--cream); }

.cmp-header { margin-bottom: 64px; max-width: 640px; }

.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  border: 1px solid var(--border);
  min-width: 640px;
}

thead tr { background: var(--warm); }

th {
  padding: 18px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

th:first-child { text-align: left; }

th.hl {
  background: var(--ink);
  color: rgba(247,245,240,0.6);
}

td {
  padding: 15px 24px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 300;
}

td:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}

td.hl { background: rgba(21,21,18,0.03); }

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--warm); }
tr:hover td.hl { background: rgba(21,21,18,0.06); }

.t { color: var(--green); font-size: 16px; }
.f { color: var(--muted2); font-size: 14px; }
.p { font-size: 11px; color: var(--muted2); font-style: italic; }


/* ── 13. CTA SECTION ── */

#cta {
  background: var(--ink);
  color: var(--cream);
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,216,0.18) 0%, transparent 65%);
  width: 800px; height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

#cta .container { position: relative; z-index: 1; }

.cta-eye {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.28);
  margin-bottom: 28px;
}

.cta-h {
  font-family: var(--font-s);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-h em {
  font-style: italic;
  color: rgba(247,245,240,0.55);
}

.cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(247,245,240,0.42);
  max-width: 520px;
  margin: 0 auto 52px;
  line-height: 1.8;
}

.cta-note {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(247,245,240,0.2);
  letter-spacing: 0.04em;
}

.cta-detail {
  display: inline-flex;
  align-items: stretch;
  margin-top: 64px;
  border: 1px solid rgba(247,245,240,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  flex-wrap: wrap;
}

.cd-item {
  padding: 20px 36px;
  text-align: center;
  border-right: 1px solid rgba(247,245,240,0.08);
}

.cd-item:last-child { border-right: none; }

.cd-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.22);
  margin-bottom: 7px;
}

.cd-val {
  font-family: var(--font-s);
  font-size: 18px;
  font-weight: 300;
  color: rgba(247,245,240,0.65);
}

.cd-val.free { color: var(--green-l); }


/* ── 14. FOOTER ── */

footer {
  background: var(--ink2);
  padding: 40px 0;
  border-top: 1px solid rgba(247,245,240,0.05);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

/* Footer logos */
.foot-logo-a8 {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(0.5);
}

.foot-logo-db {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(0.5);
}

/* Text fallback */
.foot-brand-text { font-family: var(--font-s); font-size: 17px; }
.foot-brand-text .a8 { color: var(--blue-l); }
.foot-brand-text .x  { color: rgba(247,245,240,0.2); margin: 0 6px; font-family: var(--font-b); font-weight: 300; font-size: 13px; }
.foot-brand-text .db { color: var(--green-l); }
.foot-loc { font-family: var(--font-b); font-size: 11px; color: rgba(247,245,240,0.2); margin-left: 14px; letter-spacing: 0.06em; }

.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }

.foot-links a {
  font-size: 12px;
  color: rgba(247,245,240,0.28);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}

.foot-links a:hover { color: rgba(247,245,240,0.55); }

.foot-copy {
  font-size: 11px;
  color: rgba(247,245,240,0.12);
}


/* ── 15. ANIMATIONS & TRANSITIONS ── */

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.blink { animation: blink 1.8s infinite; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }


/* ── 16. RESPONSIVE — TABLET (max 1024px) ── */

@media (max-width: 1024px) {

  .container { padding: 0 36px; }
  .container-wide { padding: 0 36px; }

  nav { padding: 0 36px; }
  .nav-loc { display: none; }

  /* Hero */
  #hero { grid-template-columns: 55% 45%; }
  .hero-left { padding: 60px 48px 60px 36px; }

  /* Problem */
  .prob-grid { grid-template-columns: 1fr; }
  .prob-item { padding: 36px 32px; }

  /* Partnership */
  .part-col { padding: 44px 36px; }
  .part-output { padding: 44px 36px; }

  /* Timeline */
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .timeline-rail,
  .timeline-rail-fill,
  .tl-dot { display: none; }
  .tl-step { padding: 0; }
  .tl-node { width: 88px; height: 88px; }

  .timeline-dash {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tdash-kpis { justify-content: center; gap: 24px; flex-wrap: wrap; }

  /* Use case */
  .cs-tabs { width: 100%; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-left { padding: 36px 28px; }
  .cs-right { padding: 36px 28px; }

  /* Metrics */
  .met-inner { grid-template-columns: 1fr 1fr; }
  .met-item { padding: 44px 28px; }

  /* CTA detail */
  .cta-detail { flex-direction: column; }
  .cd-item { border-right: none; border-bottom: 1px solid rgba(247,245,240,0.08); }
  .cd-item:last-child { border-bottom: none; }
}


/* ── 17. RESPONSIVE — MOBILE (max 768px) ── */

@media (max-width: 768px) {

  :root { --nav-h: 64px; }

  .container { padding: 0 24px; }
  .container-wide { padding: 0 24px; }

  /* Nav */
  nav { padding: 0 24px; }
  .nav-right { display: none; }
  .nav-toggle { display: flex; }

  /* Hero — stack vertically */
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 40px 24px 60px;
    order: 1;
  }

  .hero-right {
    order: 2;
    min-height: 400px;
  }

  .hero-cards { padding: 40px 24px 60px; }

  .hero-partners {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Statement */
  #statement { padding: 80px 0; }

  /* Problem */
  #problem { padding: 80px 0; }
  .prob-header { margin-bottom: 48px; }

  /* Partnership */
  #partnership { padding: 80px 0; }
  .part-header { margin-bottom: 48px; }
  .part-cols { grid-template-columns: 1fr; }
  .part-col { padding: 36px 24px; }
  .part-output { padding: 36px 24px; }

  /* Timeline */
  #process { padding: 80px 0; }
  .proc-header { margin-bottom: 48px; }
  .timeline { grid-template-columns: 1fr; gap: 36px; }

  /* Use case */
  #usecase { padding: 80px 0; }
  .cs-tabs { flex-direction: column; }
  .cs-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .cs-tab:last-child { border-bottom: none; }
  .ba-row { grid-template-columns: 1fr; }

  /* Metrics */
  #metrics { padding: 64px 0; }
  .met-inner { grid-template-columns: 1fr 1fr; }
  .met-item { padding: 36px 20px; }

  /* Compare */
  #compare { padding: 80px 0; }
  .cmp-header { margin-bottom: 40px; }

  /* CTA */
  #cta { padding: 100px 0; }
  #cta .btn-cream { width: 100%; justify-content: center; }
  .cta-detail { width: 100%; }
  .cd-item { flex: 1; }

  /* Footer */
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot-links { gap: 18px; }
}


/* ── 18. RESPONSIVE — SMALL MOBILE (max 480px) ── */

@media (max-width: 480px) {

  .hero-right { min-height: 320px; }
  .hc-val { font-size: 20px; }

  .met-inner { grid-template-columns: 1fr; }
  .met-item { padding: 32px 24px; }

  .tdash-kpis { gap: 16px; }
  .tdash-kpi-val { font-size: 22px; }

  .cta-detail { width: 100%; }
  .cd-item { padding: 16px 20px; }

  th, td { padding: 12px 14px; font-size: 11px; }
  td:first-child { font-size: 12px; }

  .rr-num { font-size: 26px; min-width: 80px; }

  .foot-links { flex-direction: column; gap: 10px; }
}
