/* ==========================================================================
   GP Manufacturing Network
   Palette carries over the existing brand: orange #F58025, teal #00757D.
   ========================================================================== */

:root {
	--ink:        #0C1A1E;
	--ink-soft:   #37474C;
	--muted:      #63767C;
	--line:       #DDE4E6;
	--paper:      #FFFFFF;
	--paper-alt:  #F4F6F6;
	--deep:       #003C46;
	--deep-2:     #00272E;
	--teal:       #00757D;
	--teal-dark:  #005A61;
	--orange:     #F58025;
	--orange-dk:  #D9660D;

	--wrap:       1200px;
	--wrap-narrow: 760px;
	--radius:     4px;
	--radius-lg:  8px;

	--shadow-sm:  0 1px 2px rgba(12, 26, 30, .06), 0 2px 8px rgba(12, 26, 30, .05);
	--shadow-md:  0 4px 12px rgba(12, 26, 30, .08), 0 12px 32px rgba(12, 26, 30, .07);

	--font-head:  "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- Reset ---------------------------------------------------------------- */

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-soft);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-dk); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.08;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	font-weight: 600;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: -9999px;
	background: var(--orange); color: #fff;
	padding: 12px 20px; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --- Layout --------------------------------------------------------------- */

.wrap {
	width: min(100% - 40px, var(--wrap));
	margin-inline: auto;
}
.wrap.narrow { width: min(100% - 40px, var(--wrap-narrow)); }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--deep); color: #C6D6D9; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 62ch; margin: 0 0 clamp(32px, 4vw, 52px); }
.section-head--row {
	max-width: none;
	display: flex; flex-wrap: wrap; gap: 20px;
	align-items: flex-end; justify-content: space-between;
}

.eyebrow {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 15px;
	font-weight: 600;
	color: var(--teal);
	margin: 0 0 .6em;
}
.eyebrow--light { color: var(--orange); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.section-title { font-size: clamp(30px, 4vw, 46px); }
.section-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.section--dark .section-lede { color: #A9C0C4; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 11px 22px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 30px; font-size: 18px; }

.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: #fff; }

.btn--outline { background: transparent; color: var(--deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal-dark); background: #fff; }

.section--dark .btn--outline,
.hero .btn--outline { color: #fff; border-color: rgba(255,255,255,.5); }
.section--dark .btn--outline:hover,
.hero .btn--outline:hover { background: #fff; color: var(--deep); border-color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-head);
	font-weight: 600; font-size: 17px;
	text-transform: uppercase; letter-spacing: .05em;
	text-decoration: none;
	color: var(--teal-dark);
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- Top bar & header ----------------------------------------------------- */

.topbar {
	background: var(--deep-2);
	color: #93AEB3;
	font-size: 14px;
}
.topbar__inner {
	display: flex; flex-wrap: wrap; gap: 8px 20px;
	align-items: center; justify-content: space-between;
	padding: 8px 0;
}
.topbar p { margin: 0; }
.topbar a { color: #CFE0E3; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar__sep { opacity: .5; margin: 0 6px; }

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 60;
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}

.site-brand img, .custom-logo { max-height: 58px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav__list {
	display: flex; align-items: center; gap: 26px;
	list-style: none; margin: 0; padding: 0;
}
.primary-nav__list a {
	font-family: var(--font-head);
	font-size: 18px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .04em;
	color: var(--deep);
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current_page_item > a {
	color: var(--teal-dark);
	border-bottom-color: var(--orange);
}
.primary-nav__list .sub-menu {
	display: none;
	position: absolute;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-md);
	list-style: none; margin: 0; padding: 8px 0;
	min-width: 220px; z-index: 70;
}
.primary-nav__list li { position: relative; }
.primary-nav__list li:hover > .sub-menu,
.primary-nav__list li:focus-within > .sub-menu { display: block; }
.primary-nav__list .sub-menu a {
	display: block; padding: 8px 18px; border-bottom: 0;
	text-transform: none; letter-spacing: 0;
}

.nav-toggle {
	display: none;
	width: 46px; height: 40px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	padding: 10px 11px;
}
.nav-toggle__bar {
	display: block; height: 2px; background: var(--deep);
	margin: 0 0 5px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bar:last-child { margin-bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--deep-2);
	color: #fff;
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(105deg, rgba(0,39,46,.94) 0%, rgba(0,39,46,.78) 52%, rgba(0,60,70,.55) 100%);
}
.hero__inner {
	padding: clamp(72px, 11vw, 132px) 0;
	max-width: 46rem;
}
.hero__title {
	font-size: clamp(40px, 6.4vw, 74px);
	color: #fff;
	margin-bottom: .35em;
}
.hero__text {
	font-size: clamp(18px, 1.8vw, 21px);
	color: #C9DBDE;
	max-width: 40rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* --- Page hero ------------------------------------------------------------ */

.page-hero {
	background: var(--deep);
	color: #C6D6D9;
	padding: clamp(48px, 6vw, 80px) 0;
	position: relative;
	isolation: isolate;
}
.page-hero--image { background: var(--deep-2); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.page-hero--image::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(0,39,46,.92) 0%, rgba(0,39,46,.74) 55%, rgba(0,60,70,.5) 100%);
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero__title { font-size: clamp(34px, 5vw, 56px); color: #fff; max-width: 20ch; }
.page-hero__text { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; color: #A9C0C4; margin: 0; }

/* --- Stat band ------------------------------------------------------------ */

.stat-band { background: var(--teal); color: #fff; }
.stat-band__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
/* Dividers via borders, not a gap-background — an empty trailing grid cell
   would otherwise render as a lit block when the items wrap. */
.stat {
	padding: 30px 24px;
	border-left: 1px solid rgba(255, 255, 255, .22);
}
.stat:first-child { border-left: 0; }
.stat__num {
	display: block;
	font-family: var(--font-head);
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 700; line-height: 1;
	color: #fff;
}
.stat__unit { font-size: .5em; margin-left: 2px; }
.stat__label { display: block; margin-top: 8px; font-size: 15px; color: #D6ECEE; }

/* --- Steps ---------------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
}
.step { border-top: 3px solid var(--orange); padding-top: 20px; }
.step__num {
	font-family: var(--font-head); font-size: 15px; font-weight: 700;
	letter-spacing: .12em; color: var(--orange);
}
.step__title { font-size: 25px; margin: 6px 0 .4em; }
.step__text { margin: 0; color: var(--muted); }

/* --- Solution cards ------------------------------------------------------- */

.solution-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 24px;
}
.solution-card {
	background: #fff;
	border: 1px solid var(--line);
	border-top: 4px solid var(--teal);
	border-radius: var(--radius-lg);
	padding: 30px 26px;
	display: flex; flex-direction: column;
	box-shadow: var(--shadow-sm);
}
.solution-card__title { font-size: 27px; }
.solution-card__lede { color: var(--ink); font-weight: 500; }
.solution-card .link-arrow { margin-top: auto; }

/* --- Lists ---------------------------------------------------------------- */

.check-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.check-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 9px;
	font-size: 16px;
}
.check-list li::before {
	content: "";
	position: absolute; left: 2px; top: .55em;
	width: 9px; height: 9px;
	background: var(--orange);
	transform: rotate(45deg);
}

.numbered-list { list-style: none; counter-reset: n; padding: 0; margin: 0; }
.numbered-list li {
	counter-increment: n;
	position: relative;
	padding-left: 52px;
	margin-bottom: 22px;
}
.numbered-list li::before {
	content: counter(n, decimal-leading-zero);
	position: absolute; left: 0; top: 0;
	font-family: var(--font-head); font-size: 22px; font-weight: 700;
	color: var(--orange);
}

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

.logo-wall {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.logo-wall__item { background: #fff; }
.logo-wall__item a {
	display: flex; align-items: center; justify-content: center;
	height: 118px; padding: 18px;
	transition: background-color .15s ease;
}
.logo-wall__item a:hover { background: var(--paper-alt); }
.logo-wall__item img {
	max-height: 100%; width: auto; object-fit: contain;
	filter: grayscale(1); opacity: .72;
	transition: filter .2s ease, opacity .2s ease;
}
.logo-wall__item a:hover img { filter: none; opacity: 1; }
.logo-wall__text {
	font-family: var(--font-head); font-weight: 600;
	text-align: center; color: var(--deep); font-size: 18px;
}

/* --- Photo band ----------------------------------------------------------- */

.photo-band {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.photo-band__item { position: relative; margin: 0; overflow: hidden; }
.photo-band__item img {
	width: 100%; height: clamp(180px, 20vw, 280px);
	object-fit: cover;
	transition: transform .4s ease;
}
.photo-band__item:hover img { transform: scale(1.05); }
.photo-band__item figcaption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 26px 20px 14px;
	font-family: var(--font-head);
	font-size: 18px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .06em;
	color: #fff;
	background: linear-gradient(to top, rgba(0,26,31,.88), transparent);
}

/* --- Figures -------------------------------------------------------------- */

.split__figure, .map-figure {
	margin: 0 0 20px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.split__figure img { width: 100%; height: auto; display: block; }

/* The intermodal map is a transparent PNG whose own labels are dark teal, so
   it has to sit on a light surface — on the dark band its title would vanish. */
.map-figure {
	background: #fff;
	padding: clamp(16px, 3vw, 30px);
	margin: 0 auto 44px;
	max-width: 780px;
	box-shadow: var(--shadow-md);
}
.map-figure img { width: 100%; height: auto; display: block; }

.map-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 60px);
	align-items: center;
}
.fact-grid--stack { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.map-split__figure {
	margin: 0;
	background: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(14px, 2.4vw, 26px);
	box-shadow: var(--shadow-md);
}
.map-split__figure img { width: 100%; height: auto; display: block; }

/* --- News strip ----------------------------------------------------------- */

/* Scrolls horizontally rather than auto-playing: a moving ticker is hard to
   read, impossible to use with a keyboard, and hostile on a phone. */
.news-strip {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding: 4px 0 18px;
}
.news-strip:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.news-strip__track {
	display: flex;
	gap: 20px;
	width: max-content;
	padding-inline: max(20px, calc((100vw - var(--wrap)) / 2));
}

.news-card {
	scroll-snap-align: start;
	flex: 0 0 320px;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--orange);
	border-radius: var(--radius-lg);
	padding: 22px 22px 18px;
	box-shadow: var(--shadow-sm);
}
.news-card__who {
	font-family: var(--font-head);
	font-size: 14px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--teal); margin: 0 0 .5em;
}
.news-card__title { font-size: 20px; line-height: 1.25; margin: 0 0 14px; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--teal-dark); text-decoration: underline; }
.news-card__meta {
	margin: auto 0 0;
	font-size: 14px; color: var(--muted);
	display: flex; flex-wrap: wrap; gap: 4px 10px;
}
.news-card__source { font-weight: 600; color: var(--ink-soft); }

@media (max-width: 620px) {
	.news-card { flex-basis: 260px; }
}

/* --- Video ---------------------------------------------------------------- */

.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--deep-2);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
/* Fallback for browsers without aspect-ratio support. */
@supports not (aspect-ratio: 16 / 9) {
	.video-embed { height: 0; padding-bottom: 56.25%; }
}
.video-embed iframe {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	border: 0;
}

.video-split {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 5vw, 60px);
	align-items: center;
}

.member-video { margin-top: 44px; }
.member-video__title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: .7em; }

/* --- Member banner -------------------------------------------------------- */

.member-banner { margin: 0; }
.member-banner img {
	width: 100%;
	height: clamp(240px, 34vw, 440px);
	object-fit: cover;
}
.member-banner--contain { background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.member-banner--contain img { object-fit: contain; padding: 24px; }

/* --- Facts ---------------------------------------------------------------- */

.fact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: 28px;
}
.fact { border-left: 3px solid var(--orange); padding-left: 20px; }
.fact__stat {
	display: block;
	font-family: var(--font-head); font-weight: 700;
	font-size: clamp(38px, 4.4vw, 52px); line-height: 1;
	color: #fff;
}
.fact__label { font-size: 20px; margin: 8px 0 .3em; }
.fact__text { margin: 0; font-size: 15px; color: #9DB6BA; }

/* --- Quotes --------------------------------------------------------------- */

.quote-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 24px;
}
.quote-grid--two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
/* A lone quote shouldn't stretch the full width of the page. */
.quote-grid .quote:only-child { max-width: 640px; }
.quote {
	margin: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px 28px;
	box-shadow: var(--shadow-sm);
}
.quote blockquote {
	margin: 0 0 18px;
	font-size: 18px;
	color: var(--ink);
	line-height: 1.55;
}
.quote blockquote::before {
	content: "";
	display: block;
	width: 34px; height: 3px;
	background: var(--orange);
	margin-bottom: 16px;
}
.quote figcaption { font-size: 15px; }
.quote__name { display: block; font-weight: 600; color: var(--deep); }
.quote__role { display: block; color: var(--muted); }

.quote--person figcaption { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
	width: 56px; height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	border: 2px solid #fff;
	box-shadow: var(--shadow-sm);
}

.side-card__avatar {
	width: 84px; height: 84px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 14px;
	border: 3px solid rgba(255,255,255,.85);
}
.side-card__avatar--sm { width: 68px; height: 68px; border-color: var(--line); }

/* --- Filter bar ----------------------------------------------------------- */

.filter-bar {
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
	position: sticky; top: 84px; z-index: 40;
}
.filter-bar__inner { display: flex; flex-direction: column; gap: 16px; }

.filter-search input {
	width: 100%; max-width: 420px;
	padding: 11px 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit; font-size: 16px;
}
.filter-search input:focus { border-color: var(--teal); }

.filter-chips {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0; padding: 0;
}
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	font: inherit; font-size: 14px; font-weight: 500;
	padding: 7px 14px;
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: 100px;
	color: var(--ink-soft);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chip.is-active { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip__count { font-size: 12px; opacity: .65; }

.result-count { color: var(--muted); font-size: 15px; margin: 0 0 22px; }

/* --- Member cards --------------------------------------------------------- */

.member-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
	gap: 24px;
}
.member-grid__cell[hidden] { display: none; }

.member-card { height: 100%; }
.member-card__link {
	display: flex; flex-direction: column; height: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.member-card__link:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
	border-color: #C9D5D8;
}
.member-card__media {
	position: relative;
	height: 170px;
	background: var(--paper-alt);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
.member-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
/* Transparent product cutouts need room, not a crop. The logo chip moves to
   the opposite corner so it never sits on top of the product. */
.member-card__media--contain { background: #fff; }
.member-card__media--contain img { object-fit: contain; padding: 16px; }
.member-card__media--contain .member-card__badge {
	top: 12px; right: 12px;
	left: auto; bottom: auto;
	box-shadow: 0 1px 4px rgba(12,26,30,.16);
}
.member-card__link:hover .member-card__media img { transform: scale(1.04); }

/* Logo sits on a white chip over the photo so it stays legible. */
.member-card__badge {
	position: absolute; left: 14px; bottom: 14px;
	display: flex; align-items: center; justify-content: center;
	width: 96px; height: 52px;
	padding: 7px 10px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 2px 8px rgba(12,26,30,.22);
}
.member-card__badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.member-card__logo {
	display: flex; align-items: center; justify-content: center;
	height: 170px; padding: 22px;
	background: var(--paper-alt);
	border-bottom: 1px solid var(--line);
}
.member-card__logo img { max-height: 100%; width: auto; object-fit: contain; }
.member-card__wordmark {
	font-family: var(--font-head); font-size: 22px; font-weight: 600;
	color: var(--deep); text-align: center;
}
.member-card__body { padding: 20px 22px 8px; flex: 1; }
.member-card__title { font-size: 24px; margin-bottom: .3em; }
.member-card__text { font-size: 15px; color: var(--muted); margin: 0; }

.tag-list {
	display: flex; flex-wrap: wrap; gap: 6px;
	list-style: none; margin: 0; padding: 0 22px 20px;
}
.tag {
	display: inline-block;
	font-size: 12px; font-weight: 500;
	letter-spacing: .02em;
	padding: 4px 9px;
	background: #EAF1F1;
	color: var(--teal-dark);
	border-radius: 3px;
	text-decoration: none;
}
.tag--more { background: transparent; color: var(--muted); }
.tag-list--links { padding: 0; }
.tag-list--links .tag:hover { background: var(--teal); color: #fff; }

.empty-state { color: var(--muted); font-size: 17px; }

/* --- Member single -------------------------------------------------------- */

.member-hero {
	background: var(--paper-alt);
	border-bottom: 1px solid var(--line);
	padding: clamp(40px, 5vw, 64px) 0;
}
.member-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 40px; align-items: center;
}
.member-hero__title { font-size: clamp(34px, 4.6vw, 52px); }
.member-hero__lede { font-size: 19px; color: var(--muted); max-width: 52ch; }
.member-hero__logo {
	display: flex; align-items: center; justify-content: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px; min-height: 150px;
}
.member-hero__logo img { max-height: 110px; width: auto; object-fit: contain; }

.meta-strip { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 24px; }
.meta-strip__item dt {
	font-family: var(--font-head); font-size: 13px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.meta-strip__item dd { margin: 2px 0 0; font-weight: 600; color: var(--deep); }

.member-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 48px;
	align-items: start;
}

/* --- Split layout --------------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.split--reverse .split__text { order: 2; }
.split--reverse .split__aside { order: 1; }

.framed-img {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 14px;
}

/* --- Side cards ----------------------------------------------------------- */

.side-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
	margin-bottom: 22px;
	box-shadow: var(--shadow-sm);
}
.side-card:last-child { margin-bottom: 0; }
.side-card__title { font-size: 22px; }
.side-card__role { color: var(--muted); font-size: 15px; margin-top: -.6em; }
.side-card__note { font-size: 15px; color: var(--muted); margin: 0; }
.side-card--accent {
	background: var(--deep);
	border-color: var(--deep);
	color: #B8CDD1;
}
.side-card--accent h2, .side-card--accent h3 { color: #fff; }
.side-card--accent a:not(.btn) { color: #fff; }
.side-card--accent a:not(.btn):hover { color: var(--orange); }

/* --- Benefits & dues ------------------------------------------------------ */

.benefit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 28px 34px;
}
.benefit { border-top: 3px solid var(--teal); padding-top: 18px; }
.benefit__title { font-size: 23px; }
.benefit__text { margin: 0; color: var(--muted); font-size: 16px; }

.dues-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}
.dues-card {
	background: #fff;
	border: 1px solid var(--line);
	border-top: 4px solid var(--orange);
	border-radius: var(--radius-lg);
	padding: 30px 26px;
	text-align: center;
	box-shadow: var(--shadow-sm);
}
.dues-card__size { font-weight: 600; color: var(--deep); margin: 0 0 10px; }
.dues-card__price {
	font-family: var(--font-head);
	font-size: 46px; font-weight: 700; line-height: 1;
	color: var(--ink); margin: 0;
}
.dues-card__per {
	display: block;
	font-family: var(--font-body);
	font-size: 14px; font-weight: 400;
	color: var(--muted); margin-top: 6px;
}

/* --- CTA ------------------------------------------------------------------ */

.cta { background: var(--orange); color: #fff; padding: clamp(44px, 5vw, 66px) 0; }
.cta__inner {
	display: flex; flex-wrap: wrap; gap: 28px;
	align-items: center; justify-content: space-between;
}
.cta__title { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: .3em; }
.cta__text { margin: 0; max-width: 52ch; color: rgba(255,255,255,.94); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn--primary { background: #fff; color: var(--orange-dk); border-color: #fff; }
.cta .btn--primary:hover { background: var(--deep); color: #fff; border-color: var(--deep); }

/* --- Forms ---------------------------------------------------------------- */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 0 0 18px; }
.field label {
	display: block;
	font-weight: 600; font-size: 15px;
	color: var(--deep);
	margin-bottom: 5px;
}
.req { color: var(--orange-dk); }

.field input, .field select, .field textarea, .search-form__input {
	width: 100%;
	padding: 11px 14px;
	font: inherit; font-size: 16px;
	color: var(--ink);
	background: #fff;
	border: 1px solid #C6D0D3;
	border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus {
	border-color: var(--teal);
	outline: 2px solid rgba(0,117,125,.18);
	outline-offset: 0;
}
.field textarea { resize: vertical; min-height: 130px; }

.hp-field { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

.form-notice {
	padding: 14px 18px;
	border-radius: var(--radius);
	margin: 0 0 22px;
	font-size: 16px;
	border-left: 4px solid;
}
.form-notice--ok { background: #E8F4F0; border-color: #1E8C63; color: #17513D; }
.form-notice--warn { background: #FDF0E4; border-color: var(--orange); color: #8A4408; }

.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form__input { max-width: 360px; }

/* --- Posts ---------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 28px;
}
.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.post-card__media img { width: 100%; height: 200px; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__date {
	font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
	color: var(--muted); margin: 0 0 6px;
}
.post-card__title { font-size: 25px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--teal-dark); }
.post-card__text { font-size: 15px; color: var(--muted); }

.post-hero-img { margin: 0 0 32px; }
.post-hero-img img { border-radius: var(--radius-lg); }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none; color: var(--deep);
}
.pagination .page-numbers.current { background: var(--deep); color: #fff; border-color: var(--deep); }

/* --- Entry content -------------------------------------------------------- */

.entry-content h2 { font-size: clamp(27px, 3vw, 36px); margin-top: 1.6em; }
.entry-content h3 { font-size: clamp(22px, 2.2vw, 27px); margin-top: 1.5em; }
.entry-content ul, .entry-content ol { margin-bottom: 1.3em; }
.entry-content li { margin-bottom: 7px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--orange);
	font-size: 20px; color: var(--ink);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td {
	border: 1px solid var(--line);
	padding: 10px 14px;
	text-align: left;
}
.entry-content th { background: var(--paper-alt); font-weight: 600; }

/* --- Footer --------------------------------------------------------------- */

.site-footer { background: var(--deep-2); color: #8FA9AE; font-size: 15px; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.3fr;
	gap: 44px;
	padding: clamp(48px, 6vw, 72px) 0 44px;
}
.site-footer__logo { filter: brightness(0) invert(1); opacity: .92; margin-bottom: 18px; }
.site-footer__blurb { max-width: 34ch; margin: 0; }
.site-footer__heading {
	font-size: 15px; text-transform: uppercase; letter-spacing: .12em;
	color: #fff; margin-bottom: 1.1em;
}
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 9px; }
.site-footer a { color: #C3D6D9; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer__address { font-style: normal; margin-bottom: 18px; line-height: 1.75; }
.site-footer__address strong { color: #fff; }

.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.site-footer__bar-inner {
	display: flex; flex-wrap: wrap; gap: 10px 24px;
	justify-content: space-between; padding: 20px 0;
}
.site-footer__bar p { margin: 0; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1000px) {
	.member-layout, .contact-layout, .split, .map-split, .video-split { grid-template-columns: 1fr; }
	.photo-band { grid-template-columns: repeat(2, 1fr); }
	.split--reverse .split__text,
	.split--reverse .split__aside { order: 0; }
	.member-hero__inner { grid-template-columns: 1fr; }
	.member-hero__logo { max-width: 260px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-header__inner { min-height: 72px; }

	.primary-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
		padding: 8px 20px 20px;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav__list > li { border-bottom: 1px solid var(--line); }
	.primary-nav__list a { display: block; padding: 13px 0; border-bottom: 0; }
	.primary-nav__list .sub-menu {
		display: block; position: static;
		border: 0; box-shadow: none; padding: 0 0 8px 14px;
	}
	.primary-nav__cta { margin-top: 16px; }

	.filter-bar { position: static; }
	.topbar__inner { justify-content: center; text-align: center; }
	.topbar__tag { display: none; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.field-row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.meta-strip { gap: 20px; }
	.logo-wall { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
	.logo-wall__item a { height: 92px; padding: 12px; }
}

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