/*
Theme Name: StoneTech
Theme URI: https://www.crdmedia.ie
Author: CRD Media
Author URI: https://www.crdmedia.ie
Description: Custom StoneTech theme built for stonetech.ie - natural stone cladding solutions.
Version: 1.3.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stonetech
*/

* {
	box-sizing: border-box;
}

:root {
	--header-h: 76px;
	--ink: #0F1012;
	--muted: #5b616e;
	--subtle: #7C828A;
	--line: #E2E0DC;
	--line-soft: #F0EEEA;
	--soft: #F4F3F1;
	--accent: #E8931F;
	--accent-dk: #C8781A;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: #ffffff;
	color: #0F1012;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	padding-top: var(--header-h);
}

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

a {
	color: #E8931F;
	text-decoration: none;
	transition: color .15s ease;
}

a:hover {
	color: #0F1012;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -1px;
}

h1 {
	font-size: clamp(36px, 5vw, 64px);
	letter-spacing: -2px;
}

h2 {
	font-size: clamp(28px, 3.6vw, 42px);
	letter-spacing: -1.2px;
}

h3 {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.4px;
}

p {
	margin: 0 0 16px;
}

.mono-label {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #7C828A;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 100px;
	background: #E8931F;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.btn:hover {
	background: #C8781A;
	color: #ffffff;
}

.btn-outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,.22);
	color: #ffffff;
}

.btn-outline:hover {
	background: rgba(255,255,255,.08);
	color: #ffffff;
}

.btn-outline-light {
	background: #ffffff;
	border: 1px solid #DCD8D2;
	color: #0F1012;
}

.btn-outline-light:hover {
	background: #F4F3F1;
	color: #0F1012;
}

.btn-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}


/* ==========================================================
   Header – fixed, follows the page
   ========================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #ffffff;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease, border-color .2s ease;
}

.site-header.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15, 16, 18, .06);
}

.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 32px;
}
.site-logo img {
	display: block;
	max-height: 36px;
	width: 100%;
}

/* Desktop navigation */
.main-navigation {
	flex: 1;
	align-self: stretch;
	display: flex;
}

#primary-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: stretch;
	gap: 2px;
}

#primary-menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

#primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border-radius: 100px;
	font-size: 15px;
	font-weight: 500;
	color: #4A5058;
	transition: background-color .15s ease, color .15s ease;
}

#primary-menu > li > a:hover,
#primary-menu > li:focus-within > a {
	color: var(--ink);
}

#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a,
#primary-menu > li.current-menu-parent > a,
#primary-menu > li.current_page_parent > a {
	color: var(--ink);
}

#primary-menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% - 10px);
	left: 0;
	z-index: 10;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(15, 16, 18, .10);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-navigation .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	color: #4A5058;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu .current-menu-item > a {
	background: var(--soft);
	color: var(--ink);
}

.submenu-toggle,
.mobile-nav-footer {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.header-phone {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	color: var(--subtle);
	white-space: nowrap;
}

a.header-phone:hover {
	color: var(--ink);
}

.header-cta {
	height: 44px;
	padding: 0 22px;
	font-size: 14px;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 100px;
	background: #ffffff;
	color: var(--ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.menu-toggle-bars {
	position: relative;
	width: 18px;
	height: 12px;
}

.menu-toggle-bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.8px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s ease, top .25s ease;
}

.menu-toggle-bars span:nth-child(1) { top: 2px; }
.menu-toggle-bars span:nth-child(2) { top: 8px; }

body.nav-open .menu-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.nav-open .menu-toggle-bars span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

.nav-overlay {
	display: none;
}

/* ==========================================================
   Buttons & shared
   ========================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 100px;
	background: #E8931F;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.btn:hover {
	background: #C8781A;
	color: #ffffff;
}

.btn-outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,.22);
	color: #ffffff;
}

.btn-outline:hover {
	background: rgba(255,255,255,.08);
	color: #ffffff;
}

.btn-outline-light {
	background: #ffffff;
	border: 1px solid #DCD8D2;
	color: #0F1012;
}

.btn-outline-light:hover {
	background: #F4F3F1;
	color: #0F1012;
}

.btn-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.split-section .btn-row {
	margin-top: 24px;
}
.text-link {
	font-size: 14px;
	font-weight: 600;
}

.hero {
	/* background: #0F1012; */
	background: #606E66;
	color: #ffffff;
}

.hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 88px 40px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: center;
}

.hero h1 {
	margin: 0;
	text-wrap: balance;
}

.hero p {
	margin: 24px 0 0;
	max-width: 470px;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255,255,255,.66);
}

.hero .btn-row {
	margin-top: 36px;
}

.hero-media {
	border-radius: 24px;
	overflow: hidden;
	background: #16181c;
}
.hero-media img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.split-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 104px 40px 96px;
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 72px;
}

.split-section .lede {
	margin: 28px 0 0;
	font-size: 17px;
	line-height: 1.6;
}

.split-section .lede-muted {
	margin: 18px 0 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: #5b616e;
}

.finish-list-title {
	font-size: 16px;
	font-weight: 600;
}

.finish-list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.finish-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border: 1px solid #E2E0DC;
	border-radius: 16px;
	transition: border-color .15s ease;
}

.finish-card:hover {
	border-color: #C9C5BE;
}

.finish-card img {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	object-fit: cover;
	flex-shrink: 0;
}

.finish-card .finish-name {
	margin-top: 4px;
	font-size: 15px;
	font-weight: 600;
}

.finish-more {
	display: inline-block;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
}

.dark-section {
	background: #0F1012;
	color: #ffffff;
}

.dark-section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 88px 40px;
}

.section-heading-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.section-heading-row a {
	font-size: 15px;
	font-weight: 600;
	color: #E8931F;
	white-space: nowrap;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.project-card {
	background: #16181c;
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 24px;
	overflow: hidden;
	display: block;
	color: #ffffff;
}

.project-card:hover {
	color: #ffffff;
}

.project-card img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.project-card .card-body {
	padding: 24px 26px 28px;
}

.project-card .card-title {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.cta-band {
	background: #0F1012;
	color: #ffffff;
}

.cta-band-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 24px 40px 96px;
	text-align: center;
}

.cta-band-rule {
	height: 1px;
	background: rgba(255,255,255,.08);
	margin-bottom: 72px;
}

.cta-band p {
	margin: 20px auto 0;
	max-width: 540px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255,255,255,.62);
}

.cta-band .btn-row {
	justify-content: center;
	margin-top: 36px;
}

.site-footer {
	background: #ffffff;
}

.footer-columns {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 40px 40px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
}

.footer-columns .footer-logo img {
	height: 60px;
	width: auto;
}

.footer-columns .footer-blurb {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5b616e;
	max-width: 260px;
}

.footer-columns h4 {
	font-size: 14px;
	font-weight: 600;
}

.footer-columns ul {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 14px;
	color: #5b616e;
}

.footer-columns ul a {
	color: #5b616e;
}

.footer-columns ul a:hover {
	color: #0F1012;
}

.footer-address {
	line-height: 1.5;
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px 40px;
}

.footer-bottom-inner {
	border-top: 1px solid #E2E0DC;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	font-size: 13px;
	color: #7C828A;
}

.footer-bottom-inner .footer-legal-links {
	display: flex;
	gap: 24px;
}

.page-hero {
	/* background: #0F1012; */
	background: #606E66;
	color: #ffffff;
}

.page-hero-inner {
	max-width: 1200px; 
	margin: 0 auto;
	padding: 72px 40px;
}

.page-hero .breadcrumbs {
	font-size: 13px;
	color: rgba(255,255,255,.5);
	margin-bottom: 18px;
}

.page-hero .breadcrumbs a {
	color: rgba(255,255,255,.65);
}

.page-hero h1 {
	font-size: clamp(32px, 4.4vw, 54px);
}

.page-hero .tagline {
	display: block;
	margin-top: 18px;
	max-width: 640px;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255,255,255,.66);
}

.site-main {
	max-width: 900px;
	margin: 0 auto;
	padding: 72px 40px;
}

.site-main.main-wide {
	max-width: 1200px;
}

.entry-content h2 {
	margin-top: 40px;
}

.entry-content p {
	font-size: 16px;
	line-height: 1.7;
}

/* ==========================================================
   Card grids (archives)
   ========================================================== */

.material-grid,
.card-grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px 96px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.card-media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--soft);
}

.card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.card-media.is-empty::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("img/stonetech-logo.png") center / 72px auto no-repeat;
	opacity: .14;
	filter: grayscale(1);
}

.material-card,
.project-tile {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	background: #ffffff;
	color: var(--ink);
	transition: border-color .15s ease, box-shadow .2s ease;
}

.material-card:hover,
.project-tile:hover {
	color: var(--ink);
	border-color: #C9C5BE;
	box-shadow: 0 10px 28px rgba(15, 16, 18, .06);
}

.material-card:hover .card-media img,
.project-tile:hover .card-media img {
	transform: scale(1.04);
}

.material-card .card-media {
	aspect-ratio: 1 / 1;
}

.material-card .card-body {
	padding: 16px 18px 20px;
}

.material-card .card-title {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.project-tile .card-body {
	padding: 18px 20px 22px;
}

.project-tile .card-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.project-tile .card-meta {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--subtle);
}

.project-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.project-archive-grid--compact {
	gap: 16px;
}

.no-results {
	grid-column: 1 / -1;
	padding: 64px 0;
	text-align: center;
	color: var(--muted);
}

.no-results .btn {
	margin-top: 8px;
}

/* Project type filter – pills */
.project-filter {
	margin-bottom: 32px;
}

.facetwp-facet-project_type {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
}

.facetwp-facet-project_type .facetwp-radio {
	display: inline-flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0 18px !important;
	border: 1px solid var(--line);
	border-radius: 100px;
	background: #ffffff none !important;
	color: #4A5058;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.facetwp-facet-project_type .facetwp-radio:hover {
	border-color: #C9C5BE;
	color: var(--ink);
}

.facetwp-facet-project_type .facetwp-radio.checked {
	background: var(--ink) none !important;
	border-color: var(--ink);
	color: #ffffff;
}

.facetwp-facet-project_type .facetwp-counter {
	display: none;
}

.facetwp-facet-project_type .facetwp-radio.disabled {
	opacity: .4;
	cursor: default;
}

.facetwp-facet {
	margin-bottom: 0 !important;
}

/* ==========================================================
   Material archive – filters
   ========================================================== */

.material-filter-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.material-filters {
	position: sticky;
	top: calc(var(--header-bottom, var(--header-h)) + 24px);
	max-height: calc(100vh - var(--header-bottom, var(--header-h)) - 48px);
	overflow-y: auto;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 20px 22px 8px;
}

.material-filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
}

.material-filters-head h2 {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
}

.filters-clear-link {
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent-dk);
	cursor: pointer;
}

.filters-clear-link:disabled {
	color: #BDB8B1;
	cursor: default;
}

.sheet-handle,
.material-filters-close,
.material-filters-foot,
.material-filters-overlay,
.material-filter-toggle {
	display: none;
}

.filter-group {
	padding: 18px 0;
	border-top: 1px solid var(--line-soft);
}

.filter-group h3 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--subtle);
	margin-bottom: 12px;
}

/* FacetWP checkboxes */
.material-filters .facetwp-checkbox {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 6px 0 6px 28px !important;
	background: none !important;
	font-size: 14px;
	line-height: 1.4;
	color: #4A5058;
	cursor: pointer;
}

.material-filters .facetwp-checkbox::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 1.5px solid #CFCAC3;
	border-radius: 5px;
	background: #ffffff;
	transition: background-color .15s ease, border-color .15s ease;
}

.material-filters .facetwp-checkbox.checked::before {
	border-color: var(--ink);
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.material-filters .facetwp-checkbox:hover {
	color: var(--ink);
}

.material-filters .facetwp-checkbox.checked {
	color: var(--ink);
	font-weight: 600;
}

.material-filters .facetwp-checkbox.disabled {
	opacity: .4;
	cursor: default;
}

.material-filters .facetwp-counter {
	color: #A3A8AE;
	font-weight: 400;
}

.material-filters .facetwp-toggle {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent-dk);
	cursor: pointer;
}

.material-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 24px;
	margin-bottom: 20px;
}

.material-results-count {
	font-size: 14px;
	color: var(--subtle);
}

.material-results .material-grid {
	padding: 0;
	margin: 0;
	max-width: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.material-grid.is-loading,
.facetwp-template.is-loading {
	opacity: .45;
	pointer-events: none;
}

/* ==========================================================
   Single – shared
   ========================================================== */

.meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 24px;
	margin: 40px 0;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.meta-grid .meta-item .mono-label {
	display: block;
	margin-bottom: 6px;
}

.meta-grid .meta-item .meta-value {
	font-size: 16px;
	font-weight: 600;
}

.related-block {
	margin-top: 56px;
}

.related-title {
	margin-bottom: 18px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.2px;
}

.related-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.related-head h2 {
	font-size: clamp(24px, 2.6vw, 32px);
	letter-spacing: -.8px;
}

.finish-list--grid {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	margin-top: 0;
}

.finish-card {
	color: var(--ink);
}

.finish-card:hover {
	color: var(--ink);
}

.finish-card-empty {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: var(--soft);
	flex-shrink: 0;
}

/* Gallery + lightbox triggers */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.gallery-grid--small {
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	margin-bottom: 48px;
}

.gallery-item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background: var(--soft);
	cursor: zoom-in;
}

.gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 16, 18, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat;
	background-size: 0;
	transition: background-color .2s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-item:hover::after {
	background-color: rgba(15, 16, 18, .35);
	background-size: 26px;
}

/* Single project */
.project-hero {
	position: relative;
	display: block;
	border-radius: 24px;
	overflow: hidden;
	background: var(--soft);
	cursor: zoom-in;
}

.project-hero img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	max-height: 560px;
	object-fit: cover;
}

.project-hero-badge {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 16px;
	border-radius: 100px;
	background: rgba(255, 255, 255, .95);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(15, 16, 18, .15);
}

/* Single material – small swatch to the side */
.material-single {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.material-aside {
	position: sticky;
	top: calc(var(--header-bottom, var(--header-h)) + 24px);
}

.material-swatch {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	overflow: hidden;
	background: var(--soft);
	cursor: zoom-in;
}

.material-swatch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.material-swatch.is-empty {
	cursor: default;
}

.spec-list {
	margin: 24px 0 0;
	border-top: 1px solid var(--line);
}

.spec-list > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.spec-list dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
}

.material-aside-actions {
	display: grid;
	gap: 14px;
	margin-top: 24px;
	justify-items: start;
}

.material-aside-actions .btn {
	width: 100%;
}

.material-body .entry-content {
	margin-bottom: 40px;
	max-width: 680px;
}

.entry-content h2 {
	margin-top: 40px;
}

.entry-content p {
	font-size: 16px;
	line-height: 1.7;
}

.map-embed {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--line);
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 360px;
	border: 0;
}

/* ==========================================================
   Lightbox
   ========================================================== */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	background: rgba(12, 13, 15, .94);
	color: #ffffff;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

body.lightbox-open {
	overflow: hidden;
}

.lightbox-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
}

.lightbox-count {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}

.lightbox-stage {
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 0 20px 28px;
}

.lightbox-figure {
	margin: 0;
	min-width: 0;
	max-width: min(1200px, 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.lightbox-figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	max-height: calc(100dvh - 150px);
	border-radius: 12px;
	object-fit: contain;
	transition: opacity .2s ease;
}

.lightbox.is-loading .lightbox-figure img {
	opacity: .3;
}

.lightbox-caption {
	font-size: 14px;
	color: rgba(255, 255, 255, .7);
	text-align: center;
}

.lightbox-close,
.lightbox-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 100px;
	background: rgba(255, 255, 255, .06);
	color: #ffffff;
	cursor: pointer;
	transition: background-color .15s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
	background: rgba(255, 255, 255, .16);
}

.lightbox-nav[hidden] {
	display: none;
}

/* ==========================================================
   Contact page
   ========================================================== */

.contact-layout {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 40px 104px;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 80px;
	align-items: start;
}

.contact-form h2 {
	font-size: clamp(32px, 3.6vw, 46px);
	letter-spacing: -1.4px;
}

.contact-intro {
	margin: 18px 0 32px;
	max-width: 620px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
}

.contact-details {
	position: sticky;
	top: calc(var(--header-bottom, var(--header-h)) + 24px);
	border-bottom: 1px solid var(--line);
}

.contact-row {
	padding: 20px 0 22px;
	border-top: 1px solid var(--line);
}

.contact-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-label i {
	width: 16px;
	font-size: 14px;
	color: var(--accent);
	text-align: center;
}

.contact-value {
	display: block;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}

a.contact-value:hover {
	color: var(--accent-dk);
}

.contact-steps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 24px;
	margin-top: 4px;
}

.contact-steps strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
}

.contact-steps span {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--subtle);
}

.contact-map {
	margin: 0 0 24px;
}

.contact-map iframe {
	height: 260px;
}

/* Gravity Forms */
.contact-form .gform_wrapper {
	margin: 24px 0 0 0 !important;
}

.contact-form .gform_wrapper .gform_fields {
	row-gap: 22px !important;
	column-gap: 16px !important;
} 

.contact-form .gform_wrapper .gfield_label,
.contact-form .gform_wrapper .gform-field-label {
	margin-bottom: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--ink) !important;
}

.contact-form .gform_wrapper .gfield_required {
	color: var(--accent-dk) !important;
}

.contact-form .gform_wrapper input[type="text"],
.contact-form .gform_wrapper input[type="email"],
.contact-form .gform_wrapper input[type="tel"],
.contact-form .gform_wrapper input[type="url"],
.contact-form .gform_wrapper input[type="number"],
.contact-form .gform_wrapper select,
.contact-form .gform_wrapper textarea {
	width: 100% !important;
	min-height: 48px;
	padding: 10px 14px !important;
	border: 1px solid #CFCAC3 !important;
	border-radius: 10px !important;
	background-color: #ffffff !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 15px !important;
	color: var(--ink) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form .gform_wrapper textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-form .gform_wrapper input:focus,
.contact-form .gform_wrapper select:focus,
.contact-form .gform_wrapper textarea:focus {
	outline: none !important;
	border-color: var(--ink) !important;
	box-shadow: 0 0 0 3px rgba(232, 147, 31, .22) !important;
}

.contact-form .gform_wrapper .gform_footer {
	margin-top: 28px !important;
	padding: 0 !important;
}

.contact-form .gform_wrapper .gform_footer input[type="submit"],
.contact-form .gform_wrapper .gform_footer button,
.contact-form .gform_wrapper .gform_button {
	height: 52px !important;
	padding: 0 32px !important;
	border: 0 !important;
	border-radius: 100px !important;
	background: var(--accent) !important;
	color: #ffffff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background-color .15s ease;
}

.contact-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.contact-form .gform_wrapper .gform_button:hover {
	background: var(--accent-dk) !important;
}

.contact-form .gform_wrapper .validation_message,
.contact-form .gform_wrapper .gfield_validation_message {
	margin-top: 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 13px !important;
	color: #B3261E !important;
}

.google-text {
	margin-top: 20px;
	font-size: 12px;
	color: var(--subtle);
}
.gform_heading {
	display: none;
}
.gform_wrapper.gravity-theme .gfield--type-phone .gform-phone__country-selector {
	align-items: center;
	background-color: #f2f3f5 !important;
	border: 1px solid #cfcac3 !important;

	padding-block: 13px !important;
	padding-inline: 12px !important;
	border-radius: 10px !important;
		border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0px !important;
}
html:where(:not([dir="rtl"])) .gform_wrapper.gravity-theme .gfield--type-phone .gform-phone__input {
	border-bottom-left-radius: 0 !important;
	border-top-left-radius: 0 !important;
}
.ginput_counter.gfield_description {
	font-size: 12px !important;
}



.downloads {
	display: grid;
	gap: 56px;
}

.downloads-title {
	margin: 0 0 16px;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 400;
	letter-spacing: -.6px;
}

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

.downloads-list li {
	border-bottom: 1px solid var(--line);
}

.download-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 20px;
	padding: 16px 12px;
	color: var(--ink);
	transition: background-color .15s ease;
}

.download-row:hover {
	background: var(--soft);
	color: var(--ink);
}

.download-type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	border-radius: 6px;
	background: var(--soft);
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--muted);
}

.download-row:hover .download-type {
	background: #ffffff;
}

.download-name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.download-size {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: var(--subtle);
	white-space: nowrap;
}

.download-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 100px;
	background: #ffffff;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.download-row:hover .download-action {
	border-color: var(--accent);
	background: var(--accent);
	color: #ffffff;
}

@media only screen and (max-width: 640px) {
	.download-row {
		grid-template-columns: 44px minmax(0, 1fr) auto;
		gap: 4px 14px;
		padding: 14px 4px;
	}

	.download-type {
		grid-row: span 2;
	}

	.download-size {
		grid-column: 2;
		grid-row: 2;
	}

	.download-action {
		grid-column: 3;
		grid-row: 1 / span 2;
		width: 40px;
		padding: 0;
		justify-content: center;
		font-size: 0;
		gap: 0;
	}
}
/* ==========================================================
   Responsive
   ========================================================== */

@media only screen and (max-width: 1180px) {
	.material-results .material-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 1024px) {
	/* Mobile filter: sticky trigger + bottom sheet */
	.material-filter-layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.material-results-head {
		position: sticky;
		top: var(--header-bottom, var(--header-h));
		z-index: 50;
		margin: -16px 0 20px;
		padding: 12px 0;
		background: #ffffff;
		border-bottom: 1px solid var(--line-soft);
	}

	.material-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 44px;
		padding: 0 18px;
		border: 1px solid var(--line);
		border-radius: 100px;
		background: #ffffff;
		color: var(--ink);
		font-family: inherit;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
	}

	.filter-count {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 20px;
		height: 20px;
		padding: 0 6px;
		border-radius: 100px;
		background: var(--accent);
		color: #ffffff;
		font-size: 12px;
		font-weight: 700;
	}

	.filter-count[hidden] {
		display: none;
	}

	.material-filters-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 2000;
		background: rgba(15, 16, 18, .45);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
	}

	.material-filters {
		position: fixed;
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 2001;
		display: flex;
		flex-direction: column;
		max-height: 86vh;
		max-height: 86dvh;
		padding: 0;
		border: 0;
		border-radius: 24px 24px 0 0;
		background: #ffffff;
		box-shadow: 0 -12px 40px rgba(15, 16, 18, .18);
		overflow: hidden;
		transform: translateY(100%);
		visibility: hidden;
		transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility .38s;
	}

	.material-filters-head {
		position: relative;
		padding: 22px 24px 14px;
		border-bottom: 1px solid var(--line-soft);
	}

	.material-filters-head h2 {
		font-size: 20px;
		letter-spacing: -.3px;
	}

	.sheet-handle {
		display: block;
		position: absolute;
		top: 8px;
		left: 50%;
		width: 40px;
		height: 4px;
		margin-left: -20px;
		border-radius: 4px;
		background: #DCD8D2;
	}

	.filters-clear-link {
		display: none;
	}

	.material-filters-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 100px;
		background: var(--soft);
		color: var(--ink);
		cursor: pointer;
	}

	.material-filters-body {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 4px 24px 8px;
	}

	.material-filters .filter-group:first-child {
		border-top: 0;
	}

	/* Chips inside the sheet */
	.material-filters .facetwp-facet {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.material-filters .facetwp-checkbox {
		height: 40px;
		padding: 0 14px !important;
		border: 1px solid var(--line);
		border-radius: 100px;
	}

	.material-filters .facetwp-checkbox::before {
		display: none;
	}

	.material-filters .facetwp-checkbox.checked {
		border-color: var(--ink);
		background: var(--ink) !important;
		color: #ffffff;
		font-weight: 500;
	}

	.material-filters .facetwp-checkbox.checked .facetwp-counter {
		color: rgba(255, 255, 255, .6);
	}

	.material-filters .facetwp-overflow {
		display: contents;
	}

	.material-filters-foot {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 10px;
		padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		background: #ffffff;
	}

	.material-filters-foot .btn {
		width: auto;
	}

	.material-filters-foot .btn:disabled {
		opacity: .45;
		cursor: default;
	}

	body.material-filters-open {
		overflow: hidden;
	}

	body.material-filters-open .material-filters-overlay {
		opacity: 1;
		visibility: visible;
	}

	body.material-filters-open .material-filters {
		transform: none;
		visibility: visible;
	}

	body.material-filters-open .pubble-cw.pubble-cw-contactbot {
		display: none !important;
	}

	/* Single material: swatch beside the specs */
	.material-single {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.material-aside {
		position: static;
		display: grid;
		grid-template-columns: 160px minmax(0, 1fr);
		gap: 8px 28px;
		align-items: start;
	}

	.material-swatch {
		grid-row: span 2;
	}

	.spec-list {
		margin-top: 0;
	}

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.contact-details {
		position: static;
	}
}

@media only screen and (max-width: 960px) {
	.hero-inner,
	.split-section {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 64px;
		padding-bottom: 64px;
	}
.hero-media img {
	aspect-ratio: 3 / 2;
	height:auto;
	max-height:400px;
}
	.project-grid,
	.material-grid,
	.card-grid,
	.project-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media only screen and (max-width: 900px) {
	:root {
		--header-h: 68px;
	}

	.site-header-inner {
		gap: 16px;
	}
.site-logo img {
	display: block;
	max-height: 32px;
	width: 100%;
}
	.header-actions {
		margin-left: auto;
		gap: 10px;
	}

	.header-actions .header-phone {
		display: none;
	}

	.header-cta {
		height: 44px;
		padding: 0 18px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	/* Slide-in panel */
	.main-navigation {
		position: fixed;
		top: var(--header-bottom, var(--header-h));
		right: 0;
		bottom: 0;
		z-index: 5;
		width: min(420px, 100%);
		flex-direction: column;
		background: #ffffff;
		border-left: 1px solid var(--line);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s;
	}

	body.nav-open {
		overflow: hidden;
	}

	body.nav-open .main-navigation {
		transform: none;
		visibility: visible;
	}

	.nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 999;
		background: rgba(15, 16, 18, .4);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
	}

	body.nav-open .nav-overlay {
		opacity: 1;
		visibility: visible;
	}

	#primary-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 24px;
	}

	#primary-menu > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--line-soft);
	}

	#primary-menu > li > a {
		flex: 1;
		height: auto;
		padding: 18px 0;
		border-radius: 0;
		background: none !important;
		font-size: 22px;
		letter-spacing: -.4px;
		color: var(--ink);
	}

	#primary-menu > li.current-menu-item > a,
	#primary-menu > li.current-menu-ancestor > a,
	#primary-menu > li.current_page_parent > a {
		color: var(--accent-dk);
	}

	#primary-menu > li.menu-item-has-children > a::after {
		display: none;
	}

	.submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--line);
		border-radius: 100px;
		background: #ffffff;
		color: var(--ink);
		cursor: pointer;
	}

	.submenu-toggle::before {
		content: "";
		width: 7px;
		height: 7px;
		border-right: 1.6px solid currentColor;
		border-bottom: 1.6px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transition: transform .2s ease;
	}

	.menu-item-has-children.is-open > .submenu-toggle::before {
		transform: translateY(2px) rotate(-135deg);
	}

	.main-navigation .sub-menu {
		position: static;
		flex-basis: 100%;
		display: none;
		min-width: 0;
		margin: -6px 0 14px;
		padding: 0;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-navigation .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.main-navigation .sub-menu a {
		padding: 10px 0 10px 14px;
		border-left: 2px solid var(--line);
		border-radius: 0;
		font-size: 16px;
	}

	.main-navigation .sub-menu a:hover {
		background: none;
		border-left-color: var(--accent);
	}

	.mobile-nav-footer {
		display: grid;
		gap: 16px;
		margin-top: auto;
		padding: 24px 24px calc(28px + env(safe-area-inset-bottom));
		background: var(--soft);
	}

	.mobile-nav-phone {
		display: grid;
		gap: 4px;
		font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		font-size: 17px;
		color: var(--ink);
	}

	.mobile-nav-footer .btn {
		width: 100%;
	}
}

@media only screen and (max-width: 640px) {
	.project-grid,
	.card-grid,
	.project-archive-grid {
		grid-template-columns: 1fr;
	}

	.material-results .material-grid,
	.material-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.material-card {
		border-radius: 16px;
	}

	.material-card .card-body {
		padding: 12px 14px 16px;
	}

	.material-card .card-title {
		font-size: 14px;
	}

	.footer-columns {
		grid-template-columns: 1fr;
	}

	.container,
	.hero-inner,
	.split-section,
	.dark-section-inner,
	.page-hero-inner,
	.site-main,
	.material-grid,
	.card-grid,
	.footer-columns,
	.footer-bottom,
	.site-header-inner,
	.contact-layout {
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-hero-inner {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.site-main {
		padding-top: 40px;
		padding-bottom: 56px;
	}

	.contact-layout {
		padding-top: 48px;
		padding-bottom: 64px;
	}

	.material-aside {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 8px 18px;
	}

	.material-swatch {
		border-radius: 14px;
	}

	.contact-steps {
		grid-template-columns: 1fr;
	}

	.project-hero {
		border-radius: 16px;
	}

	.lightbox-stage {
		padding: 0 0 20px;
		gap: 0;
		position: relative;
	}

	.lightbox-figure img {
		border-radius: 0;
	}

	.lightbox-nav {
		position: absolute;
		top: 50%;
		margin-top: -24px;
		background: rgba(15, 16, 18, .55);
	}

	.lightbox-prev { left: 10px; }
	.lightbox-next { right: 10px; }

	.footer-bottom-inner {
		flex-direction: column;
	}

	.btn-row {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.header-cta,
	.material-filters-foot .btn {
		width: auto;
	}
}

@media only screen and (max-width: 420px) {
	.header-cta {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
	}
}

/* ==========================================================
   Management Profiles (Company page)
   ========================================================== */

.team-section {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 40px 96px;
}

.team-heading {
	margin-bottom: 32px;
}

.team-heading p {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--muted);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}

.team-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: 20px;
	overflow: hidden;
	background: #ffffff;
}

.team-head {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 24px 0;
}

.team-photo {
	position: relative;
	flex-shrink: 0;
	width: 112px;
	height: 112px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--soft);
}

.team-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 15%;
}

.team-photo.is-empty::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("img/stonetech-logo.png") center / 48px auto no-repeat;
	opacity: .14;
	filter: grayscale(1);
}

.team-card .card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 24px 26px;
}

.team-card .team-name {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.3px;
	line-height: 1.3;
}

.team-id .mono-label {
	margin-top: 6px;
}

.team-bio {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.7;
	color: #4A5058;
}

.team-bio p {
	margin: 0 0 12px;
	font-size: inherit;
	line-height: inherit;
}

.team-bio p:last-child {
	margin-bottom: 0;
}

.team-quals {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--line-soft);
}

.team-quals ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

.team-quals li {
	position: relative;
	padding: 6px 0 6px 18px;
	font-size: 14px;
	line-height: 1.5;
	color: #4A5058;
}

.team-quals li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

@media only screen and (max-width: 640px) {
	.team-section {
		padding: 0 20px 56px;
	}

	.team-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.team-card {
		border-radius: 16px;
	}

	.team-head {
		padding: 18px 18px 0;
		gap: 16px;
	}

	.team-photo {
		width: 88px;
		height: 88px;
		border-radius: 16px;
	}

	.team-card .card-body {
		padding: 16px 18px 22px;
	}

	.team-card .team-name {
		font-size: 18px;
	}
}