/*
Theme Name: DFC Suspension v1.0.10
Theme URI: https://www.dfcsuspension.com/
Author: DFC Suspension
Description: A native WordPress block theme for DFC Suspension.
Version: 1.0.10
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: dfc-suspension
*/

:root {
  --black: #101820;
  --black-soft: #101820;
  --graphite: #242426;
  --steel: #888B8D;
  --line: #d4d1cb;
  --paper: #f3f1ec;
  --white: #ffffff;
  --red: #DA291C;
  --red-bright: #DA291C;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > *,
.wp-block-group,
.wp-block-image,
.wp-block-buttons,
h1,
h2,
h3,
p,
ul {
  margin-block-start: 0;
  margin-block-end: 0;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--white);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.dfc-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 5vw;
  background: rgba(16, 24, 32, 0.97);
  color: var(--white);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.78;
  text-transform: uppercase;
}

.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
}

.brand-sub {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0.18rem;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.27em;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  background-image: url("assets/images/dfc-logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

.brand-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-logo-header {
  width: 185px;
  height: 65px;
}

.brand-logo-footer {
  width: 205px;
  height: 72px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.desktop-nav .wp-block-navigation__description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.desktop-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
  display: none !important;
}

.desktop-nav .wp-block-navigation__responsive-container-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease;
}

.desktop-nav .wp-block-navigation__responsive-container-open:hover {
  background: var(--graphite);
  color: var(--red-bright);
}

.desktop-nav .wp-block-navigation__responsive-container-open svg {
  width: 28px;
  height: 28px;
}

.desktop-nav .wp-block-navigation__responsive-container-close {
  top: 0.6rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  color: var(--white);
}

.desktop-nav .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  inset: 84px 5vw auto auto;
  display: block;
  width: min(320px, calc(100vw - 2.5rem));
  height: auto;
  min-height: 0;
  max-height: calc(100svh - 100px);
  padding: 0.75rem 1rem 1rem;
  overflow-y: auto;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.desktop-nav .wp-block-navigation__responsive-close,
.desktop-nav .wp-block-navigation__responsive-dialog,
.desktop-nav .wp-block-navigation__responsive-container-content {
  width: 100%;
  max-width: none;
}

.desktop-nav .wp-block-navigation__responsive-container-content {
  justify-content: flex-start;
  padding-top: 2.7rem;
}

.desktop-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0.12rem;
  width: 100%;
  margin: 0;
  border: 0;
}

.desktop-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  width: 100%;
  margin: 0;
  border: 0;
}

.desktop-nav .wp-block-navigation__responsive-container.is-menu-open a {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0.55rem 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color 180ms ease, padding-left 180ms ease;
}

.desktop-nav .wp-block-navigation__responsive-container.is-menu-open a:hover {
  color: var(--red-bright);
  padding-left: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: 52% 48%;
  grid-template-rows: minmax(620px, 1fr) 132px;
  min-height: calc(100svh - 84px);
  background: var(--black);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 6vw, 7.5rem) 4.2vw;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.6rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 4.5rem;
  height: 4px;
  background: var(--red);
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5.1vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.77;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-summary {
  max-width: 560px;
  margin: 2.2rem 0 0;
  color: #353537;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-actions {
  flex-wrap: nowrap;
}

.hero-actions .dfc-button {
  flex: 0 1 auto;
  min-width: min(100%, 240px);
}

.card-actions,
.section-actions {
  margin-top: 2rem;
}

.button,
.dfc-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 210px;
  min-height: 62px;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button span,
.dfc-button .wp-block-button__link span,
.text-link span {
  transition: transform 180ms ease;
}

.button:hover span,
.dfc-button .wp-block-button__link:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.button:hover,
.dfc-button .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.button-primary,
.dfc-button-primary .wp-block-button__link {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.dfc-button-primary .wp-block-button__link:hover {
  background: #DA291C;
}

.button-secondary,
.dfc-button-secondary .wp-block-button__link {
  border-color: var(--black);
  background: transparent;
}

.button-secondary:hover,
.dfc-button-secondary .wp-block-button__link:hover {
  background: var(--black);
  color: var(--white);
}

.hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #1b1b1c;
}

.hero-media .wp-block-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 32, 0.2), transparent 35%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.75) contrast(1.06);
  transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.hero-media:hover img {
  transform: scale(1.018);
}

.hero-media-logo {
  display: grid;
  place-items: center;
  background: var(--black);
}

.hero-media-logo::after {
  display: none;
}

.hero-media-logo .hero-logo {
  position: relative;
  inset: auto;
  z-index: 1;
  width: min(84%, 920px);
  height: auto;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 17 / 6;
}

.hero-media-logo .hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.hero-media-logo:hover .hero-logo img {
  transform: none;
}

.hero-caption {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #555557;
  background: var(--black);
  color: var(--white);
}

.hero-rail-item {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.25vw, 1.4rem);
  padding: 1.35rem clamp(0.9rem, 1.6vw, 1.8rem);
  border-right: 1px solid #555557;
  transition: background 180ms ease;
}

.hero-rail-item:last-child {
  border-right: 0;
}

.hero-rail-item:hover {
  background: var(--graphite);
}

.hero-rail-number {
  margin: 0;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
}

.hero-rail h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.15rem 5vw;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.proof-strip p {
  margin: 0;
  padding: 0.25rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.proof-strip p:last-child {
  border-right: 0;
}

.section {
  padding: clamp(5rem, 8vw, 8.5rem) 5vw;
}

.section > * {
  width: min(100%, 1320px);
  margin-right: auto;
  margin-left: auto;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.about-copy {
  color: #444448;
  font-size: 1.05rem;
}

.about-copy p {
  margin: 0 0 1.4rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.about-values p {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--black);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading,
.pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 5vw;
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-heading > p,
.pricing-header > p {
  margin: 0;
  color: #b3b3b6;
  font-size: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #3d3d40;
  border-left: 1px solid #3d3d40;
}

.service-grid-single {
  grid-template-columns: 1fr;
}

.service-grid-single .service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-grid-single .service-card-media,
.service-grid-single .service-card-content {
  min-height: 530px;
}

.service-grid-single .service-card-media {
  height: 530px;
}

.service-card {
  min-width: 0;
  background: var(--black-soft);
  border-right: 1px solid #3d3d40;
  border-bottom: 1px solid #3d3d40;
}

.service-card-media {
  height: 250px;
  overflow: hidden;
  background: var(--graphite);
}

.service-card-media .wp-block-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.92) contrast(1.15) brightness(0.78);
  transition: filter 250ms ease, transform 500ms ease;
}

.service-card:hover .service-card-media img {
  filter: grayscale(0.55) contrast(1.12) brightness(0.86);
  transform: scale(1.02);
}

.service-card-media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-card-media-split figure:first-child {
  border-right: 1px solid #3d3d40;
}

.service-card-content {
  position: relative;
  min-height: 530px;
  padding: clamp(2rem, 4vw, 4rem);
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.service-label {
  margin: 0 0 1rem;
  color: var(--red-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.service-card-content > p:not(.service-label, .scope-note) {
  max-width: 540px;
  margin: 0 0 1.5rem;
  color: #bcbcc0;
}

.service-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.8rem;
  align-items: start;
  color: #e0e0e2;
  font-size: 0.95rem;
}

.service-list li::before {
  content: "";
  width: 12px;
  height: 2px;
  margin-top: 0.72rem;
  background: var(--red-bright);
}

.scope-note {
  position: relative;
  z-index: 1;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #535358;
  color: #929297;
  font-size: 0.78rem;
  line-height: 1.6;
}

.engine-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(4rem, 8vw, 9rem);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.engine-feature > * {
  width: 100%;
}

.engine-feature-heading > p:not(.section-kicker) {
  max-width: 620px;
  margin: 2rem 0;
  color: #47474a;
  font-size: 1.05rem;
}

.text-link {
  margin: 0;
}

.text-link a {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--red);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.engine-feature-list {
  align-self: center;
  border-top: 1px solid var(--black);
}

.engine-feature-list > .engine-feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--black);
}

.engine-service-number {
  margin: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.engine-feature-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.engine-feature-note {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trackside {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--black);
  background-size: 42px 42px;
}

.trackside > * {
  width: 100%;
}

.coming-soon {
  display: inline-flex;
  margin-bottom: 2rem;
  padding: 0.42rem 0.8rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trackside-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin: 2rem 0 0;
  color: #b9b9bd;
}

.button-outline-light,
.dfc-button-outline-light .wp-block-button__link {
  margin-top: 2rem;
  border-color: #85858a;
  color: var(--white);
}

.button-outline-light:hover,
.dfc-button-outline-light .wp-block-button__link:hover {
  border-color: var(--red-bright);
  background: var(--red);
}

.trailer-placeholder {
  position: relative;
  min-height: 420px;
  padding: 2rem;
  border: 1px solid #57575b;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(218, 41, 28, 0.04));
}

.trailer-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #95959a;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trailer-status p {
  margin: 0;
}

.trailer-status strong {
  color: var(--red-bright);
}

.trailer-outline {
  position: relative;
  height: 225px;
  margin: 3rem 0 1.2rem;
}

.trailer-body {
  position: absolute;
  right: 9%;
  bottom: 38px;
  left: 3%;
  height: 170px;
  border: 3px solid #b8b8bc;
  background: linear-gradient(135deg, transparent 60%, rgba(218, 41, 28, 0.16));
}

.trailer-body::before {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 26%;
  height: 55%;
  border-top: 3px solid var(--red-bright);
  border-right: 3px solid var(--red-bright);
}

.trailer-brand {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.7;
}

.trailer-body::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 9px;
  width: 10%;
  height: 3px;
  background: #b8b8bc;
  transform: rotate(12deg);
  transform-origin: left;
}

.trailer-outline::before,
.trailer-outline::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: 6px;
  width: 64px;
  height: 64px;
  border: 10px solid #b8b8bc;
  border-radius: 50%;
  background: var(--black);
  box-shadow: inset 0 0 0 2px #4a4a4e;
}

.trailer-outline::before {
  right: 27%;
}

.trailer-outline::after {
  right: 13%;
}

.trailer-placeholder > p {
  margin: 0;
  color: #8d8d92;
  font-size: 0.78rem;
}

.section-heading-light > p {
  color: #55555a;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  list-style: none;
}

.process-step {
  min-height: 270px;
  padding: 2rem;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.process-number {
  margin: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.process-step h3 {
  margin: 3.5rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.process-step > p:not(.process-number) {
  margin: 0;
  color: #55555a;
  font-size: 0.9rem;
}

.pricing {
  background: var(--white);
}

.pricing-header > p {
  color: #545459;
}

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

.price-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 330px;
  padding: 2rem;
  background: var(--paper);
}

.price-qualifier {
  margin: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card h3 {
  max-width: 13ch;
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.price-card .price {
  margin: 2rem 0 1rem;
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
}

.price-description {
  align-self: end;
  margin: 0;
  color: #5d5d61;
  font-size: 0.82rem;
  line-height: 1.6;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.5rem;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.pricing-notes > div {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.pricing-note-label {
  margin-bottom: 0.6rem;
  color: #5f5f63;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.pricing-note-value {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.fine-print {
  max-width: 920px;
  margin-top: 1.3rem !important;
  color: #6d6d72;
  font-size: 0.72rem;
}

.partners {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.partners > * {
  width: 100%;
}

.partners h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #49494d;
  border-left: 1px solid #49494d;
}

.partner-grid p {
  margin: 0;
  padding: 1rem 1.25rem;
  border-right: 1px solid #49494d;
  border-bottom: 1px solid #49494d;
  color: #d5d5d7;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);
  gap: clamp(4rem, 8vw, 9rem);
  background: var(--red);
  color: var(--white);
}

.contact > * {
  width: 100%;
}

.contact .section-kicker {
  color: var(--white);
}

.contact .section-kicker::before {
  background: var(--white);
}

.contact h2 {
  max-width: 13ch;
}

.contact .button-primary,
.dfc-button-contact-primary .wp-block-button__link {
  background: var(--black);
}

.contact .button-primary:hover,
.dfc-button-contact-primary .wp-block-button__link:hover {
  background: var(--graphite);
}

.button-secondary-dark,
.dfc-button-secondary-dark .wp-block-button__link {
  border-color: var(--white);
  color: var(--white);
}

.button-secondary-dark:hover,
.dfc-button-secondary-dark .wp-block-button__link:hover {
  background: var(--white);
  color: var(--black);
}

.contact-details {
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.contact-detail-label {
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.72;
  text-transform: uppercase;
}

.contact-detail-value,
.contact-detail-value a {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

body:has(.dfc-form-modal:target) {
  overflow: hidden;
}

.dfc-form-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  overflow-y: auto;
  background: rgba(16, 24, 32, 0.92);
}

.dfc-form-modal:target {
  display: flex;
}

.dfc-form-panel {
  position: relative;
  width: min(100%, 760px);
  margin: auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-top: 8px solid var(--red);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color: var(--black);
}

.dfc-form-panel-wide {
  width: min(100%, 1100px);
}

.dfc-form-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--black);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.dfc-form-close:hover {
  color: var(--red);
}

.dfc-form-kicker {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dfc-form-panel h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

.dfc-form-intro {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: #454549;
  font-size: 1rem;
  line-height: 1.6;
}

.dfc-web-form {
  position: relative;
  margin-top: 2.5rem;
}

.dfc-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

.dfc-form-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dfc-field {
  min-width: 0;
}

.dfc-field-full {
  grid-column: 1 / -1;
}

.dfc-field > label,
.dfc-choice-group > legend,
.dfc-check-group > legend {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.dfc-field input,
.dfc-field select,
.dfc-field textarea {
  width: 100%;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid #9b9b9e;
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font: inherit;
  line-height: 1.35;
}

.dfc-field textarea {
  min-height: 130px;
  resize: vertical;
}

.dfc-field input:focus,
.dfc-field select:focus,
.dfc-field textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgba(218, 41, 28, 0.28);
  outline-offset: 1px;
}

.dfc-form-section {
  min-width: 0;
  margin: 0 0 2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
}

.dfc-form-section > legend {
  padding: 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dfc-radio-grid {
  margin: 1.25rem 0;
}

.dfc-choice-group,
.dfc-check-group {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
}

.dfc-choice-group label,
.dfc-check-group label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.55rem 0 0;
  line-height: 1.4;
}

.dfc-choice-group input,
.dfc-check-group input,
.dfc-authorization-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--red);
}

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

.dfc-authorization p {
  margin-top: 0;
  color: #454549;
  line-height: 1.6;
}

.dfc-authorization-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.25rem 0 1.5rem;
  font-weight: 600;
  line-height: 1.45;
}

.dfc-required-note {
  margin: 0 0 1rem;
  color: #59595c;
  font-size: 0.82rem;
}

.dfc-form-submit {
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.dfc-form-submit:hover {
  border-color: var(--black);
  background: var(--black);
  transform: translateY(-2px);
}

.dfc-form-notice {
  margin: 2rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--red);
  background: var(--white);
  font-weight: 600;
  line-height: 1.5;
}

.dfc-form-success {
  border-left-color: #2e7d32;
}

.dfc-form-error {
  border-left-color: var(--red);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.2rem 5vw;
  background: var(--black);
  color: #a5a5a9;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
}

.site-footer .footer-social p {
  font-size: 0.78rem;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .footer-copyright {
  margin: 0;
  font-size: 0.68rem;
}

.content-shell {
  min-height: 60vh;
  padding: clamp(4rem, 7vw, 7rem) 5vw;
}

.content-shell > * {
  width: min(100%, 800px);
  margin-right: auto;
  margin-left: auto;
}

.content-shell > h1,
.content-shell .wp-block-query-title {
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.post-card {
  padding: 2rem 0;
  border-top: 1px solid var(--black);
}

.post-card h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
}

.post-meta {
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--steel);
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 520px auto;
  }

  .hero-copy {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 11.5vw, 8rem);
  }

  .hero-media {
    grid-row: 2;
  }

  .hero-rail {
    grid-row: 3;
  }

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

  .proof-strip p:nth-child(2) {
    border-right: 0;
  }

  .proof-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .process-grid,
  .pricing-notes {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-rail-item {
    border-bottom: 1px solid #555557;
  }

  .hero-rail-item:nth-child(even) {
    border-right: 0;
  }

  .hero-rail-item:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .about-grid,
  .section-heading,
  .pricing-header,
  .engine-feature,
  .trackside,
  .partners,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .pricing-header {
    align-items: start;
  }

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

  .service-grid-single .service-card {
    grid-template-columns: 1fr;
  }

  .service-grid-single .service-card-media {
    height: 250px;
    min-height: 0;
  }

  .service-grid-single .service-card-content {
    min-height: 0;
  }

  .service-card-content {
    min-height: auto;
  }

  .trackside {
    gap: 4rem;
  }

  .trailer-placeholder {
    min-height: 380px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    min-height: 72px;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .desktop-nav .wp-block-navigation__responsive-container.is-menu-open {
    inset: 72px 1.25rem auto auto;
    width: min(300px, calc(100vw - 2.5rem));
    max-height: calc(100svh - 84px);
    padding: 0.65rem 0.85rem 0.85rem;
  }

  .desktop-nav .wp-block-navigation__responsive-container-close {
    top: 0.5rem;
    right: 0.55rem;
  }

  .brand-logo-header {
    width: 148px;
    height: 52px;
  }

  .hero {
    grid-template-rows: auto 360px auto;
  }

  .hero-copy {
    padding: 4.5rem 1.35rem;
  }

  .eyebrow,
  .section-kicker {
    gap: 0.75rem;
    font-size: 0.78rem;
  }

  .eyebrow::before,
  .section-kicker::before {
    width: 2.7rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16.2vw, 5.75rem);
  }

  .hero-summary {
    font-size: 0.98rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button,
  .dfc-button,
  .dfc-button .wp-block-button__link {
    width: 100%;
  }

  .hero-caption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    text-align: right;
  }

  .hero-rail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.25rem 0.8rem;
  }

  .hero-rail-number {
    font-size: 2.25rem;
  }

  .hero-rail h3 {
    font-size: clamp(1rem, 5.5vw, 1.45rem);
  }

  .service-grid-single .service-card-media {
    height: 210px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .proof-strip p {
    padding: 0.85rem 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .proof-strip p:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4.5rem 1.35rem;
  }

  .section h2 {
    font-size: clamp(2.9rem, 15vw, 4.3rem);
  }

  .about-grid {
    gap: 2.5rem;
  }

  .section-heading,
  .pricing-header {
    gap: 2rem;
  }

  .service-card-media {
    height: 210px;
  }

  .service-card-content {
    padding: 2rem 1.4rem;
  }

  .service-number {
    top: 1.8rem;
    right: 1.4rem;
  }

  .trailer-placeholder {
    min-height: 320px;
    padding: 1.25rem;
  }

  .trailer-outline {
    height: 180px;
    margin-top: 2.5rem;
  }

  .trailer-body {
    bottom: 35px;
    height: 125px;
  }

  .trailer-outline::before,
  .trailer-outline::after {
    width: 52px;
    height: 52px;
  }

  .process-grid,
  .pricing-grid,
  .pricing-notes,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .price-card {
    min-height: 0;
  }

  .process-step h3 {
    margin-top: 2rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2.5rem 1.35rem;
  }

  .dfc-form-modal {
    padding: 0;
  }

  .dfc-form-panel {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 4.5rem 1.25rem 2.5rem;
  }

  .dfc-form-panel h2 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .dfc-form-grid,
  .dfc-form-grid-three,
  .dfc-service-choices {
    grid-template-columns: 1fr;
  }

  .dfc-form-section {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
