/* ==========================================================================
   Chris Hurst 2027 · sections.css
   Inner pages: flexible sections (.fx-), case studies (.cs-), form split (.fs-),
   blog extras. Loaded on every page except the front page. Tokens only.
   ========================================================================== */

/* ---------- Shared ---------- */
.fx { border-top: 1px solid var(--rule); }
.fx--paper, .fx--navy, .fx-hero, .fx-band--orange, .fx-band--paper,
.page-head + .fx, .fx-hero + .fx { border-top: 0; }

.fx-head__main { flex: 1 1 560px; min-width: 0; max-width: 860px; }
.fx-head__intro { flex: 1 1 340px; min-width: 0; max-width: 460px; }
.fx--navy .lede, .fx--navy .muted { color: var(--on-dark-muted); }
.fx--navy h2 em, .fx--navy h3 em { color: var(--orange); }

.fx-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(36px, 5vw, 56px); font-size: 16px; }
.fx-act .link-cta { min-height: 44px; align-items: center; }
.fx-act__phone { color: var(--muted); }
.fx-act__phone a { display: inline-block; padding-block: 10px; color: var(--heading); font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.fx--navy .link-cta, .fx-act--navy .link-cta { color: #fff; }
.fx--navy .fx-act__phone, .fx-act__phone--light { color: var(--on-dark-muted); }
.fx--navy .fx-act__phone a, .fx-act__phone--light a { color: #fff; }

.fx-btn--on-orange { color: var(--on-orange); border-color: var(--on-orange); }

.fx-frame { position: relative; margin: 0 16px 16px 0; }
.fx-frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--orange); }
.fx-frame > *, .fx-frame img, .fx-frame video { position: relative; display: block; width: 100%; }
.fx-frame img, .fx-frame video { max-height: 620px; object-fit: cover; }

.fx-media { position: relative; overflow: hidden; background: var(--paper); outline: 1px solid var(--rule); }
.fx-media img, .fx-media video { width: 100%; height: 100%; object-fit: cover; }
.fx-media--video video { background: #000; }
.fx-caption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.fx-video { width: 100%; min-height: 240px; }
.fx-video .video-card__play:focus-visible { outline-color: #fff; }

.fx-stats { list-style: none; display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule-strong); }
.fx-stats li { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 0 0; }
.fx-stats__big { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; color: var(--warm-ink); }
.fx-stats__small { font-size: 15px; line-height: 1.4; color: var(--muted); }
.fx-stats__sub { display: block; margin-top: 2px; font-size: 14px; }
.fx-stats--wide { margin-top: clamp(40px, 5vw, 64px); }

.prose--light { color: var(--on-dark-muted); }
.prose--light a { color: #fff; text-decoration-color: var(--orange); }
.prose--light h2, .prose--light h3, .prose--light h4, .prose--light strong { color: #fff; }

.fx-empty { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }

/* ---------- Hero ---------- */
.fx-hero { background: var(--hero); color: #fff; padding-block: clamp(56px, 8vw, 104px); }
.fx-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.fx-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.fx-hero__kicker { margin: 0; }
.fx-hero__kicker .marker__rule { max-width: 120px; }
.fx-hero__title { color: #fff; }
.fx-hero__title em { color: var(--orange); }
.fx-hero__intro { max-width: 560px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: #d3dee6; }
.fx-hero .rating { color: #fff; align-self: flex-start; }
.fx-hero__media { flex: 1 1 420px; min-width: 0; }
.fx-hero__media img, .fx-hero__media video { aspect-ratio: 4 / 3; height: auto; }

/* ---------- Content + media ---------- */
.fx-cm__grid { align-items: center; }
.fx-cm__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.fx-cm__copy .marker, .fx-cm__copy .fx-act { margin: 0; }
.fx-cm__prose { font-size: 17px; }
.fx-cm__media { flex: 1 1 460px; min-width: 0; }
.fx-cm--portrait .fx-cm__media { flex: 0 1 380px; margin-inline: auto; }

/* ---------- Split content ---------- */
.fx-split__grid { display: flex; flex-wrap: wrap; gap: 40px 0; }
.fx-split__panel { flex: 1 1 420px; min-width: 0; }
.fx-split__figure img { width: 100%; height: auto; outline: 1px solid var(--rule); }
@media (min-width: 960px) {
	.fx-split--two .fx-split__panel:first-child { padding-right: 48px; }
	.fx-split--two .fx-split__panel + .fx-split__panel { padding-left: 48px; border-left: 1px solid var(--rule); }
}
@media (max-width: 959px) {
	.fx-split--two .fx-split__panel + .fx-split__panel { padding-top: 40px; border-top: 1px solid var(--rule); }
}

/* ---------- Cards 3-up: ruled columns ---------- */
.fx-cols__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px 40px; }
.fx-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--heading); }
.fx-col__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fx-col__num { font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 1; color: var(--warm-ink); }
.fx-col__icon { color: var(--accent-ink); }
.fx-col__img { overflow: hidden; outline: 1px solid var(--rule); aspect-ratio: 16 / 10; background: var(--paper); }
.fx-col__img img { width: 100%; height: 100%; object-fit: cover; }
.fx-col__title { font-size: clamp(1.5rem, 2.2vw, 1.75rem); line-height: 1.12; }
.fx-col__text { color: var(--muted); font-size: 16px; }
.fx-col__text p + p { margin-top: 10px; }
.fx-col__text a { color: var(--accent-ink); }
.fx-col .link-cta { margin-top: auto; }

/* ---------- Cards 2x2: hairline grid ---------- */
.fx-grid2__list { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--heading); }
.fx-cell { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 36px 0; border-bottom: 1px solid var(--rule); }
.fx-cell__icon { color: var(--accent-ink); }
.fx-cell__img { overflow: hidden; outline: 1px solid var(--rule); aspect-ratio: 16 / 9; margin-bottom: 8px; background: var(--paper); }
.fx-cell__img img { width: 100%; height: 100%; object-fit: cover; }
.fx-cell__title { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.1; }
.fx-cell__text { max-width: 520px; color: var(--muted); }
@media (min-width: 760px) {
	.fx-grid2__list { grid-template-columns: 1fr 1fr; }
	.fx-cell:nth-child(odd) { padding-right: 40px; }
	.fx-cell:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--rule); }
}

/* ---------- CTA band ---------- */
.fx-band { padding-block: clamp(48px, 6vw, 80px); }
.fx-band--orange { background: var(--orange); color: var(--on-orange); }
.fx-band--paper { background: var(--paper); }
.fx-band--plain { border-bottom: 1px solid var(--rule); }
.fx-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.fx-band__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fx-band__title { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.02; letter-spacing: -0.025em; }
.fx-band__title em { font-weight: 500; }
.fx-band__text { max-width: 620px; font-size: 18px; color: var(--muted); }
.fx-band--orange .fx-band__title, .fx-band--orange .fx-band__text { color: var(--on-orange); }
.fx-band--plain .fx-band__title em, .fx-band--paper .fx-band__title em { color: var(--warm-ink); }
.fx-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.fx-band__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--heading); font-weight: 700; font-size: 19px; text-decoration: none; border-bottom: 2px solid var(--orange); }
.fx-band--orange .fx-band__phone { color: var(--on-orange); border-bottom-color: var(--on-orange); }
.fx-band--orange :focus-visible { outline-color: var(--on-orange); }

/* ---------- CTA centered ---------- */
.fx-center__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.fx-center .marker { justify-content: center; margin: 0; }
.fx-center__text { max-width: 640px; }
.fx-center__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; margin-top: 8px; }
.fx-center .phone-link { align-items: flex-start; text-align: left; }

/* ---------- Info + form, and the shared form panel ---------- */
.fx-form__grid { align-items: flex-start; }
.fx-form__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.fx-form__copy .marker { margin: 0; }
.fx-form__aside { flex: 1 1 440px; min-width: 0; }

.fx-steps { list-style: none; border-top: 2px solid var(--heading); }
.fx-steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.fx-steps__num { flex: 0 0 56px; font-family: var(--font-display); font-style: italic; font-size: 36px; line-height: 1; color: var(--warm-ink); }
.fx-steps__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fx-steps__body strong { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--heading); }
.fx-steps__body span { font-size: 15px; color: var(--muted); }

.fx-talk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 20px; border-top: 1px solid var(--rule-strong); }
.fx-talk__label { flex: 1 0 100%; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--heading); }

/* Always-white panel (like the homepage booking widget): pin light tokens inside it. */
.fs-panel {
	--surface: #ffffff; --text: #1b2430; --heading: #133d56; --muted: #4b5563;
	--rule: #d5dbe0; --rule-strong: #9fb0bd; --paper: #eef1f2; --accent-ink: #0c7280; --warm-ink: #a34a06;
	position: relative; margin: 0 14px 14px 0; background: var(--surface); color: var(--text);
	box-shadow: 14px 14px 0 var(--on-orange);
}
.fs-panel__head { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-bottom: 1px solid var(--rule); }
.fs-panel__title { font-size: clamp(1.5rem, 2.2vw, 1.75rem); line-height: 1.15; color: var(--heading); }
.fs-panel__title em { color: var(--warm-ink); }
.fs-panel__intro { font-size: 15px; color: var(--muted); }
.fs-panel__body { padding: 26px; }
.fs-panel__note { padding: 18px 26px 22px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.fs-panel__note p + p { margin-top: 8px; }
.fs-panel__note a { color: var(--accent-ink); }
.fs-panel__fallback { display: flex; flex-direction: column; gap: 14px; }
.fs-panel .nf-form-cont input:focus, .fs-panel .nf-form-cont select:focus, .fs-panel .nf-form-cont textarea:focus { border-color: var(--heading) !important; }
html[data-theme="dark"] .fs-panel:not(.fs-panel--dark) { box-shadow: 14px 14px 0 var(--orange); }
.fs-panel--outline, html[data-theme="dark"] .fs-panel--outline { box-shadow: none; outline: 2px solid var(--heading); outline-offset: -2px; margin: 0; }
.fs-panel--dark {
	--surface: #111a24; --text: #e6ebf1; --heading: #ffffff; --muted: #a7b1bd;
	--rule: #2b3b4c; --rule-strong: #4a5d70; --paper: #0e151d; --accent-ink: #5fd0de; --warm-ink: #f39a45;
	background: var(--hero); box-shadow: 14px 14px 0 var(--orange);
}
@media (min-width: 1000px) {
	.fs-panel.is-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
	.admin-bar .fs-panel.is-sticky { top: calc(var(--header-h) + 56px); }
}

/* ---------- Ninja Form Split page ---------- */
.fs-head__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.fs-head__copy { flex: 1 1 560px; min-width: 0; }
.fs-head__media { flex: 0 1 420px; min-width: 0; }
.fs-head__media img { aspect-ratio: 4 / 3; height: auto; }

.fs__grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 72px); }
.fs__content { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.fs__aside { flex: 1 1 420px; min-width: 0; max-width: 560px; scroll-margin-top: calc(var(--header-h) + 24px); }
.fs__title { max-width: 18ch; }

.fs-talk { display: flex; flex-direction: column; gap: 16px; padding-top: 26px; border-top: 2px solid var(--heading); }
.fs-talk .marker { margin: 0; }
.fs-talk__lead { max-width: 520px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.25; color: var(--heading); }
.fs-talk__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

.fs--navy .prose { color: #d3dee6; }
.fs--navy .prose h2, .fs--navy .prose h3, .fs--navy .prose h4, .fs--navy .prose strong { color: #fff; }
.fs--navy .prose a { color: #fff; text-decoration-color: var(--orange); }
.fs--navy .prose blockquote { color: #fff; }
.fs--navy .fs-talk { border-top-color: var(--on-dark-rule); }
.fs--navy .fs-talk__lead, .fs--navy .phone-link { color: #fff; }
.fs--navy .phone-link > span:first-child { color: var(--on-dark-muted); }
.fs--navy .marker--orange { color: var(--on-dark-muted); }

/* ---------- FAQ (flex + component) ---------- */
.fx-faq .faq__aside .link-cta, .fx-objections .faq__aside .link-cta { min-height: 44px; align-items: center; }
.fx-faq--stacked .faq__list { margin-top: 32px; }
.fx-faq__title { margin-bottom: 12px; }
.fx-objections .faq__aside .btn { align-self: flex-start; }
.fx-obj__q { display: flex; flex-direction: column; gap: 6px; }
.fx-obj__tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.fx-obj__tag .icon { color: inherit; transform: none !important; }

/* ---------- Pricing ---------- */
.fx-pricing__foot { display: flex; flex-direction: column; gap: 10px; }
.fx-pricing__note p + p { margin-top: 8px; }
.fx-pricing__note a, .fx-pricing__foot a { color: var(--heading); font-weight: 600; text-decoration-color: var(--orange); }
.fx-pricing .plan--featured .btn--primary:focus-visible { outline-color: #fff; }

/* ---------- Video module ---------- */
.fx-videomod__frame { max-width: 1100px; }

/* ---------- Social proof ---------- */
.fx-logos { list-style: none; display: flex; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fx-logos__item { flex: 1 1 180px; min-width: 0; min-height: 104px; display: flex; align-items: center; justify-content: center; padding: 20px 24px; border-right: 1px solid var(--rule); }
.fx-logos__item:last-child { border-right: 0; }
.fx-logos__item a { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.fx-logos__item:hover .trusted__logo { filter: none; opacity: 1; }
.fx-proof__lead blockquote { margin: 0; }
.fx-proof__lead p { max-width: 24ch; }
.fx-proof__more .quote-side blockquote { font-size: clamp(1.25rem, 2vw, 1.6rem); }

/* ---------- Results (navy) ---------- */
.fx-metrics { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px; }
.fx-metric { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 2px solid var(--orange); }
.fx-metric__value { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(3.2rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.02em; color: #fff; }
.fx-metric__label { font-size: 18px; font-weight: 600; color: #fff; }
.fx-metric__note { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--on-dark-muted); }
.fx-metric__source { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.fx-bars { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fx-bars__row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 10px; }
.fx-bars__lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.fx-bars__track { display: block; height: 6px; background: var(--on-dark-rule); }
.fx-bars__fill { display: block; height: 100%; }
.fx-bars__fill--before { background: var(--on-dark-muted); }
.fx-bars__fill--after { background: var(--orange); }

/* ---------- Comparison ---------- */
.fx-compare__grid { display: grid; grid-template-columns: 1fr; }
.fx-compare__col { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 32px 0; border-top: 2px solid var(--rule-strong); }
.fx-compare__col--direct { padding: 32px 28px; background: var(--hero); color: #fff; border-top-color: var(--orange); }
.fx-compare__flag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fx-compare__col--direct .fx-compare__flag { color: #fff; }
.fx-compare__col--direct .fx-compare__flag .icon { color: var(--orange); }
.fx-compare__title { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.fx-compare__col--direct .fx-compare__title { color: #fff; }
.fx-compare__col--direct .fx-compare__title em { color: var(--orange); }
.fx-compare__blurb { color: var(--muted); }
.fx-compare__col--direct .fx-compare__blurb { color: var(--on-dark-muted); }
.fx-compare__list { list-style: none; border-top: 1px solid var(--rule); }
.fx-compare__col--direct .fx-compare__list { border-top-color: var(--on-dark-rule); }
.fx-compare__item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.fx-compare__col--direct .fx-compare__item { border-bottom-color: var(--on-dark-rule); }
.fx-compare__item .icon { flex-shrink: 0; margin-top: 4px; }
.fx-compare__item--con .icon, .fx-compare__item--neutral .icon { color: var(--muted); }
.fx-compare__item--pro .icon { color: var(--accent-ink); }
.fx-compare__col--direct .fx-compare__item .icon { color: var(--orange); }
.fx-compare__col--direct .fx-compare__item--neutral .icon { color: var(--on-dark-muted); }
.fx-compare__bottom { display: flex; flex-direction: column; gap: 8px; margin-top: clamp(40px, 5vw, 56px); }
.fx-compare__line { max-width: 30ch; }
.fx-compare__bottom .fx-act { margin-top: 16px; }
@media (min-width: 860px) {
	.fx-compare__grid { grid-template-columns: 1fr 1fr; }
	.fx-compare__col--agency { padding-right: 48px; }
	.fx-compare__col--direct { padding: 32px 36px; }
}

/* ---------- Process timeline ---------- */
.fx-timeline__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 48px; }
.fx-timeline__top .fx-head { flex: 1 1 640px; }
.fx-badge { flex: 0 1 320px; display: flex; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); padding: 6px 0 6px 20px; border-left: 2px solid var(--orange); }
.fx-badge__icon { color: var(--warm-ink); padding-top: 2px; }
.fx-badge__body { display: flex; flex-direction: column; gap: 2px; }
.fx-badge__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fx-badge__value { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1.1; color: var(--heading); }
.fx-badge__note { font-size: 14px; color: var(--muted); }

.fx-tl { list-style: none; border-top: 2px solid var(--heading); }
.fx-tl__step { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.fx-tl__num { flex: 0 0 96px; font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 5vw, 4rem); line-height: 0.9; color: var(--warm-ink); }
.fx-tl__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fx-tl__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.fx-tl__title { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.fx-tl__icon { flex-shrink: 0; color: var(--accent-ink); }
.fx-tl__duration { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.fx-tl__flag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading); }
.fx-tl__summary { max-width: 680px; color: var(--muted); }
.fx-tl__step.is-featured { background: var(--paper); padding-inline: 24px; border-left: 3px solid var(--orange); }
.fx-tl__details summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--heading); cursor: pointer; }
.fx-tl__details summary::-webkit-details-marker { display: none; }
.fx-tl__details summary .icon { color: var(--warm-ink); transition: transform .2s var(--ease); }
.fx-tl__details[open] summary .icon { transform: rotate(180deg); }
.fx-tl__more { max-width: 680px; padding-top: 6px; font-size: 16px; }
@media (max-width: 640px) { .fx-tl__num { flex-basis: 100%; } }

/* ---------- Risk reversal ---------- */
.fx-risk__grid { display: grid; grid-template-columns: 1fr; }
.fx-risk__col { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 32px 0; border-top: 2px solid var(--heading); }
.fx-risk__col--navy { padding: 32px 28px; background: var(--hero); color: #fff; border-top-color: var(--orange); }
.fx-risk__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.fx-risk__col--navy .fx-risk__title { color: #fff; }
.fx-risk__col--navy .fx-risk__title em { color: var(--orange); }
.fx-risk__blurb { color: var(--muted); }
.fx-risk__col--navy .fx-risk__blurb { color: var(--on-dark-muted); }
.fx-risk__points, .fx-risk__checks { list-style: none; }
.fx-risk__points li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.fx-risk__points li > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fx-risk__ic { flex-shrink: 0; color: var(--accent-ink); }
.fx-risk__points strong { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--heading); }
.fx-risk__points li > span:last-child > span { font-size: 15px; color: var(--muted); }
.fx-risk__checks li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--on-dark-rule); }
.fx-risk__checks .icon { flex-shrink: 0; margin-top: 4px; color: var(--orange); }
.fx-risk__note { display: block; font-family: var(--font-display); font-size: 15px; color: var(--on-dark-muted); }
.fx-strip { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 22px 28px; background: var(--orange); color: var(--on-orange); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.25; }
.fx-strip .icon { flex-shrink: 0; }
@media (min-width: 900px) {
	.fx-risk__grid { grid-template-columns: 1fr 1fr; }
	.fx-risk__col:first-child { padding-right: 48px; }
	.fx-risk__col--navy { padding: 32px 36px; }
}

/* ---------- Marquee gallery ---------- */
.fx-marquee__text { max-width: 640px; margin: -16px 0 36px; }
.fx-marquee__viewport { overflow: hidden; padding: 4px 0; }
.fx-marquee__track { display: flex; width: max-content; list-style: none; animation: ich-marquee var(--marquee-s, 40s) linear infinite; }
.fx-marquee--pause .fx-marquee__viewport:hover .fx-marquee__track,
.fx-marquee--pause .fx-marquee__viewport:focus-within .fx-marquee__track { animation-play-state: paused; }
.fx-marquee__item { flex: 0 0 auto; width: clamp(260px, 32vw, 440px); padding-right: 24px; }
.fx-marquee__fig { display: flex; flex-direction: column; gap: 12px; }
.fx-marquee__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); outline: 1px solid var(--rule); }
.fx-marquee__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.fx-marquee__media:hover .fx-marquee__img { transform: scale(1.03); }
.fx-marquee__cap { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--rule-strong); }
.fx-marquee__cap strong { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--heading); }
.fx-marquee__cap span { font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
	.fx-marquee__track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gutter); row-gap: 32px; }
	.fx-marquee__item[aria-hidden="true"] { display: none; }
}

/* ---------- Child page rows (page.php) ---------- */
.fx-children .service:last-child { border-bottom: 1px solid var(--rule-strong); }
.fx-children .service__title { font-size: clamp(2rem, 4vw, 3.25rem); }
.fx-children .service__media img { outline: 1px solid var(--rule); }

/* ---------- Blog ---------- */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers:hover:not(.current):not(.dots) { border-color: var(--heading); }
.pagination .page-numbers.dots { border-color: transparent; }
.pagination .page-numbers .icon { display: block; }

.page-head--article .page-head__title { max-width: 22ch; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; }
.ar-tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 40px; font-size: 15px; }
.ar-tags span { color: var(--muted); }
.ar-tags a { color: var(--accent-ink); font-weight: 600; }
.ar-end { display: flex; flex-direction: column; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--heading); }
.ar-end__text { max-width: 26ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--heading); }
.ar-end__text em { font-weight: 500; color: var(--warm-ink); }
.ar-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.aside-cta .marker { margin: 0; }
.aside-cta h3 em { color: var(--orange); }
@media (max-width: 999px) { .article__aside { display: none; } }

.blog-ad { display: flex; flex-direction: column; gap: 14px; }
.blog-ad--archive { padding: 28px; background: var(--hero); color: #fff; }
.blog-ad__img { margin: -28px -28px 6px; overflow: hidden; }
.blog-ad__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-ad__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.blog-ad__title { font-size: 28px; line-height: 1.1; color: #fff; }
.blog-ad__title em { color: var(--orange); }
.blog-ad__text { font-size: 16px; color: var(--on-dark-muted); }
.blog-ad .phone-link__num { font-size: 24px; }

.search-form .btn { flex-shrink: 0; }
.search-form input[type="search"]:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--heading); }
.page-head .search-form .btn--dark, .page-head .search-form button { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.page-head .search-form input[type="search"] { color: var(--text); }
.fx-search__title { max-width: 20ch; overflow-wrap: anywhere; }
.fx-search__form { margin-top: 28px; }
@media (max-width: 420px) { .search-form .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }

/* ---------- 404 ---------- */
.notfound h1 { margin-top: 8px; }
.notfound__grid { display: flex; flex-wrap: wrap; gap: 48px 72px; margin-top: clamp(32px, 5vw, 56px); }
.notfound__main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.notfound__links { flex: 1 1 320px; min-width: 0; }
.notfound__links ul { list-style: none; border-top: 2px solid var(--heading); }
.notfound__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--heading); text-decoration: none; }
.notfound__links a .icon { color: var(--warm-ink); transition: transform .2s var(--ease); }
.notfound__links a:hover .icon { transform: translateX(4px); }

/* ---------- Case study ---------- */
.cs-head__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.cs-head__title { max-width: 22ch; font-size: clamp(2.1rem, 3.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; }
.cs-head__intro { font-size: 18px; max-width: 54ch; }
.cs-head__media { margin: 0 16px 16px 0; }
.cs-head__frame { position: relative; }
.cs-head__frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--orange); }
.cs-head__img { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--paper); outline: 1px solid var(--on-dark-rule); }
@media (min-width: 1024px) {
	.cs-head--media .cs-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); }
}
.cs-facts { display: flex; flex-wrap: wrap; column-gap: clamp(20px, 3vw, 40px); margin: 40px 0 0; border-top: 1px solid var(--on-dark-rule); }
.cs-facts__item { flex: 1 1 170px; min-width: 0; padding: 18px 0 0; }
.cs-facts__item--year { flex: 0 0 auto; }
.cs-facts__item--role { flex-grow: 1.3; }
.cs-facts__item--site { flex: 1 1 auto; } /* sized to the URL, so it drops to its own row instead of breaking mid-word */
.cs-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.cs-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; color: #fff; overflow-wrap: break-word; }
.cs-facts dd a { color: #fff; text-decoration-color: var(--orange); text-decoration-thickness: 2px; overflow-wrap: anywhere; }


.cs-story__grid { display: grid; grid-template-columns: 1fr; }
.cs-story__col { min-width: 0; padding: 28px 0 36px; border-top: 2px solid var(--heading); }
.cs-story__col .marker { margin-bottom: 18px; }
.cs-result { margin-bottom: 20px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--accent-ink); }
@media (min-width: 900px) {
	.cs-story__grid { grid-template-columns: 1fr 1fr; }
	.cs-story__col:first-child { padding-right: 56px; }
	.cs-story__col + .cs-story__col { padding-left: 56px; border-left: 1px solid var(--rule); }
}
.cs-shipped { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 40px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); }
.cs-shipped__title { flex: 0 0 auto; font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cs-shipped__list { flex: 1 1 420px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.cs-shipped__list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); }
.cs-shipped__list .icon { color: var(--accent-ink); }

/* Bento gallery: spans set per item (--c columns, --r rows) by ich_bento_spans(). */
.cs-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(96px, 11vw, 150px); grid-auto-flow: dense; gap: clamp(12px, 1.6vw, 20px); }
.cs-bento__item { position: relative; grid-column: span var(--c, 12); grid-row: span var(--r, 3); min-width: 0; margin: 0; overflow: hidden; outline: 1px solid var(--rule); background: var(--surface); }
.cs-bento__link { display: block; height: 100%; cursor: zoom-in; }
.cs-bento__img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s var(--ease); }
.cs-bento__link:hover .cs-bento__img, .cs-bento__link:focus-visible .cs-bento__img { transform: scale(1.03); }
.cs-bento__link:focus-visible { outline-offset: -3px; }
.cs-bento__zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--orange); color: var(--on-orange); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease); }
.cs-bento__link:hover .cs-bento__zoom, .cs-bento__link:focus-visible .cs-bento__zoom { opacity: 1; transform: none; }
.cs-bento__cap { position: absolute; left: 0; bottom: 0; display: flex; align-items: baseline; gap: 10px; max-width: calc(100% - 24px); padding: 8px 14px 8px 12px; background: var(--navy-deep); color: #fff; font-size: 14px; line-height: 1.3; pointer-events: none; }
.cs-bento__num { flex: 0 0 auto; font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1; color: var(--orange-on-navy); }
.cs-bento__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 639px) {
	.cs-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
	.cs-bento__item { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 5; }
	.cs-bento__item:first-child, .cs-bento__item:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 4 / 3; }
	.cs-bento__zoom { opacity: 1; transform: none; width: 34px; height: 34px; }
	.cs-bento__cap { padding: 6px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.cs-bento__img, .cs-bento__zoom { transition: none; }
	.cs-bento__link:hover .cs-bento__img, .cs-bento__link:focus-visible .cs-bento__img { transform: none; }
}

/* Lightbox (native <dialog>). Tall screenshots scroll inside the stage. */
html.has-lb { overflow: hidden; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 18, 27, 0.97); color: #fff; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb::backdrop { background: rgba(8, 18, 27, 0.97); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); }
.lb__count { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--orange-on-navy); }
.lb__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius); background: transparent; color: #fff; cursor: pointer; }
.lb__close:hover { border-color: #fff; }
.lb__stage { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(72px, 8vw, 112px) 24px; -webkit-overflow-scrolling: touch; }
.lb__img { width: auto; max-width: min(100%, 1440px); height: auto; margin: 0 auto; background: var(--navy-deep); }
.lb__cap { margin: 0; padding: 10px var(--gutter) 18px; text-align: center; font-size: 15px; color: var(--on-dark-muted); }
.lb__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: var(--radius); background: var(--orange); color: var(--on-orange); cursor: pointer; transform: translateY(-50%); }
.lb__nav:hover { background: #f08a26; }
.lb__nav--prev { left: clamp(12px, 2vw, 32px); }
.lb__nav--next { right: clamp(12px, 2vw, 32px); }
.lb__nav[hidden] { display: none; }
@media (max-width: 639px) {
	.lb[open] { grid-template-rows: auto minmax(0, 1fr) auto 76px; }
	.lb__stage { padding: 0 12px 12px; }
	.lb__nav { top: auto; bottom: 12px; transform: none; }
	.lb__nav--prev { left: auto; right: 76px; }
	.lb__nav--next { right: 12px; }
}

.cs-quote { margin-bottom: 40px; }
.cs-quote blockquote { margin: 0; }
.cs-quote p { max-width: 26ch; }
.cs-video { max-width: 920px; aspect-ratio: 16 / 9; }

.cs-nav { border-top: 1px solid var(--rule); }
.cs-nav__grid { display: grid; grid-template-columns: 1fr; }
.cs-nav__link { display: flex; flex-direction: column; gap: 8px; min-height: 44px; padding: 36px 0; color: var(--heading); text-decoration: none; }
.cs-nav__link--next { align-items: flex-end; text-align: right; border-top: 1px solid var(--rule); }
.cs-nav__link--empty { padding: 0; }
.cs-nav__dir { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.cs-nav__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; }
.cs-nav__link:hover .cs-nav__name { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cs-nav__all { padding-bottom: 48px; }
@media (min-width: 760px) {
	.cs-nav__grid { grid-template-columns: 1fr 1fr; }
	.cs-nav__link--prev { padding-right: 32px; }
	.cs-nav__link--next { padding-left: 32px; border-top: 0; border-left: 1px solid var(--rule); }
	.cs-nav__link--empty + .cs-nav__link--next { border-left: 0; }
}

.cs-filter { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-bottom: clamp(40px, 5vw, 56px); padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.cs-filter__label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cs-filter ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.cs-filter a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.cs-filter a:hover { border-bottom-color: var(--rule-strong); }
.cs-filter a[aria-current="page"] { color: var(--heading); border-bottom-color: var(--orange); }
.cs-filter__count { font-size: 13px; font-weight: 500; color: var(--muted); }
.cs-work__blank { display: block; height: clamp(260px, 32vw, 440px); background: var(--paper); }
.cs-work__act { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Mobile tidy-ups ---------- */
@media (max-width: 560px) {
	.fx-frame { margin-right: 12px; margin-bottom: 12px; }
	.fx-frame::before { inset: 12px -12px -12px 12px; }
	.fs-panel { margin: 0 10px 10px 0; box-shadow: 10px 10px 0 var(--on-orange); }
	.fs-panel--dark { box-shadow: 10px 10px 0 var(--orange); }
	.fs-panel__head, .fs-panel__body { padding-inline: 20px; }
	.fx-compare__col--direct, .fx-risk__col--navy { padding-inline: 20px; }
	.fx-strip { padding: 18px 20px; }
	.fx-tl__step.is-featured { padding-inline: 16px; }
	.blog-ad--archive { padding: 22px; }
	.blog-ad__img { margin: -22px -22px 6px; }
}

/* ---------- Comments ---------- */
.section--tight { padding-block: 0 clamp(56px, 7vw, 96px); }
.comments { max-width: 760px; padding-top: 32px; border-top: 1px solid var(--rule); }
.comment-list { list-style: none; padding: 0; }
.comment-list { display: flex; flex-direction: column; gap: 24px; margin: 24px 0 40px; }
.comment-list .comment-body { padding: 20px 0; border-top: 1px solid var(--rule); }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-list .comment-meta { font-size: 14px; color: var(--muted); }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 48px); }
.comment-respond { display: flex; flex-direction: column; gap: 8px; }
.comment-reply-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--heading); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; color: var(--text);
	background: var(--surface, var(--paper)); border: 1px solid var(--rule-strong); border-radius: 0;
}
.comment-form textarea { min-height: 160px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--heading); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }
.comment-form .submit { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; font: inherit; font-weight: 600; background: var(--orange); color: var(--on-orange); border: 0; cursor: pointer; }
.comment-form .submit:hover { filter: brightness(1.05); }

/* ---------- Services hub (page-services.php) ---------- */
.svc-jump { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.admin-bar .svc-jump { top: calc(var(--header-h) + 32px); }
.svc-jump__row { display: flex; align-items: center; gap: 8px 28px; min-height: 64px; overflow-x: auto; scrollbar-width: none; }
.svc-jump__row::-webkit-scrollbar { display: none; }
.svc-jump__label { flex: 0 0 auto; margin-right: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.svc-jump__link { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--heading); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s; }
.svc-jump__link:hover, .svc-jump__link:focus-visible { border-bottom-color: var(--orange); }
.svc-jump__num { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--warm-ink); }
.svc-jump__count { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 782px) { .admin-bar .svc-jump { top: var(--header-h); } }
@media (max-width: 640px) { .svc-jump__label { display: none; } }

.svc { scroll-margin-top: calc(var(--header-h) + 64px); }
.svc + .svc { border-top: 1px solid var(--rule); }
.svc__grid { display: grid; gap: 40px; }
.svc__num { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(4rem, 8vw, 7.5rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--orange); }
.svc__title { margin-top: 20px; font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 0.95; letter-spacing: -0.035em; color: var(--heading); }
.svc__dot { color: var(--orange); }
.svc__text { max-width: 40ch; margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.svc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }

.svc__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.svc-card { display: flex; background: var(--bg); transition-delay: calc(var(--i, 0) * 60ms); }
.svc-card__link { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 28px 28px 26px; color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; }
.svc-card__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .45s var(--ease); }
.svc-card__link::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--orange); transition: width .45s var(--ease); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; }
.svc-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule-strong); color: var(--heading); transition: background .3s, color .3s, border-color .3s; }
.svc-card__idx { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-card__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--heading); transition: color .3s; }
.svc-card__text { font-size: 15.5px; line-height: 1.55; color: var(--muted); transition: color .3s; }
.svc-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--heading); transition: color .3s, gap .3s; }
.svc-card__link:hover::before, .svc-card__link:focus-visible::before { transform: none; }
.svc-card__link:hover::after, .svc-card__link:focus-visible::after { width: 100%; }
.svc-card__link:hover .svc-card__title, .svc-card__link:focus-visible .svc-card__title,
.svc-card__link:hover .svc-card__go, .svc-card__link:focus-visible .svc-card__go { color: #fff; }
.svc-card__link:hover .svc-card__text, .svc-card__link:focus-visible .svc-card__text,
.svc-card__link:hover .svc-card__idx, .svc-card__link:focus-visible .svc-card__idx { color: #c9d6e0; }
.svc-card__link:hover .svc-card__icon, .svc-card__link:focus-visible .svc-card__icon { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.svc-card__link:hover .svc-card__go, .svc-card__link:focus-visible .svc-card__go { gap: 12px; }
.svc-card__link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

.svc-card--cta { background: var(--orange); }
.svc-card--cta .svc-card__link::before { background: var(--ink); }
.svc-card--cta .svc-card__icon { border-color: rgba(16, 22, 31, 0.35); color: var(--on-orange); }
.svc-card--cta .svc-card__title, .svc-card--cta .svc-card__go { color: var(--on-orange); }
.svc-card--cta .svc-card__text { color: rgba(16, 22, 31, 0.78); }

/* Dark pillar */
.svc--dark { background: var(--hero); color: var(--on-dark); }
.svc--dark + .svc, .svc + .svc--dark { border-top: 0; }
.svc--dark .svc__title { color: #fff; }
.svc--dark .svc__num { color: var(--orange-on-navy); }
.svc--dark .svc__text { color: var(--on-dark-muted); }
.svc--dark .link-plain { color: #fff; }
.svc--dark .svc__cards { background: var(--on-dark-rule); border-color: var(--on-dark-rule); }
.svc--dark .svc-card:not(.svc-card--cta) { background: var(--hero); }
.svc--dark .svc-card:not(.svc-card--cta) .svc-card__link::before { background: var(--ink); }
.svc--dark .svc-card__icon { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.svc--dark .svc-card:not(.svc-card--cta) .svc-card__title, .svc--dark .svc-card:not(.svc-card--cta) .svc-card__go { color: #fff; }
.svc--dark .svc-card:not(.svc-card--cta) .svc-card__text, .svc--dark .svc-card__idx { color: var(--on-dark-muted); }

@media (max-width: 639px) {
	.svc-card__link { min-height: 0; padding: 24px 22px; }
	.svc-card__top { padding-bottom: 14px; }
}
@media (min-width: 640px) {
	.svc__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* CTA tile fills the row when it would otherwise leave a hole. */
	.svc-card--cta:nth-child(odd) { grid-column: 1 / -1; }
	.svc-card--cta:nth-child(odd) .svc-card__link { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "icon title text" "icon title go"; align-items: start; gap: 6px 28px; }
	.svc-card--cta:nth-child(odd) .svc-card__top { grid-area: icon; padding: 0; }
	.svc-card--cta:nth-child(odd) .svc-card__title { grid-area: title; max-width: 16ch; }
	.svc-card--cta:nth-child(odd) .svc-card__text { grid-area: text; }
	.svc-card--cta:nth-child(odd) .svc-card__go { grid-area: go; margin-top: 4px; padding-top: 0; }
}
@media (min-width: 1000px) {
	.svc__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
	.svc__sticky { position: sticky; top: calc(var(--header-h) + 104px); }
	.admin-bar .svc__sticky { top: calc(var(--header-h) + 136px); }
}
@media (prefers-reduced-motion: reduce) {
	.svc-card__link::before, .svc-card__link::after { transition: none; }
}

/* ---------- Flex hero: legacy background media now sits behind the hero ---------- */
.fx-hero--has-bg { position: relative; overflow: hidden; isolation: isolate; }
.fx-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fx-hero__bg img, .fx-hero__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.fx-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero) 0%, rgba(19, 61, 86, 0.82) 42%, rgba(19, 61, 86, 0.2) 100%); }
[data-theme="dark"] .fx-hero__bg::after { background: linear-gradient(90deg, var(--hero) 0%, rgba(13, 34, 49, 0.85) 42%, rgba(13, 34, 49, 0.25) 100%); }
@media (max-width: 999px) { .fx-hero__bg::after { background: linear-gradient(180deg, rgba(19, 61, 86, 0.75), var(--hero)); } }

/* ---------- Town pages (Local Hero Landing Pages) ---------- */
.loc-hero .crumbs { margin-bottom: 26px; }
.loc-hero .fx-hero__title { max-width: 15ch; }
.loc-hero .fx-hero__title em { display: inline; }
.loc-hero__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--on-dark-rule); font-size: 14px; color: var(--on-dark-muted); }
.loc-hero__cap span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.loc-hero__cap a, .loc-hero__cap strong { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; text-decoration: none; }
.loc-hero__cap a:hover { color: var(--orange-on-navy); }

.loc__grid { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.loc__main { flex: 1 1 620px; min-width: 0; }
.loc__facts { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 2px 0 6px; padding: 0; font-size: 15px; color: #fff; }
.loc__facts li { display: flex; align-items: center; gap: 10px; }
.loc__facts .icon { color: var(--orange-on-navy); flex: 0 0 auto; }

.loc .lhlp-page { font-size: 18px; line-height: 1.65; color: var(--text); }
.loc .lhlp-page > * + * { margin-top: 24px; }
.loc .lhlp-page .lhlp-heading { margin: 64px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--heading); text-align: left; }
.loc .lhlp-page > .lhlp-heading:first-child { margin-top: 0; }
.loc .lhlp-page .lhlp-heading + * { margin-top: 20px; }
.loc .lhlp-page .lhlp-rich-text { margin: 0; max-width: 68ch; }
.loc .lhlp-page .lhlp-rich-text p + p { margin-top: 1em; }
.loc .lhlp-page .lhlp-rich-text a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.loc .lhlp-page .lhlp-rich-text strong { color: var(--heading); }
.loc .lhlp-page .lhlp-rich-text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.loc .lhlp-page .lhlp-rich-text ul li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); }
.loc .lhlp-page .lhlp-rich-text ul li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.loc .lhlp-page .lhlp-rich-text ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.loc .lhlp-page .lhlp-rich-text ol li { counter-increment: step; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--rule); }
.loc .lhlp-page .lhlp-rich-text ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1; color: var(--warm-ink); }
.loc .lhlp-page .lhlp-rich-text ol li strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.loc .lhlp-page .lhlp-rich-text ol + p { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* Offer columns as hairline cards */
.loc .lhlp-page .lhlp-columns { display: grid; grid-template-columns: 1fr; gap: 1px !important; margin: 40px 0 0; background: var(--rule); border: 1px solid var(--rule); }
.loc .lhlp-page .lhlp-column { background: var(--bg); padding: 26px 24px; transition: background .3s; }
.loc .lhlp-page .lhlp-column:hover { background: var(--surface); }
.loc .lhlp-page .lhlp-column h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.1; color: var(--heading); }
.loc .lhlp-page .lhlp-column .lhlp-rich-text { font-size: 16px; color: var(--muted); }
.loc .lhlp-page .lhlp-column .lhlp-rich-text p + p { margin-top: 10px; }
.loc .lhlp-page .lhlp-column .lhlp-rich-text strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--heading); }
.loc .lhlp-page .lhlp-column .lhlp-rich-text a { display: inline-flex; padding-bottom: 2px; border-bottom: 2px solid var(--orange); color: var(--heading); font-weight: 700; text-decoration: none; }
@media (min-width: 760px) { .loc .lhlp-page .lhlp-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .loc .lhlp-page .lhlp-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Testimonial */
.loc .lhlp-page .lhlp-testimonial { position: relative; margin: 64px 0 0; padding: 40px 0 0 0; background: none; border-radius: 0; border-top: 2px solid var(--heading); }
.loc .lhlp-page .lhlp-testimonial__stars { display: none; }
.loc .lhlp-page .lhlp-testimonial__quote { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--heading); }
.loc .lhlp-page .lhlp-testimonial__quote::before { content: "\201C"; color: var(--orange); }
.loc .lhlp-page .lhlp-testimonial__quote::after { content: "\201D"; color: var(--orange); }
.loc .lhlp-page .lhlp-testimonial__caption { margin-top: 18px; font-size: 15px; color: var(--muted); }
.loc .lhlp-page .lhlp-testimonial__caption strong { color: var(--heading); }

/* FAQ */
.loc .lhlp-page .lhlp-faq { margin: 0; border-top: 1px solid var(--rule-strong); }
.loc .lhlp-page .lhlp-faq__item { border-bottom: 1px solid var(--rule); border-top: 0; }
.loc .lhlp-page .lhlp-faq__q { position: relative; padding: 20px 44px 20px 0; list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--heading); }
.loc .lhlp-page .lhlp-faq__q::-webkit-details-marker { display: none; }
.loc .lhlp-page .lhlp-faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; width: auto; height: auto; border: 0; transform: translateY(-50%); font-family: var(--font-body); font-weight: 400; font-size: 28px; line-height: 1; color: var(--orange); opacity: 1; transition: transform .3s var(--ease); }
.loc .lhlp-page .lhlp-faq__item[open] .lhlp-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.loc .lhlp-page .lhlp-faq__q:hover { color: var(--accent-ink); }
.loc .lhlp-page .lhlp-faq__a { padding: 0 44px 20px 0; font-size: 17px; color: var(--muted); max-height: none; opacity: 1; }
.loc .lhlp-page .lhlp-faq__item:not([open]) .lhlp-faq__a { padding-bottom: 0; }

/* Nearby towns */
.loc .lhlp-page .lhlp-nearby { margin-top: 64px; padding: 28px; background: var(--paper); }
.loc .lhlp-page .lhlp-nearby__heading { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--heading); }
.loc .lhlp-page .lhlp-nearby__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.loc .lhlp-page .lhlp-nearby__item a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--rule-strong); background: var(--bg); color: var(--heading); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.loc .lhlp-page .lhlp-nearby__item a:hover { border-color: var(--heading); background: var(--heading); color: var(--bg); }

/* Plugin buttons as theme buttons */
.loc .lhlp-page .lhlp-button-wrap { margin-top: 40px; text-align: left; }
.loc .lhlp-page .lhlp-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 0; font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none; transform: none; opacity: 1; transition: background .2s, color .2s, border-color .2s; }
.loc .lhlp-page .lhlp-button--primary, .loc .lhlp-page .lhlp-button--accent { background: var(--orange); color: var(--on-orange); }
.loc .lhlp-page .lhlp-button--primary:hover, .loc .lhlp-page .lhlp-button--accent:hover { background: var(--heading); color: var(--bg); }
.loc .lhlp-page .lhlp-button--outline { background: transparent; border-color: var(--heading); color: var(--heading); }
.loc .lhlp-page .lhlp-divider--line { border-top: 1px solid var(--rule); }

/* ---------- Areas hub ---------- */
.hub__groups { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.hub__group { background: var(--bg); padding: 28px 28px 30px; }
.hub__county { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--heading); font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--heading); }
.hub__county span { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--warm-ink); }
.hub__list { list-style: none; margin: 0; padding: 0; columns: 1; }
.hub__list li { break-inside: avoid; }
.hub__list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--text); font-size: 16px; text-decoration: none; transition: color .2s, padding .2s; }
.hub__list a .icon { color: var(--muted); opacity: 0; transition: opacity .2s; }
.hub__list a:hover { color: var(--heading); padding-left: 6px; }
.hub__list a:hover .icon { opacity: 1; color: var(--orange); }
.hub__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 40px; }
.hub__foot p { max-width: 52ch; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--heading); }
@media (min-width: 700px) { .hub__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hub__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hub__group:first-child { grid-row: span 2; } .hub__group:first-child .hub__list { columns: 2; column-gap: 24px; } }

/* The panel already has a heading: hide Ninja Forms' own form title under it. */
.fs-panel__head + .fs-panel__body .nf-form-title { display: none; }
