/* ==========================================================================
   1. :root custom properties
   ========================================================================== */
:root {
  --color-primary: #033F1D;
  --color-treeline: #033F1D;
  --treeline-filter: brightness(0) saturate(100%) invert(13%) sepia(85%) saturate(1800%) hue-rotate(130deg) brightness(0.75) contrast(1.2);
  --color-dark: #021A0C;
  --color-hero-dark: #011508;
  --color-trust-strip: #011508;
  --color-accent: #C9973A;
  --color-accent-dark: #B8882E;
  --color-accent-light: #A07D2A;
  --color-cream: #F7F0E3;
  --color-cream-text: #1a2818;
  --color-white: #F9F9F7;
  --color-white-text: #1a2818;
  --color-true-white: #ffffff;
  --color-light: #F7F0E3;
  --color-off-white: #F9F9F7;
  --color-gray: #ECEAE4;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-card: 1px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-logo-col: 110px;
  --nav-utility-height: 2.375rem;
  --nav-main-height: 3.5rem;
  --nav-height: 6.75rem;
}

/* ==========================================================================
   2. Reset / base overrides
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: transparent;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

ul {
  padding-left: 0;
  list-style: none;
}

section {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.heading-caps {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--color-dark);
}

.section-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-muted-light {
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   4. Navigation — double-layer header
   ========================================================================== */
.site-header {
  z-index: 1050;
  transition: box-shadow var(--transition);
}

.site-header:not(.scrolled) {
  background: transparent;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.site-header__inner {
  display: grid;
  grid-template-columns: var(--nav-logo-col) 1fr;
  grid-template-rows: auto auto;
  row-gap: 0;
  position: relative;
  padding: 0;
}

.site-header__logo {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: start;
  z-index: 10;
  line-height: 0;
  margin-left: -0.15rem;
}

.site-header__logo-img {
  width: auto;
  height: 6.5rem;
  max-height: 104px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

/* Top row — utility bar (darker green, full bleed) */
.nav-utility-bar {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  overflow: visible;
  background: var(--color-hero-dark);
  box-shadow: none;
  clip-path: none;
  padding: 0.45rem 0 0.45rem var(--nav-logo-col);
}

.nav-utility-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 0 0 100vmax var(--color-hero-dark);
  clip-path: inset(0 -100vmax);
  z-index: -1;
  pointer-events: none;
}

.nav-utility-bar__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  position: relative;
  z-index: 1;
}

.nav-contact-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-contact-link:hover,
.nav-contact-link:focus {
  color: var(--color-accent);
  text-decoration: none;
}

.nav-contact-link i {
  font-size: 0.85rem;
  color: var(--color-accent);
}

/* Language switcher — utility bar (header.php: .lang-switcher > #langSwitcherNav) */
.nav-utility-bar .lang-switcher {
  position: relative;
  z-index: 5;
}

.nav-utility-bar .lang-switcher .lang-switcher-btn,
.nav-utility-bar .lang-switcher #langSwitcherNav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #F7F0E3;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: none;
}

.nav-utility-bar .lang-switcher .lang-switcher-btn:hover,
.nav-utility-bar .lang-switcher .lang-switcher-btn:focus,
.nav-utility-bar .lang-switcher .lang-switcher-btn.show,
.nav-utility-bar .lang-switcher #langSwitcherNav:hover,
.nav-utility-bar .lang-switcher #langSwitcherNav:focus,
.nav-utility-bar .lang-switcher #langSwitcherNav.show {
  background: transparent;
  border-color: #C9973A;
  color: #C9973A;
  box-shadow: none;
}

.nav-utility-bar .lang-switcher .lang-switcher-btn i,
.nav-utility-bar .lang-switcher .lang-switcher-btn::after {
  color: inherit;
  border-top-color: currentColor;
}

.nav-utility-bar .lang-switcher .lang-dropdown,
.nav-utility-bar .lang-switcher .dropdown-menu {
  --bs-dropdown-bg: #033F1D;
  --bs-dropdown-link-color: #F7F0E3;
  --bs-dropdown-link-hover-color: #C9973A;
  --bs-dropdown-link-hover-bg: rgba(201, 151, 58, 0.15);
  --bs-dropdown-link-active-color: #C9973A;
  --bs-dropdown-link-active-bg: rgba(201, 151, 58, 0.15);
  background-color: #033F1D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 0.35rem;
  min-width: 160px;
  z-index: 1060;
}

.nav-utility-bar .lang-switcher .lang-dropdown .dropdown-item,
.nav-utility-bar .lang-switcher .lang-option {
  font-size: 0.9rem;
  border-radius: 3px;
  padding: 0.5rem 0.85rem;
  color: #F7F0E3;
  background-color: #033F1D;
  border: none;
  width: 100%;
  text-align: left;
}

.nav-utility-bar .lang-switcher .lang-dropdown .dropdown-item:hover,
.nav-utility-bar .lang-switcher .lang-dropdown .dropdown-item:focus,
.nav-utility-bar .lang-switcher .lang-option:hover,
.nav-utility-bar .lang-switcher .lang-option:focus {
  background-color: rgba(201, 151, 58, 0.15);
  color: #C9973A;
}

.nav-utility-bar .lang-switcher a.lang-option {
  display: block;
  text-decoration: none;
}

.nav-utility-bar .lang-switcher a.lang-option.is-active {
  color: #C9973A;
}

.nav-utility-bar .lang-switcher .dropdown-menu.show {
  display: block;
}

/* Bottom row — main navigation */
.site-header__nav {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  padding: 0.55rem 0 0.55rem var(--nav-logo-col);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-header:not(.scrolled) .site-header__nav {
  position: relative;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.site-header.scrolled .site-header__nav {
  background: var(--color-primary);
  box-shadow: 0 0 0 100vmax var(--color-primary);
  clip-path: inset(0 -100vmax);
}

.site-header__nav .navbar-toggler {
  margin-left: auto;
  border-color: rgba(24, 91, 30, 0.4);
  padding: 0.4rem 0.65rem;
  transition: border-color var(--transition);
}

.site-header.scrolled .site-header__nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.site-header__nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2824, 91, 30, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-header.scrolled .site-header__nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* At top — warm off-white nav over hero photo */
.site-header:not(.scrolled) .site-header__nav .nav-link {
  color: #e8dfc4 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.site-header:not(.scrolled) .site-header__nav .nav-link:hover {
  color: #C8A84B !important;
  text-shadow: none;
}

.site-header:not(.scrolled) .site-header__nav .nav-link::after {
  background: #C8A84B;
}

.site-header:not(.scrolled) .site-header__nav .nav-link.active {
  color: #C8A84B !important;
  font-weight: 700;
  text-shadow: none;
  border-bottom: 1px solid #C8A84B;
  padding-bottom: 2px !important;
}

.site-header:not(.scrolled) .site-header__nav .nav-link.active::after {
  display: none;
}

.site-header__nav .nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  text-decoration: none !important;
  transition: color var(--transition);
}

.site-header__nav .nav-link:hover,
.site-header__nav .nav-link:focus {
  text-decoration: none !important;
}

.site-header__nav .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-header__nav .nav-link:hover::after,
.site-header__nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Scrolled — white nav on dark bar */
.site-header.scrolled .site-header__nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
}

.site-header.scrolled .site-header__nav .nav-link::after {
  background: var(--color-accent);
}

.site-header.scrolled .site-header__nav .nav-link:hover {
  color: var(--color-white) !important;
}

.site-header.scrolled .site-header__nav .nav-link.active {
  color: var(--color-accent) !important;
  font-weight: 700;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.lang-switcher-btn:hover,
.lang-switcher-btn:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.lang-switcher-btn::after {
  margin-left: 0.25rem;
}

.lang-dropdown {
  background: #033F1D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 0.35rem;
  min-width: 160px;
}

.lang-dropdown .dropdown-item {
  font-size: 0.9rem;
  border-radius: 3px;
  padding: 0.5rem 0.85rem;
  color: #F7F0E3;
  background: #033F1D;
}

.lang-dropdown .dropdown-item:hover,
.lang-dropdown .dropdown-item:focus {
  background: rgba(201, 151, 58, 0.15);
  color: #C9973A;
}

/* ==========================================================================
   5. Buttons & CTAs
   ========================================================================== */
a:is(.btn, [class*="btn-"]),
button:is(.btn, [class*="btn-"], .submit-btn),
:is(.btn, [class*="btn-"], .submit-btn) {
  text-decoration: none;
}

a:is(.btn, [class*="btn-"]):hover,
a:is(.btn, [class*="btn-"]):focus,
a:is(.btn, [class*="btn-"]):focus-visible,
button:is(.btn, [class*="btn-"], .submit-btn):hover,
button:is(.btn, [class*="btn-"], .submit-btn):focus,
:is(.btn, [class*="btn-"], .submit-btn):hover,
:is(.btn, [class*="btn-"], .submit-btn):focus,
:is(.btn, [class*="btn-"], .submit-btn):focus-visible {
  text-decoration: none;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: transform 0.25s ease, box-shadow var(--transition), color var(--transition);
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
  transition: color 0.3s ease;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  color: var(--color-dark);
  border-color: var(--color-accent);
  background: transparent;
}

.btn-hero-light {
  background: var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-dark);
}

.btn-hero-light::before {
  background: var(--color-accent);
}

.btn-hero-light:hover {
  color: var(--color-dark);
  border-color: var(--color-accent);
}

.btn-outline-light-custom {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: var(--color-white);
}

.btn-outline-primary-custom {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary-custom:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-ghost:hover {
  color: var(--color-dark);
  border-color: var(--color-white);
  transform: scale(1.02);
}

.btn-ghost:hover::before {
  transform: translateX(0);
}

.btn-solid-green {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-solid-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-solid-green:hover {
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: scale(1.02);
}

.btn-solid-green:hover::before {
  transform: translateX(0);
}

.btn-accent-dark {
  background: var(--color-dark);
  border: 2px solid var(--color-dark);
  color: var(--color-white);
}

.btn-accent-dark::before {
  background: var(--color-white);
}

.btn-accent-dark:hover {
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn-white-on-color {
  background: var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-primary);
}

.btn-white-on-color::before {
  background: var(--color-accent);
}

.btn-white-on-color:hover {
  color: var(--color-dark);
  border-color: var(--color-accent);
}

.btn-blue-on-color {
  background: var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-primary);
}

.btn-blue-on-color::before {
  background: var(--color-accent);
}

.btn-blue-on-color:hover {
  color: var(--color-dark);
  border-color: var(--color-accent);
}

.link-arrow {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition), color var(--transition);
}

.link-arrow:hover {
  gap: 0.55rem;
  color: var(--color-primary);
}

.link-arrow-light {
  color: var(--color-accent);
}

.link-arrow-light:hover {
  color: var(--color-white);
}

/* ==========================================================================
   6. Section styles
   ========================================================================== */

/* --- Hero --- */
.hero-home {
  position: relative;
  min-height: 95vh;
  height: 95vh;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  margin: 0 calc(50% - 50vw);
  border: none;
  width: 100vw;
  max-width: 100vw;
  background: none;
  color: var(--color-off-white);
  overflow: hidden;
  box-sizing: border-box;
}

.hero-home:not(.hero-home--page) {
  justify-content: flex-start;
}

/* Inner pages — same hero treatment, shorter, no trust strip */
.hero-home--page {
  min-height: clamp(420px, 72vh, 680px);
  height: auto;
  max-height: none;
  justify-content: flex-end;
}

.hero-home--page .hero-home-inner {
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.hero-home--page > .treeline-divider.treeline-divider--hero-scale {
  align-self: flex-end;
  margin-top: 0;
  margin-left: auto;
  margin-right: 0;
  width: min(55vw, 1063px);
  position: relative;
  z-index: 3;
}

/* Legacy block treeline on inner heroes — hide; use .treeline-divider markup */
.hero-home--page > .pbg-treeline-wrap {
  display: none;
}

.hero-home--page > .treeline-divider--hero-scale svg {
  transform: none;
}

.hero-home--page > .treeline-divider .treeline-bg {
  fill: transparent;
  opacity: 0;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(1, 21, 8, 0.75) 0%,
      rgba(1, 21, 8, 0) 20%
    ),
    linear-gradient(
      to left,
      rgba(1, 21, 8, 0.35) 0%,
      rgba(1, 21, 8, 0) 40%
    ),
    linear-gradient(
      to right,
      rgba(8, 14, 8, 0.90) 0%,
      rgba(8, 14, 8, 0.80) 25%,
      rgba(8, 14, 8, 0.60) 45%,
      rgba(8, 14, 8, 0.30) 65%,
      rgba(8, 14, 8, 0.08) 82%,
      rgba(8, 14, 8, 0.00) 100%
    ),
    linear-gradient(
      to top,
      rgba(8, 14, 8, 0.80) 0%,
      rgba(8, 14, 8, 0.20) 25%,
      rgba(8, 14, 8, 0.00) 45%
    ),
    rgba(3, 63, 29, 0.10);
  z-index: 1;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-home .hero-glow {
  display: none;
}

.hero-home-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + clamp(80px, 12vh, 180px)) 0 clamp(1.5rem, 4vh, 3rem);
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.hero-content {
  flex: 0 1 60vw;
  width: 60vw;
  max-width: 60vw;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C8A84B;
  margin-bottom: 16px;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  animation: fadeUp 0.6s ease forwards;
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.06;
  font-weight: normal;
  letter-spacing: -0.02em;
  color: #f4edd8;
  margin-bottom: 22px;
  text-transform: none;
  animation: fadeUp 0.6s ease 0.05s forwards;
  opacity: 0;
}

.hero-headline em {
  font-style: normal;
  color: #C8A84B;
  font-size: 92%;
}

.hero-sub,
.hero-content p,
.hero-description {
  font-size: 0.95rem;
  line-height: 1.82;
  color: rgba(232, 223, 196, 0.80) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  max-width: 55ch;
  margin-bottom: 34px;
  font-family: var(--font-body);
  animation: fadeUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-sub a,
.hero-content p a,
.hero-description a {
  color: inherit !important;
  text-decoration: none !important;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeIn 0.5s ease 0.4s forwards;
  opacity: 0;
}

.btn-hero-primary {
  display: inline-block;
  background: #C8A84B;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 1px;
  text-decoration: none;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-hero-primary:hover {
  background: #b8943c;
  color: var(--color-dark);
  transform: translateY(-1px);
}

.btn-hero-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 223, 196, 0.75) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 223, 196, 0.35);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-text:hover {
  color: #C8A84B !important;
  border-color: rgba(200, 168, 75, 0.55);
  text-shadow: none;
}

/* Hero trust strip — below treeline */
.hero-home-bottom {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 4;
}

.hero-home-bottom .hero-pine-corner {
  align-self: flex-end;
}

.hero-trust-strip {
  position: relative;
  z-index: 4;
  width: 100%;
  background-color: var(--color-trust-strip);
  border: none;
  padding: 0.7rem 0;
  padding-bottom: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

.hero-trust-strip__inner,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(154, 148, 120, 0.72);
  text-align: center;
}

.trust-item {
  padding: 0.15rem 0.85rem;
  white-space: nowrap;
}

.trust-stat {
  color: #C8A84B;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.85rem;
  margin-right: 4px;
}

.trust-divider {
  width: 1px;
  height: 12px;
  background: rgba(200, 168, 75, 0.25);
  flex-shrink: 0;
}

/* ==========================================================================
   Homepage sections (post-hero) — StoryBrand
   ========================================================================== */
.the-problem,
.the-guide,
.the-plan,
.dual-audience,
.stakes,
.cta-banner {
  overflow: visible;
}

.the-problem .container,
.the-guide .container,
.the-plan .container,
.dual-audience .container,
.stakes .container,
.cta-banner .container {
  max-width: 1200px;
  padding-left: 48px;
  padding-right: 48px;
}

.the-problem .eyebrow,
.the-plan .eyebrow,
.stakes .eyebrow,
.cta-banner .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C8A84B;
  margin-bottom: 16px;
  font-weight: 500;
}

.eyebrow-dark {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.eyebrow-cta {
  color: rgba(200, 168, 75, 0.85);
}

.gold {
  color: #C8A84B;
  font-style: normal;
}

.gold-dark {
  color: #C8A84B;
  font-style: normal;
}

/* Section 1 — The Problem */
.the-problem {
  background: var(--color-hero-dark);
  padding: 96px 0;
  color: var(--color-off-white);
}

.the-problem h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-off-white);
  font-weight: normal;
  margin-bottom: 56px;
  line-height: 1.1;
  text-transform: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: start;
}

.problem-divider {
  border-left: 1px solid rgba(200, 168, 75, 0.2);
  height: 100%;
  min-height: 200px;
  margin: 0 auto;
}

.problem-card {
  padding: 0 40px;
}

.problem-card:first-child {
  padding-left: 0;
}

.problem-card:last-child {
  padding-right: 0;
}

.problem-audience {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0.8;
}

.problem-card h3 {
  font-size: 1.2rem;
  color: var(--color-off-white);
  font-weight: normal;
  line-height: 1.45;
  margin-bottom: 16px;
}

.problem-card p {
  font-size: 0.88rem;
  color: rgba(249, 249, 247, 0.72);
  line-height: 1.85;
  margin: 0;
}

/* Section 2 — The Guide */
.the-guide {
  background: var(--color-cream);
  padding: 96px 0;
  color: var(--color-cream-text);
}

.the-guide:has(> .pbg-treeline-wrap),
.the-guide:has(> .treeline-divider) {
  padding: 96px 0 0;
}

.the-guide:has(> .pbg-treeline-wrap) .container,
.the-guide:has(> .treeline-divider) .container {
  padding-bottom: 96px;
}

.guide-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.guide-inner--stats-bottom {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.guide-inner--stats-bottom .guide-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  padding-top: 48px;
  border-top: 1px solid rgba(26, 40, 24, 0.10);
}

.guide-inner--stats-bottom .guide-stat {
  padding: 0 32px 0 0;
  border: none;
  border-right: 1px solid rgba(26, 40, 24, 0.10);
}

.guide-inner--stats-bottom .guide-stat:first-child {
  border-top: none;
  padding-left: 0;
}

.guide-inner--stats-bottom .guide-stat:last-child {
  border-right: none;
  padding-right: 0;
}

.dark-heading {
  color: var(--color-cream-text);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: normal;
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: none;
}

.the-guide .dark-heading {
  color: var(--color-cream-text);
}

.page-section--cream > .container > .dark-heading {
  margin-bottom: 1rem;
}

.challenge-section > .container > .challenge-section__headline {
  width: 100%;
  max-width: none;
  margin-bottom: 48px;
}

.page-section--cream .split-editorial {
  margin-top: 0;
}

.challenge-section__split {
  margin-top: 0;
  align-items: start;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
}

.challenge-section__split .guide-text {
  margin: 0;
}

.challenge-section__split .guide-text p:first-child {
  margin-top: 0;
}

.challenge-section__split .pain-point:first-child {
  padding-top: 0;
}

.challenge-section__cards {
  align-self: start;
}

.pain-points {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: start;
}

.pain-point {
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 40, 24, 0.10);
}

.pain-point:last-child {
  border-bottom: none;
}

.pain-point__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-cream-text);
  font-weight: normal;
  margin-bottom: 10px;
  line-height: 1.35;
}

.pain-point__text {
  font-size: 0.88rem;
  color: rgba(26, 40, 24, 0.68);
  line-height: 1.85;
  margin: 0;
}

.the-guide .guide-text .dark-heading {
  margin-bottom: 1rem;
}

.page-section--cream .guide-text .dark-heading {
  margin-bottom: 1rem;
}

.the-guide .eyebrow-dark {
  color: var(--color-primary);
}

.guide-text p {
  font-size: 0.92rem;
  color: rgba(26, 40, 24, 0.70);
  line-height: 1.85;
  margin-bottom: 16px;
}

.guide-text p:last-child {
  margin-bottom: 0;
}

.guide-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guide-stat {
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 40, 24, 0.10);
}

.guide-stat:first-child {
  border-top: 1px solid rgba(26, 40, 24, 0.10);
}

.guide-stat-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.6rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.guide-stat-label {
  font-size: 0.82rem;
  color: rgba(26, 40, 24, 0.60);
  line-height: 1.5;
}

/* Section 3 — The Plan */
.the-plan {
  display: flex;
  flex-direction: column;
  padding: 96px 0 0;
  background: var(--color-primary);
  color: var(--color-white-text);
}

.the-plan h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #ffffff;
  font-weight: normal;
  margin-bottom: 20px;
  text-transform: none;
}

.the-plan h2 .gold {
  color: #C9973A;
}

.the-plan .section-sub {
  color: #F7F0E3;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 64px;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.the-plan .step {
  flex: 1;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-radius: var(--radius-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.the-plan .step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.the-plan .step-num,
.step-num,
.step-number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #C9973A;
  margin-bottom: 8px;
  display: block;
  line-height: 1.4;
  font-style: normal;
  opacity: 1;
}

.section--light .step-num,
.section--light .step-number,
.section--cream .step-num,
.section--cream .step-number,
.section--white .step-num,
.section--white .step-number,
.the-plan .step-num,
.page-section--cream .step-num,
.page-section--white .step-num {
  color: #A07D2A;
}

.the-plan .step h3 {
  font-size: 1.1rem;
  color: #033F1D;
  font-weight: normal;
  margin-bottom: 12px;
}

.the-plan .step p {
  color: #4a5e48;
  font-size: 0.88rem;
  line-height: 1.85;
  margin: 0;
}

.the-plan .step-connector {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
  font-size: 1.4rem;
}

/* Section 4 — Dual Audience */
.dual-audience {
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  padding: 96px 0 0;
  color: var(--color-cream-text);
}

.dual-audience:not(:has(> .treeline-divider)):not(:has(> .pbg-treeline-wrap)) {
  padding-bottom: 96px;
}

.dual-audience .dark-heading {
  margin-bottom: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.dual-audience .audience-card,
.contact-form-block {
  background: var(--color-true-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(26, 40, 24, 0.10);
  padding: 48px 40px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dual-audience .audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(26, 40, 24, 0.10);
}

.audience-suppliers {
  border-top: 4px solid #C8A84B;
}

.audience-buyers {
  border-top: 4px solid var(--color-primary);
}

.audience-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.dual-audience .audience-card h3 {
  font-size: 1.25rem;
  color: var(--color-cream-text);
  font-weight: normal;
  margin-bottom: 16px;
}

.dual-audience .audience-card > p {
  color: rgba(26, 40, 24, 0.70);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}

.audience-list li {
  font-size: 0.87rem;
  color: rgba(26, 40, 24, 0.68);
  line-height: 1.6;
  padding: 9px 0;
  border-bottom: 1px solid rgba(26, 40, 24, 0.07);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.audience-list li::before {
  content: '—';
  color: var(--color-primary);
  flex-shrink: 0;
}

.audience-buyers .audience-list li::before {
  color: var(--color-primary);
}

.btn-audience {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cream-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 40, 24, 0.30);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-audience:hover {
  color: #C8A84B;
  border-color: #C8A84B;
}

/* Section 5 — Success / Failure Stakes */
.stakes {
  background: var(--color-hero-dark);
  padding: 96px 0;
  color: var(--color-off-white);
}

.stakes:has(> .pbg-treeline-wrap),
.stakes:has(> .treeline-divider) {
  padding: 96px 0 0;
}

.stakes:has(> .pbg-treeline-wrap) .container,
.stakes:has(> .treeline-divider) .container {
  padding-bottom: 96px;
}

.stakes h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-off-white);
  font-weight: normal;
  margin-bottom: 56px;
  text-transform: none;
}

.stakes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stakes-col {
  padding: 40px 36px;
  border-radius: var(--radius-card);
}

.stakes-success {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stakes-failure {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stakes-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.stakes-label-success {
  color: #C8A84B;
}

.stakes-label-failure {
  color: rgba(232, 223, 196, 0.35);
}

.stakes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stakes-list li {
  font-size: 0.88rem;
  line-height: 1.7;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(232, 223, 196, 0.75);
}

.stakes-list li::before {
  content: '✓';
  color: var(--color-accent);
  flex-shrink: 0;
  font-weight: bold;
}

.stakes-list-failure li {
  color: rgba(232, 223, 196, 0.40);
}

.stakes-list-failure li::before {
  content: '✗';
  color: rgba(232, 223, 196, 0.20);
  font-weight: normal;
}

.section-ctas.centered {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

/* Section 6 — CTA Banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: var(--color-off-white);
  background: var(--color-hero-dark);
}

.cta-banner:has(> .pbg-treeline-wrap),
.cta-banner:has(> .treeline-divider) {
  padding: 96px 0 0;
}

.cta-banner:has(> .pbg-treeline-wrap) .container,
.cta-banner:has(> .treeline-divider) .container {
  padding-bottom: 96px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(8, 14, 8, 0.90) 0%,
      rgba(8, 14, 8, 0.80) 25%,
      rgba(8, 14, 8, 0.60) 45%,
      rgba(8, 14, 8, 0.30) 65%,
      rgba(8, 14, 8, 0.08) 82%,
      rgba(8, 14, 8, 0.00) 100%
    ),
    linear-gradient(
      to top,
      rgba(8, 14, 8, 0.80) 0%,
      rgba(8, 14, 8, 0.20) 25%,
      rgba(8, 14, 8, 0.00) 45%
    );
  z-index: 1;
  pointer-events: none;
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

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

.cta-text {
  flex: 1;
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #f4edd8;
  font-weight: normal;
  margin-bottom: 16px;
  text-transform: none;
}

.cta-banner h2 em {
  color: #C8A84B;
  font-style: normal;
}

.cta-banner p {
  color: rgba(232, 223, 196, 0.72);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 480px;
  margin: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  min-width: 200px;
}

.btn-cta-primary {
  display: block;
  background: #C8A84B;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 1px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cta-primary:hover {
  background: #b8943c;
  color: var(--color-dark);
  transform: scale(1.02);
}

.btn-cta-secondary {
  display: block;
  background: var(--color-dark);
  color: #C9973A;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid #C9973A;
  border-radius: 1px;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-cta-secondary:hover {
  border-color: #C8A84B;
  color: #C8A84B;
}

h2 em,
.hero-headline em,
.the-problem h2 em,
.the-plan h2 em,
.dual-audience h2 em,
.stakes h2 em,
.cta-banner h2 em,
.dark-heading em {
  font-style: normal;
  color: #C8A84B;
}

/* Light backgrounds (#F7F0E3, #F9F9F7) — large accent text uses warmer gold */
.the-guide .gold,
.the-guide .gold-dark,
.the-guide .dark-heading em,
.the-guide h2 em,
.the-guide .guide-stat-num,
.dual-audience .gold,
.dual-audience .gold-dark,
.dual-audience .dark-heading em,
.dual-audience h2 em,
.page-section--cream .gold,
.page-section--cream .gold-dark,
.page-section--cream .dark-heading em,
.page-section--cream h2 em,
.page-section--cream .guide-stat-num,
.page-section--white .gold,
.page-section--white .gold-dark,
.page-section--white .dark-heading em,
.page-section--white h2 em {
  color: var(--color-accent-light);
}

/* Stat callout on About — keep original gold numbers on dark green block */
.page-section--cream .stat-callout .stat-callout__num {
  color: #C9973A;
}

/* Hero-scale treeline dividers — same size as hero-pine-corner */
.treeline-divider.treeline-divider--hero-scale {
  width: min(55vw, 1063px);
  max-height: none;
  overflow: visible;
  margin-bottom: -1px;
  padding: 0;
  background: transparent;
  line-height: 0;
  flex-shrink: 0;
  pointer-events: none;
}

.treeline-divider.treeline-divider--hero-scale-right,
.dual-audience > .treeline-divider--hero-scale {
  align-self: flex-end;
  margin-top: 96px;
  margin-left: auto;
  margin-right: 0;
}

.treeline-divider.treeline-divider--hero-scale-left,
.the-plan > .treeline-divider--hero-scale {
  align-self: flex-start;
  margin-top: 96px;
  margin-left: 0;
  margin-right: auto;
}

.treeline-divider.treeline-divider--hero-scale svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1063 / 235;
  -webkit-mask-image: none;
  mask-image: none;
}

.treeline-divider.treeline-divider--hero-scale-left svg {
  transform: scaleX(-1);
}

.treeline-divider.treeline-divider--hero-scale .treeline-silhouette {
  -webkit-mask-image: var(--pbg-mask-updated-pines, url('../img/updated-pines.svg'));
  mask-image: var(--pbg-mask-updated-pines, url('../img/updated-pines.svg'));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: right bottom;
  mask-position: right bottom;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

/* Treeline transition fills — direct color, no filter */
.treeline--to-cream .treeline-silhouette {
  fill: #F7F0E3;
}

.treeline--to-dark .treeline-silhouette {
  fill: #033F1D;
}

.treeline--to-hero-dark .treeline-silhouette {
  fill: #011508;
}

.treeline--to-white .treeline-silhouette {
  fill: #F9F9F7;
}

.page-section--primary:has(+ .form-section--centered) {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.page-section--primary:has(+ .form-section--centered) .container {
  margin-bottom: 0;
  border: none;
}

.treeline--from-hero .treeline-bg {
  fill: #011508;
}

.treeline--from-primary .treeline-bg {
  fill: #033F1D;
}

.treeline--from-cream .treeline-bg {
  fill: #F7F0E3;
}

.treeline--from-white .treeline-bg {
  fill: #F9F9F7;
}

/* Legacy pine-divider classes — other pages may reference */
.pine-divider,
.section-divider,
.treeline-wrap {
  display: none;
}

/* Hero: bottom-right treeline — matches hero-dark Problem section */
.hero-pine-corner {
  position: relative;
  align-self: flex-end;
  width: min(55vw, 1063px);
  aspect-ratio: 1063 / 235;
  z-index: 3;
  pointer-events: none;
  flex-shrink: 0;
  background-color: var(--color-hero-dark);
  -webkit-mask-image: var(--pbg-mask-updated-pines, url('../img/updated-pines.svg'));
  mask-image: var(--pbg-mask-updated-pines, url('../img/updated-pines.svg'));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: right bottom;
  mask-position: right bottom;
}

/* Legacy hero modifier — other pages may reference; hero uses .hero-pine-corner */
.pine-divider--hero {
  display: none;
}

/* Sections following an overlapping divider sit above the overlap */
.pine-divider--overlap-up + section,
.pine-divider--overlap-up + .section-intro {
  position: relative;
  z-index: 2;
}

/* --- Intro --- */
.section-intro {
  background: var(--color-white);
  padding: 4.5rem 0 5rem;
  position: relative;
  z-index: 2;
  margin-top: -2px;
}

.intro-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.intro-logo {
  width: 140px;
  height: auto;
  border-radius: 50%;
}

.intro-content .heading-caps {
  margin-bottom: 1.5rem;
}

/* --- Values grid --- */
.section-values {
  background: var(--color-gray);
  padding: 5rem 0;
}

.value-tile {
  text-align: center;
  padding: 1.5rem 1.25rem;
  height: 100%;
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  border: 1px solid rgba(3, 63, 29, 0.2);
  border-radius: 50%;
  transition: transform 0.2s ease, background var(--transition);
}

.value-tile:hover .value-icon {
  transform: scale(1.1);
  background: rgba(3, 63, 29, 0.08);
}

.value-tile h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--color-dark);
}

.value-tile p {
  font-size: 0.98rem;
  color: rgba(13, 31, 15, 0.72);
  margin: 0;
}

/* --- Global trade dark panel --- */
.section-global {
  position: relative;
  background: var(--color-dark);
  padding: 5.5rem 0;
  color: var(--color-white);
  overflow: hidden;
}

.section-global::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/pexels-szafran-17763210.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.section-global .container {
  position: relative;
  z-index: 2;
}

.section-global h2 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.section-global p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
}

.global-map {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  aspect-ratio: 2 / 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 168, 75, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.global-map svg {
  width: 100%;
  height: 100%;
}

.global-map-dot {
  fill: var(--color-primary);
  opacity: 0.85;
}

.global-map-line {
  stroke: var(--color-accent);
  stroke-width: 1.5;
  opacity: 0.5;
  fill: none;
}

/* --- Pain Points --- */
.section-pain {
  background: var(--color-white);
  padding: 5.5rem 0;
}

.pain-close {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.05rem;
}

.pain-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pain-icon-wrap--green {
  background: rgba(3, 63, 29, 0.12);
  color: var(--color-primary);
}

.pain-icon-wrap--blue {
  background: rgba(2, 26, 12, 0.12);
  color: var(--color-dark);
}

/* --- Guide / Authority --- */
.section-guide {
  background: var(--color-white);
  padding: 5.5rem 0;
}

.guide-image-wrap {
  position: relative;
}

.guide-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.guide-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, rgba(3, 63, 29, 0.15) 0%, rgba(2, 26, 12, 0.1) 100%);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(13, 31, 15, 0.45);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

/* --- Comparison --- */
.section-comparison {
  background: var(--color-gray);
  padding: 5.5rem 0;
  color: var(--color-dark);
  margin-top: 0;
  padding-top: 5.5rem;
}

.section-comparison h2 {
  color: var(--color-dark);
}

/* --- Process --- */
.section-process {
  background: var(--color-white);
  padding: 5.5rem 0;
}

.process-steps {
  position: relative;
  margin-top: 3rem;
}

.process-line {
  position: absolute;
  top: 2.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
  opacity: 0.4;
  display: none;
}

.process-step {
  text-align: center;
  padding: 0 1rem;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.process-step h3 {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

/* --- Feature Tiles --- */
.section-features {
  background: var(--color-gray);
  padding: 5.5rem 0;
}

/* --- Before & After --- */
.section-before-after {
  background: var(--color-primary);
  padding: 5.5rem 0;
  color: var(--color-white);
}

.section-before-after h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
}

.ba-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.ba-list--pain li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
}

.ba-list--gain li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.ba-list--gain li {
  color: rgba(255, 255, 255, 0.95);
}

.ba-close {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
}

/* --- Two Audiences --- */
.section-audiences {
  background: var(--color-white);
  padding: 5.5rem 0;
}

.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.audience-card--supplier {
  background: var(--color-primary);
  color: var(--color-white);
}

.audience-card--buyer {
  background: var(--color-dark);
  color: var(--color-white);
}

.audience-card h3 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.audience-card p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.audience-deco-icon {
  position: absolute;
  top: -10%;
  right: -5%;
  font-size: 12rem;
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.audience-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* --- Accent Banner --- */
.section-accent-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  padding: 4.5rem 0;
  text-align: center;
  color: var(--color-white);
}

.section-accent-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.section-accent-banner .lead {
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
}

/* --- Final CTA --- */
.section-final-cta {
  position: relative;
  background: var(--color-white);
  padding: 5.5rem 0 4.5rem;
  color: var(--color-dark);
  text-align: center;
}

.section-final-cta h2 {
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-final-cta p {
  color: rgba(13, 31, 15, 0.78);
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* CTA: bottom treelines — mirrored pair, matches footer green */
.cta-pine-corner {
  position: absolute;
  bottom: 0;
  width: min(55vw, 1063px);
  z-index: 3;
  pointer-events: none;
  line-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.cta-pine-corner--left {
  left: 0;
}

.cta-pine-corner--right {
  right: 0;
}

.cta-pine-corner__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: var(--treeline-filter);
}

.cta-pine-corner--left .cta-pine-corner__img {
  object-position: left bottom;
  transform: scaleX(-1) translateX(-100%);
  transform-origin: top left;
}

.cta-pine-corner--right .cta-pine-corner__img {
  object-position: right bottom;
}

.section-final-cta .container {
  position: relative;
  z-index: 2;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-dark);
  padding: 80px 0 0;
  border-top: 1px solid rgba(200, 168, 75, 0.12);
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.25fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 100px;
  height: auto;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: #C8A84B;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(232, 223, 196, 0.50);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 220px;
}

.footer-col--contact .footer-contact-line {
  margin: 0;
}

.footer-col--contact .footer-contact-line a {
  color: rgba(247, 240, 227, 0.88);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-col--contact .footer-contact-line a:hover {
  color: #C9973A;
}

.footer-contact-line {
  font-size: 0.82rem;
  line-height: 1.9;
  margin: 0;
}

.footer-contact-line a {
  color: rgba(232, 223, 196, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-line a:hover {
  color: #C8A84B;
}

.footer-col-label {
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C8A84B;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  font-size: 0.85rem;
  color: rgba(232, 223, 196, 0.58);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: #f4edd8;
}

.footer-links__plain {
  font-size: 0.85rem;
  color: rgba(232, 223, 196, 0.40);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(200, 168, 75, 0.10);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

.site-footer .footer-bottom span {
  font-size: 0.75rem;
  color: rgba(247, 240, 227, 0.45);
}

.footer-credit,
.spindlestack-credit {
  font-size: 0.75rem;
  color: rgba(247, 240, 227, 0.45);
  text-decoration: none;
}

.footer-credit a,
.spindlestack-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover,
.spindlestack-credit a:hover {
  color: rgba(247, 240, 227, 0.7);
}

.lang-modal-content {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lang-modal-content .modal-title {
  font-family: var(--font-heading);
}

/* ==========================================================================
   7. Cards & tiles
   ========================================================================== */
.card-glass {
  background: var(--color-white);
  border: 1px solid rgba(13, 31, 15, 0.08);
  border-radius: var(--radius-sm);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-glass:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 168, 75, 0.35);
}

.card-glass h3 {
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.card-glass p {
  color: rgba(13, 31, 15, 0.72);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.card-glass--elevated {
  background: var(--color-white);
  border-top: 3px solid var(--color-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card-glass--elevated:hover {
  transform: translateY(-13px);
}

.feature-tile {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(13, 31, 15, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--color-accent-dark);
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease;
}

.feature-tile:hover .feature-icon {
  transform: scale(1.1);
}

.feature-tile h3 {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.feature-tile p {
  color: rgba(13, 31, 15, 0.75);
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ==========================================================================
   8. Animations & transitions
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   9. Utilities
   ========================================================================== */
.section-padding {
  padding: 5.5rem 0;
}

.text-white {
  color: var(--color-white) !important;
}

.text-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-right: 2rem;
}

.text-link:last-child {
  margin-right: 0;
}

.text-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.section--dark .text-link,
.section--green .text-link {
  color: #F7F0E3;
}

.section--light .text-link,
.section--cream .text-link,
.section--white .text-link {
  color: #033F1D;
}

.the-guide .text-link,
.dual-audience .text-link {
  color: #033F1D;
}

.the-plan .text-link,
.stakes .text-link {
  color: #F7F0E3;
}

.text-link-row {
  margin-top: 2rem;
}

.text-link-row--center {
  text-align: center;
}

.guide-text .text-link {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .text-link {
    display: block;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

.deco-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
}

.deco-blur--green {
  background: var(--color-primary);
}

.deco-blur--blue {
  background: var(--color-dark);
}

.deco-blur--comparison {
  width: 300px;
  height: 300px;
  top: 20%;
  right: -5%;
}

.deco-blur--before-after {
  width: 350px;
  height: 350px;
  bottom: -10%;
  left: -5%;
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.15s;
}

.animate-delay-3 {
  transition-delay: 0.2s;
}

.animate-delay-4 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   Inner pages — forms, shared section patterns
   ========================================================================== */
.page-section {
  overflow: visible;
}

.page-section .container {
  max-width: 1200px;
  padding-left: 48px;
  padding-right: 48px;
}

.page-section--cream {
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  padding: 96px 0 0;
  color: var(--color-cream-text);
}

.page-section--cream .container {
  padding-bottom: 96px;
}

.page-section--cream > .treeline-divider--hero-scale-right {
  align-self: flex-end;
  margin-top: 0;
  margin-left: auto;
  margin-right: 0;
}

.page-section--cream > .treeline-divider--hero-scale-left {
  align-self: flex-start;
  margin-top: 0;
  margin-left: 0;
  margin-right: auto;
}

.page-section--primary {
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  padding: 96px 0 0;
  color: var(--color-off-white);
}

.page-section--primary .container {
  padding-bottom: 96px;
}

.page-section--primary .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C8A84B;
  margin-bottom: 16px;
  font-weight: 500;
}

.page-section--primary h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #ffffff;
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: none;
}

.page-section--primary .section-sub {
  font-size: 0.92rem;
  color: rgba(247, 240, 227, 0.78);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 48px;
}

.page-section--primary > .treeline-divider--hero-scale-left {
  align-self: flex-start;
  margin-top: 0;
  margin-left: 0;
  margin-right: auto;
}

.page-section--primary > .treeline-divider--hero-scale-right {
  align-self: flex-end;
  margin-top: 0;
  margin-left: auto;
  margin-right: 0;
}

.page-section--white {
  background: var(--color-off-white);
  padding: 96px 0;
  color: var(--color-cream-text);
}

.stat-callout {
  background: var(--color-primary);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  color: var(--color-off-white);
}

.stat-callout__item {
  padding: 22px 0;
  border: none;
  margin: 12px 0;
}

.stat-callout__item:first-child {
  padding-top: 0;
  margin-top: 0;
}

.stat-callout__item:not(:first-child) {
  border-top: 1px solid rgba(201, 151, 58, 0.3);
}

.stat-callout__item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.stat-callout__num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.4rem;
  color: #C9973A;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-callout__label {
  font-size: 0.82rem;
  color: #F7F0E3;
  line-height: 1.5;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scope-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-radius: var(--radius-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.scope-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.scope-card h3 {
  font-size: 1.05rem;
  color: #033F1D;
  font-weight: normal;
  margin-bottom: 10px;
}

.scope-card p {
  color: #4a5e48;
  font-size: 0.88rem;
  line-height: 1.85;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-tile {
  background: var(--color-true-white);
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(26, 40, 24, 0.10);
}

.feature-tile h3 {
  font-size: 1.05rem;
  color: var(--color-cream-text);
  font-weight: normal;
  margin-bottom: 10px;
}

.feature-tile p {
  font-size: 0.88rem;
  color: rgba(26, 40, 24, 0.68);
  line-height: 1.85;
  margin: 0;
}

.split-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.split-editorial__label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 600;
}

.split-editorial h3 {
  font-size: 1.15rem;
  color: var(--color-cream-text);
  font-weight: normal;
  line-height: 1.45;
  margin-bottom: 14px;
}

.split-editorial p {
  font-size: 0.92rem;
  color: rgba(26, 40, 24, 0.70);
  line-height: 1.85;
  margin: 0;
}

.service-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}

.service-checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: rgba(26, 40, 24, 0.72);
  line-height: 1.75;
}

.service-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.markets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 20px;
  list-style: none;
  padding: 0;
}

.markets-list li {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-cream-text);
  padding: 12px 22px;
  background: var(--color-true-white);
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-radius: var(--radius-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.markets-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.contact-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact-form-block {
  box-shadow: 0 4px 24px rgba(3, 63, 29, 0.10);
}

.contact-form-block .form-styled {
  margin-top: 0;
}

.contact-form-block .form-feedback {
  color: rgba(26, 40, 24, 0.72);
}

.contact-form-block .form-feedback--success {
  color: #A07D2A;
}

.contact-form-block .form-feedback--error {
  color: #b33a3a;
}

.contact-item {
  margin-bottom: 14px;
}

.contact-text {
  font-size: 14px;
  color: #033F1D;
  font-weight: 500;
  text-decoration: none;
}

.contact-text:hover {
  color: #A07D2A;
}

.contact-response-note {
  font-size: 12px;
  color: #4a5e48;
  font-style: italic;
  margin: 0 0 0;
  line-height: 1.5;
}

.contact-divider {
  border: none;
  border-top: 1px solid rgba(3, 63, 29, 0.15);
  margin: 24px 0;
}

.contact-info-block .audience-cards {
  margin-top: 0;
}

.contact-info-block .audience-cards .audience-card {
  padding: 16px;
  border-radius: var(--radius-card);
  background: rgba(3, 63, 29, 0.04);
  margin-bottom: 12px;
  min-height: 0;
  display: block;
  overflow: visible;
}

.contact-info-block .audience-cards .audience-card:last-child {
  margin-bottom: 0;
}

.contact-info-block .audience-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #033F1D;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-block .audience-copy {
  font-size: 12px;
  color: #4a5e48;
  line-height: 1.5;
  margin: 0 0 8px;
}

.contact-info-block .audience-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A07D2A;
  font-weight: 500;
  text-decoration: none;
}

.contact-info-block .audience-link:hover {
  text-decoration: underline;
}

.contact-info-block p {
  font-size: 0.92rem;
  color: rgba(26, 40, 24, 0.70);
  line-height: 1.85;
  margin-bottom: 16px;
}

.contact-info-block a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.contact-info-block a:hover {
  color: var(--color-accent-dark);
}

.contact-detail {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-links li {
  margin-bottom: 10px;
}

.contact-links a {
  font-size: 0.92rem;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(3, 63, 29, 0.25);
  transition: color var(--transition), border-color var(--transition);
}

.contact-links a:hover {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.lang-note {
  background: var(--color-primary);
  padding: 72px 0;
  text-align: center;
  color: var(--color-off-white);
}

.lang-note .container {
  max-width: 720px;
}

.lang-note .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C8A84B;
  margin-bottom: 16px;
  font-weight: 500;
}

.lang-note h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #f4edd8;
  font-weight: normal;
  margin-bottom: 16px;
  text-transform: none;
}

.lang-note p {
  font-size: 0.92rem;
  color: rgba(247, 240, 227, 0.78);
  line-height: 1.85;
  margin: 0;
}

.inquiry-form .form-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 40, 24, 0.65);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.inquiry-form .form-control,
.inquiry-form .form-select {
  background: var(--color-cream);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  color: #1a2818;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.inquiry-form .form-control:focus,
.inquiry-form .form-select:focus {
  background: var(--color-cream);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 151, 58, 0.18);
  color: #1a2818;
}

.inquiry-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.inquiry-form .mesh-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mesh-field-label {
  font-size: 0.78rem;
  color: rgba(26, 40, 24, 0.55);
  margin-top: 0.25rem;
}

.btn-submit-inquiry {
  display: block;
  width: 100%;
  background: #C8A84B;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  border-radius: 1px;
  text-align: center;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 0.5rem;
}

.btn-submit-inquiry:hover {
  background: #b8943c;
  color: var(--color-dark);
  transform: scale(1.02);
}

.form-feedback {
  font-size: 0.88rem;
  margin-top: 1rem;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback--success {
  color: var(--color-accent-dark);
}

.form-feedback--error {
  color: #b33a3a;
}

.partners-grid--compact {
  margin-top: 48px;
}

.partners-grid--compact .audience-card {
  padding: 28px 32px;
  min-height: auto;
  display: block;
  justify-content: flex-start;
}

.partners-grid--compact .audience-tag {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.partners-grid--compact .audience-card h3 {
  margin-bottom: 12px;
}

.partners-grid--compact .audience-card > p {
  margin-bottom: 0;
}

.partners-grid--compact .btn-audience {
  margin-top: 24px;
}

/* Service pages — StoryBrand layout additions */
.page-section--entry {
  padding-top: calc(var(--nav-height) + 48px);
}

.page-section.page-section--white {
  display: flex;
  flex-direction: column;
  padding: 96px 0 0;
}

.page-section.page-section--white .container {
  padding-bottom: 96px;
}

.page-section.page-section--white + .page-section.page-section--white {
  padding-top: 0;
}

.page-section.page-section--white > .treeline-divider--hero-scale-right {
  align-self: flex-end;
  margin-top: 0;
  margin-left: auto;
  margin-right: 0;
}

.page-section--primary .text-link {
  color: #F7F0E3;
}

.page-section--white .text-link {
  color: #033F1D;
}

.page-section--white .service-checklist li::before {
  color: var(--color-accent-light);
}

.page-section--primary h2 .section-headline-sub {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  font-weight: normal;
  margin-top: 0.75rem;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-radius: var(--radius-card);
  padding: 20px;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--color-cream-text);
  font-weight: normal;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: rgba(26, 40, 24, 0.68);
  line-height: 1.85;
  margin: 0;
}

.markets-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  list-style: none;
  padding: 0;
  margin: 36px 0 24px;
}

.markets-columns li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--color-primary);
  line-height: 1.75;
}

.markets-columns li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
}

.service-faq {
  margin-top: 48px;
}

.service-faq .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(3, 63, 29, 0.12);
}

.service-faq .accordion-button {
  background: transparent;
  color: var(--color-cream-text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: normal;
  padding: 20px 0;
  box-shadow: none;
}

.service-faq .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.service-faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.service-faq .accordion-body {
  padding: 0 0 20px;
  color: rgba(26, 40, 24, 0.72);
  font-size: 0.92rem;
  line-height: 1.85;
}

.service-faq .accordion-body a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-styled input,
.form-styled select,
.form-styled textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 151, 58, 0.4);
  border-radius: 4px;
  color: #F7F0E3;
  padding: 12px 16px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-styled input::placeholder,
.form-styled select::placeholder,
.form-styled textarea::placeholder {
  color: rgba(247, 240, 227, 0.4);
}

.form-styled input:focus,
.form-styled select:focus,
.form-styled textarea:focus {
  outline: none;
  border-color: #C9973A;
}

.form-styled label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 240, 227, 0.7);
  margin-bottom: 6px;
}

.form-styled .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-styled .form-field {
  margin-bottom: 20px;
}

.form-styled .form-field:last-child {
  margin-bottom: 0;
}

.form-styled .field-hint {
  font-size: 0.78rem;
  color: rgba(247, 240, 227, 0.55);
  margin-top: 0.25rem;
}

.form-styled .submit-btn {
  background: #C9973A;
  color: #011508;
  border: none;
  padding: 14px 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 8px;
  width: 100%;
  transition: opacity 0.2s ease;
}

.form-styled .submit-btn:hover {
  opacity: 0.85;
}

.page-section--primary .form-feedback {
  color: rgba(247, 240, 227, 0.85);
}

.page-section--primary .form-feedback--success {
  color: #C9973A;
}

.page-section--primary .form-feedback--error {
  color: #f4a9a9;
}

.form-styled select option {
  color: #1a2818;
  background: #F7F0E3;
}

.guide-text + .text-link,
.service-card-grid + .text-link,
.service-checklist + .text-link,
.scope-grid + .text-link,
.process-steps + .text-link {
  margin-top: 1.5rem;
}

.text-link + .eyebrow-dark {
  margin-top: 4rem;
}

.page-section--cream .text-link {
  color: #033F1D;
}

.page-section--primary .section-sub {
  max-width: 700px;
}

.process-steps {
  margin-top: 48px;
}

.page-section--cream .process-steps .step {
  flex: 1;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-radius: var(--radius-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-section--cream .process-steps .step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-section--cream .process-steps .step h3 {
  font-size: 1.1rem;
  color: #033F1D;
  font-weight: normal;
  margin-bottom: 12px;
}

.page-section--cream .process-steps .step p {
  color: #4a5e48;
  font-size: 0.88rem;
  line-height: 1.85;
  margin: 0;
}

.page-section--cream .process-steps .step-connector {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
  color: rgba(3, 63, 29, 0.22);
  font-size: 1.4rem;
}

.service-faq--dark .accordion-item {
  border-bottom: 1px solid rgba(247, 240, 227, 0.12);
}

.service-faq--dark .accordion-button {
  color: #ffffff;
}

.service-faq--dark .accordion-button::after {
  filter: brightness(0) invert(1);
}

.service-faq--dark .accordion-button:not(.collapsed) {
  color: #ffffff;
}

.service-faq--dark .accordion-body {
  color: #F7F0E3;
}

.service-faq--dark .accordion-body a {
  color: #C9973A;
}

.form-styled--light input,
.form-styled--light select,
.form-styled--light textarea {
  background-color: #ffffff;
  border: 1px solid #033F1D;
  color: #1a2818;
  color-scheme: light;
}

.form-styled--light input::placeholder,
.form-styled--light select::placeholder,
.form-styled--light textarea::placeholder {
  color: rgba(26, 40, 24, 0.45);
}

.form-styled--light input:focus,
.form-styled--light select:focus,
.form-styled--light textarea:focus {
  background-color: #ffffff;
  border-color: #C9973A;
  box-shadow: 0 0 0 2px rgba(201, 151, 58, 0.15);
}

.form-styled--light select option {
  color: #1a2818;
  background-color: #ffffff;
}

.form-styled--light label {
  color: #033F1D;
  font-weight: 500;
}

.form-styled--light .unit-label {
  font-size: 0.75rem;
  color: #4a5e48;
  margin-top: 4px;
}

.form-styled--light .form-row--full {
  grid-template-columns: 1fr;
}

.form-styled--light .submit-btn {
  width: auto;
}

.page-section--white .form-feedback {
  color: rgba(26, 40, 24, 0.72);
}

.page-section--white .form-feedback--success {
  color: #A07D2A;
}

.page-section--white .form-feedback--error {
  color: #b33a3a;
}

.form-section {
  position: relative;
  background-image: url('../img/cta.jpg');
  background-size: cover;
  background-position: center;
  padding: 96px 0;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(8, 14, 8, 0.90) 0%,
      rgba(8, 14, 8, 0.80) 25%,
      rgba(8, 14, 8, 0.60) 45%,
      rgba(8, 14, 8, 0.30) 65%,
      rgba(8, 14, 8, 0.08) 82%,
      rgba(8, 14, 8, 0.00) 100%
    ),
    linear-gradient(
      to top,
      rgba(8, 14, 8, 0.80) 0%,
      rgba(8, 14, 8, 0.20) 25%,
      rgba(8, 14, 8, 0.00) 45%
    );
  z-index: 0;
  pointer-events: none;
}

.form-section .container {
  position: relative;
  z-index: 1;
}

.form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px 64px;
  align-items: start;
}

.form-section__intro .eyebrow {
  color: #C9973A;
  margin-bottom: 16px;
}

.form-section__headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: normal;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: none;
}

.form-section__subtitle {
  color: #F7F0E3;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 420px;
  margin: 0;
}

.form-card {
  background: #ffffff;
  border: 1px solid rgba(26, 40, 24, 0.10);
  border-radius: var(--radius-card);
  padding: 40px;
}

.form-card .form-styled {
  margin-top: 0;
}

.form-card .form-feedback {
  color: rgba(26, 40, 24, 0.72);
}

.form-card .form-feedback--success {
  color: #A07D2A;
}

.form-card .form-feedback--error {
  color: #b33a3a;
}

.form-section--centered {
  padding-top: 60px;
  margin-top: 0;
  border: none;
}

.form-section--centered .form-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.form-section--centered .form-section__intro {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

.form-section--centered .form-section__subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-section--centered .form-card {
  margin: 32px auto 0;
  max-width: 860px;
  width: 100%;
  text-align: left;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   10. Media queries
   ========================================================================== */
@media (min-width: 576px) {
  .hero-trust-item {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .process-line {
    display: block;
  }

  .guide-image-wrap {
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .hero-image {
    object-position: 62% center;
  }

  .card-glass--elevated {
    transform: translateY(-16px);
  }
}

@media (max-width: 991.98px) {
  :root {
    --nav-logo-col: 76px;
    --nav-height: 6.25rem;
  }

  .site-header__logo-img {
    height: 4.75rem;
    max-height: 76px;
  }

  .nav-utility-bar {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .nav-contact-link span {
    display: none;
  }

  .nav-contact-list {
    gap: 0.5rem 0.85rem;
  }

  .site-header__nav {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .site-header__nav .navbar-collapse {
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    margin-top: 0.65rem;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
  }

  .site-header:not(.scrolled) .site-header__nav .navbar-collapse .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .site-header:not(.scrolled) .site-header__nav .navbar-collapse .nav-link.active {
    color: var(--color-accent) !important;
  }

  .site-header:not(.scrolled) .site-header__nav .navbar-collapse .nav-link::after {
    background: var(--color-accent);
  }

  .site-header__nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
  }

  .site-header__nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    padding-left: 0;
  }

  .hero-home:not(.hero-home--page) {
    min-height: 95vh;
    height: 95vh;
    max-height: 95vh;
    padding: 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
  }

  .hero-home--page {
    min-height: clamp(380px, 68vh, 620px);
    height: auto;
    max-height: none;
    padding: 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
  }

  .hero-home--page > .treeline-divider.treeline-divider--hero-scale {
    width: min(96vw, 100%);
  }

  .hero-home-inner {
    padding-top: calc(var(--nav-height) + clamp(80px, 12vh, 180px));
    padding-bottom: clamp(1rem, 3vh, 2rem);
  }

  .hero-pine-corner {
    width: min(96vw, 100%);
  }

  .cta-pine-corner {
    width: min(96vw, 100%);
  }

  .hero-image {
    object-position: center center;
  }

  .hero-home::before,
  .cta-banner::before,
  .form-section::before {
    background: rgba(1, 21, 8, 0.72) !important;
  }

  .hero-trust-strip__inner {
    font-size: 0.58rem;
    gap: 0.25rem 0;
  }

  .trust-item {
    padding: 0.15rem 0.5rem;
    white-space: normal;
  }

  .trust-divider {
    display: none;
  }

  .card-glass--elevated {
    transform: none;
    margin: 1rem 0;
  }

  .section-comparison {
    margin-top: 0;
    padding-top: 5.5rem;
  }

  .section-pain {
    clip-path: none;
  }

  .section-features {
    clip-path: none;
  }

  .pine-divider {
    --divider-height: clamp(56px, 9vw, 110px);
    --divider-overlap: clamp(36px, 6vw, 80px);
  }

  .audience-card {
    min-height: 280px;
    margin-bottom: 1rem;
  }

  .guide-image-wrap {
    margin-left: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .site-header__inner {
    padding-left: 0.75rem;
  }

  .site-header__logo {
    padding-left: 0;
  }

  .site-header__logo-img {
    width: auto;
    height: auto;
    max-height: 80px;
    aspect-ratio: 1 / 1;
  }

  .site-header__nav .navbar-collapse {
    box-shadow: none;
    border: none;
    outline: none;
  }

  .the-problem,
  .the-guide,
  .the-plan,
  .dual-audience,
  .stakes,
  .cta-banner,
  .page-section--cream,
  .page-section--primary,
  .page-section--white,
  .lang-note {
    padding: 64px 0;
  }

  .page-section--cream,
  .page-section--primary {
    padding: 64px 0 0;
  }

  .page-section--cream .container,
  .page-section--primary .container {
    padding-bottom: 64px;
  }

  .dual-audience {
    padding-bottom: 0;
  }

  .the-plan {
    padding-bottom: 0;
  }

  .treeline-divider.treeline-divider--hero-scale {
    margin-top: 64px;
    width: min(96vw, 100%);
  }

  .the-problem .container,
  .the-guide .container,
  .the-plan .container,
  .dual-audience .container,
  .stakes .container,
  .cta-banner .container {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .problem-divider {
    height: 1px;
    min-height: unset;
    border-left: none;
    border-top: 1px solid rgba(200, 168, 75, 0.2);
    margin: 32px 0;
  }

  .problem-card {
    padding: 0;
  }

  .guide-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .guide-inner--stats-bottom .guide-stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 40px;
  }

  .guide-inner--stats-bottom .guide-stat {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid rgba(26, 40, 24, 0.10);
  }

  .guide-inner--stats-bottom .guide-stat:first-child {
    border-top: 1px solid rgba(26, 40, 24, 0.10);
  }

  .guide-inner--stats-bottom .guide-stat:last-child {
    border-bottom: none;
  }

  .steps-row {
    flex-direction: column;
    gap: 16px;
  }

  .the-plan .step-connector,
  .process-steps .step-connector,
  .page-section--cream .process-steps .step-connector,
  .steps-row .step-connector {
    display: none;
  }

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

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

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    flex: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    text-align: center;
    order: 1;
  }

  .footer-brand .footer-logo-link {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col--contact {
    order: 2;
  }

  .footer-col--get-started {
    order: 3;
  }

  .footer-col--nav {
    order: 4;
  }

  .footer-col--services {
    order: 5;
  }

  .footer-grid .footer-col {
    text-align: center;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    padding-left: clamp(1.25rem, 5vw, 2rem);
    padding-right: clamp(1.25rem, 5vw, 2rem);
  }

  .hero h1,
  .hero h2,
  .hero p,
  .hero .eyebrow,
  .hero-content h1,
  .hero-content h2,
  .hero-content p,
  .hero-content .eyebrow,
  .hero-home .hero-headline,
  .hero-home .hero-headline em,
  .hero-home .hero-eyebrow,
  .hero-home .hero-sub,
  .hero-home .hero-content p,
  .hero-home .hero-description,
  .hero-home .btn-hero-text {
    text-shadow: none !important;
  }

  .cta-section h1,
  .cta-section h2,
  .cta-section p,
  .cta-section .eyebrow,
  .cta h1,
  .cta h2,
  .cta p,
  .cta .eyebrow {
    text-shadow: none !important;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .btn-hero-primary {
    width: 100%;
    text-align: center;
  }

  .btn-hero-text {
    margin-top: 0.75rem;
  }

  .page-section .container,
  .page-section--cream .container,
  .page-section--primary .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .scope-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split-editorial,
  .contact-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-block {
    padding: 40px 32px;
  }

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

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

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

  .form-styled .form-row {
    grid-template-columns: 1fr;
  }

  .form-styled--light .submit-btn {
    width: 100%;
  }

  .form-section {
    padding: 64px 0;
  }

  .form-section--centered {
    padding-top: 60px;
  }

  .form-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-section__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    margin-top: 32px;
    padding: 24px 16px;
  }

  .page-section.page-section--white {
    padding: 64px 0 0;
  }

  .page-section.page-section--white .container {
    padding-bottom: 64px;
  }

  .page-section--entry {
    padding-top: calc(var(--nav-height) + 32px);
  }

  .inquiry-form .mesh-row {
    grid-template-columns: 1fr;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Treeline — standard = bottom-right (audience); mirrored = bottom-left (process) */
section:has(> .pbg-treeline-wrap) {
  display: flex;
  flex-direction: column;
}

.pbg-treeline-wrap {
  display: block;
  width: min(55vw, 1063px);
  max-height: none;
  aspect-ratio: 1063 / 235;
  line-height: 0;
  font-size: 0;
  margin: 0 0 -1px auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--pbg-treeline-bg, #033F1D);
  flex-shrink: 0;
  pointer-events: none;
  align-self: flex-end;
}

.pbg-treeline-wrap--bg-transparent {
  background-color: transparent;
}

.pbg-treeline-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--pbg-treeline-fill, #F7F0E3);
  -webkit-mask-image: var(--pbg-mask-treeline, url('../img/treeline.svg'));
  mask-image: var(--pbg-mask-treeline, url('../img/treeline.svg'));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}

.pbg-treeline-wrap--mirrored {
  align-self: flex-start;
  margin: 0 0 -1px 0;
}

.pbg-treeline-wrap--mirrored::after {
  transform: scaleX(-1);
}

.the-plan > .pbg-treeline-wrap,
.dual-audience > .pbg-treeline-wrap {
  margin-top: 96px;
}

.page-section--cream > .pbg-treeline-wrap,
.page-section--primary > .pbg-treeline-wrap {
  margin-top: 0;
}

.pbg-treeline-wrap svg {
  display: none;
}

/* Loom canvas preview — treeline + hero caps (editor iframe only) */
body.loom-canvas-body .pbg-treeline-wrap {
  padding: 0 !important;
}

body.loom-canvas-body .pbg-treeline-wrap:not(.pbg-treeline-wrap--mirrored) {
  margin: 0 0 -1px auto !important;
}

body.loom-canvas-body .pbg-treeline-wrap--mirrored {
  margin: 0 0 -1px 0 !important;
}

body.loom-canvas-body .the-plan > .pbg-treeline-wrap,
body.loom-canvas-body .dual-audience > .pbg-treeline-wrap {
  margin-top: 96px !important;
}

body.loom-canvas-body .hero-home {
  min-height: 480px !important;
  height: auto !important;
  max-height: none !important;
}

body.loom-canvas-body .hero-home--page {
  min-height: 420px !important;
  height: auto !important;
  max-height: none !important;
}

body.loom-canvas-body .hero-home .hero-home-inner {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

body.loom-canvas-body .hero-home .hero-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Live frontend — match Loom canvas layout inside #loom-root */
body.loom-source-site #loom-root > section.hero-home {
  display: flex !important;
  flex-direction: column !important;
}

body.loom-source-site #loom-root > section.hero-home--page {
  height: auto !important;
  max-height: none !important;
}

body.loom-source-site #loom-root > section.hero-home--page > .treeline-divider.treeline-divider--hero-scale,
body.loom-source-site .hero-home--page > .treeline-divider.treeline-divider--hero-scale-right {
  margin-top: 0 !important;
  flex-shrink: 0;
}

body.loom-source-site .hero-home--page > .pbg-treeline-wrap {
  display: none !important;
}
