/*
Theme Name: Triggers DIY
Theme URI: https://triggersdiy.co.uk
Author: Triggers DIY
Description: One page dark theme for Triggers DIY with an always visible free quote pop up. Pair with the Triggers DIY Jobs plugin for quotes, invoices and job records.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: triggers-diy
*/

:root {
	--ink: #141110;
	--ink-2: #1e1917;
	--ink-3: #2a2320;
	--line: #3a312d;
	--orange: #e89c4e;
	--orange-deep: #c97a2c;
	--cream: #f3ede6;
	--muted: #b3a89e;
	--display: "Anton", Impact, "Arial Narrow", sans-serif;
	--display-ls: .01em;
	--display-lh: .92;
	--body: Barlow, "Helvetica Neue", Arial, sans-serif;
	--r-sm: 6px;
	--r: 10px;
	--r-lg: 14px;
	--head-h: 80px;
	--gut: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--cream);
	font: 400 18px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
a:hover { color: var(--cream); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: var(--display-lh); margin: 0; letter-spacing: var(--display-ls); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--text { max-width: 760px; }
section[id], #top { scroll-margin-top: var(--head-h); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	font: 700 17px/1 var(--body); letter-spacing: .01em;
	padding: 14px 22px; border: 2px solid transparent; border-radius: 3px;
	cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--big { font-size: 19px; padding: 18px 28px; }
.btn--orange { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn--orange:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--orange); border-color: var(--ink); }
.btn--ink:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--line { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--line:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Ruler: the tape measure strip ---------- */
.ruler {
	height: 14px;
	background-color: var(--orange);
	background-image:
		repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 10px),
		repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 50px);
	background-size: 100% 5px, 100% 11px;
	background-repeat: no-repeat;
	background-position: 0 0, 0 0;
	border-bottom: 2px solid var(--ink);
}
.ruler--thin { height: 10px; background-size: 100% 4px, 100% 8px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--orange); color: var(--ink); }
.site-head__bar {
	max-width: 1200px; margin: 0 auto; padding: 10px var(--gut);
	display: flex; align-items: center; gap: 24px; min-height: calc(var(--head-h) - 16px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.brand span { font: 900 26px/1 var(--display); letter-spacing: .02em; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.site-nav ul a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; color: var(--ink); }
.site-nav__cta { display: flex; align-items: center; gap: 16px; }
.head-phone { font-weight: 700 !important; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
	.site-nav ul { gap: 16px; }
	.head-phone { display: none; }
}
@media (max-width: 880px) {
	:root { --head-h: 72px; }
	.brand img { width: 44px; height: 44px; }
	.brand span { font-size: 24px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		background: var(--ink); color: var(--orange); border: 0; border-radius: 3px;
		padding: 10px 14px; font: 700 16px/1 var(--body); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--ink); border-bottom: 4px solid var(--orange);
		padding: 8px var(--gut) 20px;
	}
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav ul a { display: block; color: var(--cream); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
	.site-nav ul a:hover { color: var(--orange); }
	.site-nav__cta { margin-top: 16px; }
	.site-nav__cta .btn { display: none; }
	.head-phone { display: inline; color: var(--orange) !important; font-size: 20px; }
}

/* ---------- Hero ---------- */
.hero {
	min-height: calc(100svh - var(--head-h) - var(--wp-admin--admin-bar--height, 0px));
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(28px, 5vh, 64px) 0 0; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 {
	font-size: clamp(44px, min(5.4vw, 10vh), 96px); line-height: var(--display-lh);
	letter-spacing: var(--display-ls); text-transform: uppercase;
}
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 span + span { color: var(--orange); }
.hero__text { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 44ch; margin: clamp(16px, 3vh, 28px) 0 clamp(20px, 3.5vh, 32px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Handyman drawing holding the logo */
.hero__visual { display: flex; justify-content: center; }
.hero__man { width: 100%; max-width: 480px; max-height: calc(100svh - var(--head-h) - 100px); height: auto; overflow: visible; }

.hero__strip {
	list-style: none; margin-top: clamp(28px, 5vh, 64px); padding-top: 18px; padding-bottom: 18px;
	display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 28px;
	border-top: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: 16px;
}
.hero__strip li { padding-left: 14px; border-left: 3px solid var(--orange); }

@media (max-width: 880px) {
	.hero { min-height: 0; padding-top: 36px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero h1 { font-size: clamp(44px, 12vw, 72px); }
	.hero__man { max-width: 340px; max-height: none; }
	.hero__strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.hero__actions .btn { width: 100%; }
	.hero__strip { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(40px, 5.2vw, 72px); text-transform: uppercase; }
.section-head p { color: var(--muted); max-width: 42ch; margin: 0; justify-self: end; }
@media (max-width: 760px) {
	.section-head { grid-template-columns: 1fr; }
	.section-head p { justify-self: start; }
}

/* Services */
.services { background: var(--ink-2); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); }
.svc { padding: 26px 0 28px; border-top: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; }
.svc h3 { color: var(--orange); font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 10px; }
.svc p { color: var(--cream); max-width: 48ch; margin-bottom: 14px; }
.svc__link {
	justify-self: start; background: none; border: 0; padding: 0; cursor: pointer;
	color: var(--muted); font: 600 15px/1.4 var(--body);
	text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px;
}
.svc__link:hover { color: var(--orange); text-decoration-color: var(--orange); }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

/* Work */
.work-grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px;
}
.work-item { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); }
.work-item--1 { grid-column: span 2; grid-row: span 2; }
.work-item--6, .work-item--7 { grid-column: span 2; }
.work-item__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.work-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .35s ease; }
.work-item__open:hover img, .work-item__open:focus-visible img { transform: scale(1.04); }
.work-item__open:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.work-item figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
	padding: 28px 12px 10px; font-size: 14px; font-weight: 600; color: var(--cream);
	background: linear-gradient(transparent, rgba(10, 8, 7, .85));
}
.work-item--1 figcaption { font-size: 16px; padding: 40px 16px 14px; }
.work-more { margin: 24px 0 0; text-align: center; }
@media (max-width: 760px) {
	.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
	.work-item--1 { grid-column: span 2; grid-row: span 2; }
	.work-item--6, .work-item--7 { display: none; }
	.work-item figcaption { font-size: 13px; padding: 22px 8px 8px; }
	.work-more .btn { width: 100%; }
}

/* Lightbox */
.lightbox {
	width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(10, 8, 7, .97); color: var(--cream); overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(10, 8, 7, .9); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 8px; }
.lightbox__count { font-weight: 600; color: var(--muted); }
.lightbox__close { width: 48px; height: 48px; border: 0; border-radius: 3px; background: var(--orange); color: var(--ink); font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; touch-action: pan-y; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 210px); object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); transition: opacity .2s; }
.lightbox__img.is-loading { opacity: .25; }
.lightbox__cap { margin-top: 12px; font-weight: 600; text-align: center; }
.lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 52px; height: 72px; border: 2px solid var(--line); border-radius: 3px;
	background: rgba(20, 17, 16, .8); color: var(--orange); font-size: 46px; line-height: 1; cursor: pointer;
}
.lightbox__nav:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); scrollbar-width: thin; }
.lightbox__thumbs button { flex: 0 0 auto; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; }
.lightbox__thumbs button[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
	.lightbox__stage { padding: 0 8px; }
	.lightbox__nav { top: auto; bottom: 8px; transform: none; width: 48px; height: 48px; font-size: 36px; }
	.lightbox__img { max-height: calc(100dvh - 230px); }
	.lightbox__cap { margin-bottom: 60px; padding: 0 56px; }
}

/* Maintenance and commercial */
.maint { background: var(--ink-2); }
.maint__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.maint h2 { font-size: clamp(36px, 4.4vw, 62px); text-transform: uppercase; margin-bottom: 24px; }
.maint__commercial p { color: var(--muted); max-width: 56ch; margin-bottom: 28px; }
.maint__contract { background: var(--orange); color: var(--ink); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.maint__contract h3 { font-size: clamp(28px, 2.8vw, 40px); text-transform: uppercase; overflow-wrap: anywhere; }
.maint__contract p { font-weight: 500; }
.maint__contract .btn { align-self: flex-start; }
@media (max-width: 880px) { .maint__inner { grid-template-columns: 1fr; } }

/* Prices */
.prices { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prices__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.prices h2 { font-size: clamp(48px, 6.6vw, 100px); color: var(--orange); text-transform: uppercase; }
.prices__copy p { font-size: clamp(19px, 1.7vw, 22px); }
.prices__copy p + p { color: var(--muted); }
@media (max-width: 880px) { .prices__inner { grid-template-columns: 1fr; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 22px 0 0; position: relative; }
.steps li::before {
	content: counter(step);
	display: block; font: 900 88px/1 var(--display); color: transparent;
	-webkit-text-stroke: 2px var(--orange);
	padding-bottom: 14px; margin-right: -22px; border-bottom: 2px solid var(--line);
}
.steps h3 { font-size: 24px; margin: 18px 0 8px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 980px) {
	.steps { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
	.steps li::before { margin-right: 0; }
}
@media (max-width: 520px) {
	.steps { grid-template-columns: 1fr; }
	.steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 0; }
	.steps li::before { font-size: 64px; grid-row: span 2; margin: 0; padding: 0; border: 0; }
	.steps h3 { margin-top: 4px; }
}

/* Contact */
.contact { background: var(--ink-2); }
.contact__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(40px, 5vw, 70px); text-transform: uppercase; margin-bottom: 20px; }
.contact__info > p { color: var(--muted); max-width: 40ch; }
.contact__list { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 28px 0 0; }
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 600; word-break: break-word; }
.contact__list a { color: var(--cream); text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contact__form { background: var(--ink); padding: clamp(22px, 3.5vw, 40px); border-top: 6px solid var(--orange); }
@media (max-width: 880px) { .contact__inner { grid-template-columns: 1fr; } }

/* FAQ and areas */
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq h2 { font-size: clamp(40px, 5.2vw, 72px); text-transform: uppercase; margin-bottom: 28px; }
.faq__side h3 { font-size: 24px; color: var(--orange); margin-bottom: 12px; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { border: 1px solid var(--line); padding: 6px 12px; font-size: 15px; color: var(--cream); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
	list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
	font-weight: 600; font-size: 19px; color: var(--cream);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font: 400 30px/1 var(--body); color: var(--orange);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--orange); }
.faq__item p { color: var(--muted); margin: 0 0 22px; max-width: 60ch; }
@media (max-width: 880px) { .faq__inner { grid-template-columns: 1fr; } }

/* ---------- Quote form (from the Jobs plugin) ---------- */
.tdiy-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.tdiy-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.tdiy-field.tdiy-half { grid-column: span 1; }
.tdiy-field label { font-weight: 600; font-size: 15px; color: var(--cream); }
.tdiy-form input, .tdiy-form select, .tdiy-form textarea {
	width: 100%; font: 400 17px/1.4 var(--body); color: var(--cream);
	background: var(--ink-3); border: 1px solid var(--line); border-radius: 3px; padding: 13px 14px;
}
.tdiy-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.tdiy-form input:focus, .tdiy-form select:focus, .tdiy-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 156, 78, .3); }
.tdiy-form ::placeholder { color: #7d736b; }
.tdiy-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tdiy-submit {
	grid-column: 1 / -1; background: var(--orange); color: var(--ink); border: 0; border-radius: 3px;
	font: 700 19px/1 var(--body); padding: 18px 20px; cursor: pointer; margin-top: 4px;
}
.tdiy-submit:hover { background: var(--cream); }
.tdiy-submit:disabled { opacity: .6; cursor: progress; }
.tdiy-msg { grid-column: 1 / -1; margin: 0; min-height: 1em; font-weight: 600; }
.tdiy-msg.is-ok { color: var(--orange); padding: 14px 16px; background: var(--ink-3); border-left: 4px solid var(--orange); }
.tdiy-msg.is-error { color: #ff9b8a; }
.form-fallback { font-size: 20px; }
@media (max-width: 520px) { .tdiy-field.tdiy-half { grid-column: 1 / -1; } }

/* ---------- Always visible quote dock ---------- */
.quote-dock { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; gap: 8px; }
.quote-dock__btn, .quote-dock__call {
	font: 700 17px/1 var(--body); padding: 16px 22px; border-radius: 3px; border: 2px solid var(--ink);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .45); cursor: pointer; text-decoration: none;
}
.quote-dock__btn { background: var(--orange); color: var(--ink); }
.quote-dock__btn:hover { background: var(--cream); }
.quote-dock__call { display: none; background: var(--ink); color: var(--orange); border-color: var(--orange); }
@media (max-width: 760px) {
	body { padding-bottom: 76px; }
	.quote-dock { left: 0; right: 0; bottom: 0; gap: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 3px solid var(--orange); }
	.quote-dock__call { display: inline-flex; align-items: center; margin-right: 8px; box-shadow: none; }
	.quote-dock__btn { flex: 1; box-shadow: none; }
}

/* ---------- Quote pop up ---------- */
.quote-modal {
	width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 4px;
	background: var(--ink); color: var(--cream); overflow: auto;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
.quote-modal::backdrop { background: rgba(10, 8, 7, .78); }
.quote-modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quote-modal__head { display: flex; align-items: center; justify-content: space-between; background: var(--orange); color: var(--ink); padding: 16px 20px 14px; position: sticky; top: 0; z-index: 1; }
.quote-modal__head h2 { font-size: 34px; text-transform: uppercase; }
.quote-modal .ruler { position: sticky; top: 70px; z-index: 1; }
.quote-modal__close { background: var(--ink); color: var(--orange); border: 0; width: 42px; height: 42px; border-radius: 3px; font-size: 30px; line-height: 1; cursor: pointer; }
.quote-modal__body { padding: 20px 20px 24px; }
.quote-modal__body > p { color: var(--muted); font-size: 16px; }

/* ---------- Footer ---------- */
.site-foot { border-top: 6px solid var(--orange); padding: 44px 0 20px; }
.site-foot__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.site-foot__inner img { border-radius: 50%; }
.site-foot__name { font: 900 30px/1 var(--display); margin-bottom: 6px; }
.site-foot p { color: var(--muted); margin: 0; }
.site-foot__links { text-align: right; line-height: 1.9; }
.site-foot__links a { color: var(--cream); }
.site-foot__small { font-size: 14px; margin-top: 30px !important; }
@media (max-width: 640px) {
	.site-foot__inner { grid-template-columns: auto 1fr; }
	.site-foot__links { grid-column: 1 / -1; text-align: left; }
}

/* ---------- Rounded corners (photos only) ---------- */
.work-item, .work-item__open { border-radius: var(--r); }
.work-item { isolation: isolate; }
.lightbox__img { border-radius: var(--r); }
.lightbox__thumbs button, .lightbox__thumbs img { border-radius: var(--r-sm); }
.lightbox__thumbs button { overflow: hidden; }

/* Generic pages */
.page { padding: 60px 0 100px; }
.page h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
