/* =========================================================================
   JJ Property Group — design system v2
   Spruce / Granite / Birch / Copper / Steel — editorial, photo-forward
   ========================================================================= */
:root {
	--spruce: #1e3d2f;
	--spruce-deep: #12261c;
	--granite: #23282c;
	--granite-deep: #1b2023;
	--birch: #f4f4ef;
	--birch-dim: #e4e5dd;
	--copper: #9c5b21;
	--copper-bright: #b56f2e;
	--steel: #5e7e93;
	--steel-deep: #3f5768;
	--ink: #22272a;
	--ink-soft: #495256;
	--hairline: rgba(34,39,42,.22);
	--hairline-light: rgba(255,255,255,.16);

	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--wrap-narrow: 780px;
	--space: clamp(5rem, 10vw, 10rem);
	--space-half: clamp(2.2rem, 4.5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--ink);
	background: var(--birch);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spruce); text-underline-offset: 3px; }
h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 430;
	line-height: 1.06;
	color: var(--spruce-deep);
	margin: 0 0 .55em;
	letter-spacing: -0.015em;
}
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.2rem, 4.5vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--space); }
.section--tight { padding-block: 0 var(--space-half); }
.section--granite { background: var(--granite); color: rgba(244,244,239,.82); }
.section--granite h2, .section--granite h3 { color: var(--birch); }
.section--granite a { color: var(--birch); }

.section__heading { position: relative; padding-top: 1.1rem; margin-bottom: 1.4em; }
.section__heading::before {
	content: ""; position: absolute; top: 0; left: 2px;
	width: 44px; height: 2px; background: var(--copper);
}
.section--granite .section__heading::before { background: var(--copper-bright); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--copper); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* ------------------------------------------------------------------ header */
.site-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(244,244,239,.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--hairline);
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: 88px; }
.site-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.site-brand__mark {
	width: 34px; height: 34px; flex: none;
	background:
		linear-gradient(135deg, var(--spruce) 0 49.6%, transparent 49.6%),
		linear-gradient(135deg, transparent 0 50.4%, var(--steel-deep) 50.4%);
	background-color: var(--copper);
}
.site-brand__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; color: var(--spruce-deep); letter-spacing: -0.01em; white-space: nowrap; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: clamp(1.1rem, 1.8vw, 1.9rem); margin: 0; padding: 0; }
.site-nav a {
	text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; white-space: nowrap;
	padding-block: .4rem; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s;
}
.site-nav a:hover { color: var(--copper); border-bottom-color: var(--copper); }
.site-nav__toggle { display: none; }

/* ----------------------------------------------------------------- buttons */
.btn {
	display: inline-block; padding: .95rem 1.9rem;
	text-decoration: none; font-weight: 600; font-size: .94rem; letter-spacing: .015em;
	border: 1px solid transparent; cursor: pointer; font-family: var(--font-body);
	transition: background .25s, color .25s, border-color .25s;
}
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-bright); }
.btn--steel { background: var(--steel-deep); color: #fff; }
.btn--steel:hover { background: var(--steel); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.text-link { font-weight: 600; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; background: var(--spruce-deep); overflow: hidden; }
.hero__meta, .hero__heading, .hero__sub { text-shadow: 0 1px 26px rgba(10,20,15,.5); }
.hero__meta {
	display: flex; align-items: center; gap: .9rem;
	font-family: var(--font-display); font-style: italic; font-weight: 400;
	font-size: 1.02rem; color: rgba(255,255,255,.78); margin-bottom: 1.6rem;
}
.hero__meta::before { content: ""; width: 40px; height: 1px; background: var(--copper-bright); flex: none; }
.hero__content { position: relative; z-index: 2; padding-block: clamp(5rem, 13vw, 10rem); max-width: 700px; }
.hero__heading { color: #fff; font-size: clamp(2.7rem, 6.5vw, 4.9rem); font-weight: 400; }
.hero__sub { font-size: 1.14rem; line-height: 1.75; max-width: 33em; color: rgba(255,255,255,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Split-season hero */
.hero--split { min-height: min(88vh, 860px); display: flex; align-items: center; }
.hero--split__panes { position: absolute; inset: 0; z-index: 0; }
.hero--split__pane { position: absolute; inset: 0; }
.hero--split__pane img { width: 100%; height: 100%; object-fit: cover; }
.hero--split__pane--winter { clip-path: polygon(0 0, 64% 0, 44% 100%, 0 100%); background: var(--steel-deep); }
.hero--split__pane--summer { clip-path: polygon(64% 0, 100% 0, 100% 100%, 44% 100%); background: var(--spruce); }
.season-summer .hero--split__pane--winter { clip-path: polygon(0 0, 36% 0, 16% 100%, 0 100%); }
.season-summer .hero--split__pane--summer { clip-path: polygon(36% 0, 100% 0, 100% 100%, 16% 100%); }
.hero--split::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(88deg, rgba(14,26,20,.78) 8%, rgba(14,26,20,.5) 46%, rgba(14,26,20,.22) 100%);
}

/* Service hero: photo-forward with bottom-weighted content */
.hero--service { min-height: min(54vh, 560px); display: flex; align-items: center; }
.hero--service .hero__media { position: absolute; inset: 0; }
.hero--service .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--service::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(18,38,28,.38) 0%, rgba(14,26,20,.55) 45%, rgba(12,22,17,.9) 100%);
}
.service--winter .hero--service::after {
	background: linear-gradient(180deg, rgba(27,38,47,.4) 0%, rgba(22,32,40,.58) 45%, rgba(16,24,30,.9) 100%);
}
.hero--service .hero__content { padding-block: clamp(4rem, 8vw, 6.5rem); }
.service--winter .hero { background: var(--steel-deep); }
.hero--plain .hero__content { padding-block: clamp(3rem, 7vw, 5rem); }

/* ------------------------------------------------------------- trust strip */
.trust-strip { background: var(--granite-deep); color: rgba(244,244,239,.85); }
.trust-strip__row { display: flex; flex-wrap: wrap; }
.trust-strip__row p {
	margin: 0; padding: 1.35rem 3rem 1.35rem 0; margin-right: 3rem;
	font-size: .95rem; letter-spacing: .02em;
	border-right: 1px solid var(--hairline-light);
}
.trust-strip__row p:last-child { border-right: 0; margin-right: 0; }

/* --------------------------------------------------- service grid (editorial) */
.service-grid {
	display: grid; gap: 2.2rem;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.service-card {
	display: flex; flex-direction: column;
	text-decoration: none; color: inherit;
	background: #fff; border: 1px solid var(--hairline);
	transition: border-color .25s;
}
.service-card:hover { border-color: rgba(34,39,42,.4); }
.service-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--granite); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__media img, .service-card__img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.service-card:hover .service-card__media img,
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { display: block; padding: 1.3rem 1.4rem 1.5rem; border-top: 1px solid transparent; }
.service-card--in-season { border-color: var(--copper); }
.service-card--in-season .service-card__body { border-top-color: var(--copper); }
.service-card__title {
	display: block; font-family: var(--font-display); font-weight: 460;
	font-size: 1.45rem; color: var(--spruce-deep); letter-spacing: -0.01em;
	transition: color .25s;
}
.service-card:hover .service-card__title { color: var(--copper); }
.service-card__blurb { display: block; color: var(--ink-soft); font-size: .95rem; margin-top: .45rem; line-height: 1.65; }
.service-card__badge {
	display: inline-block; margin-top: .8rem;
	font-family: var(--font-display); font-style: italic; font-size: .95rem; color: var(--copper);
}

/* ------------------------------------------------------------------ splits */
.split { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: 1.15fr .85fr; align-items: start; }
.callout {
	background: rgba(244,244,239,.06);
	border: 1px solid var(--hairline-light);
	padding: 2.2rem 2.4rem;
}
.callout h3 { margin-top: 0; }
.callout--referral { border-top: 2px solid var(--copper-bright); }

.cta-band { text-align: center; }
.cta-band__heading { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18em; margin-inline: auto; margin-bottom: 1.4rem; }

/* --------------------------------------------------- service rail layout */
.service-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 400px;
	gap: clamp(2.5rem, 5vw, 5rem);
	padding-block: var(--space-half) var(--space);
	align-items: start;
}
.service-rail { position: relative; }
.service-rail__inner { position: sticky; top: 106px; }
.service-rail .njl-estimator { padding: 1.7rem 1.6rem; max-width: none; }
.service-rail .njl-estimator__title { font-size: 1.35rem; }
.service-rail .njl-estimator__hint { font-size: .88rem; margin-bottom: 1.2rem; }
.service-rail .njl-options { flex-direction: column; align-items: stretch; gap: .5rem; }
.service-rail .njl-option { padding: .6rem .85rem; font-size: .89rem; }
.service-rail .njl-step { margin-bottom: 1.2rem; }
.service-rail .njl-result__anchor { font-size: 2rem; }
.service-rail .njl-field-row { grid-template-columns: 1fr; gap: 0; }
.service-rail .njl-btn { width: 100%; }
.service-main .service-section:first-of-type { padding-top: 0; }

/* -------------------------------------------------------- service sections */
.jump-nav {
	display: flex; flex-wrap: wrap; gap: .4rem 1.8rem;
	margin-bottom: 2.6rem; padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--hairline);
}
.jump-nav a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); transition: color .25s; }
.jump-nav a:hover { color: var(--copper); }
.service-section { padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }
.service-section + .service-section { border-top: 1px solid var(--hairline); }
.service-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service-section--has-img { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.service-section__media { margin: 0; }
.service-section__media img { width: 100%; }

/* process — genuine sequence */
.process {
	list-style: none; counter-reset: step; margin: 0; padding: 0;
	display: grid; gap: 2.6rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.process__step { counter-increment: step; padding-top: 1.2rem; border-top: 1px solid var(--hairline-light); }
.process__step::before {
	content: counter(step, decimal-leading-zero);
	display: block; font-family: var(--font-display); font-weight: 400;
	font-size: 1.6rem; color: var(--copper-bright); margin-bottom: .5rem; letter-spacing: .02em;
}
.process__step h3 { font-size: 1.15rem; margin-bottom: .35em; }
.process__step p { font-size: .95rem; color: inherit; opacity: .85; margin: 0; }

.work-gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.work-gallery figure { margin: 0; overflow: hidden; }
.work-gallery img { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.work-gallery figure:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
	cursor: pointer; font-weight: 600; font-size: 1.02rem; padding-block: 1.15rem;
	list-style: none; position: relative; padding-right: 2.5rem; transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "+"; position: absolute; right: .3rem; top: 50%;
	transform: translateY(-50%); font-family: var(--font-display);
	font-size: 1.5rem; font-weight: 300; color: var(--copper); transition: transform .3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--copper); }
.faq__item p { padding-bottom: 1.2rem; color: var(--ink-soft); max-width: 60em; margin: 0; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--granite-deep); color: rgba(244,244,239,.72); }
.site-footer a { color: rgba(244,244,239,.88); text-decoration: none; }
.site-footer a:hover { color: var(--copper-bright); }
.site-footer__grid {
	display: grid; gap: 3rem; grid-template-columns: 1.3fr 1fr 1.2fr;
	padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.site-footer__brand { font-family: var(--font-display); font-size: 1.7rem; font-weight: 430; color: var(--birch); margin-bottom: .6rem; letter-spacing: -0.01em; }
.site-footer__referral { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--birch); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.site-footer li a { font-size: .96rem; }
.site-footer__legal {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem;
	border-top: 1px solid var(--hairline-light); padding-block: 1.4rem; font-size: .83rem;
	color: rgba(244,244,239,.5);
}
.site-footer__legal p { margin: 0; }
.site-footer__legal a { color: rgba(244,244,239,.6); }

/* -------------------------------------------------------- mobile call bar */
.mobile-call {
	display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
	background: var(--copper); color: #fff; text-align: center;
	padding: 1rem; font-weight: 600; letter-spacing: .015em; text-decoration: none;
}

/* ------------------------------------------------------------------ entry */
.entry h2 { margin-top: 1.6em; }
.entry a { color: var(--copper); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
	.service-layout { grid-template-columns: 1fr; }
	.service-rail__inner { position: static; }
}
@media (max-width: 960px) {
	.split, .service-section--has-img { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 780px) {
	.site-header__inner { min-height: 68px; gap: 1rem; }
	.site-header__cta { display: none; }
	.mobile-call { display: block; }
	body { padding-bottom: 3.4rem; }
	html { scroll-padding-top: 4.6rem; }
	.jump-nav { top: 68px; gap: .2rem 1.3rem; }

	.site-nav__toggle { display: block; margin-left: auto; background: none; border: 0; padding: .7rem; cursor: pointer; }
	.site-nav__toggle-bar, .site-nav__toggle-bar::before, .site-nav__toggle-bar::after {
		content: ""; display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .25s;
	}
	.site-nav__toggle-bar::before { position: absolute; top: -7px; }
	.site-nav__toggle-bar::after { position: absolute; top: 7px; }
	.site-nav { margin-left: auto; }
	.site-nav ul {
		display: none; position: absolute; left: 0; right: 0; top: 68px;
		background: var(--birch); border-bottom: 1px solid var(--hairline);
		flex-direction: column; gap: 0; padding: .6rem 0; margin: 0;
	}
	.site-nav.is-open ul { display: flex; }
	.site-nav ul a { display: block; padding: .9rem 1.5rem; border-bottom: 0; }

	.hero--split { min-height: 78vh; }
	.hero--split__pane--winter { clip-path: polygon(0 0, 100% 0, 100% 42%, 0 56%); }
	.hero--split__pane--summer { clip-path: polygon(0 56%, 100% 42%, 100% 100%, 0 100%); }
	.season-summer .hero--split__pane--winter { clip-path: polygon(0 0, 100% 0, 100% 22%, 0 34%); }
	.season-summer .hero--split__pane--summer { clip-path: polygon(0 34%, 100% 22%, 100% 100%, 0 100%); }
	.trust-strip__row { flex-direction: column; }
	.trust-strip__row p { border-right: 0; border-bottom: 1px solid var(--hairline-light); margin-right: 0; padding: .8rem 0; }
	.trust-strip__row p:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero--split__pane, .service-card__media img, .service-card__img, .work-gallery img { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
	.hero--split__pane { transition: clip-path .7s cubic-bezier(.22,.61,.36,1); }

	/* Load reveal: panes part from a centre seam toward their corners. */
	.hero--split__pane--winter { animation: jjp-part-left 1.1s cubic-bezier(.22,.61,.36,1) both; }
	.hero--split__pane--summer { animation: jjp-part-right 1.1s cubic-bezier(.22,.61,.36,1) both; }
	.hero--split .hero__content { animation: jjp-rise .9s .35s cubic-bezier(.22,.61,.36,1) both; }

	@keyframes jjp-part-left {
		from { clip-path: polygon(0 0, 54% 0, 54% 100%, 0 100%); transform: translateX(4%); opacity: .6; }
		to   { clip-path: polygon(0 0, 64% 0, 44% 100%, 0 100%); transform: translateX(0); opacity: 1; }
	}
	@keyframes jjp-part-right {
		from { clip-path: polygon(54% 0, 100% 0, 100% 100%, 54% 100%); transform: translateX(-4%); opacity: .6; }
		to   { clip-path: polygon(64% 0, 100% 0, 100% 100%, 44% 100%); transform: translateX(0); opacity: 1; }
	}
	@keyframes jjp-rise {
		from { opacity: 0; transform: translateY(18px); }
		to   { opacity: 1; transform: translateY(0); }
	}
	/* Summer mode parts to its own corners. */
	.season-summer .hero--split__pane--winter { animation-name: jjp-part-left-summer; }
	.season-summer .hero--split__pane--summer { animation-name: jjp-part-right-summer; }
	@keyframes jjp-part-left-summer {
		from { clip-path: polygon(0 0, 46% 0, 46% 100%, 0 100%); transform: translateX(4%); opacity: .6; }
		to   { clip-path: polygon(0 0, 36% 0, 16% 100%, 0 100%); transform: translateX(0); opacity: 1; }
	}
	@keyframes jjp-part-right-summer {
		from { clip-path: polygon(46% 0, 100% 0, 100% 100%, 46% 100%); transform: translateX(-4%); opacity: .6; }
		to   { clip-path: polygon(36% 0, 100% 0, 100% 100%, 16% 100%); transform: translateX(0); opacity: 1; }
	}
}

/* Ambient snow canvas (inserted by JS into [data-ambient="snow"]) */
.jjp-ambient {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
}


/* process on light ground */
.process--light .process__step { border-top-color: rgba(34,39,42,.3); }
.process--light .process__step p { color: var(--ink-soft); opacity: 1; }

/* footer logo */
.site-footer__logo { display: block; height: 64px; width: auto; margin-bottom: 1rem; }

/* sectionless pages: form takes centre stage */
.service-layout--solo { grid-template-columns: 1fr; justify-items: center; }
.service-layout--solo .service-main { display: none; }
.service-layout--solo .service-rail { width: min(560px, 100%); }
.service-layout--solo .service-rail__inner { position: static; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; padding-block: var(--space-half) var(--space); }
.contact-info h2 { font-size: 1.5rem; }
.contact-info__phone { font-family: var(--font-display); font-size: 2rem; font-weight: 460; }
.contact-info__phone a { text-decoration: none; color: var(--spruce-deep); }
.contact-info__phone a:hover { color: var(--copper); }
.contact-map { margin-top: 2rem; border: 1px solid var(--hairline); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* prefer-to-talk card in the service rail */
.rail-phone {
	margin-top: 1.1rem; padding: 1.2rem 1.4rem;
	background: var(--granite); color: rgba(244,244,239,.85);
}
.rail-phone p { margin: 0 0 .3rem; font-size: .98rem; }
.rail-phone a {
	font-family: var(--font-display); font-size: 1.5rem; font-weight: 460;
	color: var(--birch); text-decoration: none; letter-spacing: .01em;
}
.rail-phone a:hover { color: var(--copper-bright); }

/* header logo */
.site-brand { flex: none; }
.site-brand__logo { display: block; height: 64px; width: auto; max-width: none; }
@media (max-width: 780px) { .site-brand__logo { height: 48px; } }
