/*
 * Actuel Immobilier site template.
 *
 * The Actuel identity carried over from the old site: slate (#36414f) for the
 * dark surfaces, the gold of the handwritten "Actuel" (#f2bb02) as the one
 * accent, Montserrat throughout, and big Provence photography. Gold is a fill
 * and a rule, never text on white (it fails contrast there); on slate it may
 * be text. Every class is prefixed act- so it never collides with Bootstrap,
 * Joomla core or OS Property.
 */

/* ---------------------------------------------------------------- tokens */

:root {
	--act-slate: #36414f;
	--act-slate-2: #2b3440;
	--act-slate-3: #212831;
	--act-ink: #262e38;
	--act-text: #4a5462;
	--act-muted: #737d89;
	--act-line: #e3e6ea;
	--act-paper: #ffffff;
	--act-mist: #f4f5f7;
	--act-gold: #f2bb02;
	--act-gold-2: #d9a700;

	--act-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

	--act-gutter: clamp(1rem, 4vw, 3rem);
	--act-wide: 1440px;
	--act-section: clamp(4rem, 8vw, 7.5rem);
	--act-header-h: 96px;
	--act-topbar-h: 40px;
	--act-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- base */

html { scroll-behavior: smooth; }

/* Anchored sections land below the sticky header, not under it. */
[id] { scroll-margin-top: 110px; }

body {
	margin: 0;
	background: var(--act-paper);
	color: var(--act-text);
	font-family: var(--act-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .act-display {
	font-family: var(--act-sans);
	font-weight: 300;
	color: var(--act-ink);
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
}
h1 strong, h2 strong, .act-display strong { font-weight: 600; }

h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: 0; }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; }

p { margin: 0 0 1.25em; }

a { color: var(--act-slate); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--act-gold-2); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--act-gold); color: var(--act-slate-3); }

.act-skip {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--act-slate); color: #fff; padding: .75rem 1.25rem;
}
.act-skip:focus { left: 1rem; top: 1rem; color: #fff; }

:focus-visible { outline: 2px solid var(--act-gold); outline-offset: 3px; }

.act-wrap {
	width: 100%;
	max-width: var(--act-wide);
	margin: 0 auto;
	padding: 0 var(--act-gutter);
}
.act-wrap--narrow { max-width: 860px; }

.act-section { padding: var(--act-section) 0; }
.act-section--mist { background: var(--act-mist); }
.act-section--tight { padding-top: calc(var(--act-section) * .5); }

/* Small tracked capitals with a short gold rule: the label voice. */
.act-eyebrow {
	display: inline-flex; align-items: center; gap: .9rem;
	font-size: .7rem; font-weight: 600;
	letter-spacing: .24em; text-transform: uppercase;
	color: var(--act-muted);
	margin-bottom: 1.3rem;
}
.act-eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: var(--act-gold); }
.act-eyebrow--center { justify-content: center; text-align: center; }
.act-eyebrow--plain::before { display: none; }

.act-lead {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	font-weight: 300;
	line-height: 1.6;
	color: var(--act-ink);
}

/* The gold underline under a heading, as a standalone element. */
.act-rule { display: block; width: 3.5rem; height: 3px; background: var(--act-gold); border: 0; margin: 0 0 1.75rem; }
.act-rule--center { margin-left: auto; margin-right: auto; }

.act-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.act-head h2 { margin: 0; max-width: 18ch; }
.act-head--center { flex-direction: column; align-items: center; text-align: center; }
.act-head--center h2 { max-width: 24ch; }

/* ---------------------------------------------------------------- buttons & links */

/* Gold with slate letters, as the old site's search button. */
.act-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
	min-height: 52px; padding: 0 2rem;
	border: 2px solid var(--act-gold); border-radius: 2px;
	background: var(--act-gold); color: var(--act-slate-3);
	font-family: var(--act-sans); font-size: .74rem; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase;
	cursor: pointer;
	transition: background .3s var(--act-ease), color .3s var(--act-ease), border-color .3s var(--act-ease);
}
.act-btn:hover { background: var(--act-gold-2); border-color: var(--act-gold-2); color: var(--act-slate-3); }
.act-btn--dark { background: var(--act-slate); border-color: var(--act-slate); color: #fff; }
.act-btn--dark:hover { background: var(--act-slate-3); border-color: var(--act-slate-3); color: #fff; }
.act-btn--ghost { background: transparent; border-color: var(--act-slate); color: var(--act-slate); }
.act-btn--ghost:hover { background: var(--act-slate); border-color: var(--act-slate); color: #fff; }
.act-btn--outline-light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.act-btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--act-slate); }

/* Text link with a gold line that grows on hover. */
.act-link {
	display: inline-flex; align-items: center; gap: .8rem;
	font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--act-slate);
	padding-bottom: .4rem;
	background: linear-gradient(var(--act-gold), var(--act-gold)) 0 100% / 2.25rem 2px no-repeat;
	transition: background-size .45s var(--act-ease), color .25s;
}
.act-link:hover { background-size: 100% 2px; color: var(--act-slate); }
.act-link--light, .act-link--light:hover { color: #fff; }

/* ---------------------------------------------------------------- top bar */

.act-topbar {
	background: var(--act-slate-2);
	color: rgba(255,255,255,.72);
	font-size: .7rem; letter-spacing: .1em;
}
.act-topbar .act-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--act-topbar-h); }
.act-topbar a { color: rgba(255,255,255,.8); }
.act-topbar a:hover { color: var(--act-gold); }
.act-topbar__group { display: flex; align-items: center; gap: 1.75rem; }
.act-topbar i { margin-right: .55rem; font-size: .7rem; color: var(--act-gold); }

.act-langs { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; text-transform: uppercase; letter-spacing: .16em; }
.act-langs li + li::before { content: "/"; margin-right: .2rem; opacity: .4; }
.act-langs .is-active { color: var(--act-gold); font-weight: 600; }

/* ---------------------------------------------------------------- header */

.act-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--act-slate);
	transition: background .35s, box-shadow .35s, top .35s;
}
.act-header.is-scrolled { box-shadow: 0 8px 30px rgba(20,26,33,.28); }

.act-header .act-wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--act-header-h); transition: min-height .3s; }
.act-header.is-scrolled .act-wrap { min-height: 74px; }

.act-brand { display: block; flex: 0 0 auto; }
.act-brand img { height: 66px; width: auto; transition: height .3s; }
.act-header.is-scrolled .act-brand img { height: 50px; }

/* Home with a full screen photo: top bar and header float over it, as on the
   old site, and the header turns slate once the page scrolls. */
.has-overlay .act-topbar {
	position: absolute; top: 0; left: 0; right: 0; z-index: 101;
	background: transparent; border-bottom: 1px solid rgba(255,255,255,.14);
}
.has-overlay .act-header {
	position: fixed; top: var(--act-topbar-h); left: 0; right: 0;
	background: transparent;
}
.has-overlay .act-header.is-scrolled { top: 0; background: var(--act-slate); }
.has-overlay .act-header:not(.is-scrolled) .act-menu > li > a,
.has-overlay .act-header:not(.is-scrolled) .act-menu > li > button { text-shadow: 0 1px 12px rgba(20,26,33,.45); }

.act-menu { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 2rem); list-style: none; margin: 0; padding: 0; }
.act-menu > li { position: relative; }
.act-menu a, .act-menu button, .act-menu span {
	display: block; position: relative;
	padding: .6rem 0;
	background: none; border: 0;
	font-family: var(--act-sans); font-size: .74rem; font-weight: 500;
	letter-spacing: .12em; text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}
.act-menu > li > a::after, .act-menu > li > button::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .15rem;
	height: 2px; background: var(--act-gold);
	transform: scaleX(0); transform-origin: left; transition: transform .4s var(--act-ease);
}
.act-menu > li:hover > a::after, .act-menu > li.is-active > a::after,
.act-menu > li:hover > button::after, .act-menu > li.is-active > button::after { transform: scaleX(1); }
.act-menu a:hover, .act-menu button:hover { color: #fff; }
.act-menu > li.is-active > a, .act-menu > li.is-active > button { color: var(--act-gold); }

.act-submenu {
	position: absolute; top: 100%; left: -1.5rem; min-width: 240px;
	list-style: none; margin: 0; padding: .9rem 0;
	background: var(--act-slate); border-top: 2px solid var(--act-gold);
	box-shadow: 0 20px 40px rgba(20,26,33,.3);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.act-menu > li:hover > .act-submenu, .act-menu > li.is-open > .act-submenu { opacity: 1; visibility: visible; transform: none; }
.act-submenu a { padding: .55rem 1.5rem; letter-spacing: .1em; font-size: .7rem; color: rgba(255,255,255,.8); }
.act-submenu a:hover { color: var(--act-gold); background: var(--act-slate-2); }

.act-header__cta { flex: 0 0 auto; }
.act-header__cta .act-btn { min-height: 44px; padding: 0 1.4rem; }

.act-burger {
	display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	position: relative;
}
.act-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.act-burger span:nth-child(1) { top: 14px; }
.act-burger span:nth-child(2) { top: 21px; }
.act-burger span:nth-child(3) { top: 28px; }
.act-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.act-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.act-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */

/* The home page wrapper: hero photo with the search along its bottom edge. */
.act-stage { position: relative; }

.act-hero {
	position: relative;
	min-height: max(100vh, 600px);
	min-height: max(100svh, 600px);
	display: flex; align-items: center;
	color: #fff;
	overflow: hidden;
	background: var(--act-slate);
}
.act-hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.06);
	transition: opacity 1.6s ease, transform 9s linear;
}
.act-hero__slide.is-active { opacity: 1; transform: scale(1); }
.act-hero::after {
	content: ""; position: absolute; inset: 0;
	/* Dark at the top for the floating menu, dark at the bottom for the
	   search band, the middle of the photo left alone. */
	background:
		radial-gradient(ellipse 60% 42% at 50% 52%, rgba(20,26,33,.38) 0%, rgba(20,26,33,0) 100%),
		linear-gradient(180deg, rgba(20,26,33,.55) 0%, rgba(20,26,33,0) 28%, rgba(20,26,33,0) 55%, rgba(20,26,33,.55) 100%);
}
.act-hero__body { position: relative; z-index: 2; width: 100%; padding: calc(var(--act-topbar-h) + var(--act-header-h)) 0 9rem; text-align: center; }
.act-hero h1, .act-hero .act-hero__title { color: #fff; max-width: 20ch; margin: 0 auto 1.4rem; font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 300; text-shadow: 0 2px 30px rgba(20,26,33,.4); }
.act-hero .act-eyebrow { color: #fff; text-shadow: 0 1px 12px rgba(20,26,33,.5); }
.act-hero .act-eyebrow::after { content: ""; width: 2.25rem; height: 2px; background: var(--act-gold); }
.act-hero__sub { font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 400; max-width: 46ch; margin: 0 auto 2.2rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 14px rgba(20,26,33,.45); }
.act-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.act-hero__dots { position: absolute; z-index: 3; right: var(--act-gutter); bottom: 8.5rem; display: flex; gap: .6rem; }
.act-hero__dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s; }
.act-hero__dots button.is-active { background: var(--act-gold); }

/* Sub page hero: shorter, words bottom left, solid header above it. */
.act-hero--page { min-height: min(54vh, 520px); align-items: flex-end; }
.act-hero--page::after { background: linear-gradient(180deg, rgba(20,26,33,.1) 0%, rgba(20,26,33,.15) 40%, rgba(20,26,33,.7) 100%); }
.act-hero--page .act-hero__body { padding: 4rem 0 clamp(2.75rem, 5vw, 4.25rem); text-align: left; }
.act-hero--page h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0 0 .5rem; max-width: 22ch; }
.act-hero--page .act-eyebrow::after { display: none; }
.act-hero--page .act-hero__sub { margin: 0; }

/* ---------------------------------------------------------------- property search band */

/* A slate band: over the bottom of the home photo, or under a page title. */
.act-search { position: relative; z-index: 5; background: var(--act-slate); padding: 1.4rem 0; }
.act-search--over {
	position: absolute; left: 0; right: 0; bottom: 0;
	background: rgba(54,65,79,.82);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.act-search__form { display: flex; align-items: flex-end; gap: 1.25rem; }
.act-search__field { position: relative; flex: 1 1 0; min-width: 0; }
.act-search__field label {
	display: block; margin: 0 0 .25rem;
	font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65);
}
.act-search .act-search__field select, .act-search .act-search__field input {
	width: 100%; min-height: 44px; padding: .5rem 2rem .5rem .9rem;
	border: 1px solid rgba(255,255,255,.25); border-radius: 2px; background: rgba(255,255,255,.96);
	font-family: var(--act-sans); font-size: .9rem; color: var(--act-ink);
	appearance: none; -webkit-appearance: none; cursor: pointer;
}
.act-search .act-search__field input { cursor: text; padding-right: .9rem; }
.act-search .act-search__field select:focus, .act-search .act-search__field input:focus { outline: 2px solid var(--act-gold); outline-offset: 0; box-shadow: none; }
.act-search__field::after {
	content: ""; position: absolute; right: 1rem; bottom: 18px;
	width: 7px; height: 7px; border-right: 1.5px solid var(--act-slate); border-bottom: 1.5px solid var(--act-slate);
	transform: rotate(45deg); pointer-events: none;
}
.act-search__field--text::after { display: none; }
.act-search__submit { flex: 0 0 auto; min-height: 44px; padding: 0 2.2rem; }

/* ---------------------------------------------------------------- intro statement */

.act-intro { text-align: center; }
.act-intro h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.act-intro .act-lead { margin-bottom: 1.5rem; }
.act-intro p { max-width: 64ch; margin-left: auto; margin-right: auto; }

.act-stats {
	display: grid; grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--act-line);
}
.act-stat { padding: 2rem 1rem 0; text-align: center; }
.act-stat + .act-stat { border-left: 1px solid var(--act-line); }
.act-stat strong { display: block; font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 300; line-height: 1; color: var(--act-slate); margin-bottom: .7rem; }
.act-stat span { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--act-muted); }

/* ---------------------------------------------------------------- property cards */

.act-grid { display: grid; gap: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2.2vw, 2.25rem); }
.act-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.act-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.act-card { position: relative; display: flex; flex-direction: column; color: var(--act-text); }
.act-card:hover { color: var(--act-text); }
.act-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--act-mist); margin-bottom: 1.3rem; }
.act-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--act-ease); }
.act-card:hover .act-card__media img { transform: scale(1.045); }
.act-card__badge {
	position: absolute; top: 1rem; left: 1rem;
	padding: .38rem .75rem; background: var(--act-gold); color: var(--act-slate-3);
	font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.act-card__badge--dark { background: var(--act-slate); color: #fff; }
.act-card__place { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--act-muted); margin-bottom: .5rem; }
.act-card__title {
	font-size: 1.2rem; font-weight: 500; line-height: 1.35; color: var(--act-ink);
	margin: 0 0 .85rem;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.act-card__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .8rem; color: var(--act-muted); margin-bottom: 1rem; }
.act-card__meta i { color: var(--act-slate); opacity: .55; margin-right: .35rem; font-size: .75rem; }
.act-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--act-line); }
.act-card__price { font-size: 1.15rem; font-weight: 600; color: var(--act-slate); }
.act-card__ref { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--act-muted); }

/* First card of a "featured" set runs large across two columns. */
.act-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.act-grid--feature .act-card:first-child { grid-column: span 2; grid-row: span 2; }
.act-grid--feature .act-card:first-child .act-card__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 420px; }
.act-grid--feature .act-card:first-child .act-card__title { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; }

/* ---------------------------------------------------------------- split (image + text) */

.act-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 6vw, 7rem); }
.act-split--flip > :first-child { order: 2; }
.act-split__media { position: relative; }
.act-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* A gold frame offset behind the photo. */
.act-split__media--framed::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border: 2px solid var(--act-gold); z-index: -1; }
.act-split__media { isolation: isolate; }
.act-split__media figcaption {
	position: absolute; left: -1px; bottom: -1px; max-width: 72%;
	padding: 1.2rem 1.6rem; background: var(--act-slate);
	font-size: .95rem; font-weight: 300; color: #fff; line-height: 1.5;
}

.act-pillars { list-style: none; margin: 2.25rem 0 2.5rem; padding: 0; counter-reset: pillar; }
.act-pillars li { counter-increment: pillar; display: grid; grid-template-columns: 3.2rem 1fr; padding: 1.4rem 0; border-top: 1px solid var(--act-line); }
.act-pillars li:last-child { border-bottom: 1px solid var(--act-line); }
.act-pillars li::before { content: counter(pillar, decimal-leading-zero); font-size: 1rem; font-weight: 700; color: var(--act-gold-2); line-height: 1.7; }
.act-pillars h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.act-pillars p { margin: 0; font-size: .9rem; }

/* ---------------------------------------------------------------- slate band (the dark accent) */

.act-band {
	position: relative; overflow: hidden;
	background: var(--act-slate) center / cover no-repeat;
	color: rgba(255,255,255,.82);
	padding: clamp(5rem, 10vw, 9rem) 0;
}
.act-band::before { content: ""; position: absolute; inset: 0; background: rgba(43,52,64,.86); }
.act-band > * { position: relative; }
.act-band h2 { color: #fff; max-width: 20ch; }
.act-band .act-eyebrow { color: var(--act-gold); }
.act-band__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.act-band p { font-size: 1rem; }
.act-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ---------------------------------------------------------------- testimonial */

.act-quote { text-align: center; max-width: 900px; margin: 0 auto; }
.act-quote__mark { font-size: 4.5rem; font-weight: 700; line-height: .6; color: var(--act-gold); display: block; margin-bottom: 1.5rem; }
.act-quote blockquote { margin: 0 0 2rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 300; line-height: 1.55; color: var(--act-ink); }
.act-quote cite { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--act-muted); }

/* ---------------------------------------------------------------- team */

.act-team { display: grid; grid-template-columns: repeat(var(--act-team-cols, 4), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.act-person { text-align: center; }
.act-person__photo { overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 1.2rem; background: var(--act-mist); }
.act-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--act-ease); }
.act-person:hover .act-person__photo img { transform: scale(1.03); }
.act-person__name { font-size: 1.1rem; font-weight: 500; color: var(--act-ink); margin: 0 0 .15rem; }
.act-person__role { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--act-muted); }

/* ---------------------------------------------------------------- two way CTA (buy / sell) */

.act-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.act-path { position: relative; background: var(--act-mist); padding: clamp(2.5rem, 5vw, 4.25rem); display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid var(--act-gold); }
.act-path--dark { background: var(--act-slate); color: rgba(255,255,255,.8); }
.act-path--dark h3 { color: #fff; }
.act-path h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 300; letter-spacing: -.01em; }
.act-path p { max-width: 46ch; margin-bottom: 2rem; }
.act-path .act-btn { margin-top: auto; }

/* ---------------------------------------------------------------- partner strip (Savills) */

.act-partner { display: flex; align-items: center; justify-content: center; gap: 1.5rem 2.25rem; flex-wrap: wrap; text-align: center; padding: 2.25rem 0; border-top: 1px solid var(--act-line); border-bottom: 1px solid var(--act-line); }
.act-partner p { margin: 0; font-size: 1.05rem; font-weight: 300; color: var(--act-ink); }
.act-partner__mark { display: inline-flex; align-items: flex-end; justify-content: center; width: 58px; height: 58px; padding-bottom: 8px; background: #ffde00; color: #e2231a; font: 600 .82rem/1 Arial, sans-serif; letter-spacing: -.01em; }

/* ---------------------------------------------------------------- footer */

.act-footer { background: var(--act-slate-2); color: rgba(255,255,255,.7); font-size: .88rem; border-top: 3px solid var(--act-gold); }
.act-footer a { color: rgba(255,255,255,.8); }
.act-footer a:hover { color: var(--act-gold); }
.act-footer__top { display: grid; grid-template-columns: 1.35fr 1.15fr 1fr 1fr; gap: 3rem; padding: clamp(3.5rem, 6vw, 5.5rem) 0 3.25rem; }
.act-footer__logo img { height: 74px; width: auto; margin-bottom: 1.6rem; }
.act-footer h4 { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--act-gold); margin-bottom: 1.3rem; }
.act-footer ul { list-style: none; margin: 0; padding: 0; }
.act-footer li { margin-bottom: .55rem; }
.act-footer__contact li { display: grid; grid-template-columns: 1.6rem 1fr; margin-bottom: .85rem; line-height: 1.6; }
.act-footer__contact i { color: var(--act-gold); font-size: .8rem; padding-top: .3rem; }
.act-footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.act-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: .85rem; transition: background .3s, color .3s, border-color .3s; }
.act-footer__social a:hover { background: var(--act-gold); border-color: var(--act-gold); color: var(--act-slate-3); }

.act-newsletter { display: flex; border-bottom: 1px solid rgba(255,255,255,.35); margin-top: 1rem; }
.act-newsletter input { flex: 1; min-width: 0; padding: .8rem 0; border: 0; background: transparent; color: #fff; font: inherit; }
.act-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.act-newsletter input:focus { outline: none; }
.act-newsletter button { border: 0; background: none; color: var(--act-gold); padding: 0 0 0 1rem; cursor: pointer; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.act-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.5); }
.act-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.act-footer__bottom li { margin: 0; }
.act-footer__bottom a { color: rgba(255,255,255,.62); }

/* ---------------------------------------------------------------- sub page head */

/* No Link Image on the menu item: a quiet mist title block. */
.act-pagehead { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 4.5vw, 3.5rem); text-align: center; background: var(--act-mist); }
.act-pagehead h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); max-width: 24ch; margin: 0 auto; }
.act-pagehead h1::after { content: ""; display: block; width: 3.5rem; height: 3px; margin: 1.4rem auto 0; background: var(--act-gold); }
.act-pagehead__sub { font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 300; line-height: 1.6; max-width: 56ch; margin: 1.3rem auto 0; color: var(--act-text); }
.act-pagehead .act-eyebrow { justify-content: center; }
.act-pagehead .act-eyebrow::before { display: none; }

/* ---------------------------------------------------------------- breadcrumbs */

/* Joomla's breadcrumbs module, quietly: no "You are here", no Bootstrap box,
   one slash between steps. */
.mod-breadcrumbs.breadcrumb {
	display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .6rem;
	list-style: none; margin: 0 0 1.4rem; padding: 0 !important; background: none;
	font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--act-muted);
}
.mod-breadcrumbs__here { display: none; }
.mod-breadcrumbs .breadcrumb-item { padding: 0; }
.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item { padding-left: 0; }
.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { content: "/"; float: none; padding: 0 .6rem 0 0; color: inherit; opacity: .5; }
.mod-breadcrumbs .breadcrumb-item.active { color: inherit; }
.mod-breadcrumbs a { color: inherit; }
.mod-breadcrumbs a:hover { color: var(--act-slate); }

/* Over a photo: left aligned, white. */
.act-hero .mod-breadcrumbs.breadcrumb { justify-content: flex-start; color: rgba(255,255,255,.85); }
.act-hero .mod-breadcrumbs a:hover { color: var(--act-gold); }

/* ---------------------------------------------------------------- main content */

.act-main { padding: clamp(3rem, 6vw, 5rem) 0 var(--act-section); }
.act-main__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
.act-main__grid--sidebar { grid-template-columns: minmax(0, 1fr) 340px; }

/* Article text: comfortable measure, light headings with weight where it counts. */
.act-prose, .com-content-article__body, .item-page .article-body { max-width: 780px; }
.act-main__grid:not(.act-main__grid--sidebar) .com-content-article__body,
.act-main__grid:not(.act-main__grid--sidebar) .act-prose { margin-left: auto; margin-right: auto; }
.com-content-article__body > p:first-of-type { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 300; line-height: 1.65; color: var(--act-ink); }
.com-content-article__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 2.5rem; }
.com-content-article__body h3 { margin-top: 2rem; }
.com-content-article__body ul, .com-content-article__body ol { padding-left: 1.2rem; margin-bottom: 1.5rem; }
.com-content-article__body li { margin-bottom: .4rem; }
.com-content-article__body li::marker { color: var(--act-gold-2); }
.com-content-article__body img { margin: 2rem 0; }
.com-content-article__body blockquote { margin: 2.5rem 0; padding: .25rem 0 .25rem 1.75rem; border-left: 3px solid var(--act-gold); font-size: 1.3rem; font-weight: 300; line-height: 1.55; color: var(--act-ink); }
.com-content-article__body a:not(.act-btn):not(.act-link) { text-decoration: underline; text-decoration-color: var(--act-gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.com-content-article__body a:not(.act-btn):not(.act-link):hover { color: var(--act-ink); }
.com-content-article__body table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .9rem; }
.com-content-article__body th, .com-content-article__body td { padding: .8rem 1rem; border-bottom: 1px solid var(--act-line); text-align: left; }
.com-content-article__body th { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--act-muted); }

/* Joomla's own article furniture, toned down. */
.article-info, .com-content-article__info { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--act-muted); }
.page-header h1, .page-header h2 { margin-bottom: 1.5rem; }

/* Blog and category lists. */
.blog-items { display: grid; gap: 3rem; }
.blog-item .item-image img, .blog-item figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.readmore .btn, .readmore a { display: inline-flex; padding: 0 0 .4rem; border: 0; border-radius: 0; background: linear-gradient(var(--act-gold), var(--act-gold)) 0 100% / 2.25rem 2px no-repeat; color: var(--act-slate); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.readmore a:hover { background-size: 100% 2px; }

/* ---------------------------------------------------------------- sidebar */

.act-card-module { padding: 2rem; background: var(--act-mist); margin-bottom: 1.5rem; border-top: 3px solid var(--act-gold); }
.act-card-module__title { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--act-ink); margin-bottom: 1.2rem; }
.act-card-module ul { list-style: none; margin: 0; padding: 0; }
.act-card-module li { padding: .5rem 0; border-bottom: 1px solid var(--act-line); }

/* ---------------------------------------------------------------- forms (contact, OS Property, Joomla core) */

.form-control, .form-select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select {
	border-radius: 2px;
	border-color: var(--act-line);
	font-family: var(--act-sans); font-size: .92rem; color: var(--act-ink);
}
.form-control, .form-select { min-height: 48px; padding: .65rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--act-slate); box-shadow: 0 0 0 3px rgba(242,187,2,.25); }
label, .form-label, .control-label label { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--act-muted); margin-bottom: .45rem; }
.form-check-input:checked { background-color: var(--act-slate); border-color: var(--act-slate); }
.control-group { margin-bottom: 1.4rem; }

/* Bootstrap buttons inside components take the house style. */
.btn { border-radius: 2px; font-family: var(--act-sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .9rem 1.8rem; }
.btn-primary, .btn-success { background: var(--act-gold); border-color: var(--act-gold); color: var(--act-slate-3); }
.btn-primary:hover, .btn-primary:focus, .btn-success:hover { background: var(--act-gold-2); border-color: var(--act-gold-2); color: var(--act-slate-3); }
.btn-secondary, .btn-outline-primary { background: transparent; border-color: var(--act-slate); color: var(--act-slate); }
.btn-secondary:hover, .btn-outline-primary:hover { background: var(--act-slate); border-color: var(--act-slate); color: #fff; }

/* ---------------------------------------------------------------- pagination */

.pagination { justify-content: center; gap: .4rem; margin-top: 3rem; }
.page-link { border: 1px solid var(--act-line); border-radius: 2px !important; color: var(--act-ink); min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.page-link:hover { background: var(--act-mist); color: var(--act-slate); border-color: var(--act-line); }
.page-item.active .page-link { background: var(--act-slate); border-color: var(--act-slate); color: #fff; }
.counter { text-align: center; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--act-muted); }

/* ---------------------------------------------------------------- system messages */

#system-message-container { max-width: var(--act-wide); margin: 0 auto; }
joomla-alert, .alert { border-radius: 0; border-width: 0 0 0 3px; font-size: .9rem; }

/* ---------------------------------------------------------------- back to top */

.act-totop {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
	width: 46px; height: 46px; border: 0; border-radius: 2px; background: var(--act-gold); color: var(--act-slate-3);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .3s, transform .3s, visibility .3s, background .3s;
}
.act-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.act-totop:hover { background: var(--act-gold-2); }

/* ---------------------------------------------------------------- error page */

.act-error { min-height: 80vh; display: flex; align-items: center; text-align: center; padding: 3rem 0; }
.act-error__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 200; line-height: 1; color: var(--act-slate); margin-bottom: 1.2rem; }
.act-error__code::after { content: ""; display: block; width: 3.5rem; height: 3px; margin: 1.5rem auto 0; background: var(--act-gold); }

/* ---------------------------------------------------------------- inline menus (top bar, footer legal) */

.act-inline-menu { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.act-topbar .act-inline-menu { gap: 1.75rem; }

/* A menu module in a footer column: a plain vertical list, not the header nav. */
.act-footer .act-menu { display: block; }
.act-footer .act-menu > li { margin-bottom: .55rem; }
.act-footer .act-menu a, .act-footer .act-menu button, .act-footer .act-menu span { display: inline; padding: 0; font-size: .88rem; font-weight: 400; letter-spacing: .01em; text-transform: none; color: rgba(255,255,255,.8); }
.act-footer .act-menu a:hover { color: var(--act-gold); }
.act-footer .act-menu > li.is-active > a { color: var(--act-gold); }
.act-footer .act-menu > li > a::after, .act-footer .act-menu > li > button::after { display: none; }
.act-footer .act-submenu { display: none; }

/* Legal links in the footer's bottom line: always one row, whichever menu
   layout the module uses. */
.act-footer__bottom .act-menu { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.act-footer__bottom .act-menu > li { margin: 0; }
.act-footer__bottom .act-menu a { font-size: .72rem; color: rgba(255,255,255,.62); }

/* ---------------------------------------------------------------- contact page (article + RSForm) */

/* In the contact article: <div class="act-contact"><div>text, details</div><div class="act-contact__form">{rsform 1}</div></div> */
.act-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.com-content-article__body:has(.act-contact) { max-width: none; }
.act-contact__details { list-style: none; padding: 0 !important; margin: 2rem 0 0; border-top: 1px solid var(--act-line); }
.act-contact__details li { padding: 1.1rem 0; border-bottom: 1px solid var(--act-line); margin: 0 !important; }
.act-contact__details span { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--act-muted); margin-bottom: .2rem; }
.act-contact__details a { font-size: 1.15rem; text-decoration: none !important; color: var(--act-ink); }
.act-contact__form { padding: clamp(2rem, 4vw, 3.25rem); background: var(--act-mist); border-top: 3px solid var(--act-gold); }

/* RSForm! Pro output, in the house style: underlined fields on the mist
   panel, small capitals for the labels, one full width gold button. Written
   against RSForm's "Responsive" layout and strong enough to win over its own
   stylesheet. */
.act-contact__form h1, .act-contact__form h2, .act-contact__form .formTitle { display: none; }
.act-contact__form .formResponsive,
.act-contact__form .formContainer,
.act-contact__form .formRow,
.act-contact__form .formSpan12 { margin: 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }
.act-contact__form *, .act-contact__form *::before, .act-contact__form *::after { box-sizing: border-box; }
.act-contact__form .rsform-block { margin: 0 0 1.35rem !important; padding: 0 !important; }
.act-contact__form .formControls, .act-contact__form .formBody { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.act-contact__form .formControlLabel {
	display: block; float: none !important; width: auto !important; margin: 0 0 .15rem !important; padding: 0 !important; text-align: left !important;
	font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--act-muted);
}
.act-contact__form .formRequired { font-size: 0; margin-left: .25rem; }
.act-contact__form .formRequired::after { content: "*"; font-size: .8rem; font-weight: 700; color: var(--act-gold-2); }
.act-contact__form input[type="text"],
.act-contact__form input[type="email"],
.act-contact__form input[type="tel"],
.act-contact__form select,
.act-contact__form textarea {
	display: block; width: 100% !important; max-width: none !important; min-height: 0;
	margin: 0; padding: .55rem 0 .6rem !important;
	border: 0 !important; border-bottom: 1px solid rgba(38,46,56,.28) !important; border-radius: 0 !important;
	background: transparent !important; box-shadow: none !important;
	font-family: var(--act-sans); font-size: .95rem; color: var(--act-ink);
	transition: border-color .25s;
}
.act-contact__form textarea { min-height: 7.5rem !important; resize: vertical; line-height: 1.55; }
.act-contact__form select {
	appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.5rem !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2336414f'/%3E%3C/svg%3E") right center no-repeat !important;
}
.act-contact__form input:focus, .act-contact__form select:focus, .act-contact__form textarea:focus {
	outline: none; border-bottom-color: var(--act-slate) !important; box-shadow: 0 2px 0 0 var(--act-gold) !important;
}
.act-contact__form .rsform-type-checkboxgroup > .formControlLabel { display: none; }
.act-contact__form fieldset.rsfp-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.act-contact__form .rsform-type-checkboxgroup .formBody label {
	display: flex; gap: .7rem; align-items: flex-start; margin: .25rem 0 0;
	font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--act-text); cursor: pointer;
}
.act-contact__form input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; flex: 0 0 auto;
	width: 16px !important; height: 16px !important; margin: .15rem 0 0 !important; padding: 0 !important;
	border: 1px solid rgba(38,46,56,.45) !important; background: #fff; cursor: pointer; line-height: 1 !important;
	display: inline-grid; place-content: center;
}
.act-contact__form input[type="checkbox"]::before { content: ""; width: 8px; height: 8px; background: var(--act-slate); transform: scale(0); transition: transform .15s; }
.act-contact__form input[type="checkbox"]:checked::before { transform: scale(1); }
.act-contact__form .formNoError { display: none !important; }
.act-contact__form .formError { display: block; margin-top: .35rem; font-size: .74rem; color: #a2382f; }
.act-contact__form .formDescription:empty, .act-contact__form .formValidation:empty { display: none; }
.act-contact__form .rsform-type-submitbutton { margin: 1.75rem 0 0 !important; }
.act-contact__form .rsform-type-submitbutton > .formControlLabel { display: none; }
.act-contact__form button[type="submit"], .act-contact__form .rsform-submit-button {
	display: block; width: 100%; min-height: 54px; padding: 0 1.5rem;
	border: 2px solid var(--act-gold); border-radius: 2px; background: var(--act-gold); color: var(--act-slate-3);
	font-family: var(--act-sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	cursor: pointer; transition: background .3s, border-color .3s;
}
.act-contact__form button[type="submit"]:hover, .act-contact__form .rsform-submit-button:hover { background: var(--act-gold-2); border-color: var(--act-gold-2); }
.act-contact__form .alert, .act-contact__form .rsform-thankyou { padding: 1.25rem 0; border: 0; background: none; font-size: 1.15rem; font-weight: 300; color: var(--act-ink); }
/* RSForm's responsive stylesheet sizes fields as content-box with fixed
   heights, and shows its (empty) validation holder inline-block, which
   leaves a blank line under every field. */
.act-contact__form input, .act-contact__form select, .act-contact__form textarea { box-sizing: border-box !important; height: auto !important; line-height: 1.5 !important; }
.act-contact__form .formValidation { display: block !important; line-height: 0; }
.act-contact__form .formValidation .formError { line-height: 1.4; }
.act-contact__form .formValidation:has(> .formNoError:only-child) { display: none !important; }

/* ---------------------------------------------------------------- photo viewer (template.js) */

.act-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,26,33,.97); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.act-lightbox.is-open { opacity: 1; visibility: visible; }
.act-lightbox__stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 4.5rem 5rem 1rem; min-height: 0; }
.act-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.act-lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem 1.4rem; color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.act-lightbox button { border: 0; background: none; color: #fff; cursor: pointer; }
.act-lightbox__close { position: absolute; top: 1rem; right: 1.25rem; width: 48px; height: 48px; font-size: 1.4rem; }
.act-lightbox__prev, .act-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 1.3rem; opacity: .8; }
.act-lightbox__prev { left: .75rem; }
.act-lightbox__next { right: .75rem; }
.act-lightbox button:hover { opacity: 1; color: var(--act-gold); }
body.act-locked-lb { overflow: hidden; }

/* ---------------------------------------------------------------- print */

@media print {
	.act-topbar, .act-header, .act-footer, .act-totop, .act-search, .act-burger { display: none !important; }
	.act-reveal { opacity: 1 !important; transform: none !important; }
	body { font-size: 11pt; }
}

/* ---------------------------------------------------------------- reveal on scroll */

.act-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--act-ease), transform 1s var(--act-ease); }
.act-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.act-reveal { opacity: 1; transform: none; transition: none; }
	.act-hero__slide { transition: opacity .01s; transform: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1199.98px) {
	.act-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.act-footer__top { grid-template-columns: 1fr 1fr; }
	.act-header__cta { display: none; }
	.act-menu { gap: 1.1rem; }
	.act-menu a, .act-menu button { font-size: .68rem; letter-spacing: .08em; }
}

@media (max-width: 991.98px) {
	:root { --act-header-h: 76px; }
	.act-brand img { height: 52px; }
	.act-header.is-scrolled .act-brand img { height: 46px; }
	.act-burger { display: block; }
	.act-nav {
		position: fixed; inset: var(--act-nav-top, 76px) 0 0 0;
		background: var(--act-slate); overflow-y: auto;
		padding: 1.5rem var(--act-gutter) 3rem;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s, transform .3s, visibility .3s;
	}
	.act-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	/* An open menu over the home photo needs a solid header above it. */
	.has-overlay .act-header.is-menu-open { background: var(--act-slate); }
	.act-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.act-menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
	.act-menu a, .act-menu button, .act-menu span { padding: 1.05rem 0; font-size: .8rem; letter-spacing: .12em; width: 100%; text-align: left; text-shadow: none !important; }
	.act-menu > li > a::after, .act-menu > li > button::after { display: none; }
	.act-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 1rem; display: none; }
	.act-menu > li.is-open > .act-submenu { display: block; }
	.act-submenu a { padding: .6rem 1rem; }
	body.act-locked { overflow: hidden; }

	/* The search leaves the photo and sits under it as a slate band. */
	.act-search--over { position: static; background: var(--act-slate); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.act-search__form { flex-wrap: wrap; gap: 1rem; }
	.act-search__field { flex: 1 1 calc(50% - .5rem); }
	.act-search__submit { flex: 1 1 100%; min-height: 50px; }
	.act-hero__body { padding-bottom: 5rem; }
	.act-hero__dots { bottom: 2rem; }

	.act-grid--3, .act-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.act-grid--feature .act-card:first-child { grid-row: auto; }
	.act-grid--feature .act-card:first-child .act-card__media { min-height: 0; aspect-ratio: 16 / 10; }
	.act-split, .act-band__grid { grid-template-columns: 1fr; }
	.act-split--flip > :first-child { order: 0; }
	.act-split__media img { aspect-ratio: 4 / 3; }
	.act-split__media--framed::before { display: none; }
	.act-paths { grid-template-columns: 1fr; }
	.act-main__grid--sidebar { grid-template-columns: minmax(0, 1fr); }
	.act-stats { grid-template-columns: repeat(2, 1fr); }
	.act-stat:nth-child(3) { border-left: 0; }
	.act-contact { grid-template-columns: minmax(0, 1fr); }
	.act-lightbox__stage { padding: 4rem .5rem 1rem; }
}

@media (max-width: 767.98px) {
	body { font-size: 14.5px; }
	.act-topbar__group--secondary { display: none; }
	.act-topbar .act-wrap { justify-content: space-between; }
	.act-hero { min-height: max(86svh, 520px); }
	.act-hero--page { min-height: min(46vh, 400px); }
	.act-search__field { flex-basis: 100%; }
	.act-grid--3, .act-grid--feature, .act-grid--2 { grid-template-columns: 1fr; }
	.act-grid--feature .act-card:first-child { grid-column: auto; }
	.act-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.act-footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
	.act-split__media figcaption { position: static; max-width: none; }
	/* Centred eyebrows would wrap around their rules on a phone. */
	.act-hero .act-eyebrow::before, .act-hero .act-eyebrow::after, .act-eyebrow--center::before { display: none; }
	.act-hero .act-eyebrow { letter-spacing: .18em; }
}
