:root {
	--ink: oklch(21% 0.02 262);
	--ink-soft: oklch(42% 0.03 262);
	--ink-faint: oklch(58% 0.02 262);
	--paper: oklch(98.5% 0.006 80);
	--paper-alt: oklch(95.5% 0.008 78);
	--line: oklch(88% 0.012 78);
	--navy: oklch(31% 0.16 261);
	--navy-deep: oklch(19% 0.11 262);
	--navy-soft: oklch(31% 0.16 261 / 0.08);
	--serif: 'Frank Ruhl Libre', 'Iowan Old Style', Georgia, serif;
	--sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
}
body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}
a {
	color: var(--navy);
	text-decoration: none;
}
a:hover {
	color: var(--navy-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}
img {
	display: block;
	max-width: 100%;
}

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

/* ---- topbar ---- */
.topbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 28px 40px 0;
}
.topbar a {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
	font-weight: 600;
}
.topbar a:hover {
	color: var(--navy);
	text-decoration: none;
}

/* ---- step rule (brand motif from the logo's foot-line) ---- */
.step-rule {
	display: block;
	color: var(--navy);
	opacity: 0.55;
}

/* ---- hero ---- */
.hero {
	position: relative;
	padding: 48px 0 52px;
	overflow: hidden;
}
.hero-glow {
	position: absolute;
	top: -220px;
	right: -180px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--navy-soft) 0%, transparent 70%);
	pointer-events: none;
}
.hero-logo {
	width: 168px;
	height: auto;
	margin: 0 0 32px;
}
.hero-grid {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
	position: relative;
}
.hero-eyebrow {
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--navy);
	margin: 0 0 18px;
}
.hero-title {
	font-family: var(--serif);
	font-weight: 500;
	color: var(--ink);
	font-size: clamp(2rem, 1.5rem + 2vw, 3.6rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
	max-width: 18ch;
}
.hero-stat {
	display: flex;
	align-items: baseline;
	gap: 16px;
	flex-shrink: 0;
	padding-bottom: 4px;
}
.hero-stat-num {
	font-family: var(--serif);
	font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
	line-height: 1;
	color: var(--navy);
	font-weight: 500;
}
.hero-stat-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-soft);
	max-width: 9ch;
	line-height: 1.35;
}

/* ---- section kickers ---- */
.kicker-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 40px;
}
.kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--navy);
	white-space: nowrap;
}
.kicker-line {
	flex: 1 1 auto;
	height: 1px;
	background: var(--line);
}

/* ---- panorama band ---- */
.panorama-band {
	background: var(--paper-alt);
	padding: 40px 0 4px;
}
.wrap-wide {
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 24px;
}
.panorama-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.panorama-grid figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3.05;
}
.panorama-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.panorama-grid figure:hover img {
	transform: scale(1.04);
}

/* ---- timeline / chronicle ---- */
.timeline-section {
	padding: 92px 0 88px;
}
.timeline-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 56px;
}
.timeline-head h2 {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem);
	margin: 0;
	max-width: 16ch;
	color: var(--ink);
}
.timeline {
	display: flex;
	flex-direction: column;
}
.t-item {
	display: grid;
	grid-template-columns: 108px 32px 1fr;
	gap: 0 28px;
}
.t-year {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	color: var(--navy);
	padding-top: 2px;
}
.t-rail {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.t-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--navy);
	flex-shrink: 0;
	margin-top: 8px;
}
.t-line {
	width: 1px;
	flex: 1;
	background: var(--line);
	margin-top: 6px;
}
.t-item:last-child .t-line {
	display: none;
}
.t-body {
	padding: 0 0 52px;
}
.t-body p {
	margin: 0;
	font-size: 17px;
	line-height: 1.68;
	color: var(--ink-soft);
	max-width: 62ch;
}
.t-body b {
	color: var(--ink);
	font-weight: 700;
}
.nobreak {
	word-break: keep-all;
	white-space: nowrap;
}

/* ---- portfolio gallery ---- */
.portfolio-section {
	padding: 8px 0 100px;
}
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.portfolio-grid figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3.1;
}
.portfolio-grid figure:nth-child(2) {
	margin-top: 34px;
}
.portfolio-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
		filter 600ms ease;
	filter: saturate(0.98);
}
.portfolio-grid figure:hover img {
	transform: scale(1.045);
}

/* ---- footer ---- */
footer.stamm-footer {
	background: var(--navy-deep);
	color: oklch(88% 0.02 260);
	padding: 72px 0 40px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	padding-bottom: 52px;
	border-bottom: 1px solid oklch(100% 0 0 / 0.12);
}
.stamm-footer address {
	font-style: normal;
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.55;
	color: var(--paper);
}
.footer-contact {
	font-size: 15px;
	line-height: 2;
	color: oklch(80% 0.02 260);
}
.footer-contact a {
	color: var(--paper);
}
.footer-contact a:hover {
	color: oklch(88% 0.02 260);
}
.footer-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: oklch(70% 0.03 260);
	margin: 0 0 14px;
}
.partners-row {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	padding: 44px 0 8px;
}
.partners-row a {
	display: block;
}
.partner-logo {
	height: 78px;
	width: auto;
	background: var(--paper);
	border-radius: 6px;
	padding: 10px 16px;
	transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.partners-row a:hover .partner-logo {
	transform: translateY(-3px);
}
.footer-base {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	font-size: 12px;
	color: oklch(62% 0.02 260);
}
.footer-base a {
	color: oklch(72% 0.03 260);
}
.footer-base a:hover {
	color: var(--paper);
}

@media (max-width: 900px) {
	.wrap {
		padding: 0 24px;
	}
	.topbar {
		padding: 22px 24px 0;
	}
	.hero-grid {
		align-items: flex-start;
	}
	.hero-stat {
		padding-bottom: 0;
	}
	.panorama-grid {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	.panorama-grid figure {
		aspect-ratio: 16 / 10;
	}
	.t-item {
		grid-template-columns: 76px 24px 1fr;
	}
	.t-year {
		font-size: 21px;
	}
	.portfolio-grid {
		grid-template-columns: 1fr;
	}
	.portfolio-grid figure:nth-child(2) {
		margin-top: 0;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.partners-row {
		gap: 24px;
	}
}
