/* ============================================
   NAVIGATION BAR
   ============================================ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

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

.nav-link.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.nav-contact {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--amber-border);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-contact:hover {
  background: var(--amber);
  color: var(--black);
}

/* Account for fixed nav height */
body {
  padding-top: 60px;
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 640px) {
  .nav-bar {
    padding: 0 1.25rem;
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    text-align: center;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-contact {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    text-align: center;
    transform: translateY(calc(-100% - 200px));
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    background: var(--amber);
    color: var(--black);
    border: none;
  }

  .nav-contact.open {
    transform: translateY(calc(100% + 100px));
    opacity: 1;
    visibility: visible;
  }

  body {
    padding-top: 56px;
  }
}

/* ============================================
   HERO SECTION - The Statement
   ============================================ */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
}

/* Animated grid background */
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 60%, transparent);
  opacity: 0.5;
}

/* Radial glow overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: var(--gradient-radial);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

.hero h1 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 80px var(--amber-glow);
}

/* Gradient text on company name */
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* CTA Button - Premium */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  background: transparent;
  color: var(--amber);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--amber-border);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--amber);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta:hover {
  color: var(--black);
  border-color: var(--amber);
  box-shadow: 0 0 30px var(--amber-glow);
}

.cta:hover::before {
  transform: translateY(0);
}

.cta .arrow {
  transition: transform 0.3s ease;
}

.cta:hover .arrow {
  transform: translateX(4px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION FOUNDATIONS
   ============================================ */
.section {
  padding: 8rem 0;
  position: relative;
}

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

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

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#services {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.service-card {
  background: var(--bg-elevated);
  padding: 3rem;
  position: relative;
  transition: all 0.4s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: var(--bg-card);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  display: block;
}

.service-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* ============================================
   APPROACH SECTION
   ============================================ */
#approach {
  background: var(--bg-primary);
}

.approach-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6rem;
  align-items: start;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.approach-item {
  padding-left: 2rem;
  border-left: 1px solid var(--border-medium);
  transition: all 0.3s ease;
}

.approach-item:hover {
  border-color: var(--amber);
}

.approach-item h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.approach-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
#process {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  margin-top: 3rem;
}

.process-step {
  background: var(--bg-elevated);
  padding: 3rem;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: var(--bg-card);
}

.process-number {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--amber-border);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.process-step h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* ============================================
   METRICS/RESULTS SECTION
   ============================================ */
#results {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

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

.metric {
  padding: 3rem 2rem;
  position: relative;
}

.metric::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border-subtle);
}

.metric:last-child::after {
  display: none;
}

.metric-value {
  display: block;
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 1rem;
  text-shadow: 0 0 60px var(--amber-glow);
}

.metric-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.metrics-note {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

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

  .metric::after {
    display: none;
  }

  .metric {
    border-bottom: 1px solid var(--border-subtle);
  }

  .metric:last-child {
    border-bottom: none;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
  background: var(--bg-primary);
  text-align: center;
  padding: 10rem 0;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

#contact h2 {
  margin-bottom: 1.5rem;
}

.contact-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-email {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--border-medium);
}

.contact-email:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.contact-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.contact-divider {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: lowercase;
}

.cta-primary {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
}

.cta-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
}

.cta-primary::before {
  display: none;
}

.cta-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-medium);
}

.cta-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.cta-secondary::before {
  display: none;
}

.contact-email-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .contact-options {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-divider {
    display: none;
  }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--black);
  padding: 5rem 2rem 3rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-name {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-services {
  display: flex;
  flex-direction: column;
}

.footer-service-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-service-links a {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-service-links a:hover {
  color: var(--text-primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-email {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  color: var(--text-primary);
  transition: color 0.2s ease;
  margin-bottom: 0.5rem;
}

.footer-email:hover {
  color: var(--amber);
}

.footer-location {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--amber);
}

.footer-copyright {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  color: var(--gray-700);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  footer {
    padding: 4rem 1.5rem 2.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-services,
  .footer-contact {
    align-items: center;
  }

  .footer-service-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-legal {
    gap: 1.5rem;
  }
}

/* ============================================
   PAGE CONTENT (Privacy, Terms)
   ============================================ */
.page-header {
  background: var(--gradient-hero);
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-body {
  padding: 5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-primary);
}

.page-body p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.page-body .effective-date {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-body h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.page-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.page-body h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-body h4 {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-body ul,
.page-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-body li {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.page-body ul li {
  list-style-type: disc;
}

.page-body ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.page-body ul ul li {
  list-style-type: circle;
}

.page-body .contact-block {
  background: var(--charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.page-body .contact-block p {
  margin-bottom: 0.5rem;
}

.page-body .contact-block p:last-child {
  margin-bottom: 0;
}

.page-body a {
  color: var(--amber);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.page-body a:hover {
  opacity: 0.8;
}

.page-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.page-body .legal-note {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--amber);
  background: var(--amber-glow);
  margin: 1.5rem 0;
}

/* ============================================
   SERVICE PAGE HERO
   ============================================ */
.service-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

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

.service-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.service-eyebrow .service-number {
  color: var(--amber);
  margin-bottom: 0;
}

.service-eyebrow .service-label {
  color: var(--text-muted);
}

.service-hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--text-primary);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.service-hero-lead {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.6;
}

/* Service Hero with visualization */
.service-hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.service-hero-viz {
  flex-shrink: 0;
  text-align: center;
}

.viz-caption {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
}

/* ============================================
   EMAIL VISUALIZATION - Deliverability Meter
   ============================================ */
.email-meter {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: rgba(5, 5, 8, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.meter-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 1rem;
  align-items: center;
}

.meter-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.meter-track {
  height: 6px;
  background: var(--gray-800);
  border-radius: 3px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  animation: meterFill 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

.meter-fill--gmail {
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}

.meter-fill--yahoo {
  background: linear-gradient(90deg, #6c47ff, #9d7aff);
  animation-delay: 0.7s;
}

.meter-fill--outlook {
  background: linear-gradient(90deg, #0078d4, #50a3ff);
  animation-delay: 0.9s;
}

@keyframes meterFill {
  to {
    width: var(--fill-width);
  }
}

.meter-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

/* ============================================
   SMS VISUALIZATION - Phone Mockup
   ============================================ */
.phone-mockup {
  width: 220px;
  height: 380px;
  background: var(--gray-900);
  border-radius: 32px;
  border: 3px solid var(--gray-700);
  padding: 12px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--black);
  border-radius: 12px;
  margin: 0 auto 16px;
}

.phone-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px;
}

.sms-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
}

.sms-bubble--outgoing {
  align-self: flex-end;
  background: var(--amber);
  color: var(--black);
  border-bottom-right-radius: 4px;
}

.sms-bubble--incoming {
  align-self: flex-start;
  background: var(--gray-700);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.sms-animate-1 {
  animation: smsAppear 0.5s ease-out forwards;
  animation-delay: 0.8s;
}

.sms-animate-2 {
  animation: smsAppear 0.5s ease-out forwards;
  animation-delay: 1.4s;
}

.sms-animate-3 {
  animation: smsAppear 0.5s ease-out forwards;
  animation-delay: 2.0s;
}

@keyframes smsAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   AUDIENCE VISUALIZATION - Tier Chart
   ============================================ */
.tier-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 200px;
  padding: 1.5rem 2rem;
  background: rgba(5, 5, 8, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.tier-bar {
  flex: 1;
  min-width: 14px;
  height: 0;
  background: linear-gradient(to top, var(--amber), var(--amber-light));
  border-radius: 2px 2px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: barGrow 1s ease-out forwards;
  position: relative;
}

.tier-bar span {
  position: absolute;
  bottom: -24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
  animation-delay: 1.2s;
}

@keyframes barGrow {
  to {
    height: var(--bar-height);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Stagger bar animations */
.tier-bar--1 { animation-delay: 0.1s; }
.tier-bar--2 { animation-delay: 0.15s; }
.tier-bar--3 { animation-delay: 0.2s; }
.tier-bar--4 { animation-delay: 0.25s; }
.tier-bar--5 { animation-delay: 0.3s; }
.tier-bar--6 { animation-delay: 0.35s; }
.tier-bar--7 { animation-delay: 0.4s; }
.tier-bar--8 { animation-delay: 0.45s; }
.tier-bar--9 { animation-delay: 0.5s; }
.tier-bar--10 { animation-delay: 0.55s; }
.tier-bar--11 { animation-delay: 0.6s; }
.tier-bar--12 { animation-delay: 0.65s; }
.tier-bar--13 { animation-delay: 0.7s; }
.tier-bar--14 { animation-delay: 0.75s; }
.tier-bar--15 { animation-delay: 0.8s; }

/* Gradient from hot (T1) to cold (T15) */
.tier-bar--1 { background: linear-gradient(to top, #f5a623, #ffc857); }
.tier-bar--2 { background: linear-gradient(to top, #f59f23, #ffbf4a); }
.tier-bar--3 { background: linear-gradient(to top, #f59823, #ffb73d); }
.tier-bar--4 { background: linear-gradient(to top, #f59123, #ffaf30); }
.tier-bar--5 { background: linear-gradient(to top, #e88520, #f5a223); }
.tier-bar--6 { background: linear-gradient(to top, #d97a1d, #e8901f); }
.tier-bar--7 { background: linear-gradient(to top, #ca6f1a, #d97e1c); }
.tier-bar--8 { background: linear-gradient(to top, #bb6417, #ca7019); }
.tier-bar--9 { background: linear-gradient(to top, #ac5914, #bb6316); }
.tier-bar--10 { background: linear-gradient(to top, #9d4e11, #ac5613); }
.tier-bar--11 { background: linear-gradient(to top, #8e430e, #9d4910); }
.tier-bar--12 { background: linear-gradient(to top, #7f380b, #8e3c0d); }
.tier-bar--13 { background: linear-gradient(to top, #702d08, #7f2f0a); }
.tier-bar--14 { background: linear-gradient(to top, #612205, #702207); }
.tier-bar--15 { background: linear-gradient(to top, #521702, #611504); }

/* Mobile: Hide visualizations */
@media (max-width: 900px) {
  .service-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .service-hero-content {
    align-items: center;
  }

  .service-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .service-hero-viz {
    display: none;
  }
}

/* ============================================
   SERVICE PAGE INTRO GRID
   ============================================ */
.service-intro {
  border-bottom: 1px solid var(--border-subtle);
}

.intro-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 6rem;
  align-items: start;
}

.intro-label h2 {
  position: sticky;
  top: 2rem;
}

.intro-content p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.intro-content p.large {
  font-size: 1.375rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-label h2 {
    position: static;
  }
}

/* ============================================
   CAPABILITIES GRID
   ============================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.capability {
  background: var(--bg-primary);
  padding: 2.5rem;
  transition: background 0.3s ease;
}

.capability:hover {
  background: var(--bg-elevated);
}

.capability-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--amber);
  transition: all 0.3s ease;
}

.capability:hover .capability-icon {
  border-color: var(--amber);
  background: var(--amber-subtle);
}

.capability h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.capability p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

  .capability {
    padding: 2rem;
  }
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-section {
  padding: 4rem 0;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-subtle);
  border: 1px solid var(--amber-border);
  border-radius: 50%;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.trust-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-desc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .trust-badges {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 8rem 0;
}

.cta-content {
  max-width: 500px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ============================================
   SERVICE CARDS AS LINKS
   ============================================ */
a.service-card {
  display: block;
  text-decoration: none;
}

a.service-card h3 {
  transition: color 0.3s ease;
}

a.service-card:hover h3 {
  color: var(--amber);
}

.service-card .card-arrow {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--amber);
}

@media (max-width: 900px) {
  .service-card .card-arrow {
    bottom: 2rem;
    right: 2rem;
  }
}

/* ============================================
   RESPONSIVE REFINEMENTS
   ============================================ */
@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    padding: 4rem 1.25rem;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 20px;
  }

  .cta {
    padding: 1rem 2rem;
    font-size: 0.75rem;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    padding: 5rem 0;
  }

  .service-card {
    padding: 2rem;
  }

  #contact {
    padding: 6rem 0;
  }

  footer {
    padding: 3rem 1.25rem;
  }

  /* Service pages */
  .service-hero {
    min-height: 60vh;
    padding: 6rem 0;
  }

  .service-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .cta-section {
    padding: 5rem 0;
  }
}
