/* ==========================================================================
   FCS template styles (Wave 4). Token-driven — all brand colors via --nsc-*.
   Neutrals use the token palette (--nsc-white / --nsc-bg-light / --nsc-border /
   --nsc-text / --nsc-heading). No hardcoded brand hex.
   ========================================================================== */

:root {
	--fcs-maxw: 1160px;
	--fcs-radius: 8px;
	--fcs-gap: 24px;
	--fcs-shadow: 0 2px 10px rgba(0, 0, 0, .06);
	--fcs-shadow-hover: 0 8px 26px rgba(0, 0, 0, .12);
	--fcs-dark: var(--nsc-navy, #2c3e50);
	--fcs-head-font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
	--fcs-body-font: 'Lato', 'Segoe UI', Arial, sans-serif;

	/* Fluid type scale (W6-E19) — one clamp()-based ramp used across templates,
	   so phone sizes are purpose-set, not desktop values squeezed down. */
	--fcs-fs-hero:    clamp(32px, 7.4vw, 54px);
	--fcs-fs-h1:      clamp(28px, 6vw, 44px);
	--fcs-fs-h2:      clamp(24px, 4.4vw, 38px);
	--fcs-fs-h3:      clamp(18px, 2.2vw, 20px);
	--fcs-fs-lead:    clamp(16px, 2vw, 18px);
	--fcs-fs-body:    clamp(15px, 1.6vw, 16.5px);
	--fcs-fs-display: clamp(30px, 5vw, 40px);

	/* Horizontal gutter honours the iOS safe-area on notched devices (W6-E22). */
	--fcs-gutter: 20px;
}

/* Brand typography — Montserrat headings, Lato body (scoped to FCS templates). */
.fcs-hero, .fcs-section, .fcs-pagehead, .fcs-single, .fcs-footer,
.fcs-breadcrumbs, .fcs-trustbar, .fcs-cta, .fcs-contact__grid { font-family: var(--fcs-body-font); }
.fcs-hero__title, .fcs-section-title, .fcs-pagehead__title, .fcs-cta__title,
.fcs-card__title, .fcs-footer__brand h3, .fcs-eyebrow, .fcs-hero__eyebrow,
.fcs-pagehead__eyebrow, .fcs-footer h4, .fcs-facts h3, .fcs-sidebar__cta h3,
.fcs-prose h2, .fcs-prose h3 { font-family: var(--fcs-head-font); }

.fcs-container {
	max-width: var(--fcs-maxw);
	margin-inline: auto;
	padding-left: max(var(--fcs-gutter), env(safe-area-inset-left));
	padding-right: max(var(--fcs-gutter), env(safe-area-inset-right));
}
/* Anchor targets clear the sticky header on smooth-scroll (W6-E20). */
[id] { scroll-margin-top: 90px; }

/* ==========================================================================
   Native site header (North Sea base theme) — replaces the ElementsKit header.
   ========================================================================== */
.fcs-icon { width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -0.125em; }

/* Top contact bar — FCS dark strip + NEFS-style icon + two-line blocks, kept tight. */
.ns-header__utility { background: var(--fcs-dark); }
.ns-header__utility-row { display: flex; align-items: center; justify-content: flex-end; gap: 30px; min-height: 50px; }
.fcs-contact { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.15; }
.fcs-contact__ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nsc-white); color: var(--nsc-primary); }
.fcs-contact__ico .fcs-icon { width: 15px; height: 15px; }
.fcs-contact__txt { display: flex; flex-direction: column; }
.fcs-contact__txt b { color: var(--nsc-white); font-weight: 700; font-size: 14px; }
.fcs-contact__txt small { color: rgba(255, 255, 255, .62); font-size: 12px; }
.fcs-contact--phone:hover .fcs-contact__txt b { color: #f3b0b6; }

.ns-header__main { position: sticky; top: 0; z-index: 60; background: var(--nsc-white); border-bottom: 1px solid var(--nsc-border); }
.ns-header__main-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.ns-header__logo { display: inline-flex; align-items: center; }
.ns-header__logo img { height: 62px; width: auto; }
.ns-header__wordmark { font-family: var(--fcs-head-font); font-weight: 800; font-size: 26px; color: var(--nsc-primary); }

.ns-nav { display: flex; align-items: center; gap: 6px; }
.ns-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ns-nav__list li { margin: 0; position: relative; }
.ns-nav__list a { display: block; padding: 10px 13px; font-family: var(--fcs-head-font); font-weight: 600; font-size: 15px; color: var(--nsc-heading); border-radius: 6px; text-decoration: none; }
.ns-nav__list > li > a:hover,
.ns-nav__list > .current-menu-item > a,
.ns-nav__list > .current-menu-parent > a,
.ns-nav__list > .current-post-parent > a { color: var(--nsc-primary); }
.ns-header__cta { margin-left: 8px; }

/* Sub-menus (depth 2) */
.ns-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: 8px; box-shadow: var(--fcs-shadow-hover); padding: 6px; list-style: none; margin: 0; display: none; z-index: 5; }
.ns-nav__list li:hover > .sub-menu, .ns-nav__list li:focus-within > .sub-menu { display: block; }
.ns-nav__list .sub-menu a { padding: 9px 12px; font-size: 14.5px; }

/* Hamburger toggle */
.ns-header__toggle { display: none; background: transparent; border: 1px solid var(--nsc-border); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.ns-header__toggle-bars { display: inline-block; width: 22px; height: 16px; position: relative; }
.ns-header__toggle-bars span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--nsc-heading); border-radius: 2px; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.ns-header__toggle-bars span:nth-child(1) { top: 0; }
.ns-header__toggle-bars span:nth-child(2) { top: 7px; }
.ns-header__toggle-bars span:nth-child(3) { top: 14px; }
.ns-header__toggle[aria-expanded="true"] .ns-header__toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.ns-header__toggle[aria-expanded="true"] .ns-header__toggle-bars span:nth-child(2) { opacity: 0; }
.ns-header__toggle[aria-expanded="true"] .ns-header__toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.ns-nav__inner { display: contents; }
.ns-nav__close { display: none; }
@media (max-width: 980px) {
	.fcs-contact--hide { display: none; }
	.ns-header__utility-row { justify-content: center; min-height: 44px; }
	.ns-header__toggle { display: inline-flex; }
	/* Full-screen fade-in menu. Opacity/visibility only — NO transforms, so there
	   is nothing for iOS Safari to mis-position or stall. Clean + touch-friendly. */
	.ns-nav {
		position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
		background: var(--nsc-white);
		display: block; overflow-y: auto; -webkit-overflow-scrolling: touch;
		opacity: 0; visibility: hidden; pointer-events: none;
		transition: opacity .22s ease, visibility 0s linear .22s;
	}
	.ns-nav.is-open {
		opacity: 1; visibility: visible; pointer-events: auto;
		transition: opacity .22s ease, visibility 0s;
	}
	body.ns-nav-open { overflow: hidden; }
	.ns-nav__inner { display: flex; flex-direction: column; align-items: stretch; min-height: 100%; gap: 0; padding: 74px 22px 40px; }
	.ns-nav__close {
		position: fixed; top: 14px; right: 14px; z-index: 2;
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border-radius: 50%;
		background: var(--nsc-white); border: 1px solid var(--nsc-border); box-shadow: var(--fcs-shadow);
		font-size: 26px; line-height: 1; color: var(--nsc-heading); cursor: pointer;
	}
	.ns-nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.ns-nav__list a { display: block; padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--nsc-border); border-radius: 0; min-height: 48px; }
	.ns-nav__list .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 12px; }
	.ns-header__cta { margin: 22px 0 0; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ns-nav { transition: none; } }

/* Accessibility: visible focus on interactive elements. */
.fcs-btn:focus-visible, .fcs-card:focus-visible, .fcs-chip:focus-visible,
.fcs-area:focus-visible, .nsc-lookup__sys:focus-visible, .nsc-lookup__cta:focus-visible,
.fcs-footer a:focus-visible, .fcs-breadcrumbs a:focus-visible, .fcs-faq summary:focus-visible {
	outline: 3px solid var(--nsc-navy, #2c3e50);
	outline-offset: 2px;
}
.fcs-footer__legal a { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
	.fcs-card, .fcs-btn, .nsc-lookup__result, .nsc-lookup__cta { transition: none !important; animation: none !important; }
}

/* Buttons ----------------------------------------------------------------- */
.fcs-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 22px; border-radius: var(--fcs-radius);
	font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	border: 2px solid transparent; cursor: pointer;
}
/* Button text colors use two-class selectors (0,2,0) so they beat the Elementor
   global kit's `.elementor-kit-26634 a { color: … }` (0,1,1), which otherwise
   forces every button's text to the dark body color. */
.fcs-btn.fcs-btn--primary { background: var(--nsc-primary); color: var(--nsc-white); }
.fcs-btn.fcs-btn--primary:hover { background: var(--nsc-primary-dark); color: var(--nsc-white); transform: translateY(-1px); }
.fcs-btn.fcs-btn--ghost { background: transparent; color: var(--nsc-primary); border-color: var(--nsc-primary); }
.fcs-btn.fcs-btn--ghost:hover { background: var(--nsc-primary); color: var(--nsc-white); }
.fcs-btn.fcs-btn--light { background: var(--nsc-white); color: var(--nsc-primary); }
.fcs-btn.fcs-btn--light:hover { color: var(--nsc-primary); transform: translateY(-1px); box-shadow: var(--fcs-shadow-hover); }
/* On-brand (red band) button: white outline that fills white on hover.
   Never use --ghost (red-on-red) on a red surface. */
.fcs-btn.fcs-btn--on-brand { background: transparent; color: var(--nsc-white); border-color: var(--nsc-white); }
.fcs-btn.fcs-btn--on-brand:hover { background: var(--nsc-white); color: var(--nsc-primary); transform: translateY(-1px); box-shadow: var(--fcs-shadow-hover); }

/* ==========================================================================
   On-dark / on-brand contrast system (W6-B4, root-cause fix)
   The Worktop parent sets `h1–h6 { color: var(--e-global-color-text) }` at
   element specificity — bridged to the dark --nsc-text — so any heading on a
   navy/red surface that only *inherits* a light color renders dark-on-dark.
   Every heading, body, link and button on a dark or brand surface therefore
   gets an EXPLICIT token color (class specificity beats the element rule).
   ========================================================================== */
:root {
	--fcs-on-dark:        var(--nsc-white);
	--fcs-on-dark-muted:  rgba(255, 255, 255, .82);
	--fcs-on-dark-faint:  rgba(255, 255, 255, .62);
	--fcs-on-dark-border: rgba(255, 255, 255, .22);
	--fcs-on-brand:       var(--nsc-white);
	--fcs-on-brand-muted: rgba(255, 255, 255, .92);
}

/* Navy surfaces — headings + eyebrows white. */
.fcs-hero__title,
.fcs-pagehead__title,
.fcs-section--dark :is(h1, h2, h3, h4, h5, h6),
.fcs-footer :is(h3, h4) { color: var(--fcs-on-dark); }

.fcs-hero__eyebrow, .fcs-pagehead__eyebrow { color: var(--nsc-primary); }

/* Navy surfaces — body/intro/meta muted-white. */
.fcs-hero__sub,
.fcs-pagehead__intro,
.fcs-section--dark p,
.fcs-footer p,
.fcs-footer address,
.fcs-footer li,
.fcs-footer__brand p { color: var(--fcs-on-dark-muted); }

/* Navy surfaces — links + hover. */
.fcs-hero a:not(.fcs-btn),
.fcs-pagehead a:not(.fcs-btn),
.fcs-section--dark a:not(.fcs-btn) { color: var(--fcs-on-dark); }
.fcs-footer__license, .fcs-footer__certs, .fcs-footer__bottom { color: var(--fcs-on-dark-faint); }

/* Brand (red) surfaces — headings white, body muted-white. */
.fcs-trustbar,
.fcs-trustbar__item,
.fcs-cta__title,
.fcs-cta :is(h1, h2, h3),
.fcs-sidebar__cta :is(h1, h2, h3, h4) { color: var(--fcs-on-brand); }
.fcs-cta__sub,
.fcs-sidebar__cta p { color: var(--fcs-on-brand-muted); }
/* On-red links that aren't buttons stay legible. */
.fcs-sidebar__cta .fcs-sidebar__cta-link { color: var(--nsc-white); text-decoration: underline; font-weight: 700; }
.fcs-sidebar__cta .fcs-sidebar__cta-link:hover { color: var(--fcs-on-brand-muted); }

/* Section scaffolding ----------------------------------------------------- */
.fcs-section { padding: 72px 0; }
.fcs-section--tint { background: var(--nsc-bg-light); }
.fcs-section--dark { background: var(--fcs-dark); color: var(--nsc-white); }
.fcs-section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.fcs-eyebrow {
	display: inline-block; text-transform: uppercase; letter-spacing: 2px;
	font-size: 12px; font-weight: 700; color: var(--nsc-primary); margin-bottom: 10px;
}
.fcs-section-title { font-size: var(--fcs-fs-h2); line-height: 1.15; margin: 0 0 12px; color: var(--nsc-heading); }
.fcs-section--dark .fcs-section-title { color: var(--nsc-white); }
.fcs-section-intro { font-size: 17px; color: var(--nsc-text); margin: 0; }
.fcs-section--dark .fcs-section-intro { color: rgba(255, 255, 255, .82); }

/* Hero -------------------------------------------------------------------- */
.fcs-hero { background: var(--fcs-dark); color: var(--nsc-white); overflow: hidden; }
.fcs-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.fcs-hero__content { padding: 48px 40px 48px 0; max-width: 620px; margin-left: auto; }
.fcs-hero__eyebrow { color: var(--nsc-primary); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.fcs-hero__title { font-size: var(--fcs-fs-hero); line-height: 1.06; margin: 14px 0 18px; letter-spacing: -.5px; }
.fcs-hero__sub { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .85); margin: 0 0 28px; }
.fcs-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.fcs-hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fcs-hero__chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.fcs-hero__chip::before { content: "✓"; color: var(--nsc-primary); font-weight: 900; }
.fcs-hero__media { background-size: cover; background-position: center; min-height: 420px; }
/* Image is absolutely positioned so it fills the panel WITHOUT driving the hero's
   height by its own aspect ratio (which made the hero grow taller on wider screens
   / when zooming out). Hero height is now content-driven and stable at any width. */
.fcs-hero__media--photo { position: relative; padding: 0; overflow: hidden; }
.fcs-hero__media--photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Video hero variant — looped background video covers the panel + brand scrim. */
.fcs-hero__media--video { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--nsc-primary) 0%, var(--fcs-dark) 70%); }
.fcs-hero__bgvideo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); aspect-ratio: 16 / 9; min-width: 100%; min-height: 100%; width: auto; height: auto; border: 0; pointer-events: none; }
.fcs-hero__videoscrim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background: linear-gradient(135deg, rgba(178, 45, 56, .20) 0%, rgba(15, 22, 30, .30) 100%); }

/* Full-bleed video hero (copy overlaid). */
.fcs-hero--full { position: relative; min-height: clamp(460px, 72vh, 640px); display: flex; align-items: center; overflow: hidden; padding: 48px 0; }
.fcs-hero--full .fcs-hero__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.fcs-hero--full .fcs-hero__overlay { position: relative; z-index: 2; width: 100%; }
/* Reset the split-hero's margin-left:auto/right-padding so full-bleed copy sits at the left. */
.fcs-hero--full .fcs-hero__content { max-width: 620px; margin: 0; padding: 0; }
.fcs-hero--full .fcs-hero__videoscrim { background: linear-gradient(90deg, rgba(15, 22, 30, .80) 0%, rgba(15, 22, 30, .55) 45%, rgba(15, 22, 30, .28) 100%); }

/* Glass-card variant. */
.fcs-hero--glass .fcs-hero__videoscrim { background: linear-gradient(120deg, rgba(15, 22, 30, .48), rgba(15, 22, 30, .26)); }
/* Scoped selector (specificity ≥ the content reset above) so the card keeps its padding. */
.fcs-hero--full .fcs-hero__glass { background: rgba(15, 22, 30, .40); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 40px 44px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
@media (max-width: 560px) { .fcs-hero--full { padding: 32px 0; } .fcs-hero--full .fcs-hero__glass { padding: 28px 24px; border-radius: 14px; } }

/* Play button on the photo hero (opens the video lightbox). */
.fcs-hero__media--play::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 22, 30, .30); z-index: 2; pointer-events: none; }
.fcs-hero__play.fcs-videobtn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; padding: 0; gap: 0; border: 0; border-radius: 50%; background: var(--nsc-primary); box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 14px 34px rgba(0, 0, 0, .42); z-index: 3; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.fcs-hero__play.fcs-videobtn:hover { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 12px rgba(255, 255, 255, .24), 0 16px 40px rgba(0, 0, 0, .46); }
.fcs-hero__playicon { width: 30px; height: 30px; margin-left: 4px; color: #fff; }

/* Grids + cards ----------------------------------------------------------- */
.fcs-grid { display: grid; gap: var(--fcs-gap); }
.fcs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fcs-grid--4 { grid-template-columns: repeat(4, 1fr); }
.fcs-grid--2 { grid-template-columns: repeat(2, 1fr); }

.fcs-card {
	display: flex; flex-direction: column; gap: 8px; background: var(--nsc-white);
	border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius);
	padding: 24px; text-decoration: none; color: var(--nsc-text);
	box-shadow: var(--fcs-shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fcs-card:hover { transform: translateY(-3px); box-shadow: var(--fcs-shadow-hover); border-color: var(--nsc-primary); }
.fcs-card__icon { color: var(--nsc-primary); display: inline-flex; }
.fcs-card__icon .fcs-icon { width: 26px; height: 26px; }

/* About-us quick-hitter (home, after hero). Image + copy; stacks on mobile. */
.fcs-aboutintro__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.fcs-aboutintro__media { border-radius: 14px; overflow: hidden; min-height: 320px; background: linear-gradient(135deg, var(--nsc-primary) 0%, var(--fcs-dark) 78%); display: flex; align-items: center; justify-content: center; padding: 40px; }
.fcs-aboutintro__media img { width: 74%; max-width: 300px; height: auto; opacity: .95; }
.fcs-aboutintro__media--photo { padding: 0; min-height: 0; background: none; display: block; }
.fcs-aboutintro__media--photo img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; opacity: 1; }
.fcs-aboutintro__title { font-family: var(--fcs-head-font); color: var(--nsc-heading); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.14; margin: 10px 0 16px; }
.fcs-aboutintro__body p { color: var(--nsc-secondary); margin: 0 0 14px; }
.fcs-aboutintro__body .fcs-btn { margin-top: 10px; }
@media (max-width: 860px) {
	.fcs-aboutintro__grid { grid-template-columns: 1fr; gap: 26px; }
	.fcs-aboutintro__media { min-height: 210px; }
	.fcs-aboutintro__media--photo { min-height: 0; }
}
.fcs-card__title { font-size: 19px; margin: 0; color: var(--nsc-heading); }
.fcs-card__text { font-size: 14.5px; line-height: 1.55; margin: 2px 0 0; color: var(--nsc-text); }
.fcs-card__meta { font-size: 12.5px; color: var(--nsc-secondary); font-weight: 600; }
.fcs-card__link { margin-top: auto; padding-top: 8px; color: var(--nsc-primary); font-weight: 700; font-size: 14px; }
.fcs-badge {
	align-self: flex-start; background: color-mix(in srgb, var(--nsc-primary) 12%, white);
	color: var(--nsc-primary); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
}

/* Service areas ----------------------------------------------------------- */
.fcs-areas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.fcs-area {
	background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: 6px;
	padding: 14px 16px; text-decoration: none; color: var(--nsc-heading); display: flex; flex-direction: column; gap: 2px;
}
a.fcs-area:hover { border-color: var(--nsc-primary); box-shadow: var(--fcs-shadow); }
.fcs-area__name { font-weight: 700; font-size: 15px; }
.fcs-area__county { font-size: 12px; color: var(--nsc-secondary); }
.fcs-area__link { font-size: 12px; color: var(--nsc-primary); font-weight: 700; margin-top: 4px; }

/* Testimonials ------------------------------------------------------------ */
.fcs-quote { position: relative; background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); padding: 26px; margin: 0; box-shadow: var(--fcs-shadow); }
.fcs-quote blockquote { margin: 8px 0 14px; font-size: 16px; line-height: 1.6; color: var(--nsc-text); }
.fcs-quote figcaption { font-weight: 700; color: var(--nsc-heading); font-size: 14px; }
.fcs-quote figcaption span { font-weight: 500; color: var(--nsc-secondary); }
.fcs-stars { color: var(--nsc-primary); letter-spacing: 2px; }
.fcs-demo-flag { position: absolute; top: 12px; right: 12px; background: var(--nsc-secondary); color: var(--nsc-white); font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 2px 7px; border-radius: 4px; }

/* Trust bar --------------------------------------------------------------- */
.fcs-trustbar { background: var(--nsc-primary); color: var(--nsc-white); }
.fcs-trustbar__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 20px; }
.fcs-trustbar__item { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.fcs-trustbar__item::before { content: "●"; font-size: 8px; opacity: .7; }

/* CTA band ---------------------------------------------------------------- */
.fcs-cta { background: var(--nsc-primary); color: var(--nsc-white); }
.fcs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 20px; flex-wrap: wrap; }
.fcs-cta__title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; color: var(--nsc-white); }
.fcs-cta__sub { margin: 0; color: rgba(255, 255, 255, .9); max-width: 620px; }
.fcs-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Breadcrumbs ------------------------------------------------------------- */
.fcs-breadcrumbs { background: var(--nsc-bg-light); border-bottom: 1px solid var(--nsc-border); font-size: 13.5px; }
.fcs-breadcrumbs .fcs-container { padding-block: 12px; }
.fcs-breadcrumbs a { color: var(--nsc-secondary); text-decoration: none; }
.fcs-breadcrumbs a:hover { color: var(--nsc-primary); }
.fcs-breadcrumbs span[aria-current] { color: var(--nsc-heading); font-weight: 600; }

/* Page header (hubs/singles) --------------------------------------------- */
.fcs-pagehead { background: var(--fcs-dark); color: var(--nsc-white); padding: 56px 0; }
.fcs-pagehead__eyebrow { color: var(--nsc-primary); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
.fcs-pagehead__title { font-size: var(--fcs-fs-h1); margin: 10px 0 10px; line-height: 1.12; }
.fcs-pagehead__intro { font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 760px; margin: 0; }

/* Single/content layout --------------------------------------------------- */
.fcs-single { padding: 60px 0; }
.fcs-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.fcs-single__main { min-width: 0; }
.fcs-single__main img { max-width: 100%; height: auto; }
.fcs-single__main table { display: block; width: 100%; overflow-x: auto; }
@media (max-width: 900px) { .fcs-single__grid { grid-template-columns: 1fr; gap: 32px; } .fcs-sidebar { position: static; } }
.fcs-prose { font-size: 16.5px; line-height: 1.7; color: var(--nsc-text); }
.fcs-prose h2 { color: var(--nsc-heading); margin: 1.6em 0 0.5em; }
.fcs-prose h2:first-child { margin-top: 0; }
.fcs-prose h3 { color: var(--nsc-heading); margin: 1.4em 0 0.4em; }
.fcs-prose a { color: var(--nsc-primary); }
/* Related-page link nav — compact, tappable chips for internal cross-links. */
.fcs-linknav { margin-top: 2.2em; }
.fcs-linknav__label { display: block; font-family: var(--fcs-head-font); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--nsc-secondary); margin-bottom: 12px; }
.fcs-linknav__items { display: flex; flex-wrap: wrap; gap: 12px; }
.fcs-linknav__item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); background: var(--nsc-white); color: var(--nsc-heading); font-family: var(--fcs-head-font); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: var(--fcs-shadow); transition: border-color .15s ease, transform .15s ease, color .15s ease; }
.fcs-linknav__item:hover { border-color: var(--nsc-primary); color: var(--nsc-primary); transform: translateY(-2px); }
.fcs-linknav__arrow { color: var(--nsc-primary); font-weight: 800; transition: transform .15s ease; }
.fcs-linknav__item:hover .fcs-linknav__arrow { transform: translateX(3px); }
/* Template-level section headings in the main column sit outside .fcs-prose,
   so they miss its rhythm — base.css resets all heading margins to 0. Give the
   "Services we perform…", "Where we service…" headings breathing room. */
.fcs-single__main > h2 { margin: 1.9em 0 .75em; }
.fcs-single__main > h2:first-child { margin-top: 0; }
.fcs-single__main > .fcs-grid,
.fcs-single__main > .fcs-chiplist { margin-bottom: .5em; }
.fcs-facts { background: var(--nsc-bg-light); border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); padding: 22px; }
.fcs-facts h3 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--nsc-secondary); }
.fcs-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.fcs-facts dt { font-weight: 700; color: var(--nsc-heading); }
.fcs-facts dd { margin: 0; color: var(--nsc-text); }
.fcs-sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.fcs-sidebar__cta { background: var(--nsc-primary); color: var(--nsc-white); border-radius: var(--fcs-radius); padding: 24px; }
.fcs-sidebar__cta h3 { margin: 0 0 8px; color: var(--nsc-white); }
.fcs-sidebar__cta p { color: rgba(255, 255, 255, .9); font-size: 14px; margin: 0 0 14px; }
.fcs-chiplist { display: flex; flex-wrap: wrap; gap: 8px; }
.fcs-chip { background: var(--nsc-bg-light); border: 1px solid var(--nsc-border); border-radius: 20px; padding: 5px 12px; font-size: 13px; color: var(--nsc-heading); text-decoration: none; }
.fcs-chip:hover { border-color: var(--nsc-primary); color: var(--nsc-primary); }

/* FAQ accordion ----------------------------------------------------------- */
.fcs-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.fcs-faq details { background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); padding: 4px 20px; box-shadow: var(--fcs-shadow); }
.fcs-faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--nsc-heading); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fcs-faq summary::-webkit-details-marker { display: none; }
.fcs-faq summary::after { content: "+"; color: var(--nsc-primary); font-weight: 800; font-size: 22px; line-height: 1; }
.fcs-faq details[open] summary::after { content: "–"; }
.fcs-faq details > div { padding: 0 0 18px; color: var(--nsc-text); line-height: 1.6; }

/* Footer (custom child footer) ------------------------------------------- */
.fcs-footer { background: var(--fcs-dark); color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.fcs-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.fcs-footer a:hover { color: var(--nsc-white); }
.fcs-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 56px 40px; }
.fcs-footer__brand h3 { color: var(--nsc-white); font-size: 20px; margin: 0 0 10px; }
.fcs-footer__nap { display: grid; gap: 4px; margin: 10px 0 14px; }
.fcs-footer__license { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.fcs-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.fcs-footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .82); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.fcs-footer__social-link .fcs-icon { width: 17px; height: 17px; }
.fcs-footer__social-link:hover { background: var(--nsc-primary); border-color: var(--nsc-primary); color: var(--nsc-white); }
.fcs-footer h4 { color: var(--nsc-white); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 14px; }
.fcs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fcs-footer__endorse { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* Never stretch the logo: a flex column stretches children to the cross axis by
   default, which distorted the white logo (271×38, ratio 7.1 vs true 1.82).
   align-self:flex-start + width:auto + object-fit:contain keeps it proportional. */
.fcs-footer__endorse img, .fcs-footer__logo {
	align-self: flex-start;
	height: 44px; width: auto; max-width: 100%;
	object-fit: contain;
}
.fcs-footer__certs { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.fcs-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* Contact ----------------------------------------------------------------- */
.fcs-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fcs-contact__map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--fcs-radius); display: block; }
.fcs-map-note { font-size: 13px; color: var(--nsc-secondary); margin: 10px 0 0; }
.fcs-map-note a { color: var(--nsc-primary); font-weight: 700; text-decoration: none; }
.fcs-map-note a:hover { text-decoration: underline; }
.fcs-contact__info { display: grid; gap: 16px; }
.fcs-infoblock { display: flex; gap: 14px; align-items: flex-start; }
.fcs-infoblock strong { color: var(--nsc-heading); }
.fcs-infoblock__ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(178, 45, 56, .10); color: var(--nsc-primary); margin-top: 2px; }
.fcs-infoblock__ico .fcs-icon { width: 19px; height: 19px; }

/* Inspection Frequency Lookup (northsea-core [nsc_frequency_lookup]) -------- */
.nsc-lookup { max-width: var(--fcs-maxw); margin: 0 auto; font-family: var(--fcs-body-font, sans-serif); }
.nsc-lookup__head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.nsc-lookup__eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--nsc-primary); margin-bottom: 8px; }
.nsc-lookup__title { font-family: var(--fcs-head-font, sans-serif); font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; color: var(--nsc-heading); }
.nsc-lookup__intro { font-size: 16px; color: var(--nsc-text); margin: 0; }
.nsc-lookup__body { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--nsc-border); border-radius: 12px; overflow: hidden; box-shadow: var(--fcs-shadow, 0 2px 10px rgba(0,0,0,.06)); background: var(--nsc-white); }
.nsc-lookup__systems { background: var(--nsc-bg-light); border-right: 1px solid var(--nsc-border); padding: 10px; display: flex; flex-direction: column; gap: 4px; max-height: 460px; overflow: auto; }
.nsc-lookup__sys { text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 12px 14px; font: 600 15px var(--fcs-body-font, sans-serif); color: var(--nsc-heading); cursor: pointer; transition: background .15s, color .15s; }
.nsc-lookup__sys:hover { background: color-mix(in srgb, var(--nsc-primary) 8%, white); }
.nsc-lookup__sys.is-active { background: var(--nsc-primary); color: var(--nsc-white); }
/* Reserve result height so JS-populated content can't shift the page (no CLS). */
.nsc-lookup__result { padding: 34px; display: flex; flex-direction: column; align-items: flex-start; min-height: 360px; }
@media (max-width: 720px) { .nsc-lookup__result { min-height: 420px; } }
.nsc-lookup__result.is-in { animation: nsc-fade .35s ease; }
@keyframes nsc-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nsc-lookup__code { align-self: flex-start; background: color-mix(in srgb, var(--nsc-primary) 12%, white); color: var(--nsc-primary); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.nsc-lookup__freqgrid { display: flex; gap: 40px; margin: 0 0 14px; flex-wrap: wrap; }
.nsc-lookup__freqlabel { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: var(--nsc-secondary); font-weight: 700; }
.nsc-lookup__freq, .nsc-lookup__test { font-family: var(--fcs-head-font, sans-serif); font-size: clamp(22px, 3.2vw, 34px); font-weight: 800; color: var(--nsc-heading); line-height: 1.1; margin: 4px 0 0; }
.nsc-lookup__test { color: var(--nsc-primary); }
.nsc-lookup__desc { font-size: 15.5px; line-height: 1.6; color: var(--nsc-text); margin: 0 0 16px; }
.nsc-lookup__services { margin: 0 0 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.nsc-lookup__svclabel { flex: 0 0 100%; margin-bottom: 2px; font-size: 13px; font-weight: 700; color: var(--nsc-secondary); }
.nsc-lookup__svc { background: var(--nsc-bg-light); border: 1px solid var(--nsc-border); border-radius: 20px; padding: 6px 13px; font-size: 13px; line-height: 1.2; white-space: nowrap; color: var(--nsc-heading); text-decoration: none; transition: border-color .15s, color .15s; }
.nsc-lookup__svc:hover { border-color: var(--nsc-primary); color: var(--nsc-primary); }
.nsc-lookup__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: auto; }
.nsc-lookup__print { background: transparent; border: 0; color: var(--nsc-secondary); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; padding: 0; font-family: inherit; }
.nsc-lookup__print:hover { color: var(--nsc-primary); }
.nsc-lookup .nsc-lookup__cta { background: var(--nsc-primary); color: var(--nsc-white); text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 8px; transition: background .15s, transform .15s; }
.nsc-lookup .nsc-lookup__cta:hover { background: var(--nsc-primary-dark); transform: translateY(-1px); color: var(--nsc-white); }
.nsc-lookup .nsc-lookup__more { color: var(--nsc-primary); font-weight: 700; text-decoration: none; }
.nsc-lookup__note { font-size: 12px; color: var(--nsc-secondary); margin: 18px 0 0; }
@media (max-width: 720px) {
	.nsc-lookup__body { grid-template-columns: 1fr; }
	.nsc-lookup__systems { flex-direction: row; overflow-x: auto; max-height: none; border-right: 0; border-bottom: 1px solid var(--nsc-border); }
	.nsc-lookup__sys { white-space: nowrap; }
}

/* Compliance stats band (W6-C14) ------------------------------------------ */
.fcs-stats { background: var(--nsc-primary); color: var(--nsc-white); padding: 40px 0; }
.fcs-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.fcs-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fcs-stat__flame { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1; }
.fcs-stat__num { font-family: var(--fcs-head-font); font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--nsc-white); line-height: 1.05; }
.fcs-stat__label { font-size: 13px; color: rgba(255, 255, 255, .82); text-transform: uppercase; letter-spacing: 1px; }

/* Interactive CT coverage map (W6-C12) ------------------------------------- */
.fcs-ctmap__stage { max-width: 780px; margin: 0 auto; }
.fcs-ctmap__svg { width: 100%; height: auto; display: block; overflow: visible; }
.fcs-ctmap__outline { fill: color-mix(in srgb, var(--nsc-navy) 7%, white); stroke: var(--nsc-navy); stroke-width: 2.5; stroke-linejoin: round; }
.fcs-ctmap__pin { cursor: pointer; }
.fcs-ctmap__dot { fill: var(--nsc-navy); transition: transform .16s ease, fill .16s ease; transform-box: fill-box; transform-origin: center; }
.fcs-ctmap__pin.is-anchor .fcs-ctmap__dot { fill: var(--nsc-primary); }
.fcs-ctmap__pin:hover .fcs-ctmap__dot,
.fcs-ctmap__pin:focus-visible .fcs-ctmap__dot { fill: var(--nsc-primary); transform: scale(1.4); }
.fcs-ctmap__pin:focus-visible .fcs-ctmap__dot { stroke: var(--nsc-white); stroke-width: 3; }
.fcs-ctmap__pin:focus { outline: none; }
.fcs-ctmap__tip { opacity: 0; transition: opacity .16s ease; pointer-events: none; }
.fcs-ctmap__tip rect { fill: var(--nsc-navy); }
.fcs-ctmap__tip text { fill: #fff; font: 700 15px var(--fcs-body-font); }
.fcs-ctmap__pin:hover .fcs-ctmap__tip,
.fcs-ctmap__pin:focus-visible .fcs-ctmap__tip { opacity: 1; }
.fcs-ctmap__legend { display: flex; gap: 8px 20px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--nsc-secondary); margin-top: 14px; }
.fcs-ctmap__key { width: 12px; height: 12px; border-radius: 50%; background: var(--nsc-navy); display: inline-block; margin-left: 8px; }
.fcs-ctmap__key--anchor { background: var(--nsc-primary); }
.fcs-ctmap__list { display: none; margin: 0; padding: 0; list-style: none; }

/* Facility-type router (W6-C13) -------------------------------------------- */
.fcs-router { text-align: center; }
.fcs-router__lead { display: block; font-family: var(--fcs-head-font); font-weight: 700; font-size: 18px; color: var(--nsc-heading); margin-bottom: 16px; }
.fcs-router__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fcs-router__btn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); text-decoration: none; color: var(--nsc-heading); font-weight: 700; font-size: 13.5px; box-shadow: var(--fcs-shadow); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.fcs-router__btn:hover { transform: translateY(-3px); border-color: var(--nsc-primary); box-shadow: var(--fcs-shadow-hover); color: var(--nsc-primary); }
.fcs-router__icon { color: var(--nsc-primary); line-height: 1; display: inline-flex; }
.fcs-router__icon .fcs-icon { width: 26px; height: 26px; }

/* Compact services accordion (home). */
.fcs-accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.fcs-accordion__item { background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); padding: 2px 20px; box-shadow: var(--fcs-shadow); }
.fcs-accordion__summary { cursor: pointer; font-family: var(--fcs-head-font); font-weight: 700; font-size: 16px; color: var(--nsc-heading); padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fcs-accordion__summary::-webkit-details-marker { display: none; }
.fcs-accordion__summary::after { content: "+"; color: var(--nsc-primary); font-weight: 800; font-size: 22px; line-height: 1; }
.fcs-accordion__item[open] .fcs-accordion__summary::after { content: "–"; }
.fcs-accordion__body { padding: 0 0 16px; color: var(--nsc-secondary); line-height: 1.6; }
.fcs-accordion__body p { margin: 0 0 8px; }
.fcs-accordion__link { color: var(--nsc-primary); font-weight: 700; font-size: 14px; text-decoration: none; }
.fcs-accordion__link:hover { text-decoration: underline; }
/* Homepage FAQ: let the accordion fill the container so it lines up with the
   card grid above instead of floating narrow/centered on white. */
/* FAQ section wrapper (distinct from the .fcs-faq archive grid component) —
   full body width, accordion fills its container, responsive by default. */
.fcs-faqs .fcs-accordion { max-width: none; }

/* About intro video — compact click-to-play facade + lightbox (keeps the dated
   embed off the page until asked, so it doesn't drag down the UI). */
.fcs-videocta { margin: 6px 0 28px; }
.fcs-videobtn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: 999px; box-shadow: var(--fcs-shadow); cursor: pointer; font-family: var(--fcs-head-font); font-weight: 700; font-size: 15px; color: var(--nsc-heading); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.fcs-videobtn:hover { border-color: var(--nsc-primary); box-shadow: var(--fcs-shadow-hover); transform: translateY(-1px); }
.fcs-videobtn__ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nsc-primary); color: #fff; font-size: 12px; padding-left: 2px; }
.fcs-vmodal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 22, 30, .74); }
.fcs-vmodal.is-open { display: flex; }
.fcs-vmodal__box { position: relative; width: min(880px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--fcs-radius); overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, .45); }
.fcs-vmodal__frame, .fcs-vmodal__frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.fcs-vmodal__close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--nsc-white); border: 0; font-size: 24px; line-height: 1; color: var(--nsc-heading); cursor: pointer; }
@media (max-width: 560px) { .fcs-vmodal { padding: 14px; } .fcs-vmodal__close { top: 6px; right: 6px; background: rgba(255, 255, 255, .92); } }

/* Gallery page grid. */
.fcs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcs-gallery__item { display: block; overflow: hidden; border-radius: var(--fcs-radius); box-shadow: var(--fcs-shadow); aspect-ratio: 3 / 2; background: var(--nsc-border); }
.fcs-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.fcs-gallery__item:hover img { transform: scale(1.04); }
.fcs-gallery__item { cursor: zoom-in; }
@media (max-width: 860px) { .fcs-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 520px) { .fcs-gallery { grid-template-columns: 1fr; } }

/* Gallery lightbox overlay. */
.fcs-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(10, 15, 20, .93); }
.fcs-lightbox.is-open { display: flex; }
.fcs-lightbox__stage { max-width: 92vw; max-height: 86vh; display: flex; }
.fcs-lightbox__stage img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.fcs-lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; }
.fcs-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; }
.fcs-lightbox__close, .fcs-lightbox__nav { display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; line-height: 1; cursor: pointer; transition: background .15s ease; }
.fcs-lightbox__close { font-size: 26px; }
.fcs-lightbox__close:hover, .fcs-lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.fcs-lightbox__prev { left: 18px; } .fcs-lightbox__next { right: 18px; }
.fcs-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .82); font-size: 14px; font-family: var(--fcs-head-font); }
@media (max-width: 600px) {
	.fcs-lightbox__nav { width: 44px; height: 44px; font-size: 28px; }
	.fcs-lightbox__prev { left: 8px; } .fcs-lightbox__next { right: 8px; }
	.fcs-lightbox__close { top: 10px; right: 10px; }
}

/* Locations & Coverage Map (W6.5 — northsea-core [nsc_coverage_map]) --------- */
.nsc-cov { max-width: var(--fcs-maxw); margin: 0 auto; font-family: var(--fcs-body-font, sans-serif); }
.nsc-cov__head { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.nsc-cov__title { font-family: var(--fcs-head-font, sans-serif); font-size: var(--fcs-fs-h2); color: var(--nsc-heading); margin: 0 0 8px; }
.nsc-cov__intro { font-size: var(--fcs-fs-lead); color: var(--nsc-text); margin: 0; }

/* Filter bar */
.nsc-cov__filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 8px; }
.nsc-cov__filtergroup { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nsc-cov__filterlabel { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--nsc-secondary); margin-left: 6px; }
.nsc-cov__chip { background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: 20px; padding: 8px 14px; font: 700 13px var(--fcs-body-font, sans-serif); color: var(--nsc-heading); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; min-height: 36px; }
.nsc-cov__chip:hover { border-color: var(--nsc-primary); color: var(--nsc-primary); }
.nsc-cov__chip.is-active { background: var(--nsc-primary); border-color: var(--nsc-primary); color: var(--nsc-white); }
.nsc-cov__active { text-align: center; color: var(--nsc-text); font-size: 14.5px; margin: 0 0 14px; min-height: 20px; opacity: 0; transition: opacity .2s; }
.nsc-cov__active.is-on { opacity: 1; }
.nsc-cov__active b { color: var(--nsc-primary); }

/* Stage + SVG */
.nsc-cov__stage { position: relative; max-width: 900px; margin: 0 auto; }
.nsc-cov__svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; }
.nsc-cov__pan { transition: transform .25s ease; }
.nsc-cov__region { fill: color-mix(in srgb, var(--nsc-cool-gray) 22%, white); stroke: var(--nsc-navy); stroke-width: 1.6; stroke-linejoin: round; }
.nsc-cov__regionlabel { fill: var(--nsc-navy); font: 800 13px var(--fcs-head-font, sans-serif); letter-spacing: .5px; opacity: .55; pointer-events: none; transition: opacity .25s; text-transform: uppercase; }
.nsc-cov.is-zoomed .nsc-cov__regionlabel { opacity: .15; }

.nsc-cov__town { fill: color-mix(in srgb, var(--nsc-cool-gray) 40%, white); stroke: var(--nsc-white); stroke-width: .7; transition: fill .2s ease, transform .2s ease, opacity .3s ease; transform-box: fill-box; transform-origin: center; }
.nsc-cov__town.is-served { fill: var(--nsc-primary); }
.nsc-cov__town.is-anchor { fill: var(--nsc-primary-dark); }
.nsc-cov__town.is-served { cursor: pointer; }
.nsc-cov__town.is-served:hover, .nsc-cov__town.is-served:focus-visible { transform: scale(1.06); stroke: var(--nsc-white); stroke-width: 1.4; outline: none; filter: drop-shadow(0 3px 8px color-mix(in srgb, var(--nsc-primary) 40%, transparent)); }
.nsc-cov__town.is-served:focus-visible { stroke: var(--nsc-navy); stroke-width: 1.8; }
.nsc-cov__town.is-dim { opacity: .22; }
/* stagger-fill on first reveal */
.nsc-cov__towns .nsc-cov__town.is-served { opacity: 0; }
.nsc-cov__towns.is-live .nsc-cov__town.is-served { opacity: 1; transition-delay: calc(var(--i) * 5ms); }
.nsc-cov__towns.is-live .nsc-cov__town.is-dim { opacity: .22; }
@media (prefers-reduced-motion: reduce) {
	.nsc-cov__towns .nsc-cov__town.is-served { opacity: 1; }
	.nsc-cov__town, .nsc-cov__pan { transition: none !important; }
}

/* Office marker */
.nsc-cov__office { cursor: pointer; }
.nsc-cov__office-pin { fill: var(--nsc-primary); stroke: var(--nsc-white); stroke-width: 1.5; transition: transform .2s; transform-box: fill-box; transform-origin: center bottom; }
.nsc-cov__office-dot { fill: var(--nsc-white); }
.nsc-cov__office-halo { fill: var(--nsc-primary); opacity: .25; transform-box: fill-box; transform-origin: center; animation: nsc-cov-pulse 2.4s ease-out infinite; }
.nsc-cov__office:hover .nsc-cov__office-pin, .nsc-cov__office:focus-visible .nsc-cov__office-pin { transform: scale(1.18); outline: none; }
.nsc-cov__office.is-dim { opacity: .3; }
@keyframes nsc-cov-pulse { 0% { transform: scale(.7); opacity: .35; } 70% { transform: scale(2.1); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nsc-cov__office-halo { animation: none; } }

/* Tooltip */
.nsc-cov__tooltip { position: absolute; z-index: 5; transform: translate(-50%, -100%); background: var(--nsc-navy); color: var(--nsc-white); padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 1.35; pointer-events: none; opacity: 0; transition: opacity .12s; box-shadow: var(--fcs-shadow-hover); white-space: nowrap; }
.nsc-cov__tooltip[aria-hidden="false"] { opacity: 1; }
.nsc-cov__tooltip b { display: block; font-size: 14px; }
.nsc-cov__tooltip span { display: block; color: rgba(255,255,255,.75); font-size: 12px; }
.nsc-cov__tooltip em { display: block; color: var(--nsc-cool-gray); font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

/* Zoom + legend */
.nsc-cov__zoom { position: absolute; right: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.nsc-cov__zoombtn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--nsc-border); background: var(--nsc-white); color: var(--nsc-heading); font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: var(--fcs-shadow); line-height: 1; }
.nsc-cov__zoombtn:hover { border-color: var(--nsc-primary); color: var(--nsc-primary); }
.nsc-cov__legend { position: absolute; left: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in srgb, var(--nsc-white) 88%, transparent); padding: 8px 10px; border-radius: 8px; font-size: 12px; color: var(--nsc-secondary); }
.nsc-cov__legend span { display: inline-flex; align-items: center; gap: 7px; }
.nsc-cov__key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.nsc-cov__key--anchor { background: var(--nsc-primary-dark); }
.nsc-cov__key--served { background: var(--nsc-primary); }
.nsc-cov__key--office { background: color-mix(in srgb, var(--nsc-cool-gray) 40%, white); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--nsc-primary); }

/* Office card */
.nsc-cov__card { position: absolute; z-index: 6; top: 12px; right: 12px; width: 280px; max-width: calc(100% - 24px); background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: var(--fcs-radius); box-shadow: var(--fcs-shadow-hover); padding: 18px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.nsc-cov__card[aria-hidden="false"] { opacity: 1; transform: none; pointer-events: auto; }
.nsc-cov__cardclose { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--nsc-secondary); cursor: pointer; }
.nsc-cov__cardimg { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.nsc-cov__card h3 { font-family: var(--fcs-head-font, sans-serif); font-size: 16px; color: var(--nsc-heading); margin: 0 6px 8px 0; }
.nsc-cov__cardaddr { font-size: 13.5px; color: var(--nsc-text); margin: 0 0 12px; line-height: 1.5; }
/* Two-class selector (0,2,0) beats the Elementor kit's `.elementor-kit a` (0,1,1)
   so the on-red button text stays white. */
.nsc-cov__card .nsc-cov__cardcall { display: inline-block; background: var(--nsc-primary); color: var(--nsc-white); text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 6px; margin-bottom: 10px; min-height: 44px; box-sizing: border-box; }
.nsc-cov__card .nsc-cov__cardcall:hover { background: var(--nsc-primary-dark); color: var(--nsc-white); }
.nsc-cov__cardhours { font-size: 12.5px; color: var(--nsc-secondary); margin: 0 0 10px; line-height: 1.5; }
.nsc-cov__cardgbp { font-size: 13px; font-weight: 700; color: var(--nsc-primary); text-decoration: none; }
.nsc-cov__cardgbp:hover { text-decoration: underline; }

/* Stats line */
.nsc-cov__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 22px auto 0; font-size: 15px; color: var(--nsc-text); }
.nsc-cov__stat b { font-family: var(--fcs-head-font, sans-serif); font-size: 22px; color: var(--nsc-primary); margin-right: 4px; }
.nsc-cov__stat--grow { color: var(--nsc-secondary); font-style: italic; }

/* Mobile-first list fallback (hidden on desktop) */
.nsc-cov__list { display: none; }
.nsc-cov__listgroup { margin-bottom: 18px; }
.nsc-cov__listcounty { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--nsc-secondary); margin: 0 0 8px; }
.nsc-cov__list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nsc-cov__list a { display: block; background: var(--nsc-white); border: 1px solid var(--nsc-border); border-radius: 6px; padding: 12px 14px; text-decoration: none; color: var(--nsc-heading); font-weight: 700; font-size: 14px; min-height: 44px; }
.nsc-cov__list a:hover { border-color: var(--nsc-primary); color: var(--nsc-primary); }
.nsc-cov__anchor { color: var(--nsc-primary); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
	.fcs-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.fcs-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.fcs-areas { grid-template-columns: repeat(4, 1fr); }
	.fcs-hero__grid { grid-template-columns: 1fr; }
	.fcs-hero__content { padding: 52px 20px; max-width: none; margin: 0; }
	.fcs-hero__media { min-height: 260px; }
	.fcs-single__grid, .fcs-contact__grid { grid-template-columns: 1fr; }
	.fcs-sidebar { position: static; }
	/* Single-column: the sidebar CTA stacks right on top of the bottom CTA band
	   — two near-identical red asks. Keep the facts card, drop the duplicate. */
	.fcs-sidebar__cta { display: none; }
	.fcs-stats__row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
	.fcs-router__grid { grid-template-columns: repeat(3, 1fr); }
	.fcs-footer__top { grid-template-columns: repeat(3, 1fr); }
}
/* CT map → elegant list on phones/small tablets (no SVG dependency). */
@media (max-width: 720px) {
	.fcs-ctmap__stage { display: none; }
	.fcs-ctmap__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
	/* Coverage map: tap-first — hide the dense SVG, show the county-grouped list. */
	.nsc-cov__stage { display: none; }
	.nsc-cov__list { display: block; }
	.nsc-cov__filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
	.nsc-cov__filtergroup { flex-wrap: nowrap; }
	.nsc-cov__chip { white-space: nowrap; flex: 0 0 auto; }
	.nsc-cov__card { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; max-width: none; }
	.nsc-cov__list li.is-dim { display: none; }
}
@media (max-width: 640px) {
	.fcs-section { padding: 48px 0; }
	.fcs-single { padding: 30px 0 44px; }
	.fcs-grid--3, .fcs-grid--4, .fcs-grid--2 { grid-template-columns: 1fr; }
	.fcs-areas { grid-template-columns: repeat(2, 1fr); }
	.fcs-ctmap__list { grid-template-columns: repeat(2, 1fr); }
	.fcs-router__grid { grid-template-columns: repeat(2, 1fr); }
	.fcs-cta__inner { flex-direction: column; align-items: stretch; text-align: left; }
	.fcs-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
/* Phone: single-column footer, full-width primary actions, tighter rhythm. */
@media (max-width: 520px) {
	.fcs-section { padding: 40px 0; }
	.fcs-footer__top { grid-template-columns: 1fr; gap: 26px; padding-block: 44px 32px; }
	.fcs-hero__actions, .fcs-cta__actions { width: 100%; }
	.fcs-hero__actions .fcs-btn, .fcs-cta__actions .fcs-btn { flex: 1 1 auto; justify-content: center; }
	.nsc-lookup__freqgrid { gap: 24px; }
	.fcs-pagehead { padding: 44px 0; }
}
/* Full-bleed bands honour the iOS safe-area horizontally (W6-E22). */
.fcs-cta__inner,
.fcs-trustbar__row,
.fcs-stats__row {
	padding-left: max(20px, env(safe-area-inset-left));
	padding-right: max(20px, env(safe-area-inset-right));
}
