/* Bright 'N Clean — site styles. Hand-written, no build step. */

:root {
	--paper: #FBF8F1;
	--ink: #16323A;
	--teal: #23716F;
	--butter: #F6E7A8;
	--butter-deep: #F1DD8A;
	--butter-line: #EAD789;
	--mint: #D6EEEC;
	--sand: #EFE8D6;
	--sand-soft: #F3EEE1;
	--line: #ECE5D3;
	--line-strong: #DDD5C2;
	--muted: #3A5157;
	--muted-soft: #5F7479;
	--on-dark-soft: #BFD3D4;
	--star: #B88A12;
	--open: #2E9E6A;
	--closed: #C2553D;

	--display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
	--body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--gutter: 20px;
	--section: clamp(56px, 9vw, 96px);
	--radius: 28px;
	--actionbar: 0px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.5 var(--body);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- Layout primitives ---------- */

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--sm { gap: 12px; }
.stack--lg { gap: 32px; }

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
}

.section { padding-block: var(--section); }
.section--flush { padding-top: 0; }
.section__head {
	display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between;
	margin-bottom: 40px;
}
.section__intro { margin-bottom: 32px; }

.band--dark { background: var(--ink); color: var(--paper); }
.band--mint { background: var(--mint); }
.band--butter { background: var(--butter); }
.band__inner { padding-block: clamp(56px, 9vw, 88px); }

/* ---------- Type ---------- */

.display { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.display--xl { font-weight: 800; font-size: clamp(52px, 8vw, 112px); line-height: .92; letter-spacing: -.035em; }
.display--lg { font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.03em; }
.display--md { font-size: clamp(36px, 4.4vw, 60px); }
/* a long, keyword-bearing headline needs a calmer size than a two-word one */
.display--long { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
.display--sm { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.02em; }

.eyebrow {
	font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--teal); line-height: 1.5;
}
.eyebrow--light { color: var(--butter); }

.lead { font-size: 19px; color: var(--muted); max-width: 58ch; }
.lead--lg { font-size: 20px; line-height: 1.55; }
.band--butter .lead { color: var(--ink); }

.link-strong { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px;
	border: 1.5px solid transparent; border-radius: 999px;
	font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--butter { background: var(--butter); color: var(--ink); }
.btn--butter:hover { background: var(--paper); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--white:hover { border-color: var(--ink); color: var(--ink); }

.round {
	width: 48px; height: 48px; border-radius: 50%;
	border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
	font-size: 18px; cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.round:hover { background: var(--ink); color: var(--mint); }

/* ---------- Alert, utility bar, header ---------- */

.alert {
	background: var(--ink); color: var(--paper);
	padding: 14px var(--gutter); display: flex; gap: 16px; align-items: flex-start; justify-content: center;
}
.alert__text { max-width: 880px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.alert__close {
	flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
	background: none; border: 1px solid rgba(251, 248, 241, .4); color: var(--paper);
	font-size: 16px; line-height: 1; cursor: pointer;
}

.utility { background: var(--butter); border-bottom: 1px solid var(--butter-line); font-size: 14px; font-weight: 500; }
.utility__inner {
	padding-block: 10px;
	display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
}
.utility__contact { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.utility__contact a { color: var(--ink); font-weight: 700; }

.status { display: flex; align-items: center; gap: 8px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--closed); flex-shrink: 0; }
.status__dot.is-open { background: var(--open); }

.header {
	position: sticky; top: 0; z-index: 20;
	background: rgba(251, 248, 241, .94); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.header__inner {
	padding-block: 14px;
	display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
}
.header__logo img { height: clamp(34px, 8vw, 44px); width: auto; }

.tcms-menu__list { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tcms-menu__link {
	display: block; padding: 9px 16px; border-radius: 999px;
	color: var(--ink); font-weight: 600; font-size: 15px;
}
.tcms-menu__link:hover { background: var(--sand); color: var(--ink); text-decoration: none; }
.tcms-menu__link.is-current { background: var(--butter); }

.menu-toggle {
	height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
	background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; cursor: pointer;
}

/* ---------- Home: hero ---------- */

.hero {
	padding-block: clamp(28px, 6vw, 56px) 40px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 40px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; max-width: 30ch; color: var(--muted); }
.hero__media { position: relative; }
.hero__frame { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; }
.hero__pause {
	position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: rgba(251, 248, 241, .9); cursor: pointer;
	display: grid; place-items: center;
}
/* pause bars; a play triangle once paused */
.hero__pause::before { content: ''; width: 12px; height: 14px; border-inline: 4px solid var(--ink); }
.hero__pause[aria-pressed='true']::before { width: 0; height: 0; border: 8px solid transparent; border-left: 13px solid var(--ink); border-right: 0; margin-left: 3px; }
.hero__card {
	position: absolute; left: -12px; bottom: 16px; max-width: min(320px, calc(100% - 16px));
	background: var(--paper); border-radius: 20px; padding: 18px 22px;
	box-shadow: 0 12px 32px rgba(22, 50, 58, .16);
	display: flex; flex-direction: column; gap: 4px;
	font-size: 14px; color: var(--muted);
}
.hero__card strong { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--ink); white-space: nowrap; }

/* ---------- Home: pillars ---------- */

.pillars {
	padding-block: 24px clamp(56px, 8vw, 80px);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px;
}
.pillar { border-radius: 24px; padding: 32px; min-height: 240px; display: flex; flex-direction: column; gap: 20px; }
.pillar--1 { background: var(--butter); }
.pillar--2 { background: var(--mint); }
.pillar--3 { background: var(--sand); }
.pillar__title { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.pillar__lines { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.pillar__lines li { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }

/* ---------- Media ---------- */

.media { width: 100%; object-fit: cover; border-radius: var(--radius); }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--4x5 { aspect-ratio: 4 / 5; max-height: 560px; }

.facts {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
	border-top: 1px solid rgba(251, 248, 241, .2); padding-top: 24px;
}
.facts--stack { grid-template-columns: 1fr; }
.facts a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.facts dt { font-size: 14px; color: var(--on-dark-soft); }
.facts dd { font-size: 20px; font-weight: 600; margin-top: 4px; }

/* ---------- Home: featured services ---------- */

.features { display: flex; flex-wrap: wrap; gap: 12px; }
.feature {
	position: relative; overflow: hidden; flex: 1 1 300px; min-height: 420px;
	border-radius: var(--radius); background: var(--ink); color: var(--paper);
	display: flex; align-items: flex-end;
}
.feature:hover { color: var(--paper); text-decoration: none; }
.feature--lead { flex: 2 1 520px; }
.feature--small { flex: 1 1 260px; min-height: 300px; }
.feature picture { position: absolute; inset: 0; }
.feature__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.feature:hover .feature__img { transform: scale(1.03); }
.feature::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(22, 50, 58, 0) 30%, rgba(22, 50, 58, .9) 100%);
}
.feature__text { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.feature__title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; }
.feature--lead .feature__title { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.02em; }
.feature__detail { font-size: 16px; line-height: 1.45; }
.feature--chips { background: var(--butter); color: var(--ink); flex-direction: column; align-items: stretch; padding: 28px; gap: 18px; }
.feature--chips::after { content: none; }
.chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border-radius: 999px; padding: 9px 14px; font-size: 15px; font-weight: 600; }

/* ---------- Home: photo strip ---------- */

.strip {
	padding-bottom: var(--section);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px;
}
.strip__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.strip__link {
	aspect-ratio: 3 / 4; border-radius: 20px; padding: 28px;
	background: var(--butter); color: var(--ink);
	display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
	font-size: 15px; font-weight: 600; transition: background-color .15s;
}
.strip__link:hover { background: var(--butter-deep); color: var(--ink); text-decoration: none; }
.strip__title { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05; }

/* ---------- Home: reviews carousel ---------- */

.carousel { display: flex; flex-direction: column; gap: 28px; min-height: 340px; }
.carousel__source { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.carousel__slide { display: flex; flex-direction: column; gap: 24px; }
.carousel__slide + .carousel__slide { margin-top: 40px; }
.js .carousel__slide { margin-top: 0; }
.js .carousel__slide:not(.is-active) { display: none; }
.carousel__quote {
	font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.2; letter-spacing: -.015em; text-wrap: pretty;
}
.carousel__name { font-weight: 700; font-size: 17px; }
.carousel__nav { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.carousel__count { font-size: 14px; margin-left: 8px; }
.carousel__nav .link-strong { margin-left: auto; }

.stars { font-size: 22px; letter-spacing: 4px; color: var(--star); line-height: 1; }
.stars--sm { font-size: 16px; letter-spacing: 3px; }

.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }

/* ---------- Awards ---------- */

.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 16px; }
.award { display: flex; flex-direction: column; gap: 10px; }
.award__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--sand); }
.award__caption { display: flex; flex-direction: column; gap: 2px; }
.award__year { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; }
.award__title { font-size: 14px; line-height: 1.35; font-weight: 600; }
.award__source { font-size: 13px; color: var(--muted); }
a.award__source { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page heads ---------- */

.page-head { padding-block: clamp(40px, 7vw, 72px) 40px; display: flex; flex-direction: column; gap: 20px; }
.page-head--row { flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.page-head--split {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(32px, 4vw, 48px); align-items: end; padding-bottom: 48px;
}
.page-head--center { align-items: center; padding-bottom: 64px; }

/* ---------- Services ---------- */

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
/* a short list (steps) stretches to fill the row instead of leaving a gap */
.services--fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.service {
	background: var(--sand-soft); border-radius: 24px; padding: 28px; min-height: 220px;
	display: flex; flex-direction: column; gap: 14px;
}
.service:nth-child(4n + 1) { background: var(--butter); }
.service:nth-child(4n + 3) { background: var(--mint); }
.service:target { outline: 3px solid var(--teal); outline-offset: 3px; }
.service__num { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--teal); }
.service__title { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; margin-top: auto; }
.service__lines { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.service__more { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Facility gallery + lightbox ---------- */

.gallery { columns: 3 280px; column-gap: 12px; }
.gallery__item { display: block; margin-bottom: 12px; break-inside: avoid; cursor: zoom-in; }
.gallery__item img { width: 100%; border-radius: 18px; background: var(--sand); }

.lightbox {
	position: fixed; inset: 0; z-index: 50; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 24px 24px 96px; border: 0;
	background: rgba(14, 30, 34, .94);
	display: flex; align-items: center; justify-content: center;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; touch-action: pan-y; }
.lightbox__btn {
	position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); width: 52px; height: 52px;
	border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer;
}
.lightbox__btn--prev { left: 20px; }
.lightbox__btn--next { right: 20px; }
.lightbox__btn--close { left: 50%; transform: translateX(-50%); }

/* ---------- Reviews ---------- */

.reviews { columns: 3 300px; column-gap: 16px; }
.review {
	break-inside: avoid; margin-bottom: 16px; padding: 26px;
	background: #fff; border: 1px solid var(--line); border-radius: 22px;
	display: flex; flex-direction: column; gap: 14px;
}
.review__text { line-height: 1.5; text-wrap: pretty; overflow-wrap: anywhere; }
.review__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.review__name { font-weight: 700; }
.review__meta time { color: var(--muted-soft); white-space: nowrap; }

.pager { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; }
.pager__count { font-size: 14px; color: var(--muted-soft); }

/* ---------- About ---------- */

.numbers {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	border-top: 2px solid var(--ink);
}
.number { padding-block: 28px; display: flex; flex-direction: column-reverse; gap: 6px; }
.number dd {
	font-family: var(--display); font-weight: 800; font-size: clamp(72px, 9vw, 128px);
	line-height: .9; letter-spacing: -.04em; color: var(--teal);
}
.number dt { font-size: 19px; font-weight: 600; }

.map {
	margin-top: 24px; min-height: 460px; border-radius: 24px; overflow: hidden;
	background: var(--mint); display: flex;
}
.map__facade { margin: auto; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.map__address { font-size: 19px; line-height: 1.45; }
.map__note { font-size: 15px; color: var(--muted); max-width: 40ch; }
.map iframe { width: 100%; min-height: 460px; border: 0; display: block; }

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

.contact {
	padding-block: clamp(40px, 7vw, 72px) var(--section);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: clamp(32px, 5vw, 56px); align-items: start;
}
.details {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 24px;
	border-top: 1px solid var(--line-strong); padding-top: 28px;
}
.details dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-soft); margin-bottom: 6px; }
.details dd { display: flex; flex-direction: column; gap: 6px; line-height: 1.45; }
.details dd a { color: var(--ink); }
.details small { font-size: 14px; color: var(--muted-soft); }
.details__strong { font-weight: 600; }
.details__holidays { grid-column: 1 / -1; background: var(--butter); border-radius: 16px; padding: 16px 20px; }
.details__holidays dt { color: var(--ink); }
.details__holidays dd { display: block; font-size: 16px; }
.details__holidays dd + dd { margin-top: 4px; }

.form {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(22px, 5vw, 36px); display: flex; flex-direction: column; gap: 18px;
}
.form__title { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.01em; line-height: 1.1; }
.form__error { background: #FBE9E4; color: #8A2E1B; border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.form .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
/* 16px inputs stop iOS zooming the page on focus */
.field input, .field textarea {
	font: 400 16px var(--body); padding: 14px 16px;
	border: 1px solid #D5CDB8; border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding-block: clamp(56px, 10vw, 120px); display: flex; flex-direction: column; gap: 20px; }

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

.footer { background: var(--ink); color: var(--paper); padding-bottom: var(--actionbar); }
.footer__inner { padding-block: clamp(40px, 7vw, 72px) 32px; display: flex; flex-direction: column; gap: 56px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer__logo { height: 48px; width: auto; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__col a { color: var(--paper); }
.footer__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--butter); }
.footer__social { display: flex; gap: 16px; margin-top: 6px; }
.footer__social a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
	display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
	border-top: 1px solid rgba(251, 248, 241, .18); padding-top: 24px;
	font-size: 14px; color: var(--on-dark-soft);
}

.actionbar { display: none; }

.dev-badge {
	position: fixed; left: 12px; bottom: calc(12px + var(--actionbar)); z-index: 40;
	background: #B3261E; color: #fff; font: 700 12px/1 var(--body); letter-spacing: .06em;
	padding: 8px 12px; border-radius: 999px; pointer-events: none; opacity: .92;
}

/* ---------- Menu collapse ----------
   The menu turns into the Menu button before it can wrap onto a second row.
   Seven items plus the logo need about 925px; raise this (and the matching
   min-width below) if the menu gets longer. */

@media (max-width: 999px) {
	/* Without JavaScript the menu simply stays open below the logo. */
	.tcms-menu { flex-basis: 100%; }
	.js .tcms-menu { display: none; }
	.js .tcms-menu.is-open {
		display: block; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 6px;
		border-top: 1px solid var(--line); max-height: calc(100vh - 140px); overflow: auto;
	}
	.tcms-menu__list { flex-direction: column; align-items: stretch; gap: 0; }
	.tcms-menu__link {
		min-height: 56px; display: flex; align-items: center; border-radius: 14px;
		font: 700 22px var(--display);
	}
}

@media (min-width: 1000px) {
	.menu-toggle { display: none !important; }
	.header__inner, .tcms-menu__list { flex-wrap: nowrap; }
	.tcms-menu__link { white-space: nowrap; }
}

/* ---------- Mobile ---------- */

@media (max-width: 819px) {
	:root { --actionbar: calc(72px + env(safe-area-inset-bottom)); }

	.utility__address { display: none; }

	.hero__card { left: 16px; }
	.feature, .feature--small { min-height: 280px; }
	.awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.carousel { min-height: 0; }
	.map, .map iframe { min-height: 360px; }

	.actionbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(251, 248, 241, .96); backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	}
}

/* ---------- Motion ----------
   Decoration only: every page reads the same without it. Movement is skipped
   for visitors who ask for reduced motion, and the hover effects only exist
   where there is a real pointer, so nothing sticks after a tap. */

/* Nothing inside a column layout (.reviews, .gallery) is moved, scaled or
   faded: Safari repaints the columns wrongly and the cards flash. Those
   lists are revealed as one block instead, and a review only gains a shadow. */

/* A photo that zooms or drifts is clipped by its <picture> */
.strip picture, .award picture, .split > picture { overflow: hidden; }
.strip picture { border-radius: 20px; }
.award picture { border-radius: 14px; }
.split > picture { border-radius: var(--radius); }

.arrow { display: inline-block; transition: transform .3s var(--ease); }

@media (prefers-reduced-motion: no-preference) {
	/* site.js puts .reveal on what is still below the screen, then .is-in as
	   it scrolls into view, and takes both off again once it has settled. */
	.reveal { opacity: 0; translate: 0 20px; }
	.reveal.is-in {
		opacity: 1; translate: 0 0;
		transition: opacity .7s var(--ease) var(--reveal-delay, 0s), translate .7s var(--ease) var(--reveal-delay, 0s);
	}

	.btn:active, .round:active { transform: scale(.97); }

	/* Tied to the scroll position by the browser itself; where that is not
	   supported the photos simply stay still. */
	@supports (animation-timeline: view()) {
		.hero__frame { view-timeline: --hero block; }
		.hero__img { animation: hero-drift linear both; animation-timeline: --hero; animation-range: exit; }
		.split > picture { view-timeline: --photo block; }
		.split > picture .media { animation: photo-settle linear both; animation-timeline: --photo; animation-range: entry 0% cover 50%; }
	}
}

@keyframes hero-drift { to { transform: translateY(3%) scale(1.1); } }
@keyframes photo-settle { from { transform: scale(1.1); } }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.pillar, .service, .feature, .strip__link {
		transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .15s;
	}
	.pillar:hover, .service:hover, .feature:hover, .strip__link:hover {
		transform: translateY(-4px); box-shadow: 0 18px 36px rgba(22, 50, 58, .12);
	}
	.review { transition: box-shadow .35s var(--ease), border-color .35s var(--ease); }
	.review:hover { box-shadow: 0 14px 30px rgba(22, 50, 58, .1); border-color: var(--line-strong); }

	.strip__img, .award__img { transition: transform .6s var(--ease); }
	.strip picture:hover .strip__img, .award:hover .award__img { transform: scale(1.04); }

	.strip__link:hover .arrow { transform: translateX(5px); }
}

/* Desktop menu: an underline drawn from the left instead of the pill */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
	.tcms-menu__link { position: relative; }
	.tcms-menu__link::after {
		content: ''; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px;
		background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
	}
	.tcms-menu__link:not(.is-current):hover { background: transparent; }
	.tcms-menu__link:not(.is-current):hover::after { transform: scaleX(1); }
}

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

@media print {
	.reveal { opacity: 1 !important; translate: none !important; }
	.header, .utility, .alert, .actionbar, .dev-badge, .footer__social { display: none; }
}
