/* Irias portfolio. One sans, charcoal type, the red sampled from the logo mark. */

:root {
	--ivory: #f3eee6;
	--paper: #faf7f2;
	--charcoal: #1c1b19;
	--muted: #5c574f;
	--line: #ddd4c6;
	--red: #e81c24;
	--red-dark: #c41218;
	--font: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
	--wrap: 1120px;
	--header: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body.irias-theme {
	margin: 0;
	background: var(--ivory);
	color: var(--charcoal);
	font-family: var(--font);
	font-size: 1.05rem;
	line-height: 1.55;
}

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

a { color: inherit; }

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

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--charcoal);
	color: var(--paper);
	padding: 0.5rem 0.8rem;
	z-index: 80;
}

.skip-link:focus { top: 0.5rem; color: var(--paper); }

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 2.5rem)); margin-inline: auto; }

h1, h2, h3 {
	font-family: var(--font);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.05rem, 3.4vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
h3 { font-size: 1.12rem; font-weight: 700; }

p { margin: 0 0 0.9rem; }

.kicker, .lede, .hero__area, .fine, .field__hint, .form-note, .optional {
	font-family: var(--font);
}

.kicker {
	margin: 0 0 0.8rem;
	color: var(--red);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.kicker a { text-decoration: none; }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.7rem 1.15rem;
	border: 1px solid var(--charcoal);
	background: transparent;
	color: var(--charcoal);
	text-decoration: none;
	font: 600 0.92rem/1 var(--font);
	cursor: pointer;
}

.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; }
.btn--block { width: 100%; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(243, 238, 230, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.announce {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.35rem 1rem;
	background: var(--charcoal);
	color: var(--paper);
	font-size: 0.82rem;
	text-align: center;
}

.announce a { color: #fff; }

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--header);
	width: min(1180px, calc(100% - 2rem));
	margin-inline: auto;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--charcoal);
	margin-right: auto;
}

.brand img {
	width: 2.4rem;
	height: 2.4rem;
	mix-blend-mode: multiply;
}

.brand strong {
	display: block;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.1;
}

.brand small {
	display: block;
	color: var(--muted);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.primary-nav ul {
	display: flex;
	gap: 1.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav a {
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
}

.primary-nav a[aria-current="page"] { font-weight: 700; }

.nav-toggle {
	display: none;
	border: 1px solid var(--charcoal);
	background: transparent;
	min-height: 2.5rem;
	padding: 0 0.8rem;
	font: 600 0.9rem/1 var(--font);
}

.hero, .page-hero--split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: stretch;
	background: var(--paper);
}

.hero__media, .page-hero__media {
	position: relative;
	min-height: 22rem;
	overflow: hidden;
}

.hero__media picture, .page-hero__media picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.hero__media img, .page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__copy, .page-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.25rem 4.5vw;
}

.hero__actions, .page-hero__copy .hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0 0.4rem; }

.hero__area { color: var(--muted); font-size: 0.95rem; margin-top: 0.8rem; }

.band { padding: 4.2rem 0; }
.band--paper { background: var(--paper); }

.band__head, .project-card__links, .text-links {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
}
.band__head .fine { margin: 0; max-width: 28rem; text-align: right; }

.band__head a, .project-card__links a, .text-links a { font-weight: 600; }

.service-grid, .project-grid, .review-grid, .town-grid {
	list-style: none;
	margin: 1.4rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.project-grid, .review-grid { grid-template-columns: repeat(3, 1fr); }
.town-grid { grid-template-columns: repeat(3, 1fr); }

.service-card, .review, .town-grid li, .estimate__panel, .project-card {
	background: var(--paper);
	border: 1px solid var(--line);
}

.band--paper .service-card, .band--paper .project-card { background: var(--ivory); }

.service-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.3rem 1.2rem 1.1rem;
	text-decoration: none;
}

.service-card span { margin-top: auto; color: var(--red); font-weight: 600; font-size: 0.92rem; }

.project-card__media { display: block; overflow: hidden; }
.project-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.project-card__media picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { padding: 1rem 1rem 1.15rem; }
.project-card__town { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.project-card__links { font-size: 0.92rem; }

.commercial-band { padding: 0 0 4rem; }
.commercial-band__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
	background: var(--charcoal);
	color: var(--paper);
	padding: 0;
}
.commercial-band__grid > div:first-child { position: relative; min-height: 22rem; overflow: hidden; }
.commercial-band__grid picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.commercial-band__grid img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.commercial-band__grid > div:last-child { padding: 2.5rem 2.5rem 2.5rem 0; }
.commercial-band .kicker { color: var(--red); }
.commercial-band a.btn--primary:hover { color: #fff; }

.town-grid li { padding: 1.35rem 1.25rem 1.2rem; min-height: 10.5rem; }
.town-card__label { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.town-grid h2 { margin-bottom: 0.4rem; font-size: 1.35rem; }
.town-grid p { margin: 0; color: var(--muted); }
.fine { color: var(--muted); font-size: 0.92rem; }

.areas-hero { padding: 3.4rem 0 2.4rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.areas-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: end; }
.areas-hero h1 { max-width: 12ch; }
.areas-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.55rem; }
.areas-chips a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	border: 1px solid var(--line);
	background: var(--ivory);
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.areas-chips a:hover { border-color: var(--red); color: var(--red); }
.areas-note { max-width: 40rem; }
.areas-note .text-links { justify-content: flex-start; flex-wrap: wrap; margin-top: 0.8rem; }

.reviews { padding: calc(var(--header) + 2.2rem) 0 3.2rem; background: var(--paper); border-top: 1px solid var(--line); }
.reviews__head { max-width: 32rem; margin-bottom: 1.4rem; }
.reviews__head h2 { margin: 0; }
.reviews__layout { display: grid; grid-template-columns: 16.5rem 1fr; gap: 1rem; align-items: stretch; }
.reviews__scorecard, .reviews__quote {
	background: var(--ivory);
	border: 1px solid var(--line);
	padding: 1.5rem 1.4rem 1.35rem;
	min-height: 15.5rem;
}
.reviews__score { margin: 0; font-size: 3.1rem; font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; }
.reviews__stars { margin: 0.4rem 0 0.15rem; color: var(--red); letter-spacing: 0.08em; font-size: 1.05rem; line-height: 1; }
.reviews__rating { margin: 0; font-weight: 700; font-size: 0.95rem; }
.reviews__meta { margin: 0.2rem 0 0.9rem; color: var(--muted); font-size: 0.88rem; }
.reviews__scorecard .btn { min-height: 2.4rem; padding: 0.45rem 0.85rem; font-size: 0.85rem; }
.reviews__quote { display: flex; flex-direction: column; }
.reviews__quote p { margin: 0 0 1.1rem; font-size: 1.18rem; line-height: 1.45; }
.reviews__quote footer {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: auto;
	color: var(--charcoal);
	font-size: 0.92rem;
	font-weight: 700;
}
.reviews__initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	flex: 0 0 2.4rem;
	background: var(--charcoal);
	color: var(--paper);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}
.reviews__quote footer span span { display: block; color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.reviews__quote a { margin-top: 0.75rem; font-weight: 600; font-size: 0.88rem; }

.page-hero--plain { padding: 3.5rem 0 1rem; }
.page-hero--plain h1 { max-width: 16ch; }

.prose h2 { margin-top: 2rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.offer-list { padding-left: 1.1rem; }
.offer-list strong { font-family: var(--font); font-size: 1rem; font-weight: 700; margin-right: 0.35rem; }

.estimate { padding: 2.6rem 0 3.4rem; background: var(--ivory); border-top: 1px solid var(--line); }
.estimate__grid { width: min(760px, calc(100% - 2.5rem)); }
.estimate__panel { padding: 1.35rem 1.35rem 1.15rem; background: var(--paper); border: 1px solid var(--line); }
.estimate__panel .kicker { margin-bottom: 0.4rem; }
.estimate__panel h2 { margin-bottom: 0.35rem; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.estimate__lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; max-width: 38rem; }
.estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.7rem; }
.field { display: grid; gap: 0.18rem; }
.field--full, .form-actions { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
	width: 100%;
	border: 1px solid #c9bfb0;
	background: #fff;
	color: var(--charcoal);
	font: 0.95rem/1.3 var(--font);
	padding: 0.4rem 0.55rem;
	border-radius: 0;
	min-height: 2.25rem;
}
.field textarea { min-height: 3.4rem; resize: vertical; }
.field--file input { padding: 0.28rem 0.4rem; font-size: 0.85rem; }
.form-actions { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.15rem; }
.form-actions .btn { min-height: 2.35rem; padding: 0.45rem 0.9rem; }
.form-actions .form-note { margin: 0; }
.field__static { margin: 0; padding: 0.7rem 0.75rem; background: #fff; border: 1px solid #c9bfb0; }
.field--check label { font-weight: 500; display: flex; gap: 0.55rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: 0.25rem; }
.field__hint, .form-note { color: var(--muted); font-size: 0.86rem; }
.estimate-hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.pac-container { z-index: 80; font-family: var(--font); }
.js-commercial-field[hidden] { display: none; }

.alert { padding: 0.9rem 1rem; border: 1px solid var(--line); }
.alert--success { background: #e7f0e4; border-color: #b7d0b0; }
.alert--error { background: #f8e6e4; border-color: #e2b2ad; }
.estimate-notice { padding-top: 1rem; }
.estimate-thanks { padding: 3.2rem 0 4.2rem; }
.estimate-thanks h1 { margin-bottom: 0.75rem; }
.estimate-thanks .lede { font-size: 1.12rem; max-width: 38rem; }
.estimate__panel .estimate-thanks h2,
.estimate__panel > h2#estimate-title-thanks { margin-bottom: 0.6rem; }
body.lead-received .sticky-estimate { display: none !important; }

.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 6rem; background: var(--paper); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { font-weight: 600; }
.site-footer h2 { font-size: 1.4rem; }
.footer-bottom { margin-top: 1.5rem; color: var(--muted); font-size: 0.88rem; }

.sticky-estimate { display: none; }

.cookie-bar[hidden] { display: none !important; }
.cookie-bar {
	position: static;
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 0.55rem 1rem;
	background: var(--charcoal);
	color: var(--paper);
	font-size: 0.88rem;
}
.cookie-bar a { color: #fff; }
.cookie-bar button { border: 0; background: #fff; color: var(--charcoal); padding: 0.45rem 0.7rem; font: 600 0.85rem/1 var(--font); }

.legal-page .prose { padding-bottom: 3rem; }
.legal-page .page-hero { padding-top: 2.5rem; }

@media (max-width: 980px) {
	.service-grid, .project-grid, .review-grid, .town-grid, .site-footer__grid { grid-template-columns: 1fr 1fr; }
	.hero, .page-hero--split, .commercial-band__grid, .reviews__layout, .areas-hero__grid { grid-template-columns: 1fr; }
	.page-hero--split .page-hero__media { order: -1; }
	.commercial-band__grid > div:last-child { padding: 1.5rem; }
	.header-cta { display: none; }
}

@media (max-width: 760px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 0.5rem 1rem 1rem; }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; gap: 0.2rem; }
	.primary-nav a { display: block; padding: 0.7rem 0; }
	.service-grid, .project-grid, .town-grid, .site-footer__grid, .estimate-form, .areas-chips { grid-template-columns: 1fr; }
	.band__head { flex-direction: column; align-items: flex-start; }
	.band__head .fine { text-align: left; }
	.field--full, .form-actions { grid-column: auto; }
	.form-actions { align-items: stretch; flex-direction: column; }
	.hero__copy, .page-hero__copy { padding: 1.6rem 1.25rem 2rem; }
	.sticky-estimate {
		display: block;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 40;
		padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
		background: rgba(243, 238, 230, 0.96);
		border-top: 1px solid var(--line);
	}
	body.irias-theme { padding-bottom: 4.5rem; }
	.cookie-bar { flex-direction: column; align-items: stretch; }
}
