/*
 * Alternate rendering modes only.
 * Default screen geometry remains governed by the core theme stylesheets.
 */

@media (prefers-contrast: more) {
  :root {
    --ft-muted: #D4DAE4;
    --ft-dim: #BAC4D2;
    --ft-border-gold: rgba(246, 207, 120, 0.54);
    --ft-border-gold-strong: rgba(255, 226, 151, 0.84);
    --ft-focus: 0 0 0 4px rgba(255, 232, 163, 0.52);
  }

  body::before {
    opacity: 0.42;
  }

  :focus-visible {
    outline-width: 3px;
    outline-color: var(--ft-gold-pale);
  }

  .ft-button,
  .ft-header-cta,
  .ft-menu-button,
  .ft-service-card,
  .ft-value-card,
  .ft-benefit-card,
  .ft-resource-grid article,
  .ft-trust-strip,
  .ft-fit-result,
  .ft-contact-form-fallback {
    border-color: var(--ft-border-gold-strong);
  }

  .ft-button-ghost,
  .ft-header-cta,
  .ft-menu-button {
    background: rgba(4, 7, 13, 0.94);
  }

  .ft-wpforms-shell input::placeholder,
  .ft-wpforms-shell textarea::placeholder {
    color: var(--ft-muted) !important;
    opacity: 1;
  }
}

@media (prefers-color-scheme: light) and (prefers-contrast: more) {
  :root {
    --ft-muted: #344352;
    --ft-dim: #445465;
    --ft-border-gold: rgba(112, 77, 9, 0.52);
    --ft-border-gold-strong: rgba(88, 59, 5, 0.78);
    --ft-focus: 0 0 0 4px rgba(112, 77, 9, 0.34);
  }

  .ft-button-ghost,
  .ft-header-cta,
  .ft-menu-button {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media print {
  @page {
    margin: 0.65in;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto !important;
    font-size: 10pt;
  }

  body,
  main,
  .ft-section,
  .ft-page-hero,
  .ft-service-detail,
  .ft-feature,
  .ft-proof,
  .ft-services,
  .ft-resources,
  .ft-service-area,
  .ft-location-market,
  .ft-cta-band,
  .ft-assessment {
    color: #111827 !important;
    background: #FFFFFF !important;
  }

  body {
    min-width: 0;
    -webkit-print-color-adjust: economy;
    print-color-adjust: economy;
  }

  body::before,
  .ft-header,
  .ft-hero-bg,
  .ft-hero-scene,
  .ft-hero-copy::before,
  .ft-hero-visual,
  .ft-page-emblem,
  .ft-scroll-cue,
  .ft-icon-sprite,
  .ft-menu-button,
  .ft-hero-actions,
  .ft-page-actions,
  .ft-cta-actions,
  .ft-contact-form,
  .ft-fit-form,
  .ft-button::before {
    display: none !important;
  }

  [data-reveal],
  [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .ft-container,
  .ft-hero-inner,
  .ft-page-hero-inner,
  .ft-feature-inner,
  .ft-service-intro,
  .ft-assessment-inner,
  .ft-service-area-inner,
  .ft-location-intro-grid,
  .ft-location-market-grid,
  .ft-location-proof-grid,
  .ft-location-faq-grid,
  .ft-footer-inner {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }

  .ft-hero,
  .ft-page-hero,
  .ft-error-page {
    min-height: 0 !important;
  }

  .ft-section {
    padding-block: 22pt !important;
    border-color: #CBD5E1 !important;
  }

  .ft-eyebrow,
  .ft-h1,
  .ft-h2,
  .ft-page-title,
  .ft-section-copy,
  .ft-page-lede,
  .ft-lede,
  .ft-service-card h3,
  .ft-value-card h3,
  .ft-benefit-card h3,
  .ft-resource-grid h3,
  .ft-contact-list,
  .ft-contact-fallback,
  .ft-fit-result {
    color: #111827 !important;
  }

  .ft-h1 em,
  .ft-h2 span,
  .ft-page-title span,
  .ft-red-text {
    color: #6E5418 !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ft-h1-content {
    color: #111827 !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #111827 !important;
  }

  .ft-h1-content em {
    color: #6E5418 !important;
    -webkit-text-fill-color: #6E5418 !important;
  }

  .ft-h1-content b {
    color: #991B1B !important;
    -webkit-text-fill-color: #991B1B !important;
  }

  .ft-trust-row,
  .ft-trust-row span {
    color: #111827 !important;
  }

  a {
    color: #111827 !important;
    text-decoration: underline !important;
  }

  .ft-service-grid,
  .ft-value-grid,
  .ft-benefit-grid,
  .ft-resource-grid,
  .ft-trust-strip,
  .ft-audit-list,
  .ft-start-path-grid {
    display: block !important;
    margin-top: 18pt !important;
  }

  .ft-service-card,
  .ft-value-card,
  .ft-benefit-card,
  .ft-resource-grid article,
  .ft-trust-strip,
  .ft-fit-result,
  .ft-contact-list li,
  details {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 12pt !important;
    padding: 12pt !important;
    break-inside: avoid;
    border: 1px solid #CBD5E1 !important;
    color: #111827 !important;
    background: #FFFFFF !important;
  }

  .ft-icon-chip {
    width: 44px !important;
    height: 44px !important;
    margin: 0 0 8pt !important;
    border: 1px solid #6E5418 !important;
    background: #FFFFFF !important;
  }

  .ft-icon-chip svg {
    width: 26px !important;
    height: 26px !important;
    color: #6E5418 !important;
  }

  h1,
  h2,
  h3,
  p,
  li {
    orphans: 3;
    widows: 3;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  .ft-footer {
    padding-block: 18pt !important;
    border-top: 1px solid #CBD5E1 !important;
    color: #111827 !important;
    background: #FFFFFF !important;
  }
}
