/* Fortify Experts — static preview. Brand tokens from theme.json, UI layer upgraded. */
:root {
  color-scheme: light only;
  --bg: #FFFFFF;
  --surface: #EEF2F5;
  --card: #FFFFFF;
  --text: #14212B;
  --muted: #4E5D69;
  --line: #D5DCE1;
  --line-strong: #B9C5CE;
  --accent: #1F5AA6;
  --accent-deep: #173F78;
  --link: #1F5AA6;
  --signal: #D9981E;
  --signal-ink: #14212B;
  --night: #14212B;
  --night-raise: #1B2C39;
  --on-night: #FFFFFF;
  --on-night-muted: #B8C6D1;
  --night-line: rgba(255,255,255,0.13);
  --night-link: #A9C7F0;
  --bar: #4F8AD6;
  --shadow: 0 18px 40px -18px rgba(20,33,43,0.35);
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --wrap: 1200px;
  --pad-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  --section-y: clamp(3.25rem, 7vw, 6rem);
  --header-h: 68px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}


*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--serif); font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem); line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--night); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 650; line-height: 1.12; letter-spacing: -0.01em; font-stretch: 108%; text-wrap: balance; color: var(--text); }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.1rem); margin: 0 0 0.5em; }
h3 { font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.45rem); line-height: 1.25; margin: 1.6em 0 0.5em; }
p { text-wrap: pretty; margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--signal); color: var(--signal-ink); padding: 0.75rem 1rem; font-family: var(--sans); font-weight: 600; }
.skip:focus { left: 1rem; top: calc(env(safe-area-inset-top, 0px) + 0.5rem); }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.5rem 0; }
.wp-element-button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.005em;
  padding: 0.9rem 1.45rem; border-radius: 3px; border: 2px solid var(--accent);
  background: var(--accent); color: #FFFFFF; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.wp-element-button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--link); border-color: currentColor; }
.is-style-outline .wp-block-button__link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* On dark surfaces the primary action turns signal amber. */
.fe-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--signal); border-color: var(--signal); color: var(--signal-ink);
}
.fe-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #F0B23C; border-color: #F0B23C; }
.fe-cta .is-style-outline .wp-block-button__link { color: var(--on-night); border-color: rgba(255,255,255,0.55); }
.fe-cta .is-style-outline .wp-block-button__link:hover { background: var(--on-night); color: #14212B; border-color: var(--on-night); }
.ext::after { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-left: 0.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 4.5 7.5M8.5 11H1V3.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 4.5 7.5M8.5 11H1V3.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0.75; }

/* ---------- Header ---------- */
.fe-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); color: var(--on-night); border-bottom: 1px solid var(--night-line); }
.fe-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); padding-inline: var(--pad-x); }
.fe-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-night); text-decoration: none; flex: none; }
.fe-brand__mark { color: #6FA2E4; flex: none; }
.fe-brand__name { font-family: var(--sans); font-weight: 700; font-stretch: 112%; font-size: 1.2rem; letter-spacing: -0.01em; white-space: nowrap; }
.fe-nav { display: flex; align-items: center; gap: 0.25rem; }
.fe-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.15rem; }
.fe-nav__top { position: relative; }
.fe-nav__btn, .fe-nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem; font: 500 0.98rem/1 var(--sans);
  color: #DCE4EA; background: none; border: 0; padding: 0.75rem 0.8rem; border-radius: 3px; cursor: pointer; text-decoration: none;
}
.fe-nav__btn:hover, .fe-nav__link:hover, .fe-nav__top.is-open > .fe-nav__btn { color: #fff; background: rgba(255,255,255,0.07); }
.fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link) { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 3px 3px 0 0; }
.fe-nav__chev { width: 10px; height: 10px; transition: transform .18s; }
.fe-nav__top.is-open .fe-nav__chev { transform: rotate(180deg); }
.fe-nav__cta { margin-left: 0.75rem; padding: 0.7rem 1.1rem; font-size: 0.95rem; background: var(--signal); border-color: var(--signal); color: var(--signal-ink); white-space: nowrap; }
.fe-nav__cta:hover { background: #F0B23C; border-color: #F0B23C; color: var(--signal-ink); }
.fe-panel {
  position: absolute; top: calc(100% + 10px); left: -0.5rem; display: none;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px; box-shadow: var(--shadow); padding: 0.75rem; min-width: 22rem;
}
.fe-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 12px; }
.fe-nav__top.is-open > .fe-panel { display: block; }
@media (hover: hover) and (min-width: 1280px) { .fe-nav__top:hover > .fe-panel { display: block; } .fe-nav__top:hover .fe-nav__chev { transform: rotate(180deg); } }
.fe-panel--wide { display: none; width: min(44rem, 80vw); }
.fe-nav__top.is-open > .fe-panel--wide { display: grid; }
@media (hover: hover) and (min-width: 1280px) { .fe-nav__top:hover > .fe-panel--wide { display: grid; } }
.fe-panel--wide { grid-template-columns: 1fr 15rem; gap: 0.75rem; }
.fe-panel--right { left: auto; right: -0.5rem; }
.fe-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.fe-panel--wide ul { grid-template-columns: 1fr 1fr; align-content: start; }
.fe-panel a.fe-panel__item { display: block; padding: 0.6rem 0.75rem; border-radius: 3px; text-decoration: none; color: var(--text); }
.fe-panel a.fe-panel__item:hover, .fe-panel a.fe-panel__item:focus-visible { background: var(--surface); }
.fe-panel a.fe-panel__item[aria-current="page"] { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.fe-panel__name { display: block; font: 600 0.96rem/1.3 var(--sans); }
.fe-panel__desc { display: block; font: 400 0.84rem/1.4 var(--sans); color: var(--muted); margin-top: 0.15rem; }
.fe-panel__feature { background: var(--night); color: var(--on-night-muted); border-radius: 3px; padding: 1.1rem; font-family: var(--sans); font-size: 0.88rem; line-height: 1.45; display: flex; flex-direction: column; gap: 0.6rem; }
.fe-panel__feature strong { color: #fff; font-size: 1.6rem; font-stretch: 112%; letter-spacing: -0.02em; display: block; line-height: 1; }
.fe-panel__feature b { color: #fff; font-weight: 600; font-size: 0.98rem; }
.fe-panel__feature a { color: var(--signal); font-weight: 600; text-decoration: none; margin-top: auto; }
.fe-panel__feature a:hover { text-decoration: underline; }
.fe-menu-btn { display: none; background: none; border: 1px solid var(--night-line); color: #fff; border-radius: 3px; padding: 0.55rem 0.7rem; font: 600 0.92rem/1 var(--sans); align-items: center; gap: 0.5rem; cursor: pointer; }
.fe-menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 1279px) {
  .fe-menu-btn { display: inline-flex; }
  .fe-nav { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + var(--header-h)) 0 0 0; z-index: 59; background: var(--night); display: none; flex-direction: column; align-items: stretch; overflow-y: auto; padding: 1rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem); }
  body.menu-open .fe-nav { display: flex; }
  body.menu-open { overflow: hidden; }
  .fe-nav > ul { flex-direction: column; gap: 0; }
  .fe-nav__top { border-bottom: 1px solid var(--night-line); }
  .fe-nav__btn, .fe-nav__link { width: 100%; justify-content: space-between; font-size: 1.15rem; font-weight: 600; padding: 1.05rem 0.25rem; }
  .fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link) { box-shadow: inset 3px 0 0 var(--signal); padding-left: 0.85rem; }
  .fe-panel, .fe-panel--wide { position: static; width: auto; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.75rem; }
  .fe-nav__top.is-open > .fe-panel--wide { display: block; }
  .fe-panel--wide ul { grid-template-columns: 1fr; }
  .fe-panel a.fe-panel__item { color: #DCE4EA; padding: 0.6rem 0.75rem; }
  .fe-panel a.fe-panel__item:hover, .fe-panel a.fe-panel__item[aria-current="page"] { background: rgba(255,255,255,0.06); }
  .fe-panel__desc { color: #8FA1AF; }
  .fe-panel__feature { margin-top: 0.75rem; background: var(--night-raise); }
  .fe-nav__cta { margin: 1.5rem 0 0; padding: 1rem; font-size: 1.05rem; }
}

/* ---------- Sections ---------- */
main { display: block; }
main:focus { outline: none; }
.fe-section { padding: var(--section-y) var(--pad-x); }
.fe-section > :first-child { margin-top: 0; }
.fe-section > :last-child { margin-bottom: 0; }
.fe-section--mist { background: var(--surface); }
/* Two plain white sections in a row share one gap instead of stacking two. */
.fe-section:not(.fe-section--mist, .fe-section--ink, .fe-hero, .fe-cta, .fe-section--proof) + .fe-section:not(.fe-section--mist, .fe-section--ink, .fe-hero, .fe-cta, .fe-section--proof, .fe-section--related) { padding-top: 0; }
.fe-section__lead { font-size: clamp(1.2rem, 0.4vw + 1.1rem, 1.45rem); color: var(--muted); max-width: 44rem; line-height: 1.5; margin-top: -0.1rem; }
.fe-prose { max-width: 46rem; }
.fe-prose h2 { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.35rem); margin-top: 0; }
.fe-prose ul:not([class]), .fe-section > ul:not([class]), .wp-block-column > ul:not([class]) { padding-left: 1.2rem; }
.fe-prose li, .wp-block-column li { margin-bottom: 0.35rem; }
.fe-note { font-size: 0.95rem; color: var(--muted); font-style: italic; }
.fe-note--section { margin-block: 2.5rem; }

.wp-block-columns { display: flex; gap: clamp(2rem, 5vw, 4rem); align-items: flex-start; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column[style*="flex-basis"] { flex-grow: 0; flex-shrink: 1; }
.wp-block-column > :first-child { margin-top: 0; }
@media (max-width: 860px) {
  .wp-block-columns { flex-direction: column; }
  .wp-block-column { flex-basis: 100% !important; width: 100%; }
}
.fe-split h2 { margin-top: 0; }

/* ---------- Hero ---------- */
.fe-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--on-night-muted);
  padding-block: clamp(3rem, 7vw, 5.75rem) clamp(3rem, 6vw, 5rem);
}
/* Maturity-tier rules: four faint verticals, echoing the 1–4 scale of the assessment. */
.fe-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(52%, 46rem);
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,0.055) calc(25% - 1px) 25%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 35%); mask: linear-gradient(90deg, transparent, #000 35%);
}
.fe-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--signal) 0 7rem, transparent 7rem); }
.fe-hero :is(h1, h2, h3) { color: var(--on-night); }
.fe-hero a:not(.wp-element-button) { color: var(--night-link); }
.fe-hero__title { font-size: clamp(2.5rem, 4.2vw + 1rem, 4.5rem); font-weight: 700; font-stretch: 106%; letter-spacing: -0.028em; line-height: 1.03; max-width: 17ch; margin: 0.55rem 0 0; }
.fe-hero__title--compact { font-size: clamp(2.1rem, 2.6vw + 1rem, 3.25rem); max-width: 20ch; }
.fe-hero--home .fe-hero__title { max-width: 15ch; }
.fe-hero__lead { font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.42rem); color: var(--on-night-muted); max-width: 40rem; margin: 1.35rem 0 0; line-height: 1.5; }
.fe-hero__actions { margin-top: 2.1rem; }
.fe-hero__cols { align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.fe-crumbs { font-family: var(--sans); font-size: 0.9rem; color: #8FA1AF; margin: 0; }
.fe-crumbs a { color: #B8C6D1 !important; text-decoration: none; }
.fe-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.fe-facts { list-style: none; padding: 1.5rem 0 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1rem 2rem; font-family: var(--sans); font-size: 0.95rem; color: var(--on-night-muted); border-top: 1px solid var(--night-line); max-width: 56rem; }
.fe-facts strong { display: block; color: #fff; font-weight: 700; font-stretch: 110%; font-size: 1.4rem; letter-spacing: -0.01em; }

/* Scorecard: the home hero's signature visual. */
.fe-score { margin: 0; background: var(--night-raise); border: 1px solid var(--night-line); border-radius: 4px; padding: 1.5rem 1.5rem 1.1rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.fe-score__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--sans); margin-bottom: 1.1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--night-line); }
.fe-score__head b { color: #fff; font-weight: 650; font-size: 1rem; }
.fe-score__head span { color: #8FA1AF; font-size: 0.82rem; }
.fe-score svg { display: block; width: 100%; height: auto; overflow: visible; }
.fe-score__label { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: #E6EDF2; }
.fe-score__tick { font-family: var(--sans); font-size: 12px; fill: #8FA1AF; text-anchor: middle; }
.fe-score__grid { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.fe-score__track { fill: rgba(255,255,255,0.06); }
.fe-score__gap { fill: var(--signal); opacity: 0.45; }
.fe-score__bar { fill: var(--bar); transform-box: fill-box; transform-origin: left center; animation: fe-grow 0.9s cubic-bezier(.2,.7,.2,1) both; }
.fe-score__target { stroke: #FFFFFF; stroke-width: 2.5; }
@keyframes fe-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fe-score__cap { font-family: var(--sans); font-size: 0.8rem; color: #8FA1AF; line-height: 1.5; margin-top: 0.9rem; }
@media (max-width: 600px) { .fe-score__label { font-size: 19px; } .fe-score__tick { font-size: 16px; } .fe-score { padding: 1.1rem; } }
.fe-score__key { display: inline-block; width: 0.9em; height: 0.6em; margin: 0 0.35em 0 0.6em; }
.fe-score__key:first-child { margin-left: 0; }
.fe-score__key--cur { background: var(--bar); }
.fe-score__key--gap { background: var(--signal); opacity: 0.6; }
.fe-score__key--tgt { width: 2px; height: 0.9em; background: #fff; vertical-align: -0.1em; }

/* ---------- Proof band (continues the dark hero) ---------- */
.fe-section--proof { background: var(--night); padding-block: 0 2.75rem; }
.fe-proof { list-style: none; padding: 1.75rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1.25rem 2rem; font-family: var(--sans); color: var(--on-night-muted); font-size: 0.95rem; line-height: 1.4; border-top: 1px solid var(--night-line); }
.fe-proof strong { display: block; color: #fff; font-size: 1.5rem; font-stretch: 110%; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.fe-hero + .fe-section--proof { margin-top: -1px; }

/* ---------- Answer box ---------- */
.fe-section:has(> .fe-answer) { padding-bottom: 0; padding-top: clamp(2.25rem, 4vw, 3.25rem); }
.fe-section:has(> .fe-answer) + .fe-section:not(.fe-section--mist, .fe-section--ink, .fe-hero, .fe-cta, .fe-section--proof) { padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.fe-answer { border-left: 4px solid var(--signal); background: var(--surface); padding: 1.3rem 1.6rem; max-width: 54rem; }
.fe-answer p { margin: 0; font-size: 1.12rem; line-height: 1.58; }
.fe-answer::before { content: "In short"; display: block; font-family: var(--sans); font-weight: 650; font-size: 0.88rem; color: var(--muted); margin-bottom: 0.4rem; }
.fe-section--mist .fe-answer { background: var(--card); }

/* ---------- Assessment ladder: three steps that rise with depth ---------- */
.fe-ladder { gap: 0 !important; align-items: flex-end; margin-top: 2.75rem; }
.fe-step { background: var(--card); border: 1px solid var(--line); border-top-width: 5px; padding: 1.75rem 1.6rem 1.6rem; display: flex; flex-direction: column; }
.fe-step + .fe-step { border-left-width: 0; }
.fe-step--1 { border-top-color: #9DB6D8; }
.fe-step--2 { border-top-color: var(--accent); padding-top: 3rem; box-shadow: var(--shadow); position: relative; z-index: 1; }
.fe-step--3 { border-top-color: var(--accent-deep); padding-top: 4.4rem; }
.fe-step__title { margin: 0; font-size: 1.25rem; }
.fe-step .fe-step__price { font-family: var(--sans); font-weight: 700; font-stretch: 112%; font-size: 2.2rem; letter-spacing: -0.02em; margin: 0.5rem 0 0.4rem; color: var(--text); line-height: 1.1; }
.fe-step.fe-step--3 .fe-step__price { font-size: 1.55rem; padding-block: 0.3rem; }
.fe-step p { font-size: 1rem; }
.fe-step .wp-block-buttons { margin-top: auto; padding-top: 0.5rem; }
@media (max-width: 860px) {
  .fe-step + .fe-step { border-left-width: 1px; margin-top: 1rem; }
  .fe-step--2, .fe-step--3 { padding-top: 1.75rem; }
}

/* ---------- Pillars ---------- */
.fe-pillars { margin-top: 2.75rem; }
.fe-pillar { border-top: 3px solid var(--text); padding-top: 1.25rem; }
.fe-pillar h3 { margin-top: 0; font-size: 1.6rem; }
.fe-pillar h3 a { color: var(--text); text-decoration: none; }
.fe-pillar h3 a:hover { color: var(--link); text-decoration: underline; }
.fe-pillar > p { color: var(--muted); }
.fe-pillar__links { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 1rem; }
.fe-pillar__links li { padding: 0.6rem 0; border-top: 1px solid var(--line); margin: 0; }
.fe-pillar__links a { text-decoration: none; font-weight: 550; }
.fe-pillar__links a:hover { text-decoration: underline; }

/* ---------- Tiles: whole tile is the link target ---------- */
.fe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1px; margin-top: 2.25rem; background: var(--line); border: 1px solid var(--line); }
.fe-tile { position: relative; background: var(--bg); padding: 1.5rem 1.5rem 1.6rem; transition: background-color .15s; }
.fe-section--mist .fe-tile { background: var(--card); }
.fe-tile:has(a):hover { background: var(--surface); }
.fe-section--mist .fe-tile:has(a):hover { background: var(--bg); }
.fe-tile::before { content: ""; position: absolute; left: 0; top: 0; width: 2.5rem; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.fe-tile:has(a):hover::before { transform: scaleX(1); }
.fe-tile__title { margin: 0 0 0.55rem; font-size: 1.2rem; }
.fe-tile__title a { color: var(--text); text-decoration: none; }
.fe-tile__title a::after { content: ""; position: absolute; inset: 0; }
.fe-tile__title a:hover { color: var(--link); }
.fe-tile:has(a:focus-visible) { outline: 3px solid var(--signal); outline-offset: -3px; }
.fe-tile__title a:focus-visible { outline: none; }
.fe-tile p { margin: 0; font-size: 1rem; color: var(--muted); }

/* ---------- Ordered steps (real sequences only) ---------- */
.fe-steps { list-style: none; padding: 0; counter-reset: fe-step; margin: 2rem 0 0; max-width: 54rem; }
.fe-steps li { counter-increment: fe-step; position: relative; padding: 1.1rem 0 1.1rem 3.75rem; border-top: 1px solid var(--line); }
.fe-steps li:last-child { border-bottom: 1px solid var(--line); }
.fe-steps li::before { content: counter(fe-step); position: absolute; left: 0; top: 0.95rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 2px solid var(--accent); border-radius: 50%; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--link); line-height: 1; }
.fe-steps strong { font-family: var(--sans); font-weight: 650; }
.fe-steps--compact li { padding-block: 0.65rem; padding-left: 2.75rem; }
.fe-steps--compact li::before { width: 1.8rem; height: 1.8rem; font-size: 0.9rem; top: 0.6rem; }

/* ---------- Check lists ---------- */
.fe-checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.fe-checks li { position: relative; padding: 0.5rem 0 0.5rem 2rem; margin: 0; }
.fe-checks li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 1.15rem; height: 1.15rem; background: var(--link); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Tables ---------- */
.wp-block-table { overflow-x: auto; margin: 2rem 0 0; -webkit-overflow-scrolling: touch; }
.wp-block-table table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--card); }
.wp-block-table th { font-family: var(--sans); font-weight: 650; font-size: 0.92rem; text-align: left; background: #14212B; color: #fff; border: 1px solid #14212B; padding: 0.8rem 1rem; }
.wp-block-table td { border: 1px solid var(--line); padding: 0.8rem 1rem; vertical-align: top; font-size: 1.02rem; }
.wp-block-table td:first-child { font-family: var(--sans); font-weight: 600; }
.wp-block-table tbody tr:hover td { background: var(--surface); }
.fe-section--mist .wp-block-table tbody tr:hover td { background: var(--bg); }

/* ---------- FAQ: heading left, answers right on wide screens ---------- */
.fe-faq { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .fe-faq { grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 2fr); column-gap: clamp(2rem, 5vw, 5rem); }
  .fe-faq > h2 { grid-column: 1; grid-row: 1 / span 30; align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
  .fe-faq > details { grid-column: 2; }
}
.fe-faq > h2 { font-size: clamp(1.8rem, 1.6vw + 1rem, 2.5rem); }
.fe-faq details { border-top: 1px solid var(--line); margin: 0; }
.fe-faq details:last-child { border-bottom: 1px solid var(--line); }
.fe-faq summary { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; line-height: 1.35; cursor: pointer; list-style: none; position: relative; padding: 1.2rem 3rem 1.2rem 0; }
.fe-faq summary::-webkit-details-marker { display: none; }
.fe-faq summary::after { content: ""; position: absolute; right: 0.35rem; top: 50%; width: 0.7rem; height: 0.7rem; margin-top: -0.5rem; border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(45deg); transition: transform .2s; }
.fe-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -0.15rem; }
.fe-faq summary:hover { color: var(--link); }
.fe-faq details p { margin: 0 0 1.3rem; color: var(--muted); max-width: 44rem; }

/* ---------- Testimonials ---------- */
.fe-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.fe-testimonial { margin: 0; padding: 1.75rem 1.6rem 1.5rem; background: var(--surface); border-radius: 4px; position: relative; display: flex; flex-direction: column; }
.fe-section--mist .fe-testimonial { background: var(--card); }
.fe-testimonial::before { content: "\201C"; font-family: var(--serif); font-size: 4rem; line-height: 0.6; color: var(--signal); display: block; height: 1.6rem; }
.fe-testimonial p { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.fe-testimonial cite { display: block; margin-top: auto; padding-top: 1.1rem; font-family: var(--sans); font-style: normal; font-size: 0.9rem; font-weight: 550; color: var(--muted); }

/* ---------- Dark bands ---------- */
.fe-cta { background: var(--night); color: var(--on-night-muted); }
.fe-cta :is(h1, h2, h3) { color: var(--on-night); }
.fe-cta a:not(.wp-element-button) { color: var(--night-link); }
.fe-cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.fe-cta__title { font-size: clamp(2rem, 2.6vw + 1rem, 3.1rem); max-width: 20ch; margin: 0; }
.fe-cta__text { font-size: clamp(1.15rem, 0.4vw + 1.05rem, 1.35rem); max-width: 40rem; margin: 1rem 0 0; line-height: 1.5; }

/* ---------- Latest posts / empty state ---------- */
.fe-latest-empty { border: 1px dashed var(--line-strong); border-radius: 4px; padding: 1.5rem 1.6rem; font-family: var(--sans); color: var(--muted); }
.fe-latest-empty p { margin: 0 0 0.6rem; }
.fe-latest-empty b { display: block; color: var(--text); font-weight: 650; font-size: 1.1rem; margin-bottom: 0.25rem; }
.fe-latest-empty a { font-weight: 600; }
.fe-hero .fe-prose .fe-latest-empty { margin-top: 2rem; }

/* ---------- Related ---------- */
.fe-section--related { padding-block: 2.75rem; border-top: 1px solid var(--line); }
.fe-section--related h2 { font-size: 1.35rem; }
.fe-related { list-style: none; padding: 0; margin: 0; }
.fe-related li { position: relative; padding: 0.35rem 0 0.35rem 1.4rem; margin: 0; }
.fe-related li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 0.7rem; height: 2px; background: var(--signal); }
.fe-related a { font-family: var(--sans); font-weight: 650; }

/* ---------- Contact form ---------- */
.fe-hero--contact .fe-contact { align-items: flex-start; }
.fe-hero--contact h3 { font-size: 1.15rem; margin-top: 2.25rem; }
.fe-form-col { background: var(--card); color: var(--text); border-radius: 4px; border-top: 5px solid var(--signal); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.fe-form p { margin: 0 0 1.1rem; }
.fe-form label { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--text); }
.fe-form__optional { font-weight: 400; color: var(--muted); }
.fe-form input, .fe-form select, .fe-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 3px; padding: 0.75rem 0.85rem; }
.fe-form textarea { resize: vertical; }
.fe-form input:focus, .fe-form select:focus, .fe-form textarea:focus { border-color: var(--accent); outline: 3px solid rgba(31,90,166,0.25); outline-offset: 0; }
.fe-form [aria-invalid="true"] { border-color: #B54708; }
.fe-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .fe-form__row { grid-template-columns: 1fr; } }
.fe-form button { width: 100%; padding-block: 1rem; font-size: 1.05rem; }
.fe-form__error { background: #FFF4E0; color: #5A3A00; border-left: 4px solid var(--signal); padding: 0.75rem 1rem; font-family: var(--sans); font-size: 0.95rem; }
.fe-form__note { font-size: 0.9rem; color: var(--muted); margin: 0 !important; font-family: var(--sans); }
.fe-nap { font-family: var(--sans); font-size: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--night-line); color: var(--on-night-muted); }
.fe-nap strong { color: #fff; }

/* ---------- Forum next-session panel ---------- */
.fe-forum-next { background: var(--night-raise); border: 1px solid var(--night-line); border-top: 5px solid var(--signal); border-radius: 4px; padding: 1.6rem 1.7rem; font-family: var(--sans); }
.fe-forum-next p { margin: 0 0 0.75rem; }
.fe-forum-next p:last-child { margin: 0; }
.fe-forum-next__label { font-weight: 650; font-size: 0.9rem; color: var(--signal); }

/* ---------- Insights index ---------- */
.fe-filter ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--sans); }
.fe-filter button { font: 600 0.92rem/1 var(--sans); padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.fe-filter button:hover { border-color: var(--accent); color: var(--link); }
.fe-filter button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.fe-topic-desc { font-family: var(--sans); color: var(--muted); margin: -0.75rem 0 1.5rem; }

/* ---------- Footer ---------- */
.fe-footer { background: var(--night); color: #B8C6D1; padding: 4.5rem var(--pad-x) 2rem; font-size: 1rem; border-top: 1px solid var(--night-line); }
.fe-footer a { color: #DCE4EA; text-decoration: none; }
.fe-footer a:hover { color: #fff; text-decoration: underline; }
.fe-footer__cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 860px) { .fe-footer__cols { grid-template-columns: 1fr 1fr; } .fe-footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fe-footer__cols { grid-template-columns: 1fr; } }
.fe-footer__about p { max-width: 24rem; }
.fe-footer__nap { font-family: var(--sans); font-size: 0.95rem; line-height: 1.7; }
.fe-footer__title { font-size: 1rem; color: #fff; font-stretch: 100%; margin: 0 0 0.9rem; }
.fe-footer__links { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 0.95rem; }
.fe-footer__links li { padding: 0.3rem 0; }
.fe-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--night-line); margin-top: 3rem; padding-top: 1.5rem; font-family: var(--sans); font-size: 0.88rem; }
.fe-footer__base p { margin: 0; }

/* ---------- Mobile CTA bar ---------- */
.fe-mbar { display: none; }
@media (max-width: 720px) {
  .fe-mbar { display: flex; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 0.7rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 0.7rem); background: var(--night); border-top: 1px solid var(--night-line); transform: translateY(110%); transition: transform .25s; }
  .fe-mbar.is-on { transform: none; }
  .fe-mbar a { flex: 1; padding-block: 0.85rem; }
  .fe-mbar .fe-mbar__call { flex: 0 0 auto; background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
  body.has-mbar .fe-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  body.menu-open .fe-mbar { display: none; }
}

/* Simple page template (privacy) */
.fe-page-body { padding: var(--section-y) var(--pad-x); }
.fe-page-body > * { max-width: 46rem; }
.fe-page-body h2 { font-size: 1.6rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= Light theme layer ================= */
:root { --hero-bg: #F3F6F9; --cta-bg: #173F78; --photo-radius: 10px; }


body::before { background: var(--bg); }

/* Header */
.fe-header { background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.fe-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(20,33,43,0.35); }
.fe-brand { color: var(--text); }
.fe-brand__mark { color: var(--accent); }
.fe-nav__btn, .fe-nav__link { color: var(--text); }
.fe-nav__btn:hover, .fe-nav__link:hover, .fe-nav__top.is-open > .fe-nav__btn { color: var(--link); background: var(--surface); }
.fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link) { color: var(--link); box-shadow: inset 0 -2px 0 var(--accent); }
.fe-nav__cta, .fe-nav__cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.fe-nav__cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.fe-panel__feature { background: var(--surface); color: var(--muted); }
.fe-panel__feature strong, .fe-panel__feature b { color: var(--text); }
.fe-panel__feature a { color: var(--link); }
.fe-menu-btn { border-color: var(--line-strong); color: var(--text); }
@media (max-width: 1279px) {
  .fe-nav { background: var(--bg); }
  .fe-nav__top { border-bottom-color: var(--line); }
  .fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link) { box-shadow: inset 3px 0 0 var(--accent); }
  .fe-panel a.fe-panel__item { color: var(--text); }
  .fe-panel a.fe-panel__item:hover, .fe-panel a.fe-panel__item[aria-current="page"] { background: var(--surface); }
  .fe-panel__desc { color: var(--muted); }
  .fe-panel__feature { background: var(--surface); }
}

/* Photos */
.fe-photo { display: block; width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--surface); border-radius: var(--photo-radius); }

/* Hero */
.fe-hero { background: var(--hero-bg); color: var(--muted); border-bottom: 1px solid var(--line); }
.fe-hero::before, .fe-hero::after { display: none; }
.fe-hero :is(h1, h2, h3) { color: var(--text); }
.fe-hero a:not(.wp-element-button) { color: var(--link); }
.fe-hero__lead { color: var(--muted); }
.fe-crumbs { color: var(--muted); }
.fe-crumbs a { color: var(--muted) !important; }
.fe-crumbs a:hover { color: var(--link) !important; }
.fe-facts { color: var(--muted); border-top-color: var(--line); }
.fe-facts strong { color: var(--text); }
.fe-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fe-hero__grid .fe-hero__title { max-width: 16ch; }
.fe-hero__grid .fe-photo { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .fe-hero__grid { grid-template-columns: 1fr; }
  .fe-hero__grid .fe-photo { aspect-ratio: 16 / 10; }
}

/* Home hero: photo with the maturity profile layered over it */
.fe-hero--home .fe-hero__main { flex-basis: 50% !important; }
.fe-hero--home .fe-hero__aside { flex-basis: 50% !important; }
.fe-hero--home { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.fe-hero__media { position: relative; }
.fe-hero__media .fe-photo { aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.fe-hero__media .fe-score { position: absolute; left: -2.5rem; bottom: -3rem; width: min(25rem, 82%); }
@media (max-width: 1200px) { .fe-hero__media .fe-score { left: -1rem; } }
@media (max-width: 860px) { .fe-hero__media .fe-score { position: relative; left: auto; bottom: auto; width: auto; margin: -4rem 0.75rem 0; } }

/* Scorecard, light */
.fe-score { background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 48px -20px rgba(20,33,43,0.4); padding: 1.15rem 1.25rem 0.9rem; }
.fe-score__head { border-bottom-color: var(--line); }
.fe-score__head b, .fe-score__label { color: var(--text); fill: var(--text); }
.fe-score__head span, .fe-score__tick, .fe-score__cap { color: var(--muted); fill: var(--muted); }
.fe-score__grid { stroke: var(--line); }
.fe-score__track { fill: var(--surface); }
.fe-score__bar { fill: var(--accent); }
.fe-score__key--cur { background: var(--accent); }
.fe-score__target { stroke: var(--text); }
.fe-score__key--tgt { background: var(--text); }
.fe-score__cap { font-size: 0.74rem; margin-top: 0.6rem; }

/* Proof band */
.fe-section--proof { background: var(--bg); padding-block: 2.25rem; border-bottom: 1px solid var(--line); }
.fe-proof { border-top: 0; padding-top: 0; color: var(--muted); }
.fe-proof strong { color: var(--accent-deep); }


/* Former dark band on home becomes a light band with a photo */
.fe-section--ink { background: var(--surface); color: var(--text); }
.fe-section--ink :is(h2, h3) { color: var(--text); }

/* Media blocks injected into sections */
.fe-media { margin-bottom: 1.5rem; }
.fe-media .fe-photo { aspect-ratio: 16 / 10; }
.fe-pillar__photo { aspect-ratio: 16 / 10; margin-bottom: 1.25rem; }
.fe-pillar { border-top: 0; padding-top: 0; }
.fe-pillar h3 { padding-top: 0.25rem; }
.fe-tile__photo { aspect-ratio: 16 / 10; margin-bottom: 1.1rem; border-radius: 6px; }
.fe-grid--photos .fe-tile { padding: 1rem 1rem 1.4rem; }

/* CTA: deep blue band with a photo on the right */
.fe-cta { background: var(--cta-bg); color: #D6E2F0; }
.fe-cta__photo { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 46%; aspect-ratio: auto; border-radius: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); }
.fe-cta > :not(.fe-cta__photo) { max-width: min(40rem, 52%); }
@media (max-width: 860px) { .fe-cta__photo { display: none; } .fe-cta > :not(.fe-cta__photo) { max-width: none; } }
.fe-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; border-color: #fff; color: #173F78; }
.fe-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--signal); border-color: var(--signal); color: #14212B; }

/* Contact and forum panels on light heroes */
.fe-form-col { box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 5px solid var(--accent); }
.fe-nap { border-top-color: var(--line); color: var(--muted); }
.fe-nap strong { color: var(--text); }
.fe-hero .fe-steps li { border-color: var(--line); }
.fe-forum-next { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--accent); box-shadow: var(--shadow); }
.fe-forum-next__label { color: var(--link); }
.fe-hero__aside .fe-photo + .fe-forum-next { margin: -3rem 1.25rem 0; position: relative; }

/* Mobile CTA bar */
@media (max-width: 720px) {
  .fe-mbar { background: var(--bg); border-top-color: var(--line); box-shadow: 0 -8px 24px -16px rgba(20,33,43,0.35); }
  .fe-mbar .fe-mbar__call { border-color: var(--line-strong); color: var(--text); }
}
.fe-hero--home .fe-hero__title { font-size: clamp(2.4rem, 3.4vw + 1rem, 3.9rem); max-width: 17ch; }
.fe-hero__media .fe-photo { background-position: 65% center; aspect-ratio: 4 / 3.6; }
.fe-hero__media .fe-score { width: min(19.5rem, 68%); left: -3rem; bottom: -4.5rem; }
@media (max-width: 860px) { .fe-hero__media .fe-score { width: auto; left: auto; bottom: auto; } }
.fe-section--ink { background: var(--bg); }
.fe-section--ink + .fe-section:not(.fe-section--mist, .fe-cta, .fe-hero) { padding-top: 0; }
.fe-hero__media .fe-score__label { font-size: 21px; }
.fe-hero__media .fe-score__tick { font-size: 17px; }
.fe-hero__grid .fe-facts { grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 1rem 1.5rem; } .fe-hero__grid .fe-facts strong { font-size: 1.2rem; }
.fe-section--tim .fe-split { align-items: center; }
.fe-tim__photo { aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.fe-section--tim + .fe-section { padding-top: var(--section-y) !important; }

/* ================= Motion & interaction system ================= */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 180ms; --dur: 300ms; --dur-section: 650ms; --dur-hero: 900ms;
  --rise: 28px; --rise-sm: 14px;
  --header-top: 80px; --header-h: 64px;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 720px) { :root { --rise: 16px; --rise-sm: 10px; --header-top: 70px; } }

/* ---- Smart header: fixed, airy over the hero, compact and solid once scrolling ---- */
.fe-header { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); background: transparent; border-bottom: 1px solid transparent; box-shadow: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), -webkit-backdrop-filter var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease); }
.fe-header__inner { min-height: var(--header-top); transition: min-height var(--dur) var(--ease); }
.fe-header.is-scrolled, body.menu-open .fe-header {
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(20,33,43,0.45); }
.fe-header.is-scrolled .fe-header__inner, body.menu-open .fe-header__inner { min-height: var(--header-h); }
main > .fe-section:first-child { padding-top: calc(var(--header-top) + clamp(2.75rem, 6vw, 5rem)); }

/* ---- Desktop nav: underline drawn from the left ---- */
@media (min-width: 1280px) {
  .fe-nav__btn, .fe-nav__link { position: relative; background: none !important; transition: color var(--dur-fast) var(--ease); }
  .fe-nav__btn::after, .fe-nav__link::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  .fe-nav__btn:hover::after, .fe-nav__link:hover::after, .fe-nav__top.is-open > .fe-nav__btn::after, .fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link)::after { transform: scaleX(1); }
  .fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link) { box-shadow: none; }
  /* Dropdowns fade and settle instead of popping */
  .fe-panel { display: block; opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms; }
  .fe-panel--wide { display: grid; }
  .fe-nav__top.is-open > .fe-panel, .fe-nav__top:hover > .fe-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
}

/* ---- Mobile menu: panel fades in, items arrive in sequence, CTA last ---- */
@media (max-width: 1279px) {
  .fe-nav { display: flex !important; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
  body.menu-open .fe-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .fe-nav > ul > li, .fe-nav__cta { opacity: 0; transform: translateY(12px); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
  body.menu-open .fe-nav > ul > li, body.menu-open .fe-nav__cta { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 100ms); }
  .fe-panel a.fe-panel__item { transition: background-color var(--dur-fast) var(--ease); }
}

/* ---- Buttons: one behaviour everywhere ---- */
.wp-element-button, .wp-block-button__link { transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.wp-element-button:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(23,63,120,0.6); }
.is-style-outline .wp-block-button__link:hover { box-shadow: none; }
.wp-element-button:active { transform: none; box-shadow: none; }
/* Primary calls to action carry an arrow that leans forward on hover */
:is(.fe-hero, .fe-cta) .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.ext)::after, .fe-go::after, .fe-nav__cta::after {
  content: ""; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur-fast) var(--ease); }
:is(.fe-hero, .fe-cta) .wp-block-button__link:hover::after, .fe-go:hover::after, .fe-nav__cta:hover::after { transform: translateX(5px); }
.ext::after { transition: transform var(--dur-fast) var(--ease); }
a:hover > .ext::after, .ext:hover::after { transform: translate(2px, -2px); }

/* ---- Cards ---- */
.fe-tile { transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fe-tile:has(a) { padding-bottom: 3.1rem; }
.fe-tile:has(a)::after { content: ""; position: absolute; right: 1.35rem; bottom: 1.3rem; width: 1.1rem; height: 1.1rem; background: var(--muted); opacity: 0.45;
  -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.fe-tile:has(a):hover { transform: translateY(-3px); box-shadow: var(--shadow); z-index: 1; }
.fe-tile:has(a):hover::after { transform: translateX(6px); opacity: 1; background: var(--accent); }
.fe-step { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fe-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fe-pillar__photo, .fe-tile__photo { transition: transform 600ms var(--ease); }
.fe-tile:hover .fe-tile__photo { transform: scale(1.015); }

/* ---- Text links: underline drawn from the left ---- */
.fe-footer__links a, .fe-pillar__links a, .fe-related a, .fe-footer__base a {
  text-decoration: none !important; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size var(--dur) var(--ease), color var(--dur-fast) var(--ease); }
.fe-footer__links a:hover, .fe-pillar__links a:hover, .fe-related a:hover, .fe-footer__base a:hover { background-size: 100% 1px; }
.fe-faq summary { transition: color var(--dur-fast) var(--ease); }
.fe-faq details[open] > p { animation: fe-rise var(--dur) var(--ease) both; }

/* ---- Page transitions: quick fade out, the new page's own entrance does the rest ---- */
main { transition: opacity 170ms var(--ease), transform 170ms var(--ease), filter 170ms var(--ease); }
main.is-leaving { opacity: 0; transform: translateY(-8px); filter: blur(2px); }

/* ---- Hero entrance: photo, then breadcrumb, headline, lead, actions, supporting panel ---- */
@keyframes fe-rise { from { opacity: 0; transform: translate3d(0, var(--rise-sm), 0); } to { opacity: 1; transform: none; } }
@keyframes fe-photo-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: none; } }
.js .fe-hero .fe-photo { animation: fe-photo-in var(--dur-hero) var(--ease) both; }
.js .fe-hero .fe-crumbs { animation: fe-rise var(--dur-section) var(--ease) 150ms both; }
.js .fe-hero h1 { animation: fe-rise var(--dur-section) var(--ease) 260ms both; }
.js .fe-hero .fe-hero__lead { animation: fe-rise var(--dur-section) var(--ease) 420ms both; }
.js .fe-hero .fe-hero__actions, .js .fe-hero--contact h3 { animation: fe-rise var(--dur-section) var(--ease) 580ms both; }
.js .fe-hero .fe-facts, .js .fe-hero .fe-nap { animation: fe-rise var(--dur-section) var(--ease) 700ms both; }
.js .fe-hero :is(.fe-score, .fe-forum-next, .fe-form-col, .fe-latest-empty) { animation: fe-rise 800ms var(--ease) 600ms both; }

/* ---- Section reveal (once, ~20% into the viewport) with staggered groups ---- */
.js .rv { opacity: 0; transform: translate3d(0, var(--rise), 0); transition: opacity var(--dur-section) var(--ease), transform var(--dur-section) var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .stg { opacity: 0; transform: translate3d(0, var(--rise-sm), 0); transition: opacity 550ms var(--ease), transform 550ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 140ms); }
.js .in .stg { opacity: 1; transform: none; }

/* ---- Numbered sequences: each step lights up, then the line draws to the next ---- */
.fe-steps li::after { content: ""; position: absolute; left: calc(1.15rem - 1px); top: 3.25rem; bottom: -0.95rem; width: 2px; background: var(--accent); transform-origin: top; opacity: 0.35; }
.fe-steps li:last-child::after { display: none; }
.fe-steps--compact li::after { left: calc(0.9rem - 1px); top: 2.4rem; bottom: -0.6rem; }
.js .fe-steps li::before { border-color: var(--line-strong); color: var(--muted); transition: border-color 400ms var(--ease), color 400ms var(--ease), background-color 400ms var(--ease); transition-delay: calc(var(--i, 0) * 220ms + 260ms); }
.js .in .fe-steps li::before { border-color: var(--accent); color: var(--link); }
.js .fe-steps li::after { transform: scaleY(0); transition: transform 320ms var(--ease), opacity 320ms var(--ease); transition-delay: calc(var(--i, 0) * 220ms + 440ms); }
.js .in .fe-steps li::after { transform: scaleY(1); opacity: 1; }

/* ---- Footer ---- */
.fe-footer .fe-brand { color: #fff; }
.fe-footer .fe-brand__mark { color: #6FA2E4; }
.fe-footer__cta { margin-top: 1.5rem; }
.fe-footer__cta .wp-element-button { background: #fff; border-color: #fff; color: #173F78; font-size: 0.95rem; padding: 0.75rem 1.15rem; }
.fe-footer__cta .wp-element-button:hover { background: var(--signal); border-color: var(--signal); color: #14212B; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .stg { opacity: 1 !important; transform: none !important; }
  main.is-leaving { transform: none; filter: none; }
}
/* backdrop-filter makes the header a containing block for the fixed drawer, so drop it while the menu is open */
body.menu-open .fe-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
@media (max-width: 1279px) {
  .fe-nav .fe-nav__cta { transition: opacity 320ms var(--ease), transform 320ms var(--ease), background-color var(--dur-fast) var(--ease); }
  body.menu-open .fe-nav .fe-nav__cta { transition-delay: calc(var(--i, 0) * 45ms + 100ms), calc(var(--i, 0) * 45ms + 100ms), 0s; }
}

/* ================= Logo, light footer ================= */
.fe-brand { line-height: 0; }
.fe-logo { display: block; height: 52px; width: auto; transition: height var(--dur) var(--ease); }
.fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 44px; }
@media (max-width: 720px) { .fe-logo { height: 44px; } .fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 40px; } }
.fe-footer { background: var(--surface); color: var(--muted); border-top: 1px solid var(--line); }
.fe-footer a { color: var(--text); }
.fe-footer a:hover { color: var(--link); }
.fe-footer__title { color: var(--text); }
.fe-footer__base { border-top-color: var(--line); }
.fe-footer .fe-logo { height: 70px; }
.fe-footer__cta .wp-element-button { background: var(--accent); border-color: var(--accent); color: #fff; }
.fe-footer__cta .wp-element-button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
:root { --header-top: 96px; --header-h: 74px; }
.fe-logo { height: 66px; }
.fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 54px; }
@media (max-width: 720px) { :root { --header-top: 78px; --header-h: 66px; } .fe-logo { height: 52px; } .fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 46px; } }

/* ================= Insights: cards, articles, press, Fortune 500 ================= */
.fe-posts--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.fe-post-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.35rem 1.4rem 1.5rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.fe-post-card[hidden] { display: none; }
.fe-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.fe-post-card__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin: 0 0 0.6rem; font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }
.fe-post-card__meta span { color: var(--link); font-weight: 650; }
.fe-post-card__title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 0.6rem; }
.fe-post-card__title a { color: var(--text); text-decoration: none; }
.fe-post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.fe-post-card:hover .fe-post-card__title a { color: var(--link); }
.fe-post-card:has(a:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }
.fe-post-card__title a:focus-visible { outline: none; }
.fe-post-card__excerpt { margin: 0; font-size: 0.98rem; color: var(--muted); line-height: 1.55; }
.fe-posts--list { display: grid; }
.fe-posts--list .fe-post-card { border-width: 1px 0 0; border-radius: 0; background: transparent; padding: 1.15rem 0 1.25rem; }
.fe-posts--list .fe-post-card:last-child { border-bottom-width: 1px; }
.fe-posts--list .fe-post-card:hover { transform: none; box-shadow: none; }
.fe-posts--list .fe-post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fe-posts-count { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin: 0; }
.fe-posts-more { text-align: center; margin-top: 2rem; }
.fe-posts-more[hidden] { display: none; }
.fe-filter__n { display: inline-block; min-width: 1.5em; margin-left: 0.25rem; font-size: 0.78em; opacity: 0.7; }
.fe-filter button { transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }

/* Article pages */
.fe-hero--post .fe-hero__title { max-width: 24ch; }
.fe-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 1.25rem 0 0; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); }
.fe-post-meta a { font-size: 0.82rem; font-weight: 600; text-decoration: none; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.fe-post-meta a:hover { border-color: var(--accent); }
.fe-article { max-width: 44rem; }
.fe-article h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.9rem); margin: 2.2rem 0 0.7rem; }
.fe-article h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.fe-article h4 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }
.fe-article :is(h2, h3, h4) strong { font-weight: inherit; }
.fe-article ul, .fe-article ol { padding-left: 1.3rem; }
.fe-article li { margin-bottom: 0.45rem; }
.fe-article blockquote { margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.4rem; border-left: 4px solid var(--signal); font-size: 1.12rem; }
.fe-article blockquote p { margin: 0.4rem 0; }
.fe-article hr { border: 0; border-top: 1px solid var(--line); margin: 2.25rem 0; }
.fe-article table { border-collapse: collapse; width: 100%; font-size: 0.98rem; display: block; overflow-x: auto; }
.fe-article th, .fe-article td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
.fe-article a { word-break: break-word; }
.fe-watch a { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--sans); font-weight: 600; text-decoration: none; padding: 0.7rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 4px; }
.fe-watch a::before { content: ""; width: 0; height: 0; border-left: 0.6em solid currentColor; border-top: 0.38em solid transparent; border-bottom: 0.38em solid transparent; }
.fe-watch a.ext::after { display: none; }
.fe-watch a:hover { border-color: var(--accent); }
.fe-post-cta__inner { max-width: 46rem; }
.fe-post-cta h2 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); }
.fe-related-posts__title { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); }

/* Press */
.fe-press { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.fe-press__item { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 8px; padding: 1.4rem 1.5rem; }
.fe-press__item h3 { margin: 0.3rem 0 0.6rem; font-size: 1.2rem; }
.fe-press__item p:last-child { margin: 0; font-size: 1rem; }
.fe-press__meta { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--link); margin: 0; }

/* Fortune 500 */
.fe-f500-tools { display: grid; gap: 0.4rem; max-width: 34rem; margin-bottom: 1.25rem; font-family: var(--sans); }
.fe-f500-tools label { font-weight: 600; font-size: 0.95rem; }
.fe-f500-tools input { font: inherit; font-size: 1rem; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line-strong); border-radius: 4px; background: var(--bg); color: var(--text); }
.fe-f500-tools input:focus { border-color: var(--accent); outline: 3px solid rgba(31,90,166,0.25); outline-offset: 0; }
.fe-f500-count { margin: 0; font-size: 0.9rem; color: var(--muted); }
.fe-f500 { margin-top: 0; }
.fe-f500 td:first-child { width: 4.5rem; font-variant-numeric: tabular-nums; }
.fe-f500 td:nth-child(2) { font-family: var(--sans); font-weight: 600; }
.fe-f500 td:first-child + td + td { white-space: nowrap; }
.fe-f500 tr[hidden] { display: none; }
@media (max-width: 720px) { .fe-f500 td:first-child + td + td { white-space: normal; } }

/* ================= v2 design system (enterprise brief) ================= */
:root {
  --wrap: 1280px;
  --section-y: clamp(4.5rem, 8.5vw, 8.75rem);
  --r-card: 20px; --r-panel: 28px; --r-btn: 8px;
  --navy: #0E2238; --navy-2: #15304D; --navy-line: rgba(255,255,255,0.14);
  --warm: #FAF8F4; --blue-soft: #EEF4FB; --soft: #F6F8FA;
  --cta-bg: #0E2238;
}
@media (max-width: 720px) { :root { --section-y: clamp(4rem, 16vw, 5.5rem); } }
.wp-element-button, .wp-block-button__link { border-radius: var(--r-btn); }
.fe-eyebrow { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); margin: 0 0 1rem; }
.fe-head { max-width: 47.5rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.fe-head h2, .fe-split2 h2 { margin-bottom: 0.4em; }
.fe-head .fe-section__lead { margin-bottom: 0; }
.fe-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.fe-head--row h2 { margin: 0; }
.fe-head--row .wp-block-buttons { margin: 0; }
.fe-fineprint { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin: 1.25rem 0 0; }
.fe-section--blue { background: var(--blue-soft); }
.fe-section--warm { background: var(--warm); }
.fe-section--soft { background: var(--soft); }
.fe-section--navy { background: var(--navy); color: #C3D0DD; }
.fe-section--navy :is(h2, h3) { color: #fff; }
.fe-section--navy .fe-eyebrow { color: #8DB8F0; }
.fe-section--navy .fe-section__lead { color: #C3D0DD; }
.fe-section--navy .fe-fineprint { color: #8FA3B8; }
.fe-section--navy .fe-checks li::before { background: #8DB8F0; }
.fe-section--navy .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; border-color: #fff; color: var(--navy); }
.fe-section--navy .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--signal); border-color: var(--signal); color: #14212B; }
.fe-section--navy .fe-go::after { background: currentColor; }
.fe-link { font-family: var(--sans); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; }
.fe-link::after { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur-fast) var(--ease); }
.fe-link:hover::after { transform: translateX(5px); }
.fe-chips { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.fe-chips li { font-family: var(--sans); font-size: 0.83rem; font-weight: 550; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); margin: 0; }
.fe-chips--topics { margin: 1.5rem 0 0.5rem; }
.fe-checks--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: 1.5rem 0 0.5rem; }
@media (max-width: 600px) { .fe-checks--2 { grid-template-columns: 1fr; } }

/* Home hero */
.fe-home-hero { background: var(--hero-bg); }
.fe-hh { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.fe-hh__title { font-size: clamp(3rem, 6.2vw, 5.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: 0; max-width: 10ch; }
.fe-hh__lead { font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.38rem); color: var(--muted); max-width: 36rem; margin: 1.6rem 0 0; line-height: 1.55; }
@media (max-width: 900px) { .fe-hh { grid-template-columns: 1fr; } }

/* People → Process → Technology → outcome */
.fe-ppt { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: 0 40px 80px -48px rgba(14,34,56,0.45); display: grid; gap: 1rem; }
.fe-ppt__layer { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.fe-ppt__layer b { display: block; font-family: var(--sans); font-size: 1.15rem; color: var(--text); }
.fe-ppt__layer div > span { display: block; font-family: var(--sans); font-size: 0.9rem; color: var(--muted); margin-top: 0.1rem; }
.fe-ppt__n { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; font: 700 0.9rem/1 var(--sans); color: #fff; background: var(--accent); }
.fe-ppt__layer:nth-child(2) .fe-ppt__n { background: var(--accent-deep); }
.fe-ppt__layer:nth-child(3) .fe-ppt__n { background: var(--navy); }
.fe-ppt__layer::after, .fe-arch__node:not(:last-child)::after { content: ""; position: absolute; left: 2.5rem; bottom: -1.05rem; width: 2px; height: 1rem;
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 6px repeat-y, var(--line); animation: fe-flowline 1.6s linear infinite; }
@keyframes fe-flowline { to { background-position: 0 12px, 0 0; } }
.fe-ppt__out { background: var(--navy); color: #C3D0DD; border-radius: 16px; padding: 1.15rem 1.3rem 1.25rem; }
.fe-ppt__label { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8DB8F0; margin: 0 0 0.6rem; }
.fe-ppt__out ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fe-ppt__out li { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: #fff; padding: 0.45rem 0.8rem; border: 1px solid var(--navy-line); border-radius: 999px; margin: 0; }

/* Proof band */
.fe-home-hero + .fe-section--proof { border-top: 0; }
.fe-proof strong { color: var(--text); }

/* Pillar cards */
.fe-pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 980px) { .fe-pcards { grid-template-columns: 1fr; max-width: 40rem; } }
.fe-pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0.7rem 0.7rem 1.75rem; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.fe-pcard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.fe-pcard__photo { aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 1.4rem; }
.fe-pcard > :not(.fe-photo) { margin-left: 1.1rem; margin-right: 1.1rem; }
.fe-pcard__label { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); margin-top: 0; margin-bottom: 0.6rem; }
.fe-pcard h3, .fe-aud__card h3 { font-size: clamp(1.35rem, 0.6vw + 1.15rem, 1.65rem); line-height: 1.2; margin: 0 0 0.7rem; }
.fe-pcard > p:not([class]) { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }
.fe-pcard__go { margin-top: auto !important; padding-top: 1.5rem; margin-bottom: 0; }

/* Five-step approach */
.fe-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; counter-reset: none; }
.fe-flow li { position: relative; margin: 0; }
.fe-flow__n { position: relative; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg); font: 700 0.95rem/1 var(--sans); color: var(--link); }
.fe-flow li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 3.5rem; right: -1rem; height: 2px; background: var(--accent); transform-origin: left; opacity: 0.35; }
.js .fe-flow li:not(:last-child)::after { transform: scaleX(0); transition: transform 450ms var(--ease), opacity 450ms var(--ease); transition-delay: calc(var(--i, 0) * 160ms + 450ms); }
.js .in .fe-flow li:not(:last-child)::after { transform: scaleX(1); opacity: 1; }
.fe-flow h3 { font-size: 1.3rem; margin: 1.25rem 0 0.4rem; }
.fe-flow p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 900px) {
  .fe-flow { grid-template-columns: 1fr; gap: 0; }
  .fe-flow li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.25rem; padding-bottom: 1.75rem; }
  .fe-flow__n { grid-row: 1 / span 2; }
  .fe-flow h3 { margin: 0.6rem 0 0.25rem; }
  .fe-flow li:not(:last-child)::after { top: 3rem; bottom: 0; left: calc(1.5rem - 1px); right: auto; width: 2px; height: auto; transform-origin: top; }
  .js .fe-flow li:not(:last-child)::after { transform: scaleY(0); }
  .js .in .fe-flow li:not(:last-child)::after { transform: scaleY(1); }
}

/* Two-column feature sections */
.fe-split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.fe-split2--top { align-items: start; }
.fe-split2 > div > .fe-section__lead { max-width: 36rem; }
@media (max-width: 900px) { .fe-split2 { grid-template-columns: 1fr; } .fe-split2--rev > :first-child { order: 2; } }

/* Secure workspace architecture */
.fe-arch { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--navy-line); border-radius: var(--r-panel); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); }
.fe-arch__node { position: relative; padding: 1rem 1.25rem; border-radius: 16px; border: 1px solid var(--navy-line); background: var(--navy-2); font-family: var(--sans); }
.fe-arch__node b { display: block; color: #fff; font-size: 1.08rem; }
.fe-arch__node span { display: block; color: #9FB2C6; font-size: 0.9rem; margin-top: 0.1rem; }
.fe-arch__node--key { border-color: #5B93D9; box-shadow: 0 0 0 4px rgba(91,147,217,0.15); }
.fe-arch__node--data { border-left: 4px solid var(--signal); }
.fe-arch__node:not(:last-child)::after { left: 2rem; bottom: -1.15rem; height: 1.1rem; background: linear-gradient(#8DB8F0, #8DB8F0) 0 0 / 2px 6px repeat-y, var(--navy-line); }

/* Governed AI portal illustration */
.fe-ai { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: 0 40px 80px -48px rgba(14,34,56,0.45); overflow: hidden; font-family: var(--sans); }
.fe-ai__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--soft); }
.fe-ai__bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-strong); }
.fe-ai__bar b { margin-left: 0.6rem; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.fe-ai__body { padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: 0.85rem; }
.fe-ai__tag { margin: 0; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 0.8rem; border-radius: 10px; }
.fe-ai__tag--ok { background: var(--blue-soft); color: var(--accent-deep); }
.fe-ai__tag--warn { background: #FFF5E1; color: #6B4A00; }
.fe-ai__models { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.fe-ai__models span { font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }
.fe-ai__models .is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fe-ai__models .is-off { color: var(--muted); text-decoration: line-through; }
.fe-ai__prompt { margin: 0.25rem 0 0 auto; max-width: 85%; background: var(--navy); color: #fff; padding: 0.8rem 1rem; border-radius: 14px 14px 4px 14px; font-size: 0.95rem; }
.fe-ai__reply { margin: 0; display: grid; gap: 0.45rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; max-width: 88%; }
.fe-ai__reply span { height: 0.55rem; border-radius: 4px; background: var(--surface); }
.fe-ai__reply span:nth-child(2) { width: 86%; } .fe-ai__reply span:nth-child(3) { width: 64%; }
.fe-ai__meta { margin: 0; font-size: 0.8rem; color: var(--muted); }
.fe-ai__cap { position: absolute; right: 1rem; top: 0.85rem; margin: 0; font-size: 0.72rem; color: var(--muted); }

/* Framework cards */
.fe-fw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.fe-fw__card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.6rem 1.6rem 3rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); text-decoration: none; color: var(--text); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.fe-fw__card--wide { grid-column: span 2; background: var(--blue-soft); border-color: transparent; }
.fe-fw__card:last-child { grid-column: span 2; }
.fe-fw__k { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.fe-fw__card b { font-family: var(--sans); font-size: 1.25rem; line-height: 1.25; }
.fe-fw__card > span:last-child { color: var(--muted); font-size: 1rem; }
.fe-fw__card::after { content: ""; position: absolute; left: 1.6rem; bottom: 1.3rem; width: 1.1rem; height: 1.1rem; background: var(--accent); -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur) var(--ease); }
.fe-fw__card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.fe-fw__card:hover::after { transform: translateX(6px); }
@media (max-width: 1000px) { .fe-fw { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fe-fw { grid-template-columns: 1fr; } .fe-fw__card--wide, .fe-fw__card:last-child { grid-column: auto; } }

/* Audience cards */
.fe-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 980px) { .fe-aud { grid-template-columns: 1fr; max-width: 40rem; } }
.fe-aud__card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 2rem 1.9rem 1.9rem; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.fe-aud__card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.fe-aud__card .fe-chips { margin-bottom: 0; }
.fe-aud__card .fe-pcard__go { padding-top: 1.75rem; }

/* Testimonials: one featured, two supporting */
.fe-tq { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1.5rem; }
.fe-tq figure { margin: 0; border: 1px solid var(--navy-line); border-radius: var(--r-card); background: rgba(255,255,255,0.04); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.fe-tq__main { grid-row: span 2; }
.fe-tq blockquote { margin: 0; }
.fe-tq blockquote p { margin: 0; color: #fff; font-size: 1.2rem; line-height: 1.5; }
.fe-tq__main blockquote p { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.35rem); line-height: 1.3; letter-spacing: -0.01em; }
.fe-tq__main blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.6; height: 2rem; color: var(--signal); font-family: var(--serif); }
.fe-tq figcaption { font-family: var(--sans); font-size: 0.92rem; color: #9FB2C6; }
.fe-tq figcaption b { display: block; color: #fff; font-size: 1rem; }
@media (max-width: 900px) { .fe-tq { grid-template-columns: 1fr; } .fe-tq__main { grid-row: auto; } }

/* Media feature */
.fe-pf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.fe-pf__visual { position: relative; }
.fe-pf__photo { aspect-ratio: 4 / 3.4; border-radius: var(--r-panel); background-position: 60% center; }
.fe-pf__badge { position: absolute; left: 1.25rem; bottom: 1.25rem; margin: 0; font-family: var(--sans); font-size: 0.88rem; font-weight: 600; background: rgba(255,255,255,0.94); color: var(--text); padding: 0.55rem 0.9rem; border-radius: 999px; }
.fe-mlist { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.fe-mlist li { margin: 0; padding: 0.9rem 0; border-top: 1px solid var(--line); font-family: var(--sans); font-weight: 600; font-size: 1.02rem; }
.fe-mlist li:last-child { border-bottom: 1px solid var(--line); }
.fe-mlist span { display: block; font-size: 0.8rem; font-weight: 600; color: var(--link); margin-bottom: 0.15rem; }
@media (max-width: 900px) { .fe-pf { grid-template-columns: 1fr; } }

/* Resources */
.fe-posts--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 1100px) { .fe-posts--four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fe-posts--four { grid-template-columns: 1fr; } }
.fe-post-card { border-radius: 18px; }
.fe-post-card__title a::after { border-radius: 18px; }
.fe-section--warm .fe-posts--list .fe-post-card { background: transparent; }

/* Header: room for the fuller nav */
.fe-nav__btn, .fe-nav__link { padding-left: 0.65rem; padding-right: 0.65rem; font-size: 0.96rem; }
@media (min-width: 1280px) {
  .fe-nav__btn::after, .fe-nav__link::after { left: 0.65rem; right: 0.65rem; }
  .fe-nav__top--minor { margin-left: 0.4rem; padding-left: 0.4rem; border-left: 1px solid var(--line); }
  .fe-nav__top--mega { position: static; }
  .fe-panel--mega { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; top: 100%; left: 50%;
    width: min(66rem, calc(100vw - 2 * var(--gutter))); margin-left: calc(min(66rem, calc(100vw - 2 * var(--gutter))) / -2); padding: 1.6rem 1.4rem; border-radius: 0 0 16px 16px; }
}
.fe-mega__title { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem 0.75rem; }
.fe-mega__col ul { gap: 0; }
.fe-mega__tags { font-family: var(--sans); font-size: 0.8rem; line-height: 1.5; color: var(--muted); margin: 0.6rem 0.75rem 0; }
.fe-panel { border-radius: 0 0 14px 14px; }
@media (max-width: 1279px) {
  .fe-panel--mega { width: auto; margin-left: 0; }
  .fe-nav__top.is-open > .fe-panel--mega { display: block; }
  .fe-mega__col + .fe-mega__col { margin-top: 1rem; }
}

/* Deep footer (navy) */
.fe-footer { background: #0A1A2B; color: #A9B8C8; border-top: 0; padding-top: clamp(4rem, 7vw, 6rem); }
.fe-footer a { color: #E2EAF2; }
.fe-footer a:hover { color: #fff; }
.fe-footer__title { color: #fff; font-size: 0.95rem; }
.fe-footer__top { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 3.4fr); gap: 3rem; }
.fe-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.fe-footer__tagline { font-family: var(--sans); font-weight: 600; color: #fff; font-size: 1.05rem; line-height: 1.5; margin: 1.25rem 0 0; }
.fe-footer .fe-logo { height: 72px; }
.fe-footer__cta .wp-element-button { background: #fff; border-color: #fff; color: var(--navy); }
.fe-footer__cta .wp-element-button:hover { background: var(--signal); border-color: var(--signal); color: #14212B; }
.fe-footer__contact { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.12); font-family: var(--sans); font-size: 0.92rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.fe-footer__contact p { margin: 0; }
.fe-footer__contact b { color: #fff; }
.fe-footer__base { border-top-color: rgba(255,255,255,0.12); margin-top: 1.5rem; }
@media (max-width: 1100px) { .fe-footer__top { grid-template-columns: 1fr; } .fe-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fe-footer__cols { grid-template-columns: 1fr 1fr; } }
/* Colored bands always keep full padding, and so does whatever follows them. */
.fe-section:is(.fe-section--blue, .fe-section--warm, .fe-section--soft, .fe-section--navy),
.fe-section:is(.fe-section--blue, .fe-section--warm, .fe-section--soft, .fe-section--navy, .fe-section--mist) + .fe-section { padding-top: var(--section-y) !important; }
@media (min-width: 1280px) {
  .fe-nav__top.is-open > .fe-panel--mega, .fe-nav__top:hover > .fe-panel--mega, .fe-nav__top > .fe-panel--mega { display: grid; }
}

/* ================= v3: white header, navy heroes, Manrope ================= */
:root {
  --sans: "Manrope", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Manrope", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --hero-1: #030817; --hero-2: #071426; --hero-3: #081A30;
  --header-top: 92px; --header-h: 78px; --wrap: 1360px;
}
@media (max-width: 720px) { :root { --header-top: 72px; --header-h: 68px; } }
body { font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem); line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--sans); font-stretch: normal; font-weight: 750; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 2.4vw + 1rem, 3.5rem); line-height: 1.08; }
h3 { font-weight: 700; }
.fe-h3 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); margin: 0; }
.fe-section__lead { font-size: clamp(1.1rem, 0.4vw + 1rem, 1.3rem); }
.fe-prose { font-size: 1.1rem; }

/* Header: clean, white, fixed */
.fe-header, .fe-header.is-scrolled, body.menu-open .fe-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.fe-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(3,8,23,0.35); }
.fe-logo { height: 60px; }
.fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 52px; }
.fe-nav__btn, .fe-nav__link { font-size: 1rem; font-weight: 600; color: #0B1626; padding-left: 0.55rem; padding-right: 0.55rem; }
.fe-nav__chev { width: 9px; height: 9px; opacity: 0.6; }
.fe-nav__ctas { display: flex; gap: 0.6rem; margin-left: 0.75rem; }
.fe-nav__cta, .fe-nav__cta2 { margin: 0; min-height: 3rem; padding: 0 1.3rem; font-size: 1rem; font-weight: 650; white-space: nowrap; }
.fe-nav__cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.fe-nav__cta2 { background: #fff; border-color: var(--line-strong); color: var(--accent-deep); }
.fe-nav__cta2:hover { border-color: var(--accent); background: var(--blue-soft); color: var(--accent-deep); box-shadow: none; }
.fe-nav__cta::after { display: none; }
@media (min-width: 1280px) and (max-width: 1679px) { .fe-nav__cta2 { display: none; } }

/* Mega menus */
.fe-mm__title { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0 0.6rem; margin: 0 0 0.75rem; font: 750 1.06rem/1.3 var(--sans); color: #0B1626; text-align: left; cursor: default; }
.fe-mm__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.fe-mm__item { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.6rem; border-radius: 10px; text-decoration: none; color: #1B2A3B; font-family: var(--sans); font-size: 1rem; font-weight: 550; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.fe-mm__ico { flex: none; width: 1.85rem; height: 1.85rem; padding: 0.3rem; border-radius: 8px; color: var(--accent); background: var(--blue-soft); transition: transform var(--dur-fast) var(--ease); }
.fe-mm__item:hover, .fe-mm__item[aria-current="page"] { background: var(--blue-soft); color: var(--accent-deep); }
.fe-mm__item:hover .fe-mm__ico { transform: translateX(2px); }
@media (min-width: 1280px) {
  .fe-nav__top--mega { position: static; }
  .fe-nav__top--mega:has(.fe-mm--small) { position: relative; }
  .fe-mm { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1.25rem 1rem; top: calc(100% + 0.5rem); left: 50%;
    width: min(72rem, calc(100vw - 2 * var(--gutter))); margin-left: calc(min(72rem, calc(100vw - 2 * var(--gutter))) / -2);
    padding: 2.25rem 2rem; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(3,8,23,0.35); min-height: 22rem; }
  .fe-mm::before { top: -1rem; height: 1rem; }
  .fe-nav__top.is-open > .fe-mm, .fe-nav__top:hover > .fe-mm { display: grid; }
  .fe-mm--small { left: auto; right: -1rem; margin-left: 0; width: 22rem; min-height: 0; grid-template-columns: 1fr; }
  .fe-mm__title { pointer-events: none; }
  .fe-mm__title .fe-nav__chev { display: none; }
}
@media (max-width: 1279px) {
  .fe-mm { padding: 0 0 0.75rem; }
  .fe-nav__top.is-open > .fe-mm { display: block; }
  .fe-mm__col { border-top: 1px solid var(--line); }
  .fe-mm__title { cursor: pointer; padding: 0.85rem 0.35rem; margin: 0; font-size: 1rem; color: #33475B; }
  .fe-mm__col.is-open .fe-mm__title .fe-nav__chev { transform: rotate(180deg); }
  .fe-mm__col ul { display: none; padding-bottom: 0.6rem; }
  .fe-mm__col.is-open ul { display: grid; }
  .fe-mm__item { color: var(--text); }
  .fe-nav__ctas { flex-direction: column; margin: 1.5rem 0 0; }
  .fe-nav__ctas .wp-element-button { width: 100%; min-height: 3.25rem; }
  .fe-nav__btn, .fe-nav__link { font-size: 1.12rem; }
}

/* Navy heroes everywhere, with the photo blended in from the right */
.fe-hero { background: linear-gradient(120deg, var(--hero-1), var(--hero-2) 45%, var(--hero-3)); color: #B7C4D6; border-bottom: 0; }
.fe-hero :is(h1, h2, h3) { color: #fff; }
.fe-hero .fe-hero__lead { color: #B7C4D6; }
.fe-hero .fe-eyebrow { color: #7FB0F0; }
.fe-hero a:not(.wp-element-button) { color: #A9C7F0; }
.fe-crumbs, .fe-crumbs a { color: #8FA3B8 !important; }
.fe-crumbs a:hover { color: #fff !important; }
.fe-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,0.5); background: transparent; }
.fe-hero .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--hero-2); border-color: #fff; }
.fe-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--accent); border-color: var(--accent); color: #fff; }
.fe-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #2C6BC0; border-color: #2C6BC0; }
.fe-hero .wp-block-button__link { min-height: 3.25rem; padding: 0 1.6rem; font-size: 1.02rem; }
.fe-facts { border-top-color: rgba(255,255,255,0.14); color: #B7C4D6; }
.fe-facts strong { color: #fff; }
.fe-hero--photo { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(30rem, 60vh, 38rem); display: flex; align-items: center; }
.fe-hero--photo .fe-hero__grid { display: block; width: 100%; }
.fe-hero--photo .fe-hero__text { position: relative; z-index: 2; max-width: 40rem; }
.fe-hero--photo .fe-photo, .fe-hero3__photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 60%; aspect-ratio: auto !important; height: auto; border-radius: 0 !important; box-shadow: none !important; }
.fe-hero--photo::after, .fe-hero--home3::after { content: ""; display: block !important; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--hero-2) 38%, rgba(7,20,38,0.88) 52%, rgba(7,20,38,0.45) 75%, rgba(7,20,38,0.2)); height: auto; }
.fe-hero__title--compact { font-size: clamp(2.4rem, 3vw + 1rem, 3.9rem); line-height: 1.05; max-width: 18ch; }
.fe-hero .fe-crumbs + .fe-eyebrow { margin-top: 1.25rem; }
@media (max-width: 900px) {
  .fe-hero--photo .fe-photo, .fe-hero3__photo { width: 100%; }
  .fe-hero--photo::after, .fe-hero--home3::after { background: linear-gradient(180deg, rgba(7,20,38,0.78), rgba(7,20,38,0.92) 60%, var(--hero-2)); }
}

/* Home hero */
.fe-hero--home3 { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(40rem, 86vh, 47.5rem); display: flex; flex-direction: column; justify-content: center; padding-bottom: 0 !important; }
.fe-hero3__photo { width: 62%; background-position: 40% center; }
.fe-hero3__text { position: relative; z-index: 2; max-width: 38rem; padding: 2rem 0 3.5rem; }
.fe-hero3__title { font-size: clamp(2.75rem, 5.2vw, 4.875rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0; color: #fff; }
.fe-hero3__lead { font-size: clamp(1.15rem, 0.6vw + 1.05rem, 1.375rem); line-height: 1.55; color: #B7C4D6; max-width: 37.5rem; margin: 1.5rem 0 0; }
.fe-hero3__strip { position: relative; z-index: 2; list-style: none; margin: 0; padding: 1.75rem 0 2.25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; border-top: 1px solid rgba(255,255,255,0.14); }
.fe-hero3__strip li { display: flex; align-items: center; gap: 0.9rem; margin: 0; font-family: var(--sans); }
.fe-hero3__strip .fe-ico { flex: none; width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 12px; color: #7FB0F0; background: rgba(127,176,240,0.12); }
.fe-hero3__strip b { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7FB0F0; }
.fe-hero3__strip span { color: #fff; font-weight: 650; font-size: 1.02rem; }
@media (max-width: 900px) { .fe-hero3__strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .fe-hero3__strip { grid-template-columns: 1fr; } }

/* Contact, forum and other heroes on navy */
.fe-hero .fe-steps li { border-color: rgba(255,255,255,0.14); color: #C3D0DD; }
.js .in .fe-hero .fe-steps li::before, .fe-hero.in .fe-steps li::before { border-color: #7FB0F0; color: #fff; }
.fe-hero .fe-nap { border-top-color: rgba(255,255,255,0.14); color: #B7C4D6; }
.fe-hero .fe-nap strong { color: #fff; }
.fe-hero .fe-post-meta { color: #B7C4D6; }
.fe-hero .fe-post-meta a { background: transparent; border-color: rgba(255,255,255,0.25); color: #fff; }
.fe-hero .fe-forum-next { color: var(--text); }
.fe-hero .fe-latest-empty b { color: #fff; }

/* Split feature sections with large photos */
.fe-feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.fe-feature__photo { aspect-ratio: 5 / 4; border-radius: var(--r-panel); }
.fe-feature--rev .fe-feature__photo { order: 2; }
.fe-feature__text .fe-section__lead { max-width: 36rem; }
.fe-feature__text .wp-block-buttons { margin-top: 1.75rem; }
@media (max-width: 900px) { .fe-feature__grid { grid-template-columns: 1fr; } .fe-feature--rev .fe-feature__photo { order: 0; } }
.fe-fwvis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -48px rgba(14,34,56,0.45); }
.fe-fwvis span { padding: 1.1rem 1.15rem; border-radius: 14px; background: var(--blue-soft); font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.fe-fwvis b { display: block; font-size: 1.15rem; color: var(--accent-deep); margin-bottom: 0.15rem; }
.fe-fwvis span:first-child { background: var(--accent); color: #D6E4F5; }
.fe-fwvis span:first-child b { color: #fff; }
.fe-flow--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 901px) { .fe-flow--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; } .fe-flow--6 li:nth-child(3)::after { display: none; } }

/* Service page components */
.fe-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.fe-points li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; padding: 1.15rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-size: 1.05rem; }
.fe-points .fe-ico { flex: none; width: 1.6rem; height: 1.6rem; color: var(--accent); margin-top: 0.1rem; }
.fe-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.fe-cap { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.fe-cap:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.fe-cap .fe-ico { width: 2.75rem; height: 2.75rem; padding: 0.6rem; border-radius: 12px; color: var(--accent); background: var(--blue-soft); }
.fe-cap h3 { font-size: 1.22rem; margin: 1.1rem 0 0.4rem; }
.fe-cap p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 980px) { .fe-caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fe-caps { grid-template-columns: 1fr; } }
.fe-uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem 2rem; }
.fe-use { border-left: 3px solid var(--accent); padding: 0.25rem 0 0.25rem 1.25rem; }
.fe-use h3 { font-size: 1.2rem; margin: 0 0 0.35rem; }
.fe-use p { margin: 0; color: var(--muted); font-size: 1rem; }
.fe-impact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
@media (max-width: 800px) { .fe-impact { grid-template-columns: 1fr; } }
.fe-quote1 { margin: 0 auto; max-width: 54rem; text-align: center; }
.fe-quote1 blockquote { margin: 0; }
.fe-quote1 blockquote p { color: #fff; font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.fe-quote1 blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.7; height: 2.4rem; color: #7FB0F0; }
.fe-quote1 figcaption { margin-top: 1.5rem; color: #9FB2C6; font-family: var(--sans); }
.fe-quote1 figcaption b { display: block; color: #fff; }
.fe-rels { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fe-rels li { margin: 0; }
.fe-rel { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.1rem 0.75rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; color: var(--text); font-weight: 650; font-family: var(--sans); transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.fe-rel .fe-ico { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.fe-rel:hover { border-color: var(--accent); color: var(--link); }
.fe-confirm { max-width: 46rem; border: 2px dashed #C9962A; background: #FFF8E8; border-radius: 16px; padding: 1.5rem 1.75rem; }
.fe-confirm__label { font-weight: 800; color: #7A5300; margin: 0 0 0.5rem; }
.fe-confirm p:last-child { margin: 0; }

/* Audience pages */
.fe-hear { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.fe-hear li { margin: 0; padding: 1.25rem 1.4rem; border-radius: 16px; background: var(--soft); font-size: 1.15rem; font-weight: 600; color: var(--text); }
.fe-helpcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.25rem; }
.fe-helpcard { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.75rem 1.6rem 3rem; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.fe-helpcard .fe-ico { width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 12px; color: var(--accent); background: var(--blue-soft); margin-bottom: 0.4rem; }
.fe-helpcard b { font-size: 1.2rem; }
.fe-helpcard span { color: var(--muted); }
.fe-helpcard::after { content: ""; position: absolute; left: 1.6rem; bottom: 1.25rem; width: 1.1rem; height: 1.1rem; background: var(--accent); -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur) var(--ease); }
.fe-helpcard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.fe-helpcard:hover::after { transform: translateX(6px); }

/* Large image tiles */
.fe-imgtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.fe-imgtiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fe-imgtiles, .fe-imgtiles--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fe-imgtiles, .fe-imgtiles--3 { grid-template-columns: 1fr; } }
.fe-imgtile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; }
.fe-imgtiles--3 .fe-imgtile { aspect-ratio: 4 / 4.2; }
.fe-imgtile__photo { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto !important; border-radius: 0 !important; transition: transform 700ms var(--ease); }
.fe-imgtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,8,23,0) 30%, rgba(3,8,23,0.6) 60%, rgba(3,8,23,0.92)); }
.fe-imgtile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.4rem 1.5rem; font-family: var(--sans); }
.fe-imgtile__body b { display: flex; align-items: center; gap: 0.5rem; font-size: 1.22rem; }
.fe-imgtile__body b::after { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur) var(--ease); }
.fe-imgtile__body > span { display: block; margin-top: 0.35rem; font-size: 0.92rem; line-height: 1.45; color: #D2DCE7; }
.fe-imgtile:hover .fe-imgtile__photo { transform: scale(1.04); }
.fe-imgtile:hover b::after { transform: translateX(5px); }
.fe-imgtile:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* Why Fortify */
.fe-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.fe-why .fe-ico { width: 2.75rem; height: 2.75rem; padding: 0.6rem; border-radius: 12px; color: var(--accent); background: var(--blue-soft); }
.fe-why h3 { font-size: 1.3rem; margin: 1rem 0 0.35rem; }
.fe-why p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .fe-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fe-why { grid-template-columns: 1fr; } }

/* Editorial post cards with images */
.fe-post-card--img { padding: 0.7rem 0.7rem 1.4rem; }
.fe-post-card--img > :not(.fe-photo) { margin-left: 0.75rem; margin-right: 0.75rem; }
.fe-post-card__photo { aspect-ratio: 16 / 9.5; border-radius: 12px; margin-bottom: 1.1rem; }
.fe-posts--feat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .fe-posts--feat { grid-template-columns: 1fr; max-width: 36rem; } }
.fe-post-card__go { margin-top: auto !important; padding-top: 1rem; margin-bottom: 0; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--link); display: flex; align-items: center; gap: 0.4rem; }
.fe-post-card__go::after { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform var(--dur) var(--ease); }
.fe-post-card:hover .fe-post-card__go::after { transform: translateX(5px); }
@media (max-width: 900px) { .fe-flow--6 { grid-template-columns: 1fr; } .fe-flow--6 li:nth-child(3)::after { display: block; } }
.fe-nav__top .fe-mm__col .fe-nav__chev, .fe-nav__top.is-open .fe-mm__col .fe-nav__chev { transform: none; }
.fe-nav__top.is-open .fe-mm__col.is-open .fe-nav__chev { transform: rotate(180deg); }

/* ================= Header: transparent over the hero, solid once scrolling ================= */
.fe-logo--light { display: none; }
.fe-header--over:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; box-shadow: none; }
body.menu-open .fe-header--over { background: #fff; border-bottom-color: var(--line); }
.fe-header--over:not(.is-scrolled) .fe-header__inner { background: linear-gradient(180deg, rgba(3,8,23,0.35), rgba(3,8,23,0)); }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) .fe-logo--color { display: none; }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) .fe-logo--light { display: block; }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) :is(.fe-nav__btn, .fe-nav__link) { color: #fff; }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) :is(.fe-nav__btn, .fe-nav__link):hover,
body:not(.menu-open) .fe-header--over:not(.is-scrolled) .fe-nav__top.is-current > :is(.fe-nav__btn, .fe-nav__link) { color: #fff; }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) :is(.fe-nav__btn, .fe-nav__link)::after { background: #7FB0F0; }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) .fe-nav__cta2 { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
body:not(.menu-open) .fe-header--over:not(.is-scrolled) .fe-menu-btn { border-color: rgba(255,255,255,0.45); color: #fff; }
body::before { background: var(--hero-1); }
.fe-header { transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fe-header__inner { transition: min-height var(--dur) var(--ease), background var(--dur) var(--ease); }
@media (max-width: 1279px) {
  /* The drawer's link colours stay dark on its white surface. */
  body.menu-open .fe-nav :is(.fe-nav__btn, .fe-nav__link) { color: #0B1626; }
}

/* ================= Proportion: headings sized against the logo ================= */
:root { --header-top: 100px; }
.fe-logo { height: 68px; }
.fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 56px; }
@media (max-width: 720px) { :root { --header-top: 80px; } .fe-logo { height: 54px; } .fe-header.is-scrolled .fe-logo, body.menu-open .fe-logo { height: 46px; } }
/* Inner page titles: confident, but no longer louder than the brand. */
.fe-hero__title, .fe-hero__title--compact { font-size: clamp(2.1rem, 1.5vw + 1.4rem, 3.25rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 22ch; }
.fe-hero .fe-hero__lead { font-size: clamp(1.05rem, 0.35vw + 0.98rem, 1.25rem); max-width: 38rem; }
.fe-hero--photo .fe-hero__text { max-width: 36rem; }
/* Home title stays the largest type on the site, within reason. */
.fe-hero3__title { font-size: clamp(2.6rem, 3.6vw + 1rem, 4.4rem); }
.fe-hero3__lead { font-size: clamp(1.1rem, 0.4vw + 1rem, 1.3rem); }
.fe-hero--post .fe-hero__title { max-width: 28ch; }
:root { --wrap: 1520px; }
.fe-nav__btn, .fe-nav__link { white-space: nowrap; }
.fe-header__inner { align-items: center; }
.fe-nav, .fe-nav > ul { align-items: center; }
@media (min-width: 1280px) and (max-width: 1439px) {
  .fe-nav__btn, .fe-nav__link { font-size: 0.95rem; padding-left: 0.45rem; padding-right: 0.45rem; }
  .fe-nav__btn::after, .fe-nav__link::after { left: 0.45rem; right: 0.45rem; }
  .fe-logo { height: 62px; }
  .fe-nav__cta { padding: 0 1.1rem; }
}

/* Booking calendar on the Contact page */
.fe-booking-col { padding: clamp(1.25rem, 2.5vw, 2rem); }
.fe-booking .fe-eyebrow { color: var(--link); margin-bottom: 0.4rem; }
.fe-booking__title { color: var(--text) !important; font-size: clamp(1.35rem, 0.8vw + 1.1rem, 1.75rem); margin: 0 0 1.1rem; }
.fe-booking__frame { display: block; width: 100%; height: clamp(640px, 78vh, 760px); border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.fe-booking__alt { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin: 0.9rem 0 0; }
.fe-booking__alt a { color: var(--link) !important; font-weight: 650; }
@media (max-width: 720px) { .fe-booking__frame { height: 720px; } }
.img-1{background-image:url('../img/1.webp')}
.img-2{background-image:url('../img/2.webp')}
.img-3{background-image:url('../img/3.webp')}
.img-4{background-image:url('../img/4.webp')}
.img-5{background-image:url('../img/5.webp')}
.img-6{background-image:url('../img/6.webp')}
.img-7{background-image:url('../img/7.webp')}
.img-8{background-image:url('../img/8.webp')}
.img-9{background-image:url('../img/9.webp')}
.img-10{background-image:url('../img/10.webp')}
.img-11{background-image:url('../img/11.webp')}
.img-12{background-image:url('../img/12.webp')}
.img-13{background-image:url('../img/13.webp')}
.img-14{background-image:url('../img/14.webp')}
.img-15{background-image:url('../img/15.webp')}
.img-16{background-image:url('../img/16.webp')}
.img-17{background-image:url('../img/17.webp')}
.img-18{background-image:url('../img/18.webp')}
.img-19{background-image:url('../img/19.webp')}
.img-20{background-image:url('../img/20.webp')}
.img-21{background-image:url('../img/21.webp')}
.img-22{background-image:url('../img/22.webp')}
.img-23{background-image:url('../img/23.webp')}

/* ================= WordPress integration ================= */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + *, .wp-block-post-content > * + *, main > * + * { margin-block-start: 0; }
.wp-block-post-content > .fe-section:first-child { padding-top: calc(var(--header-top) + clamp(2.75rem, 6vw, 5rem)); }
.wp-block-post-content > .fe-hero--home3:first-child { padding-top: calc(var(--header-top) + 1rem); }
.admin-bar .fe-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fe-header { top: 46px; } }
.fe-article img { max-width: 100%; height: auto; border-radius: 12px; }
.fe-article figure { margin: 1.75rem 0; }
.fe-article figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.fe-article .wp-block-embed iframe, .fe-article iframe { max-width: 100%; }
.fe-pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; font-family: var(--sans); }
.fe-pagination a, .fe-pagination span { padding: 0.55rem 0.95rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.fe-pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
