/* ==========================================================================
   Miluot — main stylesheet (RTL). Design reference width: 120rem.
   ========================================================================== */

:root {
	--c-ink: #123d2c;        /* body text, footer, cards */
	--c-green: #007445;      /* headings */
	--c-bright: #5bcc12;     /* accents */
	--c-lime: #c5e76e;       /* buttons */
	--c-btn-ink: #004b2d;
	--c-sky: #e1f3f8;
	--c-sky-hex: #d6f2f9;
	--c-mint: #f2ffd1;
	--c-cream: #fff8ee;
	--c-white: #fff;

	/* Swap these for the licensed fonts from the design when available. */
	--f-display: "Tel Aviv Brutalist", "Miriam Libre", "Google Sans", system-ui, sans-serif;
	--f-body: "Google Sans", "Heebo", system-ui, sans-serif;

	--container: 77.25rem;
	--gutter: 1.5rem;
	--radius-sm: 0.875rem;
	--radius-lg: 7.5rem;
	--section-gap: 10.5rem;
	--header-h: 4.625rem;
	--hex: url("../img/hex.svg");
}

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

html {
	direction: rtl;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Desktop layout scales with the viewport exactly like the 1920px design. */
@media (min-width: 1181px) {
	html {
		font-size: clamp(11px, calc(100vw / 120), 16px);
	}
}

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 1.125rem;
	line-height: 1.39;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

:focus-visible {
	outline: 2px solid var(--c-bright);
	outline-offset: 0.1875rem;
}

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

.skip-link {
	position: fixed;
	top: -6.25rem;
	right: 1rem;
	z-index: 1000;
	padding: 0.625rem 1.125rem;
	background: var(--c-ink);
	color: var(--c-white);
	border-radius: 0.5rem;
}

.skip-link:focus {
	top: 1rem;
}

.container {
	width: min(var(--container), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Shared elements
   -------------------------------------------------------------------------- */

.m-eyebrow {
	display: inline-block;
	margin-bottom: 1.25rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid currentColor;
	color: var(--c-green);
	font-size: 1.5rem;
	line-height: 1.2;
}

.m-heading {
	font-family: var(--f-display);
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 0.92;
	color: var(--c-green);
	letter-spacing: -0.01em;
}

.m-heading__main,
.m-heading__accent {
	display: block;
}

.m-heading__accent {
	color: var(--c-bright);
	font-weight: 700;
}

.m-heading--inline .m-heading__main,
.m-heading--inline .m-heading__accent {
	display: inline;
}

.m-text p + p {
	margin-top: 1.39em;
}

.m-text strong {
	font-weight: 700;
}

.m-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	min-height: 3.5rem;
	padding: 0 1.875rem;
	border-radius: 62.4375rem;
	background: var(--c-lime);
	color: var(--c-btn-ink);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.m-btn:hover {
	background: var(--c-bright);
	color: var(--c-white);
}

.m-btn__arrow {
	font-size: 0.8em;
}

.m-btn--outline {
	min-height: 2.875rem;
	padding: 0 1.625rem;
	background: transparent;
	border: 1px solid var(--c-lime);
	color: var(--c-white);
	font-size: 1.0625rem;
	font-weight: 500;
}

.m-btn--outline:hover {
	background: var(--c-lime);
	color: var(--c-btn-ink);
}

/* Rounded hexagon (pointy top) */
.m-hex {
	display: block;
	aspect-ratio: 100 / 115.47;
	-webkit-mask: var(--hex) center / 100% 100% no-repeat;
	mask: var(--hex) center / 100% 100% no-repeat;
}

.m-hex img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stat-num {
	display: block;
	font-family: var(--f-display);
	font-weight: 700;
	color: var(--c-green);
	line-height: 1;
	letter-spacing: 0.01em;
}

/* Split layout: two columns, first child on the right (RTL). */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5.25rem;
	align-items: start;
}

.split > * {
	min-width: 0;
}

.split--center {
	align-items: center;
}

.split__text .m-heading {
	margin-bottom: 1.875rem;
}

.split__text .m-btn {
	margin-top: 2rem;
}

.home-community .split__text .m-btn {
	margin-top: 2.875rem;
}

/* Image with one large rounded corner */
.media-shape {
	position: relative;
	isolation: isolate;
}

.media-shape img {
	width: 100%;
	aspect-ratio: 568 / 400;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.split--story {
	align-items: start;
}

.split--story .media-shape img {
	aspect-ratio: 568 / 501;
}

.media-shape--tl img {
	border-top-left-radius: var(--radius-lg);
}

.media-shape--tr img {
	border-top-right-radius: var(--radius-lg);
}

.media-shape__hex {
	position: absolute;
	z-index: -1;
	width: 28%;
	background: var(--c-sky-hex);
}

.media-shape__hex--tl {
	top: -1.25rem;
	left: -4.875rem;
}

.media-shape__hex--tr {
	top: -3.375rem;
	right: 0;
	width: 28%;
	background: var(--c-mint);
}

.media-shape__hex--br {
	bottom: -5.625rem;
	right: -4.9375rem;
	width: 25%;
	background: var(--c-sky);
}

[data-reveal] {
	opacity: 0;
	transform: translateY(2.5rem);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible,
.no-js [data-reveal] {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 3.3125rem 3.75rem auto;
	z-index: 100;
	transition: inset 0.35s ease;
}

.site-header.is-scrolled {
	inset-block-start: 1rem;
}

.admin-bar .site-header {
	margin-top: 2rem;
}

.site-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--header-h);
	padding-inline: 2.0625rem 2rem;
	background: var(--c-white);
	border-radius: 0.875rem;
	box-shadow: 0 0.375rem 1.5rem rgba(18, 61, 44, 0.12);
}

.site-logo {
	position: relative;
	display: flex;
	align-items: center;
	flex: none;
	margin-inline-end: 11.875rem;
}

/* White hexagon tab behind the logo icon */
.site-logo::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(100% - 5.0625rem);
	width: 6.75rem;
	aspect-ratio: 100 / 115.47;
	transform: translateY(-50%);
	background: var(--c-white);
	-webkit-mask: var(--hex) center / 100% 100% no-repeat;
	mask: var(--hex) center / 100% 100% no-repeat;
	filter: drop-shadow(0 0.375rem 0.875rem rgba(18, 61, 44, 0.12));
	z-index: -1;
}

.site-logo img {
	width: 12.875rem;
	height: auto;
}

.main-nav {
	flex: 1;
}

.main-nav__list {
	display: flex;
	align-items: center;
}

.main-nav__list > .menu-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding-inline: 0 4.125rem;
	margin-inline-end: 4.125rem;
	height: var(--header-h);
}

.main-nav__list > .menu-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 1.5rem;
	transform: translateY(-50%);
	background: var(--c-bright);
}

.main-nav__list > .menu-item:last-child {
	padding-inline-end: 0;
	margin-inline-end: 0;
}

.main-nav__list > .menu-item:last-child::after {
	display: none;
}

.main-nav__list > .menu-item > a {
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1;
	color: var(--c-ink);
	transition: color 0.2s;
}

.main-nav__list > .menu-item.is-current > a {
	font-weight: 700;
}

.main-nav__list > .menu-item > a:hover {
	color: var(--c-green);
}

.submenu-toggle {
	display: grid;
	place-items: center;
	width: 1.125rem;
	height: 1.125rem;
	color: var(--c-ink);
	transition: transform 0.25s;
}

.sub-menu {
	position: absolute;
	top: 100%;
	right: -2rem;
	min-width: 11.9375rem;
	padding: 0.375rem 1.9375rem 0.875rem;
	background: var(--c-white);
	border-radius: 0 0 1.25rem 1.25rem;
	box-shadow: 0 1rem 1.5rem rgba(18, 61, 44, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.375rem);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.sub-menu::before {
	/* hover bridge */
	content: "";
	position: absolute;
	inset: -0.875rem 0 auto;
	height: 0.875rem;
}

.sub-menu .menu-item a {
	display: block;
	padding: 0.5625rem 0 0.625rem;
	border-bottom: 1px solid var(--c-bright);
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--c-ink);
	transition: color 0.2s, padding 0.2s;
}

.sub-menu .menu-item:last-child a {
	border-bottom: 0;
}

.sub-menu .menu-item a:hover,
.sub-menu .menu-item.is-current a {
	color: var(--c-green);
	padding-inline-start: 0.25rem;
}

@media (hover: hover) and (min-width: 1181px) {
	.main-nav__list > .has-children:hover .sub-menu,
	.main-nav__list > .has-children:focus-within .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-nav__list > .has-children:hover .submenu-toggle {
		transform: rotate(180deg);
	}
}

.main-nav__list > .has-children.is-open .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.header-meta {
	display: flex;
	align-items: center;
	gap: 0.6875rem;
	flex: none;
}

.header-meta__lang {
	margin-inline-end: 1.125rem;
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--c-ink);
}

.social-icon {
	display: block;
	width: 2rem;
	height: 2rem;
	color: var(--c-ink);
	transition: color 0.2s, transform 0.2s;
}

.social-icon svg {
	width: 100%;
	height: 100%;
}

.social-icon:hover {
	color: var(--c-green);
	transform: translateY(-2px);
}

.nav-toggle {
	display: none;
}

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-white);
	text-align: center;
	border-bottom-right-radius: 12.5rem 14.375rem;
}

.hero--home {
	height: 62.5rem;
	min-height: 37.5rem;
}

.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero--home::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(18, 61, 44, 0) 45%, rgba(18, 61, 44, 0.18) 100%);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	padding: 8.75rem var(--gutter) 2.5rem;
}

.hero--home .hero__content {
	padding-top: 11.3rem;
}

.hero__title {
	font-family: var(--f-display);
	font-weight: 400;
	line-height: 0.82;
	text-shadow: 0 2px 1.875rem rgba(0, 0, 0, 0.15);
}

.hero__title-main {
	display: block;
	font-size: 6.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.hero__title-sub {
	display: block;
	font-size: 3.5625rem;
	letter-spacing: 0.01em;
}

.m-btn--play {
	gap: 0.75rem;
	margin-top: 3.9rem;
	min-height: 3.3rem;
	padding: 0 1.75rem 0 2.125rem;
	font-size: 1.0625rem;
	font-weight: 500;
}

.m-btn--play svg {
	width: 1.875rem;
	height: 1.875rem;
}

.hero--page {
	height: 31.25rem;
	background: var(--c-ink) var(--hero-img) center 35% / cover no-repeat;
	border-bottom-right-radius: 11.875rem 11.875rem;
}

.hero--page::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 61, 44, 0.32);
}

.hero__page-title {
	font-family: var(--f-display);
	font-size: 5.5rem;
	font-weight: 400;
	line-height: 1;
	text-shadow: 0 2px 1.875rem rgba(0, 0, 0, 0.2);
}

.breadcrumbs {
	margin-top: 1.625rem;
	font-size: 1rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.breadcrumbs li + li::before {
	content: ">";
	margin-inline-end: 0.375rem;
}

.breadcrumbs a:hover {
	color: var(--c-green);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.page-section {
	margin-top: var(--section-gap);
}

.page-section--first {
	margin-top: 10.5rem;
}

.page-section--tight {
	margin-top: 4.4375rem;
}

.page-section--last {
	margin-bottom: 10.625rem;
}

/* About page: section spacing taken from the design */
.page-section--timeline {
	margin-top: 7.8125rem;
}

.page-section--divisions {
	margin-top: 9.75rem;
}

.page-section--forward {
	margin-top: 9.5625rem;
}

/* Intro template (משקי המפרץ / חזון וערכים) */
.page-section--intro-last {
	margin-bottom: 12.5625rem;
}

.page-section--cream {
	margin-top: 5.625rem;
}

.page-section--cream.page-section--last {
	margin-bottom: 31.0625rem;
}

.page-section--stats {
	margin-top: 11.6875rem;
}

.page-section--stats .section-head {
	margin-bottom: 1.625rem;
}

.section-head {
	max-width: 47.5rem;
}

.section-head .m-heading {
	margin-bottom: 1.625rem;
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
	max-width: 56.25rem;
}

.section-head--center:only-child {
	margin-bottom: 2.5rem;
}

.section-head--center .m-heading {
	margin-bottom: 1.5rem;
}

.section-head + .division-cards {
	margin-top: 3.125rem;
}

/* Home: intro */
.home-intro {
	margin-top: 7.625rem;
}

.home-intro .split {
	grid-template-columns: 33.75rem 1fr;
	justify-content: space-between;
}

.home-intro .split__text {
	padding-top: 2.25rem;
}

.home-intro .split__text .m-btn {
	margin-top: 1.75rem;
}

.hex-collage {
	position: relative;
	justify-self: end;
	width: 41.875rem;
	aspect-ratio: 670 / 605;
	margin-inline-end: -9.5625rem;
}

.hex-collage > * {
	position: absolute;
}

.hex-collage__sky {
	left: 0;
	top: 35.5%;
	width: 25.8%;
	background: var(--c-sky-hex);
}

.hex-collage__a {
	left: 12.2%;
	top: 0;
	width: 54.3%;
	filter: drop-shadow(0 1.875rem 2.5rem rgba(18, 61, 44, 0.18));
}

.hex-collage__a,
.hex-collage__b,
.hex-collage__c {
	-webkit-mask: none;
	mask: none;
}

.hex-collage__a img,
.hex-collage__b img,
.hex-collage__c img {
	aspect-ratio: 100 / 115.47;
	-webkit-mask: var(--hex) center / 100% 100% no-repeat;
	mask: var(--hex) center / 100% 100% no-repeat;
}

.hex-collage__b {
	left: 71.6%;
	top: 30.4%;
	width: 25.1%;
}

.hex-collage__c {
	left: 51%;
	top: 59.5%;
	width: 31.6%;
}

.hex-collage__lime {
	left: 87.9%;
	top: 63.8%;
	width: 12.2%;
	background: var(--c-lime);
}

/* Home: divisions */
.home-divisions {
	margin-top: 8.6875rem;
}

/* Division cards */
.division-cards {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.9375rem;
	margin-top: 4.375rem;
}

.division-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 25rem;
	padding: 2.25rem 1.25rem 2.375rem;
	background: var(--c-ink);
	color: var(--c-white);
	text-align: center;
	border-radius: 3rem 0.75rem 3rem 0.75rem;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.division-card:hover {
	transform: translateY(-0.5rem);
	box-shadow: 0 1.5rem 2.5rem rgba(18, 61, 44, 0.25);
}

.division-card__icon img {
	width: 4.75rem;
	height: 4.75rem;
}

.division-card__title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2em;
	margin-top: 0.875rem;
	font-family: var(--f-display);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1;
}

.division-card__text {
	margin-top: 1rem;
	font-size: 1.0625rem;
	line-height: 1.33;
}

.division-card__link {
	margin-top: auto;
}

/* Home: stats strip */
.home-stats {
	margin-top: 12.25rem;
}

.stats-strip {
	display: flex;
	align-items: center;
	min-height: 15.625rem;
	padding: 2.5rem 3.75rem 2.5rem 2.5rem;
	background: var(--c-sky);
	border-radius: 1.5rem;
}

.stats-strip__title {
	flex: none;
	width: 17.5rem;
	font-size: 2.5rem;
	line-height: 0.86;
}

.stats-strip__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	flex: 1;
}

.stats-strip__list li {
	padding: 1.375rem 0.625rem 1.125rem;
	text-align: center;
	font-size: 1.125rem;
}

.stats-strip__list li + li {
	border-right: 1px solid var(--c-ink);
}

.stats-strip__list .stat-num {
	margin-bottom: 0.625rem;
	font-size: 3.5rem;
}

/* Home: community */
.home-community {
	margin-top: 12.75rem;
}

.home-community .split {
	grid-template-columns: 38.5625rem 1fr;
}

.home-community .split__text {
	order: 2;
	justify-self: end;
	width: 26.875rem;
}

.home-community .media-shape {
	order: 1;
}

.home-community .media-shape img {
	aspect-ratio: 617 / 450;
}

/* Career CTA + footer */
.site-bottom {
	position: relative;
}

.has-career-cta .site-bottom {
	margin-top: 15.875rem;
	background: linear-gradient(90deg, var(--c-bright) 0%, var(--c-lime) 100%);
	border-top-left-radius: 12.5rem;
}

.career-cta {
	position: relative;
	height: 28.375rem;
	overflow: hidden;
}

.career-cta__inner {
	position: relative;
	height: 100%;
}

.career-cta__text {
	position: absolute;
	top: 10.375rem;
	right: 0;
	max-width: 40rem;
}

.career-cta__text .m-eyebrow {
	margin-bottom: 1.125rem;
}

.career-cta__title {
	margin-bottom: 1.125rem;
	font-size: 2.5rem;
}

.career-cta__title .m-heading__accent {
	color: var(--c-white);
}

.career-cta__media {
	position: absolute;
	top: 14rem;
	left: 14.25rem;
	width: 19.25rem;
}

.career-cta__outline {
	display: block;
	width: 100%;
	aspect-ratio: 100 / 115.47;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47' preserveAspectRatio='none'%3E%3Cpath d='M42.21,4.50Q50.00,0.00 57.79,4.50L92.21,24.37Q100.00,28.87 100.00,37.87L100.00,77.60Q100.00,86.60 92.21,91.10L57.79,110.97Q50.00,115.47 42.21,110.97L7.79,91.10Q-0.00,86.60 -0.00,77.60L-0.00,37.87Q0.00,28.87 7.79,24.37Z' fill='none' stroke='white' stroke-width='0.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.career-cta__img {
	position: absolute;
	top: 1.75rem;
	left: 1.5rem;
	width: 16.1875rem;
}

.career-cta__hex {
	position: absolute;
	top: 6.75rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 13.125rem;
	aspect-ratio: 100 / 115.47;
	background: var(--c-white);
	-webkit-mask: var(--hex) center / 100% 100% no-repeat;
	mask: var(--hex) center / 100% 100% no-repeat;
	color: var(--c-ink);
	font-size: 1.25rem;
	line-height: 1.25;
	text-align: center;
	transition: transform 0.35s ease;
}

.career-cta__hex:hover {
	transform: rotate(-6deg) scale(1.04);
}

.site-footer {
	position: relative;
	z-index: 2;
	padding-top: 6.125rem;
	background: var(--c-ink);
	color: var(--c-white);
	border-top-right-radius: 13.75rem;
	font-size: 1rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 17.9375rem 20.375rem 21.5rem 1fr;
	grid-template-areas:
		"logo main divs contact"
		"legal legal legal legal";
}

.site-footer__logo {
	grid-area: logo;
	align-self: start;
	margin-top: 6.625rem;
}

.site-footer__logo img {
	width: 10.375rem;
}

.site-footer__col:nth-of-type(1) {
	grid-area: main;
}

.site-footer__col:nth-of-type(2) {
	grid-area: divs;
}

.site-footer__col--contact {
	grid-area: contact;
}

.site-footer__title {
	display: inline-block;
	margin-bottom: 1.625rem;
	padding-bottom: 0.1875rem;
	border-bottom: 1px solid var(--c-bright);
	font-family: var(--f-display);
	font-size: 1.1875rem;
	font-weight: 400;
	line-height: 1.2;
}

.site-footer__menu li + li {
	margin-top: 0.6875rem;
}

.site-footer__menu a,
.site-footer__contact a,
.site-footer__legal a {
	transition: color 0.2s;
}

.site-footer__menu a:hover,
.site-footer__contact a:hover,
.site-footer__legal a:hover,
.site-footer__bottom a:hover {
	color: var(--c-lime);
}

.site-footer__contact {
	--icon-fg: var(--c-ink);
}

.site-footer__contact li {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.site-footer__contact li + li {
	margin-top: 1.3125rem;
}

.site-footer__contact svg {
	flex: none;
	width: 1.625rem;
	height: 1.625rem;
	color: var(--c-lime);
}

.site-footer__social {
	gap: 0.625rem !important;
}

.site-footer__social span {
	margin-inline-end: 0.375rem;
}

.site-footer__social .social-icon {
	width: 1.625rem;
	height: 1.625rem;
	color: var(--c-lime);
	--icon-fg: var(--c-ink);
}

.site-footer__legal {
	grid-area: legal;
	margin-top: 3.5rem;
	padding-inline-start: 17.9375rem;
}

.site-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
}

.site-footer__legal-list li + li::before {
	content: "|";
	margin-inline: 2.375rem;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1.25rem;
	margin: 2.375rem 3.75rem 0;
	padding: 1.875rem 0 3.125rem;
	border-top: 1px solid var(--c-bright);
}

/* Floating "let's talk" leaf */
.talk-leaf {
	position: fixed;
	right: 5.5rem;
	bottom: 9.375rem;
	z-index: 90;
	width: 4.875rem;
	transition: transform 0.3s ease;
	filter: drop-shadow(0 0.5rem 1rem rgba(18, 61, 44, 0.2));
}

.talk-leaf img {
	width: 100%;
}

.talk-leaf:hover {
	transform: rotate(-8deg) scale(1.06);
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-section .split {
	grid-template-columns: 1fr 35.5rem;
	gap: 3.75rem;
}

.page-section .split:has(> .split__media:first-child) {
	grid-template-columns: 35.5rem 1fr;
}

.page-section .split__text {
	max-width: 38.125rem;
}

.info-boxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5.25rem;
}

.info-box {
	min-height: 19.5rem;
	padding: 2.25rem 3.375rem 2.5rem;
	border-radius: 1.25rem;
}

.info-box--sky {
	background: var(--c-sky);
}

.info-box--mint {
	background: var(--c-mint);
}

.info-box__title {
	margin-bottom: 1.25rem;
	font-family: var(--f-display);
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1;
	color: var(--c-green);
}

.timeline {
	display: flex;
	align-items: flex-start;
	padding: 3.125rem 6.125rem 3.5rem;
	background: var(--c-cream);
	border-radius: 1.25rem;
}

.timeline__point {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.1;
}

.timeline .stat-num {
	margin-bottom: 0.5rem;
	font-size: 2.875rem;
}

.timeline__line {
	flex: 1;
	position: relative;
	height: 0.625rem;
	margin: 1.125rem 2.125rem 0;
	background:
		radial-gradient(circle, var(--c-green) 0.25rem, transparent 0.2812rem) right center / 0.625rem 0.625rem no-repeat,
		radial-gradient(circle, var(--c-green) 0.25rem, transparent 0.2812rem) left center / 0.625rem 0.625rem no-repeat,
		linear-gradient(var(--c-green), var(--c-green)) center / calc(100% - 0.625rem) 2px no-repeat;
}

.stats-grid {
	padding: 4rem 4.25rem 3.625rem;
	background: var(--c-sky);
	border-radius: 1.25rem;
}

.stats-grid__row {
	display: flex;
	justify-content: space-between;
	gap: 1.875rem;
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.1;
}

.stats-grid__row + .stats-grid__row {
	margin-top: 1.875rem;
	padding-top: 2.75rem;
	border-top: 2px solid var(--c-green);
}

.stats-grid .stat-num {
	margin-bottom: 0.625rem;
	font-size: 2.875rem;
	white-space: nowrap;
}

.cream-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 3.375rem 3.5rem 3.5rem;
	background: var(--c-cream);
	border-radius: 1.25rem;
}

.cream-box .m-text {
	grid-column: 2;
}

.entry-content {
	max-width: 56.25rem;
	font-size: 1.125rem;
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3 {
	font-family: var(--f-display);
	font-weight: 400;
	color: var(--c-green);
	line-height: 1.1;
}

.entry-content h2 {
	font-size: 2.5rem;
}

.entry-content h3 {
	font-size: 1.875rem;
}

.entry-content a {
	color: var(--c-green);
	text-decoration: underline;
}

.entry-content ul {
	list-style: disc;
	padding-inline-start: 1.2em;
}

/* --------------------------------------------------------------------------
   Film modal
   -------------------------------------------------------------------------- */

.film-modal {
	width: min(75rem, 92vw);
	padding: 0;
	border: 0;
	border-radius: 1.25rem;
	background: #000;
	overflow: visible;
}

.film-modal::backdrop {
	background: rgba(18, 61, 44, 0.85);
}

.film-modal__frame {
	aspect-ratio: 16 / 9;
	border-radius: 1.25rem;
	overflow: hidden;
}

.film-modal__frame iframe,
.film-modal__frame video {
	width: 100%;
	height: 100%;
	border: 0;
}

.film-modal__close {
	position: absolute;
	top: -3.25rem;
	left: 0;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.5rem;
	color: var(--c-white);
}

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

@media (max-width: 1180px) {
	:root {
		--section-gap: 90px;
	}

	.site-main,
	.site-bottom {
		overflow-x: clip;
	}

	.home-intro .split,
	.home-community .split,
	.page-section .split,
	.page-section .split:has(> .split__media:first-child) {
		grid-template-columns: 1fr 1fr;
		gap: 48px;
	}

	.hex-collage {
		width: 100%;
		max-width: 670px;
		margin-inline-end: 0;
	}

	.home-community .split__text {
		width: auto;
	}

	.m-heading {
		font-size: 34px;
	}

	.hero--home {
		height: min(1000px, 100svh);
	}

	.hero__title-main {
		font-size: 54px;
	}

	.hero__title-sub {
		font-size: 32px;
	}

	.hero__page-title {
		font-size: 48px;
	}

	.page-section--first {
		margin-top: 70px;
	}

	.page-section--tight {
		margin-top: 60px;
	}

	.page-section--last {
		margin-bottom: 100px;
	}

	:root {
		--header-h: 4rem;
	}

	.site-header {
		inset: 1rem 1rem auto;
	}

	.site-header__bar {
		padding-inline: 1.25rem 1rem;
	}

	.site-logo {
		margin-inline-end: auto;
	}

	.site-logo::before {
		display: none;
	}

	.site-logo img {
		width: 9.375rem;
	}

	.nav-toggle {
		display: grid;
		place-items: center;
		width: 2.75rem;
		height: 2.75rem;
		margin-inline-start: 0.5rem;
		color: var(--c-ink);
	}

	.nav-toggle svg {
		width: 1.625rem;
		height: 1.625rem;
	}

	.nav-toggle__close,
	.nav-open .nav-toggle__open {
		display: none;
	}

	.nav-open .nav-toggle__close {
		display: block;
	}

	.main-nav {
		position: absolute;
		top: calc(100% + 0.5rem);
		inset-inline: 0;
		max-height: calc(100svh - var(--header-h) - 3rem);
		overflow-y: auto;
		padding: 0.625rem 1.5rem 1.25rem;
		background: var(--c-white);
		border-radius: 0.875rem;
		box-shadow: 0 1rem 1.875rem rgba(18, 61, 44, 0.15);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.5rem);
		transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
	}

	.nav-open .main-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-nav__list {
		display: block;
	}

	.main-nav__list > .menu-item {
		flex-wrap: wrap;
		justify-content: space-between;
		height: auto;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid var(--c-bright);
	}

	.main-nav__list > .menu-item:last-child {
		border-bottom: 0;
	}

	.main-nav__list > .menu-item::after {
		display: none;
	}

	.main-nav__list > .menu-item > a {
		padding: 1rem 0;
		font-size: 1.1875rem;
	}

	.submenu-toggle {
		width: 2.75rem;
		height: 2.75rem;
	}

	.is-open > .submenu-toggle {
		transform: rotate(180deg);
	}

	.sub-menu {
		position: static;
		flex-basis: 100%;
		display: none;
		min-width: 0;
		padding: 0 1rem 0.625rem 0;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.is-open > .sub-menu {
		display: block;
	}

	.sub-menu .menu-item a {
		border-bottom: 0;
		font-size: 1.0625rem;
	}

	.hero--home .hero__content {
		padding-top: 5.625rem;
	}

	.division-cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.stats-strip {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
		padding: 2.5rem;
		text-align: center;
	}

	.stats-strip__title {
		width: auto;
	}

	.site-footer__grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-areas:
			"logo logo logo"
			"main divs contact"
			"legal legal legal";
		row-gap: 3.125rem;
	}

	.site-footer__logo {
		justify-self: start;
	}

	.site-footer__col--contact {
		justify-self: start;
	}

	.site-footer__legal {
		margin-top: 0;
		padding: 0;
	}

	.site-footer__bottom {
		margin-inline: var(--gutter);
	}

	.career-cta {
		height: auto;
		padding: 7.5rem 0 0;
	}

	.career-cta__inner {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: end;
		gap: 1.25rem 2.5rem;
	}

	.career-cta__text,
	.career-cta__media,
	.career-cta__hex {
		position: relative;
		inset: auto;
	}

	.career-cta__text {
		grid-column: 1 / -1;
	}

	.career-cta__media {
		width: 15rem;
		margin-bottom: -97px; /* ~35% of the hexagon hidden, as on desktop */
	}

	.career-cta__img {
		top: 1.375rem;
		left: 1.1875rem;
		width: 12.625rem;
	}

	.career-cta__hex {
		width: 10.625rem;
		font-size: 1.125rem;
		align-self: center;
	}
}

@media (max-width: 900px) {
	:root {
		--radius-lg: 5rem;
	}

	body {
		font-size: 1.0625rem;
	}

	.m-text br,
	.stats-grid br {
		display: none;
	}

	.split,
	.home-intro .split,
	.home-community .split,
	.page-section .split,
	.page-section .split:has(> .split__media:first-child) {
		grid-template-columns: 1fr;
		gap: 3.125rem;
	}

	.split__text,
	.page-section .split__text,
	.home-community .split__text {
		max-width: none;
		order: 0;
		justify-self: stretch;
	}

	.split__media,
	.home-community .media-shape {
		order: 1;
	}

	.home-intro .split__text {
		padding-top: 0;
	}

	.hex-collage {
		justify-self: center;
		width: 100%;
		max-width: 32.5rem;
	}

	.home-community .split__text {
		width: auto;
	}

	.media-shape__hex--tl {
		left: -0.625rem;
	}

	.media-shape__hex--br {
		right: -0.625rem;
		bottom: -3.125rem;
	}

	.media-shape__hex--tr {
		top: -2.5rem;
	}

	.hero {
		border-bottom-right-radius: 6.875rem 8.125rem;
	}

	.hero--page {
		height: 22.5rem;
		border-bottom-right-radius: 6.875rem;
	}

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

	.info-boxes {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.info-box {
		min-height: 0;
		padding: 2rem 1.75rem;
	}

	.timeline {
		flex-direction: column;
		align-items: center;
		padding: 2.125rem 1.75rem;
	}

	.timeline__line {
		flex: none;
		width: 0.625rem;
		height: 3.125rem;
		margin: 0.875rem 0;
		background:
			radial-gradient(circle, var(--c-green) 0.25rem, transparent 0.2812rem) center top / 0.625rem 0.625rem no-repeat,
			radial-gradient(circle, var(--c-green) 0.25rem, transparent 0.2812rem) center bottom / 0.625rem 0.625rem no-repeat,
			linear-gradient(var(--c-green), var(--c-green)) center / 2px calc(100% - 0.625rem) no-repeat;
	}

	.stats-strip__list,
	.stats-grid__row {
		display: grid;
		grid-auto-flow: row;
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-strip__list li + li {
		border-right: 0;
	}

	.stats-strip__list .stat-num {
		font-size: 2.75rem;
	}

	.stats-grid {
		padding: 2.25rem 1.5rem;
	}

	.stats-grid__row {
		gap: 1.875rem 1rem;
	}

	.stats-grid .stat-num {
		font-size: 2.25rem;
	}

	.cream-box {
		display: block;
		padding: 2.125rem 1.75rem;
	}

	.has-career-cta .site-bottom {
		margin-top: 9.375rem;
		border-top-left-radius: 6.875rem;
	}

	.site-footer {
		padding-top: 5rem;
		border-top-right-radius: 6.875rem;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"logo logo"
			"main divs"
			"contact contact"
			"legal legal";
	}

	.site-footer__legal-list li + li::before {
		margin-inline: 0.875rem;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.home-intro,
	.home-divisions,
	.home-stats,
	.home-community {
		margin-top: 6.25rem;
	}
}

@media (max-width: 600px) {
	.m-heading {
		font-size: 30px;
	}

	.hero__title-main {
		font-size: 46px;
	}

	.hero__title-sub {
		font-size: 28px;
	}

	.hero__page-title {
		font-size: 40px;
	}

	.header-meta {
		display: none;
	}

	.m-eyebrow {
		font-size: 1.25rem;
	}

	.site-footer__legal-list {
		flex-direction: column;
		gap: 0.5rem;
	}

	.site-footer__legal-list li + li::before {
		display: none;
	}

	.division-cards {
		grid-template-columns: 1fr;
	}

	.division-card {
		min-height: 0;
	}

	.division-card__link {
		margin-top: 1.5rem;
	}

	.stats-strip__list,
	.stats-grid__row {
		grid-template-columns: 1fr 1fr;
	}

	.career-cta__inner {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.career-cta__text {
		text-align: right;
	}

	.career-cta__hex {
		order: -1;
		justify-self: start;
	}

	.career-cta__title {
		font-size: 2.25rem;
	}

	.talk-leaf {
		right: 1rem;
		bottom: 1.25rem;
		width: 3.375rem;
	}
}
