/*
Theme Name:   Mosaic
Theme URI:    https://yellowduckmarketing.com
Description:  Genesis child theme for Mosaic
Author:       Yellow Duck Marketing
Author URI:   https://yellowduckmarketing.com
Template:     genesis
Version:      1.0.0
Text Domain:  mosaic
Tags:         genesis, child-theme
*/

/* ==========================================================================
   TABLE OF CONTENTS
   1. Font-Face + CSS Custom Properties (:root)
   2. Base Reset & Box Model
   3. Typography
   4. Skip Link
   5. Buttons
   6. Sticky / Transparent Header
   7. Navigation — Desktop
   8. Navigation — Mobile
   9. Footer Grid
   10. Accessibility — Focus Rings & Motion
   11. Homepage Hero
   12. Homepage Sections
   13. Responsive Breakpoints
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Font-Face + CSS Custom Properties (:root)
   -------------------------------------------------------------------------- */

/*
 * Self-hosted fonts — place files in /fonts/ and update src paths.
 * font-display: swap keeps text visible during font load (Core Web Vitals).
 */

@font-face {
	font-family: 'Sidereal';
	src: url('fonts/Sidereal-Regular.woff2') format('woff2'),
	     url('fonts/Sidereal-Regular.woff')  format('woff');
	font-weight: 400;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Lorin';
	src: url('fonts/Lorin-Light.woff2') format('woff2'),
	     url('fonts/Lorin-Light.woff')  format('woff');
	font-weight: 300;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Lorin';
	src: url('fonts/Lorin-Regular.woff2') format('woff2'),
	     url('fonts/Lorin-Regular.woff')  format('woff');
	font-weight: 400;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Lorin';
	src: url('fonts/Lorin-Bold.woff2') format('woff2'),
	     url('fonts/Lorin-Bold.woff')  format('woff');
	font-weight: 700;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Lorin';
	src: url('fonts/Lorin-ExtraBold.woff2') format('woff2'),
	     url('fonts/Lorin-ExtraBold.woff')  format('woff');
	font-weight: 800;
	font-style:  normal;
	font-display: swap;
}

:root {

	/* ── Brand Colors ─────────────────────────────────────────────────────
	   Raw palette — reference these in semantic aliases below, not directly
	   in component styles.
	   ---------------------------------------------------------------------- */
	--color-blue:       #1D4589;
	--color-teal:       #80C7BC;
	--color-light-teal: #D6EDEA;
	--color-cyan:       #01ADD8;
	--color-gold:       #FFC843;
	--color-charcoal:   #252A36;
	--color-dark-teal:  #004751;
	--color-beige:      #D9D8D6;

	/* ── Light / Neutral ──────────────────────────────────────────────────
	   Grays generated from charcoal's hue for visual coherence.
	   ---------------------------------------------------------------------- */
	--color-white:      #ffffff;
	--color-off-white:  #F8F7F5;
	--color-light-gray: #EDECEB;
	--color-mid-gray:   #9A9998;

	/* ── Base Semantic ────────────────────────────────────────────────────
	   Map brand colors to purpose. Edit here to retheme without touching
	   component styles.

	   WCAG AA audit (body text / normal size, 4.5:1 required):
	     --color-charcoal on --color-beige  →  10.08:1  ✅
	     --color-blue     on --color-beige  →   6.51:1  ✅
	     --color-dark-teal on --color-beige →   7.30:1  ✅
	     --color-gold     on --color-charcoal → 9.29:1  ✅
	   ---------------------------------------------------------------------- */
	--color-bg:          var(--color-white);
	--color-bg-alt:      var(--color-off-white);
	--color-surface:     var(--color-beige);
	--color-border:      var(--color-light-gray);
	--color-text:        var(--color-charcoal);
	--color-text-muted:  var(--color-mid-gray);
	--color-heading:     var(--color-charcoal);
	--color-dark:        var(--color-charcoal);

	/* ── Status Colors ────────────────────────────────────────────────────
	   All verified ≥ 4.5:1 on white: success 5.33:1 ✅  error 6.24:1 ✅
	   warning 5.89:1 ✅
	   ---------------------------------------------------------------------- */
	--color-success:    #1D7A4B;
	--color-warning:    #915700;
	--color-error:      #C0132A;

	/* ── Focus ────────────────────────────────────────────────────────────
	   Blue chosen: 6.51:1 on beige, 7.59:1 on white. ✅ WCAG AA.
	   ---------------------------------------------------------------------- */
	--color-focus:      var(--color-blue);

	/* ── ⚠ Contrast Warnings ──────────────────────────────────────────────
	   --color-teal (#80C7BC) on --color-beige → 1.36:1  ✗ FAIL
	     → use --color-dark-teal for text on beige surfaces
	     → teal is safe on charcoal (7.39:1 ✅) — use as accent on dark bgs

	   --color-cyan (#01ADD8) on --color-beige → 1.85:1  ✗ FAIL
	     → use --color-blue or --color-dark-teal for text on beige surfaces
	     → cyan is safe on charcoal (5.45:1 ✅) — use as accent on dark bgs
	   ---------------------------------------------------------------------- */

	/* ── Font Families ────────────────────────────────────────────────────
	   --font-eyebrow: Lorin, set at fw-extrabold (800) + text-transform:uppercase
	   in the component, not here.
	   ---------------------------------------------------------------------- */
	--font-display:    'Sidereal', serif;
	--font-heading:    'Sidereal', serif;
	--font-body:       'Lorin', sans-serif;
	--font-eyebrow:    'Lorin', sans-serif;

	/* ── Type Scale ───────────────────────────────────────────────────────
	   h1–h2 use clamp() for fluid scaling between viewport widths.
	   h3–h6 + utility sizes are fixed.
	   ---------------------------------------------------------------------- */
	--text-h1:      clamp(2.5rem,  5vw + 1rem,   4rem);   /* 40px → 64px   */
	--text-h2:      clamp(2rem,    3.5vw + 0.5rem, 3rem); /* 32px → 48px   */
	--text-h3:      1.75rem;    /* 28px */
	--text-h4:      1.5rem;     /* 24px */
	--text-h5:      1.25rem;    /* 20px */
	--text-h6:      1.0625rem;  /* 17px */
	--text-lg:      1.5rem;  
	--text-md:      1.15rem;  
	--text-base:    1rem;       /* 16px */
	--text-sm:      0.875rem;   /* 14px */
	--text-xs:      0.8rem;    /* 12px */
	--text-nav:     0.8125rem;  /* 13px */
	--text-label:   0.75rem;    /* 12px */
	--text-eyebrow: 0.6875rem;  /* 11px — render with text-transform:uppercase + fw-extrabold */

	/* ── Line Heights ─────────────────────────────────────────────────────── */
	--leading-tight:  1.1;
	--leading-snug:   1.3;
	--leading-base:   1.8;
	--leading-loose:  1.8;

	/* ── Font Weights ─────────────────────────────────────────────────────
	   Lorin Light (300) is the default reading weight, not 400.
	   ---------------------------------------------------------------------- */
	--fw-light:     300;   /* Lorin Light — body default     */
	--fw-regular:   400;
	--fw-medium:    500;
	--fw-semibold:  600;
	--fw-bold:      700;
	--fw-extrabold: 800;   /* Lorin ExtraBold — eyebrow      */

	/* ── Spacing ──────────────────────────────────────────────────────────
	   4px base unit. Powers: 1=4 2=8 3=12 4=16 5=20 6=24 8=32 10=40
	   12=48 16=64 20=80 24=96 32=128
	   ---------------------------------------------------------------------- */
	--space-1:   0.25rem;   /*   4px */
	--space-2:   0.5rem;    /*   8px */
	--space-3:   0.75rem;   /*  12px */
	--space-4:   1rem;      /*  16px */
	--space-5:   1.25rem;   /*  20px */
	--space-6:   1.5rem;    /*  24px */
	--space-8:   2rem;      /*  32px */
	--space-10:  2.5rem;    /*  40px */
	--space-12:  3rem;      /*  48px */
	--space-16:  4rem;      /*  64px */
	--space-20:  5rem;      /*  80px */
	--space-24:  6rem;      /*  96px */
	--space-32:  8rem;      /* 128px */

	/* Section gaps: fluid between viewport widths */
	--section-gap-sm:  clamp(3rem, 6vw,  4rem);   /* ~48–64px   */
	--section-gap:     clamp(4rem, 8vw,  6rem);   /* ~64–96px   */
	--section-gap-lg:  clamp(5rem, 10vw, 8rem);   /* ~80–128px  */

	/* ── Layout ───────────────────────────────────────────────────────────── */
	--max-width:       1260px;
	--max-width-text:  760px;
	--gutter:          clamp(1rem, 4vw, 2rem);   /* 16px → 32px fluid gutter */

	/* ── Border Radius ────────────────────────────────────────────────────── */
	--radius-sm:   4px;
	--radius-md:   8px;
	--radius-lg:   16px;
	--radius-pill: 9999px;

	/* ── Shadows ──────────────────────────────────────────────────────────
	   Tinted with charcoal for visual warmth vs pure black.
	   ---------------------------------------------------------------------- */
	--shadow-sm:  0 1px 3px  rgba(37, 42, 54, 0.08), 0 1px 2px  rgba(37, 42, 54, 0.04);
	--shadow-md:  0 4px 12px rgba(37, 42, 54, 0.10), 0 2px 4px  rgba(37, 42, 54, 0.06);
	--shadow-lg:  0 16px 40px rgba(37, 42, 54, 0.14), 0 4px 8px rgba(37, 42, 54, 0.08);

	/* ── Transitions ──────────────────────────────────────────────────────── */
	--transition-fast:  150ms ease;
	--transition-base:  250ms ease;
	--transition-slow:  400ms ease;

	/* ── Z-Index ──────────────────────────────────────────────────────────── */
	--z-dropdown:  100;
	--z-sticky:    200;
	--z-modal:     300;
	--z-tooltip:   400;

	/* ── Component Aliases ────────────────────────────────────────────────
	   Map legacy / shorthand tokens used in the component rules above so
	   nothing references bare hex values in components.
	   ---------------------------------------------------------------------- */
	--color-accent:      var(--color-gold);
	--color-accent-dark: #C49A2A;            /* gold darkened ~15% for hover */
	--color-link:        var(--color-blue);
	--color-link-hover:  var(--color-dark-teal);
	--color-nav-text:    var(--color-charcoal);
	--color-footer-bg:   var(--color-charcoal);
	--color-footer-text: var(--color-mid-gray);
	--color-btn-text:    var(--color-charcoal);
	--container-max:     var(--max-width);
	--radius-btn:        var(--radius-sm);
}


/* --------------------------------------------------------------------------
   2. Base Reset & Box Model
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	background-color: var(--color-bg, #fff);
	color: var(--color-text, #1a1a1a);
	font-family: var(--font-body, sans-serif);
	font-size: var(--text-base, 1rem);
	line-height: var(--leading-base, 1.6);
	-webkit-font-smoothing: antialiased;
}

img,
video,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

ul,
ol {
	list-style: none;
}

a {
	color: var(--color-link, #0057b8);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--color-link-hover, #003d82);
}


/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading, sans-serif);
	font-weight: var(--fw-heading, 300);
	text-transform: uppercase;
	line-height: var(--leading-tight, 1.2);
	color: var(--color-heading, #111);
}

h1 { font-size: var(--text-5xl, 2.986rem); }
h2 { font-size: var(--text-4xl, 2.488rem); }
h3 { font-size: var(--text-3xl, 2.074rem); }
h4 { font-size: var(--text-2xl, 1.728rem); }
h5 { font-size: var(--text-xl,  1.44rem);  }
h6 { font-size: var(--text-lg,  1.2rem);   }

h1.entry-title {
	display: none;
}

p {
	margin-bottom: var(--space-4, 1rem);
}

p:last-child {
	margin-bottom: 0;
}

strong { font-weight: 800; }
em     { font-style: italic; }

blockquote {
	border-left: 4px solid var(--color-accent, #e2b04a);
	margin: var(--space-6, 1.5rem) 0;
	padding: var(--space-4, 1rem) var(--space-6, 1.5rem);
	font-style: italic;
	color: var(--color-text-muted, #555);
}


/* --------------------------------------------------------------------------
   4. Skip Link
   -------------------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.screen-reader-text:focus {
	background: var(--color-bg, #fff);
	border-radius: 3px;
	box-shadow: 0 0 0 3px var(--color-focus, #0057b8);
	clip: auto;
	clip-path: none;
	color: var(--color-text, #1a1a1a);
	font-size: 1rem;
	font-weight: 700;
	height: auto;
	left: var(--space-4, 1rem);
	padding: var(--space-3, 0.75rem) var(--space-5, 1.25rem);
	position: fixed;
	top: var(--space-4, 1rem);
	width: auto;
	z-index: 9999;
}


/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
	background-color: var(--color-blue);
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	color: var(--color-white);
	cursor: pointer;
	display: inline-block;
	font-family: var(--font-body, sans-serif);
	font-size: var(--text-sm, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: var(--space-3, 0.75rem) var(--space-8, 1.5rem);
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background-color: var(--color-accent);
	color: var(--color-charcoal);
}

.button.gold{
	background-color: var(--color-accent);
	color: var(--color-text);
		transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}


.button.gold:hover {
		transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	background-color: var(--color-teal);
}

.button--outline {
	background-color: transparent;
	border-color: var(--color-accent, #e2b04a);
	color: var(--color-accent, #e2b04a);
}

.button--outline:hover {
	background-color: var(--color-accent, #e2b04a);
	color: var(--color-btn-text, #111);
}


/* --------------------------------------------------------------------------
   6. Site Header
   -------------------------------------------------------------------------- */

.site-header {
	background-color: rgba(0, 71, 81, 0.79);
	left: 0;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: var(--z-sticky, 200);
	transition:
		background-color var(--transition-base),
		box-shadow var(--transition-base);
}

/* Semi-transparent on homepage before scrolling */
.site-header.is-transparent {
	background-color: rgba(0, 71, 81, 0.79);
}

/* Scrolled — fully opaque */
.site-header.is-scrolled {
	background-color: var(--color-dark-teal, #004751);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.site-header__inner {
	align-items: center;
	display: flex;
	height: 142px;
	justify-content: space-between;
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
	transition: height var(--transition-base);
}

.site-header.is-scrolled .site-header__inner {
	height: 81px;
}


/* Logo
   -------------------------------------------------------------------------- */

.site-header__logo a {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.site-header__logo-img {
	display: block;
	height: auto;
	max-height: 87px;
	object-fit: contain;
	transition:
		width var(--transition-base),
		max-height var(--transition-base);
	width: 341px;
}

.site-header.is-scrolled .site-header__logo-img {
	max-height: 53px;
	width: 209px;
}

/* Fallback text when no logo image is set */
.site-header__logo .site-title {
	color: #fff;
	font-family: var(--font-heading, sans-serif);
	font-size: var(--text-h4, 1.5rem);
	font-weight: 700;
	text-decoration: none;
}


/* --------------------------------------------------------------------------
   7. Navigation — Desktop
   -------------------------------------------------------------------------- */

.site-header__nav {
	align-items: center;
	display: flex;
}

.site-header__nav .genesis-nav-menu {
	align-items: stretch;
	display: flex;
	flex-wrap: nowrap;
	gap: 3.6875rem; /* 59px — Figma spec */
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header__nav .genesis-nav-menu a {
	color: #fff;
	display: flex;
	align-items: center;
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: 1rem;    /* 18px */
	font-weight: 700;
	letter-spacing: 0.1em; /* 1.8px at 18px */
	line-height: 1.25;
	padding: 0;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity var(--transition-fast);
	height: 100%;
}

.site-header__nav .genesis-nav-menu a:hover,
.site-header__nav .genesis-nav-menu .current-menu-item > a,
.site-header__nav .genesis-nav-menu .current-page-ancestor > a {
	opacity: 0.65;
}

/* Dropdown */
.site-header__nav .genesis-nav-menu li {
	position: relative;
	display: flex;
	align-items: center;
}

/* Invisible bridge — fills the gap between nav item bottom and dropdown top so hover stays active */
.site-header__nav .genesis-nav-menu li::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 0.75rem;
	display: none;
}

.site-header__nav .genesis-nav-menu li:hover::after,
.site-header__nav .genesis-nav-menu li:focus-within::after {
	display: block;
}

.site-header__nav .genesis-nav-menu .sub-menu {
	background-color: var(--color-dark-teal, #004751);
	border-top: 2px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 180px;
	opacity: 0;
	padding-top: 0;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 0.75rem);
	transform: translateY(-6px);
	transition:
		opacity var(--transition-fast),
		transform var(--transition-fast);
}

.site-header__nav .genesis-nav-menu li:hover > .sub-menu,
.site-header__nav .genesis-nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.site-header__nav .genesis-nav-menu .sub-menu a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	opacity: 1;
	padding: 0.625rem 1.25rem;
	white-space: nowrap;
}

.site-header__nav .genesis-nav-menu .sub-menu a:hover {
	opacity: 0.65;
}

/* Footer nav */
.nav-footer .genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2, 0.5rem);
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-footer .genesis-nav-menu a {
	color: var(--color-footer-text, #ccc);
	display: block;
	font-size: var(--text-sm, 0.875rem);
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
	text-decoration: none;
	text-transform: uppercase;
	transition: color var(--transition-fast);
}

.nav-footer .genesis-nav-menu a:hover {
	color: var(--color-accent, #e2b04a);
}


/* --------------------------------------------------------------------------
   8. Navigation — Mobile
   -------------------------------------------------------------------------- */

.menu-toggle {
	background: transparent;
	border: none;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: none;
	flex-direction: column;
	gap: 5px;
	height: 44px;
	justify-content: center;
	padding: var(--space-2, 0.5rem);
	width: 44px;
}

.menu-toggle:hover {
	background-color: transparent;
	color: var(--color-teal);
}

.menu-toggle span {
	background-color: currentColor;
	border-radius: 2px;
	display: block;
	height: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	width: 24px;
}

.nav-mobile-panel {
	align-items: center;
	background-color: var(--color-dark-teal, #004751);
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	left: 0;
	opacity: 0;
	overflow-y: auto;
	padding-top: clamp(4rem, 10vw, 6rem);
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	transition: opacity 0.3s ease;
	z-index: 999;
}

.nav-mobile-panel.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* × close button — top right */
.nav-mobile-panel__close {
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 1.5rem;
	line-height: 1;
	padding: 1rem;
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
}

.nav-mobile-panel__close:hover {
	color: var(--color-teal);
	background-color: transparent;
}

/* Panel inner layout — nav centered, logo pushed to bottom */
.nav-mobile-panel .genesis-nav-menu {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
	gap: 7px;
}

/* Each parent li — block by default; flex row when it has a submenu toggle */
.nav-mobile-panel .genesis-nav-menu > li {
	display: block;
	position: relative;
	text-align: center;
}

.nav-mobile-panel .genesis-nav-menu > li:has(.nav-mobile-submenu-toggle) {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

/* Parent items — Sidereal, block so it stays centred */
.nav-mobile-panel .genesis-nav-menu > li > a {
	color: #fff;
	display: block;
	font-family: var(--font-display, 'Sidereal', serif);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.6;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity var(--transition-fast);
}

.nav-mobile-panel .genesis-nav-menu > li > a:hover {
	opacity: 0.6;
}

/* +/− toggle — inline, 10px right of the menu item text */
.nav-mobile-submenu-toggle {
	align-items: center;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	font-family: var(--font-body, sans-serif);
	font-size: 1.25rem;
	font-weight: 300;
	justify-content: center;
	line-height: 1;
	margin-left: 10px;
	margin-top: -7px;
	min-height: 44px;
	padding: 0;
}


.nav-mobile-submenu-toggle::after {
	content: '+';
}

.nav-mobile-submenu-toggle[aria-expanded="true"]::after {
	content: '\2212';
}

/* Submenu — hidden by default, shown when expanded */
.nav-mobile-panel .sub-menu {
	background-color: transparent;
	border-top: none;
	box-shadow: none;
	display: none;
	flex-basis: 100%;
	list-style: none;
	margin: 0;
	padding: 0 0 0.5em;
	pointer-events: auto;
	position: static;
	transform: none;
}

.nav-mobile-panel .sub-menu.is-open {
	display: block;
}

/* Submenu items — Lorin, all caps */
.nav-mobile-panel .sub-menu a {
	color: rgba(255, 255, 255, 0.7);
	display: block;
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: 0.35em 2rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity var(--transition-fast);
}

.nav-mobile-panel .sub-menu a:hover {
	opacity: 0.5;
}

/* Logo lockup — pinned to the bottom of the panel */
.nav-mobile-panel__logo {
	flex-shrink: 0;
	margin-top: auto;
	padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
	text-align: center;
	width: 100%;
}

.nav-mobile-panel__logo img {
	display: inline-block;
	height: auto;
	width: clamp(120px, 35vw, 180px);
}


/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background-color: var(--color-white, #fff);
}


/* Main band — logo | divider | nav | social
   -------------------------------------------------------------------------- */

.footer-main {
	background-color: var(--color-white, #fff);
	background-image: url('images/geo-pattern-2.png');
	background-repeat: repeat;
	background-size: 30%;
	padding-top: 30px;
	position: relative;
}

.footer-main::before {
	height: 100%;
	content: "";
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	display: block;
	z-index: 0;
	background-color: rgba(255, 255, 255, 0.85);
}

.footer-main__inner {
	position: relative;
	align-items: center;
	display: flex;
	z-index: 1;
	border-top: 2px solid var(--color-blue);
	margin: 0px 30px;
	min-height: 160px;
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
}


/* Logo */

.footer-logo {
	flex-shrink: 0;
	margin-right: 2.5rem;
}

.footer-logo a {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.footer-logo__img {
	display: block;
	height: auto;
	max-height: 70px;
	width: auto;
}


/* Vertical divider */

.footer-divider {
	align-self: stretch;
	background-color: var(--color-blue);
	flex-shrink: 0;
	margin-block: 0;
	margin-right: 2.5rem;
	width: 2px;
}


/* Navigation */

.footer-nav {
	flex: 1;
}

.footer-nav .footer-nav__menu {
	align-items: center;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;	
	gap: 0.375rem 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav .footer-nav__menu > li > a {
	color: var(--color-charcoal, #252A36);
	display: block;
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 0.25rem 0;
	text-decoration: none;
	text-transform: uppercase;
	transition: color var(--transition-fast);
}

.footer-nav .footer-nav__menu > li > a:hover,
.footer-nav .footer-nav__menu .current-menu-item > a {
	color: var(--color-dark-teal, #004751);
}

.footer-nav .footer-nav__menu .sub-menu {
	display: none;
}


/* Social icons — plain blue, no background circle */

.footer-social {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	gap: 0.875rem;
	margin-left: 2.5rem;
}

.footer-social__link {
	color: var(--color-blue, #1D4589);
	display: block;
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
	transition:
		color var(--transition-fast),
		transform var(--transition-fast);
}

.footer-social__link:hover {
	color: var(--color-dark-teal, #004751);
	transform: translateY(-2px);
}


/* Equal housing — bottom-right of the main footer band */

.footer-equal-housing {
	bottom: 0.875rem;
	position: absolute;
	right: clamp(0.25rem, 1.05vw, 4.375rem);
}

.footer-equal-housing svg {
	display: block;
	height: 32px;
	width: auto;
}


/* Bottom bar — dark teal, copyright centred
   -------------------------------------------------------------------------- */

.footer-bottom {
	background-color: var(--color-dark-teal, #004751);
}

.footer-bottom__inner {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 42px;
	padding-block: 0.5rem;
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
}

.footer-copyright {
	color: rgba(255, 255, 255, 0.65);
	font-family: var(--font-body, sans-serif);
	font-size: var(--text-xs, 0.75rem);
	font-weight: 400;
	letter-spacing: 0.03em;
	margin: 0;
	text-align: center;
}

.footer-copyright a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.footer-copyright a:hover {
	color: #fff;
}


/* --------------------------------------------------------------------------
   10. Accessibility — Focus Rings & Motion
   -------------------------------------------------------------------------- */

/* WCAG AA: 3px offset focus ring on all interactive elements */
:focus-visible {
	outline: 3px solid var(--color-focus, #0057b8);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Remove default outline only when :focus-visible is supported */
:focus:not(:focus-visible) {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* --------------------------------------------------------------------------
   11. Homepage Hero
   -------------------------------------------------------------------------- */

/* Texture background + dark teal tint via blend mode */
.section-hero {
	background-color: var(--color-dark-teal);
	align-items: center;
	background-image: url('images/texture-background-1.jpg');
	background-blend-mode: soft-light;
	background-position: top left;
	background-size: 100%;
	background-repeat: no-repeat;
	display: flex;
	margin-top: -142px; /* pull up behind the transparent sticky header */
	min-height: 100vh;
	overflow: hidden;
	padding-top: 142px; /* keep content below transparent header */
	position: relative;
}

/* Image element — right-side, clipped to the same diagonal shape */

.hero-media {
	clip-path: polygon(81% -30%, 21% 108%, 133% 104%);
	inset: 0;
	position: absolute;
	z-index: 1;
}

.hero-video, .hero-bg-image {
	display: block;
	height: 100%;
	object-position: center;
	object-fit: cover;
	width: 100%;
}

@media (min-width: 901px) {
	.hero-bg-image {
		width: 110%;
		max-width: none;
		transform: translateX(20%);
	}
}

/* Content — left half, vertically centered */

.hero-content {
	max-width: 70%;
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
	position: relative;
	z-index: 2;
}

.hero-headline {
	color: #fff;
	font-family: var(--font-display, 'Sidereal', serif);
	font-size: clamp(2.5rem, 5vw + 1rem, 72px);
	font-weight: 500;
	line-height: 1.05;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}

.hero-video-toggle {
	background: none;
	border: none;
	bottom: 1.25rem;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 400;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.5rem;
	position: absolute;
	right: 1.25rem;
	text-transform: uppercase;
	transition: color 0.2s ease;
	z-index: 10;
}

.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
	color: #fff;
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

.hero-subheadline {
	color: #fff;
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: 30px;
	font-weight: 300;
	line-height: 41px;
	max-width: 500px;
	margin: 0;
}



/* Mobile 900px: stacked layout — content first, media below */

@media (max-width: 900px) {
	.section-hero {
		align-items: stretch;
		background-size: cover;
		flex-direction: column;
		min-height: auto;
		overflow: visible;
		padding-top: 5rem;
	}

	.hero-content {
		max-width: 100%;
		padding: 5rem 2.5rem;
		position: relative;
		z-index: 2;
	}

	.hero-content {
		order: 1;
	}

	/* Pull media out of absolute positioning so it flows below content */
	.hero-media {
		clip-path: none;
		height: auto;
		inset: auto;
		order: 2;
		position: relative;
		width: 100%;
		z-index: 1;
	}

	/* Remove the dark overlay — no longer needed since media is below content */
	.hero-media::after {
		display: none;
	}

	.hero-video,
	.hero-bg-image {
		aspect-ratio: 4 / 3;
		height: auto;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}

	.hero-headline {
		font-size: 42px;
		line-height: 48px;
	}

	.hero-subheadline {
		font-size: 20px;
		line-height: 28px;
	}
}

@media (max-width: 600px) {


	.hero-content {
		padding: 3rem 2.5rem;
	}

	.hero-headline {
		font-size: 34px;
		line-height: 40px;
	}

	.hero-subheadline {
		font-size: 18px;
		line-height: 26px;
	}
}


/* ── First block offset — slides behind the transparent sticky nav ─────────
   Mirrors the hero's margin-top: -142px / padding-top: 142px technique.
   Targets any ACF block (wp-block-acf-*) that is the first child of
   .entry-content, so it works on any page using the block editor.          */

.entry-content > [class*="wp-block-acf-"]:first-child {
	margin-top: -142px;
}

/* Sections where content sits directly in <section> (no .section-inner) */
.entry-content > [class*="wp-block-acf-"]:first-child > section:first-child {
	padding-top: 142px;
}

/* Sections where top padding lives on .section-inner — override to add nav offset */
.entry-content > [class*="wp-block-acf-"]:first-child > section:first-child > .section-inner:first-child {
	padding-top: calc(142px + clamp(4rem, 8vw, 6rem));
}

/* Reset the section-level padding when .section-inner handles it */
.entry-content > [class*="wp-block-acf-"]:first-child > section:first-child:has(> .section-inner:first-child) {
	padding-top: 0;
}

@media (max-width: 768px) {
	.entry-content > [class*="wp-block-acf-"]:first-child {
		margin-top: -80px;
	}

	.entry-content > [class*="wp-block-acf-"]:first-child > section:first-child {
		padding-top: 80px;
	}

	.entry-content > [class*="wp-block-acf-"]:first-child > section:first-child > .section-inner:first-child {
		padding-top: calc(80px + clamp(4rem, 8vw, 6rem));
	}

	.entry-content > [class*="wp-block-acf-"]:first-child > section:first-child:has(> .section-inner:first-child) {
		padding-top: 0;
	}
}

.pattern-geo-pattern h2 .headline-secondary,
.pattern-geo-pattern h2 .headline-primary {
	color: var(--color-dark-teal);
	font-family: var(--font-body);
	font-size: var(--text-h2);
	text-align: right;
}

.post-type-archive-projects .pattern-geo-pattern h2 .headline-secondary {
	color: var(--color-blue);
	font-weight: bold;
	font-size: var(--text-h3);
	text-align: left;
}

.post-type-archive-projects .pattern-geo-pattern h2 .headline-primary {
	font-size: 2.5rem;
	font-weight: normal;
	text-align: left;
	font-family: var(--font-display);
}

.post-type-archive-projects .section-purpose {
	min-height: 0 !important;
}

.post-type-archive-projects .section-purpose__image {
	min-height: 0 !important;
	aspect-ratio: 5.5 / 4;
}

.post-type-archive-projects .section-purpose__content {
    padding: clamp(3rem, 4vw, 4rem);
}


.pattern-geo-pattern h2 .headline-secondary {
	font-weight: 300;
}

.pattern-geo-pattern h2 .headline-primary {
	font-weight: 800;
}

/* ── Background color utilities ──────────────────────────────────────────── */

.bg-white      { background-color: var(--color-white); }
.bg-off-white  { background-color: var(--color-off-white); }
.bg-beige      { background-color: var(--color-beige); }
.bg-light-gray { background-color: var(--color-light-gray); }
.bg-teal       { background-color: var(--color-teal); }
.bg-light-teal { background-color: var(--color-light-teal); }
.bg-dark-teal  { background-color: var(--color-dark-teal); }
.bg-blue       { background-color: var(--color-blue); }
.bg-charcoal   { background-color: var(--color-charcoal); }


/* ── Dark-section text cascade ────────────────────────────────────────────── */

.is-dark,
.is-dark p {
	color: #ffffff;
}

.is-dark h1,
.is-dark h2,
.is-dark h3,
.is-dark h4,
.is-dark h5,
.is-dark h6,
.is-dark .headline-primary,
.is-dark .section-heading,
.is-dark .mission-text {
	color: #fff;
}

.is-dark .headline-secondary {
		color: var(--color-light-teal);
}

.is-dark .section-intro,
.is-dark .section-eyebrow {
	color: #fff;
}

.is-dark a:not(.button) {
	color: var(--color-light-teal);
}


/* ── Background patterns ──────────────────────────────────────────────────── */

.has-pattern {
	isolation: isolate;
	position: relative;
}

.has-pattern::before {
	background-repeat: repeat;
	content: '';
	inset: 0;
	opacity: 0.38;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.has-pattern.is-dark::before {
	opacity: 0.12;
}

.has-pattern > * {
	position: relative;
	z-index: 1;
}

.pattern-geo-tile::before    { background-image: url('images/geo-pattern.png'); }
.pattern-geo-pattern::before { opacity: 0.15; background-image: url('images/geo-pattern-2.png'); background-size: 30%; }
.pattern-triangle::before    { background-image: url('images/triangle-geo.png'); }
.pattern-texture::before     { background-image: url('images/texture-background-1.jpg'); }


/* ── Shared section container ─────────────────────────────────────────────── */

.section-inner {
	margin-inline: auto;
	max-width: var(--max-width, 1260px);
	padding-block: clamp(4rem, 8vw, 6rem);
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
}


/* ── Shared display headline (Breaking Ground + Purpose) ──────────────────── */

.display-headline {
	margin-bottom: var(--space-6, 1.5rem);
}

.headline-primary {
	display: block;
	font-family: var(--font-display, 'Sidereal', serif);
	font-size: var(--text-h2);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}

.headline-secondary {
	display: block;
	text-transform: uppercase;
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: clamp(1.25rem, 2vw + 0.25rem, 2rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: var(--color-light-teal);
	margin-bottom: 0.375rem;
}


/* ── Shared section header / intro ────────────────────────────────────────── */

.section-header {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading {
	font-family: var(--font-display, 'Sidereal', serif);
	font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: var(--space-4, 1rem);
}

.section-eyebrow {
	color: var(--color-mid-gray, #9A9998);
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: var(--text-base);
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: var(--space-8, 2rem);
	text-align: center;
	text-transform: uppercase;
}

.section-intro {
	color: var(--color-text);
	font-size: var(--text-base);
	line-height: var(--leading-base);
	max-width: 50ch;
}

.section-body {
	line-height: var(--leading-base, 1.6);
	margin-bottom: var(--space-8, 2rem);
	max-width: 54ch;
}

.section-body ul,
.section-two-col-content__col ul {
	margin-block: 1rem;
	padding-left: 0;
}

.section-two-col-content__col ul:last-child {
	margin-bottom: 0;
}

.section-two-col-content__col ul li:last-child {
	margin-bottom: 0;
}

.section-body ul li,
.section-two-col-content__col ul li {
	padding-left: 1.5em;
	position: relative;
	margin-bottom: 0.5em;
}

.section-body ul li::before,
.section-two-col-content__col ul li::before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	background-color: var(--color-teal);
	transform: rotate(45deg);
	position: absolute;
	left: 0;
	top: 0.55em;
}

/* Dark section context — light teal diamond */
.is-dark .section-body ul li::before,
.is-dark .section-two-col-content__col ul li::before {
	background-color: var(--color-light-teal);
}

.section-cta {
	margin-top: var(--space-8, 2rem);
}

.section-cta--center {
	display: flex;
	justify-content: center;
}


/* ── Mission ──────────────────────────────────────────────────────────────── */




.section-mission .section-inner {
	text-align: center;
}

.mission-text {
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: clamp(1.25rem, 1vw + 0.5rem, 1.875rem);
	font-weight: 400;
	line-height: var(--leading-base, 1.35);
	margin-bottom: 0;
	margin-inline: auto;
	max-width: 54ch;
}

.mission-text h2, .mission-text h3 {
	margin-bottom: 2rem;
	line-height: var(--leading-snug);
}


.mission-text h3 {
	color: var(--color-teal);
}

.mission-text h3 strong {
	
color: var(--color-dark-teal);
	font-weight: 300;
}

.section-mission .section-cta {
	display: flex;
	justify-content: center;
}

@media (max-width: 900px) {
	.section-mission .section-inner  {
	     padding-inline: clamp(2.25rem, 4.05vw, 4.375rem);
	}
}


/* ── Partners Carousel ────────────────────────────────────────────────────── */

.partners-slider {
	margin-inline: calc(-50vw + 50%);
	overflow: hidden;
	padding-inline: 5rem;
	position: relative;
}

.partners-slider__window {
	width: 100%;
	overflow: hidden;
}


.partners-slider__track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	width: 100%;
}

.partners-slider__slide {
	display: grid;
	flex: 0 0 100%;
	gap: 2rem;
	grid-template-columns: repeat(5, 1fr);
	min-width: 0;
}

.partner-logo {
	align-items: center;
	display: flex;
	justify-content: center;
}

.partner-logo__name {
		text-align: center;
		line-height: var(--leading-snug);
	}

.partner-logo img {
	filter: grayscale(100%);
	height: 100px;
	max-width: 150px;
	object-fit: contain;
	opacity: 0.55;
	transition:
		filter var(--transition-base),
		opacity var(--transition-base);
	width: 100%;
}

.home .partner-logo img {
	height: 60px;
}

.partner-logo a:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* Color logos — no grayscale or opacity treatment */
.logo-style-color .partner-logo img {
	filter: none;
	opacity: 1;
}

.logo-style-color .partner-logo a:hover img {
	filter: none;
	opacity: 0.85;
}

/* White logos on dark/charcoal backgrounds */
.is-dark .partner-logo img {
	filter: brightness(0) invert(1);
	opacity: 1;
}

.is-dark .partner-logo a:hover img {
	opacity: 1;
}

.partners-slider__prev,
.partners-slider__next {
	background: no-repeat center / 24px 24px;
	background-image: url('images/arrow.svg');
	border: none;
	cursor: pointer;
	height: 40px;
	opacity: 1;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity var(--transition-base);
	width: 40px;
	z-index: 2;
	color: transparent;
}

.partners-slider__prev {
	left: 0rem;
	transform: translateY(-50%);
}

.partners-slider__next {
	right: 0rem;
	transform: translateY(-50%) scaleX(-1);
}

.partners-slider__prev:hover,
.partners-slider__next:hover {
	background-color: transparent;
	opacity: 0.5;
	color: transparent;
}

/* Light backgrounds: drop the SVG + charcoal pill, use blue FA arrows instead */
.section-partners:not(.is-dark) .partners-slider__prev,
.section-partners:not(.is-dark) .partners-slider__next {
	background: none;
	border-radius: 0;
	color: var(--color-blue);
	font-size: 1.5rem;
	opacity: 1;
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-partners:not(.is-dark) .partners-slider__prev::before,
.section-partners:not(.is-dark) .partners-slider__next::before {
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	display: block;
}

.section-partners:not(.is-dark) .partners-slider__prev::before {
	content: '\f060';
}

.section-partners:not(.is-dark) .partners-slider__next::before {
	content: '\f061';
}

/* Reset the scaleX flip on next — FA arrow already points right */
.section-partners:not(.is-dark) .partners-slider__next {
	transform: translateY(-50%) scaleX(1);
}

.section-partners:not(.is-dark) .partners-slider__prev:hover,
.section-partners:not(.is-dark) .partners-slider__next:hover {
	opacity: 0.6;
	color: var(--color-blue);
}

/* Eyebrow on light partner sections */
.section-partners:not(.is-dark) .section-eyebrow {
	color: var(--color-blue);
}

.section-partners .section-inner {
	padding-block: clamp(4rem, 4vw, 6rem);
	padding-inline: 0.5rem;
}

.partners-slider__dots {
	display: none;
}

@media (max-width: 900px) {
	.partners-slider__slide {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {

	.partners-slider {
		margin-inline: 0;
		padding-inline: 0;
	}

	.partners-slider__prev,
	.partners-slider__next { display: none !important; }


	.partners-slider__window {
		display: none;
	}

	.partners-mobile-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		text-align: center;
	}

	


	.partners-mobile-grid .partner-logo {
		padding: 2rem 1.5rem;
		/* inner borders always visible — opacity is on the inner content, not the cell */
		border-right: 1px solid var(--color-dark-teal);
		border-bottom: 1px solid var(--color-dark-teal);
	}

	/* Remove right border from right column */
	.partners-mobile-grid .partner-logo:nth-child(2n) {
		border-right: none;
	}

	/* Remove bottom border from last row */
	.partners-mobile-grid .partner-logo:nth-last-child(-n+2) {
		border-bottom: none;
	}

	/* Fade the inner content, not the cell */
	.partners-mobile-grid .partner-logo .partner-logo__inner {
		opacity: 0;
		transition: opacity 0.6s ease;
	}

	.partners-mobile-grid .partner-logo.is-visible .partner-logo__inner {
		opacity: 1;
	}

	/* Remove section inline padding on mobile */
	.section-partners .section-inner {
		padding-inline: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.partners-slider__track {
		transition: none;
	}
}


/* Partners grid (non-slider display mode) */
.partners-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem 3rem;
}

.partners-grid .partner-logo {
	flex: 0 0 calc(33.333% - 2rem);
	max-width: calc(33.333% - 2rem);
}

@media (max-width: 900px) {
	.partners-grid .partner-logo {
		flex: 0 0 calc(33.333% - 1.5rem);
		max-width: calc(33.333% - 1.5rem);
	}
}

/* ── Recent Projects ──────────────────────────────────────────────────────── */

/* Remove centering so the left edge aligns with the hero's left padding */
.section-recent-projects > .section-inner {
	margin-inline: 0;
	max-width: none;
}

.section-recent-projects .section-header.projects-slider__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	max-width: none;
	margin-bottom: 1.5rem;
}

.projects-slider__header-text {
	flex: 1 1 auto;
	min-width: 0;
}

.projects-slider__view-all {
	flex-shrink: 0;
}

.section-recent-projects h2.section-heading {
    font-family: var(--font-body);
    font-size: var(--text-h2);
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--color-dark-teal);
    margin-bottom: 0.375rem;
	font-weight: 300;
	text-transform: uppercase;
}


/* Projects slider — nav stays inside section-inner, track bleeds full viewport */
.projects-slider {
	position: relative;
}

/* Status-bar nav — segmented pills, constrained to section-inner width */
.projects-slider__nav {
	display: flex;
	gap: 0;
	margin-bottom: 1.5rem;
	border-radius: 30px;
	background-color: var(--color-light-gray);
	cursor: ew-resize;
	user-select: none;
}

.projects-slider__pip {
	background-color: var(--color-light-gray);
	border: none;
	border-radius: 30px;
	cursor: pointer;
	border-radius: 0;
	flex: 1;
	height: 8px;
	padding: 0;
	transition: background-color 0.3s ease;
}

.projects-slider__pip.is-active {
	border-radius: 30px;
	background-color: var(--color-blue);
}
.projects-slider__pip:hover {
	border-radius: 30px;
}

/* Viewport bleeds outside section-inner padding — overflow visible so peek cards show */
.projects-slider__viewport {
	margin-left: calc(-1 * var(--section-padding-inline, clamp(1.5rem, 6vw, 7rem)));
	margin-right: calc(-1 * var(--section-padding-inline, clamp(1.5rem, 6vw, 7rem)));
	overflow: hidden;
	touch-action: manipulation;
}

@media (min-width: 1025px) {
	.projects-slider__viewport {
		overflow: visible;
	}
}

.projects-slider__track {
	display: flex;
	gap: 1.5rem;
	padding-left: var(--section-padding-inline, clamp(1.5rem, 6vw, 7rem));
	padding-right: calc(var(--section-padding-inline, clamp(1.5rem, 6vw, 7rem)) + 2rem);
	transition: transform 0.4s ease;
	will-change: transform;
}

/* Each card — fixed width showing ~3.5 cards to hint at more */
.project-card {
	flex: 0 0 calc((100vw - (var(--section-padding-inline, clamp(1.5rem, 6vw, 7rem)) * 2) - (1.5rem * 2.5)) / 3.5);
	min-width: 0;
	overflow: hidden;
}

.project-card {
	overflow: hidden;
}

.project-card:last-child {
	margin-right: 3rem;
}

.project-card__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.project-card__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

.project-card__image img,
.project-card__no-image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
	width: 100%;
}

.project-card__no-image {
	background-color: var(--color-light-gray, #EDECEB);
}

.project-card:hover .project-card__image > img {
	transform: scale(1.05);
}

/* Hover overlay — blue mask + logo */
.project-card__hover-overlay {
	align-items: center;
	background-color: rgba(31, 71, 136, 0.79);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity var(--transition-base, 0.2s ease);
}

.project-card:hover .project-card__hover-overlay {
	opacity: 1;
}

.project-card__logo {
	display: block;
	height: auto;
	max-height: 70%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}


/* ── Breaking Ground ──────────────────────────────────────────────────────── */

.section-breaking-ground {
	overflow: hidden;
	position: relative;
}

.section-breaking-ground.has-pattern::before {
	display: none;
}

.section-breaking-ground.bg-light-teal.has-pattern::before {
	display: block;
}

.section-breaking-ground.bg-teal .section-bg__content h2 .headline-primary {
color: var(--color-dark-teal) !important;
}

.section-breaking-ground.bg-light-teal .section-bg__content h2 .headline-primary {
	color: var(--color-blue) !important;
}

.section-breaking-ground.bg-light-teal .section-bg__content h2 .headline-secondary {
	color: var(--color-dark-teal);
}

/* Corner triangle decorations — top-left and bottom-right, ~14% opacity, no mask */
.section-breaking-ground__tri {
	background-image: url('images/triangle-geo.png');
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 420px;
	pointer-events: none;
	position: absolute;
	width: 420px;
	z-index: 0;
}

.section-breaking-ground__tri--tl {
	background-position: top left;
	left: 0;
	top: 0;
	transform: rotate(180deg);
}

.section-breaking-ground__tri--br {
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

.section-breaking-ground__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 560px;
	position: relative;
	z-index: 1;
}

/* Image column — bleeds left + bottom */
.section-bg__image {
	align-items: flex-start;
	display: flex;
	justify-content: flex-start;
	overflow: visible;
	padding-top: 50px;
}

/* Diamond crop wrapper — bleeds off left edge and bottom of section */
.section-bg__image-diamond {
	    aspect-ratio: 1;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    flex-shrink: 0;
    margin-bottom: -58%;
    margin-left: -10%;
    overflow: hidden;
    width: 122%;
}

.section-bg__image-diamond img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* House/pentagon crop — points: 220,0 440,180 440,460 0,460 0,180 on 440×460 viewBox */
.section-bg__image-home {
	aspect-ratio: 440 / 460;
	clip-path: polygon(50% 0%, 100% 39.13%, 100% 100%, 0% 100%, 0% 39.13%);
	flex-shrink: 0;
   margin-bottom: -35%;
    margin-left: -12%;
    margin-top: -150px;
	overflow: hidden;
	width: 100%;
}

.section-bg__image-home img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Content column — top-aligned, shifted slightly left of center */
.section-bg__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 12vw, 10rem) clamp(3rem, 5vw, 5rem) 5rem;
}

/* When the house shape is active, centre the content column vertically */
.section-breaking-ground__inner:has(.section-bg__image-home) .section-bg__content {
	justify-content: center;
}

.parent-pageid-16 .section-bg__content h2 .headline-primary {
	font-size: 2rem;
}

.section-bg__content h2 .headline-primary {
	color: var(--color-white) !important;
}

.section-bg__content h2 .headline-secondary {
	color: var(--color-teal);
}

/* Image-right: secondary becomes a gold eyebrow, primary stays Sidereal teal */
.section-breaking-ground__inner.image-right .display-headline--eyebrow-first .headline-secondary {
	color: var(--color-gold);
	font-size: var(--text-base);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.section-breaking-ground__inner.image-right .display-headline--eyebrow-first .headline-primary {
	color: var(--color-teal);
}

/* Image-right variant — shape moves to upper-right column */
.section-breaking-ground__inner.image-right {
	grid-template-columns: 1fr 1fr;
}

.section-breaking-ground__inner.image-right .section-bg__content {
	order: 1;
	justify-content: center;
	padding-left: clamp(2rem, 6vw, 6rem);
	padding-right: 2rem;
}

.section-breaking-ground__inner.image-right .section-bg__image {
	order: 2;
	justify-content: flex-end;
	padding-top: 0;
	align-items: flex-start;
}

.section-breaking-ground__inner.image-right .section-bg__image-diamond {
	margin-left: 0;
	margin-right: -20%;
	margin-top: -20%;
}

.section-breaking-ground__inner.image-right .section-bg__image-home {
	margin-left: 0;
	margin-right: -30%;
	margin-top: -100px;
}

.section-breaking-ground .section-body {
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.75;
	margin-bottom: 0;
}

.section-breaking-ground .section-body--small {
	font-size: var(--text-base, 1rem);
	line-height: var(--leading-base, 1.6);
}

.section-breaking-ground .section-body--large {
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.75;
}

.home .section-breaking-ground .section-body,
.home .section-breaking-ground .section-body--large,
.home .section-breaking-ground .section-body--small {
	font-size: var(--text-base, 1rem);
	line-height: var(--leading-base, 1.8);
}

.section-breaking-ground .section-cta {
	display: flex;
	justify-content: flex-start;
}

@media (max-width: 900px) {
	.section-breaking-ground .section-cta {
		justify-content: center;
	}

	.home .section-breaking-ground .section-cta {
justify-content: flex-end;
	}

	.section-breaking-ground .section-body {
		max-width: 100%;
  padding: 0px 30px;
	}

	.home .section-breaking-ground .section-body {
  padding: 0px;
	}


	}

@media (max-width: 600px) {

	.section-breaking-ground .section-body {
	padding: 0px;
}

.page-id-16 .section-breaking-ground .section-body {
	padding: 0px 60px;
}
}


/* ── Portfolio Grid ───────────────────────────────────────────────────────── */

.section-portfolio-grid {
	overflow: hidden;
	position: relative;
}

.section-portfolio-grid .section-inner {
	max-width: none;
	padding-block: clamp(4rem, 6vw, 4rem);
}

/* Triangle decorations — absolute within the section */
.section-portfolio-grid__tri {
	background-image: url('images/triangle-geo.png');
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 420px;
	pointer-events: none;
	position: absolute;
	width: 420px;
	z-index: 0;
}

.section-portfolio-grid__tri--tl {
	background-position: top left;
	left: 0;
	top: 0;
	transform: rotate(180deg);
}

.section-portfolio-grid__tri--br {
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

.section-portfolio-grid__heading {
	color: #fff;
	font-family: var(--font-body);
	font-size: var(--text-h2);
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.3;
	margin-bottom: 2.5rem;
	text-transform: uppercase;
}

.section-portfolio-grid__heading strong {
	font-weight: 800;
}

.portfolio-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, 1fr);
}

.portfolio-card__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.portfolio-card__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

.portfolio-card__image img,
.portfolio-card__no-image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow, 0.4s ease);
	width: 100%;
}

.portfolio-card__no-image {
	background-color: var(--color-blue, #1f4788);
}

/* Default state: overlay is visible (blue mask + logo) */
.portfolio-card__overlay {
	align-items: center;
	background-color: rgba(31, 71, 136, 0.79);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	opacity: 1;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity var(--transition-base, 0.25s ease);
}

/* Hover: overlay fades out, photo shows */
.portfolio-card:hover .portfolio-card__overlay {
	opacity: 0;
}

.portfolio-card:hover .portfolio-card__image > img {
	transform: scale(1.05);
}

.portfolio-card__logo {
	display: block;
	height: auto;
	max-height: 70%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

@media (max-width: 1024px) {
	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.section-portfolio-grid__tri {
		height: 200px;
		width: 200px;
	}
}

/* ── Case Studies ─────────────────────────────────────────────────────────── */

.section-case-studies {
	display: grid;
	grid-template-columns: 42% 1fr;
	min-height: 560px;
	overflow: hidden;
}

/* Content column */
.case-studies__content {
	align-self: center;
	padding-block: clamp(4rem, 8vw, 6rem);
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
}

/* Heading: single line, font-body, secondary bold + primary light — matches recent projects style */
.case-studies__content .display-headline {
	margin-bottom: 1.25rem;
}

.case-studies__content .display-headline .headline-primary,
.case-studies__content .display-headline .headline-secondary {
	display: inline;
	font-family: var(--font-body);
	font-size: clamp(2rem, 2vw + 0.25rem, 2rem);
	letter-spacing: 0.02em;
	line-height: var(--leading-tight);
	color: var(--color-blue) !important;
	text-transform: uppercase;
}

.case-studies__content .display-headline .headline-primary {
	color: inherit;
	font-weight: 800;
	margin-bottom: 0;
}

.case-studies__content .display-headline .headline-secondary {
	color: inherit;
	font-weight: 300;
}

.case-studies__content .display-headline .headline-secondary + .headline-primary::before {
	content: ' ';
}

/* Body copy: inherit global .section-body defaults, just widen the measure */
.case-studies__content .section-body {
	line-height: var(--leading-base, 1.8);
	max-width: 60ch;
}

/* Image strip */
.case-studies__images {
	align-items: stretch;
	display: flex;
	overflow: hidden;
	position: relative;
}

/* Individual card — drop-shadow via filter (box-shadow is clipped by clip-path) */
.case-study-card {
	display: block;
	flex: 1 1 0;
	filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.28));
	min-width: 0;
	position: relative;
	text-decoration: none;
}

/* Overlap between cards */
.case-study-card + .case-study-card {
	margin-left: -7%;
}

/* The clipped image wrapper — 71.59° parallelogram on all cards */
.case-study-card__image-wrap {
	height: 100%;
	overflow: hidden;
	position: relative;
	clip-path: polygon(28% 0%, 100% 0%, 72% 100%, 0% 100%);
}

.case-study-card__image-wrap img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.case-study-card__no-image {
	background-color: var(--color-light-gray);
	height: 100%;
	width: 100%;
}

.case-study-card__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 71, 81, 0);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem 2rem 1.5rem 1.5rem;
	transition: background-color 0.35s ease;
}

.case-study-card__title {
	color: #fff;
	font-family: 'Lorin', sans-serif;
	font-size: var(--text-base);
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	opacity: 0;
	text-transform: uppercase;
	transform: translateY(6px);
	max-width: 150px;
	transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.case-study-card__location {
	color: #fff;
	font-family: 'Lorin', sans-serif;
	font-size: var(--text-base);
	font-weight: 300;
	line-height: 1.4;
	margin: 0.25rem 0 0;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

/* Hover: dark teal mask + text reveal */
.case-study-card:hover .case-study-card__overlay {
	background-color: rgba(0, 71, 81, 0.82);
}

.case-study-card:hover .case-study-card__title,
.case-study-card:hover .case-study-card__location {
	opacity: 1;
	transform: translateY(0);
}

/* Stack on tablet and below */
@media (max-width: 900px) {
	.section-case-studies {
		grid-template-columns: 1fr;
	}

	.case-studies__images {
		min-height: 400px;
		overflow: visible;
	}

	.case-study-card + .case-study-card {
		margin-left: -14%;
	}
}

@media (max-width: 600px) {
	.section-case-studies {
		grid-template-columns: 1fr;
	}

	.case-studies__images {
		min-height: 280px;
		gap: 35px;
		margin-left: calc(-1 * clamp(1.25rem, 4.05vw, 4.375rem) - 2rem);
		margin-right: calc(-1 * clamp(1.25rem, 4.05vw, 4.375rem) - 2rem);
	}

	.case-study-card + .case-study-card {
		margin-left: -14%;
	}

	.case-studies__content {
		text-align: center;
	}
}

/* ── Purpose / About Split ────────────────────────────────────────────────── */

.section-purpose {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 600px;
	position: relative;
}

.section-purpose__image {
	order: 0;
	overflow: visible;
	position: relative;
}

.section-purpose__image--padded {
	padding: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-purpose__image.section-purpose__image--padded img {
	height: auto;
	width: 100%;
	object-fit: contain;
}

.section-purpose.image-right .section-purpose__image {
	order: 1;
}

.section-purpose__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	overflow: hidden;
	width: 100%;
}

.section-purpose__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	order: 1;
	overflow: hidden;
	padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
	position: relative;
}

.section-purpose.image-right .section-purpose__content {
 padding-left: clamp(2rem, 6vw, 6rem);
}

.home .section-purpose__content {
	padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 10vw, 10rem);
}

.home .section-purpose__content .section-body {
    max-width: 44ch;
}

.section-purpose__content .section-eyebrow {
	text-align: left;
	margin-bottom: 1rem;
	color: var(--color-dark-teal);
}

.section-purpose.image-right .section-purpose__content {
	order: 0;
}

.section-purpose.no-image {
	grid-template-columns: 1fr 3fr;
}

.section-purpose.no-image.has-brand-icon .section-purpose__content {
	padding-top: clamp(2rem, 4vw, 3rem);
	padding-right: clamp(3rem, 8vw, 8rem);
}

.section-purpose__icon-only {
	order: 0;
	position: relative;
}

.section-purpose__icon-only img {
	display: block;
	height: auto;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: clamp(220px, 24vw, 380px);
}

.section-purpose__brand-icon {
	top: -11%;
	pointer-events: none;
	position: absolute;
	right: 0;
	transform: translate(50%, 50%);
	z-index: 2;
}

/* Image on right → icon flips to left edge of image, centering it on the divider */
.section-purpose.image-right .section-purpose__brand-icon {
	right: auto;
	left: 0;
	transform: translate(-50%, 50%);
}

.section-purpose__brand-icon img {
	display: block;
	height: auto;
	width: clamp(180px, 19vw, 260px);
}

/* Extra top padding so content clears the icon */
.has-brand-icon .section-purpose__content {
	padding-top: clamp(15rem, 32vw, 20rem);
}

.section-purpose .section-body {
	margin-bottom: 0;
}

.section-purpose .section-body span {
	font-size: var(--text-md);
	line-height: var(--leading-tight);
	color: var(--color-light-teal);
	font-weight: 800;
}

.section-purpose.bg-light-teal .display-headline .headline-primary,
.section-purpose.bg-light-teal .display-headline .headline-secondary {
	color: var(--color-blue);
}

.section-purpose.image-right.bg-dark-teal .section-eyebrow {
	color: #fff;
	margin-bottom: 0.5rem;
}

.section-purpose.image-right.bg-dark-teal .display-headline .headline-primary,
.section-purpose.image-right.bg-dark-teal .display-headline .headline-secondary {
	font-family: var(--font-display);
	font-size: 2rem;
	line-height: var(--leading-tight);
	margin-bottom: 0px;
	font-weight: 300;
}

.section-purpose.image-right.bg-dark-teal .display-headline .headline-secondary {
	color: var(--color-light-teal);
}

.section-purpose.image-right.bg-dark-teal .display-headline .headline-primary {
	color: var(--color-gold);
}

.section-purpose__link-list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.section-purpose__link-list li {
	border-top: 1px solid rgba(255,255,255,0.15);
}

.section-purpose__link-list li:last-child {
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

.section-purpose__link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 0;
	font-size: var(--text-base);
	font-weight: 800;
	color: inherit;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: color 0.2s, padding-left 0.2s;
}



.section-purpose__link-list a:hover {
	color: var(--color-gold, #c9a84c);
	padding-left: 0.375rem;
}

.section-purpose__link-list a .fa-arrow-right {
	font-size: 0.75rem;
	opacity: 0.6;
	transition: opacity 0.2s, transform 0.2s;
	flex-shrink: 0;
}

.section-purpose__link-list a:hover .fa-arrow-right {
	opacity: 1;
	transform: translateX(3px);
}

/* Light background override */
.section-purpose:not(.is-dark) .section-purpose__link-list li {
	border-color: rgba(0,0,0,0.1);
}

.section-purpose:not(.is-dark) .section-purpose__link-list a:hover {
	color: var(--color-dark-teal);
}

@media (max-width: 900px) {
.section-purpose .section-body {
  max-width: 100%;
  padding: 0px 30px;
}

.home .section-purpose .section-body {
  padding: 0px;
}

.home .section-purpose {
	padding-bottom: 2rem;
}

.home .section-purpose__content .section-body {
    max-width: 100%;
}

.section-purpose .section-eyebrow {
	text-align: center;
}

.section-purpose.image-right .section-purpose__content {
	padding: 2rem clamp(2rem, 4.05vw, 4.375rem) clamp(3rem, 7vw, 7rem);
}


.section-purpose.has-brand-icon .section-purpose__content {
	padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 4.05vw, 4.375rem);
}

.section-purpose__image--padded {
	padding: 3rem 3rem 0px
}

.section-breaking-ground__inner.image-right .display-headline {
	padding: 0px 30px;
}


}

@media (max-width: 600px) {
.home .section-purpose.has-brand-icon .section-purpose__content {
 padding: 2rem clamp(2rem, 4.05vw, 4.375rem) 2rem;
}

.page-id-18 .section-purpose__brand-icon {
        bottom: 20px;
        left: 50%;
        top: auto;
        right: auto;
        transform: translate(-50%, 50%);
}

.page-id-18 .section-purpose.has-brand-icon .section-purpose__content {
	padding: 6rem clamp(2rem, 4.05vw, 4.375rem) 2rem;
}

.page-id-18 .section-purpose.has-brand-icon.no-image .section-purpose__content {
	padding: 2rem clamp(2rem, 4.05vw, 4.375rem);
}

.page-id-18 .section-purpose .section-body {
	padding: 0;
}

.page-id-12 .section-purpose {
	flex-direction: column-reverse;
}

.page-id-12 .section-purpose.image-right .section-purpose__content {
	padding: 2rem 30px 0px;
}

.page-id-12 .section-purpose__image--padded {
        padding: 3rem;
    }

}
/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Large tablet — shrink nav gap and logo slightly */
@media (max-width: 1200px) {
	.site-header__nav .genesis-nav-menu {
		gap: 2rem;
	}

	.site-header__logo-img {
		width: 260px;
	}

	.site-header.is-scrolled .site-header__logo-img {
		width: 180px;
	}

	.section-bg__image-diamond {
		margin-left: -20%;
	}

	.post-type-archive-projects .section-purpose__image {
	aspect-ratio: auto;
}
}

/* Small desktop — tighter gap before hamburger kicks in */
@media (max-width: 1024px) {
	.site-header__nav .genesis-nav-menu {
		gap: 1.25rem;
	}

	.site-header__nav .genesis-nav-menu a {
		font-size: 0.9375rem;
	}

	.footer-widgets {
		grid-template-columns: repeat(2, 1fr);
	}
	
}

/* Tablet — switch to hamburger */
@media (max-width: 900px) {
	.menu-toggle {
		display: flex;
	}

	.site-header__nav {
		display: none;
	}
}

/* Sections — tablet */
@media (max-width: 900px) {
	.project-card {
		flex: 0 0 calc((100vw - (var(--section-padding-inline, clamp(1.5rem, 6vw, 7rem)) * 2) - 1.5rem) / 2.3);
	}

	.section-breaking-ground__inner {
		grid-template-columns: 1fr;
	}

	.section-bg__content {
		order: 1;
	}

	.section-bg__image {
		order: 2;
	}

	.section-bg__image {
		min-height: 0;
		padding-block: 0rem;
	}

	.section-bg__image-diamond {
		max-width: 100%;
        margin-left: auto;
        margin-top: 2rem;
		margin-bottom: -19%;
	}

	.home .section-bg__image-diamond {
		max-width: 480px;
        margin-left: 0%;	
		margin-top: 0px;
		margin-bottom: -19%;
	}

	.section-bg__image-home {
		margin-left: auto;
		margin-right: auto;
		margin-top: 1rem;
		margin-bottom: 0;
		width: 70%;
	}

	.section-bg__content {
		margin-left: 0;
		padding-bottom: 0px;
		padding-top: 5rem;
	}

	/* Image-right mobile: stack content above, image below with left-bleed */
	.section-breaking-ground__inner.image-right {
		grid-template-columns: 1fr;
	}

	.section-breaking-ground__inner.image-right .section-bg__content {
		order: 1;
		padding-left: 0;
		padding-right: 0;
	}

	.section-breaking-ground__inner.image-right .section-bg__image {
		order: 2;
		justify-content: flex-start;
	}

	.section-breaking-ground__inner.image-right .section-bg__image-diamond {
		margin-right: auto;
		margin-left: auto;
		margin-top: 2rem;
		width: 100%;
	}

	.section-breaking-ground__inner.image-right .section-bg__image-home {
		margin-right: 0;
		margin-left: auto;
		margin-top: 0;
	}

	.section-breaking-ground__tri {
		height: 260px;
		width: 260px;
	}

	.section-purpose {
		display: flex;
		flex-direction: column;
	}

	.section-purpose__image,
	.section-purpose.image-right .section-purpose__image {
		min-height: 320px;
		order: 0;
	}

	.section-purpose__content,
	.section-purpose.image-right .section-purpose__content {
		order: 1;
	}

	/* Icon is inside .section-purpose__image — bottom: 0 + translateY(50%)
	   always centres it on the image/content seam regardless of image height */
	.section-purpose__brand-icon {
		top: auto;
		bottom: 50%;
		left: 0;
		right: auto;
		transform: translate(-50%, 50%);
	}

	/* Remove the oversized top padding — icon no longer sits above the text */
	.has-brand-icon .section-purpose__content {
		padding-top: clamp(3rem, 6vw, 6rem);
	}

	.section-purpose__icon-only {
		display: none;
		min-height: none;
	}

	.section-purpose.no-image {
		min-height: 0px;
	}


	body:not(.home) .section-bg__content, 	body:not(.home) .section-purpose__content {
		text-align: center;
	}

	.post-type-archive-projects .pattern-geo-pattern h2 .headline-primary,
		.post-type-archive-projects .pattern-geo-pattern h2 .headline-secondary {
	text-align: center;
	}
}

/* Footer — tablet */
@media (max-width: 900px) {
	.footer-main__inner {
		flex-wrap: wrap;
		gap: 1.25rem;
		padding-top: 20px;
		justify-content: center;
		text-align: center;
	}

	.footer-main {
		background-size: 100%;
	}

	.footer-logo {
		margin-right: 0;
		width: 100%;
		display: flex;
		justify-content: center;
	}

	.footer-divider {
		display: none;
	}

	.footer-nav {
		width: 100%;
	}

	.footer-nav .footer-nav__menu {
		justify-content: center;
	}

	.footer-social {
		margin-left: 0;
		justify-content: center;
		width: 100%;
	}

	.footer-bottom__inner {
		padding-inline: 1rem;
	}

	.footer-equal-housing {
		bottom: 0.75rem;
		right: 1rem;
	}
}

/* Mobile */
@media (max-width: 600px) {
	h1 { font-size: var(--text-4xl, 2.488rem); }
	h2 { font-size: var(--text-3xl, 2.074rem); }
	h3 { font-size: var(--text-2xl, 1.728rem); }

	.section-hero {
		margin-top: -80px; /* matches mobile header height */
	}

	.projects-slider__viewport {
		margin-left: 0;
		margin-right: 0;
	}

	.projects-slider__track {
		padding-left: 0;
		padding-right: 0;
	}

	.section-recent-projects .section-header.projects-slider__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.project-card {
		flex: 0 0 100%;
	}

	.section-bg__content,
	.section-purpose__content {
		padding-inline: clamp(2.25rem, 4.05vw, 4.375rem);
	}

	.site-header__inner {
		height: 80px;
	}

	.site-header.is-scrolled .site-header__inner {
		height: 64px;
	}

	.site-header__logo-img {
		width: 180px;
		max-height: 48px;
	}

	.site-header.is-scrolled .site-header__logo-img {
		width: 140px;
		max-height: 36px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}

	.footer-nav .footer-nav__menu {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}

	.mission-text {
		font-size: var(--text-base, 1rem);
	}

	.page-id-18 .mission-text {
		font-size: 0.8rem;
	}

	.footer-social {
		margin-bottom: 5rem;
	}

	.footer-equal-housing {
		left: 1rem;
		right: auto;
	}

	.footer-equal-housing svg {
		width: 27px;
		height: auto;
	}

	.site-footer {
		padding-block: 0px;
	}

	.footer-copyright {
		font-size: 0.65rem;
		max-width: 200px;
		margin: 0px auto;
		line-height: var(--leading-tight);
	}
}


/* ==========================================================================
   14. Case Studies Feed (archive)
   ========================================================================== */

.cs-feed {
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 5.5rem);
	position: relative;
}

.cs-feed__inner {
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
	position: relative;
	z-index: 1;
}

/* Triangle decorations — absolute within the section */
.cs-feed__tri {
	background-image: url('images/triangle-geo.png');
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 420px;
	pointer-events: none;
	position: absolute;
	width: 420px;
	z-index: 0;
}

.cs-feed__tri--tl {
	background-position: top left;
	left: 0;
	top: 0;
	transform: rotate(180deg);
}

.cs-feed__tri--br {
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

/* Section headline — "Case Study" style matching Recent Projects */
.cs-feed__heading {
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	font-family: var(--font-body);
    font-size: var(--text-h2);
	font-weight: 300;
	letter-spacing: 0.01em;
	line-height: var(--leading-snug);
}

.cs-feed__heading strong {
	font-weight: 800;
}

.cs-feed__intro {
	max-width: 820px;
	margin: 0 auto 2.5rem;
	font-size: var(--text-base);
	line-height: var(--leading-base);

	text-align: center;
	color: rgba(255, 255, 255, 0.85);
}

.cs-feed__intro p {
	margin: 0 0 1em;
}

.cs-feed__intro p:last-child {
	margin-bottom: 0;
}

.cs-feed__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

/* Card */
.cs-feed__card {
	display: block;
	text-decoration: none;
	overflow: hidden;
}

.cs-feed__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

.cs-feed__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	width: 100%;
}

.cs-feed__no-image {
	background: var(--color-charcoal);
	height: 100%;
	width: 100%;
}

/* Native caption — always visible gradient strip at bottom ~1/3 of card */
.cs-feed__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 34%;
	background: linear-gradient(to top, rgba(31, 71, 136, 0.92) 0%, rgba(31, 71, 136, 0.6) 60%, transparent 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.25rem 1.5rem;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.cs-feed__caption-title {
	color: #fff;
	font-family: var(--font-display);
	font-size: var(--text-base);
	font-weight: 300;
	letter-spacing: 0.06em;
	line-height: 1.25;
	margin: 0;
	text-transform: uppercase;
}

.cs-feed__caption-location {
	color: #fff;
	font-family: 'Lorin', sans-serif;
	font-size: var(--text-base);
	font-weight: 300;
	line-height: 1.4;
	margin: 0;
}

/* Hide caption when full hover overlay is visible */
.cs-feed__card:hover .cs-feed__caption {
	opacity: 0;
}

/* Hover overlay — dark-teal mask + meta */
.cs-feed__overlay {
	align-items: flex-start;
	background: rgba(29, 69, 137, 0.88);
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	justify-content: flex-end;
	left: 0;
	opacity: 0;
	padding: 1.5rem;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 0.3s ease;
}

.cs-feed__card:hover .cs-feed__overlay {
	opacity: 1;
}

.cs-feed__card:hover .cs-feed__image img {
	transform: scale(1.06);
}

.cs-feed__type {
	color: var(--color-gold);
	font-family: var(--font-eyebrow);
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cs-feed__title {
	color: #fff;
	font-family: var(--font-display);
	font-size: var(--text-h5);
	font-weight: 400;
	line-height: var(--leading-tight);
	margin: 0;
	text-transform: uppercase;
}

.cs-feed__location {
		color: #fff;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 300;
	margin: 0;
}

.cs-feed__cta {
	align-items: center;
	color: var(--color-teal);
	display: flex;
	font-family: var(--font-eyebrow);
	font-size: var(--text-xs);
	font-weight: 800;
	gap: 0.4rem;
	letter-spacing: 0.08em;
	margin-top: 0.5rem;
	text-transform: uppercase;
	transition: gap 0.2s ease;
}

.cs-feed__cta:hover {
	color: white;
}

.cs-feed__card:hover .cs-feed__cta {
	gap: 0.7rem;
}

@media (max-width: 1024px) {
	.cs-feed__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {

	.cs-feed__intro {
		padding: 0px 30px;
	}

	.cs-feed__caption {
		display: none;
	}

	.cs-feed__heading {
		text-align: center;
	}
	.cs-feed__grid {
		grid-template-columns: 1fr;
	}

	/* On touch — always show overlay, gradient covering bottom only */
	.cs-feed__overlay {
		background: linear-gradient(to top, rgba(29, 69, 137, 0.88) 0%, rgba(29, 69, 137, 0.88) 89%, rgba(29, 69, 137, 0.01) 83%, transparent 100%);
		opacity: 1;
		gap: 0px;
		top: auto;
        padding: 2rem 1rem 1rem;
	}

	.cs-feed__type {
		margin-bottom: 0.2rem;
	}

	.cs-feed__image {
    aspect-ratio: 3 / 4;
 }

}

/* ==========================================================================
   15. Case Study Single
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */

.single-case_studies .site-inner {
	max-width: none;
	padding: 0;
}

.single-case_studies .entry {
	margin: 0;
	padding: 0;
}

.cs-hero {
	background-color: var(--color-dark-teal);
	margin-top: -142px;
	min-height: 80vh;
	overflow: hidden;
	padding-top: 142px;
	position: relative;
	display: flex;
	align-items: flex-end;
}

.cs-hero__media {
	inset: 0;
	position: absolute;
	z-index: 1;
}

.cs-hero__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.cs-hero__overlay {
	background: linear-gradient(
		to top,
		rgba(0, 71, 81, 0.88) 0%,
		rgba(0, 71, 81, 0.45) 50%,
		rgba(0, 71, 81, 0.15) 100%
	);
	inset: 0;
	position: absolute;
	z-index: 2;
}

.cs-hero__content {
	padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 4.05vw, 4.375rem);
	position: relative;
	z-index: 3;
	max-width: 900px;
}

.cs-hero__eyebrow {
	color: var(--color-light-teal);
	display: block;
	font-family: var(--font-eyebrow);
	font-size: var(--text-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.cs-hero__title {
	color: #fff;
	font-family: var(--font-display);
	font-size: var(--text-h2);
	font-weight: 400;
	line-height: 1.05;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.cs-hero__logo {
	display: block;
	max-height: 200px;
	max-width: 380px;
	width: auto;
	margin-bottom: 0.75rem;
	object-fit: contain;
}

.cs-hero__logo--square {
	min-height: 160px;
	max-height: 180px;
}

.cs-hero__city {
	color: #fff;
	font-family: var(--font-lorin);
	font-size: var(--text-h3);
	font-weight: 400;
	line-height: 1.05;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

/* ── Hero gold border ──────────────────────────────────────────────────── */

.cs-hero::after {
	content: '';
	display: block;
	height: 4px;
	background: var(--color-gold);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
}

/* ── Body + Details ────────────────────────────────────────────────────── */

.cs-body {
	background-color: var(--color-white);
}

.cs-body__inner {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 0;
	margin-inline: auto;
	max-width: none;
	padding-inline: 0;
	align-items: stretch;
}

.cs-body__content {
	padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4.05vw, 4.375rem);
}



.cs-body__content p,
.cs-body__content li {
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 300;
	line-height: var(--leading-relaxed);
	color: var(--color-text);
}

.cs-body__content h2,
.cs-body__content h3 {
	font-family: var(--font-eyebrow);
	color: var(--color-blue);
	text-transform: uppercase;
	margin-bottom: 2rem;
	font-weight: 300;
}

.cs-body__content h3 span {
	font-weight: 900;
}

/* ── Details sidebar ───────────────────────────────────────────────────── */

.cs-details {
	background-color: var(--color-charcoal);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 3vw, 2rem);
}

.cs-details__item {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.cs-details__label {
	color: var(--color-teal);
	font-family: var(--font-eyebrow);
	font-size: var(--text-base);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cs-details__value {
	color: #fff;
	font-family: var(--font-body);
	font-size: var(--text-md);
	font-weight: 400;
	line-height: var(--leading-snug);
}

/* ── Gallery Slider ────────────────────────────────────────────────────── */

.cs-gallery {
	background-color: var(--color-light-teal);
	padding-block: clamp(3rem, 6vw, 5rem);
	position: relative;
}

.cs-gallery__inner {
	margin-inline: auto;
	max-width: none;
	padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
}

.cs-gallery__nav {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
	margin-bottom: 1.25rem;
}

.cs-gallery__btn {
	align-items: center;
	background: none;
	border: none;
	color: var(--color-dark-teal);
	cursor: pointer;
	display: flex;
	font-size: 1.25rem;
	padding: 0.25rem;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.cs-gallery__btn:hover {
	color: var(--color-charcoal);
}

.cs-gallery__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.cs-gallery__track-wrap {
	overflow: hidden;
}

.cs-gallery__track {
	display: flex;
	gap: 1rem;
	transition: transform 0.4s ease;
	will-change: transform;
}

.cs-gallery__slide {
	flex: 0 0 calc(50% - 0.5rem);
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.cs-gallery__slide img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* ── Lightbox ──────────────────────────────────────────────────────────── */

.cs-lightbox {
	align-items: center;
	background: rgba(0, 0, 0, 0.92);
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 9999;
}

.cs-lightbox.is-open {
	display: flex;
}

.cs-lightbox__img-wrap {
	max-height: 90vh;
	max-width: 90vw;
}

.cs-lightbox__img {
	display: block;
	max-height: 90vh;
	max-width: 90vw;
	object-fit: contain;
	user-select: none;
}

.cs-lightbox__close,
.cs-lightbox__prev,
.cs-lightbox__next {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	font-size: 1.5rem;
	padding: 1rem;
	position: absolute;
	transition: color 0.2s ease;
	z-index: 1;
}

.cs-lightbox__close:hover,
.cs-lightbox__prev:hover,
.cs-lightbox__next:hover {
	color: #fff;
}

.cs-lightbox__close {
	right: 1rem;
	top: 1rem;
}

.cs-lightbox__prev {
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.cs-lightbox__next {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
	.cs-body__inner {
		display: flex;
		flex-direction: column-reverse;
	}

	.single-case_studies .entry-content {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.single-case_studies .cs-hero    { order: 1; }
	.single-case_studies .cs-gallery { order: 2; width: 100%; }
	.single-case_studies .cs-body    { order: 3; }

    .cs-details {
        text-align: center;
        justify-content: center;
        flex-direction: column;
		flex-wrap: wrap;
		gap: 1.25rem 2rem;
		padding: 2rem clamp(1.25rem, 4.05vw, 4.375rem);
	}

	.cs-gallery__slide {
		flex: 0 0 100%;
	}
}

@media (max-width: 540px) {
	.cs-hero {
		min-height: 70vh;
	}
}


/* =============================================================
   16. STATS BLOCK
   ============================================================= */

.section-stats {
	text-align: left;
}

.section-stats .section-inner {
	padding-block: 4rem;
}

/* Dim the pattern overlay */
.section-stats.has-pattern::before {
	opacity: 0.07;
}

.section-stats__header {
	margin: 0 0 3rem;
}



.section-stats__header .section-eyebrow {
	color: var(--color-teal, #4a9d9c);
	letter-spacing: 0;
	text-align: left;
	margin-bottom: 1rem;
}

.section-stats__header .section-heading {
	text-transform: uppercase;
	font-weight: 300;
	max-width: 100vw;
}

.section-stats__header .section-heading strong {
	font-weight: 300;
}

.section-stats__intro {
	margin-top: 1rem;
	max-width: 450px;
	font-size: var(--text-base);
	line-height: 1.7;
}

.section-stats__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 2.5rem 3rem;
}

.section-stats__item {
	flex: 0 0 calc(25% - 2.25rem);
	min-width: 160px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.section-stats__number {
	display: flex;
	align-items: baseline;
	gap: 0.05em;
	line-height: 1;
}

.section-stats__prefix,
.section-stats__count,
.section-stats__suffix {
	font-family: var(--font-lorin, inherit);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--color-light-teal, #7ec8c8);
}

.section-stats__label {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
	max-width: 200px;
	text-align: left;
	color: #fff;
}

@media (max-width: 900px) {
	.section-stats__item {
		flex: 0 0 calc(50% - 1.5rem);
	}

	.section-stats__label {
		font-size: 1rem;
	}

	.section-stats {
		text-align: center;
	}

	.section-stats__header .section-eyebrow,
	.section-stats__header .section-heading {
		text-align: center;
	}

	.section-stats__intro {
		margin-inline: auto;
		text-align: center;
	}

	.section-stats__grid {
		justify-content: center;
	}

	.section-stats__item {
		align-items: center;
	}

	.section-stats__label {
		text-align: center;
	}
}

@media (max-width: 540px) {
	.section-stats__item {
		flex: 0 0 calc(50% - 1rem);
		min-width: 130px;
	}

	.section-stats__prefix,
	.section-stats__count,
	.section-stats__suffix {
		font-size: 2.25rem;
	}

	.section-stats__label {
		font-size: 0.9375rem;
	}
}


/* =============================================================
   17. TEAM GRID BLOCK + MODAL
   ============================================================= */

/* ── Grid ── */

.section-team-grid__header {
	max-width: 680px;
	margin: 0 auto 3rem;
	text-align: center;
}

.section-team-grid .section-inner {
    padding-block: 4rem;
}

.section-team-grid__intro {
	margin-top: 1rem;
	font-size: 1.0625rem;
	line-height: 1.7;
	opacity: 0.85;
}

.section-team-grid__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}

/* ── Card ── */

.team-card {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-align: left;
	flex: 0 0 calc(25% - 1.5rem);
	min-width: 200px;
	max-width: 280px;
	-webkit-tap-highlight-color: transparent;
}

.team-card:hover,
.team-card:focus,
.team-card:active {
	background: none;
}

.team-card__photo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--color-light-gray, #e8e8e8);
}

.team-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo img,
.team-card:focus-visible .team-card__photo img {
	transform: scale(1.04);
}

.team-card__no-photo {
	width: 100%;
	height: 100%;
	background: var(--color-light-gray, #e8e8e8);
}

.team-card__hover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(29, 69, 137, 0.72);
	display: flex;
	align-items: flex-end;
	padding: 1.25rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.team-card:hover .team-card__hover-overlay,
.team-card:focus-visible .team-card__hover-overlay {
	opacity: 1;
}

.team-card__view-bio {
	color: var(--color-teal);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 0.4em;
}

.team-card__view-bio:hover {
	color: #fff;
}

.team-card__meta {
	padding: 0.875rem 0 0;
	text-align: center;
}

.team-card__name {
	font-family: var(--font-body, inherit);
	font-size: 1.0625rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-dark-teal);
	margin: 0 0 0.2em;
	line-height: 1.2;
}

.team-card__title {
	font-size: 0.8125rem;
	color: var(--color-blue, #1d4589);
	text-transform: capitalize;
	margin: 0;
	letter-spacing: 0.02em;
}

/* ── Modal ── */

/* ── Modal: slide-in panel from left ── */

.team-modal {
	position: fixed;
	inset: 0;
	z-index: 9000;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0s linear 0.42s;
}

.team-modal.is-open {
	pointer-events: auto;
	visibility: visible;
	transition: visibility 0s linear 0s;
}

.team-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	cursor: pointer;
	transition: background 0.4s ease;
}

.team-modal.is-open .team-modal__backdrop {
	background: rgba(0, 0, 0, 0.6);
}

.team-modal__dialog {
	position: absolute;
	top: 0;
	right: 0;
	width: 520px;
	max-width: 92vw;
	height: 100%;
	overflow-y: auto;
	background: var(--color-blue);
	transform: translateX(100%);
	transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}

.team-modal.is-open .team-modal__dialog {
	transform: translateX(0);
}

/* Scrollbar styling */
.team-modal__dialog::-webkit-scrollbar { width: 4px; }
.team-modal__dialog::-webkit-scrollbar-track { background: transparent; }
.team-modal__dialog::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

/* Photo — full bleed at top */
.team-modal__photo-wrap {
	position: relative;
	width: 100%;
	flex-shrink: 0;
}

.team-modal__photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* Gold accent line under photo */
.team-modal__photo-wrap::after {
	content: '';
	display: block;
	height: 3px;
	background: var(--color-gold, #c9a84c);
}

/* Content area */
.team-modal__content {
	padding: 2rem 2rem 3rem;
	flex: 1;
}

.team-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: rgba(255,255,255,0.6);
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	padding: 0.25rem;
	transition: color 0.2s;
	z-index: 2;
}

.team-modal__close:hover {
	color: #fff;
}

.team-modal__header {
	margin-bottom: 1.25rem;
}

.team-modal__name {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	margin: 0 0 0.3rem;
	line-height: 1.1;
	color: #fff;
	text-transform: uppercase;
	font-family: var(--font-body);
	letter-spacing: 0.02em;
}

.team-modal__title {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-light-teal, #7ec8c8);
	margin: 0;
}

.team-modal__divider {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.1);
	margin: 1.25rem 0;
}

.team-modal__bio {
	font-size: 0.9375rem;
	line-height: 1.8;
	color: rgba(255,255,255,0.75);
}

.team-modal__bio p {
	margin: 0 0 1em;
}

.team-modal__linkedin {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--color-light-teal, #7ec8c8);
	text-decoration: none;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 1.25rem;
}

.team-modal__linkedin:hover {
	color: #fff;
}

.team-modal__prev-exp {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.1);
}

.team-modal__prev-exp-heading {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-gold, #c9a84c);
	margin: 0 0 0.75rem;
}

.team-modal__prev-exp-body {
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.55);
}

/* ── Responsive ── */

@media (max-width: 1100px) {
	.team-card {
		flex: 0 0 calc(33.333% - 1.5rem);
	}
}

@media (max-width: 768px) {
	.team-card {
		flex: 0 0 calc(50% - 1rem);
		max-width: none;
	}

	.team-modal__dialog {
		width: 100vw;
		max-width: 100vw;
	}

	.team-modal__dialog {
		width: 100vw;
		max-width: 100vw;
	}
}

@media (max-width: 480px) {
	.team-card {
		flex: 0 0 calc(50% - 0.75rem);
	}
}

/* ── Testimonials Block ───────────────────────────────────────────────────── */

.section-testimonials {
	text-align: center;
}

.section-testimonials .section-inner {
	max-width: 1100px;
}

.section-testimonials__title {
	font-family: var(--font-body, 'Lorin', sans-serif);
	font-size: var(--text-sm);
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 2rem;
}

.section-testimonials__title.color-blue  { color: var(--color-blue); }
.section-testimonials__title.color-white { color: #fff; }

.section-testimonials__slider {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.section-testimonials__slider.is-single {
	justify-content: center;
}

.mosaic-slider__track-wrap {
	position: relative;
	flex: 1;
	overflow: hidden;
	min-width: 0;
}

.mosaic-slider__track {
	display: flex;
	transition: transform 0.4s ease;
	width: 100%;
}

.mosaic-slider__slide {
	flex: 0 0 100%;
	min-width: 0;
}

.section-testimonials__quote {
	position: absolute;
	width: 110px;
	opacity: 0.42;
	pointer-events: none;
	user-select: none;
}

.section-testimonials__quote--open {
	top: 0rem;
	left: 0;
	transform: scaleX(-1);
}

.section-testimonials__quote--close {
	bottom: 4rem;
	right: 0;
}

.section-testimonials__blockquote {
	margin: 0;
	padding: 2rem 1rem;
	border: none;
	font-style: normal;
	color: inherit;
}

.section-testimonials__quote-text {
	font-size: var(--text-base, 1rem);
	font-style: normal;
	line-height: var(--leading-base, 1.6);
	margin-bottom: 1.25rem;
	color: inherit;
}

.section-testimonials__cite {
	font-style: normal;
	font-weight: 700;
	font-size: var(--text-base, 1rem);
	line-height: var(--leading-base, 1.6);
	color: inherit;
	display: block;
}

.section-testimonials__arrow {
	flex-shrink: 0;
	background: transparent;
	border: none;
	color: inherit;
	font-size: 1.25rem;
	cursor: pointer;
	padding: 0;
	opacity: 1;
	transition: opacity 0.2s;
	line-height: 1;
}

.section-testimonials__arrow:hover,
.section-testimonials__arrow:focus-visible {
	opacity: 0.5;
	color: white;
	background-color: transparent;
}

@media (max-width: 600px) {
	.section-testimonials__slider {
		gap: 0.75rem;
	}

	.section-testimonials__quote {
		width: 72px;
	}

	.section-testimonials__arrow {
		font-size: 1rem;
	}
}


/* ============================================================
   NEWS — Archive & Single
   ============================================================ */

/* ── Shared atoms ── */

.news-cat {
	display: inline-block;
	align-self: flex-start;
	font-family: var(--font-eyebrow);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-charcoal);
	background: var(--color-gold);
	padding: 0.25em 0.65em;
	border-radius: var(--radius-pill);
	line-height: 1.6;
	white-space: nowrap;
	text-decoration: none;
}

.news-cat--light {
	color: var(--color-charcoal);
	background: var(--color-gold);
}

.news-date {
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--color-mid-gray);
	display: block;
}

.news-date--light {
	color: rgba(255, 255, 255, 0.65);
}

.news-readmore {
	font-family: var(--font-eyebrow);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-blue);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	transition: gap var(--transition-base);
}

.news-readmore:hover {
	gap: 0.65em;
}

/* ── Archive hero ── */

.news-hero {
	background: var(--color-dark-teal);
	padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.news-hero__inner {
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 4.375rem);
}

.news-hero .section-eyebrow {
	color: var(--color-teal);
	margin-bottom: var(--space-4);
}

.news-hero__title {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 5.5vw, 4.5rem);
	color: var(--color-white);
	line-height: 1.05;
	margin: 0;
	text-wrap: balance;
}

/* ── Feed wrapper ── */

.news-feed {
	background: var(--color-light-teal);
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.news-feed__heading {
	font-family: var(--font-body);
	font-size: var(--text-h2);
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-blue);
	margin: 0 0 0.375rem;
}

.news-feed__heading strong {
	font-weight: 800 !important;
}

.news-feed__inner {
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 4.375rem);
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 5vw, 4rem);
}

.news-empty {
	color: var(--color-mid-gray);
	font-style: italic;
}

/* ── Featured post ── */

.news-featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	background: var(--color-white);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.news-featured__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.news-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.news-featured:hover .news-featured__media img {
	transform: scale(1.03);
}

.news-featured__body {
	padding: clamp(2rem, 4vw, 3rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--space-5);
}

.news-featured__title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.15;
	margin: 0;
	text-wrap: balance;
}

.news-featured__title a {
	color: var(--color-dark-teal);
	text-decoration: none;
	transition: color var(--transition-base);
}

.news-featured__title a:hover {
	color: var(--color-blue);
}

.news-featured__excerpt {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-charcoal);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.news-featured__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	flex-wrap: wrap;
}

/* ── News grid ── */

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.news-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.news-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.news-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.news-card:hover .news-card__media img {
	transform: scale(1.04);
}

.news-card__body {
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	flex: 1;
}

.news-card__title {
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.75vw, 1.2rem);
	line-height: 1.25;
	margin: 0;
	flex: 1;
	text-wrap: balance;
}

.news-card__title a {
	color: var(--color-charcoal);
	text-decoration: none;
	transition: color var(--transition-base);
}

.news-card__title a:hover {
	color: var(--color-blue);
}

/* ── Pagination ── */

.news-pagination {
	display: flex;
	justify-content: center;
}

.news-pagination .page-numbers {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--space-2);
	flex-wrap: wrap;
	justify-content: center;
}

.news-pagination .page-numbers li a,
.news-pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.5em 0.9em;
	border-radius: var(--radius-sm);
	font-family: var(--font-eyebrow);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-blue);
	background: var(--color-white);
	border: 1.5px solid var(--color-border);
	transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.news-pagination .page-numbers li a:hover {
	background: var(--color-blue);
	color: var(--color-white);
	border-color: var(--color-blue);
}

.news-pagination .page-numbers li span.current {
	background: var(--color-blue);
	color: var(--color-white);
	border-color: var(--color-blue);
}

/* ── Single hero ── */

.news-single-hero {
	position: relative;
	background: var(--color-dark-teal);
	min-height: 420px;
	display: flex;
	align-items: flex-end;
}

.news-single-hero.has-image {
	min-height: clamp(360px, 50vw, 560px);
}

.news-single-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.news-single-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-single-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 27, 37, 0.85) 0%, rgba(0, 27, 37, 0.35) 55%, transparent 100%);
}

.news-single-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 4.375rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	padding-top: 8rem;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.news-single-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	flex-wrap: wrap;
}

.news-back-inline {
	font-family: var(--font-eyebrow);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	transition: color var(--transition-base);
}

.news-back-inline:hover {
	color: var(--color-white);
}

.news-single-hero__title {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 4.5vw, 3.5rem);
	color: var(--color-white);
	line-height: 1.1;
	margin: 0;
	text-wrap: balance;
	max-width: 820px;
}

/* ── Single body ── */

.news-single-body {
	background: var(--color-white);
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.news-single-body__inner {
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 4.375rem);
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}



.news-single-content > * + * {
	margin-top: 1.5em;
}

.news-single-content p {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--color-charcoal);
}

.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
	font-family: var(--font-display);
	color: var(--color-charcoal);
	line-height: 1.2;
	text-wrap: balance;
}

.news-single-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.news-single-content h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

.news-single-content a {
	color: var(--color-blue);
	text-underline-offset: 3px;
}

.news-single-content ul,
.news-single-content ol {
	padding-left: 1.5em;
}

.news-single-content li {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--color-charcoal);
	margin-bottom: 0.4em;
}

.news-single-content blockquote {
	border-left: 3px solid var(--color-teal);
	margin-left: 0;
	padding: var(--space-4) var(--space-6);
	background: var(--color-light-teal);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.news-single-content blockquote p {
	font-size: 1.1rem;
	font-style: italic;
	color: var(--color-dark-teal);
}

/* ── Single sidebar ── */

.news-single-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	position: sticky;
	top: calc(80px + var(--space-8));
}

.news-sidebar-block {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding-bottom: var(--space-6);
	border-bottom: 1px solid var(--color-border);
}

.news-sidebar-block__label {
	font-family: var(--font-eyebrow);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-mid-gray);
}

.news-sidebar-block__value {
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--color-charcoal);
}

.news-sidebar-block__cats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.news-back-link {
	font-family: var(--font-eyebrow);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-blue);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	transition: gap var(--transition-base);
}

.news-back-link:hover {
	gap: 0.65em;
}

/* ── Related posts ── */

.news-related {
	background: var(--color-light-gray);
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.news-related__inner {
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 4.375rem);
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 4vw, 3rem);
}

.news-related__heading {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--color-charcoal);
	margin: 0;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
	.news-featured {
		grid-template-columns: 1fr;
	}

	.news-featured__media {
		aspect-ratio: 16 / 7;
	}

	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.news-single-body__inner {
		grid-template-columns: 1fr;
	}

	.news-single-sidebar {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: var(--space-6) var(--space-10);
		padding-top: var(--space-6);
		border-top: 1px solid var(--color-border);
	}

	.news-sidebar-block {
		border-bottom: none;
		padding-bottom: 0;
		min-width: 140px;
	}

	.news-back-link {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.news-grid {
		grid-template-columns: 1fr;
	}

	.news-featured__body {
		gap: var(--space-4);
	}
}


/* ============================================================
   GRAVITY FORMS
   ============================================================ */

/* ── Wrapper & layout ── */

.gform_wrapper {
	max-width: 1260px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 4.375rem);
	font-family: var(--font-body);
}

/* Remove GF's default margins/padding that fight our layout */
.gform_wrapper .gform_body,
.gform_wrapper form {
	margin: 0;
	padding: 0;
}

.gform_wrapper ul.gform_fields {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-10) var(--space-8);
}

.gform_wrapper .gfield {
	margin: 0;
	padding: 0;
}

/* Full-width fields */
.gform_wrapper .gfield--width-full,
.gform_wrapper .gfield.gfield--width-full,
.gform_wrapper li.gfield:has(textarea),
.gform_wrapper li.gfield.gf_left_half + li.gfield.gf_right_half,
.gform_wrapper .gfield--type-textarea,
.gform_wrapper .gfield--type-html,
.gform_wrapper .gfield--type-section,
.gform_wrapper .gfield--type-consent,
.gform_wrapper .gfield--type-checkbox,
.gform_wrapper .gfield--type-radio {
	grid-column: 1 / -1;
}

/* ── Labels ── */

.gform_wrapper.gravity-theme .gfield_label {
	margin-bottom: 0px !important;
	margin-top: 8px !important;
}
	.gform_wrapper.gravity-theme .gfield_header_item, .gform_wrapper.gravity-theme .gform_fileupload_rules, .gform_wrapper.gravity-theme .ginput_complex label {
		padding-top: 0px !important;
	}

	.gform_wrapper.gravity-theme .gsection {
		margin-top: 30px;
	}

.gform_wrapper .gfield_label {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: none;
	color: var(--color-charcoal);
	margin-bottom: 0px;
	display: block;
}

.gform_wrapper .gfield_required {
	color: var(--color-blue);
	margin-left: 0.2em;
}

.gform_wrapper .gfield_description {
	font-size: 0.8rem;
	color: var(--color-mid-gray);
	margin-top: var(--space-2);
	line-height: 1.5;
}

/* ── Inputs, textareas, selects ── */

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="search"],
.gform_wrapper input[type="date"],
.gform_wrapper textarea,
.gform_wrapper select {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-charcoal);
	background: var(--color-white);
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 0.75rem 1rem;
	line-height: 1.5;
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	margin: 0;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="password"]:focus,
.gform_wrapper input[type="search"]:focus,
.gform_wrapper input[type="date"]:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
	outline: none;
	border-color: var(--color-blue);
	box-shadow: 0 0 0 3px rgba(29, 69, 137, 0.12);
}

.gform_wrapper textarea {
	min-height: 160px;
	resize: vertical;
}

/* Select arrow */
.gform_wrapper .ginput_container_select {
	position: relative;
}

.gform_wrapper .ginput_container_select::after {
	content: '';
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--color-mid-gray);
	pointer-events: none;
}

.gform_wrapper select {
	padding-right: 2.5rem;
	cursor: pointer;
}

/* ── Placeholder color ── */

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
	color: var(--color-mid-gray);
	opacity: 1;
}

/* ── Checkboxes & radios ── */

.gform_wrapper .gfield--type-checkbox .gfield_checkbox,
.gform_wrapper .gfield--type-radio .gfield_radio {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.gform_wrapper .gfield_checkbox input[type="checkbox"],
.gform_wrapper .gfield_radio input[type="radio"] {
	width: 1.1rem;
	height: 1.1rem;
	min-width: 1.1rem;
	flex-shrink: 0;
	accent-color: var(--color-blue);
	cursor: pointer;
	margin: 0;
	padding: 0;
	border: none;
}

.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-charcoal);
	cursor: pointer;
	margin: 0;
}

/* ── Complex fields (name, address) ── */

.gform_wrapper .ginput_complex {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
}

.gform_wrapper .ginput_complex span {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.gform_wrapper .ginput_complex .ginput_full {
	grid-column: 1 / -1;
}

.gform_wrapper .ginput_complex label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-mid-gray);
}

/* ── Section break ── */

.gform_wrapper .gsection {
	border-bottom: 1px solid var(--color-border);
	padding-bottom: var(--space-4);
	margin-bottom: 0;
}

.gform_wrapper .gsection_title {
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	color: var(--color-charcoal);
	font-weight: 400;
}

/* ── Submit button ── */

.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
	margin-top: var(--space-8);
	padding: 0;
}

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
	background-color: var(--color-blue);
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	color: var(--color-white);
	cursor: pointer;
	display: inline-block;
	font-family: var(--font-body, sans-serif);
	font-size: var(--text-sm, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: var(--space-3, 0.75rem) var(--space-8, 1.5rem);
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
	background-color: var(--color-accent);
	color: var(--color-charcoal);
}

/* ── Validation & errors ── */

.gform_wrapper .gform_validation_errors {
	background: #fef2f2;
	border: 1.5px solid var(--color-error);
	border-radius: var(--radius-sm);
	padding: var(--space-4) var(--space-6);
	margin-bottom: var(--space-8);
	color: var(--color-error);
	font-size: 0.9rem;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select {
	border-color: var(--color-error);
}

.gform_wrapper .gfield_error input:focus,
.gform_wrapper .gfield_error textarea:focus,
.gform_wrapper .gfield_error select:focus {
	box-shadow: 0 0 0 3px rgba(192, 19, 42, 0.1);
}

.gform_wrapper .gfield_error .gfield_label {
	color: var(--color-error);
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
	font-size: 0.78rem;
	color: var(--color-error);
	margin-top: var(--space-2);
	display: block;
}

/* ── Confirmation / success ── */

.gform_confirmation_wrapper,
.gform_confirmation_message {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-charcoal);
	background: var(--color-light-teal);
	border-left: 4px solid var(--color-teal);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	padding: var(--space-6) var(--space-8);
	line-height: 1.7;
}

/* Main payment form container */
.ginput_container_custom_card_fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Full-width fields: card number, cardholder name */
.ginput_container_custom_card_fields .ginput_full {
  flex: 1 1 100%;
}

/* Expiration + Security code row */
.ginput_cardextras {
  display: flex;
  gap: 1rem;
  flex: 1 1 100%;
  flex-wrap: nowrap;
}

/* Split expiration and CVV evenly */
.ginput_cardinfo_left,
.ginput_cardinfo_right {
  flex: 1 1 50%;
}

/* ── Honeypot / hidden fields ── */

.gform_wrapper .gform_hidden,
.gform_wrapper .gfield--type-honeypot {
	display: none !important;
}

/* ── Responsive ── */

@media (max-width: 768px) {
	.gform_wrapper ul.gform_fields {
		grid-template-columns: 1fr;
	}

	.gform_wrapper .ginput_complex {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.gform_wrapper {
		padding-inline: clamp(1rem, 5vw, 1.5rem);
	}
}


/* ── Intro + Icon Stats ───────────────────────────────────────────────────── */

.section-intro-stats {
	padding-bottom: 4rem;
}

.section-intro-stats .section-inner {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0px;
}

.section-intro-stats__intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0px;
	align-items: start;
	padding:0 clamp(2rem, 5vw, 5rem) clamp(3rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem);
}
.section-intro-stats__headline {
	padding-right: clamp(2rem, 4vw, 4rem)
}

.section-intro-stats__headline .section-eyebrow {
	color: var(--color-blue);
	text-align: right;
	margin-bottom: 0;
}

.section-intro-stats__headline .display-headline {
	margin-top: 0.5rem;
}

.section-intro-stats__body p {
	margin-bottom: 1rem;
}

.section-intro-stats__body p:last-child {
	margin-bottom: 0;
}

.section-intro-stats__body strong,
.section-intro-stats__body b {
	font-size: var(--text-md);
	line-height: var(--leading-base);
	font-weight: 800;
	color: var(--color-dark-teal);
}

.section-intro-stats__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	max-width: 1526px;
	width: calc(100% - 6rem);
	margin-inline: auto;
	padding: clamp(2rem, 3vw, 2.5rem) clamp(2rem, 5vw, 5rem);
	border-radius: 0;
}

.section-intro-stats__stat {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex: 1 1 200px;
	padding: 1.25rem clamp(1rem, 2vw, 2rem);
}

.section-intro-stats__stat:first-child {
	border-left: none;
}

.section-intro-stats__icon {
	flex-shrink: 0;
}

.section-intro-stats__icon-frame {
	position: relative;
	width: clamp(96px, 10vw, 128px);
	height: clamp(96px, 10vw, 128px);
}

.section-intro-stats__icon-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.section-intro-stats__number {
	font-family: var(--font-lorin, inherit);
	font-size: clamp(2.5rem, 4vw, 4rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--color-dark-teal);
	margin-bottom: 0.35rem;
}

.section-intro-stats__label {
	font-family: var(--font-body);
	font-size: var(--text-eyebrow);
	font-weight: var(--fw-extrabold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-dark-teal);
	margin: 0;
	line-height: 1.3;
}

/* Dark stats bar overrides */
.section-intro-stats__bar.bg-dark-teal .section-intro-stats__number,
.section-intro-stats__bar.bg-blue .section-intro-stats__number,
.section-intro-stats__bar.bg-charcoal .section-intro-stats__number {
	color: var(--color-gold);
}

.section-intro-stats__bar.bg-dark-teal .section-intro-stats__label,
.section-intro-stats__bar.bg-blue .section-intro-stats__label,
.section-intro-stats__bar.bg-charcoal .section-intro-stats__label {
	color: #fff;
}

.section-intro-stats__bar.bg-dark-teal .section-intro-stats__stat,
.section-intro-stats__bar.bg-blue .section-intro-stats__stat,
.section-intro-stats__bar.bg-charcoal .section-intro-stats__stat {
	border-left-color: rgba(255, 255, 255, 0.15);
}
@media (max-width: 900px) {
 
.section-intro-stats__body.section-body {
	max-width: 100%;
}
.section-intro-stats__bar {
	padding-block: 0px;
}

.section-intro-stats__intro {
	gap: 0px;
	padding-bottom: 0px;
}

.section-intro-stats__headline {
	padding-right: 0px;
}

}


@media (max-width: 768px) {
	.section-intro-stats__intro {
		grid-template-columns: 1fr;
	}

	.section-intro-stats__stat {
		flex: 1 1 160px;
	}

	.section-intro-stats__headline h2 .headline-secondary, .section-intro-stats__headline h2 .headline-primary, .section-intro-stats__headline .section-eyebrow, .section-intro-stats__body {
		text-align: center !important;
	}

	.page-id-16 .section-purpose.has-brand-icon {
	flex-direction: column-reverse;
}
}

@media (max-width: 600px) {
	.section-intro-stats__bar {
		flex-direction: column;
	}

	.section-intro-stats__stat {
		border-left: none;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		padding: 1rem 0;
	}

	.section-intro-stats__stat:first-child {
		border-top: none;
	}



	.section-intro-stats__number {
		font-size: 2.5rem;
		font-weight: 700;
	}

	.section-purpose__content {
		padding-top: clamp(1.5rem, 4vw, 2.5rem);
		padding-bottom: clamp(3rem, 4vw, 2.5rem);
	}

	.section-bg__content h2 .headline-secondary {
		font-size: var(--text-base);
	}

	.section-purpose .section-eyebrow {
		text-align: center;
	}

	.section-intro-stats__headline {
		text-align: center;
	}

	.section-cta {
		justify-content: center;
	}

	body:not(.home ).section-bg__image-diamond {
		margin-inline: auto;
	}

	


	.pattern-geo-pattern h2 .headline-secondary, .pattern-geo-pattern h2 .headline-primary {
		text-align: center;
	}

	.pattern-geo-pattern::before {
		background-size: 100%;
	}



}

/* ── Two Column Content ───────────────────────────────────────────────────── */

.section-two-col-content {
	overflow: hidden;
	position: relative;
}

.section-two-col-content__tri {
	background-image: url('images/triangle-geo.png');
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 420px;
	pointer-events: none;
	position: absolute;
	width: 420px;
	z-index: 0;
}

.section-two-col-content__tri--tl {
	background-position: top left;
	left: 0;
	top: 0;
	transform: rotate(180deg);
}

.section-two-col-content__tri--br {
	background-position: bottom right;
	bottom: 0;
	right: 0;
}

.section-two-col-content .section-inner {
	max-width: var(--max-width, 1260px);
	position: relative;
	z-index: 1;
}

.section-two-col-content__heading {
	font-family: 'Lorin', sans-serif;
	font-size: var(--text-h2);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-two-col-content__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

@media (max-width: 900px) {
	.section-two-col-content .section-inner {
		padding-inline: clamp(1.25rem, 4.05vw, 4.375rem);
	}
}

@media (max-width: 768px) {
	.section-two-col-content__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.section-two-col-content__col:first-child {
		padding-bottom: 0;
	}

	.section-two-col-content__col:last-child {
		padding-top: 0;
	}

	

	.section-two-col-content__tri {
		height: 260px;
		width: 260px;
	}
}

/* =============================================
   BACK TO TOP
   ============================================= */

#back-to-top {
	display: none;
}

@media (max-width: 900px) {

#back-to-top {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0px;
	border-radius: 50%;
	border: none;
	background: var(--color-blue, #1f4788);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

#back-to-top svg {
	color: #fff;
}

#back-to-top.visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#back-to-top:hover {
	background: var(--color-gold);
}

}
