/* ===============================================================
   Tile Surrounds — Home (front-page only)
   =============================================================== */

/* HERO */
.hero {
	position: relative;
	min-height: min(860px, 92vh);
	color: #FAF7F2;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	isolation: isolate;
}
.hero-photo {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover;
	background-position: center;
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.55) 100%);
}
.hero-inner {
	width: 100%;
	padding: 0 var(--gutter) 96px;
	max-width: var(--maxw);
	margin: 0 auto;
}
.hero-eyebrow { color: rgba(250, 247, 242, 0.9); margin-bottom: 28px; }
.hero-eyebrow::before { background: rgba(250, 247, 242, 0.9); }
.hero h1 { color: #FAF7F2; max-width: 14ch; text-wrap: balance; }
.hero h1 em { color: rgba(250, 247, 242, 0.92); font-weight: 500; }
.hero-sub {
	margin-top: 28px;
	max-width: 52ch;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(250, 247, 242, 0.86);
}
.hero-cta-row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
	position: absolute;
	bottom: 32px; right: var(--gutter);
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(250, 247, 242, 0.7);
	text-align: right;
	line-height: 1.6;
}

/* VALUE STRIP */
.values { border-bottom: 1px solid var(--hairline); }
.values-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.value { padding: 56px 36px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--hairline); }
.value:last-child { border-right: 0; }
.value-icon { width: 32px; height: 32px; color: var(--accent); }
.value-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.value-title { font-family: var(--serif); font-size: 22px; line-height: 1.15; letter-spacing: -0.005em; }
.value-body { font-size: 13.5px; color: var(--muted); line-height: 1.55; max-width: 28ch; }

/* SECTION HEADER */
.section { padding: 128px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.section-head h2 { max-width: 16ch; text-wrap: balance; }
.section-head .lede { color: var(--muted); font-size: 16px; max-width: 46ch; line-height: 1.65; }
.section-head .eyebrow { margin-bottom: 20px; display: block; }

/* MASONRY */
.masonry { column-count: 3; column-gap: 24px; }
.masonry-item {
	break-inside: avoid;
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
	background: var(--bg-warm);
}
.masonry-item img { width: 100%; height: auto; display: block; transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
	opacity: 0;
	transition: opacity 240ms ease;
	pointer-events: none;
}
.masonry-item:hover::after { opacity: 1; }
.masonry-caption {
	position: absolute; left: 20px; right: 20px; bottom: 18px;
	color: #FAF7F2;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0; transform: translateY(8px);
	transition: opacity 240ms ease, transform 240ms ease;
	display: flex; justify-content: space-between; gap: 12px;
	z-index: 2;
}
.masonry-item:hover .masonry-caption { opacity: 1; transform: translateY(0); }
.masonry-caption .loc { font-weight: 500; }
.masonry-caption .yr  { opacity: 0.75; }

.gallery-footer { margin-top: 56px; display: flex; justify-content: center; }

/* PROCESS */
.process { background: var(--bg-warm); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.process-card {
	background: var(--bg);
	border: 1px solid var(--hairline);
	padding: 48px 36px;
	display: flex; flex-direction: column; gap: 18px;
	min-height: 320px;
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.process-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 40px -28px rgba(42, 42, 42, 0.35); }
.process-num { font-family: var(--serif); font-style: italic; font-size: 38px; color: var(--accent); line-height: 1; }
.process-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.process-body { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.process-card .meta {
	margin-top: auto;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-soft);
	padding-top: 24px;
	border-top: 1px solid var(--hairline);
}

/* SERVICE AREAS */
.areas-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.area-map { position: relative; aspect-ratio: 5 / 4; background: var(--bg-warm); border: 1px solid var(--hairline); padding: 32px; }
.area-map svg { width: 100%; height: 100%; display: block; }
.map-legend {
	position: absolute; bottom: 24px; left: 32px;
	display: flex; align-items: center; gap: 18px;
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.map-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.areas-list { display: flex; flex-direction: column; gap: 28px; }
.area-state-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center;
	padding: 9px 16px;
	border: 1px solid var(--hairline);
	border-radius: 999px;
	font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
	background: var(--bg);
}
.areas-note { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 38ch; }

/* WHY */
.why { background: var(--ink); color: var(--bg); }
.why .eyebrow { color: rgba(250, 247, 242, 0.7); }
.why .eyebrow::before { background: rgba(250, 247, 242, 0.7); }
.why h2 { color: var(--bg); }
.why .lede { color: rgba(250, 247, 242, 0.7); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-photo {
	aspect-ratio: 4 / 5;
	background-size: cover;
	background-position: center;
	background-color: var(--bg-warm);
	position: relative;
}
.why-photo::after {
	content: ""; position: absolute; inset: 24px -24px -24px 24px;
	border: 1px solid rgba(250, 247, 242, 0.18);
	z-index: -1;
}
.why-content { display: flex; flex-direction: column; gap: 28px; }
.why-content p { font-size: 16px; line-height: 1.7; color: rgba(250, 247, 242, 0.82); max-width: 50ch; }
.pull {
	font-family: var(--serif);
	font-style: italic;
	font-size: 30px;
	line-height: 1.3;
	color: var(--bg);
	padding: 28px 0 0 0;
	border-top: 1px solid rgba(250, 247, 242, 0.18);
	margin: 14px 0 0 0;
	max-width: 26ch;
	text-wrap: balance;
}
.pull-attr {
	display: block;
	margin-top: 18px;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(250, 247, 242, 0.55);
	font-style: normal;
}

/* CTA BAND */
.cta-band { padding: 112px 0; text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 18px auto 28px; text-wrap: balance; }
.cta-band .sub { color: var(--muted); max-width: 46ch; margin: 0 auto 36px; font-size: 16px; line-height: 1.6; }
.cta-band .row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============= RESPONSIVE — HOME ============= */
@media (max-width: 820px) {
	.hero { min-height: auto; display: block; }
	.hero-photo { position: relative; inset: auto; height: 520px; }
	.hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.35) 100%); bottom: auto; height: 520px; }
	.hero-inner { padding: 40px var(--gutter) 56px; color: var(--ink); position: relative; }
	.hero h1 { color: var(--ink); font-size: 44px; max-width: none; }
	.hero h1 em { color: var(--accent); }
	.hero-sub { color: var(--muted); font-size: 15px; }
	.hero-eyebrow { color: var(--muted); margin-bottom: 18px; }
	.hero-eyebrow::before { background: var(--muted); }
	.hero-cta-row { margin-top: 28px; flex-direction: column; align-items: stretch; }
	.hero-cta-row .btn { justify-content: center; }
	.btn-ghost { color: var(--ink); border-color: var(--ink); }
	.btn-ghost:hover { background: var(--ink); color: var(--bg); }
	.hero-meta { display: none; }

	.values-inner { grid-template-columns: 1fr 1fr; }
	.value { padding: 32px 24px; }
	.value:nth-child(2) { border-right: 0; }
	.value:nth-child(1), .value:nth-child(2) { border-bottom: 1px solid var(--hairline); }
	.value-title { font-size: 19px; }

	.section { padding: 72px 0; }
	.section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }

	.masonry { column-count: 1; column-gap: 0; }
	.masonry-item { margin-bottom: 16px; }
	.masonry-caption { opacity: 1; transform: none; }
	.masonry-item::after { opacity: 0.6; }

	.process-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
	.process-card { min-height: 0; padding: 32px 28px; }
	.process-title { font-size: 24px; }

	.areas-grid { grid-template-columns: 1fr; gap: 36px; }
	.area-map { padding: 20px; }

	.why-grid { grid-template-columns: 1fr; gap: 32px; }
	.why-photo { aspect-ratio: 4 / 3; }
	.pull { font-size: 24px; }

	.cta-band { padding: 72px 0; }
}
