/* =========================================================================
   Baanabo — main stylesheet
   ========================================================================= */

:root {
	--ink: #16241a;
	--ink-2: #1f3324;
	--green: #74a84a;
	--green-deep: #5b8a35;
	--moss: #3f5b2d;
	--paper: #f6f3ea;
	--paper-2: #efeadb;
	--cream: #fbfaf4;
	--line: rgba(22, 36, 26, 0.14);
	--line-light: rgba(255, 255, 255, 0.18);
	--muted: #5c6a5d;
	--white: #ffffff;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 30px 60px -30px rgba(22, 36, 26, 0.35);

	--container: 1200px;
	--container-narrow: 780px;
	--header-h: 84px;
	--transition: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--green-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	line-height: 1.12;
	font-weight: 600;
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

h3 {
	font-size: 1.3rem;
}

p {
	margin: 0 0 1.1em;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 9999;
	background: var(--green);
	color: #fff;
	padding: 10px 16px;
	border-radius: 8px;
}

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 40px);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.section {
	padding-block: clamp(72px, 10vw, 116px);
}

.section--paper {
	background: var(--paper);
}

.section--cream {
	background: var(--cream);
	border-block: 1px solid var(--line);
}

.section--ink {
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(116, 168, 74, 0.22), transparent 60%),
		var(--ink);
	color: #eef1ea;
}

.section--ink a {
	color: #bcd8a4;
}

.section__head {
	max-width: 640px;
	margin-bottom: clamp(40px, 6vw, 64px);
}

.section__head--on-ink {
	color: #eef1ea;
}

.section__eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--green-deep);
	margin-bottom: 14px;
}

.section__eyebrow--on-ink {
	color: #a8cf7f;
}

.section__title {
	margin: 0;
}

.section__cta {
	background:
		radial-gradient(900px 500px at 15% 110%, rgba(116, 168, 74, 0.25), transparent 60%),
		var(--ink);
	color: #eef1ea;
	text-align: center;
}

.section__cta-inner {
	max-width: 720px;
}

.section__cta-title {
	margin: 0 0 0.35em;
	font-size: clamp(1.9rem, 4vw, 3rem);
}

.section__cta-sub {
	color: rgba(238, 241, 234, 0.75);
	margin-bottom: 28px;
}

.section__cta-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   Buttons & links
   ------------------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--light {
	background: var(--green);
	color: #fff;
}

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

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
	background: transparent;
}

.btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.btn--dark {
	background: var(--ink);
	color: #fff;
}

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

.link-arrow {
	font-weight: 600;
	color: var(--green-deep);
	text-decoration: none;
}

.link-arrow span {
	transition: transform var(--transition);
	display: inline-block;
}

.link-arrow:hover {
	color: var(--ink);
}

.link-arrow:hover span {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   Header & navigation
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.site-brand img {
	max-height: 56px;
	width: auto;
}

.site-brand__word {
	font-family: var(--font-display);
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: 0.02em;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	display: inline-block;
	padding: 10px 16px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.98rem;
	border-radius: 999px;
	transition: background var(--transition), color var(--transition);
}

.site-nav__list a:hover {
	background: var(--paper-2);
	color: var(--green-deep);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	background: var(--ink);
	color: #fff;
}

.site-nav__toggle {
	display: none;
	background: none;
	border: 0;
	padding: 12px 10px;
	cursor: pointer;
}

.site-nav__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	margin: 5px 0;
	transition: transform var(--transition), opacity var(--transition);
}

.site-nav__toggle.is-open .site-nav__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle.is-open .site-nav__bar:nth-child(2) {
	opacity: 0;
}

.site-nav__toggle.is-open .site-nav__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   Hero (front page)
   ------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: min(88vh, 900px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: var(--ink);
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
}

.hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(22, 36, 26, 0.55) 0%, rgba(22, 36, 26, 0.35) 45%, rgba(22, 36, 26, 0.82) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(64px, 10vh, 120px);
	max-width: 900px;
	margin-inline: auto;
}

.hero__eyebrow {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #cfe6b4;
	margin-bottom: 18px;
}

.hero__title {
	font-size: clamp(3.4rem, 12vw, 8.5rem);
	font-weight: 300;
	line-height: 0.95;
	margin: 0 0 0.25em;
	letter-spacing: 0.01em;
}

.hero__sub {
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	max-width: 620px;
	color: rgba(255, 255, 255, 0.86);
	margin-bottom: 34px;
}

.hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.hero__scroll {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	display: flex;
	justify-content: center;
	padding-top: 8px;
	text-decoration: none;
}

.hero__scroll-dot {
	width: 4px;
	height: 8px;
	border-radius: 99px;
	background: #fff;
	animation: scrollcue 1.6s ease-in-out infinite;
}

@keyframes scrollcue {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	70% {
		transform: translateY(12px);
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

/* -------------------------------------------------------------------------
   Intro grid
   ------------------------------------------------------------------------- */
.section__grid--intro {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}

.section__body {
	font-size: 1.08rem;
	color: #34403a;
}

.section__body p {
	margin-bottom: 1.2em;
}

/* -------------------------------------------------------------------------
   Pillars
   ------------------------------------------------------------------------- */
.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 40px);
}

.pillar {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--cream);
	padding: clamp(28px, 3vw, 40px);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: rgba(116, 168, 74, 0.5);
}

.pillar__num {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--green);
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 18px;
}

.pillar__title {
	font-size: 1.5rem;
	margin-bottom: 0.5em;
}

.pillar p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
}

/* -------------------------------------------------------------------------
   Works (selected projects on ink)
   ------------------------------------------------------------------------- */
.works {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 40px);
}

.work {
	border-top: 1px solid var(--line-light);
	padding-top: 0;
	overflow: hidden;
}

.work__img {
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: var(--radius);
}

.work__img img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--ease);
}

.work:hover .work__img img {
	transform: scale(1.04);
}

.work__body {
	padding: 0 4px 20px;
}

.work__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--font-display);
	font-size: 0.9rem;
	color: rgba(238, 241, 234, 0.55);
	margin-bottom: 16px;
}

.work__tag {
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #a8cf7f;
}

.work__title {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	margin-bottom: 0.4em;
}

.work__title a {
	color: #fff;
	text-decoration: none;
	background-image: linear-gradient(var(--green), var(--green));
	background-repeat: no-repeat;
	background-size: 0 2px;
	background-position: 0 100%;
	transition: background-size var(--transition);
}

.work__title a:hover {
	color: #fff;
	background-size: 100% 2px;
}

.work__text {
	color: rgba(238, 241, 234, 0.72);
	font-size: 0.98rem;
	margin: 0;
}

.section__cta {
	position: relative;
}

.section--ink .section__cta {
	margin-top: clamp(48px, 6vw, 72px);
}

/* -------------------------------------------------------------------------
   Honors
   ------------------------------------------------------------------------- */
.honors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--cream);
}

.honor {
	padding: clamp(24px, 3vw, 36px);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.honor:nth-child(3n) {
	border-right: 0;
}

.honor:nth-last-child(-n + 3) {
	border-bottom: 0;
}

.honor__date {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--green);
	display: block;
	margin-bottom: 8px;
}

.honor__text {
	margin: 0;
	font-size: 0.97rem;
	color: #3a463e;
}

/* -------------------------------------------------------------------------
   Quote band
   ------------------------------------------------------------------------- */
.quote-band {
	background: var(--paper-2);
	padding-block: clamp(72px, 10vw, 116px);
}

.quote-band blockquote {
	margin: 0 auto;
	max-width: 820px;
	text-align: center;
}

.quote-band blockquote p {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--ink);
	margin-bottom: 22px;
}

.quote-band cite {
	font-family: var(--font-body);
	font-style: normal;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	min-height: clamp(320px, 52vh, 520px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: var(--ink);
}

.page-hero--compact {
	min-height: clamp(240px, 38vh, 380px);
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.page-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(22, 36, 26, 0.4) 0%, rgba(22, 36, 26, 0.55) 55%, rgba(22, 36, 26, 0.78) 100%);
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(48px, 7vh, 84px);
}

.page-hero__eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #cfe6b4;
	margin-bottom: 12px;
}

.page-hero__title {
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	margin: 0 0 0.2em;
}

.page-hero__lede {
	max-width: 620px;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

/* -------------------------------------------------------------------------
   Entry content (page body from the editor)
   ------------------------------------------------------------------------- */
.entry-content {
	font-size: 1.04rem;
	color: #33403a;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin-top: 1.6em;
}

.entry-content h3 {
	margin-top: 1.3em;
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 6px 0 6px 26px;
	border-left: 3px solid var(--green);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.2rem;
	line-height: 1.5;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2em;
	margin-bottom: 1.2em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content img {
	border-radius: var(--radius-sm);
	margin-block: 1.4em;
}

.entry-content .alignwide {
	margin-inline: 0;
}

/* About page blocks */
.bio {
	font-size: 1.12rem;
}

.timeline {
	list-style: none;
	margin: 2em 0;
	padding: 0;
}

.timeline li {
	position: relative;
	padding: 0 0 2.2em 34px;
	border-left: 1px solid var(--line);
	margin: 0 0 0 8px;
}

.timeline li::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 6px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--green);
	border: 3px solid var(--paper);
	box-shadow: 0 0 0 1px var(--green);
}

.timeline .tl-date {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--green-deep);
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
}

.timeline .tl-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 4px;
}

.timeline .tl-desc {
	margin: 0;
	font-size: 0.96rem;
	color: var(--muted);
}

.honor-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.honor-list li {
	position: relative;
	padding: 16px 0 16px 30px;
	border-bottom: 1px solid var(--line);
	font-size: 1rem;
}

.honor-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 24px;
	width: 8px;
	height: 8px;
	background: var(--green);
	border-radius: 2px;
	transform: rotate(45deg);
}

.honor-list li:last-child {
	border-bottom: 0;
}

.notes {
	background: var(--paper-2);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 36px);
	font-family: var(--font-display);
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--ink);
}

/* Services page blocks */
.service-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--cream);
	margin: 2em 0;
}

.service-list > div {
	padding: clamp(24px, 3vw, 36px);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.service-list > div:nth-child(2n) {
	border-right: 0;
}

.service-list > div:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.service-list h3 {
	margin-bottom: 0.4em;
}

.service-list p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
}

/* Projects page blocks */
.proj-item {
	display: grid;
	grid-template-columns: 0.9fr 1.6fr;
	gap: clamp(24px, 4vw, 56px);
	padding: clamp(36px, 5vw, 56px) 0;
	border-bottom: 1px solid var(--line);
}

.proj-item:last-child {
	border-bottom: 0;
}

.proj-item__meta {
	font-family: var(--font-body);
}

.proj-item__meta .proj-date {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--green-deep);
	display: block;
	margin-bottom: 6px;
}

.proj-item__meta .proj-type {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.proj-item__body h2 {
	margin-top: 0;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.proj-item__body p {
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   Fact grid (about)
   ------------------------------------------------------------------------- */
.fact-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.fact {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--cream);
	padding: 26px;
	text-align: center;
}

.fact__num {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--green);
	display: block;
	margin-bottom: 8px;
}

.fact__label {
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   Service showcase
   ------------------------------------------------------------------------- */
.service-showcase {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.service-showcase__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.check-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.check-list li {
	position: relative;
	padding: 7px 0 7px 34px;
	border-bottom: 1px dashed var(--line);
}

.check-list li::before {
	content: "✓";
	position: absolute;
	left: 2px;
	top: 7px;
	color: var(--green);
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
}

.contact-grid__info .entry-content {
	font-size: 1.05rem;
}

.contact-grid__info address {
	font-style: normal;
	margin: 1.4em 0;
}

.contact-grid__info address a {
	font-weight: 600;
}

.contact-form {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(26px, 3vw, 40px);
}

.field {
	margin: 0 0 20px;
}

.field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 8px;
}

.field input,
.field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(116, 168, 74, 0.22);
}

.field--submit {
	margin-bottom: 0;
}

.form-note {
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	margin-bottom: 24px;
	font-size: 0.95rem;
}

.form-note--ok {
	background: rgba(116, 168, 74, 0.16);
	border: 1px solid var(--green);
	color: #2c4a16;
}

.form-note--err {
	background: rgba(190, 74, 60, 0.12);
	border: 1px solid #be4a3c;
	color: #7d2c22;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
	background: var(--ink);
	color: rgba(238, 241, 234, 0.78);
}

.site-footer a {
	color: rgba(238, 241, 234, 0.85);
	text-decoration: none;
}

.site-footer a:hover {
	color: #a8cf7f;
}

.site-footer__top {
	padding-block: clamp(56px, 7vw, 84px) clamp(40px, 5vw, 64px);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: clamp(28px, 4vw, 56px);
}

.site-footer__brand .site-brand__word {
	color: #fff;
	font-size: 2rem;
	display: inline-block;
	margin-bottom: 10px;
}

.site-footer__tag {
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: #a8cf7f;
	margin-bottom: 12px;
}

.site-footer__lede {
	font-size: 0.95rem;
	color: rgba(238, 241, 234, 0.6);
	margin: 0;
	max-width: 34ch;
}

.site-footer__title {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #a8cf7f;
	margin-bottom: 18px;
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__menu li {
	margin-bottom: 10px;
	font-size: 0.95rem;
}

.site-footer__bottom {
	border-top: 1px solid var(--line-light);
	padding-block: 22px;
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: rgba(238, 241, 234, 0.5);
}

.site-footer__bottom-inner p {
	margin: 0;
}

/* -------------------------------------------------------------------------
   Post list & pagination
   ------------------------------------------------------------------------- */
.post-list {
	display: grid;
	gap: 40px;
}

.post-item {
	border-bottom: 1px solid var(--line);
	padding-bottom: 32px;
}

.post-item__title {
	margin-bottom: 4px;
}

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

.post-item__title a:hover {
	color: var(--green-deep);
}

.post-item__meta {
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 12px;
}

.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.section--error {
	text-align: center;
}

/* -------------------------------------------------------------------------
   Reveal animation
   ------------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* -------------------------------------------------------------------------
   Photo grid (projects page)
   ------------------------------------------------------------------------- */
.photo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: clamp(32px, 5vw, 64px);
}

.photo-grid__item {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
}

.photo-grid__item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--ease);
}

.photo-grid__item:hover img {
	transform: scale(1.05);
}

.photo-grid__cap {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 28px 16px 12px;
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.03em;
}

/* -------------------------------------------------------------------------
   Image strip (about page — horizontal scroll of images)
   ------------------------------------------------------------------------- */
.img-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.img-strip__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
}

.img-strip__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--ease);
}

.img-strip__item:hover img {
	transform: scale(1.04);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.fact-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.section__grid--intro,
	.service-showcase,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.pillars,
	.works,
	.honors {
		grid-template-columns: 1fr;
	}

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

	.img-strip {
		grid-template-columns: 1fr 1fr;
	}

	.honor {
		border-right: 0;
	}

	.honor:nth-last-child(-n + 3) {
		border-bottom: 1px solid var(--line);
	}

	.honor:last-child {
		border-bottom: 0;
	}

	.proj-item {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.service-list {
		grid-template-columns: 1fr;
	}

	.service-list > div {
		border-right: 0;
	}

	.service-list > div:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--line);
	}

	.service-list > div:last-child {
		border-bottom: 0;
	}

	.hero__title {
		font-size: clamp(3rem, 15vw, 5.5rem);
	}

	/* Mobile navigation */
	.site-nav__toggle {
		display: block;
	}

	.site-nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--transition);
	}

	.site-nav.is-open {
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 18px clamp(20px, 4vw, 40px) 28px;
	}

	.site-nav__list a {
		display: block;
		padding: 13px 16px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.photo-grid {
		grid-template-columns: 1fr;
	}

	.img-strip {
		grid-template-columns: 1fr;
	}

	.fact-grid {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}

	.hero__actions .btn {
		width: 100%;
		text-align: center;
	}
}
