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

  :root {
    --ink: #1a1814;
    --ink-muted: #6b6860;
    --ink-faint: #b0ada5;
    --paper: #f7f4ef;
    --paper-warm: #ede9e2;
    --paper-card: #ffffff;
    --accent: #0f9d8c;
    --accent-light: #f5ece6;
    --accent-dark: #8f3a10;
    --border: rgba(26,24,20,0.12);
    --border-strong: rgba(26,24,20,0.22);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --max: 1140px;
    --radius: 4px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 0 clamp(1.5rem, 5vw, 3rem);
  }

  .nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .logo {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
  }

  .logo span { color: var(--accent); }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.15s;
    letter-spacing: 0.02em;
  }

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

  .nav-cta {
    background: #0f9d8c;
    color: var(--paper) !important;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.8rem !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500 !important;
    transition: background 0.15s !important;
  }

  .nav-cta:hover { background: #f39040 !important; color: var(--paper) !important; }

  /* ── HERO ── */
  #hero {
    padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 5vw, 3rem) clamp(4rem, 8vw, 7rem);
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
  }

  h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.25rem;
  }

  h1 em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-sub {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 42ch;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.1s;
    display: inline-block;
  }

  .btn-primary:hover { background: #f39040; transform: translateY(-1px); }

  .btn-ghost {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 2px;
    transition: color 0.15s;
  }

  .btn-ghost:hover { color: #f39040; border-color: #f39040; }

  .hero-visual {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }

  .hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .hero-stat {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
  }

  .hero-stat-num {
    font-family: var(--serif);
    font-size: 1.9rem;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.2rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hero-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .bar-item { display: flex; flex-direction: column; gap: 0.25rem; }

  .bar-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--ink-muted);
  }

  .bar-track {
    height: 6px;
    background: var(--paper-warm);
    border-radius: 3px;
    overflow: hidden;
  }

  .bar-fill {
    height: 100%;
    background: #f39040;
    border-radius: 3px;
    animation: grow 1.2s ease-out forwards;
    transform-origin: left;
  }

  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* ── TRUST BAR ── */
  .trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--paper-warm);
    padding: 1rem clamp(1.5rem, 5vw, 3rem);
  }

  .trust-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .trust-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    white-space: nowrap;
  }

  .trust-items {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
  }

  .trust-item {
    font-size: 0.8rem;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
  }

  .trust-dot {
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ── SECTIONS ── */
  section {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  }

  .section-inner { max-width: var(--max); margin: 0 auto; }

  .section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f39040;
    font-weight: 500;
    margin-bottom: 0.75rem;
  }

  h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1rem;
  }

  h2 em { font-style: italic; color: var(--accent); }

  .section-sub {
    font-size: 1rem;
    color: var(--ink-muted);
    max-width: 52ch;
    line-height: 1.7;
    margin-bottom: 3rem;
  }

  /* ── SERVICES ── */
  #services { background: var(--paper); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .service-card {
    background: var(--paper-card);
    padding: 2.5rem 2rem;
    transition: background 0.15s;
  }

  .service-card:hover { background: #fdfcf9; }

  .service-num {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 1.25rem;
    -webkit-text-stroke: 1px #111009;
    color: transparent;
  }

  h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--ink);
  }

  .service-desc {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .service-features li {
    font-size: 0.82rem;
    color: var(--ink-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 0.45em;
    flex-shrink: 0;
  }

  /* ── PROCESS ── */
  #process { background: var(--ink); color: var(--paper); }

  #process h2 { color: var(--paper); }
  #process h2 em { color: #f39040; }
  #process .section-sub { color: rgba(247,244,239,0.6); }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(247,244,239,0.12);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .process-step {
    padding: 2rem 1.75rem;
    border-right: 1px solid rgba(247,244,239,0.12);
    position: relative;
  }

  .process-step:last-child { border-right: none; }

  .step-num {
    font-family: var(--serif);
    font-size: 0.8rem;
    color: #f39040;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }

  .step-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--paper);
    margin-bottom: 0.6rem;
  }

  .step-desc {
    font-size: 0.82rem;
    color: rgba(247,244,239,0.55);
    line-height: 1.6;
  }

  /* ── WHY ── */
  #why { background: var(--paper-warm); }

  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .why-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .why-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .why-icon {
    width: 40px;
    height: 40px;
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .why-icon svg { width: 18px; height: 18px; stroke: #f39040; fill: none; stroke-width: 1.5; }

  .why-text h4 {
    font-family: var(--serif);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--ink);
  }

  .why-text p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

  .why-callout {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 2.5rem;
  }

  .why-callout-quote {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.35;
    margin-bottom: 1.5rem;
    color: var(--paper);
  }

  .why-callout-stat {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(247,244,239,0.15);
  }

  .why-stat { flex: 1; }

  .why-stat-num {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: #f39040;
    line-height: 1;
    margin-bottom: 0.2rem;
  }

  .why-stat-label { font-size: 0.75rem; color: rgba(247,244,239,0.5); letter-spacing: 0.04em; }

  /* ── WORK / SHOWCASE ── */
  #showcase { background: var(--paper); }

  .showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .showcase-card {
    background: var(--paper-card);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .showcase-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    width: fit-content;
  }

  .showcase-card h4 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
  }

  .showcase-card p { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.6; }

  .showcase-preview {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: 2px;
    height: 8000px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--ink-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    overflow: hidden;
  }

  /* mini chart */
  .mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 80px;
    padding: 10px;
  }

  .mini-bar {
    flex: 1;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
    animation: rise 0.8s ease-out forwards;
    transform-origin: bottom;
  }

  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  /* ── FAQ ── */
  #faq { background: var(--paper-warm); }

  .faq-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 720px;
  }

  .faq-item { border-bottom: 1px solid var(--border); background: var(--paper-card); }
  .faq-item:last-child { border-bottom: none; }

  .faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.1s;
  }

  .faq-q:hover { background: var(--paper-warm); }

  .faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--ink-muted);
    transition: transform 0.2s;
    fill: none;
    stroke-width: 1.5;
  }

  .faq-item.open .faq-icon { transform: rotate(45deg); stroke: #f39040; }

  .faq-a {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
  }

  .faq-item.open .faq-a { display: block; }

  /* ── CONTACT ── */
  #contact { background: var(--ink); color: var(--paper); }

  #contact h2 { color: var(--paper); }
  #contact h2 em { color: #f39040; }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-info { display: flex; flex-direction: column; gap: 2rem; }

  .contact-sub {
    font-size: 1rem;
    color: rgba(247,244,239,0.6);
    line-height: 1.7;
  }

  .contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-detail a, .contact-detail span {
    font-size: 0.9rem;
    color: rgba(247,244,239,0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.15s;
  }

  .contact-detail a:hover { color: var(--accent); }

  .contact-form {
    background: rgba(247,244,239,0.05);
    border: 1px solid rgba(247,244,239,0.12);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }

  label {
    font-size: 0.78rem;
    color: rgba(247,244,239,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  input, textarea, select {
    background: rgba(247,244,239,0.06);
    border: 1px solid rgba(247,244,239,0.15);
    border-radius: var(--radius);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 0.9rem;
    padding: 0.7rem 0.9rem;
    transition: border 0.15s;
    width: 100%;
    outline: none;
  }

  input::placeholder, textarea::placeholder { color: rgba(247,244,239,0.25); }

  input:focus, textarea:focus {
    border-color: rgba(247,244,239,0.4);
    background: rgba(247,244,239,0.09);
  }

  textarea { resize: vertical; min-height: 110px; }

  .form-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.85rem;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    letter-spacing: 0.02em;
  }

  .form-btn:hover { background: #f39040; }

  /* ── FOOTER ── */
  footer {
    background: #111009;
    padding: 2rem clamp(1.5rem, 5vw, 3rem);
    border-top: 1px solid rgba(247,244,239,0.08);
  }

  .footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: rgba(247,244,239,0.7);
    text-decoration: none;
  }

  .footer-logo span { color: var(--accent); }

  .footer-nav { display: flex; gap: 1.5rem; background:#111009;}
  .footer-nav a {
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.15s;
    color: #f39040;
  }
  .footer-nav a:hover { color: var(--accent) }

  .footer-copy { font-size: 0.75rem; color: rgba(247,244,239,0.25); }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; gap: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid rgba(247,244,239,0.12); }
    .process-step:nth-child(2n) { border-right: none; }
    .why-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    nav .nav-links { display: none; }
  }

  @media (max-width: 600px) {
    .process-steps { grid-template-columns: 1fr; }
    .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  }

  /* Entrance animations */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  .showcase-preview {
  height: 300px; /* adjust as needed */
  overflow: hidden;
}

.file-hint{
    color: #f39040
  }

@media (max-width: 768px) {
  .tableauViz {
    height: 420px !important;
  }
}

.hamburger {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #0f172a;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 1rem;
  width: 220px;
  background: #1a1814;
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 999;

  flex-direction: column;
  overflow: hidden;
}

.mobile-menu.active {
  display: block;
}


.mobile-menu a {
  display: block;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  color: rgba(247,244,239,0.85);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(247,244,239,0.08);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  background: rgba(247,244,239,0.05);
}

.mobile-cta {
  background: #0f9d8c;
  color: white !important;
  text-align: center;
  font-weight: 600;
  margin: 0.5rem;
  border-radius: 6px;
}

/* MOBILE BREAKPOINT */
@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
  }
}
@media (max-width: 768px) {
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .trust-item {
    text-align: center;
    padding: 0.8rem;
  }
}

.ref-link {
  color: var(--accent);
  font-size: 0.65rem;
  text-decoration: none;
  vertical-align: super;
  margin-left: 1px;
}
.ref-link:hover { text-decoration: underline; }

#references { padding: 1.5rem 0; border-top: 1px solid rgba(26,24,20,0.1); }
.refs-text {
  font-size: 0.72rem;
  color: rgba(26,24,20,0.4);
  line-height: 2;
}
.refs-text a { color: inherit; text-decoration: underline; }

.footer-refs {
  border-top: 1px solid rgba(247,244,239,0.1);
  margin-top: 1.5rem;
  padding-top: 1rem;
  width: 100%;
}
.footer-refs p {
  font-size: 0.7rem;
  color: rgba(247,244,239,0.3);
  line-height: 1.8;
  margin: 0;
}
.footer-refs a {
  color: rgba(247,244,239,0.3);
  text-decoration: underline;
}
.footer-refs a:hover {
  color: rgba(247,244,239,0.6);
}
