/* =========================================
   ANCHOR HOME PAGE
   ACF-powered homepage styles.
   Salient controls typography mechanics.
   This file controls layout, spacing, imagery,
   cards, and brand color application.
   ========================================= */

.anchor-homepage {
  --anchor-green-dark: #1d3a1e;
  --anchor-green: #2c5134;
  --anchor-green-medium: #5b7e51;
  --anchor-green-soft: #e9f4e6;
  --anchor-orange: #ff9900;
  --anchor-text: #27332b;
  --anchor-muted: #667069;
  --anchor-border: rgba(29, 58, 30, 0.14);
  --anchor-shadow-soft: 0 20px 48px rgba(29, 58, 30, 0.1);
  --anchor-shadow-medium: 0 26px 70px rgba(29, 58, 30, 0.14);

  background: #ffffff;
  color: var(--anchor-text);
  overflow: hidden;
}

.anchor-homepage *,
.anchor-homepage *::before,
.anchor-homepage *::after {
  box-sizing: border-box;
}

.anchor-container {
  width: min(1240px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

/* Do not rely on shared section padding.
   Each homepage section owns its own spacing below. */
.anchor-section {
  padding: 0;
}


/* =========================================
   TYPOGRAPHY HOOKS
   Do not set font family, font size, font weight,
   line height, letter spacing, or text transform here.
   Salient should control those globally.
   ========================================= */

.anchor-homepage h1,
.anchor-homepage h2,
.anchor-homepage h3,
.anchor-homepage h4,
.anchor-homepage h5,
.anchor-homepage h6,
.anchor-homepage p {
  margin-top: 0;
}

.anchor-homepage h1,
.anchor-homepage h2,
.anchor-homepage h3,
.anchor-homepage h4,
.anchor-homepage h5,
.anchor-homepage h6 {
  color: inherit;
}

.anchor-homepage h1 {
  max-width: 560px;
}

.anchor-homepage p {
  margin-bottom: 0;
}

.anchor-section-heading h2,
.anchor-posts h2,
.anchor-final-cta h2 {
  text-wrap: balance;
}


/* =========================================
   BRAND COLOR SYSTEM
   Typography structure comes from Salient.
   These rules only assign brand colors.
   ========================================= */

.anchor-homepage {
  color: var(--anchor-text);
}

.anchor-homepage h1,
.anchor-homepage h2,
.anchor-homepage h3,
.anchor-homepage h4,
.anchor-homepage h6 {
  color: var(--anchor-green-dark);
}

.anchor-homepage p,
.anchor-copy,
.anchor-copy p,
.anchor-section-intro,
.anchor-section-intro p,
.anchor-post-card__excerpt {
  color: var(--anchor-muted);
}

.anchor-lead,
.anchor-lead p {
  color: var(--anchor-green-dark);
}

.anchor-text-link {
  color: var(--anchor-green);
}

.anchor-text-link:hover {
  color: var(--anchor-green-dark);
}

.anchor-hero__copy,
.anchor-hero__copy h1,
.anchor-hero__copy h2,
.anchor-hero__copy h3,
.anchor-hero__copy h4,
.anchor-hero__copy h6 {
  color: #ffffff;
}

.anchor-hero__intro,
.anchor-hero__intro p {
  color: rgba(255, 255, 255, 0.84);
}

.anchor-service-card h4,
.anchor-service-card h4 a {
  color: var(--anchor-green-dark);
}

.anchor-service-card p {
  color: var(--anchor-muted);
}

.anchor-post-card__meta {
  color: var(--anchor-green-medium);
}

.anchor-post-card h4,
.anchor-post-card h4 a {
  color: var(--anchor-green-dark);
}

.anchor-post-card h4 a:hover {
  color: var(--anchor-green);
}

.anchor-final-cta,
.anchor-final-cta h1,
.anchor-final-cta h2,
.anchor-final-cta h3,
.anchor-final-cta h4,
.anchor-final-cta h5,
.anchor-final-cta h6 {
  color: #ffffff;
}

.anchor-final-cta__text,
.anchor-final-cta__text p {
  color: rgba(255, 255, 255, 0.78);
}

.anchor-difference,
.anchor-difference h1,
.anchor-difference h2,
.anchor-difference h3,
.anchor-difference h4,
.anchor-difference h6 {
  color: #ffffff;
}

.anchor-difference-card p {
  color: rgba(255, 255, 255, 0.75);
}


/* =========================================
   EYEBROWS
   H5 typography comes from Salient.
   This controls only spacing and orange accent.
   ========================================= */

.anchor-eyebrow {
  margin-bottom: 18px;
}

.anchor-eyebrow h5 {
  margin-bottom: 0;
}

.anchor-eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 14px;
  background: var(--anchor-orange);
}

.anchor-section-heading--center .anchor-eyebrow::after {
  margin-right: auto;
  margin-left: auto;
}

/* Force only color for ACF H5 eyebrows.
   Salient still controls typography. */
body #ajax-content-wrap .anchor-homepage .anchor-eyebrow h5,
body #ajax-content-wrap .anchor-homepage .anchor-eyebrow h5.anchor-eyebrow-text,
body #ajax-content-wrap .anchor-homepage .anchor-eyebrow--light h5,
body #ajax-content-wrap .anchor-homepage .anchor-eyebrow--light h5.anchor-eyebrow-text,
body .container-wrap .anchor-homepage .anchor-eyebrow h5,
body .container-wrap .anchor-homepage .anchor-eyebrow h5.anchor-eyebrow-text,
body .container-wrap .anchor-homepage .anchor-eyebrow--light h5,
body .container-wrap .anchor-homepage .anchor-eyebrow--light h5.anchor-eyebrow-text {
  color: #ff9900 !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-eyebrow::after,
body #ajax-content-wrap .anchor-homepage .anchor-eyebrow--light::after,
body .container-wrap .anchor-homepage .anchor-eyebrow::after,
body .container-wrap .anchor-homepage .anchor-eyebrow--light::after {
  background-color: #ff9900 !important;
}


/* =========================================
   COPY BLOCKS
   ========================================= */

.anchor-lead {
  max-width: 520px;
  margin-top: 24px;
}

.anchor-copy {
  max-width: 540px;
  margin-top: 18px;
}

.anchor-copy p + p {
  margin-top: 16px;
}

.anchor-section-heading {
  max-width: 900px;
  margin-bottom: 46px;
}

.anchor-services .anchor-section-heading {
  max-width: 1040px;
}

.anchor-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.anchor-section-intro {
  max-width: 720px;
  margin: 16px auto 0;
}


/* =========================================
   BUTTONS / LINKS
   PHP outputs Salient nectar-button classes.
   CSS only handles spacing and custom color cases.
   ========================================= */

.anchor-homepage a.nectar-button.anchor-home-btn {
  margin: 0;
}

.anchor-homepage a.nectar-button.anchor-home-btn--outline-light,
body .anchor-homepage a.nectar-button.anchor-home-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.78) !important;
  background-color: transparent !important;
  color: #ffffff !important;
}

.anchor-homepage a.nectar-button.anchor-home-btn--outline-light span,
body .anchor-homepage a.nectar-button.anchor-home-btn--outline-light span {
  color: #ffffff !important;
}

.anchor-homepage a.nectar-button.anchor-home-btn--outline-light:hover,
body .anchor-homepage a.nectar-button.anchor-home-btn--outline-light:hover {
  border-color: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--anchor-green-dark) !important;
}

.anchor-homepage a.nectar-button.anchor-home-btn--outline-light:hover span,
body .anchor-homepage a.nectar-button.anchor-home-btn--outline-light:hover span {
  color: var(--anchor-green-dark) !important;
}

.anchor-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.anchor-text-link::after {
  content: "→";
  line-height: 1;
}

.anchor-text-link:hover {
  text-decoration: none;
}


/* =========================================
   HERO
   Protected hero layout.
   Do not use generic section padding here.
   ========================================= */

.anchor-hero {
  display: grid;
  grid-template-columns: minmax(350px, 38%) minmax(0, 62%);
  min-height: 0;
  height: clamp(440px, calc(100svh - 220px), 560px);
  background: var(--anchor-green-dark);
}

.anchor-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding:
    clamp(48px, 5vw, 72px)
    clamp(34px, 4vw, 58px)
    clamp(36px, 4vw, 56px)
    clamp(42px, 6vw, 88px);
  background:
    radial-gradient(circle at 22% 16%, rgba(171, 193, 143, 0.18), transparent 32%),
    linear-gradient(135deg, var(--anchor-green-dark), var(--anchor-green));
}

.anchor-hero__intro {
  max-width: 450px;
  margin-top: 16px;
}

.anchor-hero__intro p + p {
  margin-top: 10px;
}

.anchor-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.anchor-hero__trust::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--anchor-orange);
}

.anchor-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.anchor-hero__image {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #203f27;
}

.anchor-hero__image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 18%;
  background: linear-gradient(90deg, rgba(29, 58, 30, 0.32), rgba(29, 58, 30, 0));
  pointer-events: none;
}

.anchor-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 38%;
}

/* Hero primary button: Bull Market Orange background with green text. */
body #ajax-content-wrap .anchor-homepage .anchor-hero__buttons a.nectar-button.anchor-home-btn:not(.anchor-home-btn--outline-light),
body .container-wrap .anchor-homepage .anchor-hero__buttons a.nectar-button.anchor-home-btn:not(.anchor-home-btn--outline-light) {
  background-color: #ff9900 !important;
  border-color: #ff9900 !important;
  color: #1d3a1e !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-hero__buttons a.nectar-button.anchor-home-btn:not(.anchor-home-btn--outline-light) span,
body .container-wrap .anchor-homepage .anchor-hero__buttons a.nectar-button.anchor-home-btn:not(.anchor-home-btn--outline-light) span {
  color: #1d3a1e !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-hero__buttons a.nectar-button.anchor-home-btn:not(.anchor-home-btn--outline-light):hover,
body .container-wrap .anchor-homepage .anchor-hero__buttons a.nectar-button.anchor-home-btn:not(.anchor-home-btn--outline-light):hover {
  background-color: #ff9900 !important;
  border-color: #ff9900 !important;
  color: #1d3a1e !important;
  opacity: 0.92;
}


/* =========================================
   INTRO / WHY CHOOSE
   This section has explicit top padding so it
   cannot collapse against the hero.
   ========================================= */

.anchor-intro {
  padding: clamp(92px, 8vw, 128px) 0 clamp(82px, 8vw, 116px);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, rgba(233, 244, 230, 0.54) 100%);
}

.anchor-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

.anchor-intro__copy {
  max-width: 540px;
}

.anchor-intro__copy .anchor-home-btn {
  margin-top: 34px;
}

.anchor-intro__image {
  position: relative;
}

.anchor-intro__image::before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 44%;
  height: 48%;
  border-radius: 16px;
  background: var(--anchor-green-soft);
}

.anchor-intro__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--anchor-shadow-medium);
}

.anchor-intro__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* =========================================
   SERVICES
   ========================================= */

.anchor-services {
  scroll-margin-top: 120px;
  padding: clamp(82px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(171, 193, 143, 0.24), transparent 30%),
    linear-gradient(180deg, var(--anchor-green-soft), #f7fbf5);
}

.anchor-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.anchor-service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 388px;
  border: 1px solid var(--anchor-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--anchor-shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.anchor-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(29, 58, 30, 0.14);
}

.anchor-service-card__image {
  height: 146px;
  overflow: hidden;
  background: var(--anchor-green-soft);
}

.anchor-service-card__photo,
.anchor-service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anchor-service-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 38px 20px 24px;
  text-align: center;
}

.anchor-card-icon {
  position: absolute;
  top: -23px;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: var(--anchor-green);
  color: #ffffff;
  transform: translateX(-50%);
}

.anchor-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.anchor-service-card h4 {
  min-height: 50px;
}

.anchor-service-card p {
  margin-top: 12px;
}

.anchor-service-card .anchor-text-link {
  margin-top: auto;
  padding-top: 18px;
}


/* =========================================
   SOLUTIONS V2
   Dark brand-forward replacement for the
   former photo-card services section.
   ========================================= */

.anchor-homepage .anchor-solutions-v2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 120px;
  padding: clamp(82px, 8vw, 116px) 0;
  background:
    radial-gradient(circle at 58% 6%, rgba(171, 193, 143, 0.16) 0%, rgba(91, 126, 81, 0.08) 28%, rgba(29, 58, 30, 0) 58%),
    radial-gradient(circle at 18% 72%, rgba(91, 126, 81, 0.22) 0%, rgba(44, 81, 52, 0.1) 34%, rgba(29, 58, 30, 0) 62%),
    linear-gradient(135deg, rgba(23, 51, 24, 0.96) 0%, rgba(29, 58, 30, 0.9) 48%, rgba(36, 74, 44, 0.96) 100%),
    url("../assets/images/LinkedInHeader-2026-03.jpg?v=20260520") center center / cover no-repeat,
    repeating-linear-gradient(0deg, rgba(171, 193, 143, 0.07) 0 1px, transparent 1px 26px),
    var(--anchor-green-dark);
  color: var(--anchor-white);
}

.anchor-homepage .anchor-solutions-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 18%, rgba(233, 244, 230, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(29, 58, 30, 0), rgba(29, 58, 30, 0.42));
  opacity: 0.72;
  pointer-events: none;
}

.anchor-homepage .anchor-solutions-v2__inner {
  position: relative;
  z-index: 1;
}

.anchor-homepage .anchor-solutions-v2__header {
  max-width: 880px;
  margin: 0 auto clamp(42px, 5vw, 64px);
  text-align: center;
}

.anchor-homepage .anchor-solutions-v2__eyebrow {
  margin: 0 0 18px;
  color: var(--anchor-orange);
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anchor-homepage .anchor-solutions-v2__heading {
  max-width: 820px;
  margin: 0 auto;
  color: var(--anchor-white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.anchor-homepage .anchor-solutions-v2__intro {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--anchor-green-muted);
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 19px);
  font-weight: 400;
  line-height: 1.72;
}

.anchor-homepage .anchor-solutions-v2__intro p {
  margin: 0;
  color: inherit;
}

.anchor-homepage .anchor-solutions-v2__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
}

.anchor-homepage .anchor-solutions-v2__card {
  position: relative;
  grid-column: span 2;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(28px, 2.7vw, 36px);
  border: 1px solid rgba(171, 193, 143, 0.16);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(44, 81, 52, 0.94), rgba(34, 66, 41, 0.92));
  box-shadow: 0 14px 38px rgba(6, 18, 9, 0.14);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.anchor-homepage .anchor-solutions-v2__card:nth-child(4) {
  grid-column: 2 / span 2;
}

.anchor-homepage .anchor-solutions-v2__card:nth-child(5) {
  grid-column: 4 / span 2;
}

.anchor-homepage .anchor-solutions-v2__card::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 2px;
  background: var(--anchor-orange);
  opacity: 0.82;
}

.anchor-homepage .anchor-solutions-v2__card:hover,
.anchor-homepage .anchor-solutions-v2__card:focus-within {
  border-color: rgba(255, 153, 0, 0.34);
  background:
    linear-gradient(180deg, rgba(48, 88, 57, 0.96), rgba(36, 70, 44, 0.94));
  transform: translateY(-2px);
}

.anchor-homepage .anchor-solutions-v2__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--anchor-orange);
}

.anchor-homepage .anchor-solutions-v2__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.anchor-homepage .anchor-solutions-v2__icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.anchor-homepage .anchor-solutions-v2__title {
  margin: 0;
  color: var(--anchor-white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 2.45vw, 40px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.anchor-homepage .anchor-solutions-v2__accent {
  display: block;
  width: 34px;
  height: 1px;
  margin: 20px 0 0;
  background: var(--anchor-orange);
  opacity: 0.86;
}

.anchor-homepage .anchor-solutions-v2__description {
  margin: 20px 0 0;
  color: rgba(233, 244, 230, 0.76);
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
}

.anchor-homepage .anchor-solutions-v2__link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 26px;
  color: var(--anchor-orange);
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.anchor-homepage .anchor-solutions-v2__link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.anchor-homepage .anchor-solutions-v2__link:hover,
.anchor-homepage .anchor-solutions-v2__link:focus {
  color: var(--anchor-white);
  text-decoration: none;
}

.anchor-homepage .anchor-solutions-v2__link:hover::after,
.anchor-homepage .anchor-solutions-v2__link:focus::after {
  transform: translateX(3px) rotate(45deg);
}

.anchor-homepage .anchor-solutions-v2__link:focus-visible {
  outline: 2px solid var(--anchor-orange);
  outline-offset: 5px;
}

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

  .anchor-homepage .anchor-solutions-v2__card,
  .anchor-homepage .anchor-solutions-v2__card:nth-child(4),
  .anchor-homepage .anchor-solutions-v2__card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .anchor-homepage .anchor-solutions-v2 {
    padding: 68px 0;
  }

  .anchor-homepage .anchor-solutions-v2__header {
    margin-bottom: 36px;
    text-align: left;
  }

  .anchor-homepage .anchor-solutions-v2__heading {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: 0.025em;
  }

  .anchor-homepage .anchor-solutions-v2__grid {
    grid-template-columns: 1fr;
  }

  .anchor-homepage .anchor-solutions-v2__card {
    min-height: 0;
  }
}


/* =========================================
   DIFFERENCE SECTION
   Hidden unless ACF fields are populated.
   ========================================= */

.anchor-difference {
  position: relative;
  padding: clamp(82px, 8vw, 118px) 0;
  background:
    linear-gradient(135deg, rgba(29, 58, 30, 0.97), rgba(44, 81, 52, 0.98));
}

.anchor-difference::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.anchor-difference__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
}

.anchor-difference__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.anchor-difference-card {
  position: relative;
  min-height: 190px;
  padding: 58px 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
}

.anchor-difference-card .anchor-card-icon {
  top: 22px;
  left: 24px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  transform: none;
}

.anchor-difference-card h4 {
  margin-top: 20px;
}

.anchor-difference-card p {
  margin-top: 12px;
}


/* =========================================
   RECENT POSTS
   ========================================= */

.anchor-posts {
  padding: clamp(82px, 8vw, 118px) 0;
  background: #ffffff;
}

.anchor-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.anchor-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--anchor-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(29, 58, 30, 0.08);
}

.anchor-post-card__image {
  display: block;
  height: 160px;
  overflow: hidden;
  background: var(--anchor-green-soft);
}

.anchor-post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.anchor-post-card:hover .anchor-post-card__image img {
  transform: scale(1.03);
}

.anchor-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.anchor-post-card h4 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 5.2em;
  margin-top: 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.anchor-post-card h4 a {
  text-decoration: none;
}

.anchor-post-card h4 a:hover {
  text-decoration: none;
}

.anchor-post-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.anchor-post-card .anchor-text-link {
  margin-top: auto;
  padding-top: 18px;
}

.anchor-posts__button {
  margin-top: 38px;
  text-align: center;
}


/* =========================================
   FINAL CTA
   Carefully isolated to CTA only.
   ========================================= */

.anchor-final-cta {
  padding: 0 0 clamp(72px, 8vw, 110px);
  background: #ffffff;
}

.anchor-final-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(36px, 4vw, 54px);
  border-radius: 12px;
  background:
    radial-gradient(circle at 96% 52%, rgba(171, 193, 143, 0.2), transparent 30%),
    linear-gradient(135deg, var(--anchor-green-dark), var(--anchor-green));
}

.anchor-final-cta__inner::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.anchor-final-cta__heading {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.anchor-final-cta h2 {
  max-width: 560px;
  margin-bottom: 0;
}

.anchor-final-cta__text {
  position: relative;
  z-index: 1;
  grid-column: 1;
  max-width: 520px;
}

.anchor-final-cta__button {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: clamp(0px, 1.5vw, 18px);
}

.anchor-final-cta--light_green .anchor-final-cta__inner {
  background: var(--anchor-green-soft);
  color: var(--anchor-green-dark);
}

/* Final CTA button: Bull Market Orange background with green text. */
body #ajax-content-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button,
body .container-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button {
  background-color: #ff9900 !important;
  border-color: #ff9900 !important;
  color: #1d3a1e !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button span,
body .container-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button span {
  color: #1d3a1e !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button:hover,
body .container-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button:hover {
  background-color: #ff9900 !important;
  border-color: #ff9900 !important;
  color: #1d3a1e !important;
  opacity: 0.92;
}

body #ajax-content-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button:hover span,
body .container-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button:hover span {
  color: #1d3a1e !important;
}


/* =========================================
   DISCLOSURE
   ========================================= */

.anchor-disclosure {
  padding: 0 0 28px;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1180px) {
  .anchor-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .anchor-service-card {
    min-height: 360px;
  }

  .anchor-service-card h4 {
    min-height: 0;
  }
}

@media (max-width: 999px) {
  .anchor-container {
    width: min(100% - 48px, 1240px);
  }

  .anchor-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .anchor-hero__copy {
    padding: 34px 24px 30px;
  }

  .anchor-hero__intro {
    max-width: 620px;
    margin-top: 14px;
  }

  .anchor-hero__trust {
    margin-top: 16px;
  }

  .anchor-hero__buttons {
    margin-top: 20px;
  }

  .anchor-hero__image {
    height: clamp(300px, 78vw, 430px);
    min-height: 0;
  }

  .anchor-hero__photo {
    height: 100%;
    min-height: 0;
    object-position: center 36%;
  }

  .anchor-intro {
    padding: 64px 0 72px;
  }

  .anchor-intro__grid,
  .anchor-difference__grid {
    grid-template-columns: 1fr;
  }

  .anchor-intro__copy {
    max-width: 700px;
  }

  .anchor-services,
  .anchor-posts,
  .anchor-difference {
    padding: 72px 0;
  }

  .anchor-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .anchor-final-cta__heading,
  .anchor-final-cta__text,
  .anchor-final-cta__button {
    grid-column: 1;
    grid-row: auto;
  }

  .anchor-final-cta__button {
    justify-content: flex-start;
    padding-right: 0;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .anchor-container {
    width: min(100% - 32px, 1240px);
  }

  .anchor-hero__copy {
    padding: 34px 22px 30px;
  }

  .anchor-hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .anchor-homepage a.nectar-button.anchor-home-btn {
    width: 100%;
  }

  .anchor-intro {
    padding: 56px 0 64px;
  }

  .anchor-services,
  .anchor-posts,
  .anchor-difference {
    padding: 64px 0;
  }

  .anchor-service-grid,
  .anchor-post-grid,
  .anchor-difference__items {
    grid-template-columns: 1fr;
  }

  .anchor-service-card__image,
  .anchor-post-card__image {
    height: 210px;
  }

  .anchor-intro__frame {
    aspect-ratio: 4 / 3;
  }

  .anchor-final-cta__inner {
    padding: 32px 24px;
  }

  .anchor-final-cta__button {
    width: 100%;
  }

  .anchor-final-cta__button a.nectar-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .anchor-hero__image {
    height: clamp(280px, 82vw, 380px);
  }

  .anchor-hero__photo {
    object-position: center 36%;
  }
}


/* =========================================
   HARD INTRO SPACER
   Restores vertical breathing room above
   "Why Choose Anchor?" without touching hero.
   ========================================= */

.anchor-homepage .anchor-intro::before {
  content: "";
  display: block;
  height: clamp(40px, 3.9vw, 62px);
}

@media (max-width: 999px) {
  .anchor-homepage .anchor-intro::before {
    height: 41px;
  }
}

@media (max-width: 760px) {
  .anchor-homepage .anchor-intro::before {
    height: 34px;
  }
}
/* =========================================
   HERO SIMPLIFICATION
   Removes secondary hero CTA and trust line
   without changing PHP or other sections.
   ========================================= */

body #ajax-content-wrap .anchor-homepage .anchor-hero__trust,
body .container-wrap .anchor-homepage .anchor-hero__trust {
  display: none !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-hero__buttons a.anchor-home-btn--outline-light,
body .container-wrap .anchor-homepage .anchor-hero__buttons a.anchor-home-btn--outline-light {
  display: none !important;
}

body #ajax-content-wrap .anchor-homepage .anchor-hero__buttons,
body .container-wrap .anchor-homepage .anchor-hero__buttons {
  gap: 0;
}
/* =========================================
   Home page final CTA visual refresh
   Uses same green wave asset as contact card
   Append to bottom of anchor-home.css
   ========================================= */

.anchor-homepage .anchor-final-cta__inner {
  isolation: isolate;
  background: #1d3a1e !important;
}

/* Green wave image layer */
.anchor-homepage .anchor-final-cta__inner::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("/wp-content/uploads/2026/04/anchor-contact-green-wave.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.68;
  filter: saturate(0.95) contrast(0.96);
  pointer-events: none;
}

/* Readability overlay */
.anchor-homepage .anchor-final-cta__inner::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 42%, rgba(171, 193, 143, 0.16), transparent 30%),
    linear-gradient(
      90deg,
      rgba(29, 58, 30, 0.96) 0%,
      rgba(29, 58, 30, 0.88) 48%,
      rgba(29, 58, 30, 0.68) 100%
    );
  pointer-events: none;
}

/* Keep CTA content above the visual layers */
.anchor-homepage .anchor-final-cta__heading,
.anchor-homepage .anchor-final-cta__text,
.anchor-homepage .anchor-final-cta__button {
  position: relative;
  z-index: 1;
}

/* Preserve button prominence */
body #ajax-content-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button,
body .container-wrap .anchor-homepage .anchor-final-cta__button a.nectar-button {
  position: relative;
  z-index: 2;
}

/* Tablet refinement */
@media (max-width: 999px) {
  .anchor-homepage .anchor-final-cta__inner::before {
    background-position: center center;
    opacity: 0.58;
  }

  .anchor-homepage .anchor-final-cta__inner::after {
    background:
      linear-gradient(
        90deg,
        rgba(29, 58, 30, 0.96) 0%,
        rgba(29, 58, 30, 0.88) 58%,
        rgba(29, 58, 30, 0.76) 100%
      );
  }
}

/* Mobile refinement */
@media (max-width: 760px) {
  .anchor-homepage .anchor-final-cta__inner::before {
    background-position: 58% center;
    opacity: 0.42;
  }

  .anchor-homepage .anchor-final-cta__inner::after {
    background:
      linear-gradient(
        180deg,
        rgba(29, 58, 30, 0.97) 0%,
        rgba(29, 58, 30, 0.92) 58%,
        rgba(29, 58, 30, 0.84) 100%
      );
  }
}


/* =========================================
   ANCHOR HERO V2
   Approved hero redesign only.
   ========================================= */

.anchor-homepage {
  --anchor-green-dark: #1D3A1E;
  --anchor-green: #2C5134;
  --anchor-green-medium: #5B7E51;
  --anchor-green-muted: #ABC18F;
  --anchor-green-soft: #E9F4E6;
  --anchor-orange: #FF9900;
  --anchor-white: #ffffff;
}

body.home.page-template-template-anchor-home #header-outer.transparent {
  border-bottom: 0 !important;
}

.anchor-homepage .anchor-hero-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(29, 58, 30, 0.98) 0%, rgba(29, 58, 30, 0.9) 50%, rgba(29, 58, 30, 0.72) 100%),
    var(--anchor-hero-v2-pattern) center center / cover no-repeat,
    repeating-linear-gradient(0deg, rgba(171, 193, 143, 0.1) 0 1px, transparent 1px 22px),
    var(--anchor-green-dark);
  color: var(--anchor-white);
}

.anchor-homepage .anchor-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 52%, rgba(171, 193, 143, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(29, 58, 30, 0.12), rgba(29, 58, 30, 0.42));
  pointer-events: none;
}

.anchor-homepage .anchor-hero-v2__inner {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.9fr);
  width: min(1440px, calc(100% - 96px));
  min-height: inherit;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(208px, 15vw, 220px) 0 clamp(10px, 1vw, 14px);
}

.anchor-homepage .anchor-hero-v2__content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 620px;
}

.anchor-homepage .anchor-hero-v2__eyebrow {
  margin: 0 0 12px;
  color: var(--anchor-orange);
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.anchor-homepage .anchor-hero-v2__heading {
  max-width: 620px;
  margin: 0;
  color: var(--anchor-white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
}

.anchor-homepage .anchor-hero-v2__heading-line {
  display: block;
}

.anchor-homepage .anchor-hero-v2__heading-emphasis {
  color: var(--anchor-green-muted);
  font-style: italic;
  font-weight: 500;
}

.anchor-homepage .anchor-hero-v2__heading-accent {
  color: var(--anchor-orange);
}

.anchor-homepage .anchor-hero-v2__intro {
  max-width: 480px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.62;
}

.anchor-homepage .anchor-hero-v2__intro p {
  margin: 0;
  color: inherit;
}

.anchor-homepage .anchor-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 14px;
}

.anchor-homepage .anchor-hero-v2__button,
.anchor-homepage .anchor-hero-v2__secondary {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.anchor-homepage .anchor-hero-v2__button {
  justify-content: center;
  min-width: 164px;
  padding: 0 30px;
  border: 1px solid var(--anchor-orange);
  border-radius: 999px;
  background: var(--anchor-orange);
  color: var(--anchor-green-dark);
}

.anchor-homepage .anchor-hero-v2__button:hover,
.anchor-homepage .anchor-hero-v2__button:focus {
  border-color: #ffb13d;
  background: #ffb13d;
  color: var(--anchor-green-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.anchor-homepage .anchor-hero-v2__secondary {
  position: relative;
  gap: 14px;
  color: var(--anchor-white);
}

.anchor-homepage .anchor-hero-v2__secondary::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.anchor-homepage .anchor-hero-v2__secondary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.anchor-homepage .anchor-hero-v2__secondary:hover,
.anchor-homepage .anchor-hero-v2__secondary:focus {
  color: var(--anchor-orange);
  text-decoration: none;
  transform: translateX(2px);
}

.anchor-homepage .anchor-hero-v2__button:focus-visible,
.anchor-homepage .anchor-hero-v2__secondary:focus-visible {
  outline: 2px solid var(--anchor-white);
  outline-offset: 5px;
}

.anchor-homepage .anchor-hero-v2__visual {
  position: absolute;
  right: max(-110px, -5vw);
  bottom: -62px;
  z-index: 1;
  width: min(42vw, 540px);
  min-width: 360px;
  max-height: 580px;
  transform: translateY(-8%) scale(1.05);
  pointer-events: none;
}

.anchor-homepage .anchor-hero-v2__visual img {
  display: block;
  width: 100%;
  max-height: 580px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.94;
  filter: contrast(1.05) saturate(0.95);
}

@media (max-width: 1024px) {
  .anchor-homepage .anchor-hero-v2 {
    min-height: 100svh;
  }

  .anchor-homepage .anchor-hero-v2__inner {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 64px, 940px);
    padding-top: clamp(174px, 19vw, 194px);
  }

  .anchor-homepage .anchor-hero-v2__content {
    max-width: 600px;
  }

  .anchor-homepage .anchor-hero-v2__visual {
    right: -110px;
    bottom: 44px;
    width: 380px;
    min-width: 0;
    opacity: 0.42;
    transform: translateY(-4%) scale(1.05);
  }

}

@media (max-width: 768px) {
  .anchor-homepage .anchor-hero-v2 {
    min-height: 0;
  }

  .anchor-homepage .anchor-hero-v2__inner {
    width: min(100% - 44px, 680px);
    padding: clamp(132px, 18vw, 154px) 0 34px;
  }

  .anchor-homepage .anchor-hero-v2__heading {
    font-size: clamp(52px, 12vw, 82px);
    line-height: 0.82;
  }

  .anchor-homepage .anchor-hero-v2__intro {
    max-width: 500px;
    margin-top: 24px;
  }

  .anchor-homepage .anchor-hero-v2__actions {
    align-items: flex-start;
  }

  .anchor-homepage .anchor-hero-v2__visual {
    right: -170px;
    bottom: 24px;
    width: 340px;
    opacity: 0.25;
    transform: translateY(-2%) scale(1.05);
  }

}

@media (max-width: 520px) {
  .anchor-homepage .anchor-hero-v2__inner {
    width: min(100% - 32px, 520px);
    padding-top: 156px;
  }

  .anchor-homepage .anchor-hero-v2__eyebrow {
    margin-bottom: 20px;
  }

  .anchor-homepage .anchor-hero-v2__heading {
    font-size: clamp(44px, 14vw, 66px);
    line-height: 0.86;
  }

  .anchor-homepage .anchor-hero-v2__intro {
    font-size: 16px;
    line-height: 1.58;
  }

  .anchor-homepage .anchor-hero-v2__actions {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .anchor-homepage .anchor-hero-v2__button {
    width: 100%;
  }

  .anchor-homepage .anchor-hero-v2__secondary {
    justify-content: center;
    min-height: 44px;
  }

  .anchor-homepage .anchor-hero-v2__secondary::before {
    width: 28px;
  }

  .anchor-homepage .anchor-hero-v2__visual {
    right: -190px;
    bottom: 52px;
    width: 360px;
    opacity: 0.18;
    transform: scale(1.05);
  }
}
