/* ==========================================================================
   Windowtech Wirral — Dark Grey & Red Design System (DESIGN.md Compliant)
   ========================================================================== */

:root {
  /* Dark Grey Neutral Scale */
  --ink-950: #111318;
  --ink-900: #181B22;
  --ink-800: #222731;
  --ink-700: #333A48;
  --ink-600: #6B7280;
  --ink-500: #9CA3AF;
  --ink-300: #D1D5DB;
  --ink-100: #F3F4F6;
  --ink-50:  #FFFFFF;

  /* Semantic Dark Theme Mapping */
  --bg-app:        var(--ink-950);
  --bg-surface:    var(--ink-900);
  --bg-elevated:   var(--ink-800);
  --text-primary:  var(--ink-50);
  --text-secondary: var(--ink-300);
  --text-muted:    var(--ink-500);
  --border-subtle: var(--ink-800);
  --border-strong: var(--ink-700);

  /* Brand Primary Red Accent (True Bold Red, WCAG AA >= 4.5:1 with #FFFFFF text) */
  --accent-base:   #DC2626;
  --accent-bright: #EF4444;
  --accent-hover:  #B91C1C;
  --accent-active: #991B1B;
  --accent-subtle: rgba(220, 38, 38, 0.16);
  --accent-border: rgba(220, 38, 38, 0.45);

  /* WhatsApp Action Accent (WCAG AA >= 4.5:1 with #FFFFFF text) */
  --wa-base:       #15803D;
  --wa-hover:      #166534;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Fluid Type Scale */
  --text-xs:      clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm:      clamp(0.875rem, 0.82rem + 0.28vw, 1rem);
  --text-base:    clamp(1rem, 0.93rem + 0.35vw, 1.125rem);
  --text-lg:      clamp(1.125rem, 1.03rem + 0.47vw, 1.35rem);
  --text-xl:      clamp(1.35rem, 1.2rem + 0.75vw, 1.75rem);
  --text-2xl:     clamp(1.75rem, 1.48rem + 1.35vw, 2.45rem);
  --text-3xl:     clamp(2.25rem, 1.82rem + 2.15vw, 3.375rem);
  --text-4xl:     clamp(2.4rem, 1.85rem + 2.8vw, 4.1rem);

  /* 8pt Spacing Scale */
  --space-1:  0.25rem;
  --space-2:  0.50rem;
  --space-3:  0.75rem;
  --space-4:  1.00rem;
  --space-6:  1.50rem;
  --space-8:  2.00rem;
  --space-12: 3.00rem;
  --space-16: 4.00rem;
  --space-24: 6.00rem;

  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

/* Reset & Anti-Horizontal Scroll Safeguards */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

section, footer, header, main {
  max-width: 100%;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 76px;
}

body.drawer-open {
  overflow: hidden;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, p, ul {
  margin-top: 0;
}

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

:focus-visible {
  outline: 3px solid var(--accent-base);
  outline-offset: 3px;
  border-radius: var(--space-1);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 200;
  background: var(--accent-base);
  color: var(--ink-50);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space-4);
}

/* Layout & 12-Column Asymmetric Grid */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
}

.col-span-3 { grid-column: span 3; min-width: 0; }
.col-span-4 { grid-column: span 4; min-width: 0; }
.col-span-5 { grid-column: span 5; min-width: 0; }
.col-span-7 { grid-column: span 7; min-width: 0; }
.col-span-8 { grid-column: span 8; min-width: 0; }
.col-span-9 { grid-column: span 9; min-width: 0; }

/* Typography Helpers */
.mono-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.accent-text {
  color: var(--accent-bright);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

.section-lead, .section-sub {
  color: var(--text-secondary);
  font-size: var(--text-base);
  max-width: 58ch;
}

/* Buttons (44px+ Tap Targets) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 150ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color 150ms ease,
              border-color 150ms ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn-lg {
  min-height: 50px;
  padding: 0.875rem 1.5rem;
  font-size: var(--text-base);
}

.btn-sm {
  min-height: 44px;
  padding: 0.625rem 1rem;
  font-size: var(--text-sm);
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-base) 0%, #B91C1C 100%);
  color: var(--ink-50);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in oklch, var(--accent-base) 35%, transparent);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-whatsapp {
  background-color: var(--wa-base);
  color: var(--ink-50);
}

.btn-whatsapp:hover {
  background-color: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.3);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent-base);
  background-color: var(--accent-subtle);
}

/* ==========================================================================
   Header & Mobile Slide-Over Drawer
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(17, 19, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background-color: rgba(17, 19, 24, 0.96);
  border-bottom-color: var(--border-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--ink-50);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.brand-logo-pill img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-1);
  transition: color 150ms ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-header-call {
  display: none;
}

.call-label-full {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-50);
  cursor: pointer;
}

@media (min-width: 960px) {
  .desktop-nav {
    display: flex;
  }
  .btn-header-call {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .call-label-full {
    display: inline;
  }
  .call-label-short {
    display: none;
  }
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background-color: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(86vw, 340px);
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-strong);
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-50);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-6) 0;
}

.drawer-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.drawer-link:hover {
  background-color: var(--bg-elevated);
}

.drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ==========================================================================
   Section 1: Hero (Full-Bleed Van Background)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: var(--space-16) 0 var(--space-24);
  background-color: var(--ink-950);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-section {
    min-height: clamp(580px, calc(100dvh - 73px), 900px);
    padding: var(--space-16) 0;
  }
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 55%;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(17, 19, 24, 0.94) 0%,
    rgba(17, 19, 24, 0.84) 55%,
    rgba(17, 19, 24, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  background-color: var(--accent-base);
  border: 1px solid var(--accent-base);
  margin-bottom: var(--space-4);
}

.status-pill .mono-badge {
  color: var(--ink-50);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ink-50);
  flex-shrink: 0;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: var(--space-4);
}

.accent-word {
  color: var(--accent-bright);
}

.hero-lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: var(--space-6);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-micro-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   Section 2: Proof Strip
   ========================================================================== */
.proof-strip {
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border-strong);
  padding: var(--space-8) 0;
}

.proof-grid {
  align-items: center;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.proof-number {
  font-size: var(--text-xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink-50);
}

.proof-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   Section 3: Services (5:7 Sticky Asymmetric Bento)
   ========================================================================== */
.services-section {
  padding: var(--space-16) 0 var(--space-24);
  background-color: var(--bg-app);
  border-bottom: 1px solid var(--border-subtle);
}

.services-sticky-col {
  align-self: start;
}

@media (min-width: 960px) {
  .services-sticky-col {
    position: sticky;
    top: 100px;
  }
}

.sticky-cta-box {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}

.sticky-cta-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.sticky-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.bento-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color 180ms ease, transform 180ms ease;
}

.bento-card:hover {
  border-color: var(--accent-base);
  transform: translateY(-2px);
}

.bento-wide {
  grid-column: span 2;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.bento-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-50);
  background-color: var(--accent-base);
  border: 1px solid var(--accent-base);
  padding: 4px 10px;
  border-radius: 999px;
}

.bento-icon {
  color: var(--text-muted);
}

.bento-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.bento-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}

.bento-tags li {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding: 4px 10px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   Section 4: Recent Work (Asymmetric 7:5 Showcase)
   ========================================================================== */
.work-section {
  padding: var(--space-24) 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: stretch;
}

.work-card {
  background-color: var(--bg-app);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-body {
  padding: var(--space-6);
  flex: 1;
}

.work-body h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--space-2) 0;
}

.work-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.work-cta-footer {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* ==========================================================================
   Section 5: About Lee
   ========================================================================== */
.about-section {
  padding: var(--space-24) 0;
  background-color: var(--bg-app);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  align-items: center;
}

.about-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
}

.about-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.about-badge-overlay {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background-color: rgba(17, 19, 24, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-paragraph {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 62ch;
  margin-bottom: var(--space-4);
}

.about-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.contact-mini-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color 150ms ease;
  word-break: break-word;
}

.contact-mini-card:hover {
  border-color: var(--accent-base);
}

/* ==========================================================================
   Section 6: How It Works (Staggered Track)
   ========================================================================== */
.process-section {
  padding: var(--space-24) 0;
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border-strong);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.process-step {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.step-2 {
  margin-top: var(--space-8);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: var(--space-3);
}

.process-step h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   Section 7: FAQ (4:8 Split)
   ========================================================================== */
.faq-section {
  padding: var(--space-24) 0;
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border-strong);
}

.faq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 54px;
  padding: var(--space-4) 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.faq-answer p {
  margin-bottom: 0;
}

/* ==========================================================================
   Section 8: Single-Column Fillout Form Placeholder
   ========================================================================== */
.quote-section {
  padding: var(--space-24) 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.single-col-quote-wrapper {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.quote-header {
  margin-bottom: var(--space-6);
}

.fillout-embed-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--bg-app);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent-base);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.fillout-placeholder-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.placeholder-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px dashed var(--border-strong);
}

.placeholder-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-50);
  background-color: var(--accent-base);
  border: 1px solid var(--accent-base);
  padding: 2px 8px;
  border-radius: 999px;
}

.placeholder-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.placeholder-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pf-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.pf-input {
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
}

.pf-textarea {
  height: 96px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
}

.pf-submit-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-base);
  color: var(--ink-50);
  font-weight: 600;
  opacity: 0.85;
}

.placeholder-helper {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}

.placeholder-helper code {
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.quote-direct-fallback {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.quote-fallback-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ==========================================================================
   Footer & Mobile Sticky Bottom Bar
   ========================================================================== */
.site-footer {
  padding: var(--space-16) 0 var(--space-24);
  background-color: var(--bg-app);
}

.footer-logo-pill {
  margin-bottom: var(--space-4);
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 38ch;
}

.footer-links, .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.footer-links a:hover, .footer-contact-list a:hover {
  color: var(--ink-50);
}

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) max(var(--space-3), env(safe-area-inset-bottom));
  background-color: rgba(17, 19, 24, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-strong);
}

.sticky-bar-btn {
  width: 100%;
}

@media (min-width: 960px) {
  .mobile-sticky-bar {
    display: none;
  }
  .site-footer {
    padding-bottom: var(--space-12);
  }
}

/* ==========================================================================
   Responsive Collapse (< 960px & < 600px)
   ========================================================================== */
@media (max-width: 959px) {
  .col-span-3,
  .col-span-4,
  .col-span-5,
  .col-span-7,
  .col-span-8,
  .col-span-9 {
    grid-column: span 12;
  }

  .proof-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-track {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    border-left: 2px solid var(--accent-border);
    padding-left: var(--space-4);
  }

  .step-2 {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .services-bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .about-contact-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta-row .btn,
  .work-cta-footer .btn {
    width: 100%;
  }

  .fillout-embed-container {
    padding: var(--space-4);
  }

  input, select, textarea {
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
