/**
 * Living Infrastructure page layouts. The protected theme shell remains forest/canvas;
 * Elementor controls narrative content while these classes preserve rhythm and hierarchy.
 */
.fw-section { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - 90rem) / 2)); }
.fw-section--compact { padding-block: clamp(3.5rem, 7vw, 6rem); }
.fw-section--canvas { background: var(--fw-canvas); }
.fw-section--white { background: var(--fw-white); }
.fw-section--forest { background: var(--fw-forest); color: var(--fw-white); }
.fw-section--green { background: var(--fw-green); color: var(--fw-white); }
.fw-section--clay { background: var(--fw-clay); }
.fw-section--sage { background: var(--fw-sage); }
.fw-section__inner { width: min(100%, 90rem); margin-inline: auto; }
.fw-section-marker { display: flex; align-items: center; gap: 0.75rem; margin-block-end: 2rem; color: var(--fw-green); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.fw-section-marker::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.18; }
.fw-section--forest .fw-section-marker, .fw-section--green .fw-section-marker { color: rgb(255 255 255 / 0.62); }
.fw-eyebrow { margin-block: 0 1.5rem; color: var(--fw-green); font-size: 0.71rem; font-weight: 800; letter-spacing: 0.19em; text-transform: uppercase; }
.fw-section--forest .fw-eyebrow, .fw-section--green .fw-eyebrow { color: var(--fw-yellow); }
.fw-display-xl, .fw-display-lg, .fw-display-md,
.fw-display-xl .elementor-heading-title, .fw-display-lg .elementor-heading-title, .fw-display-md .elementor-heading-title { margin: 0; color: inherit; font-family: "Manrope", Arial, sans-serif; font-weight: 790; letter-spacing: -0.058em; text-wrap: balance; }
.fw-display-xl, .fw-display-xl .elementor-heading-title { font-size: clamp(3.55rem, 7.2vw, 8.1rem); line-height: 0.86; }
.fw-display-lg, .fw-display-lg .elementor-heading-title { font-size: clamp(3rem, 5.5vw, 6.35rem); line-height: 0.9; }
.fw-display-md, .fw-display-md .elementor-heading-title { font-size: clamp(2.4rem, 4.5vw, 5.15rem); line-height: 0.93; }
.fw-accent { color: var(--fw-green); }
.fw-section--forest .fw-accent, .fw-section--green .fw-accent { color: var(--fw-yellow); }
.fw-lede { max-width: 43rem; color: rgb(24 56 43 / 0.76); font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 520; line-height: 1.68; }
.fw-section--forest .fw-lede, .fw-section--green .fw-lede { color: rgb(255 255 255 / 0.74); }
.fw-copy { color: rgb(24 56 43 / 0.68); font-size: 1.05rem; line-height: 1.75; }
.fw-section--forest .fw-copy, .fw-section--green .fw-copy { color: rgb(255 255 255 / 0.68); }
.fw-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 2.25rem; }
.fw-button .elementor-button { min-height: 3.25rem; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 0; padding: 0.85rem 1.25rem; background: var(--fw-yellow); color: var(--fw-forest); font-family: "Manrope", Arial, sans-serif; font-size: 0.9rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.fw-button .elementor-button:hover { background: var(--fw-forest); color: var(--fw-white); transform: translateY(-1px); }
.fw-button--dark .elementor-button { background: var(--fw-forest); color: var(--fw-white); }
.fw-button--dark .elementor-button:hover { background: var(--fw-green); }
.fw-button--outline .elementor-button { border-color: rgb(24 56 43 / 0.32); background: transparent; color: var(--fw-forest); }
.fw-section--forest .fw-button--outline .elementor-button, .fw-section--green .fw-button--outline .elementor-button { border-color: rgb(255 255 255 / 0.4); color: var(--fw-white); }
.fw-section--forest .fw-button--outline .elementor-button:hover, .fw-section--green .fw-button--outline .elementor-button:hover { background: var(--fw-white); color: var(--fw-forest); }

.fw-hero { display: grid; min-height: min(52rem, calc(100vh - 6rem)); grid-template-columns: minmax(0, 1.06fr) minmax(24rem, 0.94fr); border-block-end: 1px solid var(--fw-border); background: var(--fw-canvas); }
.fw-hero__copy { justify-content: space-between; padding: clamp(4rem, 7.5vw, 7rem) clamp(1.25rem, 5.5vw, 5rem); }
.fw-hero__copy .fw-display-xl::after { content: ""; display: block; width: min(14rem, 35vw); height: 3px; margin-block-start: 1.8rem; background: var(--fw-green); }
.fw-hero__media { min-height: 34rem; border-inline-start: 1px solid var(--fw-border); }
.fw-hero__media > .e-con-inner, .fw-editorial-media > .e-con-inner { height: 100%; }
.fw-hero__media .elementor-widget-foodways-editorial-image, .fw-hero__media .elementor-widget-container, .fw-editorial-media .elementor-widget-foodways-editorial-image, .fw-editorial-media .elementor-widget-container { height: 100%; }
.fw-editorial-image { position: relative; height: 100%; min-height: inherit; margin: 0; overflow: hidden; background: var(--fw-sage); }
.fw-editorial-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(24 56 43 / 0.72)); pointer-events: none; }
.fw-editorial-image img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.fw-editorial-image figcaption { position: absolute; z-index: 1; inset-inline: 1.5rem; inset-block-end: 1.5rem; padding-inline-start: 0.9rem; border-inline-start: 2px solid var(--fw-yellow); color: var(--fw-white); font-size: 0.67rem; font-weight: 750; letter-spacing: 0.12em; line-height: 1.5; text-transform: uppercase; }
.fw-proof-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-end: 1px solid var(--fw-border); background: rgb(255 255 255 / 0.42); }
.fw-proof-strip__item { padding: 1.35rem clamp(1.25rem, 3vw, 3rem); border-inline-end: 1px solid var(--fw-border); }
.fw-proof-strip__item:last-child { border-inline-end: 0; }
.fw-proof-strip__item strong { display: block; font-family: "Manrope", Arial, sans-serif; font-size: 2.1rem; font-weight: 790; letter-spacing: -0.045em; line-height: 1; }
.fw-proof-strip__item span { display: block; margin-block-start: 0.35rem; color: var(--fw-green); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }

.fw-thesis-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); gap: clamp(3rem, 8vw, 7rem); align-items: end; }
.fw-loop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: 3.5rem; border: 1px solid rgb(255 255 255 / 0.18); background: rgb(255 255 255 / 0.13); }
.elementor .fw-loop-grid.e-con { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 0 !important; }
.fw-loop-card { position: relative; min-height: 14rem; padding: 1.5rem; background: var(--fw-forest); border-inline-end: 1px solid rgb(255 255 255 / 0.18); }
.elementor .fw-loop-grid.e-con > .fw-loop-card.e-con { display: flex !important; min-height: 14rem !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; padding: 1.5rem !important; background: var(--fw-forest) !important; border-inline-end: 1px solid rgb(255 255 255 / 0.18) !important; }
.fw-loop-card:last-child { border-inline-end: 0; }
.fw-loop-card::before { content: ""; position: absolute; inset-block-start: 4rem; inset-inline-start: 1.5rem; width: 0.8rem; height: 0.8rem; border: 3px solid var(--fw-forest); border-radius: 50%; background: var(--fw-yellow); outline: 1px solid rgb(244 204 77 / 0.55); }
.fw-loop-card p:first-child { color: rgb(255 255 255 / 0.48); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.elementor .fw-loop-card p:first-child { margin: 0 !important; color: rgb(255 255 255 / 0.62) !important; font-size: 0.65rem !important; font-weight: 800 !important; letter-spacing: 0.16em !important; line-height: 1.2 !important; text-transform: uppercase; }
.fw-loop-card h3 { position: absolute; inset-inline: 1.5rem; inset-block-end: 1.5rem; margin: 0; color: var(--fw-white); font-size: clamp(1.8rem, 3vw, 3.15rem); }
.elementor .fw-loop-card > .elementor-widget-heading { width: 100% !important; margin-block-start: auto !important; }
.elementor .fw-loop-card .elementor-heading-title { position: static !important; inset: auto !important; margin: 0 !important; color: var(--fw-white) !important; font-family: "Manrope", Arial, sans-serif !important; font-size: clamp(1.8rem, 3vw, 3.15rem) !important; font-weight: 790 !important; letter-spacing: -0.045em !important; line-height: 0.96 !important; }

.fw-ecosystem-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-block-start: 3.5rem; border-block-start: 1px solid var(--fw-border-strong); }
.fw-ecosystem-card { min-height: 23rem; justify-content: space-between; padding: 1.5rem; border-inline-end: 1px solid var(--fw-border); border-block-end: 1px solid var(--fw-border); background: var(--fw-white); }
.fw-ecosystem-card:nth-child(even) { background: var(--fw-sage); }
.fw-ecosystem-card:last-child { border-inline-end: 0; }
.fw-ecosystem-card .fw-card-number { color: var(--fw-green); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; }
.fw-ecosystem-card h3 { font-size: clamp(1.45rem, 2vw, 2.15rem); }
.fw-ecosystem-card p { color: rgb(24 56 43 / 0.7); font-size: 0.96rem; line-height: 1.65; }

.fw-editorial-split { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); min-height: 44rem; padding: 0; }
.fw-editorial-split--reverse { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); }
.fw-editorial-media { min-height: 38rem; }
.fw-editorial-copy { justify-content: center; padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem); }
.fw-editorial-copy .fw-display-lg { max-width: 48rem; }
.fw-partner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.fw-route-card { padding: clamp(1.7rem, 4vw, 3rem); background: var(--fw-forest); color: var(--fw-white); }
.fw-route-list { margin-block: 2rem 0; padding: 0; border-inline-start: 1px solid var(--fw-green); list-style: none; }
.fw-route-list li { position: relative; min-height: 3rem; display: flex; align-items: center; padding-inline-start: 1.75rem; border-block-end: 1px solid rgb(255 255 255 / 0.12); color: rgb(255 255 255 / 0.82); font-size: 0.9rem; font-weight: 700; }
.fw-route-list li::before { content: ""; position: absolute; inset-inline-start: -0.4rem; width: 0.75rem; height: 0.75rem; border: 2px solid var(--fw-forest); border-radius: 50%; background: var(--fw-green); }
.fw-route-list li:nth-child(2)::before { background: var(--fw-yellow); }
.fw-route-links { border-block-start: 1px solid var(--fw-border); }
.fw-route-link { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0 1.25rem 1.75rem; border-block-end: 1px solid var(--fw-border); color: var(--fw-forest); font-family: "Manrope", Arial, sans-serif; font-size: 1.1rem; font-weight: 760; text-decoration: none; }
.fw-route-link::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 50%; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--fw-green); transform: translateY(-50%); }
.fw-route-link:hover { color: var(--fw-green); }
.fw-newsletter-placeholder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; padding-block-end: 0.75rem; border-block-end: 2px solid var(--fw-forest); }
.fw-newsletter-placeholder p { margin: 0; color: rgb(24 56 43 / 0.58); }

/* Elementor global-kit styles load after theme CSS and can otherwise replace brand and contrast tokens. */
.elementor .fw-display-xl .elementor-heading-title,
.elementor .fw-display-lg .elementor-heading-title,
.elementor .fw-display-md .elementor-heading-title {
  color: inherit !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-weight: 790 !important;
  letter-spacing: -0.058em !important;
}
.elementor .fw-display-xl .elementor-heading-title { font-size: clamp(3.55rem, 7.2vw, 8.1rem) !important; line-height: 0.86 !important; }
.elementor .fw-display-lg .elementor-heading-title { font-size: clamp(3rem, 5.5vw, 6.35rem) !important; line-height: 0.9 !important; }
.elementor .fw-display-md .elementor-heading-title { font-size: clamp(2.4rem, 4.5vw, 5.15rem) !important; line-height: 0.93 !important; }
.elementor .fw-lede p { color: rgb(24 56 43 / 0.82) !important; font-family: "Source Sans 3", Arial, sans-serif !important; font-size: clamp(1.1rem, 1.8vw, 1.3rem) !important; font-weight: 520 !important; line-height: 1.68 !important; }
.elementor .fw-copy p { color: rgb(24 56 43 / 0.78) !important; font-family: "Source Sans 3", Arial, sans-serif !important; font-size: 1.05rem !important; line-height: 1.75 !important; }
.elementor .fw-eyebrow p { color: var(--fw-green) !important; font-size: 0.71rem !important; font-weight: 800 !important; letter-spacing: 0.19em !important; text-transform: uppercase; }
.elementor .fw-section--forest .fw-eyebrow p,
.elementor .fw-route-card .fw-eyebrow p { color: var(--fw-yellow) !important; }
.elementor .fw-section--green .fw-eyebrow p { color: var(--fw-white) !important; }
.elementor .fw-section--clay .fw-section-marker,
.elementor .fw-section--clay .fw-section-marker span,
.elementor .fw-section--clay .fw-section-marker p,
.elementor .fw-section--clay .fw-eyebrow p { color: var(--fw-forest) !important; }
.elementor .fw-ecosystem-card .elementor-heading-title,
.elementor .fw-ecosystem-card p,
.elementor .fw-ecosystem-card .fw-card-number p { color: var(--fw-forest) !important; }
.elementor .fw-newsletter-placeholder p { color: var(--fw-forest) !important; }
.elementor .fw-section--forest .fw-section-marker,
.elementor .fw-section--green .fw-section-marker { color: rgb(255 255 255 / 0.86); }
.elementor .fw-section--forest .fw-lede p,
.elementor .fw-section--green .fw-lede p,
.elementor .fw-section--forest .fw-copy p,
.elementor .fw-section--green .fw-copy p { color: rgb(255 255 255 / 0.86) !important; }
.elementor .fw-section--green .fw-eyebrow { color: var(--fw-white); }
.elementor .fw-button .elementor-button {
  border-color: transparent !important;
  border-radius: 0 !important;
  background: var(--fw-yellow) !important;
  color: var(--fw-forest) !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.elementor .fw-button--dark .elementor-button { background: var(--fw-forest) !important; color: var(--fw-white) !important; }
.elementor .fw-button--outline .elementor-button { border-color: rgb(24 56 43 / 0.42) !important; background: transparent !important; color: var(--fw-forest) !important; }
.elementor .fw-section--forest .fw-button--outline .elementor-button,
.elementor .fw-section--green .fw-button--outline .elementor-button { border-color: rgb(255 255 255 / 0.58) !important; color: var(--fw-white) !important; }

@media (max-width: 70rem) {
  .fw-hero, .fw-editorial-split, .fw-editorial-split--reverse, .fw-thesis-grid, .fw-partner-grid { grid-template-columns: 1fr; }
  .fw-hero__media { border-block-start: 1px solid var(--fw-border); border-inline-start: 0; }
  .fw-editorial-split--reverse .fw-editorial-copy { order: 2; }
  .fw-editorial-split--reverse .fw-editorial-media { order: 1; }
  .fw-ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-ecosystem-card:nth-child(2n) { border-inline-end: 0; }
}
@media (max-width: 48rem) {
  .fw-section { padding-inline: 1.25rem; }
  .fw-loop-grid, .fw-ecosystem-grid, .fw-proof-strip { grid-template-columns: 1fr; }
  .elementor .fw-loop-grid.e-con { grid-template-columns: 1fr !important; }
  .fw-loop-card, .fw-ecosystem-card, .fw-proof-strip__item { border-inline-end: 0; }
  .elementor .fw-loop-grid.e-con > .fw-loop-card.e-con { min-height: 9rem !important; padding: 1.25rem !important; border-inline-end: 0 !important; border-block-end: 1px solid rgb(255 255 255 / 0.18) !important; }
  .elementor .fw-loop-grid.e-con > .fw-loop-card.e-con:last-child { border-block-end: 0 !important; }
  .elementor .fw-loop-card::before { inset-block-start: 3.55rem; inset-inline-start: 1.25rem; }
  .elementor .fw-loop-card .elementor-heading-title { font-size: clamp(1.8rem, 10vw, 2.6rem) !important; }
  .fw-hero__media, .fw-editorial-media { min-height: 31rem; }
  .fw-hero__copy { min-height: 40rem; }
  .fw-display-xl, .fw-display-xl .elementor-heading-title, .elementor .fw-display-xl .elementor-heading-title { font-size: clamp(3.35rem, 17vw, 5.5rem) !important; }
  .fw-buttons { flex-direction: column; align-items: stretch; }
  .fw-button .elementor-button { width: 100%; justify-content: space-between; }
  .fw-newsletter-placeholder { grid-template-columns: 1fr; }
}
