/* ==========================================================================
   MARKET MAESTRO — THEME V2
   2026 Visual Overhaul: CSS Foundation
   Architecture firm × Performance agency
   ========================================================================== */

/* ─────────────────────────────────────────────
   PART 1-A: CSS Custom Properties (Design Tokens)
   ───────────────────────────────────────────── */
:root {
  /* Background */
  --bg-primary:        #0A0A0F;
  --bg-secondary:      #111118;
  --bg-surface:        #16161F;
  --bg-surface-hover:  #1C1C28;

  /* Borders */
  --border-subtle:     rgba(255, 255, 255, 0.06);
  --border-medium:     rgba(255, 255, 255, 0.10);
  --border-strong:     rgba(255, 255, 255, 0.16);
  --border-accent:     rgba(255, 92, 26, 0.4);

  /* Text */
  --text-primary:      #F0F0F0;
  --text-secondary:    #8A8A9A;
  --text-muted:        #5A5A6A;

  /* Accent */
  --accent:            #FF5C1A;
  --accent-glow:       rgba(255, 92, 26, 0.15);
  --accent-glow-strong: rgba(255, 92, 26, 0.35);
  --blueprint-line:    rgba(255, 92, 26, 0.35);

  /* Network pattern background for cutting-edge aesthetic */
  --network-pattern:   url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3C/defs%3E%3C!-- Dots --%3E%3Ccircle cx='20' cy='20' r='2' fill='%23FF5C1A' opacity='0.12'/%3E%3Ccircle cx='60' cy='35' r='2' fill='%23FF5C1A' opacity='0.1'/%3E%3Ccircle cx='100' cy='60' r='2' fill='%23FF5C1A' opacity='0.12'/%3E%3Ccircle cx='40' cy='85' r='2' fill='%23FF5C1A' opacity='0.1'/%3E%3Ccircle cx='90' cy='100' r='2' fill='%23FF5C1A' opacity='0.11'/%3E%3Ccircle cx='15' cy='65' r='2' fill='%23FF5C1A' opacity='0.09'/%3E%3C!-- Connecting lines --%3E%3Cline x1='20' y1='20' x2='60' y2='35' stroke='%23FF5C1A' stroke-width='0.7' opacity='0.08'/%3E%3Cline x1='60' y1='35' x2='100' y2='60' stroke='%23FF5C1A' stroke-width='0.7' opacity='0.08'/%3E%3Cline x1='100' y1='60' x2='40' y2='85' stroke='%23FF5C1A' stroke-width='0.7' opacity='0.07'/%3E%3Cline x1='40' y1='85' x2='90' y2='100' stroke='%23FF5C1A' stroke-width='0.7' opacity='0.07'/%3E%3Cline x1='20' y1='20' x2='15' y2='65' stroke='%23FF5C1A' stroke-width='0.7' opacity='0.06'/%3E%3C/svg%3E");


  /* Typography */
  --font-display:      'Space Grotesk', system-ui, sans-serif;
  --font-body:         'Inter', system-ui, sans-serif;
  --font-mono:         'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --hero-headline:     clamp(52px, 7vw, 96px);
  --section-headline:  clamp(36px, 4vw, 58px);
  --radius-card:       6px;
  --spacing-section:   clamp(3rem, 6vw, 5rem);
  --max-width:         1280px;

  /* Aliases — resolve undefined token references used in templates */
  --surface:           var(--bg-surface);
  --border-color:      var(--border-subtle);

  /* Transitions */
  --transition-base:   0.25s ease;
  --transition-slow:   0.6s ease;
}

/* ─────────────────────────────────────────────
   PART 1-B: Reset & Global Base
   ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: #0A0A0F;
  color: #F0F0F0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
.main-content,
article,
.page-content,
.content-wrapper {
  background-color: #0A0A0F;
  color: #F0F0F0;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ─────────────────────────────────────────────
   PART 1-C: Typography System
   ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h2 { font-size: var(--section-headline); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }
h4 { font-size: clamp(18px, 2vw, 22px); }

.hero-section h1,
.hero h1,
#hero h1,
.v2-hero h1 {
  font-size: clamp(38px, 4.5vw, 68px);
}


p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--text-primary);
}

/* Monospace: stats, labels, numbers */
.mono,
.stat-number,
.card-number,
.overline-mono {
  font-family: var(--font-mono) !important;
}

/* Section overline label */
.v2-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────
   PART 1-D: Layout Utilities
   ───────────────────────────────────────────── */
.v2-container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* When a v2-container is a direct child of the hero grid it would otherwise
   shrink-to-fit and centre; force it to fill the grid track so its content
   aligns with the rest of the page. */
.v2-hero > .v2-container {
  width: 100%;
}

/* Inner page wrappers (legacy utility class bridge) */
.main-content,
.content-wrapper,
.page-content,
.max-w-7xl {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* Narrower reading columns should not add extra side padding when nested inside a padded container */
.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl,
.max-w-2xl {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1023px) {
  .main-content,
  .content-wrapper,
  .page-content,
  .max-w-7xl {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
  }
}

.v2-section {
  padding-block: var(--spacing-section);
  background-color: var(--bg-primary);
}

/* ─────────────────────────────────────────────
   PART 1-E: Navbar
   ───────────────────────────────────────────── */
.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.v2-nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.v2-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.v2-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 2rem;
}

.v2-nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.v2-nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

@media (max-width: 1150px) {
  .v2-nav__inner {
    gap: 1.25rem;
  }
  .v2-nav__links {
    gap: 1.25rem;
  }
  .v2-nav__cta-group {
    gap: 0.5rem;
  }
  .v2-btn-nav {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }
  .v2-nav__link,
  .v2-nav__dropdown-toggle {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 1020px) {
  .v2-nav__inner {
    gap: 1rem;
  }
  .v2-nav__links {
    gap: 0.75rem;
  }
  .v2-nav__cta-group {
    gap: 0.375rem;
  }
  .v2-btn-nav {
    padding: 0.4375rem 0.625rem;
    font-size: 0.6875rem;
  }
  .v2-nav__link,
  .v2-nav__dropdown-toggle {
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
  }
}

.v2-nav__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(240, 240, 240, 0.75);
  text-decoration: none;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.v2-nav__link:hover {
  color: var(--text-primary);
}

/* Dropdown */
.v2-nav__dropdown {
  position: relative;
}

.v2-nav__dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(240, 240, 240, 0.75);
  transition: color var(--transition-base);
  padding: 0;
}

.v2-nav__dropdown-toggle:hover {
  color: var(--text-primary);
}

.v2-nav__dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.v2-nav__dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.v2-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.5rem 0;
  z-index: 1001;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.v2-nav__dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base), background var(--transition-base);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.v2-nav__dropdown-menu a:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.v2-nav__dropdown-menu .v2-nav__divider {
  border-top: 1px solid var(--border-subtle);
  margin: 0.25rem 0;
}

.v2-nav__dropdown-menu .v2-nav__section-label {
  display: block;
  padding: 0.625rem 1.25rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
  user-select: none;
}

/* CTA Button — nav */
.v2-btn-nav {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base);
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-btn-nav:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Solid orange primary CTA (Book free audit) */
.v2-btn-nav--solid {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  border-color: var(--accent) !important;
}
.v2-btn-nav--solid:hover {
  background: #ff7a3d !important;
  border-color: #ff7a3d !important;
  color: var(--bg-primary) !important;
}

/* Ghost/outline CTA (Message us on WhatsApp) */
.v2-btn-nav--ghost {
  background: transparent !important;
  color: var(--text-primary) !important;
  border-color: var(--border-medium, rgba(255,255,255,0.10)) !important;
}
.v2-btn-nav--ghost:hover {
  border-color: rgba(255,255,255,0.25) !important;
  background: rgba(255,255,255,0.05) !important;
  color: var(--text-primary) !important;
}

/* Hi-Vis Method nav link — plain orange text, no border */
.v2-nav__hivis-link {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-base);
}
.v2-nav__hivis-link:hover {
  color: var(--text-primary);
}

/* CTA button group — groups phone + audit on desktop */
.v2-nav__cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ─────────────────────────────────────────────
   PART 1-F: Buttons
   ───────────────────────────────────────────── */
.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.875rem;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

/* Primary: outlined */
.v2-btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.v2-btn--outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* Secondary: ghost */
.v2-btn--ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.v2-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--border-subtle);
}

/* ─────────────────────────────────────────────
   PART 1-G: Hero Section
   ───────────────────────────────────────────── */
.v2-hero {
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 68px; /* nav height */
  box-sizing: border-box;
}

.hero--has-bg-image {
  background-image: linear-gradient(to right, rgba(0,0,0,0.82) 45%, rgba(0,0,0,0.35) 100%), url('/static/images/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.v2-hero__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 48px;
  width: 100%;
}

@media (max-width: 900px) {
  .v2-hero {
    padding-top: 56px;
    padding-bottom: 70px;
    box-sizing: border-box;
    min-height: 100svh;
  }

  .v2-hero__inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem 1.5rem;
    gap: 2rem;
  }

  .v2-hero__graphic {
    display: none;
  }
}

.v2-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.v2-hero__headline {
  font-size: clamp(38px, 4.5vw, 68px);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.v2-hero__headline .word {
  display: inline-block;
  overflow: hidden;
}

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

.v2-hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Long-form pages keep the same hero style but allow copy to run wider. */
.v2-hero--extended .v2-hero__text {
  max-width: 1100px;
}

.v2-hero--extended .v2-hero__sub {
  max-width: 980px;
}

.v2-hero--extended {
  justify-content: flex-start;
  min-height: auto;
  padding-top: 110px;
  padding-bottom: 56px;
}

.v2-hero--extended .v2-container {
  width: 100%;
}

.v2-hero--extended .v2-hero__headline {
  max-width: 1040px;
}

@media (max-width: 900px) {
  .v2-hero--extended {
    padding-top: 96px;
    padding-bottom: 42px;
  }

  .v2-hero--extended .v2-hero__text,
  .v2-hero--extended .v2-hero__headline,
  .v2-hero--extended .v2-hero__sub {
    max-width: none;
  }
}

.v2-hero__sub .typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.v2-hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

/* Tighten button padding to keep them compact */
.v2-hero__actions .v2-btn {
  padding: 14px 28px;
}

.v2-hero__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: 0;
  margin-bottom: 0;
}

/* Blueprint graphic */
.v2-hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.v2-hero__blueprint {
  width: 100%;
  max-width: 480px;
  color: var(--accent);
  opacity: 0.75;
  animation: blueprint-spin 60s linear infinite;
  transform-origin: center center;
}

@keyframes blueprint-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .v2-hero__blueprint {
    animation: none;
  }
}

/* ─────────────────────────────────────────────
   PART 1-H: Marquee / Ticker Strip
   ───────────────────────────────────────────── */
.v2-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding-block: 0.875rem;
  margin-block: 0;
}

.v2-ticker::before,
.v2-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 640px) {
  .v2-ticker::before,
  .v2-ticker::after {
    width: 48px;
  }
}

.v2-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.v2-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.v2-ticker__track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.v2-ticker__item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  padding-inline: 2.5rem;
}

.v2-ticker__item span {
  color: var(--accent);
  margin-inline: 0.5rem;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .v2-ticker__track {
    animation: none;
  }
}

/* ─────────────────────────────────────────────
   PART 1-I: Bento / Services Grid
   ───────────────────────────────────────────── */
.v2-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.v2-card {
  background: var(--bg-surface);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
}

.v2-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-4px);
  z-index: 1;
}

/* Span sizes within 12-col bento */
.v2-card--wide {
  grid-column: span 8;
}

.v2-card--half {
  grid-column: span 6;
}

.v2-card--narrow {
  grid-column: span 4;
}

@media (max-width: 1024px) {
  .v2-card--wide,
  .v2-card--half,
  .v2-card--narrow {
    grid-column: span 12;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .v2-card--half {
    grid-column: span 6;
  }
  .v2-card--narrow {
    grid-column: span 6;
  }
}

/* Card number badge */
.v2-card__number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.v2-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.v2-card__body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 0 0 auto;
  margin-bottom: 1.25rem;
}

/* Arrow CTA at bottom of card */
.v2-card__arrow {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--accent);
  display: inline-block;
  transition: transform var(--transition-base);
  margin-top: auto;
  align-self: flex-start;
}

.v2-card:hover .v2-card__arrow {
  transform: translateX(6px);
}

/* ─────────────────────────────────────────────
   PART 1-J: Stats Bar
   ───────────────────────────────────────────── */
.v2-stats {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.v2-stats__context {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.v2-stats__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.v2-stats__scope {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.v2-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.v2-stat {
  padding: 1.5rem 2.5rem;
  text-align: center;
  position: relative;
}

.v2-stat + .v2-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

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

  .v2-stat:nth-child(odd)::before {
    display: none;
  }

  .v2-stat {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.v2-stat__number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.v2-stat__number .accent-val {
  color: var(--accent);
}

.v2-stat__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.v2-stats__note {
  max-width: 680px;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   PART 1-K: Section Divider Lines (SVG draw)
   ───────────────────────────────────────────── */
.v2-divider {
  width: 100%;
  height: 1px;
  overflow: visible;
  display: block;
  margin-block: 0;
}

.v2-divider line {
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.35;
  stroke-dasharray: 1440;
  stroke-dashoffset: 1440;
  transition: stroke-dashoffset 0.8s ease;
}

.v2-divider.is-drawn line {
  stroke-dashoffset: 0;
}

/* ─────────────────────────────────────────────
   PART 1-L: Testimonials / General Cards
   ───────────────────────────────────────────── */
.v2-tcard {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.v2-tcard:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-4px);
}

.v2-tcard__quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  opacity: 0.9;
}

.v2-tcard__author {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   PART 1-M: Section Heading Block
   ───────────────────────────────────────────── */
.v2-section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.v2-section-head h2 {
  margin-bottom: 1rem;
}

.v2-section-head p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 600px;
  line-height: 1.7;
}

.v2-section-head--center {
  text-align: center;
}

.v2-section-head--center p {
  margin-inline: auto;
}

/* ─────────────────────────────────────────────
   PART 1-N: Process Icons Row
   ───────────────────────────────────────────── */
.v2-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.v2-process__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-right: 2rem;
}

.v2-process__step:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

@media (max-width: 880px) {
  .v2-process__step:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
  .v2-process__step {
    padding-right: 0;
  }
}

.v2-process__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
}

.v2-process__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.v2-process__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   PART 1-O: Footer
   ───────────────────────────────────────────── */
.v2-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.v2-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 3rem;
}

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

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

.v2-footer__brand .v2-nav__logo-text {
  font-size: 1.375rem;
}

.v2-footer__tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 280px;
}

.v2-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.v2-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.v2-footer__col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.v2-footer__col a:hover {
  color: var(--text-primary);
}

.v2-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.v2-footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────
   PART 1-P: Blog Post Cards
   ───────────────────────────────────────────── */
.v2-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.v2-blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.v2-blog-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-4px);
}

.v2-blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.v2-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.v2-blog-card:hover .v2-blog-card__media img {
  transform: scale(1.04);
}

.v2-blog-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v2-blog-card__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.v2-blog-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.v2-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.v2-blog-card__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
}

/* ─────────────────────────────────────────────
   PART 1-P2: Proof Card (non-link variant)
   ───────────────────────────────────────────── */
.v2-proof-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ─────────────────────────────────────────────
   PART 1-P3: Hi-Vis Pricing
   ───────────────────────────────────────────── */
.hivis-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .hivis-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.hivis-pricing-card {
  position: relative;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s ease;
}

.hivis-pricing-card:hover {
  border-color: var(--accent);
}

.hivis-pricing-card--popular {
  border-color: var(--accent);
  padding-top: 2.25rem;
}

.hivis-pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.hivis-pricing-card__class {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.hivis-pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.1;
}

.hivis-pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.hivis-pricing-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ─────────────────────────────────────────────
   PART 1-R: AOS overrides (opacity init)
   ───────────────────────────────────────────── */
[data-aos] {
  /* AOS library handles opacity/transform — just ensure no flash */
}

/* ─────────────────────────────────────────────
   PART 1-S: Grid overlay background texture
   ───────────────────────────────────────────── */
.v2-grid-bg {
  position: relative;
}

.v2-grid-bg::before {
  content: none;
}

.v2-grid-bg > * {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   PART 1-T: Announcement Banner
   ───────────────────────────────────────────── */
.v2-banner {
  background: var(--accent);
  padding-block: 0.625rem;
  text-align: center;
}

.v2-banner p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bg-primary);
  letter-spacing: 0.06em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.v2-banner a {
  color: var(--bg-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-banner p.v2-banner__short {
  display: none;
}

@media (max-width: 640px) {
  .v2-banner {
    padding-block: 0.6rem;
  }
  .v2-banner__full {
    display: none !important;
  }
  .v2-banner__short {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
  }
  .v2-banner__short a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--bg-primary);
    letter-spacing: 0.06em;
    font-weight: 600;
    text-decoration: none;
  }
}

/* ─────────────────────────────────────────────
   PART 1-U: Mobile nav
   ───────────────────────────────────────────── */
.v2-mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  z-index: 1002;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.v2-mobile-nav.is-open {
  display: block;
}

.v2-mobile-nav a {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: color var(--transition-base);
}

.v2-mobile-nav a:hover {
  color: var(--text-primary);
}

.v2-mobile-nav .v2-btn-nav {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  width: 100%;
  padding-block: 0.875rem;
  font-size: 0.9rem;
  border-bottom: none;
}

/* Mobile CTA group — phone + audit buttons stacked */
.v2-mobile-nav__cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.v2-mobile-nav__cta-group .v2-btn-nav {
  margin-top: 0;
  border-bottom: none;
}

/* ─────────────────────────────────────────────
   PART 1-V: Utility classes
   ───────────────────────────────────────────── */
.v2-text-accent { color: var(--accent); }
.v2-text-muted  { color: var(--text-secondary); }
.v2-text-primary { color: var(--text-primary); }
.v2-bg-surface  { background: var(--bg-surface); }
.v2-bg-secondary {
  background: var(--bg-secondary);
}

.v2-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.v2-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.v2-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

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

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

.v2-mb-xs { margin-bottom: 0.5rem; }
.v2-mb-sm { margin-bottom: 1rem; }
.v2-mb-md { margin-bottom: 1.75rem; }
.v2-mb-lg { margin-bottom: 3rem; }

/* ─────────────────────────────────────────────
   PART 1-V1: Shared page components (locations/tools/404)
   ───────────────────────────────────────────── */
.v2-hero--compact {
  min-height: auto;
  padding-top: 132px;
  padding-bottom: 84px;
}

.v2-hero--locations {
  background-image:
    linear-gradient(180deg, rgba(6, 6, 10, 0.7) 0%, rgba(6, 6, 10, 0.9) 100%),
    url('/static/images/hero-background-ai.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.v2-hero__inner--single {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 900px;
  padding-top: 0;
  padding-bottom: 0;
}

.v2-hero__sub--wide {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.v2-page-intro {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.v2-page-intro p {
  max-width: 780px;
  margin: 0 auto 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
}

.v2-page-intro p:last-child {
  margin-bottom: 0;
}

.v2-page-block {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--bg-primary);
}

.v2-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.v2-location-card {
  display: block;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base), background var(--transition-base);
}

.v2-location-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.v2-location-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--text-primary);
}

.v2-location-card__summary {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.v2-location-card__detail {
  margin: 0.7rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.v2-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.v2-tool-card {
  display: block;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base), background var(--transition-base);
}

.v2-tool-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.v2-tool-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.v2-tool-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 92, 26, 0.12);
  border: 1px solid rgba(255, 92, 26, 0.2);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.v2-tool-card__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--text-primary);
  line-height: 1.2;
}

.v2-tool-card__desc {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.68;
}

.v2-tool-card__list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.v2-tool-card__list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.v2-tool-card__list li::before {
  content: '✓';
  color: var(--accent);
  margin-right: 0.45rem;
}

.v2-tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.v2-page-cta {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.v2-page-cta__inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.v2-page-cta__title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.v2-page-cta__copy {
  margin: 0 auto 1.3rem;
  color: var(--text-secondary);
  max-width: 680px;
}

.v2-city-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  padding-top: 88px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.v2-city-hero .absolute.inset-0 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.v2-city-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.68) 0%, rgba(6, 8, 12, 0.86) 64%, rgba(6, 8, 12, 0.96) 100%),
    linear-gradient(90deg, rgba(6, 8, 12, 0.72) 0%, rgba(6, 8, 12, 0.28) 100%);
}

.v2-city-hero__inner {
  position: relative;
  z-index: 2;
}

.v2-city-hero__inner .text-gray-300 {
  color: var(--text-secondary) !important;
}

.v2-city-hero__inner .text-white {
  color: var(--text-primary) !important;
}

@media (max-width: 900px) {
  .v2-city-hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 42px;
  }
}

.v2-error {
  min-height: 100vh;
  padding-top: 132px;
  padding-bottom: 84px;
  display: flex;
  align-items: center;
}

.v2-error__inner {
  max-width: 940px;
  margin-inline: auto;
  width: 100%;
  text-align: center;
}

.v2-error__code {
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 16vw, 11rem);
  line-height: 0.9;
  color: rgba(255, 92, 26, 0.2);
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.v2-error__title {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.v2-error__copy {
  margin: 0 auto 2rem;
  max-width: 700px;
}

.v2-error__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.v2-error__box {
  display: block;
  padding: 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.v2-error__box:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.v2-error__box-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.v2-error__box-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.v2-error__links {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.v2-error__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.v2-error__links a:hover {
  color: var(--text-primary);
}

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

@media (max-width: 900px) {
  .v2-hero--compact {
    padding-top: 108px;
    padding-bottom: 64px;
  }

  .v2-location-grid,
  .v2-error__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .v2-tool-grid,
  .v2-error__links {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   PART 1-V2: Legacy utility bridge + policy/contact components
   ───────────────────────────────────────────── */
.grid { display: grid; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }

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

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.rounded-lg { border-radius: 6px; }
.rounded-xl { border-radius: 8px; }
.rounded-full { border-radius: 999px; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-4 { padding-top: 1rem; }

.v2-border-top-subtle {
  border-top: 1px solid var(--border-subtle);
}

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: clamp(1.45rem, 2.1vw, 1.85rem); }
.text-3xl { font-size: clamp(1.85rem, 3vw, 2.5rem); }

.list-disc {
  list-style: disc;
  padding-left: 1.25rem;
}

.list-decimal {
  list-style: decimal;
  padding-left: 1.25rem;
}

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:text-4xl { font-size: clamp(2.1rem, 3.2vw, 2.8rem); }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 5rem;
}

.case-stat-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.case-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--accent);
}

.case-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.case-quote {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.case-review-stars {
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.contact-card {
  padding: 2rem;
}

.contact-title {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.contact-copy {
  margin-bottom: 1.5rem;
}

.required-star { color: var(--accent); }

.contact-submit {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.contact-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-side-card {
  padding: 1.75rem;
}

.contact-kv-label {
  margin: 0.95rem 0 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.contact-kv-value {
  margin: 0;
  font-size: 0.86rem;
}

.contact-inline-link {
  color: var(--accent);
}

.contact-step-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-step-copy {
  font-size: 0.82rem;
  margin: 0;
}

.cookie-policy-wrap {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.cookie-policy-card {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.cookie-policy-card h2,
.cookie-policy-card h3,
.cookie-policy-card p,
.cookie-policy-card li {
  color: inherit;
}

.cookie-policy-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.15rem;
}

.cookie-policy-note {
  background: rgba(255, 92, 26, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 1rem;
}

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

/* ─────────────────────────────────────────────
   Invisibility Problem — two-column layout
   ───────────────────────────────────────────── */
.v2-invis-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .v2-invis-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .v2-invis-grid__card {
    order: -1;
  }
}

/* ─────────────────────────────────────────────
   Tender receipt card (LinkedIn DM mockup)
   ───────────────────────────────────────────── */
.tender-receipt {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 0.875rem;
  max-width: 360px;
  margin: auto;
}
.tender-receipt__header {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  font-family: monospace;
  letter-spacing: 0.03em;
}
.tender-receipt__sender {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.tender-receipt__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tender-receipt__name {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-size: 0.875rem;
}
.tender-receipt__company {
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-size: 0.75rem;
}
.tender-receipt__body {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.tender-receipt__footer {
  display: flex;
  justify-content: flex-end;
}
.tender-receipt__tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 92, 26, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Tailwind reset bridge — ensure v2 dark bg overrides Tailwind white */
.bg-white { background-color: var(--bg-surface) !important; }
.text-gray-600, .text-gray-700, .text-gray-800 { color: var(--text-secondary) !important; }
.text-primary, .text-navy { color: var(--text-primary) !important; }

/* ─────────────────────────────────────────────
   PART 1-W: Reduced motion blanket
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── DARK THEME NUCLEAR RESET ── */
html, body {
  background-color: #0A0A0F !important;
  color: #F0F0F0 !important;
}

* {
  background-color: transparent;
  box-sizing: border-box;
}

/* Re-apply backgrounds only to elements that need them */
nav, header, .nav, .header, .site-header {
  background-color: rgba(10,10,15,0.95) !important;
}

.card, .service-card, .bento-card,
.blog-card, .post-card {
  background-color: #16161F !important;
}

footer, .footer, .site-footer {
  background-color: #111118 !important;
}

.stats-bar, .ticker-bar {
  background-color: #111118 !important;
}

/* Ensure all text inherits correctly */
h1, h2, h3, h4, h5, h6 {
  color: #F0F0F0;
}

p, li, td, th, span, label {
  color: #C0C0D0;
}

a {
  color: #FF5C1A;
}

a:hover {
  color: #FF7A3D;
}

/* ── END NUCLEAR RESET ── */

/* Inline style normalization for legacy templates */
*[style*="background: #f8f7f4"],
*[style*="background:#f8f7f4"],
*[style*="background: #f2f1ee"],
*[style*="background:#f2f1ee"],
*[style*="background: #fff6e8"],
*[style*="background:#fff6e8"],
*[style*="background-color: #f8f7f4"],
*[style*="background-color:#f8f7f4"] {
  background-color: #0A0A0F !important;
  background-image: none !important;
}

*[style*="background: white"],
*[style*="background:white"],
*[style*="background: #fff"],
*[style*="background:#fff"],
*[style*="background: #ffffff"],
*[style*="background:#ffffff"],
*[style*="background-color: white"],
*[style*="background-color: #fff"],
*[style*="background-color:#fff"],
*[style*="background-color: #ffffff"],
*[style*="background-color:#ffffff"] {
  background-color: #16161F !important;
  background-image: none !important;
}

*[style*="background: #f"],
*[style*="background:#f"],
*[style*="background-color: #f"],
*[style*="background-color:#f"] {
  background-color: #16161F !important;
  background-image: none !important;
}

*[style*="border: 1px solid #e8e4dc"],
*[style*="border-top: 1px solid #e8e4dc"],
*[style*="border-bottom: 1px solid #e8e4dc"] {
  border-color: rgba(255,255,255,0.06) !important;
}

*[style*="color: #1a1a1a"],
*[style*="color:#1a1a1a"],
*[style*="color: #0f1923"],
*[style*="color:#0f1923"] {
  color: #F0F0F0 !important;
}

*[style*="color: #3c4654"],
*[style*="color:#3c4654"],
*[style*="color: #5a6472"],
*[style*="color:#5a6472"] {
  color: #C0C0D0 !important;
}

.blog-content p {
  background-color: transparent !important;
}

article.bg-gray-50,
article.dark\:bg-gray-900,
.blog-card,
.post-card {
  background-color: #16161F !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

/* ═══════════════════════════════
   INNER PAGE SYSTEM — CLEAN BUILD
   ═══════════════════════════════ */

.inner-page {
  min-height: 100vh;
  background: #0A0A0F;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero band */
.inner-hero {
  background: #0A0A0F;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}

.post-hero {
  background: #0A0A0F;
  padding: 100px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.post-hero > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.inner-hero h1,
.inner-hero p,
.inner-hero span {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  display: block;
  box-sizing: border-box;
}

.eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FF5C1A;
  margin-bottom: 20px;
}

.post-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: #F0F0F0;
  margin: 0 0 20px 0;
  max-width: 760px;
}

.inner-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: #F0F0F0;
  margin-top: 0;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #8A8A9A;
  max-width: 580px;
  margin: 0;
}

/* Post meta */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.post-date,
.post-read {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-author {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.post-author a {
  color: var(--accent);
  text-decoration: none;
}

.post-author a:hover {
  text-decoration: underline;
}

.post-featured-image {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 48px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: #16161F;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

/* Content wrapper */
.inner-wrap {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* Blog-specific readability refresh */
.blog-index-page .inner-hero,
.blog-post-page .post-hero {
  text-align: center;
}

.blog-post-page .post-hero__inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-index-page .inner-hero h1,
.blog-index-page .inner-hero p,
.blog-index-page .inner-hero span,
.blog-post-page .post-hero > * {
  padding-left: 24px;
  padding-right: 24px;
}

.blog-post-page .post-hero {
  padding: 108px 0 72px;
}

.blog-post-page .post-hero h1 {
  max-width: 920px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.blog-post-page .hero-sub {
  max-width: 760px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
}

.blog-post-page .post-meta {
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.blog-post-page .framework-tags {
  justify-content: center;
  width: 100%;
}

.blog-post-page .post-body {
  max-width: 920px;
  padding: 44px 24px 0;
}

.blog-post-page .post-body > * {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-page .post-body > h2,
.blog-post-page .post-body > h3,
.blog-post-page .post-body > h4,
.blog-post-page .post-body > ul,
.blog-post-page .post-body > ol,
.blog-post-page .post-body > blockquote,
.blog-post-page .post-body > table,
.blog-post-page .post-body > pre,
.blog-post-page .post-body > hr,
.blog-post-page .post-body > .email-share {
  max-width: 82ch;
}

.blog-post-page .post-body > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #e2e2ea;
}

.blog-post-page .post-body h2 {
  margin: 72px auto 18px;
  padding-top: 48px;
}

.blog-post-page .post-body h3 {
  margin: 44px auto 14px;
}

.blog-post-page .post-body p,
.blog-post-page .post-body li {
  font-size: 17px;
  line-height: 1.85;
}

.blog-post-page .post-body p {
  max-width: none;
}

.blog-post-page .post-body blockquote p {
  font-size: 18px;
  line-height: 1.75;
}

.blog-post-page .email-share {
  margin-top: 56px;
}

.blog-post-page .post-related {
  padding-top: 72px;
  padding-bottom: 90px;
}

.post-related__header {
  max-width: 1280px;
  margin: 0 auto 20px;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.post-related__header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  margin: 0;
}

.post-related__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-related__card {
  background: #16161F;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 22px 22px 24px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.post-related__card:hover {
  border-color: rgba(255,92,26,0.45);
  background: #1b1b25;
  transform: translateY(-2px);
}

.post-related__badge {
  display: inline-flex;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF5C1A;
  margin-bottom: 10px;
}

.post-related__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #F0F0F0;
}

.post-related__card p {
  margin: 0;
  color: #a9a9b8;
  line-height: 1.65;
  font-size: 15px;
}

/* Back link */
.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 32px 0;
  transition: color 0.2s;
}

.back-link:hover { color: #FF5C1A; }

/* Inner content — markdown rendered HTML */
.inner-content {
  padding-top: 36px;
  padding-bottom: 80px;
}

.inner-content h2,
.post-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: #F0F0F0;
  margin: 56px 0 16px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.inner-content h2:first-child,
.post-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.inner-content h3,
.post-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #F0F0F0;
  margin: 36px 0 12px;
}

.inner-content p,
.post-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #C0C0D0;
  margin: 0 0 20px;
  max-width: 680px;
}

.inner-content ul,
.inner-content ol,
.post-body ul,
.post-body ol {
  padding-left: 20px;
  margin: 0 0 20px;
}

.inner-content li,
.post-body li {
  font-size: 15px;
  line-height: 1.75;
  color: #C0C0D0;
  margin-bottom: 8px;
}

.inner-content a,
.post-body a {
  color: #FF5C1A;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,92,26,0.25);
  transition: border-color 0.2s;
}

.inner-content a:hover,
.post-body a:hover {
  border-bottom-color: #FF5C1A;
}

.inner-content table,
.post-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.inner-content blockquote,
.post-body blockquote {
  border-left: 3px solid #FF5C1A;
  margin: 36px 0;
  padding: 20px 28px;
  background: rgba(255,92,26,0.05);
  border-radius: 0 4px 4px 0;
}

.inner-content blockquote p,
.post-body blockquote p {
  color: #F0F0F0;
  font-size: 17px;
  margin: 0;
}

/* Strong/bold in content */
.inner-content strong,
.post-body strong {
  color: #F0F0F0;
  font-weight: 600;
}

/* Service tag pills
   (used in sector pages via markdown) */
.inner-content .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.inner-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  counter-reset: none;
}

.inner-content ol li {
  font-size: 15px;
  line-height: 1.75;
  color: #C0C0D0;
  margin-bottom: 10px;
  list-style-type: decimal;
  background: transparent;
  display: list-item;
  padding: 0;
}

.inner-content ol li::before {
  display: none;
}

.blog-entry h2 a,
.blog-entry h2 {
  color: #F0F0F0 !important;
}

.blog-entry h2 a:hover {
  color: #FF5C1A !important;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.resource-card {
  background: #16161F;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

@media (max-width: 640px) {
  .resource-card {
    padding: 1.5rem;
  }
}

.resource-card:hover {
  border-color: rgba(255,92,26,0.4);
  background: #1C1C28;
}

.resource-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FF5C1A;
  display: block;
  margin-bottom: 14px;
}

.resource-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: #F0F0F0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.resource-card p {
  font-size: 14px;
  color: #8A8A9A;
  line-height: 1.6;
  margin-bottom: 20px;
}

.resource-link {
  font-size: 13px;
  color: #FF5C1A;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.resource-link:hover {
  text-decoration: underline;
}

.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #F0F0F0;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: #FF5C1A;
}

.sector-body {
  padding: 0 0 80px;
}

.sector-services {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 56px;
}

.sector-services-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #F0F0F0;
  margin-bottom: 6px;
}

.sector-services-sub {
  font-size: 14px;
  color: #8A8A9A;
  margin-bottom: 20px;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FF5C1A;
  border: 1px solid rgba(255,92,26,0.35);
  background: rgba(255,92,26,0.06);
  padding: 8px 16px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.sector-tag:hover {
  background: rgba(255,92,26,0.12);
  border-color: rgba(255,92,26,0.6);
}

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}

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

.value-prop {
  background: #16161F;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, background 0.2s;
}

@media (max-width: 640px) {
  .value-prop {
    padding: 1.5rem;
  }
}

.value-prop:hover {
  border-color: rgba(255,92,26,0.3);
  background: #1C1C28;
}

.value-prop h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #F0F0F0;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.value-prop p {
  font-size: 14px;
  line-height: 1.7;
  color: #8A8A9A;
  margin: 0;
  max-width: 100%;
}

.value-prop a {
  color: #FF5C1A;
  border-bottom: 1px solid rgba(255,92,26,0.3);
  text-decoration: none;
}

.sector-faq {
  margin-bottom: 80px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sector-faq > h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  color: #F0F0F0;
  margin: 0 0 40px;
  border: none;
  padding: 0;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #F0F0F0;
  margin: 0 0 10px;
}

.faq-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #8A8A9A;
  margin: 0;
  max-width: 680px;
}

.sector-cta {
  background: #16161F;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 56px;
  text-align: center;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .sector-cta {
    padding: 2rem 1.25rem;
  }
}

.sector-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.5vw, 36px);
  color: #F0F0F0;
  margin: 0 0 16px;
  border: none;
  padding: 0;
}

.sector-cta p {
  font-size: 15px;
  color: #8A8A9A;
  margin: 0 0 28px;
  max-width: 100%;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #FF5C1A;
  color: #0A0A0F !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  border-bottom: none !important;
  border-radius: 2px;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #FF7A3D;
  border-bottom: none;
}

.sector-related {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sector-related-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FF5C1A;
  display: block;
  margin-bottom: 20px;
}

.sector-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.sector-related li a {
  font-size: 13px;
  color: #8A8A9A;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s;
}

.sector-related li a:hover {
  color: #FF5C1A;
}

/* Responsive */
@media (max-width: 1023px) {
  .inner-hero,
  .post-hero {
    padding: 72px 0 48px;
  }

  .inner-hero > *,
  .post-hero > * {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
  }

  .inner-wrap,
  .post-body {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
  }

  .blog-post-page .post-body {
    max-width: 860px;
    padding-top: 32px;
  }

  .blog-post-page .post-body > * {
    max-width: 74ch;
  }

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

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

  .blog-post-page .post-hero,
  .blog-index-page .inner-hero {
    padding-top: 90px;
  }

  .blog-post-page .post-hero h1,
  .blog-index-page .inner-hero h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .blog-post-page .hero-sub,
  .blog-index-page .hero-sub {
    font-size: 16px;
    line-height: 1.7;
  }

  .blog-post-page .post-body {
    padding-top: 26px;
  }

  .blog-post-page .post-body p,
  .blog-post-page .post-body li {
    font-size: 16px;
    line-height: 1.8;
  }

  .blog-post-page .post-body h2 {
    margin-top: 56px;
    padding-top: 36px;
  }

  .post-related__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-post-page .post-related {
    padding-top: 56px;
    padding-bottom: 72px;
  }
}

/* ═══════════════════════════════
   LEGACY TAILWIND BRIDGE
   Gives basic usable layout to pages that still have Tailwind markup
   ═══════════════════════════════ */

/* Legacy header padding — Tailwind pt-24+ classes don't work; give breathing room */
.inner-content > header,
.inner-content > section:first-child {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Legacy main/section vertical spacing */
.inner-content > main,
.inner-content > section {
  padding-top: 40px;
  padding-bottom: 48px;
}

/* Legacy background colour classes */
.bg-gray-50, .bg-gray-100 { background-color: #16161F !important; }
.bg-blue-50                { background-color: rgba(255,92,26,0.05) !important; }
.bg-yellow-50              { background-color: rgba(255,92,26,0.05) !important; }
.border-blue-600,
.border-l-4.border-blue-600 { border-color: #FF5C1A !important; }
.text-blue-900, .text-blue-800 { color: #F0F0F0 !important; }

/* Legacy Tailwind spacing utilities — minimal vertical padding/margin */
.py-16, .py-20, .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-24, .pt-28, .pt-32 { padding-top: 6rem; }
.pb-12, .pb-16, .pb-20 { padding-bottom: 3rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }
.p-6    { padding: 1.5rem; }
.sector-body { max-width: 760px; margin: 0 auto; }

/* Legacy Tailwind grid — give columns basic layout */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.md\:grid-cols-2,
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.md\:grid-cols-3,
.grid-cols-3,
.lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lg\:col-span-2  { grid-column: span 2; }

@media (max-width: 900px) {
  .md\:grid-cols-2,
  .md\:grid-cols-3,
  .lg\:grid-cols-2,
  .lg\:grid-cols-3 { grid-template-columns: 1fr; }
  .lg\:col-span-2  { grid-column: span 1; }
}

/* Legacy card backgrounds */
.rounded-xl, .rounded-lg { border-radius: 6px; }
.shadow-sm, .shadow, .shadow-xl { box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.border.border-gray-200 { border: 1px solid rgba(255,255,255,0.06) !important; }
.border-gray-200 { border-color: rgba(255,255,255,0.06) !important; }

/* Legacy text utilities */
.text-accent    { color: #FF5C1A !important; }
.text-white     { color: #F0F0F0 !important; }
.bg-accent      { background-color: #FF5C1A !important; }
.text-primary   { color: #F0F0F0 !important; }
.font-bold      { font-weight: 700; }
.font-semibold  { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.uppercase      { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.text-sm        { font-size: 0.875rem; }
.text-lg        { font-size: 1.125rem; }
.text-xl        { font-size: 1.25rem; }
.text-2xl       { font-size: 1.5rem; }
.text-3xl       { font-size: 1.875rem; }
.text-4xl       { font-size: 2.25rem; }
.text-center    { text-align: center; }
.leading-tight  { line-height: 1.25; }
.leading-relaxed { line-height: 1.75; }
.italic         { font-style: italic; }
.underline      { text-decoration: underline; }
.text-gray-700  { color: #D0D0D0; }
.text-gray-600  { color: #A0A0A0; }

/* Legacy flex utilities */
.flex                { display: flex; }
.flex-col            { flex-direction: column; }
.items-center        { align-items: center; }
.justify-center      { justify-content: center; }
.space-y-4 > * + *   { margin-top: 1rem; }
.space-y-6 > * + *   { margin-top: 1.5rem; }
.space-y-8 > * + *   { margin-top: 2rem; }
.flex-col.sm\:flex-row { flex-wrap: wrap; }
.sm\:flex-row         { flex-direction: row; }

/* Missing Tailwind utility bridge for buttons/CTAs */
.inline-flex          { display: inline-flex; }
.inline-block         { display: inline-block; }
.px-4                 { padding-left: 1rem; padding-right: 1rem; }
.px-6                 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8                 { padding-left: 2rem; padding-right: 2rem; }
.px-10                { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-4                 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5                 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.sm\:px-6             { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8             { padding-left: 2rem; padding-right: 2rem; }
.border               { border-width: 1px; border-style: solid; }
.border-transparent   { border-color: transparent; }
.shadow-lg            { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); }
.transition           { transition-property: color, background-color, border-color, box-shadow; transition-timing-function: ease; transition-duration: 150ms; }
.duration-300         { transition-duration: 300ms; }
.hover\:bg-yellow-500:hover { background-color: #FF7A3D; }
.text-base            { font-size: 1rem; }

/* Keep the site-wide 48px gutter on the main outer container even if the markup carries Tailwind px-* classes */
.max-w-7xl.mx-auto {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* Legacy width/max-width utilities */
.w-full  { width: 100%; }
.h-full  { height: 100%; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.mx-auto   { margin-left: auto; margin-right: auto; }

/* Missing position/layout utilities — required by city pages and other templates */
.relative        { position: relative; }
.absolute        { position: absolute; }
.overflow-hidden { overflow: hidden; }
.inset-0         { top: 0; right: 0; bottom: 0; left: 0; }
.z-10            { z-index: 10; }
.z-20            { z-index: 20; }
.z-50            { z-index: 50; }
.object-cover    { object-fit: cover; }
.object-contain  { object-fit: contain; }

/* Missing text/spacing utilities */
.text-5xl      { font-size: 3rem; }
.text-gray-300 { color: #8A8A9A; }
.mb-4          { margin-bottom: 1rem; }
.gap-4         { gap: 1rem; }
.py-1          { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.bg-accent\/10 { background-color: rgba(255, 92, 26, 0.1); }

/* Disable fixed backgrounds on mobile — fixes iOS Safari jitter/performance */
@media (max-width: 1024px) {
  body,
  main,
  .main-content,
  article,
  .page-content,
  .content-wrapper,
  .v2-section,
  .v2-hero,
  .v2-stats,
  .v2-grid-bg,
  .v2-grid-bg::before,
  .v2-bg-secondary,
  footer,
  .footer,
  .site-footer,
  .stats-bar,
  .ticker-bar,
  .card,
  .service-card,
  .bento-card,
  .blog-card,
  .post-card {
    background-attachment: scroll !important;
  }
}

/* ═══════════════════════════════
   END LEGACY TAILWIND BRIDGE
   ═══════════════════════════════ */

/* ═══════════════════════════════
   PHASE 1 ENHANCEMENTS
   ═══════════════════════════════ */

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: #FF5C1A;
  z-index: 10001;
  width: 0%;
  transition: width 0.08s linear;
  transform-origin: left;
}

/* ── Blueprint reveal overlay ── */
#blueprint-reveal {
  position: fixed;
  inset: 0;
  background: #0A0A0F;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#blueprint-reveal.bp-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#blueprint-reveal .bp-line {
  transition: stroke-dashoffset 1.2s ease-out;
}
#blueprint-reveal.bp-animate .bp-line {
  stroke-dashoffset: 0;
}
#blueprint-reveal .bp-text {
  transition: opacity 0.6s ease 1s;
}
#blueprint-reveal.bp-animate .bp-text {
  opacity: 0.7;
}

/* ── Return visitor banner ── */
#return-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(10,10,15,0.96);
  border-top: 1px solid rgba(255,92,26,0.35);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #B0B0BA;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#return-banner a {
  color: #FF5C1A;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,92,26,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
#return-banner a:hover {
  border-color: #FF5C1A;
}
#return-banner button {
  background: none;
  border: none;
  color: #8A8A9A;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
  transition: color 0.2s;
}
#return-banner button:hover {
  color: #F0F0F0;
}
@media (max-width: 640px) {
  #return-banner {
    padding: 12px 16px;
    font-size: 12px;
    gap: 10px;
  }
}

/* ── Copy-to-clipboard on blockquotes ── */
.post-body blockquote {
  position: relative;
}
.post-body .copy-quote-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,92,26,0.1);
  border: 1px solid rgba(255,92,26,0.25);
  color: #FF5C1A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  pointer-events: none;
}
.post-body blockquote:hover .copy-quote-btn {
  opacity: 1;
  pointer-events: auto;
}
.post-body .copy-quote-btn:hover {
  background: rgba(255,92,26,0.2);
}
.post-body .copy-quote-btn.copied {
  background: rgba(255,92,26,0.25);
  color: #F0F0F0;
}

/* ── Blog email signup ── */
.blog-signup {
  margin-top: 40px;
  margin-bottom: 40px;
  border: 1px solid rgba(255,92,26,0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,92,26,0.06), rgba(255,92,26,0.015)),
    linear-gradient(120deg, rgba(15,25,35,0.95), rgba(10,10,15,0.98));
  padding: 28px;
  display: grid;
  gap: 18px;
}
.blog-signup__kicker {
  margin: 0 0 8px;
  color: #FF5C1A;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
}
.blog-signup__content h2 {
  margin: 0;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
}
.blog-signup__content p {
  margin: 10px 0 0;
  color: #C7C7D5;
}
.blog-signup__form {
  display: grid;
  gap: 12px;
}
.blog-signup__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.blog-signup__form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #B7B7C5;
}
.blog-signup__form input[type="text"],
.blog-signup__form input[type="email"] {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: rgba(10,10,15,0.75);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}
.blog-signup__form input[type="text"]:focus,
.blog-signup__form input[type="email"]:focus {
  outline: none;
  border-color: rgba(255,92,26,0.8);
  box-shadow: 0 0 0 3px rgba(255,92,26,0.15);
}
.blog-signup__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.blog-signup__consent input[type="checkbox"] {
  margin-top: 3px;
}
.blog-signup__consent span {
  margin: 0;
  color: #B7B7C5;
  font-size: 12px;
}
.blog-signup__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.blog-signup__form button {
  justify-self: start;
  border: 1px solid rgba(255,92,26,0.45);
  background: rgba(255,92,26,0.12);
  color: #FFB08C;
  border-radius: 6px;
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.blog-signup__form button:hover {
  background: rgba(255,92,26,0.2);
  border-color: rgba(255,92,26,0.75);
  transform: translateY(-1px);
}
.blog-signup__small {
  margin: 0;
  font-size: 12px;
  color: #8A8A9A;
}
.blog-signup__small a {
  color: #FF5C1A;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,92,26,0.35);
}
.blog-signup--gate {
  margin-top: 28px;
}
.blog-signup__status {
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid rgba(101, 214, 173, 0.4);
  background: rgba(101, 214, 173, 0.1);
  color: #B9F5DF;
  font-size: 13px;
}
.blog-signup__status--error {
  border-color: rgba(255, 92, 92, 0.4);
  background: rgba(255, 92, 92, 0.1);
  color: #FFD7D7;
}

@media (max-width: 860px) {
  .blog-signup {
    padding: 22px;
  }
  .blog-signup__grid {
    grid-template-columns: 1fr;
  }
  .blog-signup__form button {
    width: 100%;
  }
}

/* Construction Pipeline Brief */
.pipeline-brief {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 48px 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 90, 31, 0.42);
  border-left: 4px solid #FF5A1F;
  border-radius: 0;
  background: #11151C;
  gap: 22px;
  overflow-wrap: anywhere;
}
.pipeline-brief > *,
.pipeline-brief form,
.pipeline-brief label { min-width: 0; }
.pipeline-brief .blog-signup__kicker,
.pipeline-brief h2 { white-space: normal; overflow-wrap: anywhere; }
.pipeline-brief[hidden] { display: none !important; }
.pipeline-brief .blog-signup__kicker { color: #FF5A1F; }
.pipeline-brief .blog-signup__grid { grid-template-columns: 1fr; }
.pipeline-brief .blog-signup__form { max-width: 720px; }
.pipeline-brief .blog-signup__form > label:first-child { max-width: 520px; }
.pipeline-brief .blog-signup__form input[type="email"] {
  min-height: 48px;
  border-radius: 2px;
  background: #090B10;
}
.pipeline-brief .blog-signup__form button {
  min-height: 46px;
  border-radius: 2px;
  border-color: #FF5A1F;
  background: #FF5A1F;
  color: #090B10;
  font-weight: 700;
}
.pipeline-brief .blog-signup__form button:hover {
  border-color: #FF7847;
  background: #FF7847;
}
.pipeline-brief__success {
  display: grid;
  gap: 4px;
  max-width: 720px;
}
.pipeline-brief__success[hidden],
.pipeline-brief [data-newsletter-error][hidden] { display: none !important; }
.pipeline-brief__success strong { color: #FFFFFF; font-size: 1rem; }
.pipeline-brief__success span { color: #B9F5DF; }
.pipeline-brief--index { margin: 0 auto 56px; max-width: 1120px; }
.pipeline-brief--hero { margin-top: 0; }

@media (max-width: 620px) {
  .pipeline-brief { margin: 32px 0; padding: 22px 18px; }
}

/* ── Email share button ── */
.email-share {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.email-share__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8A9A;
}
.email-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,92,26,0.08);
  border: 1px solid rgba(255,92,26,0.25);
  color: #FF5C1A;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.email-share__btn:hover {
  background: rgba(255,92,26,0.15);
  border-color: rgba(255,92,26,0.45);
}

/* ── Framework relevance tags ── */
.framework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.framework-tag {
  display: inline-block;
  background: rgba(255,92,26,0.08);
  border: 1px solid rgba(255,92,26,0.18);
  color: #FF5C1A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.framework-tag:hover {
  background: rgba(255,92,26,0.15);
  border-color: rgba(255,92,26,0.35);
}

/* ═══════════════════════════════
   FRAMEWORK CALENDAR
   ═══════════════════════════════ */

/* Filter tabs */
.fc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fc-filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #8A8A9A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.fc-filter:hover {
  border-color: rgba(255,92,26,0.4);
  color: #F0F0F0;
}
.fc-filter.is-active {
  background: rgba(255,92,26,0.1);
  border-color: rgba(255,92,26,0.35);
  color: #FF5C1A;
}

/* Framework cards */
.fc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.fc-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.fc-card:hover {
  border-color: rgba(255,92,26,0.25);
  transform: translateY(-2px);
}
.fc-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.fc-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #F0F0F0;
  line-height: 1.3;
  margin: 0;
}
.fc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.fc-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.fc-badge--type {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #8A8A9A;
}
.fc-badge--status-open {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
}
.fc-badge--status-closing {
  background: rgba(255,92,26,0.1);
  border: 1px solid rgba(255,92,26,0.25);
  color: #FF5C1A;
}
.fc-badge--status-upcoming {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #3b82f6;
}
.fc-badge--status-closed {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: #555;
}
.fc-card__desc {
  font-size: 13px;
  color: #8A8A9A;
  line-height: 1.6;
  margin-bottom: 16px;
}
.fc-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #6A6A7A;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.fc-card__footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fc-card__value {
  color: #FF5C1A;
  font-weight: 500;
}
.fc-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.fc-sector {
  font-size: 10px;
  color: #6A6A7A;
  background: rgba(255,255,255,0.03);
  padding: 2px 6px;
  border-radius: 2px;
}

/* Countdown on detail page */
.fc-countdown {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #FF5C1A;
  margin-bottom: 24px;
}
.fc-countdown.is-closed {
  color: #555;
}

/* Detail page */
.fc-detail__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
}
.fc-detail__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fc-detail__meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6A6A7A;
}
.fc-detail__meta-value {
  font-size: 14px;
  color: #F0F0F0;
  font-weight: 500;
}
.fc-detail__cta {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fc-disclaimer {
  font-size: 12px;
  color: #555;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.fc-last-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #555;
  margin-bottom: 24px;
}

.fc-changes-list {
  margin: 16px 0 24px;
  padding-left: 18px;
}

.fc-change-item {
  margin-bottom: 10px;
  color: #C7C7D4;
}

.fc-change-item a {
  color: #F0F0F0;
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}

.fc-change-item a:hover {
  color: #FF5C1A;
  border-bottom-color: rgba(255,92,26,0.45);
}

.fc-change-meta {
  display: inline-block;
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #8A8A9A;
}

.fc-change-empty {
  list-style: none;
  margin-left: -18px;
  color: #8A8A9A;
  font-size: 13px;
}

/* Promo section on homepage */
.fc-promo {
  background: rgba(255,92,26,0.04);
  border: 1px solid rgba(255,92,26,0.12);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.fc-promo__text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #F0F0F0;
  margin: 0 0 4px;
}
.fc-promo__text p {
  font-size: 13px;
  color: #8A8A9A;
  margin: 0;
}
.fc-promo__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,92,26,0.1);
  border: 1px solid rgba(255,92,26,0.25);
  color: #FF5C1A;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.fc-promo__btn:hover {
  background: rgba(255,92,26,0.18);
  border-color: rgba(255,92,26,0.4);
}

@media (max-width: 640px) {
  .fc-grid {
    grid-template-columns: 1fr;
  }
  .fc-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fc-filters::-webkit-scrollbar {
    display: none;
  }
  .fc-detail__meta {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════
   END FRAMEWORK CALENDAR
   ═══════════════════════════════ */

/* ═══════════════════════════════
   END INNER PAGE SYSTEM
   ═══════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   AOS REPLACEMENT — CSS fade-up via IntersectionObserver
   Replaces unpkg AOS library (~64KB CDN load eliminated)
   ═══════════════════════════════════════════════════════ */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ─────────────────────────────────────────────
   Floating contact buttons (WhatsApp + Phone)
   ───────────────────────────────────────────── */
.fab-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.fab-btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.fab-btn--phone {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  .fab-contact {
    bottom: 20px;
    right: 20px;
  }
  .fab-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  .gg-carousel-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 768px) {
  .v2-hero__actions .v2-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────
   Mobile usability hardening
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .v2-container {
    padding-inline: 1.25rem;
  }

  /* The container already supplies the mobile gutter. Avoid doubling it. */
  .v2-hero__inner {
    padding: 1.75rem 0 0;
  }

  /* Let homepage hero content determine its height on short phone screens. */
  .v2-hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 0;
    overflow: hidden;
  }

  .v2-hero--compact,
  .v2-hero--extended {
    padding-top: 6rem;
  }

  .v2-hero .v2-ticker {
    position: relative;
    inset: auto;
    margin-top: 1.5rem;
    flex-shrink: 0;
  }

  .v2-hero__headline {
    font-size: clamp(2.125rem, 10vw, 2.625rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .v2-hero__headline br {
    display: none;
  }

  .v2-hero__eyebrow,
  .v2-label {
    letter-spacing: 0.14em;
  }

  .v2-hero__actions {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .v2-hero__actions .v2-btn {
    min-height: 48px;
    padding: 0.8rem 1rem;
    white-space: normal;
    text-align: center;
  }

  .v2-nav__inner {
    padding-inline: 1.25rem;
  }

  .v2-nav__logo {
    margin-right: 0;
  }

  .v2-hamburger {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .v2-mobile-nav {
    top: 68px;
    padding: 1.25rem;
  }

  .hivis-pricing-card {
    padding: 1.5rem;
  }

  .hivis-pricing-card__price {
    font-size: 2rem;
  }

  #cookie-consent-banner > div {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1.125rem 1.25rem !important;
  }

  #cookie-consent-banner button {
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .v2-nav__logo-text {
    font-size: 1rem;
  }

  #cookie-consent-banner button {
    flex-basis: 100% !important;
  }
}

body.banner-visible .fab-contact {
  bottom: 70px;
}

/* ─────────────────────────────────────────────
   Homepage image breaks
   ───────────────────────────────────────────── */
.homepage-image-break {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 480px;
}

.homepage-image-break img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.homepage-image-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.1) 100%);
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.homepage-image-break__overlay p {
  color: #ffffff;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  max-width: 600px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .homepage-image-break img {
    height: 280px;
  }

  .homepage-image-break__overlay {
    padding: 0 6%;
  }

  .homepage-image-break__overlay p {
    font-size: 1.2rem;
  }
}
