/* ========================================
   Tiny Truck Consulting — Design System
   ======================================== */

:root {
  /* Brand colors */
  --navy: #2B3D4F;
  --navy-deep: #1f2d3a;
  --navy-soft: #34495e;
  --blue-gray: #6B8BA4;
  --blue-gray-light: #a7bcce;
  --yellow: #E8C84A;
  --yellow-deep: #d4b528;
  --light-gray: #F2F2F2;
  --paper: #FAFAF8;
  --charcoal: #444444;
  --charcoal-light: #6a6a6a;
  --white: #FFFFFF;
  --rule: #E4E7EB;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue-gray); text-decoration: none; transition: color .15s; }
a:hover { color: var(--navy); }

/* ========================================
   Tweakable: Mood (color story) — swap palette tokens at the root
   ======================================== */

body[data-mood="workshop"] {
  --navy:           #3D2E26;
  --navy-deep:      #281a14;
  --navy-soft:      #4f3d33;
  --blue-gray:      #A8865D;
  --blue-gray-light:#d4b896;
  --yellow:         #E59E3B;
  --yellow-deep:    #c4831f;
  --light-gray:     #EFE9DD;
  --paper:          #FAF4E6;
  --rule:           #E5DDC8;
}

body[data-mood="heritage"] {
  --navy:           #1F3A35;
  --navy-deep:      #142420;
  --navy-soft:      #2a4b44;
  --blue-gray:      #6D8A7E;
  --blue-gray-light:#a7bcb4;
  --yellow:         #C9A95C;
  --yellow-deep:    #a78739;
  --light-gray:     #ECEBE1;
  --paper:          #F4F0E3;
  --rule:           #E0DDD0;
}

/* ========================================
   Tweakable: Surface — Industrial adds texture and stamped accents
   ======================================== */

body[data-surface="industrial"] {
  background:
    radial-gradient(circle at 1px 1px, rgba(43,61,79,.12) 1px, transparent 0)
    0 0 / 22px 22px,
    var(--white);
}
body[data-surface="industrial"] .credibility,
body[data-surface="industrial"] .pain,
body[data-surface="industrial"] .bigcta,
body[data-surface="industrial"] .network {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(43,61,79,.12) 1px, transparent 0);
  background-size: 22px 22px;
}
body[data-surface="industrial"] .eyebrow::before {
  width: 28px;
  background:
    repeating-linear-gradient(90deg, var(--blue-gray) 0 4px, transparent 4px 7px);
}
body[data-surface="industrial"] .section-head h2,
body[data-surface="industrial"] .hero h1 {
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
body[data-surface="industrial"] .svc,
body[data-surface="industrial"] .form-card,
body[data-surface="industrial"] .bio-card,
body[data-surface="industrial"] .why-grid {
  border-width: 2px;
  border-color: var(--navy);
}
body[data-surface="industrial"] .svc::before { background: var(--navy); }
body[data-surface="industrial"] .hero-visual-frame {
  border: 2px solid var(--navy);
  box-shadow: 8px 8px 0 0 var(--yellow), 0 0 0 1px var(--navy);
}
body[data-surface="industrial"] .btn-primary {
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 3px 3px 0 0 var(--navy);
}
body[data-surface="industrial"] .btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--navy);
}
body[data-surface="industrial"] .trust {
  background: repeating-linear-gradient(
    -45deg,
    var(--navy) 0 18px,
    var(--navy-deep) 18px 36px
  );
}

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

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

h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }

p { color: var(--charcoal); }

/* ========================================
   Layout helpers
   ======================================== */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-gray);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--blue-gray);
  display: inline-block;
}

/* ========================================
   Header / Nav
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 24px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
}
.logo-link:hover { opacity: .85; }
.logo-link img { max-height: 60px; width: auto; }

.site-header .logo-link img { max-height: 56px; }
.footer-brand .logo-link img { max-height: 90px; margin-bottom: 16px; }

.nav-primary { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 6px;
  position: relative;
}
.nav-link:hover { color: var(--navy); background: var(--light-gray); }
.nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--yellow);
}

.nav-cta {
  margin-left: 12px;
}

.menu-toggle { display: none; padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--navy); }

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  transition: all .18s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  transition: transform .18s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn-primary:hover {
  background: var(--yellow-deep);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(232,200,74,.6);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--rule);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ========================================
   Hero
   ======================================== */

.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero.is-lockup .hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero.is-lockup .hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero.is-lockup .hero-copy h1 .accent-line {
  display: block;
  margin-top: 6px;
}
.hero.is-lockup .hero-copy .hero-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 48ch;
}
.hero.is-lockup .hero-copy .hero-eyebrow {
  justify-content: center;
  display: inline-flex;
}
.hero.is-lockup .hero-copy .hero-ctas {
  justify-content: center;
}
.hero h1 .accent {
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--yellow);
  z-index: -1;
  opacity: .9;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-sub-visual {
  text-align: center;
  margin: 28px auto 0;
  max-width: 46ch;
}
.hero-visual .hero-ctas {
  justify-content: center;
  margin-top: 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 12px 32px;
}
.hero-visual .hero-truck-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 24px rgba(43,61,79,.18));
}
.hero-truck { width: 100%; max-width: 320px; position: relative; z-index: 1; }
.hero-truck-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(43,61,79,.12));
}

/* ========================================
   Hero variant: Truck Spotlight
   Dark navy hero, oversized truck overflowing right edge
   ======================================== */
.hero.is-truck {
  background: var(--navy);
  color: var(--white);
  padding-top: clamp(40px, 7vw, 90px);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
.hero.is-truck::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at left, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at left, black, transparent 70%);
}
.hero.is-truck .hero-grid {
  grid-template-columns: 1fr 1.15fr;
  align-items: end;
  gap: 24px;
  position: relative;
}
.hero.is-truck h1 { color: var(--white); padding-bottom: 32px; }
.hero.is-truck h1 .accent { color: var(--yellow); }
.hero.is-truck h1 .accent::after { display: none; }
.hero.is-truck .hero-eyebrow { color: var(--yellow); }
.hero.is-truck .hero-eyebrow::before { background: var(--yellow); }
.hero.is-truck .hero-sub { color: rgba(255,255,255,.78); padding-bottom: 36px; }
.hero.is-truck .hero-ctas { padding-bottom: 48px; }
.hero.is-truck .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.hero.is-truck .btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.hero.is-truck .truck-spotlight {
  position: relative;
  width: calc(100% + var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  margin-bottom: -40px;
  align-self: end;
}
.hero.is-truck .truck-spotlight img {
  width: 110%;
  max-width: none;
  transform: translateX(4%);
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.4));
}
.hero.is-truck .spotlight-tag {
  position: absolute;
  left: -10px; top: 12%;
  background: var(--yellow);
  color: var(--navy);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  z-index: 2;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.3);
}

/* ========================================
   Hero variant: Mantra
   Centered editorial layout — Dave's quote dominates
   ======================================== */
.hero.is-mantra {
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--paper), var(--white) 70%);
}
.hero.is-mantra .hero-grid {
  display: block;
  max-width: 920px;
  margin: 0 auto;
}
.hero.is-mantra .hero-eyebrow { justify-content: center; display: inline-flex; margin-bottom: 28px; }
.hero.is-mantra h1 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 36px;
}
.hero.is-mantra .mantra-block {
  position: relative;
  margin: 16px auto 36px;
  max-width: 760px;
  padding: 32px 16px 16px;
}
.hero.is-mantra .mantra-block::before {
  content: '"';
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  color: var(--yellow);
  opacity: .85;
}
.hero.is-mantra .mantra-text {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.hero.is-mantra .mantra-text em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(232,200,74,.55) 60%);
  padding: 0 4px;
}
.hero.is-mantra .mantra-attr {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-gray);
}
.hero.is-mantra .hero-ctas { justify-content: center; }
.hero.is-mantra .hero-mark {
  margin: 56px auto 0;
  max-width: 280px;
  display: block;
  opacity: .95;
}

@media (max-width: 900px) {
  .hero.is-truck .hero-grid { grid-template-columns: 1fr; }
  .hero.is-truck .truck-spotlight { margin-right: 0; margin-bottom: 0; }
}
.hero-visual-badge {
  position: absolute;
  bottom: -28px;
  right: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  box-shadow: 0 14px 32px -16px rgba(43,61,79,.25);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
}
.hero-visual-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 3px rgba(76,175,80,.18);
}

/* ========================================
   Trust strip
   ======================================== */
.trust {
  background: var(--navy);
  color: var(--blue-gray-light);
  padding: 18px 0;
  border-top: 3px solid var(--yellow);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.7);
}
.trust-inner span.sep {
  width: 4px; height: 4px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ========================================
   Credibility banner
   ======================================== */
.credibility {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.cred-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}
.cred-stat {
  background: var(--navy);
  color: var(--white);
  padding: 22px 26px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  flex: none;
}
.cred-stat::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: var(--yellow);
  border-radius: 50%;
  transform: translate(40%, -40%);
  opacity: .9;
}
.cred-stat .big {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  position: relative;
}
.cred-stat .big .plus { color: var(--yellow); }
.cred-stat .label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}
.cred-stat .mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.cred-awards.cred-awards-single {
  grid-template-columns: 1fr;
}
.cred-letterhead {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 420px;
  margin: 32px auto 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
}
.cred-awards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
  min-height: 360px;
}
.cred-awards image-slot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
}
.cred-stat .mini .n {
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
.cred-stat .mini .t {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
  line-height: 1.4;
}
.cred-copy h2 { margin-bottom: 20px; }
.cred-copy h2 .hl { color: var(--blue-gray); }
.cred-copy p { font-size: 17px; line-height: 1.65; margin-bottom: 16px; color: var(--charcoal); }
.cred-copy .award {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
}
.cred-copy .award .seal {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--navy);
}

.cred-copy .award.award-bubble {
  display: flex;
  width: fit-content;
  margin: 0;
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 16px 32px -18px rgba(43,61,79,.45);
}
.award-callout {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.award-photo {
  width: 100%;
  max-width: 330px;
  height: auto;
  background: transparent;
}
.award-callout-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.cred-copy .award.award-bubble .seal {
  width: 26px; height: 26px;
  font-size: 13px;
}

/* ========================================
   Industry Network
   ======================================== */
.network {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.network-vis {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.net-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.net-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 168px; height: 168px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 0 0 6px rgba(232,200,74,.18),
    0 18px 36px -16px rgba(43,61,79,.4);
  z-index: 2;
}
.net-center::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px dashed var(--yellow);
  opacity: .6;
}
.net-center-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.net-center-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 6px;
  max-width: 110px;
  line-height: 1.4;
}
.net-node {
  position: absolute;
  top: 50%; left: 50%;
  /* Place node on the outer ring (radius 150 of 400 viewport ≈ 37.5%) */
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(-180px)
    rotate(calc(-1 * var(--a)));
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: 0 8px 16px -10px rgba(43,61,79,.25);
  z-index: 1;
  transition: all .2s ease;
}
.net-node::before {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  top: 50%; left: -3px;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px var(--paper);
}
.net-node:hover {
  border-color: var(--blue-gray);
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(-180px)
    rotate(calc(-1 * var(--a)))
    scale(1.06);
}

@media (max-width: 900px) {
  .network-grid { grid-template-columns: 1fr; gap: 48px; }
  .network-vis { max-width: 380px; }
  .net-node {
    transform:
      translate(-50%, -50%)
      rotate(var(--a))
      translateY(-150px)
      rotate(calc(-1 * var(--a)));
    font-size: 12px;
    padding: 8px 12px;
  }
  .net-center { width: 130px; height: 130px; }
  .net-center-name { font-size: 14px; }
}
@media (max-width: 480px) {
  .network-vis { max-width: 320px; }
  .net-node {
    transform:
      translate(-50%, -50%)
      rotate(var(--a))
      translateY(-128px)
      rotate(calc(-1 * var(--a)));
    font-size: 11px;
    padding: 7px 10px;
  }
  .net-center { width: 110px; height: 110px; }
}

/* ========================================
   Section header
   ======================================== */
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--charcoal-light); }
.section-head p.section-tagline {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-head p.section-tagline::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ========================================
   Service cards
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}
.svc:hover {
  transform: translateY(-3px);
  border-color: var(--blue-gray-light);
  box-shadow: 0 18px 36px -22px rgba(43,61,79,.25);
}
.svc::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 0;
  background: var(--yellow);
  transition: height .25s ease;
}
.svc:hover::before { height: 100%; }
.svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-gray);
  margin-bottom: 18px;
}
.svc-icon {
  width: 44px; height: 44px;
  background: var(--light-gray);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 18px;
}
.svc h3 { margin-bottom: 10px; font-size: 19px; }
.svc p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal-light);
  margin-bottom: 16px;
  flex: 1;
}
.svc .link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.svc .link svg { transition: transform .18s; }
.svc:hover .link svg { transform: translateX(3px); }

/* ========================================
   Pain points
   ======================================== */
.pain {
  background: var(--light-gray);
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.pain-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.pain-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 15px;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 500;
}
.pain-check .x {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 1px;
  border: 1px solid var(--rule);
}
.pain-solution {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--white);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
}
.pain-solution strong { color: var(--navy); }

/* ========================================
   Why Tiny Truck
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  background: var(--white);
}
.why-item:last-child { border-right: none; }
.why-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-gray);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.why-item h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--navy);
}
.why-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal-light);
}

/* ========================================
   About teaser
   ======================================== */
.teaser {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.teaser h2 { color: var(--white); margin-bottom: 24px; }
.teaser h2 .hl { color: var(--yellow); }
.teaser p { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.teaser .quote-mark {
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: -50px;
  display: block;
}

.dave-card {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 32px;
}
.dave-card .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-gray), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.dave-card .avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.dave-card .avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px dashed var(--yellow);
  border-radius: 50%;
  opacity: .5;
}
.dave-card .name { font-size: 20px; font-weight: 700; color: var(--white); }
.dave-card .role { font-size: 13px; color: var(--blue-gray-light); margin-top: 4px; }
.dave-card .creds {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dave-card .cred-row {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.dave-card .cred-row .y {
  flex: none;
  font-family: var(--font-mono);
  color: var(--yellow);
  font-weight: 600;
  font-size: 12px;
  min-width: 44px;
}

/* ========================================
   Origin story — "Why Tiny Truck"
   ======================================== */
.origin {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.origin::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 20% 0%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 0%, black, transparent 72%);
}
.origin .wrap { position: relative; }
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}
.origin-aside .eyebrow { color: var(--yellow); margin-bottom: 16px; }
.origin-aside .eyebrow::before { background: var(--yellow); }
.origin-aside h2 { color: var(--white); margin-bottom: 20px; }
.origin-quote { color: var(--yellow); }
.origin-lede {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  font-weight: 500;
}
.origin-truck {
  margin-top: 36px;
  padding: 28px 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  display: flex;
  justify-content: center;
}
.origin-truck img {
  width: 100%;
  max-width: 260px;
  height: auto;
}
.origin-body {
  border-left: 2px solid rgba(232,200,74,.4);
  padding-left: 40px;
}
.origin-body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  margin-bottom: 18px;
}
.origin-beat {
  font-family: var(--font-mono);
  font-size: 15px !important;
  letter-spacing: 0.02em;
  color: var(--yellow) !important;
  font-weight: 500;
}
.origin-born {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: -0.01em;
  margin-top: 4px !important;
}
.origin-tagline {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
}
.origin-tagline .hl { color: var(--yellow); }

@media (max-width: 860px) {
  .origin-grid { grid-template-columns: 1fr; gap: 40px; }
  .origin-body { border-left: none; padding-left: 0; }
  .origin-truck { max-width: 320px; }
}

/* ========================================
   Big CTA
   ======================================== */
.bigcta {
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.bigcta h2 { margin-bottom: 14px; }
.bigcta p { max-width: 56ch; margin: 0 auto 32px; color: var(--charcoal-light); font-size: 17px; }
.bigcta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bigcta .info-row {
  margin-top: 28px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--charcoal-light);
}
.bigcta .info-row a { color: var(--navy); font-weight: 600; }

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-link { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-link-panel {
  display: inline-flex;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.5);
  width: fit-content;
}
.footer-brand .logo-link-panel img { margin-bottom: 0; }
.footer-brand .logo-text .brand { color: var(--white); }
.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  max-width: 32ch;
  margin-top: 12px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--yellow);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a, .footer-col li {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 5px 0;
  list-style: none;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .tag {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================================
   Subpage hero
   ======================================== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(60px, 8vw, 100px) 0 clamp(70px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
}
.page-hero-inner { position: relative; max-width: 800px; }
.page-hero .eyebrow { color: var(--yellow); margin-bottom: 18px; }
.page-hero .eyebrow::before { background: var(--yellow); }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero h1 .accent { color: var(--yellow); }
.page-hero p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.75);
  max-width: 60ch;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.5);
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb .current { color: var(--yellow); }

/* ========================================
   Services page (detailed)
   ======================================== */
.svc-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail-side .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-gray);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.svc-detail-side h3 {
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.svc-detail-side .icon-large {
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.svc-detail-body .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 28px;
  padding: 22px 24px;
  background: var(--light-gray);
  border-left: 4px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}
.svc-detail-body h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-gray);
  margin-bottom: 16px;
  font-weight: 600;
}
.svc-detail-body ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.svc-detail-body ul li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--charcoal);
  padding-left: 24px;
  position: relative;
}
.svc-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--yellow);
}

/* ========================================
   About page
   ======================================== */
.mission {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 36px 40px;
  margin-bottom: 72px;
}
.mission-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: none;
}
.mission-body .eyebrow { margin-bottom: 10px; }
.mission-statement {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
}
@media (max-width: 720px) {
  .mission { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  .mission-mark { width: 48px; height: 48px; font-size: 20px; }
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
}
.about-intro h2 { margin-bottom: 20px; }
.about-intro h2 .hl { color: var(--blue-gray); }
.about-intro p {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-intro .lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 24px;
}

.bio-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
}
.bio-card .photo {
  aspect-ratio: 4/5;
  background: var(--light-gray);
  border-radius: 10px;
  position: relative;
  overflow: visible;
  margin-bottom: 36px;
  display: block;
}
.bio-card .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 10px;
}
.bio-card .photo .badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--yellow);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.35);
  white-space: nowrap;
}
.bio-card .name { font-size: 22px; font-weight: 700; color: var(--navy); }
.bio-card .role { color: var(--charcoal-light); font-size: 14px; margin-top: 4px; }
.bio-card .info { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.bio-card .info-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13.5px;
}
.bio-card .info-row .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-gray);
  min-width: 60px;
}
.bio-card .info-row .v { color: var(--navy); font-weight: 500; }

/* Pull quote */
.pullquote {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 56px 56px;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 280px;
  color: var(--yellow);
  opacity: .18;
  line-height: 1;
}
.pullquote .q {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--white);
  position: relative;
  z-index: 1;
  max-width: 36ch;
  letter-spacing: -0.01em;
}
.pullquote .attr {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pullquote .attr-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.pullquote .attr-name {
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
}
.pullquote .attr-role {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--blue-gray-light) 50%, var(--rule) 100%);
}
.tl-item {
  position: relative;
  padding: 16px 0 28px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 24px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-gray);
}
.tl-item.is-highlight::before { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 6px rgba(232,200,74,.18); }
.tl-item.is-current::before { border-color: var(--navy); background: var(--navy); }
.tl-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue-gray);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.tl-item.is-highlight .tl-year { color: var(--navy); }
.tl-title { font-size: 17px; color: var(--navy); font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.tl-meta { font-size: 14px; color: var(--charcoal-light); line-height: 1.5; }
.tl-item.is-highlight .tl-title::after {
  content: 'HISTORIC FIRST';
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  background: var(--yellow);
  color: var(--navy);
  padding: 2px 8px;
  border-radius: 3px;
  vertical-align: middle;
  font-weight: 700;
}

/* ========================================
   Contact page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
  position: sticky;
  top: 100px;
}
.contact-info h3 { color: var(--white); margin-bottom: 8px; font-size: 22px; }
.contact-info .role { color: var(--blue-gray-light); margin-bottom: 32px; font-size: 14px; }
.ci-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ci-row .ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex: none;
}
.ci-row .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.ci-row .val { color: var(--white); font-size: 15px; font-weight: 500; }
.ci-row .val a { color: var(--white); }
.ci-row .val a:hover { color: var(--yellow); }
.contact-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  font-style: italic;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
}
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card .sub { color: var(--charcoal-light); font-size: 14.5px; margin-bottom: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 8px;
  font-weight: 600;
}
.field label .req { color: var(--yellow-deep); }
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--navy);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-gray);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error textarea { border-color: #c0392b; }
.field .err { font-size: 12px; color: #c0392b; margin-top: 6px; }
.form-actions {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-fineprint { font-size: 12px; color: var(--charcoal-light); max-width: 36ch; }

.form-success {
  text-align: center;
  padding: 24px 0;
}
.form-success .check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--charcoal-light); margin-bottom: 24px; }

/* ========================================
   Page transition
   ======================================== */
.page-enter {
  animation: pageIn .35s ease both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Mobile
   ======================================== */
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .mobile-menu {
    position: fixed;
    inset: 73px 0 0 0;
    background: var(--white);
    z-index: 99;
    padding: 24px var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-menu .nav-link {
    padding: 16px;
    border-radius: 8px;
    font-size: 17px;
  }
  .mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

  .hero-grid,
  .cred-grid,
  .pain-grid,
  .teaser-grid,
  .contact-grid,
  .about-intro,
  .svc-detail { grid-template-columns: 1fr; gap: 40px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .why-item:nth-child(odd) { border-right: 1px solid var(--rule); }
  .pain-checks { grid-template-columns: 1fr; }
  .svc-detail-body ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .bio-card, .contact-info { position: static; }

  .form-grid { grid-template-columns: 1fr; }
  .pullquote { padding: 36px 28px; margin: 48px 0; }

  .hero-visual { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .trust-inner { gap: 18px; font-size: 10.5px; }
}

/* ========================================
   Floating Dave + Trudy widget
   ======================================== */

.trudy-root {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}
.trudy-root > * { pointer-events: auto; }

/* --- Avatars row (Dave alone, then Dave + Trudy) --- */
.trudy-avatars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.trudy-avatar {
  position: relative;
  width: 118px;
  height: 168px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 18px 24px rgba(43,61,79,.25));
  transition: transform .2s ease, width .25s ease, height .25s ease;
}
/* When the chat is open, shrink the avatars so the panel always clears the header */
.trudy-avatars.is-open .trudy-avatar {
  width: 104px;
  height: 150px;
}
.trudy-avatar:hover { transform: translateY(-3px) rotate(-2deg); }
.trudy-avatar:active { transform: translateY(0); }
.trudy-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
  pointer-events: none;
}

/* Dave "bumps" toward center as Trudy enters */
.trudy-avatars.is-open .trudy-avatar-dave {
  animation: daveBump .55s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes daveBump {
  /* Starts shifted right (where Dave used to be), settles in new position */
  from { transform: translateX(104px) rotate(0); }
  60%  { transform: translateX(-8px) rotate(-3deg); }
  to   { transform: translateX(0) rotate(0); }
}

/* Trudy slides in from off-screen right with a settle */
.trudy-avatar-trudy {
  animation: trudyEnter .55s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes trudyEnter {
  from { transform: translateX(140%) scale(.6) rotate(8deg); opacity: 0; }
  60%  { transform: translateX(-4px) scale(1.04) rotate(-2deg); opacity: 1; }
  to   { transform: translateX(0) scale(1) rotate(0); opacity: 1; }
}

.trudy-pulse {
  position: absolute;
  top: 10%;
  right: 6%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(232,200,74,.3);
  animation: trudyPulse 1.8s ease-in-out infinite;
}
@keyframes trudyPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,200,74,.3); }
  50%      { box-shadow: 0 0 0 9px rgba(232,200,74,.05); }
}

/* --- Speech bubbles --- */
.trudy-bubble {
  position: relative;
  max-width: 260px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow:
    0 24px 48px -20px rgba(43,61,79,.3),
    0 1px 0 rgba(43,61,79,.02);
  margin-right: 14px;
  transform-origin: 100% 100%;
  animation: trudyBubbleIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
.trudy-bubble-dave { cursor: pointer; }
.trudy-bubble-dave:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 56px -22px rgba(43,61,79,.35),
    0 1px 0 rgba(43,61,79,.02);
  transition: all .15s ease;
}
.trudy-bubble-trudy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  animation-delay: .25s;
  animation-fill-mode: both;
  opacity: 0;
}
.trudy-bubble-trudy .trudy-bubble-eyebrow { color: var(--yellow); }
.trudy-bubble-trudy .trudy-bubble-text { color: var(--white); }
.trudy-bubble-trudy .trudy-bubble-tail {
  background: var(--navy);
  border-color: var(--navy);
}

@keyframes trudyBubbleIn {
  from { opacity: 0; transform: scale(.6) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.trudy-bubble-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 6px;
  font-weight: 600;
}
.trudy-bubble-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy);
}
.trudy-bubble-text strong {
  color: var(--navy);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 65%, rgba(232,200,74,.6) 65%);
  padding: 0 2px;
}
.trudy-bubble-cta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  margin-top: 10px;
  width: 100%;
}
.trudy-bubble-cta span { transition: transform .18s; }
.trudy-bubble-dave:hover .trudy-bubble-cta span { transform: translateX(3px); }
.trudy-bubble-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--charcoal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
  border: none;
  cursor: pointer;
}
.trudy-bubble-close:hover {
  background: var(--navy);
  color: var(--white);
}
.trudy-bubble-tail {
  position: absolute;
  bottom: 14px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  transform: rotate(45deg);
}

/* --- Chat panel --- */
.trudy-panel {
  width: min(340px, calc(100vw - 32px));
  /* Cap so the panel top stays clear of the sticky header on short screens.
     Reserves: bottom offset + avatars (~132px) + gap + header (~73px) + safety. */
  height: min(440px, calc(100vh - 320px));
  min-height: 280px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: 0 32px 64px -24px rgba(43,61,79,.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: trudyPanelIn .35s ease both;
  transform-origin: 100% 100%;
}
@keyframes trudyPanelIn {
  from { opacity: 0; transform: scale(.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.trudy-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  background: var(--navy);
  color: var(--white);
  flex: none;
}
.trudy-panel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  overflow: hidden;
  position: relative;
  flex: none;
}
.trudy-panel-avatar img {
  position: absolute;
  inset: -2px -2px auto -2px;
  width: calc(100% + 4px);
  height: auto;
  object-position: top;
}
.trudy-panel-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: -0.005em;
}
.trudy-panel-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.trudy-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 2px rgba(76,175,80,.25);
}
.trudy-panel-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .12s;
  border: none;
}
.trudy-panel-close:hover { background: rgba(255,255,255,.18); }

.trudy-panel-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  scrollbar-width: thin;
}
.trudy-msg {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-wrap;
  animation: trudyMsgIn .2s ease both;
}
@keyframes trudyMsgIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.trudy-msg.assistant {
  background: var(--white);
  color: var(--charcoal);
  align-self: flex-start;
  border: 1px solid var(--rule);
  border-bottom-left-radius: 4px;
}
.trudy-msg.user {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.trudy-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
}
.trudy-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-gray);
  animation: trudyDot 1.2s infinite ease-in-out;
}
.trudy-typing span:nth-child(2) { animation-delay: .15s; }
.trudy-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes trudyDot {
  0%, 60%, 100% { transform: scale(1); opacity: .4; }
  30%           { transform: scale(1.3); opacity: 1; }
}

.trudy-panel-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--rule);
  background: var(--white);
  flex: none;
}
.trudy-panel-input textarea {
  flex: 1;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--navy);
  resize: none;
  max-height: 100px;
  transition: border-color .12s, background .12s;
}
.trudy-panel-input textarea:focus {
  outline: none;
  border-color: var(--blue-gray);
  background: var(--white);
}
.trudy-panel-input button {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .12s;
  border: none;
  align-self: flex-end;
}
.trudy-panel-input button:hover:not(:disabled) {
  background: var(--yellow-deep);
  transform: translateY(-1px);
}
.trudy-panel-input button:disabled {
  background: var(--light-gray);
  color: var(--charcoal-light);
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .trudy-avatar { width: 76px; height: 104px; }
  .trudy-bubble { max-width: 220px; padding: 12px 14px; }
  .trudy-panel {
    width: calc(100vw - 24px);
    height: min(380px, calc(100vh - 240px));
  }
  @keyframes daveBump {
    from { transform: translateX(84px) rotate(0); }
    to   { transform: translateX(0) rotate(0); }
  }
}
