@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Playfair+Display:wght@300;400;600&family=Plus+Jakarta+Sans:wght@400;500&family=Source+Sans+3:wght@300;400;500&family=Space+Grotesk:wght@500;600&display=swap');

/* base.css */
:root {
    --primary-color: #333;
    --secondary-color: #fff;
    --accent-color: #DAA520;
    --light-gray: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--primary-color);
    background: var(--secondary-color);
}

.media-shell {
    background-color: #ece5da;
    background-repeat: no-repeat;
    background-size: 220% 100%;
    background-position: 200% 0;
}

.media-shell.media-loading {
    background-image: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.04) 34%,
        rgba(255, 255, 255, 0.34) 46%,
        rgba(255, 255, 255, 0.04) 58%
    );
    animation: media-shell-shimmer 1.35s linear infinite;
}

.media-shell.media-ready {
    background-image: none;
    animation: none;
}

@keyframes media-shell-shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -40% 0;
    }
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 19px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    color: rgba(255, 255, 255, 0.96);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.88));
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover {
    background: #c2951b;
    transform: translateY(-1px);
    filter: brightness(1.01);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.16);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

section {
    padding: 40px 0;
    text-align: center;
}

body:not(.has-fixed-header) section {
    position: relative;
}


section:nth-of-type(even) {
    background: var(--light-gray);
}

section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none !important;
    }

    .media-shell.media-loading {
        animation: none;
    }
}

/* typography.css */
body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.5px;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

p {
    font-weight: 400;
}

/* header.css */
header {
    background: transparent;
    color: var(--secondary-color);
    padding: 0.64rem 0 0.32rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: none;
    border-bottom: 0.5px solid var(--secondary-color);
    transition: background-color 0.4s ease, color 0.2s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* allow dropdowns to show beyond container */
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding-left: 2cm;
    padding-right: 2cm;
}

header nav {
    flex: 0 1 auto;
}

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.header-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.28s ease, color 0.28s ease;
}

.header-toggle-lines {
    position: relative;
    width: 20px;
    height: 14px;
    display: block;
}

.header-toggle-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.24s ease, top 0.3s ease;
}

.header-toggle-line:nth-child(1) {
    top: 0;
}

.header-toggle-line:nth-child(2) {
    top: 6px;
}

.header-toggle-line:nth-child(3) {
    top: 12px;
}


header h1 {
    font-size: 1.133rem;
    color: var(--secondary-color);
    font-family: inherit;
    font-weight: normal;
    margin-left: 0;
    display: flex;
    align-items: center;
}

header h1 {
    position: absolute;
    left: 2cm;
}

header h1 a {
    color: inherit;
}

.header-logo {
    height: 34px;
    width: auto;
    display: block;
}

.header-logo-hover {
    display: none;
}

header:hover .header-logo-default {
    display: none;
}

header:hover .header-logo-hover {
    display: block;
}

header.is-scrolled .header-logo-default {
    display: none;
}

header.is-scrolled .header-logo-hover {
    display: block;
}

header.is-menu-open .header-logo-default {
    display: none;
}

header.is-menu-open .header-logo-hover {
    display: block;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
}

header nav ul li {
    margin-left: 25px;
    position: relative;
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a {
    color: var(--secondary-color);
    font-weight: normal;
    font-size: 1.133rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.4s ease, color 0.2s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

header nav ul li a:hover::after,
header nav ul li a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.services-nav {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    min-width: 0;
}

.services-nav-toggle {
    cursor: pointer;
    position: relative;
    padding-right: 26px;
}

.services-nav-toggle::before {
    content: '>';
    position: absolute;
    right: 0;
    top: 6.5px;
    font-size: 1.133rem;
    line-height: 1;
    color: inherit;
    animation: services-nudge 1.4s ease-in-out infinite;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.services-nav-toggle[aria-expanded='true']::before {
    content: '<';
    transform: translateY(0);
    animation: none;
}

@keyframes services-nudge {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.services-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-12px);
    pointer-events: none;
    white-space: nowrap;
    flex: 0 1 auto;
    transition: max-width 0.5s ease, opacity 0.35s ease, transform 0.5s ease;
}

.services-links a {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.services-links.is-open {
    max-width: clamp(240px, 40vw, 520px);
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.services-links.is-open a {
    opacity: 1;
    transform: translateX(0);
}

.services-links.is-open a:nth-child(1) {
    transition-delay: 60ms;
}

.services-links.is-open a:nth-child(2) {
    transition-delay: 120ms;
}

.services-links.is-open a:nth-child(3) {
    transition-delay: 180ms;
}

.services-links.is-open a:nth-child(4) {
    transition-delay: 240ms;
}

.services-links.is-open a:nth-child(5) {
    transition-delay: 300ms;
}

header.is-menu-open {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

header.is-menu-open .header-toggle {
    background: rgba(15, 23, 42, 0.06);
}

@media (max-width: 780px) {
    header {
        padding: 0.72rem 0 0.4rem 0;
    }

    header .container {
        justify-content: space-between;
        gap: 16px;
        padding-left: clamp(18px, 5vw, 24px);
        padding-right: clamp(18px, 5vw, 24px);
    }

    header h1 {
        position: static;
        left: auto;
        z-index: 12;
    }

    .header-logo {
        height: 30px;
    }

    .header-toggle {
        display: inline-flex;
        position: relative;
        z-index: 12;
        flex: 0 0 auto;
    }

    header.is-menu-open .header-toggle-line:nth-child(1) {
        top: 6px;
        transform: rotate(45deg);
    }

    header.is-menu-open .header-toggle-line:nth-child(2) {
        opacity: 0;
    }

    header.is-menu-open .header-toggle-line:nth-child(3) {
        top: 6px;
        transform: rotate(-45deg);
    }

    header nav {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: calc(74px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 24px) 24px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px);
        transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.34s;
    }

    header nav::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(246, 243, 238, 0.72);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    header.is-menu-open nav,
    header nav.is-open,
    header nav[aria-hidden='false'] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    header nav ul {
        position: relative;
        z-index: 1;
        width: min(100%, 31rem);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 20px;
        border: 1px solid rgba(17, 17, 17, 0.08);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    }

    header nav ul li {
        margin-left: 0;
        border-bottom: 1px solid rgba(17, 17, 17, 0.08);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

    header nav ul li:last-child {
        border-bottom: 0;
    }

    header.is-menu-open nav ul li,
    header nav.is-open ul li,
    header nav[aria-hidden='false'] ul li {
        opacity: 1;
        transform: translateY(0);
    }

    header.is-menu-open nav ul li:nth-child(1),
    header nav.is-open ul li:nth-child(1),
    header nav[aria-hidden='false'] ul li:nth-child(1) {
        transition-delay: 70ms;
    }

    header.is-menu-open nav ul li:nth-child(2),
    header nav.is-open ul li:nth-child(2),
    header nav[aria-hidden='false'] ul li:nth-child(2) {
        transition-delay: 120ms;
    }

    header.is-menu-open nav ul li:nth-child(3),
    header nav.is-open ul li:nth-child(3),
    header nav[aria-hidden='false'] ul li:nth-child(3) {
        transition-delay: 170ms;
    }

    header nav ul li a {
        display: block;
        padding: 16px 0;
        font-size: 1.02rem;
    }

    header nav ul li a::after {
        display: none;
    }

    .services-nav {
        display: block;
    }

    .services-nav-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        padding-right: 26px;
    }

    .services-nav-toggle::before {
        content: '';
        top: 50%;
        right: 4px;
        width: 9px;
        height: 9px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        animation: none;
        transform: translateY(-65%) rotate(45deg);
        transition: transform 0.28s ease;
    }

    .services-nav-toggle[aria-expanded='true']::before {
        content: '';
        transform: translateY(-35%) rotate(225deg);
    }

    .services-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        max-width: none;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        white-space: normal;
        transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .services-links a {
        padding: 0 0 14px 18px;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.24s ease, transform 0.3s ease;
    }

    .services-links a:first-child {
        padding-top: 10px;
    }

    .services-links.is-open {
        max-height: 180px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .services-links.is-open a {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-toggle,
    .header-toggle-line,
    .services-nav-toggle::before,
    .services-links,
    .services-links a,
    header,
    header nav,
    header nav ul li {
        transition: none !important;
        animation: none !important;
    }
}






/* Linkin üzerine gelindiğinde rengin koyu olması için eklenen kural */
header nav ul li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header'ın geneline gelindiğinde arka planın beyaz olması */
header:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Header hover olduğunda içindeki yazıların koyu renk olması */
header:hover h1,
header:hover nav ul li a {
    color: #000;
}

header:hover h1,
header:hover nav ul li a:hover {
     color: #000;
}

/* Logo link also switches to dark when header turns light */
header:hover h1 a {
    color: #000;
}





/* --------------------------------------------------------- */
/* DİĞER SAYFALAR İÇİN KOYU HEADER STİLİ (HEADER DARK)       */
/* Bu sınıfı index.html HARİÇ diğer sayfalardaki             */
/* <header> etiketine ekleyin: <header class="header-dark">  */
/* --------------------------------------------------------- */

header.header-dark {
    /* Arka plan şeffaf kalsın (beyaz sayfa üzerinde duracak) */
    background-color: transparent; 
    /* Yazı rengi koyu olsun */
    color: var(--primary-color);
    /* Alt çizgi daha belirgin gri olsun (beyaz olmasın) */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

header.header-dark h1 {
    color: var(--primary-color);
}

header.header-dark nav ul li a {
    color: var(--primary-color);
}

/* Koyu header'da linkin üzerine gelince vurgu rengi (altın/sarı) olsun */
header.header-dark nav ul li a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* header-scroll.css */
header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px) saturate(150%);
}

header.is-scrolled h1,
header.is-scrolled nav ul li a {
    color: var(--primary-color);
}

/* hero.css */
#hero {
    background: url('../images/image-33-first-frame.jpg') no-repeat center center/cover;
    height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}

body.home-page #hero,
body.flooring-page #hero,
body.drywall-page #hero,
body.metal-framing-page #hero,
body.project-page #hero {
    background: none;
}

body.home-page #hero .hero-video,
body.flooring-page #hero .hero-video,
body.drywall-page #hero .hero-video,
body.metal-framing-page #hero .hero-video,
body.project-page #hero .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

body.home-page #hero::before,
body.flooring-page #hero::before,
body.drywall-page #hero::before,
body.metal-framing-page #hero::before,
body.project-page #hero::before {
    z-index: 1;
}

body.home-page #hero::after,
body.flooring-page #hero::after,
body.drywall-page #hero::after,
body.metal-framing-page #hero::after,
body.project-page #hero::after {
    z-index: 2;
}

body.home-page #hero .hero-content,
body.flooring-page #hero .hero-content,
body.drywall-page #hero .hero-content,
body.metal-framing-page #hero .hero-content,
body.project-page #hero .hero-content {
    z-index: 3;
}

body.flooring-page #hero .hero-content p {
    white-space: normal;
    max-width: min(92vw, 980px);
    line-height: 1.35;
}

#hero .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

#hero .container {
    max-width: 1280px;
    overflow: visible;
}

.hero-logo {
    width: clamp(210px, 27vw, 360px);
    margin: 0 auto 8px;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
    animation: heroFloat 7s ease-in-out infinite;
}

body.home-page .hero-logo {
    width: clamp(231px, 29.7vw, 396px);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 82% 75%, rgba(0, 0, 0, 0.35), transparent 45%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: overlay;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

#hero h2 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #fff;
}

#hero p {
    font-size: clamp(1.1rem, 2vw, 1.65rem);
    margin-bottom: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

#scroll-down-btn {
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 5;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: bounce 2s infinite;
    margin-top: 6px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.scroll-down-label {
    position: relative;
    font-size: 0.75rem;
    font-family: 'Source Sans 3', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #ffffff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    z-index: 5;
    pointer-events: none;
    margin-top: 6px;
}

#scroll-down-btn::before,
#scroll-down-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

#scroll-down-btn::before {
    top: 25%;
}

#scroll-down-btn::after {
    top: 45%;
}

#scroll-down-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

#hero .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

body.page-fade-in #hero .hero-content > * {
    opacity: 0;
    animation: heroRise 0.9s ease forwards;
}

body.page-fade-in #hero .hero-content > *:nth-child(1) {
    animation-delay: 120ms;
}

body.page-fade-in #hero .hero-content > *:nth-child(2) {
    animation-delay: 220ms;
}

body.page-fade-in #hero .hero-content > *:nth-child(3) {
    animation-delay: 320ms;
}

body.page-fade-in #hero .hero-content > *:nth-child(4) {
    animation-delay: 420ms;
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}





@media (prefers-reduced-motion: reduce) {
    .hero-logo {
        animation: none;
    }

    #scroll-down-btn {
        animation: none;
    }

    body.page-fade-in #hero .hero-content > * {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .intro-band-image-inner {
        transform: none;
    }
}

@media (max-width: 780px) {
    body.home-page #hero .hero-content p,
    body.drywall-page #hero .hero-content p,
    body.metal-framing-page #hero .hero-content p,
    body.project-page #hero .hero-content p {
        white-space: normal;
        max-width: 92vw;
        line-height: 1.35;
        text-align: center;
    }
}

/* Intro split section between hero and grid */
#intro-split {
    background: #fff;
    padding: 0;
    text-align: left;
}

#intro-split .intro-band-image,
#intro-split-secondary .intro-band-image,
#intro-split-secondary-top .intro-band-image {
    width: 105%;
    height: clamp(378px, 49.4vw, 639px);
}

#intro-split-secondary .intro-band,
#intro-split-secondary-top .intro-band {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    margin-top: -2cm;
}

#intro-split-secondary .intro-band-text,
#intro-split-secondary-top .intro-band-text {
    padding-left: clamp(24px, 4vw, 56px);
}

#certifications-strip,
#brands-strip {
    background: #ffffff;
    padding: clamp(22px, 4vw, 40px) 0;
}

#certifications-strip .intro-certifications,
#brands-strip .intro-certifications {
    padding: 18px 20px;
    background: #ffffff;
}

#certifications-strip .intro-certifications-label,
#brands-strip .intro-certifications-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.735rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

#certifications-strip .intro-certifications-grid,
#brands-strip .intro-certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

#certifications-strip .intro-certification-card,
#brands-strip .intro-certification-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    background: #ffffff;
}

#certifications-strip .intro-certification-card img,
#brands-strip .intro-certification-card img {
    width: clamp(80px, 10vw, 140px);
    height: auto;
    display: block;
}

/* Home brands strip: heading and card height sizing */
#brands-strip .intro-certifications-label {
    font-size: calc(0.735rem * 1.1);
}

#brands-strip .intro-certification-card {
    min-height: calc(86px * 1.1);
}

#brands-strip .intro-certification-card img {
    width: clamp(88px, 11vw, 154px);
}

#brands-strip .intro-certifications-grid .intro-certification-card:nth-child(2) img {
    width: clamp(114px, 14.3vw, 198px);
}

@media (max-width: 780px) {
    #brands-strip .intro-certifications-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    #brands-strip .intro-certification-card {
        min-height: 72px;
    }

    #brands-strip .intro-certification-card img {
        width: clamp(66px, 22.92vw, 106.5px);
        max-width: 100%;
    }

    #brands-strip .intro-certifications-grid .intro-certification-card:nth-child(2) img {
        width: clamp(81.04px, 26.74vw, 122.71px);
    }
}

.intro-image-cta {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.intro-image-cta::after {
    content: none;
}

.intro-image-cta:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.intro-text-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    margin: 6px 0 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.intro-text-cta::after {
    content: none;
}

.intro-text-cta:hover {
    transform: translateY(-2px);
    color: #111111;
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.intro-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 70px);
    min-height: 48vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(28px, 6vw, 70px) 0 clamp(28px, 6vw, 70px) clamp(20px, 9vw, 120px);
}

.intro-band-reverse {
    padding: clamp(28px, 6vw, 70px) clamp(20px, 9vw, 120px) clamp(28px, 6vw, 70px) 0;
}

.intro-band-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
}

.intro-band-text .intro-kicker,
.intro-band-text .intro-title,
.intro-band-text .intro-text {
    text-align: left;
}

.intro-slide-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 14px;
}

.intro-slide-label {
    display: inline-flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    background: transparent;
    appearance: none;
    border: 0;
    padding: 4px 2px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.intro-slide-label::after {
    content: '|';
    margin-left: 12px;
    color: rgba(0, 0, 0, 0.35);
}

.intro-slide-label:last-child::after {
    content: '';
    margin: 0;
}

.intro-slide-label.is-active {
    color: #000000;
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.intro-secondary-controls {
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.intro-band-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: clamp(468px, 61.2vw, 792px);
    align-self: center;
    justify-self: end;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.16);
}

.intro-band-reverse .intro-band-image {
    justify-self: start;
}

.intro-band-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(0, 0, 0, 0.2), transparent 40%, rgba(0, 0, 0, 0.35));
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

.intro-band-image img,
.intro-band-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-band-image-inner {
    transform: scale(1.03);
    transition: filter 0.6s ease;
    will-change: transform;
}

.intro-band:hover .intro-band-image-inner {
    filter: saturate(1.05) contrast(1.05);
}



.intro-slider {
    position: relative;
}

.intro-slide {
    display: none;
}

.intro-slide.is-active {
    display: block;
}

.intro-slider-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 clamp(22px, 3vw, 34px) 22px;
    justify-content: flex-start;
}

.intro-slider-dots {
    display: flex;
    gap: 10px;
}

.intro-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, width 0.25s ease;
}

.intro-slider-dot.is-active {
    background: #000;
    width: 18px;
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.intro-slider-timer {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.intro-slider-timer svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.intro-slider-track {
    fill: none;
    stroke: rgba(0, 0, 0, 0.15);
    stroke-width: 2;
}

.intro-slider-progress {
    fill: none;
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 94.2;
    stroke-dashoffset: 94.2;
}

.intro-slider-progress.is-running {
    animation: introSliderProgress var(--intro-slider-duration, 25s) linear forwards;
}

.intro-slider-seconds {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: 0.02em;
}

.intro-secondary-countdown {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
    letter-spacing: 0.02em;
}

@keyframes introSliderProgress {
    from {
        stroke-dashoffset: 94.2;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.intro-copy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 40px);
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.intro-copy-text {
    text-align: left;
    padding: clamp(22px, 3vw, 34px);
}

.intro-copy-media {
    width: 100%;
    height: 100%;
    min-height: clamp(320px, 38vw, 520px);
    overflow: hidden;
}

.intro-copy-card::before {
    content: none;
}

.intro-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 120%;
    background: var(--accent-color);
    opacity: 0.9;
    z-index: 1;
}

.intro-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    position: relative;
    z-index: 1;
}

.intro-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    margin: 14px 0 12px;
    color: #000;
    position: relative;
    z-index: 1;
}

.intro-parallax-image {
    width: 100%;
    height: 108%;
    object-fit: cover;
    object-position: center;
}

.intro-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.78);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 28px);
    margin-top: 24px;
    align-items: center;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.intro-stat-circle {
    width: clamp(90px, 10vw, 120px);
    height: clamp(90px, 10vw, 120px);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    display: grid;
    place-items: center;
    background: conic-gradient(var(--accent-color) var(--stat-progress, 0deg), rgba(0, 0, 0, 0.08) 0);
    position: relative;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.intro-stat-circle::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 0;
}

.intro-stat-value {
    font-size: clamp(1.25rem, 2.6vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #000;
    position: relative;
    z-index: 1;
}

.intro-stat-label {
    margin-top: 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
    text-align: left;
}

.intro-stat-circle.is-complete {
    animation: statPulse 520ms ease;
}

@keyframes statPulse {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

.intro-visual {
    position: relative;
    height: clamp(460px, 68vh, 760px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.15);
    margin-left: clamp(-18px, -4vw, -60px);
}

.intro-visual-image {
    position: absolute;
    top: -6%;
    left: 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center;
    transform: translateY(0);
    will-change: transform;
}





/* Text bridge between hero and services grid */
.section-bridge {
    background: var(--secondary-color);
    padding: 12px 0 8px;
    text-align: left;
}

.services-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.735rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
    padding: 8px 0 4px;
}

.services-swipe-card {
    border-top: 0;
    border-bottom: 0;
    padding-top: 12px;
}

.services-swipe-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 8px 0 4px;
}

.section-bridge .container {
    overflow: visible;
    margin-left: 0;
    padding-left: 2cm;
}



.services-bridge {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.services-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
    position: relative;
    padding-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.services-arrow {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: currentColor;
    opacity: 0.7;
    position: relative;
}

.services-arrow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.services-label::after {
    content: '';
    display: block;
    width: 54px;
    height: 2px;
    background: var(--accent-color);
    margin: 8px auto 0;
    opacity: 0.9;
}


.services-toggle {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.services-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    display: none;
    background: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    padding: 12px;
    min-width: 240px;
    z-index: 20;
    gap: 8px;
}

.services-menu.is-open {
    display: grid;
    grid-template-columns: 1fr;
}

.service-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    color: var(--primary-color);
}

.service-item:hover {
    background: var(--light-gray);
    transform: translateY(-1px);
}

.service-thumb {
    width: 52px;
    height: 52px;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.service-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-thumb-drywall {
    background-image: linear-gradient(135deg, #dfe4ea, #c9d1d9);
}

.service-thumb-metal {
    background-image: linear-gradient(135deg, #cfd9df, #e2ebf0);
}

.service-thumb-patching {
    background-image: url('../images/drywall-picture.avif');
}

.service-thumb-flooring {
    background-image: linear-gradient(135deg, #d3b18a, #b68c63);
}

.section-bridge h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* image-grid.css */
#image-grid,
#services-grid {
    padding: 0;
    margin-top: 32px;
    background: var(--secondary-color);
}

.grid-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 0 clamp(40px, 12vw, 160px) 24px 0.5cm;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(0, 0, 0, 0.6) transparent;
    scrollbar-width: thin;
    scrollbar-gutter: stable both-edges;
}

.grid-container.is-centered {
    justify-content: center;
    overflow-x: hidden;
    padding-left: clamp(24px, 4vw, 56px);
    padding-right: clamp(24px, 4vw, 56px);
    scroll-snap-type: none;
}

.grid-container.is-centered::-webkit-scrollbar {
    display: none;
}

.grid-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 clamp(280px, 36vw, 460px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    perspective: 1000px;
    transition: transform 0.35s ease;
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    border: 1px solid transparent;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
    transition: box-shadow 0.35s ease, filter 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform, box-shadow, filter;
}

.grid-item[data-title="General Renovation"] {
    left: -1%;
    width: 101%;
}

.grid-item-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.grid-item::after {
    content: none;
}

.grid-card:hover {
    transform: translateY(-4px);
}

.grid-card:hover .grid-item {
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
    filter: saturate(1.08) contrast(1.05);
}

.grid-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: #000;
}

.grid-info p {
    margin: 0 0 10px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
}

.grid-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.grid-link::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.grid-link::after {
    content: none;
}

.grid-link:hover {
    color: var(--accent-color);
    transform: translateX(2px);
}

.grid-container::-webkit-scrollbar {
    height: 6px;
}

.grid-container::-webkit-scrollbar-track {
    background: transparent;
}

.grid-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 999px;
}

.grid-card:hover .grid-link::before {
    transform: scaleX(1);
}

.grid-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 14px 0 28px;
}

.grid-pagination.is-hidden {
    display: none;
}

.grid-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.grid-nav {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #000;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.grid-nav:hover {
    transform: translateY(-1px);
}

.grid-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.grid-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.grid-dot.is-active {
    background: #000;
    transform: scale(1.35);
}

@media (max-width: 780px) {
    #image-grid .grid-container,
    #services-grid .grid-container {
        align-items: flex-start;
    }

    #image-grid .grid-item,
    #services-grid .grid-item {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* grid-effects.css */
.grid-item span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.grid-item:hover span {
    transform: translateY(-4px);
    opacity: 0.95;
}

/* Subtle zoom effect on image without changing container size */
.grid-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.8s ease, filter 0.8s ease;
    z-index: 0;
    pointer-events: none;
}

.grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.grid-item:hover::before {
    transform: scale(1.06);
}

.grid-card:hover .grid-item::after {
    opacity: 0.22;
}

/* services.css */
#services-hero {
    margin-top: 90px;
    padding: 40px 0;
    text-align: center;
}

#services-hero p {
    max-width: 600px;
    margin: 10px auto 0;
    color: rgba(0, 0, 0, 0.65);
}

#services-list {
    padding: 30px 0 60px;
    background: var(--secondary-color);
}

.service-stack {
    display: grid;
    gap: 18px;
}

.service-wide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    scroll-margin-top: 120px;
}

.service-wide:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.service-visual {
    position: relative;
    border-radius: 10px;
    min-height: 200px;
    background: repeating-linear-gradient(
        45deg,
        #e8e8e8,
        #e8e8e8 10px,
        #f4f4f4 10px,
        #f4f4f4 20px
    );
    display: grid;
    place-items: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-visual span {
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
}

.service-content h3 {
    margin-bottom: 6px;
    font-size: 1.25rem;
    color: #111;
}

.service-content p {
    margin: 0;
    color: rgba(0, 0, 0, 0.65);
    font-size: 1rem;
    line-height: 1.6;
}

.service-wide:nth-child(odd) {
    background: #fefefe;
}



@media (min-width: 900px) {
    .service-wide {
        grid-template-columns: 1.1fr 1.4fr;
        align-items: center;
    }
}

/* projects.css */

.before-after {
    padding: 40px 0 80px;
}

.before-after + .before-after {
    padding-top: 0;
}

.before-after .section-intro {
    max-width: 760px;
    margin: 0 auto 30px;
}

.ba-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ba-panel {
    background: #fff;
    border-radius: 0;
    padding: 20px;
    border: 1px solid #eee;
}

.ba-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

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

.ba-tile {
    aspect-ratio: 4 / 3;
    border-radius: 0;
    background: #f9f9f9;
    border: 1px solid #ddd;
    display: grid;
    place-items: center;
    font-weight: 600;
    color: #777;
}



.project-timeline {
    padding: 40px 0 90px;
    background: #f7f6f2;
}

.project-timeline-header {
    max-width: 640px;
    margin: 0 0 40px;
}

.project-timeline-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 12px;
}

.project-timeline-header p {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
}

.timeline {
    display: grid;
    gap: 28px;
}

.timeline-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.timeline-step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.timeline-meta h3 {
    margin: 8px 0 8px;
    font-size: 1.4rem;
}

.timeline-meta p {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
}

.timeline-date {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.timeline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

/* footer.css */
footer {
    background: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 1rem 0;
    margin-top: 30px;
    border-top: 1px solid #ccc;
}

footer p {
    margin: 0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-content h4 {
    font-size: 1.05rem;
    font-weight: normal;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-content h4:hover {
    color: var(--accent-color);
}

/* footer-cta.css */
.footer-cta {
    background: linear-gradient(120deg, #f0e6d2, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 23px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-cta::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -40%;
    width: 60%;
    height: 140%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
    z-index: 0;
}

.footer-cta > * {
    position: relative;
    z-index: 1;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.footer-cta:hover::after {
    transform: translateX(160%);
}

.footer-cta-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-cta-row .footer-cta {
    flex: 3;
}

.footer-brand {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-brand img {
    width: 194px;
    height: 194px;
    display: block;
}

@media (max-width: 900px) {
    footer .container {
        overflow: visible;
    }

    .footer-cta-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-cta-row .footer-cta {
        flex: 1;
        width: 100%;
        padding: 17px 16px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-cta p {
        font-size: 0.84rem;
    }

    .footer-brand,
    .footer-cta {
        max-width: 100%;
    }
}

.footer-brand:hover {
    transform: translateY(-2px);
}

.footer-cta p {
    margin: 0;
    font-size: 1.05rem;
}

.footer-cta .btn {
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.2s ease;
}

.footer-cta .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.footer-cta .btn:hover {
    transform: translateY(-1px);
}

.footer-cta .btn:hover::after {
    transform: translateX(120%);
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
    .footer-cta-row {
        display: flex;
        flex-direction: column !important;
        align-items: stretch;
        gap: 12px;
    }

    .footer-cta-row .footer-cta,
    .footer-cta-row .footer-brand {
        width: 100% !important;
    }

    .footer-cta-row .footer-cta {
        padding: 15px 14px;
    }

    .footer-brand img {
        width: min(67.8vw, 155px);
        height: auto;
    }

    .footer-cta p {
        font-size: 0.82rem;
    }
}

/* lightbox.css */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-dialog {
    background: #fff;
    color: var(--primary-color);
    width: min(900px, 92vw);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-image {
    width: 100%;
    height: min(60vh, 520px);
    object-fit: cover;
    display: block;
}

.lightbox-content {
    padding: 20px 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lightbox-title {
    font-size: 1.6rem;
    margin: 0;
}

.lightbox-close {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* page.css */
.page-hero {
    margin-top: 80px;
    padding-top: 20px;
}

body.has-fixed-header {
    --fixed-header-offset: 88px;
    padding-top: var(--fixed-header-offset);
}

body.has-fixed-header .page-hero {
    margin-top: 0;
}

body.has-fixed-header #services-hero {
    margin-top: 0;
}

body.contact-page.has-fixed-header {
    padding-top: 0;
}

body.contact-page.has-fixed-header .page-hero {
    margin-top: 0;
}

.drywall-gallery {
    padding: 0;
    margin-top: clamp(24px, 4vw, 48px);
}

.drywall-image-grid {
    margin-top: 1cm;
    padding-top: 0;
}

.drywall-next-phase {
    background: #ffffff;
    padding-top: 0;
    padding-bottom: 0;
}

.drywall-next-phase .intro-band {
    background: #ffffff;
    margin-top: 0;
}

body.drywall-page #intro-split-secondary .intro-band,
body.flooring-page #intro-split-secondary .intro-band,
body.flooring-page #intro-split-secondary-top .intro-band,
body.metal-framing-page .tile-washroom-renovation-section .intro-band {
    margin-top: 0;
}

body.drywall-page #intro-split-secondary .intro-band-image,
body.flooring-page #intro-split-secondary .intro-band-image,
body.flooring-page #intro-split-secondary-top .intro-band-image,
body.metal-framing-page .tile-washroom-renovation-section .intro-band-image {
    width: 100%;
}

body.drywall-page #intro-split-secondary .intro-band-text,
body.flooring-page #intro-split-secondary .intro-band-text,
body.flooring-page #intro-split-secondary-top .intro-band-text,
body.metal-framing-page .tile-washroom-renovation-section .intro-band-text {
    position: relative;
    z-index: 1;
}

body.flooring-page #intro-split-secondary,
body.flooring-page #intro-split-secondary-top,
body.metal-framing-page .tile-washroom-renovation-section,
body.drywall-page #intro-split-secondary {
    background: #ffffff;
}

body.flooring-page #intro-split-secondary .intro-band,
body.flooring-page #intro-split-secondary-top .intro-band,
body.metal-framing-page .tile-washroom-renovation-section .intro-band,
body.drywall-page #intro-split-secondary .intro-band {
    background: #ffffff;
}

body.contact-page header.header-dark {
    position: relative;
    z-index: 20;
    background-color: #111111;
    color: #ffffff;
    border-bottom-color: #111111;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

body.contact-page header.header-dark h1,
body.contact-page header.header-dark h1 a,
body.contact-page header.header-dark nav ul li a {
    color: #ffffff;
}

body.contact-page header.header-dark:hover,
body.contact-page header.header-dark.is-scrolled,
body.contact-page header.header-dark.is-menu-open {
    background-color: #111111;
    border-bottom-color: #111111;
}

body.contact-page header.header-dark:hover h1,
body.contact-page header.header-dark:hover h1 a,
body.contact-page header.header-dark:hover nav ul li a,
body.contact-page header.header-dark.is-scrolled h1,
body.contact-page header.header-dark.is-scrolled h1 a,
body.contact-page header.header-dark.is-scrolled nav ul li a,
body.contact-page header.header-dark.is-menu-open h1,
body.contact-page header.header-dark.is-menu-open h1 a,
body.contact-page header.header-dark.is-menu-open nav ul li a {
    color: #ffffff;
}

body.contact-page header.header-dark .header-logo-default,
body.contact-page header.header-dark:hover .header-logo-default,
body.contact-page header.header-dark.is-scrolled .header-logo-default,
body.contact-page header.header-dark.is-menu-open .header-logo-default {
    display: block;
}

body.contact-page header.header-dark .header-logo-hover,
body.contact-page header.header-dark:hover .header-logo-hover,
body.contact-page header.header-dark.is-scrolled .header-logo-hover,
body.contact-page header.header-dark.is-menu-open .header-logo-hover {
    display: none;
}

@media (max-width: 780px) {
    body.contact-page header.header-dark.is-menu-open nav ul > li,
    body.contact-page header.header-dark nav.is-open ul > li,
    body.contact-page header.header-dark nav[aria-hidden='false'] ul > li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    body.contact-page header.header-dark.is-menu-open nav ul li a,
    body.contact-page header.header-dark nav.is-open ul li a,
    body.contact-page header.header-dark nav[aria-hidden='false'] ul li a,
    body.contact-page header.header-dark.is-menu-open .services-nav-toggle,
    body.contact-page header.header-dark nav.is-open .services-nav-toggle,
    body.contact-page header.header-dark nav[aria-hidden='false'] .services-nav-toggle {
        color: var(--primary-color) !important;
    }

    body.contact-page header.header-dark.is-menu-open nav ul,
    body.contact-page header.header-dark nav.is-open ul,
    body.contact-page header.header-dark nav[aria-hidden='false'] ul {
        background: rgba(255, 255, 255, 0.96);
    }
}

body.home-page header.header-dark,
body.drywall-page header.header-dark,
body.flooring-page header.header-dark,
body.metal-framing-page header.header-dark,
body.project-page header.header-dark {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

body.home-page header.header-dark h1,
body.home-page header.header-dark h1 a,
body.home-page header.header-dark nav ul li a,
body.drywall-page header.header-dark h1,
body.drywall-page header.header-dark h1 a,
body.drywall-page header.header-dark nav ul li a,
body.flooring-page header.header-dark h1,
body.flooring-page header.header-dark h1 a,
body.flooring-page header.header-dark nav ul li a,
body.metal-framing-page header.header-dark h1,
body.metal-framing-page header.header-dark h1 a,
body.metal-framing-page header.header-dark nav ul li a,
body.project-page header.header-dark h1,
body.project-page header.header-dark h1 a,
body.project-page header.header-dark nav ul li a,
body.home-page header.header-dark .header-toggle,
body.home-page header.header-dark .services-nav-toggle,
body.drywall-page header.header-dark .header-toggle,
body.drywall-page header.header-dark .services-nav-toggle,
body.flooring-page header.header-dark .header-toggle,
body.flooring-page header.header-dark .services-nav-toggle,
body.metal-framing-page header.header-dark .header-toggle,
body.metal-framing-page header.header-dark .services-nav-toggle,
body.project-page header.header-dark .header-toggle,
body.project-page header.header-dark .services-nav-toggle {
    color: #ffffff;
}

body.home-page header.header-dark:hover,
body.home-page header.header-dark.is-scrolled,
body.home-page header.header-dark.is-menu-open,
body.drywall-page header.header-dark:hover,
body.drywall-page header.header-dark.is-scrolled,
body.drywall-page header.header-dark.is-menu-open,
body.flooring-page header.header-dark:hover,
body.flooring-page header.header-dark.is-scrolled,
body.flooring-page header.header-dark.is-menu-open,
body.metal-framing-page header.header-dark:hover,
body.metal-framing-page header.header-dark.is-scrolled,
body.metal-framing-page header.header-dark.is-menu-open,
body.project-page header.header-dark:hover,
body.project-page header.header-dark.is-scrolled,
body.project-page header.header-dark.is-menu-open {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: rgba(0, 0, 0, 0.08);
}

body.home-page header.header-dark:hover h1,
body.home-page header.header-dark:hover h1 a,
body.home-page header.header-dark:hover nav ul li a,
body.home-page header.header-dark.is-scrolled h1,
body.home-page header.header-dark.is-scrolled h1 a,
body.home-page header.header-dark.is-scrolled nav ul li a,
body.home-page header.header-dark.is-menu-open h1,
body.home-page header.header-dark.is-menu-open h1 a,
body.home-page header.header-dark.is-menu-open nav ul li a,
body.drywall-page header.header-dark:hover h1,
body.drywall-page header.header-dark:hover h1 a,
body.drywall-page header.header-dark:hover nav ul li a,
body.drywall-page header.header-dark.is-scrolled h1,
body.drywall-page header.header-dark.is-scrolled h1 a,
body.drywall-page header.header-dark.is-scrolled nav ul li a,
body.drywall-page header.header-dark.is-menu-open h1,
body.drywall-page header.header-dark.is-menu-open h1 a,
body.drywall-page header.header-dark.is-menu-open nav ul li a,
body.flooring-page header.header-dark:hover h1,
body.flooring-page header.header-dark:hover h1 a,
body.flooring-page header.header-dark:hover nav ul li a,
body.flooring-page header.header-dark.is-scrolled h1,
body.flooring-page header.header-dark.is-scrolled h1 a,
body.flooring-page header.header-dark.is-scrolled nav ul li a,
body.flooring-page header.header-dark.is-menu-open h1,
body.flooring-page header.header-dark.is-menu-open h1 a,
body.flooring-page header.header-dark.is-menu-open nav ul li a,
body.metal-framing-page header.header-dark:hover h1,
body.metal-framing-page header.header-dark:hover h1 a,
body.metal-framing-page header.header-dark:hover nav ul li a,
body.metal-framing-page header.header-dark.is-scrolled h1,
body.metal-framing-page header.header-dark.is-scrolled h1 a,
body.metal-framing-page header.header-dark.is-scrolled nav ul li a,
body.metal-framing-page header.header-dark.is-menu-open h1,
body.metal-framing-page header.header-dark.is-menu-open h1 a,
body.metal-framing-page header.header-dark.is-menu-open nav ul li a,
body.project-page header.header-dark:hover h1,
body.project-page header.header-dark:hover h1 a,
body.project-page header.header-dark:hover nav ul li a,
body.project-page header.header-dark.is-scrolled h1,
body.project-page header.header-dark.is-scrolled h1 a,
body.project-page header.header-dark.is-scrolled nav ul li a,
body.project-page header.header-dark.is-menu-open h1,
body.project-page header.header-dark.is-menu-open h1 a,
body.project-page header.header-dark.is-menu-open nav ul li a,
body.home-page header.header-dark:hover .header-toggle,
body.home-page header.header-dark.is-scrolled .header-toggle,
body.home-page header.header-dark.is-menu-open .header-toggle,
body.home-page header.header-dark:hover .services-nav-toggle,
body.home-page header.header-dark.is-scrolled .services-nav-toggle,
body.home-page header.header-dark.is-menu-open .services-nav-toggle,
body.drywall-page header.header-dark:hover .header-toggle,
body.drywall-page header.header-dark.is-scrolled .header-toggle,
body.drywall-page header.header-dark.is-menu-open .header-toggle,
body.drywall-page header.header-dark:hover .services-nav-toggle,
body.drywall-page header.header-dark.is-scrolled .services-nav-toggle,
body.drywall-page header.header-dark.is-menu-open .services-nav-toggle,
body.flooring-page header.header-dark:hover .header-toggle,
body.flooring-page header.header-dark.is-scrolled .header-toggle,
body.flooring-page header.header-dark.is-menu-open .header-toggle,
body.flooring-page header.header-dark:hover .services-nav-toggle,
body.flooring-page header.header-dark.is-scrolled .services-nav-toggle,
body.flooring-page header.header-dark.is-menu-open .services-nav-toggle,
body.metal-framing-page header.header-dark:hover .header-toggle,
body.metal-framing-page header.header-dark.is-scrolled .header-toggle,
body.metal-framing-page header.header-dark.is-menu-open .header-toggle,
body.metal-framing-page header.header-dark:hover .services-nav-toggle,
body.metal-framing-page header.header-dark.is-scrolled .services-nav-toggle,
body.metal-framing-page header.header-dark.is-menu-open .services-nav-toggle,
body.project-page header.header-dark:hover .header-toggle,
body.project-page header.header-dark.is-scrolled .header-toggle,
body.project-page header.header-dark.is-menu-open .header-toggle,
body.project-page header.header-dark:hover .services-nav-toggle,
body.project-page header.header-dark.is-scrolled .services-nav-toggle,
body.project-page header.header-dark.is-menu-open .services-nav-toggle {
    color: var(--primary-color);
}

body.flooring-page .drywall-gallery,
body.metal-framing-page .drywall-gallery {
    background: #ffffff;
}

body.drywall-page section {
    background: #ffffff;
}

body.drywall-page h2,
body.drywall-page h3,
body.flooring-page h2,
body.flooring-page h3,
body.metal-framing-page h2,
body.metal-framing-page h3 {
    font-weight: 700;
    font-size: 1.04em;
}

.drywall-carousel {
    padding: 0;
}

body.drywall-page .drywall-gallery {
    padding-top: 0;
    padding-bottom: 0;
}

body.drywall-page section + section {
    margin-top: 1cm;
}

.drywall-carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.drywall-carousel-viewport::-webkit-scrollbar {
    display: none;
}


.drywall-carousel-track {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    width: max-content;
}

.drywall-carousel-item {
    flex: 0 0 clamp(220px, 32vw, 380px);
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
    cursor: pointer;
}

.drywall-carousel-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

body.drywall-page .drywall-carousel-item,
body.flooring-page .drywall-carousel-item,
body.metal-framing-page .drywall-carousel-item {
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.drywall-page .drywall-carousel-item,
body.metal-framing-page .drywall-carousel-item {
    border-radius: 0;
}

body.drywall-page .drywall-carousel-item:hover,
body.flooring-page .drywall-carousel-item:hover,
body.metal-framing-page .drywall-carousel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
}

body.drywall-page .drywall-carousel-item img,
body.flooring-page .drywall-carousel-item img,
body.metal-framing-page .drywall-carousel-item img {
    transition: filter 0.4s ease;
}

body.drywall-page .drywall-carousel-item:hover img,
body.flooring-page .drywall-carousel-item:hover img,
body.metal-framing-page .drywall-carousel-item:hover img {
    filter: saturate(1.05) contrast(1.04);
}

body.project-page #intro-split-2 .intro-band {
    padding-left: 0;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

body.project-page #intro-split-1 .intro-band {
    padding-bottom: 0;
}

body.project-page #intro-split-2 .intro-band {
    padding-top: 0;
}

body.project-page #intro-split-2 .intro-band-image {
    margin-left: calc(50% - 50vw);
    margin-right: -3cm;
    width: 129%;
    transform: translateX(-2%);
}


body.project-page section {
    padding-top: 0;
    padding-bottom: 0;
    background: #ffffff;
}

body.project-page section + section {
    margin-top: 0.8cm;
}

body.project-page #intro-split-1 {
    background: #ffffff;
}

body.project-page #intro-split-2 {
    background: #ffffff;
}

body.project-page .project-brief {
    padding: clamp(22px, 4vw, 48px) 0 clamp(30px, 5vw, 56px);
    text-align: left;
}

body.project-page .project-brief-spaced {
    margin-top: 1cm;
    margin-bottom: 1cm;
}

body.project-page .project-brief .container {
    max-width: 920px;
}

body.project-page .project-brief-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

body.project-page .project-brief-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    margin: 12px 0 10px;
    color: #111111;
}

body.project-page .project-brief-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

body.flooring-page .project-brief {
    background: #ffffff;
    padding: clamp(18px, 3vw, 34px) 0 clamp(24px, 4vw, 40px);
    text-align: left;
}

body.flooring-page .project-brief-spaced {
    margin-top: 0;
    margin-bottom: clamp(16px, 2.5vw, 30px);
}

body.flooring-page .project-brief .container {
    max-width: 1180px;
    position: relative;
    padding-left: clamp(26px, 4.2vw, 40px);
    padding-right: clamp(16px, 3.5vw, 28px);
}

body.flooring-page .project-brief .container::before {
    content: '';
    position: absolute;
    left: clamp(16px, 3vw, 28px);
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 100%);
}

body.flooring-page .project-brief-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
}

body.flooring-page .project-brief-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.32rem, 2.2vw, 1.82rem);
    line-height: 1.24;
    margin: 10px 0 9px;
    color: #111111;
    max-width: 28ch;
}

body.flooring-page .project-brief-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    color: rgba(17, 17, 17, 0.74);
    margin: 0;
    line-height: 1.56;
    max-width: 70ch;
}

body.drywall-page .project-brief,
body.metal-framing-page .project-brief,
body.home-page .project-brief {
    background: transparent;
    padding: clamp(18px, 3vw, 30px) 0 0;
    text-align: center;
}

body.drywall-page .project-brief {
    padding: clamp(24px, 3.6vw, 42px) 0 clamp(8px, 1.8vw, 18px);
}

body.metal-framing-page .project-brief {
    padding: clamp(24px, 3.6vw, 42px) 0 clamp(8px, 1.8vw, 18px);
}

body.drywall-page .project-brief-centered,
body.metal-framing-page .project-brief-centered,
body.home-page .project-brief-centered {
    margin-top: clamp(14px, 2.4vw, 28px);
}

body.drywall-page .project-brief-centered {
    margin-top: clamp(20px, 3.2vw, 38px);
    margin-bottom: clamp(14px, 2.4vw, 30px);
}

body.metal-framing-page .project-brief-centered {
    margin-top: clamp(20px, 3.2vw, 38px);
    margin-bottom: clamp(14px, 2.4vw, 30px);
}

body.drywall-page #intro-split,
body.drywall-page #intro-split-secondary {
    margin-top: clamp(16px, 2.6vw, 28px);
}

body.metal-framing-page #intro-split,
body.metal-framing-page #intro-split-secondary {
    margin-top: clamp(16px, 2.6vw, 28px);
}

body.metal-framing-page #intro-split-secondary {
    margin-top: clamp(-12px, -0.9vw, -6px);
}

body.home-page .project-brief-centered {
    margin-top: calc(clamp(14px, 2.4vw, 28px) - 1cm);
}

body.flooring-page .project-brief {
    padding: clamp(24px, 3.6vw, 42px) 0 clamp(30px, 4.8vw, 52px);
}

body.flooring-page .project-brief-spaced {
    margin-bottom: clamp(24px, 3.6vw, 40px);
}

body.flooring-page #intro-split,
body.flooring-page #intro-split-secondary,
body.flooring-page #intro-split-secondary-top {
    margin-top: clamp(16px, 2.6vw, 30px);
}

body.drywall-page .project-brief-inner,
body.metal-framing-page .project-brief-inner,
body.home-page .project-brief-inner {
    width: min(100%, 860px);
    margin: 0 auto;
}

body.drywall-page .project-brief-kicker,
body.metal-framing-page .project-brief-kicker,
body.home-page .project-brief-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
}

body.drywall-page .project-brief-title,
body.metal-framing-page .project-brief-title,
body.home-page .project-brief-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.32rem, 2.2vw, 1.82rem);
    line-height: 1.24;
    margin: 10px auto 9px;
    color: #111111;
    max-width: 28ch;
}

body.metal-framing-page #intro-split .intro-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.32rem, 2.2vw, 1.82rem);
    line-height: 1.24;
    margin: 10px 0 9px;
    color: #111111;
    max-width: 28ch;
}

body.metal-framing-page #intro-split .intro-band-logo {
    display: block;
    width: clamp(64px, 7vw, 86px);
    height: auto;
    margin: 0 auto 12px;
}

body.metal-framing-page #intro-split .intro-band-text .intro-title,
body.metal-framing-page #intro-split .intro-band-text .intro-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.metal-framing-page #intro-split .intro-band-text .intro-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.58);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.metal-framing-page .tile-washroom-renovation-section .intro-band-text .intro-kicker,
body.metal-framing-page .tile-washroom-renovation-section .intro-band-text .intro-title,
body.metal-framing-page .tile-washroom-renovation-section .intro-band-text .intro-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.drywall-page #intro-split-secondary .intro-band-text .intro-kicker,
body.drywall-page #intro-split-secondary .intro-band-text .intro-title,
body.drywall-page #intro-split-secondary .intro-band-text .intro-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.drywall-page #intro-split-secondary .intro-band-text .intro-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.58);
}

@media (min-width: 781px) {
    body.metal-framing-page #intro-split .intro-band-logo {
        margin-top: -1.4cm;
        margin-bottom: 22px;
    }
}

body.home-page .project-brief-title-long {
    max-width: 68ch;
    font-size: clamp(1.04rem, 1.75vw, 1.3rem);
    line-height: 1.5;
}

body.drywall-page .project-brief-text,
body.metal-framing-page .project-brief-text,
body.home-page .project-brief-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    color: rgba(17, 17, 17, 0.74);
    margin: 0 auto;
    line-height: 1.56;
    max-width: 70ch;
}

body.metal-framing-page .tile-selection-text {
    font-size: 1.04rem;
}

body.home-page .project-brief-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0.82rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    background: #111111;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

body.home-page .project-brief-cta:hover {
    background: #2b2b2b;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

body.home-page #image-grid {
    margin-top: 1cm;
}

body.home-page #tile-showcase-home,
body.home-page #home-washroom-showcase {
    background: var(--secondary-color);
}

body.home-page #home-washroom-showcase .drywall-slot {
    transition: transform 0.34s ease;
}

body.home-page #home-washroom-showcase .drywall-media {
    position: relative;
    border-radius: 0;
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
    transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
    will-change: transform;
}

body.home-page #home-washroom-showcase .drywall-media img {
    transition: transform 0.48s ease, filter 0.36s ease;
}

body.home-page #home-washroom-showcase .drywall-slot:hover {
    transform: translateY(-4px);
}

body.home-page #home-washroom-showcase .drywall-slot:hover .drywall-media {
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(17, 17, 17, 0.2);
}

body.home-page #home-washroom-showcase .drywall-slot:hover .drywall-media img {
    transform: scale(1.028);
    filter: saturate(1.03) contrast(1.02);
}

body.home-page .home-mobile-opening {
    display: none;
}

body.home-page #intro-split-secondary,
body.home-page #intro-split-secondary .intro-band {
    background: var(--secondary-color);
}

body.home-page #intro-split .intro-band-image {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

body.home-page #intro-split .intro-band-image::after {
    background: linear-gradient(140deg, rgba(0, 0, 0, 0.08), transparent 42%, rgba(0, 0, 0, 0.14));
    opacity: 0.42;
}

body.home-page #intro-split-secondary .intro-band-image-mobile-only {
    display: none;
    box-shadow: none;
    background: transparent;
}

body.home-page #intro-split-secondary .intro-band-image-mobile-only::after {
    content: none;
}

body.home-page #intro-split-secondary .intro-band-image-mobile-only .intro-band-image-inner {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
    filter: none;
}

body.home-page #intro-split-secondary .intro-band-text .intro-kicker {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: rgba(17, 17, 17, 0.62);
}

body.home-page .services-section-title {
    margin-top: 1cm;
}

body.flooring-page #intro-split .flooring-mini-stack {
    margin-top: 2cm;
    width: min(100%, 453px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1cm;
    margin-left: auto;
    margin-right: auto;
}

body.flooring-page #intro-split .flooring-mini-stack img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    filter: saturate(0.96) contrast(1.02);
    transition: box-shadow 0.35s ease, filter 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

body.flooring-page #intro-split .flooring-mini-stack img:nth-child(1) {
    border-color: rgba(0, 0, 0, 0.16);
}

body.flooring-page #intro-split .flooring-mini-stack img:nth-child(2) {
    border-color: rgba(182, 140, 99, 0.42);
}

body.flooring-page #intro-split .flooring-mini-stack img:hover {
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
    filter: saturate(1.08) contrast(1.06);
}

body.flooring-page .flooring-before-after {
    background: #ffffff;
    padding: 0 0 clamp(24px, 4vw, 42px);
}

body.flooring-page .flooring-before-after .container {
    max-width: 1180px;
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
}

body.flooring-page .flooring-before-after .ba-wrap {
    position: relative;
    gap: clamp(12px, 2vw, 22px);
    align-items: stretch;
}

body.flooring-page .flooring-before-after .ba-wrap::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    width: 1px;
    transform: translateX(-0.5px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

body.flooring-page .flooring-before-after .ba-panel {
    margin: 0;
    padding: 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.flooring-page .flooring-before-after .ba-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

body.flooring-page .flooring-before-after .ba-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 46%);
    pointer-events: none;
}

body.flooring-page .flooring-before-after .ba-panel-after {
    border-color: rgba(182, 140, 99, 0.5);
}

body.flooring-page .flooring-before-after .ba-panel h3 {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.flooring-page .flooring-before-after .ba-panel-after h3 {
    background: rgba(182, 140, 99, 0.9);
}

body.flooring-page .flooring-before-after .ba-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease;
}

body.flooring-page .flooring-before-after .ba-panel:hover img {
    transform: scale(1.035);
}

body.metal-framing-page .tile-before-after {
    background: #ffffff;
    padding: clamp(20px, 3.2vw, 36px) 0 clamp(36px, 5vw, 56px);
}

body.metal-framing-page .tile-before-after .container {
    max-width: 1180px;
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
}

body.metal-framing-page .tile-before-after .ba-wrap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    align-items: stretch;
}

body.metal-framing-page .tile-before-after .ba-wrap::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    width: 1px;
    transform: translateX(-0.5px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

body.metal-framing-page .tile-before-after .ba-panel {
    margin: 0;
    padding: 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.metal-framing-page .tile-before-after .ba-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

body.metal-framing-page .tile-before-after .ba-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 46%);
    pointer-events: none;
}

body.metal-framing-page .tile-before-after .ba-panel h3 {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.metal-framing-page .tile-before-after .ba-panel-after h3 {
    background: rgba(182, 140, 99, 0.9);
}

body.metal-framing-page .tile-before-after .ba-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease;
}

body.metal-framing-page .tile-before-after .ba-panel:hover img {
    transform: scale(1.035);
}

body.metal-framing-page .painting-before-after-showcase {
    background: #ffffff;
    padding: clamp(22px, 4vw, 44px) 0 clamp(40px, 6vw, 76px);
    text-align: left;
}

body.metal-framing-page .painting-before-after-shell {
    max-width: 1180px;
    padding-left: clamp(10px, 2vw, 20px);
    padding-right: clamp(16px, 3vw, 28px);
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(18px, 2.6vw, 38px);
    align-items: center;
    overflow: visible;
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-shell {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

body.metal-framing-page .painting-before-after-copy {
    max-width: 26rem;
    margin-left: -18px;
}

body.metal-framing-page .painting-before-after-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.58);
}

body.metal-framing-page .painting-before-after-showcase h2 {
    margin: 12px 0 16px;
    padding-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3.3vw, 3rem);
    line-height: 1.08;
    color: #111111;
    max-width: 11ch;
}

body.metal-framing-page .painting-before-after-showcase h2::after {
    display: none;
}

body.metal-framing-page .painting-before-after-text {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    line-height: 1.68;
    color: rgba(17, 17, 17, 0.74);
    max-width: 56ch;
}

body.metal-framing-page .painting-before-after-text + .painting-before-after-text {
    margin-top: 14px;
}

body.metal-framing-page .painting-before-after-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 20px);
    align-items: start;
    width: 118%;
    justify-self: start;
    transform: translateX(clamp(12px, 2vw, 28px));
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-copy {
    order: 2;
    margin-left: 0;
    margin-right: 0;
    justify-self: end;
    text-align: center;
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-gallery {
    order: 1;
    width: 110%;
    justify-self: start;
    transform: translateX(clamp(-88px, -5vw, -56px));
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-kicker,
body.metal-framing-page .painting-before-after-showcase-reverse h2,
body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.metal-framing-page .painting-before-after-frame {
    margin: 0;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    will-change: transform;
}

body.metal-framing-page .painting-before-after-frame[data-reveal] {
    clip-path: inset(0);
    filter: none;
}

body.metal-framing-page .painting-before-after-frame-before[data-reveal] {
    --reveal-offset: 36px;
}

body.metal-framing-page .painting-before-after-frame-after[data-reveal] {
    --reveal-offset: 54px;
}

body.metal-framing-page .painting-before-after-frame img {
    width: 100%;
    aspect-ratio: 5 / 6;
    display: block;
    object-fit: cover;
    transform: scale(1.06) translateY(22px);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.metal-framing-page .painting-before-after-frame-before img {
    transform: scale(1.06) translateY(18px);
}

body.metal-framing-page .painting-before-after-frame-after img {
    transform: scale(1.06) translateY(34px);
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame-before img {
    transform: scale(1.11) translateY(18px);
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame-after img {
    transform: scale(1.11) translateY(34px);
}

body.metal-framing-page .painting-before-after-frame.is-visible img {
    transform: scale(1.06) translateY(0);
}

body.metal-framing-page .painting-before-after-frame:hover img {
    transform: scale(1.09) translateY(0);
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame.is-visible img {
    transform: scale(1.11) translateY(0);
}

body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame:hover img {
    transform: scale(1.14) translateY(0);
}

body.metal-framing-page .painting-before-after-frame-after {
    margin-top: 0;
}

body.metal-framing-page .painting-color-finishing-band {
    padding: clamp(4px, 1vw, 10px) 0 clamp(18px, 3vw, 34px);
    background: #ffffff;
}

body.metal-framing-page .painting-color-finishing-layout {
    display: block;
}

body.metal-framing-page .painting-color-finishing-frame {
    margin: 0 auto;
    max-width: min(100%, 860px);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #f6f1e8;
}

body.metal-framing-page .painting-color-finishing-frame img {
    display: block;
    width: 100%;
    height: auto;
}

body.metal-framing-page .painting-color-finishing-copy {
    max-width: 32rem;
    margin: 14px auto 0;
    text-align: center;
}

body.metal-framing-page .painting-color-finishing-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.58);
}

body.metal-framing-page .painting-color-finishing-copy p {
    margin: 10px 0 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.68;
    color: rgba(17, 17, 17, 0.74);
}

@media (min-width: 901px) {
    body.metal-framing-page .painting-color-finishing-layout {
        max-width: 1040px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.52fr);
        gap: clamp(18px, 3vw, 38px);
        align-items: center;
    }

    body.metal-framing-page .painting-color-finishing-frame {
        margin: 0;
        max-width: 720px;
        justify-self: start;
    }

    body.metal-framing-page .painting-color-finishing-copy {
        margin: 0;
        max-width: 20rem;
        text-align: left;
    }
}

body.metal-framing-page .painting-before-after-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.metal-framing-page .painting-before-after-frame-after .painting-before-after-label {
    background: rgba(182, 140, 99, 0.9);
}

body.metal-framing-page .painting-before-after-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 280ms ease;
    pointer-events: none;
}

body.metal-framing-page .painting-before-after-frame:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

body.metal-framing-page .painting-before-after-frame {
    background: #ffffff;
}

body.metal-framing-page .tile-bath-showcase {
    background: #ffffff;
    padding: clamp(52px, 6vw, 82px) 0 clamp(48px, 6vw, 76px);
    text-align: left;
}

body.metal-framing-page .tile-bath-shell {
    max-width: 1248px;
    margin-inline: auto;
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
    display: grid;
    grid-template-columns: minmax(0, 25.8rem) minmax(0, 49.2rem);
    gap: clamp(26px, 3.4vw, 42px);
    align-items: center;
    justify-content: center;
    overflow: visible;
}

body.metal-framing-page .tile-bath-copy {
    max-width: 27rem;
    position: relative;
    padding-left: 22px;
    justify-self: center;
}

body.metal-framing-page .tile-bath-copy::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.75), rgba(17, 17, 17, 0.14));
}

body.metal-framing-page .tile-bath-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.58);
}

body.metal-framing-page .tile-bath-showcase h2 {
    margin: 14px 0 18px;
    padding-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.6rem, 2.52vw, 2.4rem);
    line-height: 1.08;
    color: #111111;
    max-width: 12ch;
}

body.metal-framing-page .tile-bath-showcase h2::after {
    display: none;
}

body.metal-framing-page .tile-bath-text {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 1.62;
    color: rgba(17, 17, 17, 0.74);
    max-width: 42ch;
}

body.metal-framing-page .tile-bath-text + .tile-bath-text {
    margin-top: 17px;
}

body.metal-framing-page .tile-bath-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(17px, 2.4vw, 26px);
    align-items: start;
    width: 100%;
    max-width: 49.2rem;
    justify-self: center;
    transform: none;
}

body.metal-framing-page .tile-bath-frame {
    margin: 0;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}

body.metal-framing-page .tile-bath-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 40%);
    pointer-events: none;
}

body.metal-framing-page .tile-bath-frame img {
    width: 100%;
    aspect-ratio: 0.78 / 1;
    display: block;
    object-fit: cover;
    transition: transform 420ms ease;
}

body.metal-framing-page .tile-bath-frame-primary img {
    object-position: 50% 42%;
}

body.metal-framing-page .tile-bath-frame-secondary img {
    object-position: 50% 38%;
}

body.metal-framing-page .tile-bath-frame:hover img {
    transform: scale(1.04);
}

body.metal-framing-page .tile-bath-frame-secondary {
    margin-top: 0;
}

body.metal-framing-page .tile-mobile-home-gallery {
    display: none;
}

body.metal-framing-page .tile-washroom-renovation-section .intro-band-image.tile-execution-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    height: clamp(378px, 49.4vw, 639px);
    overflow: visible;
    box-shadow: none;
    background: transparent;
}

body.metal-framing-page .tile-washroom-renovation-section .intro-band-image.tile-execution-gallery::after {
    display: none;
}

body.metal-framing-page .tile-execution-frame {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

body.metal-framing-page .tile-execution-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 320ms ease;
}

body.metal-framing-page .tile-execution-frame:hover img {
    transform: scale(1.03);
}

body.metal-framing-page .tile-washroom-renovation-section .intro-band-text {
    margin-top: clamp(26px, 3vw, 44px);
}

body.metal-framing-page .tile-duo-showcase {
    background: #ffffff;
    padding: clamp(44px, 5vw, 72px) 0 clamp(52px, 6vw, 84px);
    text-align: left;
}

body.metal-framing-page .tile-duo-shell {
    max-width: 1400px;
    margin-inline: auto;
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
    display: grid;
    grid-template-columns: minmax(0, 18.5rem) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: center;
}

body.metal-framing-page .tile-duo-copy {
    max-width: 18.5rem;
    position: relative;
    padding-left: 22px;
}

body.metal-framing-page .tile-duo-copy::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.12));
}

body.metal-framing-page .tile-duo-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.58);
}

body.metal-framing-page .tile-duo-showcase h2 {
    margin: 14px 0 16px;
    padding-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.58rem, 2.4vw, 2.34rem);
    line-height: 1.08;
    color: #111111;
    max-width: 12ch;
}

body.metal-framing-page .tile-duo-showcase h2::after {
    display: none;
}

body.metal-framing-page .tile-duo-text {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.62;
    color: rgba(17, 17, 17, 0.74);
    max-width: 38ch;
}

body.metal-framing-page .tile-duo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.6vw, 30px);
    align-items: stretch;
}

body.metal-framing-page .tile-duo-frame {
    margin: 0;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

body.metal-framing-page .tile-duo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 34%);
    pointer-events: none;
}

body.metal-framing-page .tile-duo-frame img {
    width: 100%;
    aspect-ratio: 1.08 / 1.16;
    display: block;
    object-fit: cover;
    transition: transform 420ms ease;
}

body.metal-framing-page .tile-duo-frame:hover img {
    transform: scale(1.035);
}

body.metal-framing-page .tile-bath-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 10px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    background: rgba(255, 255, 255, 0.86);
    color: #111111;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

body.metal-framing-page .tile-mobile-logo-bridge {
    display: none;
}

@media (max-width: 780px) {
    body.home-page #tile-showcase-home .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.home-page #tile-showcase-home .drywall-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "home-media-a"
            "home-media-c";
        gap: clamp(10px, 2.8vw, 14px);
    }

    body.home-page #tile-showcase-home .drywall-slot:nth-child(1) {
        grid-area: home-media-a;
    }

    body.home-page #tile-showcase-home .drywall-slot:nth-child(2) {
        display: none;
    }

    body.home-page #tile-showcase-home .drywall-slot:nth-child(3) {
        grid-area: home-media-c;
    }

    body.home-page #tile-showcase-home .drywall-slot:nth-child(1) .drywall-media,
    body.home-page #tile-showcase-home .drywall-slot:nth-child(3) .drywall-media {
        aspect-ratio: 16 / 8.4;
    }

    body.home-page #home-washroom-showcase .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.home-page #home-washroom-showcase .drywall-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(10px, 2.8vw, 14px);
    }

    body.home-page #home-washroom-showcase .drywall-media {
        aspect-ratio: 16 / 11;
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "hardwood-video hardwood-video"
            "hardwood-image-a hardwood-image-a";
        gap: clamp(10px, 2.8vw, 14px);
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-slot:nth-child(1) {
        display: none;
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-slot:nth-child(2) {
        grid-area: hardwood-video;
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-slot:nth-child(3) {
        grid-area: hardwood-image-a;
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-slot:nth-child(1) .drywall-media,
    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-slot:nth-child(3) .drywall-media {
        aspect-ratio: 16 / 8.4;
    }

    body.drywall-page #image-grid.hardwood-top-media-gallery .drywall-slot:nth-child(2) .drywall-media {
        aspect-ratio: 16 / 8.4;
    }

    body.drywall-page .hardwood-flooring-living-gallery .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.drywall-page .hardwood-flooring-living-gallery .drywall-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hardwood-living-first"
            "hardwood-living-main"
            "hardwood-living-secondary";
        gap: clamp(10px, 2.8vw, 14px);
    }

    body.drywall-page .hardwood-flooring-living-gallery .drywall-slot:nth-child(1) {
        display: flex;
        grid-area: hardwood-living-first;
    }

    body.drywall-page .hardwood-flooring-living-gallery .drywall-slot:nth-child(2) {
        grid-area: hardwood-living-main;
    }

    body.drywall-page .hardwood-flooring-living-gallery .drywall-slot:nth-child(3) {
        grid-area: hardwood-living-secondary;
    }

    body.drywall-page .hardwood-flooring-living-gallery .drywall-slot:nth-child(1) .drywall-media,
    body.drywall-page .hardwood-flooring-living-gallery .drywall-slot:nth-child(2) .drywall-media,
    body.drywall-page .hardwood-flooring-living-gallery .drywall-slot:nth-child(3) .drywall-media {
        aspect-ratio: 16 / 8.4;
    }

    body.metal-framing-page #image-grid.tile-top-media-gallery .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "tile-image-a"
            "tile-image-b";
        gap: clamp(10px, 2.8vw, 14px);
    }

    body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-slot:nth-child(1) {
        grid-area: tile-image-a;
    }

    body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-slot:nth-child(2) {
        grid-area: tile-image-b;
    }

    body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-slot:nth-child(3) {
        display: none;
    }

    body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-slot:nth-child(1) .drywall-media,
    body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-slot:nth-child(2) .drywall-media {
        aspect-ratio: 16 / 8.4;
    }

    body.home-page .home-mobile-opening {
        display: block;
        background: #ffffff;
        padding: clamp(34px, 8vw, 56px) 0 clamp(14px, 4vw, 26px);
    }

    body.home-page .home-mobile-opening .project-brief {
        padding: 0;
    }

    body.home-page .home-mobile-opening .project-brief-inner {
        width: min(100%, 29rem);
        margin: 0 auto;
        padding-top: 18px;
        padding-left: 18px;
        padding-right: 18px;
        position: relative;
    }

    body.home-page .home-mobile-opening .project-brief-inner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 44px;
        height: 1px;
        background: rgba(17, 17, 17, 0.22);
        transform: translateX(-50%);
    }

    body.home-page #tile-showcase-home .project-brief-centered {
        display: none;
    }

    body.home-page .project-brief {
        padding: clamp(24px, 4.2vw, 40px) 0 clamp(12px, 2.4vw, 24px);
    }

    body.home-page .project-brief-centered {
        margin-top: clamp(20px, 3.4vw, 36px);
        margin-bottom: clamp(14px, 2.8vw, 30px);
    }

    body.home-page #intro-split,
    body.home-page #intro-split-secondary,
    body.home-page #image-grid {
        margin-top: clamp(18px, 3vw, 32px);
    }

body.home-page #intro-split .intro-stats {
    align-items: start;
}

body.home-page #intro-split .intro-stat {
    align-items: center;
    justify-content: flex-start;
}

body.home-page #intro-split .intro-stat-label {
    text-align: center;
}

body.home-page #intro-split .intro-band-text .intro-kicker,
body.home-page #intro-split .intro-band-text .intro-title,
body.home-page #intro-split .intro-band-text .intro-text {
    text-align: center;
}

body.home-page #intro-split .intro-band-text {
    align-items: center;
}

body.home-page #intro-split-secondary .intro-band-text .intro-kicker,
body.home-page #intro-split-secondary .intro-band-text .intro-title,
body.home-page #intro-split-secondary .intro-band-text .intro-text {
    text-align: center;
}

@media (min-width: 901px) {
    body.home-page #intro-split-secondary .intro-band-text {
        align-items: center;
        justify-self: center;
        margin-inline: auto;
    }
}

body.home-page #intro-split-secondary .intro-band-image-mobile-only {
    display: block;
    margin-top: clamp(8px, 3vw, 14px);
}

body.home-page #image-grid .card {
    max-width: 300px;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(107, 114, 128, 0.22);
    overflow: hidden;
    gap: 0;
    flex: 0 0 min(300px, calc(100vw - 48px));
}

body.home-page #image-grid .card a {
    text-decoration: none;
}

body.home-page #image-grid .card > a {
    display: block;
}

body.home-page #image-grid .card .content {
    padding: 1.1rem;
}

body.home-page #image-grid .card .image {
    width: 100%;
    height: 150px;
    aspect-ratio: auto;
    object-fit: cover;
    background-color: rgb(239, 205, 255);
    border-radius: 0;
    box-shadow: none;
}

body.home-page #image-grid .card .title {
    display: block;
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin: 0;
}

body.home-page #image-grid .card .desc {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

body.home-page #image-grid .card .action {
    display: inline-flex;
    margin-top: 1rem;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    align-items: center;
    gap: 0.25rem;
    background-color: #2563eb;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: none;
    letter-spacing: 0;
}

body.home-page #image-grid .card .action::before {
    content: none;
}

body.home-page #image-grid .card .action::after {
    content: none;
}

body.home-page #image-grid .card .action span {
    transition: transform 0.3s ease;
}

body.home-page #image-grid .card .action:hover {
    color: #fff;
    transform: none;
}

body.home-page #image-grid .card .action:hover span {
    transform: translateX(4px);
}

@media (min-width: 901px) {
    body.home-page #image-grid .grid-container {
        justify-content: center;
        align-items: stretch;
        overflow-x: visible;
        padding: 0 clamp(32px, 5vw, 72px) 28px;
        scroll-snap-type: none;
        transform: translateX(18px);
    }

    body.home-page #image-grid .grid-card.card {
        flex: 0 0 300px;
        width: 300px;
    }

    body.home-page #image-grid .grid-pagination {
        display: none;
    }
}

body.metal-framing-page #intro-split .intro-band,
body.metal-framing-page .tile-washroom-renovation-section .intro-band {
    grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: auto;
        gap: 16px;
        padding: 24px 16px;
    }

    body.metal-framing-page #intro-split-secondary {
        margin-top: 16px;
        display: none;
    }

    body.metal-framing-page #intro-split .intro-band-image,
    body.metal-framing-page .tile-washroom-renovation-section .intro-band-image {
        width: 100%;
        height: clamp(240px, 62vw, 360px);
        justify-self: stretch;
        align-self: start;
        box-shadow: none;
        background: #ffffff;
    }

    body.metal-framing-page #intro-split .intro-band-image::after,
    body.metal-framing-page .tile-washroom-renovation-section .intro-band-image::after {
        opacity: 0;
        background: none;
    }

    body.metal-framing-page #intro-split .intro-band-image-inner,
    body.metal-framing-page .tile-washroom-renovation-section .intro-band-image-inner {
        transform: none;
    }

    body.metal-framing-page #intro-split .intro-band-text {
        align-items: center;
    }

    body.metal-framing-page #intro-split .intro-band-text .intro-kicker,
    body.metal-framing-page #intro-split .intro-band-text .intro-title,
    body.metal-framing-page #intro-split .intro-band-text .intro-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.metal-framing-page .tile-washroom-renovation-section .intro-band-text .intro-kicker {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body.metal-framing-page .tile-washroom-renovation-section .intro-band-text .intro-title,
    body.metal-framing-page .tile-washroom-renovation-section .intro-band-text .intro-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.drywall-page #intro-split .intro-band,
    body.drywall-page #intro-split-secondary .intro-band {
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: auto;
        gap: 16px;
        padding: 24px 16px;
    }

    body.drywall-page #intro-split .intro-band-image,
    body.drywall-page #intro-split-secondary .intro-band-image {
        width: 100%;
        height: clamp(240px, 62vw, 360px);
        justify-self: stretch;
        align-self: start;
        box-shadow: none;
        background: #ffffff;
    }

    body.drywall-page #intro-split .intro-band-image::after,
    body.drywall-page #intro-split-secondary .intro-band-image::after {
        opacity: 0;
        background: none;
    }

    body.drywall-page #intro-split .intro-band-image-inner,
    body.drywall-page #intro-split-secondary .intro-band-image-inner {
        transform: none;
    }

    body.drywall-page #intro-split.hardwood-video-feature .intro-band-image {
        display: none;
    }

    body.flooring-page #intro-split-secondary-top .intro-slide-labels {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    body.flooring-page #intro-split .flooring-mini-stack {
        width: min(100%, 559px);
    }

    body.flooring-page .flooring-before-after .ba-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.flooring-page .flooring-before-after .ba-wrap::before {
        display: none;
    }

    body.flooring-page .flooring-before-after .ba-panel h3 {
        top: 10px;
        left: 10px;
    }

    body.metal-framing-page .tile-before-after .ba-wrap {
        grid-template-columns: 1fr;
    }

    body.metal-framing-page .tile-before-after .ba-wrap::before {
        display: none;
    }

    body.metal-framing-page .tile-before-after .ba-panel img {
        min-height: clamp(280px, 72vw, 460px);
    }

    body.metal-framing-page .tile-before-after .ba-panel h3 {
        top: 10px;
        left: 10px;
    }

    body.metal-framing-page .tile-washroom-renovation-section .intro-band-image.tile-execution-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        gap: 10px;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        justify-content: stretch;
        justify-self: stretch;
        align-self: start;
    }

    body.metal-framing-page .tile-washroom-renovation-section .intro-band-text {
        margin-top: 10px;
    }

    body.metal-framing-page .tile-execution-frame img {
        min-height: clamp(132px, 34vw, 168px);
    }

    body.metal-framing-page .painting-before-after-showcase {
        overflow-x: clip;
        padding: clamp(18px, 4vw, 28px) 0 clamp(28px, 6vw, 42px);
    }

    body.metal-framing-page .painting-before-after-shell {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 24px;
        padding-left: clamp(18px, 5vw, 24px);
        padding-right: clamp(18px, 5vw, 24px);
        overflow: hidden;
    }

    body.metal-framing-page .painting-before-after-copy {
        order: 1;
        width: 100%;
        max-width: none;
        margin-left: 0;
        justify-self: stretch;
    }

    body.metal-framing-page .painting-before-after-showcase h2 {
        max-width: none;
        font-size: clamp(1.46rem, 7vw, 2rem);
    }

    body.metal-framing-page .painting-before-after-text {
        max-width: none;
        font-size: 0.94rem;
        line-height: 1.6;
    }

    body.metal-framing-page .painting-before-after-gallery {
        order: 2;
        width: min(100%, 560px);
        grid-template-columns: 1fr;
        gap: 12px;
        justify-self: center;
        align-items: stretch;
        transform: none;
    }

    body.metal-framing-page .painting-before-after-frame {
        width: 100%;
        height: 100%;
        max-width: none;
    }

    body.metal-framing-page .painting-before-after-frame img {
        aspect-ratio: 4 / 3;
        transform: scale(1.03) translateY(0);
    }

    body.metal-framing-page .painting-before-after-frame-before img,
    body.metal-framing-page .painting-before-after-frame-after img,
    body.metal-framing-page .painting-before-after-frame.is-visible img,
    body.metal-framing-page .painting-before-after-frame:hover img {
        transform: scale(1.03) translateY(0);
    }

    body.metal-framing-page .painting-before-after-frame-after {
        margin-top: 0;
    }

    body.metal-framing-page .painting-before-after-label {
        top: 10px;
        left: 10px;
    }

    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-copy,
    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-kicker,
    body.metal-framing-page .painting-before-after-showcase-reverse h2,
    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        justify-self: stretch;
    }

    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-copy {
        order: 1;
    }

    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-shell {
        grid-template-columns: 1fr;
    }

    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-gallery {
        order: 2;
        width: min(100%, 560px);
        justify-self: center;
        transform: none;
    }

    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame-before img,
    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame-after img,
    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame.is-visible img,
    body.metal-framing-page .painting-before-after-showcase-reverse .painting-before-after-frame:hover img {
        transform: scale(1.03) translateY(0);
    }

    body.metal-framing-page .painting-before-after-copy,
    body.metal-framing-page .painting-before-after-kicker,
    body.metal-framing-page .painting-before-after-showcase h2,
    body.metal-framing-page .painting-before-after-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.metal-framing-page .tile-bath-shell {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.metal-framing-page .tile-bath-copy {
        max-width: none;
        padding-left: 0;
        justify-self: stretch;
    }

    body.metal-framing-page .tile-bath-copy::before {
        display: none;
    }

    body.metal-framing-page .tile-bath-showcase h2 {
        max-width: 14ch;
    }

    body.metal-framing-page .tile-bath-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        justify-self: stretch;
        transform: none;
    }

    body.metal-framing-page .tile-bath-frame-secondary {
        margin-top: 0;
    }

    body.metal-framing-page .tile-mobile-logo-bridge {
        display: none;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 3;
        padding: 15px 0 22px;
        margin-bottom: 10px;
    }

    body.metal-framing-page .tile-mobile-logo-bridge img {
        width: min(100%, 70px);
        height: auto;
        display: block;
    }

    body.metal-framing-page .tile-mobile-home-gallery {
        display: block;
        background: #ffffff;
        padding: 0 0 clamp(18px, 5vw, 28px);
    }

    body.metal-framing-page .tile-mobile-home-gallery .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.metal-framing-page .tile-mobile-home-gallery .drywall-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(10px, 2.8vw, 14px);
    }

    body.metal-framing-page .tile-mobile-home-gallery .drywall-slot {
        transition: transform 0.34s ease;
    }

    body.metal-framing-page .tile-mobile-home-gallery .drywall-media {
        position: relative;
        aspect-ratio: 16 / 11;
        border-radius: 0;
        border: 1px solid rgba(17, 17, 17, 0.12);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
        background: #ffffff;
    }

    body.metal-framing-page .tile-duo-showcase {
        display: none;
    }

    body.drywall-page .hardwood-flooring-secondary-top .intro-slide-labels {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    body.drywall-page .hardwood-flooring-living .flooring-mini-stack {
        width: min(100%, 559px);
    }

    body.drywall-page .hardwood-flooring-before-after .ba-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.drywall-page .hardwood-flooring-before-after .ba-wrap::before {
        display: none;
    }

    body.drywall-page .hardwood-flooring-before-after .ba-panel h3 {
        top: 10px;
        left: 10px;
    }

    body.drywall-page .hardwood-flooring-square-gallery .flooring-square-gallery-grid {
        grid-template-columns: 1fr;
    }

}

body.project-page #project-highlights {
    background: #111111;
    text-align: left;
    padding: clamp(36px, 6vw, 80px) 0;
    position: relative;
    overflow: hidden;
}

body.project-page #project-highlights::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06), transparent 50%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 40%);
    opacity: 1;
    pointer-events: none;
}

body.project-page #project-highlights .container {
    max-width: 1210px;
}

body.project-page .highlight-header {
    max-width: 640px;
    margin-bottom: clamp(24px, 4vw, 40px);
    position: relative;
    padding-bottom: 14px;
}

body.project-page .highlight-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

body.project-page .highlight-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

body.project-page .highlight-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin: 12px 0 10px;
    color: #ffffff;
}

body.project-page .highlight-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

body.project-page .highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 1fr;
    gap: clamp(24px, 4vw, 36px);
    align-items: stretch;
    justify-content: center;
}

body.project-page .highlight-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 22px 26px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
    position: relative;
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    --highlight-base: 0px;
    --highlight-offset: 0px;
    --reveal-offset: calc(14px + var(--highlight-base) + var(--highlight-offset));
    --reveal-visible-offset: calc(var(--highlight-base) + var(--highlight-offset));
    will-change: transform;
}

body.project-page .highlight-card:nth-child(2),
body.project-page .highlight-card:nth-child(3) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.project-page .highlight-card:nth-child(2)::before,
body.project-page .highlight-card:nth-child(3)::before {
    display: none;
}

body.project-page .highlight-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 52px;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

body.project-page .highlight-card-image {
    padding: 0;
}

body.project-page .highlight-card-image::before {
    display: none;
}

body.project-page .highlight-card-image .highlight-card-media {
    margin: 0;
    border: 0;
    height: 100%;
    aspect-ratio: auto;
}

body.project-page .highlight-card-image .highlight-card-media img {
    height: 100%;
}

body.project-page .highlight-card-logo {
    position: relative;
    overflow: visible;
}

body.project-page .highlight-card-logo[data-reveal],
body.project-page .highlight-card-logo.is-visible {
    clip-path: none;
}

body.project-page .highlight-card-logo .highlight-card-logo-mark {
    position: absolute;
    left: 50%;
    top: -6.1cm;
    transform: translateX(-50%);
    width: clamp(111.8px, 13.31vw, 186.34px);
    height: auto;
    z-index: 2;
}

body.project-page .highlight-card-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.project-page .highlight-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.project-page .highlight-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.project-page .highlight-card-media {
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #1b1b1b;
    overflow: hidden;
    aspect-ratio: 4 / 2.35;
}

body.project-page .highlight-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: translateY(var(--highlight-media-offset, 0px)) scale(1.04);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.project-page .highlight-header.is-visible::after {
    transform: scaleX(1);
}

body.project-page .highlight-card.is-visible::before {
    transform: scaleX(1);
}

body.project-page .highlight-card.is-visible {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.45);
}

body.project-page .highlight-card:nth-child(2).is-visible,
body.project-page .highlight-card:nth-child(3).is-visible {
    border-color: transparent;
    box-shadow: none;
}

body.project-page .highlight-card.is-visible .highlight-card-label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

body.project-page .highlight-card.is-visible h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

body.project-page .highlight-card.is-visible p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.24s;
}

body.project-page .highlight-card.is-visible .highlight-card-media img {
    opacity: 1;
    transform: translateY(var(--highlight-media-offset, 0px)) scale(1);
    transition-delay: 0.28s;
}

@media (min-width: 900px) {
    body.home-page #intro-split .intro-stat:first-child .intro-stat-label {
        transform: translateX(14px);
    }

    body.project-page .highlight-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.project-page .highlight-card:nth-child(2) {
        --highlight-base: 0px;
    }

    body.project-page .highlight-card:nth-child(3) {
        --highlight-base: 0px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.project-page .highlight-header::after,
    body.project-page .highlight-card::before {
        transition: none;
        transform: scaleX(1);
    }

    body.project-page .highlight-card,
    body.project-page .highlight-card-label,
    body.project-page .highlight-card h3,
    body.project-page .highlight-card p,
    body.project-page .highlight-card-media img {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

body.project-page #intro-split-1 .intro-band-image img,
body.project-page #intro-split-3 .intro-band-image img {
    height: 100%;
}

body.project-page #intro-split-1 .intro-band-image,
body.project-page #intro-split-3 .intro-band-image {
    width: 111%;
}

body.project-page #intro-split-2 .intro-band-image img {
    height: 100%;
}

body.project-page .intro-band-image-inner {
    --parallax-offset: 0px;
    --switch-offset: 0px;
    --image-scale: 1.04;
    transform: translateY(calc(var(--parallax-offset) + var(--switch-offset))) scale(var(--image-scale));
    transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
    will-change: transform, opacity, filter;
    filter: saturate(1.02) contrast(1.02);
}

body.project-page .intro-band-text {
    --parallax-offset: 0px;
    --switch-offset: 0px;
    transform: translateY(calc(var(--parallax-offset) + var(--switch-offset)));
    transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
    will-change: transform, opacity, filter;
}

body.project-page .intro-band.is-switching .intro-band-image-inner {
    opacity: 0;
    filter: blur(6px) saturate(0.98);
    --switch-offset: -8px;
    --image-scale: 1.05;
}

body.project-page .intro-band.is-switching .intro-band-text {
    opacity: 0;
    filter: blur(4px);
    --switch-offset: 10px;
}

body.project-page #intro-split-2 .intro-band-text {
    padding-left: clamp(72px, 7vw, 112px);
}

body.project-page #intro-split-2 .intro-band-image {
    position: relative;
}

body.project-page #intro-split-2 .intro-band-image .intro-image-cta {
    right: 18px;
    left: auto;
}





body.project-page .intro-stat-number {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

body.project-page .intro-stat {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 220ms ease;
}

body.project-page .intro-stat:not(:last-child)::after {
    content: "→";
    color: #111;
    margin: 0 8px;
}

body.project-page .intro-stat-label {
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

body.project-page .intro-stat-label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #111;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 320ms ease;
}

body.project-page .intro-stat.is-active .intro-stat-label::after {
    transform: scaleX(1);
}

body.project-page .intro-stat:hover {
    animation: intro-stat-hover 520ms ease;
}

@keyframes intro-stat-hover {
    0% {
        transform: translateY(0) scale(1);
    }
    45% {
        transform: translateY(-2px) scale(1.03);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 780px) {
    body.project-page #intro-split-1 .intro-band {
        margin-left: 0;
    }

    body.project-page #intro-split-1 .intro-band-text {
        padding-left: clamp(18px, 5vw, 24px);
        padding-right: clamp(18px, 5vw, 24px);
        margin-left: 0;
    }

    body.project-page .intro-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    body.project-page .intro-stat {
        width: auto;
        gap: 5px;
        justify-content: center;
    }

    body.project-page .intro-stat:not(:last-child)::after {
        content: none;
    }

    body.project-page .intro-stat-number {
        font-size: 0.82rem;
    }

    body.project-page .intro-stat-label {
        font-size: 0.78rem;
        line-height: 1.15;
        white-space: normal;
    }

    body.project-page #intro-split-2 .intro-band-text,
    body.project-page #intro-split-3 .intro-band-text {
        padding-left: clamp(18px, 5vw, 24px);
        padding-right: clamp(18px, 5vw, 24px);
        margin-left: 0;
        text-align: center;
    }

    body.project-page #intro-split-2 .intro-band-text .intro-kicker,
    body.project-page #intro-split-2 .intro-band-text .intro-title,
    body.project-page #intro-split-2 .intro-band-text .intro-text,
    body.project-page #intro-split-3 .intro-band-text .intro-kicker,
    body.project-page #intro-split-3 .intro-band-text .intro-title,
    body.project-page #intro-split-3 .intro-band-text .intro-text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body.project-page #intro-split-2 .intro-stats,
    body.project-page #intro-split-3 .intro-stats {
        align-items: center;
    }

    body.project-page #intro-split-2 .intro-stats {
        transform: translateX(8px);
    }

    body.project-page #intro-split-2 .project-step-dots,
    body.project-page #intro-split-3 .project-step-dots {
        justify-content: center;
    }
}

body.project-page .project-step-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    align-items: center;
}

body.project-page .project-step-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    transition: background-color 240ms ease, transform 240ms ease, width 240ms ease;
}

body.project-page .project-step-dot.is-active {
    background: #111;
    width: 18px;
    transform: scale(1);
}

body.project-page .project-step-countdown {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin-left: 8px;
}


.drywall-gallery .container {
    max-width: 100%;
    padding: 0;
}

.drywall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.drywall-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    color: #111;
}

.drywall-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #e9e9e9;
    border: 1px solid #d9d9d9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 600;
}

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

.drywall-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.drywall-page .drywall-media img.is-fading,
body.flooring-page .drywall-media img.is-fading,
body.metal-framing-page .drywall-media img.is-fading {
    opacity: 0;
}

body.drywall-page .drywall-dots,
body.flooring-page .drywall-dots,
body.metal-framing-page .drywall-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}

body.drywall-page .drywall-dot,
body.flooring-page .drywall-dot,
body.metal-framing-page .drywall-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

body.drywall-page .drywall-dot.is-active,
body.flooring-page .drywall-dot.is-active,
body.metal-framing-page .drywall-dot.is-active {
    background: #111;
    width: 16px;
    transform: scale(1);
}

body.drywall-page .drywall-next,
body.flooring-page .drywall-next,
body.metal-framing-page .drywall-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

body.drywall-page .drywall-next:hover,
body.flooring-page .drywall-next:hover,
body.metal-framing-page .drywall-next:hover {
    transform: translateX(2px);
}

body.drywall-page .drywall-slot h3,
body.flooring-page .drywall-slot h3,
body.metal-framing-page .drywall-slot h3 {
    margin: 12px 8px 0;
}

body.drywall-page .drywall-slot,
body.flooring-page .drywall-slot,
body.metal-framing-page .drywall-slot {
    transition: transform 0.3s ease;
}

body.drywall-page .drywall-slot:hover,
body.flooring-page .drywall-slot:hover,
body.metal-framing-page .drywall-slot:hover {
    transform: translateY(-4px);
}

body.drywall-page .drywall-media,
body.metal-framing-page .drywall-media {
    border-radius: 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

body.drywall-page .drywall-slot:hover .drywall-media,
body.flooring-page .drywall-slot:hover .drywall-media,
body.metal-framing-page .drywall-slot:hover .drywall-media {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
}

body.drywall-page .drywall-media img,
body.flooring-page .drywall-media img,
body.metal-framing-page .drywall-media img {
    transition: filter 0.4s ease, opacity 0.45s ease;
}

body.drywall-page .drywall-slot:hover .drywall-media img,
body.flooring-page .drywall-slot:hover .drywall-media img,
body.metal-framing-page .drywall-slot:hover .drywall-media img {
    filter: saturate(1.08) contrast(1.05);
}

.drywall-slot h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 8px;
    text-align: center;
}

.drywall-slot p {
    font-size: 0.95rem;
    color: #444;
    margin: 0 8px;
    text-align: center;
}



body.flooring-page #image-grid {
    text-align: left;
}

body.flooring-page .drywall-gallery {
    background: linear-gradient(180deg, #f6f5f2 0%, #ffffff 70%);
    padding: clamp(28px, 4vw, 56px) 0;
}

body.flooring-page .drywall-gallery .container {
    max-width: 1180px;
    padding: 0 28px;
}

body.flooring-page .drywall-grid {
    gap: clamp(16px, 2.4vw, 28px);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    grid-template-areas:
        "flooring-small-top flooring-hero"
        "flooring-small-bottom flooring-hero";
    align-items: stretch;
}

body.flooring-page .drywall-slot:nth-child(1) {
    grid-area: flooring-small-top;
}

body.flooring-page .drywall-slot:nth-child(3) {
    grid-area: flooring-small-bottom;
}

body.flooring-page .drywall-slot.is-hero {
    grid-area: flooring-hero;
    padding: 0 0 16px 0;
}

body.flooring-page .drywall-slot {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 0 0 16px 0;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.flooring-page .drywall-slot:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.12);
}

body.flooring-page .drywall-media {
    aspect-ratio: 5 / 3;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #efefef;
    position: relative;
    overflow: hidden;
}

body.flooring-page .drywall-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

body.flooring-page .drywall-slot:hover .drywall-media {
    transform: none;
    box-shadow: none;
}

body.flooring-page .drywall-slot.is-hero .drywall-media {
    aspect-ratio: 16 / 9;
    min-height: clamp(220px, 24vw, 300px);
    flex: 1;
}

body.flooring-page .drywall-media img {
    transition: transform 0.45s ease, filter 0.4s ease, opacity 0.45s ease;
    position: relative;
    z-index: 0;
}

body.metal-framing-page .tile-top-image-left {
    transform: scale(0.97);
    transform-origin: center;
}

body.metal-framing-page #image-grid.tile-top-media-gallery .drywall-slot:nth-child(1) .drywall-media {
    border: none;
    box-shadow: none;
}

body.flooring-page .drywall-slot:hover .drywall-media img {
    transform: scale(1.03);
}

body.flooring-page .drywall-slot h3 {
    text-align: left;
    margin: 10px 12px 0;
    font-size: 1.12rem;
}

body.flooring-page .drywall-slot p {
    text-align: left;
    margin: 6px 12px 0;
    color: #4a4a4a;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 3.1em;
}

body.flooring-page .drywall-slot.is-hero h3 {
    font-size: 1.2rem;
}

body.flooring-page .drywall-slot.is-hero p {
    -webkit-line-clamp: 3;
    min-height: 4.65em;
}

body.flooring-page .flooring-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

body.flooring-page .flooring-square-gallery {
    --flooring-frame-gap: clamp(12px, 3vw, 28px);
    background: #ffffff;
    padding: clamp(24px, 5vw, 44px) var(--flooring-frame-gap);
    text-align: initial;
}

body.flooring-page .flooring-square-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--flooring-frame-gap);
    width: 100%;
}

body.flooring-page .flooring-square-frame {
    margin: 0;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(0, 0, 0, 0.12);
    background: #f4f4f4;
    overflow: hidden;
    position: relative;
    transition: box-shadow 280ms ease, transform 280ms ease;
    will-change: transform;
}

body.flooring-page .flooring-square-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 380ms ease;
    transform-origin: center;
}

body.flooring-page .flooring-square-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 280ms ease;
    pointer-events: none;
}

body.flooring-page .flooring-square-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

body.flooring-page .flooring-square-frame:hover img {
    transform: scale(1.06);
}

body.flooring-page .flooring-square-frame:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

body.drywall-page .hardwood-flooring-secondary-top,
body.drywall-page .hardwood-flooring-secondary-top .intro-band,
body.drywall-page .hardwood-flooring-living,
body.drywall-page .hardwood-flooring-project-brief,
body.drywall-page .hardwood-flooring-before-after,
body.drywall-page .hardwood-flooring-square-gallery {
    background: #ffffff;
}

body.drywall-page .hardwood-flooring-secondary-top,
body.drywall-page .hardwood-flooring-living {
    margin-top: clamp(16px, 2.6vw, 30px);
}

body.drywall-page .hardwood-flooring-living-brief {
    margin-top: clamp(18px, 2.8vw, 34px);
}

body.drywall-page .hardwood-flooring-secondary-top .intro-band {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    margin-top: -2cm;
}

body.drywall-page .hardwood-flooring-secondary-top .intro-band-image,
body.drywall-page .hardwood-flooring-living .intro-band-image {
    width: 105%;
    height: clamp(378px, 49.4vw, 639px);
}

body.drywall-page .hardwood-flooring-secondary-top .intro-band-text {
    position: relative;
    z-index: 1;
    padding-left: clamp(24px, 4vw, 56px);
}

body.drywall-page .hardwood-flooring-secondary-top .container {
    max-width: 100%;
    padding: 0;
}

body.drywall-page .hardwood-flooring-secondary-grid {
    gap: 6px;
    align-items: start;
}

body.drywall-page .hardwood-flooring-secondary-card {
    margin: 0;
    background: #ffffff;
    gap: 12px;
}

body.drywall-page .hardwood-flooring-secondary-media {
    aspect-ratio: 1 / 1;
}

body.drywall-page .hardwood-flooring-secondary-copy {
    position: relative;
    margin: 0 8px 10px;
    padding: 14px 16px 16px;
    text-align: center;
    background: linear-gradient(180deg, rgba(247, 243, 236, 0.8) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

body.drywall-page .hardwood-flooring-secondary-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 48px;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(122, 94, 60, 0.34);
}

body.drywall-page .hardwood-flooring-secondary-title {
    margin: 0 0 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: clamp(1.06rem, 1.5vw, 1.32rem);
    line-height: 1.18;
    color: #111111;
}

body.drywall-page .hardwood-flooring-secondary-text {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    line-height: 1.58;
    color: rgba(17, 17, 17, 0.64);
}

body.drywall-page #intro-split.hardwood-video-feature .intro-band-text .intro-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.drywall-page #intro-split.hardwood-video-feature .intro-band-text .intro-title,
body.drywall-page #intro-split.hardwood-video-feature .intro-band-text .intro-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.drywall-page .hardwood-flooring-project-brief {
    padding: clamp(24px, 3.6vw, 42px) 0 clamp(30px, 4.8vw, 52px);
    text-align: left;
}

body.drywall-page .hardwood-flooring-project-brief.project-brief-spaced {
    margin-top: 0;
    margin-bottom: clamp(24px, 3.6vw, 40px);
}

body.drywall-page .hardwood-flooring-secondary-brief.project-brief-spaced {
    margin-top: clamp(14px, 2vw, 22px);
}

body.drywall-page .hardwood-flooring-project-brief .container {
    max-width: 1180px;
    position: relative;
    padding-left: clamp(26px, 4.2vw, 40px);
    padding-right: clamp(16px, 3.5vw, 28px);
}

body.drywall-page .hardwood-flooring-project-brief .container::before {
    content: '';
    position: absolute;
    left: clamp(16px, 3vw, 28px);
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 100%);
}

body.drywall-page .hardwood-flooring-project-brief .project-brief-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
}

body.drywall-page .hardwood-flooring-project-brief .project-brief-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.32rem, 2.2vw, 1.82rem);
    line-height: 1.24;
    margin: 10px 0 9px;
    color: #111111;
    max-width: 28ch;
}

body.drywall-page .hardwood-flooring-project-brief .project-brief-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    color: rgba(17, 17, 17, 0.74);
    margin: 0;
    line-height: 1.56;
    max-width: 70ch;
}

@media (max-width: 900px) {
    body.drywall-page .hardwood-flooring-secondary-top .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.drywall-page .hardwood-flooring-secondary-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.drywall-page .hardwood-flooring-secondary-copy {
        margin: 0 4px 6px;
        padding: 12px 12px 14px;
    }

    body.drywall-page .hardwood-flooring-secondary-title {
        font-size: clamp(1.12rem, 5vw, 1.34rem);
    }

    body.drywall-page .hardwood-flooring-secondary-text {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    body.drywall-page .hardwood-flooring-living {
        margin-top: clamp(4px, 1.2vw, 10px);
    }

    body.drywall-page #intro-split.hardwood-video-feature .intro-band .intro-kicker,
    body.drywall-page #intro-split.hardwood-video-feature .intro-band .intro-title,
    body.drywall-page #intro-split.hardwood-video-feature .intro-band .intro-text {
        opacity: 0;
        transform: translateY(12px);
        transition:
            opacity 520ms ease,
            transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
            filter 420ms ease;
    }

    body.drywall-page #intro-split.hardwood-video-feature .intro-band.is-visible .intro-kicker,
    body.drywall-page #intro-split.hardwood-video-feature .intro-band.is-visible .intro-title {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 80ms;
    }

    body.drywall-page #intro-split.hardwood-video-feature .intro-band.is-visible .intro-text,
    body.drywall-page #intro-split.hardwood-video-feature .intro-band.is-visible .intro-text {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 140ms;
    }

    body.drywall-page #intro-split.hardwood-video-feature .intro-band .intro-band-image-inner {
        transform: scale(1.045);
        transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
    }

    body.drywall-page #intro-split.hardwood-video-feature .intro-band.is-visible .intro-band-image-inner {
        transform: scale(1.01);
    }

    body.drywall-page .hardwood-flooring-project-brief .container::before {
        transform: scaleY(0.45);
        transform-origin: top;
        opacity: 0.45;
        transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease;
    }

    body.drywall-page .hardwood-flooring-project-brief.is-visible .container::before {
        transform: scaleY(1);
        opacity: 1;
    }
}

body.drywall-page .hardwood-flooring-before-after {
    padding: 0 0 clamp(24px, 4vw, 42px);
}

body.drywall-page .hardwood-flooring-before-after .container {
    max-width: 1180px;
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
}

body.drywall-page .hardwood-flooring-before-after .ba-wrap {
    position: relative;
    gap: clamp(12px, 2vw, 22px);
    align-items: stretch;
}

body.drywall-page .hardwood-flooring-before-after .ba-wrap::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    width: 1px;
    transform: translateX(-0.5px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

body.drywall-page .hardwood-flooring-before-after .ba-panel {
    margin: 0;
    padding: 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.drywall-page .hardwood-flooring-before-after .ba-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

body.drywall-page .hardwood-flooring-before-after .ba-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 46%);
    pointer-events: none;
}

body.drywall-page .hardwood-flooring-before-after .ba-panel-after {
    border-color: rgba(182, 140, 99, 0.5);
}

body.drywall-page .hardwood-flooring-before-after .ba-panel h3 {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.drywall-page .hardwood-flooring-before-after .ba-panel-after h3 {
    background: rgba(182, 140, 99, 0.9);
}

body.drywall-page .hardwood-flooring-before-after .ba-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease;
}

body.drywall-page .hardwood-flooring-before-after .ba-panel:hover img {
    transform: scale(1.035);
}

body.drywall-page .hardwood-flooring-square-gallery {
    --flooring-frame-gap: clamp(12px, 3vw, 28px);
    padding: clamp(24px, 5vw, 44px) var(--flooring-frame-gap);
    text-align: initial;
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--flooring-frame-gap);
    width: 100%;
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame {
    margin: 0;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(0, 0, 0, 0.12);
    background: #f4f4f4;
    overflow: hidden;
    position: relative;
    transition: box-shadow 280ms ease, transform 280ms ease;
    will-change: transform;
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 380ms ease;
    transform-origin: center;
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background-color 280ms ease;
    pointer-events: none;
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame:hover img {
    transform: scale(1.06);
}

body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 780px) {
    body.drywall-page .hardwood-flooring-square-gallery {
        --flooring-frame-gap: clamp(10px, 2.8vw, 14px);
    }

    body.drywall-page .hardwood-flooring-square-gallery .flooring-square-gallery-grid {
        width: min(100%, 29rem);
        margin: 0 auto;
        grid-template-columns: 1fr;
        gap: var(--flooring-frame-gap);
    }

    body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame:nth-child(1) {
        aspect-ratio: 1 / 1;
    }

    body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame:nth-child(2) {
        aspect-ratio: 1 / 1;
    }

    body.drywall-page .hardwood-flooring-square-gallery .flooring-square-frame:nth-child(3) {
        aspect-ratio: 1 / 1;
    }
}

body.drywall-page .hardwood-stairs-overview {
    background: #ffffff;
    padding: clamp(22px, 4vw, 44px) 0 clamp(18px, 3vw, 28px);
    text-align: left;
}

body.drywall-page .hardwood-stairs-overview-shell {
    max-width: 1180px;
    padding-left: clamp(10px, 2vw, 20px);
    padding-right: clamp(16px, 3vw, 28px);
    display: flex;
    justify-content: center;
}

body.drywall-page .hardwood-stairs-overview-copy {
    position: relative;
    width: min(100%, 780px);
    margin: 0 auto;
    padding: clamp(6px, 1vw, 10px) 0 clamp(4px, 0.8vw, 8px) clamp(24px, 3vw, 34px);
}

body.drywall-page .hardwood-stairs-overview-copy::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.08) 0%, rgba(191, 154, 93, 0.42) 34%, rgba(17, 17, 17, 0.12) 100%);
}

body.drywall-page .hardwood-stairs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(102, 72, 38, 0.72);
}

body.drywall-page .hardwood-stairs-kicker::after {
    content: '';
    width: clamp(42px, 7vw, 72px);
    height: 1px;
    background: rgba(122, 94, 60, 0.3);
}

body.drywall-page .hardwood-stairs-overview .hardwood-stairs-title {
    margin: 16px 0 14px;
    padding-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: clamp(1.56rem, 2.7vw, 2.38rem);
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: #111111;
    max-width: 18ch;
}

body.drywall-page .hardwood-stairs-overview .hardwood-stairs-title::after {
    display: none;
}

body.drywall-page .hardwood-stairs-text {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.96rem;
    line-height: 1.78;
    color: rgba(17, 17, 17, 0.68);
    max-width: 60ch;
}

body.drywall-page .hardwood-stairs-text + .hardwood-stairs-text {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    color: rgba(17, 17, 17, 0.6);
    max-width: 54ch;
}

body.drywall-page .hardwood-stairs-overview + .hardwood-stairs-media-strip {
    margin-top: 1cm;
}

body.drywall-page .hardwood-stairs-media-strip {
    background: #ffffff;
    padding: clamp(10px, 1.2vw, 16px) 0 clamp(44px, 6vw, 84px);
    text-align: left;
}

body.drywall-page .hardwood-stairs-media-strip .container {
    max-width: 100%;
    padding: 0;
}

body.drywall-page .hardwood-stairs-media-grid {
    gap: 6px;
    align-items: stretch;
}

body.drywall-page .hardwood-stairs-media-slot {
    margin: 0;
}

body.drywall-page .hardwood-stairs-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    border: 1px solid rgba(122, 94, 60, 0.14);
    box-shadow:
        0 24px 46px rgba(0, 0, 0, 0.1),
        0 10px 24px rgba(133, 101, 65, 0.08);
    overflow: hidden;
    background: #efefef;
}

body.drywall-page .hardwood-stairs-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.08) 100%);
    z-index: 1;
    pointer-events: none;
}

body.drywall-page .hardwood-stairs-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: none;
    filter: saturate(1.02) contrast(1.02);
}

@media (max-width: 780px) {
    body.drywall-page .hardwood-stairs-overview {
        padding: clamp(18px, 4vw, 28px) 0 clamp(12px, 3vw, 18px);
    }

    body.drywall-page .hardwood-stairs-overview-shell,
    body.drywall-page .hardwood-stairs-media-strip .container {
        max-width: 100%;
        padding-left: clamp(18px, 5vw, 24px);
        padding-right: clamp(18px, 5vw, 24px);
    }

    body.drywall-page .hardwood-stairs-overview-copy {
        width: 100%;
        max-width: none;
        padding: 2px 0 0 18px;
    }

    body.drywall-page .hardwood-stairs-overview-copy::before {
        top: 2px;
        bottom: 2px;
    }

    body.drywall-page .hardwood-stairs-overview .hardwood-stairs-title {
        max-width: none;
        font-size: clamp(1.4rem, 6.2vw, 1.92rem);
    }

    body.drywall-page .hardwood-stairs-kicker {
        gap: 10px;
        letter-spacing: 0.16em;
    }

    body.drywall-page .hardwood-stairs-kicker::after {
        width: 34px;
    }

    body.drywall-page .hardwood-stairs-text {
        max-width: none;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    body.drywall-page .hardwood-stairs-media-grid {
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.drywall-page .hardwood-stairs-media {
        aspect-ratio: 1 / 1.08;
        border-radius: 0;
    }
}





.project-parallax {
    margin-top: calc(-1 * var(--fixed-header-offset, 88px) + 18px);
    height: 92vh;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.project-parallax-image {
    display: block;
    width: 100%;
    height: 104%;
    object-fit: cover;
}

.page-media {
    margin-top: 28px;
}

.page-media img {
    display: block;
    width: 100%;
    max-width: 820px;
    border-radius: 16px;
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.16);
}

/* animations.css */
[data-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-offset, 14px));
    clip-path: inset(10% 0 0 0);
    filter: blur(6px);
    transition: opacity 0.4s ease, transform 0.4s ease, clip-path 0.5s ease, filter 0.5s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, clip-path, filter;
}

.is-visible[data-reveal] {
    opacity: 1;
    transform: translateY(var(--reveal-visible-offset, 0px));
    clip-path: inset(0 0 0 0);
    filter: blur(0);
}

#hero [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
}

body.page-fade-in {
    animation: pageFadeIn 0.7s ease backwards;
}

body.page-fade-out {
    animation: pageFadeOut 0.5s ease both;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pageFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transform: translateY(var(--reveal-visible-offset, 0px));
        clip-path: inset(0 0 0 0);
        filter: none;
        transition: opacity 0.2s ease;
    }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    .intro-band[data-reveal] .intro-kicker,
    .intro-band[data-reveal] .intro-title,
    .intro-band[data-reveal] .intro-text,
    .project-brief[data-reveal] .project-brief-kicker,
    .project-brief[data-reveal] .project-brief-title,
    .project-brief[data-reveal] .project-brief-text,
    .footer-cta-row[data-reveal] .footer-cta,
    .footer-cta-row[data-reveal] .footer-brand {
        opacity: 0;
        transform: translateY(12px);
        transition:
            opacity 0.46s ease,
            transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .intro-band[data-reveal].is-visible .intro-kicker,
    .project-brief[data-reveal].is-visible .project-brief-kicker,
    .footer-cta-row[data-reveal].is-visible .footer-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .intro-band[data-reveal].is-visible .intro-title,
    .project-brief[data-reveal].is-visible .project-brief-title,
    .footer-cta-row[data-reveal].is-visible .footer-brand {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 70ms;
    }

    .intro-band[data-reveal].is-visible .intro-text,
    .project-brief[data-reveal].is-visible .project-brief-text {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 120ms;
    }

    .intro-band[data-reveal] .intro-band-image-inner {
        transform: scale(1.035);
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
    }

    .intro-band[data-reveal].is-visible .intro-band-image-inner {
        transform: scale(1);
    }
}

/* contact.css */
#contact-main {
    padding: clamp(36px, 7vw, 96px) 0;
}

.contact-info {
    max-width: 560px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.contact-info h2 {
    margin: 0 0 12px;
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
    font-weight: 500;
    line-height: 1.2;
}

.contact-info h2::after {
    content: none;
}

.contact-details > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.10);
    text-align: left;
}

.contact-details > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-details dt {
    font-weight: 600;
}

.contact-details dd {
    color: #555;
    overflow-wrap: anywhere;
}

/* compatibility.css */
:root {
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
    --safe-left: env(safe-area-inset-left);
    --safe-right: env(safe-area-inset-right);
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    padding-bottom: var(--safe-bottom);
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

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

a,
button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

#hero {
    min-height: 100svh;
}

@media (min-width: 781px) and (max-width: 900px) {
    header {
        padding-top: calc(0.56rem + var(--safe-top));
        padding-bottom: 0.36rem;
    }

    header .container {
        justify-content: space-between;
        padding-left: max(16px, var(--safe-left));
        padding-right: max(16px, var(--safe-right));
    }

    header h1 {
        position: static;
    }

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
    }

    header.is-menu-open nav {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px 20px;
    }

    header nav ul li {
        margin-left: 0;
    }

    header nav ul li a {
        font-size: 1rem;
    }

    .services-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .services-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        max-width: none;
        max-height: 0;
        padding-top: 0;
        margin-top: 0;
        overflow: hidden;
        transform: translateY(-6px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
    }

    .services-links.is-open {
        max-height: 240px;
        opacity: 1;
        transform: translateY(0);
    }

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

    header.is-menu-open {
        background-color: #ffffff;
        color: #111111;
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }

    header.is-menu-open nav {
        background: #ffffff;
    }

    header.is-menu-open nav ul li a {
        color: #111111;
    }

    header.is-menu-open nav ul {
        background: #f2f2f2;
    }
}

@media (max-width: 900px) {
    #hero,
    body.project-page #projects-hero {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #hero .container,
    body.project-page #projects-hero .project-hero-grid {
        width: 100%;
        max-width: 100%;
        padding-left: max(16px, var(--safe-left));
        padding-right: max(16px, var(--safe-right));
    }

    .intro-band {
        display: flex;
        flex-direction: column;
        gap: clamp(20px, 6vw, 32px);
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: clamp(24px, 6vw, 40px) 16px;
    }

    .intro-band-reverse {
        padding: clamp(24px, 6vw, 40px) 16px;
    }

    .intro-band-text {
        max-width: 100%;
    }

    #intro-split-secondary .intro-band-text {
        padding-left: 0;
    }

    .intro-band-image {
        width: 100%;
        height: clamp(240px, 60vw, 420px);
        justify-self: stretch;
    }

    #intro-split .intro-band,
    #intro-split-secondary .intro-band {
        display: flex;
        flex-direction: column;
    }

    body.project-page #intro-split-2 .intro-band-text {
        padding-left: 0;
    }

    body.project-page #intro-split-2 .intro-band-image {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        transform: none;
    }
}

@media (max-width: 600px), (hover: none) and (pointer: coarse) {
    footer .footer-cta-row {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    footer .footer-cta {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    footer .footer-brand img {
        width: clamp(96px, 38vw, 140px);
    }
}

.project-page .project-section-anchor {
    display: block;
    scroll-margin-top: 72px;
}

@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 260ms;
        animation-timing-function: ease-in-out;
    }
}
