/**
 * Decked Out Muskoka — luxury motion layer
 * Loaded after main.css. Scoped to body.motion-lux so it can be removed cleanly.
 * All animation uses transform / opacity / clip-path with the site's ease curve.
 */

.motion-lux {
	--motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------------
 * 1. Header — frosted glass, height compression, nav underlines, fill wipes
 * ---------------------------------------------------------------------- */

.motion-lux .site-header {
	-webkit-backdrop-filter: blur(0px);
	backdrop-filter: blur(0px);
	transition:
		background-color 0.55s var(--motion-ease),
		-webkit-backdrop-filter 0.55s var(--motion-ease),
		backdrop-filter 0.55s var(--motion-ease),
		box-shadow 0.55s var(--motion-ease),
		border-color 0.55s var(--motion-ease);
}

.motion-lux .site-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(16px) saturate(1.08);
	backdrop-filter: blur(16px) saturate(1.08);
	box-shadow: 0 12px 34px rgba(23, 25, 24, 0.07);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.motion-lux .site-header.is-scrolled {
		background-color: rgba(255, 255, 255, 0.97);
	}
}

.motion-lux .site-header__inner {
	transition: min-height 0.55s var(--motion-ease);
}

.motion-lux .brand-logo--header {
	transition: height 0.55s var(--motion-ease);
}

.motion-lux .site-header.is-scrolled .site-header__inner {
	min-height: 108px;
}

.motion-lux .site-header.is-scrolled .brand-logo--header {
	height: 76px;
}

/* the closed panel used to peek 24px past the viewport */
.motion-lux .mobile-menu {
	transform: translateX(0);
}

.motion-lux .mobile-menu.is-open {
	animation: motion-menu-in 0.26s var(--motion-ease);
}

@keyframes motion-menu-in {
	from {
		transform: translateX(24px);
		opacity: 0;
	}
}

.motion-lux .header-phone,
.motion-lux .header-actions {
	transition: opacity 0.4s var(--motion-ease), transform 0.4s var(--motion-ease);
}

.motion-lux .desktop-nav a {
	position: relative;
}

.motion-lux .desktop-nav a::after {
	transform-origin: left center;
	transition: transform 0.45s var(--motion-ease), opacity 0.3s ease;
}

.motion-lux .desktop-nav a:focus-visible::after {
	transform: scaleX(1);
	opacity: 1;
}

/* Directional fill-wipe on primary and outline buttons */
.motion-lux .button {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	z-index: 0;
	transition:
		color 0.4s var(--motion-ease),
		border-color 0.4s var(--motion-ease),
		background-color 0.4s var(--motion-ease);
}

.motion-lux .button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wipe-bg, #2c3130);
	transform: translate3d(-101%, 0, 0);
	transition: transform 0.62s var(--motion-ease);
	pointer-events: none;
}

.motion-lux .button:hover::before,
.motion-lux .button:focus-visible::before {
	transform: translate3d(0, 0, 0);
}

.motion-lux .button--light {
	--wipe-bg: #171918;
}

.motion-lux .button--light:hover,
.motion-lux .button--light:focus-visible {
	color: #fff;
}

.motion-lux .button--outline-light {
	--wipe-bg: #fff;
}

.motion-lux .button--outline-light:hover,
.motion-lux .button--outline-light:focus-visible {
	color: #171918;
	border-color: #fff;
}

.motion-lux .button--outline {
	--wipe-bg: #171918;
}

.motion-lux .button--outline:hover,
.motion-lux .button--outline:focus-visible {
	color: #fff;
}

.motion-lux .button svg {
	transition: transform 0.45s var(--motion-ease);
}

.motion-lux .button:hover svg {
	transform: translate3d(4px, 0, 0);
}

/* -------------------------------------------------------------------------
 * 2. Hero — Ken Burns, scroll parallax, masked line reveals, scroll cue
 * ---------------------------------------------------------------------- */

.motion-lux .home-hero {
	overflow: hidden;
}

.motion-lux .home-hero__media {
	/* oversized frame so the parallax never exposes an edge */
	inset: -8% -4%;
	width: auto;
	height: auto;
	translate: 0 var(--parallax, 0px);
	will-change: translate;
}

.motion-lux .home-hero__media img {
	animation: motion-ken-burns 14s var(--motion-ease) infinite alternate both;
	transform-origin: center 55%;
	will-change: transform;
}

@keyframes motion-ken-burns {
	0% {
		transform: scale(1.08) translate3d(-3%, 0, 0);
	}
	100% {
		transform: scale(1) translate3d(3%, 0, 0);
	}
}

.mask-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}

.mask-line__inner {
	display: block;
	will-change: transform;
}

.motion-lux .home-hero .mask-line__inner {
	transform: translate3d(0, 112%, 0);
	animation: motion-line-rise 1.15s var(--motion-ease) both;
}

.motion-lux .home-hero .eyebrow .mask-line__inner {
	animation-delay: 0.15s;
}

.motion-lux .home-hero h1 .mask-line__inner {
	animation-delay: 0.32s;
}

.motion-lux .home-hero__subhead {
	transform: translate3d(0, 26px, 0);
	opacity: 0;
	animation: motion-hero-up 1s var(--motion-ease) 0.55s both;
}

.motion-lux .home-hero__actions {
	transform: translate3d(0, 22px, 0);
	opacity: 0;
	animation: motion-hero-up 1s var(--motion-ease) 0.72s both;
}

.motion-lux .home-hero__foot {
	transform: translate3d(0, 18px, 0);
	opacity: 0;
	animation: motion-hero-up 1s var(--motion-ease) 0.92s both;
}

@keyframes motion-line-rise {
	from {
		transform: translate3d(0, 112%, 0);
	}
	to {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes motion-hero-up {
	from {
		transform: translate3d(0, 26px, 0);
		opacity: 0;
	}
	to {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}
}

.motion-lux .home-hero__scroll {
	animation: motion-scroll-cue 3s ease-in-out 1.8s infinite;
}

@keyframes motion-scroll-cue {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
		opacity: 0.7;
	}
	50% {
		transform: translate3d(0, 7px, 0);
		opacity: 1;
	}
}

/* -------------------------------------------------------------------------
 * 3. Muskoka locations marquee band
 * ---------------------------------------------------------------------- */

.locations-band {
	position: relative;
	overflow: hidden;
	padding: clamp(30px, 4vw, 48px) 0 clamp(26px, 3.6vw, 42px);
	background: var(--paper, #fff);
	border-bottom: 1px solid var(--line, #e6e2da);
}

.locations-band__label {
	margin: 0 0 clamp(14px, 1.6vw, 20px);
	text-align: center;
	font-family: var(--sans, sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted, #8a8a82);
}

.locations-band__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.locations-band__track {
	display: flex;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	will-change: transform;
}

.locations-band__item {
	display: inline-flex;
	align-items: center;
	gap: clamp(26px, 3vw, 44px);
	padding: 0 clamp(26px, 3vw, 44px);
	white-space: nowrap;
	font-family: var(--serif, Georgia, serif);
	font-size: clamp(19px, 1.9vw, 27px);
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--ink, #171918);
}

.locations-band__item::after {
	content: "";
	flex: none;
	width: 5px;
	height: 5px;
	margin-left: clamp(26px, 3vw, 44px);
	background: var(--muted, #8a8a82);
	transform: rotate(45deg);
	opacity: 0.75;
}

/* -------------------------------------------------------------------------
 * 4. What We Build + Selected Work — stagger, zoom, vignette, slide-in label
 * ---------------------------------------------------------------------- */

.motion-lux .service-card__media,
.motion-lux .project-card__media {
	overflow: hidden;
}

.motion-lux .service-card__media img,
.motion-lux .project-card__media img {
	transition: transform 0.7s var(--motion-ease);
	will-change: transform;
}

.motion-lux .service-card:hover .service-card__media img,
.motion-lux .service-card:focus-visible .service-card__media img {
	transform: scale(1.06);
}

.motion-lux .project-card:hover .project-card__media img,
.motion-lux .project-card:focus-visible .project-card__media img {
	transform: scale(1.06);
}

.motion-lux .project-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(120% 95% at 50% 100%, rgba(58, 38, 20, 0.34) 0%, rgba(58, 38, 20, 0.12) 42%, transparent 72%);
	opacity: 0;
	transition: opacity 0.6s var(--motion-ease);
	pointer-events: none;
}

.motion-lux .project-card__overlay {
	z-index: 2;
}

.motion-lux .project-card:hover .project-card__media::after,
.motion-lux .project-card:focus-visible .project-card__media::after {
	opacity: 1;
}

.motion-lux .project-card__overlay-content {
	transform: translate3d(-16px, 0, 0);
	opacity: 0;
	transition: transform 0.55s var(--motion-ease), opacity 0.45s var(--motion-ease);
}

.motion-lux .project-card:hover .project-card__overlay-content,
.motion-lux .project-card:focus-visible .project-card__overlay-content {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

.motion-lux .project-card__overlay-link svg,
.motion-lux .project-card__overlay-link {
	transition: transform 0.55s var(--motion-ease);
}

.motion-lux .project-card__overlay-link svg {
	transform: translate3d(-6px, 0, 0);
}

.motion-lux .project-card:hover .project-card__overlay-link svg {
	transform: translate3d(0, 0, 0);
}

/* staggered row reveals — delay only on the revealed state */
.motion-lux .services-grid .service-card.is-revealed:nth-child(2) {
	transition-delay: 0.1s;
}

.motion-lux .services-grid .service-card.is-revealed:nth-child(3) {
	transition-delay: 0.2s;
}

.motion-lux .services-grid .service-card.is-revealed:nth-child(4) {
	transition-delay: 0.3s;
}

.motion-lux .featured-side .project-card.is-revealed:nth-child(2) {
	transition-delay: 0.1s;
}

/* -------------------------------------------------------------------------
 * 5. Our Standard + How We Work — draw-line dividers, staggered numbers
 * ---------------------------------------------------------------------- */

.motion-lux .mission-pillar,
.motion-lux .process-step {
	position: relative;
	border-top-color: transparent;
}

.motion-lux .mission-pillar::before,
.motion-lux .process-step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--line, #e6e2da);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.15s var(--motion-ease);
}

.motion-lux .mission-pillar.is-revealed::before,
.motion-lux .process-step.is-revealed::before {
	transform: scaleX(1);
}

.motion-lux .mission-pillar__number,
.motion-lux .process-step__number {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition: transform 0.85s var(--motion-ease) 0.18s, opacity 0.7s var(--motion-ease) 0.18s;
}

.motion-lux .mission-pillar.is-revealed .mission-pillar__number,
.motion-lux .process-step.is-revealed .process-step__number {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.motion-lux .mission-pillar.is-revealed:nth-child(2)::before,
.motion-lux .process-step.is-revealed:nth-child(2)::before {
	transition-delay: 0.1s;
}

.motion-lux .mission-pillar.is-revealed:nth-child(3)::before,
.motion-lux .process-step.is-revealed:nth-child(3)::before {
	transition-delay: 0.2s;
}

.motion-lux .process-step.is-revealed:nth-child(4)::before {
	transition-delay: 0.3s;
}

/* -------------------------------------------------------------------------
 * 6. Waterfront break — scroll parallax image + fade-up caption
 * ---------------------------------------------------------------------- */

.motion-lux .split-section__media img {
	translate: 0 var(--media-parallax, 0px);
	scale: 1.08;
	will-change: translate;
}

.motion-lux .split-section__media {
	overflow: clip;
}

.motion-lux .split-section__caption {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: opacity 0.8s var(--motion-ease) 0.25s, transform 0.9s var(--motion-ease) 0.25s;
}

.motion-lux .split-section__media.is-revealed .split-section__caption {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* -------------------------------------------------------------------------
 * 7. Testimonial mask + final CTA ambient hover
 * ---------------------------------------------------------------------- */

.motion-lux .testimonial__quote blockquote {
	clip-path: inset(0 0 100% 0);
	transform: translate3d(0, 18px, 0);
	transition: clip-path 1.2s var(--motion-ease), transform 1.2s var(--motion-ease);
	will-change: clip-path;
}

.motion-lux .testimonial__quote.is-revealed blockquote {
	clip-path: inset(-8% 0 -8% 0);
	transform: translate3d(0, 0, 0);
}

.motion-lux .testimonial__quote cite {
	opacity: 0;
	transform: translate3d(0, 10px, 0);
	transition: opacity 0.7s var(--motion-ease) 0.55s, transform 0.7s var(--motion-ease) 0.55s;
}

.motion-lux .testimonial__quote.is-revealed cite {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.motion-lux .cta-band__inner {
	position: relative;
	overflow: hidden;
	transition: transform 0.7s var(--motion-ease), box-shadow 0.7s var(--motion-ease);
}

.motion-lux .cta-band__inner::after {
	content: "";
	position: absolute;
	inset: -20%;
	background: radial-gradient(55% 85% at 18% 0%, rgba(255, 255, 255, 0.09) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.9s var(--motion-ease);
	pointer-events: none;
}

.motion-lux .cta-band__inner:hover {
	transform: translate3d(0, -4px, 0);
	box-shadow: 0 30px 60px rgba(23, 25, 24, 0.12);
}

.motion-lux .cta-band__inner:hover::after {
	opacity: 1;
	animation: motion-ambient 9s ease-in-out infinite alternate;
}

@keyframes motion-ambient {
	from {
		transform: translate3d(-3%, 0, 0);
	}
	to {
		transform: translate3d(3%, 2%, 0);
	}
}

/* -------------------------------------------------------------------------
 * Preview modal — project photo + specs, same dialog as the theme lightbox
 * ---------------------------------------------------------------------- */

.motion-lux .project-lightbox__project {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	grid-column: 1 / -1;
	justify-self: start;
	width: max-content;
	margin-top: 6px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	font-family: var(--sans, sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
	transition: background-color 0.35s var(--motion-ease), color 0.35s var(--motion-ease), border-color 0.35s var(--motion-ease);
}

.motion-lux .project-lightbox__project:hover,
.motion-lux .project-lightbox__project:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #171918;
}

.motion-lux .project-lightbox__caption {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 6px 20px;
}

.motion-lux .project-lightbox__caption span:nth-child(2) {
	color: rgba(255, 255, 255, 0.42);
	text-align: right;
}

.motion-lux .project-lightbox__image-wrap {
	position: relative;
	background: #0b0d0b;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.motion-lux .project-lightbox img {
	width: 100%;
	height: auto;
}

.motion-lux .project-lightbox__image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0.03) 8%, rgba(255, 255, 255, 0.13) 18%, rgba(255, 255, 255, 0.03) 33%);
	background-size: 220% 100%;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.motion-lux .project-lightbox__image-wrap.is-loading::after {
	opacity: 1;
	animation: motion-shimmer 1.5s linear infinite;
}

@keyframes motion-shimmer {
	from {
		background-position: 120% 0;
	}
	to {
		background-position: -120% 0;
	}
}

.motion-lux .project-lightbox__nav[hidden],
.motion-lux .project-lightbox__project[hidden] {
	display: none;
}

.motion-lux .project-lightbox[open] .project-lightbox__inner {
	animation: motion-modal-in 0.5s var(--motion-ease) both;
}

.motion-lux .project-lightbox[open]::backdrop {
	animation: motion-backdrop-in 0.4s ease both;
}

@keyframes motion-modal-in {
	from {
		opacity: 0;
		transform: translate3d(0, 18px, 0) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes motion-backdrop-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* -------------------------------------------------------------------------
 * Breakpoints
 * ---------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.motion-lux .site-header.is-scrolled .site-header__inner {
		min-height: 96px;
	}

	.motion-lux .site-header.is-scrolled .brand-logo--header {
		height: 68px;
	}

	.locations-band__item {
		font-size: clamp(18px, 2.6vw, 23px);
	}
}

@media (max-width: 820px) {
	.motion-lux .home-hero__media {
		inset: -5% -4%;
	}

	.locations-band {
		padding: 26px 0 22px;
	}

	.locations-band__label {
		font-size: 9px;
		letter-spacing: 0.2em;
	}

	.motion-lux .site-header.is-scrolled .site-header__inner {
		min-height: 84px;
	}

	.motion-lux .site-header.is-scrolled .brand-logo--header {
		height: 62px;
	}
}

@media (max-width: 900px) {
	/* the towns live in the band below; keep the cue on one line */
	.motion-lux .home-hero__foot > span:first-child {
		display: none;
	}

	.motion-lux .home-hero__foot {
		justify-content: flex-end;
	}
}

@media (max-width: 640px) {
	/* the foot overflows the hero on phones; the band below carries the towns */
	.motion-lux .home-hero__foot {
		display: none;
	}

	.motion-lux .project-lightbox__image-wrap {
		min-height: 32vh;
	}

	.motion-lux .project-lightbox__caption {
		grid-template-columns: 1fr;
	}

	.motion-lux .project-lightbox__caption span:nth-child(2) {
		text-align: left;
	}
}

@media (hover: none) {
	/* keep tap feedback honest on touch devices */
	.motion-lux .project-card__overlay-content {
		transform: none;
		opacity: 1;
	}

	.motion-lux .service-card:hover .service-card__media img,
	.motion-lux .project-card:hover .project-card__media img {
		transform: none;
	}
}

/* -------------------------------------------------------------------------
 * Reduced motion — everything visible and still
 * ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.motion-lux .home-hero__media {
		inset: 0;
		translate: none;
	}

	.motion-lux .home-hero__media img {
		animation: none;
		transform: none !important;
		scale: none;
	}

	.motion-lux .home-hero .mask-line__inner,
	.motion-lux .home-hero__subhead,
	.motion-lux .home-hero__actions,
	.motion-lux .home-hero__foot {
		animation: none;
		transform: none;
		opacity: 1;
	}

	.motion-lux .home-hero__scroll {
		animation: none;
	}

	.motion-lux .locations-band__track {
		transform: none !important;
	}

	.motion-lux .project-lightbox__image-wrap.is-loading::after {
		animation: none;
	}

	.motion-lux .service-card__media img,
	.motion-lux .project-card__media img,
	.motion-lux .split-section__media img {
		transition: none;
		translate: none;
		scale: none;
	}

	.motion-lux .service-card:hover .service-card__media img,
	.motion-lux .project-card:hover .project-card__media img {
		transform: none;
	}

	.motion-lux .project-card__media::after,
	.motion-lux .cta-band__inner::after {
		display: none;
	}

	.motion-lux .project-card__overlay-content {
		transform: none;
		opacity: 1;
	}

	.motion-lux .mission-pillar::before,
	.motion-lux .process-step::before {
		transition: none;
		transform: scaleX(1);
	}

	.motion-lux .mission-pillar__number,
	.motion-lux .process-step__number,
	.motion-lux .split-section__caption,
	.motion-lux .testimonial__quote cite {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.motion-lux .testimonial__quote blockquote,
	.motion-lux .testimonial__quote.is-revealed blockquote {
		clip-path: none;
		transform: none;
		transition: none;
	}

	.motion-lux .cta-band__inner,
	.motion-lux .cta-band__inner:hover {
		transform: none;
		box-shadow: none;
	}

	.motion-lux .cta-band__inner:hover::after {
		animation: none;
	}

	.motion-lux .project-lightbox[open] .project-lightbox__inner,
	.motion-lux .project-lightbox[open]::backdrop {
		animation: none;
	}

	.motion-lux .button::before,
	.motion-lux .button svg {
		transition: none;
	}
}

/* === Decked Out Inquiry Drawer (doi) === */
.doi {
	--doi-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: fixed;
	inset: 0;
	z-index: 2000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 0.62s;
	-webkit-tap-highlight-color: transparent;
}

.doi.is-open {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s linear 0s;
}

.doi__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 11, 10, 0.52);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 420ms var(--doi-ease);
}

.doi.is-open .doi__backdrop {
	opacity: 1;
}

.doi__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(560px, 100vw);
	background: var(--paper);
	color: var(--ink);
	box-shadow: -34px 0 90px rgba(12, 13, 12, 0.22);
	transform: translateX(100%);
	transition: transform 550ms var(--doi-ease);
	outline: none;
	overflow: hidden;
}

.doi.is-open .doi__panel {
	transform: translateX(0);
}

.doi__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	cursor: pointer;
	transition: background-color 240ms var(--doi-ease), color 240ms var(--doi-ease), border-color 240ms var(--doi-ease);
}

.doi__close svg {
	width: 18px;
	height: 18px;
}

.doi__close:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.doi__scroll {
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 46px 44px 44px;
}

.doi__eyebrow {
	margin: 0 0 12px;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
}

.doi__title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(30px, 3.4vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.doi__lede {
	margin: 14px 0 0;
	max-width: 44ch;
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1.65;
	color: var(--body);
}

.doi__stage {
	position: relative;
	margin-top: 26px;
}

.doi [data-doi-stagger] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 500ms var(--doi-ease), transform 650ms var(--doi-ease);
}

.doi.is-open [data-doi-stagger] {
	opacity: 1;
	transform: none;
	transition-delay: calc(150ms + var(--i, 0) * 55ms);
}

.doi:not(.is-open) [data-doi-stagger] {
	transition-delay: 0ms;
	transition-duration: 200ms;
}

.doi__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.doi__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 22px;
}

.doi-field {
	position: relative;
	display: block;
	padding-top: 4px;
}

.doi-field--full {
	grid-column: 1 / -1;
}

.doi-field__label {
	display: block;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.doi-field input,
.doi-field select,
.doi-field textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 0 12px;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	transition: border-color 240ms var(--doi-ease);
}

.doi-field textarea {
	resize: vertical;
	min-height: 88px;
}

.doi-field input::placeholder,
.doi-field textarea::placeholder {
	color: #9a9d96;
	opacity: 1;
}

.doi-field::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 480ms var(--doi-ease);
	pointer-events: none;
}

.doi-field:focus-within::after {
	transform: scaleX(1);
}

.doi-field--select select {
	padding-right: 26px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23171918' stroke-width='1.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	background-size: 12px 8px;
	cursor: pointer;
}

.doi-chips {
	margin: 22px 0 0;
	padding: 0;
	border: 0;
}

.doi-chips__legend {
	display: block;
	padding: 0;
	margin: 0 0 12px;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.doi-chips__row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.doi-chip {
	position: relative;
	display: inline-flex;
}

.doi-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.doi-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--ink-soft);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 260ms var(--doi-ease), border-color 260ms var(--doi-ease), color 260ms var(--doi-ease), transform 260ms var(--doi-ease);
}

.doi-chip:hover span {
	border-color: var(--ink);
}

.doi-chip input:checked + span {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.doi-chip input:focus-visible + span {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

.doi-consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-top: 22px;
	font-family: var(--sans);
	font-size: 13px;
	line-height: 1.5;
	color: var(--body);
	cursor: pointer;
}

.doi-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--ink);
	cursor: pointer;
}

.doi__status {
	min-height: 20px;
	margin: 14px 0 0;
	font-family: var(--sans);
	font-size: 13px;
	line-height: 1.5;
	color: #9a2f2a;
}

.doi__status:empty {
	margin-top: 4px;
}

.doi__submit {
	display: flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 8px;
	padding: 16px 26px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 240ms var(--doi-ease), color 240ms var(--doi-ease), opacity 240ms var(--doi-ease);
}

.doi__submit svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	transition: transform 240ms var(--doi-ease);
}

.doi__submit:hover {
	background: var(--ink-soft);
}

.doi__submit:hover svg {
	transform: translateX(4px);
}

.doi__submit.is-busy {
	opacity: 0.62;
	pointer-events: none;
}

.doi__submit--ghost {
	margin-top: 22px;
	background: transparent;
	color: var(--ink);
}

.doi__submit--ghost:hover {
	background: var(--ink);
	color: var(--paper);
}

.doi__fallback {
	margin: 18px 0 0;
	font-family: var(--sans);
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--muted);
}

.doi__fallback a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.doi__done {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	pointer-events: none;
	transition: opacity 420ms var(--doi-ease), transform 520ms var(--doi-ease), visibility 0s linear 0.5s;
}

.doi.is-sent .doi__done {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity 420ms var(--doi-ease) 180ms, transform 520ms var(--doi-ease) 180ms, visibility 0s linear 0s;
}

.doi.is-sent .doi__form {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-16px);
	pointer-events: none;
	transition: opacity 300ms var(--doi-ease), transform 380ms var(--doi-ease), visibility 0s linear 0.32s;
}

.doi__done-inner {
	outline: none;
}

.doi.is-sent .doi__done .doi__eyebrow,
.doi.is-sent .doi__done .doi__done-title,
.doi.is-sent .doi__done .doi__done-lede {
	display: none;
}

.doi__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 24px;
	border: 1px solid var(--ink);
	border-radius: 50%;
	color: var(--ink);
}

@keyframes doi-check-in {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.doi.is-sent .doi__head .doi__check {
	animation: doi-check-in 620ms var(--doi-ease) 120ms both;
}

.doi__check svg {
	width: 30px;
	height: 30px;
}

.doi__check path {
	stroke-dasharray: 30;
	stroke-dashoffset: 30;
	transition: stroke-dashoffset 700ms var(--doi-ease) 260ms;
}

.doi.is-sent .doi__check path {
	stroke-dashoffset: 0;
}

.doi__done-title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(28px, 3.2vw, 36px);
	line-height: 1.1;
	color: var(--ink);
}

.doi__done-lede {
	margin: 14px 0 0;
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1.65;
	color: var(--body);
}

.doi__steps {
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.doi__steps li {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.doi__steps li > span {
	flex: 0 0 auto;
	padding-top: 2px;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.16em;
	color: var(--muted);
}

.doi__steps p {
	margin: 0;
	font-family: var(--sans);
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--body);
}

.doi__close:focus-visible,
.doi__submit:focus-visible,
.doi-chip input:focus-visible + span,
.doi-consent input:focus-visible,
.doi__fallback a:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

html.doi-lock,
body.doi-lock {
	overflow: hidden;
}

body.doi-lock {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}

@media (max-width: 640px) {
	.doi__panel {
		width: 100%;
	}

	.doi__scroll {
		padding: 28px 22px 34px;
	}

	.doi__close {
		top: 12px;
		right: 12px;
		width: 44px;
		height: 44px;
	}

	.doi__head {
		padding-right: 40px;
	}

	.doi__title {
		font-size: 30px;
	}

	.doi__stage {
		margin-top: 24px;
	}

	.doi__grid {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.doi-chip span {
		min-height: 46px;
		padding: 11px 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.doi,
	.doi * {
		transition-duration: 0ms !important;
		animation: none !important;
	}

	.doi__backdrop {
		opacity: 0;
	}

	.doi.is-open .doi__backdrop {
		opacity: 1;
	}

	.doi [data-doi-stagger] {
		opacity: 1;
		transform: none;
	}

	.doi__panel {
		transform: translateX(100%);
	}

	.doi.is-open .doi__panel {
		transform: none;
	}

	.doi__check path {
		stroke-dashoffset: 0;
	}
}
/* === end Decked Out Inquiry Drawer === */

/* === Decked Out Inner Page Motion v1 === */
/* Inner templates only: service pages, Who We Are, Contact, Blogs and blog posts.
   Transform, opacity and clip-path only — no layout, copy or color changes. */
.motion-lux {
	--iph-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------------
 * 1. Inner page hero — masked line rise, Ken Burns settle, scroll parallax
 * ---------------------------------------------------------------------- */
.js .motion-lux .page-hero__media,
.js .motion-lux .article-hero__media {
	inset: -7% 0;
	translate: 0 var(--iph-hero-shift, 0px);
	will-change: translate;
}

.js .motion-lux .page-hero__media img,
.js .motion-lux .article-hero__media img {
	scale: 1.06;
	animation: iph-hero-settle 3.2s var(--iph-ease) both;
	will-change: scale;
}

@keyframes iph-hero-settle {
	from {
		scale: 1.06;
	}
	to {
		scale: 1;
	}
}

.js .motion-lux .iph-hero h1,
.js .motion-lux .iph-hero .page-hero__description {
	position: relative;
}

.js .motion-lux .iph-hero .iph-visual {
	display: block;
}

.js .motion-lux .iph-hero .iph-mask {
	display: block;
	overflow: hidden;
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}

.js .motion-lux .iph-hero .iph-mask__inner {
	display: block;
	transform: translate3d(0, 115%, 0);
	animation: iph-line-rise 1.1s var(--iph-ease) both;
	animation-delay: calc(0.14s + var(--iph-i, 0) * 0.09s);
	will-change: transform;
}

.js .motion-lux .iph-hero .iph-hero__desc .iph-mask__inner {
	animation-delay: calc(0.52s + var(--iph-i, 0) * 0.08s);
}

@keyframes iph-line-rise {
	from {
		transform: translate3d(0, 115%, 0);
	}
	to {
		transform: translate3d(0, 0, 0);
	}
}

.js .motion-lux .iph-hero .breadcrumbs,
.js .motion-lux .iph-hero .eyebrow,
.js .motion-lux .iph-hero .article-meta,
.js .motion-lux .iph-hero .page-hero__foot {
	opacity: 0;
	animation: iph-hero-up 0.95s var(--iph-ease) both;
}

.js .motion-lux .iph-hero .breadcrumbs {
	animation-delay: 0.04s;
}

.js .motion-lux .iph-hero .eyebrow {
	animation-delay: 0.16s;
}

.js .motion-lux .iph-hero .article-meta {
	animation-delay: 0.62s;
}

.js .motion-lux .iph-hero .page-hero__foot {
	animation-delay: 0.95s;
}

@keyframes iph-hero-up {
	from {
		opacity: 0;
		transform: translate3d(0, 18px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/* -------------------------------------------------------------------------
 * 2. Split editorial sections — architectural curtain wipe, text glides up
 * ---------------------------------------------------------------------- */
.js .motion-lux.page:not(.home) .split-section__media,
.js .motion-lux.page:not(.home) .muskoka-media,
.js .motion-lux.page:not(.home) .about-portrait,
.js .motion-lux.page:not(.home) .about-image-band__item,
.js .motion-lux.blog .blog-feature__media {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.8s var(--iph-ease);
}

.js .motion-lux.page:not(.home) .split-section__media.is-revealed,
.js .motion-lux.page:not(.home) .muskoka-media.is-revealed,
.js .motion-lux.page:not(.home) .about-portrait.is-revealed,
.js .motion-lux.page:not(.home) .about-image-band__item.is-revealed,
.js .motion-lux.blog .blog-feature__media.is-revealed {
	clip-path: inset(0 0 0 0);
}

.motion-lux.page:not(.home) .split-section__content.is-revealed,
.motion-lux.page:not(.home) .muskoka-content.is-revealed,
.motion-lux.page:not(.home) .about-intro__copy.is-revealed,
.motion-lux.page:not(.home) .service-intro__aside.is-revealed {
	transition-delay: 120ms;
}

/* -------------------------------------------------------------------------
 * 3. Materials, specs and lists — drawn hairlines, staggered reveals
 * ---------------------------------------------------------------------- */
.js .motion-lux.page:not(.home) .materials-list__item,
.js .motion-lux.page:not(.home) .fact-list li,
.js .motion-lux.page:not(.home) .applications-list li,
.js .motion-lux.page:not(.home) .considerations li,
.js .motion-lux.page:not(.home) .muskoka-detail,
.js .motion-lux.page:not(.home) .service-area__list li {
	position: relative;
	border-color: transparent;
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	transition: opacity 0.65s var(--iph-ease), transform 0.75s var(--iph-ease);
}

.motion-lux.page:not(.home) :is(.materials-list__item, .fact-list li, .applications-list li, .considerations li, .muskoka-detail, .service-area__list li)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--line, #e6e2da);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.05s var(--iph-ease);
}

.motion-lux.page:not(.home) :is(.materials-list__item, .applications-list li, .considerations li, .muskoka-detail, .service-area__list li)::after {
	bottom: 0;
}

.motion-lux.page:not(.home) .fact-list li::after {
	top: 0;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(1) {
	transition-delay: 0.12s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(2) {
	transition-delay: 0.19s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(3) {
	transition-delay: 0.26s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(4) {
	transition-delay: 0.33s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(5) {
	transition-delay: 0.4s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(6) {
	transition-delay: 0.47s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(7) {
	transition-delay: 0.54s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(8) {
	transition-delay: 0.61s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(1)::after {
	transition-delay: 0.12s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(2)::after {
	transition-delay: 0.19s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(3)::after {
	transition-delay: 0.26s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(4)::after {
	transition-delay: 0.33s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(5)::after {
	transition-delay: 0.4s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(6)::after {
	transition-delay: 0.47s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(7)::after {
	transition-delay: 0.54s;
}

.motion-lux.page:not(.home) :is(.fact-list, .materials-list, .applications-list, .considerations, .muskoka-details, .service-area__list) > :nth-child(8)::after {
	transition-delay: 0.61s;
}

.motion-lux.page:not(.home) .is-revealed .materials-list__item,
.motion-lux.page:not(.home) .is-revealed .fact-list li,
.motion-lux.page:not(.home) .is-revealed .applications-list li,
.motion-lux.page:not(.home) .is-revealed .considerations li,
.motion-lux.page:not(.home) .is-revealed .muskoka-detail,
.motion-lux.page:not(.home) .is-revealed .service-area__list li {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.motion-lux.page:not(.home) .is-revealed :is(.materials-list__item, .fact-list li, .applications-list li, .considerations li, .muskoka-detail, .service-area__list li)::after {
	transform: scaleX(1);
}

/* Detail and value cards: hairline draws as the card reveals */
.js .motion-lux.page:not(.home) .detail-card,
.js .motion-lux.page:not(.home) .value-card {
	position: relative;
	border-top-color: transparent;
}

.motion-lux.page:not(.home) .detail-card::before,
.motion-lux.page:not(.home) .value-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--line, #e6e2da);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.15s var(--iph-ease);
}

.motion-lux.page:not(.home) .detail-card.is-revealed::before,
.motion-lux.page:not(.home) .value-card.is-revealed::before {
	transform: scaleX(1);
}

/* -------------------------------------------------------------------------
 * 4. Service project gallery — staggered entrances, expand affordance
 * ---------------------------------------------------------------------- */
.motion-lux.page:not(.home) .gallery-grid__item:nth-child(2) .project-card.is-revealed {
	transition-delay: 0.08s;
}

.motion-lux.page:not(.home) .gallery-grid__item:nth-child(3) .project-card.is-revealed {
	transition-delay: 0.16s;
}

.motion-lux.page:not(.home) .gallery-grid__item:nth-child(4) .project-card.is-revealed {
	transition-delay: 0.24s;
}

.motion-lux.page:not(.home) .gallery-grid__item:nth-child(5) .project-card.is-revealed {
	transition-delay: 0.32s;
}

.motion-lux.page:not(.home) .gallery-grid__item:nth-child(6) .project-card.is-revealed {
	transition-delay: 0.4s;
}

.motion-lux.page:not(.home) .gallery-grid__item:nth-child(7) .project-card.is-revealed {
	transition-delay: 0.48s;
}

.motion-lux.page:not(.home) .gallery-grid__item:nth-child(8) .project-card.is-revealed {
	transition-delay: 0.56s;
}

.motion-lux .project-card__media {
	position: relative;
}

.motion-lux.page:not(.home) .gallery-grid .project-card__media {
	cursor: zoom-in;
}

.iph-expand {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 4;
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(20, 22, 20, 0.55);
	color: #fff;
	pointer-events: none;
	opacity: 0;
	transform: translate3d(0, 8px, 0);
	transition: opacity 0.35s var(--iph-ease), transform 0.45s var(--iph-ease);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.iph-expand svg {
	width: 16px;
	height: 16px;
}

.motion-lux .project-card:hover .iph-expand,
.motion-lux .project-card:focus-visible .iph-expand {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (hover: none) {
	.iph-expand {
		opacity: 0.92;
		transform: none;
	}
}

/* -------------------------------------------------------------------------
 * 5. Full-screen gallery lightbox — smooth open, crossfade on next/previous
 * ---------------------------------------------------------------------- */
.project-lightbox.iph-lightbox[open] {
	animation: iph-lb-in 0.5s var(--iph-ease) both;
}

.project-lightbox.iph-lightbox[open]::backdrop {
	animation: iph-lb-fade 0.5s ease both;
}

@keyframes iph-lb-in {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0) scale(0.99);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes iph-lb-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.iph-lightbox .project-lightbox__image-wrap {
	position: relative;
	overflow: hidden;
}

.iph-lightbox .project-lightbox__image-wrap img {
	transition: opacity 0.32s ease, transform 0.55s var(--iph-ease);
}

.iph-lightbox.is-switching .project-lightbox__image-wrap img {
	opacity: 0;
	transform: scale(1.012);
}

.iph-lightbox .project-lightbox__caption {
	flex-wrap: wrap;
}

.iph-lightbox__project {
	display: inline-flex;
	flex-basis: 100%;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	color: var(--paper);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	padding-bottom: 2px;
	transition: border-color 0.3s ease;
}

.iph-lightbox__project:hover,
.iph-lightbox__project:focus-visible {
	border-color: var(--paper);
}

.iph-lightbox__project svg {
	width: 14px;
	height: 14px;
}

/* -------------------------------------------------------------------------
 * 6. Cross-service links — footer underline sweep, details fade
 * ---------------------------------------------------------------------- */
.motion-lux .site-footer .footer-column ul a {
	position: relative;
}

.motion-lux .site-footer .footer-column ul a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 1px;
	background: currentColor;
	opacity: 0.55;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.45s var(--iph-ease);
}

.motion-lux .site-footer .footer-column ul a:hover::after,
.motion-lux .site-footer .footer-column ul a:focus-visible::after {
	transform: scaleX(1);
}

.motion-lux.page details > *:not(summary) {
	animation: iph-details-in 0.45s var(--iph-ease);
}

@keyframes iph-details-in {
	from {
		opacity: 0;
		transform: translate3d(0, 8px, 0);
	}
}

/* -------------------------------------------------------------------------
 * 7. Reduced motion — all content visible, no transitions
 * ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.js .motion-lux .page-hero__media,
	.js .motion-lux .article-hero__media {
		inset: 0;
		translate: none;
	}

	.js .motion-lux .page-hero__media img,
	.js .motion-lux .article-hero__media img {
		animation: none;
		scale: none;
	}

	.js .motion-lux .iph-hero .iph-mask__inner {
		animation: none;
		transform: none;
	}

	.js .motion-lux .iph-hero .breadcrumbs,
	.js .motion-lux .iph-hero .eyebrow,
	.js .motion-lux .iph-hero .article-meta,
	.js .motion-lux .iph-hero .page-hero__foot {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.js .motion-lux.page:not(.home) .split-section__media,
	.js .motion-lux.page:not(.home) .muskoka-media,
	.js .motion-lux.page:not(.home) .about-portrait,
	.js .motion-lux.page:not(.home) .about-image-band__item,
	.js .motion-lux.blog .blog-feature__media {
		clip-path: none;
		transition: none;
	}

	.motion-lux.page:not(.home) :is(.materials-list__item, .fact-list li, .applications-list li, .considerations li, .muskoka-detail, .service-area__list li) {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.motion-lux.page:not(.home) :is(.materials-list__item, .fact-list li, .applications-list li, .considerations li, .muskoka-detail, .service-area__list li)::after {
		transform: scaleX(1);
		transition: none;
	}

	.motion-lux.page:not(.home) .detail-card::before,
	.motion-lux.page:not(.home) .value-card::before {
		transform: scaleX(1);
		transition: none;
	}

	.iph-expand {
		opacity: 1;
		transform: none;
	}

	.project-lightbox.iph-lightbox[open],
	.project-lightbox.iph-lightbox[open]::backdrop {
		animation: none;
	}

	.iph-lightbox .project-lightbox__image-wrap img {
		transition: none;
	}
}
/* === end Decked Out Inner Page Motion v1 === */

/* === Decked Out Studio Interactions v1 === */
/* Page-transition curtain, desktop cursor follower, magnetic CTAs and
   the header scroll-progress hairline. Scoped to body.motion-lux. */

.motion-lux .doi-curtain {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ink, #171918);
	transform: translate3d(0, 100%, 0);
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	contain: strict;
	visibility: hidden;
}

.motion-lux .doi-curtain.is-out,
.motion-lux .doi-curtain.is-in,
.motion-lux .doi-curtain.is-lifting {
	visibility: visible;
	will-change: transform;
}

.motion-lux .doi-curtain.is-out {
	transform: translate3d(0, 0, 0);
}

.motion-lux .doi-curtain.is-in {
	transform: translate3d(0, 0, 0);
	transition: none;
}

.motion-lux .doi-curtain.is-lifting {
	transform: translate3d(0, -100%, 0);
	transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-lux .doi-curtain__mark {
	color: rgba(255, 255, 255, 0.82);
	font-family: var(--serif);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.38em;
	line-height: 1;
	text-transform: uppercase;
	opacity: 0.78;
}

.motion-lux .doi-curtain__mark::after {
	content: "";
	display: block;
	width: 26px;
	height: 1px;
	margin: 14px auto 0;
	background: rgba(255, 255, 255, 0.28);
}

/* Scroll progress hairline pinned to the bottom edge of the sticky header. */
.motion-lux .doi-progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	height: 2px;
	overflow: hidden;
	pointer-events: none;
}

.motion-lux .doi-progress__fill {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--ink, #171918);
	transform: scaleX(0);
	transform-origin: 0 50%;
	will-change: transform;
}

/* Desktop-only cursor follower. */
.motion-lux .doi-cursor {
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	display: flex;
	min-width: 10px;
	height: 10px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(23, 25, 24, 0.58);
	-webkit-backdrop-filter: blur(10px) saturate(1.1);
	backdrop-filter: blur(10px) saturate(1.1);
	color: #ffffff;
	font-family: var(--sans);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease, min-width 120ms var(--ease), height 120ms var(--ease),
		padding 120ms var(--ease), background-color 120ms ease, border-color 120ms ease;
	will-change: transform;
}

.motion-lux .doi-cursor.is-visible {
	opacity: 1;
}

.motion-lux .doi-cursor.is-pill {
	min-width: 76px;
	height: 38px;
	padding: 0 18px;
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(20, 22, 19, 0.74);
}

.motion-lux .doi-cursor__label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	opacity: 0;
	transition: max-width 120ms var(--ease), opacity 120ms ease;
}

.motion-lux .doi-cursor.is-pill .doi-cursor__label {
	max-width: 100px;
	opacity: 1;
}

/* Hold the hero choreography while an incoming curtain is still lifting.
   The class is set before first paint and removed 150ms after the lift
   starts, so the Ken Burns settle and line rise do not compete with the
   curtain for compositor and paint work. */
html.doi-arriving .motion-lux .home-hero__media img,
html.doi-arriving .motion-lux .home-hero .mask-line__inner,
html.doi-arriving .motion-lux .home-hero__subhead,
html.doi-arriving .motion-lux .home-hero__actions,
html.doi-arriving .motion-lux .home-hero__foot,
html.doi-arriving .motion-lux .page-hero__media img,
html.doi-arriving .motion-lux .article-hero__media img,
html.doi-arriving .motion-lux .iph-hero .iph-mask__inner,
html.doi-arriving .motion-lux .iph-hero .breadcrumbs,
html.doi-arriving .motion-lux .iph-hero .eyebrow,
html.doi-arriving .motion-lux .iph-hero .article-meta,
html.doi-arriving .motion-lux .iph-hero .page-hero__foot {
	animation-play-state: paused !important;
}

html.doi-arriving .motion-lux .doi-cursor {
	opacity: 0 !important;
}

@media (hover: none), (pointer: coarse) {
	.motion-lux .doi-cursor {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.motion-lux .doi-curtain,
	.motion-lux .doi-cursor {
		display: none !important;
	}
}
/* === end Decked Out Studio Interactions v1 === */

/* === Decked Out Navigation Overlay v2 === */
/* Full-screen editorial menu: GPU wipe, staggered masked rows, spotlight
   hover and floating previews. Scoped to body.motion-lux. */

/* Header toggle becomes the close control; the X settles with a 90deg turn. */
.motion-lux .menu-toggle__lines {
	transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}

.motion-lux .menu-toggle[aria-expanded='true'] .menu-toggle__lines {
	transform: rotate(90deg);
}

/* -----------------------------------------------------------------
 * 1. Overlay shell: full screen below the sticky header, wipe open.
 * -------------------------------------------------------------- */
.motion-lux .mobile-menu {
	position: fixed;
	z-index: 70;
	top: var(--header-height);
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(20px, 2.6vw, 36px) var(--gutter) 32px;
	background: var(--paper);
	opacity: 1;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, -100%, 0);
	animation: none;
	transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 360ms;
}

.motion-lux .mobile-menu.is-open {
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	animation: none;
	transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.motion-lux .mobile-menu__inner {
	width: min(100%, 880px);
	margin-inline: auto;
}

/* The overlay replaces the slide-out on the phone/tablet breakpoint and is
   also reachable from the desktop header toggle. */
@media (min-width: 1245px) {
	.motion-lux .menu-toggle {
		display: inline-flex;
	}

	.motion-lux .mobile-menu {
		display: block;
	}

	.motion-lux .mobile-menu .doi-menu-row {
		min-height: clamp(54px, 6.6vh, 72px);
		font-size: clamp(1.8rem, 2.5vw, 2.9rem);
	}

	.motion-lux .doi-menu-main > .mobile-menu__label {
		margin-bottom: 10px;
	}

	.motion-lux .doi-menu-main > .mobile-menu__meta {
		gap: 6px;
		margin-top: 22px;
	}

	.motion-lux .doi-menu-main > .button {
		margin-top: 20px;
	}
}

/* Short desktop laptops (1280x800, 1366x768) keep the CTA above the fold. */
@media (min-width: 1245px) and (max-height: 850px) {
	.motion-lux .mobile-menu .doi-menu-row {
		min-height: 48px;
		padding-block: 6px;
		font-size: clamp(1.6rem, 2.2vw, 2.4rem);
	}

	.motion-lux .doi-menu-main > .mobile-menu__label {
		margin-bottom: 8px;
	}

	.motion-lux .doi-menu-main > .mobile-menu__meta {
		gap: 4px;
		margin-top: 14px;
		font-size: 12px;
	}

	.motion-lux .mobile-menu__phone {
		font-size: 1.35rem;
	}

	.motion-lux .doi-menu-main > .button {
		min-height: 48px;
		margin-top: 14px;
	}
}

/* -----------------------------------------------------------------
 * 2. Desktop composition: menu column + floating preview.
 * -------------------------------------------------------------- */
@media (min-width: 1024px) {
	.motion-lux .mobile-menu__inner.doi-menu-ready {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
		gap: clamp(40px, 5vw, 96px);
		align-items: start;
		width: min(100%, 1200px);
	}

	.motion-lux .doi-menu-main {
		min-width: 0;
	}
}

.motion-lux .doi-menu-preview {
	display: none;
	pointer-events: none;
	user-select: none;
}

@media (min-width: 1024px) {
	.motion-lux .doi-menu-preview {
		position: sticky;
		top: 0;
		display: block;
		opacity: 0;
		transform: translate3d(0, 18px, 0);
		transition: opacity 500ms var(--ease), transform 600ms var(--ease);
	}

	.motion-lux .mobile-menu.is-open .doi-menu-preview {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition-delay: 380ms;
	}

	.motion-lux .doi-menu-preview__frame {
		position: relative;
		overflow: hidden;
		aspect-ratio: 4 / 3;
		border: 1px solid var(--line);
		border-radius: 4px;
		background: #e9e6e0;
		box-shadow: 0 30px 70px rgba(23, 25, 24, 0.12);
	}

	.motion-lux .doi-menu-preview__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		opacity: 0;
		transform: scale(1.04);
		transition: opacity 460ms var(--ease), transform 720ms var(--ease);
	}

	.motion-lux .doi-menu-preview__img.is-active {
		opacity: 1;
		transform: scale(1);
	}
}

/* -----------------------------------------------------------------
 * 3. Rows: masked reveals, hairlines, spotlight states.
 * -------------------------------------------------------------- */
.motion-lux .mobile-menu__nav {
	position: relative;
	display: flex;
	flex-direction: column;
	border-top: 0;
}

/* The base theme draws 01-07 through a counter pseudo-element; the
   enhanced rows carry their own index node instead. */
.motion-lux .doi-menu-row::after {
	content: none;
}

.motion-lux .doi-menu-topline {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--line);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 700ms var(--ease);
}

.motion-lux .mobile-menu.is-open .doi-menu-topline {
	transform: scaleX(1);
	transition-delay: 120ms;
}

.motion-lux .doi-menu-item {
	position: relative;
	opacity: 1;
	transition: opacity 260ms var(--ease);
}

.motion-lux .doi-menu-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: clamp(56px, 7.6vh, 84px);
	padding-block: clamp(8px, 1.2vh, 16px);
	border-bottom: 0;
	font-family: var(--serif);
	font-size: clamp(1.9rem, 3.1vw, 3.3rem);
	letter-spacing: -0.03em;
	line-height: 1.05;
	transition: color 180ms var(--ease);
}

.motion-lux .doi-menu-row__mask {
	display: block;
	min-width: 0;
	overflow: hidden;
	padding-block: 0.1em;
	color: inherit;
	font-family: var(--serif);
	font-size: inherit;
	letter-spacing: inherit;
	transition: transform 340ms var(--ease);
}

.motion-lux .doi-menu-row__title {
	display: inline-block;
	color: inherit;
	font-family: var(--serif);
	font-size: inherit;
	letter-spacing: inherit;
	transform: translate3d(0, 115%, 0);
	transition: transform 420ms var(--ease);
}

.motion-lux .mobile-menu.is-open .doi-menu-row__title {
	transform: translate3d(0, 0, 0);
	transition-duration: 760ms;
	transition-delay: calc(140ms + var(--i, 0) * 45ms);
}

.motion-lux .doi-menu-row__aside {
	display: flex;
	flex: none;
	align-items: center;
	gap: 14px;
	font-size: 9px;
}

.motion-lux .doi-menu-row__arrow {
	color: inherit;
	font-family: var(--sans);
	font-size: 0.95rem;
	line-height: 1;
	opacity: 0;
	transform: translate3d(-10px, 0, 0);
	transition: opacity 260ms var(--ease), transform 320ms var(--ease);
}

.motion-lux .doi-menu-row__index {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.15em;
	line-height: 1;
	opacity: 0;
	transform: translate3d(0, 8px, 0);
	transition: opacity 400ms var(--ease), transform 400ms var(--ease), color 220ms var(--ease);
}

.motion-lux .mobile-menu.is-open .doi-menu-row__index {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: calc(200ms + var(--i, 0) * 45ms);
}

.motion-lux .doi-menu-row__hairline,
.motion-lux .doi-menu-row__accent {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	transform: scaleX(0);
	transform-origin: left center;
}

.motion-lux .doi-menu-row__hairline {
	background: var(--line);
	transition: transform 700ms var(--ease);
}

.motion-lux .mobile-menu.is-open .doi-menu-row__hairline {
	transform: scaleX(1);
	transition-delay: calc(120ms + var(--i, 0) * 45ms);
}

.motion-lux .doi-menu-row__accent {
	background: var(--ink);
	opacity: 0.9;
	transition: transform 380ms var(--ease);
}

/* Spotlight: hovered or keyboard-focused row commands the menu. */
.motion-lux .mobile-menu__nav.has-active .doi-menu-item:not(.is-active) {
	opacity: 0.38;
}

.motion-lux .doi-menu-item.is-active .doi-menu-row__mask {
	transform: translate3d(14px, 0, 0);
}

.motion-lux .doi-menu-item.is-active .doi-menu-row__arrow {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.motion-lux .doi-menu-item.is-active .doi-menu-row__index {
	color: var(--ink);
}

.motion-lux .doi-menu-item.is-active .doi-menu-row__accent {
	transform: scaleX(1);
}

/* -----------------------------------------------------------------
 * 4. Footer block reveal.
 * -------------------------------------------------------------- */
.motion-lux .doi-menu-main > .mobile-menu__label,
.motion-lux .doi-menu-main > .mobile-menu__meta,
.motion-lux .doi-menu-main > .button {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	transition: opacity 420ms var(--ease), transform 520ms var(--ease);
}

.motion-lux .mobile-menu.is-open .doi-menu-main > .mobile-menu__label {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 80ms;
}

.motion-lux .mobile-menu.is-open .doi-menu-main > .mobile-menu__meta {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 475ms;
}

.motion-lux .mobile-menu.is-open .doi-menu-main > .button {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 540ms;
}

/* -----------------------------------------------------------------
 * 5. Reduced motion: no wipe, no stagger, no scaling.
 * -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.motion-lux .menu-toggle__lines,
	.motion-lux .mobile-menu,
	.motion-lux .mobile-menu.is-open,
	.motion-lux .doi-menu-item,
	.motion-lux .doi-menu-row,
	.motion-lux .doi-menu-row__mask,
	.motion-lux .doi-menu-row__title,
	.motion-lux .doi-menu-row__arrow,
	.motion-lux .doi-menu-row__index,
	.motion-lux .doi-menu-row__hairline,
	.motion-lux .doi-menu-row__accent,
	.motion-lux .doi-menu-topline,
	.motion-lux .doi-menu-preview,
	.motion-lux .doi-menu-preview__img,
	.motion-lux .doi-menu-main > .mobile-menu__label,
	.motion-lux .doi-menu-main > .mobile-menu__meta,
	.motion-lux .doi-menu-main > .button {
		transition: none !important;
	}

	.motion-lux .doi-menu-row__title,
	.motion-lux .doi-menu-row__index,
	.motion-lux .doi-menu-main > .mobile-menu__label,
	.motion-lux .doi-menu-main > .mobile-menu__meta,
	.motion-lux .doi-menu-main > .button {
		transform: none;
		opacity: 1;
	}

	.motion-lux .doi-menu-row__hairline,
	.motion-lux .doi-menu-topline {
		transform: scaleX(1);
	}

	.motion-lux .doi-menu-preview {
		transform: none;
		opacity: 1;
	}

	.motion-lux .doi-menu-preview__img {
		transform: none;
	}
}
/* === end Decked Out Navigation Overlay v2 === */

