@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

/* Evergreen Trade palette — overrides the Aziz Khaldi base CSS variables.

   The "Explore the Evergreen learning system" section uses GSAP ScrollTrigger
   to animate `.home` element's inline backgroundColor between cream and
   #1E1E1E (dark gray). Inline styles set by GSAP only win against external
   CSS that does NOT use !important — so .bg-main intentionally does not use
   !important. The companion JS replaces Aziz's revert colour (#e7e7e7) with
   Evergreen cream (#F1EEE2) so the page returns to brand cream after the
   dark-mode scroll moment.

   This stylesheet is the LAST one in <head>, so source-order wins without
   !important. The other tier overrides keep !important defensively because
   they intentionally beat utility classes that are spammed across the markup.
*/

:root {
  --evg-cream: #F1EEE2;
  --evg-green: #2F5B4A;
  --evg-ink: #0A0A0A;
}

/* No !important here — GSAP must be able to animate this element inline. */
.bg-main {
  background-color: var(--evg-cream);
}

.bg-sec {
  background-color: var(--evg-green) !important;
}

.bg-thr {
  background-color: var(--evg-cream) !important;
}

.text-sec {
  color: var(--evg-green) !important;
}

.text-thr {
  color: var(--evg-cream) !important;
}

.border-sec {
  border-color: var(--evg-green) !important;
}

/* Hide leftover badges that don't belong to Evergreen. */
#awwwards {
  display: none !important;
}

/* Disable lingering external social anchors that point to neutralised hrefs. */
a[href*="github.com"],
a[href*="linkedin.com"],
a[href*="wa.me"] {
  pointer-events: none;
}

/* Logo asset swap (kept for any leftover img tag pointing to the original logo). */
img[src*="AzizLogoBlack"],
img[src*="AzizLogoWhite"] {
  content: url("assets/EverGreenTradeLogo.svg");
}

/* Use the Evergreen logo wherever the exported site previously rendered clovers. */
img[alt="Evergreen Trade logo"] {
  object-fit: contain;
}

.evg-dashboard-marquee-logo {
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
}

.evg-dashboard-marquee-item {
  flex: 0 0 auto;
  column-gap: clamp(2.5rem, 4vw, 5rem) !important;
  margin-right: clamp(2.5rem, 4vw, 5rem);
}

svg#Layer_2[data-name="Layer 2"] {
  background-color: currentColor;
  -webkit-mask: url("assets/EverGreenTradeLogo.svg") center / contain no-repeat;
  mask: url("assets/EverGreenTradeLogo.svg") center / contain no-repeat;
}

svg#Layer_2[data-name="Layer 2"][fill="white"] {
  color: white;
}

svg#Layer_2[data-name="Layer 2"]>* {
  display: none !important;
}

/* Home hero SaaS composition. Nav and social rail remain untouched in markup. */
.evg-hero-legacy {
  display: none !important;
}

.hero:has(.evg-hero-saas) {
  min-height: 100dvh;
  height: auto !important;
  padding: clamp(5.75rem, 8vw, 7.5rem) clamp(1rem, 4vw, 3rem) clamp(4.75rem, 7vw, 6.25rem);
  background:
    linear-gradient(rgba(47, 91, 74, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 91, 74, 0.055) 1px, transparent 1px);
  background-size: clamp(3.4rem, 7vw, 5.5rem) clamp(3.4rem, 7vw, 5.5rem);
  background-position: center top;
}

.hero:has(.evg-hero-saas)>h1.item {
  display: none !important;
}

.evg-hero-saas {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  justify-content: center;
  width: min(100%, 70rem);
  min-height: clamp(32rem, 70dvh, 48rem);
  margin: 0 auto;
  color: var(--evg-ink);
  transform: translateY(clamp(-3.75rem, -5vw, -2rem));
}

.evg-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.evg-hero-copy-minimal {
  position: relative;
  justify-self: center;
  align-items: center;
  justify-content: center;
  width: min(100%, 62rem);
  min-height: 0;
  padding: 0 clamp(1rem, 5vw, 4rem) clamp(1.4rem, 3vw, 2.35rem);
  text-align: center;
}

.evg-hero-copy-minimal::before,
.evg-hero-copy-minimal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.evg-hero-copy-minimal::before {
  inset: -1.2rem 50% auto auto;
  width: min(42rem, 80vw);
  height: min(16rem, 30vw);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.76), rgba(241, 238, 226, 0) 68%);
  transform: translateX(50%);
}

.evg-hero-copy-minimal::after {
  inset: auto 10% clamp(0.5rem, 1.3vw, 0.9rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 91, 74, 0), rgba(47, 91, 74, 0.2), rgba(47, 91, 74, 0));
}

.evg-hero-eyebrow {
  margin: 0 0 1rem;
  color: rgba(47, 91, 74, 0.78);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.evg-hero-old-kicker {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(0.45rem, 1vw, 0.75rem);
  color: var(--evg-green);
  font-family: "Outfit", "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.evg-hero-copy h1 {
  position: relative;
  z-index: 2;
  max-width: 12.5em;
  margin: 0;
  color: #10243a;
  font-family: "Outfit", "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.85vw, 5.15rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.evg-hero-subcopy {
  max-width: 35rem;
  margin: clamp(1.1rem, 2vw, 1.45rem) 0 0;
  color: rgba(10, 10, 10, 0.66);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.65;
}

.evg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
}

.evg-hero-primary,
.evg-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.evg-hero-primary {
  gap: 0.55rem;
  padding: 0 1.35rem;
  background: var(--evg-green);
  color: var(--evg-cream);
  box-shadow: 0 18px 36px -22px rgba(47, 91, 74, 0.72);
}

.evg-hero-primary svg {
  width: 1.15rem;
  height: 1.15rem;
}

.evg-hero-secondary {
  padding: 0 1.15rem;
  border: 1px solid rgba(47, 91, 74, 0.2);
  color: #1d2a22;
  background: rgba(255, 255, 255, 0.24);
}

.evg-hero-primary:hover,
.evg-hero-secondary:hover {
  transform: translateY(-2px);
}

.evg-hero-primary:active,
.evg-hero-secondary:active {
  transform: translateY(1px);
}

.evg-hero-primary:focus-visible,
.evg-hero-secondary:focus-visible {
  outline: 2px solid rgba(47, 91, 74, 0.72);
  outline-offset: 4px;
}

.evg-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 34rem);
  margin-top: clamp(1.6rem, 3vw, 2.65rem);
  border-top: 1px solid rgba(47, 91, 74, 0.18);
  border-bottom: 1px solid rgba(47, 91, 74, 0.18);
}

.evg-hero-metrics div {
  padding: 1rem clamp(0.85rem, 2vw, 1.25rem);
  border-right: 1px solid rgba(47, 91, 74, 0.16);
}

.evg-hero-metrics div:first-child {
  padding-left: 0;
}

.evg-hero-metrics div:last-child {
  border-right: 0;
}

.evg-hero-metrics strong,
.evg-hero-metrics span {
  display: block;
}

.evg-hero-metrics strong {
  color: #0f2118;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
}

.evg-hero-metrics span {
  margin-top: 0.45rem;
  color: rgba(10, 10, 10, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.evg-hero-dashboard {
  position: relative;
  justify-self: center;
  width: min(100%, 63.5rem);
  min-width: 0;
  overflow: hidden;
  border: 10px solid rgba(188, 218, 205, 0.76);
  border-radius: 1.55rem;
  background: rgba(235, 243, 240, 0.96);
  box-shadow: 0 30px 85px -48px rgba(16, 36, 58, 0.46);
  opacity: 0.98;
  transform: translateY(0);
}

.evg-hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -110px 120px rgba(241, 238, 226, 0.34);
}

.evg-hero-dashboard-bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  height: 2.35rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(47, 91, 74, 0.13);
  background: rgba(241, 238, 226, 0.82);
  backdrop-filter: blur(12px);
}

.evg-hero-dashboard-bar span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: rgba(47, 91, 74, 0.22);
}

.evg-hero-dashboard-bar strong {
  margin-left: 0.35rem;
  color: rgba(15, 33, 24, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.evg-hero-dashboard img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

.evg-hero-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 8.75rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1rem;
  background: rgba(47, 91, 74, 0.86);
  color: var(--evg-cream);
  box-shadow: 0 18px 32px -24px rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
}

.evg-hero-floating-card span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.72;
}

.evg-hero-floating-card strong {
  font-size: 1.25rem;
  line-height: 1;
}

.evg-hero-floating-card-top {
  top: 4.2rem;
  left: 1.15rem;
}

.evg-hero-floating-card-bottom {
  right: 1rem;
  bottom: 1rem;
}

@media (max-width: 1023px) {
  .hero:has(.evg-hero-saas) {
    align-items: center;
    padding: 6.75rem 1.25rem 5.5rem;
  }

  .evg-hero-saas {
    width: min(100%, 48rem);
    min-height: clamp(32rem, 66dvh, 40rem);
    transform: translateY(clamp(-3.6rem, -8vw, -2.4rem));
  }

  .evg-hero-copy h1 {
    max-width: 10.4em;
    font-size: clamp(2.45rem, 8.8vw, 4.2rem);
  }
}

@media (max-width: 640px) {
  .hero:has(.evg-hero-saas) {
    padding: 5.8rem 1rem 5rem;
  }

  .evg-hero-saas {
    min-height: clamp(27rem, 64dvh, 34rem);
    transform: translateY(clamp(-2.9rem, -8vw, -1.7rem));
  }

  .evg-hero-copy-minimal {
    min-height: 0;
    padding-inline: 0.2rem;
    padding-bottom: 1rem;
  }

  .evg-hero-copy h1 {
    max-width: 9em;
    font-size: clamp(2.05rem, 10vw, 3.35rem);
  }

  .evg-hero-old-kicker {
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .evg-hero-dashboard {
    width: min(100%, 34rem);
    border-width: 6px;
    border-radius: 1rem;
  }
}

/* Keep the founders image above the discipline section in color and fully visible. */
.profile-photo {
  background-color: #F5F1E9 !important;
  overflow: visible !important;
}

.profile-photo img[alt="Profile"] {
  filter: none !important;
  object-fit: contain !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(10, 10, 10, 0.18) !important;
}

/* Program dashboard showcase replacing the exported works-card grid. */
.evg-program-showcase {
  --evg-showcase-ink: #11140f;
  --evg-showcase-line: rgba(47, 91, 74, 0.18);
  --evg-showcase-muted: rgba(10, 10, 10, 0.58);
  --evg-showcase-cream: #f1eee2;
  --evg-showcase-green: #2f5b4a;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.38fr);
  gap: clamp(1.5rem, 4vw, 4.75rem);
  align-items: stretch;
  width: 100%;
  margin-top: clamp(2.5rem, 7vw, 6rem);
  padding: 0;
  background: transparent;
  color: var(--evg-showcase-ink);
}

.evg-program-tabs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 2rem) 0 clamp(0.35rem, 1vw, 0.75rem);
}

.evg-program-kicker {
  margin: 0 0 clamp(1.25rem, 3vw, 2.5rem);
  padding: 0 clamp(0.25rem, 1vw, 0.75rem);
  color: rgba(47, 91, 74, 0.58);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.evg-program-tab {
  position: relative;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.25rem, 1vw, 0.75rem) clamp(1.2rem, 2.2vw, 1.55rem);
  border: 0;
  border-top: 1px solid var(--evg-showcase-line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.evg-program-tab:last-child {
  border-bottom: 1px solid var(--evg-showcase-line);
}

.evg-program-tab:active {
  transform: translateY(1px);
}

.evg-program-tab:focus-visible {
  outline: 1px solid rgba(241, 238, 226, 0.72);
  outline-offset: -4px;
}

.evg-program-tab-head {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: clamp(0.75rem, 1.8vw, 1.1rem);
  align-items: baseline;
}

.evg-program-copy {
  display: block;
  min-width: 0;
}

.evg-program-number {
  color: rgba(47, 91, 74, 0.48);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.evg-program-title {
  color: rgba(10, 10, 10, 0.46);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  transition: color 260ms ease;
}

.evg-program-description {
  display: block;
  max-height: 0;
  margin: 0;
  padding-left: 0;
  overflow: hidden;
  color: var(--evg-showcase-muted);
  font-size: clamp(0.92rem, 1.12vw, 1.04rem);
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  transition: max-height 360ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease, margin-top 260ms ease;
}

.evg-program-progress {
  position: absolute;
  left: clamp(0.25rem, 1vw, 0.75rem);
  right: clamp(0.25rem, 1vw, 0.75rem);
  bottom: -1px;
  height: 2px;
  background: rgba(47, 91, 74, 0.08);
  overflow: hidden;
}

.evg-program-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--evg-showcase-green);
  transform: scaleX(0);
  transform-origin: left center;
}

.evg-program-tab.is-active .evg-program-title {
  color: var(--evg-showcase-green);
}

.evg-program-tab.is-active .evg-program-description {
  max-height: 7.5rem;
  margin-top: 0.78rem;
  opacity: 1;
}

.evg-program-tab.is-active .evg-program-progress span {
  animation: evgProgramProgress 6500ms linear forwards;
}

.evg-program-preview {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-width: 0;
  width: calc(100% + clamp(2rem, 8vw, 8rem));
  filter: drop-shadow(0 26px 44px rgba(17, 20, 15, 0.18));
}

.evg-program-media {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #1d211a;
  box-shadow: 0 18px 48px rgba(17, 20, 15, 0.16);
  isolation: isolate;
}

.evg-program-media::before {
  display: none;
}

.evg-program-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 1;
  transform: scale(1);
  transition: opacity 240ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.evg-program-media img.is-changing {
  opacity: 0;
  transform: scale(1.018);
}

.evg-program-media-label {
  position: absolute;
  left: clamp(1rem, 2.4vw, 2rem);
  bottom: clamp(1rem, 2.4vw, 2rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(241, 238, 226, 0.16);
  background: rgba(17, 20, 15, 0.62);
  color: rgba(241, 238, 226, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.evg-program-media-label::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--evg-showcase-green);
}

.evg-program-cta-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  margin-top: clamp(1.35rem, 3vw, 2.5rem);
}

.evg-program-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--evg-showcase-cream);
  line-height: 1;
  text-decoration: none;
  transition: transform 260ms ease;
}

.evg-program-cta-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  min-width: 9.75rem;
  padding: 0 1.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--evg-showcase-green);
  color: var(--evg-showcase-cream);
  font-size: 1rem;
  font-weight: 700;
  transition: color 260ms ease, background 260ms ease;
}

.evg-program-cta-label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--evg-showcase-cream);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease;
}

.evg-program-cta-label span {
  position: relative;
  z-index: 1;
}

.evg-program-cta-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--evg-showcase-green);
  color: var(--evg-showcase-cream);
}

.evg-program-cta-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--evg-showcase-cream);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease 80ms;
}

.evg-program-cta-icon svg {
  position: relative;
  z-index: 1;
  width: 1.25rem;
  height: 1.25rem;
  transition: color 260ms ease, transform 260ms ease;
}

.evg-program-cta:hover {
  color: var(--evg-showcase-green);
}

.evg-program-cta:hover .evg-program-cta-label,
.evg-program-cta:hover .evg-program-cta-icon {
  color: var(--evg-showcase-green);
}

.evg-program-cta:hover .evg-program-cta-label::before,
.evg-program-cta:hover .evg-program-cta-icon::before {
  transform: scaleX(1);
}

.evg-program-cta:hover .evg-program-cta-icon svg {
  transform: translate(2px, -2px);
}

.evg-program-cta:active {
  transform: translateY(1px);
}

.evg-program-cta:focus-visible {
  outline: 2px solid rgba(47, 91, 74, 0.34);
  outline-offset: 4px;
}

@keyframes evgProgramProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1023px) {
  .evg-program-showcase {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 1.25rem;
    min-height: 0 !important;
  }

  .evg-program-tabs {
    grid-column: 1;
    grid-row: 2;
    order: 2;
    padding-top: 0.55rem;
    padding-bottom: 0;
  }

  .evg-program-tab {
    padding: 0.6rem 0.5rem 0.7rem;
  }

  .evg-program-tab.is-active .evg-program-description {
    max-height: 6.5rem;
    margin-top: 0.4rem;
  }

  .evg-program-preview {
    grid-column: 1;
    grid-row: 1;
    order: 1;
    width: 100%;
  }

  .evg-program-media {
    height: clamp(205px, 52vw, 390px);
  }

  .evg-program-cta-row {
    grid-row: 3;
    margin-top: 1.25rem;
  }

  .evg-program-kicker {
    margin: 0 0 0.5rem;
  }
}

@media (max-width: 640px) {
  .evg-program-showcase {
    width: calc(100% + 0.5rem);
    margin-left: -0.25rem;
    padding: 0.9rem 0.75rem 1.15rem;
  }

  .evg-program-media {
    height: clamp(190px, 54vw, 260px);
  }

  .evg-program-tab-head {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .evg-program-description {
    padding-left: 0;
  }

  .evg-program-cta {
    width: 100%;
  }

  .evg-program-cta-label {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .evg-program-tab,
  .evg-program-title,
  .evg-program-description,
  .evg-program-media img {
    transition: none;
  }

  .evg-program-tab.is-active .evg-program-progress span {
    animation: none;
    transform: scaleX(1);
  }
}

/* ============================================================
   About Page — homepage style language
   Same vocabulary as the SaaS hero + pricing matrix:
   cream backdrop, kicker eyebrows, italic-green H2 emphasis,
   white rounded-28px cards with soft shadows, one featured
   green card per grid, generous editorial whitespace.
   ============================================================ */

.aboutMe {
  background: var(--evg-cream);
}

/* Hide the original Next.js about content until evergreen-about.js mounts the
   styled replacement (prevents "About Me" / old hero flash on load). */
.aboutMe:not(.evg-about-shell) {
  visibility: hidden !important;
}

/* Suppress the route-overlay text fade-in animation that would otherwise read
   "About" before our replacement renders. */
.page.curveRoute > div[style*="position:fixed"][style*="top:50%"][style*="left:50%"] {
  opacity: 0 !important;
  visibility: hidden !important;
}

.evg-about-page {
  --ab-cream: var(--evg-cream);
  --ab-cream-soft: #f7f4ea;
  --ab-green: var(--evg-green);
  --ab-green-deep: #1f3f33;
  --ab-ink: var(--evg-ink);
  --ab-ink-soft: rgba(10, 10, 10, 0.62);
  --ab-line: rgba(47, 91, 74, 0.16);
  --ab-radius: 28px;

  width: 100%;
  padding: clamp(0.5rem, 1.5vw, 1.5rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 8rem);
  color: var(--ab-ink);
  font-family: 'Cabinet Grotesk', 'Outfit', 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
}

.evg-about-page > section {
  max-width: 1320px;
  margin: 0 auto;
}

.evg-about-page > section + section {
  margin-top: clamp(4rem, 9vw, 9rem);
}

/* ---------- Shared eyebrow + section head ---------- */
.evg-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ab-green);
}

.evg-about-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.evg-about-eyebrow--cream {
  color: rgba(241, 238, 226, 0.82);
}

.evg-about-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 820px;
  margin-bottom: clamp(2.25rem, 4.5vw, 4rem);
}

.evg-about-section-head h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ab-ink);
}

.evg-about-section-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ab-green);
}

/* ---------- HERO ---------- */
.evg-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  position: relative;
}

.evg-about-hero::before {
  content: "";
  position: absolute;
  inset: -3rem -1rem auto;
  height: clamp(18rem, 38vw, 32rem);
  z-index: -1;
  background:
    linear-gradient(rgba(47, 91, 74, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 91, 74, 0.055) 1px, transparent 1px);
  background-size: clamp(3.4rem, 7vw, 5.5rem) clamp(3.4rem, 7vw, 5.5rem);
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  pointer-events: none;
}

.evg-about-hero__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  max-width: 38rem;
}

.evg-about-hero__title {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ab-ink);
  text-wrap: balance;
}

.evg-about-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ab-green);
}

.evg-about-hero__lede {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ab-ink-soft);
}

.evg-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.evg-about-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--ab-radius);
  overflow: hidden;
  background: #19231d;
  box-shadow: 0 30px 70px -32px rgba(31, 63, 51, 0.45);
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.15 / 1;
}

@media (max-width: 1023px) {
  .evg-about-hero__media {
    aspect-ratio: 3 / 2;
  }
}

.evg-about-hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent);
  pointer-events: none;
}

.evg-about-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.95) contrast(1.04);
}

.evg-about-hero__media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(241, 238, 226, 0.22);
  background: rgba(17, 20, 15, 0.6);
  color: rgba(241, 238, 226, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- CTA buttons (shared) ---------- */
.evg-about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.evg-about-cta svg {
  width: 1.05rem;
  height: 1.05rem;
}

.evg-about-cta:hover {
  transform: translateY(-2px);
}

.evg-about-cta:active {
  transform: translateY(1px);
}

.evg-about-cta--primary {
  background: var(--ab-green);
  color: var(--ab-cream);
  box-shadow: 0 18px 36px -22px rgba(31, 63, 51, 0.7);
}

.evg-about-cta--primary:hover {
  background: var(--ab-green-deep);
}

.evg-about-cta--ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(47, 91, 74, 0.22);
  color: var(--ab-ink);
}

.evg-about-cta--ghost:hover {
  background: #ffffff;
  border-color: rgba(47, 91, 74, 0.4);
}

.evg-about-cta--cream {
  background: var(--ab-cream);
  color: var(--ab-green-deep);
  box-shadow: 0 18px 36px -22px rgba(10, 10, 10, 0.45);
}

.evg-about-cta--cream:hover {
  background: #fff;
}

.evg-about-cta--outline {
  background: transparent;
  border-color: rgba(241, 238, 226, 0.5);
  color: var(--ab-cream);
}

.evg-about-cta--outline:hover {
  border-color: var(--ab-cream);
}

/* ---------- STATS STRIP ---------- */
.evg-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ab-line);
  border-bottom: 1px solid var(--ab-line);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px -32px rgba(31, 63, 51, 0.18);
}

.evg-about-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 11rem;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border-right: 1px solid var(--ab-line);
  font-feature-settings: "tnum" on, "lnum" on;
}

.evg-about-stat:last-child {
  border-right: 0;
}

.evg-about-stat strong {
  color: var(--ab-green);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.evg-about-stat span {
  max-width: 14rem;
  color: var(--ab-ink-soft);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- MISSION ---------- */
.evg-about-mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--ab-line);
}

.evg-about-mission__lede p {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ab-ink);
}

.evg-about-mission__body {
  display: grid;
  gap: 1.1rem;
  max-width: 60ch;
}

.evg-about-mission__body p {
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: var(--ab-ink-soft);
}

/* ---------- VALUES (Bento) ---------- */
.evg-about-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .evg-about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .evg-about-values__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
  }

  .evg-about-value:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .evg-about-value:nth-child(2) { grid-column: span 3; }
  .evg-about-value:nth-child(3) { grid-column: span 3; }
  .evg-about-value:nth-child(4) { grid-column: span 3; }
  .evg-about-value:nth-child(5) { grid-column: span 3; }
}

.evg-about-value {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  background: #ffffff;
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  box-shadow: 0 22px 50px -28px rgba(31, 63, 51, 0.18);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

.evg-about-value::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.evg-about-value:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -28px rgba(31, 63, 51, 0.28);
  border-color: rgba(47, 91, 74, 0.3);
}

.evg-about-value--featured {
  background: var(--ab-green);
  color: var(--ab-cream);
  border-color: var(--ab-green-deep);
  box-shadow: 0 30px 60px -22px rgba(31, 63, 51, 0.55);
  min-height: clamp(18rem, 30vw, 26rem);
}

.evg-about-value--featured::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(241, 238, 226, 0.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.evg-about-value--featured > * {
  position: relative;
  z-index: 1;
}

.evg-about-value__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ab-green);
  opacity: 0.85;
}

.evg-about-value--featured .evg-about-value__eyebrow {
  color: rgba(241, 238, 226, 0.78);
  opacity: 1;
}

.evg-about-value__title {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: inherit;
}

.evg-about-value--featured .evg-about-value__title {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
}

.evg-about-value__body {
  margin: 0;
  max-width: 38ch;
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ab-ink-soft);
}

.evg-about-value--featured .evg-about-value__body {
  color: rgba(241, 238, 226, 0.82);
  font-size: 1.02rem;
  max-width: 42ch;
}

/* ---------- APPROACH (3-step) ---------- */
.evg-about-approach__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .evg-about-approach__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.evg-about-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.6rem, 2.4vw, 2.25rem);
  background: #ffffff;
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  box-shadow: 0 22px 50px -28px rgba(31, 63, 51, 0.18);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  overflow: hidden;
}

.evg-about-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -28px rgba(31, 63, 51, 0.28);
  border-color: rgba(47, 91, 74, 0.3);
}

.evg-about-step__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ab-green);
}

.evg-about-step__title {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ab-ink);
}

.evg-about-step__body {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ab-ink-soft);
}

.evg-about-step__points {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid var(--ab-line);
  padding-top: 1.1rem;
}

.evg-about-step__points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ab-ink);
}

.evg-about-step__points li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.85rem;
  height: 1px;
  background: var(--ab-green);
}

/* ---------- TEACHERS / QUOTE ---------- */
.evg-about-teachers__inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.75rem);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  box-shadow: 0 22px 50px -28px rgba(31, 63, 51, 0.18);
}

.evg-about-teachers__quote {
  margin: 0;
  border-left: 2px solid var(--ab-green);
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

.evg-about-teachers__quote p {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ab-ink);
}

.evg-about-teachers__quote p::before { content: "\201C"; margin-right: 0.05em; }
.evg-about-teachers__quote p::after  { content: "\201D"; margin-left: 0.05em; }

.evg-about-teachers__copy {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: var(--ab-ink-soft);
}

/* ---------- CLOSING CTA BAND ---------- */
.evg-about-cta-band__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.25rem, 4.5vw, 4rem);
  background: var(--ab-green);
  color: var(--ab-cream);
  border-radius: var(--ab-radius);
  box-shadow: 0 30px 60px -22px rgba(31, 63, 51, 0.55);
  overflow: hidden;
  isolation: isolate;
}

.evg-about-cta-band__card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(241, 238, 226, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.evg-about-cta-band__copy,
.evg-about-cta-band__actions {
  position: relative;
  z-index: 1;
}

.evg-about-cta-band__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.evg-about-cta-band__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.evg-about-cta-band__copy h2 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(241, 238, 226, 0.85);
}

.evg-about-cta-band__copy p {
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  color: rgba(241, 238, 226, 0.78);
  max-width: 42ch;
}

.evg-about-cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
  justify-self: end;
  min-width: 14rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .evg-about-hero {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .evg-about-mission__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
  }

  .evg-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evg-about-stat:nth-child(2) { border-right: 0; }
  .evg-about-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--ab-line); }

  .evg-about-cta-band__card {
    grid-template-columns: 1fr;
  }

  .evg-about-cta-band__actions {
    justify-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .evg-about-page {
    padding-top: 1.25rem;
  }

  .evg-about-hero__title {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .evg-about-stats {
    grid-template-columns: 1fr;
  }

  .evg-about-stat {
    border-right: 0;
    border-bottom: 1px solid var(--ab-line);
    min-height: 8.5rem;
  }

  .evg-about-stat:last-child {
    border-bottom: 0;
  }

  .evg-about-cta-band__actions .evg-about-cta {
    width: 100%;
  }
}

.role-text {
  display: none !important;
}

/* ============================================================
   Evergreen Pricing Section
   Replaces the old Mentorship / Annual Forecast / Monthly Reports
   timeline blocks with a 3-tier pricing matrix.
   ============================================================ */

.evg-pricing {
  --pr-cream: #f1eee2;
  --pr-cream-soft: #f7f4ea;
  --pr-green: #2f5b4a;
  --pr-green-deep: #1f3f33;
  --pr-ink: #0a0a0a;
  --pr-ink-soft: rgba(10, 10, 10, 0.62);
  --pr-line: rgba(47, 91, 74, 0.16);

  position: relative;
  width: 100%;
  padding: clamp(4rem, 6vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(5rem, 8vw, 9rem);
  background: transparent;
  font-family: 'Cabinet Grotesk', 'Geist', system-ui, -apple-system, sans-serif;
  color: var(--pr-ink);
  z-index: 30;
}

.evg-pricing__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.evg-pricing__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.evg-pricing__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pr-green);
  font-weight: 600;
}

.evg-pricing__kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--pr-green);
}

.evg-pricing__title {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--pr-ink);
  margin: 0;
}

.evg-pricing__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--pr-green);
}

.evg-pricing__sub {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: var(--pr-ink-soft);
  max-width: 58ch;
  margin: 0;
}

.evg-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .evg-pricing__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.evg-pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: clamp(1.75rem, 2.4vw, 2.5rem);
  background: #ffffff;
  border: 1px solid var(--pr-line);
  border-radius: 28px;
  box-shadow: 0 22px 50px -28px rgba(31, 63, 51, 0.18);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

.evg-pricing__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.evg-pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -28px rgba(31, 63, 51, 0.28);
  border-color: rgba(47, 91, 74, 0.3);
}

.evg-pricing__card--featured {
  background: var(--pr-green);
  color: var(--pr-cream);
  border-color: var(--pr-green-deep);
  box-shadow: 0 30px 60px -22px rgba(31, 63, 51, 0.55);
}

.evg-pricing__card--featured::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(241, 238, 226, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.evg-pricing__card--featured>* {
  position: relative;
  z-index: 1;
}

.evg-pricing__card--featured:hover {
  border-color: var(--pr-cream);
  box-shadow: 0 40px 80px -22px rgba(10, 10, 10, 0.55);
}

@media (min-width: 900px) {
  .evg-pricing__card--featured {
    transform: translateY(-12px);
  }

  .evg-pricing__card--featured:hover {
    transform: translateY(-16px);
  }
}

.evg-pricing__tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--pr-cream);
  color: var(--pr-green-deep);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
}

.evg-pricing__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--pr-green);
  box-shadow: 0 0 0 3px rgba(47, 91, 74, 0.18);
  animation: evgPricingPulse 2.4s ease-in-out infinite;
}

@keyframes evgPricingPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.evg-pricing__card-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.evg-pricing__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--pr-green);
  opacity: 0.85;
}

.evg-pricing__card--featured .evg-pricing__eyebrow {
  color: rgba(241, 238, 226, 0.78);
}

.evg-pricing__name {
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: inherit;
}

.evg-pricing__lede {
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--pr-ink-soft);
  margin: 0;
}

.evg-pricing__card--featured .evg-pricing__lede {
  color: rgba(241, 238, 226, 0.78);
}

.evg-pricing__price-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--pr-line);
  border-bottom: 1px solid var(--pr-line);
}

.evg-pricing__card--featured .evg-pricing__price-block {
  border-color: rgba(241, 238, 226, 0.18);
}

.evg-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-feature-settings: "tnum" on, "lnum" on;
}

.evg-pricing__currency {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pr-green);
  align-self: flex-start;
  margin-top: 0.6rem;
}

.evg-pricing__card--featured .evg-pricing__currency {
  color: var(--pr-cream);
  opacity: 0.9;
}

.evg-pricing__amount {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: inherit;
}

.evg-pricing__price-note {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--pr-ink-soft);
}

.evg-pricing__card--featured .evg-pricing__price-note {
  color: rgba(241, 238, 226, 0.7);
}

.evg-pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.evg-pricing__features li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--pr-ink);
}

.evg-pricing__card--featured .evg-pricing__features li {
  color: rgba(241, 238, 226, 0.92);
}

.evg-pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background-color: rgba(47, 91, 74, 0.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5b4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>");
  background-size: 0.7rem 0.7rem;
  background-repeat: no-repeat;
  background-position: center;
}

.evg-pricing__card--featured .evg-pricing__features li::before {
  background-color: rgba(241, 238, 226, 0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1eee2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>");
}

.evg-pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--pr-ink);
  background: transparent;
  color: var(--pr-ink);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.evg-pricing__cta svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-pricing__cta:hover {
  background: var(--pr-ink);
  color: var(--pr-cream);
  border-color: var(--pr-ink);
}

.evg-pricing__cta:hover svg {
  transform: translateX(4px);
}

.evg-pricing__cta:active {
  transform: translateY(1px);
}

.evg-pricing__cta--primary {
  background: var(--pr-cream);
  color: var(--pr-green-deep);
  border-color: var(--pr-cream);
}

.evg-pricing__cta--primary:hover {
  background: #ffffff;
  color: var(--pr-green-deep);
  border-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {

  .evg-pricing__card,
  .evg-pricing__cta,
  .evg-pricing__cta svg,
  .evg-pricing__tag::before {
    transition: none !important;
    animation: none !important;
  }
}

/* Real Estate sub-brand — top nav.
   The nav renders every link with the same component (letter-by-letter spans
   inside two stacked divs for the hover flip), so we hook off the href and
   force the script font down through every descendant. */

/* Corinthia loaded via the <link> tag in index.html (line 17) */

/* Match by both href and the runtime-injected class (.evg-real-estate-nav-link
   is added by evergreen-about.js patchNavigation). The class is the most
   reliable hook because it's attached regardless of which component renders. */
nav a[href*="realestate.evergreentrade"],
nav a[href*="realestate.evergreentrade"] *,
.evg-real-estate-nav-link,
.evg-real-estate-nav-link * {
  font-family: 'Corinthia', 'Brush Script MT', cursive !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

nav a[href*="realestate.evergreentrade"],
.evg-real-estate-nav-link {
  font-size: 2.1rem !important;
  line-height: 0.9 !important;
  position: relative;
  padding-left: 0.9rem;
  margin-left: 0.4rem;
  transform: translateY(0.18rem);
}

nav a[href*="realestate.evergreentrade"]::before,
.evg-real-estate-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.4rem;
  background: currentColor;
  opacity: 0.3;
}

/* The letter-flip wrapper sets line-height: 0.9 inline. Bump line-height for
   script font ascenders/descenders so it doesn't look clipped. */
nav a[href*="realestate.evergreentrade"]>div,
.evg-real-estate-nav-link>div {
  line-height: 1 !important;
}

/* Corinthia is a tight script font and the &nbsp; between "Real" and "Estate"
   ends up almost invisible. Force a real word-gap. */
nav a[href*="realestate.evergreentrade"],
.evg-real-estate-nav-link {
  word-spacing: 0.45em !important;
}

.evg-real-estate-nav-link span {
  white-space: pre !important;
}

/* The patch script (evergreen-about.js) injects the Real Estate link as static
   HTML with the same two-stacked-divs/letter-span shape that the React nav
   uses, but with no JS animating it. Recreate the rolling-letter hover with
   pure CSS so it matches About/Home. */
.evg-real-estate-nav-link>div {
  position: relative;
  overflow: hidden;
}

.evg-real-estate-nav-link>div>div {
  display: block;
}

.evg-real-estate-nav-link>div>div>span {
  display: inline-block;
  transition: transform 0.25s ease-in-out;
}

.evg-real-estate-nav-link>div>div:first-child>span {
  transform: translateY(0);
}

.evg-real-estate-nav-link:hover>div>div:first-child>span {
  transform: translateY(-100%);
}

.evg-real-estate-nav-link>div>div.absolute>span {
  transform: translateY(100%);
}

.evg-real-estate-nav-link:hover>div>div.absolute>span {
  transform: translateY(0);
}

/* Per-letter stagger to match the React l component's 0.025s * index delay. */
.evg-real-estate-nav-link>div>div>span:nth-child(1) {
  transition-delay: 0ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(2) {
  transition-delay: 25ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(3) {
  transition-delay: 50ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(4) {
  transition-delay: 75ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(5) {
  transition-delay: 100ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(6) {
  transition-delay: 125ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(7) {
  transition-delay: 150ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(8) {
  transition-delay: 175ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(9) {
  transition-delay: 200ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(10) {
  transition-delay: 225ms;
}

.evg-real-estate-nav-link>div>div>span:nth-child(11) {
  transition-delay: 250ms;
}

/* Get Started pill button: text + arrow flip white on hover.
   `hover:!text-white` would normally do this via Tailwind, but that utility
   was never compiled into the production CSS bundle (only `hover:!text-black`
   was used in the original code), so the class is a no-op. Wire the colour
   change directly. */
.evg-get-started-btn:hover,
.evg-get-started-btn:hover * {
  color: #ffffff !important;
}

.evg-get-started-btn:hover .evg-get-started-arrow svg {
  stroke: #ffffff !important;
}

/* Real Estate promo replacing the old home service carousel. */

.evg-real-estate-promo {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 1rem clamp(4rem, 8vw, 7rem);
  color: #17372d;
}

.evg-real-estate-world {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 1rem;
  background: #f1eee2;
  color: #17372d;
}

.evg-real-estate-world__inner {
  width: min(90vw, 1400px);
  margin: 0 auto;
}

.evg-real-estate-world__heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.evg-real-estate-world__heading h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 700;
  color: #17372d;
}

.evg-real-estate-world__panel {
  width: 100%;
  border-top: none;
}

.evg-static-service-carousel {
  display: none !important;
}

.evg-real-estate-world__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.evg-real-estate-world__copy {
  max-width: 620px;
}

.evg-real-estate-world__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 55, 45, 0.64);
}

.evg-real-estate-world__title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 700;
  color: #17372d;
}

.evg-real-estate-world__text {
  margin: 1.35rem 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(23, 55, 45, 0.72);
}

.evg-real-estate-world__button {
  width: fit-content;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  background: #2f5b4a;
  color: #f1eee2;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-real-estate-world__button:hover {
  background: #17372d;
  transform: translateY(-1px);
}

.evg-real-estate-world__button:active {
  transform: translateY(1px);
}

.evg-real-estate-world__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(47, 91, 74, 0.18);
  background: #f1eee2;
  box-shadow: none;
}

.evg-real-estate-world__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.evg-real-estate-world__badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(241, 238, 226, 0.46);
  background: rgba(23, 55, 45, 0.78);
  color: #f1eee2;
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evg-real-estate-promo__inner {
  width: min(90vw, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid rgba(47, 91, 74, 0.22);
}

.evg-real-estate-promo__copy {
  max-width: 620px;
}

.evg-real-estate-promo__kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 55, 45, 0.64);
}

.evg-real-estate-promo h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 700;
  color: #17372d;
}

.evg-real-estate-promo__text {
  margin: 1.4rem 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(23, 55, 45, 0.72);
}

.evg-real-estate-promo__button {
  width: fit-content;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 3.5rem;
  padding: 0.95rem 1.35rem 0.95rem 1.55rem;
  border-radius: 999px;
  background: #2f5b4a;
  color: #f1eee2;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-real-estate-promo__button svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-real-estate-promo__button:hover {
  background: #17372d;
  transform: translateY(-1px);
}

.evg-real-estate-promo__button:hover svg {
  transform: translate(3px, -3px);
}

.evg-real-estate-promo__button:active {
  transform: translateY(1px);
}

.evg-real-estate-promo__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(47, 91, 74, 0.18);
  background: #f1eee2;
  box-shadow: 0 30px 70px -45px rgba(23, 55, 45, 0.42);
}

.evg-real-estate-promo__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.36);
  z-index: 1;
}

.evg-real-estate-promo__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

@media (max-width: 767px) {
  .evg-real-estate-world {
    padding: 3.5rem 1rem;
  }

  .evg-real-estate-world__inner {
    width: 100%;
  }

  .evg-real-estate-world__heading h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .evg-real-estate-world__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 1.5rem;
  }

  .evg-real-estate-world__title {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .evg-real-estate-world__button {
    width: 100%;
  }

  .evg-real-estate-promo {
    padding: 3rem 1rem 4rem;
  }

  .evg-real-estate-promo__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 1.5rem;
  }

  .evg-real-estate-promo h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }

  .evg-real-estate-promo__button {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {

  .evg-real-estate-promo__button,
  .evg-real-estate-promo__button svg {
    transition: none !important;
  }
}

/* Real Estate sub-brand panel on the home page. */
.evg-real-estate-band {
  position: relative;
  background: #aad4ea !important;
  min-height: clamp(310px, 28vw, 430px);
  padding-top: clamp(2.25rem, 4vw, 3.75rem) !important;
  padding-bottom: clamp(2.25rem, 4vw, 3.75rem) !important;
}

.evg-real-estate-band>.max-w-\[1400px\] {
  max-width: none !important;
  width: min(100%, 1600px);
}

.evg-real-estate-band::before,
.evg-real-estate-band::after {
  display: none !important;
  content: none !important;
}

.evg-real-estate-world__panel::before,
.evg-real-estate-world__panel::after,
.evg-real-estate-world__grid::before,
.evg-real-estate-world__grid::after {
  display: none !important;
  content: none !important;
}

.evg-real-estate-band .flex.flex-col.text-left {
  align-items: flex-start !important;
  max-width: min(62vw, 820px) !important;
}

.evg-real-estate-band .text-sec.text-3xl {
  margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: #050505 !important;
  font-size: clamp(0.78rem, 0.95vw, 0.95rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  opacity: 0.78;
}

.evg-real-estate-world__panel {
  position: relative;
  margin-top: 0;
  padding: 0;
  border: 0;

  color: #050505;
  box-shadow: none;
}

.evg-real-estate-world__grid {
  position: relative;
  min-height: clamp(205px, 18vw, 280px);
  display: block;
  overflow: visible;
  padding-top: 0;
}

.evg-real-estate-world__copy {
  position: relative;
  z-index: 2;
  max-width: min(54vw, 580px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(1.1rem, 1.9vw, 1.6rem);
  align-content: center;
  min-height: clamp(205px, 18vw, 280px);
}

.evg-real-estate-world__eyebrow {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0 0 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2F5B4A;
  font-family: "Corinthia", "Brush Script MT", cursive;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.evg-real-estate-world__title {
  margin: 0;
  max-width: 18ch;
  color: #050505;
  font-size: clamp(1.4rem, 2.3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.evg-real-estate-world__text {
  margin: 0;
  max-width: 46ch;
  color: rgba(5, 5, 5, 0.66);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.55;
}

.evg-real-estate-world__button {
  width: fit-content;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid #050505;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-real-estate-world__button:hover {
  background: #ffffff;
  color: #050505;
  transform: translateY(-1px);
}

.evg-real-estate-world__button:active {
  transform: translateY(1px);
}

.evg-real-estate-world__visual {
  position: absolute;
  z-index: 3;
  top: calc(-1 * clamp(2.25rem, 4vw, 3.75rem) - clamp(1.75rem, 3.2vw, 2.75rem) - 0.9rem);
  right: calc(50% - 50vw);
  width: clamp(320px, 42vw, 700px);
  height: calc(100% + (2 * clamp(2.25rem, 4vw, 3.75rem)) + clamp(1.75rem, 3.2vw, 2.75rem) + 0.9rem);
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.evg-real-estate-world__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center right;
  background: transparent;
  border: 0;
  outline: 0;
  transform: none;
  clip-path: none;
  filter: none;
}

@media (max-width: 767px) {
  .evg-real-estate-band {
    min-height: 0;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .evg-real-estate-band::before {
    display: none;
  }

  .evg-real-estate-world__panel {
    padding: 0;
  }

  .evg-real-estate-world__copy {
    max-width: 100%;
    min-height: 0;
    display: block;
    padding-right: 0;
  }

  .evg-real-estate-world__title {
    max-width: 100%;
    margin-top: 1rem;
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .evg-real-estate-world__button {
    width: 100%;
    margin-top: 1.1rem;
  }

  .evg-real-estate-world__visual {
    position: relative;
    top: auto;
    right: calc(50% - 50vw);
    width: min(100vw, 480px);
    height: 180px;
    margin-top: 1.2rem;
    transform: none;
  }
}

/* About-page footer parity: the homepage Footer React component runs a GSAP
   `fromTo` on `.Footertext` ({y:115, rotate:20} -> {y:0}) tied to a
   ScrollTrigger on `.footerSection`. That animation never binds to the footer
   we inject on the /about route, so the rows stay translated off-screen
   inside their `overflow-hidden` parents and only the big "Evergreen"
   wordmark (which has no fromTo) is visible. Force the resting state on the
   synced footer so the LINKS / SOCIALS / VERSION columns and Contact button
   render exactly like the homepage. */
.footerSection[data-evg-footer-synced="true"] .Footertext {
  transform: none !important;
  opacity: 1 !important;
}

/* The .FooterCurve / .cercel pair is the cream oval that the homepage GSAP
   scrubs away on scroll. That scroll-trigger never binds on the about route,
   so the oval stays pinned at the top of the footer. Hide it outright on the
   synced footer. */
.footerSection[data-evg-footer-synced="true"] .FooterCurve,
.footerSection[data-evg-footer-synced="true"] .cercel {
  display: none !important;
}

/* Evergreen wordmark + robot positioning are computed in JS
   (fitEvergreenWordmark / placeRobotOnWordmark) so they react to the actual
   measured layout. We just clear the homepage's hardcoded leading/margin so
   JS can size cleanly. */
.footerSection[data-evg-footer-synced="true"] .aziz-text {
  position: relative;
  z-index: 1;
  margin-bottom: 0 !important;
  line-height: 0.85 !important;
  display: flex;
}
.footerSection[data-evg-footer-synced="true"] .aziz-text > span {
  flex: 0 0 auto;
}
.footerSection[data-evg-footer-synced="true"] spline-viewer {
  background: transparent !important;
}

@media (max-width: 767px) {
  .evg-footer-robot-host,
  .footerSection[data-evg-footer-synced="true"] [data-evg-robot-host="true"] {
    display: none !important;
  }
}

/* Legal pages */
.evg-legal-page {
  min-height: 100dvh;
  background:
    linear-gradient(rgba(47, 91, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 91, 74, 0.06) 1px, transparent 1px),
    var(--evg-cream);
  background-size: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
  color: var(--evg-ink);
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.evg-legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 86rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.evg-legal-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.evg-legal-logo img {
  width: 1.9rem;
  height: 2.2rem;
}

.evg-legal-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  font-size: 0.95rem;
  font-weight: 600;
}

.evg-legal-nav__links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1), transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-legal-nav__links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.evg-legal-shell {
  width: min(100% - 2rem, 86rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.evg-legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(47, 91, 74, 0.22);
}

.evg-legal-kicker {
  margin: 0 0 1rem;
  color: var(--evg-green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.evg-legal-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--evg-green);
  font-family: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.evg-legal-summary {
  max-width: 34rem;
  margin: 0;
  color: rgba(10, 10, 10, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.7;
}

.evg-legal-meta {
  display: grid;
  gap: 0.8rem;
  align-self: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(47, 91, 74, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.evg-legal-meta span {
  display: block;
  color: rgba(10, 10, 10, 0.52);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evg-legal-meta strong,
.evg-legal-meta a {
  color: var(--evg-green);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.evg-legal-content {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.evg-legal-aside {
  position: sticky;
  top: 2rem;
  align-self: start;
  color: rgba(10, 10, 10, 0.58);
  font-size: 0.95rem;
  line-height: 1.7;
}

.evg-legal-aside a {
  color: var(--evg-green);
  font-weight: 700;
  text-decoration: none;
}

.evg-legal-sections {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.evg-legal-section {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(47, 91, 74, 0.16);
}

.evg-legal-section:last-child {
  border-bottom: 0;
}

.evg-legal-number {
  color: rgba(47, 91, 74, 0.5);
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.evg-legal-section h2 {
  margin: 0 0 0.85rem;
  color: var(--evg-green);
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.evg-legal-section h3 {
  margin: 1.15rem 0 0.4rem;
  color: rgba(10, 10, 10, 0.86);
  font-size: 1rem;
  font-weight: 700;
}

.evg-legal-section p {
  margin: 0.45rem 0 0;
  color: rgba(10, 10, 10, 0.7);
  font-size: 1rem;
  line-height: 1.75;
}

.evg-legal-section ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.evg-legal-section li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(10, 10, 10, 0.72);
  line-height: 1.65;
}

.evg-legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--evg-green);
}

.evg-legal-footer {
  background: var(--evg-green);
  color: var(--evg-cream);
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.evg-legal-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 86rem);
  margin: 0 auto;
}

.evg-legal-footer a {
  color: inherit;
  text-decoration: none;
}

.evg-legal-footer__brand {
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-size: clamp(2.5rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.evg-legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.4rem;
  font-weight: 600;
}

.evg-contact-shell {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.evg-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(47, 91, 74, 0.22);
}

.evg-contact-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--evg-green);
  font-family: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.85;
}

.evg-contact-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(47, 91, 74, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.evg-contact-panel span,
.evg-contact-route span,
.evg-contact-field label {
  display: block;
  color: rgba(10, 10, 10, 0.52);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evg-contact-panel strong,
.evg-contact-panel a {
  color: var(--evg-green);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.evg-contact-content {
  display: grid;
  grid-template-columns: minmax(12rem, 0.33fr) minmax(0, 0.67fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.evg-contact-aside {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: grid;
  gap: 1.75rem;
  color: rgba(10, 10, 10, 0.62);
  font-size: 0.98rem;
  line-height: 1.75;
}

.evg-contact-aside p {
  margin: 0;
}

.evg-contact-route {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(47, 91, 74, 0.18);
}

.evg-contact-route strong {
  color: var(--evg-green);
  font-size: 1.05rem;
}

.evg-contact-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(47, 91, 74, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.48);
}

.evg-contact-form__header {
  padding-bottom: 0.75rem;
}

.evg-contact-form__header h2 {
  margin: 0;
  color: var(--evg-green);
  font-family: "Bricolage Grotesque", "Outfit", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.evg-contact-field {
  display: grid;
  gap: 0.5rem;
}

.evg-contact-field input,
.evg-contact-field select,
.evg-contact-field textarea {
  width: 100%;
  border: 1px solid rgba(47, 91, 74, 0.24);
  border-radius: 0.45rem;
  background: rgba(241, 238, 226, 0.62);
  color: var(--evg-ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 220ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-contact-field textarea {
  min-height: 11rem;
  resize: vertical;
}

.evg-contact-field input:focus,
.evg-contact-field select:focus,
.evg-contact-field textarea:focus {
  border-color: var(--evg-green);
  background: rgba(255, 255, 255, 0.74);
}

.evg-contact-help {
  margin: 0;
  color: rgba(10, 10, 10, 0.5);
  font-size: 0.9rem;
  line-height: 1.45;
}

.evg-contact-status {
  min-height: 1.45rem;
  margin: 0;
  color: rgba(10, 10, 10, 0.62);
  font-size: 0.95rem;
  line-height: 1.45;
}

.evg-contact-status[data-state="success"] {
  color: var(--evg-green);
  font-weight: 700;
}

.evg-contact-status[data-state="error"] {
  color: #8a3c2f;
  font-weight: 700;
}

.evg-contact-submit {
  justify-self: start;
  border: 1px solid var(--evg-green);
  border-radius: 999px;
  background: var(--evg-green);
  color: var(--evg-cream);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1.35rem;
  transition: background-color 260ms cubic-bezier(0.16, 1, 0.3, 1), color 260ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.evg-contact-submit:hover {
  background: transparent;
  color: var(--evg-green);
}

.evg-contact-submit:active {
  transform: translateY(1px) scale(0.99);
}

.evg-contact-submit:disabled {
  cursor: wait;
  opacity: 0.64;
}

@media (max-width: 767px) {
  .evg-legal-nav,
  .evg-legal-nav__links,
  .evg-legal-hero,
  .evg-legal-content,
  .evg-contact-hero,
  .evg-contact-content,
  .evg-legal-section,
  .evg-legal-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .evg-legal-nav__links {
    gap: 0.65rem;
  }

  .evg-legal-hero h1 {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .evg-contact-hero h1 {
    font-size: clamp(3.6rem, 20vw, 6rem);
  }

  .evg-legal-aside,
  .evg-contact-aside {
    position: static;
  }

  .evg-legal-section {
    gap: 0.65rem;
  }

  .evg-legal-footer__links {
    justify-content: flex-start;
  }
}
