/*
Theme Name: Light Plan Inc
Theme URI: https://lightplaninc.com
Author: Light Plan Inc
Description: Custom portfolio theme for Light Plan Inc – Architectural Lighting Design Studio. Full-screen featured project slider, side-panel navigation, project pages with sticky info sidebar and gallery, Projects Grid / Index views with sorting, and a clustered project map. Elementor-ready: 7 custom Elementor widgets and Elementor Pro Theme Builder support.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightplan
*/

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/jost-latin-wght-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
	--red: #ff0000;
	--black: #000;
	--white: #fff;
	--grey: #8a8a8a;
	--line: rgba(255, 255, 255, .22);
	--panel: rgba(0, 0, 0, .55);
	--blur: blur(14px);
	--sidebar: 290px;
	--ease: cubic-bezier(.4, 0, .2, 1);
	--font: "Jost", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 10px; left: 10px;
	background: var(--white); color: var(--black); padding: 8px 14px;
}
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 48px); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--white); transition: color .2s; }
.icon-btn:hover { color: var(--red); }
.empty-state { padding: 120px 24px; text-align: center; color: var(--grey); }

/* ---------- Header ---------- */
.site-header {
	position: relative; z-index: 40;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding: 18px clamp(16px, 11vw, 150px);
	background: var(--black);
}
.site-header .js-menu-open { justify-self: start; }
.site-header .js-search-open { justify-self: end; }
.site-header__logo img { width: 34px; height: 34px; object-fit: contain; }
.lpi-overlay-header .site-header {
	position: fixed; inset: 0 0 auto 0; background: linear-gradient(rgba(0,0,0,.35), transparent);
}

/* ---------- Side-panel menu ---------- */
.menu-backdrop {
	position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45);
	opacity: 0; transition: opacity .4s var(--ease);
}
.menu-open .menu-backdrop { opacity: 1; }
.menu-panel {
	position: fixed; inset: 0 auto 0 0; z-index: 100;
	width: min(var(--sidebar), 86vw);
	display: flex; flex-direction: column;
	padding: 28px 38px 34px;
	background: var(--panel);
	-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
	transform: translateX(-100%); visibility: hidden;
	transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.menu-open .menu-panel { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.menu-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18vh; }
.menu-panel__logo img { width: 40px; height: 40px; object-fit: contain; }
.menu-panel .lpi-menu li { margin: 0 0 6px; }
.menu-panel .lpi-menu a {
	display: inline-block; font-size: 20px; font-weight: 500; line-height: 1.6;
	color: var(--white); position: relative; transition: color .2s;
}
.menu-panel .lpi-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.menu-panel .lpi-menu a:hover, .menu-panel .lpi-menu .current-menu-item > a { color: var(--red); }
.menu-panel .lpi-menu a:hover::after, .menu-panel .lpi-menu .current-menu-item > a::after { transform: scaleX(1); }
.menu-panel__contact { margin-top: auto; display: grid; gap: 6px; }
.menu-panel__email { font-size: 13px; }
.menu-panel__address { font-size: 9.5px; letter-spacing: .02em; color: var(--red); text-transform: uppercase; }
.menu-panel__contact a:hover { text-decoration: underline; }

/* ---------- Search overlay ---------- */
.search-overlay {
	position: fixed; inset: 0; z-index: 110; display: grid; place-items: center;
	background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
	opacity: 0; transition: opacity .3s;
}
.search-open .search-overlay { opacity: 1; }
.search-overlay__close { position: absolute; top: 20px; right: 24px; }
.search-overlay__form { display: flex; align-items: center; gap: 12px; width: min(720px, 88vw); border-bottom: 1px solid var(--white); }
.search-overlay__form input {
	flex: 1; background: none; border: 0; color: var(--white); font: 300 clamp(24px, 4vw, 40px) var(--font); padding: 10px 0;
}
.search-overlay__form input:focus { outline: none; }
.search-inline { display: flex; max-width: 520px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.search-inline input { flex: 1; background: none; border: 0; color: var(--white); font: 18px var(--font); padding: 10px 0; }
.search-inline button { color: var(--white); padding: 0 6px; }

/* ---------- Homepage slider ---------- */
.home-slider { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.home-slider__bgs, .home-slider__bg { position: absolute; inset: 0; }
.home-slider__bg { opacity: 0; transition: opacity 1.1s var(--ease); }
.home-slider__bg.is-active { opacity: 1; }
.home-slider__bg img { width: 100%; height: 100%; object-fit: cover; }
.home-slider__bg::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,var(--lpi-overlay,.6))); }
.home-slider__nav.no-arrows { grid-template-columns: 1fr; }
.home-slider__nav.no-arrows .home-slider__arrow { display: none; }
.home-slider__nav {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
	padding: 0 40px 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px;
}
.home-slider__list { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; }
.home-slider__list::-webkit-scrollbar { display: none; }
.home-slider__item { flex: 1 0 170px; text-align: center; }
.home-slider__item a { display: inline-block; padding: 6px 10px; color: rgba(255,255,255,.55); transition: color .3s; }
.home-slider__title { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.home-slider__meta { display: block; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; }
.home-slider__item a:hover .home-slider__title { text-decoration: underline; text-underline-offset: 3px; }
.home-slider__item.is-active a, .home-slider__item a:hover { color: var(--white); }
.home-slider__arrow { color: var(--white); opacity: .7; padding: 0 0 26px; transition: opacity .2s, color .2s; }
.home-slider__arrow:hover { opacity: 1; color: var(--red); }
.home-slider__arrow:disabled { opacity: .15; cursor: default; color: var(--white); }
.home-slider__progress { grid-column: 1 / -1; position: relative; height: 1px; background: rgba(255,255,255,.55); }
.home-slider__progress span {
	position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--red);
	transition: transform .6s var(--ease), width .6s var(--ease);
}

/* ---------- Single project ---------- */
.project__layout { display: grid; grid-template-columns: 1fr; }
.project__sidebar, .project__content { grid-area: 1 / 1; }
.project__sidebar {
	position: sticky; top: 0; z-index: 10; align-self: start;
	width: var(--sidebar); height: 100vh; height: 100svh;
	display: flex; flex-direction: column; padding: 26px 34px 40px;
	background: var(--panel); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
	overflow-y: auto;
}
.project__bar { display: flex; align-items: center; justify-content: space-between; }
.project__logo img { width: 42px; height: 42px; object-fit: contain; }
.breadcrumb { margin-top: 14px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumb span { margin: 0 2px; }
.breadcrumb a:hover { color: var(--red); }
.project__title { margin-top: 16vh; }
.project__title h1 { font-size: 22px; margin: 0; }
.project__title p { margin: 0; font-size: 12px; font-weight: 500; }
.project__specs { margin: auto 0 0; display: grid; gap: 12px; }
.project__specs dt { font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.project__specs dd { margin: 0; font-size: 10.5px; color: rgba(255,255,255,.85); }
.project__specs dd a { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.project__specs dd a:hover { color: var(--red); border-color: var(--red); }
.project__hero { height: 100vh; height: 100svh; }
.project__hero img { width: 100%; height: 100%; object-fit: cover; }
.project__intro {
	display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
	padding-left: var(--sidebar);
}
.project__text { padding: 22vh 34px 60px 10px; font-size: 14px; }
.project__quote { margin: 0 0 60px; font-style: italic; font-size: 15px; line-height: 1.5; }
.project__intro-img img { width: 100%; height: 100%; object-fit: cover; }
.project__gallery { position: relative; height: 100vh; height: 100svh; margin-left: var(--sidebar); overflow: hidden; }
.gallery__stage, .gallery__slide { position: absolute; inset: 0; margin: 0; }
.gallery__slide { opacity: 0; transition: opacity .7s var(--ease); }
.gallery__slide.is-active { opacity: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
	position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
	display: flex; align-items: center; gap: 8px; padding: 0 10px;
}
.gallery__thumbs ol { flex: 1; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs ol::-webkit-scrollbar { display: none; }
.gallery__thumb { display: block; width: 110px; height: 74px; opacity: .55; outline: 1px solid transparent; transition: opacity .2s, outline-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; outline-color: var(--white); }
.gallery__arrow { color: var(--red); padding: 8px; }
.awards-tab {
	position: fixed; right: 0; top: 50%; z-index: 20; transform: translateY(-50%);
	writing-mode: vertical-rl; transform-origin: center; rotate: 180deg;
	background: var(--red); color: var(--white); font-weight: 600; font-size: 15px; padding: 20px 9px;
	transition: padding .2s;
}
.awards-tab:hover { padding-left: 14px; }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-bottom: 1px solid #111; }
.project-nav__item { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 26px; padding: 14px 60px; }
.project-nav__item--prev { border-right: 2px solid var(--red); }
.project-nav__item--next { grid-template-columns: auto 1fr auto; }
.project-nav__item--next .project-nav__arrow { order: 3; }
.project-nav__arrow { color: var(--red); }
.project-nav__img img { width: 120px; height: 86px; object-fit: cover; }
.project-nav__text small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.project-nav__text strong { display: block; font-size: 20px; font-weight: 400; margin: 4px 0; transition: color .2s; }
.project-nav__item:hover strong { color: var(--red); }

/* ---------- Projects archive ---------- */
.projects-archive { padding: 40px 0 100px; min-height: 70vh; }
.projects-archive__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.projects-archive__title { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.view-toggle { display: flex; gap: 16px; font-size: 10px; text-transform: uppercase; }
.view-toggle a.is-active, .view-toggle a:hover { color: var(--red); }
.typology-tabs { position: relative; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid #3a3a3a; margin-bottom: 26px; }
.typology-tabs ul { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.typology-tabs ul::-webkit-scrollbar { display: none; }
.typology-tabs li { flex: 0 0 auto; }
.typology-tabs a { position: relative; display: block; padding: 10px 0 16px; font-size: 10px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.typology-tabs a span { font-weight: 400; margin-left: 6px; }
.typology-tabs a:hover, .typology-tabs .is-active a { color: var(--red); }
.typology-tabs .is-active a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); }
.typology-tabs__more { color: #777; flex: 0 0 auto; padding-bottom: 6px; }
.typology-tabs__more:hover { color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(var(--lpi-cols, 3), 1fr); gap: 34px 14px; }
.project-card a { display: block; text-align: center; }
.project-card__img { display: block; aspect-ratio: 5 / 6; background: #111; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.project-card a:hover img { transform: scale(1.04); }
.project-card__title { display: block; margin-top: 14px; font-size: 14px; font-weight: 500; }
.project-card a:hover .project-card__title { text-decoration: underline; text-underline-offset: 3px; }
.project-card__meta { display: block; font-size: 10px; text-transform: uppercase; color: #ccc; }

.index-table__head, .index-row { display: grid; grid-template-columns: 110px 2fr 2.2fr 1.4fr 90px; align-items: center; gap: 12px; }
.index-table__head { border-bottom: 2px solid #5a5a5a; padding: 10px 6px 14px; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.index-table__head .index-col { text-align: left; text-transform: uppercase; font-weight: 600; font-size: 10px; position: relative; justify-self: start; padding-bottom: 4px; }
.index-table__head .index-col.is-sorted { color: var(--red); }
.index-table__head .index-col.is-sorted::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.index-row { padding: 16px 6px; border-bottom: 1px solid #2a2a2a; font-size: 12px; transition: color .15s; }
.index-row:hover, .index-row:hover a { color: var(--red); }
.index-row .index-col--type { grid-column: span 2; }
.index-row a:hover { text-decoration: underline; }
.badge-award { display: inline-block; margin-left: 10px; padding: 1px 14px; background: var(--red); color: var(--white) !important; font-size: 9px; font-weight: 600; text-decoration: none !important; vertical-align: middle; }
.sort-menu { position: relative; justify-self: end; }
.sort-menu__btn { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.sort-menu__btn:hover { color: var(--red); }
.sort-menu__panel {
	position: absolute; right: -10px; top: calc(100% + 8px); z-index: 30; width: 140px;
	background: var(--white); color: var(--black); border-radius: 6px; padding: 12px 12px 10px; text-transform: none; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.sort-menu__panel p { margin: 0 0 4px; font-size: 7.5px; text-transform: uppercase; color: #444; }
.sort-menu__panel button { display: block; width: 100%; text-align: left; font-size: 11px; font-weight: 400; padding: 3px 0 3px 16px; position: relative; }
.sort-menu__panel button.is-checked { color: var(--red); font-weight: 600; }
.sort-menu__panel button.is-checked::before { content: "\2713"; position: absolute; left: 2px; }
.sort-menu__panel button:hover { color: var(--red); }
.sort-menu__panel hr { border: 0; border-top: 1px solid #000; margin: 8px 0; }

/* ---------- Map ---------- */
.map-page { position: relative; height: calc(100vh - 76px); height: calc(100svh - 76px); }
.project-map { position: relative; height: 100%; min-height: 320px; }
.project-map__title { position: absolute; z-index: 500; top: 40px; left: clamp(16px, 20vw, 290px); margin: 0; font-size: 13px; text-transform: uppercase; color: #000; pointer-events: none; }
.project-map__canvas { width: 100%; height: 100%; background: #e5e5e5; }
.project-map--dark .project-map__canvas { background: #1b1b1b; }
.project-map--dark .project-map__title { color: #fff; }
.lpi-cluster { display: grid; place-items: center; background: #000; color: #fff; border-radius: 50%; border: 3px solid rgba(0,0,0,.25); background-clip: padding-box; font: 700 13px var(--font); transition: background .2s; }
.lpi-cluster span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lpi-cluster:hover { background-color: var(--red); }
.lpi-pin { background: none; border: 0; }
.lpi-pin:hover path { fill: var(--red); }
.lpi-leaflet-popup .leaflet-popup-content-wrapper { border-radius: 4px; padding: 0; overflow: hidden; }
.lpi-leaflet-popup .leaflet-popup-content { margin: 0; width: 240px !important; font-family: var(--font); color: #000; }
.lpi-popup__img img { width: 100%; height: 140px; object-fit: cover; }
.lpi-popup__body { padding: 12px 16px 14px; }
.lpi-popup__meta { margin: 0 !important; font-size: 10px; color: #555; }
.lpi-popup h3 { margin: 2px 0; font-size: 16px; font-weight: 600; }
.lpi-popup h3 a, .lpi-popup__links a { color: #000; }
.lpi-popup__loc { margin: 0 0 8px !important; font-size: 11px; }
.lpi-popup__links { display: flex; justify-content: space-between; gap: 10px; margin: 0 !important; font-size: 11px; font-weight: 600; }
.lpi-popup__links a:hover { color: var(--red); }

/* ---------- About ---------- */
.about { background: var(--black); }
.about__inner { width: min(1000px, 100% - 48px); margin: 0 auto; padding: 4vh 0 80px; }
.about .about-hero h2, .about h2.about-hero { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; line-height: 1.12; margin-bottom: 18px; }
.about .about-label { font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--red); margin: 0 0 30px; }
.about .about-section { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.about .about-section p { max-width: 760px; font-size: 16px; }
.about .about-photo { margin: 0 0 80px; }
.about .about-photo img { width: 100%; }
.about .about-photo figcaption { text-align: right; font-size: 12px; color: #aaa; margin-top: 8px; }

/* ---------- Standard pages / posts ---------- */
.page-standard { padding: 60px 0 100px; min-height: 60vh; }
.page-title { font-size: clamp(30px, 4vw, 44px); font-weight: 500; margin-bottom: 30px; }
.entry-content { font-size: 16px; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content h2 { font-size: 24px; margin-top: 1.8em; }
.entry-content ul { list-style: disc; padding-left: 1.2em; }
.entry-content .wp-block-columns { gap: 40px; }
.post-kicker { font-size: 12px; text-transform: uppercase; color: var(--red); }
.post-hero { margin: 0 0 40px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.post-card__img { display: block; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card a:hover img { transform: scale(1.04); }
.post-card__meta { display: block; margin-top: 12px; font-size: 11px; text-transform: uppercase; color: var(--red); }
.post-card__title { display: block; font-size: 18px; font-weight: 500; }
.post-card__excerpt { display: block; font-size: 14px; color: #bbb; margin-top: 6px; }
.pagination .nav-links { display: flex; gap: 14px; margin-top: 50px; }
.pagination .current { color: var(--red); }
.awards-list { display: grid; gap: 40px; margin-top: 50px; }
.awards-list__item { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; scroll-margin-top: 40px; }
.awards-list__item:target h2 a { color: var(--red); }
.awards-list__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.awards-list__meta { margin: 0; font-size: 11px; text-transform: uppercase; color: #aaa; }
.awards-list h2 { font-size: 22px; margin: 2px 0 10px; }
.awards-list h2 a:hover { color: var(--red); }
.awards-list__awards li { padding-left: 16px; position: relative; font-size: 14px; }
.awards-list__awards li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--red); }
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }
.contact__details { display: grid; gap: 24px; align-content: start; margin: 90px 0 0; }
.contact__details dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.contact__details dd { margin: 4px 0 0; font-size: 18px; }
.contact__details a:hover { color: var(--red); }

/* ---------- CTA + footer (white, per guide) ---------- */
.footer-cta {
	background: var(--white); color: var(--black);
	display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
	padding: 70px max(24px, calc((100% - 1160px) / 2)) 40px;
}
.footer-cta h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.footer-cta p { font-size: clamp(16px, 1.5vw, 20px); font-weight: 300; line-height: 1.4; margin: 0 0 40px; max-width: 520px; }
.footer-cta__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.btn-line {
	display: inline-flex; align-items: center; gap: 14px; padding: 8px 0;
	border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
	font-size: 13px; font-weight: 600; letter-spacing: .35em; text-transform: uppercase;
}
.btn-line svg { color: var(--red); transition: transform .25s var(--ease); }
.btn-line:hover svg { transform: translateX(6px); }
.site-footer { background: var(--white); color: var(--black); padding: 0 max(24px, calc((100% - 1160px) / 2)) 30px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 14px 0; }
.site-footer__inner > div { padding: 0 24px; }
.site-footer__inner > div + div { border-left: 1px solid #000; }
.site-footer__brand { padding-left: 20px !important; }
.site-footer__logo img { width: 70px; height: 70px; object-fit: contain; }
.site-footer__name { margin: 14px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; }
.site-footer__tagline { margin: 0; font-size: 12px; }
.site-footer h2 { font-size: 12px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; margin: 8px 0 14px; }
.site-footer ul, .site-footer p { font-size: 11.5px; line-height: 1.5; margin: 0 0 6px; }
.site-footer a:hover { color: var(--red); }
.site-footer__social { display: flex; gap: 50px; }
.site-footer__copy { margin: 16px 0 0; font-size: 11px; color: #666; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.project-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.site-footer__inner > div:nth-child(3) { border-left: 0; }
	.project-nav__item { padding: 14px 24px; gap: 16px; }
}
@media (max-width: 782px) {
	.home-slider__nav { padding: 0 12px 20px; grid-template-columns: 1fr; }
	.home-slider__arrow { display: none; }
	.home-slider__item { flex: 0 0 46%; }

	.project__layout { display: block; }
	.project__sidebar { position: relative; width: 100%; height: auto; min-height: 0; padding: 18px 20px 26px; background: var(--black); }
	.project__title { margin-top: 30px; }
	.project__specs { margin-top: 24px; grid-template-columns: 1fr 1fr; }
	.project__hero { height: 70vh; }
	.project__intro { grid-template-columns: 1fr; padding-left: 0; min-height: 0; }
	.project__text { padding: 40px 20px; }
	.project__intro-img img { height: auto; }
	.project__gallery { margin-left: 0; height: 75vh; }
	.gallery__thumb { width: 80px; height: 54px; }
	.awards-tab { font-size: 12px; padding: 14px 6px; }
	.project-nav { grid-template-columns: 1fr; }
	.project-nav__item--prev { border-right: 0; border-bottom: 2px solid var(--red); }
	.project-nav__img { display: none; }

	.project-grid, .post-grid { grid-template-columns: 1fr; }
	.index-table__head { grid-template-columns: 1fr auto; }
	.index-table__head .index-col { display: none; }
	.index-row { grid-template-columns: 56px 1fr; row-gap: 2px; }
	.index-row .index-col--location, .index-row .index-col--type { grid-column: 2; font-size: 11px; color: #aaa; }

	.footer-cta, .contact__grid { grid-template-columns: 1fr; gap: 30px; }
	.contact__details { margin-top: 0; }
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__inner > div + div { border-left: 0; border-top: 1px solid #000; padding-top: 16px; }
	.awards-list__item { grid-template-columns: 1fr; gap: 14px; }
	.project-map__title { left: 20px; top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Elementor ---------- */
.elementor-widget-lpi-project-gallery .project__gallery { margin-left: 0; }
.lpi-project-info .project__title { margin-top: 40px; }
.lpi-project-info .project__specs { margin-top: 30px; }
.lpi-editor-note { padding: 24px; border: 1px dashed #555; color: #aaa; font-size: 14px; text-align: center; }
.footer-cta--no-img { grid-template-columns: 1fr; }
.home-elementor .elementor-widget-lpi-project-slider .home-slider { height: 100vh; height: 100svh; }
.elementor-page .page-standard { padding-top: 0; }
.elementor-widget-text-editor a { text-decoration: underline; text-underline-offset: 3px; }
.elementor-widget-text-editor a:hover { color: var(--red); }
.elementor-widget-image .widget-image-caption { font-size: 12px; margin-top: 8px; }
