/**
 * Savanna Lens: tokens, base, shared components, header, footer and the home sections.
 * Breakpoints: tablet ≤1024px (designed at 834), phone ≤767px (designed at 390).
 * Feature styles live in assets/css/parts/*.css.
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                             */
/* ------------------------------------------------------------------ */

:root {
	--sl-c-ink: #121212;
	--sl-c-ink-2: #1f1e1c;
	--sl-c-paper: #fafafa;
	--sl-c-sand: #f1f0ec;
	--sl-c-white: #ffffff;
	--sl-c-gold: #c8963e;
	--sl-c-gold-dark: #b4842f;
	--sl-c-text: #121212;
	--sl-c-muted: #5c5a55;
	--sl-c-faint: #8a867e;
	--sl-c-line: #e2dfd8;
	--sl-c-light: #f4f2ee;
	--sl-c-light-muted: #a7a39b;
	--sl-c-line-dark: #2c2b29;
	--sl-c-danger: #b42318;

	--sl-font-display: "Italiana", "Times New Roman", serif;
	--sl-font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

	--sl-max: 1200px;
	--sl-gutter: 40px;
	--sl-radius: 12px;

	--sl-fs-display: 144px;
	--sl-lh-display: 136px;
	--sl-fs-h1: 88px;
	--sl-lh-h1: 88px;
	--sl-fs-h2: 56px;
	--sl-lh-h2: 60px;
	--sl-fs-title: 32px;
	--sl-lh-title: 36px;
	--sl-fs-number: 72px;
	--sl-lh-number: 72px;
	--sl-fs-h3: 22px;
	--sl-lh-h3: 28px;
	--sl-fs-h4: 17px;
	--sl-lh-h4: 24px;
	--sl-fs-lead: 20px;
	--sl-lh-lead: 32px;
	--sl-fs-lg: 18px;
	--sl-lh-lg: 30px;
	--sl-fs-body: 16px;
	--sl-lh-body: 26px;
	--sl-fs-small: 14px;
	--sl-lh-small: 20px;
	--sl-fs-caption: 12px;
	--sl-lh-caption: 16px;
	--sl-fs-logo: 26px;
	--sl-lh-logo: 32px;
}

@media (max-width: 1024px) {
	:root {
		--sl-gutter: 32px;
		--sl-fs-display: 96px;
		--sl-lh-display: 96px;
		--sl-fs-h1: 64px;
		--sl-lh-h1: 68px;
		--sl-fs-h2: 48px;
		--sl-lh-h2: 52px;
		--sl-fs-number: 52px;
		--sl-lh-number: 52px;
	}
}

@media (max-width: 767px) {
	:root {
		--sl-gutter: 20px;
		--sl-fs-display: 58px;
		--sl-lh-display: 60px;
		--sl-fs-h1: 42px;
		--sl-lh-h1: 46px;
		--sl-fs-h2: 36px;
		--sl-lh-h2: 40px;
		--sl-fs-title: 28px;
		--sl-lh-title: 32px;
		--sl-fs-h3: 20px;
		--sl-lh-h3: 26px;
		--sl-fs-lead: 18px;
		--sl-lh-lead: 28px;
		--sl-fs-lg: 16px;
		--sl-lh-lg: 28px;
		--sl-fs-logo: 24px;
		--sl-lh-logo: 28px;
	}
}

/* Palettes: every section sets its own colours, so widgets can be dropped on any page. */
.sl--paper {
	--sl-bg: var(--sl-c-paper);
	--sl-heading: var(--sl-c-ink);
	--sl-text: var(--sl-c-ink);
	--sl-muted: var(--sl-c-muted);
	--sl-line: var(--sl-c-line);
	--sl-line-strong: var(--sl-c-ink);
	--sl-accent: var(--sl-c-gold);
	--sl-card: var(--sl-c-white);
}

.sl--sand {
	--sl-bg: var(--sl-c-sand);
	--sl-heading: var(--sl-c-ink);
	--sl-text: var(--sl-c-ink);
	--sl-muted: var(--sl-c-muted);
	--sl-line: var(--sl-c-line);
	--sl-line-strong: var(--sl-c-ink);
	--sl-accent: var(--sl-c-gold);
	--sl-card: var(--sl-c-paper);
}

.sl--ink {
	--sl-bg: var(--sl-c-ink);
	--sl-heading: var(--sl-c-light);
	--sl-text: var(--sl-c-light);
	--sl-muted: var(--sl-c-light-muted);
	--sl-line: var(--sl-c-line-dark);
	--sl-line-strong: var(--sl-c-light);
	--sl-accent: var(--sl-c-gold);
	--sl-card: var(--sl-c-ink-2);
}

.sl {
	background-color: var(--sl-bg);
	color: var(--sl-text);
}

/* ------------------------------------------------------------------ */
/* Base                                                               */
/* ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--sl-c-paper);
	color: var(--sl-c-text);
	font-family: var(--sl-font-body);
	font-size: var(--sl-fs-body);
	line-height: var(--sl-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.sl-menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
}

/* Zero-specificity resets so component margins always win. */
:where(.sl) :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd) {
	margin: 0;
}

:where(.sl) :where(ul, ol) {
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.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;
}

.sl-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 12px 16px;
	border-radius: 8px;
	background: var(--sl-c-ink);
	color: var(--sl-c-light);
	text-decoration: none;
}

.sl-skip-link:focus {
	top: 16px;
}

:focus-visible {
	outline: 2px solid var(--sl-c-gold);
	outline-offset: 2px;
}

.sl-container {
	width: 100%;
	max-width: calc(var(--sl-max) + 2 * var(--sl-gutter));
	margin-inline: auto;
	padding-inline: var(--sl-gutter);
}

/* ------------------------------------------------------------------ */
/* Type                                                               */
/* ------------------------------------------------------------------ */

.sl-display,
.sl-h1,
.sl-h2,
.sl-title,
.sl-number {
	font-family: var(--sl-font-display);
	font-weight: 400;
	color: var(--sl-heading);
}

.sl-display {
	font-size: var(--sl-fs-display);
	line-height: var(--sl-lh-display);
}

.sl-h1 {
	font-size: var(--sl-fs-h1);
	line-height: var(--sl-lh-h1);
}

.sl-h2 {
	font-size: var(--sl-fs-h2);
	line-height: var(--sl-lh-h2);
}

.sl-title {
	font-size: var(--sl-fs-title);
	line-height: var(--sl-lh-title);
}

.sl-number {
	font-size: var(--sl-fs-number);
	line-height: var(--sl-lh-number);
	white-space: nowrap;
}

.sl-h3,
.sl-h4 {
	font-family: var(--sl-font-body);
	font-weight: 600;
	color: var(--sl-heading);
}

.sl-h3 {
	font-size: var(--sl-fs-h3);
	line-height: var(--sl-lh-h3);
}

.sl-h4 {
	font-size: var(--sl-fs-h4);
	line-height: var(--sl-lh-h4);
}

.sl-lead {
	font-size: var(--sl-fs-lead);
	line-height: var(--sl-lh-lead);
	color: var(--sl-muted);
}

.sl-lg {
	font-size: var(--sl-fs-lg);
	line-height: var(--sl-lh-lg);
}

.sl-small {
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
}

.sl-caption {
	font-size: var(--sl-fs-caption);
	line-height: var(--sl-lh-caption);
}

.sl-label {
	font-family: var(--sl-font-body);
	font-size: var(--sl-fs-caption);
	line-height: var(--sl-lh-caption);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sl-muted);
}

.sl-muted {
	color: var(--sl-muted);
}

/* ------------------------------------------------------------------ */
/* Links, buttons, inputs                                             */
/* ------------------------------------------------------------------ */

.sl .sl-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--sl-heading);
	font-size: 15px;
	line-height: 16px;
	font-weight: 600;
	text-decoration: none;
}

.sl .sl-link__label {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sl .sl-link:hover .sl-link__label {
	text-decoration-thickness: 2px;
}

.sl .sl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 8px;
	font-family: var(--sl-font-body);
	font-size: 15px;
	line-height: 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sl .sl-btn--primary {
	background: var(--sl-accent, var(--sl-c-gold));
	color: var(--sl-c-ink);
}

.sl .sl-btn--primary:hover {
	background: var(--sl-c-gold-dark);
}

.sl .sl-btn--ink {
	background: var(--sl-c-ink);
	color: var(--sl-c-light);
	font-weight: 400;
}

.sl .sl-btn--ink:hover {
	background: var(--sl-c-ink-2);
}

.sl-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.sl .sl-input,
.sl .sl-select {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--sl-c-faint);
	border-radius: 8px;
	background: var(--sl-c-white);
	color: var(--sl-c-ink);
	font-size: var(--sl-fs-body);
	line-height: var(--sl-lh-body);
}

.sl .sl-input::placeholder {
	color: var(--sl-c-muted);
	opacity: 1;
}

.sl .sl-select {
	padding-right: 44px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%235c5a55' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 24px;
}

/* Caption chip on photos */
.sl-chip {
	position: absolute;
	z-index: 1;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 4px 8px;
	border-radius: 4px;
	background: var(--sl-c-ink);
	color: var(--sl-c-light);
	font-size: var(--sl-fs-caption);
	line-height: var(--sl-lh-caption);
}

.sl-photo {
	position: relative;
	overflow: hidden;
	margin: 0;
	background: var(--sl-c-line);
}

.sl .sl-photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* Section head                                                       */
/* ------------------------------------------------------------------ */

.sl-eyebrow {
	margin-bottom: 16px;
}

.sl-section-head {
	margin-bottom: 48px;
}

.sl-section-head--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 384px);
	align-items: end;
	column-gap: 48px;
}

.sl-section-head--inline {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.sl-section-head__text {
	color: var(--sl-muted);
}

.sl-section-head--inline .sl-section-head__side {
	flex: none;
}

.sl-section-head__text + .sl-link {
	margin-top: 8px;
}

@media (max-width: 1024px) {
	.sl-section-head {
		margin-bottom: 40px;
	}

	/* Title, then the side text or link underneath. */
	.sl-section-head--split,
	.sl-section-head--inline {
		display: block;
	}

	.sl-section-head--split .sl-section-head__side,
	.sl-section-head--inline .sl-section-head__side {
		margin-top: 16px;
	}
}

@media (max-width: 767px) {
	.sl-section-head {
		margin-bottom: 32px;
	}
}

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

.sl-header {
	position: relative;
	z-index: 50;
}

.sl-nav {
	background: var(--sl-c-paper);
	border-bottom: 1px solid var(--sl-c-line);
}

.sl-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.sl .sl-logo {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--sl-c-ink);
	font-family: var(--sl-font-display);
	font-size: var(--sl-fs-logo);
	line-height: var(--sl-lh-logo);
	text-decoration: none;
	white-space: nowrap;
}

.sl-logo--custom img {
	display: block;
	width: auto;
	max-height: 44px;
}

.sl-nav__actions {
	display: flex;
	align-items: center;
	gap: 32px;
}

.sl-nav__list {
	display: flex;
	gap: 32px;
}

.sl .sl-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--sl-c-ink);
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
	font-weight: 500;
	text-decoration: none;
	text-underline-offset: 6px;
}

.sl .sl-nav__list a:hover,
.sl .sl-nav__list a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.sl .sl-nav__toggle {
	display: none;
	min-width: 100px;
}

@media (max-width: 1024px) {
	.sl-nav__inner {
		min-height: 82px;
	}

	.sl-header .sl-nav .sl-container {
		padding-inline: 40px;
	}

	.sl-header .sl-logo {
		--sl-fs-logo: 32px;
		--sl-lh-logo: 35px;
	}

	.sl-nav__actions,
	.sl-nav__list {
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.sl-nav__inner {
		min-height: 79px;
	}

	.sl-header .sl-nav .sl-container {
		padding-inline: 20px;
	}

	.sl-header .sl-logo {
		--sl-fs-logo: 28px;
		--sl-lh-logo: 30px;
	}

	.sl-nav__menu,
	.sl .sl-nav__cta {
		display: none;
	}

	.sl .sl-nav__toggle {
		display: inline-flex;
	}
}

/* Full-screen menu (phones) */
.sl-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--sl-c-paper);
}

.sl-mobile-menu[hidden] {
	display: none;
}

.sl-mobile-menu__body {
	padding-top: 48px;
	padding-bottom: 48px;
}

.sl .sl-mobile-menu__list a {
	display: block;
	padding: 16px 0;
	border-bottom: 1px solid var(--sl-c-line);
	color: var(--sl-c-ink);
	font-family: var(--sl-font-display);
	font-size: 30px;
	line-height: 40px;
	text-decoration: none;
}

.sl .sl-mobile-menu__list a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

.sl-mobile-menu__group {
	margin-top: 40px;
}

.sl-mobile-menu__photo {
	margin-top: 40px;
}

.sl .sl-mobile-menu__photo img {
	display: block;
	width: 100%;
	height: 200px;
	border-radius: var(--sl-radius);
	object-fit: cover;
}

.sl-mobile-menu__photo figcaption {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

.sl-mobile-menu__caption {
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
}

.sl-mobile-menu__credit {
	color: var(--sl-c-muted);
	font-size: var(--sl-fs-caption);
	line-height: var(--sl-lh-caption);
}

@media (min-width: 768px) {
	.sl-mobile-menu {
		display: none !important;
	}
}

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

.sl-footer {
	padding: 80px 0 40px;
}

.sl-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 488px) minmax(0, 488px);
	justify-content: space-between;
	gap: 48px;
}

.sl-footer .sl-logo {
	color: var(--sl-c-light);
	min-height: 32px;
}

.sl-footer__about {
	margin-top: 16px;
	color: var(--sl-muted);
}

.sl-news__title {
	color: var(--sl-heading);
}

.sl-news__text {
	margin-top: 16px;
	color: var(--sl-muted);
}

.sl-news__label {
	display: block;
	margin-top: 16px;
	color: var(--sl-muted);
}

.sl-news__row {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.sl-news__row .sl-input {
	flex: 1 1 auto;
	min-width: 0;
}

.sl-news__row .sl-btn {
	flex: none;
}

.sl-news__helper {
	margin-top: 16px;
	color: var(--sl-muted);
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
}

.sl-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 56px;
}

.sl-footer__title {
	margin-bottom: 8px;
	color: var(--sl-muted);
}

.sl .sl-footer__list a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--sl-text);
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
	text-decoration: none;
}

.sl .sl-footer__list a:hover {
	text-decoration: underline;
}

.sl-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
}

.sl .sl-footer__contact a {
	text-decoration: none;
}

.sl .sl-footer__contact a:hover {
	text-decoration: underline;
}

.sl-footer__note {
	color: var(--sl-muted);
}

.sl-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--sl-c-line-dark);
	color: var(--sl-muted);
	font-size: var(--sl-fs-small);
	line-height: var(--sl-lh-small);
}

.sl .sl-footer__top-link {
	display: inline-flex;
	align-items: center;
	flex: none;
	min-height: 44px;
	color: var(--sl-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sl-footer--compact {
	padding: 24px 0 32px;
}

.sl-footer--compact .sl-footer__legal {
	margin-top: 0;
}

@media (max-width: 1024px) {
	.sl-footer {
		padding-top: 72px;
	}

	.sl-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.sl-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
	}

	/* Bigger tap targets on touch screens. */
	.sl .sl-footer__list a {
		min-height: 44px;
	}
}

@media (max-width: 767px) {
	.sl-footer {
		padding-top: 56px;
	}

	.sl-footer__top {
		gap: 24px;
	}

	.sl-footer__legal {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Sticky phone CTA (Home) */
.sl-fixed-cta {
	display: none;
}

@media (max-width: 767px) {
	.sl-has-fixed-cta {
		padding-bottom: 76px;
	}

	.sl-fixed-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 40;
		display: block;
		padding: 14px 20px;
		border-top: 1px solid var(--sl-c-line);
	}

	.sl .sl-fixed-cta__button {
		width: 100%;
	}
}

.elementor-editor-active .sl-fixed-cta {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Plain pages, 404, comments (theme templates without Elementor)    */
/* ------------------------------------------------------------------ */

.sl-page {
	padding: 96px 0;
}

.sl-page__title {
	margin-bottom: 32px;
}

.sl-prose {
	max-width: 792px;
	color: var(--sl-muted);
	font-size: var(--sl-fs-lg);
	line-height: var(--sl-lh-lg);
}

.sl-prose > * + * {
	margin-top: 20px;
}

.sl-prose :where(h2, h3, h4) {
	margin-top: 40px;
	color: var(--sl-heading);
	font-size: var(--sl-fs-h3);
	line-height: var(--sl-lh-h3);
	font-weight: 600;
}

.sl-404__title {
	margin-bottom: 24px;
}

.sl-404 .sl-actions {
	margin-top: 32px;
}

/* ------------------------------------------------------------------ */
/* Elementor integration                                              */
/* ------------------------------------------------------------------ */

/* Savanna Lens widgets bring their own spacing; remove wrapper gaps around them. */
.elementor-widget[class*="elementor-widget-sl-"],
.elementor-widget[class*="elementor-widget-sl-"] > .elementor-widget-container {
	margin: 0;
	padding: 0;
}

/* Full width in flex containers: without it Chrome sizes the widget's height from a narrower
   intrinsic width on phones and leaves a gap under grids. A custom width still wins. */
:where(.e-con) > .elementor-widget[class*="elementor-widget-sl-"] {
	width: 100%;
}

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

.sl-hero {
	--sl-hero-h: 880px;
	--sl-hero-shade: 0.35;
	--sl-hero-bottom: 120px;
	position: relative;
	z-index: 0;
	display: flex;
	min-height: var(--sl-hero-h);
	overflow: hidden;
}

.sl-hero--h1 {
	--sl-hero-bottom: 96px;
}

.sl-hero__photo {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--sl-c-ink);
}

.sl-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 18, 18, var(--sl-hero-shade));
}

.sl-hero__inner {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding-top: 96px;
	padding-bottom: var(--sl-hero-bottom);
}

.sl-hero__copy {
	width: 100%;
	max-width: 760px;
}

.sl-hero--right .sl-hero__copy {
	max-width: 480px;
	margin-left: auto;
}

.sl-hero__eyebrow {
	margin-bottom: 28px;
	color: var(--sl-text);
}

.sl-hero__text {
	margin-top: 28px;
	color: var(--sl-text);
}

.sl-hero__actions {
	margin-top: 28px;
}

.sl-hero__credit {
	right: var(--sl-gutter);
	left: auto;
	bottom: 24px;
	margin: 0;
}

@media (min-width: 1025px) {
	.sl-hero__credit {
		right: max(var(--sl-gutter), (100% - var(--sl-max)) / 2);
	}
}

@media (max-width: 1024px) {
	.sl-hero {
		--sl-hero-h: 960px;
		--sl-hero-bottom: 72px;
	}

	.sl-hero--h1 {
		--sl-hero-bottom: 64px;
	}

	.sl-hero .sl-hero__copy {
		max-width: 520px;
		margin-left: 0;
	}

	.sl-hero--h1 .sl-hero__copy {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.sl-hero {
		--sl-hero-h: 820px;
		--sl-hero-bottom: 148px;
	}

	.sl-hero--h1 {
		--sl-hero-bottom: 40px;
	}

	.sl-hero__eyebrow {
		margin-bottom: 20px;
	}

	.sl-hero__text,
	.sl-hero__actions {
		margin-top: 20px;
	}

	.sl-hero__credit {
		top: 20px;
		bottom: auto;
	}

	.sl-hero--display .sl-hero__credit {
		right: auto;
		left: var(--sl-gutter);
	}
}

/* ------------------------------------------------------------------ */
/* Journey cards                                                      */
/* ------------------------------------------------------------------ */

.sl-journeys {
	padding-top: var(--sl-pad-t, 80px);
	padding-bottom: var(--sl-pad-b, 80px);
}

.sl-journeys__grid {
	--sl-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--sl-cols), minmax(0, 1fr));
	gap: 24px;
}

.sl .sl-journeys__photo {
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--sl-radius);
}

.sl .sl-journeys__photo img {
	transition: transform 0.6s ease;
}

.sl .sl-journeys__card:hover .sl-journeys__photo img {
	transform: scale(1.03);
}

.sl-journeys__name {
	margin-top: 20px;
}

.sl-journeys__meta {
	margin-top: 8px;
	color: var(--sl-muted);
}

.sl .sl-journeys__link {
	margin-top: 8px;
}

@media (max-width: 1024px) {
	.sl-journeys {
		padding-top: var(--sl-pad-t, 72px);
		padding-bottom: var(--sl-pad-b, 72px);
	}

	.sl-journeys__grid {
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.sl-journeys {
		padding-top: var(--sl-pad-t, 56px);
		padding-bottom: var(--sl-pad-b, 56px);
	}

	/* Swipe row: cards keep their width and the row runs to the screen edge. */
	.sl-journeys__scroller {
		padding-right: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--sl-gutter);
		scrollbar-width: none;
	}

	.sl-journeys__scroller::-webkit-scrollbar {
		display: none;
	}

	.sl-journeys__grid {
		display: flex;
		width: max-content;
		padding-right: var(--sl-gutter);
	}

	.sl-journeys__card {
		flex: 0 0 280px;
		scroll-snap-align: start;
	}
}

/* ------------------------------------------------------------------ */
/* Photo mosaic                                                       */
/* ------------------------------------------------------------------ */

.sl-mosaic {
	--sl-row1-h: 420px;
	--sl-row2-h: 300px;
	padding-top: var(--sl-pad-t, 96px);
	padding-bottom: var(--sl-pad-b, 0px);
}

.sl-mosaic .sl-section-head {
	margin-bottom: 40px;
}

.sl-mosaic__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sl-mosaic__row {
	display: flex;
	gap: 8px;
	height: var(--sl-row1-h);
}

.sl-mosaic__row--2 {
	height: var(--sl-row2-h);
}

.sl-mosaic__item {
	flex: var(--w) 1 0;
	min-width: 0;
	border-radius: 16px;
}

.sl .sl-mosaic__item img {
	transition: transform 0.6s ease;
}

.sl .sl-mosaic__item:hover img {
	transform: scale(1.03);
}

@media (max-width: 1024px) {
	.sl-mosaic {
		padding-top: var(--sl-pad-t, 72px);
		padding-bottom: var(--sl-pad-b, 72px);
	}

	.sl-mosaic .sl-section-head {
		display: block;
		margin-bottom: 32px;
	}

	.sl-mosaic .sl-section-head__side {
		margin-top: 16px;
	}

	/* A contained six-column grid; each photo spans two or three columns in its own order. */
	.sl-mosaic__rows {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 8px;
		width: calc(100% - 2 * var(--sl-gutter));
		max-width: var(--sl-max);
		margin-inline: auto;
	}

	.sl-mosaic__row {
		display: contents;
	}

	.sl-mosaic__item {
		grid-column: span var(--t-span, 2);
		order: var(--t-order, 0);
		aspect-ratio: 1;
		border-radius: var(--sl-radius);
	}

	.sl-mosaic__item--wide {
		aspect-ratio: auto;
		height: 263px;
	}
}

@media (max-width: 767px) {
	.sl-mosaic {
		--sl-row1-h: 340px;
		--sl-row2-h: 260px;
		padding-top: var(--sl-pad-t, 56px);
		padding-bottom: var(--sl-pad-b, 56px);
	}

	.sl-mosaic .sl-section-head {
		margin-bottom: 32px;
	}

	/* Two swipe rows that start at the gutter and run to the screen edge. */
	.sl-mosaic__rows {
		display: flex;
		width: auto;
	}

	.sl-mosaic__row {
		display: flex;
		overflow-x: auto;
		padding-inline: var(--sl-gutter);
		scroll-snap-type: x proximity;
		scroll-padding-inline: var(--sl-gutter);
		scrollbar-width: none;
	}

	.sl-mosaic__row::-webkit-scrollbar {
		display: none;
	}

	.sl-mosaic__item,
	.sl-mosaic__item--wide {
		flex: 0 0 var(--m-w, 260px);
		height: auto;
		aspect-ratio: auto;
		order: 0;
		scroll-snap-align: start;
	}
}

/* ------------------------------------------------------------------ */
/* Split sections: photo beside a panel (figures, mentors, apply)     */
/* ------------------------------------------------------------------ */

.sl-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sl-split--wide-photo {
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.sl-split__photo {
	min-height: 600px;
}

.sl-split--right .sl-split__photo {
	order: 2;
}

.sl-split .sl-split__photo .sl-chip {
	left: 16px;
	bottom: 16px;
}

.sl-split__panel {
	display: flex;
	align-items: center;
	padding: var(--sl-pad-t, 48px) max(var(--sl-gutter), (100vw - var(--sl-max)) / 2) var(--sl-pad-b, 48px) 72px;
}

.sl-split--right .sl-split__panel {
	padding-right: 72px;
	padding-left: max(var(--sl-gutter), (100vw - var(--sl-max)) / 2);
}

.sl-split__body {
	width: 100%;
}

.sl-split__text {
	margin-top: 16px;
	color: var(--sl-muted);
}

.sl-split__source {
	margin-top: 24px;
	color: var(--sl-muted);
}

@media (max-width: 1024px) {
	.sl-split,
	.sl-split--wide-photo {
		grid-template-columns: minmax(0, 1fr);
	}

	.sl-split .sl-split__photo {
		order: 0;
		min-height: 0;
		height: var(--sl-split-photo-h, 440px);
	}

	.sl-split .sl-split__panel {
		padding: var(--sl-pad-t, 48px) var(--sl-gutter) var(--sl-pad-b, 56px);
	}
}

@media (max-width: 767px) {
	.sl-split .sl-split__photo {
		height: var(--sl-split-photo-h, 380px);
	}

	.sl-split .sl-split__panel {
		padding: var(--sl-pad-t, 40px) var(--sl-gutter) var(--sl-pad-b, 48px);
	}
}

/* Figures (luggage) */
.sl-figures .sl-split__photo {
	min-height: 656px;
}

.sl-figures .sl-split__panel {
	padding: var(--sl-pad-t, 72px) 64px var(--sl-pad-b, 72px);
}

.sl-figures__list {
	display: grid;
	gap: 16px;
	margin: 24px 0 0;
}

.sl-figures__item {
	display: grid;
	grid-template-columns: 192px minmax(0, 1fr);
	align-items: center;
}

.sl-figures__label {
	margin: 0;
	color: var(--sl-muted);
}

@media (max-width: 1024px) {
	.sl-figures .sl-split__photo {
		min-height: 0;
	}

	.sl-figures .sl-split__panel {
		padding: var(--sl-pad-t, 48px) var(--sl-gutter) var(--sl-pad-b, 56px);
	}

	.sl-figures__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.sl-figures__item {
		display: block;
	}

	.sl-figures__label {
		margin-top: 4px;
	}
}

@media (max-width: 767px) {
	.sl-figures .sl-split__panel {
		padding: var(--sl-pad-t, 40px) var(--sl-gutter) var(--sl-pad-b, 48px);
	}

	.sl-figures__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.sl-figures__item {
		display: grid;
		grid-template-columns: 144px minmax(0, 1fr);
	}

	.sl-figures__label {
		margin-top: 0;
	}
}

/* Mentors */
.sl-mentors__list {
	margin-top: 32px;
}

.sl-mentors__person {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--sl-line);
}

.sl-mentors__initials {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sl-c-sand);
	color: var(--sl-c-ink);
	font-size: var(--sl-fs-h4);
	line-height: var(--sl-lh-h4);
	font-weight: 600;
}

.sl-mentors__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sl .sl-mentors__name {
	color: var(--sl-heading);
	text-decoration: none;
}

.sl .sl-mentors__name[href]:hover {
	text-decoration: underline;
}

.sl-mentors__role {
	color: var(--sl-muted);
}

@media (max-width: 1024px) {
	/* Tablet: photo and panel side by side inside the page margins. */
	.sl-mentors.sl-split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
		width: 100%;
		max-width: calc(var(--sl-max) + 2 * var(--sl-gutter));
		margin-inline: auto;
		padding: var(--sl-pad-t, 72px) var(--sl-gutter) var(--sl-pad-b, 72px);
	}

	.sl-mentors .sl-split__photo {
		height: auto;
		min-height: 520px;
		border-radius: var(--sl-radius);
	}

	.sl-mentors.sl-split--right .sl-split__photo {
		order: 2;
	}

	.sl-split.sl-mentors .sl-split__panel {
		padding: 0;
	}
}

@media (max-width: 767px) {
	.sl-mentors.sl-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-top: var(--sl-pad-t, 56px);
		padding-bottom: var(--sl-pad-b, 56px);
	}

	.sl-mentors .sl-split__photo,
	.sl-mentors.sl-split--right .sl-split__photo {
		order: 0;
		min-height: 0;
		height: 460px;
	}
}

/* ------------------------------------------------------------------ */
/* Field notes cards                                                  */
/* ------------------------------------------------------------------ */

.sl-notes {
	padding-top: var(--sl-pad-t, 80px);
	padding-bottom: var(--sl-pad-b, 80px);
}

.sl-notes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.sl .sl-notes__link {
	display: block;
	color: var(--sl-heading);
	text-decoration: none;
}

.sl-notes__photo {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--sl-radius);
}

.sl .sl-notes__photo img {
	transition: transform 0.6s ease;
}

.sl .sl-notes__link:hover .sl-notes__photo img {
	transform: scale(1.03);
}

.sl-notes__title {
	display: block;
	margin-top: 16px;
}

.sl .sl-notes__link:hover .sl-notes__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.sl-notes__meta {
	margin-top: 8px;
	color: var(--sl-muted);
}

@media (max-width: 1024px) {
	.sl-notes {
		padding-top: var(--sl-pad-t, 72px);
		padding-bottom: var(--sl-pad-b, 72px);
	}

	.sl-notes__grid {
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.sl-notes {
		padding-top: var(--sl-pad-t, 56px);
		padding-bottom: var(--sl-pad-b, 56px);
	}

	.sl-notes__scroller {
		padding-right: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--sl-gutter);
		scrollbar-width: none;
	}

	.sl-notes__scroller::-webkit-scrollbar {
		display: none;
	}

	.sl-notes__grid {
		display: flex;
		width: max-content;
		gap: 12px;
		padding-right: var(--sl-gutter);
	}

	.sl-notes__card {
		flex: 0 0 200px;
		scroll-snap-align: start;
	}
}

/* ------------------------------------------------------------------ */
/* Apply (closing): form, actions, questions                          */
/* ------------------------------------------------------------------ */

.sl-apply .sl-split__photo {
	min-height: 899px;
}

/* Journey pages: button instead of the form, so a shorter section. */
@media (min-width: 1025px) {
	.sl-apply.sl-split--button .sl-split__photo {
		min-height: 720px;
	}

	.sl-apply.sl-split--button .sl-split__panel {
		align-items: center;
	}
}

.sl-apply .sl-split__panel {
	align-items: flex-start;
	padding-top: var(--sl-pad-t, 56px);
	padding-bottom: var(--sl-pad-b, 56px);
}

.sl-apply__form,
.sl-split--button .sl-apply__actions {
	margin-top: 32px;
}

.sl-apply__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.sl-field__label {
	display: block;
	margin-bottom: 8px;
}

.sl-apply__form .sl-apply__actions {
	margin-top: 32px;
}

.sl-apply__note {
	margin-top: 12px;
	color: var(--sl-muted);
}

.sl-faq {
	margin-top: 32px;
}

.sl-faq__item {
	border-bottom: 1px solid var(--sl-line);
}

.sl-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	list-style: none;
	cursor: pointer;
}

.sl-faq__q::-webkit-details-marker {
	display: none;
}

.sl-faq__icon {
	flex: none;
	color: var(--sl-heading);
	transition: transform 0.2s ease;
}

.sl-faq__item[open] .sl-faq__icon {
	transform: rotate(45deg);
}

.sl-faq__a {
	padding-bottom: 20px;
	color: var(--sl-muted);
}

.sl-faq__a p + p {
	margin-top: 12px;
}

@media (max-width: 1024px) {
	.sl-apply .sl-split__photo {
		--sl-split-photo-h: 420px;
		min-height: 0;
	}

	.sl-apply .sl-split__panel {
		padding-top: var(--sl-pad-t, 48px);
		padding-bottom: var(--sl-pad-b, 56px);
	}
}

@media (max-width: 767px) {
	.sl-apply .sl-split__photo {
		--sl-split-photo-h: 440px;
	}

	.sl-apply .sl-split__panel {
		padding-top: var(--sl-pad-t, 40px);
		padding-bottom: var(--sl-pad-b, 48px);
	}

	.sl-apply__fields {
		grid-template-columns: minmax(0, 1fr);
	}
}
