/* ==========================================================================
   SSA Real Estate Management — site stylesheet (GeneratePress child)

   Forked from the Sansome Street Advisors build (sansomestreet, 2026-10-24),
   which matched the Austin (LiveMesh) theme pixel for pixel. ssarem.com ran the
   same Austin skin; its differences come from austin-child/style.css on the live
   site: dark see-through header with the white logo, small uppercase section
   labels, a two-column property grid, a plain team section. The services tabs
   became three collapsible sections (Rob, 2026-10-24). Austin's breakpoints are
   kept: 1024px, 767px, 479px.
   ========================================================================== */

:root {
	--ssa-navy: #40516f;
	--ssa-text: #666666;
	--ssa-muted: #636363; /* Austin used #848484 (3.7:1, below WCAG AA) */
	--ssa-line: #888888;
	--ssa-grey: #eeeeee;
	--ssa-white: #ffffff;
	--ssa-footer: #353739;
	--ssa-footer-text: #b3b3b1;
	--ssa-wrap: 1140px;
	--ssa-header-h: 102px;
	--ssa-header-stuck-h: 72px;
	--ssa-font-body: "Noto Sans", Arial, Helvetica, sans-serif;
	--ssa-font-head: "Montserrat", Arial, Helvetica, sans-serif;

	/* GP's own tokens, remapped so every GP-native surface follows the brand */
	--contrast: var(--ssa-text);
	--contrast-2: var(--ssa-muted);
	--contrast-3: var(--ssa-line);
	--base: var(--ssa-grey);
	--base-2: var(--ssa-white);
	--base-3: var(--ssa-white);
	--accent: var(--ssa-navy);
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body {
	background-color: var(--ssa-white);
	color: var(--ssa-text);
	font-family: var(--ssa-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}

button, input, select, textarea { font-family: var(--ssa-font-body); }

h1, h2, h3, h4, h5, h6 {
	color: var(--ssa-navy);
	font-family: var(--ssa-font-head);
	font-weight: 400;
	letter-spacing: 0.2px;
	text-transform: none;
}

/* Home only (other pages keep GP's prose rhythm). :where() keeps this at .entry-content p weight,
   so class rules like .ssa-title's 15px margin still win. */
.home :where(.entry-content) :is(p, ul, ol, h1, h2, h3, h4, h5, h6) { margin: 0; padding: 0; }

a, a:visited, a:hover, a:focus { color: var(--ssa-navy); text-decoration: none; }

/* ---------- GP host neutralizations (one-page layout) ---------- */

.site-content,
.one-container .site-content,
.one-container.full-width-content .site-content { padding: 0; }
.inside-article,
.separate-containers .inside-article,
.one-container .container { background: transparent !important; padding: 0 !important; }
.site-main,
.separate-containers .site-main { margin: 0 !important; }
.entry-content:not(:first-child) { margin-top: 0; }
.site.grid-container,
.full-width-content .container.grid-container { max-width: 100%; }

/* ---------- Pages other than home (404, search, legal pages) ---------- */

body:not(.home) .site-content { padding-top: var(--ssa-header-h); }
body:not(.home) .site-main {
	box-sizing: content-box;
	max-width: var(--ssa-wrap);
	margin: 0 auto !important;
	padding: 60px 20px 90px;
}
body:not(.home) .entry-title,
body:not(.home) .page-title {
	margin: 0 0 30px;
	color: var(--ssa-navy);
	font-size: 36px;
	line-height: 48px;
}
body:not(.home) .entry-content h2 { margin: 1.6em 0 0.6em; font-size: 28px; line-height: 36px; }
body:not(.home) .entry-content h3 { margin: 1.4em 0 0.5em; font-size: 22px; line-height: 30px; }
body:not(.home) .entry-content a { text-decoration: underline; text-underline-offset: 0.15em; }
body:not(.home) .search-form { display: flex; gap: 10px; max-width: 480px; margin-top: 20px; }
body:not(.home) .search-form .search-field { flex: 1; padding: 10px 12px; border: 1px solid #ccc; font-size: 16px; }
body:not(.home) .search-form .search-submit { padding: 10px 20px; background: var(--ssa-navy); border: 0; color: #fff; cursor: pointer; }
@media (max-width: 768px) {
	body:not(.home) .site-content { padding-top: 68px; }
	body:not(.home) .site-main { padding: 40px 20px 60px; }
	body:not(.home) .entry-title, body:not(.home) .page-title { font-size: 28px; line-height: 38px; }
}

/* ---------- Header (fixed, overlays the hero) ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900;
	background-color: rgba(0, 0, 0, 0.4);
	transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* Below 600px WordPress lets the admin bar scroll away, so the stuck header goes to the top. */
@media screen and (max-width: 600px) { .admin-bar .site-header.is-stuck { top: 0; } }

.site-header.is-stuck {
	background-color: rgba(58, 62, 62, 0.8);
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
}

.site-header .inside-header {
	max-width: none;
	padding: 0 50px;
	align-items: flex-start;
}

.site-header .site-logo { margin: 15px 0 0; line-height: 0; transition: margin-top 0.3s ease-in-out; }
.site-header .site-logo a { display: block; line-height: 0; }
.site-header .site-logo img { display: block; width: 325px; height: auto; max-width: 100%; }
.site-header.is-stuck .site-logo { margin-top: 5px; }

.site-header .main-navigation,
.site-header .main-navigation ul ul { background: transparent; }
.site-header .main-navigation .main-nav > ul > li {
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.site-header .main-navigation .main-nav > ul > li:hover,
.site-header .main-navigation .main-nav > ul > li.ssa-active { border-bottom-color: var(--ssa-navy); }

.site-header .main-navigation .main-nav ul li a {
	color: #fff;
	font-family: var(--ssa-font-body);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 100px;
	padding: 0 18px;
	text-transform: capitalize;
	transition: all 0.3s ease-in-out;
}
/* Hover only: WordPress marks every "/#section" link "current" on the home page. */
.site-header .main-navigation .main-nav ul li:hover > a,
.site-header .main-navigation .main-nav ul li a:hover {
	background-color: rgba(58, 62, 62, 0.6);
	color: #fff;
}
.site-header .main-navigation .main-nav ul li[class*="current-menu-"] > a { background-color: transparent; color: #fff; }
.site-header.is-stuck .main-navigation .main-nav ul li a { line-height: 70px; }

/* Mobile toggle (GP's own) */
.site-header .menu-toggle,
.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus { background: transparent; color: #fff; }
.site-header .mobile-menu-control-wrapper .menu-toggle { line-height: 100px; padding: 0 0 0 20px; }
.site-header.is-stuck .mobile-menu-control-wrapper .menu-toggle { line-height: 70px; }

@media (max-width: 1024px) {
	.site-header .inside-header { padding: 0 30px; }
	.site-header .main-navigation .main-nav ul li a { padding: 0 12px; }
}

@media (max-width: 768px) {
	.site-header .inside-header {
		box-sizing: border-box;
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		padding: 0 20px;
		text-align: left;
	}
	.site-header .site-logo,
	.site-header.is-stuck .site-logo { margin: 12px 0; }
	.site-header .site-logo img { width: 220px; }
	.site-header #site-navigation { flex: 0 0 auto; margin-left: auto; }
	.site-header #site-navigation.toggled { flex-basis: 100%; }
	.site-header .main-navigation .menu-toggle { text-align: right; line-height: 50px; padding: 0; font-size: 16px; }
	.site-header .main-navigation.toggled .main-nav > ul { background: transparent; padding-bottom: 10px; }
	.site-header:has(.main-navigation.toggled) { background-color: rgba(58, 62, 62, 0.95); }
	.site-header .main-navigation .main-nav ul li a,
	.site-header.is-stuck .main-navigation .main-nav ul li a { line-height: 46px; padding: 0; }
	.site-header .main-navigation .main-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
	.site-header .main-navigation .main-nav > ul > li.ssa-active,
	.site-header .main-navigation .main-nav > ul > li:hover { border-bottom-color: rgba(255, 255, 255, 0.25); }
}

/* ---------- Sections ---------- */

.ssa-section {
	position: relative;
	padding: 90px 0;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	scroll-margin-top: var(--ssa-header-stuck-h);
}

.ssa-wrap {
	box-sizing: content-box;
	max-width: var(--ssa-wrap);
	margin: 0 auto;
	padding: 0 20px;
}

.ssa-parallax { background-attachment: fixed; }

.ssa-title,
.entry-content .ssa-title {
	color: var(--ssa-navy);
	font-family: var(--ssa-font-head);
	font-size: 36px;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 48px;
	margin: 0 0 15px;
	text-align: left;
}

.ssa-grey { background-color: var(--ssa-grey); }

/* Small uppercase section label with a rule under it (Austin .heading2 .subtext). */
.ssa-label,
.entry-content .ssa-label {
	margin: 0 0 40px;
	padding: 11px 0 0;
	border-bottom: 1px solid #aaa;
	color: #333;
	font-family: var(--ssa-font-body);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 4px;
	line-height: 36px;
	text-transform: uppercase;
}

/* Hero: Ken Burns, a CSS-only stand-in for the Revolution Slider that filled the screen.
   Three photos crossfade with a slow zoom; no JavaScript. Timing copied from the live slider
   (Oct 2026): City 9s, 100% -> 110% from center top; Exterior 8s, 100% -> 110% from left top;
   Interior 9s, 110% -> 100% from left center. 26s loop, 1s crossfades. */
.ssa-hero {
	overflow: hidden;
	height: 100vh;
	height: 100svh;
	min-height: 420px;
	padding: 0;
	background-color: #3f3b39;
}
.ssa-kb__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	will-change: transform, opacity;
	animation-duration: 26s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.ssa-kb__slide--1 { z-index: 1; opacity: 1; animation-name: ssa-kb-1; background-image: url(../img/hero-city.webp); background-position: center top; transform-origin: center top; }
.ssa-kb__slide--2 { z-index: 2; animation-name: ssa-kb-2; background-image: url(../img/hero-exterior.webp); background-position: left top; transform-origin: left top; }
.ssa-kb__slide--3 { z-index: 3; animation-name: ssa-kb-3; background-image: url(../img/hero-interior.webp); background-position: left center; transform-origin: left center; }
@keyframes ssa-kb-1 {
	0%     { opacity: 1; transform: scale(1); }
	34.6%  { opacity: 1; transform: scale(1.1); }
	38.4%  { opacity: 1; transform: scale(1.1); }
	38.5%  { opacity: 0; transform: scale(1); }
	96.1%  { opacity: 0; transform: scale(1); }
	96.2%  { opacity: 1; transform: scale(1); }
	100%   { opacity: 1; transform: scale(1); }
}
@keyframes ssa-kb-2 {
	0%, 34.6% { opacity: 0; transform: scale(1); }
	38.5%     { opacity: 1; transform: scale(1.012); }
	65.4%     { opacity: 1; transform: scale(1.1); }
	69.2%     { opacity: 1; transform: scale(1.1); }
	69.3%     { opacity: 0; transform: scale(1); }
	100%      { opacity: 0; transform: scale(1); }
}
@keyframes ssa-kb-3 {
	0%, 65.4% { opacity: 0; transform: scale(1.1); }
	69.2%     { opacity: 1; transform: scale(1.088); }
	96.2%     { opacity: 1; transform: scale(1.004); }
	100%      { opacity: 0; transform: scale(1); }
}

/* About statement (the page's H1) */
.ssa-about { background-color: var(--ssa-white); padding-bottom: 0; }

/* ---------- Services: three collapsible sections (core Details blocks) ---------- */

.ssa-service {
	margin: 0 0 20px;
	border: 1px solid #ddd;
	background: var(--ssa-white);
}
.ssa-service > summary {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 30px;
	color: var(--ssa-navy);
	cursor: pointer;
	font-family: var(--ssa-font-head);
	font-size: 22px;
	line-height: 32px;
	list-style: none;
	transition: background-color 0.3s ease-in-out;
}
.ssa-service > summary::-webkit-details-marker { display: none; }
.ssa-service > summary:hover,
.ssa-service[open] > summary { background-color: var(--ssa-grey); }
.ssa-service > summary:focus-visible { outline: 2px solid var(--ssa-navy); outline-offset: -2px; }
/* Plus / minus before the title, drawn with two bars so it stays crisp at any size. */
.ssa-service > summary::before {
	content: "";
	flex: 0 0 18px;
	height: 18px;
	background:
		linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat;
	transition: background-size 0.4s cubic-bezier(0.45, 0, 0.55, 1); /* same 0.4s as the panel (ssarem.js) */
}
.ssa-service[open]:not(.is-closing) > summary::before {
	background-size: 18px 2px, 2px 0;
}
.ssa-service.is-closing > summary { background-color: transparent; }
.ssa-service__body { padding: 50px 30px 60px; border-top: 1px solid #ddd; }

.ssa-lead,
.entry-content .ssa-lead {
	margin: 0 0 20px;
	color: var(--ssa-navy);
	font-size: 30px;
	line-height: 42px;
}
.ssa-lead strong { font-weight: 700; }

.ssa-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4%; }

.ssa-quote,
.entry-content .ssa-quote {
	margin: 0;
	padding: 40px 12.5% !important;
	color: var(--ssa-navy);
	font-family: var(--ssa-font-head);
	font-size: 18px;
	line-height: 28px;
	text-align: center;
}
.ssa-service .ssa-label { margin-bottom: 30px; }

.ssa-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 2.5%;
	row-gap: 10px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}
.ssa-features li {
	padding: 0.5em 0;
	color: var(--ssa-navy);
	font-family: var(--ssa-font-head);
	font-size: 18px;
	line-height: 1.25;
	text-align: center;
}

.ssa-actions { margin-top: 40px; text-align: right; }
.ssa-actions--center { text-align: center; }
.ssa-button,
a.ssa-button,
a.ssa-button:visited {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid var(--ssa-navy);
	color: var(--ssa-navy);
	font-family: var(--ssa-font-body);
	font-size: 12px;
	letter-spacing: 4px;
	line-height: 26px;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}
a.ssa-button:hover,
a.ssa-button:focus-visible { background: var(--ssa-navy); color: #fff; }

.ssa-partner-logo { display: block; width: 400px; max-width: 100%; height: auto; margin: 30px auto 0; }

/* ---------- Featured properties ---------- */

/* Above the team section, so cards still fading out while the grid shrinks aren't cut off by it. */
.ssa-properties { z-index: 1; }

.ssa-filter {
	list-style: none;
	margin: 30px 0 45px !important;
	padding: 0;
	font-size: 0;
	line-height: 0;
}
.ssa-filter li { display: inline-block; margin: 10px 0 0; font-size: 16px; line-height: 28px; }
.ssa-filter button {
	display: inline-block;
	margin: 0 10px 5px 0;
	padding: 8px 10px;
	background: transparent;
	border: 1px solid var(--ssa-line);
	border-radius: 2px;
	color: var(--ssa-text);
	cursor: pointer;
	font-family: var(--ssa-font-body);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 4px;
	line-height: 12px;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}
.ssa-filter button:hover,
.ssa-filter button:focus-visible,
.ssa-filter button.is-active {
	background: var(--ssa-navy);
	border-color: var(--ssa-navy);
	color: #fefefe;
}

.ssa-grid {
	display: grid;
	grid-template-columns: repeat(2, 48.75%);
	column-gap: 2.5%;
	row-gap: 22px;
	list-style: none;
	margin: 0 0 22px !important; /* Austin's items kept their 22px bottom margin on the last row */
	padding: 0;
}

.ssa-item { position: relative; margin: 0; overflow: hidden; }
.ssa-item.is-hidden { display: none; }

/* Scroll reveal (bbL-motion anim-up), tuned to Austin's animate.css fadeInUp: 150px rise, 1s. */
.ssa-item__link.anim-up { --anim-distance: 150px; --anim-duration: 1s; --anim-ease: ease; }

.ssa-item__link { display: block; position: relative; }
.ssa-item__img { display: block; width: 100%; height: auto; aspect-ratio: 550 / 400; object-fit: cover; }

.ssa-item__info {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 10px 0;
	background: var(--ssa-navy);
	color: #f9f9f9;
	text-align: center;
	opacity: 0;
	transform: translateY(100%);
	backface-visibility: hidden;
	transition: transform 0.6s, opacity 0.1s 0.5s;
	pointer-events: none;
}
.ssa-item:hover .ssa-item__info,
.ssa-item__link:focus-visible .ssa-item__info {
	opacity: 1;
	transform: translateY(0);
	transition: transform 0.6s, opacity 0.1s;
}

.ssa-item__title {
	position: relative;
	top: 20%;
	margin: 0 !important;
	padding: 10px;
	color: #fff;
	font-family: var(--ssa-font-head);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 28px;
	text-transform: uppercase;
}
.ssa-item__term {
	position: relative;
	top: 20%;
	display: block;
	color: #f9f9f9;
	font-size: 14px;
	line-height: 26px;
}
.ssa-item__zoom {
	position: absolute;
	top: 55%;
	left: 50%;
	margin-left: -23px;
	display: block;
	width: 46px;
	height: 46px;
	padding: 15px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #fff;
	color: var(--ssa-navy);
	line-height: 0;
}
.ssa-item__zoom svg { width: 16px; height: 16px; fill: currentColor; }

/* Lightbox (replaces Austin's prettyPhoto) */
.ssa-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40px;
	background: rgba(0, 0, 0, 0.85);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.ssa-lightbox.is-open { opacity: 1; }
.ssa-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
.ssa-lightbox__caption { margin-top: 15px; color: #fff; font-family: var(--ssa-font-head); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.ssa-lightbox__close,
.ssa-lightbox__nav {
	position: absolute;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 40px;
	line-height: 1;
	padding: 10px 15px;
}
.ssa-lightbox__close { top: 15px; right: 15px; }
.ssa-lightbox__nav--prev { left: 10px; top: 50%; transform: translateY(-50%); }
.ssa-lightbox__nav--next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */

.ssa-team { background-color: var(--ssa-white); }
.ssa-team .ssa-label { margin-bottom: 15px; }

.ssa-pitch { color: var(--ssa-text); font-size: 19px; line-height: 32px; } /* Austin 16/28; +3px for legibility */
.ssa-pitch a { color: var(--ssa-navy); }

/* Space between the intro and the first profile (Austin had none; Rob, 2026-10-24). */
.ssa-profiles { margin-top: 40px; }

/* Team photos fade in on scroll (bbL-motion anim-fade), Austin's animate.css fadeIn: 1s, no movement. */
.ssa-profile__img.anim-fade { --anim-duration: 1s; --anim-ease: ease; }

.ssa-profile {
	display: flex;
	align-items: flex-start;
	margin: 0 0 50px;
}
.ssa-profile:last-child { margin-bottom: 50px; }
.ssa-profile:last-child .ssa-profile__media { min-height: 0; }
.ssa-profile:nth-child(even) { flex-direction: row-reverse; }

.ssa-profile__media {
	display: flex;
	flex: 0 0 41.6667%;
	min-height: 361px;
}
.ssa-profile:nth-child(even) .ssa-profile__media { justify-content: flex-end; }

.ssa-profile__img {
	display: block;
	width: 320px;
	max-width: 320px;
	height: 320px;
	border-radius: 50%;
	object-fit: cover;
}

.ssa-profile__body { flex: 0 0 58.3333%; margin-top: 10px; }

.ssa-profile__name {
	margin: 0 !important;
	color: var(--ssa-navy);
	font-family: var(--ssa-font-head);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 36px;
}
.ssa-profile__role {
	margin: 0 0 10px !important;
	padding: 2px 0 !important;
	color: var(--ssa-muted);
	font-size: 17px; /* Austin 14px; +3px */
	letter-spacing: 3px;
	line-height: 28px;
	text-transform: uppercase;
}
.ssa-profile__body--norole .ssa-profile__name { margin-bottom: 14px !important; } /* Austin printed an empty 4px title row + 10px margin */
.ssa-profile__body p:not(.ssa-profile__role) { margin: 0 0 10px; font-size: 19px; line-height: 32px; } /* Austin 16/28 */

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

.ssa-contact {
	background-image: url(../img/contact-office.webp); /* WebP of uploads/2014/12/114Sansome_contact.jpg */
	color: #fefefe;
	scroll-margin-top: var(--ssa-header-stuck-h);
}
.ssa-contact .ssa-label { margin-bottom: 0; border-bottom-color: rgba(255, 255, 255, 0.7); color: #fff; }
.ssa-contact .ssa-quote { color: #fff; }
.ssa-contact-label,
.entry-content .ssa-contact-label {
	margin: 0 0 10px;
	color: #fff;
	font-family: var(--ssa-font-body);
	font-size: 14px;
	letter-spacing: 4px;
	line-height: 26px;
	text-transform: uppercase;
}

.ssa-contact-cols {
	display: grid;
	grid-template-columns: 48% 48%;
	column-gap: 3.8%;
}
.ssa-contact-cols p:not(.ssa-contact-label) { color: #fff; font-size: 18px; line-height: 30px; }
.ssa-contact-cols a,
.ssa-contact-cols a:visited {
	color: #fff;
	border-bottom: 1px dotted #fff;
	transition: color 0.3s ease-in-out;
}
.ssa-contact-cols a:hover { color: #ddd; }

.ssa-pitch, .ssa-contact-cols p:not(.ssa-contact-label) { margin: 0 !important; }

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

.site-footer .site-info {
	padding: 0;
	background-color: var(--ssa-footer);
	color: var(--ssa-footer-text);
	font-size: 16px;
	line-height: 28px;
}
.site-footer .inside-site-info { padding: 20px; max-width: var(--ssa-wrap); }
.site-footer .copyright-bar { width: 100%; text-align: center; }
.site-footer .site-info a,
.site-footer .site-info a:visited,
.site-footer .site-info a:hover { color: var(--ssa-footer-text); }

.site-footer a.bl-credit,
.site-footer a.bl-credit:hover,
.site-footer a.bl-credit:focus {
	color: inherit;
	text-decoration: underline;
	text-decoration-style: dotted; /* house rule since 2026-10-24: 1px dotted orange */
	text-decoration-color: #F26722;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

/* Back to top (GP's own button, Austin's look) */
a.generate-back-to-top {
	right: 20px;
	bottom: 20px;
	width: 50px;
	height: 50px;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.3) url(../back-to-top.png) center / 50px 50px no-repeat;
	color: transparent;
	transition: opacity 0.4s ease-in-out;
}
a.generate-back-to-top.generate-back-to-top__show { opacity: 0.7; }
a.generate-back-to-top:hover,
a.generate-back-to-top:focus { background-color: rgba(0, 0, 0, 0.3); opacity: 1; }
a.generate-back-to-top .gp-icon { display: none; }

/* ---------- Responsive (Austin breakpoints) ---------- */

@media (max-width: 1024px) {
	.ssa-kb__slide--1 { background-image: url(../img/hero-city-1024.webp); }
	.ssa-kb__slide--2 { background-image: url(../img/hero-exterior-1024.webp); }
	.ssa-kb__slide--3 { background-image: url(../img/hero-interior-1024.webp); }
	.ssa-features { grid-template-columns: repeat(2, 1fr); }
	.ssa-parallax { background-attachment: scroll; }
	.ssa-profile__media { min-height: 0; }
}

@media (max-width: 767px) {
	.ssa-hero { height: 70svh; min-height: 360px; }
	.ssa-service > summary { padding: 16px 20px; font-size: 19px; line-height: 28px; gap: 14px; }
	.ssa-service__body { padding: 30px 20px 40px; }
	.ssa-lead, .entry-content .ssa-lead { font-size: 24px; line-height: 34px; }
	.ssa-cols { grid-template-columns: 1fr; row-gap: 15px; }
	.ssa-quote, .entry-content .ssa-quote { padding: 30px 0 !important; }
	.ssa-actions { text-align: center; }
	.ssa-section { padding: 60px 0; }
	.ssa-title,
	.entry-content .ssa-title { font-size: 28px; line-height: 38px; }
	.ssa-grid { grid-template-columns: repeat(2, 48.5%); column-gap: 3%; }
	.ssa-profile,
	.ssa-profile:nth-child(even) { flex-direction: column; align-items: center; }
	.ssa-profile__media,
	.ssa-profile:nth-child(even) .ssa-profile__media { justify-content: center; margin-bottom: 20px; }
	.ssa-profile__img { width: 240px; height: 240px; }
	.ssa-contact-cols { grid-template-columns: 1fr; row-gap: 15px; }
	a.generate-back-to-top { width: 30px; height: 30px; background-size: cover; }
}

@media (max-width: 479px) {
	.ssa-grid { grid-template-columns: 1fr; }
	.ssa-features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ssa-item__info, .ssa-item, .ssa-lightbox { transition: none; }
	.ssa-kb__slide { animation: none; transform: none; }
	.ssa-kb__slide--2, .ssa-kb__slide--3 { display: none; }
}
