/* ==========================================================================
   Far West — "Editorial" direction (homepage preview v2)
   Loaded after design-system.css. Original interpretation of an editorial,
   photography-led layout: simplified header + full menu overlay, very large
   light headlines with bold condensed uppercase subheads, full-bleed imagery,
   white text panels set against photography. Brand: logo yellow + charcoal.
   ========================================================================== */

.fw-ed {
	--ed-display-weight: 300;
	--ed-display: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);   /* page titles: 36px phone → 56px desktop */
	--ed-h2: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);   /* section headings: 28px → 40px */
	--ed-kicker: 700 clamp(.95rem, .85rem + .35vw, 1.2rem)/1.25 var(--fw-font-body);
	--ed-rule: 1px solid var(--fw-line);
}
:where(.fw-ed) h1 { font-weight: var(--ed-display-weight); font-stretch: 100%; letter-spacing: -0.03em; line-height: .98; }
/* Content H2s (Divi pages) sit under a light H1: regular weight so they never outweigh the title. */
:where(.fw-ed) h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); font-weight: 400; letter-spacing: -0.015em; }
/* Headings inside 3+ column Divi rows (award names, feature labels) read as card titles, not sections. */
.fw-ed .et_pb_row:has(> .et_pb_column + .et_pb_column + .et_pb_column) :is(h2, h3).et_pb_module_header { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.ed-kicker { font: var(--ed-kicker); font-stretch: 78%; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 1rem; }
.ed-label { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; font: 500 .74rem/1.2 var(--fw-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fw-steel-600); }
.ed-label::before { content: ""; width: 10px; height: 10px; background: var(--fw-yellow); }
.fw-dark .ed-label { color: var(--fw-steel-300); }

/* ---------- Simplified header ---------- */
.ed-header { position: sticky; top: 0; z-index: 950; background: var(--fw-paper); border-bottom: var(--ed-rule); }
.ed-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 80px; gap: 1rem; }
.ed-header__left { display: flex; align-items: center; gap: .25rem; }
.ed-header__logo { justify-self: center; }
.ed-header__logo img { height: 50px; width: auto; }
.ed-header__right { display: flex; justify-content: flex-end; align-items: center; gap: .25rem; }
.ed-hbtn { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .75rem; font: 500 1rem/1 var(--fw-font-body); color: var(--fw-ink); background: none; border: 0; border-radius: var(--fw-radius); cursor: pointer; text-decoration: none; }
.ed-hbtn:hover { background: var(--fw-concrete); }
.ed-hbtn svg { width: 22px; height: 22px; flex: none; }
.ed-hbtn--estimate { font-weight: 650; box-shadow: inset 0 -2px 0 var(--fw-yellow); border-radius: 0; }
.ed-hbtn--estimate:hover { background: var(--fw-yellow); }
.ed-burger { position: relative; width: 26px; height: 14px; }
.ed-burger::before, .ed-burger::after { content: ""; position: absolute; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--fw-ease), width .3s var(--fw-ease), top .3s var(--fw-ease); }
.ed-burger::before { top: 0; width: 26px; } .ed-burger::after { top: 12px; width: 18px; }
[aria-expanded="true"] .ed-burger::before { top: 6px; transform: rotate(45deg); }
[aria-expanded="true"] .ed-burger::after { top: 6px; width: 26px; transform: rotate(-45deg); }
@media (max-width: 760px) {
	.ed-header__bar { grid-template-columns: auto 1fr auto; min-height: 68px; }
	.ed-header__logo { justify-self: start; order: -1; }
	.ed-header__logo img { height: 40px; }
	.ed-header__left { justify-content: flex-end; }
	.ed-hbtn__text, .ed-hbtn--estimate { display: none; }
}

/* ---------- Menu overlay (complete existing hierarchy) ---------- */
.ed-menu { position: fixed; inset: 80px 0 0 0; z-index: 940; overflow-y: auto; background: var(--fw-paper); border-top: var(--ed-rule); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--fw-ease), visibility 0s .3s; }
.ed-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--fw-ease); }
@media (max-width: 760px) { .ed-menu { inset: 68px 0 0 0; } }
.ed-menu__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--fw-gutter); padding-top: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2rem, 4vw, 4rem); }
.ed-menu h2, .ed-menu__title { font: 700 1.05rem/1.2 var(--fw-font-body); font-stretch: 78%; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--fw-ink); }
.ed-menu h2 a { text-decoration: none; }
.ed-menu ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .15rem; }
.ed-menu li a { display: block; padding: .45rem 0; font-size: 1.15rem; text-decoration: none; color: var(--fw-ink); transition: transform .2s var(--fw-ease); }
.ed-menu li a:hover { transform: translateX(4px); text-decoration: underline; text-decoration-color: var(--fw-yellow); text-decoration-thickness: 2px; }
.ed-menu__top { display: grid; gap: .25rem; margin-bottom: 2rem; }
.ed-menu__top a { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 300; letter-spacing: -0.02em; text-decoration: none; line-height: 1.2; }
.ed-menu__top a:hover { text-decoration: underline; text-decoration-color: var(--fw-yellow); text-decoration-thickness: 3px; }
.ed-menu__band { background: var(--fw-concrete); border-top: var(--ed-rule); }
.ed-menu__band .fw-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.ed-menu__motto { font: 700 clamp(1.15rem, .95rem + .8vw, 1.6rem)/1.05 var(--fw-font-body); font-stretch: 75%; text-transform: uppercase; color: var(--fw-steel-600); margin: 0; }
@media (max-width: 900px) { .ed-menu__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ed-menu__grid { grid-template-columns: 1fr; } }
html.ed-menu-open { overflow: hidden; }
html.ed-menu-open .fwa-root { display: none; }

/* ---------- Hero ---------- */
.ed-hero { position: relative; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; align-items: flex-end; color: #fff; background: var(--fw-ink); overflow: hidden; isolation: isolate; }
.ed-hero__media { position: absolute; inset: 0; z-index: -2; }
.ed-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.03); transition: transform 2.4s var(--fw-ease); }
.fw-loaded .ed-hero__media img { transform: none; }
/* Hero slideshow. Without JS only the first (Coastline) slide shows; site.js adds .is-js and drives it. */
/* Per-slide wording: all text blocks share one grid cell (no layout jump between slides). */
.ed-hero__texts { display: grid; }
.ed-hero__text { grid-area: 1 / 1; align-self: end; min-width: 0; }
.ed-hero__text:not(.is-active) { display: none; }
.ed-hero.is-js .ed-hero__text { display: block; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.ed-hero.is-js .ed-hero__text.is-active { visibility: visible; opacity: 1; transition: opacity .2s; }
.ed-hero.is-js.is-moving .ed-hero__text.is-active > * { animation: ed-hero-rise .9s var(--fw-ease) both; }
.ed-hero.is-js.is-moving .ed-hero__text.is-active > :nth-child(2) { animation-delay: .1s; }
.ed-hero.is-js.is-moving .ed-hero__text.is-active > :nth-child(3) { animation-delay: .2s; }
.ed-hero.is-js.is-moving .ed-hero__text.is-active > :nth-child(4) { animation-delay: .3s; }
@keyframes ed-hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.ed-hero__title { margin: 0 0 1.25rem; max-width: 16ch; font-family: var(--fw-font-display); font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4.5rem); font-weight: var(--ed-display-weight); font-stretch: 100%; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; color: #fff; }
.ed-hero__lead { margin: 0 0 2rem; max-width: 46ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: #e7e9ec; }
.ed-hero .ed-hero__foot { justify-content: flex-end; margin-top: 1.5rem; }
@media (max-width: 700px) { .ed-hero .ed-hero__foot { justify-content: flex-start; } }
.ed-hero__slide { position: absolute; inset: 0; margin: 0; }
.ed-hero__slide:not(.is-active) { display: none; }
.ed-hero.is-js .ed-hero__slide { display: block; visibility: hidden; }
.ed-hero.is-js .ed-hero__slide:not(.is-ready) { display: none; }
.ed-hero.is-js .ed-hero__slide.is-active, .ed-hero.is-js .ed-hero__slide.is-leaving { visibility: visible; }
.ed-hero.is-js .ed-hero__slide.is-leaving { z-index: 1; }
.ed-hero.is-js .ed-hero__slide.is-active { z-index: 2; }
.ed-hero.is-js.is-moving .ed-hero__slide.is-active { animation: ed-hero-wipe 1.15s var(--fw-ease) both; }
.ed-hero.is-js .ed-hero__slide.is-active img { animation: ed-hero-drift var(--hero-dur, 7s) linear both; }
.ed-hero__sweep { position: absolute; top: 0; bottom: 0; left: 100%; z-index: 3; width: 6px; background: var(--fw-yellow); opacity: 0; pointer-events: none; }
.ed-hero.is-moving .ed-hero__sweep { animation: ed-hero-sweep 1.15s var(--fw-ease) both; }
@keyframes ed-hero-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ed-hero-sweep { 0% { left: 100%; opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes ed-hero-drift { from { transform: scale(1.08) translateX(1%); } to { transform: scale(1) translateX(0); } }
.ed-hero__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.ed-hero__caption span { transition: opacity .4s; }
.ed-hero__caption.is-swapping span { opacity: 0; }
.ed-hero__controls { display: flex; align-items: center; gap: .75rem; }
.ed-hero__controls[hidden] { display: none; }
.ed-hero__count { margin: 0; min-width: 4.5em; white-space: nowrap; font: 500 .75rem/1 var(--fw-font-mono); letter-spacing: .1em; color: #cfd2d6; }
.ed-hero__count b { color: #fff; font-weight: 500; }
.ed-hero__bars { display: flex; gap: 6px; margin: 0 .5rem 0 0; padding: 0; list-style: none; }
.ed-hero__bars li { margin: 0; }
.ed-hero__bars button { display: block; width: 32px; height: 24px; padding: 11px 0; border: 0; background: none; cursor: pointer; }
.ed-hero__bars button span { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.ed-hero__bars button span::after { content: ""; position: absolute; inset: 0; background: var(--fw-yellow); transform: scaleX(0); transform-origin: left; }
.ed-hero__bars .is-done span::after { transform: scaleX(1); }
.ed-hero__bars .is-current span::after { animation: ed-hero-bar var(--hero-dur, 7s) linear both; }
.ed-hero.is-paused .ed-hero__bars .is-current span::after, .ed-hero.is-paused .ed-hero__slide.is-active img { animation-play-state: paused; }
.ed-hero.is-static .ed-hero__bars .is-current span::after { animation: none; transform: scaleX(1); }
@keyframes ed-hero-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ed-hero__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(12,13,15,.25); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ed-hero__btn svg { width: 16px; height: 16px; }
.ed-hero__btn:hover { background: var(--fw-yellow); border-color: var(--fw-yellow); color: var(--fw-ink); }
.ed-hero__pause { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ed-hero__btn[aria-pressed="true"] .ed-hero__pause { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 700px) {
	.ed-hero__aside { align-items: flex-start; width: 100%; }
	.ed-hero__controls { width: 100%; gap: .5rem; }
	.ed-hero__count { min-width: 0; white-space: nowrap; }
	.ed-hero__bars { flex: 1; gap: 4px; margin: 0; }
	.ed-hero__bars li { flex: 1; }
	.ed-hero__bars button { width: 100%; min-width: 12px; }
	.ed-hero__btn { width: 36px; height: 36px; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ed-hero.is-js.is-moving .ed-hero__text.is-active > *, .ed-hero.is-js .ed-hero__text { animation: none !important; transition: none !important; }
	.ed-hero.is-js .ed-hero__slide.is-active, .ed-hero.is-js .ed-hero__slide.is-active img, .ed-hero__sweep, .ed-hero__bars .is-current span::after { animation: none !important; }
	.ed-hero__bars .is-current span::after { transform: scaleX(1); }
}
.ed-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,13,15,.86) 0%, rgba(12,13,15,.35) 48%, rgba(12,13,15,.1) 75%), linear-gradient(90deg, rgba(12,13,15,.55), transparent 60%); }
.ed-hero__inner { width: 100%; padding-bottom: clamp(7rem, 12vw, 10rem); padding-top: 6rem; }
.ed-hero h1 { font-size: var(--ed-display); margin: 0 0 1.5rem; max-width: 12ch; }
.ed-hero h1 span { display: block; }
.ed-hero h1 span:nth-child(2) { padding-left: .55em; }
.ed-hero h1 span:nth-child(3) { padding-left: 1.1em; }
.ed-hero .ed-kicker { color: #fff; max-width: 44ch; }
.ed-hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; }
.ed-hero__caption { font: 500 .75rem/1.3 var(--fw-font-mono); letter-spacing: .1em; text-transform: uppercase; color: #cfd2d6; text-decoration: none; border-left: 2px solid var(--fw-yellow); padding-left: .75rem; }
.ed-hero__caption:hover { color: #fff; }
.ed-hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--fw-yellow); transform-origin: left; }
.fw-motion .ed-hero__rule { transform: scaleX(0); transition: transform 1.4s .3s var(--fw-ease); }
.fw-motion.fw-loaded .ed-hero__rule { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .ed-hero__rule { transform: none !important; } }
@media (max-width: 600px) { .ed-hero h1 span:nth-child(n) { padding-left: 0; } }

/* ---------- Integrated assistant prompt ---------- */
.ed-ask { position: relative; z-index: 2; margin-top: clamp(-5rem, -6vw, -3.5rem); }
.ed-ask__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; padding: clamp(1.25rem, 2.6vw, 2.25rem); background: var(--fw-paper); border-top: 4px solid var(--fw-ink); box-shadow: 0 30px 60px -40px rgba(12,13,15,.5); }
.ed-ask__intro p { margin: 0; color: var(--fw-steel-700); max-width: 46ch; }
.fw-site .ed-ask__title { display: flex; align-items: center; gap: .75rem; margin: 0 0 .5rem; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); font-weight: 400; letter-spacing: -0.01em; }
.ed-ask__mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--fw-yellow); color: var(--fw-ink); }
.ed-ask__badge { font: 600 .66rem/1 var(--fw-font-mono); letter-spacing: .1em; text-transform: uppercase; padding: .3rem .45rem; border: 1px solid var(--fw-ink); }
.ed-ask__form { display: flex; gap: 0; border: 1.5px solid var(--fw-ink); }
.ed-ask__form input { flex: 1; min-width: 0; min-height: 56px; padding: 0 1rem; font: 400 1.05rem/1 var(--fw-font-body); color: var(--fw-ink); background: var(--fw-paper); border: 0; }
.ed-ask__form input::placeholder { color: #6b7179; }
.ed-ask__form input:focus { outline: none; }
.ed-ask__form:focus-within { outline: 3px solid var(--fw-focus); outline-offset: 2px; }
.ed-ask__form button { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.25rem; font: 650 1rem/1 var(--fw-font-body); color: var(--fw-ink); background: var(--fw-yellow); border: 0; border-left: 1.5px solid var(--fw-ink); cursor: pointer; }
.ed-ask__form button:hover { background: var(--fw-yellow-hi); }
.ed-ask__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.ed-ask__chips li { margin: 0; }
.ed-ask__chips button { min-height: 36px; padding: .4rem .8rem; font: 500 .88rem/1.2 var(--fw-font-body); color: var(--fw-ink); background: var(--fw-concrete); border: 1px solid transparent; cursor: pointer; text-align: left; }
.ed-ask__chips button:hover { border-color: var(--fw-ink); background: var(--fw-paper); }
.ed-ask__note { margin: .75rem 0 0 !important; font-size: .8rem; color: var(--fw-steel-600); }
@media (max-width: 900px) { .ed-ask__panel { grid-template-columns: 1fr; } }

/* ---------- Split panels (text panel against photography) ---------- */
.ed-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 640px; }
.ed-split__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5.5rem); background: var(--fw-paper); }
.ed-split__text h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 1.5rem; }
.ed-split__media { position: relative; display: grid; grid-template-columns: 1fr; background: var(--fw-paper); }
.ed-split__media figure { margin: 0; position: relative; overflow: hidden; }
.ed-split__media img { width: 100%; height: 100%; object-fit: cover; }
.ed-split__media figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .5rem; font: 500 .7rem/1.2 var(--fw-font-mono); letter-spacing: .06em; color: #fff; background: rgba(12,13,15,.7); }
.ed-stat { display: flex; align-items: baseline; gap: 1rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: var(--ed-rule); }
.ed-stat b { font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.ed-stat span { font: 700 .9rem/1.2 var(--fw-font-body); font-stretch: 78%; text-transform: uppercase; color: var(--fw-steel-600); }
@media (max-width: 960px) { .ed-split { grid-template-columns: 1fr; } .ed-split__media { min-height: 420px; } }

/* ---------- Horizontal photo reel (user-scrolled, no hijacking) ---------- */
.ed-reel { position: relative; }
.ed-reel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 38vw, 560px); gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 1rem; overscroll-behavior-x: contain; }
.ed-reel__track > li { list-style: none; margin: 0; scroll-snap-align: start; }
.ed-reel__track { margin: 0; padding-left: max(var(--fw-gutter), calc((100vw - var(--fw-max)) / 2)); padding-right: var(--fw-gutter); scroll-padding-left: max(var(--fw-gutter), calc((100vw - var(--fw-max)) / 2)); }
.ed-reel a { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; background: var(--fw-ink); }
.ed-reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fw-ease); }
.ed-reel a:hover img { transform: scale(1.05); }
.ed-reel a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,15,.85), rgba(12,13,15,0) 50%); }
.ed-reel__cap { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 1; display: grid; gap: .3rem; }
.ed-reel__cap strong { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.65rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }
.ed-reel__cap span { font: 500 .72rem/1.3 var(--fw-font-mono); letter-spacing: .1em; text-transform: uppercase; color: #d4d7db; }
.ed-reel__cap em { font-style: normal; display: inline-flex; align-items: center; gap: .4rem; font: 700 .85rem/1 var(--fw-font-body); font-stretch: 78%; text-transform: uppercase; color: var(--fw-yellow); margin-top: .4rem; }
.ed-reel__nav { display: flex; gap: .5rem; }
.ed-reel__nav button { display: grid; place-items: center; width: 48px; height: 48px; color: var(--fw-ink); background: var(--fw-paper); border: 1.5px solid var(--fw-ink); border-radius: 50%; cursor: pointer; transition: background-color .2s; }
.ed-reel__nav button:hover { background: var(--fw-yellow); border-color: var(--fw-yellow); }
.ed-reel__nav button:disabled { opacity: .35; cursor: default; background: var(--fw-paper); border-color: var(--fw-ink); }
.ed-reel__nav svg { width: 20px; height: 20px; }

/* ---------- Section head (editorial) ---------- */
.ed-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.ed-head h2 { font-size: var(--ed-h2); font-weight: 300; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.ed-head p { margin: 0; max-width: 44ch; color: var(--fw-steel-700); }

/* ---------- Large project features ---------- */
.ed-feature { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.ed-feature > li { margin: 0; }
.ed-feature > li:nth-child(1) { grid-column: 1 / span 7; }
.ed-feature > li:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(4rem, 10vw, 9rem); }
.ed-feature > li:nth-child(3) { grid-column: 1 / span 5; }
.ed-feature > li:nth-child(4) { grid-column: 6 / span 7; margin-top: 0; } /* a negative offset overlapped the tall card 2 caption */
.ed-feature a { display: block; text-decoration: none; color: inherit; }
.ed-feature figure { margin: 0; overflow: hidden; background: var(--fw-concrete); aspect-ratio: 4 / 3; }
.ed-feature > li:nth-child(2) figure { aspect-ratio: 4 / 5; }
.ed-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fw-ease); }
.ed-feature a:hover img { transform: scale(1.04); }
.ed-feature__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-top: 1.1rem; border-bottom: var(--ed-rule); padding-bottom: 1.1rem; }
.ed-feature h3 { margin: 0 !important; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem) !important; font-weight: 400 !important; letter-spacing: -0.015em; }
.ed-feature__meta { margin: .4rem 0 0 !important; font: 500 .74rem/1.4 var(--fw-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fw-steel-600); }
.ed-feature__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--fw-ink); border-radius: 50%; transition: background-color .25s, transform .3s var(--fw-ease); }
.ed-feature__arrow svg { width: 18px; height: 18px; }
.ed-feature a:hover .ed-feature__arrow { background: var(--fw-yellow); border-color: var(--fw-yellow); transform: rotate(-45deg); }
@media (max-width: 900px) { .ed-feature > li:nth-child(n) { grid-column: 1 / -1; margin-top: 0; } .ed-feature > li:nth-child(n) figure { aspect-ratio: 4 / 3; } }

/* ---------- Sector index (editorial list) ---------- */
.ed-sectors { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--fw-gutter); }
.ed-sectors li { break-inside: avoid; margin: 0; border-top: var(--ed-rule); }
.ed-sectors li:nth-child(4), .ed-sectors li:nth-child(8) { border-bottom: var(--ed-rule); }
.ed-sectors a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; text-decoration: none; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.4rem); font-weight: 300; letter-spacing: -0.02em; transition: padding .3s var(--fw-ease), color .2s; }
.ed-sectors a:hover { padding-left: .75rem; }
.ed-sectors a:hover .ed-sectors__n { background: var(--fw-yellow); }
.ed-sectors__n { font: 500 .78rem/1 var(--fw-font-mono); padding: .35rem .5rem; border: 1px solid var(--fw-line); transition: background-color .2s; }
@media (max-width: 700px) { .ed-sectors { columns: 1; } .ed-sectors li:nth-child(4) { border-bottom: 0; } }

/* ---------- Services (bold uppercase index) ---------- */
.ed-services { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.ed-services li { counter-increment: s; margin: 0; border-top: 1px solid var(--fw-line-dark); }
.ed-services li:last-child { border-bottom: 1px solid var(--fw-line-dark); }
.ed-services a { display: grid; grid-template-columns: 3.5rem minmax(0, 1.2fr) minmax(0, 1fr) 2rem; gap: var(--fw-gutter); align-items: center; padding: 1.5rem 0; color: #fff; text-decoration: none; }
.ed-services a::before { content: counter(s, decimal-leading-zero); font: 500 .8rem/1 var(--fw-font-mono); color: var(--fw-yellow); }
.ed-services strong { font: 700 clamp(1.2rem, 1rem + .8vw, 1.75rem)/1.05 var(--fw-font-body); font-stretch: 75%; text-transform: uppercase; letter-spacing: .005em; transition: color .2s; }
.ed-services span { color: var(--fw-steel-300); font-size: .98rem; }
.ed-services svg { width: 22px; height: 22px; justify-self: end; transition: transform .3s var(--fw-ease); }
.ed-services a:hover strong { color: var(--fw-yellow); }
.ed-services a:hover svg { transform: translateX(4px); }
@media (max-width: 800px) { .ed-services a { grid-template-columns: 2.5rem 1fr 1.5rem; } .ed-services span { grid-column: 2; grid-row: 2; } }

/* ---------- SCIF (organized: definition → standards → how we help → discretion/contact) ---------- */
.ed-scif__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--fw-line-dark); margin-top: clamp(2rem, 4vw, 3.5rem); }
.ed-scif__col { padding: 2rem clamp(1rem, 2vw, 2rem) 2rem 0; border-right: 1px solid var(--fw-line-dark); }
.ed-scif__col + .ed-scif__col { padding-left: clamp(1rem, 2vw, 2rem); }
.ed-scif__col:last-child { border-right: 0; }
.ed-scif__col h3 { font: 700 1.1rem/1.2 var(--fw-font-body) !important; font-stretch: 78% !important; text-transform: uppercase; letter-spacing: .03em; color: var(--fw-yellow); margin-bottom: 1rem !important; }
.ed-scif__col p, .ed-scif__col li { color: #d8dbdf; font-size: .98rem; }
.ed-scif__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ed-scif__col li { padding-left: 1.1rem; position: relative; margin: 0; }
.ed-scif__col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border: 1px solid var(--fw-yellow); }
.ed-scif__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); padding: 1.5rem clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--fw-line-dark); }
.ed-scif__contact p { margin: 0; color: #d8dbdf; }
.ed-scif__contact a.ed-tel { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); font-weight: 300; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.ed-scif__contact a.ed-tel:hover { text-decoration: underline; text-decoration-color: var(--fw-yellow); }
@media (max-width: 900px) { .ed-scif__grid { grid-template-columns: 1fr; } .ed-scif__col, .ed-scif__col + .ed-scif__col { padding: 1.75rem 0; border-right: 0; border-bottom: 1px solid var(--fw-line-dark); } }

/* ---------- Statement CTA ---------- */
.ed-statement { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--fw-concrete); border-top: var(--ed-rule); }
.ed-statement__motto { margin: 0 0 2.5rem; font: 700 clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem)/.95 var(--fw-font-body); font-stretch: 72%; text-transform: uppercase; color: var(--fw-ink); letter-spacing: -0.005em; }
/* Phrases never break mid-phrase; on phones they stack and the separators drop out. */
.ed-statement__motto .ed-statement__sep { color: var(--fw-steel-600); }
.ed-statement__motto .ed-statement__p { white-space: nowrap; }
@media (max-width: 600px) { .ed-statement__motto .ed-statement__sep { display: none; } .ed-statement__motto .ed-statement__p { display: block; } }
/* Pages whose Divi content already ends with the estimate CTA keep only the motto here (no duplicate). */
.fw-has-cta .ed-statement__row { display: none; }
.fw-has-cta .ed-statement__motto { margin-bottom: 0; }
.ed-statement__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 2rem; border-top: 2px solid var(--fw-ink); }
.ed-statement__row h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 400; letter-spacing: -0.015em; }

/* Section rhythm */
.ed-section { padding: clamp(4.5rem, 9vw, 9rem) 0; }
.ed-section--dark { background: var(--fw-ink); color: #fff; }
.ed-section--dark .ed-head p { color: var(--fw-steel-300); }

/* ---------- Page head (inner pages) ---------- */
.ed-pagehead { padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(1.5rem, 2.5vw, 2.25rem); border-bottom: var(--ed-rule); }
.ed-pagehead .fw-crumbs { margin-bottom: clamp(.9rem, 1.6vw, 1.25rem); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--fw-steel-600); }
.ed-pagehead h1 { font-size: var(--ed-display); margin: 0; line-height: 1.05; text-wrap: balance; }
.ed-pagehead__lead { max-width: 60ch; margin: 1rem 0 0; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--fw-steel-700); }

/* ---------- Projects index: sector filter + card grid ---------- */
.ed-projects { padding-top: clamp(2rem, 4vw, 3rem); }
.ed-projects__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); padding-bottom: 1rem; border-bottom: 2px solid var(--fw-ink); }
.ed-filters { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.ed-filters li { margin: 0; }
.ed-filter { display: inline-flex; align-items: baseline; gap: .4rem; min-height: 44px; padding: .65rem 0 .5rem; font: 700 clamp(1rem, .9rem + .4vw, 1.25rem)/1 var(--fw-font-body); font-stretch: 78%; letter-spacing: .02em; text-transform: uppercase; color: var(--fw-steel-600); text-decoration: none; box-shadow: inset 0 -3px 0 transparent; transition: color .2s, box-shadow .25s; }
.ed-filter span { font: 500 .72rem/1 var(--fw-font-mono); letter-spacing: .04em; }
.ed-filter:hover { color: var(--fw-ink); box-shadow: inset 0 -3px 0 var(--fw-line); }
.ed-filter[aria-pressed="true"] { color: var(--fw-ink); box-shadow: inset 0 -3px 0 var(--fw-yellow); }
.ed-filter:focus-visible { outline: 3px solid var(--fw-focus); outline-offset: 2px; }
.ed-results { margin: 0; font: 500 .78rem/1.3 var(--fw-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fw-steel-600); }

.ed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.ed-cards > li { margin: 0; }
.ed-cards > li[hidden] { display: none; }
@media (max-width: 1000px) { .ed-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ed-cards { grid-template-columns: 1fr; } }
.ed-card { display: block; color: inherit; text-decoration: none; }
.ed-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--fw-concrete); }
.ed-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fw-ease); }
.ed-card:hover .ed-card__media img { transform: scale(1.04); }
.ed-card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: var(--ed-rule); }
.fw-site .ed-card__title { margin: 0; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 400; font-stretch: 100%; letter-spacing: -0.015em; line-height: 1.2; }
.ed-card__meta { margin: .4rem 0 0; font: 500 .72rem/1.4 var(--fw-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fw-steel-600); }
.ed-card__arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--fw-ink); border-radius: 50%; transition: background-color .25s, border-color .25s, transform .3s var(--fw-ease); }
.ed-card__arrow svg { width: 16px; height: 16px; }
.ed-card:hover .ed-card__arrow { background: var(--fw-yellow); border-color: var(--fw-yellow); transform: rotate(-45deg); }
.ed-card:focus-visible { outline: 3px solid var(--fw-focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .ed-card__media img, .ed-card__arrow { transition: none; } .ed-card:hover .ed-card__media img { transform: none; } }

/* ---------- Careers page (Divi content) ----------
   Divi puts the photos AND the Career Benefits text in the right column, which leaves a tall empty
   left column. On wider screens the row becomes a two-column grid: intro + large photo, then
   benefits + the two smaller photos (which stay in view while the benefits scroll). The right
   column is display:contents so its modules can be placed. Without :has() support Divi's own layout applies. */
.fw-page-careers .et_pb_image { margin: 0; }
.fw-page-careers .et_pb_image .et_pb_image_wrap { display: block; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; background: var(--fw-line); }
.fw-page-careers .et_pb_image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fw-page-careers .et_pb_row_nested:has(> .et_pb_column + .et_pb_column) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.fw-page-careers .et_pb_row_nested:has(> .et_pb_column + .et_pb_column) > .et_pb_column { width: auto; margin: 0; }
@media (min-width: 768px) {
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 0; align-items: start; }
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:first-child { grid-column: 1; grid-row: 1; width: auto; margin: 0; }
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:last-child { display: contents; }
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:last-child > .et_pb_row_nested:nth-child(1) { grid-column: 2; grid-row: 1; margin: 0; }
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:last-child > .et_pb_row_nested:nth-child(2) { grid-column: 2; grid-row: 2 / span 3; position: sticky; top: 104px; margin: clamp(3rem, 6vw, 5.5rem) 0 0; }
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:last-child > .et_pb_text { grid-column: 1; }
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:last-child > .et_pb_text:nth-child(3) { margin-top: clamp(3rem, 6vw, 5.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--fw-line, #d9d6ce); }
}
@media (max-width: 767px) {
	.fw-page-careers .et_pb_row:has(> .et_pb_column > .et_pb_row_nested) > .et_pb_column:last-child > .et_pb_text:nth-child(3) { margin-top: 2.5rem; }
}

/* ---------- Content pages (Divi) in the Editorial frame — FW_Page_Template ----------
   Head (breadcrumb + H1) → the page's Divi header photo as a wide band → Divi content.
   Rules target Divi module classes only, so they apply the same with Divi's own CSS on production. */
.fwpg-head { padding-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.fwpg-banner { border-bottom: 6px solid var(--fw-yellow); background: var(--fw-ink); }
.fwpg-banner .et_pb_section { padding: 0 !important; margin: 0; }
.fwpg-banner .et_pb_slider, .fwpg-banner .et_pb_slides, .fwpg-banner .et_pb_slide { height: clamp(220px, 30vw, 460px); min-height: 0; margin: 0; }
.fwpg-banner .et_pb_slide { display: block; width: 100%; padding: 0; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.fwpg-banner .et_pb_slide_overlay_container { display: none; }
.fwpg-banner .et_pb_container, .fwpg-banner .et_pb_slider_container_inner { height: 100%; min-height: 0 !important; padding: 0; }
.fwpg-content { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.fwpg-content .et_pb_section { padding: clamp(1.5rem, 3vw, 2.75rem) 0; }
.fwpg-content .et_pb_section:first-child { padding-top: 0; }
.fwpg-content .et_pb_section + .et_pb_section { border-top: 1px solid var(--fw-line); padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.fwpg-content .et_pb_row { padding-top: 0; padding-bottom: 0; }
.fwpg-content .et_pb_row + .et_pb_row { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.fwpg-content .et_pb_row_nested + .et_pb_row_nested { margin-top: .75rem; }
/* Section headings: light display weight, like the homepage section titles. */
.fwpg-content h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.7rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.06; margin: 0 0 1.25rem; max-width: 26ch; }
.fwpg-content :is(h3, h4, h5, h6):not(.et_pb_toggle_title) { font-family: var(--fw-font-display); font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; margin: 1.75rem 0 .6rem; }
.fwpg-content .et_pb_text_inner > :first-child { margin-top: 0; }
.fwpg-content p { color: var(--fw-steel-700); line-height: 1.65; }
.fwpg-content strong, .fwpg-content b { color: var(--fw-ink); font-weight: 650; }
.fwpg-content .et_pb_text_inner a:not(.fw-btn) { color: var(--fw-ink); text-decoration: underline; text-decoration-color: var(--fw-yellow); text-decoration-thickness: 2px; text-underline-offset: .2em; }
/* Lists: short yellow dash instead of bullets. */
.fwpg-content .et_pb_text_inner ul, .fwpg-content .et_pb_toggle_content ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.fwpg-content .et_pb_text_inner ul li, .fwpg-content .et_pb_toggle_content ul li { position: relative; margin: 0 0 .55rem; padding: 0 0 0 1.5rem; max-width: 68ch; color: var(--fw-steel-700); line-height: 1.55; }
.fwpg-content .et_pb_text_inner ul li::before, .fwpg-content .et_pb_toggle_content ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: .75rem; height: 2px; background: var(--fw-yellow); }
/* Images: square corners, full column width. */
.fwpg-content .et_pb_image .et_pb_image_wrap { display: block; border-radius: 0; overflow: hidden; }
.fwpg-content .et_pb_image img { display: block; width: 100%; height: auto; }
/* Buttons (Get An Estimate, Click Here, …): the site's primary button. */
.fwpg-content .et_pb_button_module_wrapper { margin: 1.25rem 0; }
.fwpg-content a.et_pb_button { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .8rem 1.4rem !important; font: 650 1rem/1.1 var(--fw-font-body) !important; color: var(--fw-ink) !important; background: var(--fw-yellow) !important; border: 0 !important; border-radius: 0 !important; text-decoration: none; letter-spacing: 0; transition: background-color .2s, transform .2s var(--fw-ease); }
.fwpg-content a.et_pb_button::before { display: none; }
.fwpg-content a.et_pb_button::after { content: "\2192" !important; position: static !important; display: inline !important; margin: 0 !important; opacity: 1 !important; font: inherit !important; line-height: 1 !important; transition: transform .2s var(--fw-ease); }
.fwpg-content a.et_pb_button:hover { background: var(--fw-yellow-600, #e0ab00) !important; }
.fwpg-content a.et_pb_button:hover::after { transform: translateX(3px); }
.fwpg-content a.et_pb_button:focus-visible { outline: 3px solid var(--fw-focus); outline-offset: 3px; }
/* Accordions: hairline rows, + / − marker. Open/close behaviour is Divi's. */
.fwpg-content .et_pb_accordion { border-top: 2px solid var(--fw-ink); margin-bottom: 1.5rem; }
.fwpg-content .et_pb_toggle { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--fw-line) !important; border-radius: 0 !important; }
.fwpg-content .et_pb_toggle_title { position: relative; margin: 0 !important; padding: 1.15rem 3rem 1.15rem 0 !important; font: 500 clamp(1.05rem, 1rem + .35vw, 1.3rem)/1.3 var(--fw-font-display) !important; letter-spacing: -0.01em; color: var(--fw-ink) !important; cursor: pointer; transition: color .2s; }
.fwpg-content .et_pb_toggle_title:hover { color: var(--fw-steel-600) !important; }
.fwpg-content .et_pb_toggle_title::before { content: "" !important; position: absolute; right: .35rem; top: 50%; left: auto; width: 16px; height: 16px; margin: 0; transform: translateY(-50%); font: 0/0 a !important; background: linear-gradient(var(--fw-ink), var(--fw-ink)) center / 16px 2px no-repeat, linear-gradient(var(--fw-ink), var(--fw-ink)) center / 2px 16px no-repeat; transition: background-size .25s var(--fw-ease); }
.fwpg-content .et_pb_toggle_open .et_pb_toggle_title::before { background-size: 16px 2px, 2px 0; }
.fwpg-content .et_pb_toggle_content { padding: 0 0 1.5rem !important; }
.fwpg-content .et_pb_toggle_content > :last-child { margin-bottom: 0; }
/* Dividers: a plain hairline. */
.fwpg-content .et_pb_divider { height: 1px; margin: 1.5rem 0; }
.fwpg-content .et_pb_divider::before { border-top: 1px solid var(--fw-line) !important; }
@media (prefers-reduced-motion: reduce) { .fwpg-content .et_pb_toggle_title::before, .fwpg-content a.et_pb_button, .fwpg-content a.et_pb_button::after { transition: none; } }
/* Banner sliders with more than one slide: Divi rotates them; never let a slide spill below the band. */
.fwpg-banner .et_pb_slider, .fwpg-banner .et_pb_slides { position: relative; overflow: hidden; }
.fwpg-banner .et_pb_slides .et_pb_slide { position: absolute; inset: 0; height: 100%; }
.fwpg-banner .et_pb_slides .et_pb_slide:first-child { position: relative; }
.fwpg-content .et_pb_accordion:not(:has(.et_pb_toggle)) { display: none; }

/* What We Do — awards: Divi builds an alternating timeline from 4-column rows (icon row, card row,
   empty spacer row). In the Editorial frame they become a grid of award cards (photo, then name). */
.fw-page-what-we-do .fwpg-content .et_pb_section:has(.et_pb_icon) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); box-sizing: border-box; max-width: calc(var(--fw-max) + 2 * var(--fw-gutter)); margin: 0 auto; padding-left: var(--fw-gutter); padding-right: var(--fw-gutter); }
.fw-page-what-we-do .fwpg-content .et_pb_section:has(.et_pb_icon) > .et_pb_row { grid-column: 1 / -1; width: auto; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.fw-page-what-we-do .fwpg-content .et_pb_section:has(.et_pb_icon) > .et_pb_row:has(.et_pb_icon),
.fw-page-what-we-do .fwpg-content .et_pb_section:has(.et_pb_icon) > .et_pb_row:not(:has(.et_pb_module)) { display: none; }
.fw-page-what-we-do .fwpg-content .et_pb_section:has(.et_pb_icon) > .et_pb_row:has(> .et_pb_column > .et_pb_image) { grid-column: auto; display: block; }
.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) > .et_pb_column:not(:has(.et_pb_module)) { display: none; }
.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) > .et_pb_column { display: flex; flex-direction: column-reverse; justify-content: flex-end; width: 100% !important; margin: 0; padding: 0; background: none; border: 0; }
.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) .et_pb_image { margin: 0 0 1rem; }
.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) .et_pb_image img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--fw-ink); }
.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) .et_pb_heading { padding-top: .85rem; border-top: 2px solid var(--fw-ink); }
.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) .et_pb_module_header { margin: 0; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; max-width: none; }
.fwpg-content :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; color: inherit; }
.fwpg-content h2 { max-width: 32ch; }
/* Runs of short labelled points (a heading-only text module, one short paragraph, the next heading-only
   module …: Security / Shielding / Sound Attenuation on the SCIF page) read as sub-points. Page-scoped:
   the same markup pattern is used for real section headings elsewhere (Careers, What We Do).
   (:has() can't be nested, so the "first of the run" and "rest of the run" cases are separate rules.) */
.fw-page-scifs-secure-facilities .fwpg-content .et_pb_text:has(> .et_pb_text_inner > h2:only-child):has(+ .et_pb_text + .et_pb_text > .et_pb_text_inner > h2:only-child) h2 { margin: 1.25rem 0 .35rem; padding-top: 1rem; border-top: 1px solid var(--fw-line); font-family: var(--fw-font-display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
.fw-page-scifs-secure-facilities .fwpg-content .et_pb_text:has(> .et_pb_text_inner > h2:only-child) + .et_pb_text:has(> .et_pb_text_inner > p:only-child) + .et_pb_text > .et_pb_text_inner > h2:only-child { margin: 1.25rem 0 .35rem; padding-top: 1rem; border-top: 1px solid var(--fw-line); font-family: var(--fw-font-display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
/* Completed SCIF Projects: its header image is a strip of client logos — show it whole on white. */
.fw-page-completed-scif-projects .fwpg-banner { background: #fff; border-top: 1px solid var(--fw-line); }
.fw-page-completed-scif-projects .fwpg-banner .et_pb_slide { background-size: contain !important; background-color: #fff !important; height: clamp(120px, 18vw, 260px); }
.fw-page-completed-scif-projects .fwpg-banner .et_pb_slider, .fw-page-completed-scif-projects .fwpg-banner .et_pb_slides { height: clamp(120px, 18vw, 260px); }

/* Ninja Forms (forms 2, 3, 4) in the Editorial style: square fields, mono labels, primary submit. */
.fwpg-content .nf-form-cont { max-width: 760px; }
.fwpg-content .nf-form-fields-required { margin: 0 0 1.5rem; font: 500 .75rem/1.4 var(--fw-font-mono); letter-spacing: .06em; color: var(--fw-steel-600); }
.fwpg-content .nf-field-container { margin: 0 0 1.25rem; }
.fwpg-content .nf-field-label label { display: block; margin: 0 0 .4rem; font: 500 .75rem/1.3 var(--fw-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fw-steel-700); }
.fwpg-content .ninja-forms-req-symbol { color: #b3261e; }
.fwpg-content .nf-field-element :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, select) { width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; color: var(--fw-ink); background: #fff; border: 1.5px solid var(--fw-steel-300, #b9bec5); border-radius: 0; box-shadow: none; transition: border-color .2s; }
.fwpg-content .nf-field-element textarea { min-height: 9rem; }
.fwpg-content .nf-field-element :is(input, textarea, select):focus { outline: 3px solid var(--fw-focus); outline-offset: 1px; border-color: var(--fw-ink); }
.fwpg-content .nf-error .nf-field-element :is(input, textarea, select) { border-color: #b3261e; }
.fwpg-content .nf-error-msg { margin-top: .35rem; font-size: .9rem; color: #b3261e; }
.fwpg-content .submit-wrap :is(input[type="button"], input[type="submit"], button) { min-height: 48px; padding: .8rem 1.6rem; font: 650 1rem/1 var(--fw-font-body); color: var(--fw-ink); background: var(--fw-yellow); border: 0; border-radius: 0; cursor: pointer; transition: background-color .2s; }
.fwpg-content .submit-wrap :is(input[type="button"], input[type="submit"], button):hover { background: #e0ab00; }
/* Review pass 2026-10-26: spacing, measure, CTA row, small screens. */
.fwpg-content .et_pb_module + .et_pb_module :is(.et_pb_text_inner, .et_pb_heading_container) > h2:first-child,
.fwpg-content .et_pb_text_inner > * + h2,
.fwpg-content .et_pb_accordion + .et_pb_module h2:first-child { margin-top: clamp(2.5rem, 5vw, 4rem); }
.fwpg-content h2:has(+ h2) { margin-bottom: 0; }
.fwpg-content h2 + h2 { margin-top: 0 !important; }
/* A text column next to an empty column takes the full row (the reading measure still caps lines). */
.fwpg-content .et_pb_row:has(> .et_pb_column:not(:has(.et_pb_module))) > .et_pb_column:not(:has(.et_pb_module)) { display: none; }
.fwpg-content .et_pb_row:has(> .et_pb_column:not(:has(.et_pb_module))) > .et_pb_column:has(.et_pb_module) { width: 100% !important; }
.fwpg-content :is(.et_pb_text_inner, .et_pb_toggle_content) > :is(p, ul, ol) { max-width: 68ch; }
.fwpg-content .et_pb_toggle_content :is(p, li) { max-width: 68ch; }
/* Divi's own "Looking for a ROM…" row: heading left, button right, vertically centred. */
.fwpg-content .et_pb_row:has(h2):has(> .et_pb_column > .et_pb_button_module_wrapper) { align-items: center; }
.fwpg-content .et_pb_row:has(h2) > .et_pb_column:has(> .et_pb_button_module_wrapper:only-child) { display: flex; justify-content: flex-end; }
.fw-has-cta .ed-statement { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.fwp-head__title { text-wrap: balance; }
.fwpg-content .et_pb_toggle_title { text-wrap: pretty; }
.fwpg-content .et_pb_toggle_title:focus-visible { outline: 3px solid var(--fw-focus); outline-offset: 2px; }
@media (max-width: 600px) {
	.fw-page-what-we-do .fwpg-content .et_pb_section:has(.et_pb_icon) { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
	.fw-page-what-we-do .fwpg-content .et_pb_row:has(> .et_pb_column > .et_pb_image) .et_pb_module_header { font-size: .95rem; }
	.fwpg-content .et_pb_row:has(h2) > .et_pb_column:has(> .et_pb_button_module_wrapper:only-child) { justify-content: flex-start; }
}
/* Completed SCIF logo banner keeps the strip's proportions so logos stay readable on phones. */
.fw-page-completed-scif-projects .fwpg-banner .et_pb_slider, .fw-page-completed-scif-projects .fwpg-banner .et_pb_slides, .fw-page-completed-scif-projects .fwpg-banner .et_pb_slide { height: auto; max-height: 260px; aspect-ratio: 1768 / 400; }
/* Hero: slide text left, caption + controls bottom-right on the same baseline (clear of the Ask Plumb launcher). */
@media (min-width: 701px) {
	.ed-hero .ed-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: clamp(1.5rem, 4vw, 4rem); }
	.ed-hero .ed-hero__foot { margin: 0 0 .25rem; }
}
