/* =========================================
   01. GLOBAL DESIGN TOKENS
========================================= */

:root {
    /* Colors */
    --color-background: #fdfdfc;
    --color-white: #ffffff;
    --color-black: #171717;
    --color-text: #4e4e4e;
    --color-muted: #898989;
    --color-border: #e8e7e4;
    --color-accent: #b42d2d;

    /* Typography */
    --font-primary: 'DM Sans', sans-serif;

    /* Layout */
    --page-padding: 26px;
    --header-height: 78px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-normal: 350ms ease;
}


/* =========================================
   02. RESET & BASE STYLES
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--color-background);
    color: var(--color-black);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-wrapper {
    position: relative;
    width: calc(100% - 52px);
    max-width: 1600px;
    min-height: 100vh;
    margin: 0 auto;

    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);

    background-image:
        repeating-linear-gradient(
            to right,
            transparent 0,
            transparent 75px,
            rgba(0, 0, 0, 0.025) 75px,
            rgba(0, 0, 0, 0.025) 76px
        );
}


/* =========================================
   03. HEADER
========================================= */

.site-header {
    height: var(--header-height);
    padding: 0 var(--page-padding);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border-bottom: 1px solid var(--color-border);
    background: rgba(253, 253, 252, 0.94);

    position: sticky;
    top: 0;
    z-index: 1000;
}


/* BRAND */

.brand img {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    height: 50px;
}




/* NAVIGATION */

.main-navigation {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 4px;

    position: relative;

    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: #555;

    transition: color var(--transition-fast);
}

.nav-number {
    font-size: 7px;
    color: var(--color-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-black);
}

.nav-link.active .nav-number {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: var(--color-accent);
}

.mobile-menu-toggle,
.mobile-navigation {
    display: none;
}

/* HEADER ACTIONS */

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

.header-phone {
    font-size: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.header-cta {
    min-height: 26px;
    padding: 0 13px;

    display: flex;
    align-items: center;
    gap: 10px;

    background: var(--color-black);
    color: var(--color-white);

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: background var(--transition-fast);
}

.header-cta:hover {
    background: var(--color-accent);
}


/* =========================================
   04. BRAND INFORMATION BAR
========================================= */

.brand-information {
    height: 45px;
    padding: 0 var(--page-padding);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;

    border-bottom: 1px solid var(--color-border);
    background: rgba(253, 253, 252, 0.9);
}

.brand-description,
.brand-location,
.page-index {
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.brand-description {
    display: flex;
    align-items: center;
    gap: 8px;
}

.red-indicator {
    width: 5px;
    height: 5px;
    background: var(--color-accent);
}

.brand-location {
    text-align: center;
    color: var(--color-muted);
}

.page-index {
    text-align: right;
}


/* =========================================
   05. HERO LAYOUT
========================================= */

.hero {
    min-height: 585px;
    padding: 32px var(--page-padding) 40px;

    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;

    position: relative;
}


/* =========================================
   06. HERO LEFT CONTENT
========================================= */

.hero-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-heading {
    position: relative;
    z-index: 2;
}

.hero-heading h1 {
    font-size: clamp(65px, 9.8vw, 112px);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.095em;
    text-transform: uppercase;
}

.heading-line {
    display: block;
    white-space: nowrap;
}

.heading-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-black);
}

.heading-period {
    color: var(--color-accent);
}


/* HERO BOTTOM */

.hero-bottom {
    max-width: 400px;
    padding-bottom: 0;
}

.hero-description {
    max-width: 310px;
    margin-bottom: 18px;
}

.hero-description p {
    color: var(--color-text);

    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-button {
    min-height: 33px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    background: var(--color-accent);
    color: var(--color-white);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;

    transition: background var(--transition-fast);
}

.primary-button:hover {
    background: var(--color-black);
}

.secondary-button {
    min-height: 33px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border-bottom: 1px solid var(--color-border);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: border-color var(--transition-fast);
}

.secondary-button:hover {
    border-color: var(--color-accent);
}


/* =========================================
   07. HERO VISUAL
========================================= */

.hero-visual {
    min-width: 0;
    height: 100%;
    min-height: 490px;

    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}


/* MAIN IMAGE */

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 490px;

    position: relative;
    overflow: hidden;

    background: #b7aea4;
}

.image-placeholder {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.04),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #d9d2c9 0%,
            #9f968b 40%,
            #c7bfb5 75%,
            #e1d9cf 100%
        );

    display: grid;
    place-items: center;

    transition: transform 700ms ease;
}

.hero-image:hover .image-placeholder {
    transform: scale(1.025);
}

.placeholder-label {
    padding: 8px 12px;

    background: rgba(255, 255, 255, 0.65);
    color: #49443e;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================
   08. TILE DETAIL OVERLAY
========================================= */

.tile-detail-image {
    position: absolute;

    left: -80px;
    bottom: 60px;

    width: 160px;
    height: 160px;

    padding: 3px;

    background: var(--color-white);

    z-index: 4;
    
}

.tile-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background:
        repeating-linear-gradient(
            45deg,
            #e8e4dc 0px,
            #e8e4dc 25px,
            #c9c2b7 26px,
            #c9c2b7 28px
        );
}


/* =========================================
   09. MEASUREMENT DECORATION
========================================= */

.visual-measurement {
    position: absolute;

    top: 0;
    left: 0;

    width: 10px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 3;
}

.measurement-line {
    width: 1px;
    height: 100%;
    background: #d7d4cf;
}

.measurement-text {
    position: absolute;

    padding: 6px 0;

    background: var(--color-background);

    writing-mode: vertical-rl;
    transform: rotate(180deg);

    font-size: 6px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* =========================================
   11. VISUAL CAPTION
========================================= */

.visual-caption {
    position: absolute;

    left: 20px;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: space-between;
    gap: 10px;

    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

/* =========================================
   12. STUDIO SECTION
========================================= */

.studio-section {
    min-height: calc(80vh - var(--header-height) - 2px);
    padding: 86px var(--page-padding) 70px;

    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    column-gap: 22px;
    align-items: start;
}


/* LEFT SIDEBAR */

.studio-sidebar {
    padding-top: 1px;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--color-text);

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1.55px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.red-indicator {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    background: var(--color-accent);
}

.section-number {
    color: var(--color-black);
}

.kicker-rule {
    width: 20px;
    height: 1px;
    background: #d8d6d2;
}

.sidebar-description {
    margin-top: 16px;

    color: var(--color-text);

    font-size: 7px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}


/* MAIN HEADING */

.studio-content {
    min-width: 0;
}

.studio-heading {
    max-width: 900px;

    color: var(--color-black);

    font-size: clamp(32px, 4.25vw, 42px);
    font-weight: 700;
    line-height: 0.965;
    letter-spacing: -1.9px;
}

.heading-muted {
    color: #a1a1a1;
}

.heading-underline {
    text-decoration-line: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 4px;
    text-underline-offset: 5px;
    text-decoration-skip-ink: none;
}


/* =========================================
   13. STUDIO BOTTOM CONTENT
========================================= */

.studio-bottom {
    margin-top: 57px;

    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(360px, 1.28fr);
    align-items: start;
    column-gap: 34px;
}

.studio-description {
    max-width: 300px;

    color: var(--color-text);

    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
}


/* STATISTICS */

.studio-statistics {
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #999894;
}

.statistic {
    min-width: 0;
    min-height: 78px;
    padding: 9px 14px 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border-right: 1px solid var(--color-border);
}

.statistic:first-child {
    padding-left: 0;
}

.statistic:last-child {
    padding-right: 0;
    border-right: 0;
}

.statistic strong {
    color: var(--color-black);

    font-size: clamp(29px, 3.8vw, 38px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.6px;
    white-space: nowrap;
}

.statistic span {
    margin-top: 7px;

    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 1.05px;
    text-transform: uppercase;
}

/* =========================================
   04. SERVICES SECTION
========================================= */

.services-section {
    min-height: 100vh;
    padding: 32px var(--page-padding) 80px;

    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 22px;
    align-items: start;
    
    background-color: #f4f4f2;
}

/* SECTION SIDEBAR */
.services-sidebar {
    padding-top: 3px;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.red-indicator {
    width: 5px;
    height: 5px;
    background: var(--color-accent);
}

.section-number {
    color: var(--color-black);
}

.kicker-rule {
    width: 20px;
    height: 1px;
    background: #d8d6d2;
}


/* =========================================
   05. SERVICES MAIN HEADING
========================================= */

.services-content {
    min-width: 0;
}

.services-intro {
    width: 100%;
}

.services-heading {
    display: flex;
    flex-direction: column;

    color: var(--color-black);

    font-size: clamp(65px, 8.8vw, 84px);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -5px;
    text-transform: uppercase;
}

.services-heading span {
    display: block;
    white-space: nowrap;
}

.heading-muted {
    color: #b1b1b1;
}

.heading-period {
    display: inline !important;
    color: var(--color-accent);
}


/* =========================================
   06. FEATURED SERVICE LAYOUT
========================================= */

.service-feature {
    margin-top: 66px;

    display: grid;
    grid-template-columns: minmax(0, 1.0fr) minmax(0, 0.88fr);
    column-gap: 50px;
    align-items: start;
}


/* =========================================
   07. SERVICE IMAGE
========================================= */

.service-visual {
    position: relative;
    min-width: 0;
}

.service-image {
    width: 100%;
    height: 530px;

    position: relative;
    overflow: hidden;

    background: #d5d5d2;
}

.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 700ms ease;
}

.service-image:hover img {
    transform: scale(1.025);
}


/* IMAGE LABEL */

.service-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;

    padding: 7px 9px;

    background: var(--color-accent);
    color: var(--color-white);

    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* FLOATING IMAGE */

.service-detail-image {
    position: absolute;

    right: -36px;
    bottom: -20px;

    width: 185px;
    height: 185px;

    padding: 3px;

    background: var(--color-white);

    z-index: 4;
}

.service-detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
   08. SERVICE INFORMATION
========================================= */

.service-information {
    min-width: 0;
    position: relative;
    padding-top: 58px;
}


/* SERVICE CATEGORY */

.service-category {
    position: relative;
    z-index: 2;

    margin-left: 20px;

    color: var(--color-text);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.service-number {
    position: absolute;
    top: 58px;
    left: 0;

    color: var(--color-accent);

    font-size: 7px;
    font-weight: 600;
}


/* OUTLINED BACKGROUND NUMBER */

.background-number {
    position: absolute;

    top: -23px;
    right: 0;

    z-index: 0;

    color: transparent;
    -webkit-text-stroke: 1px #cbcbcb;

    font-size: 220px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -15px;

    pointer-events: none;
}


/* SERVICE TITLE */

.service-title {
    position: relative;
    z-index: 2;

    margin-top: 18px;

    color: var(--color-black);

    font-size: clamp(44px, 5.8vw, 58px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -3px;
    text-transform: uppercase;
}


/* SERVICE DESCRIPTION */

.service-description {
    position: relative;
    z-index: 2;

    max-width: 350px;
    margin-top: 20px;

    color: var(--color-text);

    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================
   09. SERVICE LIST
========================================= */

.service-list {
    margin-top: 22px;

    border-top: 1px solid #aaa9a5;
}

.service-list-item {
    min-height: 28px;
    padding: 0 2px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-bottom: 1px solid var(--color-border);

    color: var(--color-black);

    font-size: 9px;
    font-weight: 500;
}

.list-number {
    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
   14. BATHROOM REMODELING PROJECT SECTION
========================================= */

.bathroom-project-section {
    position: relative;
    width: 100%;
    min-height: 650px;
    padding: 27px 32px 48px;
    background: #f4f4f2;
    
}


/* =========================================
   15. PROJECT HEADING
========================================= */

.project-heading-area {
    position: relative;
    min-height: 250px;
}

.project-top-rule {
    width: 100%;
    height: 1px;
    background: #969693;
    margin-bottom: 40px;
}

.project-section-number {
    position: absolute;
    top: 40px;
    left: 0;

    color: var(--color-accent);

    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.project-main-heading {
    position: relative;

    display: flex;
    flex-direction: column;

    margin-top: 10px;
    margin-left: 40px;

    color: var(--color-black);

    font-size: clamp(65px, 9vw, 88px);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -5px;
    text-transform: uppercase;
}

.project-main-heading span {
    display: block;
}

.project-main-heading span:last-child {
    margin-left: 80px;
}

.project-heading-caption {
    position: absolute;
    right: 0;
    bottom: 22px;

    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================
   16. PROJECT BODY LAYOUT
========================================= */

.project-body {
    position: relative;

    display: grid;
    grid-template-columns: 231px minmax(0, 1fr);
    align-items: start;
}


/* =========================================
   17. PROJECT SIDEBAR
========================================= */

.project-sidebar {
    position: relative;
    z-index: 2;

    padding-top: 0;
}

.project-image-caption {
    display: flex;
    flex-direction: column;

    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.project-caption-rule {
    width: 200px;
    height: 1px;

    margin-top: 14px;

    background: #d2d1ce;
}


/* =========================================
   18. MAIN PROJECT IMAGE
========================================= */

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 383px;

    overflow: hidden;
    background: #d3d2cf;
}

.project-main-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 700ms ease;
}

.project-image-wrapper:hover .project-main-image {
    transform: scale(1.015);
}


/* =========================================
   19. PROJECT INFORMATION PANEL
========================================= */

.project-information-panel {
    position: absolute;

    top: 188px;
    left: -32px;

    z-index: 3;

    width: 465px;
    min-height: 245px;

    padding: 25px 24px 24px;

    background: #ffffff;
}


/* PROJECT DESCRIPTION */

.project-description {
    max-width: 390px;

    color: #555555;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================
   20. PANEL CONTENT
========================================= */

.project-panel-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 167px;
    column-gap: 19px;

    margin-top: 19px;
}


/* SERVICE DETAIL LIST */

.project-detail-list {
    border-top: 1px solid #a7a7a3;
}

.project-detail-item {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 13px;

    border-bottom: 1px solid #e9e8e5;

    color: var(--color-black);

    font-size: 8px;
    font-weight: 500;
}

.detail-number {
    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1px;
}


/* =========================================
   21. PROJECT METRICS
========================================= */

.project-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.project-metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-metric strong {
    color: var(--color-black);

    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.6px;
    white-space: nowrap;
}

.project-metric span {
    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* PROJECT CTA */

.project-cta {
    width: 100%;
    min-height: 30px;

    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    background: var(--color-black);
    color: #ffffff;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;

    transition: background var(--transition-fast);
}

.project-cta:hover {
    background: var(--color-accent);
}

.project-cta svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* =========================================
   25. GENERAL CONSTRUCTION SECTION
========================================= */

.general-construction-section {
    position: relative;
    width: 100%;
    min-height: 368px;

    padding: 58px 32px 0;

    background: #f4f4f2;
}


/* =========================================
   26. SECTION DIVIDERS
========================================= */

.construction-top-rule,
.construction-bottom-rule {
    width: 100%;
    height: 1px;
    background: #969693;
}

.construction-top-rule {
    margin-bottom: 32px;
}

.construction-bottom-rule {
    margin-top: 32px;
}


/* =========================================
   27. MAIN CONTENT GRID
========================================= */

.construction-content {
    display: grid;

    grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr);

    column-gap: 24px;
    align-items: start;
}


/* =========================================
   28. SECTION NUMBER
========================================= */

.construction-number {
    color: var(--color-accent);

    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}


/* =========================================
   29. SERVICE INFORMATION
========================================= */

.construction-information {
    padding-top: 1px;
}

.construction-category {
    display: block;

    margin-bottom: 9px;

    color: var(--color-muted);

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* HEADING */

.construction-heading {
    color: var(--color-black);

    font-size: clamp(30px, 4vw, 38px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -1.8px;
    text-transform: uppercase;
}


/* DESCRIPTION */

.construction-description {
    max-width: 285px;

    margin-top: 15px;

    color: var(--color-text);

    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
}


/* =========================================
   30. CONSTRUCTION IMAGE
========================================= */

.construction-visual {
    width: 100%;
    min-width: 0;
}

.construction-image {
    width: 100%;
    aspect-ratio: 2 / 1;

    overflow: hidden;
    background: #d5d5d2;
}

.construction-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: grayscale(100%);

    transition: transform 700ms ease;
}

.construction-image:hover img {
    transform: scale(1.025);
}


/* =========================================
   31. SERVICE TAGS
========================================= */

.construction-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;

    margin-top: 14px;
}

.construction-tag {
    min-height: 19px;
    padding: 0 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dededb;
    background: #ffffff;

    color: var(--color-black);

    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    white-space: nowrap;
}


/* =========================================
   36. GALLERY INTRODUCTION
   Designer layout: 25% / 50% / 25%
========================================= */
/* FULL-BLEED SELECTED WORK SECTION */
.selected-work-section {
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    box-sizing: border-box;

    background-color: #141414;

    padding-left: 32px;
    padding-right: 32px;
}

.gallery-intro {
    position: relative;
    min-height: 270px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
    border-bottom: 1px solid #303030;
    padding: 34px 0 28px;
}

.gallery-section-label {
    position: absolute;
    top: 1px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a0a0a0;
    font-size: 7px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.gallery-section-label::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #b52d2d;
}

.gallery-section-label span {
    color: #ffffff;
}

.gallery-main-heading {
    grid-column: 2;
    justify-self: start;
    align-self: center;
    margin: 14px 0 0;
    font-size: clamp(62px, 7.1vw, 82px);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -4px;
    text-transform: uppercase;
}

.gallery-main-heading span {
    display: block;
}

.gallery-main-heading .heading-muted {
    color: #626262;
}

.gallery-main-heading .heading-accent {
    display: inline;
    color: #b52d2d;
}


/* =========================================
   37. GALLERY INTRO DETAILS
========================================= */

.gallery-intro-details {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 218px;
    margin: 22px 0 0;
}

.gallery-focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-focus-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #c3c3c3;
    font-size: 9px;
    font-weight: 400;
}

.gallery-focus-list li span {
    color: #686868;
    font-size: 6px;
}

.gallery-intro-note {
    margin-top: 18px;
    color: #737373;
    font-size: 6px;
    line-height: 1.8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================
   38. EDITORIAL GALLERY GRID
   Compact two-column composition; not evenly spaced tiles
========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 48%);
    justify-content: space-between;
    column-gap: 0;
    row-gap: 28px;
    padding-top: 45px;
    align-items: start;
}

.gallery-card {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.gallery-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
}

.gallery-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 75px;
}

.gallery-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin-top: 12px;
}

.gallery-card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
    width: 88%;
    margin: 28px 0 0 8%;
}

.gallery-card:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    margin-top: 18px;
}

.gallery-card:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 72%;
    justify-self: center;
    margin-top: 18px;
}


/* =========================================
   39. GALLERY IMAGES
========================================= */

.gallery-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.gallery-card:nth-child(1) .gallery-card-image {
    aspect-ratio: 0.72 / 1;
}

.gallery-card:nth-child(2) .gallery-card-image {
    aspect-ratio: 1.42 / 1;
}

.gallery-card:nth-child(3) .gallery-card-image {
    aspect-ratio: 1.12 / 1;
}

.gallery-card:nth-child(4) .gallery-card-image {
    aspect-ratio: 1.1 / 1;
}

.gallery-card:nth-child(5) .gallery-card-image {
    aspect-ratio: 1.2 / 1;
}

.gallery-card:nth-child(6) .gallery-card-image {
    aspect-ratio: 1.5 / 1;
}

.gallery-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.035);
}


/* PROJECT NUMBER BADGE */

.gallery-project-number {
    position: absolute;
    top: 12px;
    left: 12px;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 6px 9px;

    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;

    font-size: 6px;
    font-weight: 600;
    letter-spacing: 1px;
}


/* =========================================
   40. GALLERY CAPTIONS
========================================= */

.gallery-card-caption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    padding-top: 12px;
    border-top: 1px solid #333333;
    margin-top: 8px;
}

.gallery-card-title {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-card-category {
    color: #858585;
    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    text-align: right;
}

.gallery-card-material {
    display: block;
    margin-top: 7px;

    color: #777777;
    font-size: 6px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* =========================================
   41. GALLERY MODAL / OVERLAY
========================================= */

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.gallery-modal-dialog {
    position: relative;

    display: grid;
    grid-template-columns: 62% 38%;

    width: min(690px, 100%);
    max-height: min(80vh, 520px);
    min-height: 385px;

    background: #151515;
    overflow: hidden;

    animation: galleryModalIn 250ms ease both;
}

@keyframes galleryModalIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   42. MODAL IMAGE
========================================= */

.gallery-modal-image {
    position: relative;
    min-width: 0;
    min-height: 385px;
    background: #242424;
}

.gallery-modal-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 385px;

    object-fit: cover;
}


/* =========================================
   43. MODAL INFORMATION
========================================= */

.gallery-modal-information {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 25px 23px 24px;
}

.gallery-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border: 0;
    background: transparent;
    color: #ffffff;

    font-size: 17px;
    cursor: pointer;
}

.gallery-modal-close:hover {
    color: #b52d2d;
}

.gallery-modal-project-number {
    margin-bottom: 12px;

    color: #b52d2d;
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 1.7px;
}

.gallery-modal-title {
    max-width: 240px;

    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.6px;
    text-transform: uppercase;
}

.gallery-modal-description {
    margin-top: 12px;

    color: #999999;
    font-size: 8px;
    line-height: 1.7;
}

.gallery-modal-meta {
    margin-top: 18px;
    border-top: 1px solid #303030;
}

.gallery-modal-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    min-height: 27px;

    border-bottom: 1px solid #303030;

    font-size: 8px;
}

.gallery-modal-meta-row span:first-child {
    color: #777777;
}

.gallery-modal-meta-row span:last-child {
    color: #dddddd;
    text-align: right;
}


/* =========================================
   44. MODAL NAVIGATION
========================================= */

.gallery-modal-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 25px;
}

.gallery-modal-counter {
    color: #777777;
    font-size: 6px;
    letter-spacing: 1.7px;
}

.gallery-modal-controls {
    display: flex;
    gap: 5px;
}

.gallery-modal-controls button {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border: 1px solid #373737;
    background: transparent;
    color: #ffffff;

    font-size: 14px;
    cursor: pointer;

    transition: background 180ms ease, border-color 180ms ease;
}

.gallery-modal-controls button:hover {
    background: #b52d2d;
    border-color: #b52d2d;
}

.gallery-modal button:focus-visible,
.gallery-card:focus-visible {
    outline: 2px solid #b52d2d;
    outline-offset: 4px;
}

/* =========================================================
   40. WHY MT&C / OUR METHOD
========================================================= */

.why-mtc-section {
    padding-top: 40px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    box-sizing: border-box;

    background-color: var(--color-black);

    padding-left: 32px;
    padding-right: 32px;
}


/* =========================================================
   TOP CONTENT — TWO-COLUMN LAYOUT
========================================================= */

.why-mtc-top {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: 30px;

    min-height: 330px;
}


/* =========================================================
   LEFT — SECTION INTRODUCTION
========================================================= */

.why-mtc-intro {
    min-width: 0;
}

.why-mtc-kicker {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #a0a0a0;

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.why-mtc-indicator {
    width: 5px;
    height: 5px;
    flex-shrink: 0;

    background: #b42d2d;
}

.why-mtc-kicker-rule {
    width: 20px;
    height: 1px;

    background: #484848;
}


/* MAIN HEADING */

.why-mtc-heading {
    margin-top: 22px;

    color: #f2f2f2;

    font-size: clamp(65px, 8vw, 76px);
    font-weight: 900;
    line-height: 0.79;
    letter-spacing: -5px;
    text-transform: uppercase;
}

.why-mtc-heading span {
    display: inline;
    color: #b42d2d;
}


/* FEATURED NUMBER */

.why-mtc-featured-number {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 24px;
}

.why-mtc-featured-number strong {
    color: #b42d2d;

    font-size: clamp(90px, 11vw, 112px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -7px;
}

.why-mtc-number-caption {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding-top: 8px;

    color: #a0a0a0;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.why-mtc-number-caption span:last-child {
    color: #d0d0d0;
    white-space: nowrap;
}


/* =========================================================
   RIGHT — COMPANY PRINCIPLES
========================================================= */

.why-mtc-principles {
    min-width: 0;
    margin-top: -5px;
}

.why-mtc-principle {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;

    min-height: 81px;
    padding: 16px 0 14px;

    border-bottom: 1px solid #292929;
}

.why-mtc-principle:first-child {
    padding-top: 0;
}

.principle-number {
    padding-top: 8px;

    color: #a0a0a0;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.2px;
}

.principle-content {
    min-width: 0;
}

.principle-content h3 {
    color: #555555;

    font-size: clamp(25px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.3px;
    text-transform: uppercase;
}

.principle-content p {
    max-width: 340px;
    margin-top: 10px;

    color: #a0a0a0;

    font-size: 9px;
    font-weight: 400;
    line-height: 1.7;
}


/* ACTIVE PRINCIPLE */

.why-mtc-principle.is-active {
    min-height: 122px;

    border-bottom: 1px solid #b42d2d;
}

.why-mtc-principle.is-active .principle-number {
    color: #b42d2d;
}

.why-mtc-principle.is-active .principle-content h3 {
    color: #f2f2f2;
}


/* =========================================================
   BOTTOM — OUR METHOD
========================================================= */

.why-mtc-method {
    margin-top: 15px;
}


/* METHOD HEADING */

.method-heading {
    min-height: 31px;
    padding-bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-bottom: 1px solid #777777;

    color: #999999;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* FOUR STAGES */

.method-stages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-bottom: 1px solid #292929;
}

.method-stage {
    min-width: 0;
    min-height: 144px;
    padding: 20px 20px 16px;

    border-right: 1px solid #292929;
}

.method-stage:first-child {
    padding-left: 20px;
}

.method-stage:last-child {
    padding-right: 20px;
    border-right: 0;
}


/* STAGE TOP ROW */

.stage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #a0a0a0;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.2px;
}

.stage-indicator {
    width: 5px;
    height: 5px;

    background: #393939;
}


/* STAGE TITLE */

.method-stage h3 {
    margin-top: 38px;

    color: #f2f2f2;

    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.6px;
    text-transform: uppercase;
}


/* STAGE DESCRIPTION */

.method-stage p {
    max-width: 210px;
    margin-top: 9px;

    color: #929292;

    font-size: 8px;
    font-weight: 400;
    line-height: 1.65;
}

/* =========================================================
   01. SECTION FOUNDATION
========================================================= */

.start-project-section {
    position: relative;
    width: 100%;
    overflow: hidden;

    padding: 38px clamp(32px, 7.8vw, 90px) 80px;

    background: #202020;
    color: #f2f2f2;

    padding-top: 40px;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    
}

.start-project-inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* TOP RIGHT RED ACCENT */

.start-project-section::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    width: 95px;
    height: 46px;

    background: var(--color-accent);
}


/* =========================================================
   02. SECTION EYEBROW
========================================================= */

.start-project-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #b5b5b5;

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.start-project-indicator {
    width: 5px;
    height: 5px;
    flex-shrink: 0;

    background: var(--color-accent);
}

.start-project-eyebrow-rule {
    width: 20px;
    height: 1px;

    background: #555555;
}


/* =========================================================
   03. MAIN HEADLINE
========================================================= */

.start-project-heading-wrapper {
    margin-top: 30px;
}

.start-project-heading {
    display: flex;
    flex-direction: column;

    width: max-content;
    max-width: 100%;

    color: #f2f2f2;

    font-size: clamp(76px, 10.8vw, 124px);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.085em;
    text-transform: uppercase;
}


/* HEADLINE LINES */

.heading-line {
    display: block;
    white-space: nowrap;
}

.heading-line-one {
    align-self: flex-start;
}

.heading-line-two {
    display: flex;
    align-items: baseline;
    gap: 0.17em;

    margin-left: 21%;
}

.heading-line-three {
    align-self: flex-start;
    margin-left: 11%;
}


/* OUTLINED TYPOGRAPHY */

.heading-outline {
    color: transparent;

    -webkit-text-stroke: 1px var(--color-muted);
    text-stroke: 1px #e8e8e8;
}


/* RED PERIOD */

.heading-period {
    color: var(--color-accent);
}


/* =========================================================
   04. BOTTOM CONTENT LAYOUT
========================================================= */

.start-project-content {
    display: grid;
    grid-template-columns: minmax(0, 0.56fr) minmax(0, 1fr);
    align-items: start;

    column-gap: clamp(50px, 8vw, 90px);

    margin-top: 64px;
}


/* =========================================================
   05. LEFT — CONTACT INFORMATION
========================================================= */

.start-project-contact {
    min-width: 0;
    padding-top: 0;
}


/* INTRODUCTION */

.start-project-intro {
    max-width: 300px;
    margin-bottom: 24px;

    color: #b5b5b5;

    font-size: 10px;
    font-weight: 400;
    line-height: 1.65;
}


/* CONTACT LINKS */

.contact-detail {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 13px 25px 13px 0;

    border-top: 1px solid #353535;

    transition: border-color var(--transition-fast);
}

.contact-detail:hover {
    border-color: #777777;
}

.contact-detail-label {
    margin-bottom: 7px;

    color: #999999;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-detail-value {
    color: #f2f2f2;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.contact-phone .contact-detail-value {
    font-size: 19px;
}

.contact-detail-arrow {
    position: absolute;
    right: 0;
    bottom: 15px;

    color: #f2f2f2;

    font-size: 13px;

    transition: transform var(--transition-fast);
}

.contact-detail:hover .contact-detail-arrow {
    transform: translate(3px, -3px);
}


/* BUSINESS INFORMATION */

.contact-business-information {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    padding-top: 13px;

    border-top: 1px solid #353535;
}

.contact-business-information span {
    display: block;

    color: #999999;

    font-size: 6px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}


/* =========================================================
   06. RIGHT — PROJECT INQUIRY FORM
========================================================= */

.start-project-form-wrapper {
    min-width: 0;

    background: #151515;
}

.start-project-form {
    padding: 34px;
}


/* =========================================================
   07. PROJECT TYPE SELECTION
========================================================= */

.form-project-type {
    min-width: 0;
    margin-bottom: 26px;

    border: 0;
}

.form-label {
    display: block;
    margin-bottom: 12px;

    color: #a5a5a5;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* OPTION GRID */

.project-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}


/* INDIVIDUAL OPTION */

.project-type-option {
    position: relative;
    display: inline-flex;

    cursor: pointer;
}

.project-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.project-type-option span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 26px;
    padding: 0 10px;

    border: 1px solid #363636;

    color: #e0e0e0;

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
}


/* SELECTED OPTION */

.project-type-option input:checked + span {
    border-color: #f2f2f2;

    background: #f2f2f2;
    color: #151515;
}


/* HOVER */

.project-type-option:hover span {
    border-color: #aaaaaa;
}


/* KEYBOARD ACCESSIBILITY */

.project-type-option input:focus-visible + span {
    outline: 1px solid var(--color-accent);
    outline-offset: 3px;
}


/* =========================================================
   08. FORM FIELDS
========================================================= */

.form-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-field-full {
    grid-column: 1 / -1;
}


/* FIELD LABELS */

.form-field label {
    margin-bottom: 10px;

    color: #a5a5a5;

    font-size: 6px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.form-field label span {
    color: var(--color-accent);
}


/* INPUTS AND SELECT */

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 0 0 10px;

    border: 0;
    border-bottom: 1px solid #383838;
    border-radius: 0;

    outline: none;

    background: transparent;
    color: #eeeeee;

    font-family: var(--font-primary);
    font-size: 11px;

    transition: border-color var(--transition-fast);
}

.form-field input,
.form-field select {
    min-height: 26px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #eeeeee;
}


/* PLACEHOLDERS */

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #777777;
}


/* SELECT */

.form-field select {
    cursor: pointer;
    color-scheme: dark;
}

.form-field select option {
    background: #151515;
    color: #f2f2f2;
}


/* TEXTAREA */

.form-field textarea {
    resize: none;
}


/* =========================================================
   09. FORM SUBMISSION
========================================================= */

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 26px;
}

.form-required-note {
    color: #858585;

    font-size: 7px;
    letter-spacing: 0.5px;
}


/* SUBMIT BUTTON */

.project-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 38px;
    padding: 0 14px;

    border: 1px solid #f2f2f2;

    background: #f2f2f2;
    color: #151515;

    font-family: var(--font-primary);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
}

.project-submit-button:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #ffffff;
}

.project-submit-button span {
    font-size: 13px;
}

/* =========================================
   SITE FOOTER
========================================= */

.site-footer {
    width: 100%;
    background-color: var(--color-background);
    color: #f2f2f2;
}

.site-footer-inner {
    width: 100%;
    padding: 65px var(--page-padding) 22px;
}

/* COMPANY NAME — SINGLE LINE */

.site-footer-heading {
    width: 100%;
    margin: 0;

    white-space: nowrap;

    color: #f2f2f2;
    font-size: clamp(24px, 8.1vw, 112px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.085em;
    text-transform: uppercase;

    color: transparent;

    -webkit-text-stroke: 1px var(--color-muted);
    text-stroke: 1px #e8e8e8;
}

.footer-period {
    color: var(--color-accent);
}

/* COPYRIGHT + CREDIT */

.footer-bottom {
    margin-top: 65px;
    padding-top: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid #383838;
}

.footer-copyright,
.footer-credit {
    margin: 0;
    color: #898989;

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    text-transform: uppercase;
}

.footer-credit {
    text-align: right;
}

.footer__credit-link{
    color: var(--color-accent);
    font-weight: 900;
}

/* Custom text selection color */
::selection {
    background-color: var(--color-accent);
  
}
/* =========================================
   14. RESPONSIVE — TABLET
========================================= */

@media (max-width: 1100px) {

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

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


    /* MENU BUTTON */

    .site-wrapper {
        width: calc(100% - 32px);
    }

    .main-navigation {
        gap: 14px;
    }

    .header-phone {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr 0.9fr;
        gap: 25px;
    }

    .hero-heading h1 {
        font-size: clamp(58px, 8.5vw, 90px);
    }

    .services-panel {
        left: -100px;
        width: 220px;
    }

    .tile-detail-image {
        left: -55px;
    }

    .studio-section {
        grid-template-columns: 150px minmax(0, 1fr);
        column-gap: 20px;
        padding-top: 75px;
    }

    .studio-heading {
        font-size: clamp(30px, 4.5vw, 39px);
        letter-spacing: -1.6px;
    }

    .desktop-break {
        display: none;
    }

    .studio-bottom {
        grid-template-columns: 1fr;
        row-gap: 28px;
        margin-top: 42px;
    }

    .studio-description {
        max-width: 420px;
    }

    .services-section {
        grid-template-columns: 145px minmax(0, 1fr);
        column-gap: 20px;
    }

    .services-heading {
        font-size: clamp(55px, 8vw, 75px);
        letter-spacing: -4px;
    }

    .service-feature {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        column-gap: 28px;
    }

    .service-image {
        height: 480px;
    }

    .service-title {
        font-size: clamp(38px, 5vw, 50px);
    }

    .background-number {
        font-size: 180px;
    }

    .service-detail-image {
        width: 150px;
        height: 150px;
    }

    .bathroom-project-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .project-main-heading {
        font-size: clamp(58px, 9vw, 76px);
        letter-spacing: -4px;
    }

    .project-body {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .project-information-panel {
        left: -24px;
        width: 430px;
    }

    .project-panel-content {
        grid-template-columns: minmax(0, 1fr) 145px;
        gap: 14px;
    }

    .general-construction-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .construction-content {
        grid-template-columns: 75px minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 18px;
    }

    .construction-number {
        font-size: 38px;
    }

    .construction-heading {
        font-size: clamp(27px, 3.8vw, 34px);
    }

    .construction-description {
        font-size: 9px;
    }

    .construction-tag {
        font-size: 5px;
        padding: 0 6px;
    }

    .selected-work-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .gallery-intro {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.8fr) minmax(0, 0.9fr);
        min-height: 235px;
    }

    .gallery-main-heading {
        font-size: clamp(48px, 7vw, 70px);
        letter-spacing: -3.5px;
    }

    .gallery-intro-details {
        margin-right: 0;
        width: 190px;
    }

    .gallery-modal-dialog {
        grid-template-columns: 58% 42%;
    }

    .why-mtc-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .why-mtc-top {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        column-gap: 20px;
    }

    .why-mtc-heading {
        font-size: clamp(55px, 7.5vw, 68px);
    }

    .why-mtc-principle {
        grid-template-columns: 20px minmax(0, 1fr);
        column-gap: 10px;
    }

    .principle-content h3 {
        font-size: clamp(22px, 3.5vw, 31px);
    }

    .method-stage {
        padding-left: 14px;
        padding-right: 14px;
    }

    .start-project-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .start-project-heading {
        font-size: clamp(68px, 10vw, 100px);
    }

    .start-project-content {
        grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
        column-gap: 40px;
    }

    .start-project-form {
        padding: 25px;
    }

    .form-fields-grid {
        column-gap: 18px;
    }
}


/* =========================================
   15. RESPONSIVE — MOBILE
========================================= */

@media (max-width: 760px) {

    :root {
        --page-padding: 18px;
    }

    .site-wrapper {
        width: 100%;
        border: none;
    }

    .site-header {
        height: 65px;
        padding: 0 18px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 12px;

        position: relative;
        z-index: 1003;

        padding: 8px 0;
        border: 0;
        background: transparent;

        color: var(--color-black);
        cursor: pointer;

        position: relative;
        z-index: 1005;
    }

    .mobile-menu-label {
        font-family: var(--font-primary);
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }


    /* MENU ICON */

    .mobile-menu-icon {
        width: 21px;
        height: 14px;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-menu-icon span {
        display: block;
        width: 100%;
        height: 1px;

        background: currentColor;

        transition: transform 350ms ease;
    }

    .mobile-menu-icon span:last-child {
        width: 65%;
        align-self: flex-end;
    }


    /* OPEN BUTTON */

    .mobile-menu-toggle[aria-expanded="true"] {
        color: #ffffff;
    }

    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-label {
        color: #ffffff;
    }

    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-label::after {
        content: "Close";
    }

    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span {
        background: #ffffff;
    }

    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:first-child {
        transform: translateY(6.5px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:last-child {
        width: 100%;
        transform: translateY(-6.5px) rotate(-45deg);
    }


    /* =====================================================
       05. FULL MOBILE NAVIGATION PANEL
    ===================================================== */

    .mobile-navigation {
        display: block;

        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 1001;

        padding: 38px 18px 25px;

        background: var(--color-background);;
        color: var(--color-black);

        overflow-y: auto;

        clip-path: circle(0% at calc(100% - 35px) 0px);

        visibility: hidden;
        pointer-events: none;

        transition:
            clip-path 700ms cubic-bezier(0.77, 0, 0.175, 1),
            visibility 700ms;
    }


    /* OPEN PANEL */

    .site-header.menu-open .mobile-navigation {
        clip-path: circle(150% at calc(100% - 35px) 0px);

        visibility: visible;
        pointer-events: auto;
    }


    /* PANEL CONTENT */

    .mobile-navigation-inner {
        min-height: 100%;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    /* =====================================================
       06. MOBILE NAVIGATION LINKS
    ===================================================== */

    .mobile-navigation-links {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-link {
        min-height: 78px;

        display: flex;
        align-items: center;
        gap: 15px;

        border-bottom: 1px solid var var(--color-black);

        color: var(--color-black);

        font-family: var(--font-primary);
        font-size: clamp(30px, 8vw, 42px);
        font-weight: 800;
        letter-spacing: -1.8px;
        text-transform: uppercase;

        opacity: 0;
        transform: translate(-25px, -12px);

        transition:
            opacity 400ms ease,
            transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
            color 200ms ease;
    }


    /* STAGGERED REVEAL */

    .site-header.menu-open .mobile-nav-link {
        opacity: 1;
        transform: translate(0, 0);
    }

    .site-header.menu-open .mobile-nav-link:nth-child(1) {
        transition-delay: 120ms;
    }

    .site-header.menu-open .mobile-nav-link:nth-child(2) {
        transition-delay: 190ms;
    }

    .site-header.menu-open .mobile-nav-link:nth-child(3) {
        transition-delay: 260ms;
    }

    .site-header.menu-open .mobile-nav-link:nth-child(4) {
        transition-delay: 330ms;
    }


    /* MOBILE ACTIVE LINK — COLOR ONLY */

    .mobile-nav-link.active {
        color: var(--color-accent);
    }

    .mobile-nav-number {
        width: 20px;
        flex-shrink: 0;

        color: var(--color-black);
        font-size: 8px;
        font-weight: 500;
        letter-spacing: 0;
    }

    .mobile-nav-link.active .mobile-nav-number {
        color: var(--color-accent);
    }


    /* =====================================================
       07. MOBILE MENU FOOTER
    ===================================================== */

    .mobile-navigation-footer {
        margin-top: 45px;
        padding-top: 23px;

        display: flex;
        flex-direction: column;
        gap: 25px;

        border-top: 1px solid var(--color-muted);

        opacity: 0;
        transform: translateY(15px);

        transition:
            opacity 400ms ease,
            transform 450ms ease;

        transition-delay: 300ms;
    }

    .site-header.menu-open .mobile-navigation-footer {
        opacity: 1;
        transform: translateY(0);
    }


    /* PHONE */

    .mobile-navigation-contact {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .mobile-navigation-contact > span {
        color: var(--color-black);

        font-size: 7px;
        font-weight: 600;
        letter-spacing: 1.4px;
        text-transform: uppercase;
    }

    .mobile-navigation-contact a {
        color: var(--color-black);

        font-size: 18px;
        font-weight: 600;
    }


    /* CTA */

    .mobile-navigation-cta {
        min-height: 44px;
        padding: 0 14px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        background: var(--color-accent);
        color: var(--color-background);

        font-size: 8px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .mobile-navigation-cta svg {
        flex-shrink: 0;
    }

    .site-header .mobile-menu-toggle[aria-expanded="true"]
    .mobile-menu-icon {
        position: relative;
        width: 22px;
        height: 16px;
    }

    .site-header .mobile-menu-toggle[aria-expanded="true"]
    .mobile-menu-icon span {
        position: absolute;
        top: 50%;
        left: 0;

        display: block;
        width: 100%;
        height: 1.5px;

        background: black !important;
    }

    .site-header .mobile-menu-toggle[aria-expanded="true"]
    .mobile-menu-icon span:first-child {
        transform: translateY(-50%) rotate(45deg);
    }

    .site-header .mobile-menu-toggle[aria-expanded="true"]
    .mobile-menu-icon span:last-child {
        width: 100%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .site-header.menu-open .brand {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* =========================================================
   08. PREVENT BACKGROUND SCROLL
========================================================= */

    body.navigation-open {
        overflow: hidden;
    }

    .header-cta {
        min-height: 30px;
        font-size: 7px;
    }

    .brand-information {
        height: 38px;
        grid-template-columns: 1fr auto;
    }

    .brand-description {
        font-size: 6px;
    }

    .brand-location {
        display: none;
    }

    .page-index {
        font-size: 6px;
    }

    /* HERO */
    .hero {
        padding: 45px 18px 35px;

        display: flex;
        flex-direction: column;
        gap: 45px;
    }

    /* HEADING */
    .hero-heading h1 {
        font-size: clamp(65px, 13.5vw, 105px);
        line-height: 0.83;
        letter-spacing: -0.09em;
    }

    /* DESCRIPTION */
    .hero-bottom {
        order: 2;
        max-width: 100%;
    }

    .hero-description {
        max-width: 350px;
    }

    .hero-description p {
        font-size: 12px;
    }

    /* VISUAL */
    .hero-visual {
        order: 1;

        min-height: 430px;
        height: 430px;

        padding-left: 0;
        padding-bottom: 20px;
    }

    .hero-image {
        min-height: 400px;
    }

    .visual-measurement {
        display: none;
    }

    /* OVERLAYS */
    .tile-detail-image {
        left: -5px;
        bottom: 35px;

        width: 125px;
        height: 125px;
    }

    .services-panel {
        left: auto;
        right: -5px;
        bottom: 55px;

        width: min(230px, 75%);
    }

    .visual-caption {
        left: 0;
        bottom: 0;

        font-size: 5px;
        letter-spacing: 0.8px;
    }

    .studio-section {
        min-height: calc(100vh - var(--header-height));
        padding: 46px 18px 50px;

        display: flex;
        flex-direction: column;
        gap: 38px;
    }

    .studio-sidebar {
        width: 100%;
    }

    .sidebar-description {
        margin-top: 12px;
    }

    .studio-heading {
        font-size: clamp(34px, 9vw, 52px);
        line-height: 0.99;
        letter-spacing: -1.8px;
    }

    .studio-bottom {
        margin-top: 38px;
        row-gap: 32px;
    }

    .studio-description {
        font-size: 11px;
    }

    .studio-statistics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .statistic {
        min-height: 72px;
        padding: 9px 8px 0;
    }

    .statistic strong {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: -1px;
    }

    .statistic span {
        font-size: 5px;
        letter-spacing: 0.65px;
    }

    /* SECTION */

    .services-section {
        min-height: auto;
        padding: 32px 18px 65px;

        display: flex;
        flex-direction: column;
        gap: 42px;
    }

    .services-sidebar {
        width: 100%;
    }


    /* HEADING */

    .services-heading {
        font-size: clamp(43px, 10.5vw, 70px);
        line-height: 0.9;
        letter-spacing: -3px;
    }

    .services-heading span {
        white-space: normal;
    }


    /* FEATURE */

    .service-feature {
        margin-top: 12px;

        display: flex;
        flex-direction: column;
        gap: 48px;
    }


    /* IMAGE */

    .service-visual {
        width: 100%;
    }

    .service-image {
        height: 420px;
    }

    .service-detail-image {
        right: -5px;
        bottom: -30px;

        width: 125px;
        height: 125px;
    }


    /* INFORMATION */

    .service-information {
        width: 100%;
        padding-top: 25px;
    }

    .service-number {
        top: 25px;
    }

    .service-category {
        margin-left: 20px;
    }

    .background-number {
        top: -40px;
        right: 0;

        font-size: 155px;
    }

    .service-title {
        font-size: clamp(44px, 11vw, 60px);
        letter-spacing: -2.5px;
    }

    .service-description {
        max-width: 100%;
        font-size: 11px;
    }

    .service-list-item {
        min-height: 36px;
        font-size: 10px;
    }

    .service-metrics {
        gap: 40px;
    }

    .bathroom-project-section {
        min-height: auto;
        padding: 25px 18px 50px;
    }

    .project-heading-area {
        min-height: 160px;
    }

    .project-section-number {
        font-size: 16px;
    }

    .project-main-heading {
        margin-left: 25px;
        font-size: clamp(43px, 10vw, 65px);
        letter-spacing: -3px;
        line-height: 0.9;
    }

    .project-main-heading span:last-child {
        margin-left: 30px;
    }

    .project-heading-caption {
        bottom: 12px;
    }


    /* PROJECT BODY */

    .project-body {
        display: flex;
        flex-direction: column;
    }

    .project-sidebar {
        width: 100%;
        padding-bottom: 15px;
    }

    .project-caption-rule {
        width: 100%;
        margin-top: 10px;
    }


    /* IMAGE */

    .project-image-wrapper {
        width: 100%;
        height: 350px;
    }


    /* INFORMATION PANEL */

    .project-information-panel {
        position: relative;

        top: auto;
        left: auto;

        width: calc(100% + 36px);
        min-height: auto;

        margin: -35px -18px 0;
        padding: 25px 18px;

    }

    .project-description {
        max-width: 100%;
        font-size: 11px;
    }

    .project-panel-content {
        grid-template-columns: minmax(0, 1fr) 140px;
        gap: 15px;
    }

    .project-detail-item {
        font-size: 8px;
    }

    .general-construction-section {
        min-height: auto;
        padding: 40px 18px 45px;
    }

    .construction-top-rule {
        margin-bottom: 25px;
    }

    .construction-content {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 20px 12px;
    }

    .construction-number {
        font-size: 16px;
    }

    .construction-information {
        padding-top: 2px;
    }

    .construction-heading {
        font-size: clamp(43px, 10vw, 65px);
        letter-spacing: -3px;
        line-height: 0.9;
    }

    .construction-description {
        max-width: 100%;
        margin-top: 13px;
        font-size: 10px;
    }

    .construction-visual {
        grid-column: 1 / -1;
        margin-top: 12px;
    }

    .construction-image {
        aspect-ratio: 1.65 / 1;
    }

    .construction-tags {
        gap: 6px;
        margin-top: 12px;
    }

    .construction-tag {
        min-height: 23px;
        font-size: 6px;
    }

    .construction-bottom-rule {
        margin-top: 35px;
    }

    .selected-work-section {
        padding: 25px 18px 60px;
    }

    .gallery-intro {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        padding: 36px 0 28px;
        row-gap: 0;
    }

    .gallery-main-heading {
        grid-column: 1;
        justify-self: start;
        margin: 12px 0 0;
        font-size: clamp(52px, 12vw, 72px);
        letter-spacing: -3px;
    }

    .gallery-intro-details {
        grid-column: 1;
        justify-self: start;
        width: 100%;
        max-width: none;
        margin: 25px 0 0;
    }

    .gallery-focus-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px 12px;
    }

    .gallery-intro-note {
        max-width: 300px;
        margin-top: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        column-gap: 14px;
        row-gap: 30px;
        padding-top: 30px;
    }

    .gallery-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        margin: 0;
    }

    .gallery-card:nth-child(1) {
        grid-column: 1 / -1;
    }

    .gallery-card:nth-child(2) {
        grid-column: 1 / -1;
    }

    .gallery-card:nth-child(1) .gallery-card-image {
        aspect-ratio: 1.18 / 1;
    }

    .gallery-card:nth-child(2) .gallery-card-image {
        aspect-ratio: 1.35 / 1;
    }

    .gallery-card:nth-child(6) {
        grid-column: 1 / -1;
    }

    .gallery-card:nth-child(6) .gallery-card-image {
        aspect-ratio: 1.5 / 1;
    }

    .gallery-card-title {
        font-size: 9px;
    }

    .gallery-card-category {
        font-size: 5px;
    }

    .gallery-modal {
        padding: 15px;
    }

    .gallery-modal-dialog {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-height: 90vh;
        min-height: 0;

        overflow-y: auto;
    }

    .gallery-modal-image {
        flex: none;
        height: 42vh;
        min-height: 220px;
    }

    .gallery-modal-image img {
        min-height: 0;
    }

    .gallery-modal-information {
        min-height: 280px;
        padding: 22px;
    }

    .gallery-modal-title {
        font-size: 20px;
    }

    .gallery-modal-navigation {
        padding-top: 20px;
    }

    .why-mtc-section {
        min-height: auto;
        padding: 45px 20px 30px;
    }

    .why-mtc-top {
        grid-template-columns: 1fr;
        row-gap: 40px;
        min-height: auto;
    }

    .why-mtc-heading {
        margin-top: 25px;
        font-size: clamp(68px, 15vw, 88px);
    }

    .why-mtc-featured-number {
        margin-top: 20px;
    }

    .why-mtc-featured-number strong {
        font-size: 100px;
    }

    .why-mtc-principles {
        margin-top: 0;
    }

    .why-mtc-principle {
        min-height: 75px;
        padding: 17px 0;
    }

    .why-mtc-principle.is-active {
        min-height: 120px;
    }

    .principle-content h3 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .principle-content p {
        font-size: 10px;
    }

    .why-mtc-method {
        margin-top: 45px;
    }

    .method-heading {
        font-size: 6px;
        letter-spacing: 1px;
    }

    .method-stages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .method-stage {
        min-height: 135px;
        padding: 18px 14px;
        border-bottom: 1px solid #292929;
    }

    .method-stage:nth-child(2) {
        border-right: 0;
    }

    .method-stage:nth-child(3),
    .method-stage:nth-child(4) {
        border-bottom: 0;
    }

    .method-stage h3 {
        margin-top: 30px;
        font-size: 20px;
    }

    .method-stage p {
        font-size: 8px;
    }

    .start-project-section {
        padding: 40px 22px 50px;
    }

    .start-project-section::before {
        width: 55px;
        height: 30px;
    }

    .start-project-heading-wrapper {
        margin-top: 40px;
    }

    .start-project-heading {
        width: 100%;

        font-size: clamp(43px, 10.5vw, 72px);
        letter-spacing: -0.075em;
    }

    .heading-line-two {
        margin-left: 10%;
        gap: 0.12em;
    }

    .heading-line-three {
        margin-left: 5%;
    }

    .heading-outline {
        -webkit-text-stroke-width: 0.8px;
    }


    /* STACK CONTENT */

    .start-project-content {
        grid-template-columns: 1fr;
        row-gap: 40px;

        margin-top: 55px;
    }


    /* CONTACT INFORMATION */

    .start-project-intro {
        max-width: 340px;
        font-size: 11px;
    }

    .contact-detail-value {
        font-size: 16px;
    }

    .contact-phone .contact-detail-value {
        font-size: 20px;
    }


    /* FORM */

    .start-project-form {
        padding: 25px 20px;
    }

    .project-type-options {
        gap: 6px;
    }

    .project-type-option span {
        min-height: 30px;
        padding: 0 9px;
        font-size: 7px;
    }

    .site-footer-inner {
        padding: 45px 18px 20px;
    }

    .site-footer-heading {
        font-size: clamp(17px, 8.8vw, 48px);
        letter-spacing: -0.075em;
        display: block;
    }

    .footer-bottom {
        margin-top: 42px;
        padding-top: 15px;
        gap: 8px;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 6px;
    }
}

/* =========================================
   SELECTED WORK SECTION — DARK DESIGN CANVAS
   Scoped to the gallery section only
========================================= */
.selected-work-section {
    background-color: #141414;
    color: #f2f2f2;
}

.selected-work-section .gallery-intro,
.selected-work-section .gallery-grid {
    background-color: transparent;
}

.selected-work-section .gallery-main-heading {
    color: #f2f2f2;
}

.selected-work-section .gallery-main-heading .heading-muted {
    color: #626262;
}

.selected-work-section .gallery-section-label,
.selected-work-section .gallery-focus-list li {
    color: #c3c3c3;
}

.selected-work-section .gallery-focus-list li span,
.selected-work-section .gallery-intro-note,
.selected-work-section .gallery-card-category,
.selected-work-section .gallery-card-material {
    color: #858585;
}

.selected-work-section .gallery-card-caption {
    border-color: #383838;
}

.selected-work-section .gallery-card-title {
    color: #f2f2f2;
}


/* =========================================================
   SELECTED WORK — TWO-PROJECT EDITORIAL GALLERY
   Layout only: the section's existing visual design remains.
   The gallery contains exactly the two projects supplied by
   gallery.js: one portrait image and one offset landscape.
========================================================= */

.selected-work-section .gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 48%);
    justify-content: start;
    align-items: start;
    column-gap: 3%;
    row-gap: 0;
    padding-top: 45px;
}

.selected-work-section .gallery-card {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    align-self: start;
}

.selected-work-section .gallery-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
}

.selected-work-section .gallery-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 115px 0 0;
}

/* The JS supplies two projects. These rules prevent any
   leftover multi-project layout styles from creating rows. */
.selected-work-section .gallery-card:nth-child(n + 3) {
    display: none;
}

.selected-work-section .gallery-card:nth-child(1) .gallery-card-image {
    width: 100%;
    aspect-ratio: 0.72 / 1;
}

.selected-work-section .gallery-card:nth-child(2) .gallery-card-image {
    width: 100%;
    aspect-ratio: 1.42 / 1;
}

.selected-work-section .gallery-card-image {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.selected-work-section .gallery-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keep the caption directly attached to its own image. */
.selected-work-section .gallery-card-caption {
    margin-top: 8px;
    padding-top: 12px;
}

/* Tablet: retain the two-column composition, with a tighter
   gutter and a proportionate stagger. */
@media (min-width: 761px) and (max-width: 1050px) {
    .selected-work-section .gallery-grid {
        grid-template-columns: minmax(0, 40%) minmax(0, 48%);
        column-gap: 3%;
        padding-top: 38px;
    }

    .selected-work-section .gallery-card:nth-child(2) {
        margin-top: 85px;
    }
}

/* Mobile: stack the same two projects in reading order. */
@media (max-width: 760px) {
    .selected-work-section .gallery-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 34px;
        padding-top: 30px;
    }

    .selected-work-section .gallery-card:nth-child(1),
    .selected-work-section .gallery-card:nth-child(2) {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        margin: 0;
    }

    .selected-work-section .gallery-card:nth-child(1) .gallery-card-image {
        aspect-ratio: 0.95 / 1;
    }

    .selected-work-section .gallery-card:nth-child(2) .gallery-card-image {
        aspect-ratio: 1.25 / 1;
    }
}


/* =========================================================
   GALLERY CARD BUTTON RESET
   The project card is a <button>; remove browser-native
   button chrome so it sits directly on the charcoal canvas.
========================================================= */

.selected-work-section .gallery-card-trigger {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline-offset: 5px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.selected-work-section .gallery-card-trigger:focus,
.selected-work-section .gallery-card-trigger:active {
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.selected-work-section .gallery-card-trigger .gallery-card-image {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.selected-work-section .gallery-card-trigger .gallery-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    object-fit: cover;
}

.selected-work-section .gallery-card-trigger .gallery-card-caption {
    display: grid;
    width: 100%;
    margin: 8px 0 0;
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid #383838;
    background: transparent;
    color: #f2f2f2;
}

.selected-work-section .gallery-card-trigger .gallery-card-title {
    color: #f2f2f2;
}

.selected-work-section .gallery-card-trigger .gallery-card-category,
.selected-work-section .gallery-card-trigger .gallery-card-material {
    color: #858585;
}

.selected-work-section .gallery-card-trigger .gallery-project-number {
    border: 0;
    box-shadow: none;
}


/* =========================================================
   DESKTOP GALLERY — CENTERED, REDUCED IMAGE GROUP
   Keeps the portrait/landscape asymmetry and vertical stagger.
========================================================= */

@media (min-width: 761px) {
    .selected-work-section .gallery-grid {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: minmax(0, 38%) minmax(0, 44%);
        justify-content: center;
        column-gap: 5%;
        align-items: start;
    }

    .selected-work-section .gallery-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        margin: 0;
    }

    .selected-work-section .gallery-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        margin: 100px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-modal-dialog {
        animation: none;
    }

    .gallery-card-image img {
        transition: none;
    }
    .mobile-navigation,
    .mobile-nav-link,
    .mobile-navigation-footer,
    .mobile-menu-icon span {
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

}