/* Thoretech — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&family=Caveat:wght@600&display=swap');

:root {
  --oak: #946B3F;
  --sage-symbol: #BFBD86;
  --sage-light: #6F7A3C;
  --sage-dark: #CFCE9C;
  --slate: #3C4F54;
  --brass: #B7975B;
  --brass-hover: #C9A867;
  --mistveil: #F4F0E5;
  --parchment: #ECE6D7;
  --paper: #FBF9F2;
  --rose: #BC8179;
  --ink: #26292A;
  --body-muted: #5b5d56;
  --muted-on-dark: #c5cdc7;
  --subtle-on-dark: #8a9a9e;
  --border-card: #ece4d2;
  --border-nav-scrolled: #e2dac6;
}

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

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

body {
  background: var(--mistveil);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  color: var(--ink);
}

a { color: inherit; }

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

.container { max-width: 1180px; margin: 0 auto; }

.photo-warm {
  filter: contrast(1.03) saturate(1.05) brightness(1.02);
}

/* ---------- NAV ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 40px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.site-nav.scrolled {
  padding: 10px 40px;
  background: rgba(244,240,229,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-nav-scrolled);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img { width: 30px; height: auto; }

.nav-logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-logo-text .thore { color: var(--slate); }
.nav-logo-text .tech { color: var(--oak); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 44px;
}

.nav-link {
  color: var(--body-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-link.active {
  color: var(--oak);
  font-weight: 700;
  border-bottom: 2px solid var(--oak);
  padding-bottom: 3px;
}

.nav-cta-wrap { margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 40px;
  justify-content: center;
}

.btn-primary {
  background: var(--slate);
  color: var(--mistveil);
  box-shadow: 0 6px 18px rgba(60,79,84,0.18);
}
.btn-primary:hover { background: #2d3c40; transform: translateY(-1px); }

.btn-nav {
  padding: 11px 22px;
  background: var(--slate);
  color: var(--mistveil);
  box-shadow: 0 6px 18px rgba(60,79,84,0.18);
}
.btn-nav:hover { background: #2d3c40; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--slate);
}
.btn-secondary:hover { background: var(--slate); color: var(--mistveil); }

.btn-brass {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.btn-brass:hover { background: var(--brass-hover); transform: translateY(-1px); }

.btn-paper {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}
.btn-paper:hover { background: #fff; transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: #F8F2E8;
  border: 1.5px solid rgba(244,240,229,0.38);
}
.btn-outline-light:hover { border-color: rgba(244,240,229,0.85); background: rgba(244,240,229,0.08); }

/* Enterprise nav variants (JS toggles classes) */
.site-nav.enterprise-dark { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.07); }
.site-nav.enterprise-dark .nav-link { color: var(--muted-on-dark); }
.site-nav.enterprise-dark .nav-logo-text .thore { color: #dbe2dc; }
.site-nav.enterprise-dark .nav-cta-wrap .btn-nav { background: var(--brass); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.site-nav.enterprise-dark.scrolled { background: rgba(244,240,229,0.96); border-bottom: 1px solid var(--border-nav-scrolled); }
.site-nav.enterprise-dark.scrolled .nav-link { color: var(--body-muted); }
.site-nav.enterprise-dark.scrolled .nav-logo-text .thore { color: var(--slate); }
.site-nav.enterprise-dark.scrolled .nav-cta-wrap .btn-nav { background: var(--slate); color: var(--mistveil); box-shadow: 0 6px 18px rgba(60,79,84,0.18); }
.site-nav .nav-link.active-enterprise { color: var(--brass); font-weight: 700; border-bottom: 2px solid var(--brass); padding-bottom: 3px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--ink); }
.site-nav.enterprise-dark .nav-toggle svg { color: var(--mistveil); }
.site-nav.enterprise-dark.scrolled .nav-toggle svg { color: var(--ink); }

/* ---------- SECTIONS ---------- */

section { padding: 80px 40px; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 10px;
}

.eyebrow-dark { color: var(--sage-dark); }
.eyebrow-rose { color: var(--rose); }

h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.03em; color: var(--ink); }

.caveat {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--oak);
  display: inline-block;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(60,79,84,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,79,84,0.12); }

/* ---------- HOME ---------- */

.hero-home {
  background: var(--mistveil);
  padding: 80px 40px 90px;
}
.hero-home .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak);
  background: #EFE7D6;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
  border: 1px solid rgba(148,107,63,0.18);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-symbol); display: block; flex-shrink: 0; }

.hero-home h1 {
  font-size: 56px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 20px;
}
.highlight-sage {
  background: rgba(191,189,134,0.5);
  border-radius: 4px;
  padding: 2px 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-home p.body-lead {
  font-size: 17px;
  line-height: 1.68;
  color: var(--body-muted);
  max-width: 490px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-accent { font-size: 20px; transform: rotate(-1.5deg); }

.carousel {
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 20px 52px rgba(60,79,84,0.22);
  background: var(--slate);
  position: relative;
}
.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.4s ease;
  opacity: 0;
}
.carousel img.active { opacity: 1; }
.carousel-scrim {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(0deg, rgba(38,41,42,0.88) 0%, transparent 100%);
  pointer-events: none;
}
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 30px 30px;
  transition: opacity 1.4s ease;
  opacity: 0;
  pointer-events: none;
}
.carousel-caption.active { opacity: 1; }
.carousel-caption-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--mistveil);
  line-height: 1.3;
}

.two-paths {
  background: var(--parchment);
}
.two-paths h2, .two-paths .eyebrow { text-align: center; }
.two-paths h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 36px; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card {
  border-radius: 16px;
  padding: 36px;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.path-card.light {
  background: var(--paper);
  border: 1px solid var(--border-card);
  box-shadow: 0 1px 3px rgba(60,79,84,0.05);
}
.path-card.light:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,79,84,0.12); }
.path-card.dark {
  border: 1px solid rgba(207,206,156,0.15);
  background-color: var(--slate);
}
.path-card.dark:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,79,84,0.28); }
.path-bar { width: 40px; height: 4px; border-radius: 999px; margin-bottom: 18px; }
.path-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.path-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.2; }
.path-card p { font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.path-cta { font-size: 14px; font-weight: 600; }

.time-audit {
  background: var(--mistveil);
}
.time-audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.audit-card {
  background: var(--slate);
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 18px 44px rgba(60,79,84,0.2);
}
.audit-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 14px; }
.audit-stat { font-size: 76px; font-weight: 800; color: var(--mistveil); letter-spacing: -0.04em; line-height: 1; }
.audit-stat span { font-size: 28px; color: var(--brass); font-weight: 700; }
.audit-stat-caption { font-size: 14px; color: var(--muted-on-dark); margin-top: 6px; line-height: 1.45; }
.split-bar { margin: 18px 0; }
.split-bar-track { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.split-bar-fill { width: 68%; background: var(--brass); border-radius: 999px 0 0 999px; }
.split-bar-rest { width: 32%; background: rgba(207,206,156,0.2); border-radius: 0 999px 999px 0; }
.split-bar-labels { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; }
.split-bar-labels .running { color: var(--brass); }
.split-bar-labels .growing { color: var(--sage-dark); }

.audit-tiles { border-top: 1px solid rgba(207,206,156,0.15); padding-top: 16px; display: flex; gap: 8px; margin-bottom: 16px; }
.audit-tile {
  flex: 1;
  background: rgba(183,151,91,0.12);
  border-radius: 8px;
  padding: 12px 6px;
  text-align: center;
  transition: background 0.15s ease;
  cursor: default;
}
.audit-tile:hover { background: rgba(188,129,121,0.18); }
.audit-tile svg { width: 18px; height: 18px; }
.audit-tile-label { font-size: 11px; color: var(--muted-on-dark); margin-top: 7px; line-height: 1.3; }

.audit-footer { border-top: 1px solid rgba(207,206,156,0.15); padding-top: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.audit-footer-source { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(207,206,156,0.35); }
.audit-footer-note { font-family: 'Caveat', cursive; font-size: 20px; color: var(--sage-dark); transform: rotate(-1.5deg); }

.time-audit-copy h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.time-audit-copy p { font-size: 16px; line-height: 1.68; color: var(--body-muted); margin-bottom: 28px; }

/* Tooltip */
.tooltip {
  position: fixed;
  z-index: 300;
  pointer-events: none;
  display: none;
}
.tooltip.visible { display: block; }
.tooltip-box {
  background: var(--paper);
  border: 1.5px solid var(--rose);
  border-radius: 14px;
  padding: 20px 22px;
  width: 272px;
  box-shadow: 0 12px 32px rgba(60,79,84,0.2);
}
.tooltip-bar { height: 3px; background: var(--rose); border-radius: 999px; margin-bottom: 12px; }
.tooltip-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.tooltip-body { font-size: 13px; line-height: 1.65; color: var(--ink); margin-bottom: 12px; }
.tooltip-note { font-family: 'Caveat', cursive; font-size: 17px; color: var(--body-muted); transform: rotate(-1deg); display: inline-block; line-height: 1.45; }

.cta-strip {
  background: var(--oak);
  text-align: center;
}
.cta-strip .container { max-width: 640px; }
.cta-strip h2 { font-size: 40px; font-weight: 800; color: #F8F2E8; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; text-wrap: balance; }
.cta-strip p { font-size: 17px; color: rgba(244,240,229,0.82); line-height: 1.6; margin-bottom: 30px; }
.cta-strip .hero-ctas { justify-content: center; margin-bottom: 18px; }
.cta-strip .caveat { color: #EAD9BE; font-size: 18px; transform: rotate(-1deg); }

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--ink);
  padding: 40px 40px 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo img { width: 24px; height: auto; }
.footer-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.footer-logo-text .thore { color: #dbe2dc; }
.footer-logo-text .tech { color: var(--brass); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-link { font-size: 14px; color: var(--body-muted); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: var(--muted-on-dark); }
.footer-link.active { color: var(--brass); font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; }
.footer-copy { font-size: 13px; color: var(--slate); }
.footer-tagline { font-family: 'Caveat', cursive; font-size: 16px; color: var(--oak); transform: rotate(-0.5deg); }
.site-footer.footer-enterprise { background: #1a1c1d; border-top: 1px solid rgba(255,255,255,0.05); }

/* ---------- SMALL BUSINESS ---------- */

.sb-hero { background: var(--mistveil); padding: 72px 40px 64px; }
.sb-hero .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sb-hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; margin-bottom: 18px; }
.sb-hero p.body-lead { font-size: 17px; line-height: 1.65; color: var(--body-muted); max-width: 440px; margin-bottom: 28px; }

.tick-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.tick-item { display: flex; align-items: center; gap: 12px; }
.tick-circle { width: 22px; height: 22px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tick-circle svg { width: 11px; height: 11px; }
.tick-text { font-size: 15px; color: var(--ink); font-weight: 500; }

.photo-quote {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 480px;
  box-shadow: 0 18px 44px rgba(60,79,84,0.2);
}
.photo-quote img { width: 100%; height: 100%; object-fit: cover; }
.photo-quote-scrim {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(0deg, rgba(38,41,42,0.88) 0%, transparent 100%);
}
.photo-quote-text {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 30px 32px;
}
.photo-quote-text .caveat-quote {
  font-family: 'Caveat', cursive; font-size: 22px; color: var(--mistveil); line-height: 1.45; margin-bottom: 10px; display: block;
}
.photo-quote-attr { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--sage-dark); text-transform: uppercase; }

.services-section { background: var(--parchment); padding: 72px 40px; }
.services-section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 32px; text-wrap: balance; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  background: var(--paper);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(60,79,84,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,79,84,0.12); }
.service-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.service-card p { font-size: 14px; line-height: 1.65; color: var(--body-muted); flex: 1; }

.usecase-section { background: var(--slate); padding: 80px 40px; }
.usecase-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.usecase-header h2 { font-size: 34px; font-weight: 800; color: var(--mistveil); letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
.usecase-nav { display: flex; align-items: center; gap: 10px; }
.usecase-count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--sage-dark); letter-spacing: 0.06em; }
.usecase-btn {
  width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease; font-size: 16px; border: none;
}
.usecase-btn-prev { background: rgba(255,255,255,0.08); border: 1px solid rgba(207,206,156,0.2); color: var(--mistveil); }
.usecase-btn-prev:hover { background: rgba(255,255,255,0.15); }
.usecase-btn-next { background: var(--brass); color: var(--ink); }
.usecase-btn-next:hover { background: var(--brass-hover); }

.usecase-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(207,206,156,0.12); border-radius: 18px; padding: 44px 48px; }
.usecase-title { font-family: 'Caveat', cursive; font-size: 26px; color: var(--mistveil); line-height: 1.3; margin-bottom: 32px; }
.usecase-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usecase-col-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.usecase-col-label.situation { color: var(--rose); }
.usecase-col-label.what { color: var(--sage-dark); }
.usecase-col-label.diff { color: var(--brass); }
.usecase-col p { font-size: 15px; line-height: 1.68; color: var(--muted-on-dark); }
.usecase-footer { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(207,206,156,0.12); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.usecase-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: rgba(207,206,156,0.4); text-transform: uppercase; }
.usecase-dots { display: flex; gap: 8px; }
.usecase-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(207,206,156,0.25); transition: background 0.2s ease; }
.usecase-dot.active { background: var(--brass); }
.usecase-cta { text-align: center; margin-top: 28px; }

.method-section { background: var(--parchment); padding: 80px 40px; }
.method-section .eyebrow, .method-section > .container > h2 { text-align: center; }
.method-section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 36px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method-card { background: var(--paper); border: 1px solid var(--border-card); border-radius: 14px; padding: 28px; }
.method-number { font-family: 'JetBrains Mono', monospace; font-size: 38px; font-weight: 700; color: var(--border-nav-scrolled); line-height: 1; margin-bottom: 14px; }
.method-bar { width: 36px; height: 3px; border-radius: 999px; margin-bottom: 16px; }
.method-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.method-card p { font-size: 14px; line-height: 1.65; color: var(--body-muted); }
.method-note { text-align: center; margin-top: 24px; }
.method-note .caveat { font-size: 19px; transform: rotate(-0.8deg); }

.cta-split { background: var(--oak); padding: 72px 40px; }
.cta-split .container { max-width: 700px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-split h2 { font-size: 32px; font-weight: 800; color: #F8F2E8; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.cta-split p { font-size: 16px; color: rgba(244,240,229,0.8); line-height: 1.6; }
.cta-split-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex-shrink: 0; }
.cta-split-action .btn { white-space: nowrap; }
.cta-split-note { font-size: 13px; color: rgba(244,240,229,0.6); padding-left: 2px; }

/* ---------- ENTERPRISE ---------- */

.ent-hero { background: var(--ink); padding: 80px 40px 72px; }
.ent-hero .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ent-eyebrow { color: var(--sage-dark); }
.ent-hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.03em; color: var(--mistveil); line-height: 1.08; text-wrap: balance; margin-bottom: 20px; }
.ent-hero p.body-lead { font-size: 17px; line-height: 1.65; color: var(--muted-on-dark); max-width: 440px; margin-bottom: 30px; }
.ent-hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ent-hero-note { font-size: 14px; color: var(--body-muted); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(207,206,156,0.1); border-radius: 14px; padding: 24px; }
.stat-card.highlight { background: rgba(183,151,91,0.1); border: 1px solid rgba(183,151,91,0.2); }
.stat-number { font-size: 38px; font-weight: 800; color: var(--mistveil); letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.stat-number span { font-size: 18px; color: var(--brass); }
.stat-label { font-size: 13px; color: var(--body-muted); line-height: 1.4; }

.delivery-section { background: var(--mistveil); padding: 80px 40px; }
.delivery-section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 32px; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.delivery-card {
  background: var(--paper); border: 1px solid var(--border-card); border-radius: 14px;
  padding: 26px 28px; display: flex; gap: 16px; align-items: flex-start;
  box-shadow: 0 1px 3px rgba(60,79,84,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.delivery-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(60,79,84,0.1); }
.delivery-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(183,151,91,0.12); border: 1px solid rgba(183,151,91,0.2); color: var(--oak); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.delivery-icon svg { width: 18px; height: 18px; }
.delivery-card-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.delivery-card-body { font-size: 13.5px; color: var(--body-muted); line-height: 1.55; }

.engage-section { background: var(--parchment); padding: 72px 40px; }
.engage-section .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.engage-section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.engage-section p { font-size: 16px; line-height: 1.65; color: var(--body-muted); margin-bottom: 16px; }
.engage-section p.last { margin-bottom: 28px; }

.office-photo { border-radius: 16px; overflow: hidden; position: relative; height: 420px; box-shadow: 0 18px 44px rgba(60,79,84,0.2); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; }
.office-photo-scrim { position: absolute; bottom: 0; left: 0; right: 0; height: 55%; background: linear-gradient(0deg, rgba(38,41,42,0.88) 0%, transparent 100%); }
.office-photo-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 28px 30px; }
.office-photo-title { font-size: 20px; font-weight: 700; color: var(--mistveil); line-height: 1.35; margin-bottom: 8px; }
.office-photo-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--sage-dark); text-transform: uppercase; }

/* ---------- ABOUT ---------- */

.about-hero { background: var(--mistveil); padding: 80px 40px 72px; }
.about-hero .hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.about-hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; margin-bottom: 22px; }
.about-hero p { font-size: 17px; line-height: 1.7; color: var(--body-muted); margin-bottom: 20px; }
.about-hero .caveat { font-size: 21px; transform: rotate(-1.2deg); }

.icon-display { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.icon-display-box { background: var(--slate); border-radius: 24px; padding: 48px; box-shadow: 0 18px 44px rgba(60,79,84,0.22); }
.icon-display-box img { width: 120px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); }
.icon-display-name { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 2px; text-align: center; }
.icon-display-name .thore { color: var(--slate); }
.icon-display-name .tech { color: var(--oak); }
.icon-display-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: #8a8578; text-transform: uppercase; text-align: center; }

.founder-section { background: var(--mistveil); padding: 0 40px 72px; }
.founder-card {
  background: var(--paper); border: 1px solid var(--border-card); border-radius: 18px;
  padding: 44px 48px; display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: start;
  box-shadow: 0 1px 3px rgba(60,79,84,0.05);
}
.founder-photo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.founder-photo { width: 168px; height: 200px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(60,79,84,0.15); flex-shrink: 0; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-name { font-size: 15px; font-weight: 700; }
.founder-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--oak); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.founder-copy p { font-size: 16px; line-height: 1.72; color: var(--body-muted); margin-bottom: 16px; }
.founder-copy .caveat { font-size: 20px; transform: rotate(-0.8deg); }

.pillars-section { background: var(--parchment); padding: 80px 40px; }
.pillars-section .eyebrow, .pillars-section > .container > h2 { text-align: center; }
.pillars-section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 36px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar-card { background: var(--paper); border: 1px solid var(--border-card); border-radius: 14px; padding: 30px; box-shadow: 0 1px 3px rgba(60,79,84,0.05); }
.pillar-badge { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; }
.pillar-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.pillar-card p { font-size: 14px; line-height: 1.65; color: var(--body-muted); }

.credentials-section { background: var(--slate); padding: 48px 40px; }
.credentials-section .eyebrow { color: var(--sage-dark); margin-bottom: 20px; }
.credentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.credential-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(207,206,156,0.1); border-radius: 12px; padding: 24px 26px; }
.credential-number { font-size: 36px; font-weight: 800; color: var(--mistveil); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.credential-number span { font-size: 18px; color: var(--brass); }
.credential-text { font-size: 14px; color: var(--muted-on-dark); line-height: 1.5; }

/* ---------- CONTACT ---------- */

.contact-hero { background: var(--mistveil); padding: 80px 40px 72px; }
.contact-hero .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-hero h1 { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; margin-bottom: 20px; }
.contact-hero p { font-size: 17px; line-height: 1.68; color: var(--body-muted); margin-bottom: 36px; }
.contact-hero .caveat { font-size: 20px; transform: rotate(-1deg); }

.contact-options { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-option {
  display: flex; align-items: center; gap: 16px; background: var(--paper);
  border: 1px solid var(--border-card); border-radius: 12px; padding: 18px 22px;
  text-decoration: none; box-shadow: 0 1px 3px rgba(60,79,84,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-option:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(60,79,84,0.1); }
.contact-option-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-option-icon svg { width: 18px; height: 18px; }
.contact-option-icon.call { background: var(--slate); color: var(--mistveil); }
.contact-option-icon.email { background: var(--oak); color: var(--mistveil); }
.contact-option-label { font-size: 13px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 3px; }
.contact-option-value { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.contact-option-value.email-val { font-size: 17px; }

.contact-panel { background: var(--paper); border: 1px solid var(--border-card); border-radius: 18px; padding: 40px 42px; box-shadow: 0 4px 18px rgba(60,79,84,0.08); }
.contact-panel-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 24px; }
.form-fields { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-nav-scrolled);
  border-radius: 8px; font-size: 15px; color: var(--ink); background: #fff; outline: none;
  transition: border-color 0.15s ease; font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 44px;
}
.form-control:focus { border-color: var(--slate); }
.form-control.error { border-color: var(--rose); }
textarea.form-control { resize: vertical; line-height: 1.6; min-height: auto; }

.contact-pref-toggle { display: flex; gap: 10px; margin-bottom: 10px; }
.toggle-btn {
  flex: 1; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.15s ease; border: 1.5px solid var(--border-nav-scrolled);
  background: #fff; color: var(--ink); min-height: 40px;
}
.toggle-btn.active { background: var(--slate); color: var(--mistveil); border-color: var(--slate); }

.contact-error { margin-top: 6px; font-size: 13px; color: var(--rose); }

.send-btn {
  width: 100%; padding: 14px 24px; background: var(--slate); color: var(--mistveil);
  border: none; border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 18px rgba(60,79,84,0.18);
  transition: all 0.18s ease; min-height: 44px;
}
.send-btn:hover { background: #2d3c40; transform: translateY(-1px); }
.send-note { margin-top: 14px; font-size: 13px; color: #8a8578; text-align: center; line-height: 1.5; }

.thankyou-card {
  background: var(--paper); border: 1px solid var(--border-card); border-radius: 18px;
  padding: 56px 42px; box-shadow: 0 4px 18px rgba(60,79,84,0.08); display: flex;
  flex-direction: column; align-items: flex-start; justify-content: center; min-height: 380px;
}
.thankyou-tick { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.thankyou-tick svg { width: 22px; height: 22px; }
.thankyou-card h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; text-wrap: balance; }
.thankyou-card p { font-size: 16px; line-height: 1.65; color: var(--body-muted); margin-bottom: 28px; }
.thankyou-card .caveat { font-size: 20px; transform: rotate(-1deg); }

.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  section { padding: 48px 20px; }
  .site-nav { padding: 14px 20px; }
  .site-nav.scrolled { padding: 10px 20px; }

  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244,240,229,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-nav-scrolled);
    padding: 14px 20px 18px;
    margin-left: 0;
  }
  .nav-links.mobile-open .nav-link { padding: 10px 0; width: 100%; min-height: 40px; display: flex; align-items: center; }
  .nav-toggle { display: flex; }
  .nav-cta-wrap { margin-left: 12px; }
  .btn-nav { padding: 9px 14px; font-size: 13px; }

  .hero-home .hero-grid,
  .sb-hero .hero-grid,
  .ent-hero .hero-grid,
  .about-hero .hero-grid,
  .engage-section .hero-grid,
  .contact-hero .hero-grid,
  .time-audit-grid,
  .paths-grid,
  .services-grid,
  .delivery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-home h1 { font-size: 38px; line-height: 1.25; }
  .sb-hero h1 { font-size: 36px; }
  .ent-hero h1 { font-size: 36px; }
  .about-hero h1 { font-size: 36px; }
  .contact-hero h1 { font-size: 38px; }
  h2 { font-size: 28px !important; }
  .audit-stat { font-size: 56px; }

  .carousel { height: 360px; }
  .photo-quote { height: 320px; }
  .office-photo { height: 300px; }

  .method-grid, .pillars-grid, .credentials-grid { grid-template-columns: 1fr; }
  .usecase-cols { grid-template-columns: 1fr; gap: 24px; }
  .usecase-card { padding: 30px 24px; }
  .usecase-header { flex-direction: column; align-items: flex-start; }

  .founder-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .founder-photo-wrap { flex-direction: row; align-items: center; }

  .cta-split .container { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-split-action { align-items: flex-start; width: 100%; }
  .cta-split-action .btn { width: 100%; }

  .icon-display { margin-top: 20px; }

  .tooltip { display: none !important; }
}

@media (max-width: 480px) {
  section { padding: 40px 16px; }
  .site-nav { padding: 12px 16px; }
  .nav-logo-text { font-size: 18px; }
  .nav-logo img { width: 26px; }

  .hero-home h1 { font-size: 32px; }
  .sb-hero h1, .ent-hero h1, .about-hero h1 { font-size: 30px; }
  .contact-hero h1 { font-size: 32px; }
  h2 { font-size: 24px !important; }

  .badge-pill { font-size: 10px; padding: 6px 12px; }
  .hero-home p.body-lead, .sb-hero p.body-lead, .ent-hero p.body-lead { font-size: 15px; }

  .carousel { height: 280px; }
  .audit-tiles { flex-wrap: wrap; }
  .audit-tile { min-width: 45%; }

  .founder-card { padding: 24px 18px; }
  .founder-photo { width: 120px; height: 140px; }

  .contact-panel, .thankyou-card { padding: 28px 22px; }

  .btn { padding: 12px 18px; font-size: 14px; }
}
