/* =====================================================
   COGNITO STRATEGY — Design System v2.0
   Production Build · 8px Spacing Scale
   Fonts: Cormorant Garamond + DM Sans
===================================================== */

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --gold-hi:  #c9a96e;
  --gold-mid: #9a7d50;
  --gold-lo:  #5c4a32;

  /* Spacing — 8px base scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Section rhythm */
  --section-y:   var(--sp-24);
  --card-pad:    var(--sp-8);
  --nav-h:       68px;

  /* Border radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;

  /* Transitions */
  --ease:      0.18s ease;
  --ease-slow: 0.36s ease;
}

/* Light theme */
[data-theme="light"] {
  --bg:           #faf8f4;
  --bg-soft:      #f2ede5;
  --bg-card:      #ffffff;
  --bg-card-alt:  #f8f4ed;
  --border:       rgba(0,0,0,0.08);
  --border-hi:    rgba(0,0,0,0.14);
  --txt-hi:       #1a1610;
  --txt-mid:      #4a4030;
  --txt-lo:       #8a7a68;
  --txt-inv:      #faf8f4;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --nav-bg:       rgba(250,248,244,0.90);
}

/* Dark theme */
[data-theme="dark"] {
  --bg:           #0a0907;
  --bg-soft:      #111009;
  --bg-card:      #161410;
  --bg-card-alt:  #1e1b16;
  --border:       rgba(255,255,255,0.07);
  --border-hi:    rgba(255,255,255,0.12);
  --txt-hi:       #f0ece4;
  --txt-mid:      #a89c8c;
  --txt-lo:       #625a50;
  --txt-inv:      #1a1610;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.6), 0 1px 6px rgba(0,0,0,0.4);
  --shadow-lg:    0 16px 56px rgba(0,0,0,0.8);
  --nav-bg:       rgba(10,9,7,0.92);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--txt-hi);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition: background var(--ease-slow), color var(--ease-slow);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ─── SKIP LINK ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 1000;
  padding: var(--sp-2) var(--sp-4);
  background: var(--gold-hi);
  color: var(--txt-inv);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* ─── LAYOUT ─────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.section {
  padding-block: var(--section-y);
}

.section-soft {
  background: var(--bg-soft);
}

.section-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
  margin-bottom: var(--sp-12);
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: var(--sp-4);
}

.h-display {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--txt-hi);
  letter-spacing: -0.01em;
}

.h-display em {
  font-style: italic;
  color: var(--gold-hi);
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--txt-hi);
  max-width: 820px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--txt-hi);
  margin-bottom: var(--sp-6);
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-hi);
}

.text-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--txt-mid);
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--txt-mid);
  max-width: 720px;
  margin-top: var(--sp-5);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--txt-mid);
  margin-bottom: var(--sp-6);
  max-width: 540px;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: var(--sp-2);
}

.title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt-hi);
  margin-bottom: var(--sp-3);
}

.copy {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--txt-mid);
}

.micro {
  font-size: 0.8125rem;
  color: var(--txt-lo);
  line-height: 1.55;
}

/* ─── NAVIGATION ─────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease-slow), border-color var(--ease-slow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--nav-h);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-hi);
  color: var(--txt-inv);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-wordmark-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--txt-hi);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.nav-wordmark-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--txt-lo);
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}

.nav-links a,
[data-nav-link] {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--txt-mid);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.nav-links a:hover,
[data-nav-link]:hover {
  color: var(--txt-hi);
  background: var(--border);
}

.nav-links a.active,
[data-nav-link].active {
  color: var(--gold-hi);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.theme-toggle,
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--txt-mid);
  transition: color var(--ease), background var(--ease);
}

.theme-toggle:hover,
.nav-toggle:hover {
  color: var(--txt-hi);
  background: var(--border);
}

.theme-toggle svg,
.nav-toggle svg { width: 18px; height: 18px; }

.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.nav-toggle { display: none; }

/* ─── MOBILE NAV ─────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-slow);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--ease-slow);
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-close {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--txt-mid);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-6);
  transition: color var(--ease), background var(--ease);
}

.mobile-close:hover { color: var(--txt-hi); background: var(--border); }
.mobile-close svg { width: 20px; height: 20px; }

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}

.mobile-links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--txt-mid);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  transition: color var(--ease), background var(--ease);
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--txt-hi);
  background: var(--border);
}

.mobile-actions {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.mobile-actions .btn { width: 100%; justify-content: center; }

/* ─── HERO ───────────────────────────────────────── */
main { padding-top: var(--nav-h); }

.hero {
  position: relative;
  padding-block: var(--sp-32) var(--sp-24);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-12);
  align-items: start;
  position: relative;
}

.hero-copy {
  position: relative;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--txt-lo);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

/* Hero page (inner pages) */
.hero-page {
  padding-block: var(--sp-16) var(--sp-12);
  border-bottom: 1px solid var(--border);
}

.hero-page .hero-copy {
  max-width: 820px;
}

/* Hero panel (homepage sidebar) */
.hero-panel {
  position: relative;
  top: var(--sp-4);
}

.hero-panel-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-lo);
  margin-bottom: var(--sp-6);
}

.hero-panel-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.hero-panel-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero-panel-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--txt-hi);
}

.hero-panel-item span {
  font-size: 0.8125rem;
  color: var(--txt-mid);
  line-height: 1.55;
}

.hero-panel-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.hero-metric strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold-hi);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero-metric span {
  font-size: 0.75rem;
  color: var(--txt-lo);
  font-weight: 400;
}

/* ─── TRUST BAR ──────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-10);
  background: var(--bg-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.trust-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-lo);
}

.trust-stat {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-hi);
  line-height: 1;
}

.trust-copy {
  font-size: 0.875rem;
  color: var(--txt-mid);
  line-height: 1.6;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn-fill {
  background: var(--gold-hi);
  color: #1a1610;
  border-color: var(--gold-hi);
}

.btn-fill:hover {
  background: #d4b87e;
  border-color: #d4b87e;
  box-shadow: 0 4px 16px rgba(201,169,110,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--txt-hi);
  border-color: var(--border-hi);
}

.btn-outline:hover {
  border-color: var(--gold-hi);
  color: var(--gold-hi);
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-hi);
  margin-top: var(--sp-5);
  transition: gap var(--ease);
  gap: var(--sp-2);
}

.inline-cta:hover { gap: var(--sp-3); }

/* ─── PILLS ──────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-1) var(--sp-3);
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--txt-mid);
  letter-spacing: 0.03em;
}

/* ─── CARDS ──────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
}

.icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.icon-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-alt);
}

.icon-line {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--gold-hi);
}

.icon-badge svg { width: 18px; height: 18px; }

.icon-line > div:last-child {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-1);
}

.icon-line h2,
.icon-line h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt-hi);
  letter-spacing: -0.01em;
}

/* Band (highlight box) */
.band {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-hi);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

/* Quote card */
.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--txt-hi);
  margin-bottom: var(--sp-5);
}

.quote-text em {
  font-style: italic;
  color: var(--gold-hi);
}

/* Stat cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.stat-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
}

.stat-card strong {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--gold-hi);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card span {
  font-size: 0.875rem;
  color: var(--txt-mid);
  font-weight: 400;
}

/* ─── DIVIDER ────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: var(--sp-6);
}

/* ─── LISTS ──────────────────────────────────────── */
.list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.list li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--txt-mid);
  padding-left: var(--sp-5);
  position: relative;
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-hi);
  opacity: 0.6;
}

.list li strong { color: var(--txt-hi); font-weight: 500; }

/* ─── GRIDS ──────────────────────────────────────── */

/* Problem / Services grid — 3 columns */
.problem-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Stats grid — 4 columns */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

/* Case studies grid — 3 columns */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Industries grid — 2 columns */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

/* Process grid — 3 columns */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Contact grid — 2 columns */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

/* About grid — 2 columns */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

/* Founder grid — 2 columns */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

/* Footer grid — 4 columns */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-6);
}

/* ─── FOUNDER CARD ───────────────────────────────── */
.founder-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.founder-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-hi);
  flex-shrink: 0;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--txt-hi);
  line-height: 1.2;
}

.founder-role {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.founder-actions {
  margin-top: auto;
}

/* ─── FORM ───────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.field {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--txt-hi);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  line-height: 1.5;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.field::placeholder { color: var(--txt-lo); }

.field:focus {
  outline: none;
  border-color: var(--gold-hi);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a7a68' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--sp-10);
}

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

.success {
  display: none;
  padding: var(--sp-4);
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--gold-hi);
}

.success.show { display: block; }

/* Calendly embed */
.calendly-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calendly-frame {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.calendly-shell .micro {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--txt-lo);
  margin-top: var(--sp-3);
  max-width: 280px;
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-lo);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--txt-mid);
  transition: color var(--ease);
  line-height: 1.4;
}

.footer-links a:hover { color: var(--gold-hi); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 0.8125rem;
  color: var(--txt-lo);
}

/* ─── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ─── UTILITY SPACING ────────────────────────────── */
.mt-4  { margin-top: var(--sp-4); }
.mt-5  { margin-top: var(--sp-5); }
.mt-6  { margin-top: var(--sp-6); }
.mt-7  { margin-top: 28px; }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }

/* ─── RESPONSIVE — TABLET (≤ 1024px) ────────────── */
@media (max-width: 1024px) {
  :root { --section-y: 72px; }

  .hero-layout {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .hero-panel { top: 0; }

  .section-top {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .services-grid,
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8) var(--sp-6);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── RESPONSIVE — MOBILE (≤ 768px) ─────────────── */
@media (max-width: 768px) {
  :root {
    --section-y: 56px;
    --card-pad: var(--sp-6);
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding-block: var(--sp-16) var(--sp-12);
  }

  .hero-headline {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }

  .page-title {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
  }

  .problem-grid,
  .services-grid,
  .case-grid,
  .industries-grid,
  .process-grid,
  .contact-grid,
  .about-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6) var(--sp-4);
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn { width: 100%; }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

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

  .calendly-frame { height: 500px; }
}

/* ─── RESPONSIVE — SMALL MOBILE (≤ 480px) ─────── */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── PRINT ──────────────────────────────────────── */
@media print {
  header, footer, .mobile-nav, .hero-grid { display: none; }
  main { padding-top: 0; }
  body { color: #000; background: #fff; }
  .card, .icon-card, .band { border: 1px solid #ccc; }
}
