/* --------------------------------------------------------------------------
   Design tokens, shell, header, footer, buttons — shared by every template.
   -------------------------------------------------------------------------- */

html {
	overflow-x: clip;
}

body {
	margin: 0;
	overflow-x: clip;
	background: #f4f5f0;
	color: #010106;
	font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
	--acc: #026537;
	--acc-light: #9fcdaa;
	--ink: #010106;
	--dark: #0e2018;
	--line: rgba(19, 42, 33, .12);
	--paper: #fdfdfb;
}

* {
	box-sizing: border-box;
}

a {
	color: var(--ink);
	text-decoration: none;
}

a:hover {
	color: var(--acc);
}

img {
	max-width: 100%;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--dark);
	color: #fff;
	padding: 12px 20px;
	z-index: 999;
}

.skip-link:focus {
	left: 0;
}

.serif {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
}

.em {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 600;
	color: var(--acc);
}

.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 40px;
}

.wrap-wide {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 88px;
}

/* --- kickers ------------------------------------------------------------ */

.kicker,
.klabel {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--acc);
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.kicker::before,
.klabel::before {
	content: "";
	width: 44px;
	height: 1px;
	background: var(--acc);
	flex: none;
}

.klabel-light {
	color: var(--acc-light);
}

.klabel-light::before {
	background: var(--acc-light);
}

.klabel-white {
	color: #fff;
}

.klabel-white::before {
	background: #fff;
}

.klabel-center {
	justify-content: center;
}

/* --- headings ----------------------------------------------------------- */

.h1 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: 62px;
	line-height: 1.08;
	margin: 22px 0 0;
}

.h2 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: 46px;
	line-height: 1.12;
	margin: 18px 0 0;
}

/* --- buttons ------------------------------------------------------------ */

.tg {
	display: inline-block;
	background: var(--dark);
	color: #f4f5f0;
	font-size: 13px;
	font-weight: 600;
	padding: 11px 22px;
	border-radius: 100px;
	white-space: nowrap;
	flex: none;
	transition: background .2s ease, color .2s ease;
}

.tg:hover {
	background: var(--acc);
	color: #fff;
}

.tg-acc {
	background: var(--acc);
	color: #fff;
}

.tg-acc:hover {
	background: var(--dark);
	color: #fff;
}

.tg-light {
	background: #faf6e9;
	color: var(--dark);
}

.tg-light:hover {
	background: #fff;
	color: var(--dark);
}

.ghost {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--acc);
	color: var(--acc);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: 100px;
	transition: box-shadow .25s ease, background .25s ease;
}

.ghost:hover {
	box-shadow: 0 0 0 4px rgba(20, 83, 45, .18);
	background: rgba(20, 83, 45, .05);
	color: var(--acc);
}

.ghost svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

/* --- header ------------------------------------------------------------- */

.hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 40px;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.lg {
	display: block;
	flex: none;
}

.lg img {
	height: 98px;
	width: auto;
	display: block;
}

.nav {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.nl {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.nl-current {
	color: var(--acc);
}

.hd-side {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: none;
}

.langs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}

.langs a {
	color: rgba(1, 1, 6, .45);
	padding: 2px 2px;
}

.langs a:hover {
	color: var(--acc);
}

.langs .is-current {
	color: var(--acc);
}

.burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex: none;
}

.burger svg {
	width: 40px;
	height: 38px;
	stroke: var(--ink);
	stroke-width: 1.2;
	stroke-linecap: round;
	fill: none;
}

.mmenu {
	display: none;
	flex-direction: column;
	gap: 18px;
	padding: 20px;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.mmenu.is-open {
	display: flex;
}

.mmenu .tg {
	align-self: flex-start;
	margin-top: 6px;
}

.mmenu .langs {
	gap: 14px;
	font-size: 14px;
}

/* --- footer ------------------------------------------------------------- */

.ft {
	background: var(--dark);
	color: #c9d2c2;
	text-align: center;
	padding: 48px 40px;
}

.ft-title {
	font-size: 14px;
	color: #f2f1e8;
}

.ft-sub {
	font-size: 13px;
	margin-top: 8px;
}

/* --- subpage hero ------------------------------------------------------- */

.phero {
	position: relative;
	height: 380px;
}

.phero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.phero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(14, 32, 24, 0) 40%, rgba(14, 32, 24, .75) 100%);
}

.phero-txt {
	position: absolute;
	left: 88px;
	bottom: 56px;
	color: #fff;
	z-index: 1;
}

.phero-txt h1 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: 52px;
	line-height: 1.05;
	margin: 20px 0 0;
	color: #fff;
}

/* --- shared blocks ------------------------------------------------------ */

.cta-band {
	background: #f4f5f0;
	text-align: center;
	padding: 96px 40px;
}

.cta-band .h2 {
	margin-top: 20px;
}

.cta-band p {
	max-width: 560px;
	margin: 26px auto 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
}

.cta-band .buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
	flex-wrap: wrap;
}

/* --- responsive --------------------------------------------------------- */

/* Between the design width and the burger breakpoint the navigation has to
   fit longer label sets (English is the widest), so the shell tightens up. */
@media (max-width: 1500px) {
	.hd {
		gap: 16px;
	}

	.lg img {
		height: 84px;
	}

	.nav {
		gap: 20px;
		flex-wrap: nowrap;
	}

	.nl {
		font-size: 14px;
	}

	.hd-side {
		gap: 12px;
	}

	.tg {
		padding: 11px 18px;
	}
}

@media (max-width: 1280px) {
	.hd .nav {
		display: none;
	}

	.hd-side .tg {
		display: none;
	}

	.burger {
		display: block;
	}
}

@media (max-width: 1024px) {
	.wrap-wide {
		padding: 0 40px;
	}

	.phero-txt {
		left: 24px;
		bottom: 40px;
	}

	.phero-txt h1 {
		font-size: 42px;
	}

	.h1 {
		font-size: 52px;
	}

	.h2 {
		font-size: 40px;
	}

	.cta-band {
		padding: 64px 24px;
	}
}

@media (max-width: 760px) {
	.hd {
		gap: 14px;
		padding: 16px 20px;
	}

	.lg img {
		height: 68px;
	}

	.wrap {
		padding: 0 20px;
	}

	.wrap-wide {
		padding: 0 20px;
	}

	.kicker::before,
	.klabel::before {
		display: none;
	}

	.h1 {
		font-size: 40px;
		line-height: 1.05;
	}

	.h2 {
		font-size: 32px;
	}

	.phero {
		height: 300px;
	}

	.phero-txt h1 {
		font-size: 32px;
	}

	.cta-band {
		padding: 56px 20px;
	}
}

/* Accent highlight has to lighten on dark surfaces. */
.band .em,
.dcard .em,
.vid-card .em,
.quote-txt .em,
.ahead .em {
	color: var(--acc-light);
}
