/* Whitman — design system. Brand cues from the live site (Montserrat/Open Sans, navy + light blue,
   triangle accents, photo tiles), refined: more air, softer motion, accessible contrast. */
:root {
	--container: 1240px;
	--gap: 1.5rem;

	--navy: #1c2754;
	--navy-700: #141c3d;
	--blue: #6cbad4;        /* brand light blue — surfaces, gradients, accents */
	--blue-deep: #2a7aa0;   /* same hue, AA contrast for buttons/links on white */
	--blue-tint: #e8f4f8;
	--slate: #7d879c;
	--sky: #eef2f7;
	--brand: var(--navy);
	--accent: var(--blue-deep);

	--text: #26304a;
	--muted: #5b6478;
	--line: #e1e6ee;
	--bg: #fff;

	--header-h: 88px;
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-head: "Montserrat", "Open Sans", system-ui, sans-serif;
	--font-brand: "Times New Roman", Times, Georgia, serif; /* the logo's serif wordmark */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gap); }

/* Buttons — uppercase, letter-spaced Montserrat like the live site. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1rem 2rem; border: 2px solid var(--blue-deep); border-radius: var(--radius); background: var(--blue-deep); color: #fff; font-family: var(--font-head); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .7rem 1.25rem; font-size: .75rem; letter-spacing: .12em; white-space: nowrap; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgb(255 255 255 / .9); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--block { display: flex; width: 100%; }
.btn__note { font-weight: 400; opacity: .75; font-size: .75rem; letter-spacing: .04em; text-transform: none; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow::after { content: " \2192"; transition: margin .2s var(--ease); }
.link-arrow:hover::after { margin-left: .25em; }

/* Accessibility helpers */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: .5rem; left: .5rem; z-index: 1000; width: auto; height: auto; clip: auto; padding: .75rem 1rem; background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 2px 12px rgb(0 0 0 / .2); }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } html { scroll-behavior: auto; } }

/* ==========================================================================
   Header — white and sticky; transparent over the home hero until scrolled.
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgb(20 28 61 / .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { min-height: 72px; }

.site-logo { position: relative; display: block; flex-shrink: 0; }
/* The legacy PNGs carry generous whitespace; crop visually until we have an SVG. */
.site-logo__img { width: 200px; height: auto; margin-block: -16px; transition: width .3s var(--ease), opacity .3s var(--ease); }
.site-logo__img--light { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.site-header.is-scrolled .site-logo__img { width: 170px; }
.site-title { font-family: var(--font-brand); font-size: 1.75rem; letter-spacing: .06em; color: var(--navy); }

/* Transparent over the home hero. */
.has-hero-header .site-header { position: fixed; left: 0; right: 0; } /* stays fixed: no layout jump on scroll */
.has-hero-header .site-header:not(.is-scrolled) { background: transparent; }
.has-hero-header .site-header:not(.is-scrolled) .site-logo__img--dark { opacity: 0; }
.has-hero-header .site-header:not(.is-scrolled) .site-logo__img--light { opacity: 1; }

.site-nav__menu { list-style: none; margin: 0; padding: 0; }
.site-nav__menu a { text-decoration: none; color: var(--navy); }
.submenu-toggle { display: inline-grid; place-items: center; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.submenu-toggle svg { transition: transform .2s var(--ease); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav__actions { display: flex; align-items: center; gap: 1rem; }
.search-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--navy); cursor: pointer; transition: background-color .2s; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--sky); }

/* Mobile toggle */
.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .9rem; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s var(--ease), background-color .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.has-hero-header .site-header:not(.is-scrolled) .nav-toggle { color: #fff; border-color: rgb(255 255 255 / .5); }

/* Desktop nav */
@media (min-width: 1200px) {
	.site-nav { display: flex; align-items: center; gap: 1.25rem; }
	.site-nav__menu { display: flex; align-items: center; }
	.site-nav__menu > li { position: relative; display: flex; align-items: center; }
	.site-nav__menu > li > a { position: relative; display: block; padding: .75rem .8rem; font-family: var(--font-head); font-size: .875rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; transition: color .2s; }
	.site-nav__menu > li > a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
	.site-nav__menu > li:hover > a::after,
	.site-nav__menu > li > a:focus-visible::after,
	.site-nav__menu > .current-menu-item > a::after,
	.site-nav__menu > .current-menu-ancestor > a::after,
	.site-nav__menu > .current-page-ancestor > a::after { transform: scaleX(1); }
	.site-nav__menu > .menu-item-has-children > a { padding-right: .15rem; }
	.site-nav__menu > .menu-item-has-children > a::after { right: 0; }
	.submenu-toggle { width: 20px; height: 32px; color: var(--slate); }

	.site-nav__submenu { list-style: none; margin: 0; padding: .6rem 0; position: absolute; top: calc(100% + 4px); left: 0; min-width: 270px; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 24px 48px -20px rgb(20 28 61 / .4); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
	.site-nav__menu > li:hover > .site-nav__submenu,
	.site-nav__menu > li.is-open > .site-nav__submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.site-nav__submenu a { display: block; padding: .55rem 1.4rem; font-size: .9375rem; color: var(--text); transition: background-color .15s, color .15s, padding .2s var(--ease); }
	.site-nav__submenu a:hover, .site-nav__submenu a:focus-visible { background: var(--blue-tint); color: var(--navy); padding-left: 1.65rem; }

	.has-hero-header .site-header:not(.is-scrolled) .site-nav__menu > li > a,
	.has-hero-header .site-header:not(.is-scrolled) .submenu-toggle,
	.has-hero-header .site-header:not(.is-scrolled) .search-toggle { color: #fff; }
	.has-hero-header .site-header:not(.is-scrolled) .search-toggle:hover { background: rgb(255 255 255 / .15); }
}

/* Mobile / tablet nav */
@media (max-width: 1199.98px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: var(--nav-top, 88px) 0 0 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: .5rem var(--gap) 2rem; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: #fff !important; }
	.nav-open .site-logo__img--dark { opacity: 1 !important; }
	.nav-open .site-logo__img--light { opacity: 0 !important; }
	.nav-open .nav-toggle { color: var(--navy) !important; border-color: var(--line) !important; }

	.site-nav__menu > li { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
	.site-nav__menu > li > a { padding: 1rem 0; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; }
	.submenu-toggle { width: 44px; height: 44px; margin-right: -10px; color: var(--navy); }
	.site-nav__submenu { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0 0 .75rem; display: none; }
	.is-open > .site-nav__submenu { display: block; }
	.site-nav__submenu a { display: block; padding: .55rem 0 .55rem 1rem; color: var(--muted); border-left: 2px solid var(--line); }
	.site-nav__submenu a:hover { color: var(--navy); border-left-color: var(--blue); }
	.site-nav__actions { justify-content: space-between; margin-top: 1.5rem; }
	.site-nav__portal { flex: 1; }
}
@media (max-width: 640px) {
	.site-logo__img { width: 160px; margin-block: -12px; }
	:root { --header-h: 72px; }
}

/* Search panel */
.site-search { border-top: 1px solid var(--line); background: #fff; box-shadow: 0 20px 40px -24px rgb(20 28 61 / .4); }
.site-search__form { display: flex; gap: .75rem; padding-block: 1.25rem; }
.site-search__form input { flex: 1; min-width: 0; padding: .9rem 1rem; border: 1px solid #c9cfdb; border-radius: var(--radius); font: inherit; }
.site-search__form input:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgb(42 122 160 / .2); }
.search-open.has-hero-header .site-header, .search-open .has-hero-header .site-header { background: #fff; }

/* ==========================================================================
   Typography & content
   ========================================================================== */
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.container--narrow { max-width: 820px; }
.eyebrow { margin: 0 0 .75rem; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }

.entry-content { overflow-wrap: anywhere; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--blue); }
.entry-content a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure, .entry-content .legacy-image { margin: 1.75rem 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--sky); color: var(--navy); }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-video, .entry-content iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.entry-content .callout, .entry-content .steps { background: var(--blue-tint); border-left: 3px solid var(--blue); padding: 1rem 1.25rem; }
.entry-content .steps { padding-left: 2.5rem; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.entry-content .gallery br { display: none; }
.entry-content .gallery-item { margin: 0; }
.entry-content .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ==========================================================================
   Page header — light-blue wash over the glass-lettering photo, as on live.
   ========================================================================== */
.page-header { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); background: var(--blue) url("../images/page-header.jpg") center 35% / cover no-repeat; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(78 168 199 / .92) 0%, rgb(108 186 212 / .82) 40%, rgb(214 230 236 / .78) 100%); }
.page-header--image { background-image: none; }
.page-header--image::before { background: linear-gradient(90deg, rgb(60 150 185 / .93) 0%, rgb(108 186 212 / .82) 45%, rgb(214 230 236 / .6) 100%); } /* same wash as live, photo varies */
.page-header__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-header__title { color: #fff; margin: 0; max-width: 24ch; font-weight: 600; text-wrap: balance; text-shadow: 0 1px 18px rgb(20 28 61 / .18); }
.page-header__intro { margin: 1rem 0 0; max-width: 62ch; font-size: 1.125rem; color: #fff; text-shadow: 0 1px 10px rgb(20 28 61 / .35); }
.page-header__meta { margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .9375rem; }
.page-header .eyebrow { color: rgb(255 255 255 / .85); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section + .section--news { background: #f6f8fb; }
.section__head { max-width: 62ch; margin-bottom: 2.25rem; }
.section__head p { color: var(--muted); font-size: 1.0625rem; margin: 0; }
.section__head--split { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; max-width: none; }
.section__head--split h2 { margin: 0; }

/* Hero — centred brand statement over the glass-lettering photo (live), with a calmer overlay. */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(100svh, 860px); padding-block: calc(var(--header-h) + 3rem) 5rem; overflow: hidden; color: #fff; text-align: center; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgb(28 39 84 / .62) 0%, rgb(28 39 84 / .82) 70%), linear-gradient(180deg, rgb(20 28 61 / .35), rgb(20 28 61 / .55)); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: hero-in 1.6s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.1); } to { transform: scale(1.04); } }
.hero__inner { max-width: 1120px; animation: rise 1s .2s var(--ease) both; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } } /* motion only — never hide content behind an animation */
.hero__heading { margin: 0; color: #fff; font-family: var(--font-brand); font-weight: 400; font-size: clamp(3rem, 1.5rem + 6vw, 5.5rem); letter-spacing: .04em; line-height: 1; }
.hero__tagline { margin: 1.25rem 0 0; font-family: var(--font-head); font-weight: 400; font-size: clamp(.9375rem, .6rem + 1.4vw, 1.75rem); letter-spacing: .1em; text-transform: uppercase; text-wrap: balance; }
.hero__text { max-width: 56ch; margin: 2rem auto 2.5rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: rgb(255 255 255 / .9); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.75rem; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgb(255 255 255 / .55); border-radius: 16px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
#after-hero { display: block; scroll-margin-top: 72px; }

/* Gradient band (e.g. Featuring: Renewable Energy) */
.section--band { background: linear-gradient(90deg, #5fb2ce 0%, var(--blue) 30%, #c7e1ea 75%, #e6eef1 100%); padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .band { grid-template-columns: 1.2fr 1fr 1.2fr; gap: clamp(2rem, 3vw, 3.5rem); } }
.band__heading { color: #fff; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); margin-bottom: 1.5rem; text-wrap: balance; }
.band__text { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); line-height: 1.5; text-shadow: 0 1px 12px rgb(20 28 61 / .12); }
.band__text p { margin: 0; }
.band__media iframe, .band__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; box-shadow: 0 24px 50px -24px rgb(20 28 61 / .55); }

/* Centred feature statement with triangle accents (Our Vision) */
.section--feature { position: relative; isolation: isolate; text-align: center; padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.section--feature::before, .section--feature::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.section--feature::before { top: 0; left: 0; width: min(38vw, 560px); aspect-ratio: 1700 / 600; background-image: url("../images/triangles-top-left.png"); background-size: 300% auto; background-position: left top; opacity: .9; }
.section--feature::after { right: 0; bottom: 0; width: min(30vw, 420px); aspect-ratio: 1700 / 600; background-image: url("../images/triangles-right.png"); background-size: 400% auto; background-position: right bottom; opacity: .8; }
.section--text.section--feature .container--narrow { max-width: 900px; }
.section--text.section--feature .entry-content > * { max-width: none; }
.feature__heading { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); margin-bottom: 1.25rem; }
.section--feature .entry-content { font-size: 1.1875rem; color: var(--text); }
.feature__tagline { margin: 1.75rem 0 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); color: var(--navy); }

.text-media { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.text-media__media img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgb(20 28 61 / .45); }
@media (min-width: 900px) {
	.text-media { grid-template-columns: 1fr 1fr; }
	.section--image-left .text-media__media { order: -1; }
}

.section--cta { background: var(--navy); color: #d6dbe8; position: relative; isolation: isolate; overflow: hidden; }
.section--cta::after { content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: min(40vw, 520px); background: url("../images/triangles-right.png") right center / auto 160% no-repeat; opacity: .35; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band__heading { color: #fff; margin-bottom: .35rem; }
.cta-band p { margin: 0; max-width: 60ch; }

/* Photo tiles — navy-tinted photos with centred white text (live expertise/services grid) */
.photo-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2.5vw, 2.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.photo-tile { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 280px; overflow: hidden; background: var(--navy); text-align: center; color: #fff; border-top: 3px solid transparent; transition: border-color .3s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.photo-tile--detailed { min-height: 420px; }
.photo-tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(28 39 84 / .5), rgb(28 39 84 / .72)); transition: background-color .35s var(--ease), opacity .35s; }
.photo-tile:hover { border-top-color: var(--blue); box-shadow: 0 28px 56px -28px rgb(20 28 61 / .6); transform: translateY(-4px); }
.photo-tile:hover .photo-tile__img { transform: scale(1.06); }
.photo-tile__body { padding: 2rem 1.75rem; }
.photo-tile__title { margin: 0; color: #fff; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); font-weight: 600; text-shadow: 0 2px 16px rgb(0 0 0 / .25); }
.photo-tile__text { margin: .9rem 0 1.5rem; color: rgb(255 255 255 / .92); }
.photo-tile__link { color: inherit; text-decoration: none; }
.photo-tile__link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole tile clickable */
.photo-tile__link:focus-visible { outline: none; }
.photo-tile:has(.photo-tile__link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Grids */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.tile:has(a):hover { border-color: transparent; box-shadow: 0 20px 40px -24px rgb(20 28 61 / .45); transform: translateY(-3px); }
.tile__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.tile__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile__body { padding: 1.25rem 1.25rem 1.5rem; border-top: 3px solid var(--blue); }
.tile__title { font-size: 1.125rem; margin-bottom: .4rem; }
.tile__body p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { border-color: transparent; box-shadow: 0 24px 48px -28px rgb(20 28 61 / .5); transform: translateY(-3px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media { aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sky) 0%, var(--sky) 50%, #dde3ee 50%); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; }
.card__meta { margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.card__title { font-size: 1.125rem; line-height: 1.35; margin: 0 0 .6rem; }
.card__excerpt { margin: 0 0 1rem; color: var(--muted); font-size: .9375rem; }
.card__more { margin-top: auto; font-size: .875rem; font-weight: 700; color: var(--accent); }
.card__more::after { content: " \2192"; }

/* Team */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 2rem 1.5rem; }
.person { display: block; text-decoration: none; color: inherit; }
.person__photo { aspect-ratio: 5 / 6; overflow: hidden; border-radius: var(--radius); background: var(--sky); margin-bottom: 1rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .3s, transform .5s var(--ease); }
.person:hover .person__photo img { filter: none; transform: scale(1.03); }
.person__name { font-size: 1.0625rem; margin-bottom: .2rem; }
.person__role { margin: 0; color: var(--muted); font-size: .9375rem; }

/* ==========================================================================
   Single layouts
   ========================================================================== */
.layout-aside { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } }
.entry { min-width: 0; max-width: 780px; }
.entry__media { margin: 0 0 2rem; }
.entry__media img { width: 100%; border-radius: var(--radius); }

.aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: calc(var(--header-h) + 3rem); } }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; }
.aside-box--accent { border-top: 3px solid var(--blue); }
.aside-box--navy { background: var(--navy); border-color: var(--navy); color: #d6dbe8; }
.aside-box--navy .aside-box__title { color: #fff; }
.aside-box__title { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.aside-box p { font-size: .9375rem; color: var(--muted); }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { padding-block: .7rem; border-top: 1px solid var(--line); }
.aside-list li:first-child { border-top: 0; padding-top: 0; }
.aside-list a { display: block; color: var(--navy); font-weight: 600; text-decoration: none; line-height: 1.35; }
.aside-list a:hover { color: var(--accent); }
.aside-list time { display: block; margin-top: .2rem; font-size: .8125rem; color: var(--slate); }
.aside-offices { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.aside-offices span { display: block; font-size: .8125rem; }
.aside-offices a { color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1.5rem; font-size: .9375rem; }
.facts dt { color: var(--slate); font-weight: 600; }
.facts dd { margin: 0; color: var(--navy); font-weight: 600; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.post-nav a { display: block; color: var(--navy); font-weight: 600; text-decoration: none; line-height: 1.35; }
.post-nav a span { display: block; margin-bottom: .3rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.post-nav a:hover { color: var(--accent); }
.post-nav__next { grid-column: 2; text-align: right; }

.bio { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .bio { grid-template-columns: 320px minmax(0, 1fr); gap: 4rem; align-items: start; } }
.bio__photo img { width: 100%; border-radius: var(--radius); }
.bio__links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .4rem; font-weight: 600; }
.bio__links a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.bio__text { max-width: 720px; }

/* Pagination */
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: .9rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); font-weight: 600; text-decoration: none; }
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dots { border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-700); color: #aeb6cb; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__logo img { width: 190px; height: auto; margin: -14px 0 .75rem; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__heading { color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-bottom: .75rem; }
.footer-explore { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.footer-explore li { margin-bottom: .5rem; break-inside: avoid; }
.site-footer__newsletter { padding-bottom: 3rem; }
.social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: 1rem; }
.site-footer__legal { border-top: 1px solid rgb(255 255 255 / .1); font-size: .8125rem; }
.site-footer__legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.25rem; }
.site-footer__legal p { margin: 0; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; }

/* Job openings */
.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1.5rem; padding: 1.25rem .25rem; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background-color .2s, padding .2s var(--ease); }
.job:hover { background: var(--sky); padding-inline: 1rem; }
.job__title { font-size: 1.1875rem; font-weight: 700; color: var(--navy); }
.job__meta { grid-row: 2; color: var(--muted); font-size: .9375rem; }
.job__cta { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; color: var(--accent); white-space: nowrap; }
.job__cta::after { content: " \2192"; }
.job-list__empty { max-width: 60ch; color: var(--muted); }
.section--careers { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Capabilities */
.section--capabilities { background: #f6f7fa; }
.capability__list li { position: relative; padding-left: 1.1rem; margin-bottom: .55rem; break-inside: avoid; font-size: .9688rem; line-height: 1.45; }
.capability__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid var(--blue); } /* brand triangle */

/* Team contact */
.section--contact-person { background: var(--navy); color: #d6dbe8; }
.contact-person { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .contact-person { grid-template-columns: 220px 1fr; gap: 3.5rem; } }
.contact-person__photo img { width: 100%; max-width: 220px; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); }
.contact-person .eyebrow { color: #9aa6c4; }
.contact-person__name { margin-bottom: .25rem; }
.contact-person__name a { color: #fff; text-decoration: none; }
.contact-person__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-person__role { color: #9aa6c4; font-weight: 600; }
.contact-person p:not(.eyebrow):not(.contact-person__role) { max-width: 56ch; }
.contact-person__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.5rem; }
.contact-person__phone { color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; }

/* Service sheets */
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: .75rem; }
.sheet { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s; }
.sheet:hover { border-left-color: var(--accent); background: var(--sky); }
.sheet__badge { flex-shrink: 0; padding: .15rem .45rem; border-radius: 3px; background: var(--sky); color: var(--accent); font-size: .6875rem; font-weight: 800; letter-spacing: .08em; }
.sheet:hover .sheet__badge { background: #fff; }

/* A–Z */
.az__intro { max-width: 62ch; font-size: 1.125rem; color: var(--muted); }
.az__nav { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; gap: .25rem; margin: 2rem 0; padding: .75rem 0; background: rgb(255 255 255 / .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.az__nav a, .az__nav span { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.az__nav a { color: var(--navy); background: var(--sky); }
.az__nav a:hover { background: var(--navy); color: #fff; }
.az__nav span { color: #c3c8d4; }
.az__groups { columns: 3 280px; column-gap: 3rem; }
.az__group { break-inside: avoid; margin-bottom: 2rem; scroll-margin-top: calc(var(--header-h) + 120px); }
.az__letter { font-size: 1.75rem; margin-bottom: .5rem; padding-bottom: .35rem; border-bottom: 2px solid var(--navy); }
.az__group ul { list-style: none; margin: 0; padding: 0; }
.az__group li { padding: .3rem 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }

/* Text sections line up with the page header's left edge rather than centring. */
.section--text .container--narrow { max-width: var(--container); }
.section--text .entry-content > * { max-width: 760px; }
.section--text + .section--capabilities, .section--text + .section--az { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }

/* Project filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-bar__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.filter-bar__btn span { font-weight: 600; color: var(--slate); font-size: .8125rem; }
.filter-bar__btn:hover { border-color: var(--navy); }
.filter-bar__btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-bar__btn[aria-pressed="true"] span { color: #9aa6c4; }
.post-grid__item { display: grid; }
.post-grid__item[hidden] { display: none; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag-list li { padding: .2rem .55rem; border-radius: 3px; background: var(--sky); color: var(--navy); font-size: .8125rem; font-weight: 600; }
.aside-box .facts:last-child { margin-bottom: 0; }
.sheet-group__title { display: flex; align-items: baseline; gap: .5rem; margin: 2rem 0 1rem; font-size: 1.125rem; }
.sheet-group__title:first-of-type { margin-top: 0; }
.sheet-group__title span { font-size: .875rem; color: var(--slate); font-weight: 600; }

/* Forms */
.section--form { scroll-margin-top: var(--header-h); }
.form-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .form-layout--offices { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } }
.form-layout__main { max-width: 760px; }
.form-layout__intro { color: var(--muted); font-size: 1.0625rem; }
.wform__grid { display: grid; gap: 1.25rem 1.5rem; }
@media (min-width: 640px) { .wform__grid { grid-template-columns: 1fr 1fr; } .wform__field { grid-column: 1 / -1; } .wform__field--half { grid-column: auto; } }
.wform__field label { display: block; margin-bottom: .4rem; font-weight: 700; color: var(--navy); font-size: .9375rem; }
.wform__req { color: #b42318; margin-left: .15em; }
.wform__opt { font-weight: 400; color: var(--slate); font-size: .8125rem; margin-left: .35em; }
.wform input:not([type="hidden"]):not([type="file"]), .wform select, .wform textarea { width: 100%; padding: .75rem .9rem; border: 1px solid #c9cfdb; border-radius: var(--radius); background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.wform textarea { resize: vertical; min-height: 9rem; }
.wform input:focus, .wform select:focus, .wform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(61 111 182 / .2); }
.wform input[type="file"] { width: 100%; padding: .9rem; border: 1px dashed #c9cfdb; border-radius: var(--radius); background: #f6f7fa; font: inherit; font-size: .9375rem; }
.wform__help { margin: .4rem 0 0; color: var(--muted); font-size: .8125rem; }
.has-error input, .has-error select, .has-error textarea { border-color: #b42318; }
.wform__error { margin: .4rem 0 0; color: #b42318; font-size: .875rem; font-weight: 600; }
.wform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.wform__actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: .9rem 1.6rem; }
.wform__privacy { margin: 0; color: var(--slate); font-size: .8125rem; }
.wform__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; outline: none; }
.form-notice p { margin: 0; }
.form-notice p + p { margin-top: .35rem; }
.form-notice--success { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; font-size: 1.0625rem; }
.form-notice--error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.office-card { padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); margin-bottom: 1.25rem; }
.office-card__title { font-size: 1.0625rem; margin-bottom: .6rem; }
.office-card address { font-style: normal; color: var(--muted); margin-bottom: .75rem; }
.office-card__phone { margin: 0 0 .2rem; }
.office-card__phone a { font-weight: 700; font-size: 1.125rem; color: var(--navy); text-decoration: none; }
.office-card__fax { color: var(--muted); font-size: .875rem; margin-bottom: .75rem; }

/* Text + video */
.text-media__media--video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgb(20 28 61 / .5); }

/* Logo strip */
.section--logos { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--logos .logo-strip { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.logo-strip__heading { margin: 0; max-width: 14ch; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 600; color: var(--navy); }
.logo-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
.logo-strip__logo { width: auto; max-width: 260px; max-height: 96px; object-fit: contain; transition: transform .3s var(--ease); }
.logo-strip__list li:hover .logo-strip__logo { transform: scale(1.03); }
.section--text-media + .section--text-media { background: #f6f8fb; }

/* Capabilities accordion (division pages, Clients, Licenses) */
.accordion { display: grid; gap: .75rem; }
.accordion__item { background: #fff; box-shadow: 0 1px 0 var(--line), 0 14px 32px -26px rgb(20 28 61 / .45); interpolate-size: allow-keywords; }
.accordion__summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; background: var(--navy); color: #fff; cursor: pointer; list-style: none; border-bottom: 3px solid transparent; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { background: #24316a; }
.accordion__item[open] > .accordion__summary { border-bottom-color: var(--blue); }
.accordion__summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.accordion__icon { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; }
.accordion__title { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.3; }
.accordion__count { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding-inline: .45rem; border-radius: 999px; background: rgb(255 255 255 / .1); color: #c9d2e6; font-size: .8125rem; font-weight: 600; }
.accordion__marker { position: relative; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid rgb(255 255 255 / .35); border-radius: 50%; transition: background-color .25s, border-color .25s; }
.accordion__marker::before, .accordion__marker::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: #fff; transition: transform .3s var(--ease); }
.accordion__marker::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__marker { background: var(--blue); border-color: var(--blue); }
.accordion__item[open] .accordion__marker::after { transform: rotate(0deg); }
.accordion__item::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.accordion__item[open]::details-content { block-size: auto; }
.accordion__panel { padding: 1.5rem 1.5rem 1.25rem; }
.accordion__text { max-width: 75ch; margin: 0 0 1.25rem; color: var(--muted); }
.accordion__label { margin: 0 0 .75rem; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.capability__list { list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .capability__list--cols { columns: 2; column-gap: 3rem; } }
@media (min-width: 1100px) { .capability__list--cols { columns: 3; } }
@media (max-width: 640px) { .accordion__count { display: none; } .accordion__summary { padding: 1rem 1.1rem; gap: .75rem; } .accordion__icon { width: 36px; height: 36px; } }

/* Intro + contact card — balances the opening of division pages */
.intro { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .intro--with-card { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(3rem, 6vw, 6rem); } }
@media (min-width: 960px) { .intro--with-image { grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(3rem, 6vw, 6rem); } }
.intro__image { margin: 0; }
.intro__image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 24px 50px -28px rgb(20 28 61 / .5); }
@media (min-width: 960px) { .intro__image { position: sticky; top: calc(72px + 1.5rem); } }
/* No card: editorial split — lead on the left, supporting copy on the right. */
@media (min-width: 960px) {
	.intro:not(.intro--with-card):not(.intro--with-image) .intro__body { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: center; }
	.intro:not(.intro--with-card):not(.intro--with-image) .intro__body > :first-child { grid-column: 1; grid-row: 1 / span 20; margin: 0; font-size: 1.1875rem; padding-right: clamp(0rem, 3vw, 3rem); border-right: 1px solid var(--line); }
	.intro:not(.intro--with-card):not(.intro--with-image) .intro__body > :last-child { margin-bottom: 0; }
	.intro:not(.intro--with-card):not(.intro--with-image) .intro__body > :not(:first-child) { grid-column: 2; }
}
.intro__body > p:first-child { font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem); line-height: 1.6; color: var(--navy); }
.intro__body iframe { box-shadow: 0 24px 50px -28px rgb(20 28 61 / .5); }
.person-card { padding: 1.75rem; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 1px 0 var(--line), 0 24px 48px -30px rgb(20 28 61 / .45); }
@media (min-width: 960px) { .person-card { position: sticky; top: calc(72px + 1.5rem); } }
.person-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.person-card__photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.person-card__name { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.person-card__name a { color: var(--navy); text-decoration: none; }
.person-card__name a:hover { color: var(--accent); }
.person-card__role { margin: .25rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.person-card__links { list-style: none; margin: 0 0 1.5rem; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .4rem; font-size: .9375rem; }
.person-card__links a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.person-card__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) { .intro:not(.intro--with-card):not(.intro--with-image) .intro__body:has(> :only-child) { display: block; max-width: 900px; } .intro:not(.intro--with-card):not(.intro--with-image) .intro__body > :only-child { border-right: 0; padding-right: 0; font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem); } }
