/* =========================================================
   Eino Group - Theme styles
   ========================================================= */

:root {
	--ink: #1a1d1c;
	--ink-soft: #54534d;
	--ink-muted: #7d7a71;
	--taupe: #9f9180;
	--taupe-dark: #8a7c6b;
	--cream: #f3efe7;
	--cream-2: #f1ece3;
	--white: #ffffff;
	--line: #e2dccf;
	--dark: #1c2524;
	--dark-2: #243130;
	--dark-line: #3b4544;

	--container: 1200px;
	--radius: 0;
	--radius-lg: 0;

	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-title: 'Lora', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
	color: var(--ink);
	font-family: var(--font-title);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 .4em;
}

p { margin: 0 0 1em; }

button { font-family: inherit; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 32px;
}
.container--narrow { max-width: 760px; }

.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;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .01em;
	padding: 13px 26px;
	border-radius: 0;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #0f1716; }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: #1d2625; }
.btn-outline:hover { background: #1d2625; color: #fff; border-color: #1d2625; }

/* ---------- Arrow link ---------- */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	transition: gap .2s ease, color .2s ease;
}
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover { color: var(--taupe-dark); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--sm { font-size: 15px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid transparent;
	transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--line);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}
.site-logo, .custom-logo { height: 38px; width: auto; }

.main-navigation .nav-menu {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation a {
	font-size: 14.5px;
	font-weight: 500;
	color: #1c2524;
	position: relative;
	transition: color .2s ease;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--taupe-dark); }
.main-navigation a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -6px;
	width: 0; height: 1.5px;
	background: var(--taupe);
	transition: width .25s ease;
}
.main-navigation a:hover::after { width: 100%; }

/* Projektit dropdown: Myynnissä / Rakenteilla / Valmistuneet */
.main-navigation .menu-item-has-children { position: relative; }
.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 190px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 16px 38px rgba(28, 37, 36, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .25s ease, visibility .25s ease;
	z-index: 60;
}
.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.main-navigation .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}
.main-navigation .sub-menu a::after { display: none; }
.main-navigation .sub-menu a:hover { background: var(--cream); color: var(--taupe-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { padding: 10px 22px; font-size: 13.5px; }

/* hamburger */
.menu-toggle {
	display: none;
	position: relative;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}
.menu-toggle-bar {
	display: block;
	width: 24px; height: 2px;
	background: var(--ink);
	margin: 0 auto;
	transition: transform .35s cubic-bezier(.65,0,.35,1), opacity .3s ease;
}
/* Burger morphs into an "E": left spine grows in, middle arm shortens */
.menu-toggle::before {
	content: "";
	position: absolute;
	left: 10px; top: 14px;
	width: 2px; height: 16px;
	background: var(--ink);
	transform: scaleY(0);
	transform-origin: top;
	opacity: 0;
	transition: transform .35s cubic-bezier(.65,0,.35,1), opacity .3s ease;
}
.nav-open .menu-toggle::before { transform: scaleY(1); opacity: 1; }
.nav-open .menu-toggle-bar { transform-origin: left center; }
/* middle bar (2nd from last, ignoring the screen-reader label) shortens */
.nav-open .menu-toggle-bar:nth-last-child(2) { transform: scaleX(0.55); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	background-image: var(--hero-img);
	background-size: cover;
	background-position: 78% center;
	background-repeat: no-repeat;
}
.hero-inner { width: 100%; padding-top: 40px; padding-bottom: 40px; }
.hero-content {
	max-width: 500px;
	padding: 40px 44px;
	background: rgba(243, 239, 231, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 10px 40px rgba(28, 37, 36, 0.12);
}
.hero-title {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: .4em;
}
.hero-text {
	font-size: 16px;
	color: var(--ink-soft);
	max-width: 400px;
	margin-bottom: 1.8em;
}
.link-arrow { font-size: 15px; }

/* =========================================================
   Features
   ========================================================= */
.features {
	background: var(--white);
	padding: 76px 0;
}
.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 4px 32px;
}
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon {
	width: 38px; height: 38px;
	color: #8f8b88;
	margin: 0 auto 20px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: .55em;
}
.feature-desc {
	font-size: 14px;
	color: var(--ink-muted);
	margin: 0;
	line-height: 1.6;
	max-width: 24ch;
}

/* =========================================================
   Projects
   ========================================================= */
.projects {
	background: var(--cream);
	padding: 96px 0;
}
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--taupe-dark);
	margin-bottom: 14px;
}
.section-title {
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	font-weight: 500;
	max-width: none;
	margin: 0 auto;
}
.section-title::after {
	content: "";
	display: block;
	width: 52px;
	height: 1px;
	background: var(--taupe);
	margin: 20px auto 0;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}
.project-card { display: flex; flex-direction: column; }
.project-media {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	margin-bottom: 22px;
	aspect-ratio: 4 / 3;
	background: var(--cream-2);
}
.project-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.project-card:hover .project-media img { transform: scale(1.05); }
.project-title { font-size: 18.5px; font-weight: 600; margin-bottom: .15em; }
.project-meta {
	font-size: 14px;
	color: var(--ink-muted);
	margin-bottom: 1em;
}
.projects-cta { text-align: center; margin-top: 56px; }

/* =========================================================
   Process (dark)
   ========================================================= */
.process {
	background: var(--dark);
	color: rgba(255,255,255,.78);
	padding: 96px 0;
}
.process-inner {
	display: grid;
	grid-template-columns: 0.58fr 1.42fr;
	gap: 48px;
	align-items: center;
}
.process-title {
	color: #fff;
	font-size: clamp(1.35rem, 2.1vw, 1.7rem);
	font-weight: 500;
	margin-bottom: .6em;
}
.process-text {
	color: rgba(255,255,255,.66);
	font-size: 16px;
	margin-bottom: 2em;
	max-width: 34ch;
}

/* Horizontal stepper */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 22px;
}
.steps::before {
	content: "";
	position: absolute;
	top: 27px;
	left: 10%; right: 10%;
	height: 1px;
	background: var(--dark-line);
	z-index: 0;
}
.step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.step-badge {
	flex: none;
	width: 54px; height: 54px;
	border-radius: 50%;
	border: 1px solid var(--dark-line);
	background: var(--dark);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--taupe);
	margin-bottom: 20px;
}
.step-badge svg { width: 24px; height: 24px; }
.process .eyebrow { color: var(--taupe); display: inline-block; margin-bottom: .8em; }
.step-stage {
	display: block;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--taupe);
	margin-bottom: 6px;
}
.step-title {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
	white-space: normal;
}
.step-num { color: var(--taupe); margin-right: 3px; }
.step-desc {
	margin: 0;
	font-size: 13.5px;
	color: rgba(255,255,255,.5);
	line-height: 1.55;
}

/* =========================================================
   Closing CTA
   ========================================================= */
.closing {
	background: var(--cream);
	padding: 96px 0;
}
.closing-inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 72px;
	align-items: center;
}
.closing-media {
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 5 / 4;
}
.closing-media img { width: 100%; height: 100%; object-fit: cover; }
.closing-title {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	font-weight: 500;
	margin-bottom: .5em;
}
.closing-text {
	font-size: 15.5px;
	color: var(--ink-soft);
	margin-bottom: 1.8em;
	max-width: 42ch;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: #ffffff;
	border-top: 1px solid var(--line);
	padding: 54px 0 30px;
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 40px;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-tagline {
	font-size: 14px;
	color: var(--ink-muted);
	max-width: 26ch;
	margin-bottom: 1em;
}
.footer-copy { font-size: 13px; color: var(--ink-muted); margin: 0; }
.footer-heading {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 12px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 7px; font-size: 14px; color: var(--ink-muted); }
.footer-list a { color: var(--ink-muted); transition: color .2s ease; }
.footer-list a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--taupe);
	transition: color .2s ease, transform .2s ease;
}
.footer-social a:hover { color: var(--taupe-dark); transform: translateY(-2px); }
.footer-social svg { width: 24px; height: 24px; }

/* =========================================================
   Generic page content (fallback templates)
   ========================================================= */
.page-content { padding: 120px 0; }
.entry-content { font-size: 17px; }
.entry-content a { color: var(--taupe-dark); text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.features-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
	.feature { padding: 0 16px; }
	.feature + .feature { border-left: none; }
	.process-inner { grid-template-columns: 1fr; gap: 48px; }
	.closing-inner { gap: 48px; }
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.header-cta { display: none; }
	.menu-toggle { display: flex; }

	.main-navigation {
		position: fixed;
		inset: 84px 0 auto 0;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 84px);
		overflow-y: auto;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: transform .25s ease, opacity .25s ease, visibility .25s;
		box-shadow: 0 18px 40px rgba(0,0,0,.08);
	}
	.nav-open .main-navigation { transform: translateY(0); opacity: 1; visibility: visible; }
	.main-navigation .nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 0;
	}
	.main-navigation .nav-menu li { border-bottom: 1px solid var(--line); }
	.main-navigation .nav-menu li:last-child { border-bottom: 0; }
	.main-navigation a { display: block; padding: 16px 32px; font-size: 17px; }
	/* Dropdown becomes an indented inline list in the mobile drawer */
	.main-navigation .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		margin: 0;
		padding: 0 0 8px;
		border: 0;
		box-shadow: none;
		background: transparent;
	}
	.main-navigation .sub-menu li { border-bottom: 0; }
	.main-navigation .sub-menu a { padding: 10px 32px 10px 48px; font-size: 15px; color: var(--ink-muted); }
	.main-navigation a::after { display: none; }

	/* Burger → "E" morph is defined globally near .menu-toggle */

	.closing-inner { grid-template-columns: 1fr; }
	.closing-media { order: -1; aspect-ratio: 16 / 10; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.container { padding: 0 22px; }
	.header-inner { height: 72px; }
	.main-navigation { inset-block-start: 72px; }

	.hero { min-height: 440px; background-position: center 70%; }
	.hero-title { font-size: clamp(1.9rem, 7vw, 2.4rem); }

	.features { padding: 60px 0; }
	.features-grid { grid-template-columns: 1fr; gap: 34px; }

	.projects, .process, .closing { padding: 64px 0; }
	.projects-grid { grid-template-columns: 1fr; gap: 30px; }

	.steps { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
	.steps::before { display: none; }
	.step-title { white-space: normal; }
	.project-media { aspect-ratio: 16 / 11; }
	.section-head { margin-bottom: 40px; }

	.footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 460px) {
	.footer-inner { grid-template-columns: 1fr; }
	.btn { width: 100%; }
	.hero .link-arrow { font-size: 15px; }
}

/* =========================================================
   Sub-page header (Projektit, Meistä, Yhteys, Newsroom)
   ========================================================= */
.page-header {
	background: var(--cream-2);
	border-bottom: 1px solid var(--line);
	padding: 72px 0 60px;
}
.page-header .eyebrow { display: block; margin-bottom: 12px; }
.page-title {
	font-family: var(--font-title);
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0 0 .35em;
}
.page-lead {
	max-width: 580px;
	font-size: 17px;
	color: var(--ink-soft);
	margin: 0;
}

/* =========================================================
   Listings (Myynnissä / Rakenteilla / Valmiit)
   ========================================================= */
.listings { padding: 72px 0; }
.listings:nth-of-type(even) { background: var(--white); }
.listing-group + .listing-group { margin-top: 64px; }
.listing-group-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 26px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.listing-group-title {
	font-family: var(--font-title);
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0;
}
.listing-count { color: var(--ink-muted); font-size: 14px; }
.status-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 4px 11px;
	border-radius: 0;
}
.status-pill--sale { background: #1f6b4a; color: #fff; }
.status-pill--building { background: #b9892f; color: #fff; }
.status-pill--done { background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); }

.listing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.listing-grid--brief { grid-template-columns: repeat(3, 1fr); }
.listing-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.listings:nth-of-type(even) .listing-card { background: var(--cream); }
.listing-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.listing-name { font-size: 19px; font-weight: 600; margin: 0 0 4px; }
.listing-location { color: var(--ink-muted); font-size: 14px; margin: 0 0 16px; }
.listing-specs {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
}
.listing-specs li { display: flex; flex-direction: column; gap: 1px; }
.listing-specs .spec-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.listing-specs .spec-value { font-size: 15px; font-weight: 600; color: var(--ink); }
.listing-price .spec-value { color: #1f6b4a; }
.listing-card .link-arrow { margin-top: auto; }

/* =========================================================
   Carousel / gallery
   ========================================================= */
.carousel { position: relative; aspect-ratio: 16 / 11; background: var(--cream-2); overflow: hidden; }
.carousel-track {
	display: flex;
	height: 100%;
	transition: transform .4s ease;
}
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px; height: 36px;
	border: none;
	border-radius: 0;
	background: rgba(255,255,255,.85);
	color: var(--ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(26,29,28,.18);
	opacity: 0;
	transition: opacity .2s ease, background .2s ease;
}
.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: #fff; }
.carousel-btn--prev { left: 10px; }
.carousel-btn--next { right: 10px; }
.carousel-dots {
	position: absolute;
	left: 0; right: 0; bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 6px;
}
.carousel-dot {
	width: 7px; height: 7px;
	border-radius: 0;
	border: none;
	padding: 0;
	background: rgba(255,255,255,.55);
	cursor: pointer;
}
.carousel-dot.is-active { background: #fff; }

/* =========================================================
   About (Meistä)
   ========================================================= */
.about-narrative { padding: 76px 0; }
.about-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}
.about-cols .section-title { text-align: left; margin: 0 0 .5em; }
.about-cols .section-title::after { display: none; }
.about-lead { font-size: 18px; color: var(--ink); margin: 0 0 1em; }
.about-text { color: var(--ink-soft); margin: 0 0 1em; }
.about-points { list-style: none; margin: 8px 0 0; padding: 0; }
.about-points li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink-soft); }
.about-points li::before {
	content: ""; position: absolute; left: 0; top: 8px;
	width: 8px; height: 8px; border-radius: 0; background: var(--taupe);
}
.about-media { margin: 24px 0 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.moodboard-section { padding: 76px 0; background: var(--white); }
.moodboard {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 14px;
	margin-top: 36px;
}
.moodboard figure { margin: 0; border-radius: var(--radius); }
.moodboard .span-2 { grid-column: span 2; }
.moodboard .row-2 { grid-row: span 2; }

/* Clickable tile: lifts and zooms on hover, opens the modal gallery on click */
.moodboard-item {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	overflow: hidden;
	border-radius: var(--radius);
	cursor: zoom-in;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1), box-shadow .5s ease;
}
.moodboard-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.moodboard-item::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(28, 37, 36, .38), rgba(28, 37, 36, 0) 55%);
	opacity: 0;
	transition: opacity .4s ease;
}
.moodboard-item:hover,
.moodboard-item:focus-visible {
	transform: scale(1.035);
	box-shadow: 0 20px 44px rgba(28, 37, 36, .26);
	z-index: 2;
}
.moodboard-item:hover img,
.moodboard-item:focus-visible img { transform: scale(1.12); }
.moodboard-item:hover::after,
.moodboard-item:focus-visible::after { opacity: 1; }

.moodboard-zoom {
	position: absolute;
	right: 12px; bottom: 12px;
	z-index: 1;
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	color: var(--ink);
	background: rgba(243, 239, 231, .92);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transform: translateY(8px) scale(.86);
	transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .3, 1);
}
.moodboard-zoom svg { width: 17px; height: 17px; }
.moodboard-item:hover .moodboard-zoom,
.moodboard-item:focus-visible .moodboard-zoom { opacity: 1; transform: none; }

/* Touch devices have no hover: show the affordance straight away, and make
   sure the first tap opens the gallery instead of being spent activating a
   hover state (iOS Safari otherwise needs a second tap on hover-styled
   elements). touch-action also drops the 300ms double-tap-zoom delay. */
.moodboard-item {
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(28, 37, 36, .15);
}
@media (hover: none) {
	.moodboard-item::after { opacity: 1; }
	.moodboard-zoom { opacity: 1; transform: none; }
	/* Neutralise sticky hover, which touch browsers leave applied after a tap */
	.moodboard-item:hover { transform: none; box-shadow: none; z-index: auto; }
	.moodboard-item:hover img { transform: none; }
	.moodboard-item:active { transform: scale(.985); }
	.moodboard-item:active img { transform: scale(1.06); }
}

/* =========================================================
   Contact (Yhteys)
   ========================================================= */
.contact-section { padding: 84px 0; }
.contact-panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 38px 34px;
	box-shadow: 0 12px 34px rgba(28, 37, 36, 0.05);
}
.contact-panel__title { font-family: var(--font-title); font-size: 20px; margin: 0 0 22px; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; }
.contact-block + .contact-block { margin-top: 32px; }
.contact-block h3 {
	font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
	color: var(--ink-muted); margin: 0 0 12px;
}
.contact-block p { margin: 0 0 4px; color: var(--ink-soft); }
.contact-block a { color: var(--ink); }
.contact-billing {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px 26px;
}
.contact-billing dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.contact-billing dt { color: var(--ink-muted); font-size: 14px; }
.contact-billing dd { margin: 0; font-weight: 600; font-size: 14px; }

.contact-form { display: grid; gap: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
	width: 100%; box-sizing: border-box;
	padding: 12px 14px; font: inherit; font-size: 15px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--white); color: var(--ink);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =========================================================
   Newsletter band + Newsroom / blog
   ========================================================= */
.newsletter-band { background: var(--dark); color: #fff; padding: 64px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.newsletter-band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .4em; }
.newsletter-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 420px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
	flex: 1; padding: 13px 16px; font: inherit; font-size: 15px;
	border: 1px solid var(--dark-line); border-radius: var(--radius);
	background: var(--dark-2); color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-note { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 12px; }

.posts-section { padding: 76px 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card {
	display: flex; flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 8px; }
.post-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.post-excerpt { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; }
.post-card .link-arrow { margin-top: auto; }

/* =========================================================
   Responsive — new components
   ========================================================= */
@media (max-width: 900px) {
	.listing-grid, .listing-grid--brief { grid-template-columns: repeat(2, 1fr); }
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.about-cols, .contact-grid, .newsletter-inner { grid-template-columns: 1fr; gap: 36px; }
	.moodboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.page-header { padding: 48px 0 40px; }
	.listings, .about-narrative, .moodboard-section, .contact-section, .posts-section { padding: 56px 0; }
	.listing-grid, .listing-grid--brief, .posts-grid { grid-template-columns: 1fr; }
	.newsletter-form { flex-direction: column; }
	.form-row { grid-template-columns: 1fr; }
	.carousel-btn { opacity: 1; }
}

/* =========================================================
   Accessibility polish (UI/UX Pro Max audit)
   ========================================================= */
:focus-visible {
	outline: 2px solid var(--taupe);
	outline-offset: 3px;
	border-radius: 2px;
}
.btn:focus-visible,
.link-arrow:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* =========================================================
   Team section (UI/UX Pro Max) — grayscale → color on hover
   ========================================================= */
.team-section { padding: 88px 0; background: var(--white); border-top: 1px solid var(--line); }
.team-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.team-head .eyebrow { display: inline-block; margin-bottom: .6em; }
.team-head p { color: var(--ink-muted); margin: .4em 0 0; }
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	max-width: 940px;
	margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--line);
	box-shadow: 0 8px 28px rgba(28, 37, 36, 0.10);
}
.team-photo img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(100%) contrast(1.02);
	transition: filter .55s ease, transform .6s ease;
}
.team-card:hover .team-photo img,
.team-card:focus-within .team-photo img {
	filter: grayscale(0%) contrast(1);
	transform: scale(1.05);
}
.team-name { margin: 20px 0 2px; font-family: var(--font-title); font-size: 19px; color: var(--ink); }
.team-role { margin: 0 0 10px; color: var(--taupe); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.team-contact {
	display: inline-flex; align-items: center; gap: 7px;
	color: var(--dark); font-size: 14.5px; text-decoration: none;
	border-bottom: 1px solid transparent; padding-bottom: 2px;
	transition: border-color .2s ease, color .2s ease;
}
.team-contact svg { width: 15px; height: 15px; }
.team-contact:hover { border-color: var(--taupe); color: var(--taupe-dark); }

/* Contact form UX (labels, required, inline errors, submit status) */
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.contact-form .req { color: var(--taupe); }
.contact-form input,
.contact-form textarea { min-height: 46px; }
.contact-form textarea { min-height: 130px; }
.field-error { display: block; min-height: 15px; margin-top: 5px; font-size: 12.5px; color: #b23b3b; }
.contact-form .has-error input,
.contact-form .has-error textarea { border-color: #b23b3b; }
.form-status { margin: 8px 0 0; font-size: 14px; min-height: 20px; }
.form-status.is-error { color: #b23b3b; }
.form-status.is-success { color: #2f7d5b; font-weight: 500; }

/* Scroll reveal (progressive enhancement; no-JS shows everything) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 860px) {
	.team-grid { grid-template-columns: repeat(2, 1fr); max-width: 540px; }
}
@media (max-width: 540px) {
	.team-grid { grid-template-columns: 1fr; max-width: 300px; }
}

/* Hero background video (Higgsfield cinematic clip) */
.hero { overflow: hidden; }
.hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
	.hero-media { display: none; }
}

/* Mobile hero: the text panel physically shrinks into a "+" circle in the
   bottom-right corner; tap the circle to grow it back, tap the panel to
   collapse it into the circle again. Desktop is unaffected. */
.hero-toggle { display: none; }
@media (max-width: 680px) {
	.hero-content {
		cursor: pointer;
		transform-origin: right bottom;
		transition: opacity .45s ease, transform .55s cubic-bezier(.5, 0, .2, 1);
	}
	.hero.is-collapsed .hero-content {
		opacity: 0;
		transform: scale(0.1);
		pointer-events: none;
	}

	.hero-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		position: absolute; right: 18px; bottom: 20px; z-index: 3;
		width: 54px; height: 54px; border-radius: 50%;
		border: 0; cursor: pointer; color: var(--ink);
		background: rgba(243, 239, 231, 0.72);
		backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
		box-shadow: 0 8px 24px rgba(28, 37, 36, 0.22);
		opacity: 0; transform: scale(0.4); pointer-events: none;
		transition: opacity .4s ease, transform .5s cubic-bezier(.5, 0, .2, 1);
	}
	.hero.is-collapsed .hero-toggle { opacity: 1; transform: scale(1); pointer-events: auto; }
	.hero.is-collapsed .hero-toggle:active { transform: scale(0.92); }
	.hero-toggle__icon { position: relative; display: block; width: 20px; height: 20px; }
	.hero-toggle__icon::before,
	.hero-toggle__icon::after {
		content: ""; position: absolute; top: 50%; left: 50%;
		background: currentColor; border-radius: 2px; transform: translate(-50%, -50%);
	}
	.hero-toggle__icon::before { width: 17px; height: 2px; }
	.hero-toggle__icon::after  { width: 2px; height: 17px; }
}

/* =========================================================
   Modal gallery (lightbox) — used by [data-gallery] blocks
   ========================================================= */
body.lightbox-open { overflow: hidden; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	flex-direction: column;
	background: rgba(16, 20, 19, .95);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .32s ease, visibility .32s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-stage {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 84px 12px;
}
.lightbox-figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.lightbox-img {
	max-width: 100%;
	max-height: calc(100vh - 210px);
	object-fit: contain;
	display: block;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
	opacity: 0;
	transform: scale(.985);
	transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .3, 1);
}
.lightbox-img.is-ready { opacity: 1; transform: none; }
.lightbox-caption {
	margin: 0;
	color: rgba(243, 239, 231, .82);
	font-size: 14px;
	text-align: center;
	max-width: 62ch;
}

.lightbox-close,
.lightbox-nav {
	position: absolute;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(243, 239, 231, .22);
	background: rgba(243, 239, 231, .08);
	color: var(--cream);
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(243, 239, 231, .18); border-color: rgba(243, 239, 231, .45); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.lightbox-close {
	top: 18px; right: 18px;
	width: 46px; height: 46px;
	z-index: 2;
}
.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 52px; height: 52px;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-next svg { transform: rotate(180deg); }

.lightbox-bar {
	flex: none;
	padding: 4px 24px 22px;
	text-align: center;
}
.lightbox-count {
	margin: 0 0 12px;
	color: rgba(243, 239, 231, .6);
	font-size: 12.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lightbox-thumbs {
	display: flex;
	gap: 8px;
	justify-content: center;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}
.lightbox-thumb {
	flex: none;
	width: 74px; height: 52px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: .42;
	transition: opacity .25s ease, box-shadow .25s ease;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { opacity: .8; }
.lightbox-thumb.is-current { opacity: 1; box-shadow: 0 0 0 2px var(--cream); }
.lightbox-thumb:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

@media (max-width: 680px) {
	.lightbox-stage { padding: 58px 12px 8px; }
	.lightbox-img { max-height: calc(100vh - 190px); }
	.lightbox-nav { width: 44px; height: 44px; }
	.lightbox-prev { left: 8px; }
	.lightbox-next { right: 8px; }
	.lightbox-thumbs { justify-content: flex-start; }
	.lightbox-thumb { width: 58px; height: 42px; }
}

/* =========================================================
   Newsroom - index, filters, featured card
   ========================================================= */
.news-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 34px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.news-filter {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	font-family: inherit;
	padding: 8px 16px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink-soft);
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.news-filter:hover { background: var(--white); color: var(--ink); border-color: var(--taupe); }
.news-filter.is-active {
	background: var(--dark);
	border-color: var(--dark);
	color: #fff;
}
.news-count { margin-left: auto; font-size: 13px; color: var(--ink-muted); }

/* Featured (first) article - spans the grid, horizontal layout */
.post-card--featured {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: stretch;
}
.post-card--featured .post-media {
	flex: 0 0 56%;
	aspect-ratio: auto;
	min-height: 340px;
}
.post-card--featured .post-body {
	justify-content: center;
	padding: 40px 44px;
}
.post-card--featured h3 {
	font-family: var(--font-title);
	font-weight: 500;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}
.post-card--featured .post-excerpt { font-size: 16px; margin-bottom: 22px; }
.post-card--featured .link-arrow { margin-top: 0; }

.post-badge {
	display: inline-block;
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 5px 11px;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--taupe-dark);
	background: var(--cream-2);
	border: 1px solid var(--line);
}

.post-card h3 a { transition: color .2s ease; }
.post-card h3 a:hover { color: var(--taupe-dark); }

/* Pagination */
.posts-section .navigation.pagination { margin-top: 48px; }
.posts-section .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}
.posts-section .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 9px 14px;
	font-size: 14px;
	color: var(--ink-soft);
	background: var(--white);
	border: 1px solid var(--line);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.posts-section .page-numbers:hover { border-color: var(--taupe); color: var(--ink); }
.posts-section .page-numbers.current {
	background: var(--dark);
	border-color: var(--dark);
	color: #fff;
}

/* Empty state */
.posts-empty {
	grid-column: 1 / -1;
	padding: 60px 24px;
	text-align: center;
	background: var(--white);
	border: 1px solid var(--line);
}
.posts-empty h3 { font-size: 20px; margin-bottom: 8px; }
.posts-empty p { color: var(--ink-muted); margin: 0; }

/* =========================================================
   Single article
   ========================================================= */
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 18px 0 0;
	font-size: 13px;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.article-meta .sep { color: var(--line); }
.article-meta a { color: var(--taupe-dark); }
.article-meta a:hover { color: var(--ink); }

.article-hero {
	margin: 0;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	border-radius: var(--radius-lg);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero figcaption {
	font-size: 13px;
	color: var(--ink-muted);
	padding-top: 10px;
}
.article-body { padding: 64px 0 76px; }
.article-body > .container { display: block; }

.entry-content { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content .lead {
	font-size: 20px;
	line-height: 1.6;
	color: var(--ink);
}
.entry-content h2 {
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	margin: 2em 0 .5em;
}
.entry-content h3 {
	font-size: 1.22rem;
	margin: 1.8em 0 .45em;
}
.entry-content ul,
.entry-content ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .5em; }
.entry-content li::marker { color: var(--taupe); }
.entry-content a { color: var(--taupe-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); }
.entry-content strong { color: var(--ink); font-weight: 600; }
.entry-content img,
.entry-content .wp-block-image img { border-radius: var(--radius-lg); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption {
	font-size: 13px;
	color: var(--ink-muted);
	padding-top: 10px;
	text-align: center;
}
.entry-content blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 26px;
	border-left: 2px solid var(--taupe);
	font-family: var(--font-title);
	font-size: 21px;
	line-height: 1.5;
	color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; }
.entry-content th,
.entry-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--cream-2); color: var(--ink); font-weight: 600; }

.article-footer {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.article-tags a {
	display: inline-block;
	padding: 5px 12px;
	font-size: 13px;
	color: var(--ink-soft);
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color .2s ease, color .2s ease;
}
.article-tags a:hover { border-color: var(--taupe); color: var(--ink); }

.article-share { display: flex; align-items: center; gap: 12px; }
.article-share .share-label {
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ink-muted);
}
.article-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--ink-soft);
	border: 1px solid var(--line);
	background: var(--white);
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.article-share a:hover { color: var(--ink); border-color: var(--taupe); transform: translateY(-2px); }
.article-share svg { width: 17px; height: 17px; }

/* Prev / next */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 40px;
}
.post-nav a {
	display: block;
	padding: 22px 24px;
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color .2s ease;
}
.post-nav a:hover { border-color: var(--taupe); }
.post-nav .post-nav-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink-muted);
	margin-bottom: 6px;
}
.post-nav .post-nav-title {
	font-family: var(--font-title);
	font-size: 17px;
	color: var(--ink);
	line-height: 1.3;
}
.post-nav .post-nav--next { text-align: right; grid-column: 2; }

/* Related */
.related-posts { background: var(--white); border-top: 1px solid var(--line); padding: 72px 0; }
.related-posts .section-title { margin-bottom: 34px; }
.related-posts .post-card { background: var(--cream); }

/* =========================================================
   Homepage news teaser
   ========================================================= */
.news-teaser { padding: 84px 0; background: var(--white); border-top: 1px solid var(--line); }
.news-teaser-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 38px;
}
.news-teaser-head .eyebrow { display: block; margin-bottom: 10px; }
.news-teaser-head h2 { margin: 0; }
.news-teaser .post-card { background: var(--cream); }

@media (max-width: 900px) {
	.post-card--featured { flex-direction: column; }
	.post-card--featured .post-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
	.post-card--featured .post-body { padding: 26px 24px 28px; }
	.news-teaser-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
	.news-teaser, .related-posts { padding: 56px 0; }
	.article-body { padding: 44px 0 56px; }
	.entry-content { font-size: 16.5px; }
	.entry-content .lead { font-size: 18px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .post-nav--next { text-align: left; grid-column: 1; }
	.article-footer { flex-direction: column; align-items: flex-start; }
	.news-count { margin-left: 0; width: 100%; }
}
