/*
Theme Name: Spearhead Clearance
Theme URI: https://spearheadclearance.com
Author: Idiom Digital
Description: Custom block theme for Spearhead Clearance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spearhead-clearance
*/

/* Base & Accessibility Settings */
html {
  scroll-behavior: smooth;
}

#how-it-works {
  scroll-margin-top: 120px;
}

:where(a, button, input, textarea, select, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid var(--wp--preset--color--signal-orange);
  outline-offset: 4px;
}

.has-warm-white-background-color .has-signal-orange-color {
  color: #b94700 !important;
}

@media (max-width: 781px) {
  #how-it-works {
    scroll-margin-top: 96px;
  }
}

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

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

/* Spearhead responsive layout refinements */

/* Header & Navigation */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.spearhead-site-header {
  border-bottom: 1px solid rgba(217, 214, 209, 0.12);
}

body.admin-bar header.wp-block-template-part {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.wp-block-template-part {
    top: 46px;
  }
}

/* Header navigation dropdown (Desktop) */
@media (min-width: 782px) {
  .spearhead-header-nav .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
    min-width: 290px;
    padding: 12px 0;
    background: var(--wp--preset--color--charcoal);
    border: 1px solid rgba(217, 214, 209, 0.22);
    box-shadow: none;
  }

  .spearhead-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
    width: 100%;
  }

  .spearhead-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    width: 100%;
    padding: 11px 20px;
    color: var(--wp--preset--color--white);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      padding-left 180ms ease;
  }

  .spearhead-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .spearhead-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
    padding-left: 26px;
    color: var(--wp--preset--color--signal-orange);
    background: rgba(255, 255, 255, 0.04);
  }

  .spearhead-header-nav .wp-block-navigation__submenu-icon {
    width: 12px;
    height: 12px;
    margin-left: 6px;
  }
}
/* --------------------------------------------------------------
   Sticky header glass state
-------------------------------------------------------------- */

header.wp-block-template-part {
  isolation: isolate;
}

header.wp-block-template-part::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: rgba(6, 6, 6, 0.97);

  opacity: 0;
  transition:
    opacity 220ms ease,
    background-color 220ms ease;

  border-bottom: 1px solid rgba(217, 214, 209, 0.14);
}

header.wp-block-template-part .spearhead-site-header {
  position: relative;
  z-index: 1;
  transition: background-color 220ms ease;
}

header.wp-block-template-part.is-scrolled::before {
  opacity: 1;
}

header.wp-block-template-part.is-scrolled .spearhead-site-header {
  background: transparent !important;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.wp-block-template-part::before {
    background: rgba(6, 6, 6, 0.84);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
  }
}

/* Header navigation (Mobile) */
@media (max-width: 781px) {
  .spearhead-header-cta {
    display: none !important;
  }

  header.wp-block-group > .wp-block-group.alignwide {
    justify-content: space-between !important;
  }

  header.wp-block-group .wp-block-navigation {
    margin-left: auto;
  }

  .spearhead-header-nav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 96px 32px 40px;
    background: var(--wp--preset--color--charcoal);
  }

  .spearhead-header-nav .wp-block-navigation__responsive-container-content {
    align-items: stretch;
  }

  .spearhead-header-nav .wp-block-navigation__container {
    align-items: stretch;
    width: 100%;
  }

  .spearhead-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    align-items: flex-start;
    width: 100%;
  }

  .spearhead-header-nav
    .wp-block-navigation__responsive-container.is-menu-open
    > .wp-block-navigation__responsive-dialog
    .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content {
    width: 100%;
    color: var(--wp--preset--color--white);
    font-size: 1.35rem;
    font-weight: 600;
    text-align: left;
  }

  .spearhead-header-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container {
    width: 100%;
    padding: 14px 0 6px 20px;
    background: transparent;
    border: 0;
  }

  .spearhead-header-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    width: 100%;
    padding: 8px 0;
    color: var(--wp--preset--color--stone);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
  }
}

/* Hero */
.spearhead-hero-content {
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-hero-overlay {
  background: linear-gradient(
    90deg,
    #0e0e0e 0%,
    rgba(14, 14, 14, 0.96) 32%,
    rgba(14, 14, 14, 0.76) 50%,
    rgba(14, 14, 14, 0.3) 72%,
    rgba(14, 14, 14, 0.12) 100%
  );
  opacity: 1;
}

.spearhead-hero-description {
  max-width: 42rem;
}

@media (max-width: 781px) {
  .spearhead-hero-content {
    width: calc(100% - 40px);
  }

  .spearhead-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(14, 14, 14, 0.78) 0%,
      rgba(14, 14, 14, 0.6) 55%,
      rgba(14, 14, 14, 0.28) 100%
    );
  }

  .spearhead-hero-description {
    max-width: calc(100% - 28px);
  }
}

/* Trust / Reassurance Strip */
.spearhead-trust-strip {
  border-bottom: 1px solid var(--wp--preset--color--stone);
}

.spearhead-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-trust-item {
  min-width: 0;
  padding-inline: 32px;
}

.spearhead-trust-item:first-child {
  padding-left: 0;
}

.spearhead-trust-item:last-child {
  padding-right: 0;
}

.spearhead-trust-item + .spearhead-trust-item {
  border-left: 1px solid var(--wp--preset--color--stone);
}

.spearhead-trust-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--wp--preset--color--signal-orange);
}

.spearhead-trust-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spearhead-trust-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.2;
}

.spearhead-trust-item p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .spearhead-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spearhead-trust-item {
    padding: 28px;
  }

  .spearhead-trust-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .spearhead-trust-item:nth-child(even) {
    padding-right: 0;
  }

  .spearhead-trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--wp--preset--color--stone);
  }
}

@media (max-width: 640px) {
  .spearhead-trust-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .spearhead-trust-item,
  .spearhead-trust-item:first-child,
  .spearhead-trust-item:last-child,
  .spearhead-trust-item:nth-child(odd),
  .spearhead-trust-item:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }

  .spearhead-trust-item:first-child {
    padding-top: 0;
  }

  .spearhead-trust-item:last-child {
    padding-bottom: 0;
  }

  .spearhead-trust-item + .spearhead-trust-item {
    border-top: 1px solid var(--wp--preset--color--stone);
  }
}

/* What We Clear (Services) */
.spearhead-services-layout {
  gap: clamp(48px, 6vw, 96px);
}

.spearhead-services-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spearhead-services-intro {
  max-width: 36rem;
  margin-top: 24px;
  line-height: 1.45;
}

.spearhead-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin-top: 48px;
}

.spearhead-service-list p {
  margin: 0;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-list a {
  position: relative;
  display: block;
  padding: 18px 16px 18px 28px;
  color: var(--wp--preset--color--charcoal);
  font-weight: 600;
  text-decoration: none;
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.spearhead-service-list a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid var(--wp--preset--color--signal-orange);
  transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-service-list a:hover {
    color: var(--wp--preset--color--signal-orange);
    padding-left: 34px;
  }
}

.spearhead-service-list a:focus-visible {
  color: var(--wp--preset--color--signal-orange);
  padding-left: 34px;
}

.spearhead-services-all {
  margin-top: 32px;
  font-weight: 700;
}

.spearhead-services-all a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

.spearhead-services-image {
  height: 100%;
  margin: 0;
}

.spearhead-services-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .spearhead-services-layout {
    gap: 48px;
  }

  .spearhead-service-list {
    column-gap: 32px;
  }

  .spearhead-services-image img {
    min-height: 460px;
  }
}

@media (max-width: 781px) {
  .spearhead-services-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-services-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .spearhead-services-intro {
    max-width: 100%;
    margin-top: 20px;
    font-size: 1.25rem !important;
    line-height: 1.45;
  }

  .spearhead-service-list {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .spearhead-service-list a {
    padding-block: 16px;
  }

  .spearhead-services-image img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

/* Photo Quote */
.spearhead-photo-quote-layout {
  gap: clamp(56px, 8vw, 120px);
}

.spearhead-photo-quote-copy {
  max-width: 48rem;
  margin-top: 24px;
  line-height: 1.5;
}

.spearhead-photo-quote-note {
  margin-top: 16px;
}

.spearhead-photo-quote-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.spearhead-photo-quote-step {
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.spearhead-photo-quote-step h3,
.spearhead-photo-quote-step p {
  margin-top: 0;
}

.spearhead-photo-quote-step h3 {
  margin-bottom: 6px;
  font-weight: 700;
}

.spearhead-photo-quote-step p:last-child {
  margin-bottom: 0;
  line-height: 1.45;
}

.spearhead-photo-quote-number {
  flex: 0 0 auto;
  min-width: 42px;
  margin: 0;
  color: var(--wp--preset--color--signal-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 781px) {
  .spearhead-photo-quote {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-photo-quote-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .spearhead-photo-quote-copy {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-photo-quote-step {
    gap: 16px;
    padding: 20px 0;
  }
}

/* How It Works (Process) */
.spearhead-process-heading {
  max-width: 1480px;
}

.spearhead-process-intro {
  max-width: 42rem;
  margin-top: 24px;
  line-height: 1.5;
}

.spearhead-process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
  margin-top: 72px;
  padding-top: 34px;
}

/* Horizontal spear line */
.spearhead-process-track::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 18px;
  height: 1px;
  background: var(--wp--preset--color--charcoal);
  opacity: 0.45;
}

/* Spearhead at end of journey */
.spearhead-process-track::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 11px solid var(--wp--preset--color--signal-orange);
}

.spearhead-process-step {
  position: relative;
  min-width: 0;
}

/* Journey markers */
.spearhead-process-step::before {
  content: "";
  position: absolute;
  top: -31px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--wp--preset--color--signal-orange);
  transform: rotate(45deg);
}

.spearhead-process-number {
  margin: 0 0 18px;
  color: var(--wp--preset--color--signal-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spearhead-process-step h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.spearhead-process-step p:last-child {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 781px) {
  .spearhead-process-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-process-intro {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-process-track {
    display: block;
    width: calc(100% - 40px);
    margin-top: 48px;
    padding-top: 0;
    padding-left: 40px;
  }

  /* Vertical spear line */
  .spearhead-process-track::before {
    top: 0;
    bottom: 18px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  /* Downward spearhead */
  .spearhead-process-track::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 11px solid var(--wp--preset--color--signal-orange);
    border-bottom: 0;
  }

  .spearhead-process-step {
    padding-bottom: 42px;
  }

  .spearhead-process-step:last-child {
    padding-bottom: 18px;
  }

  .spearhead-process-step::before {
    top: 4px;
    left: -39px;
  }

  .spearhead-process-number {
    margin-bottom: 10px;
  }
}

/* Why Spearhead */
.spearhead-why-layout {
  gap: clamp(56px, 8vw, 120px);
}

.spearhead-why-intro {
  max-width: 30rem;
  margin-top: 24px;
  line-height: 1.5;
}

.spearhead-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spearhead-why-grid > .spearhead-why-item {
  margin-block-start: 0 !important;
}

.spearhead-why-item {
  min-width: 0;
  padding-inline: 36px;
}

.spearhead-why-item:first-child {
  padding-left: 0;
}

.spearhead-why-item:last-child {
  padding-right: 0;
}

.spearhead-why-item + .spearhead-why-item {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.spearhead-why-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
  color: var(--wp--preset--color--signal-orange);
}

.spearhead-why-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spearhead-why-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.spearhead-why-item p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .spearhead-why-layout {
    gap: 48px;
  }

  .spearhead-why-grid {
    grid-template-columns: 1fr;
  }

  .spearhead-why-item,
  .spearhead-why-item:first-child,
  .spearhead-why-item:last-child {
    padding: 28px 0;
  }

  .spearhead-why-item:first-child {
    padding-top: 0;
  }

  .spearhead-why-item:last-child {
    padding-bottom: 0;
  }

  .spearhead-why-item + .spearhead-why-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 781px) {
  .spearhead-why-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-why-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .spearhead-why-intro {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-why-icon {
    margin-bottom: 18px;
  }
}

/* Customer Reviews */
.spearhead-reviews-layout {
  gap: clamp(56px, 8vw, 120px);
}

.spearhead-reviews-intro {
  max-width: 24rem;
  margin-top: 24px;
  line-height: 1.5;
}

.spearhead-review-feature {
  padding-left: clamp(40px, 5vw, 80px);
  border-left: 1px solid var(--wp--preset--color--stone);
}

.spearhead-review-stars {
  margin: 0 0 24px;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
}

.spearhead-review-quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.spearhead-review-quote p {
  max-width: 52rem;
  margin: 0;
  color: var(--wp--preset--color--charcoal);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.spearhead-review-quote cite {
  display: block;
  margin-top: 24px;
  color: var(--wp--preset--color--slate);
  font-size: 0.875rem;
  font-style: normal;
}

.spearhead-review-link {
  margin-top: 32px;
  font-weight: 700;
}

.spearhead-review-link a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

@media (max-width: 781px) {
  .spearhead-reviews-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-reviews-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .spearhead-reviews-intro {
    max-width: 100%;
  }

  .spearhead-review-feature {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid var(--wp--preset--color--stone);
    border-left: 0;
  }

  .spearhead-review-quote p {
    font-size: 1.75rem;
  }
}

/* Recent Clearance */
.spearhead-recent-layout {
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-recent-heading {
  margin-bottom: 48px;
}

.spearhead-recent-case {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  margin-block-start: 0 !important;
}

.spearhead-recent-image-placeholder {
  min-height: 460px;
  padding: 40px;
  background: linear-gradient(145deg, var(--wp--preset--color--stone), var(--wp--preset--color--warm-white));
}

.spearhead-recent-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-block-start: 0 !important;
  padding: clamp(40px, 5vw, 72px);
  border: 1px solid var(--wp--preset--color--stone);
  border-left: 0;
}

.spearhead-recent-details h3 {
  margin-top: 12px;
  margin-bottom: 20px;
}

.spearhead-recent-copy {
  max-width: 30rem;
  margin-top: 0;
  line-height: 1.6;
}

.spearhead-recent-link {
  margin-top: 32px;
  font-weight: 700;
}

@media (max-width: 781px) {
  .spearhead-recent-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-recent-layout {
    width: calc(100% - 40px);
  }

  .spearhead-recent-heading {
    margin-bottom: 32px;
  }

  .spearhead-recent-case {
    grid-template-columns: 1fr;
  }

  .spearhead-recent-image-placeholder {
    min-height: 320px;
    padding: 24px;
  }

  .spearhead-recent-details {
    padding: 32px 0 0;
    border: 0;
  }
}

/* Areas Covered */
.spearhead-areas-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(300px, 1fr)
    minmax(240px, 0.65fr);
  gap: clamp(48px, 6vw, 96px);
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-areas-layout > * {
  margin-block-start: 0 !important;
}

.spearhead-areas-intro {
  max-width: 36rem;
  margin-top: 24px;
  line-height: 1.5;
}

.spearhead-areas-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
}

.spearhead-areas-list p {
  position: relative;
  margin: 0;
  padding: 14px 12px 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--wp--preset--color--stone);
  font-size: 0.95rem;
}

.spearhead-areas-list p:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.spearhead-areas-list p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--wp--preset--color--signal-orange);
  transform: translateY(-50%);
}

.spearhead-areas-cta {
  align-self: center;
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.spearhead-areas-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  color: var(--wp--preset--color--signal-orange);
}

.spearhead-areas-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spearhead-areas-cta h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
}

.spearhead-areas-cta p {
  margin-top: 0;
  line-height: 1.5;
}

.spearhead-areas-link {
  margin-top: 24px !important;
  font-weight: 700;
}

.spearhead-areas-link a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .spearhead-areas-layout {
    grid-template-columns: 1fr 1fr;
  }

  .spearhead-areas-heading {
    grid-column: 1 / -1;
  }

  .spearhead-areas-cta {
    padding-left: 40px;
  }
}

@media (max-width: 781px) {
  .spearhead-areas-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-areas-layout {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    gap: 48px;
  }

  .spearhead-areas-heading {
    grid-column: auto;
  }

  .spearhead-areas-intro {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-areas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spearhead-areas-cta {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }
}

@media (max-width: 360px) {
  .spearhead-areas-list p:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .spearhead-areas-list p:last-child {
    border-bottom: 0;
  }
}

/* Responsible Disposal */
.spearhead-disposal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  grid-template-areas:
    "heading copy"
    "note    copy";
  column-gap: clamp(64px, 8vw, 128px);
  row-gap: 48px;
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-disposal-layout > * {
  margin-block-start: 0 !important;
}

.spearhead-disposal-heading {
  grid-area: heading;
}

.spearhead-disposal-copy {
  grid-area: copy;
  align-self: center;
}

.spearhead-disposal-copy > p:first-child {
  max-width: 52rem;
  margin-top: 0;
  line-height: 1.55;
}

.spearhead-disposal-link {
  margin-top: 28px;
  font-weight: 700;
}

.spearhead-disposal-link a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

.spearhead-disposal-note {
  grid-area: note;
  align-self: end;
  max-width: 18rem;
  padding-top: 28px;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-disposal-note p {
  margin: 0;
  line-height: 1.55;
}

.spearhead-disposal-mark {
  margin-bottom: 20px;
}

.spearhead-disposal-mark span {
  position: relative;
  display: block;
  width: 72px;
  height: 2px;
  background: var(--wp--preset--color--signal-orange);
}

.spearhead-disposal-mark span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 10px solid var(--wp--preset--color--signal-orange);
  transform: translateY(-50%);
}

@media (max-width: 781px) {
  .spearhead-disposal-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-disposal-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "copy"
      "note";
    width: calc(100% - 40px);
    gap: 40px;
  }

  .spearhead-disposal-copy > p:first-child {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-disposal-note {
    max-width: 100%;
    padding-top: 32px;
  }
}

/* Final CTA 
.spearhead-final-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-final-cta-layout > * {
  margin-block-start: 0 !important;
}

.spearhead-final-cta-intro {
  max-width: 38rem;
  margin-top: 20px;
  line-height: 1.5;
}

.spearhead-final-cta-actions {
  min-width: max-content;
}

.spearhead-final-cta-actions .wp-block-button__link {
  padding: 18px 34px;
  font-size: 1.125rem;
}

.spearhead-final-cta-secondary {
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
}

.spearhead-final-cta-secondary a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .spearhead-final-cta-layout {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 781px) {
  .spearhead-final-cta {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-final-cta-layout {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    gap: 36px;
  }

  .spearhead-final-cta-intro {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-final-cta-actions {
    min-width: 0;
  }

  .spearhead-final-cta-actions .wp-block-buttons,
  .spearhead-final-cta-actions .wp-block-button,
  .spearhead-final-cta-actions .wp-block-button__link {
    width: 100%;
  }

  .spearhead-final-cta-actions .wp-block-button__link {
    padding: 18px 28px;
    font-size: 1.125rem;
  }

  .spearhead-final-cta-secondary {
    text-align: center;
  }
}
*/
/* --------------------------------------------------------------
   Final CTA
-------------------------------------------------------------- */

.spearhead-final-cta {
  border-top: 1px solid rgba(14, 14, 14, 0.1);
}

.spearhead-final-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: center;
}

.spearhead-final-cta-copy {
  max-width: 720px;
}

.spearhead-final-cta-copy > * {
  margin-block-start: 0;
}

.spearhead-final-cta-copy > * + * {
  margin-block-start: 12px;
}

.spearhead-final-cta-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.spearhead-final-cta-actions .wp-block-button__link {
  padding: 16px 28px;
}

@media (max-width: 700px) {
  .spearhead-final-cta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spearhead-final-cta-actions {
    justify-content: stretch;
  }

  .spearhead-final-cta-actions,
  .spearhead-final-cta-actions .wp-block-button,
  .spearhead-final-cta-actions .wp-block-button__link {
    width: 100%;
  }

  .spearhead-final-cta-actions .wp-block-button__link {
    text-align: center;
  }
}
/* Footer */
.spearhead-footer {
  border-top: 2px solid rgba(217, 214, 209, 0.32);
}

.spearhead-footer-inner {
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-footer-inner > *,
.spearhead-footer-main > *,
.spearhead-footer-brand > *,
.spearhead-footer-nav > *,
.spearhead-footer-bottom > * {
  margin-block-start: 0 !important;
}

.spearhead-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(64px, 10vw, 160px);
}

.spearhead-footer-logo {
  margin: 0;
}

.spearhead-footer-logo img {
  display: block;
  width: 210px;
  height: auto;
}

.spearhead-footer-tagline {
  margin-top: 16px !important;
  margin-bottom: 0;
}

.spearhead-footer-location {
  margin-top: 8px !important;
  margin-bottom: 0;
}

.spearhead-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: clamp(40px, 5vw, 72px);
  row-gap: 18px;
}

.spearhead-footer-nav p {
  margin: 0;
}

.spearhead-footer-nav a {
  color: var(--wp--preset--color--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-footer-nav a:hover {
    color: var(--wp--preset--color--signal-orange);
  }
}

.spearhead-footer-nav a:focus-visible {
  color: var(--wp--preset--color--signal-orange);
}

.spearhead-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.spearhead-footer-bottom p {
  margin: 0;
}

@media (max-width: 781px) {
  .spearhead-footer {
    padding-top: 64px !important;
    padding-bottom: 32px !important;
  }

  .spearhead-footer-inner {
    width: calc(100% - 40px);
  }

  .spearhead-footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spearhead-footer-logo img {
    width: 145px;
  }

  .spearhead-footer-tagline {
    margin-top: 12px !important;
    font-size: 1.1rem !important;
    line-height: 1.4;
  }

  .spearhead-footer-location {
    margin-top: 6px !important;
  }

  .spearhead-footer-nav {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 48px;
    row-gap: 20px;
  }

  .spearhead-footer-bottom {
    flex-direction: column;
    gap: 10px;
    margin-top: 48px !important;
  }
}
/* ==========================================================================
   Services Page
   ========================================================================== */

/* Services hub */
.spearhead-inner-hero-content,
.spearhead-services-directory-inner,
.spearhead-clients-inner {
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-inner-hero-content > *,
.spearhead-services-directory-inner > *,
.spearhead-services-directory-grid > *,
.spearhead-clients-inner > *,
.spearhead-clients-list > * {
  margin-block-start: 0 !important;
}

.spearhead-inner-hero-intro {
  max-width: 46rem;
  margin-top: 28px;
  line-height: 1.5;
}

.spearhead-services-directory-heading {
  max-width: 52rem;
  margin-bottom: 56px;
}

.spearhead-services-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-directory-item {
  position: relative;
  padding: 40px 48px 44px 0;
  border-bottom: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-directory-item:nth-child(even) {
  padding-right: 0;
  padding-left: 48px;
  border-left: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-directory-number {
  margin: 0 0 32px;
  color: #b94700;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spearhead-service-directory-item h3 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  line-height: 1.05;
}

.spearhead-service-directory-item h3 a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

.spearhead-service-directory-copy {
  max-width: 34rem;
  margin: 0;
  color: var(--wp--preset--color--slate);
  line-height: 1.6;
}

.spearhead-service-directory-link {
  margin: 28px 0 0;
  font-weight: 700;
}

.spearhead-service-directory-link a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-service-directory-item h3 a:hover,
  .spearhead-service-directory-link a:hover {
    color: var(--wp--preset--color--signal-orange);
  }
}

.spearhead-clients-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.spearhead-clients-list {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
  gap: 24px;
}

.spearhead-clients-list p {
  margin: 0;
  font-weight: 700;
}

.spearhead-clients-list p::before {
  content: "›";
  margin-right: 10px;
  color: var(--wp--preset--color--signal-orange);
}

/* Services hub mobile */
@media (max-width: 781px) {
  .spearhead-inner-hero,
  .spearhead-services-directory,
  .spearhead-clients-strip {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-inner-hero-content,
  .spearhead-services-directory-inner,
  .spearhead-clients-inner {
    width: calc(100% - 40px);
  }

  .spearhead-inner-hero-intro {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-services-directory-heading {
    margin-bottom: 36px;
  }

  .spearhead-services-directory-grid {
    grid-template-columns: 1fr;
  }

  .spearhead-service-directory-item,
  .spearhead-service-directory-item:nth-child(even) {
    padding: 28px 0 32px;
    border-left: 0;
  }

  .spearhead-service-directory-number {
    margin-bottom: 20px;
  }

  .spearhead-clients-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spearhead-clients-list {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 48px;
    row-gap: 18px;
  }
}

@media (max-width: 420px) {
  .spearhead-clients-list {
    grid-template-columns: 1fr;
  }
}
/* Individual service pages */
.spearhead-service-page > * {
  margin-block-start: 0 !important;
}

.spearhead-service-hero-inner,
.spearhead-service-scope-inner,
.spearhead-service-audience-inner,
.spearhead-service-process-inner,
.spearhead-related-services-inner {
  width: min(calc(100% - 40px), 1480px);
  max-width: none;
  margin-inline: auto;
}

.spearhead-service-hero-inner > *,
.spearhead-service-scope-inner > *,
.spearhead-service-audience-inner > *,
.spearhead-service-process-inner > *,
.spearhead-service-process-grid > *,
.spearhead-related-services-inner > *,
.spearhead-related-services-list > * {
  margin-block-start: 0 !important;
}

.spearhead-service-hero-intro {
  max-width: 48rem;
  margin-top: 28px;
  line-height: 1.5;
}

/* Scope */
.spearhead-service-scope-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  column-gap: clamp(64px, 8vw, 128px);
}

.spearhead-service-scope-heading {
  grid-column: 1;
}

.spearhead-service-scope-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.spearhead-service-scope-copy p {
  line-height: 1.6;
}

.spearhead-service-scope-copy p + p {
  margin-top: 24px;
}

.spearhead-service-scope-list {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin-top: 48px !important;
}

.spearhead-service-scope-list p {
  position: relative;
  margin: 0;
  padding: 15px 12px 15px 22px;
  border-top: 1px solid var(--wp--preset--color--stone);
  font-weight: 600;
}

.spearhead-service-scope-list p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--wp--preset--color--signal-orange);
  transform: translateY(-50%);
}

/* Audience */
.spearhead-service-audience-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.spearhead-service-audience-list {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  gap: 24px;
}

.spearhead-service-audience-list p {
  margin: 0;
  font-weight: 700;
}

.spearhead-service-audience-list p::before {
  content: "›";
  margin-right: 10px;
  color: var(--wp--preset--color--signal-orange);
}

/* Service-specific process */
.spearhead-service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: 56px !important;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-process-item {
  padding: 36px;
  border-bottom: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-process-item:first-child {
  padding-left: 0;
}

.spearhead-service-process-item + .spearhead-service-process-item {
  border-left: 1px solid var(--wp--preset--color--stone);
}

.spearhead-service-process-item span {
  display: block;
  margin-bottom: 28px;
  color: #b94700;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spearhead-service-process-item h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
}

.spearhead-service-process-item p {
  margin: 0;
  color: var(--wp--preset--color--slate);
  line-height: 1.55;
}

/* Related services */
.spearhead-related-services {
  border-top: 1px solid rgba(14, 14, 14, 0.1);
  border-bottom: 1px solid rgba(14, 14, 14, 0.1);
}
.spearhead-related-services-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.spearhead-related-services-list {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  gap: 32px;
}

.spearhead-related-services-list p {
  margin: 0;
}

.spearhead-related-services-list a {
  color: var(--wp--preset--color--charcoal);
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-related-services-list a:hover {
    color: var(--wp--preset--color--signal-orange);
  }
}

/* Individual service pages — mobile */
@media (max-width: 781px) {
  .spearhead-service-hero,
  .spearhead-service-scope,
  .spearhead-service-audience,
  .spearhead-service-process,
  .spearhead-related-services {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .spearhead-service-hero-inner,
  .spearhead-service-scope-inner,
  .spearhead-service-audience-inner,
  .spearhead-service-process-inner,
  .spearhead-related-services-inner {
    width: calc(100% - 40px);
  }

  .spearhead-service-hero-intro {
    max-width: 100%;
    font-size: 1.125rem !important;
  }

  .spearhead-service-scope-inner {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .spearhead-service-scope-heading,
  .spearhead-service-scope-copy,
  .spearhead-service-scope-list {
    grid-column: 1;
    grid-row: auto;
  }

  .spearhead-service-scope-list {
    grid-template-columns: 1fr;
    margin-top: 0 !important;
  }

  .spearhead-service-audience-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spearhead-service-audience-list {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 48px;
    row-gap: 18px;
  }

  .spearhead-service-process-grid {
    grid-template-columns: 1fr;
    margin-block-start: 40px !important;
  }

  .spearhead-service-process-item,
  .spearhead-service-process-item:first-child {
    padding: 28px 0;
  }

  .spearhead-service-process-item + .spearhead-service-process-item {
    border-left: 0;
  }

  .spearhead-related-services-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spearhead-related-services-list {
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 18px;
  }
}

/* --------------------------------------------------------------
   Areas page
-------------------------------------------------------------- */

.spearhead-areas-page > * {
  margin-block-start: 0 !important;
}

.spearhead-areas-hero-intro {
  max-width: 720px;
}

.spearhead-coverage-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(64px, 8vw, 140px);
  align-items: start;
}

.spearhead-coverage-intro {
  max-width: 560px;
}

.spearhead-coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.spearhead-coverage-list > p {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--wp--preset--color--stone);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
}

.spearhead-coverage-list > p:nth-child(-n + 2) {
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-coverage-list span {
  flex: 0 0 auto;
  color: var(--wp--preset--color--signal-orange);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.spearhead-area-check-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(64px, 8vw, 140px);
  align-items: start;
}

.spearhead-area-check-copy {
  max-width: 650px;
}

.spearhead-area-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 56px !important;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-area-process-item {
  padding: 32px 32px 0 0;
}

.spearhead-area-process-item + .spearhead-area-process-item {
  padding-left: 32px;
  border-left: 1px solid var(--wp--preset--color--stone);
}

.spearhead-area-process-item > span {
  display: block;
  margin-bottom: 32px;
  color: var(--wp--preset--color--signal-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spearhead-area-process-item h3 {
  margin: 0 0 14px;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.spearhead-area-process-item p {
  margin: 0;
  max-width: 340px;
  color: var(--wp--preset--color--slate);
}

/* Tablet / mobile */

@media (max-width: 900px) {
  .spearhead-coverage-inner,
  .spearhead-area-check-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spearhead-coverage-intro,
  .spearhead-area-check-copy {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .spearhead-coverage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .spearhead-coverage-list > p {
    gap: 10px;
    padding: 16px 0;
    font-size: 1.05rem;
  }

  .spearhead-area-process-grid {
    grid-template-columns: 1fr;
    margin-block-start: 40px !important;
  }

  .spearhead-area-process-item,
  .spearhead-area-process-item + .spearhead-area-process-item {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--wp--preset--color--stone);
  }

  .spearhead-area-process-item:first-child {
    border-top: 0;
  }

  .spearhead-area-process-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .spearhead-area-process-item > span {
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .spearhead-coverage-list {
    grid-template-columns: 1fr;
  }

  .spearhead-coverage-list > p:nth-child(2) {
    border-top: 0;
  }
}
/* --------------------------------------------------------------
   About page
-------------------------------------------------------------- */

.spearhead-about-page > * {
  margin-block-start: 0 !important;
}

.spearhead-about-hero-intro {
  max-width: 760px;
}

.spearhead-about-intro-inner,
.spearhead-about-clients-inner,
.spearhead-about-local-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(64px, 8vw, 140px);
  align-items: start;
}

.spearhead-about-intro-copy,
.spearhead-about-local-copy {
  max-width: 680px;
}
.spearhead-about-experience {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-about-experience > span {
  color: var(--wp--preset--color--signal-orange);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.spearhead-about-experience p {
  margin: 0;
  color: var(--wp--preset--color--slate);
  line-height: 1.4;
}

.spearhead-about-experience strong {
  color: var(--wp--preset--color--charcoal);
  font-size: 1.05rem;
}

.spearhead-about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 56px !important;
  border-top: 1px solid rgba(14, 14, 14, 0.18);
}

.spearhead-about-principle {
  padding: 32px 32px 0 0;
}

.spearhead-about-principle + .spearhead-about-principle {
  padding-left: 32px;
  border-left: 1px solid rgba(14, 14, 14, 0.18);
}

.spearhead-about-principle span {
  display: block;
  margin-bottom: 32px;
  color: var(--wp--preset--color--signal-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spearhead-about-principle h3 {
  margin: 0 0 14px;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.spearhead-about-principle p {
  margin: 0;
  max-width: 390px;
  color: var(--wp--preset--color--slate);
}

.spearhead-about-client-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.spearhead-about-client-list p {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(217, 214, 209, 0.22);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 700;
}

.spearhead-about-client-list p:nth-child(-n + 2) {
  border-top: 1px solid rgba(217, 214, 209, 0.22);
}

.spearhead-about-client-list span {
  flex: 0 0 auto;
  color: var(--wp--preset--color--signal-orange);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.spearhead-about-local-copy a {
  color: var(--wp--preset--color--charcoal);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-about-local-copy a:hover {
    color: var(--wp--preset--color--signal-orange);
  }
}

@media (max-width: 900px) {
  .spearhead-about-intro-inner,
  .spearhead-about-clients-inner,
  .spearhead-about-local-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spearhead-about-intro-copy,
  .spearhead-about-local-copy {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .spearhead-about-principles-grid {
    grid-template-columns: 1fr;
    margin-block-start: 40px !important;
  }

  .spearhead-about-principle,
  .spearhead-about-principle + .spearhead-about-principle {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(14, 14, 14, 0.18);
  }

  .spearhead-about-principle:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .spearhead-about-principle span {
    margin-bottom: 18px;
  }

  .spearhead-about-client-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .spearhead-about-client-list p {
    gap: 10px;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .spearhead-about-client-list {
    grid-template-columns: 1fr;
  }

  .spearhead-about-client-list p:nth-child(2) {
    border-top: 0;
  }
}
/* --------------------------------------------------------------
   Contact page
-------------------------------------------------------------- */

.spearhead-contact-page > * {
  margin-block-start: 0 !important;
}

.spearhead-contact-hero-intro {
  max-width: 760px;
}

.spearhead-contact-main-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(64px, 8vw, 140px);
  align-items: start;
}

.spearhead-contact-intro {
  max-width: 560px;
}

.spearhead-contact-guide {
  margin-top: 48px;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-contact-guide p {
  display: flex;
  gap: 20px;
  align-items: baseline;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--wp--preset--color--stone);
}

.spearhead-contact-guide span {
  color: var(--wp--preset--color--signal-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.spearhead-contact-form-column {
  max-width: 760px;
}

.spearhead-quote-form {
  display: grid;
  gap: 28px;
}

.spearhead-form-row--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.spearhead-form-field {
  display: grid;
  gap: 10px;
}

.spearhead-form-field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.spearhead-form-field label span,
.spearhead-form-required,
.spearhead-form-help {
  color: var(--wp--preset--color--slate);
  font-size: 0.82rem;
  font-weight: 400;
}

.spearhead-quote-form input[type="text"],
.spearhead-quote-form input[type="email"],
.spearhead-quote-form input[type="tel"],
.spearhead-quote-form input[type="file"],
.spearhead-quote-form select,
.spearhead-quote-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--wp--preset--color--stone);
  border-radius: 0;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--charcoal);
  font: inherit;
}

.spearhead-quote-form textarea {
  min-height: 180px;
  resize: vertical;
}

.spearhead-quote-form input:focus,
.spearhead-quote-form select:focus,
.spearhead-quote-form textarea:focus {
  outline: 2px solid var(--wp--preset--color--signal-orange);
  outline-offset: 2px;
}

.spearhead-quote-form input[type="file"] {
  padding: 10px;
}

.spearhead-quote-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 14px;
  border: 0;
  background: var(--wp--preset--color--charcoal);
  color: var(--wp--preset--color--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.spearhead-form-help {
  margin: 0;
}

.spearhead-form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 650px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.spearhead-form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--wp--preset--color--signal-orange);
}

.spearhead-form-submit {
  justify-self: start;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--wp--preset--color--signal-orange);
  color: var(--wp--preset--color--charcoal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-form-submit:hover {
    transform: translateY(-1px);
  }
}

.spearhead-form-required {
  margin: -12px 0 0;
}

.spearhead-form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.spearhead-form-notice {
  margin-bottom: 32px;
  padding: 18px 20px;
  border-left: 4px solid var(--wp--preset--color--charcoal);
  background: var(--wp--preset--color--stone);
}
.spearhead-form-note--restrictions {
  margin-top: 4px;
  padding: 18px 20px;
  border-left: 3px solid var(--wp--preset--color--signal-orange);
  background: var(--wp--preset--color--stone);
}

.spearhead-form-note--restrictions p {
  margin: 0;
  color: var(--wp--preset--color--slate);
  line-height: 1.55;
}

.spearhead-form-note--restrictions p:first-child {
  margin-bottom: 6px;
  color: var(--wp--preset--color--charcoal);
}

.spearhead-form-notice p {
  margin: 6px 0 0;
}

.spearhead-form-notice--success {
  border-left-color: var(--wp--preset--color--signal-orange);
}

.spearhead-contact-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 56px !important;
  border-top: 1px solid rgba(14, 14, 14, 0.18);
}

.spearhead-contact-next-item {
  padding: 32px 32px 0 0;
}

.spearhead-contact-next-item + .spearhead-contact-next-item {
  padding-left: 32px;
  border-left: 1px solid rgba(14, 14, 14, 0.18);
}

.spearhead-contact-next-item > span {
  display: block;
  margin-bottom: 32px;
  color: var(--wp--preset--color--signal-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spearhead-contact-next-item h3 {
  margin: 0 0 14px;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.spearhead-contact-next-item p {
  margin: 0;
  max-width: 360px;
  color: var(--wp--preset--color--slate);
}

@media (max-width: 900px) {
  .spearhead-contact-main-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .spearhead-contact-intro,
  .spearhead-contact-form-column {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .spearhead-form-row--two {
    grid-template-columns: 1fr;
  }

  .spearhead-contact-guide {
    margin-top: 36px;
  }

  .spearhead-form-submit {
    width: 100%;
  }

  .spearhead-contact-next-grid {
    grid-template-columns: 1fr;
    margin-block-start: 40px !important;
  }

  .spearhead-contact-next-item,
  .spearhead-contact-next-item + .spearhead-contact-next-item {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(14, 14, 14, 0.18);
  }

  .spearhead-contact-next-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .spearhead-contact-next-item > span {
    margin-bottom: 18px;
  }
}

.spearhead-contact-direct {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--wp--style--global--wide-size);
  margin: 72px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--wp--preset--color--stone);
}

.spearhead-contact-direct div {
  display: grid;
  gap: 6px;
}

.spearhead-contact-direct span {
  color: var(--wp--preset--color--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spearhead-contact-direct a,
.spearhead-contact-direct p {
  margin: 0;
  color: var(--wp--preset--color--charcoal);
  font-weight: 700;
  text-decoration: none;
}

.spearhead-contact-direct a:hover {
  color: var(--wp--preset--color--signal-orange);
}

@media (max-width: 700px) {
  .spearhead-contact-direct {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
  }
}
.spearhead-footer-phone {
  margin-top: 12px;
}

.spearhead-footer-phone a {
  color: var(--wp--preset--color--white);
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .spearhead-footer-phone a:hover {
    color: var(--wp--preset--color--signal-orange);
  }
}
/* --------------------------------------------------------------
   Mobile navigation refinement
-------------------------------------------------------------- */

.spearhead-mobile-nav-cta,
.spearhead-mobile-nav-phone {
  display: none;
}

@media (max-width: 781px) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding: 96px 32px 48px;
  }

  /* Main navigation */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100%;
    gap: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
  }

  /* Services parent */
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-submenu
    > .wp-block-navigation-item__content {
    color: var(--wp--preset--color--signal-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* Service children */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    gap: 0;
    padding: 18px 0 28px 28px;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    padding: 11px 0;
    color: var(--wp--preset--color--stone);
    font-size: 1.05rem;
    font-weight: 500;
  }

  /* Divider after Services */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu {
    margin-bottom: 22px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(217, 214, 209, 0.18);
  }

  /* Main links */
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item:not(.wp-block-navigation-submenu)
    > .wp-block-navigation-item__content {
    padding: 13px 0;
    color: var(--wp--preset--color--white);
    font-size: 1.15rem;
    font-weight: 600;
  }

  /* Mobile CTA */
  .spearhead-mobile-nav-cta {
    display: block;
    margin-top: 30px;
  }

  .spearhead-mobile-nav-cta .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px !important;
    border-radius: 999px;
    background: var(--wp--preset--color--signal-orange);
    color: var(--wp--preset--color--charcoal) !important;
    font-weight: 700 !important;
    text-align: center;
  }

  .spearhead-mobile-nav-phone {
    display: block;
    margin-top: 14px;
  }

  .spearhead-mobile-nav-phone .wp-block-navigation-item__content {
    padding: 8px 0 !important;
    color: var(--wp--preset--color--stone) !important;
    font-size: 0.95rem !important;
    text-align: center;
  }
}
/* Mobile-only navigation CTA */
.spearhead-site-header .spearhead-mobile-nav-cta {
  display: none !important;
}

@media (max-width: 781px) {
  .wp-block-navigation__responsive-container.is-menu-open .spearhead-mobile-nav-cta {
    display: block !important;
    margin-top: 30px;
  }

  .spearhead-mobile-nav-cta .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px !important;
    border-radius: 999px;
    background: var(--wp--preset--color--signal-orange);
    color: var(--wp--preset--color--charcoal) !important;
    font-weight: 700 !important;
    text-align: center;
  }
}
