/* ============================================================
   ThrottleLoop — AI-Native GTM Partner
   Design system: tokens below are calibrated against live computed
   styles pulled from singlegrain.com (colors, Poppins as the closest
   free match to their licensed Sofia Pro, radii, shadows, spacing)
   ============================================================ */

:root {
  --ink-950: #232020;
  --ink-900: #2f343a;
  --ink-800: #28282c;
  --ink-700: #3a3f45;

  --paper-050: #eeeeee;
  --paper-100: #ffffff;
  --paper-200: #f5f5f5;

  --line-soft: #e8e8e8;
  --line-strong: rgba(35, 32, 32, 0.16);
  --line-soft-dark: rgba(255, 255, 255, 0.08);
  --line-strong-dark: rgba(255, 255, 255, 0.16);

  --accent-500: #f27038;
  --accent-600: #dd5d28;
  --accent-400: #ff6b35;
  --accent-tint: rgba(242, 112, 56, 0.12);
  --accent-tint-strong: rgba(242, 112, 56, 0.22);

  --text-on-dark: #e9eff4;
  --text-on-dark-soft: rgba(233, 239, 244, 0.72);
  --text-on-dark-mute: #a0a0a0;

  --text-on-light: #1a1a1a;
  --text-on-light-soft: #666666;
  --text-on-light-mute: #2f333b;

  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-btn: 2px;
  --radius-btn-mini: 5px;
  --radius-card: 12px;
  --radius-panel: 10px;
  --radius-pill: 600px;
  --container: 1148px;

  --hero-gradient: linear-gradient(257deg, var(--ink-900) 0%, var(--ink-950) 100%);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 10px 30px -8px rgba(242, 112, 56, 0.4);
  --footer-bg: #28282c;
  --footer-text: #adadad;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  background: var(--paper-050);
  color: var(--text-on-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid #2f8bff;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.section-pad {
  padding: 110px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 70px 0;
  }
}

/* ---------- Section theme utilities ---------- */
.theme-dark {
  background: var(--ink-950);
  color: var(--text-on-dark);
}

.theme-dark-alt {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.theme-light {
  background: var(--paper-050);
  color: var(--text-on-light);
}

.theme-light.alt {
  background: var(--paper-100);
}

/* legacy alias, kept for any un-migrated call sites */
.bg-alt {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.font-serif {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-500);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
  flex: none;
}

.eyebrow.pill {
  border-bottom: none;
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: 14px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-head h2 strong,
h2 strong,
h1 strong {
  font-weight: 700;
}

.theme-dark .section-head h2,
.theme-dark-alt .section-head h2 {
  color: var(--text-on-dark);
}

.theme-light .section-head h2 {
  color: var(--text-on-light-mute);
}

.theme-dark .section-head p,
.theme-dark-alt .section-head p {
  color: var(--text-on-dark-soft);
}

.theme-light .section-head p {
  color: var(--text-on-light-soft);
}

.section-head p {
  font-size: 17px;
}

.hero-highlight {
  color: var(--accent-400);
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--accent-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 30px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent-500);
  color: #fff;
  border: 1px solid var(--accent-500);
}

.btn-primary:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #929194;
  color: var(--text-on-dark);
}

.btn-secondary:hover {
  background: rgba(245, 241, 236, 0.08);
  transform: translateY(-1px);
}

.theme-light .btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text-on-light);
}

.theme-light .btn-secondary:hover {
  background: rgba(23, 20, 18, 0.04);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px 0;
  background: var(--paper-050);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-on-light-mute);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(242, 112, 56, 0.6);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-on-light-mute);
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(35, 32, 32, 0.05);
  color: var(--text-on-light);
}

.caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}

.nav-item.open .caret {
  transform: rotate(225deg) translateY(1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 300px;
  background: var(--ink-800);
  border: 1px solid var(--line-soft-dark);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}

.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}

.dropdown a:hover {
  background: rgba(245, 241, 236, 0.06);
}

.dropdown a strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-on-dark);
}

.dropdown a span {
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
}

/* ---------- Mega-menu ---------- */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(920px, calc(100vw - 48px));
  background: var(--ink-800);
  border: 1px solid var(--line-soft-dark);
  border-radius: var(--radius-md);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
}

.nav-item.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-400);
  margin-bottom: 14px;
}

.mega-col a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-on-dark-soft);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}

.mega-col a:hover {
  color: var(--text-on-dark);
}

.mega-featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid var(--accent-tint-strong);
}

.mega-featured .placeholder-box {
  height: 90px;
}

.mega-featured h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-on-dark);
}

.mega-featured p {
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
}

.mega-featured .mega-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-400);
}

.mega-note {
  font-size: 13.5px;
  color: var(--text-on-dark-soft);
  max-width: 320px;
  line-height: 1.6;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-on-light-mute);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    z-index: 210;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 88px 24px 24px;
    background: var(--ink-950);
    border-bottom: 1px solid var(--line-soft-dark);
    max-height: 100vh;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }

  .main-nav.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 14px 4px;
    justify-content: space-between;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft-dark);
  }

  .dropdown,
  .mega-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    display: block;
    transition: max-height 0.25s var(--ease);
  }

  .mega-dropdown {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-col {
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft-dark);
  }

  .mega-featured {
    margin-top: 10px;
    border: none;
    background: transparent;
    padding: 10px 0;
  }

  .nav-item.open .dropdown,
  .nav-item.open .mega-dropdown {
    max-height: 1400px;
    padding: 6px 0 10px;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  margin: 96px 16px 0;
  padding: 56px 0;
  border-radius: var(--radius-panel);
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  color: var(--text-on-dark);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-cols {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-cols {
    grid-template-columns: 1fr;
  }
}

.hero-right {
  padding-top: 4px;
}

.hero-preview {
  height: 260px;
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.hero-preview-caption {
  font-size: 13px;
  color: var(--text-on-dark-mute);
  margin-top: 10px;
}

.hero-microcopy {
  font-size: 13.5px;
  color: var(--text-on-dark-mute);
  margin: -36px 0 40px;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--text-on-dark-soft);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 720px;
}

.stat-card {
  padding: 0;
  border: none;
  background: transparent;
}

.stat-card .num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--accent-400);
  display: block;
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 14px;
  color: var(--text-on-dark-mute);
}

@media (max-width: 640px) {
  .hero,
  .page-hero {
    margin-left: 8px;
    margin-right: 8px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- Logos bar ---------- */
.logos-bar {
  padding: 40px 0 90px;
}

.logos-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
  margin-bottom: 30px;
}

.theme-light .logos-label {
  color: var(--text-on-light-mute);
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* ---------- Generic dashed placeholder ---------- */
.placeholder-box {
  border: 1px dashed var(--line-strong-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.03em;
  text-align: center;
  padding: 8px;
}

.theme-light .placeholder-box {
  border-color: var(--line-strong);
  color: var(--text-on-light-mute);
}

.logo-slot {
  width: 148px;
  height: 56px;
}

.logo-slot,
.case-media,
.founder-photo {
  border: 1px dashed var(--line-strong-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
  letter-spacing: 0.03em;
  background: rgba(255, 107, 53, 0.04);
}

.theme-light .logo-slot {
  border-color: var(--line-strong);
  color: var(--text-on-light-mute);
}

/* ============================================================
   Cards grid — What We Do
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 32px;
  background: var(--paper-100);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-on-light-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-btn-mini);
  transition: background 0.2s var(--ease), transform 0.25s var(--ease);
}

.card-link:hover {
  background: var(--ink-950);
}

.card-link .arrow {
  transition: transform 0.25s var(--ease);
}

.card:hover .card-link .arrow {
  transform: translate(2px, -2px);
}

/* dark-section override (rare — cards default to the SG white-card look everywhere) */
.theme-dark .card,
.theme-dark-alt .card {
  background: var(--paper-100);
  border-color: var(--line-soft);
}

.theme-light .placeholder-box,
.theme-light .logo-slot,
.theme-light .case-media,
.theme-light .founder-photo {
  background: var(--accent-tint);
}

/* ---------- Why us ---------- */
.why-block {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft-dark);
}

.why-block:last-child {
  border-bottom: 1px solid var(--line-soft-dark);
}

.theme-light .why-block,
.theme-light .why-block:last-child {
  border-color: var(--line-soft);
}

.why-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-block p {
  color: var(--text-on-dark-soft);
  font-size: 14.5px;
  max-width: 560px;
}

.theme-light .why-block p {
  color: var(--text-on-light-soft);
}

/* ---------- Who we serve ---------- */
.serve-card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft-dark);
  background: var(--ink-800);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-light .serve-card {
  background: var(--paper-100);
  border-color: var(--line-soft);
}

.serve-card .card-icon {
  background: rgba(255, 107, 53, 0.14);
  border-color: rgba(255, 107, 53, 0.35);
}

.serve-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.serve-card p {
  color: var(--text-on-dark-soft);
  font-size: 14.5px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.theme-light .serve-card p {
  color: var(--text-on-light-soft);
}

/* ---------- Process / timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft-dark);
  position: relative;
  background: rgba(245, 241, 236, 0.025);
}

.theme-light .process-step {
  border-color: var(--line-soft);
  background: var(--paper-100);
}

.process-step .step-num {
  font-size: 40px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 143, 92, 0.6);
  margin-bottom: 18px;
  display: block;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-on-dark-soft);
}

.theme-light .process-step p {
  color: var(--text-on-light-soft);
}

/* ---------- Case studies ---------- */
.case-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft-dark);
  overflow: hidden;
  background: var(--ink-800);
}

.theme-light .case-card {
  background: var(--paper-100);
  border-color: var(--line-soft);
}

.case-media {
  height: 160px;
  font-size: 13px;
}

.case-body {
  padding: 26px;
}

.case-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

.theme-light .case-tag {
  color: var(--accent-600);
}

.case-body h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.case-metrics {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft-dark);
}

.theme-light .case-metrics {
  border-color: var(--line-soft);
}

.case-metrics .m-num {
  font-size: 22px;
  font-weight: 700;
  display: block;
}

.case-metrics .m-label {
  font-size: 12px;
  color: var(--text-on-dark-mute);
}

.theme-light .case-metrics .m-label {
  color: var(--text-on-light-mute);
}

/* ---------- Stat tiles (case-study placeholders) ---------- */
.stat-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .stat-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .stat-wall {
    grid-template-columns: 1fr;
  }
}

.stat-tile {
  padding: 22px 18px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong-dark);
  background: var(--accent-tint);
  text-align: center;
}

.theme-light .stat-tile {
  border-color: var(--line-strong);
}

.stat-tile .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-500);
  display: block;
  margin-bottom: 6px;
}

.stat-tile .label {
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
}

.theme-light .stat-tile .label {
  color: var(--text-on-light-mute);
}

.case-stat-panel {
  background: var(--ink-950);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--text-on-dark);
}

.case-stat-panel .stat-wall {
  margin-bottom: 0;
}

.disclosure-note {
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-on-dark-mute);
  margin-top: 14px;
}

.theme-light .disclosure-note {
  color: var(--text-on-light-mute);
}

/* ---------- Testimonials ---------- */
.testi-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft-dark);
  background: rgba(245, 241, 236, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-light .testi-card {
  background: var(--paper-100);
  border-color: var(--line-soft);
}

.stars {
  color: var(--accent-400);
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testi-card p.quote {
  font-size: 15px;
  color: var(--text-on-dark);
  margin-bottom: 24px;
  flex-grow: 1;
}

.theme-light .testi-card p.quote {
  color: var(--text-on-light);
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong-dark);
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--text-on-dark-mute);
  text-align: center;
  line-height: 1.2;
}

.theme-light .avatar {
  border-color: var(--line-strong);
  color: var(--text-on-light-mute);
}

.testi-person strong {
  font-size: 14px;
  display: block;
}

.testi-person span {
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
}

.theme-light .testi-person span {
  color: var(--text-on-light-mute);
}

/* ---------- Founder note / team ---------- */
.founder {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  padding: 50px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.03));
  border: 1px solid var(--line-soft-dark);
  border-radius: var(--radius-lg);
}

.theme-light .founder {
  border-color: var(--line-soft);
}

@media (max-width: 760px) {
  .founder {
    grid-template-columns: 1fr;
    padding: 32px;
    text-align: center;
  }
  .founder-photo {
    margin: 0 auto;
  }
}

.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.founder blockquote {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.theme-light .founder blockquote {
  color: var(--text-on-light);
}

.founder .sig strong {
  display: block;
  font-size: 16px;
}

.founder .sig span {
  font-size: 13.5px;
  color: var(--text-on-dark-mute);
}

.theme-light .founder .sig span {
  color: var(--text-on-light-mute);
}

/* ---------- Values (About page) ---------- */
.value-block {
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
}

.value-block:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.value-block h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-600);
}

.value-block p {
  font-size: 14.5px;
  color: var(--text-on-light-soft);
  max-width: 620px;
}

/* ---------- Scarcity strip ---------- */
.scarcity-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid rgba(255, 107, 53, 0.35);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-400);
  margin-bottom: 24px;
}

.theme-light .scarcity-strip {
  color: var(--accent-600);
}

.scarcity-strip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
}

/* ---------- Final CTA banner ---------- */
.cta-banner {
  padding: 80px 50px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--accent-500);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink-950);
}

.cta-banner p {
  color: rgba(23, 20, 18, 0.75);
  font-size: 17px;
  margin-bottom: 34px;
}

.cta-banner .btn-secondary {
  background: var(--ink-950);
  color: var(--text-on-dark);
  border: none;
}

.cta-banner .btn-secondary:hover {
  background: var(--ink-800);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 80px 0 30px;
  background: var(--footer-bg);
  color: var(--text-on-dark);
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 18px;
}

.footer-grid li {
  margin-bottom: 14px;
}

.footer-grid a {
  font-size: 13px;
  color: var(--footer-text);
  transition: color 0.2s var(--ease);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand p {
  color: var(--footer-text);
  font-size: 14px;
  margin: 16px 0 24px;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-soft-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.social-row a:hover {
  border-color: var(--accent-400);
  background: var(--accent-tint);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft-dark);
  font-size: 14px;
  color: var(--footer-text);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

/* ============================================================
   Slide-in contact form
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  z-index: 300;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  background: var(--ink-900);
  color: var(--text-on-dark);
  border-left: 1px solid var(--line-strong-dark);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.contact-drawer.active {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 32px 0;
}

.drawer-head h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.drawer-head p {
  color: var(--text-on-dark-soft);
  font-size: 14px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-soft-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: rgba(245, 241, 236, 0.06);
}

.drawer-form {
  padding: 28px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong-dark);
  background: rgba(245, 241, 236, 0.03);
  color: var(--text-on-dark);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  background: var(--accent-tint);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.drawer-note {
  font-size: 12.5px;
  color: var(--text-on-dark-mute);
  text-align: center;
}

.form-success {
  display: none;
  padding: 28px 32px;
  text-align: center;
}

.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint-strong);
  border: 1px solid rgba(255, 107, 53, 0.4);
  color: var(--accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-on-dark-soft);
  font-size: 14.5px;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ============================================================
   Inner pages (services / industries / about / etc.)
   ============================================================ */
.page-hero {
  margin: 96px 16px 0;
  padding: 64px 0 56px;
  border-radius: var(--radius-panel);
  background: var(--hero-gradient);
  color: var(--text-on-dark);
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin-bottom: 18px;
  max-width: 780px;
}

.page-hero p {
  color: var(--text-on-dark-soft);
  font-weight: 300;
  font-size: 17px;
  max-width: 620px;
}

.service-detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.service-detail .card-icon {
  margin-bottom: 0;
}

.service-detail h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-detail p {
  color: var(--text-on-light-soft);
  font-size: 15px;
  max-width: 700px;
  margin-bottom: 16px;
}

.theme-dark .service-detail p,
.theme-dark-alt .service-detail p {
  color: var(--text-on-dark-soft);
}

.service-detail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-detail li {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--text-on-light-soft);
}

.theme-dark .service-detail li,
.theme-dark-alt .service-detail li {
  border-color: var(--line-soft-dark);
  color: var(--text-on-dark-soft);
}

/* ---------- Methodology blocks (service pages) ---------- */
.methodology-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid var(--line-soft);
}

.methodology-block:first-of-type {
  border-top: none;
}

@media (max-width: 760px) {
  .methodology-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .methodology-block.reverse .sketch-figure {
    order: -1;
  }
}

.methodology-block.reverse {
  direction: rtl;
}

.methodology-block.reverse > * {
  direction: ltr;
}

.sketch-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--accent-tint);
  border: none;
  min-height: 200px;
  color: var(--accent-500);
}

.sketch-figure svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  stroke: var(--accent-600);
}

.methodology-copy h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.methodology-copy p {
  color: var(--text-on-light-soft);
  font-size: 15px;
  max-width: 480px;
}

.methodology-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  color: var(--accent-500);
}

.methodology-divider::before,
.methodology-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

/* ---------- Timeline (numbered process, alt layout) ---------- */
.timeline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  counter-reset: tl;
}

.timeline-item {
  flex: 1 1 200px;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  position: relative;
}

.timeline-item .tl-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-500);
  color: var(--ink-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.timeline-item .tl-month {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-600);
  margin-bottom: 6px;
  display: block;
}

.timeline-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 13px;
  color: var(--text-on-light-soft);
}

/* ---------- Legal ---------- */
.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-on-light-soft);
  font-size: 15px;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--accent-600);
  text-decoration: underline;
}

.legal-content .updated {
  color: var(--text-on-light-mute);
  font-size: 13.5px;
  margin-bottom: 40px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-on-dark-mute);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent-400);
}
