/*
Theme Name: Platinum Title
Description: A responsive WordPress theme for Platinum Title, LLC in Mankato, Minnesota.
Author: Minnesota Design Studio
Version: 1.5.2
Text Domain: platinum-title
Requires at least: 6.3
Requires PHP: 8.0
License: GNU General Public License v2 or later
*/

@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/open-sans.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-display: optional;
}
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-display: optional;
}
:root {
	--plum: #7e317e;
	--stone: #706763;
	--ink: #0e1017;
	--body: #555453;
	--sage: #f1f5ed;
	--serif: "Playfair Display", Georgia, serif;
	--sans: "Open Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 1rem/1.75 var(--sans); color: var(--body); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font: 400 2rem/1.18 var(--serif); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #a552ab; outline-offset: 3px; }
section[id], article[id], main[id] { scroll-margin-top: 145px; }
.wrap { width: 100%; margin-inline: auto; padding-inline: 15px; }
@media (min-width: 576px) { .wrap { max-width: 540px; } }
@media (min-width: 768px) { .wrap { max-width: 720px; } }
@media (min-width: 992px) { .wrap { max-width: 960px; } }
@media (min-width: 1200px) { .wrap { max-width: 1170px; } }
.icon { display: inline-block; flex: none; width: 1.2em; height: 1.2em; vertical-align: -.15em; }
.screen-reader-text, .skip-link:not(:focus), .trap {
	position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10000; padding: 10px 16px; background: white; }
[hidden] { display: none !important; }
.contact-strip { background: var(--plum); color: white; font-size: .8125rem; }
.contact-strip .wrap { display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center; min-height: 42px; }
.contact-strip a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: inherit; text-decoration: none; }
.contact-strip a:hover { text-decoration: underline; }
.social { display: inline-grid; place-items: center; width: 28px; height: 28px; color: white; background: var(--stone); border-radius: 50%; }
.contact-strip .social { display: grid; width: 24px; height: 24px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 2px 12px #16121b1a; }
.header-grid { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 20px; align-items: center; padding-block: 10px; }
.brand img { width: 165px; height: 145px; object-fit: contain; }
.site-header.is-scrolled .brand img { width: 131px; height: 115px; }
.site-nav { justify-self: end; min-width: 0; }
.site-nav ul, .site-footer ul, .services-aside ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { display: block; color: var(--ink); font-weight: 700; text-decoration: none; }
.primary-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
.primary-menu > li > a { position: relative; padding: 12px 15px; font-size: .925rem; letter-spacing: normal; }
.primary-menu > li > a::after {
	position: absolute; height: 2px; inset: auto 15px 4px; content: "";
	background: var(--plum); transform: scaleX(0); transition: transform .16s;
}
.primary-menu > li > a:is(:hover, :focus-visible, [aria-current])::after,
.primary-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.submenu-toggle { display: inline-grid; place-items: center; border: 0; padding: 0; width: 28px; min-height: 44px; background: none; color: var(--plum); vertical-align: middle; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav li:has(> .submenu-toggle) > a { display: inline-block; padding-right: 3px; }
.site-nav .sub-menu {
	display: none; position: absolute; z-index: 1; top: 100%; left: 0; min-width: 232px; padding: 8px;
	border: 1px solid #e5dde3; border-radius: 12px; background: #fff; box-shadow: 0 16px 35px #24192624;
}
.site-nav .sub-menu a { padding: 9px 12px; font-size: .9rem; border-radius: 7px; }
.site-nav .sub-menu a:is(:hover,:focus-visible,[aria-current]) { background: #f5eff5; }
.site-nav .sub-menu .sub-menu { top: 0; left: 100%; }
.primary-menu > li > .sub-menu.opens-left { left: auto; right: 0; }
.site-nav .sub-menu .sub-menu.opens-left { left: auto; right: 100%; }
.site-nav li.menu-item-open > .sub-menu { display: block; }
@media (min-width: 993px) {
	.site-nav:not(.enhanced) li:is(:hover,:focus-within) > .sub-menu { display: block; }
}
.hero { position: relative; isolation: isolate; display: grid; min-height: clamp(440px, 51.25vw, 785px); background: #302c30; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 34%, #120d1524 64%, #160e1638); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-copy { grid-column: 2; text-align: center; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(3.75rem, 6.55vw, 6.25rem); line-height: 1.02; text-shadow: 0 1px 8px #18101938; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }
.hero .actions { justify-content: center; }
.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 30px;
	border: 0; border-radius: 50px; background: var(--plum); color: #fff; font: 600 1rem/1.5 var(--sans); text-decoration: none;
}
.button-stone { background: var(--stone); }
.button:hover { background: #622362; color: #fff; }
.hero-controls { position: absolute; inset: 0; pointer-events: none; }
.hero-controls button { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 54px; border: 0; color: #fff; background: #0e101733; border-radius: 4px; pointer-events: auto; }
.hero-controls button:first-child { left: 8px; }
.hero-controls button:nth-child(2) { right: 8px; }
.hero-controls button:hover { background: #0e10177a; }
.hero-controls .icon { width: 25px; height: 25px; }
.halves { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center; gap: 30px; }
.team-section, .about-section { background: var(--sage); padding-block: 50px 0; }
.people { display: grid; gap: 20px; }
.person { display: grid; grid-template-columns: minmax(88px,140px) minmax(0,1fr); gap: 15px; align-items: center; border: 1px solid #d9dcd6; padding: 15px; }
.person img { width: 100%; }
.person h2 { margin: 0 0 8px; color: var(--plum); font-size: clamp(1.4rem, 2.1vw, 1.875rem); }
.person h2::after, .section-title::after, .service h3::after, .site-footer h2::after {
	content: ""; display: block; width: 70px; height: 1px; margin-top: 10px; background: currentColor; opacity: .5;
}
.person p { margin: 0; overflow-wrap: anywhere; }
.person a { color: inherit; }
.credentials ul { margin: 0; padding: 0; list-style: none; }
.credentials li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; margin-block: 9px; color: var(--ink); font: 400 clamp(1.13rem, 1.6vw, 1.375rem)/1.5 var(--serif); }
.credentials .icon { color: var(--plum); width: 21px; height: 17px; }
.credentials img { margin: 12px 0 0 32px; }
.about-section { padding-bottom: 50px; }
.about-photo { width: 100%; }
.eyebrow { color: var(--plum); font-weight: 600; }
.section-title { font-size: clamp(2.3rem, 3.7vw, 3.125rem); margin: .15em 0 .4em; }
.call-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; }
.call-link .icon { width: 34px; height: 34px; padding: 7px; border: 1px solid currentColor; border-radius: 50%; }
.services-section { padding: 50px 0 75px; color: #fff; background: var(--plum); }
.services-section .section-title { margin: 0 0 34px; text-align: center; color: inherit; }
.services-section .section-title::after { margin-inline: auto; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.service { position: relative; min-height: 350px; padding: 22px; border: 1px solid #984398; box-shadow: 0 0 5px #0002; }
.service img { height: 64px; width: auto; }
.service h3 { margin-top: 20px; color: inherit; font-size: 1.6rem; }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a::after { position: absolute; inset: 0; content: ""; }
.service:has(a):hover { border-color: #d6a7d3; }
.service p { color: #f3e7f1; font-size: .95rem; line-height: 1.6; }
.forms-section, .additional-content { padding-block: 40px; }
.contact-section { padding: 55px 0 60px; background: #f7f6f4 url("assets/images/form_bg.webp") center/cover; }
.contact-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 40px; align-items: center; }
.contact-details { display: grid; gap: 18px; margin: 22px 0; font-style: normal; }
.contact-details a { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-details a:hover span { text-decoration: underline; }
.contact-details .icon { margin-top: 4px; width: 24px; height: 24px; color: var(--plum); }
.contact-details strong { display: block; color: var(--ink); }
.contact-form { background: #fff; padding: clamp(20px,3vw,42px); }
.inquiry-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.inquiry-form label { color: var(--body); font-size: .94rem; font-weight: 600; }
.inquiry-form label .icon { color: var(--plum); margin-right: 5px; }
.inquiry-form .wide { grid-column: 1 / -1; }
.inquiry-form :is(input:not([type=hidden]),textarea), .entry-content :is(input:not([type=submit],[type=checkbox],[type=radio],[type=hidden]),textarea) {
	display: block; width: 100%; border: 0; border-bottom: 1px solid #9e979e; border-radius: 0; padding: 8px 0; color: var(--ink); background: transparent;
}
.inquiry-form .button { justify-self: start; }
.form-status { padding: 12px; border-left: 3px solid var(--plum); }
.site-footer { padding-top: 40px; background: var(--ink); color: #bbb5b0; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; padding-bottom: 32px; }
.footer-logo { width: 150px; height: 132px; object-fit: contain; margin-bottom: 20px; }
.site-footer h2 { color: #c0b8b3; font-size: 1.8rem; }
.site-footer a { color: inherit; }
.site-footer p { font-size: .94rem; line-height: 1.6; }
.site-footer nav a { display: block; padding: 4px 0; font-size: .94rem; text-decoration: none; }
.site-footer nav a::before { content: "›"; margin-right: 8px; color: #c0b8b3; }
.site-footer a:hover { color: #fff; }
.site-footer .contact-details { font-size: .9rem; gap: 8px; }
.site-footer .contact-details a { grid-template-columns: 18px 1fr; gap: 8px; }
.site-footer .contact-details .icon { width: 16px; height: 16px; color: inherit; }
.site-footer .contact-details strong { color: inherit; }
.site-footer .social { color: white; }
.footer-base { background: var(--stone); color: #fff; }
.footer-base-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding-block: 14px; }
.site-footer .copyright { margin: 0; }
.site-footer .studio-credit {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	max-width: 100%; min-height: 44px; padding: 8px 17px;
	border: 1px solid #d8bfda; border-radius: 50px;
	background: linear-gradient(115deg, #552452, var(--plum)); color: #fff;
	font-size: .875rem; line-height: 1.4; text-decoration: none;
}
.studio-credit svg { flex: none; }
.studio-credit::before {
	content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: 40%; pointer-events: none;
	background: linear-gradient(90deg, transparent, #ffffff47, transparent);
	transform: translateX(-150%) skewX(-20deg);
}
.site-footer .studio-credit:is(:hover, :focus-visible) { border-color: #fff; box-shadow: 0 0 14px #dfb6dd66; }
.site-footer .studio-credit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
	.studio-credit:is(:hover, :focus-visible)::before { animation: studio-shimmer .65s ease-out both; }
}
@keyframes studio-shimmer {
	from { transform: translateX(-150%) skewX(-20deg); }
	to { transform: translateX(320%) skewX(-20deg); }
}
@media (max-width: 767px) {
	.footer-base-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
}
.page-heading {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--ink);
	background: linear-gradient(105deg, #faf8f7 14%, #f5f1f4 65%, #eee7ee);
	border-bottom: 1px solid #e2d9e1;
}
.page-heading::before, .page-heading::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: clamp(180px, 24vw, 390px);
	aspect-ratio: 1.42;
	right: max(-50px, calc((100% - 1330px) / 2));
	bottom: -45%;
	border: 1px solid #7e317e25;
	border-radius: 3px;
	transform: rotate(-18deg);
	pointer-events: none;
}
.page-heading::after { margin-right: -18px; margin-bottom: 16px; }
.page-heading-inner { position: relative; padding-block: clamp(27px, 3vw, 45px) clamp(31px, 3.6vw, 55px); }
.heading-trail { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 12px; font: 600 .83rem/1.4 var(--sans); color: var(--stone); }
.heading-trail a { color: inherit; text-decoration: none; }
.heading-trail a:is(:hover,:focus-visible) { color: var(--plum); text-decoration: underline; }
.page-heading h1 { max-width: 24ch; margin: 0; font: 400 clamp(2.35rem, 4.4vw, 4rem)/1.08 var(--serif); color: #512b50; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.entry-content > .wp-block-heading { margin-block: 1.15em .45em; text-wrap: balance; }
@media (max-width: 575px) {
	.page-heading::before, .page-heading::after { right: -95px; opacity: .55; }
}
.page-layout, .posts-index { padding-block: 50px; }
.with-services { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 30px; align-items: start; }
.services-aside { padding: 24px; background: #f5f5f5; }
.services-aside h2 { font-size: 1.5rem; }
.services-aside li a { display: block; padding-block: 6px; }
.entry-content { min-width: 0; overflow-wrap: break-word; }
.entry-content .form_outer { padding-block: 40px; background: #f7f6f4 url("assets/images/form_bg.webp") center/cover; }
.entry-content .form_outer .container { margin-inline: auto; max-width: 100%; }
.entry-content .form_outer h2 span { display: block; color: var(--plum); font: 600 1rem/1.75 var(--sans); }
.entry-content .quick_address h5 { font: 400 1rem/1.6 var(--sans); margin: 1em 0; }
.entry-content .quick_address h5 span { display: block; font-weight: 700; color: var(--ink); }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: 0 1.25em .75em 0; }
.entry-content .alignright { float: right; margin: 0 0 .75em 1.25em; }
.entry-content::after { content: ""; clear: both; display: table; }
.posts-index article { padding-block: 18px; border-bottom: 1px solid #ddd; }
.posts-index article h2 { font-size: 1.65rem; }
.comments { margin-top: 36px; }
@media (max-width: 992px) {
	.contact-strip { display: none; }
	.header-grid { grid-template-columns: auto 1fr; padding-block: 8px; }
	.brand img, .site-header.is-scrolled .brand img { width: 83px; height: 73px; }
	.site-nav .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--plum); color: #fff; }
	.nav-toggle .icon { width: 24px; height: 24px; }
	.nav-toggle:not([aria-expanded="true"]) .icon-close, .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
	.site-nav .primary-menu {
		display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: var(--panel-height,70vh); overflow-y: auto;
		padding: 12px max(15px,calc((100vw - 690px)/2)) calc(20px + env(safe-area-inset-bottom)); border-top: 3px solid var(--plum);
		background: white; box-shadow: 0 18px 35px #28162a2e;
	}
	.site-nav.is-open .primary-menu { display: block; }
	.primary-menu > li + li { border-top: 1px solid #e8e0e7; }
	.site-nav .primary-menu li > a { display: block; width: 100%; padding: 14px 54px 14px 12px; min-height: 50px; background: transparent; border-radius: 8px; color: var(--ink); }
	.primary-menu > li > a::after { content: none; }
	.site-nav .primary-menu li > a:is(:hover,:focus-visible,[aria-current]) { color: var(--plum); background: #f6f0f6; box-shadow: inset 4px 0 var(--plum); }
	.site-nav .submenu-toggle { position: absolute; top: 3px; right: 3px; width: 44px; height: 44px; border-radius: 50%; }
	.site-nav .submenu-toggle:hover { background: #f2eaf2; }
	.site-nav .sub-menu { position: static; min-width: 0; margin: 0 0 8px; padding: 4px 8px 4px 14px; background: #faf6fa; box-shadow: none; }
	.hero { min-height: clamp(360px,52vw,495px); }
	.hero h1 { font-size: clamp(3rem, 6.8vw, 4.5rem); }
	.halves { grid-template-columns: 1fr; }
	.service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.service { min-height: 0; }
	.contact-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.with-services { grid-template-columns: 1fr; }
	.services-aside { order: 1; }
	section[id], article[id], main[id] { scroll-margin-top: 99px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 767px) {
	.hero-grid { grid-template-columns: minmax(0,1fr); }
	.hero-copy { grid-column: 1; width: min(100%,510px); justify-self: center; padding: 35px 32px; }
	.hero::before { background: #17101950; }
	.hero h1 { font-size: clamp(2.65rem, 8.5vw, 3.75rem); }
	.hero .button { font-size: .875rem; padding: 9px 18px; }
	.hero-controls button { width: 36px; }
	.hero-controls button:first-child { left: 0; }
	.hero-controls button:nth-child(2) { right: 0; }
	.team-section, .about-section { padding-top: 32px; }
	.about-section { padding-bottom: 32px; }
	.person { grid-template-columns: minmax(78px,27%) minmax(0,1fr); gap: 12px; padding: 12px; }
	.person p { font-size: .9rem; }
	.service-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
	.services-section, .contact-section { padding-block: 36px; }
	.contact-copy { grid-row: 1; }
	.footer-grid { gap: 22px; }
}
@media (max-width: 575px) {
	.footer-grid, .inquiry-form { grid-template-columns: minmax(0,1fr); }
	.header-grid { padding-inline: 18px; }
	.brand img, .site-header.is-scrolled .brand img { width: 70px; height: 62px; }
}
@media (scripting: none) and (max-width: 992px) {
	.site-header { position: static; }
	.header-grid { grid-template-columns: 1fr; }
	.site-nav { justify-self: stretch; }
	.site-nav .nav-toggle { display: none; }
	.site-nav .primary-menu, .site-nav .sub-menu { position: static; display: block; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .primary-menu > li > a::after { transition: none; } }

/* Keep the opening header's space stable while its sticky face becomes smaller. */
body { --header-open: 165px; --header-tight: 84px; --strip: 42px; --toolbar: 0px; }
body.admin-bar { --toolbar: var(--wp-admin--admin-bar--height,32px); }
.site-header.is-scrolled .header-grid { padding-block: 8px; }
.site-header.is-scrolled .brand img { width: 77px; height: 68px; }
.site-header.is-scrolled + .header-space { height: calc(var(--header-open) - var(--header-tight)); }
.hero { min-height: calc(100vh - var(--header-open) - var(--strip) - var(--toolbar)); min-height: calc(100dvh - var(--header-open) - var(--strip) - var(--toolbar)); }
.hero::before { content:none; }
.hero-slide { position:relative; isolation:isolate; display:grid; min-width:0; }
.hero-slide > picture { position:absolute; inset:0; z-index:-2; }
.hero-slide::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,transparent 16%,#24152450 52%,#190f20a3); }
.hero-grid { padding-block:clamp(42px,7vh,84px); }
.hero-copy { overflow-wrap:anywhere; }
.hero-description { color:white; font-size:clamp(1rem,1.45vw,1.25rem); margin:1em 0 0; text-shadow:0 1px 5px #171019; }
.hero .actions:empty { display:none; }
.hero-controls { inset:auto max(18px,calc((100% - 1140px)/2)) max(16px,env(safe-area-inset-bottom)) auto; display:flex; gap:4px; align-items:center; padding:4px 8px; border-radius:32px; background:#211922d9; color:white; }
.hero-controls button { position:static; width:44px; height:44px; transform:none; border-radius:50%; background:transparent; }
.hero-controls button:hover, .hero-controls button:focus-visible { background:var(--plum); }
.hero-position { order:0; margin:0 .4em; font:600 .82rem var(--sans); letter-spacing:.08em; }
.hero-controls button:first-child { order:-1; }
.hero-controls button:nth-child(2) { order:1; }
@media (max-width:1024px) { .hero h1 { font-size:clamp(3rem,7vw,4.75rem); } }
@media (max-width:992px) {
	body { --header-open:89px; --header-tight:64px; --strip:0px; }
	.site-header.is-scrolled .brand img { width:55px; height:48px; }
}
@media (max-width:767px) {
	.hero-slide::before { background:linear-gradient(0deg,#171019bf 0%,#21132676 52%,#23152216 100%); }
	.hero-grid { align-items:end; padding-bottom:clamp(86px,13vh,130px); }
	.hero-copy { padding:0 6px; }
	.hero h1 { font-size:clamp(2.7rem,8.6vw,3.9rem); }
	.hero-controls { right:15px; }
}
@media (max-width:575px) {
	body { --header-open:78px; --header-tight:62px; }
	.site-header.is-scrolled .brand img { width:48px; height:42px; }
}
@media (max-width:412px) {
	.hero h1 { font-size:clamp(2.5rem,10vw,2.85rem); }
	.hero .actions { gap:8px; margin-top:18px; }
	.hero .button { min-height:44px; padding:8px 15px; }
	.hero-grid { padding-bottom:clamp(80px,14vh,115px); }
}
@media (max-height:500px) and (orientation:landscape) {
	.hero-grid { align-items:center; padding-block:18px 60px; }
	.hero-copy { padding-block:0; }
	.hero h1 { font-size:clamp(1.7rem,5vw,3rem); }
	.hero .actions { margin-top:8px; }
}
@media (prefers-reduced-motion:no-preference) {
	.hero-slide { animation:platinum-reveal .22s ease-out; }
	.hero-slide:first-child { animation:none; }
	@keyframes platinum-reveal { from { opacity:.75; } to { opacity:1; } }
}

.pt-contact-native { scroll-margin-top:150px; }
.pt-library { margin-block:1.5rem; }
.pt-library-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding-bottom:1.25rem; border-bottom:2px solid var(--plum); }
.pt-library-filters label { display:grid; gap:4px; font-weight:600; color:var(--ink); }
.pt-library-filters label:first-child { flex:1 1 170px; }
.pt-library-filters :is(input,select) { width:100%; min-height:44px; max-width:100%; padding:8px 12px; border:1px solid #a59aa4; border-radius:5px; background:white; font:inherit; }
ul.pt-documents { margin:0; padding:0; list-style:none; }
.pt-documents li { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:14px; padding:1rem 0; border-bottom:1px solid #ded9db; }
.pt-documents small { display:block; color:var(--stone); }
.pt-documents .button,.pt-library-filters .button { color:white; }
.pt-library nav a { margin-right:1em; }
@media(max-width:575px) { .pt-documents li { grid-template-columns:1fr; } .pt-documents a { justify-self:start; } .pt-library-filters label { flex:1 1 100%; } }

.primary-menu > li > a,.primary-menu .submenu-label { font:600 1rem/1.45 var(--sans); }
.primary-menu .submenu-label { display:inline-flex; position:relative; width:auto; align-items:center; gap:7px; color:var(--ink); padding:12px 15px; border:0; border-radius:0; background:transparent; }
.primary-menu .submenu-label svg { width:13px; height:13px; }
.site-nav .submenu-label:is(:hover,:focus-visible,[aria-expanded="true"]) { color:var(--plum); }
.primary-menu > li > a:hover { color:var(--plum); }
@media(max-width:992px) {
	.site-nav .primary-menu .submenu-label { position:static; display:flex; justify-content:space-between; width:100%; min-height:50px; padding:14px 17px 14px 12px; }
}
.pt-contact-native :is(.pt-recaptcha-note,[data-check-status]) { margin:0; color:var(--body); font:400 .85rem/1.5 var(--sans); }
.pt-contact-native [data-check-status]:empty { display:none; }
body:has(.pt-recaptcha-note) .grecaptcha-badge { visibility:hidden; }

/* Core blocks retain the homepage section widths and grid layouts. */
.platinum-home-blocks .wp-block-image { margin: 0; }
.platinum-home-blocks .wp-block-group.halves, .platinum-home-blocks .wp-block-group.people,
.platinum-home-blocks .wp-block-group.person, .platinum-home-blocks .wp-block-group.service-grid,
.platinum-home-blocks .wp-block-group.contact-grid, .wp-block-group.contact-grid { display: grid; }
.platinum-home-blocks .wp-block-group > :first-child { margin-block-start: 0; }
.platinum-home-blocks .wp-block-group > :last-child { margin-block-end: 0; }
.platinum-home-blocks .credentials .wp-block-list li::before { content: ""; width: 18px; height: 12px; background: var(--plum); clip-path: polygon(0 48%,12% 34%,36% 70%,88% 0,100% 12%,37% 100%); }
.platinum-home-blocks .credentials .wp-block-image img { width: 100px; }
.platinum-home-blocks .about-copy .eyebrow,.contact-copy .eyebrow { margin-bottom: 0; }
.platinum-home-blocks .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.platinum-home-blocks .actions .wp-block-button__link { background: var(--plum); color: white; font: 600 1rem var(--sans); padding: 14px 28px; border-radius: 32px; }
.platinum-home-blocks .actions .phone-action .wp-block-button__link { background: transparent; color: var(--plum); padding-inline: 4px; }
.pt-office-details p { margin: .8rem 0; }
.pt-office-details a { color: inherit; }
.pt-office-details strong { color: var(--ink); }
.pt-contact-page { padding-block: 40px; background: #f7f6f4 url("assets/images/form_bg.webp") center/cover; }
.pt-contact-page .contact-grid { padding-inline: 15px; }
.pt-contact-page .contact-copy { min-width: 0; }
.entry-content .wp-block-image { margin: 0 0 1.25rem; }

/* WordPress adds this neutral wrapper to core groups in a classic theme. */
.wp-block-group:is(.halves,.people,.person,.service-grid,.contact-grid) > .wp-block-group__inner-container {
	display: contents;
}
.wp-block-group:is(.halves,.people,.person,.service-grid,.contact-grid) > .wp-block-group__inner-container > * {
	min-width: 0;
	margin-block: 0;
}

/* Visible by default. JavaScript enhances only offscreen content. */
.pt-scroll-motion .pt-scroll-pending{opacity:0;translate:0 26px}
.pt-scroll-motion .pt-scroll-pending:focus-within{opacity:1;translate:none}
@media(max-width:767px){.pt-scroll-motion .pt-scroll-pending{translate:0 16px}}
@media(prefers-reduced-motion:reduce){.pt-scroll-motion .pt-scroll-pending{opacity:1!important;translate:none!important}}
@media print{.pt-scroll-motion .pt-scroll-pending{opacity:1!important;translate:none!important}}

/* Service tour. Keep the subject visible on the left and anchor the copy above the controls. */
.hero-service-tour .hero-slide::before {
	background: linear-gradient(90deg, transparent 16%, #25192a26 39%, #25192aa8 60%, #201622eb 100%);
}
.hero-service-tour .hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 52px); padding-block: clamp(52px, 9vh, 100px) clamp(108px, 13vh, 142px); }
.hero-service-tour .hero-copy { text-align: left; max-width: 35rem; }
.hero-service-tour h1 { font-size: clamp(3.35rem, 5.6vw, 5.6rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero-service-tour .hero-description { max-width: 31em; margin: 1.25rem 0 0; color: #fff; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; }
.hero-service-tour .actions { justify-content: flex-start; align-items: center; gap: .75rem; margin-top: 1.65rem; }
.hero-service-tour .button { gap: .6rem; padding: .65rem 1.25rem; background: #fff9f4; color: #442040; font-weight: 700; }
.hero-service-tour .button .icon { width: .95em; height: .95em; }
.hero-service-tour .button-stone { border: 1px solid #ffffffac; color: white; background: #271a2999; }
.hero-service-tour .button:hover { background: white; color: #542255; }
.hero-service-tour .hero-controls { z-index: 2; inset: auto max(18px,calc((100% - 1140px)/2)) max(20px,env(safe-area-inset-bottom)) auto; padding: 0; gap: 12px; background: transparent; }
.hero-service-tour .hero-controls [data-step] { order: 0; border: 1px solid #ffffff94; background: #271b29ad; }
.hero-service-tour .hero-controls [data-step]:hover { background: #512b50; }
.hero-steps { display: flex; gap: 2px; align-items: center; }
.hero-service-tour .hero-steps button { position: relative; inset: auto; width: clamp(24px,2.6vw,40px); height: 44px; padding: 0; border: 0; background: transparent; }
.hero-steps button::after { content: ""; width: calc(100% - 4px); height: 3px; background: #ffffff82; border-radius: 3px; }
.hero-steps button:is(:hover,[aria-current])::after { background: white; height: 5px; }
.hero-service-tour :is(button,a):focus-visible { outline-color: white; }
.hero-slide.hero-loading { position: absolute; inset: 0; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.hero-selected .hero-copy { animation: pt-slide-copy .32s ease-out; }
	@keyframes pt-slide-copy { from { opacity: .5; transform: translateY(5px); } }
}
@media (max-width: 767px) {
	.hero-service-tour .hero-slide::before { background: linear-gradient(0deg, #201622f5 0%, #241928d9 27%, #24192885 57%, transparent 85%); }
	.hero-service-tour .hero-grid { grid-template-columns: minmax(0,1fr); gap: 0; align-items: end; padding-block: 36px max(95px,13vh); }
	.hero-service-tour .hero-copy { grid-column: 1; padding-inline: 4px; }
	.hero-service-tour h1 { font-size: clamp(2.45rem,8.8vw,3.55rem); max-width: 15ch; }
	.hero-service-tour .hero-description { font-size: 1rem; margin-top: .8rem; }
	.hero-service-tour .actions { margin-top: 1.1rem; gap: 8px; }
	.hero-service-tour .button { padding-inline: 1rem; font-size: .91rem; }
	.hero-service-tour .hero-controls { left: max(19px,calc((100% - 510px)/2)); right: auto; gap: 8px; }
}
@media (max-height: 520px) and (orientation: landscape) {
	.hero-service-tour .hero-grid { align-items: center; grid-template-columns: minmax(0,.8fr) minmax(0,1.75fr); gap: 10px; padding-block: 8px 52px; }
	.hero-service-tour .hero-copy { grid-column: 2; }
	.hero-service-tour h1 { font-size: clamp(1.75rem,4.2vw,2.85rem); }
	.hero-service-tour .hero-description { margin-top: .35rem; font-size: .88rem; line-height: 1.35; }
	.hero-service-tour .actions { margin-top: .55rem; }
	.hero-service-tour .hero-controls { inset: auto 16px 6px auto; }
}


/* Closing services directory */
.services-section { padding-block: clamp(48px,6.5vw,88px); color: var(--body); background: #fbf8f5; }
.services-section .section-title { display: flex; gap: clamp(20px,4vw,54px); align-items: center; margin: 0 0 clamp(20px,3vw,36px); color: #512b50; text-align: left; font-size: clamp(2.35rem,4.2vw,3.6rem); line-height: 1.08; letter-spacing: -.025em; }
.services-section .section-title::after { flex: 1; position: static; width: auto; height: 1px; margin: 0; background: #d6c9d1; }
.services-section .service-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
.services-section .service {
	display: grid; grid-template-columns: 108px minmax(185px,.92fr) minmax(230px,1.3fr) 38px;
	align-items: center; gap: clamp(18px,2.7vw,42px); min-height: 0;
	padding: 15px 8px; border: 0; border-bottom: 1px solid #ded4d9; box-shadow: none;
}
.services-section .service:first-child { border-top: 1px solid #ded4d9; }
.service > .wp-block-group__inner-container { display: contents; }
.services-section .service figure { width: 100%; margin: 0; }
.services-section .service img { display: block; width: 108px; height: 81px; border-radius: 5px; object-fit: cover; }
.services-section .service h3 { margin: 0; color: #462641; font-size: clamp(1.4rem,2.1vw,1.8rem); line-height: 1.17; text-wrap: balance; }
.services-section .service h3::after { content: none; }
.services-section .service p { margin: 0; color: #514c4f; font-size: .95rem; line-height: 1.55; }
.services-section .service:has(a)::after {
	content: ""; display: block; width: 36px; height: 36px; border: 1px solid #beadba; border-radius: 50%; pointer-events: none;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23693063' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8h11m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.services-section .service:is(:hover,:focus-within) { background: #f4edf2; border-color: #c6b4c2; }
.services-section .service:focus-within { outline: 2px solid var(--plum); outline-offset: -2px; }
.services-section .service h3 a:focus-visible { outline: none; text-decoration: underline; }
@media (max-width: 991px) {
	.services-section .service { grid-template-columns: 82px minmax(0,.88fr) minmax(0,1.1fr) 32px; gap: 16px; }
	.services-section .service img { width: 82px; height: 66px; }
	.services-section .service:has(a)::after { width: 32px; height: 32px; }
}
@media (max-width: 767px) {
	.services-section .service { grid-template-columns: 70px minmax(0,1fr) 28px; grid-template-rows: auto auto; gap: 5px 12px; padding: 15px 0; }
	.services-section .service :is(figure,img) { grid-column: 1; grid-row: 1 / 3; }
	.services-section .service img { width: 70px; height: 76px; }
	.services-section .service h3 { grid-column: 2; grid-row: 1; align-self: end; font-size: 1.35rem; }
	.services-section .service p { grid-column: 2; grid-row: 2; align-self: start; font-size: .88rem; }
	.services-section .service:has(a)::after { grid-column: 3; grid-row: 1 / 3; width: 28px; height: 28px; }
}

