/* ==========================================================================
   HD Restoration v2
   Brand colors from the original site. Type: Bricolage Grotesque + Geist.
   ========================================================================== */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations");
	font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Geist";
	src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
	--night: #181828;
	--night-2: #212331;
	--slate: #3c3950;
	--blue: #5392b1;
	--blue-ink: #2f6d8c;
	--cyan: #00bcd4;
	--mist: #f0f3f2;
	--line: #dfe5e8;
	--text: #4f6170;
	--muted: #8796a1;
	--white: #fff;

	--display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--body: "Geist", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1360px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section: clamp(5rem, 11vw, 10rem);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--header-top: 14px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--display);
	font-optical-sizing: auto;
	font-weight: 650;
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--slate);
	margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--blue); color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; z-index: 1000;
	top: .5rem; left: .5rem; padding: .75rem 1rem; background: var(--white); color: var(--slate);
}
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Split-text line masks (SplitText adds these wrappers) */
.split-mask { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 52px; padding: .7rem 1.6rem;
	font-family: var(--body); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
	line-height: 1; text-decoration: none; white-space: nowrap;
	border: 2px solid transparent; border-radius: 999px; cursor: pointer;
	transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
	transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn span { position: relative; }
.btn--sm { min-height: 44px; padding: .5rem 1.15rem; font-size: 1.15rem; }
.btn--lg { min-height: 60px; padding: .9rem 2rem; font-size: 1.25rem; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary::before { background: var(--slate); }
.btn--primary:hover { color: var(--white); }
.btn--light { background: var(--white); color: var(--slate); }
.btn--light::before { background: var(--night); }
.btn--light:hover { color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover { color: var(--slate); border-color: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed; z-index: 100; top: var(--header-top); left: 0; right: 0;
	padding-inline: clamp(.75rem, 2vw, 1.5rem);
	transition: transform .5s var(--ease);
	pointer-events: none;
}
.admin-bar .site-header { top: calc(var(--header-top) + 32px); }
.site-header.is-hidden { transform: translateY(calc(-100% - 40px)); }
.site-header__bar {
	pointer-events: auto;
	max-width: 1400px; margin-inline: auto;
	display: flex; align-items: center; gap: 1.5rem;
	min-height: 64px; padding: .5rem .5rem .5rem 1.25rem;
	background: rgba(255,255,255,.9);
	-webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
	border: 1px solid rgba(24,24,40,.06);
	border-radius: 999px;
	box-shadow: 0 10px 30px -18px rgba(24,24,40,.45);
}
.site-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.site-logo__img { width: auto; max-height: 40px; }
.site-logo__text { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--slate); letter-spacing: -0.03em; }

.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; align-items: center; list-style: none; gap: .1rem; }
.site-nav .menu li { position: relative; }
.site-nav .menu a {
	display: block; padding: .55rem .8rem; border-radius: 999px;
	font-weight: 550; font-size: 1rem; color: var(--slate); text-decoration: none;
	transition: background-color .2s, color .2s;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a { background: var(--mist); }
.site-nav .menu-item-has-children { display: flex; align-items: center; }
.site-nav .menu > .menu-item-has-children > a { padding-right: .25rem; }
.submenu-toggle {
	display: grid; place-items: center; width: 26px; height: 34px; padding: 0;
	background: none; border: 0; color: var(--slate); cursor: pointer; border-radius: 999px;
}
.submenu-toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.site-nav .sub-menu {
	position: absolute; top: calc(100% + 12px); left: -.5rem; z-index: 10;
	min-width: 260px; padding: .5rem; list-style: none;
	background: var(--white); border-radius: 18px;
	box-shadow: 0 24px 60px -24px rgba(24,24,40,.45), 0 0 0 1px rgba(24,24,40,.05);
	opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-nav .sub-menu .sub-menu { top: -.5rem; left: calc(100% + .5rem); }
.site-nav .sub-menu li { width: 100%; justify-content: space-between; }
.site-nav .sub-menu a { flex: 1; padding: .6rem .9rem; border-radius: 12px; font-size: .98rem; }
.site-nav .sub-menu a:hover { background: var(--mist); color: var(--blue-ink); }
.site-nav .sub-menu .submenu-toggle .icon { transform: rotate(-90deg); }
@media (hover: hover) and (min-width: 1181px) {
	.site-nav .menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1181px) {
	.site-nav .menu-item-has-children.is-open > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav__contact { display: none; }
}

.site-header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-phone {
	display: inline-flex; align-items: center; gap: .45rem; padding: 0 .75rem;
	font-weight: 650; font-size: 1rem; color: var(--slate); text-decoration: none; white-space: nowrap;
}
.header-phone .icon { color: var(--blue); }

.nav-toggle {
	display: none; place-items: center; width: 48px; height: 48px; padding: 0;
	background: var(--slate); color: var(--white); border: 0; border-radius: 50%; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px;
	transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1320px) {
	.header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 1180px) {
	/* backdrop-filter would trap the fixed menu panel inside the bar */
	.site-header__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
	.nav-toggle { display: grid; }
	.header-phone { display: none; }
	.site-nav {
		position: fixed; inset: 0; z-index: -1; margin: 0;
		display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
		padding: calc(var(--header-top) + 96px) var(--gutter) 2rem;
		background: var(--night); overflow-y: auto;
		clip-path: circle(0 at calc(100% - 52px) 46px);
		visibility: hidden;
		transition: clip-path .7s var(--ease), visibility 0s .7s;
		pointer-events: auto;
	}
	.site-nav.is-open { clip-path: circle(150% at calc(100% - 52px) 46px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu li { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.1); }
	.site-nav .menu a {
		flex: 1; padding: .7rem 0; border-radius: 0; background: none !important;
		font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -0.03em; color: var(--white);
	}
	.site-nav .menu a:hover { color: var(--blue); }
	.submenu-toggle { width: 52px; height: 52px; color: var(--white); }
	.submenu-toggle .icon { width: 26px; height: 26px; }
	.site-nav .sub-menu, .site-nav .sub-menu .sub-menu {
		position: static; display: none; width: 100%; min-width: 0; padding: 0 0 1rem 1rem;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; border-radius: 0;
	}
	.site-nav .sub-menu::before { display: none; }
	.site-nav .is-open > .sub-menu { display: block; }
	.site-nav .sub-menu li { border: 0; }
	.site-nav .sub-menu a { padding: .4rem 0; font-family: var(--body); font-size: 1.15rem; font-weight: 500; color: rgba(255,255,255,.75); letter-spacing: 0; }
	.site-nav .sub-menu .submenu-toggle .icon { transform: none; }
	.site-nav .sub-menu .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.site-nav__contact { display: grid; gap: .4rem; color: rgba(255,255,255,.7); }
	.site-nav__contact a { color: var(--white); text-decoration: none; font-size: 1.15rem; }
	.social--nav { margin-top: .5rem; }
	body.nav-open .site-header__bar { background: var(--white); }
}
@media (max-width: 560px) {
	.site-header__actions .btn { display: none; }
}

/* Social icons */
.social { display: flex; gap: .35rem; list-style: none; }
.social a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	color: inherit; border: 1px solid rgba(255,255,255,.18);
	transition: background-color .25s, color .25s, border-color .25s;
}
.social a:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.social .icon { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative; background: var(--night); color: rgba(255,255,255,.75);
	min-height: 100svh; display: flex; align-items: flex-end;
	padding: calc(var(--header-top) + 120px) 0 clamp(2rem, 4vw, 3rem);
	overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
	color: var(--white);
	font-size: clamp(3.2rem, 12.2vw, 14.5rem);
	font-weight: 700; line-height: .9; letter-spacing: -0.045em;
	margin: 0; max-width: 12ch;
}
.hero__pill {
	display: inline-block; vertical-align: -0.04em;
	width: clamp(72px, 17vw, 320px); height: .72em; margin-inline: .06em .1em;
	border-radius: 999px; overflow: hidden; background: var(--slate);
	transform-origin: left center;
}
.hero__pill img { width: 100%; height: 100%; object-fit: cover; }
.hero__foot {
	display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem 3rem;
	margin-top: clamp(2.5rem, 6vw, 5rem); padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid rgba(255,255,255,.14);
}
.hero__text { margin: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.45; color: rgba(255,255,255,.82); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__badge { display: flex; align-items: center; gap: .6rem; justify-self: end; margin: 0; font-size: .95rem; color: rgba(255,255,255,.6); max-width: 26ch; line-height: 1.35; }
.hero__badge .icon { width: 28px; height: 28px; color: var(--cyan); }
@media (max-width: 1100px) {
	.hero__foot { grid-template-columns: 1fr auto; }
	.hero__badge { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 700px) {
	.hero { align-items: flex-end; }
	.hero__title { font-size: 15.5vw; }
	.hero__pill { width: 22vw; }
	.hero__foot { grid-template-columns: 1fr; }
	.hero__actions .btn { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   Restore: a faded photo repainted to full color as you scroll
   -------------------------------------------------------------------------- */
.restore { position: relative; background: var(--night); height: 260vh; }
.restore__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.restore__frame {
	position: relative; width: 58vw; height: 62vh; border-radius: 28px; overflow: hidden;
	background: var(--slate); will-change: width, height, border-radius;
}
.restore__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.restore__img--old { filter: grayscale(1) sepia(.35) contrast(.85) brightness(.9); }
.restore__fresh { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); will-change: clip-path; }
.restore__roller {
	position: absolute; top: 0; bottom: 0; left: 0; width: clamp(10px, 1.2vw, 18px);
	background: var(--blue); box-shadow: 0 0 0 3px rgba(255,255,255,.25);
	transform: translateX(-100%); will-change: transform;
}
/* Without motion: show the finished photo */
html:not(.motion) .restore { height: auto; padding: 0 var(--gutter) var(--section); }
html:not(.motion) .restore__sticky { position: static; height: auto; }
html:not(.motion) .restore__frame { width: 100%; height: auto; aspect-ratio: 16 / 9; }
html:not(.motion) .restore__fresh { clip-path: none; }
html:not(.motion) .restore__roller { display: none; }

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */
.statement { background: var(--white); padding-block: var(--section); }
.statement__text {
	margin: 0; max-width: 22ch;
	font-family: var(--display); font-weight: 600;
	font-size: clamp(2.1rem, 1.2rem + 3.9vw, 5.6rem); line-height: 1.02; letter-spacing: -0.04em;
	color: var(--slate);
}
.statement__text .word { color: rgba(60,57,80,.14); transition: none; }
html:not(.motion) .statement__text .word { color: inherit; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { background: var(--blue); color: var(--white); overflow: hidden; padding-block: clamp(1rem, 2.4vw, 2rem); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
	font-family: var(--display); font-weight: 650; white-space: nowrap;
	font-size: clamp(2.4rem, 6.5vw, 6.5rem); line-height: 1; letter-spacing: -0.045em;
	padding-inline: .3em;
}
.marquee__dot { width: .5em; height: .5em; font-size: clamp(2.4rem, 6.5vw, 6.5rem); border-radius: 50%; background: var(--night); flex: none; }
html:not(.motion) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Services index
   -------------------------------------------------------------------------- */
.services { position: relative; background: var(--white); padding-block: var(--section); }
.section-title {
	font-size: clamp(3.6rem, 11vw, 12rem); font-weight: 700; line-height: .88; letter-spacing: -0.05em;
	margin: 0 0 clamp(2rem, 5vw, 4rem); color: var(--slate);
}
.svc-list { list-style: none; border-bottom: 1px solid var(--line); }
.svc { border-top: 1px solid var(--line); }
.svc__link {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 2rem;
	padding: clamp(.9rem, 1.8vw, 1.5rem) clamp(.25rem, 1vw, 1rem);
	text-decoration: none; color: var(--slate);
}
.svc__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
	transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.svc__name {
	font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1;
	font-size: clamp(1.8rem, 1rem + 3.4vw, 4.6rem);
	transition: transform .5s var(--ease), color .3s;
}
.svc__group { font-size: 1rem; color: var(--muted); transition: color .3s; white-space: nowrap; }
.svc__thumb { display: none; }
.svc__link:hover::before, .svc__link:focus-visible::before { transform: scaleY(1); }
.svc__link:hover .svc__name, .svc__link:focus-visible .svc__name { color: var(--white); transform: translateX(clamp(.5rem, 1.5vw, 1.5rem)); }
.svc__link:hover .svc__group, .svc__link:focus-visible .svc__group { color: rgba(255,255,255,.85); }

.svc-preview {
	position: fixed; z-index: 60; left: 0; top: 0; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 3;
	border-radius: 18px; overflow: hidden; pointer-events: none;
	opacity: 0; visibility: hidden;
	box-shadow: 0 30px 60px -20px rgba(24,24,40,.5);
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) {
	.svc-preview { display: none; }
	.svc__link { grid-template-columns: 64px 1fr; }
	.svc__thumb { display: block; width: 64px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; grid-row: span 2; }
	.svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.svc__group { font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote { background: var(--slate); color: var(--white); padding-block: var(--section); }
.quote__text {
	margin: 0; max-width: 20ch;
	font-family: var(--display); font-weight: 600; color: var(--white);
	font-size: clamp(2.3rem, 1.2rem + 4.6vw, 6.4rem); line-height: 1; letter-spacing: -0.045em;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process { background: var(--mist); padding-block: var(--section); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 6vw, 7rem); align-items: start; }
.process__title {
	position: sticky; top: 120px;
	font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin: 0;
}
.process__steps { list-style: none; }
.pstep {
	position: relative; display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline;
	padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid #cfd8dc;
}
.pstep::before {
	content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--blue);
	transform: scaleX(var(--p, 0)); transform-origin: left;
}
.pstep__num { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--blue-ink); }
.pstep__title {
	font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
	font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.8rem); color: var(--slate);
}
html.motion .pstep__title { color: rgba(60,57,80,.25); transition: color .4s var(--ease); }
html.motion .pstep.is-active .pstep__title { color: var(--slate); }
html:not(.motion) .pstep::before { transform: scaleX(1); }
@media (max-width: 900px) {
	.process__grid { grid-template-columns: 1fr; }
	.process__title { position: static; }
	.pstep { grid-template-columns: 3rem 1fr; }
}

/* --------------------------------------------------------------------------
   Gallery (horizontal on scroll)
   -------------------------------------------------------------------------- */
.gallery { background: var(--night); color: var(--white); }
.gallery__pin { padding-block: var(--section) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.gallery .section-title { color: var(--white); margin: 0; }
.gallery__text { margin: 0; max-width: 28ch; font-size: 1.2rem; color: rgba(255,255,255,.72); }
.gallery__track {
	display: flex; gap: clamp(1rem, 2vw, 1.75rem); list-style: none;
	padding-inline: var(--gutter); width: max-content;
}
.job { flex: none; width: clamp(260px, 30vw, 460px); }
.job a { display: block; color: var(--white); text-decoration: none; }
.job__img { display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--slate); }
.job__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .8s var(--ease); }
.job a:hover .job__img img { transform: scale(1.02); }
.job__name { display: block; margin-top: 1rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.job--more a {
	display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 22px; background: var(--blue);
	font-family: var(--display); font-weight: 650; font-size: clamp(1.8rem, 1rem + 2vw, 3rem); letter-spacing: -0.035em; text-align: center; padding: 2rem;
	transition: background-color .3s;
}
.job--more a:hover { background: var(--white); color: var(--slate); }
/* Without the scroll effect (touch, small screens, reduced motion): swipe */
html:not(.motion) .gallery__track, .gallery__track.is-native {
	width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin;
}
html:not(.motion) .job, .gallery__track.is-native .job { scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   Closing section
   -------------------------------------------------------------------------- */
.cta { position: relative; background: var(--blue); color: var(--white); padding-block: var(--section); overflow: hidden; }
.cta__inner { position: relative; z-index: 1; }
.cta__title {
	color: var(--white); margin: 0; max-width: 13ch;
	font-size: clamp(3rem, 1rem + 8vw, 10rem); font-weight: 700; line-height: .9; letter-spacing: -0.045em;
}
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4rem); }
.cta__text { margin: 0; max-width: 32ch; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.4; color: var(--white); font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__chips { position: absolute; top: clamp(2rem, 6vw, 5rem); right: clamp(1rem, 5vw, 5rem); display: flex; gap: 10px; }
.cta__chip {
	width: clamp(42px, 6vw, 92px); aspect-ratio: 1 / 1.35; background: var(--c); border-radius: 10px;
	box-shadow: 0 0 0 6px var(--white), 0 24px 40px -16px rgba(24,24,40,.5);
	transform: rotate(calc((var(--i) - 2) * 7deg)) translateY(calc(var(--i) * 6px));
}
@media (max-width: 800px) { .cta__chips { position: static; margin: 0 var(--gutter) 2rem; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.62); font-size: 1rem; overflow: hidden; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(4rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); }
.site-footer__about p { max-width: 36ch; margin: 0 0 1.5rem; font-size: 1.1rem; line-height: 1.5; color: rgba(255,255,255,.75); }
.site-footer__title { font-family: var(--body); font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.45); letter-spacing: 0; margin: 0 0 1rem; }
.footer-list { list-style: none; display: grid; gap: .55rem; }
.site-footer__mark {
	display: flex; flex-direction: column; padding-inline: var(--gutter);
	font-family: var(--display); font-weight: 700; letter-spacing: -0.05em; line-height: .82;
	font-size: clamp(3.5rem, 13.4vw, 15rem); color: var(--slate); white-space: nowrap; user-select: none;
}
.site-footer__mark span:last-child { color: var(--blue); align-self: flex-end; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; font-size: .92rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-hero { background: var(--night); color: var(--white); padding: calc(var(--header-top) + 150px) 0 clamp(3rem, 7vw, 5.5rem); }
.page-hero__parent { margin: 0 0 1rem; }
.page-hero__parent a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-hero__title {
	color: var(--white); margin: 0; max-width: 16ch;
	font-size: clamp(3rem, 1.4rem + 7vw, 9rem); font-weight: 700; line-height: .9; letter-spacing: -0.045em;
}
.page-hero__lead { margin: 1.5rem 0 0; font-size: 1.3rem; max-width: 40em; color: rgba(255,255,255,.75); }

.page-body { padding-block: clamp(3rem, 7vw, 6rem); }
.entry--narrow { max-width: calc(780px + var(--gutter) * 2); }
.entry { font-size: 1.1rem; line-height: 1.7; }
.entry h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); margin-top: 1.3em; letter-spacing: -0.04em; }
.entry h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-top: 1.2em; letter-spacing: -0.035em; }
.entry h4 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.04em; margin-bottom: .45em; }
.entry h5 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.08; }
.entry h6 { font-size: 1.25rem; letter-spacing: -0.02em; }
.entry ul, .entry ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.entry li { margin-bottom: .35em; }
.entry ul li::marker { color: var(--blue); }
.entry strong { color: var(--slate); }
.entry img { height: auto; }

/* WPBakery content */
.entry .vc_row { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.entry .vc_row:last-child { margin-bottom: 0; }
.entry .wpb_content_element { margin-bottom: 1.25rem; }
.entry .wpb_text_column p span[style*="5392b1"],
.entry .wpb_text_column li span[style*="5392b1"] { color: var(--blue-ink) !important; }
.entry .wpb_text_column h4 span[style*="5392b1"],
.entry .wpb_text_column h5 span[style*="5392b1"],
.entry .wpb_text_column h6 span[style*="5392b1"] { color: var(--slate) !important; }
.entry .vc_row.vc_inner { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.entry .vc_inner > .vc_column_container > .vc_column-inner { padding-top: 0; }
.entry .wpb_single_image img,
.entry .ls-container, .entry .ls-wp-container,
.entry .vc_single_image-wrapper { border-radius: 22px; overflow: hidden; }
.entry .ls-container, .entry .ls-wp-container { max-width: 100% !important; }
.entry .wpb_single_image a { display: block; border-radius: 22px; overflow: hidden; }
.entry .wpb_single_image a img { transition: transform .8s var(--ease); }
.entry .wpb_single_image a:hover img { transform: scale(1.04); }

/* Gallery page tiles */
.page-id-37 .entry .vc_inner .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; }
.page-id-37 .entry .vc_inner .vc_column-inner > .wpb_wrapper > .wpb_single_image { order: 1; margin-bottom: 0; }
.page-id-37 .entry .vc_inner .vc_column-inner > .wpb_wrapper > .wpb_text_column { order: 2; margin: .8rem 0 2rem; }
.page-id-37 .entry .vc_inner .wpb_single_image .vc_figure,
.page-id-37 .entry .vc_inner .wpb_single_image a { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; }
.page-id-37 .entry .vc_inner .wpb_single_image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.page-id-37 .entry .vc_inner h6 { margin: 0; text-align: left !important; }
.page-id-37 .entry .vc_inner h6 a { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.03em; text-transform: capitalize; text-decoration: none; }
.page-id-37 .entry .vc_inner h6 a span { color: var(--slate) !important; }

/* NextGEN galleries */
.entry .ngg-galleryoverview { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0 !important; }
.entry .ngg-galleryoverview::before, .entry .ngg-galleryoverview::after { display: none !important; }
.entry .ngg-gallery-thumbnail-box { float: none !important; width: auto !important; margin: 0 !important; }
.entry .ngg-gallery-thumbnail { margin: 0 !important; border: 0 !important; padding: 0 !important; background: none !important; }
.entry .ngg-gallery-thumbnail a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--mist); }
.entry .ngg-gallery-thumbnail img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; transition: transform .6s var(--ease); }
.entry .ngg-gallery-thumbnail a:hover img { transform: scale(1.05); }
.entry .ngg-clear, .entry .slideshowlink { display: none; }

/* Forms */
.entry input[type="text"], .entry input[type="email"], .entry input[type="tel"], .entry input[type="url"],
.entry input[type="number"], .entry input[type="date"], .entry select, .entry textarea {
	width: 100%; min-height: 56px; padding: .85rem 1.1rem;
	font: inherit; color: var(--slate); background: var(--mist);
	border: 2px solid transparent; border-radius: 16px; transition: border-color .2s, background-color .2s;
}
.entry textarea { min-height: 170px; resize: vertical; }
.entry input:focus, .entry select:focus, .entry textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.entry .wpcf7-form p { margin-bottom: 1.1rem; }
.entry .wpcf7-form label { display: block; font-weight: 600; color: var(--slate); font-size: 1rem; }
.entry .wpcf7-form label .wpcf7-form-control-wrap { display: block; margin-top: .4rem; font-weight: 400; }
.entry input[type="submit"], .entry button[type="submit"] {
	min-height: 60px; padding: .9rem 2.2rem; font-family: var(--body); font-weight: 700; font-size: 1.2rem;
	color: var(--white); background: var(--blue); border: 0; border-radius: 999px; cursor: pointer; transition: background-color .3s;
}
.entry input[type="submit"]:hover, .entry button[type="submit"]:hover { background: var(--slate); }
.entry .wpcf7-not-valid-tip { color: #b42318; font-size: .9rem; margin-top: .3rem; }
.page-id-39 .entry .vc_inner > .vc_col-sm-4 > .vc_column-inner {
	background: var(--night); color: rgba(255,255,255,.8); padding: 2.2rem 2rem !important; border-radius: 24px;
}
.page-id-39 .entry .vc_inner > .vc_col-sm-4 h5, .page-id-39 .entry .vc_inner > .vc_col-sm-4 h5 span { color: var(--white) !important; }
.page-id-39 .entry .vc_inner > .vc_col-sm-4 strong { color: var(--white); }
.page-id-39 .entry .vc_inner > .vc_col-sm-4 a { color: #8cc3dd; }

/* Fallback list */
.post-list { list-style: none; display: grid; gap: 2rem; }
.post-list h2 { font-size: 2rem; margin: 0 0 .3rem; }
.post-list a { color: var(--slate); text-decoration: none; }

/* --------------------------------------------------------------------------
   Motion start states (only before JS takes over; see functions.php)
   -------------------------------------------------------------------------- */
html.motion:not(.motion-ready) [data-hero-title],
html.motion:not(.motion-ready) [data-hero-fade],
html.motion:not(.motion-ready) [data-split] { visibility: hidden; }

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