/* styles.css — the default site: warm white, ink text, one deep green; sans-serif throughout,
   photography in rounded frames, generous air. The generic starting point every business
   begins from, and the worked example of the site contract (docs/WEBSITE.md): the four tokens
   below are what every module's pages (booking, sign-in, documents) read; the primitives come
   from /base.css, linked before this file. */

:root {
	--bg: #FBFAF7;
	--text: #1C2430;
	--accent: #1F6F5F;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--surface: #FFFFFF;
	--line: #E6E2DA;
	--muted: #6B7280;
	--accent-text: #1B5F52;
	--radius: 18px;
	--radius-sm: 12px;
	--wrap: 74rem;
	--shadow: 0 1px 2px rgba(28, 36, 48, 0.04), 0 14px 40px rgba(28, 36, 48, 0.07);

	--tint: #EEF4F1;
}

body { font-size: 1.05rem; line-height: 1.65; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.2rem; }

.eyebrow { color: var(--accent-text); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

/* Header ---------------------------------------------------------------- */

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(251, 250, 247, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
	text-decoration: none;
}
.brand-mark {
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	background: var(--accent);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 0.95rem;
	font-weight: 800;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2rem); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav a.button { padding: 0.6rem 1.15rem; font-size: 0.9rem; color: var(--accent-contrast); }

/* Hero ------------------------------------------------------------------ */

.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero .actions { margin-top: 1.9rem; }
.hero-photo { position: relative; }
.hero-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--radius) + 8px);
	box-shadow: var(--shadow);
}
.hero-note {
	position: absolute;
	left: -1.25rem;
	bottom: 1.5rem;
	padding: 0.85rem 1.1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	font-size: 0.9rem;
	line-height: 1.35;
}
.hero-note strong { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }

/* Bands ----------------------------------------------------------------- */

.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-head { max-width: 40rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.band-head p { color: var(--muted); }
.band--tint { background: var(--tint); }

/* Service cards --------------------------------------------------------- */

.services-grid {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.service-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); }
.service-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-body { padding: 1.4rem 1.5rem 1.6rem; }
.service-body h3 { margin: 0 0 0.35rem; }
.service-body p { margin: 0 0 1rem; color: var(--muted); font-size: 0.97rem; }
.service-link { font-weight: 600; color: var(--accent-text); }

/* Split ----------------------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.split img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.split p { color: var(--muted); }
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: start; }
.checklist li::before {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
	border-radius: 50%;
	background: var(--tint);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6F5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	background-size: 0.7rem;
	background-position: center;
	background-repeat: no-repeat;
}

/* Visit ----------------------------------------------------------------- */

.visit {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4rem;
}
.visit .card h3 { margin-bottom: 0.9rem; }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.visit dt { color: var(--muted); }
.visit dd { margin: 0; text-align: right; font-weight: 600; }
.visit-line { margin: 0 0 0.5rem; }
.visit-line a { color: var(--accent-text); text-decoration: none; font-weight: 600; }

/* CTA ------------------------------------------------------------------- */

.cta { text-align: center; max-width: 38rem; margin-inline: auto; }
.cta p { color: var(--muted); }
.cta .actions { justify-content: center; }

/* Contact page ---------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }

/* Footer ---------------------------------------------------------------- */

.foot { border-top: 1px solid var(--line); background: var(--surface); font-size: 0.9rem; color: var(--muted); }
.foot-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 2rem;
	padding-block: 1.6rem;
}
.foot-contact, .foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent-text); }

@media (max-width: 56rem) {
	.hero-grid, .split, .visit, .contact-grid { grid-template-columns: 1fr; }
	.hero-note { left: 1rem; }
	.nav a:not(.button) { display: none; }
}

.visit-later { margin-top: 1.6rem; }
.visit-hours { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.visit-hours dt { color: var(--muted); }
.visit-hours dd { margin: 0; text-align: right; font-weight: 600; }
