/* ----------------------------------------------------------------
	Harvest Business Group — site styles
	Loaded LAST, after style.css and custom.css, so it wins.

	Everything brand-specific lives here. Canvas theme files are
	left untouched so the template can still be updated.
-----------------------------------------------------------------*/

:root {
	/* Brand — green sampled from the logo artwork (#3F6729) */
	--h-green:        #3F6729;
	--h-green-dark:   #2E4C1E;
	--h-green-light:  #5A8A3E;

	/* Accent used for call-to-action buttons.
	   Harvest gold. The label is deep green rather than white: white on
	   this gold is only 2.7:1, which fails WCAG AA, while the green ink
	   reads at 5.8:1 and keeps the gold at full strength. */
	--h-accent:       #E8A81F;
	--h-accent-dark:  #CE9012;
	--h-accent-text:  #23200D;

	--h-ink:          #1B2E14;   /* headings */
	--h-body:         #4A4A4A;   /* body copy */
	--h-muted:        #757F70;   /* secondary */
	--h-tint:         #F4F6F1;   /* section wash */
	--h-line:         #E2E7DD;   /* hairlines */

	--h-header-h:     86px;
	--h-hero-h:       580px;
}

/* Canvas ships with a teal theme colour. Repoint it at the brand green
   so any leftover .color / .text-color utilities inherit correctly. */
:root,
:root .dark {
	--cnvs-themecolor:      var(--h-green);
	--cnvs-themecolor-rgb:  63, 103, 41;
}

/* Headings across the whole site — including the sections we haven't
   rebuilt — pick up the brand ink and typeface. */
body h1, body h2, body h3, body h4, body h5, body h6,
body .heading-block h1, body .heading-block h2,
body .heading-block h3, body .heading-block h4 {
	font-family: 'Inter', sans-serif;
	color: var(--h-ink);
	letter-spacing: -.015em;
}
body .dark h1, body .dark h2, body .dark h3,
body .dark h4, body .dark h5, body .dark h6 { color: #fff; }

body { color: var(--h-body); }
a { color: var(--h-green); }
a:hover { color: var(--h-green-dark); }


/* ----------------------------------------------------------------
	1. Header
-----------------------------------------------------------------*/

#header.h-header {
	position: sticky;
	top: 0;
	z-index: 299;
	background-color: #fff;
	border-bottom: 1px solid var(--h-line);
	box-shadow: 0 1px 3px rgba(27, 46, 20, .05);
}

/* Neutralise Canvas's JS-driven sticky/transparent machinery — the
   header is plain CSS-sticky, which behaves the same on every page. */
#header.h-header #header-wrap {
	position: relative !important;
	top: auto !important;
	background-color: transparent;
	box-shadow: none;
}
#header.h-header .header-wrap-clone { display: none !important; }

/* Two tiers: logo and the call-to-action on top, navigation centred
   underneath. Achieved by letting the row wrap and giving the nav a
   full-width basis, so no extra markup is needed. */
#header.h-header .header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#header.h-header #logo {
	display: flex;
	align-items: center;
	min-height: 80px;   /* sets the height of the top tier */
	margin: 0;
	height: auto;
	border: 0;
}
#header.h-header #logo a {
	display: block;
	height: auto;
	padding: 0;
}
#header.h-header #logo img {
	display: block;
	/* Horizontal lockup: sets the company name beside the monogram so it
	   reads at ~16px. The stacked artwork puts that line at ~14% of the
	   logo height, which is illegible at any workable header size. */
	height: 56px;
	width: auto;
	max-width: none;
	padding: 0;
}
/* The full lockup carries the "Harvest Business Group USA" line; the
   compact one drops it for narrow screens, where it would set at
   about five pixels tall. */
#header.h-header #logo .h-logo-compact { display: none; }

/* --- Primary navigation --------------------------------------- */

#header.h-header .primary-menu { border: 0; }

/* Header actions (the CTA) sit at the right of the top tier. */
#header.h-header .h-header-actions {
	display: flex;
	align-items: center;
	margin-left: auto;
}

/* Lay the menu out horizontally only when Canvas says we're on desktop.
   Canvas keeps .menu-container at display:none and slides it open with
   JS on mobile, so setting display here unconditionally would pin the
   mobile menu permanently open. */
body.is-expanded-menu #header.h-header .primary-menu {
	flex: 0 0 100%;
	margin-top: 4px;
	border-top: 1px solid var(--h-line);
}
body.is-expanded-menu #header.h-header .menu-container:not(.mobile-primary-menu) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	/* Canvas gives .menu-container a right-hand rule and lets it run
	   wider than its container; both show as a stray hairline here. */
	width: 100%;
	margin: 0;
	border-right: 0;
}
#header.h-header .menu-item { margin: 0; }

#header.h-header .menu-link {
	display: block;
	padding: 12px 16px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--h-ink);
	border-radius: 4px;
	transition: color .18s ease, background-color .18s ease;
}
#header.h-header .menu-link > div { padding: 0; }

#header.h-header .menu-item:hover > .menu-link { color: var(--h-green); }

/* Active page: green, a weight bump, and a rule underneath — so it reads
   without relying on hue alone. */
#header.h-header .menu-item.current > .menu-link {
	position: relative;
	color: var(--h-green);
	font-weight: 600;
}
#header.h-header .menu-item.current > .menu-link::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background-color: var(--h-green);
}

/* --- Header call-to-action pill ------------------------------- */

.h-nav-cta {
	display: inline-block;
	padding: 11px 26px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--h-accent-text) !important;
	background-color: var(--h-accent);
	border: 1px solid var(--h-accent);
	border-radius: 25px;
	transition: background-color .18s ease, border-color .18s ease;
}
.h-nav-cta:hover {
	background-color: var(--h-accent-dark);
	border-color: var(--h-accent-dark);
	color: var(--h-accent-text) !important;
}

/* Language item sits slightly apart from the section links. */
#header.h-header .menu-item.h-lang { margin-left: 6px; }
#header.h-header .menu-item.h-lang .menu-link {
	color: var(--h-muted);
	font-size: 14px;
}
#header.h-header .menu-item.h-lang:hover .menu-link { color: var(--h-green); }

/* Hamburger — visible under 992px, where Canvas collapses the menu. */
#header.h-header .primary-menu-trigger {
	position: static;
	width: auto;
	height: auto;
	margin-left: auto;
}
#header.h-header .cnvs-hamburger-inner,
#header.h-header .cnvs-hamburger-inner::before,
#header.h-header .cnvs-hamburger-inner::after {
	background-color: var(--h-ink);
}

@media (max-width: 991.98px) {
	#header.h-header .primary-menu {
		flex: 0 0 100%;
		margin-left: 0;
	}
	/* Styling only — display stays under Canvas's control. */
	#header.h-header .menu-container {
		padding: 10px 0 18px;
		border-top: 1px solid var(--h-line);
	}
	#header.h-header .menu-link {
		padding: 13px 2px;
		font-size: 16px;
	}
	/* Match the underline to the reduced mobile padding. */
	#header.h-header .menu-item.current > .menu-link::after { left: 2px; right: 2px; }
	/* Top tier has to hold logo + CTA + hamburger on a 390px phone, so
	   everything tightens up rather than wrapping. */
	#header.h-header #logo { min-height: 64px; }
	#header.h-header #logo img { height: 34px; }
	#header.h-header #logo .h-logo-full { display: none; }
	#header.h-header #logo .h-logo-compact { display: block; }
	.h-nav-cta { padding: 8px 15px; font-size: 13px; }
	#header.h-header .primary-menu-trigger { margin-left: 8px; }
}
@media (max-width: 359.98px) {
	.h-nav-cta { display: none; }   /* below this the three items collide */
}


/* ----------------------------------------------------------------
	2. Hero — fixed-height video banner
-----------------------------------------------------------------*/

.h-hero {
	position: relative;
	height: var(--h-hero-h);
	min-height: var(--h-hero-h);
	overflow: hidden;
	background-color: var(--h-ink);
}

.h-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.h-hero__media img,
.h-hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 62%;
	display: block;
}
/* The poster sits underneath and shows until the video paints —
   and stays put if the video never plays (reduced-motion, mobile). */
.h-hero__media video {
	position: absolute;
	inset: 0;
}

/* Scrim: heavier on the left where the copy sits, clearing toward the
   sun on the right so the footage still reads. */
.h-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(10, 18, 7, .70) 0%, rgba(10, 18, 7, .44) 40%, rgba(10, 18, 7, .06) 74%, rgba(10, 18, 7, 0) 100%),
		linear-gradient(180deg, rgba(10, 18, 7, .30) 0%, rgba(10, 18, 7, 0) 28%);
}

.h-hero__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.h-hero__title {
	max-width: 17ch;
	margin: 0 0 18px;
	font-family: 'Inter', sans-serif;
	font-size: 54px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.h-hero__lede {
	max-width: 42ch;
	margin: 0 0 30px;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.6;
	color: rgba(255, 255, 255, .94);
	text-shadow: 0 1px 16px rgba(0, 0, 0, .4);
}

.h-hero__cta {
	display: inline-block;
	align-self: flex-start;
	padding: 14px 34px;
	font-family: 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff !important;
	background-color: transparent;
	border: 2px solid #fff;
	border-radius: 40px;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.h-hero__cta:hover {
	background-color: var(--h-accent);
	border-color: var(--h-accent);
	color: var(--h-accent-text) !important;
}

@media (max-width: 991.98px) {
	:root { --h-hero-h: 470px; }
	.h-hero__title { font-size: 44px; }
	.h-hero__lede  { font-size: 18px; }
}
@media (max-width: 575.98px) {
	:root { --h-hero-h: 420px; }
	.h-hero__title { font-size: 34px; max-width: none; }
	.h-hero__lede  { font-size: 17px; margin-bottom: 24px; }
	.h-hero__cta   { padding: 12px 26px; font-size: 15px; }
}

/* Phones play a lighter 960x540 cut (1.2MB rather than 4.5MB), chosen by
   the <source media> attribute. The scrim is lighter than the desktop
   one so the footage still reads on a small screen. */
@media (max-width: 767.98px) {
	.h-hero__scrim {
		background: linear-gradient(180deg, rgba(10, 18, 7, .30) 0%, rgba(10, 18, 7, .12) 45%, rgba(10, 18, 7, .62) 100%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.h-hero__media video { display: none; }
}


/* ----------------------------------------------------------------
	2b. Interior page banner
-----------------------------------------------------------------*/

.h-pagehead__media {
	position: relative;
	height: 340px;
	background-color: var(--h-ink);
	background-size: cover;
	background-position: center 58%;
	display: flex;
	align-items: flex-end;
}
.h-pagehead__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 18, 7, .58) 0%, rgba(10, 18, 7, .20) 42%, rgba(10, 18, 7, .78) 100%);
}
.h-pagehead__media > .container {
	position: relative;
	z-index: 1;
	padding-bottom: 38px;
}

.h-pagehead__crumbs {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .82);
}
.h-pagehead__crumbs a { color: rgba(255, 255, 255, .82); }
.h-pagehead__crumbs a:hover { color: #fff; }
.h-pagehead__crumbs span { padding: 0 8px; opacity: .55; }

.h-pagehead__title {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 54px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #fff !important;
	text-shadow: 0 2px 22px rgba(0, 0, 0, .4);
}

/* Solid band under the photo carrying the page's one-line summary. */
.h-pagehead__lede {
	padding: 30px 0;
	background-color: var(--h-green);
}
.h-pagehead__lede p {
	max-width: 68ch;
	margin: 0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.55;
	color: #fff;
}

/* Legal and utility pages: same shape, no photograph. */
.h-pagehead--plain .h-pagehead__media {
	height: auto;
	background-image: none !important;
	background-color: var(--h-ink);
	padding: 52px 0 46px;
}
.h-pagehead--plain .h-pagehead__media::before { display: none; }
.h-pagehead--plain .h-pagehead__media > .container { padding-bottom: 0; }
.h-pagehead--plain .h-pagehead__title { font-size: 40px; }

/* Privacy and Terms are long prose. Left at container width the lines
   run past 200 characters, which is unreadable. */
.h-pagehead--plain ~ #content .container { max-width: 860px; }

@media (max-width: 991.98px) {
	.h-pagehead__media { height: 260px; }
	.h-pagehead__title { font-size: 36px; }
	.h-pagehead__lede p { font-size: 18px; }
}
@media (max-width: 575.98px) {
	.h-pagehead__media { height: 210px; }
	.h-pagehead__title { font-size: 28px; }
	.h-pagehead__lede { padding: 22px 0; }
	.h-pagehead__lede p { font-size: 16px; }
}


/* ----------------------------------------------------------------
	3. Shared section furniture
-----------------------------------------------------------------*/

.h-section { padding: 74px 0; }
.h-section--tint { background-color: var(--h-tint); }

.h-section__head {
	max-width: 720px;
	margin: 0 auto 46px;
	text-align: center;
}
.h-section__title {
	margin: 0 0 14px;
	font-family: 'Inter', sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--h-ink);
}
.h-section__sub {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--h-muted);
}

@media (max-width: 767.98px) {
	.h-section { padding: 52px 0; }
	.h-section__title { font-size: 29px; }
}


/* ----------------------------------------------------------------
	4. Our Priorities
-----------------------------------------------------------------*/

/* A fixed column count rather than flex-wrap: six tiles wrapping freely
   land as an awkward 5 + 1 at common desktop widths. */
.h-priorities {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 26px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h-priority { text-align: center; }
.h-priority a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 22px 10px;
	border-radius: 10px;
	color: var(--h-body);
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}
.h-priority a:hover {
	background-color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(27, 46, 20, .09);
}

.h-priority__icon {
	width: 84px;
	height: 84px;
	color: var(--h-green);
}
.h-priority__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.h-priority__label {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--h-ink);
}
.h-priority a:hover .h-priority__label { color: var(--h-green); }

@media (max-width: 1199.98px) {
	.h-priorities { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
	.h-priorities { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.h-priority__icon { width: 64px; height: 64px; }
	.h-priority__label { font-size: 16px; }
}


/* ----------------------------------------------------------------
	5. Video block
-----------------------------------------------------------------*/

.h-videoblock__frame {
	max-width: 820px;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 18px 46px rgba(27, 46, 20, .16);
	background-color: #000;
}
.h-videoblock__ratio {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

/* Canvas runs FitVids, which wraps any iframe it finds in its own
   ratio box — on top of ours, doubling the height. The iframe carries
   .fitvidsignore so it is skipped; this neutralises the wrapper too,
   in case the script runs before the class is read. */
.h-videoblock__frame .fluid-width-video-wrapper {
	position: static;
	padding: 0 !important;
	height: 100%;
}
.h-videoblock__ratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}


/* ----------------------------------------------------------------
	6. Product grid — two per row
-----------------------------------------------------------------*/

.h-products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 34px;
}

.h-product {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border: 1px solid var(--h-line);
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.h-product:hover {
	transform: translateY(-3px);
	border-color: #CFD9C6;
	box-shadow: 0 16px 38px rgba(27, 46, 20, .12);
}

.h-product__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 250px;
	padding: 26px;
	/* Deeper than the page tint: the bags are photographed on white and
	   vanish against a near-white panel. */
	background-color: #E7EDE1;
	border-bottom: 1px solid var(--h-line);
}
.h-product__media img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	/* The fertilizer shots are cut-out PNGs, but the seed shots are JPEGs
	   with a baked-in white background that would otherwise sit on the
	   panel as a visible white box. Multiply blends that white away
	   without needing the images re-cut. */
	mix-blend-mode: multiply;
}

.h-product__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 24px 26px 26px;
}

.h-product__name {
	margin: 0 0 4px;
	font-family: 'Inter', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--h-ink);
}
.h-product__kicker {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--h-muted);
}

/* Document links, stacked */
.h-product__docs {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--h-line);
}
.h-product__docs li { border-bottom: 1px solid var(--h-line); }

.h-product__docs a,
.h-product__docs span {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 2px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--h-body);
	transition: color .16s ease, padding-left .16s ease;
}
.h-product__docs a:hover {
	color: var(--h-green);
	padding-left: 6px;
}
.h-product__docs i:first-child {
	flex: 0 0 auto;
	font-size: 17px;
	color: var(--h-green);
}
/* Trailing chevron pushed to the right edge */
.h-product__docs .h-doc-go {
	margin-left: auto;
	font-size: 13px;
	color: #B6C0AC;
	transition: transform .16s ease, color .16s ease;
}
.h-product__docs a:hover .h-doc-go {
	color: var(--h-green);
	transform: translateX(3px);
}

/* A document that hasn't been supplied yet: shown, but not a link. */
.h-product__docs .is-pending {
	color: #A6AEA0;
	cursor: default;
}
.h-product__docs .is-pending i:first-child { color: #C3CBBC; }
.h-product__docs .is-pending .h-doc-note {
	margin-left: auto;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #B6C0AC;
}

@media (max-width: 767.98px) {
	.h-products { grid-template-columns: 1fr; gap: 24px; }
	.h-product__media { height: 210px; }
	.h-product__name { font-size: 19px; }
}


/* ----------------------------------------------------------------
	6b. Catalogue tiles — the Fertilizer / Seeds / All Products grids
-----------------------------------------------------------------*/

.h-tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.h-tile {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border: 1px solid var(--h-line);
	border-radius: 12px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.h-tile:hover {
	transform: translateY(-3px);
	border-color: #CFD9C6;
	box-shadow: 0 16px 38px rgba(27, 46, 20, .12);
	color: inherit;
}

.h-tile__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 230px;
	padding: 24px;
	background-color: #E7EDE1;
	border-bottom: 1px solid var(--h-line);
}
.h-tile__media img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.h-tile__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 22px;
}
.h-tile__name {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: var(--h-ink);
}
.h-tile__go {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--h-green);
}
.h-tile__go i { font-size: 12px; transition: transform .16s ease; }
.h-tile:hover .h-tile__go i { transform: translateX(3px); }

@media (max-width: 1199.98px) { .h-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px)  { .h-tiles { grid-template-columns: repeat(2, 1fr); gap: 20px; }
                                .h-tile__media { height: 180px; }
                                .h-tile__name { font-size: 15px; } }


/* ----------------------------------------------------------------
	6c. Product detail image
-----------------------------------------------------------------*/

/* Was a one-slide FlexSlider filling the column. Canvas keeps slides at
   display:none until its JavaScript runs, so the photo appeared only
   after ~1MB of scripts had loaded. A plain figure renders immediately. */
.h-product-figure {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 400px;
	margin: 0 auto;
	padding: 30px;
	background-color: #E7EDE1;
	border: 1px solid var(--h-line);
	border-radius: 14px;
}
.h-product-figure a { display: block; line-height: 0; }
.h-product-figure img {
	display: block;
	max-width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

@media (max-width: 767.98px) {
	.h-product-figure { max-width: 320px; padding: 22px; }
}


/* ----------------------------------------------------------------
	6c-2. Field photography
-----------------------------------------------------------------*/

.h-field {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.h-field__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background-color: var(--h-tint);
}
.h-field__item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center;
	transition: transform .4s ease;
}
.h-field__item:hover img { transform: scale(1.03); }

/* The aerial is portrait; bias its crop upward so the wing and horizon
   survive the 3:2 cell instead of being centred on rooftops. */
.h-field__item--tall img { object-position: center 34%; }

.h-field__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px 18px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	background: linear-gradient(180deg, rgba(10, 18, 7, 0) 0%, rgba(10, 18, 7, .82) 100%);
}

@media (max-width: 767.98px) {
	.h-field { gap: 12px; }
	.h-field__item figcaption { font-size: 11px; padding: 22px 10px 9px; }
}


/* ----------------------------------------------------------------
	6d. Team roster
-----------------------------------------------------------------*/

/* Replaced alternating full-bleed panels set to min-vh-75, which put
   each portrait at three-quarters of the viewport height. */
.h-team {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 40px;   /* the last entry otherwise butts the footer */
}

.h-person {
	display: grid;
	grid-template-columns: 216px 1fr;
	gap: 40px;
	align-items: start;
	padding: 46px 0;
}
.h-person + .h-person { border-top: 1px solid var(--h-line); }

.h-person__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 45 / 55;      /* the source portraits are 450x550 */
	object-fit: cover;
	object-position: center 18%;
	border-radius: 12px;
	background-color: var(--h-tint);
}

.h-person__role {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--h-green);
}
.h-person__name {
	margin: 0 0 16px;
	font-family: 'Inter', sans-serif;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--h-ink);
}
.h-person__body p {
	max-width: 68ch;
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--h-body);
}
.h-person__body p:last-child { margin-bottom: 0; }

@media (max-width: 767.98px) {
	.h-person {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 34px 0;
	}
	.h-person__photo { max-width: 200px; }
	.h-person__name { font-size: 21px; }
}


/* ----------------------------------------------------------------
	6e. Footer
-----------------------------------------------------------------*/

#footer.dark {
	background-color: #131A10;
	border-top: 3px solid var(--h-green);
}

.h-footer {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 44px;
	padding: 62px 0 54px;
}

.h-footer__logo {
	display: block;
	height: 46px;
	width: auto;
	margin: 0 0 20px;
}
.h-footer__brand p {
	max-width: 42ch;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .70);
}

.h-footer__col h4 {
	margin: 0 0 16px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff !important;
}
.h-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.h-footer__col li { margin-bottom: 10px; }
.h-footer__col a,
.h-footer__col address,
.h-footer__col p {
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .70);
}
.h-footer__col a { transition: color .16s ease; }
.h-footer__col a:hover { color: var(--h-accent); }
.h-footer__col address { margin: 0 0 14px; font-style: normal; }
.h-footer__col p { margin: 0; }

#copyrights {
	padding: 20px 0;
	background-color: #0C1109;
	border-top: 1px solid rgba(255, 255, 255, .08);
}
.h-copyright {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
}
.h-copyright__links { display: flex; gap: 20px; }
.h-copyright__links a { color: rgba(255, 255, 255, .55); }
.h-copyright__links a:hover { color: var(--h-accent); }

@media (max-width: 991.98px) {
	.h-footer { grid-template-columns: 1fr 1fr; gap: 34px; padding: 46px 0 38px; }
	.h-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
	.h-footer { grid-template-columns: 1fr; }
	.h-copyright { justify-content: flex-start; }
}


/* ----------------------------------------------------------------
	7. Small corrections to existing sections
-----------------------------------------------------------------*/

/* The intro block ran the full container width, which made for very
   long line lengths on desktop. */
.h-intro__title {
	font-family: 'Inter', sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--h-ink);
}
.h-intro__body {
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.75;
	color: var(--h-body);
}
